[jboss-user] [Installation, Configuration & DEPLOYMENT] - Random problem (Access is denied) while starting default JBO

kranjcec do-not-reply at jboss.com
Mon Nov 12 08:17:46 EST 2007


Hi

I have strange random problem when JBOSS-4.2.2.GA is starting. Jboss randomly has problem with writing TMP files - on almost every start problem is with different file. Sometimes JBoss is started without problem.

This is default JBoss distribution, just unzipped and started.

I'm working as administrator on my machine.

When JBoss is unzipped on another disc (E:\tmp_jboss\jboss-4.2.2.GA), everything works fine.

This is example of error:

  | C:\devtools\servers\jboss\jboss-4.2.2.GA\bin>run
  | ===============================================================================
  | 
  |   JBoss Bootstrap Environment
  | 
  |   JBOSS_HOME: C:\devtools\servers\jboss\jboss-4.2.2.GA
  | 
  |   JAVA: C:\devtools\jdks\jdk1.6.0_02\bin\java
  | 
  |   JAVA_OPTS:  -Dprogram.name=run.bat -server -Xms128m -Xmx512m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=36000
  | 00
  | 
  |   CLASSPATH: C:\devtools\jdks\jdk1.6.0_02\lib\tools.jar;C:\devtools\servers\jboss\jboss-4.2.2.GA\bin\run.jar
  | 
  | ===============================================================================
  | 
  | 08:31:24,589 INFO  [Server] Starting JBoss (MX MicroKernel)...
  | 08:31:24,592 INFO  [Server] Release ID: JBoss [Trinity] 4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)
  | 08:31:24,596 INFO  [Server] Home Dir: C:\devtools\servers\jboss\jboss-4.2.2.GA
  | 08:31:24,598 INFO  [Server] Home URL: file:/C:/devtools/servers/jboss/jboss-4.2.2.GA/
  | 08:31:24,602 INFO  [Server] Patch URL: null
  | 08:31:24,604 INFO  [Server] Server Name: default
  | 08:31:24,606 INFO  [Server] Server Home Dir: C:\devtools\servers\jboss\jboss-4.2.2.GA\server\default
  | 08:31:24,609 INFO  [Server] Server Home URL: file:/C:/devtools/servers/jboss/jboss-4.2.2.GA/server/default/
  | 08:31:24,612 INFO  [Server] Server Log Dir: C:\devtools\servers\jboss\jboss-4.2.2.GA\server\default\log
  | 08:31:24,615 INFO  [Server] Server Temp Dir: C:\devtools\servers\jboss\jboss-4.2.2.GA\server\default\tmp
  | 08:31:24,617 INFO  [Server] Root Deployment Filename: jboss-service.xml
  | 08:31:24,891 INFO  [ServerInfo] Java version: 1.6.0_02,Sun Microsystems Inc.
  | 08:31:24,903 INFO  [ServerInfo] Java VM: Java HotSpot(TM) Server VM 1.6.0_02-b05,Sun Microsystems Inc.
  | 08:31:24,905 INFO  [ServerInfo] OS-System: Windows Vista 6.0,x86
  | 08:31:25,358 INFO  [Server] Core system initialized
  | 08:31:25,377 ERROR [MainDeployer] Could not make local copy for file:/C:/devtools/servers/jboss/jboss-4.2.2.GA/server/default/conf/jboss-service.xml
  | java.io.FileNotFoundException: C:\devtools\servers\jboss\jboss-4.2.2.GA\server\default\tmp\deploy\tmp43243jboss-service.xml (Access is denied)
  |         at java.io.FileOutputStream.open(Native Method)
  |         at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
  |         at java.io.FileOutputStream.<init>(FileOutputStream.java:131)
  |         at org.jboss.deployment.MainDeployer.copy(MainDeployer.java:1242)
  | 

