User development,
A new message was posted in the thread "Issue specifying the <jar-file>
in persistence.xml in JBOSS 5 on linux system":
http://community.jboss.org/message/519363#519363
Author : Dragos Bobes
Profile :
http://community.jboss.org/people/dbobes
Message:
--------------------------------------------------------------
After a lot of trial and error I discovered that it deploys without errors if I remove the
seam module from application.xml.
So in persistence.xml I have:
....
<jar-file>myapp.ear/myejbmodule.jar</jar-file>
...
In application.xml:
<?xml version="1.0" encoding="UTF-8"?>
<application
xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee/application_5.xsd"
version="5">
<display-name>myapp</display-name>
<module>
<web>
<web-uri>myapp.war</web-uri>
<context-root>/myapp</context-root>
</web>
</module>
<module>
<ejb>myejbmodule.jar</ejb>
</module>
<!-- Seam and EL
<module>
<ejb>jboss-seam.jar</ejb>
</module> -->
</application>
Has anyone else ran into this issue before? I uploaded two ear files, one with the seam
module defined that doesn't deploy on linux and the other one without the seam module
that deploys without any errors.The ear requires a dummy data source named
"jdbc/myappDS".
Thanks,
Dragos
--------------------------------------------------------------
To reply to this message visit the message page:
http://community.jboss.org/message/519363#519363