Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Page 6 of 6 FirstFirst ... 4 5 6
Results 76 to 80 of 80
  1. #76
    Member
    Join Date
    Apr 2005
    Posts
    7

    Default Tomcat not working

    Hi sir,

    I am new to this... i have installed tomcat to my server using addon in WHM. But no admin page or any domain setup with jsp support is running its throwing error:

    HTTP Status 404 - /test.jsp

    --------------------------------------------------------------------------------

    type Status report

    message /test.jsp

    description The requested resource (/test.jsp) is not available.


    --------------------------------------------------------------------------------

    Apache Tomcat/5.5.7


    EVN I TRIED http://domain.com/jsptest.jsp but got same error as above.

    Can u please advice where is the fault lies.

    I have gone thrgh forums about the same error but unable to rectify the same.

    Best Regards,

    Ashok

  2. #77
    Member
    Join Date
    Jul 2004
    Posts
    212

    Default

    Hi Guys

    Apache Tomcat/5.5.7


    EVN I TRIED http://domain.com/jsptest.jsp but got same error as above.

    didnt you installed tomcat at :8080 have you tried http://www.domain.com:8080/jpwstest.jps
    instead?


    by the way i am using tomcats with just one root user (myself) so everytime i user needs to deploy WAR a file i upload it after inspecting it's syntax, etc

    so can one .JPS file be used to browser someother users directory /home/user for instance?

    or can it be used to spam, ? does anyone knows some security concerns to be pointed in here? or it is totaly safe?

    best regards

    CLaudio

  3. #78
    Member
    Join Date
    Jul 2003
    Location
    Pakistan
    Posts
    10

    Default

    Quote Originally Posted by dgbaker
    Edit /usr/sbin/starttomcat

    Change
    Code:
    "-Djava.endorsed.dirs=../common/endorsed",
            "org.apache.catalina.startup.Bootstrap",
            "-debug","-outfile","../logs/catalina.out",
            "-errfile","../logs/catalina.err","-verbose","-security");
    To
    Code:
    "-Djava.endorsed.dirs=$ENV{JAKARTA_HOME}/common/endorsed",
            "org.apache.catalina.startup.Bootstrap",
            "-debug","-outfile","$ENV{JAKARTA_HOME}/logs/catalina.out",
            "-errfile","$ENV{JAKARTA_HOME}/logs/catalina.err","-verbose","-security");
    I still get the following error:

    Code:
    jsvc.exec debug: user changed to 'tomcat'
    jsvc.exec debug: Using default JVM in /usr/local/jdk/jre/lib/i386/client/libjvm.so
    jsvc.exec debug: Attemtping to load library /usr/local/jdk/jre/lib/i386/client/libjvm.so
    jsvc.exec debug: JVM library /usr/local/jdk/jre/lib/i386/client/libjvm.so loaded
    jsvc.exec debug: JVM library entry point found (0x402E1680)
    jsvc.exec debug: +-- DUMPING JAVA VM CREATION ARGUMENTS -----------------
    jsvc.exec debug: | Version:                       10002
    jsvc.exec debug: | Ignore Unrecognized Arguments: False
    jsvc.exec debug: | Extra options:                 3
    jsvc.exec debug: |   "-Djava.class.path=./bootstrap.jar" (0x00000000)
    jsvc.exec debug: |   "-Djava.endorsed.dirs=/usr/local/jakarta/tomcat/common/endorsed" (0x00000000)
    jsvc.exec debug: |   "-verbose" (0x00000000)
    jsvc.exec debug: +-------------------------------------------------------
    jsvc.exec debug: Java VM created successfully
    jsvc.exec debug: Class org/apache/commons/daemon/support/DaemonLoader found
    jsvc.exec debug: Native methods registered
    jsvc.exec debug: Checking daemon
    jsvc.exec debug: Daemon checked successfully
    jsvc.exec debug: Daemon loaded successfully
    jsvc.exec error: Cannot start daemon
    jsvc.exec error: Service exit with a return value of 5

  4. #79
    Member
    Join Date
    Jul 2003
    Location
    Pakistan
    Posts
    10

    Default

    can anyone help me out?

  5. #80
    Member
    Join Date
    Jul 2003
    Location
    Pakistan
    Posts
    10

    Unhappy

    Solved.

    There were some extra context tags in server.xml which were not properly closed.

+ Reply to Thread
Page 6 of 6 FirstFirst ... 4 5 6
Similar Threads & Tags
Similar threads

  1. Replies: 1
    Last Post: 11-08-2005, 11:22 AM
  2. Does Cpanel Support JSP/Tomcat?
    By Jedia in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 03-20-2004, 07:42 AM
  3. Security - JSP / Servlet
    By BobFarkle in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 10-07-2003, 07:17 PM
  4. Tomcat 4 JSP OK Having Servlet WEB-INF issues
    By BobFarkle in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 01-19-2003, 08:36 AM
  5. How To Remove Tomcat/JSP Support
    By Myacen in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 09-03-2002, 04:52 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube