• 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.

Tomcat6 manager problems after update to 11.5.30

TheBassmanFelix

New Pleskian
Hi all,

after the update to Plesk version 11.5.30 tonight i have several problems with my tomcat instance.
The Deployment is done by Jenkins.

1. problem already solved: the psa-users/[domain.com].xml was reset to the empty default template. After restoring the users jenkins was able to use the tomcat manager for trying the deployment.
2. problem:
Now Jenkins is getting me following error, trying to deploy the build .war by the tomcat manager:
Code:
ERROR: Publisher hudson.plugins.deploy.DeployPublisher aborted due to exception
....
Caused by: org.codehaus.cargo.container.tomcat.internal.TomcatManagerException: FAIL - Application already exists at path /demo


Catalina.out
Code:
19.12.2013 11:06:01 org.apache.catalina.core.ApplicationContext log
INFO: Manager: list: Listing contexts for virtual host 'Domain.com'
19.12.2013 11:06:01 org.apache.catalina.core.ApplicationContext log
INFO: Manager: list: Listing contexts for virtual host 'Domain.com'
19.12.2013 11:06:01 org.apache.catalina.core.ApplicationContext log
INFO: Manager: undeploy: Undeploying web application at '/demo'
19.12.2013 11:06:01 org.apache.catalina.core.StandardContext stop
INFO: Container org.apache.catalina.core.ContainerBase.[PSA].[Domain.com].[/demo] has not been started
19.12.2013 11:06:01 org.apache.catalina.core.ApplicationContext log
INFO: Manager: deploy: Deploying web application at '/demo'

If i try to deploy the war with the tomcat manager i get following exception:

Code:
SCHWERWIEGEND: HTMLManager: FAIL - Deploy Upload Failed, Exception: null
java.lang.NullPointerException
	at org.apache.tomcat.util.http.fileupload.DefaultFileItem.write(DefaultFileItem.java:398)
	at org.apache.catalina.manager.HTMLManagerServlet.doPost(HTMLManagerServlet.java:250)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at org.apache.catalina.filters.CsrfPreventionFilter.doFilter(CsrfPreventionFilter.java:193)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:563)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:602)
	at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
	at java.lang.Thread.run(Thread.java:679)

I haven changed anything in the config, so the root of the problem is 100% the update of the plesk version.

Does anybody know where i can have a look at to get the problem solved?

Thanks in advance
Felix


Problem was solved:
The undeploy of war with the manager failed. The .war in /var/lib/tomcat6/psa-webapps/ had to be deleted manually.
After resetting the chmod of /usr/share/tomcat6/psa-wars/ and /var/lib//tomcat6/psa-wars/ the deployment with jenkins was working correctly again
 
Last edited:
Back
Top