java heap space error

2009-09-01 Thread Suleyman Akpinar
Hi all, I have a java web application running on tomcat and I get java heap space not enough error temporarily. Each time I am increasing the JMV heap option by modifying the system variable CATALINA_OPTS. However, this solves the problem temporarily. I get the same error when I work for

Re: java heap space error

2009-09-01 Thread Pid
On 01/09/2009 08:58, Suleyman Akpinar wrote: Hi all, I have a java web application running on tomcat and I get java heap space not enough error temporarily. Each time I am increasing the JMV heap option by modifying the system variable CATALINA_OPTS. However, this solves the problem

Re: Not compiling JSP's

2009-09-01 Thread Mark Thomas
Carl wrote: Odd that some JSP's get compiled and some won't. Note that it is always the same JSP's that will not compile. File modification times in the future on the JSPs? One way to find out what is going on is to use remote debugging and your favourite IDE to step through the JSP

Re: java heap space error

2009-09-01 Thread Suleyman Akpinar
Many thanks Pid, Your solution seems very reasonable. I will fulfill your advice. Best Regards, Suleyman Pid wrote: On 01/09/2009 08:58, Suleyman Akpinar wrote: Hi all, I have a java web application running on tomcat and I get java heap space not enough error temporarily. Each time I am

Re: Strange problem with data source Tomcat 6.0.18

2009-09-01 Thread Michael Ludwig
Schalk, glad you solved it. Michael Ludwig schrieb: Then I suspect a typo in your resource definition. I once had Resource/@url instead of Resource/@uri with the MySQL driver. The error was just: For posterity, I got this the wrong way around: Resource/@url is correct, Resource/@uri is

RE: java heap space error

2009-09-01 Thread Ningappa Koneri
Thanks a lot it seems I also need to do the same. Regards, Ningappa Koneri mLifestyle | www.comviva.com -Original Message- From: Suleyman Akpinar [mailto:suleyman.akpi...@hititcs.com] Sent: Tuesday, September 01, 2009 1:49 PM To: Özkan Dülger; Serdar Gür Subject: Re: java heap space

Re: Not compiling JSP's

2009-09-01 Thread Carl
Mark, Thanks for your reply. I checked the modification times and they are all yesterday while the system date/time on the server is today (although it was one hour off.) I am presently bringing Netbeans up on the test server in an attempt to see what is happening. If you have any other

tomcat 6.0.20 different instances with diff ips but same port no 80

2009-09-01 Thread John Smith
Hi Guys, Is it possible by using tomcat 6.0.20 with different instances with diff ips but same port no 80 on one system ??? I have three instances running on one machine named *a,b and c with each has different IPS (192.168.205.10/11/12). * I ran instance a on port 80 (it ran), but when I

Re: tomcat 6.0.20 different instances with diff ips but same port no 80

2009-09-01 Thread Mark Thomas
John Smith wrote: I really appreciate some one give me some hint (as I can do same think in ISS server) http://tomcat.apache.org/tomcat-6.0-doc/config/http.html Look for the address attribute Mark - To unsubscribe,

RE: maling list archives and bug tracker dumps for academic research evaluation

2009-09-01 Thread Iqbal, Aftab
Dear Mark, thanks for your response and cooperation. For the evaluation of our research work, we would like to run experiments on the last 12 months activity on Tomcat project. I would like to have the tomcat-dev archives of last 12 months (Aug2008 - Aug 2009). It would be even nicer if i

Re: maling list archives and bug tracker dumps for academic research evaluation

2009-09-01 Thread Mark Thomas
Iqbal, Aftab wrote: Dear Mark, thanks for your response and cooperation. For the evaluation of our research work, we would like to run experiments on the last 12 months activity on Tomcat project. I would like to have the tomcat-dev archives of last 12 months (Aug2008 - Aug 2009). It

RE: maling list archives and bug tracker dumps for academic research evaluation

2009-09-01 Thread Iqbal, Aftab
Dear Mark, thanks regards Aftab Iqbal -Original Message- From: Mark Thomas [mailto:ma...@apache.org] Sent: Tue 9/1/2009 2:08 PM To: Tomcat Users List Subject: Re: maling list archives and bug tracker dumps for academic research evaluation Iqbal, Aftab wrote: Dear Mark, thanks

