-
1. Re: Where do the seam jars go in jboss?
christian.bauer Apr 7, 2007 11:24 AM (in response to jcranwellward)
I also have the "jboss-seam.jar" and "jboss-seam-ui.jar"in the /default/lib directory of the server.
Remove those. And use a clean JBoss install with a clean seam-gen generated application skeleton from which you can see where everything goes. These generated skeletons are self-contained applications. -
2. Re: Where do the seam jars go in jboss?
dajevtic Apr 10, 2007 4:20 AM (in response to jcranwellward)Alternatively you can place all required jars like myfaces, trinidad, seam, ajax4jsf, richfaces, etc. into the jsf-libs folder of jboss-deploy/jbossweb-tomcat55.sar/jsf-libs dir.
It keeps you EAR file small in case you deploy to a remote server with small upload bandwidth.
I prefer this approach as I don't get ClassCastExceptions etc. when redeploying multiple times. -
3. Re: Where do the seam jars go in jboss?
pmuir Apr 10, 2007 5:40 AM (in response to jcranwellward)No, don't put the seam jars in jsf-libs - you'll see problems if you try to deploy more than one seam app to the server
-
4. Re: Where do the seam jars go in jboss?
jcranwellward Apr 10, 2007 6:25 PM (in response to jcranwellward)At the moment I have the main jboss-seam.jar in the root of my .ear along with some other jars that are needed for a java library im using. All the jars that are needed in the web layer are in WEB-INF/lib:
jboss-seam-ui.jar,
ajax4jsf.jar,
jsf-facelets.jar
el-*.jar,
jstl-1.1.0.jar,
jboss-seam.debug.jar
jbpm-3.1.4.jar
I have also listed the following jars in my application.xml
jboss-seam.jar
el-api.jar
el-ri.jar
jbpm-3.1.4.jar
I think the setup ive got eliminates the need for any jars to already exist in my jboss install, and i have only included the jars I need.
Is this right? -
5. Re: Where do the seam jars go in jboss?
christian.bauer Apr 11, 2007 1:37 AM (in response to jcranwellward)You can verify this by using seam-gen to generate a skeleton structure and then comparing the generated EAR to yours.