- This topic has 1 reply, 2 voices, and was last updated 10 years, 3 months ago by support-pradeep.
-
AuthorPosts
-
eugenejsnParticipantBACKGROUND
I’ve just migrated a web application (named MyWeb) from IBM RAD 8 + Websphere 8 to MyEclipse Blue 2014 + Websphere 8 onSUSE Linux 11. Generally successful but there are still some bugs
But that is OK. Because I now want to move to JBoss AS 7.1.1 platform anyway. This is how I did it:
1) Create a new server JBoss 7.x, JDK 7
2) Start the server WITHOUT the deployment. The server started successfully.
3) Next I created a simple web project such as TestWebEAR, with index.jsp dislpay: Hello. Then I deployed the EAR to the server, and restart the server, it works fine. The word “Hello” is displayed on http://localhost:8080/TestWebSo far so good. Now back to the serious business.
At the beginning I mentioned the migrated web application (MyWeb). Now, I freshly start the MyWeb workspace and deploy the MyWeb to the server.
Click on the Console Panel, it says:
21:53:31,515 INFO [org.jboss.as.server.deployment] (MSC service thread 1-11) JBAS015876: Starting deployment of “MyWebEAR.ear”
21:53:31,524 INFO [org.jboss.as.server.deployment] (MSC service thread 1-6) JBAS015876: Starting deployment of “MyWeb.war”
21:53:32,725 WARN [org.jboss.as.ee] (MSC service thread 1-14) JBAS011006: Not installing optional component org.springframework.web.context.request.async.StandardServletAsyncWebRequest due to exception: org.jboss.as.server.deployment.DeploymentUnitProcessingException: JBAS011054: Could not find default constructor for class org.springframework.web.context.request.async.StandardServletAsyncWebRequest
at org.jboss.as.ee.component.ComponentDescription$DefaultComponentConfigurator.configure(ComponentDescription.java:606)
at org.jboss.as.ee.component.deployers.EEModuleConfigurationProcessor.deploy(EEModuleConfigurationProcessor.java:81)
at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:113) [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_45]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_45]
at java.lang.Thread.run(Thread.java:744) [rt.jar:1.7.0_45]21:53:32,793 INFO [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-14) JBAS010403: Deploying JDBC-compliant driver class oracle.jdbc.OracleDriver (version 11.2)
21:53:33,001 INFO [org.jboss.as.server] (DeploymentScanner-threads – 1) JBAS015870: Deploy of deployment “MyWebEAR.ear” was rolled back with failure message {“JBAS014771: Services with missing/unavailable dependencies” => [“jboss.naming.context.java.module.MyWebEAR.MyWeb.env.jdbc.pubuserjboss.naming.context.java.pubuserMissing[jboss.naming.context.java.module.MyWebEAR.MyWeb.env.jdbc.pubuserjboss.naming.context.java.pubuser]”,”jboss.web.deployment.\”deepyellows.com\”./MyWebjboss.web.host.\”deepyellows.com\”Missing[jboss.web.deployment.\”deepyellows.com\”./MyWebjboss.web.host.\”deepyellows.com\”]”]}
21:53:33,027 INFO [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015877: Stopped deployment MyWeb.war in 26ms
21:53:33,028 INFO [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015877: Stopped deployment MyWebEAR.ear in 28ms
21:53:33,029 INFO [org.jboss.as.controller] (DeploymentScanner-threads – 1) JBAS014774: Service status report
JBAS014776: Newly corrected services:
service jboss.naming.context.java.pubuser (new available)
service jboss.web.host.”deepyellows.com” (new available)21:53:33,030 ERROR [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads – 2) {“JBAS014653: Composite operation failed and was rolled back. Steps that failed:” => {“Operation step-2” => {“JBAS014771: Services with missing/unavailable dependencies” => [“jboss.naming.context.java.module.MyWebEAR.MyWeb.env.jdbc.pubuserjboss.naming.context.java.pubuserMissing[jboss.naming.context.java.module.MyWebEAR.MyWeb.env.jdbc.pubuserjboss.naming.context.java.pubuser]”,”jboss.web.deployment.\”deepyellows.com\”./MyWebjboss.web.host.\”deepyellows.com\”Missing[jboss.web.deployment.\”deepyellows.com\”./MyWebjboss.web.host.\”deepyellows.com\”]”]}}}
–What are wrong here?
Next I right mouse clcik on the JBoss 7.0 Server from the Server panel, then select Run Server. The error says:
22:00:55,176 INFO [org.jboss.as.server.deployment.scanner] (MSC service thread 1-3) JBAS015012: Started FileSystemDeploymentService for directory /jboss/jboss-as-7.1.1.Final/standalone/deployments
22:00:55,178 INFO [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads – 1) JBAS015014: Re-attempting failed deployment MyWebEAR.ear
22:00:55,207 INFO [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads – 1) JBAS015014: Re-attempting failed deployment TestEAR.ear
22:00:55,259 INFO [org.jboss.as.server.deployment] (MSC service thread 1-11) JBAS015876: Starting deployment of “MyWebEAR.ear”
22:00:55,259 INFO [org.jboss.as.server.deployment] (MSC service thread 1-7) JBAS015876: Starting deployment of “TestEAR.ear”
22:00:55,279 INFO [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015876: Starting deployment of “Test.war”
22:00:55,329 INFO [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015876: Starting deployment of “MyWeb.war”
22:00:55,672 INFO [org.jboss.web] (MSC service thread 1-16) JBAS018210: Registering web context: /Test
22:00:57,642 WARN [org.jboss.as.ee] (MSC service thread 1-6) JBAS011006: Not installing optional component org.springframework.web.context.request.async.StandardServletAsyncWebRequest due to exception: org.jboss.as.server.deployment.DeploymentUnitProcessingException: JBAS011054: Could not find default constructor for class org.springframework.web.context.request.async.StandardServletAsyncWebRequest
at org.jboss.as.ee.component.ComponentDescription$DefaultComponentConfigurator.configure(ComponentDescription.java:606)
at org.jboss.as.ee.component.deployers.EEModuleConfigurationProcessor.deploy(EEModuleConfigurationProcessor.java:81)
at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:113) [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_45]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_45]
at java.lang.Thread.run(Thread.java:744) [rt.jar:1.7.0_45]22:00:57,708 INFO [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-6) JBAS010403: Deploying JDBC-compliant driver class oracle.jdbc.OracleDriver (version 11.2)
22:00:57,719 INFO [org.jboss.as] (MSC service thread 1-7) JBAS015951: Admin console listening on http://127.0.0.1:9990
22:00:57,720 ERROR [org.jboss.as] (MSC service thread 1-7) JBAS015875: JBoss AS 7.1.1.Final “Brontes” started (with errors) in 3919ms – Started 424 of 554 services (46 services failed or missing dependencies, 82 services are passive or on-demand)
22:00:57,921 INFO [org.jboss.as.server] (DeploymentScanner-threads – 2) JBAS015871: Deploy of deployment “TestEAR.ear” was rolled back with no failure message
22:00:57,922 INFO [org.jboss.as.server] (DeploymentScanner-threads – 2) JBAS015870: Deploy of deployment “MyWebEAR.ear” was rolled back with failure message {“JBAS014771: Services with missing/unavailable dependencies” => [“jboss.naming.context.java.module.MyWebEAR.MyWeb.env.jdbc.pubuserjboss.naming.context.java.pubuserMissing[jboss.naming.context.java.module.MyWebEAR.MyWeb.env.jdbc.pubuserjboss.naming.context.java.pubuser]”,”jboss.web.deployment.\”deepyellows.com\”./MyWebjboss.web.host.\”deepyellows.com\”Missing[jboss.web.deployment.\”deepyellows.com\”./MyWebjboss.web.host.\”deepyellows.com\”]”]}
22:00:57,992 INFO [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015877: Stopped deployment Test.war in 70ms
22:00:57,993 INFO [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015877: Stopped deployment TestEAR.ear in 71ms
22:00:58,001 INFO [org.jboss.as.server.deployment] (MSC service thread 1-8) JBAS015877: Stopped deployment MyWeb.war in 79ms
22:00:58,002 INFO [org.jboss.as.server.deployment] (MSC service thread 1-16) JBAS015877: Stopped deployment MyWebEAR.ear in 80ms
22:00:58,003 INFO [org.jboss.as.controller] (DeploymentScanner-threads – 2) JBAS014774: Service status report
JBAS014775: New missing/unsatisfied dependencies:
service jboss.naming.context.java.pubuser (missing) dependents: [service jboss.naming.context.java.module.MyWebEAR.MyWeb.env.jdbc.pubuser]
service jboss.web.host.”deepyellows.com” (missing) dependents: [service jboss.web.deployment.”deepyellows.com”./MyWeb]22:00:58,005 ERROR [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads – 1) {“JBAS014653: Composite operation failed and was rolled back. Steps that failed:” => {“Operation step-2” => {“JBAS014771: Services with missing/unavailable dependencies” => [“jboss.naming.context.java.module.MyWebEAR.MyWeb.env.jdbc.pubuserjboss.naming.context.java.pubuserMissing[jboss.naming.context.java.module.MyWebEAR.MyWeb.env.jdbc.pubuserjboss.naming.context.java.pubuser]”,”jboss.web.deployment.\”deepyellows.com\”./MyWebjboss.web.host.\”deepyellows.com\”Missing[jboss.web.deployment.\”deepyellows.com\”./MyWebjboss.web.host.\”deepyellows.com\”]”]}}}
22:00:58,007 ERROR [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads – 1) JBAS014654: Composite operation was rolled backPlease help me to resolve this issue.
Thanks
Eugene
support-pradeepMemberEugene,
Sorry that you are seeing this issue.
Can you please provide some more information to help us investigate :
1) If possible, can you please attach a sample project which exhibits this issue to help us investigate further ? Else, can you please strip the project of its source code and send us all the .* files (.classpath,.settings etc) of the project to help us investigate further ?
2) Can you please check if this project deploys fine outside of MyEclipse on JBoss AS 7.1.1 without any issues ?
-
AuthorPosts