2 Replies Latest reply on Apr 18, 2002 7:44 AM by Adrian Brock

    novice install questions

    michelangelo Newbie


      Hello all. I am trying to setup Jboss2.4.4+Tomcat3.2.3 on solaris 2.8. I am gettin the folowing errors:

      senna-\!> sh run_with_tomcat.sh
      JBOSS_CLASSPATH=:/usr/j2se/lib/tools.jar:run.jar:../lib/crimson.jar
      jboss.home = /usr/jboss_tomcat/JBoss-2.4.4_Tomcat-3.2.3/jboss
      Using JAAS LoginConfig: file:/usr/jboss_tomcat/JBoss-2.4.4_Tomcat-3.2.3/jboss/conf/tomcat/auth.conf
      JBoss release: JBoss-2.4.4 CVSTag=JBoss_2_4_4
      JBoss version: 2.4.4.2001-12-29 02:04:40 PST
      Using configuration "tomcat"
      log4j:ERROR setFile(null,false) call failed.
      java.io.FileNotFoundException: ../log/server.log (Permission denied)
      at java.io.FileOutputStream.open(Native Method)
      at java.io.FileOutputStream.(FileOutputStream.java:102)
      at java.io.FileWriter.(FileWriter.java:39)
      at org.apache.log4j.FileAppender.setFile(FileAppender.java:284)
      at org.apache.log4j.RollingFileAppender.setFile(RollingFileAppender.java:198)
      at org.apache.log4j.FileAppender.activateOptions(FileAppender.java:239)
      at org.apache.log4j.config.PropertySetter.activate(PropertySetter.java:247)
      at org.apache.log4j.config.PropertySetter.setProperties(Compiled Code)
      at org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:87)
      at org.apache.log4j.PropertyConfigurator.parseAppender(PropertyConfigurator.java:637)
      at org.apache.log4j.PropertyConfigurator.parseCategory(Compiled Code)
      at org.apache.log4j.PropertyConfigurator.configureRootCategory(PropertyConfigurator.java:502)
      at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:410)
      at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:436)
      at org.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionConverter.java:455)
      at org.apache.log4j.Category.(Category.java:146)
      at org.apache.log4j.PropertyWatchdog.doOnChange(PropertyConfigurator.java:665)
      at org.apache.log4j.helpers.FileWatchdog.checkAndConfigure(FileWatchdog.java:80)
      at org.apache.log4j.helpers.FileWatchdog.(FileWatchdog.java:49)
      at org.apache.log4j.PropertyWatchdog.(PropertyConfigurator.java:657)
      at org.apache.log4j.PropertyConfigurator.configureAndWatch(PropertyConfigurator.java:373)
      at org.jboss.logging.Log4jService.start(Log4jService.java:111)
      at org.jboss.logging.Log4jService.preRegister(Log4jService.java:137)
      at com.sun.management.jmx.MBeanServerImpl.preRegisterInvoker(MBeanServerImpl.java:2245)
      at com.sun.management.jmx.MBeanServerImpl.createMBean(MBeanServerImpl.java:513)
      at javax.management.loading.MLet.getMBeansFromURL(Compiled Code)
      at javax.management.loading.MLet.getMBeansFromURL(MLet.java:369)
      at org.jboss.Main.(Compiled Code)
      at org.jboss.Main$1.run(Main.java:110)
      at java.security.AccessController.doPrivileged(Native Method)
      at org.jboss.Main.main(Compiled Code)
      ...
      ...
      ...

      Also, getting the "could not add shutdown hook" error


      my .profile file has:

      PATH=/usr/ucb:/bin:/usr/j2se/bin:/usr/j2ee/j2sdkee1.3.1/bin:/usr/bin:usr/local/bin:.
      LPDEST=ps
      J2EE_HOME=/usr/j2ee/j2sdkee1.3.1
      JAVA_HOME=/usr/j2se
      EDITOR=emacs
      MORE=-c
      ARCH_DIR=/home/pubg95/archdir/
      mesg y
      biff y
      PS1="`uname -n`-\!> "
      export PATH LPDEST J2EE_HOME JAVA_HOME EDITOR MORE


      Any suggestions with these?

      Thanks