users@glassfish.java.net

Re: Webstart help please

From: <glassfish_at_javadesktop.org>
Date: Tue, 15 May 2007 12:12:21 PDT

ok, i am pretty sure that was the same version i downloaded only 2 weeks ago.

but, i went ahead and removed the previous installation and downloaded this file to my c: drive.

http://java.net/download/javaee5/fcs_branch/promoted/WINNT/glassfish-installer-v1_ur1-p01-b02.jar

i ran these commands.

cd \
java -Xmx256m -jar glassfish-installer-v1_ur1-p01-b02.jar
cd \glassfish
lib\ant\bin\ant -f setup.xml

i then deployed the same application i previously described.

i then opened a browser to http://localhost:8080/ApplicationClientTest

i am still getting the same problem.
i can run it on my computer with the 1.5 installation, but not with the 1.6.


i get this in the logs

<?xml version="1.0" encoding="windows-1252" standalone="no"?>
<!DOCTYPE log SYSTEM "logger.dtd">
<log>
<record>
  <date>2007-05-15T14:56:48</date>
  <millis>1179255408656</millis>
  <sequence>0</sequence>
  <logger>com.sun.deploy</logger>
  <level>FINE</level>
  <class>com.sun.deploy.util.LoggerTraceListener</class>
  <method>print</method>
  <thread>10</thread>
  <message>Error attempting to launch JWSACCMain.main
</message>
</record>
</log>


i got this in the trace file.

Error attempting to launch JWSACCMain.main


i opened up the java control panel and looked in the cache. it had two versions for the application, which seemed kinda strange to me. i deleted them both. then tried the url again.
still doesnt run, just displays the java console then it goes away.

this time i get this in the trace file.

Error attempting to launch JWSACCMain.main
java.lang.reflect.InvocationTargetException
        at java.awt.EventQueue.invokeAndWait(Unknown Source)
        at javax.swing.SwingUtilities.invokeAndWait(Unknown Source)
        at com.sun.enterprise.appclient.jws.boot.JWSACCMain.main(JWSACCMain.java:146)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at com.sun.javaws.Launcher.executeApplication(Unknown Source)
        at com.sun.javaws.Launcher.executeMainClass(Unknown Source)
        at com.sun.javaws.Launcher.doLaunchApp(Unknown Source)
        at com.sun.javaws.Launcher.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.RuntimeException: java.lang.NullPointerException
        at com.sun.enterprise.appclient.jws.boot.JWSACCMain.run(JWSACCMain.java:189)
        at java.awt.event.InvocationEvent.dispatch(Unknown Source)
        at java.awt.EventQueue.dispatchEvent(Unknown Source)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.run(Unknown Source)
Caused by: java.lang.NullPointerException
        at com.sun.enterprise.appclient.jws.boot.ClassPathManager16.findContainingJar(ClassPathManager16.java:83)
        at com.sun.enterprise.appclient.jws.boot.JWSACCMain.findContainingJar(JWSACCMain.java:374)
        at com.sun.enterprise.appclient.jws.boot.JWSACCMain.findAppClientFileForJWSLaunch(JWSACCMain.java:389)
        at com.sun.enterprise.appclient.jws.boot.JWSACCMain.run(JWSACCMain.java:163)
        ... 8 more



and i get this in the logs.

<?xml version="1.0" encoding="windows-1252" standalone="no"?>
<!DOCTYPE log SYSTEM "logger.dtd">
<log>
<record>
  <date>2007-05-15T15:06:28</date>
  <millis>1179255988484</millis>
  <sequence>0</sequence>
  <logger>com.sun.deploy</logger>
  <level>FINE</level>
  <class>com.sun.deploy.util.LoggerTraceListener</class>
  <method>print</method>
  <thread>10</thread>
  <message>Error attempting to launch JWSACCMain.main
</message>
</record>
<record>
  <date>2007-05-15T15:06:28</date>
  <millis>1179255988500</millis>
  <sequence>1</sequence>
  <logger>com.sun.deploy</logger>
  <level>FINE</level>
  <class>com.sun.deploy.util.LoggerTraceListener</class>
  <method>print</method>
  <thread>10</thread>
  <message>java.lang.reflect.InvocationTargetException
</message>
</record>
<record>
  <date>2007-05-15T15:06:28</date>
  <millis>1179255988500</millis>
  <sequence>2</sequence>
  <logger>com.sun.deploy</logger>
  <level>FINE</level>
  <class>com.sun.deploy.util.LoggerTraceListener</class>
  <method>print</method>
  <thread>10</thread>
  <message> at java.awt.EventQueue.invokeAndWait(Unknown Source)
</message>
</record>
<record>
  <date>2007-05-15T15:06:28</date>
  <millis>1179255988500</millis>
  <sequence>3</sequence>
  <logger>com.sun.deploy</logger>
  <level>FINE</level>
  <class>com.sun.deploy.util.LoggerTraceListener</class>
  <method>print</method>
  <thread>10</thread>
  <message> at javax.swing.SwingUtilities.invokeAndWait(Unknown Source)
</message>
</record>
<record>
  <date>2007-05-15T15:06:28</date>
  <millis>1179255988500</millis>
  <sequence>4</sequence>
  <logger>com.sun.deploy</logger>
  <level>FINE</level>
  <class>com.sun.deploy.util.LoggerTraceListener</class>
  <method>print</method>
  <thread>10</thread>
  <message> at com.sun.enterprise.appclient.jws.boot.JWSACCMain.main(JWSACCMain.java:146)
