• Halloween is coming! To celebrate the occasion, we dusted off a couple of old skins, and even created a brand new one (Pixel).
    To get into the festive spirit, install the Skins extension.
  • The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

Tomcat problem

Z

zarathustra

Guest
I have a problem in a jsp page, i have 2 different servers with plesk 7.5 and tomcat4 in the first one the page works fine but in the other not. i copied all the confs exacly, all permission, evrithing, but no way.

In the server ok i have RedHat 9 in the newer I have Fedora 3

I tryed to compile manually the page like said in plesk knowledge base:
http://kb.swsoft.com/article_57_250_en.html

but i get this error:

[root@lnx8236 conf]# /usr/java/j2sdk1.4.2/bin/javac -classpath /usr/java/j2sdk1.4.2_04/lib/tools.jar:/var/tomcat4/bin/bootstrap.jar:/var/cache/tomcat4/work/PSA/itineraliguria.it/itinera/WEB-INF/classes:/var/tomcat4/shared/classes:/var/tomcat4/common/classes:/var/tomcat4/common/endorsed/jaxp_parser_impl.jar:/var/tomcat4/common/endorsed/xml- commons-apis.jar:/var/tomcat4/common/lib/commons-collections.jar:/var/tomcat4/common/lib/activation.jar:/var/tomcat4/common/lib/ant.jar:/var/tomcat4/common/lib/commons-logging-api.jar:/var/tomcat4/common/lib/commons-dbcp.jar:/var/tomcat4/common/lib/naming-resources.jar:/var/tomcat4/common/lib/commons-pool.jar:/var/tomcat4/common/lib/jasper-compiler.jar:/var/tomcat4/common/lib/jasper-runtime.jar:/var/tomcat4/common/lib/jdbc2_0-stdext.jar:/var/tomcat4/common/lib/jndi.jar:/var/tomcat4/common/lib/jta.jar:/var/tomcat4/common/lib/mailapi.jar:/var/tomcat4/common/lib/naming-common.jar:/var/tomcat4/common/lib/naming-factory.jar:/var/tomcat4/common/lib/servlet.jar -sourcepath /var/tomcat4/work/PSA/itineraliguria.it/itinera/ -encoding UTF8 -g /var/tomcat4/work/PSA/itineraliguria.it/itinera/itiner_popup_jsp.java
/var/tomcat4/work/PSA/itineraliguria.it/itinera/itiner_popup_jsp.java:36: 'try' without 'catch' or 'finally'
try {
^
/var/tomcat4/work/PSA/itineraliguria.it/itinera/itiner_popup_jsp.java:374: illegal start of type
} catch (Throwable t) {
^
/var/tomcat4/work/PSA/itineraliguria.it/itinera/itiner_popup_jsp.java:382: <identifier> expected
}
^
/var/tomcat4/work/PSA/itineraliguria.it/itinera/itiner_popup_jsp.java:383: 'class' or 'interface' expected
}
^
/var/tomcat4/work/PSA/itineraliguria.it/itinera/itiner_popup_jsp.java:384: 'class' or 'interface' expected
^
5 errorshttp://kb.swsoft.com/article_57_250_en.html

any ideas? i'm about 2 hours working on it but with no results.
 
Back
Top