Re: Stop tomcat on Startup

2008-07-25 Thread afolli
Yes, I would love to throw an exception. Unfortunately, customer's request sometimes differ from developers desires. Alessandro Johnny Kewl wrote: > > > - Original Message - > From: "afolli" <[EMAIL PROTECTED]> > To: > Sent: Friday, July 25, 2008 10:29 AM > Subject: RE: Stop tomca

RE: Tomcat got killed after logout (by kill -HUP)

2008-07-25 Thread ktou Ho
Thanks. Elwin> Date: Fri, 25 Jul 2008 23:22:29 +0300> From: [EMAIL PROTECTED]> To: users@tomcat.apache.org> Subject: Re: Tomcat got killed after logout (by kill -HUP)> > Hello,> > On Fri, Jul 25, 2008 at 10:59 PM, ktou Ho <[EMAIL PROTECTED]> wrote:> > >> > I found the reason, it is because t

Re: FarmWarDeployer

2008-07-25 Thread adibak
Hi Ben I have a similar issues but i couldn't get it working. I have two servers A & B My deployer tag is as below for A. I assume that the dir i mentioned in the above tag will be relative to CATILINA_HOME. Suggestion please how u resolved. it. thanks - Aditya benshort wrote: > >

Tomcat Extremely Slow and High CPU in Debug Mode

2008-07-25 Thread Kelly Ellis
Hi All, I've been having a problem for several days now when debugging Tomcat 5.5.26 on my development machine. Only when debugging, Tomcat runs very slow with high CPU usage. The same does not happen when running Tomcat without debugging. There is no noticeable difference in memory usage between

farmWar Deployment not workinf but Session replication works.