Re: 100% usage and hanging on startup of Spring/Hibernate app in Tomcat 5.5 on Ubuntu 7

2009-09-01 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Bradley, On 8/31/2009 5:27 PM, Bradley Wagner wrote: The three thread dumps were from three different occurrences of the same problem and three consecutive startup attempts. With each occurrence, the startup process hangs in the middle of

Re: tomcat 6.0.20 different instances with diff ips but same port no 80

2009-09-01 Thread Michael Ludwig
John Smith schrieb: Is it possible by using tomcat 6.0.20 with different instances with diff ips but same port no 80 on one system ??? Only one process can bind to any given IP/port combination. I ran instance a on port 80 (it ran), but when I tried to run another instance b on port 80 ( I

Re: Query on Tomcat Server.xml

2009-09-01 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Bhuvan, On 8/31/2009 11:46 PM, Bhuvanesh Pattanashetti wrote: Hi, Even i have similar problem.. I wanted to create the connector/ element. At the time of tomcat start up using Tomcat's existing bootstrap classes rather than loading them using

Re: 100% usage and hanging on startup of Spring/Hibernate app in Tomcat 5.5 on Ubuntu 7

2009-09-01 Thread Peter Crowther
2009/9/1 Christopher Schultz ch...@christopherschultz.net Hmm. Do you trust your hardware? [...] How much physical memory does your machine have? How much swap space? Try running badblocks on your swap partition. Try running memtest86+ on your hardware (if it's x86... you didn't say). The

Re: tomcat 4.1.31 problem

2009-09-01 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jamez, On 8/31/2009 10:27 PM, jamez smith wrote: I have tried to type startup.bat in DOS under $CATALINA_HOME/bin, the window quickly closed itself again. Really? When you run startup.bat from the command-line, is EXITS CMD.EXE? That is very

RE: tomcat 6.0.20 different instances with diff ips but same port no 80

2009-09-01 Thread Caldarale, Charles R
From: Michael Ludwig [mailto:m...@as-guides.com] Subject: Re: tomcat 6.0.20 different instances with diff ips but same port no 80 A server may have mulitple Service elements. Don't ask me why you'd want more than one Service elements [2] - because that's what I'd like to ask the experts.

Re: 100% usage and hanging on startup of Spring/Hibernate app in Tomcat 5.5 on Ubuntu 7

2009-09-01 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Peter, On 9/1/2009 11:18 AM, Peter Crowther wrote: 2009/9/1 Christopher Schultz ch...@christopherschultz.net Hmm. Do you trust your hardware? [...] How much physical memory does your machine have? How much swap space? Try running badblocks

Re: Is resource-ref really needed?

2009-09-01 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Robert, On 8/31/2009 6:19 PM, Robert Whane wrote: Okay, it's optional, so I don't HAVE to use, but if I DO use it, what possible advantage does it have? Adherence to the Servlet Specification? - -chris -BEGIN PGP SIGNATURE- Version: GnuPG

RE: redirect paramter in the jk_workers file

2009-09-01 Thread Dhiraj Rajput
Hi All, Any idia on below mail Could anyone help me on the same. Thanks and Regards, -Original Message- From: Dhiraj Rajput [mailto:draj...@premiertechnologygroup.com] Sent: Thursday, August 27, 2009 5:56 PM To: users@tomcat.apache.org Subject: redirect paramter in the

Re: tomcat 6.0.20 different instances with diff ips but same port no 80

2009-09-01 Thread Michael Ludwig
Caldarale, Charles R schrieb: From: Michael Ludwig [mailto:m...@as-guides.com] A server may have mulitple Service elements. Don't ask me why you'd want more than one Service elements [2] - because that's what I'd like to ask the experts. Anyone? Seemed like a good idea at the time? If you

RE: tomcat 6.0.20 different instances with diff ips but same port no 80

2009-09-01 Thread Caldarale, Charles R
From: Michael Ludwig [mailto:m...@as-guides.com] Subject: Re: tomcat 6.0.20 different instances with diff ips but same port no 80 I would probably deploy the app, grab the extracted second_world.xml, put it under version control Why not just start out with the Context element under version

Re: tomcat 6.0.20 different instances with diff ips but same port no 80

2009-09-01 Thread Michael Ludwig
Caldarale, Charles R schrieb: I would probably deploy the app, grab the extracted second_world.xml, put it under version control Why not just start out with the Context element under version control? No need to even have it in the .war file if you're always going to override it. Right. I

filter mapping in Tomcat6

2009-09-01 Thread r9973
I created a filter and its mapping in my applications web.xml. This is running in Tomcat6. My application is using the Tiles framework. filter filter-namefiltername/filter-name filter-classorg.springframework.web.filter.DelegatingFil terProxy/filter-class /filter filter-mapping

filter mapping in Tomcat6

2009-09-01 Thread r9973
I created a filter and its mapping in my applications web.xml. This is running in Tomcat6. My application is using the Tiles framework. filter filter-namefiltername/filter-name filter-classorg.springframework.web.filter.DelegatingFil terProxy/filter-class /filter filter-mapping

Re: tomcat 4.1.31 problem

2009-09-01 Thread jamez smith
On Tue, Sep 1, 2009 at 11:26 PM, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jamez, On 8/31/2009 10:27 PM, jamez smith wrote: Really? When you run startup.bat from the command-line, is EXITS CMD.EXE? That is very surprising.

RE: tomcat 4.1.31 problem

2009-09-01 Thread Caldarale, Charles R
From: jamez smith [mailto:jamez...@gmail.com] Subject: Re: tomcat 4.1.31 problem This application has to run on JDK 1.4. Why are you tying both hands behind your back and wearing a blindfold while crossing a room full of booby-traps? 1.4 has been a dead end for quite some time. My

RE: filter mapping in Tomcat6

2009-09-01 Thread Caldarale, Charles R
From: r9973 [mailto:r9...@yahoo.com] Subject: filter mapping in Tomcat6 Instead of passing through the filter once, it calls it for every single include on the page i.e. every single tile Turn on Tomcat's AccessLogValve or monitor the traffic between the browser and Tomcat with Wireshark

Re: Unable to access files outside Webapp directory in tomcat

2009-09-01 Thread asingla4
Hi, Initially, I was accessing the files using the absolute path, but this way I'm unable to download the files through my web Page (the download image on the page would require a relative path as src.) So, eventually, I haven't been able to try anything. Akash Christopher Schultz-2 wrote:

Re: redirect paramter in the jk_workers file

2009-09-01 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dhiraj, On 8/27/2009 8:26 AM, Dhiraj Rajput wrote: I have issue on the redirect tag in jk workers file. What is redirect tag? - -chris -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (MingW32) Comment: Using GnuPG with Mozilla -

Re: tomcat 4.1.31 problem

2009-09-01 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jamez, On 9/1/2009 1:10 PM, jamez smith wrote: Sorry I didn't make this clear. The DOS Window where I type startup.bat is not closed and showed below, but the DOS Window it opened is closed itself. C:\Tomcat 4.1\binstartup.bat Using

Re: Unable to access files outside Webapp directory in tomcat

2009-09-01 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Akash, On 9/1/2009 1:36 PM, asingla4 wrote: Initially, I was accessing the files using the absolute path Accessing the files with what? A fork and knife? but this way I'm unable to download the files through my web Page (the download image on

Can catalina-cluster from Tomcat 5.5 be used in Tomcat 6?

2009-09-01 Thread Florian Kirchhoff
Hi, I would like to know if it possible to use the legacy clustering module from Tomcat 5.5 in Tomcat 6. I remember seeing a separate project for this exact purpose but cannot find it anymore, does anyone know about this? To preempt any question as to why would I not use cluster-ha and

tomcat manager

2009-09-01 Thread Angelo Chen
Hi, in tomcat manager, it has a line: Bytes sent: 123.12MB under http-8080. if under webapps, a symbolic link was created which in turn contains a list of files like pdf, jpeg, is the rendering of those static contents included in the 'bytes sent:123.12mb' ? Thanks, Angelo -- View this

Re: Is resource-ref really needed?

2009-09-01 Thread Robert Whane
On Tue, Sep 1, 2009 at 5:41 PM, Christopher Schultzch...@christopherschultz.net wrote: On 8/31/2009 6:19 PM, Robert Whane wrote: Okay, it's optional, so I don't HAVE to use, but if I DO use it, what possible advantage does it have? Adherence to the Servlet Specification? Which is what I

Re: Is resource-ref really needed?

2009-09-01 Thread Robert Whane
On Tue, Sep 1, 2009 at 5:07 AM, Martin Gaintymgai...@hotmail.com wrote: both the entries ContextResource and web.xml resource-ref reference ContextResource //WebAnnotationSet.java     protected static void addResource(Context context, Resource annotation) { //if the annotation is

RE: Is resource-ref really needed?

2009-09-01 Thread Martin Gainty
the fellow who wrote it was writing code for at least 2 other projects it may have been a case of where he accomplished 75% of what was needed then some other task got moved to his front burner still it is *unusual* that web.xml resource-ref is'nt read Martin Gainty

Using multiple DataSource's for fail-over.

2009-09-01 Thread Bill Davidson
Tomcat 6.0.20 using DBCP DataSource Java 1.6.0_16 Oracle 10g with RAC. I've got two Oracle RAC nodes, mirroring each other. My current fail-over method if the primary node fails is to shut down the web servers, reconfigure them to use the secondary node and restart the web servers. Not

Re: tomcat 4.1.31 problem

2009-09-01 Thread jamez smith
Hi Chuck, Good to know that. I will definitely try the Tomcat 5 with JDK 1.4. Thanks, Jamez. On Wed, Sep 2, 2009 at 1:18 AM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: jamez smith [mailto:jamez...@gmail.com] Subject: Re: tomcat 4.1.31 problem This application has to

How do I remove 'S' from HTTPS - JAAS configured on tomcat, JSF webapp

2009-09-01 Thread Shantanu Upadhyaya
How do I remove HTTPS after login in ? I have read other posts. I still need this thread as it has to do with JAAS on tomcat. Please read on. For the hasty, jump to 9 onwards. My UI stack is as follows : * JSF 1.2, Facelets, Richfaces 3.2.1 * JAAS * Tomcat 6 0. Relevant web.xml entries

Re: tomcat 4.1.31 problem

2009-09-01 Thread jamez smith
Hi Chris, Thanks for your patience with me. :-) What is your appBase for your Host in server.xml? Please re-post the Context definition that does work, and the one that does not work (no need to re-post the Resource within the Context). 1. appBase Host appBase=webapps autoDeploy=true

