does jboss does hot deployment on its own while it is running ???
neethal Jun 22, 2012 1:36 AMwe found something strange behaviour in our jboss applicaiton server. Application seemed to have running fine, meanwhile we could see the following logs logged. Since then application stopped responding from the end user perspective (application url was not loading). Only after the restart it started working. Any insight on this ?
19:59:06,072 INFO [org.apache.coyote.http11.Http11Protocol] Starting Coyote HTTP/1.1 on http-10.5.77.80-8080
19:59:06,075 INFO [org.apache.coyote.ajp.AjpProtocol] Starting Coyote AJP/1.3 on ajp-10.5.77.80-8009
19:59:06,078 ERROR [org.jboss.kernel.plugins.dependency.AbstractKernelController] Error installing to Configured: name=JmxConsoleActivator state=Instantiated: java.lang.RuntimeException: Error configuring property: onDemandContextIntegrator for JmxConsoleActivator
……………….
Caused by: java.lang.IllegalArgumentException: Wrong arguments. setOnDemandContextIntegrator for target org.jboss.web.tomcat.service.ondemand.OnDemandContextProfileMana
ger@1e9a07fa expected=[org.jboss.web.tomcat.service.ondemand.OnDemandContextIntegrator] actual=[org.jboss.web.tomcat.service.ondemand.DefaultOnDemandContextIntegrator]
at org.jboss.reflect.plugins.introspection.ReflectionUtils.handleErrors(ReflectionUtils.java:404) [jboss-reflect.jar:2.2.0.GA]
19:59:06,092 ERROR [org.jboss.kernel.plugins.dependency.AbstractKernelController] Error installing to Configured: name=JBossWSConsoleActivator state=Instantiated: java.
- lang.RuntimeException: Error configuring property: onDemandContextIntegrator for JBossWSConsoleActivator
19:59:07,378 ERROR [org.jboss.kernel.plugins.dependency.AbstractKernelController] Error installing to Real: name=vfs:///apps/jboss-6.0.0.Final/server/serialnumber-prd-s
1/deploy/activation.war state=PreReal mode=Manual requiredState=Real: org.jboss.deployers.spi.DeploymentException: Failed to create web module
Caused by: java.lang.ClassCastException: org.jboss.web.tomcat.service.deployers.TomcatDeployment cannot be cast to org.jboss.web.tomcat.service.deployers.TomcatDeployme
Nt
……
19:59:07,433 WARN [org.jboss.profileservice.deployment.hotdeploy.HDScanner] Scan failed: org.jboss.deployers.client.spi.IncompleteDeploymentException: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):
*** DEPLOYMENTS IN ERROR: Name -> Error
vfs:///apps/jboss-6.0.0.Final/server/serialnumber-prd-s1/deploy/ROOT.war -> org.jboss.deployers.spi.DeploymentException: Failed to create web module
vfs:///apps/jboss-6.0.0.Final/server/serialnumber-prd-s1/deploy/activation.war -> org.jboss.deployers.spi.DeploymentException: Failed to create web module
vfs:///apps/jboss-6.0.0.Final/server/serialnumber-prd-s1/deploy/http-invoker.sar -> org.jboss.deployers.spi.DeploymentException: Failed to create web module
vfs:///apps/jboss-6.0.0.Final/server/serialnumber-prd-s1/deploy/jmx-console.war -> org.jboss.deployers.spi.DeploymentException: Failed to create web module
DEPLOYMENTS IN ERROR:
Deployment "vfs:///apps/jboss-6.0.0.Final/server/serialnumber-prd-s1/deploy/activation.war" is in error due to the following reason(s): java.lang.ClassCastException: org.jboss.web.tomcat.service.deployers.TomcatDeployment cannot be cast to org.jboss.web.tomcat.service.deployers.TomcatDeployment
Deployment "vfs:///apps/jboss-6.0.0.Final/server/serialnumber-prd-s1/deploy/http-invoker.sar" is in error due to the following reason(s): java.lang.ClassCastException: org.jboss.web.tomcat.service.deployers.TomcatDeployment cannot be cast to org.jboss.web.tomcat.service.deployers.TomcatDeployment
Deployment "vfs:///apps/jboss-6.0.0.Final/server/serialnumber-prd-s1/deploy/jmx-console.war" is in error due to the following reason(s): java.lang.ClassCastException: org.jboss.web.tomcat.service.deployers.TomcatDeployment cannot be cast to org.jboss.web.tomcat.service.deployers.TomcatDeployment
Deployment "vfs:///apps/jboss-6.0.0.Final/server/serialnumber-prd-s1/deploy/ROOT.war" is in error due to the following reason(s): java.lang.ClassCastException: org.jboss.web.tomcat.service.deployers.TomcatDeployment cannot be cast to org.jboss.web.tomcat.service.deployers.TomcatDeployment
at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:1370) [:2.2.0.GA]
at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:1316) [:2.2.0.GA]
at org.jboss.deployers.plugins.main.MainDeployerImpl.checkComplete(MainDeployerImpl.java:968) [:2.2.0.GA]
at org.jboss.system.server.profileservice.deployers.MainDeployerPlugin.checkComplete(MainDeployerPlugin.java:82) [:6.0.0.Final]
at org.jboss.profileservice.dependency.ProfileControllerContext$DelegateDeployer.checkComplete(ProfileControllerContext.java:138) [:0.2.2]
at org.jboss.profileservice.deployment.hotdeploy.HDScanner$HDScanAction.deploy(HDScanner.java:246) [:0.2.2]
at org.jboss.profileservice.deployment.hotdeploy.HDScanner$HDScanAction.complete(HDScanner.java:192) [:0.2.2]
at org.jboss.profileservice.management.TwoPCActionWrapper.doComplete(TwoPCActionWrapper.java:57) [:0.2.2]
at org.jboss.profileservice.management.actions.AbstractTwoPhaseModificationAction.complete(AbstractTwoPhaseModificationAction.java:74) [:0.2.2]
at org.jboss.profileservice.management.actions.AbstractTwoPhaseModificationAction.prepare(AbstractTwoPhaseModificationAction.java:95) [:0.2.2]
at org.jboss.profileservice.management.ModificationSession.prepare(ModificationSession.java:87) [:0.2.2]
at org.jboss.profileservice.management.AbstractActionController.internalPerfom(AbstractActionController.java:234) [:0.2.2]
at org.jboss.profileservice.management.AbstractActionController.performWrite(AbstractActionController.java:213) [:0.2.2]
at org.jboss.profileservice.management.AbstractActionController.perform(AbstractActionController.java:150) [:0.2.2]
at org.jboss.profileservice.management.AbstractActionController.perform(AbstractActionController.java:135) [:0.2.2]
at org.jboss.profileservice.deployment.hotdeploy.HDScanner.scan(HDScanner.java:146) [:0.2.2]
at org.jboss.profileservice.deployment.hotdeploy.HDScanner.run(HDScanner.java:90) [:0.2.2]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) [:1.6.0_23]
at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317) [:1.6.0_23]
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150) [:1.6.0_23]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98) [:1.6.0_23]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:180) [:1.6.0_23]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:204) [:1.6.0_23]
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [:1.6.0_23]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [:1.6.0_23]
at java.lang.Thread.run(Thread.java:662) [:1.6.0_23]