The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Tomcat 4.1.2

Discussion in 'General Discussion' started by dgbaker, Nov 8, 2002.

  1. dgbaker

    dgbaker Well-Known Member
    PartnerNOC

    Joined:
    Sep 20, 2002
    Messages:
    2,578
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    Toronto, Ontario Canada
    cPanel Access Level:
    DataCenter Provider
    Just curious if there is anyone that has been able to get Tomcat 4.1.2 working and stable in a cpanel environment.

    Reason I'm asking is that tried several installs (not off layer1) ;) and cannot get jsp's nor servlets functioning. In most of the cases there is an error during startup - Parse error in default web.xml

    I cannot get past this. Tried rebuilding web.xml and server.xml, copied in fresh ones to no avail.

    If anyone has this version working I would be very interested to know what if anything special had to be done.
     
  2. ozzi4648

    ozzi4648 Guest

    In the other thread you mentioned that installing 4.0.x solved your installation problems on your new server. I downloaded your version and recieved the same install errors as before namely this one.

    An unexpected exception has been detected in native code outside the VM.
    Unexpected Signal : 11 occurred at PC=0x400BE68F
    Function=memcpy+0x27
    Library=/lib/libc.so.6

    Current Java thread:
    at java.lang.StringCoding.decode(StringCoding.java:207)
    at java.lang.StringCoding.decode(StringCoding.java:226)
    at java.lang.String.&init&(String.java:380)
    at java.lang.String.&init&(String.java:399)
    at java.lang.System.initProperties(Native Method)
    at java.lang.System.initializeSystemClass(System.java:870)

    Dynamic libraries:
    Can not get information for pid = 24546

    Local Time = Mon Nov 4 22:06:32 2002
    Elapsed Time = 0
    #
    # The exception above was detected in native code outside the VM
    #
    # Java VM: Java HotSpot(TM) Client VM (1.4.0-b92 mixed mode)
    #
    ./bootstrap.sh: line 118: 24546 Aborted (core dumped) &${JAVAC}& $BOOTJAVAC_OPTS -d ${CLASSDIR} ${TOOLS}/bzip2/*.java ${TOOLS}/tar/*.java ${TOOLS}/zip/*.java ${TOOLS}/ant/util/regexp/RegexpMatcher.java

    In the end i just removed all reference to Tomcat from httpd.conf because it just doesnt install properly.
     
  3. dgbaker

    dgbaker Well-Known Member
    PartnerNOC

    Joined:
    Sep 20, 2002
    Messages:
    2,578
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    Toronto, Ontario Canada
    cPanel Access Level:
    DataCenter Provider
    ozzi - have you tried to reinstall the jvm? Also before Tomcat install in your case, check the env variables and remove any reference to tomcat or jakarta.

    Plus make sure the following have the correct paths

    CATALINA_HOME=
    JAVA_HOME=
    PATH=/usr/java/j2sdk1.4.0/bin

    That's probably the best I can do for you without knowing the system.
     
  4. HOSTFORWEB

    HOSTFORWEB Well-Known Member
    PartnerNOC

    Joined:
    Feb 6, 2002
    Messages:
    94
    Likes Received:
    0
    Trophy Points:
    6
    The latest tomcat from cpanel 4.1.12 is killing and overloading apache.

    Is anyone have some problems?

    In the error log something about jk_worker and so on.

    The loaded caused by apache is over 100
     
  5. dgbaker

    dgbaker Well-Known Member
    PartnerNOC

    Joined:
    Sep 20, 2002
    Messages:
    2,578
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    Toronto, Ontario Canada
    cPanel Access Level:
    DataCenter Provider
    I'd recommend switching to 4.0.3. That 4.1.x has nothing but trouble.
     
  6. webline

    webline Member

    Joined:
    Nov 6, 2003
    Messages:
    20
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Singapore
    i'm currently running 4.1.12
    working fine.

    everything works now.
    test.jsp works
    IsItWorking.class servlet works too

    no problem adding servlet to domains/accouns in WHM
    :)
     
  7. dgbaker

    dgbaker Well-Known Member
    PartnerNOC

    Joined:
    Sep 20, 2002
    Messages:
    2,578
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    Toronto, Ontario Canada
    cPanel Access Level:
    DataCenter Provider
    Yeah this thread was from last year :D
     
  8. webline

    webline Member

    Joined:
    Nov 6, 2003
    Messages:
    20
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Singapore
    oops... :x
    but do you mind telling me how to go about doing that. thanks.:D
     
Loading...

Share This Page