Re: thread deadlock problem

2004-03-21 Thread Antonio Fiol Bonnín
Christian Cryder wrote: This works perfectly about 99% of the time. What we are observing is that there are certain situations where we encounter a deadlock scenario (and that's what prompted my original question). Basically, req2a writes the redirect back to the client, the client receives the

Re: Security

2004-03-21 Thread Adam Hardy
On 03/21/2004 05:53 AM Matt Anderson wrote: Hi All, This is the first time I have used this list so this question may have been asked many times before, however I tried to download previous message but were unsucessful. My question is, how do you configure the security manager to disable

RE: Security

2004-03-21 Thread Mark Thomas
Matt, Your best bet is to read the security manager documentation provided as part of the SDK. It should be located in JAVA_HOME\docs\guide\security\permissions.html and JAVA_HOME\docs\guide\security\PolicyFiles.html I can't remember if these docs are part of the standard download or whether

java.lang.OutOfMemoryError

2004-03-21 Thread Marco Pöhler
Hi, I'm running tomcat 5.0.19 J2SDK1.4.2_03 on a suse linux 8.1. I wrote a really simple application, just one servlet and a few jsp pages, using dbcp/jndi. Nevertheless I got an OutOfMemoryError every 2 days and I have to restart the tomcat to fix the problem. Here is the log entry: 2004-03-21

method=post but doGet() called

2004-03-21 Thread Uwe Kubosch
Hi all! I have a form (included below) where I set method=post, but for for a specific action URL, it arrived in the doGet method instead of the doPost method. I have a seervlet-mapping that pics up _all_ resquests to the context: url-pattern//url-pattern The unexpected behaviour comes when

Re: java.lang.OutOfMemoryError

2004-03-21 Thread Jacob Kjome
How much information do you put in servlet sessions? How long do sessions last? How many active user sessions do you have at any given time? Do you start the VM up without providing -Xmx512m or something like that? If so, you are starting a VM with a maximum of 64meg of memory available to

Re: java.lang.OutOfMemoryError

2004-03-21 Thread Joerg Baumgaertel
Hi Marco Give 'The Reference Scanner' a try and make heap snapshots and check the diff between snapshots. I just published the tomcat-howto. You find the Software here http://jb2works.com/ If you need more help, you reach me via mail. Best regards, Joerg Marco Pöhler wrote: Hi, I'm running

Re: java.lang.OutOfMemoryError

2004-03-21 Thread Joerg Baumgaertel
Forgot to mention that I have a lot of stuff about Memory Leaks generally online: FAQ http://jb2works.com/memoryleak/index.html and Why do we have a Data Cancer The Top Five to avoid it http://jb2works.com/memoryleak/topfive.html Best regards, Joerg

Deployment with the manager app (manifest question)

2004-03-21 Thread Carlos Martins
Dear Sir / Madam, I am testing the deployment of a webapp that needs some java extensions (jdbc connectors) which are not available on the server. I specified the optional packages and their versions in the MANIFEST.MF file included in the WAR file as I suppose one has to. Surprisingly, the

RE: java.lang.OutOfMemoryError

2004-03-21 Thread Neal
I was having a similar problem with a similar configuration but was having to restart every day. For some reason the exact same JDK/tomcat install on my windows dev box performed just fine under stress testing and reclaimed memory just fine whereas my Linux production box had serious issues. I

Tomcat iis and ntlm

2004-03-21 Thread Warren Black
Hi, I am trying to pass a users ntlm credentials from iis to tomcat but they always appears as NULL. I believe there is a mod to tomcat to fix this. Can anyone point me in the right direction? regards Warren Okana Systems Limited mailto:[EMAIL PROTECTED] mobile: +44 (0)7958 706580 This

Tomcat Deployment question

2004-03-21 Thread Kayley Ma
Hi all, For a deployed WebApp with a applet and a servlet (I already generated a WAR in JBuilder), where should i put my servlet so that Tomcat knows where to find it? Current this is how my system is set up. Using JBuilder, I created a WebApplication where I direct the defaultroot folder to

Re: java.lang.OutOfMemoryError

2004-03-21 Thread Joseph Shraibman
Sounds like the same memory leak problem I've been having. The problem is when new threads are created to handle concurrent connections. Marco Pöhler wrote: Hi, I'm running tomcat 5.0.19 J2SDK1.4.2_03 on a suse linux 8.1. I wrote a really simple application, just one servlet and a few jsp

Re: method=post but doGet() called

2004-03-21 Thread Bill Barker
When Tomcat sees a request for 'http://localhost:8080/mycontext' it sends back a response to redirect to 'http://localhost:8080/mycontext/'. This is so that relative links to things like images and stylesheets work correctly. If the browser conformed to the HTTP/1.1 RFC, it would re-request the

Programmatically deploying webapps

2004-03-21 Thread Philipp Taprogge
Hi! I am stuck here :-/ Perhaps anyone could give me a poke in the right direction. What is want to do is this: I am writing an installer for my web application. It is intended to ask the user for hostnames/IP-addresses for tomcat and a db-server, edit the context.xml to reflect the

RE: thread deadlock problem

2004-03-21 Thread Christian Cryder
Hi Antonio, Are you absolutely sure of that? Could you please triple-check it? A System.out.println(something) at the *very* beginning of the doGet/doPost method would be enough. Yeah. I'm basing it on the timestamps in the log4j log messages (which I've never yet seen to be wrong). And I've

Possible thread crossing

2004-03-21 Thread Denise Mangano
Hi all, I've tried searching archives and bugzilla for this but have come up empty handed. I am running Tomcat 4.1.30 on RedHat 9. My java version is 1.4.2. One thing I have noticed is that there is only one java thread when I start tomcat. On a previous install there had been about 8.

RE: Why can't tomcat find my bean classes?

2004-03-21 Thread Tom K
Tomcat like your bean in a package. -Original Message- From: Roy Smith [mailto:[EMAIL PROTECTED] Sent: Saturday, March 20, 2004 4:31 PM To: [EMAIL PROTECTED]@jakarta.apache.org Cc: Roy Smith Subject: Why can't tomcat find my bean classes? I'm running jakarta-tomcat-5.0.18 on OSX.

Re: Possible thread crossing

2004-03-21 Thread Nikola Milutinovic
Denise Mangano wrote: The only thing I can narrow it down to is Tomcat/Java. Like I said the serial numbers are hard coded on the jsp pages. Everytime this jsp page is submitted it forms its own instance of my java bean which can be called one or more times. So I guess my question is - is it

RE: Horrible memory leak in tomcat 5.0.19 (JMX bug?)

2004-03-21 Thread Ralph Einfeldt
To your question: I don't know. Having a delay in the jsp (or servlet) isn't enough to enshure concurrent requests. You have to do something on the calling site to enforce this. If you just call lynx as in your example, lynx will wait until the response is there. So if you delay the jsp, you

redirecting ajp13 requests from tomcat to tomcat

2004-03-21 Thread Nicki Pearson
Hi, I am running tomcat 4.1.24 on solaris - with an IIS 5 webserver using isapi_redirector2.dll. I have 2 instances of tomcat servlet engine running on different ports on solaris. I would like IIS to send all ajp13 servlet request to tomcat instance1. I would then like tomcat instance1 to

Re: http://localhost/ works but http://ip address/ doesn't

2004-03-21 Thread Ted Anagnost
Hello Doug, Sitting at you windows box that is running TC you can open IE and access http://localhost but if you try to access http://yourMachinesIP it fails. Right From a command prompt ping localhost. Then ping the IP of your machine. Both return a response. I'm using the Linksys router