• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • 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.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Troubles with Tomcat

  • Thread starter ducatimonster90
  • Start date
D

ducatimonster90

Guest
I have purchased a VPS with the Plesk Power Pack from StartLogic about three months ago.
Last week I started using Tomcat and noticed immediately that the service did not start.
From the log I have noticed there is aproblem with a jar file, the error exactly says:

-------------------------------------------------------------------------------------------------------
Bootstrap: Class loader creation threw exception
java.lang.IllegalArgumentException: addRepositoryInternal: repository='file:/var/lib/tomcat5/common/lib/[jta].jar'
at org.apache.catalina.loader.StandardClassLoader.addRepositoryInternal(StandardClassLoader.java:957)
at org.apache.catalina.loader.StandardClassLoader.<init>(StandardClassLoader.java:153)
at org.apache.catalina.startup.ClassLoaderFactory.createClassLoader(ClassLoaderFactory.java:207)
at org.apache.catalina.startup.Bootstrap.createClassLoader(Bootstrap.java:163)
at org.apache.catalina.startup.Bootstrap.initClassLoaders(Bootstrap.java:104)
at org.apache.catalina.startup.Bootstrap.init(Bootstrap.java:196)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:402)
Caused by: java.util.zip.ZipException: No such file or directory
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(ZipFile.java:112)
at java.util.jar.JarFile.<init>(JarFile.java:127)
at java.util.jar.JarFile.<init>(JarFile.java:65)
at org.apache.catalina.loader.StandardClassLoader.addRepositoryInternal(StandardClassLoader.java:944)
-------------------------------------------------------------------------------------------------------

I solved temporally the problem recreating the symbolic link:

/var/lib/tomcat5/common/lib/[jta].jar

to the following file:

/usr/lib/jvm-exports/java-1.4.2-gcj-1.4.2.0/jta.jar

and so the service is correctly started from an ssh shell, but as I start or stop it from the Plesk interface, the symbolic link I fixed, is newly pointing to the wrong file or folder!

It seems that Plesk runs a script recreating all links in the:

/var/lib/tomcat5/common/lib/

folder, changing all my fixes!

I have asked the StartLogic support team for help, but they say they givo no support for specific problems on VPS because they are ment to be self managed! But why should I have no support if the service has never started correctly since i bought the Plesk Power Pack?

Could somebody give me a hint?

Thanks in advance!
 
Try installing a link in /usr/share/java to the jta.jar file. I experienced a similar problem with jdbc-stdext and fixed it by putting a link in /usr/share/java that points to the proper file in /usr/lib/jvm-exports/...
 
Thanks

while I was waiting for a reply from StartLogic, I installed a new version of Tomcat on my Virtual Private Server. And now it works but only if run manually!

I will try the solution you posted ;O) and find a way to reconfigure Plesk...

Bye
 
Back
Top