Error deploying WAR file to Jboss EAP 6.0, which works under JBOSS AS 7.1

前端 未结 2 1628
逝去的感伤
逝去的感伤 2020-12-19 13:46

We are working on our new system which is built using Jboss, Spring and Hibernate and at the moment we\'re in the progress of migrating from AS 7.1 to EAP 6.0.

For r

相关标签:
2条回答
  • 2020-12-19 14:23

    Ensure that you are not using Spring Framework versions between 2.5 and 3.0.1. These are known to be incompatible with all versions of JBoss from 5.0 or so and newer;

    Use below command and let me know the the status.

    standalone.sh -Dorg.jboss.as.logging.per-deployment=false
    
    0 讨论(0)
  • 2020-12-19 14:24

    We faced similar issue, with JBoss AS 7.2.0 final and Spring 3.2.8. In our case we missed the setting of spring's active profile to point to Jboss7. Once we set this the context was resolved, deployment was successful.

    set "JAVA_OPTS=%JAVA_OPTS% -Dspring.profiles.active=jboss7
    

    Hope this helps.

    0 讨论(0)
提交回复
热议问题