2 Replies Latest reply on May 5, 2011 2:34 PM by scottymac

    GateIn with Tomcat 6 (need help with inital run)

    Newbie

      Hi, I am trying to run GateIn with Tomcat 6 to evalute the use of the portal with our Tomcat server.  I installed the correct version for Tomcat and set my JAVA_HOME pointing to my java jdk directory.  When I try to start via './gatein-dev.sh run', I get the following error:

       

      Using CATALINA_BASE:   /opt/gatein/GateIn-3.1.0-GA

      Using CATALINA_HOME:   /opt/gatein/GateIn-3.1.0-GA

      Using CATALINA_TMPDIR: /opt/gatein/GateIn-3.1.0-GA/temp

      Using JRE_HOME:       /opt/jdk/jdk1.6.0_17

      Listening for transport dt_socket at address: 8000

      java.util.logging.ErrorManager: 4

      java.io.FileNotFoundException: /opt/gatein/GateIn-3.1.0-GA/logs/catalina.2011-05-05.log (Permission denied)

              at java.io.FileOutputStream.openAppend(Native Method)

              at java.io.FileOutputStream.<init>(FileOutputStream.java:177)

              at java.io.FileOutputStream.<init>(FileOutputStream.java:102)

              at java.io.FileWriter.<init>(FileWriter.java:61)

              at org.apache.juli.FileHandler.open(FileHandler.java:259)

              at org.apache.juli.FileHandler.<init>(FileHandler.java:59)

              at org.apache.juli.FileHandler.<init>(FileHandler.java:50)

              at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

              at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)

      etc, etc, etc.

       

      Is my java not setup correctly or do I have to change a path/variable somewhere?  Thanks in advance for any help.