Hi Sohil,
I ended up with another problem. I have JB AS 4.0.5_GA and JBoss Portal 2.4 on
top of it. I have pebble.war which contains WEB-INF/lib/spring-dao-1.2.8.jar
which contains TransactionAspectSupport.class. I have alfresco.war which
contains WEB-INF/lib/spring.jar which also contains
TransactionAspectSupport.class.
First I had, UseJBossWebLoader=false and Java2ClassLoadingCompliance=false, but
then while deploying pebble.war it gave following exception:
java.lang.NoClassDefFoundError:
net/sourceforge/pebble/web/action/ActionNotFoundException
java.lang.Class.getDeclaredConstructors0(Native Method)
java.lang.Class.privateGetDeclaredConstructors(Class.java:2328)
java.lang.Class.getConstructor0(Class.java:2640)
java.lang.Class.newInstance0(Class.java:321)
Then in changed UseJBossWebLoader=true. Result: pebble.war got deployed
successfully but deployment of alfresco.war threw exceptions:
java.lang.NoSuchMethodError:
org.alfresco.util.transaction.SpringAwareUserTransaction.doFinally(Lorg/springframework/transaction/interceptor/TransactionAspectSupport$TransactionInfo;)V
at
org.alfresco.util.transaction.SpringAwareUserTransaction.commit(SpringAwareUserTransaction.java:420)
at
org.alfresco.repo.transaction.TransactionUtil.executeInTransaction(TransactionUtil.java:186)
Please note that I dont have any spring related jars in
JBOSS_HOME/server/default/lib
Thanks & Regards,
Advait Trivedi
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4056537#4056537
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4056537
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user