Forum Stats

  • 3,874,111 Users
  • 2,266,684 Discussions
  • 7,911,729 Comments

Discussions

JBoss[HornetQRest]: javax.management.InvalidAttributeValueException

I have created HornetQ Rest based application for sending and receiving xml messages.
There is no war deployment error in JBoss-4.2.2.GA but experiencing problem in deployment of war in jboss-6.1.0.Final.

JBoss server log file:

2011-12-12 17:04:23,366 ERROR [ProfileServiceBootstrap] (Thread-2) Failed to load profile:: org.jboss.deployers.client.spi.IncompleteDeploymentException: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):

DEPLOYMENTS IN ERROR:
Deployment "vfs:///C:/jboss-6.1.0.Final_fresh/server/default/deploy/HornetQRest.war" is in error due to the following reason(s): javax.management.InvalidAttributeValueException: Set attribute has class class org.jboss.kernel.Kernel loaded from [email protected] that is not assignable to attribute class class org.jboss.kernel.Kernel loaded from [email protected]{vfs:///C:/jboss-6.1.0.Final_fresh/server/default/deploy/HornetQRest.war}

at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:1228) [:2.2.2.GA]
at org.jboss.deployers.plugins.main.MainDeployerImpl.checkComplete(MainDeployerImpl.java:905) [:2.2.2.GA]
at org.jboss.system.server.profileservice.deployers.MainDeployerPlugin.checkComplete(MainDeployerPlugin.java:87) [:6.1.0.Final]
at org.jboss.profileservice.deployment.ProfileDeployerPluginRegistry.checkAllComplete(ProfileDeployerPluginRegistry.java:107) [:0.2.2]
at org.jboss.system.server.profileservice.bootstrap.BasicProfileServiceBootstrap.start(BasicProfileServiceBootstrap.java:135) [:6.1.0.Final]
at org.jboss.system.server.profileservice.bootstrap.BasicProfileServiceBootstrap.start(BasicProfileServiceBootstrap.java:56) [:6.1.0.Final]
at org.jboss.bootstrap.impl.base.server.AbstractServer.startBootstraps(AbstractServer.java:827) [jboss-bootstrap-impl-base.jar:2.1.0-alpha-6]
at org.jboss.bootstrap.impl.base.server.AbstractServer$StartServerTask.run(AbstractServer.java:417) [jboss-bootstrap-impl-base.jar:2.1.0-alpha-6]
at java.lang.Thread.run(Thread.java:619) [:1.6.0_11]


2011-12-12 17:04:23,386 INFO [org.apache.coyote.http11.Http11Protocol] (Thread-2) Starting Coyote HTTP/1.1 on http-127.0.0.1-8080

2011-12-12 17:04:23,389 INFO [org.apache.coyote.ajp.AjpProtocol] (Thread-2) Starting Coyote AJP/1.3 on ajp-127.0.0.1-8009

2011-12-12 17:04:23,389 INFO [org.jboss.bootstrap.impl.base.server.AbstractServer] (Thread-2) JBossAS [6.1.0.Final "Neo"] Started in 21s:758ms


Please post here your suggestions!

Regards
Tagged:
This discussion has been closed.