I've removed the modules for el-api, el-ri and jboss-seam from the ear's
application.xml, and instead listed the jar-dependencies in the ejb's and web's
META-INF/MANIFEST.MF like this:
Class-Path: lib/jboss-seam-1.2.1.jar lib/el-api-1.2.1.jar lib/el-ri-1.2.1.jar
It works! Thanks.
However,
It's very possible that this is something I would and should know if I read up
on ear-packaging, but if anyone has the courtesy to answer I'd be happy :)
Why is it necessary to reference the jboss-seam.jar, el-api.jar and el-ri.jar
in the application.xml of your seam ear application?
(For
You need to list the dependency either in application.xml (which is not
really correct, because the JARs are not really Java Client Modules) or in
web.war/META-INF/MANIFEST.MF and beans.jar/META-INF/MANIFEST.MF as a Classpath:
entry. Most Seam examples use the first strategy.
View the original
Do the Seam examples run OK for you?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3988269#3988269
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3988269
___
jboss-user mailing
I checked the code. The EL is only used directly when not in the context of a
FacesContext. So it is needed during session destruction. Really this
dependency needs to be documented.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3988270#3988270
Reply to the
Seam 1.1 has a dependency to el-api and el-impl jars, which 1.0.1 did not have.
Are you sure you have included those in your ear?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3987989#3987989
Reply to the post :
Jip.
In my WAR:
| WEB-INF/lib/el-api.jar
| WEB-INF/lib/el-ri.jar
|
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3988059#3988059
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3988059
You need to add in your application.xml:
| module
| javael-api.jar/java
| /module
| module
| javael-ri.jar/java
| /module
|
And your ear file must contains these 2 jars along with your jboss-seam.jar
I hope it helps.
Richard
View the original