[
https://jira.jboss.org/jira/browse/JBESB-2643?page=com.atlassian.jira.plu...
]
Sindre Hamlander commented on JBESB-2643:
-----------------------------------------
The workaround for this is to exclude the schema location from the jboss-esb.xml and not
set the "host" and "port" attributes as the implementation will find
sensible values for these attributes
Setting required http-provider attributes fails the *.esb deployment
--------------------------------------------------------------------
Key: JBESB-2643
URL:
https://jira.jboss.org/jira/browse/JBESB-2643
Project: JBoss ESB
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Deployment
Affects Versions: 4.4 FP1
Reporter: Sindre Hamlander
According to jbossesb-1.1.0.xsd the "host" and "port" attribute must
be set on the "http-provider" tag in the jboss-esb.xml. If these values are set,
the deployment fails with the following stacktrace:
2009-06-24 16:39:28,006 ERROR [org.jboss.deployment.MainDeployer] Could not initialise
deployment:
file:/opt/redhat/jboss-soa-p.4.3.0/jboss-as/server/production/deploy/ws_simple.esb
org.jboss.deployment.DeploymentException: Failed to parse jboss-esb.xml; - nested
throwable: (org.apache.xmlbeans.XmlException: error: The document is not a
jbossesb@http://anonsvn.labs.jboss.com/labs/jbossesb/trunk/product/etc/schemas/xml/jbossesb-1.0.1.xsd:
document element namespace mismatch expected
"http://anonsvn.labs.jboss.com/labs/jbossesb/trunk/product/etc/schemas/xml/jbossesb-1.0.1.xsd"
got
"http://anonsvn.labs.jboss.com/labs/jbossesb/trunk/product/etc/schemas/xml/jbossesb-1.1.0.xsd")
at
org.jboss.soa.esb.listeners.config.JBoss4ESBDeployer.getJbossEsb(JBoss4ESBDeployer.java:411)
at
org.jboss.soa.esb.listeners.config.JBoss4ESBDeployer.init(JBoss4ESBDeployer.java:264)
at org.jboss.deployment.MainDeployer.init(MainDeployer.java:872)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:809)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
at sun.reflect.GeneratedMethodAccessor30.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at
org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy9.deploy(Unknown Source)
at
org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
at
org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)
at
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
at
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:274)
at
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:225)
Caused by: org.apache.xmlbeans.XmlException: error: The document is not a
jbossesb@http://anonsvn.labs.jboss.com/labs/jbossesb/trunk/product/etc/schemas/xml/jbossesb-1.0.1.xsd:
document element namespace mismatch expected
"http://anonsvn.labs.jboss.com/labs/jbossesb/trunk/product/etc/schemas/xml/jbossesb-1.0.1.xsd"
got
"http://anonsvn.labs.jboss.com/labs/jbossesb/trunk/product/etc/schemas/xml/jbossesb-1.1.0.xsd"
at org.apache.xmlbeans.impl.store.Locale.verifyDocumentType(Locale.java:452)
at org.apache.xmlbeans.impl.store.Locale.autoTypeDocument(Locale.java:357)
at org.apache.xmlbeans.impl.store.Locale.parseToXmlObject(Locale.java:1326)
at org.apache.xmlbeans.impl.store.Locale.parseToXmlObject(Locale.java:1310)
at
org.apache.xmlbeans.impl.schema.SchemaTypeLoaderBase.parse(SchemaTypeLoaderBase.java:360)
at
org.jboss.soa.esb.listeners.config.xbeanmodel.JbossesbDocument$Factory.parse(JbossesbDocument.java:179)
at
org.jboss.soa.esb.listeners.config.JBoss4ESBDeployer.getJbossEsb(JBoss4ESBDeployer.java:407)
... 22 more
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira