Re: java.lang.IllegalArgumentException at java.nio.Buffer.limit

2014-08-07 Thread Yogesh Rao
On closer look of the exception trace i do not think out.close() is causing this issue... Can you pass the xml as well for everyone to see the content being written? Regards, -yogesh On Friday, August 8, 2014, Yogesh Rao wrote: > Hi, > > I see out.close() in the writeXML method of yours.. I do

Re: java.lang.IllegalArgumentException at java.nio.Buffer.limit

2014-08-07 Thread Yogesh Rao
Hi, I see out.close() in the writeXML method of yours.. I do not think you should be closing it. Can you try removing that and putting it to a test? Regards, -yogesh On Friday, August 8, 2014, Filip Hanik wrote: > if you could capture the XML that you are trying to write, we can put it > into

Re: java.lang.IllegalArgumentException at java.nio.Buffer.limit

2014-08-07 Thread Filip Hanik
if you could capture the XML that you are trying to write, we can put it into a test case and reproduce. Filip On Thu, Aug 7, 2014 at 3:24 PM, Terence M. Bandoian wrote: > On 8/7/2014 10:04 AM, John Smith wrote: > >> TC 7.0.54 / RHEL 6 / JDK 1.7.0_60 >> >> I'm getting a pretty consistent erro

java.lang.IllegalArgumentException at java.nio.Buffer.limit

2014-08-07 Thread Terence M. Bandoian
On 8/7/2014 10:04 AM, John Smith wrote: TC 7.0.54 / RHEL 6 / JDK 1.7.0_60 I'm getting a pretty consistent error in my logs that started showing up recently. I use logback and have a servlet catch all 500 errors and log them. The error seems to be associated with one servlet that writes XML outpu

Re: Tomcat 7 to 8 Upgrade - Performance Degradation

2014-08-07 Thread Peter Rifel
On 8/7/14, 8:56 AM, "Daniel Mikusa" wrote: >On Thu, Aug 7, 2014 at 11:35 AM, Peter Rifel wrote: > >> Dan, >> >> On 8/6/14, 4:52 AM, "Daniel Mikusa" wrote: >> >> >On Tue, Aug 5, 2014 at 7:54 PM, Peter Rifel wrote: >> > >> >> Hello, >> >> >> >> I am in the process of upgrading from Tomcat 7.0.54

Re: Tomcat 7 to 8 Upgrade - Performance Degradation

2014-08-07 Thread Daniel Mikusa
On Thu, Aug 7, 2014 at 11:35 AM, Peter Rifel wrote: > Dan, > > On 8/6/14, 4:52 AM, "Daniel Mikusa" wrote: > > >On Tue, Aug 5, 2014 at 7:54 PM, Peter Rifel wrote: > > > >> Hello, > >> > >> I am in the process of upgrading from Tomcat 7.0.54 to Tomcat 8.0.9 and > >>am > >> seeing some performance

Re: Tomcat 7 to 8 Upgrade - Performance Degradation

2014-08-07 Thread Peter Rifel
Dan, On 8/6/14, 4:52 AM, "Daniel Mikusa" wrote: >On Tue, Aug 5, 2014 at 7:54 PM, Peter Rifel wrote: > >> Hello, >> >> I am in the process of upgrading from Tomcat 7.0.54 to Tomcat 8.0.9 and >>am >> seeing some performance degradation in my webapp. >> >> Configuration info: >> >> Ubuntu 14.04.1

Re: Tomcat 7 to 8 Upgrade - Performance Degradation

2014-08-07 Thread Peter Rifel
Chris, thank you for your reply. On 8/6/14, 4:49 AM, "Christopher Schultz" wrote: >-BEGIN PGP SIGNED MESSAGE- >Hash: SHA256 > >Peter, > >On 8/5/14, 7:54 PM, Peter Rifel wrote: >> I am in the process of upgrading from Tomcat 7.0.54 to Tomcat 8.0.9 >> and am seeing some performance degrad

java.lang.IllegalArgumentException at java.nio.Buffer.limit

2014-08-07 Thread John Smith
TC 7.0.54 / RHEL 6 / JDK 1.7.0_60 I'm getting a pretty consistent error in my logs that started showing up recently. I use logback and have a servlet catch all 500 errors and log them. The error seems to be associated with one servlet that writes XML output. Two changes I made recently were imple

Re: Unable to deploy MBeans in Tomcat 7 using Modeler API

2014-08-07 Thread Yogesh Rao
Well... I managed to get all of it working, following is what needs to be done to get a custom MBean working HelloMBean.java - package org.example.mbeans; public interface HelloMBean { public void sayHello(); } Hello.java --- packag

Re: Apache Tomcat 6.0 Tomcat6 service stopped unexpectedly in windows server 2012

2014-08-07 Thread André Warnier
Alapan Sur wrote: Hi Andre, Thanks for the quick reply. I have verified the below requested memory related queries as suggested by you. The Initial memory pool and Maximum memory pool are empty and please find the attachment for the same. This list usually strips attachments. Either p

RE: Apache Tomcat 6.0 Tomcat6 service stopped unexpectedly in windows server 2012

2014-08-07 Thread Alapan Sur
Hi Andre, Thanks for the quick reply. I have verified the below requested memory related queries as suggested by you. The Initial memory pool and Maximum memory pool are empty and please find the attachment for the same. We have checked the heap size with the command : java -XX:+Print

Re: Apache Tomcat 6.0 Tomcat6 service stopped unexpectedly in windows server 2012

2014-08-07 Thread André Warnier
Luciano, 1) try to not top-post on this list. See https://tomcat.apache.org/lists.html#tomcat-users, item # 6 2) Luciano Fioriti wrote: Hi, try to increase Maximum number of threads in server.xml bie Not so fast... Tomcat is indeed running out of threads, as the last INFO message indicat

Re: Apache Tomcat 6.0 Tomcat6 service stopped unexpectedly in windows server 2012

2014-08-07 Thread Luciano Fioriti
Hi, try to increase Maximum number of threads in server.xml bie 2014-08-07 6:57 GMT+02:00 Alapan Sur : > Hi Team, > > > > We have .Net application consuming tomcat solr3.5 services and deployed on > Windows Server 2012. Its is 64 bit machine with 32 GB RAM and Tomcat > veriosn > is 6 and is in

Re: Apache Tomcat 6.0 Tomcat6 service stopped unexpectedly in windows server 2012

2014-08-07 Thread André Warnier
Alapan Sur wrote: Hi Team, We have .Net application consuming tomcat solr3.5 services and deployed on Windows Server 2012. Its is 64 bit machine with 32 GB RAM and Tomcat veriosn is 6 and is installed at :"C:\Program Files (x86)\Apache Software Foundation\Tomcat 6.0". During the peak load, t