</message>
</record>
<record>
  <date>2007-05-15T15:06:28</date>
  <millis>1179255988500</millis>
  <sequence>5</sequence>
  <logger>com.sun.deploy</logger>
  <level>FINE</level>
  <class>com.sun.deploy.util.LoggerTraceListener</class>
  <method>print</method>
  <thread>10</thread>
  <message> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
</message>
</record>
<record>
  <date>2007-05-15T15:06:28</date>
  <millis>1179255988500</millis>
  <sequence>6</sequence>
  <logger>com.sun.deploy</logger>
  <level>FINE</level>
  <class>com.sun.deploy.util.LoggerTraceListener</class>
  <method>print</method>
  <thread>10</thread>
  <message> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
</message>
</record>
<record>
  <date>2007-05-15T15:06:28</date>
  <millis>1179255988500</millis>
  <sequence>7</sequence>
  <logger>com.sun.deploy</logger>
  <level>FINE</level>
  <class>com.sun.deploy.util.LoggerTraceListener</class>
  <method>print</method>
  <thread>10</thread>
  <message> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
</message>
</record>
<record>
  <date>2007-05-15T15:06:28</date>
  <millis>1179255988500</millis>
  <sequence>8</sequence>
  <logger>com.sun.deploy</logger>
  <level>FINE</level>
  <class>com.sun.deploy.util.LoggerTraceListener</class>
  <method>print</method>
  <thread>10</thread>
  <message> at java.lang.reflect.Method.invoke(Unknown Source)
</message>
</record>
<record>
  <date>2007-05-15T15:06:28</date>
  <millis>1179255988500</millis>
  <sequence>9</sequence>
  <logger>com.sun.deploy</logger>
  <level>FINE</level>
  <class>com.sun.deploy.util.LoggerTraceListener</class>
  <method>print</method>
  <thread>10</thread>
  <message> at com.sun.javaws.Launcher.executeApplication(Unknown Source)
</message>
</record>
<record>
  <date>2007-05-15T15:06:28</date>
  <millis>1179255988500</millis>
  <sequence>10</sequence>
  <logger>com.sun.deploy</logger>
  <level>FINE</level>
  <class>com.sun.deploy.util.LoggerTraceListener</class>
  <method>print</method>
  <thread>10</thread>
  <message> at com.sun.javaws.Launcher.executeMainClass(Unknown Source)
</message>
</record>
<record>
  <date>2007-05-15T15:06:28</date>
  <millis>1179255988500</millis>
  <sequence>11</sequence>
  <logger>com.sun.deploy</logger>
  <level>FINE</level>
  <class>com.sun.deploy.util.LoggerTraceListener</class>
  <method>print</method>
  <thread>10</thread>
  <message> at com.sun.javaws.Launcher.doLaunchApp(Unknown Source)
</message>
</record>
<record>
  <date>2007-05-15T15:06:28</date>
  <millis>1179255988500</millis>
  <sequence>12</sequence>
  <logger>com.sun.deploy</logger>
  <level>FINE</level>
  <class>com.sun.deploy.util.LoggerTraceListener</class>
  <method>print</method>
  <thread>10</thread>
  <message> at com.sun.javaws.Launcher.run(Unknown Source)
</message>
</record>
<record>
  <date>2007-05-15T15:06:28</date>
  <millis>1179255988500</millis>
  <sequence>13</sequence>
  <logger>com.sun.deploy</logger>
  <level>FINE</level>
  <class>com.sun.deploy.util.LoggerTraceListener</class>
  <method>print</method>
  <thread>10</thread>
  <message> at java.lang.Thread.run(Unknown Source)
</message>
</record>
<record>
  <date>2007-05-15T15:06:28</date>
  <millis>1179255988500</millis>
  <sequence>14</sequence>
  <logger>com.sun.deploy</logger>
  <level>FINE</level>
  <class>com.sun.deploy.util.LoggerTraceListener</class>
  <method>print</method>
  <thread>10</thread>
  <message>Caused by: java.lang.RuntimeException: java.lang.NullPointerException
</message>
</record>
<record>
  <date>2007-05-15T15:06:28</date>
  <millis>1179255988500</millis>
  <sequence>15</sequence>
  <logger>com.sun.deploy</logger>
  <level>FINE</level>
  <class>com.sun.deploy.util.LoggerTraceListener</class>
  <method>print</method>
  <thread>10</thread>
  <message> at com.sun.enterprise.appclient.jws.boot.JWSACCMain.run(JWSACCMain.java:189)
</message>
</record>
<record>
  <date>2007-05-15T15:06:28</date>
  <millis>1179255988500</millis>
  <sequence>16</sequence>
  <logger>com.sun.deploy</logger>
  <level>FINE</level>
  <class>com.sun.deploy.util.LoggerTraceListener</class>
  <method>print</method>
  <thread>10</thread>
  <message> at java.awt.event.InvocationEvent.dispatch(Unknown Source)
</message>
</record>
</log>


there is a second trace file this time, the first one i pasted in here was called javaws65488.trace, then there is also a file called just jcp.trace. its 134k though. if you want me to post it let me know.

thanks.
[Message sent by forum member 'derekv' (derekv)]

http://forums.java.net/jive/thread.jspa?messageID=217105