[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Applet as JMS Client

2004-11-15 Thread edmond
"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=bb&op=viewtopic&p=3855298#3855298

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=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

2004-11-11 Thread edmond
"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=bb&op=viewtopic&p=3854791#3854791

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=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=5588&alloc_id=12065&op=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

2004-11-11 Thread edmond
I tried jbossall-client.jar, but the error message was the same.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3854772#3854772

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=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=5588&alloc_id=12065&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Applet as JMS Client

2004-11-11 Thread edmond
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 ]"

And what should be included in the HTML's ARCHIVE parameter besides 
"jboss-j2ee.jar?"

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3854754#3854754

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3854754


---
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=5588&alloc_id=12065&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user