Caltalog resolver not used when reading web.xml during web serivce deployment.
------------------------------------------------------------------------------
Key: JBWS-1985
URL:
http://jira.jboss.com/jira/browse/JBWS-1985
Project: JBoss Web Services
Issue Type: Bug
Security Level: Public (Everyone can see)
Environment: Windows XP SP2, JDK1.5.0_11, JBoss 4.2.2.GA
Reporter: Richard Tesh
Receive this exception when deploying a webservice.
14:09:41,718 ERROR [MainDeployer] Could not create deployment: file:/C:/java/jb
ss-4.2.2.GA/server/default/tmp/deploy/tmp64915odyssey.ear-contents/authenticati
nws.war
javax.xml.ws.WebServiceException: org.dom4j.DocumentException:
java.sun.com Nes
ed exception:
java.sun.com
at org.jboss.wsf.container.jboss42.WebXMLRewriterImpl.rewriteWebXml(Web
MLRewriterImpl.java:95)
at org.jboss.wsf.container.jboss42.ModifyWebMetaDataDeploymentAspect.cr
ate(ModifyWebMetaDataDeploymentAspect.java:53)
at org.jboss.wsf.framework.deployment.DeploymentAspectManagerImpl.deplo
(DeploymentAspectManagerImpl.java:115)
at org.jboss.wsf.container.jboss42.ArchiveDeployerHook.deploy(ArchiveDe
loyerHook.java:97)
at org.jboss.wsf.container.jboss42.DeployerInterceptor.create(DeployerI
terceptor.java:79)
at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor
create(SubDeployerInterceptorSupport.java:180)
at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterc
ptor.java:91)
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 $Proxy45.create(Unknown Source)
at org.jboss.deployment.MainDeployer.create(MainDeployer.java:969)
at org.jboss.deployment.MainDeployer.create(MainDeployer.java:959)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:818)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
at sun.reflect.GeneratedMethodAccessor21.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcce
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatc
er.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercep
or.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(Model
BeanOperationInterceptor.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(URLDeployme
tScanner.java:421)
at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeployment
canner.java:610)
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.dom4j.DocumentException:
java.sun.com Nested exception: java.sun
com
at org.dom4j.io.SAXReader.read(SAXReader.java:484)
at org.dom4j.io.SAXReader.read(SAXReader.java:343)
at org.jboss.wsf.container.jboss42.WebXMLRewriterImpl.rewriteWebXml(Web
MLRewriterImpl.java:108)
at org.jboss.wsf.container.jboss42.WebXMLRewriterImpl.rewriteWebXml(Web
MLRewriterImpl.java:87)
... 33 more
This is lines 107 and 108 of org.jboss.wsf.container.jboss42.WebXMLRewriterImpl
SAXReader reader = new SAXReader();
Document document = reader.read(source);
So it is not using an Entity resolver and as I am behind a firewall I cannot resolve
java.sun.com from the web.xml doctype:
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application
2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
Regards,
Richard
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira