After Plesk upgrade domain Java application shows the following error: The requested resource (/html/diocese/html/diocese/religiousorders/sisters.jsp) is not available.

Refers to:

  • Plesk for Linux

Created:

2016-11-16 12:46:05 UTC

Modified:

2016-12-21 19:10:01 UTC

0

Was this article helpful?


Have more questions?

Submit a request

After Plesk upgrade domain Java application shows the following error: The requested resource (/html/diocese/html/diocese/religiousorders/sisters.jsp) is not available.

Symptoms

After Plesk upgrade domain Java application shows the following error:

HTTP Status 404 - /html/diocese/html/diocese/religiousorders/sisters.jsp
type Status report
message /html/diocese/html/diocese/religiousorders/sisters.jsp
description The requested resource (/html/diocese/html/diocese/religiousorders/sisters.jsp) is not available.

Tomcat log /var/log/tomcat5/catalina.out contains the following:

javax.xml.transform.TransformerConfigurationException: javax.xml.transform.TransformerConfigurationException: javax.xml.transform.TransformerException: java.io.FileNotFoundException: /var/www/vhosts/example.com/private/xsl/HomePage.xsl (Permission denied)
at org.apache.xalan.processor.TransformerFactoryImpl.newTransformer(TransformerFactoryImpl.java:795)
at MyXSLProc.process(MyXSLProc.java:34)

javax.xml.transform.TransformerConfigurationException: javax.xml.transform.TransformerConfigurationException: javax.xml.transform.TransformerException: java.io.FileNotFoundException: /var/www/vhosts/example.com/private/xsl/HomePage.xsl (Permission denied)
at org.apache.xalan.processor.TransformerFactoryImpl.newTransformer(TransformerFactoryImpl.java:795)
at MyXSLProc.process(MyXSLProc.java:34)

Cause

Java application unable to access personal folder in vhost directory.

Resolution

As per folder permissions tomcat user is unable to access the private folder:

# stat  /var/www/vhosts/example.com/httpdocs/private | grep Access
Access: (0700/drwx------) Uid: (10000/username) Gid: ( 503/ psacln)

To resolve the issue rebuild application to change application files directory to: /usr/share/tomcat5/psa-wars/example.com/ which is default for Plesk java applications installed on domain.

Have more questions? Submit a request
Please sign in to leave a comment.