Another example:

  | C:\devtools\servers\jboss\jboss-4.2.2.GA\bin>run
  | ===============================================================================
  | 
  |   JBoss Bootstrap Environment
  | 
  |   JBOSS_HOME: C:\devtools\servers\jboss\jboss-4.2.2.GA
  | 
  |   JAVA: C:\devtools\jdks\jdk1.6.0_02\bin\java
  | 
  |   JAVA_OPTS:  -Dprogram.name=run.bat -server -Xms128m -Xmx512m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=36000
  | 00
  | 
  |   CLASSPATH: C:\devtools\jdks\jdk1.6.0_02\lib\tools.jar;C:\devtools\servers\jboss\jboss-4.2.2.GA\bin\run.jar
  | 
  | ===============================================================================
  | 
  | 08:44:36,588 INFO  [Server] Starting JBoss (MX MicroKernel)...
  | 08:44:36,589 INFO  [Server] Release ID: JBoss [Trinity] 4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)
  | 08:44:36,590 INFO  [Server] Home Dir: C:\devtools\servers\jboss\jboss-4.2.2.GA
  | 08:44:36,591 INFO  [Server] Home URL: file:/C:/devtools/servers/jboss/jboss-4.2.2.GA/
  | 08:44:36,591 INFO  [Server] Patch URL: null
  | 08:44:36,592 INFO  [Server] Server Name: default
  | 08:44:36,592 INFO  [Server] Server Home Dir: C:\devtools\servers\jboss\jboss-4.2.2.GA\server\default
  | 08:44:36,592 INFO  [Server] Server Home URL: file:/C:/devtools/servers/jboss/jboss-4.2.2.GA/server/default/
  | 08:44:36,592 INFO  [Server] Server Log Dir: C:\devtools\servers\jboss\jboss-4.2.2.GA\server\default\log
  | 08:44:36,593 INFO  [Server] Server Temp Dir: C:\devtools\servers\jboss\jboss-4.2.2.GA\server\default\tmp
  | 08:44:36,593 INFO  [Server] Root Deployment Filename: jboss-service.xml
  | 08:44:36,855 INFO  [ServerInfo] Java version: 1.6.0_02,Sun Microsystems Inc.
  | 08:44:36,855 INFO  [ServerInfo] Java VM: Java HotSpot(TM) Server VM 1.6.0_02-b05,Sun Microsystems Inc.
  | 08:44:36,855 INFO  [ServerInfo] OS-System: Windows Vista 6.0,x86
  | 08:44:37,127 INFO  [Server] Core system initialized
  | 08:44:39,156 INFO  [WebService] Using RMI server codebase: http://127.0.0.1:8083/
  | 08:44:39,158 INFO  [Log4jService$URLWatchTimerTask] Configuring from URL: resource:jboss-log4j.xml
  | 08:44:39,562 INFO  [TransactionManagerService] JBossTS Transaction Service (JTA version) - JBoss Inc.
  | 08:44:39,563 INFO  [TransactionManagerService] Setting up property manager MBean and JMX layer
  | 08:44:39,727 INFO  [TransactionManagerService] Starting recovery manager
  | 08:44:39,801 INFO  [TransactionManagerService] Recovery manager started
  | 08:44:39,802 INFO  [TransactionManagerService] Binding TransactionManager JNDI Reference
  | 08:44:42,295 INFO  [EJB3Deployer] Starting java:comp multiplexer
  | 08:44:42,590 INFO  [STDOUT] no object for null
  | 08:44:42,593 INFO  [STDOUT] no object for null
  | 08:44:42,607 INFO  [STDOUT] no object for null
  | 08:44:42,623 INFO  [STDOUT] no object for {urn:jboss:bean-deployer}supplyType
  | 08:44:42,631 INFO  [STDOUT] no object for {urn:jboss:bean-deployer}dependsType
  | 08:44:43,178 ERROR [MainDeployer] Could not make local copy for file:/C:/devtools/servers/jboss/jboss-4.2.2.GA/server/default/deploy/jbossws
  | .sar/jboss-jaxrpc.jar
  | java.io.FileNotFoundException: C:\devtools\servers\jboss\jboss-4.2.2.GA\server\default\tmp\deploy\tmp23323jboss-jaxrpc.jar (Access is denied
  | )
  |         at java.io.FileOutputStream.open(Native Method)
  |         at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
  |         at java.io.FileOutputStream.<init>(FileOutputStream.java:131)
  |         at org.jboss.deployment.MainDeployer.copy(MainDeployer.java:1242)
  | 

