RE: Tomcat Runs OutOfMemory (Not at repeated WAR deployments)

2008-07-03 Thread Surendrakumar Viswanathan -X (suviswan - HCL at Cisco)
Hi Add -XX:+HeapDumpOnOutOfMemoryError option to you JVM parameter. It will dump the heap (in hprof format) on OOM. You can take the hprof file and then analyze using Eclipse MAT (Memory Analyzer tool). This will give you information on which objects are getting used most. Based on that you can

Re: Tomcat 5.5.25 freezes

2008-07-03 Thread Johnny Kewl
- Original Message - From: "Clovis Wichoski" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Friday, July 04, 2008 3:37 AM Subject: Re: Tomcat 5.5.25 freezes hi Christophe, i'm fighting with this problem for months, but i will reply on your thread for us to make a track of each pr

Re: Tomcat bottleneck on InternalInputBuffer.parseRequestLine

2008-07-03 Thread Clovis Wichoski
hi, Christophe, well, i still dont find the reason about what is my problem, but some things that help me to avoid the problem to occurs frequently, i checked the limit for open files on linux, you can check yous with ulimit -a, here i set to 4096, how the machines are connected? its with gigabi

Re: Tomcat 5.5.25 freezes

2008-07-03 Thread Clovis Wichoski
hi Christophe, i'm fighting with this problem for months, but i will reply on your thread for us to make a track of each problem, ok On Thu, Jul 3, 2008 at 5:49 AM, Christophe Fondacci < [EMAIL PROTECTED]> wrote: > Hello, > > Might it be related to the problem I described in the thread "Tomcat >

Re: JSTL problem in v2.5 web application

2008-07-03 Thread David Smith
What version of JSTL jars are you using and what do you have up at the top of your jsp declaring the taglibs? Seems like this is a mix up using and older tld with a newer JSTL syntax or mixing versions of standard.jar and jstl.jar. --David stanlick wrote: I just installed the new Eclipse Ga

JSTL problem in v2.5 web application

2008-07-03 Thread stanlick
I just installed the new Eclipse Ganymede and Tomcat 6.x server and created a dynamic web app. I added the JSTL jars to the project and after much fussing around trying to get the jars to actually deploy to the WEB-INF/lib folder, I am getting this error when trying to use the core tag library c:

Re: Tomcat Runs OutOfMemory (Not at repeated WAR deployments)

2008-07-03 Thread Maduranga
Its 32 bit. Sorry I missed that earlier. Could be a problem with web app. Could you give me an idea/example for a profiler? Any open source ones available? I am really in a tight schedule to get this sorted out. All the help much appreciated Thanks a lot Maduranga On Thu, Jul 3, 2008 at 6:13 P

RE: /tomcat/mod_jk2.so: symbol ap_MD5Init: referenced symbol not found.

2008-07-03 Thread Steve Ochani
On 3 Jul 2008 at 15:17, Linda Lee wrote: Date sent: Thu, 03 Jul 2008 15:17:15 -0600 From: Linda Lee <[EMAIL PROTECTED]> Subject:RE: /tomcat/mod_jk2.so: symbol ap_MD5Init: referenced symbol not found. To: Tomcat Users List Send reply to: Tomcat Users List > Hi > > Thank y

RE: preventing manifest write

