We run into issue related to the <jar-file> setting in persistent.xml when we 
deploy it in jboss server  5.1.0.GA.  It is not a issue when we deploy it in 
jboss 4.2.2.GA.

Here is the detail.  We need to include some other entities from different jar 
file.  What we do is to include it using <jar-file>, like the following:


  | <jar-file>../lib/another.jar</jar-file>
  | 

The another.jar is located at the following expended ear folder:


  | /lib/another.jar
  | myejb.jar
  | ....
  | 

This configuration is standard configuration documented in ejb 3.0 
specification.  It works in jboss 4.2.2.GA.

However, when we deployed it in jboss 5.1.0.GA.  It failed on deployment with 
the following error message:  can not find the another.jar file in the 
classpath.

We need to know what is the correct way to configure persistent.xml if we want 
to include other entities from different jar file in JBOSS 5.1.0.GA.

Please help.  Thanks.

Louie Liu

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4247355#4247355

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4247355
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to