Community

Error working wih EJB3, Struts2 & JBoss 4.2GA

reply from Wolfgang Knauf in EJB 3.0 - View the full discussion

Hi,

 

could you post the structure of your EAR and EJB jar files? Use "jar tvf jarfile.jar" to display the content.

 

I saw in the logfile that your classpath seems to be quite a mess ;-):

 

"C:\Program Files\Java\jdk1.6.0_03\bin;.;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\Program Files\Java\jdk1.6.0
_03\bin;C:\oraclexe\app\oracle\product\10.2.0\server\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\TortoiseSVN\bin;C:\Program Files\QuickTime\QTSystem\;C:\apache-ant-1.7.1\bin;E:\jboss-5.1.0.GA\bin;E:\Sun\SDK\bin;E:\Sun\SDK\bin"

 

I think JBoss requires higher java versions than 1.6.0_03, and you should clean up the PATH variable to point to a valid JDK. Also, did you make sure that you have the JBoss version which is for Java 1.6?

 

Best regards

 

Wolfgang

Reply to this message by going to Community

Start a new discussion in EJB 3.0 at Community