Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Java console shows applet jars in different location than JNLP

849679Mar 23 2011
Platform: Windows XP SP3
Browser IE7, IE8, Firefox 3.6.15 (Browser doesn't seem to matter)
Java: 1.6.0_24

I have the following JNLP file shown (way) below as copied from the Java Console.

As you can see from the JNLP parse, the postgres jar file is specified to be located at
<jar href="http://123.123.123.123:8080/Applets/lib/postgresql-9.0-801.jdbc4.jar"/>

Further down in the listing we see the postgres jar file being downloaded
network: Downloaded http://123.123.123.123:8080/Applets/lib/postgresql-9.0-801.jdbc4.jar: null

Further down in the listing, as the applet begins to run, indicated by the debug output beginning with
"***** Applet Parameters *****"
24 lines below "***** Applet Parameters *****" we find the line

network: Connecting http://123.123.123.123:8080/Applets/postgresql-9.0-801.jdbc4.jar with proxy=DIRECT

My question is: Why is the connection being made to http://123.123.123.123:8080/Applets/postgresql-9.0-801.jdbc4.jar when I specified in the JNLP
that the postgres jar file is at http://123.123.123.123:8080/Applets/lib/postgresql-9.0-801.jdbc4.jar (why has "lib" been dropped from the path?)

The same thing happens with all of the jar files that I specified to be in .../Applets/lib as shown below for the iText jar file
Why does "security:" know that the jar file is in .../Applets/lib but "network:" keeps looking for the jar in .../Applets ?

security: Checking if certificate is in Deployment permanent certificate store
basic: Plugin2ClassLoader.getPermissions CeilingPolicy allPerms
security: JAVAWS AppPolicy Permission requested for: http://123.123.123.123:8080/Applets/lib/iText-2.1.7.jar
basic: JNLP2ClassLoader.getPermissions() X
network: Connecting http://123.123.123.123:8080/Applets/iText-2.1.7.jar with proxy=DIRECT
network: Connecting http://123.123.123.123:8080/Applets/iText-2.1.7.jar with proxy=DIRECT
basic: JNLP2ClassLoader.findClass: com.lowagie.text.Element: try again ..
network: Connecting http://123.123.123.123:8080/Applets/iText-2.1.7.jar with proxy=DIRECT

The applet does run, but the Java Console emits tons of ".. try again" messages.

Any help is appreciated as they'll be putting me in a padded room soon. My apologies for the long listing.



network: Created version ID: 1.6.0.24
network: Created version ID: 1.6
network: Created version ID: 1.6.0.24
network: Created version ID: 1.6
network: Created version ID: 1.6.0.24
network: Created version ID: 1.6
network: Created version ID: 1.6.0.24
network: Created version ID: 1.6
network: Connecting http://123.123.123.123:8080/myLaunch.jnlp with proxy=DIRECT
network: Connecting http://123.123.123.123:8080/ with proxy=DIRECT
network: ResponseCode for http://123.123.123.123:8080/myLaunch.jnlp : 200
network: Encoding for http://123.123.123.123:8080/myLaunch.jnlp : null
network: Sever response: (length: 814, lastModified: Wed Mar 23 07:21:44 EDT 2011, downloadVersion: null, mimeType: application/x-java-jnlp-file)
network: Downloading resource: http://123.123.123.123:8080/myLaunch.jnlp
Content-Length: 814
Content-Encoding: null
network: Wrote URL http://123.123.123.123:8080/myLaunch.jnlp to File C:\Documents and Settings\bruchs\Application Data\Sun\Java\Deployment\cache\6.0\16\678f9150-21b73265-temp
network: Disconnect connection to http://123.123.123.123:8080/myLaunch.jnlp
temp: new XMLParser with source:
temp: <?xml version="1.0" encoding="UTF-8"?>
<jnlp spec="1.0+" codebase="" href="myLaunch.jnlp">
<information>
<title>JSMADB_StdApplet</title>
<vendor>SMADB Development Team</vendor>
</information>
<resources>
<!-- Application Resources -->
<java version="1.6+"/>
<jar href="http://123.123.123.123:8080/Applets/JSMADB_StdApplet.jar" main="true" />
<jar href="http://123.123.123.123:8080/Applets/lib/iText-2.1.7.jar" />
<jar href="http://123.123.123.123:8080/Applets/lib/commons-io-2.0.1.jar" />
<jar href="http://123.123.123.123:8080/Applets/lib/postgresql-9.0-801.jdbc4.jar" />
</resources>
<applet-desc
main-class="stdapplet.StdApplet"
name="StdApplet"
width="400"
height="400">
</applet-desc>
</jnlp>

temp:

returning ROOT as follows:

<jnlp spec="1.0+" codebase="" href="myLaunch.jnlp">
<information>
<title>JSMADB_StdApplet</title>
<vendor>SMADB Development Team</vendor>
</information>
<resources>
<java version="1.6+"/>
<jar href="http://123.123.123.123:8080/Applets/JSMADB_StdApplet.jar" main="true"/>
<jar href="http://123.123.123.123:8080/Applets/lib/iText-2.1.7.jar"/>
<jar href="http://123.123.123.123:8080/Applets/lib/commons-io-2.0.1.jar"/>
<jar href="http://123.123.123.123:8080/Applets/lib/postgresql-9.0-801.jdbc4.jar"/>
</resources>
<applet-desc main-class="stdapplet.StdApplet" name="StdApplet" width="400" height="400"/>
</jnlp>jnlp
temp: returning LaunchDesc from XMLFormat.parse():

<jnlp spec="1.0+" codebase="http://123.123.123.123:8080/" href="http://123.123.123.123:8080/myLaunch.jnlp">
<information>
<title>JSMADB_StdApplet</title>
<vendor>SMADB Development Team</vendor>
<homepage href="null"/>
</information>
<update check="timeout" policy="always"/>
<resources>
<java version="1.6+"/>
<jar href="http://123.123.123.123:8080/Applets/JSMADB_StdApplet.jar" download="eager" main="true"/>
<jar href="http://123.123.123.123:8080/Applets/lib/iText-2.1.7.jar" download="eager" main="false"/>
<jar href="http://123.123.123.123:8080/Applets/lib/commons-io-2.0.1.jar" download="eager" main="false"/>
<jar href="http://123.123.123.123:8080/Applets/lib/postgresql-9.0-801.jdbc4.jar" download="eager" main="false"/>
</resources>
<applet-desc name="StdApplet" main-class="stdapplet.StdApplet" documentbase="http://123.123.123.123:8080/deploy.html" width="400" height="400"/>
</jnlp>
basic: Plugin2ClassLoader.addURL2 called for http://123.123.123.123:8080/Applets/JSMADB_StdApplet.jar
basic: Plugin2ClassLoader.addURL2 called for http://123.123.123.123:8080/Applets/lib/iText-2.1.7.jar
basic: Plugin2ClassLoader.addURL2 called for http://123.123.123.123:8080/Applets/lib/commons-io-2.0.1.jar
basic: Plugin2ClassLoader.addURL2 called for http://123.123.123.123:8080/Applets/lib/postgresql-9.0-801.jdbc4.jar
basic: Plugin2ClassLoader.drainPendingURLs addURL called for http://123.123.123.123:8080/Applets/JSMADB_StdApplet.jar
basic: Plugin2ClassLoader.drainPendingURLs addURL called for http://123.123.123.123:8080/Applets/lib/iText-2.1.7.jar
basic: Plugin2ClassLoader.drainPendingURLs addURL called for http://123.123.123.123:8080/Applets/lib/commons-io-2.0.1.jar
basic: Plugin2ClassLoader.drainPendingURLs addURL called for http://123.123.123.123:8080/Applets/lib/postgresql-9.0-801.jdbc4.jar
network: No Custom Progress jar
network: LaunchDownload: concurrent downloads from LD: 4
network: Total size to download: -1
network: Downloaded http://123.123.123.123:8080/Applets/JSMADB_StdApplet.jar: null
network: Download Progress: jarsDone: 1
network: Downloaded http://123.123.123.123:8080/Applets/lib/iText-2.1.7.jar: null
network: Download Progress: jarsDone: 2
network: Downloaded http://123.123.123.123:8080/Applets/lib/commons-io-2.0.1.jar: null
network: Download Progress: jarsDone: 3
network: Downloaded http://123.123.123.123:8080/Applets/lib/postgresql-9.0-801.jdbc4.jar: null
network: Download Progress: jarsDone: 4
network: Created version ID: 1.6+
network: Created version ID: 1.6
network: Created version ID: 1.6.0.24
network: Created version ID: 1.6
basic: LaunchDesc location: http://123.123.123.123:8080/myLaunch.jnlp
network: Created version ID: 1.0+
network: Created version ID: 6.0.18
basic: passing security checks; secureArgs:true, allSigned:false
basic: continuing launch in this VM
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
*** cert checking stuff deleted **
basic: Plugin2ClassLoader.getPermissions CeilingPolicy allPerms
security: JAVAWS AppPolicy Permission requested for: http://123.123.123.123:8080/Applets/JSMADB_StdApplet.jar
basic: JNLP2ClassLoader.getPermissions() X
basic: JNLP2ClassLoader.findClass: stdapplet.SurveillanceNewPanel: try again ..
basic: JNLP2ClassLoader.findClass: stdapplet.SurveillanceSearchPanel: try again ..
basic: JNLP2ClassLoader.findClass: stdapplet.SurveillanceEditPanel: try again ..
basic: JNLP2ClassLoader.findClass: stdapplet.SurveillanceReportPanel: try again ..
basic: JNLP2ClassLoader.findClass: stdapplet.NcarNewPanel: try again ..
basic: JNLP2ClassLoader.findClass: stdapplet.NcarstatusnoticePanel: try again ..
basic: JNLP2ClassLoader.findClass: stdapplet.EvaluationitemNewPanel: try again ..
basic: JNLP2ClassLoader.findClass: stdapplet.WarcandidateNewPanel: try again ..
basic: JNLP2ClassLoader.findClass: stdapplet.AttachmentPanel: try again ..
basic: JNLP2ClassLoader.findClass: stdapplet.UpdatePanel: try again ..
basic: JNLP2ClassLoader.findClass: stdapplet.FormControl: try again ..
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: No timestamping info available
security: Found jurisdiction list file
security: Start checking trusted extension for this certificate
security: Start comparing to jurisdiction list with this certificate
security: The CRL support is disabled
security: The OCSP support is disabled
security: This OCSP End Entity validation is disabled
security: Checking if certificate is in Deployment denied certificate store
security: Checking if certificate is in Deployment permanent certificate store
basic: Applet loaded.
basic: Applet resized and added to parent container
basic: PERF: AppletExecutionRunnable - applet.init() BEGIN ; jvmLaunch dt 89125 us, pluginInit dt 931453623 us, TotalTime: 931542748 us
I think I'm running!

basic: JNLP2ClassLoader.findClass: stdapplet.StdApplet$1: try again ..
LookAndFeel: Metal, javax.swing.plaf.metal.MetalLookAndFeel
LookAndFeel: Nimbus, com.sun.java.swing.plaf.nimbus.NimbusLookAndFeel
LookAndFeel: CDE/Motif, com.sun.java.swing.plaf.motif.MotifLookAndFeel
LookAndFeel: Windows, com.sun.java.swing.plaf.windows.WindowsLookAndFeel
LookAndFeel: Windows Classic, com.sun.java.swing.plaf.windows.WindowsClassicLookAndFeel
***** Applet Parameters *****
name value description
db1 blahblahblah4LjE1OS4zNC4xMDI6NTQzMi9vcGVyYXRpb25hbGRi DB Connection URL
db2 blahblahblah DB Account
db3 blahblahblah DB Password
program 2 Logged in program
userid 88 Logged in user id
debug true Spew debugging info to console
draggable true Applet can be dragged out of browser
jnlp_href myLaunch.jnlp JNLP Launch file
method JNLP Launched via JNLP or Applet Tag
AppServerFileSeparator \\ Path separator on application host
ATTACHMENT_SAVE_URL http://123.123.123.123:8080/servlet/AttachmentServlet?store= URL fed to AttachmentServlet to store to file system

CodeBase: http://123.123.123.123:8080/
DocumentBase: http://123.123.123.123:8080/deploy.html
Applet is active: false
basic: JNLP2ClassLoader.findClass: base64coder.Base64Coder: try again ..
Debug is: true
db1: jdbc:postgresql://123.123.123.123:5432/blahdb
db2: blahuser
db3: blahblahblah
basic: JNLP2ClassLoader.findClass: dbconnection.DbConnection: try again ..
network: Connecting http://123.123.123.123:8080/Applets/postgresql-9.0-801.jdbc4.jar with proxy=DIRECT
network: Connecting http://123.123.123.123:8080/Applets/postgresql-9.0-801.jdbc4.jar with proxy=DIRECT
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
*** cert checking stuff deleted **
security: Start comparing to jurisdiction list with this certificate
security: The CRL support is disabled
security: The OCSP support is disabled
security: This OCSP End Entity validation is disabled
security: Checking if certificate is in Deployment denied certificate store
security: Checking if certificate is in Deployment permanent certificate store
basic: JNLP2ClassLoader.findClass: org.postgresql.Driver: try again ..
network: Connecting http://123.123.123.123:8080/Applets/postgresql-9.0-801.jdbc4.jar with proxy=DIRECT
network: Connecting http://123.123.123.123:8080/Applets/postgresql-9.0-801.jdbc4.jar with proxy=DIRECT
basic: JNLP2ClassLoader.getPermissions() ..
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: Checking if certificate is in Deployment denied certificate store
*** cert checking stuff deleted **
security: Checking if certificate is in Deployment permanent certificate store
basic: Plugin2ClassLoader.getPermissions CeilingPolicy allPerms
security: JAVAWS AppPolicy Permission requested for: http://123.123.123.123:8080/Applets/lib/postgresql-9.0-801.jdbc4.jar
basic: JNLP2ClassLoader.getPermissions() X
network: Connecting http://123.123.123.123:8080/Applets/postgresql-9.0-801.jdbc4.jar with proxy=DIRECT
network: Connecting http://123.123.123.123:8080/Applets/postgresql-9.0-801.jdbc4.jar with proxy=DIRECT
basic: JNLP2ClassLoader.findClass: org.postgresql.util.PSQLException: try again ..
network: Connecting http://123.123.123.123:8080/Applets/postgresql-9.0-801.jdbc4.jar with proxy=DIRECT
network: Connecting http://123.123.123.123:8080/Applets/postgresql-9.0-801.jdbc4.jar with proxy=DIRECT
network: Connecting http://123.123.123.123:8080/Applets/postgresql-9.0-801.jdbc4.jar with proxy=DIRECT
network: Connecting http://123.123.123.123:8080/Applets/postgresql-9.0-801.jdbc4.jar with proxy=DIRECT
basic: JNLP2ClassLoader.findClass: org.postgresql.core.Logger: try again ..
network: Connecting http://123.123.123.123:8080/Applets/postgresql-9.0-801.jdbc4.jar with proxy=DIRECT
network: Connecting http://123.123.123.123:8080/Applets/postgresql-9.0-801.jdbc4.jar with proxy=DIRECT
network: Connecting http://123.123.123.123:8080/Applets/postgresql-9.0-801.jdbc4.jar with proxy=DIRECT
network: Connecting http://123.123.123.123:8080/Applets/postgresql-9.0-801.jdbc4.jar with proxy=DIRECT
CONNECTED TO DATABASE
basic: JNLP2ClassLoader.findClass: stdapplet.Util: try again ..
stdapplet.Util.getDatabaseUrl()
network: Connecting http://123.123.123.123:8080/Applets/postgresql-9.0-801.jdbc4.jar with proxy=DIRECT
network: Connecting http://123.123.123.123:8080/Applets/postgresql-9.0-801.jdbc4.jar with proxy=DIRECT
basic: JNLP2ClassLoader.findClass: org.postgresql.jdbc4.Jdbc4DatabaseMetaData: try again ..
network: Connecting http://123.123.123.123:8080/Applets/postgresql-9.0-801.jdbc4.jar with proxy=DIRECT
network: Connecting http://123.123.123.123:8080/Applets/postgresql-9.0-801.jdbc4.jar with proxy=DIRECT
network: Connecting http://123.123.123.123:8080/Applets/postgresql-9.0-801.jdbc4.jar with proxy=DIRECT
network: Connecting http://123.123.123.123:8080/Applets/postgresql-9.0-801.jdbc4.jar with proxy=DIRECT
network: Connecting http://123.123.123.123:8080/Applets/postgresql-9.0-801.jdbc4.jar with proxy=DIRECT
network: Connecting http://123.123.123.123:8080/Applets/postgresql-9.0-801.jdbc4.jar with proxy=DIRECT
basic: JNLP2ClassLoader.findClass: user.User: try again ..
User: org: 1, prog: 0, id: 88, admin: true, active: true, super: false, uupic: NONE, uname: sysadmin, lname: Admin, fname: System, full: Admin, System
stdapplet.Util.getLinkTypeIds(Jdbc4Connection)
basic: JNLP2ClassLoader.findClass: stdapplet.StringValueList: try again ..
basic: JNLP2ClassLoader.findClass: stdapplet.ItemValue: try again ..
basic: JNLP2ClassLoader.findClass: stdapplet.AttachmentClass: try again ..
basic: JNLP2ClassLoader.findClass: stdapplet.EvaluationitemClass: try again ..
basic: JNLP2ClassLoader.findClass: stdapplet.NcarClass: try again ..
basic: JNLP2ClassLoader.findClass: ncarstatusnotice.NcarstatusnoticeClass: try again ..
network: Connecting http://123.123.123.123:8080/Applets/iText-2.1.7.jar with proxy=DIRECT
network: Connecting http://123.123.123.123:8080/Applets/iText-2.1.7.jar with proxy=DIRECT
basic: JNLP2ClassLoader.findClass: com.lowagie.text.DocumentException: try again ..
network: Connecting http://123.123.123.123:8080/Applets/iText-2.1.7.jar with proxy=DIRECT
network: Connecting http://123.123.123.123:8080/Applets/iText-2.1.7.jar with proxy=DIRECT
basic: JNLP2ClassLoader.getPermissions() ..
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
*** cert checking stuff deleted **
security: Checking if certificate is in Deployment denied certificate store
security: Checking if certificate is in Deployment permanent certificate store
basic: Plugin2ClassLoader.getPermissions CeilingPolicy allPerms
security: JAVAWS AppPolicy Permission requested for: http://123.123.123.123:8080/Applets/lib/iText-2.1.7.jar
basic: JNLP2ClassLoader.getPermissions() X
network: Connecting http://123.123.123.123:8080/Applets/iText-2.1.7.jar with proxy=DIRECT
network: Connecting http://123.123.123.123:8080/Applets/iText-2.1.7.jar with proxy=DIRECT
basic: JNLP2ClassLoader.findClass: com.lowagie.text.Element: try again ..
network: Connecting http://123.123.123.123:8080/Applets/iText-2.1.7.jar with proxy=DIRECT
network: Connecting http://123.123.123.123:8080/Applets/iText-2.1.7.jar with proxy=DIRECT
network: Connecting http://123.123.123.123:8080/Applets/iText-2.1.7.jar with proxy=DIRECT
network: Connecting http://123.123.123.123:8080/Applets/iText-2.1.7.jar with proxy=DIRECT
basic: JNLP2ClassLoader.findClass: com.lowagie.text.Phrase: try again ..
network: Connecting http://123.123.123.123:8080/Applets/iText-2.1.7.jar with proxy=DIRECT
network: Connecting http://123.123.123.123:8080/Applets/iText-2.1.7.jar with proxy=DIRECT
network: Connecting http://123.123.123.123:8080/Applets/iText-2.1.7.jar with proxy=DIRECT
network: Connecting http://123.123.123.123:8080/Applets/iText-2.1.7.jar with proxy=DIRECT
basic: JNLP2ClassLoader.findClass: com.lowagie.text.TextElementArray: try again ..
network: Connecting http://123.123.123.123:8080/Applets/iText-2.1.7.jar with proxy=DIRECT
network: Connecting http://123.123.123.123:8080/Applets/iText-2.1.7.jar with proxy=DIRECT
network: Connecting http://123.123.123.123:8080/Applets/iText-2.1.7.jar with proxy=DIRECT
network: Connecting http://123.123.123.123:8080/Applets/iText-2.1.7.jar with proxy=DIRECT
basic: JNLP2ClassLoader.findClass: com.lowagie.text.Paragraph: try again ..
network: Connecting http://123.123.123.123:8080/Applets/iText-2.1.7.jar with proxy=DIRECT
network: Connecting http://123.123.123.123:8080/Applets/iText-2.1.7.jar with proxy=DIRECT
basic: JNLP2ClassLoader.findClass: stdapplet.SurveillanceClass: try again ..
basic: JNLP2ClassLoader.findClass: stdapplet.UpdateClass: try again ..
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 20 2011
Added on Mar 23 2011
0 comments
1,726 views