JSP - ErrorPage - getOutputStream() has already been called for this response

2006-03-10 Thread Jo Creyf
Hi All, Have been breaking my head on this one for more than a week now and just can't get it to work. Even with the most simple files below. Have spent many hours on the internet searching for answers and know that this issue has been posted many times before. Though all posts that I found deal

Re: Tomcat 3 -- reading props w/xml..

2006-03-10 Thread Bill Barker
"Frances" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I'm on Tomcat 3, it comes with an xml-apis.jar, but no docs.. do you know > where I can find docs for it.. I'm trying to read properties with xml, > can't use loadFromXML() because that method is 1.5-only.. don't know if

Re: SSL trusted certificate

2006-03-10 Thread Bill Barker
Yawn, set truststoreFile="/path/to/keystore/file" on the element. In most cases, the truststore and keystore are different authorities, so there is no good reason for Tomcat to default them to being the same. "David Avenante" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Hi, I'

SSL trusted certificate

2006-03-10 Thread David Avenante
Hi, I' m use CAS for SSO solution. I' ve create a certifiacte for my tomcat and deployed my two applications (CAS server AND client) on the same Tomcat with certificate. When i go to my client application i' m redirecte (in https mode) to the CAS server login page with aknowledge of my certificat

Exception: at org.apache.tomcat.util.buf.MessageBytes.toChars(MessageBytes.java:271)

2006-03-10 Thread Brent Andrewsen
Hello all, I've been searching all morning online for clues to the cause of this stack trace: 19:59:54,675 ERROR [CoyoteAdapter] An exception or error occurred in the container during the request processing java.lang.NullPointerException at org.apache.tomcat.util.buf.MessageBytes.toChars(

RE: Undeploy

2006-03-10 Thread Artamonov, Juri
:))) >my answer is that whoever tomcat is running as does not have the permissions to remove or "Undeploy" the webapp Evrything is ok with permissions and I do this through Tomcat's manager. Still don't see answer. I see issue with undeploy command and see that it's dicussed a lot but don't se

Re: Undeploy

2006-03-10 Thread Mike Sabroff
it does work. my answer is that whoever tomcat is running as does not have the permissions to remove or "Undeploy" the webapp. could be owner permissions, or if you are on windows it could be a protected archive or however windows does that sort of thing. Mike - :-) Artamonov, Juri wrote: I

Re: Are filters restricted to be within contexts?

2006-03-10 Thread David Smith
Any request not matching a specific webapp's path belongs to the ROOT webapp. Place filters there if you'd like to catch requests to non-existent webapps. Otherwise if a request matches a webapp, that webapp's filters are run instead. --David David Kerber wrote: > Basically, I'd like to know i

Re: Are filters restricted to be within contexts?

2006-03-10 Thread David Kerber
Thanks for the quick resopnse, Peter - This goes back to questions I've been asking for a few weeks here, trying to get something going whereby I can make my context paths non-case-sensitive. After playing with filters, I finally figured out that I could not get them to work outside of a cont

RE: Are filters restricted to be within contexts?

