[jboss-user] [JBoss Getting Started Documentation] - Error: Start JBoss -> log4j:ERROR setFile(null, false) call f

auduwage do-not-reply at jboss.com
Wed Sep 19 11:44:27 EDT 2007


I am trying setup a jboss in Linux box, I install j2sdk, and jboss on root and then moved /usr/local/j2sdk, /usr/local/jboss then I set the paths for JAVA_HOME, and JBOSS_HOME 
such as /usr/local/j2sdk1.4.2_15/bin:JBOSS_HOME=/usr/local/jboss/jboss-4.2.0.GA/bin

I didn't set the JAVA_OPT and also I haven't installed ANT but I thought I dont have to do those two things just to fireup the JBOSS. But I am getting bellow mentioned error... 

Can someone help..?

[administrator at linuxtest bin]$ sh run.sh
=========================================================================

  JBoss Bootstrap Environment

  JBOSS_HOME: /usr/local/jboss/jboss-4.2.0.GA

  JAVA: java

  JAVA_OPTS: -Dprogram.name=run.sh -Xms128m -Xmx512m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djava.net.preferIPv4Stack=true

  CLASSPATH: /usr/local/jboss/jboss-4.2.0.GA/bin/run.jar

=========================================================================

log4j:ERROR setFile(null,false) call failed.
java.io.FileNotFoundException: /usr/local/jboss/jboss-4.2.0.GA/server/default/log/boot.log (Permission denied)
   at gnu.java.nio.channels.FileChannelImpl.open (libgcj.so.7)
   at gnu.java.nio.channels.FileChannelImpl. (libgcj.so.7)
   at java.io.FileOutputStream. (libgcj.so.7)
   at java.io.FileOutputStream. (libgcj.so.7)
   at org.apache.log4j.FileAppender.setFile (FileAppender.java:289)
   at org.apache.log4j.FileAppender.activateOptions (FileAppender.java:168)
   at org.apache.log4j.config.PropertySetter.activate (PropertySetter.java:258)
   at org.apache.log4j.config.PropertySetter.setProperties (PropertySetter.java:133)


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

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



More information about the jboss-user mailing list