Running tomcat as limited user (MS Windows)

2009-08-23 Thread Gary
I must have had this problem before but can't remember how I solved it. I normally run as a limited user. I installed tomcat okay (simply switching to an administrator account to do so) but trying to start the server results in java.util.logging.ErrorManager: 4 java.io.FileNotFoundException: C:

Re: Tomcat 4 start up as (/sbin/service)

2009-08-23 Thread sunil chandran
I see that old version was started as  /sbin/service tomcat4 stop /sbin/service tomcat4 start Now i have installed tomcat 4.1.40 in same machine (after removing tomcat 4..1.24) 1. How can i set it the same as above ?  2. If i installl this tomcat 4.1..40 in a new machine, how can i set it as a

RE: Problem closing datasource when used as JNDI resource

2009-08-23 Thread Mohammed Bin Mahmood
Hi Chris, > 3. There is a published filter that can close the DataSource for you. Do you have any idea about the filter that can close the Datasource? Thanks, Mohammed. -Original Message- From: Christopher Schultz [mailto:ch...@christopherschultz.net] Sent: Friday, August 21, 2009 11:25

Re: Connector set up

2009-08-23 Thread André Warnier
Gerardo Corro wrote: Hi, The purpose is to set-up an independent web-app as a proxy for other webapps. I cannot touch the 6 original webapps, but I can do whatever I want with the proxy one. How can I get all requests to any of these webapps be intercepted by the proxy one? There may be a w

Re: Updating Roles for a logged-in user while using SingleSignOn

