Re: Start embedded Tomcat 9.0.1 server from java code

2017-11-07 Thread Tobias Soloschenko
Thanks for the hints! :-) kind regards Tobias > Am 08.11.2017 um 07:49 schrieb Rémy Maucherat : > > On Wed, Nov 8, 2017 at 5:30 AM, Maxim Solodovnik > wrote: > >> OK :) >> I finally found the difference :))) >> >> Tomcat.java 8.5.23: >>public void

Re: Start embedded Tomcat 9.0.1 server from java code

2017-11-07 Thread Maxim Solodovnik
This is why Tomcat 9.0.1 has no connectors sorry for the typo On Wed, Nov 8, 2017 at 11:30 AM, Maxim Solodovnik wrote: > OK :) > I finally found the difference :))) > > Tomcat.java 8.5.23: > public void start() throws LifecycleException { >

Re: Start embedded Tomcat 9.0.1 server from java code

2017-11-07 Thread Maxim Solodovnik
Thanks for the clarifications! I'll update my code On Wed, Nov 8, 2017 at 1:49 PM, Rémy Maucherat wrote: > On Wed, Nov 8, 2017 at 5:30 AM, Maxim Solodovnik > wrote: > > > OK :) > > I finally found the difference :))) > > > > Tomcat.java 8.5.23: > >

Re: Start embedded Tomcat 9.0.1 server from java code

2017-11-07 Thread Rémy Maucherat
On Wed, Nov 8, 2017 at 5:30 AM, Maxim Solodovnik wrote: > OK :) > I finally found the difference :))) > > Tomcat.java 8.5.23: > public void start() throws LifecycleException { > getServer(); > getConnector(); > server.start(); > } > >

Re: Start embedded Tomcat 9.0.1 server from java code

2017-11-07 Thread Maxim Solodovnik
OK :) I finally found the difference :))) Tomcat.java 8.5.23: public void start() throws LifecycleException { getServer(); getConnector(); server.start(); } Tomcat.java 9.0.1: public void start() throws LifecycleException { getServer();

Re: Upgrade from tomcat 7 to tomcat 8.5 (UNCLASSIFIED)

2017-11-07 Thread Igal @ Lucee.org
On 11/7/2017 12:49 PM, Lueders, Paul T CIV USARMY NGIC (US) wrote: CLASSIFICATION: UNCLASSIFIED I have been tasked with determining what we should use as a web server in the future. We are currently using tomcat 7 and I thought that it might be good to migrate to version 8.5. Is the change

Upgrade from tomcat 7 to tomcat 8.5 (UNCLASSIFIED)

2017-11-07 Thread Lueders, Paul T CIV USARMY NGIC (US)
CLASSIFICATION: UNCLASSIFIED I have been tasked with determining what we should use as a web server in the future. We are currently using tomcat 7 and I thought that it might be good to migrate to version 8.5. Is the change possible and is it worth it? Thanks a lot, Paul Lueders0

Re: Start embedded Tomcat 9.0.1 server from java code

2017-11-07 Thread Tobias Soloschenko
Hi Maxim, same for me I just created a simple setup like this: String baseDir ="."; String webappDirLocation = "src/main/webapp/"; String webxmlDirLocation = "src/main/webapp/WEB-INF/web.xml"; Tomcat tomcat = new Tomcat(); tomcat.setPort(8080);

Re: Start embedded Tomcat 9.0.1 server from java code

2017-11-07 Thread Maxim Solodovnik
Thanks for the hints :) I have created sample project: https://github.com/solomax/tomcat-from-java I have compared detailed logs. Following lines appears in logs while Tomcat8 is used Nov 07, 2017 9:1 PM org.apache.catalina.util.LifecycleBase setStateInternal FINE: Setting

Re: taglibs

2017-11-07 Thread Ray Holme
OK, so I tried that and found one library needs to be excluded (from the exclusion list) - i.e. scanned # ls jstl*; grep ".tld" jstl-* jstl-api-1.2.jar  jstl-impl-1.2.jar Binary file jstl-impl-1.2.jar matches So if your rule works, I need jstl-impl to be scanned, but jstl-api could be excluded.