Re: DataSource question

2008-01-08 Thread Victor Saez
I think that's the MaxActive connections on the database. Depending on how you configure the datasource it will be available for one or all webapps. The tomcat docs have a good explanation, here you got the link for tomcat 5.5. http://tomcat.apache.org/tomcat-5.5-doc/jndi-resources-howto.html

Re: Monitoring Tomcat Clusters

2008-01-08 Thread Vinu Varghese
Sorry I missed this in the last post Also regarding Monitoring tomcat , using JMX is better Check this: http://tomcat.apache.org/tomcat-5.5-doc/monitoring.html Shiby Maria John wrote: HI, Do the Tomcat 5.5.x / 6.x versions have a default bundled application for monitoring tomcat clusters ?

Re: Database connectivity problem

2008-01-08 Thread Vinu Varghese
Could you pls post the stack trace? Sergey Livanov wrote: Please help figure out a connection pool error. My application ( tomcat, spring, ibatis ) works well in the configuration SQL 2000 + ms server 2000. When I transfer the application ( war ) to a win 2003 server I get an error ( error

Re: Tomcat consumes much memory when web.xml size grows

2008-01-08 Thread Vinu Varghese
Try putting those jars in the lib folder of the WAR unnikrishnans wrote: I have one war file having size 140MB and has been deployed in tomcat 5 and runs smothly. This war contains files from 20 different modules. So i planned to split war in to multiple jar file in the following manner. one

Re: Monitoring Tomcat Clusters

2008-01-08 Thread Vinu Varghese
See this : .1) http://www.jguru.com/faq/view.jsp?EID=499412 .2) http://www.onjava.com/pub/a/onjava/2001/12/12/openjms.html .3) http://activemq.apache.org/tomcat.html HTH Shiby Maria John wrote: HI, Do the Tomcat 5.5.x / 6.x versions have a default bundled application for monitoring tomcat

Why use a Web Server over Tomcat?

2008-01-08 Thread Bárbara Vieira
Hi there! I’m making a research about internet banking and e-commerce good practices to design a secure system. I have an application based on servlets running in a Tomcat Server. My application provides secure authentication based in both methods: SSL mutual authentication and form

RE: Why use a Web Server over Tomcat?

