[JBoss-user] [Messaging, JMS JBossMQ] - Re: Applet as JMS Client
edmond wrote : In order to call InitialContext(), what information should be supplied with Context.INITIAL_CONTEXT_FACTORY? The code fragment is as fllow. | Hashtable env = new Hashtable(); | env.put(Context.INITIAL_CONTEXT_FACTORY, org.jnp.interfaces.NamingContextFactory ); | env.put(Context.PROVIDER_URL, hostName); | env.put(Context.APPLET,this); | Context context = new InitialContext(env); | | But get error as can not instantiate the class:: org.jnp.interfaces.NamingContextFactory [Root exception is java.lang.ClassNotFoundException: org/jnp/interfaces/NamingContextFactory ] | I have catched the problem. It is the white space at the end of string org.jnp.interfaces.NamingContextFactory!! View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3855298#3855298 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3855298 --- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS JBossMQ] - Re: Applet as JMS Client
You will need jbossall-client.jar not jboss-j2ee.jar. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3854763#3854763 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3854763 --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588alloc_id=12065op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS JBossMQ] - Re: Applet as JMS Client
I tried jbossall-client.jar, but the error message was the same. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3854772#3854772 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3854772 --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588alloc_id=12065op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS JBossMQ] - Re: Applet as JMS Client
darranl wrote : | Have you put the jbossall-client.jar in the same folder as the jar for your applet? | Yes. darranl wrote : | Also you may need to sign the jar for your applet and jbossall-client.jar. I have tried according to your advise. However, the result was the same. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3854791#3854791 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3854791 --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588alloc_id=12065op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user