• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.

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