Migrating from embedded Tomcat6 to Tomcat8

2015-07-03 Thread Maxim Solodovnik
Hello, sorry for the newbie question but I was unable to find the answer using search :( I'm trying to migrate custom embedded tomcat loader from Tomcat6 (works as expected with Tomcat7 with lots of deprecations) to Tomcat8. Previously it was possible to add multiple Engines to Tomcat instance,

Re: Migrating from embedded Tomcat6 to Tomcat8

2015-07-06 Thread Maxim Solodovnik
Thanks Mark and Chris, I was able to successfully migrate the code :) On Tue, Jul 7, 2015 at 2:49 AM, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Maxim, On 7/3/15 8:28 AM, Mark Thomas wrote: On 03/07/2015 12:43, Maxim

Re: [ANN] New committer: Martin Grigorov

2015-10-26 Thread Maxim Solodovnik
Congrats Martin! On Mon, Oct 26, 2015 at 8:35 PM, Mark Thomas wrote: > On behalf of the Tomcat committers I am pleased to announce that > Martin Grigorov (mgrigorov) has been voted in as a new Tomcat committer. > > Please join me in welcoming him. > > Regards, > > Mark > >

Re: Tomcat 8.5.15 Released?

2017-05-15 Thread Maxim Solodovnik
It is in Maven: http://repo1.maven.org/maven2/org/apache/tomcat/embed/tomcat-embed-core/8.5.15/ So I guess it is released On Tue, May 16, 2017 at 10:58 AM, Adam Rauch wrote: > Is Tomcat 8.5.15 officially released? The home page > (http://tomcat.apache.org/index.html) seems to

Re: Start embedded Tomcat 9.0.1 server from java code

2017-11-03 Thread Maxim Solodovnik
I'm OK to add missing code to my tests, but I'm not sure what need to be added :( On Fri, Nov 3, 2017 at 3:24 PM, Maxim Solodovnik <solomax...@gmail.com> wrote: > I see no errors, > Using debugger I can see tomcat.server.state == STARTED > > Everything works as expected if

Re: Start embedded Tomcat 9.0.1 server from java code

2017-11-03 Thread Maxim Solodovnik
, Nov 3, 2017 at 3:08 PM, Mark Thomas <ma...@apache.org> wrote: > On 03/11/17 04:51, Maxim Solodovnik wrote: > > Hello, > > > > I recently migrated from Tomcat 8.5.23 to Tomcat 9.0.1 > > Everything works as expected except tests :( > > > > I'm using fol

Re: Start embedded Tomcat 9.0.1 server from java code

2017-11-04 Thread Maxim Solodovnik
Maybe I can set breakpoint somewhere? and check what is wrong? Could you point me to the correct class? On Fri, Nov 3, 2017 at 5:26 PM, Maxim Solodovnik <solomax...@gmail.com> wrote: > I'm OK to add missing code to my tests, > but I'm not sure what need to be added :( > > O

Re: Start embedded Tomcat 9.0.1 server from java code

2017-11-07 Thread Maxim Solodovnik
6:56 NACHM. org.apache.catalina.core.StandardService > startInternal > INFORMATION: Starting service [Tomcat] > Nov. 07, 2017 6:06:56 NACHM. org.apache.catalina.core.StandardEngine > startInternal > INFORMATION: Starting Servlet Engine: Apache Tomcat/9.0.1 > Nov. 07, 2017 6:06:56 NA

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 <r...@apache.org> wrote: > On Wed, Nov 8, 2017 at 5:30 AM, Maxim Solodovnik <solomax...@gmail.com> > wrote: > > > OK :) > > I finally found the differenc

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 <solomax...@gmail.com> 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-08 Thread Maxim Solodovnik
Thanks a lot for the review Konstantin, I have correct our tests :) Will Also contact CXF project This code was taken from their tests: [1] :)) [1] https://github.com/apache/cxf/blob/master/systests/cdi/base/src/main/java/org/apache/cxf/systests/cdi/base/tomcat/AbstractTomcatServer.java#L45 On

Start embedded Tomcat 9.0.1 server from java code

