And just now got it running fully on OSGi (with a small bootup shim, a.k.a. bundle).
- Ray On Mon, Jun 15, 2020 at 9:58 AM Raymond Auge <raymond.a...@liferay.com> wrote: > There's a slew of changes still needed, but at least it's not a > pie-in-the-sky-like effort. > > - Ray > > On Mon, Jun 15, 2020 at 9:33 AM Mark Thomas <ma...@apache.org> wrote: > >> On 15/06/2020 01:56, Raymond Auge wrote: >> > Hey all, >> > >> > I couldn't resist but to let you know that today I run tomcat 10 fully >> > on JPMS (and the webapp examples seemed to all work fine): >> >> Nice. >> >> I was expecting it to be rather more disruptive than it turned out to >> be. Thanks for sharing your JPMS/OSGI expertise. >> >> Mark >> >> >> > >> > bin]$ /usr/lib/jvm/zulu-11-amd64/bin/java \ >> >> -Djava.protocol.handler.pkgs=org.apache.catalina.webresources \ >> >> -p .:../lib/ \ >> >> --add-modules org.apache.tomcat.jasper \ >> >> --module >> org.apache.tomcat.catalina/org.apache.catalina.startup.Bootstrap start >> > Jun. 14, 2020 8:51:30 P.M. org.apache.catalina.startup.Catalina >> > addClusterRuleSet >> > INFO: Cluster RuleSet not found due to >> > [java.lang.ClassNotFoundException: >> > org.apache.catalina.ha.ClusterRuleSet]. Cluster configuration disabled. >> > Jun. 14, 2020 8:51:30 P.M. org.apache.catalina.startup.Catalina >> > addClusterRuleSet >> > INFO: Cluster RuleSet not found due to >> > [java.lang.ClassNotFoundException: >> > org.apache.catalina.ha.ClusterRuleSet]. Cluster configuration disabled. >> > Jun. 14, 2020 8:51:30 P.M. >> > org.apache.catalina.startup.VersionLoggerListener log >> > INFO: Server version name: Apache Tomcat/10.0.0-M7-dev >> > Jun. 14, 2020 8:51:30 P.M. >> > org.apache.catalina.startup.VersionLoggerListener log >> > INFO: Server built: Jun 14 2020 13:51:24 UTC >> > Jun. 14, 2020 8:51:30 P.M. >> > org.apache.catalina.startup.VersionLoggerListener log >> > INFO: Server version number: 10.0.0.0 >> > Jun. 14, 2020 8:51:30 P.M. >> > org.apache.catalina.startup.VersionLoggerListener log >> > INFO: OS Name: Linux >> > Jun. 14, 2020 8:51:30 P.M. >> > org.apache.catalina.startup.VersionLoggerListener log >> > INFO: OS Version: 5.3.0-59-generic >> > Jun. 14, 2020 8:51:30 P.M. >> > org.apache.catalina.startup.VersionLoggerListener log >> > INFO: Architecture: amd64 >> > Jun. 14, 2020 8:51:30 P.M. >> > org.apache.catalina.startup.VersionLoggerListener log >> > INFO: Java Home: /usr/lib/jvm/zulu-11-amd64 >> > Jun. 14, 2020 8:51:30 P.M. >> > org.apache.catalina.startup.VersionLoggerListener log >> > INFO: JVM Version: 11.0.7+10-LTS >> > Jun. 14, 2020 8:51:30 P.M. >> > org.apache.catalina.startup.VersionLoggerListener log >> > INFO: JVM Vendor: Azul Systems, Inc. >> > Jun. 14, 2020 8:51:30 P.M. >> > org.apache.catalina.startup.VersionLoggerListener log >> > INFO: CATALINA_BASE: /home/rotty/projects/tomcat/output/build >> > Jun. 14, 2020 8:51:30 P.M. >> > org.apache.catalina.startup.VersionLoggerListener log >> > INFO: CATALINA_HOME: /home/rotty/projects/tomcat/output/build >> > Jun. 14, 2020 8:51:30 P.M. >> > org.apache.catalina.startup.VersionLoggerListener log >> > INFO: Command line argument: >> > -Djava.protocol.handler.pkgs=org.apache.catalina.webresources >> > Jun. 14, 2020 8:51:30 P.M. >> > org.apache.catalina.startup.VersionLoggerListener log >> > INFO: Command line argument: --module-path=.:../lib/ >> > Jun. 14, 2020 8:51:30 P.M. >> > org.apache.catalina.startup.VersionLoggerListener log >> > INFO: Command line argument: --add-modules=org.apache.tomcat.jasper >> > Jun. 14, 2020 8:51:30 P.M. >> > org.apache.catalina.startup.VersionLoggerListener log >> > INFO: Command line argument: >> -Djdk.module.main=org.apache.tomcat.catalina >> > Jun. 14, 2020 8:51:30 P.M. org.apache.catalina.core.AprLifecycleListener >> > lifecycleEvent >> > INFO: The Apache Tomcat Native library which allows using OpenSSL was >> > not found on the java.library.path: >> > [/usr/java/packages/lib:/usr/lib64:/lib64:/lib:/usr/lib] >> > Jun. 14, 2020 8:51:30 P.M. org.apache.coyote.AbstractProtocol init >> > INFO: Initializing ProtocolHandler ["http-nio-8080"] >> > Jun. 14, 2020 8:51:30 P.M. org.apache.catalina.startup.Catalina load >> > INFO: Server initialization in [449] milliseconds >> > Jun. 14, 2020 8:51:30 P.M. org.apache.catalina.core.StandardService >> > startInternal >> > INFO: Starting service [Catalina] >> > Jun. 14, 2020 8:51:30 P.M. org.apache.catalina.core.StandardEngine >> > startInternal >> > INFO: Starting Servlet engine: [Apache Tomcat/10.0.0-M7-dev] >> > Jun. 14, 2020 8:51:31 P.M. org.apache.catalina.startup.HostConfig >> > deployDirectory >> > INFO: Deploying web application directory >> > [/home/rotty/projects/tomcat/output/build/webapps/ROOT] >> > Jun. 14, 2020 8:51:31 P.M. >> > org.apache.tomcat.util.descriptor.DigesterFactory locationFor >> > WARNING: The XML schema [web-fragment_5_0.xsd] could not be found. This >> > is very likely to break XML validation if XML validation is enabled. >> > Jun. 14, 2020 8:51:31 P.M. org.apache.catalina.startup.HostConfig >> > deployDirectory >> > INFO: Deployment of web application directory >> > [/home/rotty/projects/tomcat/output/build/webapps/ROOT] has finished in >> > [184] ms >> > Jun. 14, 2020 8:51:31 P.M. org.apache.catalina.startup.HostConfig >> > deployDirectory >> > INFO: Deploying web application directory >> > [/home/rotty/projects/tomcat/output/build/webapps/examples] >> > Jun. 14, 2020 8:51:31 P.M. org.apache.catalina.core.ApplicationContext >> log >> > INFO: ContextListener: contextInitialized() >> > Jun. 14, 2020 8:51:31 P.M. org.apache.catalina.core.ApplicationContext >> log >> > INFO: SessionListener: contextInitialized() >> > Jun. 14, 2020 8:51:31 P.M. org.apache.catalina.core.ApplicationContext >> log >> > INFO: ContextListener: attributeAdded('StockTicker', >> > 'async.Stockticker@1bdf8190') >> > Jun. 14, 2020 8:51:31 P.M. org.apache.catalina.startup.HostConfig >> > deployDirectory >> > INFO: Deployment of web application directory >> > [/home/rotty/projects/tomcat/output/build/webapps/examples] has finished >> > in [103] ms >> > Jun. 14, 2020 8:51:31 P.M. org.apache.catalina.startup.HostConfig >> > deployDirectory >> > INFO: Deploying web application directory >> > [/home/rotty/projects/tomcat/output/build/webapps/host-manager] >> > Jun. 14, 2020 8:51:31 P.M. org.apache.catalina.startup.HostConfig >> > deployDirectory >> > INFO: Deployment of web application directory >> > [/home/rotty/projects/tomcat/output/build/webapps/host-manager] has >> > finished in [25] ms >> > Jun. 14, 2020 8:51:31 P.M. org.apache.catalina.startup.HostConfig >> > deployDirectory >> > INFO: Deploying web application directory >> > [/home/rotty/projects/tomcat/output/build/webapps/docs] >> > Jun. 14, 2020 8:51:31 P.M. org.apache.catalina.startup.HostConfig >> > deployDirectory >> > INFO: Deployment of web application directory >> > [/home/rotty/projects/tomcat/output/build/webapps/docs] has finished in >> > [11] ms >> > Jun. 14, 2020 8:51:31 P.M. org.apache.catalina.startup.HostConfig >> > deployDirectory >> > INFO: Deploying web application directory >> > [/home/rotty/projects/tomcat/output/build/webapps/manager] >> > Jun. 14, 2020 8:51:31 P.M. org.apache.catalina.startup.HostConfig >> > deployDirectory >> > INFO: Deployment of web application directory >> > [/home/rotty/projects/tomcat/output/build/webapps/manager] has finished >> > in [19] ms >> > Jun. 14, 2020 8:51:31 P.M. org.apache.coyote.AbstractProtocol start >> > INFO: Starting ProtocolHandler ["http-nio-8080"] >> > Jun. 14, 2020 8:51:31 P.M. org.apache.catalina.startup.Catalina start >> > INFO: Server startup in [413] milliseconds >> > >> > -- >> > *Raymond Augé* >> > <http://www.liferay.com/web/raymond.auge/profile> (@rotty3000) >> > Senior Software Architect *Liferay, Inc.* >> > <http://www.liferay.com> (@Liferay) >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org >> For additional commands, e-mail: dev-h...@tomcat.apache.org >> >> > > -- > *Raymond Augé* <http://www.liferay.com/web/raymond.auge/profile> > (@rotty3000) > Senior Software Architect *Liferay, Inc.* <http://www.liferay.com> > (@Liferay) > -- *Raymond Augé* <http://www.liferay.com/web/raymond.auge/profile> (@rotty3000) Senior Software Architect *Liferay, Inc.* <http://www.liferay.com> (@Liferay)