2008-01-08 Thread Peter Crowther
From: Kristian Rink [mailto:[EMAIL PROTECTED] Asides this, while tomcat and friends (servlet containers) are made to serve up, well, J2EE web tier applications, web servers like apache2, lighttpd, ... are usually better at serving static content (images, static css files, html documents that

Re: Why use a Web Server over Tomcat?

2008-01-08 Thread Kristian Rink
Bárbara, Am Tue, 8 Jan 2008 11:13:34 - schrieb Bárbara Vieira [EMAIL PROTECTED]: [...] Why that’s happen? Why we have a Web Server over another Web Server, if the low-level Web Server is capable to do everything alone? To give you an example: We do use a set of tomcat machines (four

Re: Why use a Web Server over Tomcat?

2008-01-08 Thread Diego
Review the list archives for the disproof of this myth. Tomcat 5.0 and above are quite capable of serving static content, efficiently enough that you'll saturate your network connection long before you saturate disk, memory or CPU. So unless you have one of the situations like those described by

Tomcat 5.5 problem with log4j and policy

2008-01-08 Thread Roberto Riggio
Hi, I'm deploying a struts 1.3.x webapp on tomcat 5.5. I'm using log4j 1.2.13 for logging and I've configured to log everything at /var/tmp/myapp.log However when i try to deploy the app tomcat complains that the webapp is not allowed to write on /var/log/myapp.log. How should I modify the

Re: Monitoring Tomcat Clusters

2008-01-08 Thread Peter Rossbach
Hi! A very fine new Eclipse plugin make the monitoring live easier: http://jmxplorer.sourceforge.net/wiki/index.php/Managing_Tomcat and for admin access give the jagger cli/jmx interface a chance: http://jagger.berlios.de/ The lamdaprobe console had also a nice tomcat 5.5 jmx cluster

Re: Tomcat 5.5 problem with log4j and policy

2008-01-08 Thread Roberto Riggio
Hi, sorry for the mistake, this is the directory where I'm logging: drwxr-x--- 2 tomcat55 adm 4096 2008-01-08 09:23 tomcat5.5 so the path that I'm using is: /var/log/tomcat5.5/myapp.log Tomcat is running under the user tomcat55 R. - Vinu Varghese [EMAIL PROTECTED] wrote: Hi,

Re: AccessControlException in Coyote Http11Processor (Tomcat 6.0.14). Bug in Coyote ?

2008-01-08 Thread Delian Krustev
On Mon, 07 Jan 2008 20:59:28 + Mark Thomas wrote: Not right now. Could you provide the full debug stack trace again please. We should at least see a different problem now the code has been changed. Here it goes: SEVERE: Servlet.service() for servlet jsp threw exception

Re: Tomcat 5.5 problem with log4j and policy

2008-01-08 Thread Vinu Varghese
Hi, Under which user the tomcat process is running?. It seems the user doesn't have enough privilege to write to the folder. regards Roberto Riggio wrote: Hi, I'm deploying a struts 1.3.x webapp on tomcat 5.5. I'm using log4j 1.2.13 for logging and I've configured to log everything at

RE: Why use a Web Server over Tomcat?

2008-01-08 Thread Bárbara Vieira
Diego and Kristian, I understand your perspective. But, my question is about security. Why systems banks use an IIS Server instead of an Apache Server over a Tomcat Server(or some servlet container), if that systems authenticate the client using servlets technology or some technology supplied by

JSP POST SSI, JSP sub request does not complete, bug id 43929

2008-01-08 Thread Robert Starzer
hi, could somebody please help me with this issue http://issues.apache.org/bugzilla/show_bug.cgi?id=43929 related issue is (http://issues.apache.org/bugzilla/show_bug.cgi?id=41949) i'm -not- using an old tomcat version; it does not work with apache-tomcat-5.5.25 on my system! perhaps someone

RE: Content_Length Problem

2008-01-08 Thread Woytasik Joe
I have tried the isapi_redirect.dll Tim provided, and it appeared to almost work. CICS made the request and received my response but for some reason did not interpret it correctly. Is there something in the redirector's log that I can look at to verify it is using chunked encoding? I see the

Re: Why use a Web Server over Tomcat?

2008-01-08 Thread Kristian Rink
Bárbara, Am Tue, 8 Jan 2008 13:53:11 - schrieb Bárbara Vieira [EMAIL PROTECTED]: I understand your perspective. But, my question is about security. Why systems banks use an IIS Server instead of an Apache Server over a Tomcat Server(or some servlet container) [...] For what I have seen

Re: Why use a Web Server over Tomcat?

2008-01-08 Thread Mikolaj Rydzewski
Bárbara Vieira wrote: I understand your perspective. But, my question is about security. Why systems banks use an IIS Server instead of an Apache Server over a Tomcat Server(or some servlet container), if that systems authenticate the client using servlets technology or some technology supplied

Busyness Method and others...

2008-01-08 Thread Mohan2005
Hello! The documentation says the following on the Busyness Method... QUOTE If set to B[usyness] the balancer will pick the worker with the lowest current load, based on how many requests the worker is currently serving. This number is divided by the workers lbfactor, and the lowest value

Re: Why use a Web Server over Tomcat?

2008-01-08 Thread Mark H. Wood
On Tue, Jan 08, 2008 at 03:17:38PM +0100, Mikolaj Rydzewski wrote: There's no simple answer. Running apache in front of tomcat has advantages: * load balancing / failover * static content handling (I know, tomcat behaves better and better, but some people want to have apache handle

Re: tag file recursivity problem

2008-01-08 Thread Lucas Galfaso
Hi, It should be available in the next Tomcat release (in fact it was included in a not-released Tomcat 6.0.15) No idea when the next GA release be available. Regards, Lucas On Jan 8, 2008 12:18 PM, Jair da Silva Ferreira Jr [EMAIL PROTECTED] wrote: Hi, Thank you very much for your

Re: Comet processor blocks if chunk includes final CRLF

2008-01-08 Thread Filip Hanik - Dev Lists
fyi, we had to rework the patch, as there is a nasty data corruption bug with the old way of doing things. the new patch is at http://people.apache.org/~fhanik/patches/fix-bz7-alt-1.patch and is up for voting Filip Filip Hanik - Dev Lists wrote: the patch has been applied and will go

Re: Comet API Question

2008-01-08 Thread Filip Hanik - Dev Lists
yes, uncommenting that valve in context.xml should do the trick, is it not firing or are you just not catching it? 2nd question, currently it just marks the request/response as non comet, and then calls response.finishResponse(), this will write any left over bytes to the socket. Filip

Re: JSP POST SSI, JSP sub request does not complete, bug id 43929

2008-01-08 Thread Rainer Jung
Hi Robert, I reopened the bug. See comments there. Robert Starzer schrieb: hi, could somebody please help me with this issue http://issues.apache.org/bugzilla/show_bug.cgi?id=43929 related issue is (http://issues.apache.org/bugzilla/show_bug.cgi?id=41949) i'm -not- using an old tomcat

Re: Setting Memory Limit per Virtual Host

2008-01-08 Thread Schadler Johann
We are running into some issues on a shared hosting machine. Basically Java is eating too much memory! :-) Is it possible to set the amount of memory that a virtual host is allowed to consume? Perhaps in the server.xml We have the overall JVM set to use 1024mb of ram, but it is getting

Pojo Application Server: Release 1.0.3

2008-01-08 Thread Johnny Kewl
A POJO Application Server... Lets one develop normal full java applications outside of the container. When they are dropped into the container only the UI side runs on the remote clients machine, thus one gets a light weight Rich Client, with no additional effort. The rest of the application

Re: Busyness Method and others...

2008-01-08 Thread Rainer Jung
Mohan2005 schrieb: Hello! The documentation says the following on the Busyness Method... QUOTE If set to B[usyness] the balancer will pick the worker with the lowest current load, based on how many requests the worker is currently serving. This number is divided by the workers lbfactor, and

Re: AccessControlException in Coyote Http11Processor (Tomcat 6.0.14). Bug in Coyote ?

2008-01-08 Thread Mark Thomas
Delian Krustev wrote: On Mon, 07 Jan 2008 20:59:28 + Mark Thomas wrote: Not right now. Could you provide the full debug stack trace again please. We should at least see a different problem now the code has been changed. Here it goes: I'm stumped. This stack trace indicates an issue with

Previous file handle

2008-01-08 Thread izlem Gozukeles
Hi, I have a Tomcat 5.5 on a Debian GNU/Linux (etch) server. Tomcat was running smoothly for a long time. However, last week, my tomcat 5.5 started to have problems. When I want to start tomcat as: /etc/init.d/tomcat5.5 start I get this error message: Starting Tomcat servlet engine:

RE: Content_Length Problem

2008-01-08 Thread Tim Whittington
That log statement indicates you haven't enabled chunked encoding in the connector config (it's off by default). Add enable_chunked_encoding=true to your isapi_redirect.properties (or as a registry setting if you're using that) and restart IIS. tim -Original Message- From: Woytasik Joe

Re: Previous file handle

2008-01-08 Thread Martin Gainty
does the log /var/lib/tomcat5.5/logs/catalina_2008-01-08.log exist? M- - Original Message - From: izlem Gozukeles [EMAIL PROTECTED] To: users@tomcat.apache.org Sent: Tuesday, January 08, 2008 5:00 PM Subject: Previous file handle Hi, I have a Tomcat 5.5 on a Debian GNU/Linux (etch)

Re: Previous file handle

2008-01-08 Thread Steve Ochani
Date sent: Wed, 09 Jan 2008 00:00:18 +0200 From: izlem Gozukeles [EMAIL PROTECTED] Subject:Previous file handle To: users@tomcat.apache.org Send reply to: Tomcat Users List users@tomcat.apache.org Hi, I have a Tomcat 5.5 on a Debian GNU/Linux (etch) server. Tomcat was

Re: Previous file handle

2008-01-08 Thread izlem Gozukeles
I tried this before. But it didn't solve the problem. Additionaly, I uninstalled tomcat, remove configuration files and log files. Then tried a clean install with new configuration files and log files. But it didn't work. Steve Ochani wrote: Looks like this error is from rotatelogs. Simple

Re: Why use a Web Server over Tomcat?

2008-01-08 Thread Johnny Kewl
--- HARBOR: http://coolharbor.100free.com/index.htm The best application server on earth --- - Original Message - From: Bárbara Vieira [EMAIL

Preferred load-balanced worker

2008-01-08 Thread Nahor
Hi, Is there a way to specify at runtime what worker the load-balancer should use first? For some request, we can't use cookies so we pass the session id via the URL or via the query string. We then force the worker using RewriteRule and the JK_WORKER_NAME env var. But then the request

Re: Monitoring Tomcat Clusters

2008-01-08 Thread Shiby Maria John
Thanks to all for the tips : ) Peter Rossbach [EMAIL PROTECTED] de

Re: One of my boxes, the cluster is not working anymore

2008-01-08 Thread Randy Paries
On Jan 7, 2008 2:49 PM, Filip Hanik - Dev Lists [EMAIL PROTECTED] wrote: easiest way to see your packets fly by, is to use wireshark and just sniff UDP packets Filip Randy Paries wrote: On Jan 7, 2008 1:55 PM, Filip Hanik - Dev Lists [EMAIL PROTECTED] wrote:

looking for sample MBean code for tomcat 6

2008-01-08 Thread Frank Z
hello, I am looking some sample MBean code for TC 6.0.. I was able to model some code after the source code (e.g. MemoryUserDatabaseMBean.java in the org.apache.catalina.users. package) . I was also able to create the mbeans-descriptor.xml One question that I have is that even though the