Thanks Survivant so much for filing bug. No need to post bug. We will
have a query
to list out bugs and we will post the list weekly,
Thanks,
Judy
Survivant 00 wrote:
> Should I post the bug here too ?
>
>
> ---------- Forwarded message ----------
> From: <survivant_at_dev.java.net <mailto:survivant_at_dev.java.net>>
> Date: 2008/8/21
> Subject: [Issue 5573] New - java.io.StreamCorruptedException: invalid
> stream header: 47455420
> To: survivant_at_dev.java.net <mailto:survivant_at_dev.java.net>
>
>
> https://glassfish.dev.java.net/issues/show_bug.cgi?id=5573
> Issue #|5573
> Summary|java.io.StreamCorruptedException: invalid
> stream heade
> |r: 47455420
> Component|glassfish
> Version|V3
> Platform|All
> OS/Version|All
> URL|
> Status|UNCONFIRMED
> Status whiteboard|
> Keywords|
> Resolution|
> Issue type|DEFECT
> Priority|P1
> Subcomponent|admin
> Assigned to|km
> Reported by|survivant
>
>
>
>
>
>
> ------- Additional comments from survivant_at_dev.java.net
> <mailto:survivant_at_dev.java.net> Thu Aug 21 16:22:31 +0000 2008 -------
> I download the latest build b20:
>
> I started Glassfish with this : asadmin start-domain -v
>
> when I enter the URL : http://localhost:8888/admin ou
> http://localhost:8888/admin/
>
> I have a popup in Firefox telling me :
>
> You have chosen to open :
>
> which is a : application/octem-stream
> from http://localhost:8888
>
> ...
>
>
>
> here the system.log
>
> 2008-08-21 12:08:58 com.sun.enterprise.admin.launcher.GFLauncherLogger
> info
> INFO: JVM invocation command line:
> C:\jdk\bin\java.exe
> -cp
> C:/Temp/latest-snapshot/glassfish/modules/glassfish-10.0-SNAPSHOT.jar
> -XX:+UnlockDiagnosticVMOptions
> -XX:NewRatio=2
> -XX:+LogVMOutput
> -XX:LogFile=C:\Temp\latest-snapshot\glassfish\domains\domain1/logs/jvm.log
> -Xmx512m
> -client
> -Djdbc.drivers=org.apache.derby.jdbc.ClientDriver
> -Djavax.net.ssl.trustStore=C:\Temp\latest-snapshot\glassfish\domains\domain1/config/cacerts.jks
> -Dsun.rmi.dgc.client.gcInterval=3600000
> -Djavax.net.ssl.keyStore=C:\Temp\latest-snapshot\glassfish\domains\domain1/config/keystore.jks
> -Djava.security.policy=C:\Temp\latest-snapshot\glassfish\domains\domain1/config/server.policy
> -Dsun.rmi.dgc.server.gcInterval=3600000
> -Dcom.sun.enterprise.config.config_environment_factory_class=com.sun.enterprise.config.serverbeans.AppserverConfigEnvironmentFactory
> -Djava.security.auth.login.config=C:\Temp\latest-snapshot\glassfish\domains\domain1/config/login.conf
> -Djava.endorsed.dirs=C:\Temp\latest-snapshot\glassfish/lib/endorsed
> -Djava.ext.dirs=C:\jdk/lib/ext;C:\jdk/jre/lib/ext;C:\Temp\latest-snapshot\glassfish\domains\domain1/lib/ext;C:\Temp\latest-snapshot\glassfish\javadb/lib
> com.sun.enterprise.glassfish.bootstrap.ASMain
> -domainname
> domain1
> -instancename
> server
> -verbose
> true
> -debug
> false
> -domaindir
> C:/Temp/latest-snapshot/glassfish/domains/domain1
> 2008-08-21 12:08:58 com.sun.enterprise.admin.launcher.GFLauncherLogger
> info
> INFO: Successfully launched in 203 msec.
> [#|2008-08-21T12:09:07.250-0400|INFO||org.jvnet.hk2.osgiadapter|_ThreadID=12;_ThreadName=Thread-3;org.glassfish.web.web-cli
> [42];|Started bundle org.glassfish.web.web-cli [42]|#]
>
> [#|2008-08-21T12:09:07.250-0400|INFO||org.jvnet.hk2.osgiadapter|_ThreadID=13;_ThreadName=Thread-3;org.glassfish.web.web-cli
> [42];|Started bundle org.glassfish.web.web-cli [42]|#]
>
> [#|2008-08-21T12:09:07.265-0400|INFO||null|_ThreadID=13;_ThreadName=Thread-3;|###
> ConnectorStartupService.ConnectorStartupService|#]
>
> [#|2008-08-21T12:09:07.281-0400|INFO||org.jvnet.hk2.osgiadapter|_ThreadID=12;_ThreadName=Thread-3;org.glassfish.flashlight.flashlight-framework
> [92];|Started bundle org.glassfish.flashlight.flashlight-framework [92]|#]
>
> [#|2008-08-21T12:09:07.296-0400|INFO||org.jvnet.hk2.osgiadapter|_ThreadID=12;_ThreadName=Thread-3;org.glassfish.admin.monitoring-core
> [81];|Started bundle org.glassfish.admin.monitoring-core [81]|#]
>
> [#|2008-08-21T12:09:07.375-0400|INFO||null|_ThreadID=13;_ThreadName=Thread-3;|###
> SystemJmxConnectorName:
> system, 1 connectors found|#]
>
> [#|2008-08-21T12:09:07.390-0400|INFO||org.jvnet.hk2.osgiadapter|_ThreadID=12;_ThreadName=Thread-3;org.glassfish.deployment.deployment-autodeploy
> [58];|Started bundle org.glassfish.deployment.deployment-autodeploy
> [58]|#]
>
> [#|2008-08-21T12:09:07.406-0400|INFO||null|_ThreadID=13;_ThreadName=Thread-3;|###
> JmxConnector
> config: { name = system, Protocol = rmi_jrmp, Address = 0.0.0.0
> <http://0.0.0.0>, Port = 8686,
> AcceptAll = false, AuthRealmName = admin-realm, SecurityEnabled =
> false}|#]
>
> [#|2008-08-21T12:09:07.421-0400|INFO||org.jvnet.hk2.osgiadapter|_ThreadID=12;_ThreadName=Thread-3;org.glassfish.deployment.deployment-common
> [88];|Started bundle org.glassfish.deployment.deployment-common [88]|#]
>
> [#|2008-08-21T12:09:07.500-0400|INFO||org.glassfish.admin.connector.rmi.JmxConnectorServerDriver|_ThreadID=13;_ThreadName=Thread-3;|Initial
> Bindings in RmiRegistry at port: [8686] : NONE|#]
>
> [#|2008-08-21T12:09:07.500-0400|INFO||org.glassfish.admin.connector.rmi.JmxConnectorServerDriver|_ThreadID=13;_ThreadName=Thread-3;|Starting
> JMXConnectorServer @
> service:jmx:rmi:///jndi/rmi://FB07607.fbn-nbf.local:8686/management/rmi-jmx-connector|#]
>
> [#|2008-08-21T12:09:07.593-0400|INFO||org.jvnet.hk2.osgiadapter|_ThreadID=13;_ThreadName=Thread-3;org.glassfish.common.container-common
> [101];|Started bundle org.glassfish.common.container-common [101]|#]
>
> [#|2008-08-21T12:09:07.625-0400|INFO||global|_ThreadID=12;_ThreadName=Thread-3;|Listening
> on port 8080|#]
>
> [#|2008-08-21T12:09:07.640-0400|INFO||global|_ThreadID=12;_ThreadName=Thread-3;|Listening
> on port 8181|#]
>
> [#|2008-08-21T12:09:07.640-0400|INFO||global|_ThreadID=12;_ThreadName=Thread-3;|Listening
> on port 4848|#]
>
> [#|2008-08-21T12:09:07.640-0400|INFO||org.jvnet.hk2.osgiadapter|_ThreadID=13;_ThreadName=Thread-3;org.glassfish.common.glassfish-api
> [102];|Started bundle org.glassfish.common.glassfish-api [102]|#]
>
> [#|2008-08-21T12:09:07.656-0400|INFO||org.jvnet.hk2.osgiadapter|_ThreadID=13;_ThreadName=Thread-3;org.glassfish.connectors.connectors-runtime
> [22];|Started bundle org.glassfish.connectors.connectors-runtime [22]|#]
>
> [#|2008-08-21T12:09:07.796-0400|INFO||global|_ThreadID=12;_ThreadName=Thread-3;|Admin
> Console Adapter: context root: /admin|#]
>
> [#|2008-08-21T12:09:07.796-0400|INFO||org.jvnet.hk2.osgiadapter|_ThreadID=13;_ThreadName=Thread-3;org.glassfish.transaction.jta
> [54];|Started bundle org.glassfish.transaction.jta [54]|#]
>
> [#|2008-08-21T12:09:07.812-0400|SEVERE||null|_ThreadID=13;_ThreadName=Thread-3;|ERROR
> starting JMX connector: JmxConnector config: { name = system, Protocol =
> rmi_jrmp, Address = 0.0.0.0 <http://0.0.0.0>, Port = 8686, AcceptAll =
> false, AuthRealmName =
> admin-realm, SecurityEnabled = false}: java.io.IOException: Cannot
> bind to URL
> [rmi://FB07607.fbn-nbf.local:8686/management/rmi-jmx-connector]:
> javax.naming.InvalidNameException: Cannot create empty subcontext|#]
>
> [#|2008-08-21T12:09:07.812-0400|INFO||null|_ThreadID=13;_ThreadName=Thread-3;|###
> UnprocessedConfigListener.UnprocessedConfigListener|#]
>
> [#|2008-08-21T12:09:07.843-0400|INFO||javax.enterprise.system.core.classloading|_ThreadID=12;_ThreadName=Thread-3;Class
> Loader for Bundle [GlassFish-Application-Common-Module [66]
> ];|APIClassLoader =
> Class Loader for Bundle [GlassFish-Application-Common-Module [66] ]|#]
>
> [#|2008-08-21T12:09:07.859-0400|INFO||javax.enterprise.system.core.classloading|_ThreadID=12;_ThreadName=Thread-3;|urls
> = []|#]
>
> [#|2008-08-21T12:09:07.859-0400|INFO||javax.enterprise.system.core|_ThreadID=12;_ThreadName=Thread-3;|Glassfish
> v3 started in 9125 ms|#]
>
> [#|2008-08-21T12:09:08.125-0400|INFO||null|_ThreadID=14;_ThreadName=Thread-3;|JMXMP
> connector server URL = service:jmx:jmxmp://localhost:8888|#]
>
> [#|2008-08-21T12:13:48.484-0400|WARNING||javax.management.remote.generic|_ThreadID=15;_ThreadName=Thread-3;|Failed
> to open connection: java.io.StreamCorruptedException: invalid stream
> header:
> 47455420
> java.io.StreamCorruptedException: invalid stream header: 47455420
> at
> java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:783)
> at java.io.ObjectInputStream.<init>(ObjectInputStream.java:280)
> at
> com.sun.jmx.remote.socket.SocketConnection$ObjectInputStreamWithLoader.<init>(SocketConnection.java:394)
> at
> com.sun.jmx.remote.socket.SocketConnection.readMessage(SocketConnection.java:244)
> at
> com.sun.jmx.remote.opt.security.AdminServer.connectionOpen(AdminServer.java:116)
> at
> com.sun.jmx.remote.generic.ServerSynchroMessageConnectionImpl.connect(ServerSynchroMessageConnectionImpl.java:98)
> at
> javax.management.remote.generic.GenericConnectorServer$ClientCreation.run(GenericConnectorServer.java:443)
> at
> com.sun.jmx.remote.opt.util.ThreadService$ThreadServiceJob.run(ThreadService.java:248)
> at com.sun.jmx.remote.opt.util.JobExecutor.run(JobExecutor.java:99)
> |#]
>
> [#|2008-08-21T12:13:59.921-0400|WARNING||javax.management.remote.generic|_ThreadID=15;_ThreadName=Thread-3;|Failed
> to open connection: java.io.StreamCorruptedException: invalid stream
> header:
> 47455420
> java.io.StreamCorruptedException: invalid stream header: 47455420
> at
> java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:783)
> at java.io.ObjectInputStream.<init>(ObjectInputStream.java:280)
> at
> com.sun.jmx.remote.socket.SocketConnection$ObjectInputStreamWithLoader.<init>(SocketConnection.java:394)
> at
> com.sun.jmx.remote.socket.SocketConnection.readMessage(SocketConnection.java:244)
> at
> com.sun.jmx.remote.opt.security.AdminServer.connectionOpen(AdminServer.java:116)
> at
> com.sun.jmx.remote.generic.ServerSynchroMessageConnectionImpl.connect(ServerSynchroMessageConnectionImpl.java:98)
> at
> javax.management.remote.generic.GenericConnectorServer$ClientCreation.run(GenericConnectorServer.java:443)
> at
> com.sun.jmx.remote.opt.util.ThreadService$ThreadServiceJob.run(ThreadService.java:248)
> at com.sun.jmx.remote.opt.util.JobExecutor.run(JobExecutor.java:99)
> |#]
>