RE: [JBoss-user] running the EJB client in the jboss EJB tutorial
Thanks Aaron, That really worked and I got the output. Thanks again. Anand. -Original Message- From: Aaron Metzger [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 03, 2001 12:26 PM To: [EMAIL PROTECTED] Subject: Re: [JBoss-user] running the EJB client in the jboss EJB tutorial Add jbosssx-client.jar to the client's classpath. anand wrote: > > Hi all, > > I am new to jboss and want to learn EJB through jboss. I was trying to > follow the 7 step tutorial (using the interest example) given and was > successful in deploying the EJB in jboss. But I am having problems in > running the client(InterestClient). > > I was able to successfully compile the InterestClient.java without any > error. But when I try to run it is giving the following error while I > run it. > > Got context > Got reference > Exception in thread "main" java.lang.NoClassDefFoundError: > org/jboss/security/SecurityAssociation > at > org.jboss.ejb.plugins.jrmp.interfaces.GenericProxy.getPrincipal(GenericP > roxy.java:184) > at > org.jboss.ejb.plugins.jrmp.interfaces.HomeProxy.invoke(HomeProxy.java:23 > 1) > at $Proxy0.create(Unknown Source) > at InterestClient.main(InterestClient.java:49) > -- Aaron Metzger ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] running the EJB client in the jboss EJB tutorial
It's a classpath problem. Read the instructions again with particular attention to the JAR files that have to be accessible to the client. I don't remember exactly which ones are required but I had this problem and it's just the classpath. - Original Message - I was able to successfully compile the InterestClient.java without any error. But when I try to run it is giving the following error while I run it. Got context Got reference Exception in thread "main" java.lang.NoClassDefFoundError: org/jboss/security/SecurityAssociation ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] running the EJB client in the jboss EJB tutorial
Add jbosssx-client.jar to the client's classpath. anand wrote: > > Hi all, > > I am new to jboss and want to learn EJB through jboss. I was trying to > follow the 7 step tutorial (using the interest example) given and was > successful in deploying the EJB in jboss. But I am having problems in > running the client(InterestClient). > > I was able to successfully compile the InterestClient.java without any > error. But when I try to run it is giving the following error while I > run it. > > Got context > Got reference > Exception in thread "main" java.lang.NoClassDefFoundError: > org/jboss/security/SecurityAssociation > at > org.jboss.ejb.plugins.jrmp.interfaces.GenericProxy.getPrincipal(GenericP > roxy.java:184) > at > org.jboss.ejb.plugins.jrmp.interfaces.HomeProxy.invoke(HomeProxy.java:23 > 1) > at $Proxy0.create(Unknown Source) > at InterestClient.main(InterestClient.java:49) > -- Aaron Metzger ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] running the EJB client in the jboss EJB tutorial
Hi all, I am new to jboss and want to learn EJB through jboss. I was trying to follow the 7 step tutorial (using the interest example) given and was successful in deploying the EJB in jboss. But I am having problems in running the client(InterestClient). I was able to successfully compile the InterestClient.java without any error. But when I try to run it is giving the following error while I run it. Got context Got reference Exception in thread "main" java.lang.NoClassDefFoundError: org/jboss/security/SecurityAssociation at org.jboss.ejb.plugins.jrmp.interfaces.GenericProxy.getPrincipal(GenericP roxy.java:184) at org.jboss.ejb.plugins.jrmp.interfaces.HomeProxy.invoke(HomeProxy.java:23 1) at $Proxy0.create(Unknown Source) at InterestClient.main(InterestClient.java:49) Can someone help me to get rid of this error and how I can run the client correctly. The line 49 where the error is flagged contains this line "Interest interest = home.create();" Thanks, Anand. ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user