jsteel

Well-Known Member
Jul 4, 2002
646
0
166
Atlanta, GA
Anyone have anything to comment upon about the current state of the Tomcat install? We've continued to use the old 4.0.3 version due to so many people saying things were so bad with the latest out on layer1, but we just built out another server and were thinking about trying the latest again. Any input?

Jaz
 

bjarne

Well-Known Member
Mar 23, 2002
135
0
316
Looks like is sohow working

we had some guro look at current install and it looks like it working. Looks like all that is needed in the httpd.con is the config for the module.

There is a workers file created in the /usr/local/apache/conf dir and that's it looks like.

Don't know for sure how it is with virtual hosts, looks like it will work on all now. No need to add anything to each virtual host looks like ...

We are not finished study this but so far this is what we get.
 

bjarne

Well-Known Member
Mar 23, 2002
135
0
316
Looks like the last Tomcat install will work as soon as you have the load module statment - I think it was missing. SHul be mod_jk2 I think.

But theres no point trying to add into the VirtualHost container by means of using the Install servlets in WHM. It will work on all sites.

Funny is does not look like we will use it :)

So its shuld be working.
 

reggie

Member
Apr 10, 2002
6
0
301
Latest tomcat seems to work

I have just installed tomcat 4.1 cpanel install on a redhat 7.3 box, jsp works ok, will let you know how servlets go.
 

hostito

Active Member
Mar 9, 2003
26
0
151
I find that it works for me, but gives off all those debug errors, and grows in memory usage....

I kill it, restart it and memory usage goes way down. I am reading up at apache site... not sure yet what it may be...

Otherwise it works ok. Servlets/JSP that is...

cPanel.net Support Ticket Number:
 

PeteC

Well-Known Member
May 8, 2003
106
1
166
Texas
Originally posted by hostito
I find that it works for me, but gives off all those debug errors, and grows in memory usage....

I kill it, restart it and memory usage goes way down. I am reading up at apache site... not sure yet what it may be...

Otherwise it works ok. Servlets/JSP that is...

cPanel.net Support Ticket Number:
This is just a wild guess, but do you know what Java compiler you're using? The Sun compiler is notorious for its memory leaks. Probably better to configure with IBM's Jikes. But I have never setup Tomcat on a server (only on a local test machine), so I don't know all the details.

cPanel.net Support Ticket Number:
 

russellhosting

Active Member
Jun 19, 2003
26
0
156
I just tried installing JSP support for one of our domains via WHM "Servlet Support" and it looked like it setup fine, but I still can't get it to serv any jsp files.

Any ideas what I did wrong, or where I could look?

Thanks!

cPanel.net Support Ticket Number:
 

hostit1

Well-Known Member
Jul 24, 2003
88
0
156
Step by Step instructions

I attempted to install TomCat JSP, but after I "Install servlets" and try to test JSP, I always get a 404 (It's a jsp page, but it is a file not found 404)

I am using just a generic web.xml and I have also tried the http://hostitnow.com/servlets/test.HelloTest and still a 404. (It was my understanding that the HelloTest is installed defalut to troubleshoot)

cPanel.net Support Ticket Number:
 

anand

Well-Known Member
Nov 11, 2002
1,432
1
168
India
cPanel Access Level
DataCenter Provider
No demo/ test files are copied / created when you enable jsp on a domain. Only if those files are inside the skel directory will they be copied, otherwise not.

cPanel.net Support Ticket Number:
 

hostit1

Well-Known Member
Jul 24, 2003
88
0
156
Help

How can I check if JSP is actually working? Are there any test files and web.xml sample that I can use to verify that JSP is working?

cPanel.net Support Ticket Number:
 

hostit1

Well-Known Member
Jul 24, 2003
88
0
156
Help

How can I check if JSP is actually working? Are there any test files and web.xml sample that I can use to verify that JSP is working?

cPanel.net Support Ticket Number:
 

anand

Well-Known Member
Nov 11, 2002
1,432
1
168
India
cPanel Access Level
DataCenter Provider
Try this code below:


<HTML>
<HEAD><TITLE>Creating Hello World with Incremental Text Size
Increase</TITLE></HEAD>

<% for(int i = 1;i < 8;i++) { %>
<FONT SIZE=<%=i%>>Anand - Hello World</FONT><BR>
<% } %>
<% for(int i = 7;i > 0;i--) { %>
<FONT SIZE=<%=i%>>Hello World : anand</FONT><BR>
<% } %>
<br>
<br>
<br>
<br>
</BODY>
</HTML>

cPanel.net Support Ticket Number:
 

FusionBiz

Member
Sep 17, 2002
24
0
151
Can you advise me if I installed Tomcat will there be a URL link to Tomcat Manager to manage Tomcat

Thank You

cPanel.net Support Ticket Number:
 

anand

Well-Known Member
Nov 11, 2002
1,432
1
168
India
cPanel Access Level
DataCenter Provider
Originally posted by FusionBiz
Can you advise me if I installed Tomcat will there be a URL link to Tomcat Manager to manage Tomcat

Thank You

cPanel.net Support Ticket Number:
Open your whm once you install tomcat.

you will find the option to install java support for domains inside it as well as a restart tomcat (i guess it is there, just check it)

cheers!

cPanel.net Support Ticket Number:
 

ccccanada

Well-Known Member
Jan 17, 2003
279
0
166
Can you please let me know where i could get some demo files to put into the cpanel3-skel folder??

I have JSP support installed but when I enable an account for JSP nothing gets set up in the domain.

Is there some files or folders which I should have in the cpanel3-skel and where do i get those files.

Thanks any help would be gratly appreciated.

cPanel.net Support Ticket Number:
 

anand

Well-Known Member
Nov 11, 2002
1,432
1
168
India
cPanel Access Level
DataCenter Provider
I had posted some sample code for checking working of tomcat, you can place the same code in skel directory for users. I also use the same with others as well. Sorry can't provide you with all the scripts that i use as i paid heavyly to get them done.

I am sure though the hello.jsp which i posted earlier should work fine for your needs.

cPanel.net Support Ticket Number:
 

ccccanada

Well-Known Member
Jan 17, 2003
279
0
166
Thank you anand that works great!!

I have a quick question if you dont mind?

I tried to set up a domain with JSP today and a dedicated IP address but the jsp would not work untill i tricked my computer into thinking the domain name had already propagated.

Is it normal for that JSP wont work if the domain name is not propagated??

Thanks again for your help.

cPanel.net Support Ticket Number: