Increment XX:PermSize for Tomcat 7 on Windows 2012R2

2014-05-12 Thread Lorenzo Fini
Hi, I'm trying to increment the PermSize on Tomcat 7. I added -XX:PermSize in the java options launching tomcat7w, causing Tomcat to not load and to give me the following error on Windows Server 2012R2: Unrecognized VM option 'PermSize=256m ' The same configuration was working on Windows Server

ManagerBase.generateSessionId() gives me a NullPointerException

2014-02-27 Thread Lorenzo Fini
Hi, I get this error: java.lang.NullPointerException org.apache.catalina.session.ManagerBase.generateSessionId(ManagerBase.java:807) org.apache.catalina.session.ManagerBase.createSession(ManagerBase.java:653)

Re: Filter behaviour ( settinf Content-Length header )

2014-02-27 Thread Lorenzo Fini
Did you try in the servlet? 2014-02-27 15:31 GMT+01:00 Jose MarĂ­a Zaragoza demablo...@gmail.com: Thanks And what do you recommend to me for forcing to return a Content-Type ? Some weird clients require it If I cannot do it with a Filter , where can I do it ? 2014-02-27 12:41 GMT+01:00

Re: ManagerBase.generateSessionId() gives me a NullPointerException

2014-02-27 Thread Lorenzo Fini
Hi Mark, if I am just doing request.getSession() on the request that I receive, how can it be an application error? I do no store any request or session.. 2014-02-27 15:55 GMT+01:00 Mark Thomas ma...@apache.org: On 27/02/2014 14:35, Lorenzo Fini wrote: Hi, I get this error

Re: ManagerBase.generateSessionId() gives me a NullPointerException

2014-02-27 Thread Lorenzo Fini
); } } public void destroy() { // close any resources here } } 2014-02-27 16:14 GMT+01:00 Mark Thomas ma...@apache.org: On 27/02/2014 15:01, Lorenzo Fini wrote: Hi Mark, if I am just doing request.getSession() on the request that I receive, how can