[JBoss-user] [Beginners Corner] - Re: How to run a stand alone application client

2006-01-31 Thread poyge394
You dont nead to deploy the client on the server. you just do a lookup on the JNDI server for finding your bean. you nead to have one jndi.propeties file in your classpath. sample jndi.properties | java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory | java.naming.provider.ur

[JBoss-user] [Beginners Corner] - Re: How to run a stand alone application client

2006-02-01 Thread Ayusman
Use a simple java class that can look up the JNDI name you have given. Once the lookup is successfull you can access the application. The stand alone java application need not be on the same server. java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory java.naming.provider.url=jnp:

[JBoss-user] [Beginners Corner] - Re: How to run a stand alone application client

2006-02-01 Thread shaiwolf
Hi, Thank you all for the replies. It really was the missing link in the code. Cheers, Shai :) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3920976#3920976 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3920976 --

[JBoss-user] [Beginners Corner] - Re: How to run a stand alone application client

2006-02-28 Thread erbora00
Hi, I have an issue on this even though I included the properties code as suggested. I can get the InitialContext but when I lookup the ejb I get: javax.naming.CommunicationException [Root exception is java.lang.ClassNotFoundException: com.etc.etc.HomeInterface (no security manager: RMI class l

[JBoss-user] [Beginners Corner] - Re: How to run a stand alone application client

2006-02-28 Thread jaikiran
anonymous wrote : Root exception is java.lang.ClassNotFoundException: com.etc.etc.HomeInterface This class in not in the classpath. Put this class in the classpath View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3926757#3926757 Reply to the post : http://www.

[JBoss-user] [Beginners Corner] - Re: How to run a stand alone application client

2006-02-28 Thread erbora00
Ok that was as simple as that. I forgot to add the jar :) Thanks mate. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3926778#3926778 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3926778 -