Re: AJP connections just stop working

2009-09-01 Thread netsick
Hi, How did the results of your monitoring go ? Were you connection/keepalive timeouts helping ? Are they still set at 10mins ? Please outline the steps you made if the problem has indeed been resolved. Thanks Kris Guy Cube wrote: Here are my updates : Interesting finding is whatever

RE: redirect paramter in the jk_workers file

2009-09-01 Thread Dhiraj Rajput
Hi Chris, I have below mention tag in my jk workers file. orker.tomcat.type=lb worker.tomcat.socket_keepalive=1 worker.tomcat.socket_timeout=300 worker.tomcat.connection_pool_size=50 worker.tomcat.connection_pool_timeout=600 worker.tomcat.balance_workers=tomcatnode1,tomcatnode2

Re: Unable to access files outside Webapp directory in tomcat

2009-09-01 Thread asingla4
Hi, I have my Web application installed in C:\Tomcat\webapp\ROOT. Now, through the Web page of this application, the user uploads an image which the application saves in C:\files folder using ImageIO class of JAVA. Now as soon as the file is uploaded, there should be a download button enabled

Re: Query on Tomcat Server.xml

2009-09-01 Thread Bhuvanesh Pattanashetti
Thanks for your suggestion, I wanted only some part of tomcat to be customized.So it would be risky and time consuming if i override the whole part. I have reached some extent. i m using spring-DM running on tomcat. Spring-DM is able to inject the Service/ object my business class. I wanted to