2006-03-10 Thread Peter Crowther
> From: David Kerber [mailto:[EMAIL PROTECTED] > Basically, I'd like to know if a filter can be used to change > a context > path, or are they restricted to acting within a given context? Filters are spec-compliant and per-context. Valves are Tomcat-specific and can be per-instance. You could

Are filters restricted to be within contexts?

2006-03-10 Thread David Kerber
Basically, I'd like to know if a filter can be used to change a context path, or are they restricted to acting within a given context? For example, can I set up a filter at a higher level, so that it will trigger even on a context that doesn't exist in the current Tomcat instance? Thanks! Da

Re: classloader problem

2006-03-10 Thread Filip Hanik - Dev Lists
do you have a good test case for us, cause this shouldn't happen public Enumeration findResources(String name) throws IOException { if (log.isDebugEnabled()) log.debug("findResources(" + name + ")"); Vector result = new Vector(); int jarFilesLength = jarFile

RE: Undeploy

2006-03-10 Thread Artamonov, Juri
I don't see answer in your sentence. What I need to use removeinstead of undeploy? This is a bug, this is limitation, what is it, that undeploy doesn't work for Tomcat 4x although documentation said that undeploy is used for ndeploying applications? -Original Message- From: Mike Sabroff [

RE: classloader problem

2006-03-10 Thread MW Janssen
Hi, Tomcat version 5.5.7 and axis 1.3... regards, Maarten -Oorspronkelijk bericht- Van: Filip Hanik - Dev Lists [mailto:[EMAIL PROTECTED] Verzonden: vrijdag 10 maart 2006 17:37 Aan: Tomcat Users List Onderwerp: Re: classloader problem it would help if you gave us your Tomcat and you

Re: TRACE messages

2006-03-10 Thread Mike Sabroff
Well, I know you are all sitting on the edge of your chairs waiting for the solution to this... 2 make a long story short: Failure to thoroughly search the documentation led me to install a "DEBUG" version of connectorj. The tarball has 2 connectorj jar files, one which is a debug version

Read timed out

2006-03-10 Thread Bogdan Calmac
I have a data collection servlet running on tomcat 5.5.12 and Windows 2003. It is used by about 200 clients. Every now and then I see the error below indicating that the server times out reading the HTTP request for the client. After some extensive investigation, what I know is: - the timeouts ha

Re: Undeploy

2006-03-10 Thread Mike Sabroff
Undeploy should really say "Remove" or "Delete" because that is what it does. It removes the webapp from disk!!! Lucky for you, permissions won't allow that. Mike P.S. I found out the hard way Artamonov, Juri wrote: Hi All, I have Tomcat 4.1.29 installed and I tried to used manager's undepl

Re: classloader problem

2006-03-10 Thread Filip Hanik - Dev Lists
it would help if you gave us your Tomcat and your axis versions Filip MW Janssen wrote: Hi all, Some strange thing. I am using axis SOAP jars. When I start Tomcat my SOAP messages are ok..when I restart the webapps via the Tomcat Manager I get a null pointer exception, see below. After rest

Re: error in tomcat

2006-03-10 Thread Alan Chaney
One place to start might be in your web.xml file. About half way down you have a message saying Mar 10, 2006 2:03:42 PM org.apache.catalina.startup.ContextConfig applicationWebConfig SEVERE: Parse error in application web.xml java.lang.IllegalArgumentException: addChild: Child name 'default' i

Re: Requiring TLS with Tomcat 5.5.12

2006-03-10 Thread Jeff Krug
Thu, Mar 09, at 09:19:PM : Bill Barker has proclaimed: > "Jeff Krug" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > > Is there a way to disallow the SSL 3.0 protocol? > > > > protocols="TLS" on the tag. I added this, but it did not seem to alter the behavior. Here is my conne

Tomcat 3 -- reading props w/xml..

2006-03-10 Thread Frances
I'm on Tomcat 3, it comes with an xml-apis.jar, but no docs.. do you know where I can find docs for it.. I'm trying to read properties with xml, can't use loadFromXML() because that method is 1.5-only.. don't know if xml-apis.jar is it, but... why no docs... thank you... -

Undeploy

2006-03-10 Thread Artamonov, Juri
Hi All, I have Tomcat 4.1.29 installed and I tried to used manager's undeploy command but this is doesn't work saying "Cannot remove document base for path ...". I know and I see in the archive that a lot of dicussions was here on mailing list but I still not sure if this bug or limitatiomn or it

error in tomcat

2006-03-10 Thread David Delbecq
Hello, after a restart of tomcat we got this error. This is strange, we didn't have it before. Tomcat is configured with 2 virtual hosts, eahc has his own webapps directory. They share the root webapp (/), the manager (/manager) and the admin (/admin) For some unknown reasons, the root webapp in o

Re: mod_jk 1.2.15 for apache 2.0.54

2006-03-10 Thread Mladen Turk
Salvatore Panto wrote: hi, yesterday I posted a question regarding the compilation of mod_jk 1.2.15. Sorry if it was a silly question but I am only a tomcat user not really an expert, so I'd like to repeat my question. I try to compile the sources of mod_jk 1.2.15 but always get this error

classloader problem

2006-03-10 Thread MW Janssen
Hi all, Some strange thing. I am using axis SOAP jars. When I start Tomcat my SOAP messages are ok..when I restart the webapps via the Tomcat Manager I get a null pointer exception, see below. After restart Tomcat it works ok. So seems wrong with classloading but why only when I restart via the t

Strange behaviour with Tomcat 5.5.15/5.5.16

2006-03-10 Thread Jean-Pierre Astier
OS : Mac OS X 10.4.5/10.3.9 JVM : java version "1.4.2_09" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_09-232) Java HotSpot(TM) Client VM (build 1.4.2-54, mixed mode) IDE : Netbeans 5.0 Build 200601251500 Hi all, I've got a strange behaviour with Tomcat 5.5.15. I've developp

Re: Defining two host

2006-03-10 Thread Bernie Durfee
Not sure I understand, but this may be what you want... autoDeploy="false" xmlValidation="false" xmlNamespaceAware="false"> autoDeploy="false" xmlValidation="false" xmlNamespaceAware="false"> ...the appBase tells Tomcat in which directory to look for servlets and such for a given domain. W

RE: Tomcat jdbc settings

2006-03-10 Thread Tim Lucia
No, I am not saying that. I am saying that the connections, being returned to the pool on connection.close(), remain open as long as they are not garbage. When a context is reloaded, the previous context hangs around for a while. That context holds reference(s) to the pool, which in turn holds r

RE: error count

2006-03-10 Thread MW Janssen
Thx for your quick answer...i saw a lot of favicon.ico 404's Maarten -Oorspronkelijk bericht- Van: Markus Schönhaber [mailto:[EMAIL PROTECTED] Verzonden: vrijdag 10 maart 2006 13:47 Aan: Tomcat Users List Onderwerp: Re: error count MW Janssen wrote: > My application (production) runs

Re: how to get users from tomcat-users.xml

2006-03-10 Thread Prashant Saraf
you can prefer admin package for this. On 3/10/06, Hiroshi Iwatani <[EMAIL PROTECTED]> wrote: > > Srivani Ausula wrote: > > > > Hi, > > > > How can I get list of users from tomcat-users.xml? Is there any API > > provided for this purpose? > > > > Thanks in advance, > > A Srivani. > > > You should

RE: Tomcat jdbc settings

2006-03-10 Thread Edward Quick
Thanks Tim. I have also noticed that bouncing the tomcat clears the connections. So are you saying java's garbage collection will clear the old connections out? Does this mean my settings below are redundant? Ed. In my experience, using 8i and the thin driver, bouncing tomcat always clears

Re: error count

2006-03-10 Thread Markus Schönhaber
MW Janssen wrote: > My application (production) runs fine. However in the Tomcat Manager I see > a parameter Error count. Normally I would think this should be 0. See no > errors in my logs. So what does this parameter measure? It counts the requests that could not be successfully handled. This in

RE: Tomcat jdbc settings

2006-03-10 Thread Tim Lucia
In my experience, using 8i and the thin driver, bouncing tomcat always clears all connections to the DB. Reloading the app will not necessarily clear connections, as the old app is still in PermGen, waiting for garbage collection. Once collected, however, the connections will get cleaned up. -

Re: how to get users from tomcat-users.xml

2006-03-10 Thread David Delbecq
Configure memory-realm for you webapp (http://tomcat.apache.org/tomcat-5.5-doc/realm-howto.html#MemoryRealm) then configure authentification constraints in your web.xml. You have not need to access tomcat-users.xml if all you want to do is authentification. Srivani Ausula a écrit : >Thank u very

error count

2006-03-10 Thread MW Janssen
Hi, My application (production) runs fine. However in the Tomcat Manager I see a parameter Error count. Normally I would think this should be 0. See no errors in my logs. So what does this parameter measure? On 784000 request counts I have 12000 error counts. Maarten -- No virus found in th

Re: Defining two host

2006-03-10 Thread Per Johnsson
Sorry. Missed the question. How do I best define two hosts with specific pathes. In my example below the webapps is loaded several times. I just want tomcat to load the webapps that I define. The below works good if I use a fullpath in context and sets the appBase to a dummy directory or remove

Defining two host

2006-03-10 Thread Per Johnsson
This e-mail and the information it contains may be privileged and/or confidential. It is for the intended addressee(s) only. The unauthorised use, disclosure or copyi

Creating context and datasources using Tomcat Manager and Administrator

2006-03-10 Thread foo shyn
Hi guys, Lately i'd been trying to deploy my apps remotely using the Tomcat Manager and Administrator. I found that if : 1) i upload my war file first, then go to the Administrator to create my datasource, the Administrator would give me an error page when i select my context. The error thrown is

Re: JNDIRealm why performing two queries against AD

2006-03-10 Thread David Delbecq
Hi, I think users of this mailing list are more used to java stacktrace then ldap low level protocol :) the JNDIRealm is using the LDAP contextFactory in your case, i suggest you run tomcat in eclipse with breakpoints inside JNDIRealms, and do a step by step to locate which call you think is wrong

JNDIRealm why performing two queries against AD

2006-03-10 Thread Thomas Schwitter
Sorry I try it again with a better formatted mail. Hope for answers Hi there I authenticate my users against Active directory Windows 2003. This is the configuration: ldap://172.27.17.100:389"; referrals="follow" userBase

RE: how to get users from tomcat-users.xml

2006-03-10 Thread Srivani Ausula
Thank u very much for the reply. Before posting the query already I have surfed for relevant documentation, but I could not find any. Could u please point out me to some links where could I get help. Thanks. Srivani Ausula wrote: > > Hi, > > How can I get list of users from tomcat-users.xml?

Application stop via the manager

2006-03-10 Thread John Cherouvim
Hello I have a server (example.com) with tomcat 5.0.28 running a couple of applications. In the manager I stop application 'foo' and it gives me: OK - Stopped application at context path /foo When I go to example.com:8080/foo I'm getting the expected error message: HTTP Status 503 - This app

Re: Odd problem with Tomcat 5.5.9 and PhantomReferences

2006-03-10 Thread David Goodenough
On Wednesday 08 March 2006 16:33, David Goodenough wrote: > On Wednesday 08 March 2006 15:54, Caldarale, Charles R wrote: > > > From: David Goodenough [mailto:[EMAIL PROTECTED] > > > Subject: Odd problem with Tomcat 5.5.9 and PhantomReferences > > > > > > But when it comes to use the PhantomReferen

Re: how to get users from tomcat-users.xml

2006-03-10 Thread Hiroshi Iwatani
Srivani Ausula wrote: Hi, How can I get list of users from tomcat-users.xml? Is there any API provided for this purpose? Thanks in advance, A Srivani. You should use FORM based authentication and some web.xml entries for it. Read an appropriate text book or online documentation. -- Hir

shared/lib problem

2006-03-10 Thread Iratxe Etxeberria Sainz-Ezquerra
Hi , I have a problem with libraries in shared/lib. I am using tomcat 5.0.28. I have some libraries of the application, (for example spring-aop.jar..). When I have these libraries in application: in ..WEB-INF/lib they are loaded ok. When I put them in common/Lib of tomcat, they are loaded ok.

mod_jk 1.2.15 for apache 2.0.54

2006-03-10 Thread Salvatore Panto
hi, yesterday I posted a question regarding the compilation of mod_jk 1.2.15. Sorry if it was a silly question but I am only a tomcat user not really an expert, so I'd like to repeat my question. I try to compile the sources of mod_jk 1.2.15 but always get this error libtool: install: you m

Tomcat jdbc settings

2006-03-10 Thread Edward Quick
Hi, I have set up Tomcat 4.1.31 with a JDBC pool using the settings below. However I 'm a bit confused about my the way this works. 1. InitialSize is set to 5 yet I don't see any connections started after Tomcat is bounced. 2. Some of the older connections are not getting cleared down. 3. Al