-
1. Re: JBoss AS 7.1.1 - EJB Deployement - NoClassDefFound
suril31js Sep 10, 2012 8:16 AM (in response to suril31js)Sorry for the desperation but its really important............please reply...........thanks..!!!
Suril
-
2. Re: JBoss AS 7.1.1 - EJB Deployement - NoClassDefFound
jaikiran Sep 11, 2012 8:47 AM (in response to suril31js)Suril Sarvaiya wrote:
Exception in thread "main" java.lang.NoClassDefFoundError: test/Client
Caused by: java.lang.ClassNotFoundException: test.Client
The command which shows this error is :
java -cp JBOSS_HOME/bin/client/jboss-client.jar:. test.Client ejb:/client-ejb//Clst.ClientIF
Can someone guide me with what the issue is?
This isn't really a JBoss issue but instead a Java question. So you did the right thing by asking it in the Java forums http://www.coderanch.com/t/592115/java/java/Explanation-java-cp-command
-
3. Re: JBoss AS 7.1.1 - EJB Deployement - NoClassDefFound
suril31js Sep 11, 2012 9:50 AM (in response to jaikiran)yeahh...
thanks anyways for the reply..........
can i ask one question?
if i want to deploy EJB 2.0 in JBoss as 7.1.1 , do i need to write jboss-ejb3.xml?
-
4. Re: JBoss AS 7.1.1 - EJB Deployement - NoClassDefFound
jaikiran Sep 12, 2012 2:55 AM (in response to suril31js)Suril Sarvaiya wrote:
if i want to deploy EJB 2.0 in JBoss as 7.1.1 , do i need to write jboss-ejb3.xml?
You'll need it only if you have JBoss specific configurations to make. So it depends on the application.
-
5. Re: JBoss AS 7.1.1 - EJB Deployement - NoClassDefFound
suril31js Sep 12, 2012 3:28 AM (in response to jaikiran)Hi Jaikiran,
Thanks for the reply......
I am sorry but I didn't understand it properly.
My application is an EJB 2.0 jar which used to run on Weblogic server but now I need to migrate it to JBoss AS 7.1.1
Weblogic had an weblogic-ejb-jar.xml in which the ejb name and jndi references were mentioned.
What do i need to do if I want to run it on 7.1.1?
Can you provide some links or anythin would be of great help?
Thanks