2008-07-03 Thread Caldarale, Charles R
> From: J Ilari Moilanen [mailto:[EMAIL PROTECTED] > Subject: RE: preventing manifest write > > java.io.FileOutputStream.(FileOutputStream.java:131) > org.apache.catalina.loader.WebappClassLoader. > findResourceInternal(WebappClassLoader.java:1817) The code in this area is extracting possible re

RE: /tomcat/mod_jk2.so: symbol ap_MD5Init: referenced symbol not found.

2008-07-03 Thread Linda Lee
Hi Thank you for your suggestion. I am using mod_jk-1.2.26-httd-2.0.61.so from Tomcat 5.5.25 and I got the below error: -- error API module structure 'jk_module' in file /tomcat/mod_jk-1.2.26-httpd-2.0.61.so is garbled - expected signature 41503232 but saw 41503230 - perhaps this is

Re: JSP page directive

2008-07-03 Thread Sean Doyle
Problem solved: Two changes: First line of the jsp is now: <%@ page contentType="application/x-java-jnlp-file" %> and in web.xml the trimSpaces parameter is set to true. Now the request.getParameter() call works fine. On Mon, Jun 30, 2008 at 5:16 PM, Sean Doyle <[EMAIL PROTECTED]> wrote: >

Re: /tomcat/mod_jk2.so: symbol ap_MD5Init: referenced symbol not found.

2008-07-03 Thread Rainer Jung
Linda Le wrote: Hi ALL While loading mod_jk2 from tomcat 5.5.25 to Apache 2.2.26. I got the following error. Appreciate your pointer. Thanks. Cannot load /tomcat/mod_jk2.so into server: ld.so.1: httpd: fatal: relocation error: file /tomcat/mod_jk2.so: symbol ap_MD5Init: referenced symbol not

/tomcat/mod_jk2.so: symbol ap_MD5Init: referenced symbol not found.

2008-07-03 Thread Linda Le
Hi ALL While loading mod_jk2 from tomcat 5.5.25 to Apache 2.2.26. I got the following error. Appreciate your pointer. Thanks. Cannot load /tomcat/mod_jk2.so into server: ld.so.1: httpd: fatal: relocation error: file /tomcat/mod_jk2.so: symbol ap_MD5Init: referenced symbol not found

How to log thread-pool of tomcat-5.5.25

2008-07-03 Thread Zsolt Koppany
Hi, after some hours we detect that tomcat uses lot of threads. How can I get logging information about threads being created/destroyed etc. Zsolt - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail

RE: Tomcat Runs OutOfMemory (Not at repeated WAR deployments)

2008-07-03 Thread Caldarale, Charles R
> From: Maduranga [mailto:[EMAIL PROTECTED] > Subject: Re: Tomcat Runs OutOfMemory (Not at repeated WAR deployments) > > OS: Red Hat Enterprise Linux AS release 4 (Nahant Update 2) Is that 64-bit or 32-bit? > I have 2G ram for JVM, but I would like to stick with 1G if > its possible. If that's 2

RE: preventing manifest write

2008-07-03 Thread J Ilari Moilanen
Thanks for your reply. The error does not happen during unpacking of the war file since I can reproduce the problem just by putting new jsp page inside the unpacked application and it ends to the same exception (so tomcat does compile jsp pages on the fly). The other jsp pages (and servlets) that a

Re: Tomcat Runs OutOfMemory (Not at repeated WAR deployments)

2008-07-03 Thread Maduranga
OS: Red Hat Enterprise Linux AS release 4 (Nahant Update 2) I have 2G ram for JVM, but I would like to stick with 1G if its possible. With the change of JVM settings still no positive result.. therefore I will switch back to Xms and Xms as you say. (with a same value -- 1G may be?). Do you recom

RE: Tomcat Runs OutOfMemory (Not at repeated WAR deployments)

2008-07-03 Thread Caldarale, Charles R
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Subject: Tomcat Runs OutOfMemory (Not at repeated WAR deployments) > > I changed many JVM parameters with no luck and currently it is: > -server -Xms512m -Xmx2048m -XX:NewSize=128m -XX:MaxNewSize=128m > -XX:SurvivorRatio=4 I would strongly reco

RE: how to set character encoding in Tomcat 6.0

2008-07-03 Thread Caldarale, Charles R
> From: Zhou, Yan [mailto:[EMAIL PROTECTED] > Subject: how to set character encoding in Tomcat 6.0 > > response.setCharacterEncoding("UTF-7"); Java does not normally include UTF-7 support (probably a good thing). There is a SourceForge package you might try if you really, really need to use it:

RE: Virtual Hosts and 'Hot' Redeployment

2008-07-03 Thread Caldarale, Charles R
> From: Martin Harrigan [mailto:[EMAIL PROTECTED] > Subject: Virtual Hosts and 'Hot' Redeployment > > Any ideas why a redeployed webapp might work from > http://1.2.3.4/myWebApp but not from > http://www.otherserver.com? Your configuration is invalid, so predictable operation is not possible. To

RE: preventing manifest write

2008-07-03 Thread Caldarale, Charles R
> From: J Ilari Moilanen [mailto:[EMAIL PROTECTED] > Subject: RE: preventing manifest write > > And I can guess (without looking onto tomcat code) that the > problem here is that Tomcat tries to write something that it > does not need to do during normal servlet execution. Since you didn't give us

Re: How do I do this with Tomcat?

2008-07-03 Thread Johnny Kewl
- Original Message - From: "Dhanisworo Dhanisworo" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Thursday, July 03, 2008 11:16 AM Subject: How do I do this with Tomcat? Hi all regarding the problem I've posted before about IE showing balnk page, I've found this article on how

Tomcat 5.0.27, JDK 1.3.1 - NoSuchMethodError in CGIServlet$CGIEnvironment

2008-07-03 Thread sridharmnj
Hi, I am working on cgi scripts in tomcat. I did all the stuff for CGI in tomcat (Renaming jar file, uncommenting CGI servlet and all). When I access a simple ../hello.cgi, its working fine. But when use parameters (../hello.cgi?name=user) its giving the NoSuchMethodError. I tried googling and

Virtual Hosts and 'Hot' Redeployment

2008-07-03 Thread Martin Harrigan
Hi all, I have the following problem with tomcat 6.0: I have two webapps, ROOT and myWebApp. ROOT is deployed to /var/lib/tomcat-6/webapps and has the following entry in server.xml: I can reach it fine through http://1.2.3.4/ and if I redeploy ROOT (using the tomcat-maven-plugin), I do not need

Tomcat Runs OutOfMemory (Not at repeated WAR deployments)

2008-07-03 Thread Maduranga
Hi, Tomcat version "5.5.20" Java version "1.5.0_09" I run a production system with an single WAR file which communicates to an outside-world web-service via a ActiveMQ. Also it connects to an FTP service and does some image manipulation as well. Spring is being used for IOC, and JDBC (JDBCTemplat

Re: preventing manifest write

2008-07-03 Thread J Ilari Moilanen
Thanks for the opinion. I've looked through different options. At the moment I have no applications live at all so 40 is too much. So when gogaddy's price for a hosting account is about 4-5 euros that is about the right price for me. If I would pay much more then my motivation to build applications

how to set character encoding in Tomcat 6.0

2008-07-03 Thread Zhou, Yan
Hi There, With the default Tomcat 6.0, the following results in "UnsupportedEncodingException", how do I configure Tomcat for different encoding? I am setting the response in my Servlet: response.setCharacterEncoding("UTF-7"); Thanks, Yan Zhou Confidentiality Notice

Re: IIS 6.0 / JK1.2.25 / Tomcat 5.5.20 - "Service temporary unavailable"

2008-07-03 Thread Rainer Jung
Hi Jesse, Jesse Klaasse wrote: Hello Rainer, Thanks again for your prompt and clear reply. You're helping me a lot! I have implemented the settings as you suggested (for the datasources of all 8 webapps on my Tomcat server). I need to wait for a restart of the application before the settings b

Re: preventing manifest write

2008-07-03 Thread Leon Rosenberg
a bit off off-topic, but what do you consider cheap? there are providers our there that will grant you root level access to a dedicated server for less than 40 euros per month, where you can do whatever you want with the machine. Perhaps you should go for one of those. regards Leon On Thu, Jul 3,

Re: [OT] Performance Requirements

2008-07-03 Thread Peter Lin
there's plenty of papers on the topic on the internet, including the ones listed on tomcat's website. have you looked at the resource page? http://tomcat.apache.org/resources.html On Thu, Jul 3, 2008 at 9:05 AM, Filip Hanik - Dev Lists <[EMAIL PROTECTED]> wrote: > there is one criteria that I al

RE: preventing manifest write

2008-07-03 Thread J Ilari Moilanen
Thanks for the reply. I'm aware of the need for writable work directory. I can only assume that GoDaddy has setup the server so that the directory is writable during deployment procedure but not during application execution (apart from jsp compilation). And I can guess (without looking onto tomcat

Re: [OT] Performance Requirements

2008-07-03 Thread Filip Hanik - Dev Lists
there is one criteria that I always use, and that is "user response time" this can work for almost any webapp that has some sort of "real" user in front of it. 50 to 100ms would be excellent and very aggressive, but it depends on the app itself of course. 2-3 seconds for a complete page load is

RE: preventing manifest write

2008-07-03 Thread Caldarale, Charles R
> From: J Ilari Moilanen [mailto:[EMAIL PROTECTED] > Subject: preventing manifest write > > But why Tomcat (or displaytag for that matter) would > try to write MANIFEST.MF during the execution of the > application?! Tomcat must have access to a writable work directory for several reasons, includi

Re: How to turn off tomcat daemon?

2008-07-03 Thread David Smith
You shouldn't need to kill any java processes. If the java process is spawned by jsvc, then jsvc will signal it to stop. You can tell that in the long format ps command with java having a parent process id equal to the jsvc process id. Also be aware some webapps take a while to clean up and

Re: How to turn off tomcat daemon?

2008-07-03 Thread David Smith
If starting using sudo, then shutdown will also use sudo. --David kjwchu wrote: I started tomcat with sudo. So I think I should use sudo to turn it off. However, the jsvc process is still there. [EMAIL PROTECTED] bin]$ sudo ./jsvc -stop -pidfile ../temp/jsvc.pid org.apache.catalina.startup.Bo

Re: IIS 6.0 / JK1.2.25 / Tomcat 5.5.20 - "Service temporary unavailable"

2008-07-03 Thread Jesse Klaasse
Hello Rainer, Thanks again for your prompt and clear reply. You're helping me a lot! I have implemented the settings as you suggested (for the datasources of all 8 webapps on my Tomcat server). I need to wait for a restart of the application before the settings become active, however. For your i

Re: Help configuring Tomcat 5.5.15 with Apache 2.0.58

2008-07-03 Thread Ljuba Veselinova
>> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf >> Of Ljuba Veselinova >> Subject: Help configuring Tomcat 5.5.15 with Apache 2.0.58 >> >> I need to configure Tomcat 5.5.15 with Apache 2.0.58 so that I can >> then install ArcIMS 9.2. > > Two questions: > > 1) Why such an old level of

Re: Help configuring Tomcat 5.5.15 with Apache 2.0.58

2008-07-03 Thread Ljuba Veselinova
> >> Hi, >> >> I need to configure Tomcat 5.5.15 with Apache 2.0.58 so that I can >> then install ArcIMS 9.2. >> >> >> I am following the instructions in >> http://support.esri.com/index.cfm?fa=knowledgebase.techarticles.articl >> eShow&d=31218, >> >> It says there that the HelloWorld example shoul

Re: nsapi_redirector.so file

2008-07-03 Thread Rainer Jung
sandeep gelli wrote: Hi Rainer, Below is the URL from which i have downloaded the 64-bit nsapi_redirector.so file. When i use this file http://apache.oss.eznetsols.org/tomcat/tomcat-connectors/jk/binaries/solaris/jk-1.2.26/sparc/ I receive the following error message when i use this file. Sun

Re: IIS 6.0 / JK1.2.25 / Tomcat 5.5.20 - "Service temporary unavailable"

2008-07-03 Thread Rainer Jung
Jesse Klaasse wrote: Hi Rainer. Thank you very much for this preliminary information. I had already noticed the AbandonedObjectPool messages myself. My resource configuration: name="bam/jdbc/vip8db" auth="Container" type="javax.sql.DataSource" username="***REMOVED***" password="***REMOVED***"

preventing manifest write

2008-07-03 Thread J Ilari Moilanen
I'm currently trying to use a application on a hosting server. Hosting provider (GoDaddy) does not allow any kind of writing to filesystem except to /tmp folder. Any other attempt will end in security exception. I'm currently trying to take Display Tag Library (displaytag) to use. http://displaytag

Re: IIS 6.0 / JK1.2.25 / Tomcat 5.5.20 - "Service temporary unavailable"

2008-07-03 Thread Jesse Klaasse
Hi Rainer. Thank you very much for this preliminary information. I had already noticed the AbandonedObjectPool messages myself. My resource configuration: name="bam/jdbc/vip8db" auth="Container" type="javax.sql.DataSource" username="***REMOVED***" password="***REMOVED***" driverClassName="com.

Re: IIS 6.0 / JK1.2.25 / Tomcat 5.5.20 - "Service temporary unavailable"

2008-07-03 Thread Rainer Jung
I'm doing top posting, because this is only a quick and incomplete reply: The root problem lies within the database connection pool. All 400 Tomcat threads are waiting in getConnection() to get a free DB connection from the common-dbcp pool. There are some bugs around dbcp, but I need a littl

Re: nsapi_redirector.so file

2008-07-03 Thread Rainer Jung
As a first step, answering the questions in my previous mail would be helpful. As a secodn step, showing your configuration. Third: what do you mean by "page not found"? Is it a browser generated error, e.g. because the web server crashes and the browqser doesn't get an answer, or do your get a

Re: proxy_ajp behind a firewall

2008-07-03 Thread Michele Mase'
Thanx 4 the hint. Basically I ask 4 help because sometimes the docs are too few :( Maybe, working together with the other group (httpd) for writing a small comparison between parameters (mod_jk/proxy_ajp) should be a good help/idea. Regards Michele On Thu, Jul 3, 2008 at 10:49 AM, Rainer Jung <[EM

How do I do this with Tomcat?

2008-07-03 Thread Dhanisworo Dhanisworo
Hi all regarding the problem I've posted before about IE showing balnk page, I've found this article on how to deal with this issue. http://qfox.nl/index.php?a=1&l=186&t=1 which said "Now I know all of that is old IE 6 crap. In fact, I dismissed the page the first time. But the second reply below

Re: IIS 6.0 / JK1.2.25 / Tomcat 5.5.20 - "Service temporary unavailable"

2008-07-03 Thread Jesse Klaasse
Hello Rainer, First of all, thank you for your extensive answer and the time you have taken to write the answer, this really gives me hope. Rainer Jung-3 wrote: > > Double check: The worker is a member of a load balancer. the member is > *not* in state STOP (because that is a configuration st

Re: nsapi_redirector.so file

2008-07-03 Thread sandeep gelli
Hi Rainer, Thanks for the prompt response. Let me explain my scenario. I am trying to redirect the requests from sun webserver to tomcat. All worked fine with my windows pc(32-bit) and when trying to deploy the same in my solaris system, i am able to get the first page. After submitting the first

Re: proxy_ajp behind a firewall

2008-07-03 Thread Rainer Jung
Hi Michele, Michele Mase' schrieb: Under mod_jk a "best pratics" (10 minutes session timeout 4 example) was: Adding the value connectionTimeout="60" in the connector field in server.xml for example And in workers.properties: ... worker.node1.connect_timeout=1 worker.node1.prepost_time

Re: Tomcat 5.5.25 freezes

2008-07-03 Thread Christophe Fondacci
Hello, Might it be related to the problem I described in the thread "Tomcat bottleneck on InternalInputBuffer.parseRequestLine" ? Christophe. - Original Message - From: "Clovis Wichoski" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Thursday, July 03, 2008 3:26 AM Subject: Re:

Re: Tomcat 5.5.25 freezes

2008-07-03 Thread Anthony Chamas
Thanks for your replies : I'll post the thread dump when I have it.. Cheers, Anthony 2008/7/3 Clovis Wichoski <[EMAIL PROTECTED]>: > Hi Anthony, > > i have same problem sometimes in version 6.0.16, when the thread stuck > occurs again, execute the follow shell script, please adjust for your > sc

proxy_ajp behind a firewall

2008-07-03 Thread Michele Mase'
Under mod_jk a "best pratics" (10 minutes session timeout 4 example) was: Adding the value connectionTimeout="60" in the connector field in server.xml for example And in workers.properties: ... worker.node1.connect_timeout=1 worker.node1.prepost_timeout=1 worker.node1.socket_timeout=

Re: Configuring DataSources using jsp: reload context.xml?

2008-07-03 Thread Jonas Wagner
One more update on the problem: > An update on the problem: on my development server (managed by eclipse) > restarting the server _sometimes_ seems to apply the changes. I haven't > found out in which cases exactly. The changes are never applied when I > deploy to a production server using a .war

Response already comitted on first line of servlet

2008-07-03 Thread Tom van Wietmarschen
L.S, I'm investigating a problem in which one of our servlets doesn't return any headers most of the time (sometimes it does work, but it seems quite random) After a bit of digging I found out that the reason the headers aren't added is that the response already seems to be comitted. I've ad

Re: nsapi_redirector.so file

2008-07-03 Thread Rainer Jung
Hi Sandeep, sandeep gelli schrieb: Hi, Can anyone help me providing nsapi_redirector.so file(64-bit version). My application is running on solaris sparc os 9, and sunone webserver 6.1 sp9. When i used the one available in the apache website, i am getting ELFCLASS64 error. I tried building it,