RE: Memory Settings in Tomcat 5.5.25

2008-06-05 Thread semaj2008
Chuck, I am able to view the memory settings with tomcat5w.exe as you've said. few more questions: 1. How do we view the memory settings if the tomcat server is not installed as a service? 2. How do we view the memory settings if we run the server within eclipse? Thanks, Semaj Caldarale, Ch

Re: It��s amazing, apache make TC performance decrease dramatically.

2008-06-05 Thread Zufeng Huang
Bill, OS: CentOS V4, 2.6.9-42.ELsmp #1 SMP Dell 6850 with 4*3.1Ghz CPU, 8G memory This is a website service, if connections 800+, some requests become very very slow. I have two reasons for using apache+mod_jk+tomcat: 1, URL rewrite 2, Load Balance According

Re: It¡¯s amazing, apache make TC performance decrease dramatically.

2008-06-05 Thread Jess Holle
Bill Barker wrote: You haven't given your O/S details, but yes, AJP will s*ck big time on older Linux kernals with this test. Older kernals can't handle having 1000+ threads active efficiently. You could try testing again with the APR and/or (experimental) NIO AJP Connectors. These usually g

Re: It��s amazing, apache make TC performance decrease dramatically.

2008-06-05 Thread Bill Barker
You haven't given your O/S details, but yes, AJP will s*ck big time on older Linux kernals with this test. Older kernals can't handle having 1000+ threads active efficiently. You could try testing again with the APR and/or (experimental) NIO AJP Connectors. These usually get the difference do

Re: quick question regarding jsvc

2008-06-05 Thread Bill Barker
"David Smith" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I'm seeing that as well. The root user jsvc process is parent to the > tomcat user jsvc process. You'll also notice from analysis of netstat's > output that the tomcat user jsvc process is the only one listening to >

Re: Moving from a very old Tomcat to a new Tomcat.

2008-06-05 Thread Martin
if your client doesnt want to write cookies URL-rewrite is the answer http://tuckey.org/urlrewrite/ Apache analog is mod_rewrite HTH Martin - Original Message - From: "André Warnier" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Thursday, June 05, 2008 7:56 PM Subject: Re: Moving

Re: quick question regarding jsvc

2008-06-05 Thread David Smith
I'm seeing that as well. The root user jsvc process is parent to the tomcat user jsvc process. You'll also notice from analysis of netstat's output that the tomcat user jsvc process is the only one listening to ports. The one running as root is just there to spawn the true tomcat process wit

Re: Moving from a very old Tomcat to a new Tomcat.

2008-06-05 Thread Bill Davidson
One other thing I just noticed. The login servlet runs under https. After successful login, including creating a valid session, it calls HttpServletResponse.sendRedirect("http://myHost.myDomain.com/context/servlets/main";); which is the one that ends up with no cookie. ---

RE: request for simplistic Tomcat 5.5 log config

