Re: poi- No Class Def Found Exception

2012-06-29 Thread r.sriram
Thanks Martin. That workedRam === On 6/29/2012 5:55 PM, Martin Gainty wrote: a TC webapp loads its library jars from WebAppName\WEB-INF\lib Place your poi.jar into WebAppName\WEB-INF\lib Martin Gainty __ V

Re: Any way to deal with too many request per second?

2012-06-29 Thread Joseph
Try jdk build in block queue in concurrent pkg 在 2012-6-30,7:57,Brian Braun 写道: > Hi, > > First of all, I'm using Ubuntu 11.1 + Tomcat 7.0.22. > > I created a RESTfull service. My clients are sending me HTTP requests, and > I return them responses. Usually, a client makes at the most 1-2 reque

RE: Tomcat 7.0.28 connection pool issue

2012-06-29 Thread Filip Hanik (mailing lists)
An update on this issue. Yassir tested with a JAR I built against trunk. What this could mean is that the bug https://issues.apache.org/bugzilla/show_bug.cgi?id=53367 somehow didn't make it into the build of 7.0.28 I will double check it. Filip > -Original Message- > From: Filip Hanik

RE: poi- No Class Def Found Exception

2012-06-29 Thread Martin Gainty
a TC webapp loads its library jars from WebAppName\WEB-INF\lib Place your poi.jar into WebAppName\WEB-INF\lib Martin Gainty __ Verzicht und Vertraulichkeitanmerkung Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger sein, so

poi- No Class Def Found Exception

2012-06-29 Thread r.sriram
Hello, I am using poi to read Excel files. I have added poi-3.8 directory in my development environment. When I run Main Class in my development, the classes associated with poi-3.8 (org.apache.poi.hssf.usermodel.HSSFCell; org.apache.poi.hssf.usermodel.HSSFRow;org.apache.poi.hssf.usermodel.HSS

Any way to deal with too many request per second?

2012-06-29 Thread Brian Braun
Hi, First of all, I'm using Ubuntu 11.1 + Tomcat 7.0.22. I created a RESTfull service. My clients are sending me HTTP requests, and I return them responses. Usually, a client makes at the most 1-2 requests per second which is totally fine, but some clients sometimes make about 30 requests per sec

RE: http.conf file

2012-06-29 Thread Martin Gainty
if you are using Apache HTTP Server as a proxy you will need to 1)configure httpd.conf parameters for mod_proxy 2)install mod_proxy.so (or mod_proxy.dll for windows) into your modules folder Instructions available athttp://httpd.apache.org/docs/2.0/mod/mod_proxy.html Martin Gainty

RE: Multicast fails when mcastBindAddress is explicitly set

2012-06-29 Thread Filip Hanik (mailing lists)
I'd write a simple test program to see. > -Original Message- > From: Madhav Bhargava [mailto:unmarsh...@gmail.com] > Sent: Friday, June 29, 2012 10:16 AM > To: Tomcat Users List > Subject: Re: Multicast fails when mcastBindAddress is explicitly set > > Hi Filip, > > We as development tea

Re: Multicast fails when mcastBindAddress is explicitly set

2012-06-29 Thread Madhav Bhargava
Hi Filip, We as development teams do not have access to the production VM/HV's but it was told to us that multicast is enabled and they have explicitly checked the Xen virtual bridges/switch to check if the multicast is blocked but it does not seem to be. At this point in time we do not know if t

Re: Re : Re: Issue with keep-alive connections, when using APR Connector on Windows and starting Processes from Servlets

