Forum Stats

  • 3,839,996 Users
  • 2,262,557 Discussions
  • 7,901,120 Comments

Discussions

Need help with applet related problems

887009
887009 Member Posts: 7
edited Sep 15, 2011 5:25AM in Java Runtime Environment (JRE)
First of all hello to everyone. I'm new to this forum. I usually can solve my problems google-ing around, but this time I just ran out of ideas.

I'm trying to develop a jni applet that can run native code for performance. I used netbeans so far and the applet works great when run from within the ide. At some point a managed to make the applet run inside firefox and iexplore, however somehow i screwed something up and now i can't make it run anymore. I don't really know what i did but i think it may be related to these lines in the console since everything up until awt works fine in the applet:

-----
basic: JNLP2ClassLoader.findLibrary: Looking up native library: jawt.dll
network: Looking up native library in: C:\Users\Gladiator\AppData\LocalLow\Sun\Java\Deployment\cache\6.0\10\1082924a-7851bf5e-n\jawt.dll
basic: Native library jawt.dll not found
-----

Ofc i may be wrong.
This also my be a local problem because a friend of mine tried the applet himself and said it's working.
All the jars are selfsigned.

below i posted the console output in case you want to take a look. Also I am interested about the "try again.." messages that seem to pop over and over again.

-----
Java Plug-in 1.6.0_27
Using JRE version 1.6.0_27-b07 Java HotSpot(TM) Client VM
User home directory = C:\Users\Gladiator

----------------------------------------------------
c: clear console window
f: finalize objects on finalization queue
g: garbage collect
h: display this help message
l: dump classloader list
m: print memory usage
o: trigger logging
q: hide console
r: reload policy configuration
s: dump system and deployment properties
t: dump thread list
v: dump thread stack
x: clear classloader cache
0-5: set trace level to <n>
----------------------------------------------------

security: property package.access value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.
security: property package.access new value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.javaws
security: property package.access value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.javaws
security: property package.access new value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.javaws,com.sun.deploy
security: property package.access value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.javaws,com.sun.deploy
security: property package.access new value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.javaws,com.sun.deploy,com.sun.jnlp
security: property package.definition value null
security: property package.definition new value com.sun.javaws
security: property package.definition value com.sun.javaws
security: property package.definition new value com.sun.javaws,com.sun.deploy
security: property package.definition value com.sun.javaws,com.sun.deploy
security: property package.definition new value com.sun.javaws,com.sun.deploy,com.sun.jnlp
security: property package.access value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.javaws,com.sun.deploy,com.sun.jnlp
security: property package.access new value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.javaws,com.sun.deploy,com.sun.jnlp,org.mozilla.jss
security: property package.definition value com.sun.javaws,com.sun.deploy,com.sun.jnlp
security: property package.definition new value com.sun.javaws,com.sun.deploy,com.sun.jnlp,org.mozilla.jss
network: Created version ID: 1.6.0.27
network: Created version ID: 1.6
network: Created version ID: 1.6.0.27
network: Created version ID: 1.6
network: Created version ID: 1.6.0.27
network: Created version ID: 1.6
network: Created version ID: 1.6.0.27
network: Created version ID: 1.6
network: Cache entry not found [url: file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/launch.jnlp, version: null]
network: Cache entry not found [url: file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/launch.jnlp, version: null]
network: Cache entry not found [url: file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/launch.jnlp, version: null]
network: ResponseCode for file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/launch.jnlp : 200
network: Encoding for file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/launch.jnlp : null
network: Sever response: (length: 564, lastModified: Wed Sep 07 16:30:17 EEST 2011, downloadVersion: null, mimeType: application/x-java-jnlp-file)
network: Downloading resource: file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/launch.jnlp
Content-Length: 564
Content-Encoding: null
network: Wrote URL file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/launch.jnlp to File C:\Users\Gladiator\AppData\LocalLow\Sun\Java\Deployment\cache\6.0\57\7465fe39-7a36cd96-temp
network: Cache: Enable a new CacheEntry: file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/launch.jnlp
temp: new XMLParser with source:
temp: <?xml version="1.0" encoding="UTF-8"?>

<jnlp href="launch.jnlp">

<information>

<title>test app</title>

<vendor>Raven</vendor>

</information>

<resources>

<j2se version="1.6+" href="http://java.sun.com/products/autodl/j2se" />

