admin0
07-09-2002, 08:04 AM
Hi.
For offering JSP for Cpanel, which is the best ?
Apache JServ or Tomcat ?
:homer:
For offering JSP for Cpanel, which is the best ?
Apache JServ or Tomcat ?
:homer:
![]() | View Full Version : Apache JServ or TomCat ? admin0 07-09-2002, 08:04 AM Hi. For offering JSP for Cpanel, which is the best ? Apache JServ or Tomcat ? :homer: webx 07-09-2002, 12:44 PM Tomcat diederik 07-09-2002, 04:27 PM Tomcat :D Jedito 07-09-2002, 04:45 PM 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 :) Shyne 07-09-2002, 04:47 PM I heard JServ is better. Tomcat is a pain if you are new. webx 07-10-2002, 01:59 AM Shyne, Your information is correct if you are still in 2000 :) Tomcat has changed a lot since then. admin0 07-10-2002, 09:20 AM Thanks Guys!! TOMCAT is the chosen one :D Anything to consider if installing for use with CPanel ? :homer: diederik 07-10-2002, 12:24 PM Originally posted by admin0 Thanks Guys!! TOMCAT is the chosen one :D Anything to consider if installing for use with CPanel ? :homer: 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 :) Jedito 07-10-2002, 01:35 PM 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. admin0 07-10-2002, 01:39 PM 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] :) :homer: Cephren 07-10-2002, 02:30 PM 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 Jedito 07-10-2002, 02:37 PM 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. Jedito 07-10-2002, 02:40 PM 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] :) :homer: 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. admin0 07-10-2002, 03:47 PM 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 ? :homer: driverdave 07-10-2002, 04:32 PM I think tomcat reccomends at least 1.5 tons of RAM. |