JBOSS devStudio 7.0 GA web service implementation error
harshithbm2801 Sep 22, 2016 6:01 AMHi, I'm using JBoss developer studio 7.0 GA to run a web service project.
I'm not able to deploy it and generate a war file for the same. I'm using default server integrated with studio to run the project
Following is the message I'm getting in console:
15:21:02,327 INFO [org.jboss.modules] (main) JBoss Modules version 1.2.0.Final-redhat-1
15:21:02,743 INFO [org.jboss.msc] (main) JBoss MSC version 1.0.4.GA-redhat-1
15:21:02,813 INFO [org.jboss.as] (MSC service thread 1-7) JBAS015899: JBoss EAP 6.1.0.GA (AS 7.2.0.Final-redhat-8) starting
15:21:05,085 INFO [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) JBAS015003: Found RatabaseWS_LOB.war in deployment directory. To trigger deployment create a file called RatabaseWS_LOB.war.dodeploy
15:21:05,108 INFO [org.xnio] (MSC service thread 1-7) XNIO Version 3.0.7.GA-redhat-1
15:21:05,111 INFO [org.jboss.as.server] (Controller Boot Thread) JBAS015888: Creating http management service using socket-binding (management-http)
15:21:05,115 INFO [org.xnio.nio] (MSC service thread 1-7) XNIO NIO Implementation Version 3.0.7.GA-redhat-1
15:21:05,123 INFO [org.jboss.remoting] (MSC service thread 1-7) JBoss Remoting version 3.2.16.GA-redhat-1
15:21:05,321 INFO [org.jboss.as.security] (ServerService Thread Pool -- 42) JBAS013171: Activating Security Subsystem
15:21:05,329 INFO [org.jboss.as.webservices] (ServerService Thread Pool -- 46) JBAS015537: Activating WebServices Extension
15:21:05,338 INFO [org.jboss.as.security] (MSC service thread 1-2) JBAS013170: Current PicketBox version=4.0.17.Final-redhat-1
15:21:05,343 INFO [org.jboss.as.naming] (ServerService Thread Pool -- 37) JBAS011800: Activating Naming Subsystem
15:21:05,345 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 29) JBAS010280: Activating Infinispan subsystem.
15:21:05,390 INFO [org.jboss.as.jsf] (ServerService Thread Pool -- 35) JBAS012605: Activated the following JSF Implementations: [main, 1.2]
15:21:05,420 INFO [org.jboss.as.connector.subsystems.datasources] (ServerService Thread Pool -- 25) JBAS010403: Deploying JDBC-compliant driver class org.h2.Driver (version 1.3)
15:21:05,451 INFO [org.jboss.as.connector.logging] (MSC service thread 1-7) JBAS010408: Starting JCA Subsystem (IronJacamar 1.0.17.Final-redhat-1)
15:21:05,530 INFO [org.jboss.as.naming] (MSC service thread 1-6) JBAS011802: Starting Naming Service
15:21:05,532 INFO [org.jboss.as.mail.extension] (MSC service thread 1-8) JBAS015400: Bound mail session [java:jboss/mail/Default]
15:21:05,829 INFO [org.apache.coyote.http11] (MSC service thread 1-1) JBWEB003001: Coyote HTTP/1.1 initializing on : http-localhost/127.0.0.1:8080
15:21:05,835 INFO [org.apache.coyote.http11] (MSC service thread 1-1) JBWEB003000: Coyote HTTP/1.1 starting on: http-localhost/127.0.0.1:8080
15:21:05,918 INFO [org.jboss.ws.common.management] (MSC service thread 1-3) JBWS022052: Starting JBoss Web Services - Stack CXF Server 4.1.3.Final-redhat-3
15:21:06,127 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-5) JBAS010400: Bound data source [java:jboss/datasources/ExampleDS]
15:21:06,172 INFO [org.jboss.as.server.deployment.scanner] (MSC service thread 1-3) JBAS015012: Started FileSystemDeploymentService for directory C:\jbdevstudio\runtimes\jboss-eap\standalone\deployments
15:21:06,177 INFO [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015876: Starting deployment of "RatabaseWS_LOB.war" (runtime-name: "RatabaseWS_LOB.war")
15:21:06,206 INFO [org.jboss.as.remoting] (MSC service thread 1-8) JBAS017100: Listening on 127.0.0.1:4447
15:21:06,295 INFO [org.jboss.as.remoting] (MSC service thread 1-6) JBAS017100: Listening on 127.0.0.1:9999
15:21:07,852 INFO [org.jboss.ws.cxf.metadata] (MSC service thread 1-8) JBWS024061: Adding service endpoint metadata: id=com.cgi.ratabase.webservice.RatabaseWS
address=http://localhost:8080/RatabaseWS/RatabaseService
implementor=com.cgi.ratabase.webservice.RatabaseWS
serviceName={http://ratabase.cgi.com/}RatabaseService
portName={http://ratabase.cgi.com/}RatabaseService
annotationWsdlLocation=WEB-INF/wsdl/RBWebService.wsdl
wsdlLocationOverride=null
mtomEnabled=false
15:21:08,082 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-8) MSC000001: Failed to start service jboss.deployment.unit."RatabaseWS_LOB.war".INSTALL: org.jboss.msc.service.StartException in service jboss.deployment.unit."RatabaseWS_LOB.war".INSTALL: JBAS018733: Failed to process phase INSTALL of deployment "RatabaseWS_LOB.war"
at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:127) [jboss-as-server-7.2.0.Final-redhat-8.jar:7.2.0.Final-redhat-8]
at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.4.GA-redhat-1.jar:1.0.4.GA-redhat-1]
at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.4.GA-redhat-1.jar:1.0.4.GA-redhat-1]
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [rt.jar:1.7.0_80]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [rt.jar:1.7.0_80]
at java.lang.Thread.run(Unknown Source) [rt.jar:1.7.0_80]
Caused by: java.lang.NoClassDefFoundError: com/cgi/ratabase/rboexceptions/RatingServiceException
at com.cgi.ratabase.webservice.RatabaseWS.<init>(RatabaseWS.java:43)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [rt.jar:1.7.0_80]
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) [rt.jar:1.7.0_80]
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) [rt.jar:1.7.0_80]
at java.lang.reflect.Constructor.newInstance(Unknown Source) [rt.jar:1.7.0_80]
at java.lang.Class.newInstance(Unknown Source) [rt.jar:1.7.0_80]
at org.jboss.wsf.stack.cxf.configuration.NonSpringBusHolder.newInstance(NonSpringBusHolder.java:169)
at org.jboss.wsf.stack.cxf.configuration.NonSpringBusHolder.configure(NonSpringBusHolder.java:94)
at org.jboss.wsf.stack.cxf.deployment.aspect.BusDeploymentAspect.startDeploymentBus(BusDeploymentAspect.java:128)
at org.jboss.wsf.stack.cxf.deployment.aspect.BusDeploymentAspect.start(BusDeploymentAspect.java:67)
at org.jboss.as.webservices.deployers.AspectDeploymentProcessor.deploy(AspectDeploymentProcessor.java:74)
at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:120) [jboss-as-server-7.2.0.Final-redhat-8.jar:7.2.0.Final-redhat-8]
... 5 more
Caused by: java.lang.ClassNotFoundException: com.cgi.ratabase.rboexceptions.RatingServiceException from [Module "deployment.RatabaseWS_LOB.war:main" from Service Module Loader]
at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:196) [jboss-modules.jar:1.2.0.Final-redhat-1]
at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:444) [jboss-modules.jar:1.2.0.Final-redhat-1]
at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:432) [jboss-modules.jar:1.2.0.Final-redhat-1]
at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:374) [jboss-modules.jar:1.2.0.Final-redhat-1]
at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:119) [jboss-modules.jar:1.2.0.Final-redhat-1]
... 17 more
15:21:08,136 INFO [org.jboss.as.server] (ServerService Thread Pool -- 26) JBAS018559: Deployed "RatabaseWS_LOB.war" (runtime-name : "RatabaseWS_LOB.war")
15:21:08,138 INFO [org.jboss.as.controller] (Controller Boot Thread) JBAS014774: Service status report
JBAS014777: Services which failed to start: service jboss.deployment.unit."RatabaseWS_LOB.war".INSTALL: org.jboss.msc.service.StartException in service jboss.deployment.unit."RatabaseWS_LOB.war".INSTALL: JBAS018733: Failed to process phase INSTALL of deployment "RatabaseWS_LOB.war"
can some please provide me any solution for this issue.