Re: share SessionID in different webapps - same tomcat

2008-09-04 Thread Gregor Schneider
On Wed, Sep 3, 2008 at 8:09 PM, Andrew Hole [EMAIL PROTECTED] wrote: Cookies (like you see in this site) is a good solution? *http://www.fwd.at/tomcat/sharing-session-data-howto.html* On Wed, Sep 3, 2008 at 6:21 PM, Andrew Hole [EMAIL PROTECTED]wrote: Thanks. And how can I test this

Re: Suggest A Best Option

2008-09-04 Thread bhooshanpandit
If you are talking abt NT Service then I think only one service is sufficient. -Original Message- From: Amit Dixit [EMAIL PROTECTED] To: 'users@tomcat.apache.org' users@tomcat.apache.org Sent: Wed, 3 Sep 2008 5:45 pm Subject: Suggest A Best Option I want to listen at two

Re: Etags vs Week Etags

2008-09-04 Thread Yoryos
On Wed, Sep 3, 2008 at 11:09 PM, Johnny Kewl [EMAIL PROTECTED] wrote: - Original Message - From: Johnny Kewl [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Wednesday, September 03, 2008 9:51 PM Subject: Re: Etags vs Week Etags - Original Message -

R: Monitor and report number of concurrent user

2008-09-04 Thread Leandro Dardini
-Messaggio originale- Da: Nix Hanwei [mailto:[EMAIL PROTECTED] Inviato: giovedì 4 settembre 2008 5.19 A: Tomcat Users List Oggetto: Monitor and report number of concurrent user Hi Gurus, May I know if there's scripts or suggestions for reporting concurrent user in tomcat?

Re: share SessionID in different webapps - same tomcat

2008-09-04 Thread Gregor Schneider
Andrew, On Wed, Sep 3, 2008 at 8:09 PM, Andrew Hole [EMAIL PROTECTED] wrote: Cookies (like you see in this site) is a good solution? *http://www.fwd.at/tomcat/sharing-session-data-howto.html* that's not necessary. When you configure the SingleSignOnValve within Tomcat, all webapps

Re: Suggest A Best Option

2008-09-04 Thread Gregor Schneider
I guess he's talking about Tomcat-services: A Service element represents the combination of one or more Connector components that share a single Engine component for processing incoming requests. One or more Service elements may be nested inside a Server element. From:

WARNING: This operation will timeout if no session state has been received within 60 seconds.

2008-09-04 Thread meharo
Hi, We are using a development tomcat cluster with two nodes. Also we have configured more than 500 virtual hosts in it. The problem what I am facing is, some of the virtual hosts will give some troubles as the developers continuously working on it. Majority of them will be like This operation

Re: R: Monitor and report number of concurrent user

2008-09-04 Thread Nix Hanwei
Hi Leandro, That's really cool idea you had used. Do you mind sharing abit more on how you did it? A newbie question here.. I downloaded and expanded probe.war file. May I know the default user and password? Thank you in advance. wannabe - Original Message From: Leandro Dardini

Problems with tomcat in debian

2008-09-04 Thread marcos gonzalez
Hi Im installing Tomcat5.5 and works correctly, but when I put the sample application in the webapps folder /usr/share/tomcat5.5/webapps I can't access. I access using the path in Firefox http://localhost:8180/sample. The 404 error appears. Any idea? Best Regards

Re: Problems with tomcat in debian

2008-09-04 Thread Mikolaj Rydzewski
marcos gonzalez wrote: Im installing Tomcat5.5 and works correctly, but when I put the sample application in the webapps folder /usr/share/tomcat5.5/webapps I can't access. I access using the path in Firefox http://localhost:8180/sample. The 404 error appears. Do not use bundled Tomcats.

R: Problems with tomcat in debian

2008-09-04 Thread Leandro Dardini
-Messaggio originale- Da: marcos gonzalez [mailto:[EMAIL PROTECTED] Inviato: giovedì 4 settembre 2008 10.41 A: Tomcat Users List Oggetto: Problems with tomcat in debian Hi Im installing Tomcat5.5 and works correctly, but when I put the sample application in the webapps

Re: Why GlassFish

2008-09-04 Thread Peng Tuck Kwok
Johnny, you're having way too much fun :D . Sam to answer your question, tomcat simply is the reference implementation of servlet and jsp specification from Sun (and a damn fine one at that too). Glassfish like other comparable app servers out there implement the JEE specification (well whichever

R: R: Monitor and report number of concurrent user

2008-09-04 Thread Leandro Dardini
Top posting, ok, if you like it... About sharing how I did it, in attach there is the very dirty nagios probe I write (cut away the .txt). Messages are in italian, sorry, nobody is perfect ;-) The probe get current thread and request count and busy thread. I use nagiostat to graph them and

Re: Why GlassFish

2008-09-04 Thread Leon Rosenberg
On Thu, Sep 4, 2008 at 11:48 AM, Peng Tuck Kwok [EMAIL PROTECTED] wrote: Johnny, you're having way too much fun :D . Sam to answer your question, tomcat simply is the reference implementation of servlet and jsp specification from Sun (and a damn fine one at that too). No its not. Glassfish is

Re: R: Problems with tomcat in debian

2008-09-04 Thread marcos gonzalez
Hi Im using only Tomcat, not apache. I can access to manager, how I can test the sampel application using this interface? Best Regards 2008/9/4 Leandro Dardini [EMAIL PROTECTED] -Messaggio originale- Da: marcos gonzalez [mailto:[EMAIL PROTECTED] Inviato: giovedì 4 settembre

Re: Why GlassFish

2008-09-04 Thread Peng Tuck Kwok
Meh, need to check tomcat more often :P On Thu, Sep 4, 2008 at 4:52 PM, Leon Rosenberg [EMAIL PROTECTED] wrote: On Thu, Sep 4, 2008 at 11:48 AM, Peng Tuck Kwok [EMAIL PROTECTED] wrote: Johnny, you're having way too much fun :D . Sam to answer your question, tomcat simply is the reference

virtual host and cgi-bin

2008-09-04 Thread Sathish Vadhiyar
Hi, I have set up a virtual host named app in my server.xml as: Host name=app.com appBase=webapps/app Context path= docBase=./ /Host The default page is opening correctly. There is a link in this page that points to a jsp file (register.jsp) that is located in webapps/app/WEB-INF/cgi

R: R: Problems with tomcat in debian

2008-09-04 Thread Leandro Dardini
Try putting a index.jsp in your context and access http://localhost:8180/sample/index.jsp Leandro -Messaggio originale- Da: marcos gonzalez [mailto:[EMAIL PROTECTED] Inviato: giovedì 4 settembre 2008 10.57 A: Tomcat Users List Oggetto: Re: R: Problems with tomcat in debian Hi

Re: j_security_check get password on the request

2008-09-04 Thread lmk
thanks Christopher, I found another solution, I use a custom class UserPricipal with userName and userId parameter, when the user is autheticated, I populate userId. on the servlet, I get the UserPrincipal object from the request. best regards! Christopher Schultz-2 wrote: -BEGIN PGP

Dual SSL configuration on tomcat

2008-09-04 Thread losintikfos
Hi Guys, I am trying to configure dual (two way) SSL on my tomcmat 6.0.18. Do anyone know how to go about this? i have l;ooked at loads of steps on google and none seems to hit the spot! Do anyone knows how to go about this perfectly? Help:confused: -- View this message in context:

Re: R: R: Problems with tomcat in debian

2008-09-04 Thread marcos gonzalez
Thanks but nots the solution. really I don't know where I can configure the default path for the applications Best Regards 2008/9/4 Leandro Dardini [EMAIL PROTECTED] Try putting a index.jsp in your context and access http://localhost:8180/sample/index.jsp Leandro -Messaggio

R: R: R: Problems with tomcat in debian

2008-09-04 Thread Leandro Dardini
Look at tomcat/conf/Catalina/localhost/sample.xml. There is a field, docBase=... you can specify where you application lies. The path=/... is related on how you call it. Leandro -Messaggio originale- Da: marcos gonzalez [mailto:[EMAIL PROTECTED] Inviato: giovedì 4 settembre 2008

Re: R: R: R: Problems with tomcat in debian

2008-09-04 Thread marcos gonzalez
Well, this file not exists, each application needs and xml file there? There isn't a default configuration to load all the new applications? Thanks Best Regards 2008/9/4 Leandro Dardini [EMAIL PROTECTED] Look at tomcat/conf/Catalina/localhost/sample.xml. There is a field, docBase=... you

R: R: R: R: Problems with tomcat in debian

2008-09-04 Thread Leandro Dardini
I don't know if a file is needed, but I usually create it and all runs well. This is mine for lambda probe, named probebinj.xml ?xml version=1.0 encoding=UTF-8? Context privileged=true allowLinking=true docBase=/usr2/context/probe reloadable=false path=/probebinj

Re: Etags vs Week Etags

2008-09-04 Thread Johnny Kewl
- Original Message - From: Yoryos [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Thursday, September 04, 2008 9:08 AM Subject: Re: Etags vs Week Etags On Wed, Sep 3, 2008 at 11:09 PM, Johnny Kewl [EMAIL PROTECTED] wrote: - Original Message - From:

Tomcat 6 Memory problem

2008-09-04 Thread Barak Yaish
Hello all, I'm running Tomcat 6.0.16 on CentoOS 5, linked with native library. I deployed a Servelt, which on invocation executes an RMI call to a remote RMI server. Tomcat configured with max heap size of 2G After short time of running under heavy load, the memory consumption reported by top

Re: Etags vs Week Etags

2008-09-04 Thread Yoryos
On Thu, Sep 4, 2008 at 1:07 PM, Johnny Kewl [EMAIL PROTECTED] wrote: - Original Message - From: Yoryos [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Thursday, September 04, 2008 9:08 AM Subject: Re: Etags vs Week Etags On Wed, Sep 3, 2008 at 11:09 PM,

Re: virtual host and cgi-bin

2008-09-04 Thread Mark Thomas
Sathish Vadhiyar wrote: Hi, I have set up a virtual host named app in my server.xml as: Host name=app.com appBase=webapps/app Context path= docBase=./ /Host appBase must not equal docBase. Rename webapps/app to webapps-app/ROOT and use the following Host name=app.com

Re: Problems with tomcat in debian

2008-09-04 Thread marcos gonzalez
The best advice XDDD I installed again but without compiled and all works perfect! Thanks! 2008/9/4 Mikolaj Rydzewski [EMAIL PROTECTED] marcos gonzalez wrote: Im installing Tomcat5.5 and works correctly, but when I put the sample application in the webapps folder

Re: WARNING: This operation will timeout if no session state has been received within 60 seconds.

2008-09-04 Thread meharo
Thanks, I found it! The option was stateTransferTimeout and we have to pass this value to the Manager element defined inside the Cluster element. More on http://tomcat.apache.org/tomcat-6.0-doc/config/cluster-manager.html Thanks Meharo meharo wrote: Hi, We are using a development

Re: virtual host and cgi-bin

2008-09-04 Thread Sathish Vadhiyar
It worked! Much simpler than all the solutions I have tried so far. Thanks a lot for helping me solve this. - Sathish Sathish Vadhiyar wrote: Hi, I have set up a virtual host named app in my server.xml as: Host name=app.com appBase=webapps/app Context path= docBase=./ /Host appBase

RE: R: R: R: Problems with tomcat in debian

2008-09-04 Thread Caldarale, Charles R
From: marcos gonzalez [mailto:[EMAIL PROTECTED] Subject: Re: R: R: R: Problems with tomcat in debian Well, this file not exists, each application needs and xml file there? No, each application does not. When a Context element is needed at all, it normally goes into the META-INF/context.xml

RE: R: R: R: Problems with tomcat in debian

2008-09-04 Thread Caldarale, Charles R
From: Leandro Dardini [mailto:[EMAIL PROTECTED] Subject: R: R: R: R: Problems with tomcat in debian I don't know if a file is needed, but I usually create it and all runs well. Please stop giving bad information. The conf/Catalina/[host]/[appName].xml file is only needed when you wish to

Re: R: R: R: Problems with tomcat in debian

2008-09-04 Thread marcos gonzalez
Hi to all, Finally i uninstalled the tomcat package from Etch repository and installed again using tomcat oficial tar.gz package. And,surprise, all works right :-) Thanks for all the mails helping me. Best Regards 2008/9/4 Caldarale, Charles R [EMAIL PROTECTED] From: Leandro Dardini

R: R: R: R: Problems with tomcat in debian

2008-09-04 Thread Leandro Dardini
Thank you for pointing this out. This is a valuable information I have to remember. I'll go to throw away all path directives from my xml file. ... and yes, my applications are outside the host appBase. Next time I think twice before giving an hint I am not 100% sure. Leandro -Messaggio

Error while trying to use trial certificate for SSL in Tomcat

2008-09-04 Thread Haim Cohen
Hi I'm new to Tomcat and I'm trying to set SSL on a Tomcat server and to understand how it should be done. I started with generating key as explained in the Tomcat SSL howto and everything went well and I succeeded to connect using https to my server, of course the browser did not recognize the

Re: Why GlassFish

2008-09-04 Thread Jack Woehr
Leon Rosenberg wrote: Still, tomcat is the better implementation, simply because it doesn't have all the ejb stuff :-) I rise to agree with Leon. The reason I'm using Tomcat right now (and pestering the list with build questions, thanks for the help) is that it's simpler. I'm not

Need help with Tomcat MBean support

2008-09-04 Thread Steve Cohen
I am trying to write a custom MBean to put a particular function of our application under management control This application is currently deployed under Tomcat 6.0. I do not need remote monitoring/management. Local management will do. I am perfectly happy to invoke my management function

Tomcat 5.5. META-INF/context.xml ignored when deploying as war.

2008-09-04 Thread Eric Berry
Hello, I'm trying to use the manager to deploy a war file creating using Maven 2. The war is a snapshot file which contains a META-INF/context.xml file. It seems that this file is being ignored when deploying this way and the war file-name is being used instead. I thought the purpose of the

Re: Tomcat 5.5. META-INF/context.xml ignored when deploying as war.

2008-09-04 Thread Mark Thomas
Eric Berry wrote: Hello, I'm trying to use the manager to deploy a war file creating using Maven 2. The war is a snapshot file which contains a META-INF/context.xml file. It seems that this file is being ignored when deploying this way and the war file-name is being used instead. I

Re: Need help with Tomcat MBean support

2008-09-04 Thread H. Hall
Steve Cohen wrote: I am trying to write a custom MBean to put a particular function of our application under management control This application is currently deployed under Tomcat 6.0. I do not need remote monitoring/management. Local management will do. I am perfectly happy to invoke my

Re: User Directories and context.xml?

2008-09-04 Thread Tim J Schumacher
Hi Paul, Thanks for looking. Just out of curiosity, does anyone know the motivation for not reading context.xml out of a user's directory? -Tim Paul Pepper wrote: Hi Tim, You're right. Reading this: http://tomcat.apache.org/tomcat-6.0-doc/api/org/apache/catalina/startup/UserConfig.html

Re: Need help with Tomcat MBean support

2008-09-04 Thread Steve Cohen
Thank you very much - this is exactly what I was looking for. And a word to the Tomcat team - Documentation would be much improved by simply mentioning the two links provided by Mr. Hall. H. Hall wrote: Steve Cohen wrote: I am trying to write a custom MBean to put a particular function of

Re: Need help with Tomcat MBean support

2008-09-04 Thread Mark Thomas
Steve Cohen wrote: Thank you very much - this is exactly what I was looking for. And a word to the Tomcat team - Documentation would be much improved by simply mentioning the two links provided by Mr. Hall. Patches are always welcome. Mark

Re: Tomcat 5.5. META-INF/context.xml ignored when deploying as war.

2008-09-04 Thread Eric Berry
Mark, thanks for the reply. You appear to have misunderstood. Which part of the doc did you get this from and I'll see if it can be made clearer. From my understanding of the the order of precedence. [quote] *Context* elements may be explicitly defined: - in the

Re: Tomcat 5.5. META-INF/context.xml ignored when deploying as war.

2008-09-04 Thread Mark Thomas
Eric Berry wrote: Mark, thanks for the reply. You appear to have misunderstood. Which part of the doc did you get this from and I'll see if it can be made clearer. From my understanding of the the order of precedence. [quote] *Context* elements may be explicitly defined: - in

Re: Need help with Tomcat MBean support

2008-09-04 Thread Steve Cohen
Soon as I get out of this time crunch I will try to do so. Mark Thomas wrote: Steve Cohen wrote: Thank you very much - this is exactly what I was looking for. And a word to the Tomcat team - Documentation would be much improved by simply mentioning the two links provided by Mr. Hall.

Re: Problems with running 64-bit Tomcat 6 as a Windows service

2008-09-04 Thread Tommy Pham
--- On Wed, 9/3/08, Brian Clark [EMAIL PROTECTED] wrote: From: Brian Clark [EMAIL PROTECTED] Subject: Problems with running 64-bit Tomcat 6 as a Windows service To: Tomcat Users users@tomcat.apache.org Date: Wednesday, September 3, 2008, 10:00 PM Hello, I am trying to get Tomcat 6.0.18

RE: https j_security_check now really Solved :P

2008-09-04 Thread Patrick Markiewicz
Do I need to configure separate connectors for the isapi_redirect.dll to = work properly? I realize that this discussion is about apache, and not = iis, but I've had no ability to connect to = https://SAMPLE-DOMAIN.com:8443/examples, and I can't understand why. Patrick -Original

Re: Struts vs JSF (poll?)

2008-09-04 Thread Tommy Pham
Hello everyone, Thank you all for your replies and positive input. I'll read more about DWR, Wicket, and Tomcat MVC model to decide what's best for my project(s). Johnny, if by chance you manage to find the links to the Tomcat MVC model, would you please send it? I didn't have much success

Re: Tomcat 5.5. META-INF/context.xml ignored when deploying as war.

2008-09-04 Thread Eric Berry
That isn't quite how it works. $CATALINA_HOME/conf/context.xml provides global defaults which can be overridden at the host level by: $CATALINA_HOME/conf/[enginename]/[hostname]/context.xml.defaultfile which in turn can be overridden at the context level by:

Re: Etags vs Week Etags

2008-09-04 Thread Johnny Kewl
Yory, I'm tired pulling long hours on something, so please check me ;) Yes, not needed, its another hook... coder has left it there in case he needs it... In theory, when I look at the code, all you really have to do is setEtag and that will be used. If you leave the W/\ off... its a strong

Re: Need help with Tomcat MBean support

2008-09-04 Thread Steve Cohen
H. Hall wrote: Okay, thanks again. This got me off square one. Now on to square two. :-) 1. I compose a legal mbeans-descriptor.xml file configuring my MBean according to DTD. I place it in the domain Catalina. Don't know if this is right. Also tried my own domain name. 2. I launch

Re: Struts vs JSF (poll?)

2008-09-04 Thread Frank W. Zammetti
: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] __ Information from ESET Smart Security, version of virus signature database 3416 (20080904) __ The message was checked by ESET Smart Security. http://www.eset.com

Re: Need help with Tomcat MBean support

2008-09-04 Thread Steve Cohen
Let me ask my question a little more directly: Does the presence of a descriptor cause instantiation of an instance of an MBean or do I have to write code to create a server-side instance of my MBean and if so, where should this code reside or is there some configuration artifact that causes

Close Connection Configuration

2008-09-04 Thread Barry Fawthrop
Greetings I have a JSP which uses the sun.com rssutils.jar to read and display an RSS feed. I have noticed that when I run the page and then look at netstat -anp that there is a ESTABLISH connection from tomcat to the RSS feed site. The goes from ESTABLISH - FIN_WAIT to goes away. If I wait