2012-06-29 Thread Konstantin Kolinko
2012/6/22 Laurent Petit : > Hello, > > On Thu, 2012-06-21 at 22:53 +0200, Jeff MAURY wrote: >> Is it specific to Wordpad or any launched process will do the trick ? >> Do you tried with a non UI process (console) ? > > > I did an additional test, as you suggested, with a non UI process (a > small j

RE: Multicast fails when mcastBindAddress is explicitly set

2012-06-29 Thread Filip Hanik (mailing lists)
Sounds like you need to enable multicasting. This would be a VM/hypervisor configuration issue. Filip > -Original Message- > From: Madhav Bhargava [mailto:unmarsh...@gmail.com] > Sent: Friday, June 29, 2012 10:04 AM > To: users@tomcat.apache.org > Subject: Re: Multicast fails when mcastB

Re: Multicast fails when mcastBindAddress is explicitly set

2012-06-29 Thread Madhav Bhargava
Hi All, Ok we got resolution for the below exception. The problem was that both IPV4 and IPv6 addresses were enabled for the multihome machine. We switched to IPv6 addresses and the issue was no longer there. However there is still one issue: With machines on different hypervisors the multicast t

Re: Re : Re: Issue with keep-alive connections, when using APR Connector on Windows and starting Processes from Servlets

2012-06-29 Thread Jeff MAURY
Hello, I found the correct code to look at: http://svn.apache.org/repos/asf/tomcat/native/branches/1.1.x/native/src/network.c It does not set the inherit flag but it is using the apr library that maybe set the flag under Windows. If this is the case and according to your references, it is likely t

Re: Re : Re: Issue with keep-alive connections, when using APR Connector on Windows and starting Processes from Servlets

2012-06-29 Thread Laurent Petit
On Fri, 2012-06-29 at 15:27 +0200, Jeff MAURY wrote: > No, > > it does not (yet) make sense because one piece of the puzzle is missing. > The Local socket is not a TCP socket, it is created from a path rather than > from an IP address. > So this socket is in no way linked to the browser, at least

RE: http.conf file

2012-06-29 Thread Caldarale, Charles R
> From: Welch, Andrea [mailto:awe...@acehardware.com] > Subject: RE: http.conf file > Regarding the official docs - the Proxy Support section is one place > that I noted the reference to the httpd.conf file. We've also been > struggling with redirection of an app to be the root app and most of

RE: http.conf file

2012-06-29 Thread Welch, Andrea
Hi Chuck and thanks for the reply. Regarding the official docs - the Proxy Support section is one place that I noted the reference to the httpd.conf file. We've also been struggling with redirection of an app to be the root app and most of the support information I've found for doing that onlin

RE: http.conf file

2012-06-29 Thread Caldarale, Charles R
> From: Welch, Andrea [mailto:awe...@acehardware.com] > Subject: http.conf file > Much of the configuration information that is referred to in the > docs found at http://tomcat.apache.org/tomcat-6.0-doc/ and > elsewhere refer to an httpd.conf file. Can you be specific about where in the Tomcat

http.conf file

2012-06-29 Thread Welch, Andrea
Greetings, I'm very new to Apache Tomcat and working with version 6.0.35 installed on a Windows 2008 64-bit server. Much of the configuration information that is referred to in the docs found at http://tomcat.apache.org/tomcat-6.0-doc/ and elsewhere refer to an httpd.conf file. I'm unable to l

Re: Re : Re: Issue with keep-alive connections, when using APR Connector on Windows and starting Processes from Servlets

2012-06-29 Thread Jeff MAURY
No, it does not (yet) make sense because one piece of the puzzle is missing. The Local socket is not a TCP socket, it is created from a path rather than from an IP address. So this socket is in no way linked to the browser, at least directly, and the missing piece is what is the relation from this

Re: Re : Re: Issue with keep-alive connections, when using APR Connector on Windows and starting Processes from Servlets

2012-06-29 Thread Laurent Petit
Hello, On Fri, 2012-06-29 at 11:45 +0200, Jeff MAURY wrote: > That what I guessed but I don't understand everything. > The code you are referencing is related to NTPipes and not sockets. I'm not a C expert, but my bet is that the file name is misleading. Indeed, the con->sa.bInheritHandle =

Re: Re : Re: Issue with keep-alive connections, when using APR Connector on Windows and starting Processes from Servlets

2012-06-29 Thread Jeff MAURY
That what I guessed but I don't understand everything. The code you are referencing is related to NTPipes and not sockets. So I'm not familiar with Tomcat Native implementation, but do you know the global architecture ? What I guessed is that the Tomcat native stuff created with the inherit flag, b

Re: Re : Re: Issue with keep-alive connections, when using APR Connector on Windows and starting Processes from Servlets

2012-06-29 Thread Laurent Petit
Hello Jeff, Konstantin & all, On Mon, 2012-06-25 at 20:52 +0200, verlag.preis...@t-online.de wrote: > Hello Jeff & all, > > > Von: Jeff MAURY > > Datum: Mon, 25 Jun 2012 18:46:02 +0200 > > > Konstantin, > > > > your explanations are very interesting but unclear to me: what do you > > call the

Re: Tomcat 7 Manager App Authentication failure

2012-06-29 Thread Keiichi Fujino
Hi Is "etc/tomcat5/tomcat-users.xml" correct? The absolute path needs to start with "/". The correct pathname is "/etc/tomcat5/tomcat-users.xml". 2012/6/29 kl2eativ : > Hello. I am having problems trying to authenticate my tomcat 7 manager app. I > keep getting a 401 Unauthorized page. My config

Tomcat 7.0.28 + nativ 1.1.24

2012-06-29 Thread Andrey Timofeyev
Hello all, I have encountered with followen problem when migrate to tomcat 7.0.28 (native 1.1.24) from tomcat 7.0.27 (native 1.1.23): Under avarege load (about 1000 active connections) followen error appear in logs: SEVERE: null Jun 28 11:08:21 srvd1131 odnoklassniki-web[18658]: org.apache.tomca