Skip to main content

jaxb in applet problem

4 replies [Last post]
agolos
Offline
Joined: 2004-06-10
Points: 0

I am running an applet and/or an equivalent application that uses jaxb. When I run it as an application under 6u10-25 I have no problems. However, when I run it as an applet, even though the applet is functioning correctly, I have the following printout on the console:
network: Cache entry found [url: http://knight:8080/demo-client/app/demo-client.jar, version: null]
network: Connecting http://knight:8080/demo-client/app/demo-client.jar with proxy=DIRECT
network: Connecting http://knight:8080/ with proxy=DIRECT
network: Connecting http://knight:8080/demo-client/app/demo-client.jar with cookie "JSESSIONID=323050A67DA2BDDA155FDE296C7FE961"
network: ResponseCode for http://knight:8080/demo-client/app/demo-client.jar : 304
network: Encoding for http://knight:8080/demo-client/app/demo-client.jar : null
network: Disconnect connection to http://knight:8080/demo-client/app/demo-client.jar
security: Loading Root CA certificates from C:\Program Files\Java\jre6\lib\security\cacerts
security: Loaded Root CA certificates from C:\Program Files\Java\jre6\lib\security\cacerts
security: Loading Deployment certificates from D:\Documents and Settings\arie.golos\Application Data\Sun\Java\Deployment\security\trusted.certs
security: Loaded Deployment certificates from D:\Documents and Settings\arie.golos\Application Data\Sun\Java\Deployment\security\trusted.certs
security: Loading certificates from Deployment session certificate store
security: Loaded certificates from Deployment session certificate store
security: Loading certificates from Internet Explorer ROOT certificate store
security: Loaded certificates from Internet Explorer ROOT certificate store
security: Loading certificates from Internet Explorer TrustedPublisher certificate store
security: Loaded certificates from Internet Explorer TrustedPublisher certificate store
security: Validate the certificate chain using CertPath API
security: Obtain certificate collection in Root CA certificate store
security: Obtain certificate collection in Root CA certificate store
security: The CRL support is disabled
security: The OCSP support is disabled
security: No timestamping info available
security: Checking if certificate is in Deployment denied certificate store
security: Checking if certificate is in Deployment permanent certificate store
security: Loading certificates from Deployment session certificate store
security: Loaded certificates from Deployment session certificate store
security: Loading certificates from Internet Explorer TrustedPublisher certificate store
security: Loaded certificates from Internet Explorer TrustedPublisher certificate store
security: Validate the certificate chain using CertPath API
security: Obtain certificate collection in Root CA certificate store
security: Obtain certificate collection in Root CA certificate store
security: The CRL support is disabled
security: The OCSP support is disabled
security: No timestamping info available
security: Checking if certificate is in Deployment denied certificate store
security: Checking if certificate is in Deployment permanent certificate store
network: Cache entry found [url: http://knight:8080/demo-client/app/jaxb-client-objects.jar, version: null]
network: Connecting http://knight:8080/demo-client/app/jaxb-client-objects.jar with proxy=DIRECT
network: Connecting http://knight:8080/ with proxy=DIRECT
network: Connecting http://knight:8080/demo-client/app/jaxb-client-objects.jar with cookie "JSESSIONID=323050A67DA2BDDA155FDE296C7FE961"
network: ResponseCode for http://knight:8080/demo-client/app/jaxb-client-objects.jar : 304
network: Encoding for http://knight:8080/demo-client/app/jaxb-client-objects.jar : null
network: Disconnect connection to http://knight:8080/demo-client/app/jaxb-client-objects.jar
network: Cache entry found [url: http://knight:8080/demo-client/app/jbossall-client.jar, version: null]
network: Connecting http://knight:8080/demo-client/app/jbossall-client.jar with proxy=DIRECT
network: Connecting http://knight:8080/ with proxy=DIRECT
network: Connecting http://knight:8080/demo-client/app/jbossall-client.jar with cookie "JSESSIONID=323050A67DA2BDDA155FDE296C7FE961"
network: ResponseCode for http://knight:8080/demo-client/app/jbossall-client.jar : 304
network: Encoding for http://knight:8080/demo-client/app/jbossall-client.jar : null
network: Disconnect connection to http://knight:8080/demo-client/app/jbossall-client.jar
security: Loading certificates from Deployment session certificate store
security: Loaded certificates from Deployment session certificate store
security: Loading certificates from Internet Explorer TrustedPublisher certificate store
security: Loaded certificates from Internet Explorer TrustedPublisher certificate store
security: Validate the certificate chain using CertPath API
security: Obtain certificate collection in Root CA certificate store
security: Obtain certificate collection in Root CA certificate store
security: The CRL support is disabled
security: The OCSP support is disabled
security: No timestamping info available
security: Checking if certificate is in Deployment denied certificate store
security: Checking if certificate is in Deployment permanent certificate store
security: Loading certificates from Deployment session certificate store
security: Loaded certificates from Deployment session certificate store
security: Loading certificates from Internet Explorer TrustedPublisher certificate store
security: Loaded certificates from Internet Explorer TrustedPublisher certificate store
security: Validate the certificate chain using CertPath API
security: Obtain certificate collection in Root CA certificate store
security: Obtain certificate collection in Root CA certificate store
security: The CRL support is disabled
security: The OCSP support is disabled
security: No timestamping info available
security: Checking if certificate is in Deployment denied certificate store
security: Checking if certificate is in Deployment permanent certificate store
network: Cache entry found [url: http://knight:8080/demo-client/app/log4j.jar, version: null]
network: Connecting http://knight:8080/demo-client/app/log4j.jar with proxy=DIRECT
network: Connecting http://knight:8080/demo-client/app/log4j.jar with cookie "JSESSIONID=323050A67DA2BDDA155FDE296C7FE961"
network: ResponseCode for http://knight:8080/demo-client/app/log4j.jar : 304
network: Encoding for http://knight:8080/demo-client/app/log4j.jar : null
network: Disconnect connection to http://knight:8080/demo-client/app/log4j.jar
network: Connecting http://knight:8080/demo-client/com/accenture/afmstt/xjc/jaxb.properties with proxy=DIRECT
network: Connecting http://knight:8080/demo-client/com/accenture/afmstt/xjc/jaxb.properties with cookie "JSESSIONID=323050A67DA2BDDA155FDE296C7FE961"
network: Connecting http://knight:8080/demo-client/com/accenture/afmstt/xjc/jaxb.properties with proxy=DIRECT
network: Connecting http://knight:8080/demo-client/com/accenture/afmstt/xjc/jaxb.properties with cookie "JSESSIONID=323050A67DA2BDDA155FDE296C7FE961"
network: Cache entry not found [url: http://knight:8080/demo-client/META-INF/services/javax.xml.datatype.Data..., version: null]
network: Connecting http://knight:8080/demo-client/META-INF/services/javax.xml.datatype.Data... with proxy=DIRECT
network: Connecting http://knight:8080/demo-client/META-INF/services/javax.xml.datatype.Data... with cookie "JSESSIONID=323050A67DA2BDDA155FDE296C7FE961"
network: Cache entry not found [url: http://knight:8080/demo-client/META-INF/services/javax.xml.datatype.Data..., version: null]
network: Connecting http://knight:8080/demo-client/META-INF/services/javax.xml.datatype.Data... with proxy=DIRECT
network: Connecting http://knight:8080/demo-client/META-INF/services/javax.xml.datatype.Data... with cookie "JSESSIONID=323050A67DA2BDDA155FDE296C7FE961"
network: Cache entry not found [url: http://knight:8080/demo-client/META-INF/services/javax.xml.datatype.Data..., version: null]
network: Connecting http://knight:8080/demo-client/META-INF/services/javax.xml.datatype.Data... with proxy=DIRECT
network: Connecting http://knight:8080/demo-client/META-INF/services/javax.xml.datatype.Data... with cookie "JSESSIONID=323050A67DA2BDDA155FDE296C7FE961"
basic: Applet loaded.
basic: Applet resized and added to parent container
basic: PERF: AppletExecutionRunnable - applet.init() BEGIN ; jvmLaunch dt 195290 us, pluginInit dt 31216755 us, TotalTime: 31412045 us
basic: Applet initialized
basic: Loading Java Applet ...
basic: Removed progress listener: sun.plugin.util.GrayBoxPainter$GrayBoxProgressListener@110b053
basic: Applet made visible
basic: Starting applet
network: Connecting http://knight:8080/demo-client/jndi.properties with proxy=DIRECT
network: Connecting http://knight:8080/demo-client/jndi.properties with cookie "JSESSIONID=323050A67DA2BDDA155FDE296C7FE961"
security: Loading certificates from Deployment session certificate store
security: Loaded certificates from Deployment session certificate store
security: Loading certificates from Internet Explorer TrustedPublisher certificate store
security: Loaded certificates from Internet Explorer TrustedPublisher certificate store
security: Validate the certificate chain using CertPath API
security: Obtain certificate collection in Root CA certificate store
security: Obtain certificate collection in Root CA certificate store
security: The CRL support is disabled
security: The OCSP support is disabled
security: No timestamping info available
security: Checking if certificate is in Deployment denied certificate store
security: Checking if certificate is in Deployment permanent certificate store
network: Connecting http://knight:8080/demo-client/log4j.xml with proxy=DIRECT
network: Connecting http://knight:8080/demo-client/log4j.xml with cookie "JSESSIONID=323050A67DA2BDDA155FDE296C7FE961"
network: Connecting http://knight:8080/demo-client/log4j.xml with proxy=DIRECT
network: Connecting http://knight:8080/demo-client/log4j.xml with cookie "JSESSIONID=323050A67DA2BDDA155FDE296C7FE961"
network: Connecting http://knight:8080/demo-client/log4j.properties with proxy=DIRECT
network: Connecting http://knight:8080/demo-client/log4j.properties with cookie "JSESSIONID=323050A67DA2BDDA155FDE296C7FE961"
network: Connecting http://knight:8080/demo-client/log4j.properties with proxy=DIRECT
network: Connecting http://knight:8080/demo-client/log4j.properties with cookie "JSESSIONID=323050A67DA2BDDA155FDE296C7FE961"
network: Connecting http://knight:1099/ with proxy=DIRECT
network: Connecting http://knight:1098/ with proxy=DIRECT
log4j:WARN No appenders could be found for logger (org.jboss.mq.referenceable.SpyConnectionFactoryObjectFactory).
log4j:WARN Please initialize the log4j system properly.
network: Connecting http://10.14.5.74:8093/ with proxy=DIRECT
network: Connecting http://10.14.5.74:8093/ with proxy=DIRECT
network: Connecting http://10.14.5.74:8093/ with proxy=DIRECT
network: Connecting http://10.14.5.74:8093/ with proxy=DIRECT
network: Connecting http://10.14.5.74:8093/ with proxy=DIRECT
network: Connecting http://10.14.5.74:8093/ with proxy=DIRECT
basic: Applet started
basic: Told clients applet is started
network: Connecting http://knight:8080/demo-client/com/accenture/afmstt/xjc/jaxb.properties with proxy=DIRECT
network: Connecting http://knight:8080/demo-client/com/accenture/afmstt/xjc/jaxb.properties with cookie "JSESSIONID=323050A67DA2BDDA155FDE296C7FE961"
network: Connecting http://knight:8080/demo-client/com/accenture/afmstt/xjc/jaxb.properties with proxy=DIRECT
network: Connecting http://knight:8080/ with proxy=DIRECT
network: Connecting http://knight:8080/demo-client/com/accenture/afmstt/xjc/jaxb.properties with cookie "JSESSIONID=323050A67DA2BDDA155FDE296C7FE961"
network: Connecting http://knight:8080/demo-client/com/accenture/afmstt/xjc/jaxb.properties with proxy=DIRECT
network: Connecting http://knight:8080/demo-client/com/accenture/afmstt/xjc/jaxb.properties with cookie "JSESSIONID=323050A67DA2BDDA155FDE296C7FE961"
network: Connecting http://knight:8080/demo-client/com/accenture/afmstt/xjc/jaxb.properties with proxy=DIRECT
network: Connecting http://knight:8080/demo-client/com/accenture/afmstt/xjc/jaxb.properties with cookie "JSESSIONID=323050A67DA2BDDA155FDE296C7FE961"
network: Cache entry not found [url: http://knight:8080/demo-client/META-INF/services/javax.xml.parsers.SAXPa..., version: null]
network: Connecting http://knight:8080/demo-client/META-INF/services/javax.xml.parsers.SAXPa... with proxy=DIRECT
network: Connecting http://knight:8080/demo-client/META-INF/services/javax.xml.parsers.SAXPa... with cookie "JSESSIONID=323050A67DA2BDDA155FDE296C7FE961"
network: Connecting http://knight:8080/demo-client/com/accenture/afmstt/xjc/jaxb.properties with proxy=DIRECT
network: Connecting http://knight:8080/demo-client/com/accenture/afmstt/xjc/jaxb.properties with cookie "JSESSIONID=323050A67DA2BDDA155FDE296C7FE961"
network: Connecting http://knight:8080/demo-client/com/accenture/afmstt/xjc/jaxb.properties with proxy=DIRECT
network: Connecting http://knight:8080/demo-client/com/accenture/afmstt/xjc/jaxb.properties with cookie "JSESSIONID=323050A67DA2BDDA155FDE296C7FE961"
network: Connecting http://knight:8080/demo-client/com/accenture/afmstt/xjc/jaxb.properties with proxy=DIRECT
network: Connecting http://knight:8080/demo-client/com/accenture/afmstt/xjc/jaxb.properties with cookie "JSESSIONID=323050A67DA2BDDA155FDE296C7FE961"
network: Connecting http://knight:8080/demo-client/com/accenture/afmstt/xjc/jaxb.properties with proxy=DIRECT
network: Connecting http://knight:8080/demo-client/com/accenture/afmstt/xjc/jaxb.properties with cookie "JSESSIONID=323050A67DA2BDDA155FDE296C7FE961"
network: Connecting http://knight:8080/demo-client/com/accenture/afmstt/xjc/jaxb.properties with proxy=DIRECT
network: Connecting http://knight:8080/demo-client/com/accenture/afmstt/xjc/jaxb.properties with cookie "JSESSIONID=323050A67DA2BDDA155FDE296C7FE961"
network: Connecting http://knight:8080/demo-client/com/accenture/afmstt/xjc/jaxb.properties with proxy=DIRECT
network: Connecting http://knight:8080/demo-client/com/accenture/afmstt/xjc/jaxb.properties with cookie "JSESSIONID=323050A67DA2BDDA155FDE296C7FE961"
network: Connecting http://knight:8080/demo-client/com/accenture/afmstt/xjc/jaxb.properties with proxy=DIRECT
network: Connecting http://knight:8080/demo-client/com/accenture/afmstt/xjc/jaxb.properties with cookie "JSESSIONID=323050A67DA2BDDA155FDE296C7FE961"
network: Connecting http://knight:8080/demo-client/com/accenture/afmstt/xjc/jaxb.properties with proxy=DIRECT
network: Connecting http://knight:8080/demo-client/com/accenture/afmstt/xjc/jaxb.properties with cookie "JSESSIONID=323050A67DA2BDDA155FDE296C7FE961"
network: Connecting http://knight:8080/demo-client/com/accenture/afmstt/xjc/jaxb.properties with proxy=DIRECT
network: Connecting http://knight:8080/demo-client/com/accenture/afmstt/xjc/jaxb.properties with cookie "JSESSIONID=323050A67DA2BDDA155FDE296C7FE961"
network: Connecting http://knight:8080/demo-client/com/accenture/afmstt/xjc/jaxb.properties with proxy=DIRECT
network: Connecting http://knight:8080/demo-client/com/accenture/afmstt/xjc/jaxb.properties with cookie "JSESSIONID=323050A67DA2BDDA155FDE296C7FE961"
network: Connecting http://knight:8080/demo-client/com/accenture/afmstt/xjc/jaxb.properties with proxy=DIRECT
network: Connecting http://knight:8080/demo-client/com/accenture/afmstt/xjc/jaxb.properties with cookie "JSESSIONID=323050A67DA2BDDA155FDE296C7FE961"
network: Connecting http://knight:8080/demo-client/com/accenture/afmstt/xjc/jaxb.properties with proxy=DIRECT
network: Connecting http://knight:8080/demo-client/com/accenture/afmstt/xjc/jaxb.properties with cookie "JSESSIONID=323050A67DA2BDDA155FDE296C7FE961"
network: Connecting http://knight:8080/demo-client/com/accenture/afmstt/xjc/jaxb.properties with proxy=DIRECT
network: Connecting http://knight:8080/demo-client/com/accenture/afmstt/xjc/jaxb.properties with cookie "JSESSIONID=323050A67DA2BDDA155FDE296C7FE961"
network: Connecting http://knight:8080/demo-client/com/accenture/afmstt/xjc/jaxb.properties with proxy=DIRECT
network: Connecting http://knight:8080/demo-client/com/accenture/afmstt/xjc/jaxb.properties with cookie "JSESSIONID=323050A67DA2BDDA155FDE296C7FE961"
network: Connecting http://knight:8080/demo-client/com/accenture/afmstt/xjc/jaxb.properties with proxy=DIRECT
network: Connecting http://knight:8080/demo-client/com/accenture/afmstt/xjc/jaxb.properties with cookie "JSESSIONID=323050A67DA2BDDA155FDE296C7FE961"
network: Connecting http://knight:8080/demo-client/com/accenture/afmstt/xjc/jaxb.properties with proxy=DIRECT
network: Connecting http://knight:8080/demo-client/com/accenture/afmstt/xjc/jaxb.properties with cookie "JSESSIONID=323050A67DA2BDDA155FDE296C7FE961"
network: Connecting http://knight:8080/demo-client/com/accenture/afmstt/xjc/jaxb.properties with proxy=DIRECT
network: Connecting http://knight:8080/demo-client/com/accenture/afmstt/xjc/jaxb.properties with cookie "JSESSIONID=323050A67DA2BDDA155FDE296C7FE961"
network: Connecting http://knight:8080/demo-client/com/accenture/afmstt/xjc/jaxb.properties with proxy=DIRECT
network: Connecting http://knight:8080/demo-client/com/accenture/afmstt/xjc/jaxb.properties with cookie "JSESSIONID=323050A67DA2BDDA155FDE296C7FE961"
network: Connecting http://knight:8080/demo-client/com/accenture/afmstt/xjc/jaxb.properties with proxy=DIRECT
network: Connecting http://knight:8080/demo-client/com/accenture/afmstt/xjc/jaxb.properties with cookie "JSESSIONID=323050A67DA2BDDA155FDE296C7FE961"

......... and so on forever.

Any ideas?

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
mkmelin
Offline
Joined: 2006-11-15
Points: 0

Try adding
to your applet params.

rogyeu
Offline
Joined: 2006-07-30
Points: 0

Those are just the tracing/ logging info. It should not interfere your end user since the Java Console does not show by default.

-- RY

agolos
Offline
Joined: 2004-06-10
Points: 0

OK, but it makes server request, thus taking some bandwidth.

rogyeu
Offline
Joined: 2006-07-30
Points: 0

Hi agolos,

I don't know what you program does, thus I cannot comment whether these are extra connections. However, the log message looks legit to me. The security message shows because you either have a signed jar or making SSL connections. The networking log just shows it is trying to download properties file and I'm not sure how many request you have created.

You may want to enable the network tracing in version earlier than 6u10 to see if they behave differently. To do so, add the following runtime parameters to you applet:
-Djavaplugin.trace=true
-Djavaplugin.trace.option=basic|net|security|ext|liveconnect

see here for more info:
http://java.sun.com/javase/6/docs/technotes/guides/deployment/index.html

If you feel that 6u10 and previous 6 update releases are behaving differently in this case, please submit a bug here with test case to reproduce the issue:
http://bugreport.sun.com

Thanks,
Roger Y.

Message was edited by: rogyeu