[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Random problem (Access is denied) while starting default
tomespo214
do-not-reply at jboss.com
Thu Mar 12 13:05:54 EDT 2009
Thanks for the replies PeterJ.
Everything is under c:\devtools. (JDK, JBoss). I get the same thing from the command line. The error happens randomly which makes it that much more difficult to debug. I read something about people putting jboss on a different logical disk (d:, e:) and having it work. I would expect a consistent failure if that was the case though.
Here is the log...
13:01:16,584 INFO [Server] Starting JBoss (MX MicroKernel)...
| 13:01:16,587 INFO [Server] Release ID: JBoss [Trinity] 4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=200807181417)
| 13:01:16,589 INFO [Server] Home Dir: C:\devtools\jboss-4.2.3.GA
| 13:01:16,589 INFO [Server] Home URL: file:/C:/devtools/jboss-4.2.3.GA/
| 13:01:16,591 INFO [Server] Patch URL: null
| 13:01:16,591 INFO [Server] Server Name: default
| 13:01:16,591 INFO [Server] Server Home Dir: C:\devtools\jboss-4.2.3.GA\server\default
| 13:01:16,592 INFO [Server] Server Home URL: file:/C:/devtools/jboss-4.2.3.GA/server/default/
| 13:01:16,592 INFO [Server] Server Log Dir: C:\devtools\jboss-4.2.3.GA\server\default\log
| 13:01:16,593 INFO [Server] Server Temp Dir: C:\devtools\jboss-4.2.3.GA\server\default\tmp
| 13:01:16,594 INFO [Server] Root Deployment Filename: jboss-service.xml
| 13:01:17,207 INFO [ServerInfo] Java version: 1.6.0_12,Sun Microsystems Inc.
| 13:01:17,209 INFO [ServerInfo] Java VM: Java HotSpot(TM) Client VM 11.2-b01,Sun Microsystems Inc.
| 13:01:17,209 INFO [ServerInfo] OS-System: Windows Vista 6.0,x86
| 13:01:17,913 INFO [Server] Core system initialized
| 13:01:18,029 ERROR [MainDeployer] Could not make local copy for file:/C:/devtools/jboss-4.2.3.GA/server/default/conf/jboss-service.xml
| java.io.FileNotFoundException: C:\devtools\jboss-4.2.3.GA\server\default\tmp\deploy\tmp922291886366333985jboss-service.xml (Access is denied)
| at java.io.FileOutputStream.open(Native Method)
| at java.io.FileOutputStream.<init>(Unknown Source)
| at java.io.FileOutputStream.<init>(Unknown Source)
| at org.jboss.deployment.MainDeployer.copy(MainDeployer.java:1242)
| at org.jboss.deployment.MainDeployer.makeLocalCopy(MainDeployer.java:1187)
| at org.jboss.deployment.MainDeployer.init(MainDeployer.java:851)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:809)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
| at java.lang.reflect.Method.invoke(Unknown Source)
| 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 $Proxy5.deploy(Unknown Source)
| at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
| at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
| at org.jboss.Main.boot(Main.java:200)
| at org.jboss.Main$1.run(Main.java:508)
| at java.lang.Thread.run(Unknown Source)
| 13:01:18,049 ERROR [MainDeployer] Could not initialise deployment: file:/C:/devtools/jboss-4.2.3.GA/server/default/conf/jboss-service.xml
| org.jboss.deployment.DeploymentException: C:\devtools\jboss-4.2.3.GA\server\default\tmp\deploy\tmp922291886366333985jboss-service.xml; - nested throwable: (java.io.FileNotFoundException: C:\devtools\jboss-4.2.3.GA\server\default\tmp\deploy\tmp922291886366333985jboss-service.xml)
| at org.jboss.deployment.SARDeployer.init(SARDeployer.java:219)
| 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 org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
| at java.lang.reflect.Method.invoke(Unknown Source)
| 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 $Proxy5.deploy(Unknown Source)
| at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
| at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
| at org.jboss.Main.boot(Main.java:200)
| at org.jboss.Main$1.run(Main.java:508)
| at java.lang.Thread.run(Unknown Source)
| Caused by: java.io.FileNotFoundException: C:\devtools\jboss-4.2.3.GA\server\default\tmp\deploy\tmp922291886366333985jboss-service.xml
| at org.jboss.net.protocol.file.FileURLConnection.connect(FileURLConnection.java:94)
| at org.jboss.net.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:103)
| at java.net.URL.openStream(Unknown Source)
| at org.jboss.deployment.SARDeployer.parseDocument(SARDeployer.java:620)
| at org.jboss.deployment.SARDeployer.init(SARDeployer.java:181)
| ... 23 more
| Failed to boot JBoss:
| org.jboss.deployment.DeploymentException: C:\devtools\jboss-4.2.3.GA\server\default\tmp\deploy\tmp922291886366333985jboss-service.xml; - nested throwable: (java.io.FileNotFoundException: C:\devtools\jboss-4.2.3.GA\server\default\tmp\deploy\tmp922291886366333985jboss-service.xml)
| at org.jboss.deployment.SARDeployer.init(SARDeployer.java:219)
| 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 org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
| at java.lang.reflect.Method.invoke(Unknown Source)
| 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 $Proxy5.deploy(Unknown Source)
| at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
| at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
| at org.jboss.Main.boot(Main.java:200)
| at org.jboss.Main$1.run(Main.java:508)
| at java.lang.Thread.run(Unknown Source)
| Caused by: java.io.FileNotFoundException: C:\devtools\jboss-4.2.3.GA\server\default\tmp\deploy\tmp922291886366333985jboss-service.xml
| at org.jboss.net.protocol.file.FileURLConnection.connect(FileURLConnection.java:94)
| at org.jboss.net.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:103)
| at java.net.URL.openStream(Unknown Source)
| at org.jboss.deployment.SARDeployer.parseDocument(SARDeployer.java:620)
| at org.jboss.deployment.SARDeployer.init(SARDeployer.java:181)
| ... 23 more
| 13:01:18,066 INFO [Server] Runtime shutdown hook called, forceHalt: true
| 13:01:18,067 INFO [Server] JBoss SHUTDOWN: Undeploying all packages
| 13:01:18,085 INFO [Server] Shutdown complete
| Shutdown complete
| Halting VM
|
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4217585#4217585
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4217585
More information about the jboss-user
mailing list