One more example:

  | C:\devtools\servers\jboss\jboss-4.2.2.GA\bin>run
  | ===============================================================================
  | 
  |   JBoss Bootstrap Environment
  | 
  |   JBOSS_HOME: C:\devtools\servers\jboss\jboss-4.2.2.GA
  | 
  |   JAVA: C:\devtools\jdks\jdk1.6.0_03\bin\java
  | 
  |   JAVA_OPTS:  -Dprogram.name=run.bat -server -Xms128m -Xmx512m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=36000
  | 00
  | 
  |   CLASSPATH: C:\devtools\jdks\jdk1.6.0_03\lib\tools.jar;C:\devtools\servers\jboss\jboss-4.2.2.GA\bin\run.jar
  | 
  | ===============================================================================
  | 
  | 14:06:10,839 INFO  [Server] Starting JBoss (MX MicroKernel)...
  | 14:06:10,840 INFO  [Server] Release ID: JBoss [Trinity] 4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)
  | 14:06:10,841 INFO  [Server] Home Dir: C:\devtools\servers\jboss\jboss-4.2.2.GA
  | 14:06:10,841 INFO  [Server] Home URL: file:/C:/devtools/servers/jboss/jboss-4.2.2.GA/
  | 14:06:10,842 INFO  [Server] Patch URL: null
  | 14:06:10,842 INFO  [Server] Server Name: default
  | 14:06:10,842 INFO  [Server] Server Home Dir: C:\devtools\servers\jboss\jboss-4.2.2.GA\server\default
  | 14:06:10,843 INFO  [Server] Server Home URL: file:/C:/devtools/servers/jboss/jboss-4.2.2.GA/server/default/
  | 14:06:10,843 INFO  [Server] Server Log Dir: C:\devtools\servers\jboss\jboss-4.2.2.GA\server\default\log
  | 14:06:10,844 INFO  [Server] Server Temp Dir: C:\devtools\servers\jboss\jboss-4.2.2.GA\server\default\tmp
  | 14:06:10,845 INFO  [Server] Root Deployment Filename: jboss-service.xml
  | 14:06:11,125 INFO  [ServerInfo] Java version: 1.6.0_03,Sun Microsystems Inc.
  | 14:06:11,125 INFO  [ServerInfo] Java VM: Java HotSpot(TM) Server VM 1.6.0_03-b05,Sun Microsystems Inc.
  | 14:06:11,126 INFO  [ServerInfo] OS-System: Windows Vista 6.0,x86
  | 14:06:11,418 INFO  [Server] Core system initialized
  | 14:06:13,581 INFO  [WebService] Using RMI server codebase: http://127.0.0.1:8083/
  | 14:06:13,583 INFO  [Log4jService$URLWatchTimerTask] Configuring from URL: resource:jboss-log4j.xml
  | 14:06:13,993 INFO  [TransactionManagerService] JBossTS Transaction Service (JTA version) - JBoss Inc.
  | 14:06:13,994 INFO  [TransactionManagerService] Setting up property manager MBean and JMX layer
  | 14:06:14,217 INFO  [TransactionManagerService] Starting recovery manager
  | 14:06:14,293 INFO  [TransactionManagerService] Recovery manager started
  | 14:06:14,294 INFO  [TransactionManagerService] Binding TransactionManager JNDI Reference
  | 14:06:15,901 ERROR [MainDeployer] Could not make local copy for file:/C:/devtools/servers/jboss/jboss-4.2.2.GA/server/default/deploy/jboss-web.deployer/jbossweb-service.jar
  | java.io.FileNotFoundException: C:\devtools\servers\jboss\jboss-4.2.2.GA\server\default\tmp\deploy\tmp61927jbossweb-service.jar (Access is denied)
  |         at java.io.FileOutputStream.open(Native Method)
  |         at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
  |         at java.io.FileOutputStream.<init>(FileOutputStream.java:131)
  |         at org.jboss.deployment.MainDeployer.copy(MainDeployer.java:1242)
  | 


Any help appreciated. 
Thanks.

Regards,
Denis

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4103661#4103661

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4103661



More information about the jboss-user mailing list