Tomcat appears to be sending duplicate requests

2011-07-08 Thread Peter Cameron
I'm having an interesting problem which seems to be Tomcat-related and which occurs randomly under heavy load. I'd appreciate some advice/help. I'm developing a Java web application and deploying to Tomcat 6.0.32. (I get the same behaviour with the latest Tomcat 7). The web app uses Spring 3.

Servlet problem using normal url

2008-08-12 Thread Huntly Cameron
Hi guys, I've run into a strange problem with redirecting from a servlet when using a normal domain name (www.xyz.com) Basically up until now I was just testing my app using the http://locahost/ URL. The servlet redirect worked fine with with the page displaying fine. The URL would look somethin

tomcat as a proxy via a proxy

2008-08-05 Thread Steve Cameron
"Connection timed out" Has anyone else had more success?? Thanks Steve Cameron -- View this message in context: http://www.nabble.com/tomcat-as-a-proxy-via-a-proxy-tp18844302p18844302.html Sent from the Tomcat - User mailing list archive at

mod_jk + SSL

2007-04-07 Thread Cameron
with this configuration for now, but I'd like to know if I'm doing it the "right way". Thanks! -Cameron - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] F

Re: Tomcat, Timer and TimerTask question

2006-07-20 Thread Cameron
Thank you for all the responses. I had worked out that it is not loaded or called hence does not run. I embedded the same code to a servlet and it worked fine but in order to schedule this I will use the load it when the server starts. Many thanks for all your suggestions. Cameron

Re: Database Connection Error Cannot create PoolableConnectionFactory

2006-07-20 Thread Cameron Currie
odeBase "file:${catalina.home}/webapps/ROOT/-" codeBase "file:${catalina.home}/common/lib/-" codeBase "file:${catalina.home}/common/lib/mysql-connector-blah.jar" codeBase "jar:file:${catalina.home}/common/lib/mysql-connector-blah.jar!/-" On 7/20/06, Cameron Curr

Re: Database Connection Error Cannot create PoolableConnectionFactory

2006-07-20 Thread Cameron Currie
ebase "jar:file:${catalina.home}/common/lib/mysql-connector-java-3.14.jar!/-" { permission java.net.SocketPermission "127.0.0.1:3306", "connect" ; } --David Bob Hall wrote: >Cameron, > >You wrote: > > > >>I have a newly installed and c

Tomcat, Timer and TimerTask question

2006-07-19 Thread Cameron
Hello Just trying to schedule a batch email run using Timer and TimerTask framework on Tomcat 4.1.31 Found the following example from http://www.javapractices.com/Topic54.cjp Trying trying to test this scheduling mechanism first just by printing to System.out first... (see below) It does not s

Re: Database Connection Error Cannot create PoolableConnectionFactory

2006-07-19 Thread Cameron Currie
create a connection pool, even though a normal client can connect just fine. I even wrote a small java program to connect using JDBC, in case that was the problem. I used the same parameters given to tomcat and again, it works just fine. On 7/19/06, Bob Hall <[EMAIL PROTECTED]> wrote: Cameron,

Database Connection Error Cannot create PoolableConnectionFactory

2006-07-19 Thread Cameron Currie
java:684) at java.lang.Thread.run(Thread.java:595) ** END NESTED EXCEPTION ** Any help would be greatly appreciated. -- Cameron Currie [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [

Firefox and servlet issues

2006-07-06 Thread Cameron
Hello We have a servlet which uses org.jdom.output.XMLOutputter to update a file and at the end of the servlet there is a redirect using response.sendRedirect(). The servlet works perfectly on IE but displays a blank screen on firefox upon submission. There are no errors on tomcat. Any ideas...

Tomcat's session and memory management

2006-07-06 Thread Cameron
Hello Would anyone know how to adjust the length of time/period tomcat's session is active? Is there a way to force session to clear when someone closes their browser? Another question is how does one increase the memory available for tomcat (V4.1.31) in a windows environment running as a serv