Hi, I am not sure if anyone encountered this problem or it is just me.
It seems that I cannot deploy appfuse to jboss 4.2.2 because of a conflicts between the server hibernate jars and the one in the app war. I have to change the dependency of hibernate related packages to 'provided' in order to get pass this error. Then I encountered another problem, NoClassException about ehcache in the sessionFactory class, even though ehcache-1.3.0.jar is in the deployed app/WEB-INF/lib. So it seems that spring get it through hibernate which is the server version which cannot see the app/WEB-INF/lib path. I have to move this file to the server/lib. after this two changes, I can run it without any problem. This is on Windows platform. comments ? as if the above is true, I would have another general question about what to deploy in the WAR. Since this jar conflicts is not new to me. As I once replace the myface implementation with sun's RI and deployed to glassfish which also failed because of incompatible version(again had to remove it from the WAR), or another case I deploy to tomcat 5.5 which don't have el-api. In other words, it seems that there needs to be a lot more profiles as each class of container provide different features which can easily conflicts with the 'include everything in the WAR' approach, and the built WAR has to be very container specific, something like myapp-jboss-4.2.war etc. -- View this message in context: http://www.nabble.com/appfuse-2.x-on-jboss-4.2.2GA-tp14628716s2369p14628716.html Sent from the AppFuse - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
