Ben Wang and I are intermittently seeing this file permission problem
when starting an "all" server built from AS trunk. I thought it had gone
away after I updated yesterday, but apparently not, as it just happened
again. This is on a Win XP system, in case that's relevant. The app
being deployed here is ROOT.war; I believe Ben's seen it with a zipped
war as well.
2006-11-29 10:30:58,417 DEBUG [org.jboss.web.tomcat.tc6.WebAppLoader]
injectionContainer enabled and processing beginning with Tomcat
WebAppLoader
2006-11-29 10:30:58,448 ERROR
[org.apache.tomcat.util.modeler.BaseModelMBean] Exception invoking
method addChild
java.lang.RuntimeException: org.jboss.xb.binding.JBossXBException:
Failed to parse source: Permission denied
at
org.jboss.web.tomcat.tc6.TomcatInjectionContainer.processMetadata(Tomcat
InjectionContainer.java:264)
at
org.jboss.web.tomcat.tc6.WebAppLoader.start(WebAppLoader.java:104)
at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4198
)
at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.ja
va:760)
at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:740)
at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at
org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java
:297)
at
org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
at
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
at
org.apache.catalina.core.StandardContext.init(StandardContext.java:5285)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at
org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java
:297)
at
org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
at
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
at
org.jboss.web.tomcat.tc6.deployers.TomcatDeployment.performDeployInterna
l(TomcatDeployment.java:302)
at
org.jboss.web.tomcat.tc6.deployers.TomcatDeployment.performDeploy(Tomcat
Deployment.java:129)
at
org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeploymen
t.java:355)
at
org.jboss.web.deployers.WebModule.startModule(WebModule.java:88)
at org.jboss.web.deployers.WebModule.start(WebModule.java:66)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.
java:157)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.jav
a:264)
at
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
at
org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:18
4)
at $Proxy0.start(Unknown Source)
at
org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(S
tartStopLifecycleAction.java:42)
at
org.jboss.system.microcontainer.ServiceControllerContextAction.install(S
erviceControllerContextAction.java:46)
at
org.jboss.dependency.plugins.AbstractControllerContextActions.install(Ab
stractControllerContextActions.java:51)
at
org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractC
ontrollerContext.java:226)
at
org.jboss.system.microcontainer.ServiceControllerContext.install(Service
ControllerContext.java:198)
at
org.jboss.dependency.plugins.AbstractController.install(AbstractControll
er.java:709)
at
org.jboss.dependency.plugins.AbstractController.incrementState(AbstractC
ontroller.java:429)
at
org.jboss.dependency.plugins.AbstractController.resolveContexts(Abstract
Controller.java:538)
at
org.jboss.dependency.plugins.AbstractController.resolveContexts(Abstract
Controller.java:472)
at
org.jboss.dependency.plugins.AbstractController.change(AbstractControlle
r.java:320)
at
org.jboss.dependency.plugins.AbstractController.change(AbstractControlle
r.java:190)
at
org.jboss.system.ServiceController.doChange(ServiceController.java:656)
at
org.jboss.system.ServiceController.start(ServiceController.java:431)
at
org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java:12
4)
at
org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:8
5)
at
org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:4
4)
at
org.jboss.deployers.plugins.deployers.helpers.AbstractSimpleRealDeployer
.deploy(AbstractSimpleRealDeployer.java:53)
at
org.jboss.deployers.plugins.deployer.AbstractSimpleDeployer.commitDeploy
(AbstractSimpleDeployer.java:52)
at
org.jboss.deployers.plugins.deployer.DeployerWrapper.commitDeploy(Deploy
erWrapper.java:145)
at
org.jboss.deployers.plugins.deployment.MainDeployerImpl.commitDeploy(Mai
nDeployerImpl.java:440)
at
org.jboss.deployers.plugins.deployment.MainDeployerImpl.process(MainDepl
oyerImpl.java:381)
at
org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadProfi
le(ProfileServiceBootstrap.java:366)
at
org.jboss.system.server.profileservice.ProfileServiceBootstrap.bootstrap
(ProfileServiceBootstrap.java:246)
at
org.jboss.kernel.plugins.bootstrap.AbstractBootstrap.run(AbstractBootstr
ap.java:89)
at
org.jboss.system.server.profileservice.ServerImpl.doStart(ServerImpl.jav
a:401)
at
org.jboss.system.server.profileservice.ServerImpl.start(ServerImpl.java:
340)
at org.jboss.Main.boot(Main.java:210)
at org.jboss.Main$1.run(Main.java:508)
at java.lang.Thread.run(Thread.java:595)
Caused by: org.jboss.xb.binding.JBossXBException: Failed to parse
source: Permission denied
at
org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.
java:178)
at
org.jboss.xb.binding.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:16
9)
at
org.jboss.web.metamodel.descriptor.WebDDObjectFactory.parse(WebDDObjectF
actory.java:86)
at
org.jboss.web.tomcat.tc6.TomcatInjectionContainer.processMetadata(Tomcat
InjectionContainer.java:256)
... 65 more
Caused by: java.io.IOException: Permission denied
at java.io.FileInputStream.readBytes(Native Method)
at java.io.FileInputStream.read(FileInputStream.java:194)
at
org.apache.xerces.impl.XMLEntityManager$RewindableInputStream.read(Unkno
wn Source)
at
sun.nio.cs.StreamDecoder$CharsetSD.readBytes(StreamDecoder.java:411)
at
sun.nio.cs.StreamDecoder$CharsetSD.implRead(StreamDecoder.java:453)
at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:183)
at java.io.InputStreamReader.read(InputStreamReader.java:167)
at org.apache.xerces.impl.XMLEntityScanner.load(Unknown Source)
at org.apache.xerces.impl.XMLEntityScanner.skipSpaces(Unknown
Source)
at
org.apache.xerces.impl.XMLDocumentScannerImpl$TrailingMiscDispatcher.dis
patch(Unknown Source)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unkno
wn Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown
Source)
at
org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
at
org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.
java:174)
... 68 more
Brian Stansberry
Lead, AS Clustering
JBoss, a division of Red Hat
Ph: 510-396-3864
skype: bstansberry
IT executives: Red Hat still #1 for value
http://www.redhat.com/promo/vendor/