Deploying an app from remote url (tomcat manager)

2008-09-04 Thread Noble Paul നോബിള്‍ नोब्ळ्
hi , I tried the to deploy a war from an http url I tried the following syntax jar:http://hostname:port/path/to/a/warfile.war! as given in the javadocs for ManagerServlet It throws the following exception on console java.io.IOException: The filename, directory name, or volume label syntax is i

Tomcat 6: 20 minutes on 10 minutes off duty cycle

2008-09-04 Thread Bryan McGinty
After upgrading from Tomcat 5 to Tomcat 6 I encountered a situation where Tomcat cycles through working hard for 20 minutes, and slowing down for 10 minutes. We run a Java servlet application using JDK 1.5.0-15 and Tomcat 5.5.26. One part of the application processes an XML file, and this can sat

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 fo

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 th

Re: Struts vs JSF (poll?)

2008-09-04 Thread Frank W. Zammetti
- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] __ Information from ESET Smart Security, version of virus signature database 34

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: 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: 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: > $CATALINA_HOME/conf/[enginen

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 go

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://.com:8443/examples, and I can't understand why. Patrick -Original Message- From: Ju

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" > Date: Wednesday, September 3, 2008, 10:00 PM > Hello, > > I am trying to get Tomcat 6.0.18 to run on my

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: 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:

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 $CATALINA_HOME/conf/cont

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: 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: 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 an

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 m

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. > >

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 co

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 t

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 /interested/

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 c

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

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 [mai

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

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 element is needed at all, it normally goes into the META-INF/context.xml file

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: >> >> >> >> > > appBase must not equal docBase. > > Rename webapps/app to

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 element defined inside the 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 tomcat cluste

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 /usr/share/tomcat5.

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: > > > > appBase must not equal docBase. Rename webapps/app to webapps-app/ROOT and use the following See http://tomcat.apache.org/tomcat-6.0-doc/virtual-hosting-howto.html for more info Mark

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" > Sent: Thursday, September 04, 2008 9:08 AM > > Subject: Re: Etags vs Week Etags > > > On Wed, Sep 3, 2008 at 11:09 PM, Johnny Kew

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: Default application or HTML redirect

2008-09-04 Thread Konstantin Kolinko
Well, Judging from your server.xml file, you are using Tomcat 6.0. Well, the file is the same as the default one, only connector port number is changed, s/8080/80/ Do you have manager application installed? Usally it is installed. If yes, you can add to your conf/tomcat-users.xml, and access th

Re: Etags vs Week Etags

2008-09-04 Thread Johnny Kewl
- Original Message - From: "Yoryos" <[EMAIL PROTECTED]> To: "Tomcat Users List" 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: "Johnny Kewl" <[E

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 Leandro > -Messaggio originale- > Da: marcos gonzalez [mailto:[EMAIL PROTECTED] > Inviato: giovedì 4 settembre 2008 11.35 > A: Tomcat Users List > Oggetto

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="..." y

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 20

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

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: http://ww

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 PG

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 >

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: 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 However, this link is not working correctly. Please help in making this wo

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 re

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 sett

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. Glassfi

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 forecas

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: 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 we

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. Downl

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: 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 <

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: 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: http://tomcat.apache.org/to

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 (con

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

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" > Sent: Wednesday, September 03, 2008 9:51 PM > > Subject: Re: Etags vs Week Etags > > > >> - Original Message - From: