Thanks Jaikiran for replying,
This is my stack trace :
07:44:40,501 INFO [org.jboss.as.server.controller] (DeploymentScanner-threads - 2) Deployment of "Aurora_android1.war" was rolled back with failure message {"Failed services" => {"jboss.deployment.unit.\"Aurora_android1.war\".STRUCTURE" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"Aurora_android1.war\".STRUCTURE: Failed to process phase STRUCTURE of deployment \"Aurora_android1.war\""}}
07:44:40,502 INFO [org.jboss.as.server.deployment] (MSC service
thread 1-4) Stopped deployment Aurora_android1.war in 0ms
07:44:40,504 ERROR [org.jboss.as.deployment] (DeploymentScanner-threads - 1) {"Composite operation failed and was rolled back. Steps that failed:" => {"Operation step-2" => {"Failed services" => {"jboss.deployment.unit.\"Aurora_android1.war\".STRUCTURE" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"Aurora_android1.war\".STRUCTURE: Failed to process phase STRUCTURE of deployment \"Aurora_android1.war\""}}}}
07:46:05,618 INFO [org.jboss.as.server.deployment] (MSC service thread 1-3) Starting deployment of "Aurora_android1.war"
07:46:05,786 INFO [org.jboss.as.jpa] (MSC service thread 1-3) added javax.persistence.api dependency to Aurora_android1.war
07:46:06,000 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-3) MSC00001: Failed to start service jboss.deployment.unit."Aurora_android1.war".INSTALL: org.jboss.msc.service.StartException in service
jboss.deployment.unit."Aurora_android1.war".INSTALL: Failed to process phase INSTALL of deployment "Aurora_android1.war"
at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:121)
at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1824)
at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1759)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885) [:1.6.0]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907) [:1.6.0]
at java.lang.Thread.run(Thread.java:619) [:1.6.0]
Caused by:
java.lang.RuntimeException: Error getting reflective information for class com.aurora_android1.TestServlet
at org.jboss.as.server.deployment.reflect.DeploymentReflectionIndex.getClassIndex(DeploymentReflectionIndex.java:70)
at org.jboss.as.ee.component.EEModuleClassDescription$DefaultConfigurator.configure(EEModuleClassDescription.java:176)
at org.jboss.as.ee.component.deployers.EEClassConfigurationProcessor$1.compute(EEClassConfigurationProcessor.java:147)
at org.jboss.as.ee.component.deployers.EEClassConfigurationProcessor$1.compute(EEClassConfigurationProcessor.java:122)
at org.jboss.as.ee.component.LazyValue.get(LazyValue.java:40)
at org.jboss.as.ee.component.EEApplicationDescription.getClassConfiguration(EEApplicationDescription.java:183)
at org.jboss.as.ee.component.ComponentDescription.createConfiguration(ComponentDescription.java:153)
at org.jboss.as.ee.component.deployers.EEModuleConfigurationProcessor.deploy(EEModuleConfigurationProcessor.java:70)
at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:115)
... 5 more
Caused by:
java.lang.NoClassDefFoundError: Lde/laliluna/library/BookTestBeanLocal; (This is the class file whose function i am trying to call...from aurora_android1.TestServlet)
at java.lang.Class.getDeclaredFields0(Native Method) [:1.6.0]
at java.lang.Class.privateGetDeclaredFields(Class.java:2291) [:1.6.0]
at java.lang.Class.getDeclaredFields(Class.java:1743) [:1.6.0]
at org.jboss.as.server.deployment.reflect.ClassReflectionIndex.<init>(ClassReflectionIndex.java:57)
at org.jboss.as.server.deployment.reflect.DeploymentReflectionIndex.getClassIndex(DeploymentReflectionIndex.java:66)
... 13 more
07:46:06,210 INFO [org.jboss.as.server.controller] (DeploymentScanner-threads - 2) Deployment of "Aurora_android1.war" was rolled back with failure message {"Failed services" => {"jboss.deployment.unit.\"Aurora_android1.war\".INSTALL" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"Aurora_android1.war\".INSTALL: Failed to process phase INSTALL of deployment \"Aurora_android1.war\""},"Services with missing/unavailable dependencies" => ["jboss.naming.context.java.module.Aurora_android1.Aurora_android1.ValidatorFactory missing [ jboss.naming.context.java.module.Aurora_android1.Aurora_android1 ]","jboss.naming.context.java.module.Aurora_android1.Aurora_android1.Validator missing [ jboss.naming.context.java.module.Aurora_android1.Aurora_android1 ]"]}
07:46:06,235 INFO [org.jboss.as.server.deployment] (MSC service thread 1-1) Stopped deployment Aurora_android1.war in 25ms
07:46:06,238 ERROR [org.jboss.as.deployment] (DeploymentScanner-threads - 1) {"Composite operation failed and was rolled back. Steps that failed:" => {"Operation step-2" => {"Failed services" => {"jboss.deployment.unit.\"Aurora_android1.war\".INSTALL" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"Aurora_android1.war\".INSTALL: Failed to process phase INSTALL of deployment \"Aurora_android1.war\""},"Services with missing/unavailable dependencies" => ["jboss.naming.context.java.module.Aurora_android1.Aurora_android1.ValidatorFactory missing [ jboss.naming.context.java.module.Aurora_android1.Aurora_android1 ]","jboss.naming.context.java.module.Aurora_android1.Aurora_android1.Validator missing [ jboss.naming.context.java.module.Aurora_android1.Aurora_android1 ]"]}}}
The war file basically contains a
servlet which contains a post method - that calls a
function(Test) that is defined in the the class of the ejb-jar file.
This thing basically i am trying to check the user name password thats it.
I have successfully deployed the ejb-jar file in
standalone/deployment/
and i am trying to deploy the war file at the same place.
I have also included the jar file in the
buildpath of the war file.