-
Bug
-
Resolution: Won't Do
-
Major
-
4.3.0.Final
-
It turns out that the problem was a Java error on my end.
-
Not Required
I am having the same problem that the person in issue JBIDE-12594 was having, but in a newer version of JBoss. I am using JBoss AS 7.1 and JBoss Tools 4.3.0 Final.
When I try to publish the project to the JBoss server, I don't get any errors in the console, but the JBoss server in the Servers tab still shows as "Republish." If I try to run it anyway, I get an error similar to that in JBIDE-12594.
Specifically, here is the error I get (some files and directories have been renamed):
11:13:43,737 INFO [org.jboss.modules] JBoss Modules version 1.1.1.GA 11:13:44,016 INFO [org.jboss.msc] JBoss MSC version 1.0.2.GA 11:13:44,075 INFO [org.jboss.as] JBAS015899: JBoss AS 7.1.1.Final "Brontes" starting 11:13:45,217 INFO [org.jboss.as.server] JBAS015888: Creating http management service using socket-binding (management-http) 11:13:45,219 INFO [org.xnio] XNIO Version 3.0.3.GA 11:13:45,236 INFO [org.xnio.nio] XNIO NIO Implementation Version 3.0.3.GA 11:13:45,249 INFO [org.jboss.remoting] JBoss Remoting version 3.2.3.GA 11:13:45,280 INFO [org.jboss.as.logging] JBAS011502: Removing bootstrap log handlers 11:13:45,282 INFO [org.jboss.as.configadmin] JBAS016200: Activating ConfigAdmin Subsystem 11:13:45,362 INFO [org.jboss.as.osgi] (ServerService Thread Pool -- 39) JBAS011940: Activating OSGi Subsystem 11:13:45,376 INFO [org.jboss.as.security] (ServerService Thread Pool -- 44) JBAS013101: Activating Security Subsystem 11:13:45,394 INFO [org.jboss.as.webservices] (ServerService Thread Pool -- 48) JBAS015537: Activating WebServices Extension 11:13:45,394 INFO [org.jboss.as.connector] (MSC service thread 1-5) JBAS010408: Starting JCA Subsystem (JBoss IronJacamar 1.0.9.Final) 11:13:45,426 INFO [org.jboss.as.naming] (MSC service thread 1-2) JBAS011802: Starting Naming Service 11:13:45,436 INFO [org.jboss.as.security] (MSC service thread 1-1) JBAS013100: Current PicketBox version=4.0.7.Final 11:13:45,456 INFO [org.jboss.as.mail.extension] (MSC service thread 1-8) JBAS015400: Bound mail session [java:jboss/mail/Default] 11:13:45,532 INFO [org.jboss.as.connector.subsystems.datasources] (ServerService Thread Pool -- 27) JBAS010403: Deploying JDBC-compliant driver class org.h2.Driver (version 1.3) 11:13:45,603 INFO [org.jboss.ws.common.management.AbstractServerConfig] (MSC service thread 1-2) JBoss Web Services - Stack CXF Server 4.0.2.GA 11:13:46,092 INFO [org.apache.coyote.http11.Http11Protocol] (MSC service thread 1-7) Starting Coyote HTTP/1.1 on http-localhost-127.0.0.1-8080 11:13:46,204 INFO [org.jboss.as.server.deployment.scanner] (MSC service thread 1-1) JBAS015012: Started FileSystemDeploymentService for directory C:\Users\MyUser\jboss-as-7.1.1.Final\standalone\deployments 11:13:46,223 INFO [org.jboss.as.remoting] (MSC service thread 1-7) JBAS017100: Listening on localhost/127.0.0.1:4447 11:13:46,236 INFO [org.jboss.as.remoting] (MSC service thread 1-5) JBAS017100: Listening on localhost/127.0.0.1:9999 11:13:46,390 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-5) JBAS010400: Bound data source [java:jboss/datasources/ExampleDS] 11:13:46,458 INFO [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) JBAS015003: Found Project.war in deployment directory. To trigger deployment create a file called Project.war.dodeploy 11:13:46,491 INFO [org.jboss.as.server.deployment] (MSC service thread 1-1) JBAS015876: Starting deployment of "Project.war" 11:13:47,245 ERROR [org.jboss.remoting.remote.connection] (Remoting "my-pc:MANAGEMENT" read-1) JBREM000200: Remote connection failed: java.io.IOException: An established connection was aborted by the software in your host machine 11:13:52,582 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-4) MSC00001: Failed to start service jboss.deployment.unit."Project.war".POST_MODULE: org.jboss.msc.service.StartException in service jboss.deployment.unit."Project.war".POST_MODULE: Failed to process phase POST_MODULE of deployment "Project.war" at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:119) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final] 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_80] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_80] at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_80] Caused by: java.lang.RuntimeException: Error getting reflective information for class org.springframework.web.servlet.DispatcherServlet with ClassLoader ModuleClassLoader for Module "deployment.Project.war:main" from Service Module Loader at org.jboss.as.server.deployment.reflect.DeploymentReflectionIndex.getClassIndex(DeploymentReflectionIndex.java:70) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final] at org.jboss.as.ee.metadata.MethodAnnotationAggregator.runtimeAnnotationInformation(MethodAnnotationAggregator.java:58) at org.jboss.as.ee.component.deployers.InterceptorAnnotationProcessor.handleAnnotations(InterceptorAnnotationProcessor.java:85) at org.jboss.as.ee.component.deployers.InterceptorAnnotationProcessor.processComponentConfig(InterceptorAnnotationProcessor.java:70) at org.jboss.as.ee.component.deployers.InterceptorAnnotationProcessor.deploy(InterceptorAnnotationProcessor.java:55) at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:113) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final] ... 5 more Caused by: java.lang.NoClassDefFoundError: org/springframework/web/context/support/ServletRequestHandledEvent at java.lang.Class.getDeclaredFields0(Native Method) [rt.jar:1.7.0_80] at java.lang.Class.privateGetDeclaredFields(Class.java:2509) [rt.jar:1.7.0_80] at java.lang.Class.getDeclaredFields(Class.java:1819) [rt.jar:1.7.0_80] at org.jboss.as.server.deployment.reflect.ClassReflectionIndex.<init>(ClassReflectionIndex.java:57) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final] at org.jboss.as.server.deployment.reflect.DeploymentReflectionIndex.getClassIndex(DeploymentReflectionIndex.java:66) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final] ... 10 more Caused by: java.lang.ClassNotFoundException: org.springframework.web.context.support.ServletRequestHandledEvent from [Module "deployment.Project.war:main" from Service Module Loader] at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:190) at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:468) at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:456) at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:398) at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:120) ... 15 more 11:13:52,620 INFO [org.jboss.as] (MSC service thread 1-7) JBAS015951: Admin console listening on http://127.0.0.1:9990 11:13:52,621 ERROR [org.jboss.as] (MSC service thread 1-7) JBAS015875: JBoss AS 7.1.1.Final "Brontes" started (with errors) in 9233ms - Started 140 of 218 services (1 services failed or missing dependencies, 76 services are passive or on-demand) 11:13:52,624 INFO [org.jboss.as.server] (DeploymentScanner-threads - 2) JBAS015870: Deploy of deployment "Project.war" was rolled back with failure message {"JBAS014671: Failed services" => {"jboss.deployment.unit.\"Project.war\".POST_MODULE" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"Project.war\".POST_MODULE: Failed to process phase POST_MODULE of deployment \"Project.war\""}} 11:13:52,807 INFO [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015877: Stopped deployment Project.war in 195ms 11:13:52,809 INFO [org.jboss.as.controller] (DeploymentScanner-threads - 2) JBAS014774: Service status report JBAS014777: Services which failed to start: service jboss.deployment.unit."Project.war".POST_MODULE: org.jboss.msc.service.StartException in service jboss.deployment.unit."Project.war".POST_MODULE: Failed to process phase POST_MODULE of deployment "Project.war" 11:13:52,812 ERROR [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) {"JBAS014653: Composite operation failed and was rolled back. Steps that failed:" => {"Operation step-2" => {"JBAS014671: Failed services" => {"jboss.deployment.unit.\"Project.war\".POST_MODULE" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"Project.war\".POST_MODULE: Failed to process phase POST_MODULE of deployment \"Project.war\""}}}}
- clones
-
JBIDE-12594 Published datasource always in "Republish" state
- Closed