2009-08-23 Thread nkrasnov
Thank you very much for your response. Yes, I did want to dynamically update the roles. The reason I was hoping to do it without making the user re-enter the credentials is because due to some peculiarities of the application this may happen quite often (several times within a user's session),

RE: Connector set up

2009-08-23 Thread Gerardo Corro
Hi, The purpose is to set-up an independent web-app as a proxy for other webapps. I cannot touch the 6 original webapps, but I can do whatever I want with the proxy one. How can I get all requests to any of these webapps be intercepted by the proxy one? Thanks. > Date: Sun, 23 Aug 2009 1

wrong jspInit handling

2009-08-23 Thread Stefano Nichele
Hi All, I'm experiencing some strange calls to jspInit method. I've this simple jsp: <%! public void jspInit() { System.out.println("In test.jspInit"); } public void jspDestroy() { System.out.println("In test.jspDestroy"); } %> This is a test and in my web.xml I a

Re: tomcat 6.0.20 - default servlet

2009-08-23 Thread Mark Thomas
Leo Donahue - PLANDEVX wrote: > Ugh. > > Sorry about that, wrong url. > > Should be: http://tomcat.apache.org/tomcat-6.0-doc/default-servlet.html Create a bugzilla entry against the docs and someone will get it fixed. If you wanted to provide a patch, that would be great. Mark --

Re: Where should we deploy/put web application patch jar in Tomcat 5.5 ?

2009-08-23 Thread Mark Thomas
Kris Schneider wrote: > On Wed, Aug 19, 2009 at 1:10 PM, Mark Thomas wrote: >> Fang Zhu wrote: >>> I know I can unpackage the abcPatch.jar and put under /WEB-INF/classes >>> folder, but this is not we are looking for. >> That is your only option. >> >> Mark > > Not sure how difficult it would be

Re: Apache Tomcat hangs

2009-08-23 Thread Pid
On 23/08/2009 15:11, Len Popp wrote: 2009/8/23 Pid: On 23/08/2009 11:08, fps wrote: I got this kind of exception with a jsp defined with session="false" (in the <%@ page... %>section at the top of the file) including another jsp which was not including that session="false" directive Whi

Re: Apache Tomcat hangs

2009-08-23 Thread Len Popp
2009/8/23 Pid : > On 23/08/2009 11:08, fps wrote: >> >> I got this kind of exception with a jsp defined with session="false" (in the >> <%@ page... %>  section at the top of the file) including another jsp which >> was not including that session="false" directive >> > > Which kind of exception? > W

Re: Dynamic Common/Share ClassLoader Reload

2009-08-23 Thread Pid
On 23/08/2009 12:49, NickyPhan wrote: Thank PID-6 for your response, Honestly this is my second post in this forum so forgive my mistake not mentioning Tomcat and Java version. Both Tomcat and Java are 6. The subversions actually make a difference too. 6.0.20 is the most recent version of To

Re: Dynamic Common/Share ClassLoader Reload

2009-08-23 Thread NickyPhan
Thank PID-6 for your response, Honestly this is my second post in this forum so forgive my mistake not mentioning Tomcat and Java version. Both Tomcat and Java are 6. I thought it is impossible and I was right. I am new to Tomcat too. The reason I asked for it as I mentioned they are all Lib to

Re: Updating Roles for a logged-in user while using SingleSignOn

2009-08-23 Thread Pid
On 21/08/2009 19:31, nkrasnov wrote: Hi, I have several Tomcat webapps which use SSO and the same Realm for authentication. All is working as expected, except that I now need to update roles for the user that's already been authenticated in the past. I seem to be able to do it successfully for

Re: Connector set up

2009-08-23 Thread Pid
On 23/08/2009 12:23, André Warnier wrote: Gerardo Corro wrote: Hi, I have 6 different web-apps (let's call their contexts /wa1, /wa2 ... /wa6) running in port 8080. I have another web-app named /proxy running on port 80. As the name suggests this web-app does proxy functions for the other 6 we

Re: Dynamic Common/Share ClassLoader Reload

2009-08-23 Thread Pid
On 23/08/2009 11:52, NickyPhan wrote: Hi all, I am creating an Jar file to be used accross multiple portlet application which is working fine. I only have one issue is everytime I made change to the class and export to JAR file, I need to restart Tomcat server for all portlets to take effect s

Re: [OT] multipart/form-data solutions

2009-08-23 Thread André Warnier
Tommy Pham wrote: Thanks for the reply. I want to process a multipart/form-data form submitted from the client via POST method. The form may also or may not have a file upload. I thought if there are any other solutions/methods than what I've found so far. The way you ask the question, ei

Re: Connector set up

2009-08-23 Thread Pid
On 22/08/2009 21:37, Gerardo Corro wrote: Hi, I have 6 different web-apps (let's call their contexts /wa1, /wa2 ... /wa6) running in port 8080. I have another web-app named /proxy running on port 80. As the name suggests this web-app does proxy functions for the other 6 web-apps. This proxy

Re: Apache Tomcat hangs

2009-08-23 Thread Pid
On 23/08/2009 11:08, fps wrote: I got this kind of exception with a jsp defined with session="false" (in the <%@ page... %> section at the top of the file) including another jsp which was not including that session="false" directive Which kind of exception? Which version of Tomcat? Which ver

Re: Connector set up

2009-08-23 Thread André Warnier
Gerardo Corro wrote: Hi, I have 6 different web-apps (let's call their contexts /wa1, /wa2 ... /wa6) running in port 8080. I have another web-app named /proxy running on port 80. As the name suggests this web-app does proxy functions for the other 6 web-apps. This proxy basically is meant t

Dynamic Common/Share ClassLoader Reload

2009-08-23 Thread NickyPhan
Hi all, I am creating an Jar file to be used accross multiple portlet application which is working fine. I only have one issue is everytime I made change to the class and export to JAR file, I need to restart Tomcat server for all portlets to take effect since they are part of Common/Shared Load

Re: Apache Tomcat hangs

2009-08-23 Thread fps
I got this kind of exception with a jsp defined with session="false" (in the <%@ page... %> section at the top of the file) including another jsp which was not including that session="false" directive -- View this message in context: http://www.nabble.com/Apache-Tomcat-hangs-tp23777681p25101940