-
1. Re: Deployment Order in Jboss
jaikiran Dec 30, 2005 6:51 AM (in response to shashikumar)NoClassDefFoundError indicates that the class(es) that com/liferay/portal/SystemException is referring(may be through import statements or some other means) are NOT found in the classpath
-
2. Re: Deployment Order in Jboss
shashikumar Dec 30, 2005 7:07 AM (in response to shashikumar)yes man what u said is correct i have declared the related jar file in the classpath in the run.bat file.
Then also same error.... -
3. Re: Deployment Order in Jboss
galderz Dec 30, 2005 7:50 AM (in response to shashikumar)have you tried including both ejb jar files inside an ear file? You could reference both ejb jar files inside the application.xml descriptor. This would guarantee that classes from both ejb-jar files are loaded when the ear deployed and so avoid class loading problems.
hope this helps :-D -
4. Re: Deployment Order in Jboss
shashikumar Dec 30, 2005 9:32 AM (in response to shashikumar)Yes, both the ejb jar files are inside the ear file only.
In the application.xml both the ejb jar files are declared already.
In the manifest also it is declared bu till same problem...... -
5. Re: Deployment Order in Jboss
phon Jan 5, 2006 7:44 AM (in response to shashikumar)i'm experiencing the same problem:
i have one .ejb3 file in an .ear file and i get the same error on deployment.
on deployment when when jboss tries to start a session bean service inside the .ejb3 , it doesn't find an (entity) class that's inside the SAME .ejb3 file
this is a fresh jboss (4.0.3RC2) install. the same .ear file works on another existing installation of jboss (also 4.0.3RC2).
anyone has any ideas ? i've been struggling all day with this problem ... -
6. Re: Deployment Order in Jboss
dimitris Jan 5, 2006 8:21 AM (in response to shashikumar)See also http://wiki.jboss.org/wiki/Wiki.jsp?page=MainDeployerEnhancedSuffixOrder
Since 4.0.1 it can be controlled through conf/xmdesc/org.jboss.deployment.MainDeployer-xmbean
enhancedSuffixOrder attribute -
7. Re: Deployment Order in Jboss
phon Jan 5, 2006 8:41 AM (in response to shashikumar)i only have 1 .ejb3 file to deploy, so i don't see how changing the order of deployment would help me..
both classes are in the same ejb3 file, but the can't find eachother, and i really really don't know why -
8. Re: Deployment Order in Jboss
phon Jan 5, 2006 9:49 AM (in response to shashikumar)problem solved : it appeared that a superclass (which was in an external jar file) wasn't found.. pretty hard to find out really , placing the jar in lib fixed it