This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 58146

Summary: NotifyUtil::java.net.MalformedURLException: Illegal character in URL in App server's log
Product: serverplugins Reporter: Petr Blaha <blaha>
Component: Sun Appserver 8Assignee: _ ludo <ludo>
Status: CLOSED FIXED    
Severity: blocker CC: sherold
Priority: P3    
Version: 4.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: dump

Description Petr Blaha 2005-04-21 08:55:45 UTC
[netbeans41 RC1]
When the HTTP monitor is enabled for App server 8.1 u1 error is tracked in App
server's log:
[#|2005-04-21T09:42:10.066+0100|INFO|sun-appserver-pe8.1_01|javax.enterprise.system.stream.out|_ThreadID=11;|NotifyUtil::java.net.MalformedURLException:
Illegal character in URL
        at sun.net.www.http.HttpClient.getURLFile(HttpClient.java:514)
        at
sun.net.www.protocol.http.HttpURLConnection.writeRequests(HttpURLConnection.java:333)
        at
sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:926)
        at
org.netbeans.modules.web.monitor.server.NotifyUtil$RecordSender.run(NotifyUtil.java:248)
Comment 1 Petr Jiricka 2005-04-24 18:38:26 UTC
Stepan, can you please investigate?
Comment 2 Sherold Dev 2005-04-25 11:38:38 UTC
It seems like the appserver plugin is sending messy requests to the server, see
attached tcp dump.

Reassign to Nitya.
Comment 3 Sherold Dev 2005-04-25 11:39:05 UTC
Created attachment 21846 [details]
dump
Comment 4 _ ludo 2005-10-14 05:44:30 UTC
This is related to the way the as plugin is probing the server to detect if the
server is secure (SSL https) or not.
This is an annoying INFO in the log, but has no side effect.
You said it's an error, but the log type if INFO, not error.
Comment 5 _ ludo 2005-10-24 13:55:59 UTC
fixed:
***** CVS exited normally with code 1 *****

cvs commit -m "Fix for http://www.netbeans.org/issues/show_bug.cgi?id=58146" --
PortDetector.java (in directory
C:\acvs\nb_all\serverplugins\sun\appsrv\src\org\netbeans\modules\j2ee\sun\appsrvapi\)
Checking in PortDetector.java;
/cvs/serverplugins/sun/appsrv/src/org/netbeans/modules/j2ee/sun/appsrvapi/PortDetector.java,v
 <--  PortDetector.java
new revision: 1.2; previous revision: 1.1
done

***** CVS exited normally with code 0 *****
Comment 6 Michal Mocnak 2005-11-03 15:28:04 UTC
Verified