-
Bug
-
Resolution: Done
-
Major
-
EAP 5.0.0.BETA
-
JBoss EAP: http://anonsvn.jboss.org/repos/jbossas/branches/JBPAPP_5_0 r89649
Sun JDK 5
WAR with jboss-web.xml with invalid virtual hosts configuration breaks whole web functionality - the server replies with empty HTTP body.
The deployment of the WAR fails with an exception (see below), which is the last record in the server log.
Everything gets to normal after server restart.
jboss-web.xml:
--------------------------------------------------------------------------------
<jboss-web>
<context-root>/test</context-root>
<virtual-host>localhost</virtual-host>
<virtual-host>*</virtual-host>
</jboss-web>
--------------------------------------------------------------------------------
Exception thrown:
java.lang.RuntimeException: org.jboss.deployers.client.spi.IncompleteDeploymentException: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):
-
-
- DEPLOYMENTS IN ERROR: Name -> Error
-
vfszip:/home/brq/ozizka/JoprEmbedded/JBPAPP_5_0/build/output/jboss-5.0.0.Beta/server/default/deploy/vhosts-test_BREAKS_AS.war/ -> org.jboss.deployers.spi.DeploymentException: Error deploying: jboss.web.deployment:war=jawa11.englab.brq.redhat.com/test
DEPLOYMENTS IN ERROR:
Deployment "vfszip:/home/brq/ozizka/JoprEmbedded/JBPAPP_5_0/build/output/jboss-5.0.0.Beta/server/default/deploy/vhosts-test_BREAKS_AS.war/" is in error due to the following reason(s): javax.management.MalformedObjectNameException: Invalid character '*' in value part of property
at org.jboss.profileservice.management.upload.remoting.StreamingDeploymentTarget.invoke(StreamingDeploymentTarget.java:313)
at org.jboss.profileservice.management.upload.remoting.StreamingDeploymentTarget.start(StreamingDeploymentTarget.java:190)
at org.jboss.profileservice.management.upload.DeploymentProgressImpl.start(DeploymentProgressImpl.java:232)
at org.jboss.profileservice.management.upload.DeploymentProgressImpl.run(DeploymentProgressImpl.java:89)
at org.rhq.plugins.jbossas5.util.DeploymentUtils.run(DeploymentUtils.java:120)
at org.rhq.plugins.jbossas5.util.DeploymentUtils.deployArchive(DeploymentUtils.java:103)
at org.rhq.plugins.jbossas5.ApplicationServerComponent.createContentBasedResource(ApplicationServerComponent.java:400)
at org.rhq.plugins.jbossas5.ApplicationServerComponent.createResource(ApplicationServerComponent.java:211)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.rhq.core.pc.inventory.ResourceContainer$ComponentInvocationThread.call(ResourceContainer.java:482)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
at java.util.concurrent.FutureTask.run(FutureTask.java:123)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
at java.lang.Thread.run(Thread.java:595)
Caused by: org.jboss.deployers.client.spi.IncompleteDeploymentException: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):
-
-
- DEPLOYMENTS IN ERROR: Name -> Error
-
vfszip:/home/brq/ozizka/JoprEmbedded/JBPAPP_5_0/build/output/jboss-5.0.0.Beta/server/default/deploy/vhosts-test_BREAKS_AS.war/ -> org.jboss.deployers.spi.DeploymentException: Error deploying: jboss.web.deployment:war=jawa11.englab.brq.redhat.com/test
DEPLOYMENTS IN ERROR:
Deployment "vfszip:/home/brq/ozizka/JoprEmbedded/JBPAPP_5_0/build/output/jboss-5.0.0.Beta/server/default/deploy/vhosts-test_BREAKS_AS.war/" is in error due to the following reason(s): javax.management.MalformedObjectNameException: Invalid character '*' in value part of property
at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:993)
at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:939)
at org.jboss.deployers.plugins.main.MainDeployerImpl.checkComplete(MainDeployerImpl.java:873)
at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.checkComplete(MainDeployerAdapter.java:128)
at org.jboss.profileservice.management.upload.remoting.AbstractDeployHandler.start(AbstractDeployHandler.java:265)
at org.jboss.profileservice.management.upload.remoting.AbstractDeployHandler.invoke(AbstractDeployHandler.java:177)
at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:891)
at org.jboss.remoting.transport.local.LocalClientInvoker.invoke(LocalClientInvoker.java:106)
at org.jboss.remoting.Client.invoke(Client.java:1724)
at org.jboss.remoting.Client.invoke(Client.java:629)
at org.jboss.profileservice.management.upload.remoting.StreamingDeploymentTarget.invoke(StreamingDeploymentTarget.java:305)
... 17 more
15:24:30,592 INFO [DeployHandler] Remove, [vfszip:/home/brq/ozizka/JoprEmbedded/JBPAPP_5_0/build/output/jboss-5.0.0.Beta/server/default/deploy/vhosts-test_BREAKS_AS.war/]
15:24:30,596 WARN [CreateResourceRunner] Throwable was found in creation report for request [1]: java.lang.RuntimeException: org.jboss.deployers.client.spi.IncompleteDeploymentException: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):
-
-
- DEPLOYMENTS IN ERROR: Name -> Error
-
vfszip:/home/brq/ozizka/JoprEmbedded/JBPAPP_5_0/build/output/jboss-5.0.0.Beta/server/default/deploy/vhosts-test_BREAKS_AS.war/ -> org.jboss.deployers.spi.DeploymentException: Error deploying: jboss.web.deployment:war=jawa11.englab.brq.redhat.com/test
DEPLOYMENTS IN ERROR:
Deployment "vfszip:/home/brq/ozizka/JoprEmbedded/JBPAPP_5_0/build/output/jboss-5.0.0.Beta/server/default/deploy/vhosts-test_BREAKS_AS.war/" is in error due to the following reason(s): javax.management.MalformedObjectNameException: Invalid character '*' in value part of property
- Enable DEBUG logging to see the stack trace.