This seems to be related to https://bugs.openjdk.java.net/browse/JDK-8065675
The version of Java called seems to be using the CheckEndorsedAndExtDirs option 
and failing due to the definition of deprecated endorsed directory (see 
https://www.java.com/en/download/faq/release_changes.xml Java 8 Update 40 
(8u40)). My fix is to remove all definitions of endorsed directories when 
calling java - see modified catalina.sh script attached. An alternative option 
might be to explicitly allow the deprecated API.

** Attachment added: "Updated scipt with all -Djava.endorsed.dirs=.. removed"
   
https://bugs.launchpad.net/ubuntu/+source/tomcat8/+bug/1586054/+attachment/4697729/+files/catalina.sh

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1586054

Title:
  package tomcat8 8.0.32-1ubuntu1 failed to install/upgrade: subprocess
  installed post-installation script returned error exit status 1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/tomcat8/+bug/1586054/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to