Re: /manager/text/list fails in 9.0.31, works in 9.0.27

2020-02-27 Thread Enrico Olivelli
I am investingating this issue with NetBeans and Tomcat 9.0.31 https://issues.apache.org/jira/browse/NETBEANS-3917 This problem report MAY be related, NetBeans is not able to list applications or to access the /manager/text API. It works well with 9.0.30. I will be back with news if it is a

Re: Mysql vs Postgress

2018-01-24 Thread Enrico Olivelli
based on Tomcat/apache Servers , any one can help > regarding the best DB engine * mysql or Postgress ) keeping in mind that > I'm interested in DB clustering/Replication feature ? > > Kind Regards, > -- -- Enrico Olivelli

HttpServletRequest in AsyncContext does not handle X-Forwarded-For (RemoteIpValve)

2017-11-03 Thread Enrico Olivelli
Hi, I am running a servlet and I get strange result for HttpServletRequest#getRemoteAddr(). I have configured RemoteIpValve which handles the X-Forwarded-For header and replaces the original IP address with the value contains in such header. I have an HttpServlet which dispacts the execution to

Java9 modules and web applications

2017-06-07 Thread Enrico Olivelli
are considered modules (automatic?) I am using tomcat embedded, I think I will need to use tomcat jars as automatic modules, does anyone already started to deal with this kind of problems? Thanks Enrico -- -- Enrico Olivelli

Re: Trivial DataSource ResourceLink error

2017-03-13 Thread Enrico Olivelli
2017-03-13 12:44 GMT+01:00 Konstantin Kolinko <knst.koli...@gmail.com>: > 2017-03-13 13:44 GMT+03:00 Enrico Olivelli <eolive...@gmail.com>: > > Hi, > > I'm trying to setup a DataSource configured in GlobalNamingResources in > > server.xml. > > https://

Trivial DataSource ResourceLink error

2017-03-13 Thread Enrico Olivelli
Hi, I'm trying to setup a DataSource configured in GlobalNamingResources in server.xml. https://tomcat.apache.org/tomcat-8.5-doc/config/context.html#Resource_Links in server.xml I have: In context.xml I have In web.xml I have

Re: Upgrade fom Tomat 8.0.33 to 8.5.9 - stuck clients

2017-01-13 Thread Enrico Olivelli
I'm not able to submit any issue to your bug tracker. Thank you 2017-01-13 0:43 GMT+01:00 Mark Thomas <ma...@apache.org>: > On 12/01/2017 21:09, Enrico Olivelli wrote: > > Thank you Chris > > > > Il gio 12 gen 2017, 18:04 Christopher Schultz < > ch...@chris

Re: Upgrade fom Tomat 8.0.33 to 8.5.9 - stuck clients

2017-01-12 Thread Enrico Olivelli
Thank you Chris Il gio 12 gen 2017, 18:04 Christopher Schultz <ch...@christopherschultz.net> ha scritto: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Enrico, > > On 1/12/17 8:53 AM, Enrico Olivelli wrote: > > I'm upgrading from Tomcat 8.0.33. I s

Upgrade fom Tomat 8.0.33 to 8.5.9 - stuck clients

2017-01-12 Thread Enrico Olivelli
.nio.ch.EPollPort$EventHandlerTask.poll(EPollPort.java:194) at sun.nio.ch.EPollPort$EventHandlerTask.run(EPollPort.java:268) at java.lang.Thread.run(Thread.java:745) at sun.misc.InnocuousThread.run(InnocuousThread.java:74) Thanks Enrico Olivelli

Re: Possible bug with Transfer-Encoding: chunked on Tomcat 8.5.9

2017-01-10 Thread Enrico Olivelli
-1 marker) Should I file an issue ? I'm really sorry but today I have not time to create a working JUnit testcase to demostrate the issue. I can work on it next days. -- Enrico 2017-01-09 16:31 GMT+01:00 Enrico Olivelli <eolive...@gmail.com>: > Hi, I am upgrading from Tom

Possible bug with Transfer-Encoding: chunked on Tomcat 8.5.9

2017-01-09 Thread Enrico Olivelli
I'm going to to try Nio2 Thank you Enrico Olivelli .

Re: Accessing ServletContext from WebSocket endpoint

2013-12-07 Thread Enrico Olivelli
I'm trying the example from Tyrus, hoping that it could work on tomcat https://tyrus.java.net/documentation/1.3/index/deployment.html this is the simplest code to put ServletContext in userproperties @WebListener public class MyWebSocket implements ServletContextListener { @Override

Accessing ServletContext from WebSocket endpoint

2013-12-05 Thread Enrico Olivelli
Hi, is there a standard way to access ServletContext from a WebSocket ServerEndpoint ? thank you Tomcat is great Enrico Olivelli - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail