Results 1 to 15 of 15
  1. #1
    Join Date
    Dec 2001
    Location
    Netherlands
    Posts
    849

    Apache JServ or TomCat ?

    Hi.

    For offering JSP for Cpanel, which is the best ?

    Apache JServ or Tomcat ?





    .
    # experienced Cloud/OpenStack Architect
    #
    # Feel free to PM me for any info or help to build your cloud.

  2. #2
    Join Date
    Mar 2002
    Location
    Servers
    Posts
    806
    Tomcat
    × Dedicated Servers × cPanel Shared/Reseller Hosting
    × VPS × Backups × Cloud × Colocation × Managed Services
    × Webx Networks × Serving world wide since 1997

  3. #3
    Join Date
    Jan 2002
    Location
    Luxembourg
    Posts
    1,145
    Tomcat

  4. #4
    Join Date
    Apr 2001
    Location
    Paradise
    Posts
    12,052
    Apache JServ is in a maintenance only mode at this point. This means that there will be no new official releases and that only well tested patches are being committed. No new features are being added. If you are looking for the latest implementation of a Java Servlet Engine and/or Java Server Pages (JSP) then you should consider using the Jakarta Tomcat product available from the Jakarta Project.
    So. I guess Tomcat
    Shared Web Hosting - Reseller Hosting - Semi-Dedicated Servers - SolusVM/XEN VPS
    LiteSpeed Powered - R1Soft Continuous Data Protection - 24/7 Chat/Email/Helpdesk Support
    Cpanel/WHM - Softaculous - R1soft Backup - Litespeed - Cloudlinux -Site Builder- SSH support - Account Migration
    DowntownHost LLC - In Business since 2001- West/Center/East USA - Netherlands - Singapore

  5. #5
    Join Date
    Mar 2002
    Posts
    1,003
    I heard JServ is better. Tomcat is a pain if you are new.

  6. #6
    Join Date
    Mar 2002
    Location
    Servers
    Posts
    806
    Shyne,

    Your information is correct if you are still in 2000 Tomcat has changed a lot since then.
    × Dedicated Servers × cPanel Shared/Reseller Hosting
    × VPS × Backups × Cloud × Colocation × Managed Services
    × Webx Networks × Serving world wide since 1997

  7. #7
    Join Date
    Dec 2001
    Location
    Netherlands
    Posts
    849
    Thanks Guys!!

    TOMCAT is the chosen one

    Anything to consider if installing for use with CPanel ?

    .
    # experienced Cloud/OpenStack Architect
    #
    # Feel free to PM me for any info or help to build your cloud.

  8. #8
    Join Date
    Jan 2002
    Location
    Luxembourg
    Posts
    1,145
    Originally posted by admin0
    Thanks Guys!!

    TOMCAT is the chosen one

    Anything to consider if installing for use with CPanel ?

    well get
    http://layer1.cpanel.net/jsp-install-4.x.tar.gz

    unpack
    run install
    edit the httpd.conf file as stated in the install script
    (re)start apache
    and you're done

  9. #9
    Join Date
    Apr 2001
    Location
    Paradise
    Posts
    12,052
    Originally posted by diederik


    well get
    http://layer1.cpanel.net/jsp-install-4.x.tar.gz

    unpack
    run install
    edit the httpd.conf file as stated in the install script
    (re)start apache
    and you're done
    Nahhhh.. don't do that.

    Install it from a source code, it will be better on the future, you'll know where everything has been installed, and you'll how to set it.
    Anyway, I think that the Cpanel package use mod_jk, I suggest to use mod_webapp.
    Shared Web Hosting - Reseller Hosting - Semi-Dedicated Servers - SolusVM/XEN VPS
    LiteSpeed Powered - R1Soft Continuous Data Protection - 24/7 Chat/Email/Helpdesk Support
    Cpanel/WHM - Softaculous - R1soft Backup - Litespeed - Cloudlinux -Site Builder- SSH support - Account Migration
    DowntownHost LLC - In Business since 2001- West/Center/East USA - Netherlands - Singapore

  10. #10
    Join Date
    Dec 2001
    Location
    Netherlands
    Posts
    849
    Is this normal ?

    Catalina.stop: java.net.ConnectException: Connection refused
    java.net.ConnectException: Connection refused
    at java.net.PlainSocketImpl.socketConnect(Native Method)
    at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:295)
    at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:161)
    at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:148)
    at java.net.Socket.connect(Socket.java:425)
    at java.net.Socket.connect(Socket.java:375)
    at java.net.Socket.<init>(Socket.java:290)
    at java.net.Socket.<init>(Socket.java:118)
    at org.apache.catalina.startup.Catalina.stop(Catalina.java:831)
    at org.apache.catalina.startup.Catalina.execute(Catalina.java:683)
    at org.apache.catalina.startup.Catalina.process(Catalina.java:179)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243)
    kill: usage: kill [-s sigspec | -n signum | -sigspec] [pid | job]... or kill -l [sigspec]


    got this at the last:

    Install Complete.
    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
    You must add following lines to httpd.conf under the last AddModule line

    Include "/usr/local/jakarta/jakarta-tomcat-4.0.3-src/build/conf/auto/mod_jk.conf"

    You need to also add index.jsp to the DirIndex

    You should also add the below line after AddType text/html .htm*

    AddType text/html .jsp
    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@


    how do I uninstall.sh? [don't want to do it my way on a production system]

    Last edited by admin0; 07-10-2002 at 01:44 PM.
    .
    # experienced Cloud/OpenStack Architect
    #
    # Feel free to PM me for any info or help to build your cloud.

  11. #11
    Join Date
    Jun 2001
    Posts
    597
    tomcat has a high load on the server. Make sure you got tons of ram.
    Jserve, no idea, havent played around with it.

    Kevin
    Cephren.ca

  12. #12
    Join Date
    Apr 2001
    Location
    Paradise
    Posts
    12,052
    Originally posted by Cephren
    tomcat has a high load on the server. Make sure you got tons of ram.
    Jserve, no idea, havent played around with it.

    Kevin
    Cephren.ca
    Agree, do not try to run it with less than 1 GB RAM at least.
    Shared Web Hosting - Reseller Hosting - Semi-Dedicated Servers - SolusVM/XEN VPS
    LiteSpeed Powered - R1Soft Continuous Data Protection - 24/7 Chat/Email/Helpdesk Support
    Cpanel/WHM - Softaculous - R1soft Backup - Litespeed - Cloudlinux -Site Builder- SSH support - Account Migration
    DowntownHost LLC - In Business since 2001- West/Center/East USA - Netherlands - Singapore

  13. #13
    Join Date
    Apr 2001
    Location
    Paradise
    Posts
    12,052
    Originally posted by admin0
    Is this normal ?

    Catalina.stop: java.net.ConnectException: Connection refused
    java.net.ConnectException: Connection refused
    at java.net.PlainSocketImpl.socketConnect(Native Method)
    at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:295)
    at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:161)
    at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:148)
    at java.net.Socket.connect(Socket.java:425)
    at java.net.Socket.connect(Socket.java:375)
    at java.net.Socket.<init>(Socket.java:290)
    at java.net.Socket.<init>(Socket.java:118)
    at org.apache.catalina.startup.Catalina.stop(Catalina.java:831)
    at org.apache.catalina.startup.Catalina.execute(Catalina.java:683)
    at org.apache.catalina.startup.Catalina.process(Catalina.java:179)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243)
    kill: usage: kill [-s sigspec | -n signum | -sigspec] [pid | job]... or kill -l [sigspec]


    got this at the last:

    Install Complete.
    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
    You must add following lines to httpd.conf under the last AddModule line

    Include "/usr/local/jakarta/jakarta-tomcat-4.0.3-src/build/conf/auto/mod_jk.conf"

    You need to also add index.jsp to the DirIndex

    You should also add the below line after AddType text/html .htm*

    AddType text/html .jsp
    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@


    how do I uninstall.sh? [don't want to do it my way on a production system]

    Seems like tomcat its not connecting to apache, try adding those lines Include "/usr/local/jakarta/jakarta-tomcat-4.0.3-src/build/conf/auto/mod_jk.conf"

    You need to also add index.jsp to the DirIndex

    You should also add the below line after AddType text/html .htm

    Also, you can't uninstall .sh , I mean, that's a shell script, that's why I told you to not run those ready to mess Cpanel packages.
    Shared Web Hosting - Reseller Hosting - Semi-Dedicated Servers - SolusVM/XEN VPS
    LiteSpeed Powered - R1Soft Continuous Data Protection - 24/7 Chat/Email/Helpdesk Support
    Cpanel/WHM - Softaculous - R1soft Backup - Litespeed - Cloudlinux -Site Builder- SSH support - Account Migration
    DowntownHost LLC - In Business since 2001- West/Center/East USA - Netherlands - Singapore

  14. #14
    Join Date
    Dec 2001
    Location
    Netherlands
    Posts
    849
    hehehe..


    i can do the uninstall.sh myself.

    "I think that the Cpanel package use mod_jk, I suggest to use mod_webapp."

    how about letting me know the HOWTO for the other jsp alternatives ?


    Last edited by admin0; 07-10-2002 at 05:04 PM.
    .
    # experienced Cloud/OpenStack Architect
    #
    # Feel free to PM me for any info or help to build your cloud.

  15. #15
    I think tomcat reccomends at least 1.5 tons of RAM.

Posting Permissions

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