-
1. Re: MBean complex type attributes
madchedar0 May 16, 2012 8:19 PM (in response to qtm)qtm,
Did you figure out what the issue was? I'm currently running into similar errors in my jboss-service.xml...
Thanks
-
2. Re: MBean complex type attributes
qtm May 17, 2012 1:26 AM (in response to madchedar0)Unfortunately no. I switched to using a subsystem , not a sar.
-
3. Re: MBean complex type attributes
adjohnst Jul 19, 2013 10:39 AM (in response to qtm)I ran into the same issue when trying to use remoting 2.2. It looks like jboss-service.xml validates against jboss-service_7_0.xsd by default in my version of jboss which does not allow complex attributes.
<server xmlns="urn:jboss:service:7.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="urn:jboss:service:7.0 jboss-service_7_0.xsd">You could probably give it a schema that it will validate against, but I decided to make all the remoting calls within java instead of using jboss-service.xml.
{"JBAS014671: Failed services" => {"jboss.deployment.unit.\"bacon-helloworld.jar\".PARSE" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"bacon-helloworld.jar\".PARSE: JBAS018733: Failed to process phase PARSE of deployment \"bacon-helloworld.jar\"
Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: JBAS017224: Failed to parse service xml [\"/content/bacon-helloworld.jar/META-INF/jboss-service.xml\"]
Caused by: java.lang.IllegalStateException: Not a textual event (START_ELEMENT)"}}