Results 1 to 6 of 6

Thread: how do i start Tomcat6 server

  1. #1
    sandesh87 NNTP User

    Question how do i start Tomcat6 server

    i have installed tomcat6 server.
    i m using openSuse11.1
    how do i start the tomcat server?

    pls. help.

  2. #2
    Join Date
    Jun 2008
    Location
    UTC+10
    Posts
    9,686
    Blog Entries
    4

    Default Re: how do i start Tomcat6 server

    /etc/init.d/tomcat6 start

    or through YaST.

  3. #3
    sandesh87 NNTP User

    Default Re: how do i start Tomcat6 server

    thanx, but it doesnt work. have a look:

    sandesh@linux-jm3b:/> /etc/init.d/tomcat6 start
    Starting Tomcat (/usr/share/tomcat6)lock file found but no process running for pid 15528, continuingtouch: cannot touch `/var/run/tomcat6.pid': Permission denied
    chown: changing ownership of `/var/run/tomcat6.pid': Operation not permitted
    touch: cannot touch `/var/log/tomcat6/catalina.out': Permission denied
    chown: cannot access `/var/log/tomcat6/catalina.out': Permission denied
    /etc/init.d/tomcat6: line 222: /var/log/tomcat6/catalina.out: Permission denied
    failed

    sandesh@linux-jm3b:/> sudo /etc/inti.d/tomcat6 start
    root's password:
    sudo: /etc/inti.d/tomcat6: command not found
    sandesh@linux-jm3b:/> sudo su
    linux-jm3b:/ # /etc/init.d/tomcat6 start
    Starting Tomcat (/usr/share/tomcat6)lock file found but no process running for pid 15528, continuing done

  4. #4
    Join Date
    Jun 2008
    Location
    UTC+10
    Posts
    9,686
    Blog Entries
    4

    Default Re: how do i start Tomcat6 server

    That last attempt succeeded. There should be a java process running tomcat6.

  5. #5
    sandesh87 NNTP User

    Default Re: how do i start Tomcat6 server

    Quote Originally Posted by ken_yap View Post
    That last attempt succeeded. There should be a java process running tomcat6.
    the last attempt didn't succeed, coz i couln't get the page
    http://localhost:8080/

    but i solved it.

    i checked the log
    it said /etc/java not found
    so i created a link for java there
    $ln -s .......

  6. #6
    Join Date
    Jun 2008
    Location
    UTC+10
    Posts
    9,686
    Blog Entries
    4

    Default Re: how do i start Tomcat6 server

    Maybe because you haven't used the openSUSE Java packages, which automatically set up JAVA_HOME to /usr/lib(64)/java/jvm, which through a couple of symlinks, points to the selected version of java.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •