[Bug 238067] www/tomcat9 endorsed directory removed in Java 9 and not in official binary distribution

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu May 23 08:43:50 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=238067

            Bug ID: 238067
           Summary: www/tomcat9 endorsed directory removed in Java 9 and
                    not in official binary distribution
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs at FreeBSD.org
          Reporter: tommyhp2 at gmail.com
                CC: vvd at unislabs.com
             Flags: maintainer-feedback?(vvd at unislabs.com)
                CC: vvd at unislabs.com

Tomcat 9 is unable to start with OpenJDK 12

-Djava.endorsed.dirs=/usr/local/apache-tomcat-9.0/endorsed is not supported.
Endorsed standards and standalone APIs
in modular form will be supported via the concept of upgradeable modules.
Cannot create Java VM
Service exit with a return value of 1

Per:
http://tomcat.apache.org/tomcat-8.5-doc/changelog.html#Tomcat_8.5.24_(markt)

"Improve handling of endorsed directories. The endorsed directory mechanism
will only be used if the JAVA_ENDORSED_DIRS system property is explicitly set
or if $CATALINA_HOME/endorsed exists. When running on Java 9, any such
attempted use of the endorsed directory mechanism will trigger an error and
Tomcat will fail to start. (rjung) "

Also official binary distribution does not include endorsed directory.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list