2017-11-02 Thread Maxim Solodovnik
Hello, I recently migrated from Tomcat 8.5.23 to Tomcat 9.0.1 Everything works as expected except tests :( I'm using following code to start embedded Tomcat and test CXF web services [1]. With Tomcat 9.0.1 tests failed, netstat -an displays port 8080 is not being listened What need to be

Re: Start embedded Tomcat 9.0.1 server from java code

2017-11-07 Thread Maxim Solodovnik
PM, Mark Thomas <ma...@apache.org> wrote: > On 04/11/17 15:25, Maxim Solodovnik wrote: > > Maybe I can set breakpoint somewhere? and check what is wrong? > > Could you point me to the correct class? > > No idea where to look at this point. I'd probably start with the s

Re: oracle 12c driver (UNCLASSIFIED)

2018-06-20 Thread Maxim Solodovnik
We are currently using ojdbc6 in production I would use ojdbc8 for new project ( http://www.oracle.com/technetwork/database/features/jdbc/jdbc-ucp-122-3110062.html ) I believe the problem is caused by connection pool settings, not the driver On Thu, Jun 21, 2018 at 2:38 AM Lueders, Paul T

Re: [ANN] Apache Tomcat 9.0.6 available

2018-03-09 Thread Maxim Solodovnik
Maven seems to be updated, Thanks :) On Fri, Mar 9, 2018 at 11:18 PM, Mark Thomas <ma...@apache.org> wrote: > > > On 09/03/2018 16:14, Maxim Solodovnik wrote: > >> Hello Mark, >> >> It seems maven artifacts are not available: >> https://repo.maven

Re: [ANN] Apache Tomcat 9.0.6 available

2018-03-09 Thread Maxim Solodovnik
Hello Mark, It seems maven artifacts are not available: https://repo.maven.apache.org/maven2/org/apache/tomcat/embed/tomcat-embed-websocket/ https://repo.maven.apache.org/maven2/org/apache/tomcat/tomcat-api/ Is it expected? On Fri, Mar 9, 2018 at 7:18 PM, Mark Thomas wrote:

Re: [EXTERNAL] Re: tomcat Finding!

2018-12-18 Thread Maxim Solodovnik
You have to add Valve under Server/Service/Engine/Host/ Works for us as expected On Wed, 19 Dec 2018 at 03:17, wrote: > Added following to the Server.xml, still showing in the latest scan. > > showReport=false" showServerInfo="false" /> > > Thank you, > Danyaal > > -Original Message- >

Re: Tomcat 8.5.x configuration file differences: permission denied

2019-04-04 Thread Maxim Solodovnik
you can use github for this :) On Thu, 4 Apr 2019 at 16:19, George Angeletos wrote: > > I am getting permission denied when trying to view configuration file > changes between 8.5.x versions ( > https://tomcat.apache.org/migration-85.html#Upgrading_8.5.x) > >

Re: Fwd: websocket connections consume too much memory

2019-02-25 Thread Maxim Solodovnik
Hello All, Maybe this behavior is caused by the fact defaultMaxSessionIdleTimeout is not set for websockets? Can be updated as follows final WsServerContainer sc = (WsServerContainer)getServletContext().getAttribute(SERVER_CONTAINER_SERVLET_CONTEXT_ATTRIBUTE); if (sc != null) {

Re: [ANN] Apache Tomcat 9.0.34 available

2020-05-12 Thread Maxim Solodovnik
There is typo in title: should be 9.0.35 (from mobile, sorry for typos) On Tue, May 12, 2020, 22:09 Mark Thomas wrote: > The Apache Tomcat team announces the immediate availability of Apache > Tomcat 9.0.35. > > Apache Tomcat 9 is an open source software implementation of the Java > Servlet,

Re: Keeping a session active with ajax

2021-03-15 Thread Maxim Solodovnik
hristopherschultz.net> wrote: > > > Martin, > > > > On 3/15/21 04:08, Martin Grigorov wrote: > > > Hi Maxim, > > > > > > On Mon, Mar 15, 2021 at 9:46 AM Maxim Solodovnik > > > wrote: > > > > > >> Maybe offtopic >

Re: Unable to start Tomcat 10.0.4

2021-03-16 Thread Maxim Solodovnik
You already have some service listening on port 80 (IIS maybe?) from mobile (sorry for typos ;) On Tue, Mar 16, 2021, 18:36 wrote: > Dear All, > > Unable to start tomcat 10.0.4 and getting error Failed to initialize > component. > /conf/server.xml configuration as below. > >

Re: Keeping a session active with ajax

2021-03-15 Thread Maxim Solodovnik
Maybe offtopic but websocket requests seems to not warming up the HttpSession Tomcat 9.0.44 Wicket 9.2.0 :) On Mon, 15 Mar 2021 at 14:43, Martin Grigorov wrote: > > Hi, > > Which version of Tomcat ? > > On Mon, Mar 15, 2021 at 8:25 AM Jerry Malcolm > wrote: > > > In my app a logged in user

Re: Unable to start Tomcat 10.0.4

2021-03-16 Thread Maxim Solodovnik
Please provide full stacktrace On Tue, 16 Mar 2021 at 22:49, wrote: > > >> Your more recent exception log didn't include the "caused by" exception > > -- > >> which is the actual failure details. Double-check that and make sure > > it's > >> the same issue. > >> > >> Also, use netstat to confirm

Re: Tomcat 9.0.52 crashes with "java.util.zip.ZipException: invalid LOC header (bad signature)" when started in debug mode - any work-around?

2021-08-17 Thread Maxim Solodovnik
I would 'rm -rf ~/.m2/repository/*' Much faster than investigating :) from mobile (sorry for typos ;) On Tue, Aug 17, 2021, 18:16 wrote: > When trying to start Tomcat (9.0.52) in debug mode ("Debug on Server") from > Eclipse (v2020-12 (4.18.0) / Build id: 20201210-1552) I get the following >