0 Replies Latest reply on Nov 17, 2016 5:45 AM by vibhuagwl

    Migration From Weblogic to Jboss Facing  java.lang.NoClassDefFoundError Please Find Ear file as attachment

    vibhuagwl

      Thu Nov 17 16:09:42 GMT+530 2016

      Unable to modify deployment.

       

      Unexpected HTTP response: 500  Request { "operation" => "deploy", "address" => [ ("server-group" => "main-server-group"), ("deployment" => "jee-example-app-1.0.0.ear") ] }  Response  Internal Server Error { "outcome" => "failed", "result" => undefined, "failure-description" => {"WFLYDC0074: Operation failed or was rolled back on all servers. Server failures:" => {"server-group" => {"main-server-group" => {"host" => {"master" => { "server-one" => { "WFLYCTL0080: Failed services" => {"jboss.deployment.subunit.\"jee-example-app-1.0.0.ear\".\"jee-example-services.jar\".POST_MODULE" => "org.jboss.msc.service.StartException in service jboss.deployment.subunit.\"jee-example-app-1.0.0.ear\".\"jee-example-services.jar\".POST_MODULE: WFLYSRV0153: Failed to process phase POST_MODULE of subdeployment \"jee-example-services.jar\" of deployment \"jee-example-app-1.0.0.ear\" Caused by: java.lang.NoClassDefFoundError: Failed to link com/acme/anvil/service/ItemLookupBean (Module \"deployment.jee-example-app-1.0.0.ear.jee-example-services.jar:main\" from Service Module Loader): weblogic/ejb/GenericSessionBean"}, "WFLYCTL0180: Services with missing/unavailable dependencies" => [ "jboss.deployment.subunit.\"jee-example-app-1.0.0.ear\".\"jee-example-web.war\".batch.environment is missing [jboss.deployment.subunit.\"jee-example-app-1.0.0.ear\".\"jee-example-web.war\".beanmanager]", "jboss.deployment.unit.\"jee-example-app-1.0.0.ear\".weld.weldClassIntrospector is missing [jboss.deployment.unit.\"jee-example-app-1.0.0.ear\".beanmanager]", "jboss.deployment.unit.\"jee-example-app-1.0.0.ear\".batch.environment is missing [jboss.deployment.unit.\"jee-example-app-1.0.0.ear\".beanmanager]" ] }, "server-two" => { "WFLYCTL0080: Failed services" => {"jboss.deployment.subunit.\"jee-example-app-1.0.0.ear\".\"jee-example-services.jar\".POST_MODULE" => "org.jboss.msc.service.StartException in service jboss.deployment.subunit.\"jee-example-app-1.0.0.ear\".\"jee-example-services.jar\".POST_MODULE: WFLYSRV0153: Failed to process phase POST_MODULE of subdeployment \"jee-example-services.jar\" of deployment \"jee-example-app-1.0.0.ear\" Caused by: java.lang.NoClassDefFoundError: Failed to link com/acme/anvil/service/ItemLookupBean (Module \"deployment.jee-example-app-1.0.0.ear.jee-example-services.jar:main\" from Service Module Loader): weblogic/ejb/GenericSessionBean"}, "WFLYCTL0180: Services with missing/unavailable dependencies" => [ "jboss.deployment.unit.\"jee-example-app-1.0.0.ear\".batch.environment is missing [jboss.deployment.unit.\"jee-example-app-1.0.0.ear\".beanmanager]", "jboss.deployment.subunit.\"jee-example-app-1.0.0.ear\".\"jee-example-web.war\".batch.environment is missing [jboss.deployment.subunit.\"jee-example-app-1.0.0.ear\".\"jee-example-web.war\".beanmanager]", "jboss.deployment.unit.\"jee-example-app-1.0.0.ear\".weld.weldClassIntrospector is missing [jboss.deployment.unit.\"jee-example-app-1.0.0.ear\".beanmanager]" ] } }}}}}}, "rolled-back" => true, "server-groups" => {"main-server-group" => {"host" => {"master" => { "server-one" => {"response" => { "outcome" => "failed", "failure-description" => { "WFLYCTL0080: Failed services" => {"jboss.deployment.subunit.\"jee-example-app-1.0.0.ear\".\"jee-example-services.jar\".POST_MODULE" => "org.jboss.msc.service.StartException in service jboss.deployment.subunit.\"jee-example-app-1.0.0.ear\".\"jee-example-services.jar\".POST_MODULE: WFLYSRV0153: Failed to process phase POST_MODULE of subdeployment \"jee-example-services.jar\" of deployment \"jee-example-app-1.0.0.ear\" Caused by: java.lang.NoClassDefFoundError: Failed to link com/acme/anvil/service/ItemLookupBean (Module \"deployment.jee-example-app-1.0.0.ear.jee-example-services.jar:main\" from Service Module Loader): weblogic/ejb/GenericSessionBean"}, "WFLYCTL0180: Services with missing/unavailable dependencies" => [ "jboss.deployment.subunit.\"jee-example-app-1.0.0.ear\".\"jee-example-web.war\".batch.environment is missing [jboss.deployment.subunit.\"jee-example-app-1.0.0.ear\".\"jee-example-web.war\".beanmanager]", "jboss.deployment.unit.\"jee-example-app-1.0.0.ear\".weld.weldClassIntrospector is missing [jboss.deployment.unit.\"jee-example-app-1.0.0.ear\".beanmanager]", "jboss.deployment.unit.\"jee-example-app-1.0.0.ear\".batch.environment is missing [jboss.deployment.unit.\"jee-example-app-1.0.0.ear\".beanmanager]" ] }, "rolled-back" => true }}, "server-two" => {"response" => { "outcome" => "failed", "failure-description" => { "WFLYCTL0080: Failed services" => {"jboss.deployment.subunit.\"jee-example-app-1.0.0.ear\".\"jee-example-services.jar\".POST_MODULE" => "org.jboss.msc.service.StartException in service jboss.deployment.subunit.\"jee-example-app-1.0.0.ear\".\"jee-example-services.jar\".POST_MODULE: WFLYSRV0153: Failed to process phase POST_MODULE of subdeployment \"jee-example-services.jar\" of deployment \"jee-example-app-1.0.0.ear\" Caused by: java.lang.NoClassDefFoundError: Failed to link com/acme/anvil/service/ItemLookupBean (Module \"deployment.jee-example-app-1.0.0.ear.jee-example-services.jar:main\" from Service Module Loader): weblogic/ejb/GenericSessionBean"}, "WFLYCTL0180: Services with missing/unavailable dependencies" => [ "jboss.deployment.unit.\"jee-example-app-1.0.0.ear\".batch.environment is missing [jboss.deployment.unit.\"jee-example-app-1.0.0.ear\".beanmanager]", "jboss.deployment.subunit.\"jee-example-app-1.0.0.ear\".\"jee-example-web.war\".batch.environment is missing [jboss.deployment.subunit.\"jee-example-app-1.0.0.ear\".\"jee-example-web.war\".beanmanager]", "jboss.deployment.unit.\"jee-example-app-1.0.0.ear\".weld.weldClassIntrospector is missing [jboss.deployment.unit.\"jee-example-app-1.0.0.ear\".beanmanager]" ] }, "rolled-back" => true }} }}}} }