Hi.
I try to run an applet that communicates with spyderMQ.
(windows 2000 , IE5)
I try to create jndi context like this :
Hashtable jndiProperties = new Hashtable();
jndiProperties.put("java.naming.factory.initial","org.jnp.interfaces.NamingC
ontextFactory");
jndiProperties.put("java.naming.provider.url","100.100.100.5:1099");
// the machine jboss runs on
jndiProperties.put("java.naming.factory.url.pkgs","org.jboss.naming");
javax.naming.Context ctx = new
javax.naming.InitialContext(jndiProperties);
and have archive="testJMSApplet.jar,jndi.jar,jnp-client.jar,jms.jar" in the
applet tag
It doesnt initialize since (from IE's java.log) :
java.lang.ExceptionInInitializerError: java/lang/ClassNotFoundException
at org/jnp/interfaces/NamingContextFactory.getInitialContext
at javax/naming/spi/NamingManager.getInitialContext
at javax/naming/InitialContext.getDefaultInitCtx
at javax/naming/InitialContext.init
at javax/naming/InitialContext.<init>
at package1/Applet1.start
at com/ms/applet/AppletPanel.securedCall0
at com/ms/applet/AppletPanel.securedCall
at com/ms/applet/AppletPanel.processSentEvent
at com/ms/applet/AppletPanel.run
at java/lang/Thread.run
which class am I missing ?
Shahar.
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
List Help?: [EMAIL PROTECTED]