I'm trying to get Java working on a Plesk6 box - I've bought the Tomcat plug in.
Well, I have had some partial success here. I have created a WAR file and uploaded it to the site. Tomcat has then automatically created the application (using the name of the war file). I can access the JSP in one page, and this page is accessing a Java class I created, so in principle, the JSP bits of this application are working OK.
However, when I try and access all the other JSP pages, bar this single case, i get the following error:
WebApp: Error 500
(File: /home/builder/psa_600_rpm/psa/apache-modules/mod_webapp/work/jakarta-tomcat-connectors-4.1.24-src/webapp/lib/pr_warp.c Line: 398)
Communication interrupted
I have restarted the tomcat server, but to no avail.
We have tested this on his local machine and uploaded the .war to the Tomcat Manager with no problems at all. Howver he is not running Apache on this. Therefore the issue may centre around the configuration of 'mod_webapp' and its relationship to the Apache web server. Of the top of my head, it seems that some problem is occuring when Apache forwards requests to Tomcat via this connector perhaps.
However, it still does not quite explain why one JSP page still works while the others do not. Clearly some successful communication is ocurring via WARP.
I don’t seem to be able to access the file referenced in the error so I can not check the line 398.
I found one reference within the plesk help manuals for tomcat connectors which talks about warp connections and how to tune them. It basically asks me to add this line to mySQL:
insert into misc (param,val) values ('warp-connector-port', '9008');
Is this the way I should be proceeding, and do I just run this within phpmyadmin as is?
Any help would be greatly appreciated! I really thought Plesk woudl make running these apps easy after having gone through a miriad of disasters on Ensim!
Best,
Kino