<jar href="SpaceGame.jar" main="true" />

</resources>

<resources os="Windows">

<nativelib href="lib/swt.jar"/>


</resources>

<applet-desc

name="test app"

main-class="javatest.JTest"

width="800"

height="600">

</applet-desc>

<security>

<all-permissions/>

</security>

</jnlp>
temp:

returning ROOT as follows:

<jnlp href="launch.jnlp">
<information>
<title>test app</title>
<vendor>Raven</vendor>
</information>
<resources>
<j2se version="1.6+" href="http://java.sun.com/products/autodl/j2se"/>
<jar href="SpaceGame.jar" main="true"/>
</resources>
<resources os="Windows">
<nativelib href="lib/swt.jar"/>
</resources>
<applet-desc name="test app" main-class="javatest.JTest" width="800" height="600"/>
<security>
<all-permissions/>
</security>
</jnlp>
temp: returning LaunchDesc from XMLFormat.parse():

<jnlp spec="1.0+" codebase="file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/" href="file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/launch.jnlp">
<information>
<title>test app</title>
<vendor>Raven</vendor>
<homepage href="null"/>
</information>
<security>
<all-permissions/>
</security>
<update check="timeout" policy="always"/>
<resources>
<java href="http://java.sun.com/products/autodl/j2se" version="1.6+"/>
<jar href="file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/SpaceGame.jar" download="eager" main="true"/>
<nativelib href="file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/lib/swt.jar" download="eager" main="false"/>
</resources>
<applet-desc name="test app" main-class="javatest.JTest" documentbase="file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/launch.html" width="800" height="600"/>
</jnlp>
network: CleanupThread used 16572 us
basic: Plugin2ClassLoader.addURL2 called for file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/SpaceGame.jar
basic: Plugin2ClassLoader.addURL2 called for file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/lib/swt.jar
basic: Plugin2ClassLoader.drainPendingURLs addURL called for file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/SpaceGame.jar
basic: Plugin2ClassLoader.drainPendingURLs addURL called for file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/lib/swt.jar
network: No Custom Progress jar
network: LaunchDownload: concurrent downloads from LD: 4
network: Total size to download: -1
network: Cache entry not found [url: file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/SpaceGame.jar, version: null]
network: Cache entry not found [url: file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/lib/swt.jar, version: null]
network: Cache entry not found [url: file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/SpaceGame.jar, version: null]
network: Cache entry not found [url: file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/lib/swt.jar, version: null]
network: ResponseCode for file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/SpaceGame.jar : 200
network: ResponseCode for file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/lib/swt.jar : 200
network: Encoding for file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/SpaceGame.jar : null
network: Encoding for file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/lib/swt.jar : null
network: Sever response: (length: 12948, lastModified: Tue Sep 06 22:46:50 EEST 2011, downloadVersion: null, mimeType: application/x-java-archive)
network: Sever response: (length: 2007707, lastModified: Tue Sep 06 22:47:10 EEST 2011, downloadVersion: null, mimeType: application/x-java-archive)
network: CleanupThread used 1 us
network: Downloading resource: file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/SpaceGame.jar
Content-Length: 12,948
Content-Encoding: null
network: Downloading resource: file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/lib/swt.jar
Content-Length: 2,007,707
Content-Encoding: null
network: Wrote URL file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/SpaceGame.jar to File C:\Users\Gladiator\AppData\LocalLow\Sun\Java\Deployment\cache\6.0\5\26fb4185-10c9079c-temp
network: Validating file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/SpaceGame.jar , version null...
security: Blacklist revocation check is enabled
security: Trusted libraries list check is enabled
network: Cache: Enable a new CacheEntry: file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/SpaceGame.jar
network: CleanupThread used 1 us
network: Downloaded file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/SpaceGame.jar: file:/C:/Users/Gladiator/AppData/LocalLow/Sun/Java/Deployment/cache/6.0/5/26fb4185-10c9079c
network: Download Progress: jarsDone: 1
network: Wrote URL file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/lib/swt.jar to File C:\Users\Gladiator\AppData\LocalLow\Sun\Java\Deployment\cache\6.0\10\1082924a-7851bf5e-temp
network: Validating file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/lib/swt.jar , version null...
network: Cache: Enable a new CacheEntry: file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/lib/swt.jar
network: CleanupThread used 2 us
network: Downloaded file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/lib/swt.jar: file:/C:/Users/Gladiator/AppData/LocalLow/Sun/Java/Deployment/cache/6.0/10/1082924a-7851bf5e
network: Download Progress: jarsDone: 2
network: Created version ID: 1.6+
network: Created version ID: 1.6.0.27
network: Created version ID: 1.6.0.27
network: Created version ID: 1.6
basic: LaunchDesc location: file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/launch.jnlp
network: Created version ID: 1.0+
network: Created version ID: 6.0.18
security: Validating signatures for file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/launch.jnlp file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/launch.jnlp
security: TustedSet null
security: Empty trusted set for [file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/launch.jnlp]
security: Round 1 (0 out of 2):file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/SpaceGame.jar
security: Entry [file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/SpaceGame.jar] is not prevalidated. Revert to full validation of this JAR.
security: Round 2 (0 out of 2):file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/SpaceGame.jar
security: Validating cached jar url=file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/SpaceGame.jar ffile=C:\Users\Gladiator\AppData\LocalLow\Sun\Java\Deployment\cache\6.0\5\26fb4185-10c9079c [email protected]
security: Round 2 (1 out of 2):file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/lib/swt.jar
security: Validating cached jar url=file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/lib/swt.jar ffile=C:\Users\Gladiator\AppData\LocalLow\Sun\Java\Deployment\cache\6.0\10\1082924a-7851bf5e [email protected]
security: Have 1 common certificates after processing file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/lib/swt.jar
security: Istrusted: file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/launch.jnlp false
security: Accessing keys and certificate in Mozilla user profile: null
security: Loading Root CA certificates from C:\Program Files (x86)\Java\jre6\lib\security\cacerts
security: Loaded Root CA certificates from C:\Program Files (x86)\Java\jre6\lib\security\cacerts
security: Loading certificates from Deployment session certificate store
security: Loaded certificates from Deployment session 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: Start to check whether root CA is replaced
security: The root CA hasnt been replaced
security: No timestamping info available
security: Found jurisdiction list file
security: No need to checking trusted extension for 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
security: Checking if certificate is in Deployment session certificate store
security: User has granted the priviledges to the code for this session only
security: Adding certificate in Deployment session certificate store
security: Added certificate in Deployment session certificate store
security: Saving certificates in Deployment session certificate store
security: Saved certificates in Deployment session certificate store
security: Mark trusted: file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/launch.jnlp
basic: LD - All JAR files signed: file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/launch.jnlp
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: 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: Start to check whether root CA is replaced
security: The root CA hasnt been replaced
security: No timestamping info available
security: Found jurisdiction list file
security: No need to checking trusted extension for 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
security: Checking if certificate is in Deployment session certificate store
basic: JNLP2ClassLoader.findClass: javatest.JTest: try again ..
basic: JNLP2ClassLoader.getPermissions() ..
security: Loading certificates from Deployment session certificate store
security: Loaded certificates from Deployment session 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: Start to check whether root CA is replaced
security: The root CA hasnt been replaced
security: No timestamping info available
security: Found jurisdiction list file
security: No need to checking trusted extension for 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
security: Checking if certificate is in Deployment session certificate store
basic: Plugin2ClassLoader.getPermissions CeilingPolicy allPerms
security: JAVAWS AppPolicy Permission requested for: file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/SpaceGame.jar
basic: JNLP2ClassLoader.getPermissions() X
security: Loading certificates from Deployment session certificate store
security: Loaded certificates from Deployment session 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: Start to check whether root CA is replaced
security: The root CA hasnt been replaced
security: No timestamping info available
security: Found jurisdiction list file
security: No need to checking trusted extension for 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
security: Checking if certificate is in Deployment session certificate store
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.events.PaintListener: try again ..
basic: JNLP2ClassLoader.getPermissions() ..
security: Loading certificates from Deployment session certificate store
security: Loaded certificates from Deployment session 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: Start to check whether root CA is replaced
security: The root CA hasnt been replaced
security: No timestamping info available
security: Found jurisdiction list file
security: No need to checking trusted extension for 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
security: Checking if certificate is in Deployment session certificate store
basic: Plugin2ClassLoader.getPermissions CeilingPolicy allPerms
security: JAVAWS AppPolicy Permission requested for: file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/lib/swt.jar
basic: JNLP2ClassLoader.getPermissions() X
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.SWTEventListener: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.graphics.Drawable: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.widgets.Layout: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.layout.FillLayout: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.widgets.Composite: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.widgets.Scrollable: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.widgets.Control: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.widgets.Widget: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.widgets.Shell: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.widgets.Decorations: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.widgets.Canvas: try again ..
security: Loading certificates from Deployment session certificate store
security: Loaded certificates from Deployment session 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: Start to check whether root CA is replaced
security: The root CA hasnt been replaced
security: No timestamping info available
security: Found jurisdiction list file
security: No need to checking trusted extension for 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
security: Checking if certificate is in Deployment session certificate store
basic: Applet loaded.
basic: Applet resized and added to parent container
basic: PERF: AppletExecutionRunnable - applet.init() BEGIN ; jvmLaunch dt 81605 us, pluginInit dt 2397573 us, TotalTime: 2479178 us
basic: JNLP2ClassLoader.findClass: javatest.JTest$1: try again ..
basic: Applet initialized
C:\Users\Gladiator\AppData\Roaming
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.widgets.Display: try again ..
basic: Removed progress listener: null
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.graphics.Device: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.win32.TEXTMETRICW: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.win32.TEXTMETRIC: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.win32.TEXTMETRICA: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.win32.LOGFONTW: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.win32.LOGFONT: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.win32.LOGFONTA: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.win32.NONCLIENTMETRICSW: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.win32.NONCLIENTMETRICS: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.win32.NONCLIENTMETRICSA: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.widgets.Event: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.win32.OS: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.C: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.Platform: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.win32.OSVERSIONINFO: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.win32.OSVERSIONINFOW: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.win32.OSVERSIONINFOA: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.win32.OSVERSIONINFOEXW: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.win32.OSVERSIONINFOEX: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.win32.OSVERSIONINFOEXA: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.Lock: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.Library: try again ..
basic: JNLP2ClassLoader.findLibrary: Looking up native library: swt-win32-3735.dll
network: Looking up native library in: C:\Users\Gladiator\AppData\LocalLow\Sun\Java\Deployment\cache\6.0\10\1082924a-7851bf5e-n\swt-win32-3735.dll
basic: JNLP2ClassLoader.findLibrary: native library found: C:\Users\Gladiator\AppData\LocalLow\Sun\Java\Deployment\cache\6.0\10\1082924a-7851bf5e-n\swt-win32-3735.dll
basic: Applet made visible
basic: Starting applet
basic: completed perf rollup
basic: Applet started
basic: Told clients applet is started
basic: JNLP2ClassLoader.findLibrary: Looking up native library: swt-win32-3735.dll
basic: JNLP2ClassLoader.findLibrary: native library found: C:\Users\Gladiator\AppData\LocalLow\Sun\Java\Deployment\cache\6.0\10\1082924a-7851bf5e-n\swt-win32-3735.dll
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.win32.TCHAR: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.win32.ACTCTX: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.win32.DLLVERSIONINFO: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.win32.STARTUPINFO: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.widgets.Display$1: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.graphics.Font: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.graphics.Resource: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.Callback: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.win32.WNDCLASS: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.widgets.TaskBar: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.widgets.Listener: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.win32.PAINTSTRUCT: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.graphics.GCData: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.graphics.GC: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.win32.PROPERTYKEY: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.win32.HIGHCONTRAST: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.win32.MSG: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.widgets.Synchronizer: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.SWT: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.SWTError: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.SWTException: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.graphics.Cursor: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.win32.NMHDR: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.win32.NMLVDISPINFO: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.awt.SWT_AWT: try again ..
basic: JNLP2ClassLoader.findLibrary: Looking up native library: jawt.dll
network: Looking up native library in: C:\Users\Gladiator\AppData\LocalLow\Sun\Java\Deployment\cache\6.0\10\1082924a-7851bf5e-n\jawt.dll
basic: Native library jawt.dll not found
basic: JNLP2ClassLoader.findLibrary: Looking up native library: swt-awt-win32-3735.dll
basic: JNLP2ClassLoader.findLibrary: native library found: C:\Users\Gladiator\AppData\LocalLow\Sun\Java\Deployment\cache\6.0\10\1082924a-7851bf5e-n\swt-awt-win32-3735.dll
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.widgets.MenuItem: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.widgets.Item: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.widgets.Menu: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.win32.NMTTDISPINFOA: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.win32.NMTTDISPINFO: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.win32.NMTTDISPINFOW: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.widgets.ToolTip: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.awt.SWT_AWT$11: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.awt.SWT_AWT$13: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.widgets.EventTable: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.win32.WINDOWPOS: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.win32.LRESULT: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.win32.RECT: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.graphics.Point: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.SerializableCompatibility: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.graphics.Rectangle: try again ..
basic: JNLP2ClassLoader.findClass: javatest.JTest$3: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.widgets.TypedListener: try again ..
-----
Tagged:
«1