2008-07-25 Thread adibak
Hi I am facing a problem with FarmWarDeployer. I have Nabbled and Googled a lot on this, and based on my search i have verified that my configuration are all the same as required. But still face the issue so here are the details. I have two instance of Tomcat5.5 running on the same machine (A &

Re: Tomcat got killed after logout (by kill -HUP)

2008-07-25 Thread RuiXian BAO
Hello, On Fri, Jul 25, 2008 at 10:59 PM, ktou Ho <[EMAIL PROTECTED]> wrote: > > I found the reason, it is because the shell I was using send a signal > (-HUP) to tomcat process. How can we configure tomcat to ignore those > signal? > Please try the command "nohup&". Best - RuiXian > > Thanks

RE: Tomcat got killed after logout (by kill -HUP)

2008-07-25 Thread ktou Ho
I found the reason, it is because the shell I was using send a signal (-HUP) to tomcat process. How can we configure tomcat to ignore those signal? Thanks Elwin> Subject: Re: Tomcat got killed after logout> From: [EMAIL PROTECTED]> To: users@tomcat.apache.org> Date: Fri, 25 Jul 2008 13:59:02 -

RE: Contextlistener problem - my problem!

2008-07-25 Thread Riaz, Bob
Sorry! Apparently, it was my null pointer that was causing the problem in the listener. My apologies if you've spent a moment on this. -Original Message- From: Riaz, Bob [mailto:[EMAIL PROTECTED] Sent: Friday, July 25, 2008 1:54 PM To: users@tomcat.apache.org Subject: Contextlistener prob

Re: Tomcat got killed after logout

2008-07-25 Thread Jq
I added this to my /etc/rc.local. /opt/tomcat is a symbolic link to the latest tomcat server. #Start tomcat export JAVA_HOME=/usr/java/latest/jre export JRE_HOME=/usr/java/latest/jre export LANG=en_US.iso885915 JAVA_OPTS=-Djava.security.auth.login.config=/opt/tomcat/conf/jaas.conf cd /opt/tomcat/b

Re: javax.servlet.ServletException: Cannot find bean usersList in scope request

2008-07-25 Thread David Smith
You may want to post plain text or post from another email client. A *lot* of your jsp source is missing from this email. --David Carlos Morales Diego wrote: Hello everyone, Could anyone help me, please? I have this mistake and I don't kow how to fix it: org.apache.jasper.JasperExcepti

Contextlistener problem

2008-07-25 Thread Riaz, Bob
Using NetBeans 6.1 with Tomcat 6.0 in Windows XP-Pro. I have a ContextListener in my webapp. It's been working fine, until now. I have not made any changes to the Listener class since it was last in working shape. When I run the app through NetBeans I get the following: SEVERE: Exception send

Tomcat got killed after logout

2008-07-25 Thread ktou Ho
Hi, I write a bootup script to start tomcat in the boot-up time. For debugging purpose, I use it to start the tomcat in command line also. The problem is: If I logout the shell that I used to start the tomcat, the tomcat exit also with the following message: Jul 24, 2008 6:32:09 AM org.apa

RE: javax.servlet.ServletException: Cannot find bean usersList in scope request

2008-07-25 Thread Carlos Morales Diego
The jsp file is this one: I write in a comment because if not you can't see it > From: [EMAIL PROTECTED] > To: users@tomcat.apache.org > Subject: javax.servlet.ServletException: Cannot find bean usersList in scope > request > Date: Fri, 25 Jul 2008 17:40:53 + > > > > Hello everyone, >

javax.servlet.ServletException: Cannot find bean usersList in scope request

2008-07-25 Thread Carlos Morales Diego
Hello everyone, Could anyone help me, please? I have this mistake and I don't kow how to fix it: org.apache.jasper.JasperException: Exception in JSP: /web_adminContent.jsp:23 20: Users Name 21: Country 22: 23: 24: 25: "> 26: Stacktrace: org.apache.jasper.servlet.JspServletW

RE: How to configure Toncat to accept HTTP PUT requests?

2008-07-25 Thread Caldarale, Charles R
> From: Moley Harey [mailto:[EMAIL PROTECTED] > Subject: How to configure Toncat to accept HTTP PUT requests? > > if I need to enable this for a single folder under "webapps" > that is going to be used as a repository accesible via HTTP, > how can I configure that? I am using Tomcat 5.5.7 (Thank y

RE: Tomcat Manager with different services

2008-07-25 Thread Caldarale, Charles R
> From: robich [mailto:[EMAIL PROTECTED] > Subject: Re: Tomcat Manager with different services > > the version i'm using is 5.5.15.. so, how can I > deploy the second manager you're talking about? For the 5.5 levels, the manager app is located in server/webapps, and it's ok to keep it there for b

RE: Session sharing between two URLs

2008-07-25 Thread erica_ren
Unfortunately, I set cookies = "false" and emptySessionPath="true" and only pass the jsessionid to the URL, but it did not work. I found this how-to about passing context data: http://www.fwd.at/tomcat/sharing-session-data-howto.html But this is the case where two different webapps are sharing

How to configure Toncat to accept HTTP PUT requests?

2008-07-25 Thread Moley Harey
Hi folks! I have a simple Java client that execute a HTTP PUT request to upload a file under Tomcat webapps folder, the thing is that every time I try to upload the file I get the response code "Forbidden 403". I have read that Tomcat do not come by default with the HTTP PUT feature enabled (whic

Re: Tomcat Manager with different services

2008-07-25 Thread robich
No, David, I didn't stated it... where did you read it in my post? Charles, the version i'm using is 5.5.15.. so, how can I deploy the second manager you're talking about? Thanks a lot for your help!! Roberto David Smith-2 wrote: > > Hi Chuck read the original post. He already stated

RE: Tomcat Manager with different services

2008-07-25 Thread Caldarale, Charles R
> From: David Smith [mailto:[EMAIL PROTECTED] > Subject: Re: Tomcat Manager with different services > > Hi Chuck read the original post. He already stated it was tomcat > 5.0.27. I see no mention of the level in the original posting by robich: http://marc.info/?l=tomcat-user&m=121699252702323

Re: Tomcat Manager with different services

2008-07-25 Thread David Smith
Hi Chuck read the original post. He already stated it was tomcat 5.0.27. --David Caldarale, Charles R wrote: From: robich [mailto:[EMAIL PROTECTED] Subject: Tomcat Manager with different services Do you know if there's any way by which I can manage also tthe other webapps, that is the on

RE: Tomcat Manager with different services

2008-07-25 Thread Caldarale, Charles R
> From: robich [mailto:[EMAIL PROTECTED] > Subject: Tomcat Manager with different services > > Do you know if there's any way by which I can manage > also tthe other webapps, that is the ones depployed > under "webapps-2" and belonging to the second service ? You can't do it with a single manager,

Tomcat Manager with different services

2008-07-25 Thread robich
Hi all. In my Tomcat "server.xml", I've defined two different ; each of them has its connectors, its engine, its host and so on. The first service has "Host.appbase=webapps" (default), the other has "Host.appbase=webapps-2" (different folder). When I open the "Tomcat Web Application Manager", th

Re: Adding web directory to tomcat manager

2008-07-25 Thread David Smith
In my experience, tomcat deploys as soon as it shows up in the webapps directory. If not, you would deploy using the manager webapp. The automatic deployment is controlled by the autoDeploy attribute of the ... element in server.xml. It's default value is true if not present in server.xml.

Re: Adding web directory to tomcat manager

2008-07-25 Thread siocco1
Thanks David. Do I deploy it from the context path, via url? Sorry, this is all new to me. If I have to deploy it what is the proper context path if that is infact where I add it. Steve -- View this message in context: http://www.nabble.com/Adding-web-directory-to-tomcat-manager-tp18651302p1

Re: Adding web directory to tomcat manager

2008-07-25 Thread David Smith
Simply copy the webapp to the webapps folder, name it after the context path you want to show up, and then deploy it in the manager webapp (if tomcat doesn't do that for you automagically). You should see it in the manager after that. --David siocco1 wrote: hi Folks. I am installing Remedy

Adding web directory to tomcat manager

2008-07-25 Thread siocco1
hi Folks. I am installing Remedy MidTier with Crystal Reports Server 11 and am using Tomcat 5.0.27. I am a rookie when it comes to tomcat and web apps in general. Anyways to integrate remedy with crystal reports server there is a CrystalReportViewer that is installed on the crystal machine. Th

RE: Stop tomcat on Startup

2008-07-25 Thread Peter Crowther
> From: Johnny Kewl [mailto:[EMAIL PROTECTED] > I think look at error handling in web services before > whacking Tomcat ;) Johnny, why not read the OP's original request, *then* respond? :-) - Peter - To start a

Re: Retrieving tomcat log files within war

2008-07-25 Thread Johnny Kewl
- Original Message - From: "Jerry Atrick" <[EMAIL PROTECTED]> To: Sent: Friday, July 25, 2008 12:19 AM Subject: Retrieving tomcat log files within war Is there a way to programmically retrieve the tomcat log files? I can reconstruct the log location by doing a new File(System.getPr

Re: Stop tomcat on Startup

2008-07-25 Thread Johnny Kewl
- Original Message - From: "afolli" <[EMAIL PROTECTED]> To: Sent: Friday, July 25, 2008 10:29 AM Subject: RE: Stop tomcat on Startup Thanks Peter. That is a lot easier than I thought :) Alessandro Peter Crowther wrote: How hard a stop do you want? The "Very Big Crowbar" woul

RE: Stop tomcat on Startup

2008-07-25 Thread Peter Crowther
No problem. Generally we're telling developers to get these *out* of their servlet code when they post on-list that Tomcat exits unexpectedly. It makes a change to tell someone to put one in! > From: afolli [mailto:[EMAIL PROTECTED] > Thanks Peter. > That is a lot easier than I thought :) > P

RE: Stop tomcat on Startup

2008-07-25 Thread robert.purvis
You could have the servlet write a file that is then checked for by an external application. If the file exists then the external app could kill the tomcat. Rob -Original Message- From: afolli [mailto:[EMAIL PROTECTED] Sent: 25 July 2008 09:20 To: users@tomcat.apache.org Subject: Stop

RE: Stop tomcat on Startup

2008-07-25 Thread afolli
Thanks Peter. That is a lot easier than I thought :) Alessandro Peter Crowther wrote: > > How hard a stop do you want? The "Very Big Crowbar" would be a > System.exit(1)! > > - Peter > > -- View this message in context: http://www.nabble.com/Stop-tomcat-on-Startup-tp186

RE: Stop tomcat on Startup

2008-07-25 Thread Peter Crowther
How hard a stop do you want? The "Very Big Crowbar" would be a System.exit(1)! - Peter > -Original Message- > From: afolli [mailto:[EMAIL PROTECTED] > Sent: 25 July 2008 09:20 > To: users@tomcat.apache.org > Subject: Stop tomcat on Startup > > > > Hi All. I want to perfor

Stop tomcat on Startup

2008-07-25 Thread afolli
Hi All. I want to perform some checks on tomcat startup. If there is an error, I want to stop tomcat. I have defined a servlet and defined it as follow in the web.xml file in order to load it. StartUp Sta