Hello folks :
This works okay when I run the clients from a command line,
but when I deploy with Java Web Start 1.2, I get a message saying "Ignoring com/sun/jms/util/jms.properties due to exception "java.lang.NullPointerException", I've put jms_client.properties into jar file and set the property "jms.properties" to value "jms_client.properties" in the jnlp file and set the classloader.
Anyone have any ideas?
Thank you ~~
Jovi
Ignoring com/sun/jms/util/jms.properties due to exception
java.lang.NullPointerException
java.lang.NullPointerException
at java.util.Hashtable.put(Hashtable.java:389)
at com.sun.jms.JMSInitialContext.(JMSInitialContext.java:70)
at
com.sun.jms.client.InitialClientContext.(InitialClientContext.java:55)
at
com.sun.jms.client.InitialClientContext.getInstance(InitialClientContext.jav
a:75)
at
com.sun.jms.ConnectionFactoryImpl.createConnection(ConnectionFactoryImpl.jav
a:261)
at
com.sun.jms.QueueConnectionFactoryImpl.createQueueConnection(QueueConnection
FactoryImpl.java:77)
at
com.sun.enterprise.jms.ConnectionFactoryWrapperStandalone.createQueueConnect
ion(ConnectionFactoryWrapperStandalone.java:50)
at QueueReceiverTest.(QueueReceiverTest.java:52)
at QueueReceiverTest.main(QueueReceiverTest.java:180)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.sun.javaws.Launcher.executeApplication(Unknown Source)
at com.sun.javaws.Launcher.executeMainClass(Unknown Source)
at com.sun.javaws.Launcher.continueLaunch(Unknown Source)
at com.sun.javaws.Launcher.handleApplicationDesc(Unknown Source)
at com.sun.javaws.Launcher.handleLaunchFile(Unknown Source)
at com.sun.javaws.Launcher.run(Unknown Source)
at java.lang.Thread.run(Thread.java:536)
This is a question for Sun.
Regards,
Adrian