Answers

  • 793415
    793415 Member Posts: 7,279 Bronze Badge
    884006 wrote:
    First of all hello to everyone. I'm new to this forum. I usually can solve my problems google-ing around, but this time I just ran out of ideas.
    Here's 2 ideas:
    <ol>
    <li>*Don't type in all bold - you are not that important.*
    <li>Validate the JNLP using JaNeLA
    </ul>
  • 887009
    887009 Member Posts: 7
    I am sorry for bold, i came here to ask for help. I used bold to differentiate output from my questions since i couldn't find
     tags.
    
    I already validated jnlp using JaNeLA and got only optimization suggestions.
    As I said in first post, this works for a friend of mine, so it's possible a local issue with my java or something ...
    Also i reinstalled jre/jdk 7.0, then uninstalled and installed latest jre/jdk 6. 
    
    Hope I didn't leave a bad impression, i just want help.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
  • 793415
    793415 Member Posts: 7,279 Bronze Badge
    884006 wrote:
    ..I already validated jnlp using JaNeLA and got only optimization suggestions.
    I find that difficult to believe, since I spotted one mistake just by looking at it.
  • 887009
    887009 Member Posts: 7
    The only thing JaNeLA complained about was the position of security tag. The error disappeared after i placed the tag in between <information> and <resources>. But still the same problem.
  • 793415
    793415 Member Posts: 7,279 Bronze Badge
    884006 wrote:
    The only thing JaNeLA complained about was the position of security tag.
    Oh so the comment, +"I already validated jnlp using JaNeLA and got only optimization suggestions."+ was just to waste my time, was it?

    Good luck with it.
  • 887009
    887009 Member Posts: 7
    edited Sep 8, 2011 10:49AM
    wasn't trying to waste anyone's time. Thing is, I know it's not a jnlp problem because it used to work on my PC before, with the exact same html, jnlp, jars etc. I must have screwed java somehow, or something else. This is what I'm trying to find out. What did I do that now it's not working anymore?
  • 793415
    793415 Member Posts: 7,279 Bronze Badge
    884006 wrote:
    wasn't trying to waste anyone's time. Thing is, I know it's not a jnlp problem because it used to work on my PC before, with the exact same html, jnlp, jars etc. I must have screwed java somehow, ..
    An invalid JNLP is 'garbage'. You heard of GI/GO? If not, search for it. How a JRE will interpret an invalid JNLP is anybody's guess.

    BTW - the XSD for JaNeLA does not specify it, but an <tt>applet-desc</tt> requires a <tt>documentBase</tt> attribute.

    Post a valid JNLP - & I might look into this (long, detailed) problem more closely.
  • 887009
    887009 Member Posts: 7
    Funny you should say that, then I guess this document is wrong when saying documentBase is not required.

    Anyway, after a little bit of poking around, I discovered that the applet does run, it does download the necessary dlls, it does start the rendering engine in the native code, but however it's not rendering to the applet because it's not loading the jawt.dll native library... at least this is my theory so far.
  • 793415
    793415 Member Posts: 7,279 Bronze Badge
    884006 wrote:
    Funny you should say that, then I guess this document is wrong when saying documentBase is not required.
    <ol>
    <li>Quote the part of the document that says that.
    <li>You linked to the anchor for applications (not applets)
    </ol>
  • 887009
    887009 Member Posts: 7
    edited Sep 8, 2011 11:39AM
    Ah , i see now. My apologies for linking the wrong location on the page. If you open the link and scroll up to the table you will see that under applet-desc/documentbase there is no yes to the right, in the "required" column.
This discussion has been closed.