Re: Null pointer in manager web app. Tomcat 6.0.14

2008-01-28 Thread Delian Krustev
On Mon, 28 Jan 2008 22:01:37 + Mark Thomas wrote: > With your specific configuration you might be OK but appBase==docBase is > something that usually always cause pain. Yes, *usually*. And I'm aware of this ;) > My main concern is making sure > that people reading this thread in the archives

Re: Null pointer in manager web app. Tomcat 6.0.14

2008-01-28 Thread Delian Krustev
On Mon, 28 Jan 2008 20:16:14 + Mark Thomas wrote: > Delian Krustev wrote: > > I'm pretty sure > > there is a functionality which could not be achieved otherwise, although > > I could not remember which one at this very moment. > > No, there isn't. If the

Re: Null pointer in manager web app. Tomcat 6.0.14

2008-01-28 Thread Delian Krustev
On Sun, 27 Jan 2008 16:01:28 -0800 Hassan Schroeder wrote: > Aside from the fact that putting Context elements in server.xml is > strongly discouraged Various people tend to claim the same thing on this list. I'm pretty sure there is a functionality which could not be achieved otherwise, although

Null pointer in manager web app. Tomcat 6.0.14

2008-01-27 Thread Delian Krustev
Hi, This seems to happen when there is a broken WAR inside a vhost. Other vhosts work fine at the same time. 2008-01-27 23:21:07.556049500 INFO: HTMLManager: list: Listing contexts for virtual host 'DOMAIN' 2008-01-27 23:21:07.556050500 Jan 27, 2008 11:21:07 PM org.apache.catalina.core

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

2008-01-09 Thread Delian Krustev
On Tue, 08 Jan 2008 21:10:31 + Mark Thomas wrote: > All I can suggest is start Tomcat with remote debugging enabled and when > you see the error, connect, debug you way through a request and see if you > can see what the security settings are and try and confirm that they match > the policy fil

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 java.security.Acces

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

2008-01-07 Thread Delian Krustev
On Thu, 27 Dec 2007 16:04:29 +0200 Delian Krustev wrote: > I'll monitor the container for the next several restarts. The problem appeared once again on the next tomcat restart. Any other ideas ? - To start a new topic

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

2007-12-27 Thread Delian Krustev
On Thu, 27 Dec 2007 11:12:28 + Mark Thomas wrote: > I have uploaded it here. > http://people.apache.org/~markt/dev/remove-sm-opt.patch Thanks > OK. Let us know the results. I did a build with your patch and replaced just lib/tomcat-coyote.jar . The exception did not show this time. I'll mo

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

2007-12-27 Thread Delian Krustev
On Thu, 13 Dec 2007 21:54:22 + Mark Thomas wrote: > Snapshot build of trunk available from: > http://people.apache.org/~markt/dev/ > > This is the current 6.0.x trunk with the security manager optimisation > reverted for the org.apache.coyote.* packages. > > *HEALTH WARNING* > This is a snapsho

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

2007-12-12 Thread Delian Krustev
On Tue, 11 Dec 2007 22:35:20 + Mark Thomas wrote: > Are you happy to mod the code and build a patched version yourself or do > you want some help? I can build a binary with the patch for you to test if > you wish. I've not built Tomcat from source before, so I'll take advantage of the help yo

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

2007-12-06 Thread Delian Krustev
On Wed, 05 Dec 2007 22:13:00 + Mark Thomas wrote: > Did it happen straight away or did it work for a while and then fail? Dec 3, 2007 10:14:24 PM org.apache.catalina.startup.Catalina start INFO: Server startup in 152362 ms .. Dec 3, 2007 10:17:22 PM org.apache.catalina.core.ApplicationDispa

Re: Hundreds of Instances

2007-12-05 Thread Delian Krustev
> > Really? From your other message, you make it look like Java is taking > > something like 1GB of memory. Sure, the JVM adds some overhead to the > > heap size you configured, but it shouldn't be more than 5% or 10%... > > nothing like 200%. It could be more that 200% depending on the heap size

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

2007-12-04 Thread Delian Krustev
On Thu, 29 Nov 2007 07:51:07 + Mark Thomas wrote: > It should show more information. If there is something subtle going on with > the permissions then it should make it easier to figure out. Well, here we go. The problem appeared once again after the next restart. I've hidden the username and

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

2007-12-03 Thread Delian Krustev
On Thu, 29 Nov 2007 07:51:07 + Mark Thomas wrote: > It should show more information. If there is something subtle going on with > the permissions then it should make it easier to figure out. The container has been restarted today. Oddly enough the exception does not show now. I'll keep the o

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

2007-11-28 Thread Delian Krustev
Hi Mark, On Tue, 27 Nov 2007 18:21:20 + Mark Thomas wrote: > Can you run the faulty instance with: > -Djava.security.debug=access,failure > and report the failure message. I thought on this, but the exception looks pretty self explanatory. I'll try it anyway, in case anything new co

Re: Tomcat becomes non-response for ~30 seconds

2007-11-27 Thread Delian Krustev
On Tue, 27 Nov 2007 10:58:24 -0800 (PST) jnedzel wrote: > We're having an intermittent problem with Tomcat becoming non-responsive > for a while (between 30 seconds and several minutes) and then recovering > without any intervention. There are no error messages in the Tomcat logs. > > Any ideas wh

Re: How to initialize variables when tomcat load a webservice?

2007-11-27 Thread Delian Krustev
On Tue, 27 Nov 2007 13:18:47 +0100 Tomás Tormo wrote: > I'm developing a webservice wich has to initialize some variables > when it is loaded by tomcat (just because otherwise it is too slow). Can > this be done? Has the client to initialize the class by means of the > constructor or is tomcat

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

2007-11-27 Thread Delian Krustev
Hi all, I'm running several similarly configured Tomcat containers all using security manager. On one of the instances I'm getting the following exception from the HTTP connector: Nov 26, 2007 7:42:19 PM org.apache.catalina.connector.CoyoteAdapter service SEVERE: An exception or error