[jboss-user] [JBoss Seam] - Re: Strange behavior of jar file loading

2007-08-13 Thread pierospinelli
Just a question: does anyone experimented any problems with class loading from applications jars (event not concerning the custom tags), maybe coused by the order on component initialization? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4073466#4073466 Reply

[jboss-user] [JBoss Seam] - Re: Strange behavior of jar file loading

2007-08-13 Thread [EMAIL PROTECTED]
OOps, I thought I posted back on this... You've got your JsfEcoLibrary on the ear classloader and facelets on the war classloader. This is incorrect - all view related classes should go on the war classloader. Alter your build so that JsfEcoLibrary and related classes are put into

[jboss-user] [JBoss Seam] - Re: Strange behavior of jar file loading

2007-08-13 Thread pierospinelli
Many Thanks for your reply, Pete. Just to be sure I've understood: - I created a project named schedule with seam-gen - I loaded the project in JBossIDE - I created my classes and tag libs under the source folders of the project. Now, I deployed for test using the explode tag of the build.xml

[jboss-user] [JBoss Seam] - Re: Strange behavior of jar file loading

2007-08-13 Thread marcopan
I had more or less the same problem in my application. I needed some not standard jars that must be available in the backing beans and I did not find a place where to put them in order to have them correctly deployed by the standard build.xml. After many tries, I put them manually in the

[jboss-user] [JBoss Seam] - Re: Strange behavior of jar file loading

2007-08-13 Thread [EMAIL PROTECTED]
pierospinelli wrote : | So, when you say: | anonymous wrote : Alter your build so that JsfEcoLibrary and related classes are put into WEB-INF/classes in your build war/ear. | | do you mean I have to change the standard build.xml so that the explode operation creates the scheduler.jar

[jboss-user] [JBoss Seam] - Re: Strange behavior of jar file loading

2007-08-13 Thread pierospinelli
Ok, I modified the build.xml it works now. Many thanks, pete. Since I'm a bit confused about the sequence the relationships among the classloaders used in a JBoss EE application (server, ear, war, ...), I will try to scan the JBoss (or maybe the J2EE) docs about this. Is anyone able to

[jboss-user] [JBoss Seam] - Re: Strange behavior of jar file loading

2007-08-11 Thread [EMAIL PROTECTED]
Which class ;) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4073271#4073271 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4073271 ___ jboss-user mailing list

[jboss-user] [JBoss Seam] - Re: Strange behavior of jar file loading

2007-08-11 Thread pierospinelli
Sorry, actually I was very generic: I am using a custom tag-library (working on previous seam version). I had the error during home page loading: I checked the class com/sun/facelets/tag/AbstractTagLibrary is present in jsf-facelets.jar unde WEB-INF/lib. This is the lib code and stack trace

[jboss-user] [JBoss Seam] - Re: Strange behavior of jar file loading

2007-08-11 Thread [EMAIL PROTECTED]
Where have you placed JsfEcoLibrary? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4073275#4073275 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4073275 ___ jboss-user mailing

[jboss-user] [JBoss Seam] - Re: Strange behavior of jar file loading

2007-08-11 Thread pierospinelli
The project was originally generated by seam-gen and it is deployed using JBoss-IDE 2.0B. When I run build.xml/explode it deploys JsfEcoLibrary under /deploy/myApplication.ear/myApplication.jar/WEB-INF/lib with all the other jars. View the original post :

[jboss-user] [JBoss Seam] - Re: Strange behavior of jar file loading

2007-08-11 Thread pierospinelli
Sorry, I made a mistake, the deploy dir is, of course, : deploy/myApplication.ear/myApplication.war/WEB-INF/lib View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4073277#4073277 Reply to the post :

[jboss-user] [JBoss Seam] - Re: Strange behavior of jar file loading

2007-08-11 Thread [EMAIL PROTECTED]
Sorry, I'm confused as to your structure. Can you do an ls -R on your war and ear and post? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4073286#4073286 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4073286

[jboss-user] [JBoss Seam] - Re: Strange behavior of jar file loading

2007-08-11 Thread pierospinelli
So, just to summarize, the canonical deploy (in the war file) does not work. Instead it works if the libs are manually moved directly under the dir lib of the ear file. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4073283#4073283 Reply to the post :

[jboss-user] [JBoss Seam] - Re: Strange behavior of jar file loading

2007-08-11 Thread pierospinelli
OK. This is the tree created by build.xml explode tag : it gets the exception I reported previously: C:\JBOSS\JBOSS-4.2.1.GA\SERVER\DEFAULT\DEPLOY\SCHEDULER.EAR | | antlr-2.7.6.jar | | antlr-|.0b7.jar | | drools-compiler-4.0.0.MR2.jar | | drools-core-4.0.0.MR2.jar | |