2008-06-05 Thread Caldarale, Charles R
> From: André Warnier [mailto:[EMAIL PROTECTED] > Subject: Re: request for simplistic Tomcat 5.5 log config > > Now, again, I see the following files in the > /var/log/tomcat5.5 directory Which further shows how the 3rd-party repackagers have corrupted the Tomcat distribution. You really need to

Re: Moving from a very old Tomcat to a new Tomcat.

2008-06-05 Thread André Warnier
Bill Davidson wrote: Christopher Schultz wrote: Are you using cookies or URL-rewriting (or both) for your application? Can you use a tool like LiveHTTPHeaders to observe the headers being exchanged during the interaction described above? We are using cookies to track sessions. I don't think

Re: Moving from a very old Tomcat to a new Tomcat.

2008-06-05 Thread Bill Davidson
Christopher Schultz wrote: Are you using cookies or URL-rewriting (or both) for your application? Can you use a tool like LiveHTTPHeaders to observe the headers being exchanged during the interaction described above? We are using cookies to track sessions. I don't think we're using URL rewritin

Re: request for simplistic Tomcat 5.5 log config

2008-06-05 Thread André Warnier
Mark Thomas wrote: André Warnier wrote: (This is Linux Debian Etch, with Tomcat5.5 out of the box, standard apt-get install.) Without knowing if/how 5.5.x has been mangled by the packaging process it is going to be difficult to help you. The packaging process tends to play all sorts of ga

Re: versus <% include %>

2008-06-05 Thread Bill Davidson
Jim Cox wrote: That's not really what I see here. I think of <%@ include="file"%> directives as akin to a C compiler's #include, or a shell's "source", directive in that the content of the file is interpreted as if it were directly typed into the containing file. On the old-ish version of Tomcat

Re: Problem regarding the connector..

2008-06-05 Thread André Warnier
ramya lekha wrote: Hi I had attached the httpd.conf file along with this mail... The Directory root is set to usr/abcd-web and our application "testapp" is under usr/apache/tomcat/webapp So when ever the url spixxl.xxx.com/testapp is called it is searching under usr/abcd-web instead of usr

Re: versus <% include %>

2008-06-05 Thread Jim Cox
That's not really what I see here. I think of <%@ include="file"%> directives as akin to a C compiler's #include, or a shell's "source", directive in that the content of the file is interpreted as if it were directly typed into the containing file. On the old-ish version of Tomcat that I have, cha

RE: Memory Settings in Tomcat 5.5.25

2008-06-05 Thread Caldarale, Charles R
> From: semaj.najraham [mailto:[EMAIL PROTECTED] > Subject: Memory Settings in Tomcat 5.5.25 > > I am getting java.lang.OutOfMemoryError: PermGen space error in my > application. http://wiki.apache.org/tomcat/FAQ/Memory > I need to find what how much memory have been allocation for > tomcat 5.5.2

Memory Settings in Tomcat 5.5.25

2008-06-05 Thread semaj.najraham
Hi, I am getting java.lang.OutOfMemoryError: PermGen space error in my application. I need to find what how much memory have been allocation for tomcat 5.5.25 server. The server is running as a Windows Service, but there is no sys tray. So, I cannot do Properties -> Configure in sys tray to co

Re: Session lost when switching from https to http after upgrade to Tomcat 6

2008-06-05 Thread Bill Davidson
krusek wrote: I have Apache 2 with SSL, mod_jk connection, and Tomcat. Everything has worked peachy from one tomcat upgrade after another. However now I upgraded to tomcat 6 and I am loosing the session when switching from https to http within the same domain. For clarity, Apache 2 is handli

Re: versus <% include %>

2008-06-05 Thread Bill Davidson
Bill Davidson wrote: <[EMAIL PROTECTED] ... %> happens at compile time. That is, only the first time the JSP page is loaded. The included data ends up in the compiled servlet. It has been my experience that you can have other JSP directives in the included file and they will be properly inte

mod_jk api?

2008-06-05 Thread Mike Dickson
Is there any way/api to talk to mod_jk to tell it of a new Tomcat instance to register it automatically to take load? The only way I can see of doing this is to POST to /jkstatus. Ideas? MikeD

Re: versus <% include %>

2008-06-05 Thread Bill Davidson
Andrei Tchijov wrote: they are identical. you will want to use if you care to have your JSP pages in form of valid XML. They are most definitely not identical. <[EMAIL PROTECTED] ... %> happens at compile time. That is, only the first time the JSP page is loaded. The included data ends up in

Re: Single sign on issue with Tomcat and Apache

2008-06-05 Thread sridharmnj
Many thanks!! I am planning to follow the below approach only. >>> Or, leave Apache in-between, but have it pass all requests for "bbb" to Tomcat also (like it does for aaa and ccc), and serve the static pages from Tomcat, subject to basic authentication on Tomcat. This way, after the first

Tomcat having problems under load

2008-06-05 Thread Billy Ng
Hi folks, I am using Tomcat 5.5.20 on a Linux box with 8 CPUs and 8GB of RAM. I am seeing a really strange behavior. The web app has 1 very heavy load servlet, but I notice only 1 CPU is busy. Then, the Tomcat is only up for 15 minutes and die. Any thing I should look at? Thanks in advance

Re: Problem regarding the connector..

2008-06-05 Thread ramya lekha
Hi I had attached the httpd.conf file along with this mail... The Directory root is set to usr/abcd-web and our application "testapp" is under usr/apache/tomcat/webapp So when ever the url spixxl.xxx.com/testapp is called it is searching under usr/abcd-web instead of usr/apache/tomcat/webapp..

Re: Single sign on issue with Tomcat and Apache

2008-06-05 Thread André Warnier
sridharmnj wrote: - there is only one Apache, and one Tomcat, on the same physical server yes - there are no Apache VirtualHosts (or there is only one), and there is only one Tomcat section in server.xml Apache virtualhost is there, and tomcat host is - the back-end for the authentication is

Re: Tomcat sporadically hangs(long)

2008-06-05 Thread Lars Bo Hansen
We actually did make good progress this week. It was the firewall clipping idle connections to the database, so we played around with the connection pool configurations and haven't have the problem ever since. I can't imagine we didn't think of this earlyer on:) On Mon, Jun 2, 2008 at 8:50 AM, Mar

RE: Singleton in Tomcat 6.0 not working

2008-06-05 Thread ktou Ho
Thanks. I willl try that. Elwin> From: [EMAIL PROTECTED]> To: users@tomcat.apache.org> Date: Thu, 5 Jun 2008 15:32:29 -0400> Subject: RE: Singleton in Tomcat 6.0 not working> > I think the Tomcat support in Eclipse WTP is pretty reasonable, but it isn't perfect. For example, if you name your

RE: Single sign on issue with Tomcat and Apache

2008-06-05 Thread Caldarale, Charles R
> From: sridharmnj [mailto:[EMAIL PROTECTED] > Subject: Re: Single sign on issue with Tomcat and Apache > > Is it a better idea to move apache pages (bbb) into the > tomcat (ccc)? If you're not using httpd for anything other than serving static content, then yes, get rid of it. Tomcat by itself

RE: Singleton in Tomcat 6.0 not working

2008-06-05 Thread Larry Isaacs
I think the Tomcat support in Eclipse WTP is pretty reasonable, but it isn't perfect. For example, if you name your project ROOT, Eclipse won't tell you that you are asking for trouble because some web servers, like Tomcat, may give that particular name special treatment. This would explain th

Re: Single sign on issue with Tomcat and Apache

2008-06-05 Thread sridharmnj
If there is no way to do this, what changes do you suggest? except aaa changes. Is it a better idea to move apache pages (bbb) into the tomcat (ccc)? (so that there will be only tomcat authentication exists) Thanks, Sridhar awarnier wrote: > > Well, Johnny, we seem to agree.. > > Johnny Kewl

Tomcat upgrade and JSTL XML library

2008-06-05 Thread Sam Weinger
Hello, I have a web application that uses JSP 2.0 tag files and the Jakarta standard implementation of the JSTL. Essentially, I have JSP files that use custom tag files, both of which use the JSTL XML tag libraries for XML manipulation. Under Tomcat 5.5.17 and earlier, in my tag file, I was able to

Re: Problem regarding the connector..

2008-06-05 Thread André Warnier
Mark Thomas wrote: ramya lekha wrote: Hi installed apache and tomcat in my unix systems... and i m trying to connect them using the mod_jk... I had set JkMount to the appropriate workers1 in the httpd.conf filebut still whenever i type the URL the apache is not redirecting it to the t

Re: Single sign on issue with Tomcat and Apache

2008-06-05 Thread André Warnier
Well, Johnny, we seem to agree.. Johnny Kewl wrote: - Original Message - From: "sridharmnj" <[EMAIL PROTECTED]> To: Sent: Thursday, June 05, 2008 4:33 PM Subject: Re: Single sign on issue with Tomcat and Apache Many thanks to all of you for responding to my problem. I apologize, I

It��s amazing, apache make TC performance decrease dramatically.

2008-06-05 Thread Zufeng Huang
Hi, all I post a topic about the performance of apache+mod_jk_tomcat yesterday, and just now, I tried apache ab as the tool to do a benchmark. But the result is amazing. My steps: 1, Using a jsp as the target ONE. 1.1, ab ¨Cn 25000 ¨Cc 1000 URL_via_apache Concurrency L

RE: Singleton in Tomcat 6.0 not working

2008-06-05 Thread ktou Ho
By the way, I was using the Eclipse 3.3, it integrated the Tomcat development tool. It was the Eclipse add that line to the server.xml. May be we need to let them know about this. Thanks Elwin> From: [EMAIL PROTECTED]> To: users@tomcat.apache.org> Date: Thu, 5 Jun 2008 13:15:03 -0500> Subject

RE: Singleton in Tomcat 6.0 not working

2008-06-05 Thread ktou Ho
It works. You are the best :> Thanks a lot. Elwin> From: [EMAIL PROTECTED]> To: users@tomcat.apache.org> Date: Thu, 5 Jun 2008 13:15:03 -0500> Subject: RE: Singleton in Tomcat 6.0 not working> > > From: ktou Ho [mailto:[EMAIL PROTECTED]> > Subject: RE: Singleton in Tomcat 6.0 not working> >

RE: Singleton in Tomcat 6.0 not working

2008-06-05 Thread Caldarale, Charles R
> From: ktou Ho [mailto:[EMAIL PROTECTED] > Subject: RE: Singleton in Tomcat 6.0 not working > > Did you mean I should just remove this element > from the server.xml? You should never have put it in there, so definitely remove it. If you need to set the reloadable attribute, then put just this

RE: Singleton in Tomcat 6.0 not working

2008-06-05 Thread ktou Ho
I changed the package name. (by only removed the compay name), as I am not supposed to expose the source code. Sorry about that. Elwin> From: [EMAIL PROTECTED]> To: users@tomcat.apache.org> Date: Thu, 5 Jun 2008 13:08:14 -0500> Subject: RE: Singleton in Tomcat 6.0 not working> > > From: kt

RE: Singleton in Tomcat 6.0 not working

2008-06-05 Thread ktou Ho
Did you mean I should just remove this element from the server.xml? Thanks Elwin> From: [EMAIL PROTECTED]> To: users@tomcat.apache.org> Date: Thu, 5 Jun 2008 12:55:58 -0500> Subject: RE: Singleton in Tomcat 6.0 not working> > > From: ktou Ho [mailto:[EMAIL PROTECTED]> > Subject: RE: Singleto

RE: Singleton in Tomcat 6.0 not working

2008-06-05 Thread Caldarale, Charles R
> From: ktou Ho [mailto:[EMAIL PROTECTED] > Subject: RE: Singleton in Tomcat 6.0 not working > > -- Filter--- > public class ElwinFilter implements Filter > -- web.xml - > > Elwin Filter > > com.elwin.IMeraFilter > Looks like you're not giving us

RE: Singleton in Tomcat 6.0 not working

2008-06-05 Thread Caldarale, Charles R
> From: ktou Ho [mailto:[EMAIL PROTECTED] > Subject: RE: Singleton in Tomcat 6.0 not working > > Context from the server.xml > source="org.eclipse.jst.jee.server:ROOT"/> Right there is a problem: the path attribute should be "", not "/ROOT", when you're defining the default web

Re: Problem regarding the connector..

2008-06-05 Thread Mark Thomas
ramya lekha wrote: Hi installed apache and tomcat in my unix systems... and i m trying to connect them using the mod_jk... I had set JkMount to the appropriate workers1 in the httpd.conf filebut still whenever i type the URL the apache is not redirecting it to the tomcat... Can anyone let m

RE: Singleton in Tomcat 6.0 not working

2008-06-05 Thread ktou Ho
And yes, both have the call. I double checked, both trace log are exact the same. Elwin> From: [EMAIL PROTECTED]> To: users@tomcat.apache.org> Date: Thu, 5 Jun 2008 12:30:53 -0500> Subject: RE: Singleton in Tomcat 6.0 not working> > > From: ktou Ho [mailto:[EMAIL PROTECTED]> > Subject: RE:

RE: Singleton in Tomcat 6.0 not working

2008-06-05 Thread ktou Ho
= C:\Documents and Settings\elwinho>java -versionjava version "1.6.0_06"Java(TM) SE Runtime Environment (build 1.6.0_06-b02)Java HotSpot(TM) Client VM (build 10.0-b22, mixed mode, sharing) == Thanks Elwin> From: [EMAIL PROTECTED]> To: users@tomcat.apache.org> Date: Thu,

Problem regarding the connector..

2008-06-05 Thread ramya lekha
Hi installed apache and tomcat in my unix systems... and i m trying to connect them using the mod_jk... I had set JkMount to the appropriate workers1 in the httpd.conf filebut still whenever i type the URL the apache is not redirecting it to the tomcat... Can anyone let me know where would the

RE: Singleton in Tomcat 6.0 not working

2008-06-05 Thread ktou Ho
Here they are : Context from the server.xml -- Filter--- public class ElwinFilterimplements Filter { public ElwinFilter() { System.out.println("Creating filter."); readConfig(); } // For some reasome the filter is constructed twice private s

RE: Singleton in Tomcat 6.0 not working

2008-06-05 Thread Caldarale, Charles R
> From: ktou Ho [mailto:[EMAIL PROTECTED] > Subject: RE: Singleton in Tomcat 6.0 not working > > I got twice of the following: > == > com.elwin.sql.RemoteDBConnections.(RemoteDBConnections.java:22) Let's double-check here: both traces include the call for RemoteDBConnections? Exactl

Re: request for simplistic Tomcat 5.5 log config

2008-06-05 Thread Mark Thomas
André Warnier wrote: (This is Linux Debian Etch, with Tomcat5.5 out of the box, standard apt-get install.) Without knowing if/how 5.5.x has been mangled by the packaging process it is going to be difficult to help you. The packaging process tends to play all sorts of games with file location

RE: Singleton in Tomcat 6.0 not working

2008-06-05 Thread ktou Ho
I got twice of the following: == [EMAIL PROTECTED] java.lang.Thread.getStackTrace(Thread.java:1426) com.elwin.RemoteDBConnections.(RemoteDBConnections.java:30) com.elwin.sql.RemoteDBConnections.(RemoteDBConnections.java:22) com.elwin.ElwinFilter.readConfig(ElwinFilter.java:52) com.elwi

RE: Singleton in Tomcat 6.0 not working

2008-06-05 Thread Caldarale, Charles R
> From: ktou Ho [mailto:[EMAIL PROTECTED] > Subject: RE: Singleton in Tomcat 6.0 not working > > I tried to change the web app to other name, it works fine > now. (only one instance). Look like it is the "ROOT" cause > all problem. Any one know why the ROOT is being called twice? Post the code fo

RE: Singleton in Tomcat 6.0 not working

2008-06-05 Thread Caldarale, Charles R
> From: ktou Ho [mailto:[EMAIL PROTECTED] > Subject: RE: Singleton in Tomcat 6.0 not working > > Have you tried to put in it the "ROOT"? Yes, I've tried putting it in ROOT, and I get only a single instance, using Tomcat 6.0.16 under JDK 1.6.0_06. For more information, add these lines to your con

RE: Singleton in Tomcat 6.0 not working

2008-06-05 Thread ktou Ho
I tried to change the web app to other name, it works fine now. (only one instance). Look like it is the "ROOT" cause all problem. Any one know why the ROOT is being called twice? Thanks Elwin> From: [EMAIL PROTECTED]> To: users@tomcat.apache.org> Subject: RE: Singleton in Tomcat 6.0 not wor

RE: Singleton in Tomcat 6.0 not working

2008-06-05 Thread ktou Ho
Have you tried to put in it the "ROOT"? I guess may be something work it that. Also I created a filter (MyFilter) to test it, the following got executed twice : - MyFilter.() line: 30 NativeConstructorAccessorImpl.newInstance0(Constructor, Object[]) line: not available [native meth

RE: Singleton in Tomcat 6.0 not working

2008-06-05 Thread ktou Ho
I got two objects: [EMAIL PROTECTED] and [EMAIL PROTECTED] Thanks Elwin > Date: Thu, 5 Jun 2008 17:06:00 +0200> From: [EMAIL PROTECTED]> To: > users@tomcat.apache.org> Subject: Re: Singleton in Tomcat 6.0 not working> > > ktou Ho wrote:> > The problem I am facing is the Singleton is not wor

Re: Single sign on issue with Tomcat and Apache

2008-06-05 Thread sridharmnj
- there is only one Apache, and one Tomcat, on the same physical server yes - there are no Apache VirtualHosts (or there is only one), and there is only one Tomcat section in server.xml Apache virtualhost is there, and tomcat host is FORM myWebSite Security /Login.jsp

Re: Relative internal links

2008-06-05 Thread David Smith
So we are still dealing with two separate issues here. a) relative links in the browser -- these are expanded to full URIs by the browser based on the current page's uri and the link's relative uri. Nothing tomcat can do about that and nothing that should behaviorally change from tomcat 5 to

Re: Single sign on issue with Tomcat and Apache

2008-06-05 Thread Pid
sridharmnj wrote: Many thanks to all of you for responding to my problem. I apologize, I hope I didnot mention my system architecture clearly. (As I mentioned, it is an old application, which was developed 9 yrs ago, and no documentation at all :-( ) I am accessing those applications like.. ww

Re: Does HTTPRequest.getParameter() return encoded or decoded?

2008-06-05 Thread David Smith
Correct. With regard to URI encoded GET requests, what you get from request.getParameter() is already decoded for %nn character encoding among others. No need to decode it again. --David Mark H. Wood wrote: Sorry, I didn't fully specify the problem. I do refer to URI-(en|de)coding, not to

RE: Relative internal links

2008-06-05 Thread Walter Thompson
I am talking about servlet code and configuration file information and links in the htlm pages on the server under the root directory. -Original Message- From: David Smith [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 04, 2008 5:00 PM To: Tomcat Users List Subject: Re: Relative interna

Re: Single sign on issue with Tomcat and Apache

2008-06-05 Thread Johnny Kewl
- Original Message - From: "sridharmnj" <[EMAIL PROTECTED]> To: Sent: Thursday, June 05, 2008 4:33 PM Subject: Re: Single sign on issue with Tomcat and Apache Many thanks to all of you for responding to my problem. I apologize, I hope I didnot mention my system architecture clearly

Re: Single sign on issue with Tomcat and Apache

2008-06-05 Thread André Warnier
sridharmnj wrote: Many thanks to all of you for responding to my problem. I apologize, I hope I didnot mention my system architecture clearly. (As I mentioned, it is an old application, which was developed 9 yrs ago, and no documentation at all :-( ) I am accessing those applications like..

Re: Singleton in Tomcat 6.0 not working

2008-06-05 Thread Johnny Kewl
- Original Message - From: "Mikolaj Rydzewski" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Thursday, June 05, 2008 5:06 PM Subject: Re: Singleton in Tomcat 6.0 not working ktou Ho wrote: The problem I am facing is the Singleton is not working at all in the servlet. I tried t

Re: Get bean from ServletContext on context destruction

2008-06-05 Thread Mikolaj Rydzewski
Nam3l3ss wrote: I have a bean on a jsp page (jsp:UseBean) , with application scope, that uses some resources that must be freed when the application is stopped/reset. I'm currently using a context listener to detect when does the servelt context gets destroyed, but I cannot get the bean from it.

RE: PHP support in tomcat

2008-06-05 Thread Loehr, Ruel
Check out jbossweb.It's a fork of tomcat and has support for running php. -Original Message- From: Johnny Kewl [mailto:[EMAIL PROTECTED] Sent: Thursday, June 05, 2008 9:57 AM To: Tomcat Users List Subject: Re: PHP support in tomcat - Original Message - From: "Jury Levykin" <[

Re: Singleton in Tomcat 6.0 not working

2008-06-05 Thread Mikolaj Rydzewski
ktou Ho wrote: The problem I am facing is the Singleton is not working at all in the servlet. I tried to synchnozed the constructor or make it static. I still get two instances of the objects. How can I solve the problem? Is anyone able to reproduce this? public class RemoteDBConnections

Re: PHP support in tomcat

2008-06-05 Thread Johnny Kewl
- Original Message - From: "Jury Levykin" <[EMAIL PROTECTED]> To: Sent: Thursday, June 05, 2008 3:50 PM Subject: PHP support in tomcat Hi, is it possible to configure tomcat to support PHP? I need to execute some PHP scripts. The scripts should be located in the same directory with

Get bean from ServletContext on context destruction

2008-06-05 Thread Nam3l3ss
Hy! I have a bean on a jsp page (jsp:UseBean) , with application scope, that uses some resources that must be freed when the application is stopped/reset. I'm currently using a context listener to detect when does the servelt context gets destroyed, but I cannot get the bean from it. What I want

RE: Obtaining the app server install path from the running servlet

2008-06-05 Thread Caldarale, Charles R
> From: Darrell Esau [mailto:[EMAIL PROTECTED] > Subject: Obtaining the app server install path from the > running servlet > > I'm not sure if this is possible, and I realize it'll be container > specific, but I'm wondering if it's possible to find the app server's > install path from the servlet c

Re: Single sign on issue with Tomcat and Apache

2008-06-05 Thread sridharmnj
Many thanks to all of you for responding to my problem. I apologize, I hope I didnot mention my system architecture clearly. (As I mentioned, it is an old application, which was developed 9 yrs ago, and no documentation at all :-( ) I am accessing those applications like.. www.mywebsite.com/aaa

RE: Singleton in Tomcat 6.0 not working

2008-06-05 Thread Caldarale, Charles R
> From: ktou Ho [mailto:[EMAIL PROTECTED] > Subject: RE: Singleton in Tomcat 6.0 not working > > Get some hints from this link > http://books.google.com/books?id=bgMKmsXVbTAC&pg=PA304&vq=sing > leton&dq=tomcat+6+singleton+not+working&source=gbs_search_s&si > g=t4ZT0XuVQsO2vs7PbKgTktLMarU#PPA141,M1

RE: JMX Perform GC TOMCAT 5.5.23

2008-06-05 Thread Caldarale, Charles R
> From: Michael Simmons [mailto:[EMAIL PROTECTED] > Subject: RE: JMX Perform GC TOMCAT 5.5.23 > > So.. giving the JVM many 1000s of times the space taken by > live objects (even under very high load) is a waste. Not at all. Having lots of room for short-lived object creation extends the time bet

Re: Does HTTPRequest.getParameter() return encoded or decoded?

2008-06-05 Thread Mark H. Wood
Sorry, I didn't fully specify the problem. I do refer to URI-(en|de)coding, not to character encoding issues. So, if I've understood the answers I've seen so far, the value returned by getParameter() should *not* be subjected to URI-decoding, because it has already been URI-decoded and doing so a

Re: PHP support in tomcat

2008-06-05 Thread Mikolaj Rydzewski
Jury Levykin wrote: is it possible to configure tomcat to support PHP? I need to execute some PHP scripts. The scripts should be located in the same directory with Java web application. Well, I just don't believe it will work correctly. I'd rather do one of the following: 1. run apache h

AW: PHP support in tomcat

2008-06-05 Thread Stefan Oestreicher
It's possible with Quercus (PHP5 only): http://quercus.caucho.com regards, Stefan Oestreicher -- Dr. Maté GmbH Stefan Oestreicher / Entwicklung [EMAIL PROTECTED] http://www.netdoktor.at Tel Buero: + 43 1 405 55 75 24 Fax Buero: + 43 1 405 55 75 55 Alser Str. 4 1090 Wien Altes AKH Hof 1 1.6.6 -

Re: PHP support in tomcat

2008-06-05 Thread Antonio Petrelli
2008/6/5 Jury Levykin <[EMAIL PROTECTED]>: > is it possible to configure tomcat to support PHP? GIYF: http://wiki.apache.org/tomcat/UsingPhp Antonio - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail:

PHP support in tomcat

2008-06-05 Thread Jury Levykin
Hi, is it possible to configure tomcat to support PHP? I need to execute some PHP scripts. The scripts should be located in the same directory with Java web application. Please send links onto howto if it is possible. Thanks! -

Re: Error with content-type application/pdf and Internet Explorer

2008-06-05 Thread Steve Ochani
Date sent: Thu, 05 Jun 2008 10:36:32 +0200 From: Luis Pascual Forner <[EMAIL PROTECTED]> Subject:Error with content-type application/pdf and Internet Explorer To: Tomcat Users List Send reply to: Tomcat Users List Organi

Re: Singleton in Tomcat 6.0 not working

2008-06-05 Thread Lilianne E. Blaze
Hello, Is there any particular reason you can't just use ServletContext Attribute instead of a static singleton? Greetings, Lilianne E. Blaze ktou Ho wrote: Hi, I am using Tomcat 6.0.16 with JDK 1.6. I created a web application and deployed it as ROOT. (I removed the default ROOT which comes

RE: Tomcat only responds to first request

2008-06-05 Thread Noronha, Joao
Hello again, I guess the -server option only reliefed a bit the situation by incresing the number of threads or something, because I'm still getting a Tomcat freeze (dumper valve stops logging requests) after a dozen clicks on refresh for the Tomcat root page. This is happening with any Tomcat I ha

Re: Authenticate with X509 certification

2008-06-05 Thread ahuelsing
Hi, you have to set clientAuth="true" andreas Luis Pascual Forner schrieb: Thanks, Bill, I use the JIO connector. That's my server.xml: className="org.apache.catalina.mbeans.ServerLifecycleListener" /> className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener" /> cla

[Fwd: client authentication issues]

2008-06-05 Thread Pavlos Drandakis
Hello all, Any comments? Thanks, Pavlos Original Message Subject:client authentication issues Date: Tue, 03 Jun 2008 18:06:49 +0300 From: Pavlos Drandakis <[EMAIL PROTECTED]> To: users@tomcat.apache.org Hi all, I have configured a stand alone tomcat server w

Get bean from servletContext on context destruction

2008-06-05 Thread Nam3l3ss
Hy! I have a bean on a jsp page (jsp:UseBean) , with application scope, that uses some resources that must be freed when the application is stopped/reset. I'm currently using a context listener to detect when does the servelt context gets destroyed, but I cannot get the bean from it. What I wa

Error with content-type application/pdf and Internet Explorer

2008-06-05 Thread Luis Pascual Forner
Hello, The JSP script that follows produces an error when accessing with Internet Explorer: <%@ page contentType="application/pdf" %> <%@ page import="java.io.File" %> <%@ page import="java.io.FileInputStream" %> <%@ page import="java.io.InputStreamReader" %> <% InputStreamReader in = new

Re: Authenticate with X509 certification

2008-06-05 Thread Luis Pascual Forner
More information: If I use Internet Explorer, in the log appears: java.net.SocketException: Socket Closed at java.net.PlainSocketImpl.setOption(PlainSocketImpl.java:201) at java.net.Socket.setSoTimeout(Socket.java:997) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.setSoT

Re: Authenticate with X509 certification

2008-06-05 Thread Luis Pascual Forner
Thanks, Bill, I use the JIO connector. That's my server.xml: className="org.apache.catalina.mbeans.ServerLifecycleListener" /> className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener" /> className="org.apache.catalina.storeconfig.StoreConfigLifecycleListener"/>

Re: Single sign on issue with Tomcat and Apache

2008-06-05 Thread Pid
Johnny Kewl wrote: - Original Message - From: "Propes, Barry L " <[EMAIL PROTECTED]> To: "Tomcat Users List" Hi, I am integrating two websites using single sign on. I have two sites namely aaa.com and bbb.com. I enabled SingleSignOn valve in server.xml file, and trying to acces