2 Replies Latest reply on Jan 19, 2015 3:07 AM by Sohil Mahajan

    Jboss AS 7.1.1 Final : Stackoverflow on deployment of EAR

    Sohil Mahajan Newbie

      Hi All,

       

      I am deploying my application on JBOSS AS 7.1.1 Final. There are multiple EJBs packaged in my EAR.

       

      I get the below error when I deploy my ear. Can anyone suggest what can be the cause

       

       

      at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]

        at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]

        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_71]

        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_71]

        at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_71]

      Caused by: java.lang.StackOverflowError

        at java.lang.Class.privateGetDeclaredConstructors(Class.java:2576) [rt.jar:1.7.0_71]

        at java.lang.Class.getConstructor0(Class.java:2885) [rt.jar:1.7.0_71]

        at java.lang.Class.getDeclaredConstructor(Class.java:2058) [rt.jar:1.7.0_71]

        at org.apache.cxf.jaxb.JAXBUtils.getValidClass(JAXBUtils.java:517)

        at org.apache.cxf.jaxb.JAXBContextInitializer.addClass(JAXBContextInitializer.java:270)

        at org.apache.cxf.jaxb.JAXBContextInitializer.addType(JAXBContextInitializer.java:218)

        at org.apache.cxf.jaxb.JAXBContextInitializer.addType(JAXBContextInitializer.java:211)

        at org.apache.cxf.jaxb.JAXBContextInitializer.addType(JAXBContextInitializer.java:221)

        at org.apache.cxf.jaxb.JAXBContextInitializer.addType(JAXBContextInitializer.java:211)

        at org.apache.cxf.jaxb.JAXBContextInitializer.addType(JAXBContextInitializer.java:256)

        at org.apache.cxf.jaxb.JAXBContextInitializer.addType(JAXBContextInitializer.java:211)

        at org.apache.cxf.jaxb.JAXBContextInitializer.addType(JAXBContextInitializer.java:223)

        at org.apache.cxf.jaxb.JAXBContextInitializer.addType(JAXBContextInitializer.java:211)

        at org.apache.cxf.jaxb.JAXBContextInitializer.addType(JAXBContextInitializer.java:256)

        at org.apache.cxf.jaxb.JAXBContextInitializer.addType(JAXBContextInitializer.java:211)

        at org.apache.cxf.jaxb.JAXBContextInitializer.addType(JAXBContextInitializer.java:223)

        at org.apache.cxf.jaxb.JAXBContextInitializer.addType(JAXBContextInitializer.java:211)

        at org.apache.cxf.jaxb.JAXBContextInitializer.addType(JAXBContextInitializer.java:256)

        at org.apache.cxf.jaxb.JAXBContextInitializer.addType(JAXBContextInitializer.java:211)

        at org.apache.cxf.jaxb.JAXBContextInitializer.addType(JAXBContextInitializer.java:223)

        at org.apache.cxf.jaxb.JAXBContextInitializer.addType(JAXBContextInitializer.java:211)

        at org.apache.cxf.jaxb.JAXBContextInitializer.addType(JAXBContextInitializer.java:256)

        at org.apache.cxf.jaxb.JAXBContextInitializer.addType(JAXBContextInitializer.java:211)

        at org.apache.cxf.jaxb.JAXBContextInitializer.addType(JAXBContextInitializer.java:223)

        at org.apache.cxf.jaxb.JAXBContextInitializer.addType(JAXBContextInitializer.java:211)

        at org.apache.cxf.jaxb.JAXBContextInitializer.addType(JAXBContextInitializer.java:256)

        at org.apache.cxf.jaxb.JAXBContextInitializer.addType(JAXBContextInitializer.java:211)

        at org.apache.cxf.jaxb.JAXBContextInitializer.addType(JAXBContextInitializer.java:223)

        at org.apache.cxf.jaxb.JAXBContextInitializer.addType(JAXBContextInitializer.java:211)

        at org.apache.cxf.jaxb.JAXBContextInitializer.addType(JAXBContextInitializer.java:256)

        at org.apache.cxf.jaxb.JAXBContextInitializer.addType(JAXBContextInitializer.java:211)

        at org.apache.cxf.jaxb.JAXBContextInitializer.addType(JAXBContextInitializer.java:223)

        at org.apache.cxf.jaxb.JAXBContextInitializer.addType(JAXBContextInitializer.java:211)