Re: Tomcat 6 Windows Service

2008-08-05 Thread Skondras Panos
Setting the catalina_base solves the problem but you have to create a new dir for the conf files. Is there a way to just pass as a parameter the server.xml in the startUp class as StartParams or something else. Thanks a lot --- Στις Δευτ., 04/08/08, ο/η Mark Thomas [EMAIL PROTECTED] έγραψε:

Re: Can two Tomcat's safely share the same webapps directory?

2008-08-05 Thread Mark Thomas
Richard M wrote: Progress: Well so far it seems to work in preliminary testing. Is there anything or any reason to shy away from this solution? Both Tomcat's will have separate work directories. The JSP's will run on the first Tomcat instance, the batch processing on the second. Thanks in

Re: configure tomcat

2008-08-05 Thread Maduranga Kannangara
Also a tiny note: It should be localhost:8080 and not localhost/8080 (Hope you tried the first way?) Cheers -- Koodos - stylish brads, smart prices http://www.Koodos.com On 5/8/08 03:37, Nadun Herath [EMAIL PROTECTED] wrote: David and others Thanks a lot. I will remove that from

Need source code of Tomcat 5.5.20's dbcp

2008-08-05 Thread Mamta, Jain
The Tomcat 5.5.20 source does not provide code for the dbcp module. So I checked the version of naming-factory-dbcp.jar, found it to be of ver 1.0 and checked out the dbcp source from Apache commons archives. But the source and the binaries do not seem to match. Where do I get the right version

Re: Need source code of Tomcat 5.5.20's dbcp

2008-08-05 Thread Mark Thomas
Mamta, Jain wrote: The Tomcat 5.5.20 source does not provide code for the dbcp module. So I checked the version of naming-factory-dbcp.jar, found it to be of ver 1.0 and checked out the dbcp source from Apache commons archives. But the source and the binaries do not seem to match. Where do I get

RE: Tomcat does not shutdown properly and kill -3 does not work!

2008-08-05 Thread Peter Crowther
From: Maduranga Kannangara [mailto:[EMAIL PROTECTED] There is an issue with my Tomcat instance where I have to kill it using 9 all the time. This is my application environment: An active-mq queue is used inside my application war. Tomcat version: 5.x OS: Redhat Linux It would help if you

RE: Tomcat Service is stopped automatically???

2008-08-05 Thread Peter Crowther
From: Thangavel Sankaranarayanan [mailto:[EMAIL PROTECTED] I tried it and it is working... but how do i make the process to run in backround..what happens is when my session expires (as i am connected through RDC) or if i wanted to logoff from the remote system the process will stop i

Re: Tomcat does not shutdown properly and kill -3 does not work!

2008-08-05 Thread Maduranga Kannangara
Tomcat: 5.5.20 JVM: Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_09-b01) OS: Red Hat Enterprise Linux AS release 4 (Nahant Update 2) However, this also same behavior on OSX 10.5 as well. With JVM: Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_13-b05-237) I need

Re: Tomcat Service is stopped automatically???

2008-08-05 Thread Thangavel Sankaranarayanan
Hi .. Andre wrote: Oh well, that means you (or rather your user-id) are probably not a Local Administrator on that system. At this stage, I'm not quite sure anymore, because I don't have a Tomcat 4.1 system to compare this with. So I'm working from memory. Try this : Supposing you can find

Tomcat does not shutdown properly and kill -3 does not work!

2008-08-05 Thread Maduranga Kannangara
Hello, There is an issue with my Tomcat instance where I have to kill it using ­9 all the time. This is my application environment: An active-mq queue is used inside my application war. Tomcat version: 5.x OS: Redhat Linux However I was unable to get trace using kill ­3 as I saw in some of the

Re: Can two Tomcat's safely share the same webapps directory?

2008-08-05 Thread Johnny Kewl
- Original Message - From: Richard M [EMAIL PROTECTED] To: users@tomcat.apache.org Sent: Tuesday, August 05, 2008 5:21 AM Subject: Can two Tomcat's safely share the same webapps directory? I looked through the documentation and searched the user list and web for the answer to

Re: Can two Tomcat's safely share the same webapps directory?

2008-08-05 Thread Richard M
Mark, Thanks for the feedback and thoughts. I figured it might not be supported and a little risky - since I found no references or experiences. I'll certainly report back if any inherent problems do pop up. markt-2 wrote: Richard M wrote: Progress: Well so far it seems to work in

Re: Can two Tomcat's safely share the same webapps directory?

2008-08-05 Thread Richard M
Johnny, Thanks for sharing this info - good to know it works beyond my simple tests so far. You bring up a number of good points, things to consider and test out - e.g. I can see what you mean about the issues of mid-stream uploads not being handled gracefully in some cases. For us it should not

tomcat5 and jaas

2008-08-05 Thread rafabbri
I'm a beginner in this technology and I try to configure Tomcat 5.0.28 in order to use JAASRealm as detailed in the next link http://tomcat.apache.org/tomcat-5.5-doc/realm-howto.html#JAASRealm but these informations seem to be not enought for my knoweledge. I can't integrate jaas with tomcat, I

Re: tomcat5 and jaas

2008-08-05 Thread Mark Thomas
rafabbri wrote: I'm a beginner in this technology and I try to configure Tomcat 5.0.28 in The 5.0.x series is no longer supported. It is also quote old. You shoudl consider upgrading to 5.5.x or better yet 6.0.x order to use JAASRealm as detailed in the next link

RE: FW: Rotate stdout_xxx.log without Restart Tomcat

2008-08-05 Thread Cosio, Raul
I run tomcat under java service wrapper little slow to install but great to work with, and it supports rolling of logs... http://wrapper.tanukisoftware.org/doc/english/props-nt.html Raúl Cosío Business Technology (+52) 55 5481 9600 ext 9333

Unable to view tomcat admin in Mac

2008-08-05 Thread prakash shanmugam
hai all, i have Mac Leapoard os . How to install admin console for Tomcat 5.5.26. Please tell me where i have to download admin console files. -- with Regards S.Prakash

Re: Unable to view tomcat admin in Mac

2008-08-05 Thread Mark Thomas
prakash shanmugam wrote: hai all, i have Mac Leapoard os . How to install admin console for Tomcat 5.5.26. Please tell me where i have to download admin console files. Did you look at the Tomcat 5 download pages? Mark

Re: tomcat5 and jaas

2008-08-05 Thread rafabbri
Thank for your reply In the mean time I did some steps a head In web.xml I add the next lines: !-- Define a Security Constraint on this Application -- security-constraint web-resource-collection web-resource-nameSample/web-resource-name url-pattern/*/url-pattern

Unable to view tomcat6.0.16 admin in Mac

2008-08-05 Thread prakash shanmugam
hello mark, sorry, i dont find any relevant pages. right now i am looking for admin page in tomcat 6.0.16. -- with Regards S.Prakash

Re: Unable to view tomcat6.0.16 admin in Mac

2008-08-05 Thread Mark Thomas
prakash shanmugam wrote: hello mark, sorry, i dont find any relevant pages. right now i am looking for admin page in tomcat 6.0.16. The admin app does not exist in 6.0.x Mark - To start a new topic, e-mail:

Re: Unable to view tomcat6.0.16 admin in Mac

2008-08-05 Thread David Smith
prakash shanmugam wrote: hello mark, sorry, i dont find any relevant pages. right now i am looking for admin page in tomcat 6.0.16. Because tomcat 6.0.x does not have the admin webapp. It was dropped in tomcat 6.0 entirely. --David

Re: Error deploying struts application in tomcat

2008-08-05 Thread ramya lekha
I had made the change but still i am getting the same error in my log file 2008-08-05 13:37:17 StandardContext[/balancer]org.apache.webapp.balancer.BalancerFilter: init(): ruleChain: [org.apache.webapp.balancer.RuleChain: [org.apache.webapp.balancer.rules.URLStringMatchRule: Target string:

RE: Unable to view tomcat6.0.16 admin in Mac

2008-08-05 Thread Rob Mercer
Are there any plans to bring back the admin application? -Rob -Original Message- From: David Smith [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 05, 2008 10:51 AM To: Tomcat Users List Subject: Re: Unable to view tomcat6.0.16 admin in Mac prakash shanmugam wrote: hello mark,

Re: Unable to view tomcat6.0.16 admin in Mac

2008-08-05 Thread Mark Thomas
Rob Mercer wrote: Are there any plans to bring back the admin application? No since no-one supported it. Mark - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: Unable to view tomcat6.0.16 admin in Mac

2008-08-05 Thread David Smith
As I understand, only if someone is willing to rewrite and maintain it. It had some serious design flaws and hadn't been maintained in a while. --David Rob Mercer wrote: Are there any plans to bring back the admin application? -Rob -Original Message- From: David Smith

Virtual Host

2008-08-05 Thread nilanthan
I have a virtual host for my domain. Everything works fine but I am having an issue with jsession/cookies, i think. What settings do I need to have the jsessionID properly. -- View this message in context: http://www.nabble.com/Virtual-Host-tp18834399p18834399.html Sent from the Tomcat - User

Re: Unable to view tomcat6.0.16 admin in Mac

2008-08-05 Thread Sameer Acharya
If there is a group planning to take up this task(ie. maintaining/re-writing admin. app.) Iam willing to help out. I had not used it much but I think an admin and configuration utility for Tomcat would be useful especially for novice users. -Sameer --- On Tue, 8/5/08, David Smith [EMAIL

Re: Virtual Host

2008-08-05 Thread Hassan Schroeder
On Tue, Aug 5, 2008 at 9:08 AM, nilanthan [EMAIL PROTECTED] wrote: I have a virtual host for my domain. Everything works fine but I am having an issue with jsession/cookies, i think. What settings do I need to have the jsessionID properly. Absolutely none. It works out of the box. So if you

Avast Antivirus and apache-tomcat-6.0.18.exe

2008-08-05 Thread Ангелин Лалев
Greetings, Avast Antivirus detects some strange trojan when the installer runs. Is it a known problem? The virus information: File name: C:\DOCUME~1\Ownjo\LOCALS~1\Temp\nspDA.tmp\nsDB.tmp Malware name: Win32:Trojan-gen {Other} Malware type: Virus/Worm VPS version: 080805-0, 08/05/2008 The

RE: Avast Antivirus and apache-tomcat-6.0.18.exe

2008-08-05 Thread Martin Gainty
Which server has this virus?did you try the american servers ? Martin __ Disclaimer and confidentiality note Everything in this e-mail and any attachments relates to the official business of Sender. This transmission is of a confidential nature and

Re: Avast Antivirus and apache-tomcat-6.0.18.exe

2008-08-05 Thread Mark Thomas
Martin Gainty wrote: Which server has this virus?did you try the american servers ? The MD5 matches - it is irrelevant where he got it from it is the same file. Mark - To start a new topic, e-mail: users@tomcat.apache.org

Re: Avast Antivirus and apache-tomcat-6.0.18.exe

2008-08-05 Thread Mark Thomas
Ангелин Лалев wrote: Greetings, Avast Antivirus detects some strange trojan when the installer runs. Is it a known problem? It isn't but I see the same issue. Let me do some more testing. Mark - To start a new topic,

Re: Re: Avast Antivirus and apache-tomcat-6.0.18.exe

2008-08-05 Thread Ангелин Лалев
Apparently the address is from Bulgarian mirror, where I am automatically redirected when i load the http://tomcat.apache.org/download-60.cgi. The md5 sum is from there too. If the alert is reproducable on binaries from other mirrors that still don't mean it's a virus. I had false warnings

Re: Avast Antivirus and apache-tomcat-6.0.18.exe

2008-08-05 Thread Mark Thomas
Ангелин Лалев wrote: Apparently the address is from Bulgarian mirror, where I am automatically redirected when i load the http://tomcat.apache.org/download-60.cgi. The md5 sum is from there too. If the alert is reproducable on binaries from other mirrors that still don't mean it's a virus. I

#of Site can be run on single Tomcat Instance?

2008-08-05 Thread Tomcat User6
I am running around 10 different site on single Tomcat Instnace i.e. 6.0. I am facing some unexpected errors while running some of the sites. Everytime I restart the Tomcat, the same error is throwing by individual site. This is the error.. java.lang.NoClassDefFoundError:

Re: Avast Antivirus and apache-tomcat-6.0.18.exe

2008-08-05 Thread Mark Thomas
Mark Thomas wrote: Ангелин Лалев wrote: Apparently the address is from Bulgarian mirror, where I am automatically redirected when i load the http://tomcat.apache.org/download-60.cgi. The md5 sum is from there too. If the alert is reproducable on binaries from other mirrors that still don't

List remote files in Servlet

2008-08-05 Thread Nathan Thatcher
I am experiencing a little problem with Tomcat 6.0 and I haven't been able to determine the cause or solution. In a standalone Java application I can list the files from a remote directory like this: File[] list = new File(//192.168.0.1/shared_dir).listFiles(); When I execute the same code in a

Re: List remote files in Servlet

2008-08-05 Thread Steve Ochani
Date sent: Tue, 05 Aug 2008 15:45:26 -0600 From: Nathan Thatcher [EMAIL PROTECTED] Subject:List remote files in Servlet To: users@tomcat.apache.org Send reply to: Tomcat Users List users@tomcat.apache.org I am

Re: List remote files in Servlet

2008-08-05 Thread Nathan Thatcher
On Tue, Aug 5, 2008 at 3:53 PM, Steve Ochani [EMAIL PROTECTED] wrote: Date sent: Tue, 05 Aug 2008 15:45:26 -0600 From: Nathan Thatcher [EMAIL PROTECTED] Subject:List remote files in Servlet To: users@tomcat.apache.org Send

Re: Virtual Host

2008-08-05 Thread Warren Killian
Hi Nilanthan, Yeah, I think Hassan is correct. Cookies deal more with HTTP Headers than Tomcat itself. You don't have to do anything at all to Tomcat for it to support cookies out of the box. You may want to take a closer look at your particular web application and how it is (or is not as the

Re: #of Site can be run on single Tomcat Instance?

2008-08-05 Thread Warren Killian
Hi, I don't know of any specific limit to the number of web apps you can run on a single instance of Tomcat. I think it may only be limited by the amount of system resources you can sweat out of your hardware. Where I work, we have one instance of Tomcat which has probably 30 distinct web

Re: List remote files in Servlet

2008-08-05 Thread Nathan Thatcher
Turns out that was the issue. I set tomcat to run as a local user and now it works. Thanks for the help. On Tue, Aug 5, 2008 at 4:15 PM, Nathan Thatcher [EMAIL PROTECTED] wrote: On Tue, Aug 5, 2008 at 3:53 PM, Steve Ochani [EMAIL PROTECTED] wrote: Date sent: Tue, 05 Aug 2008

Re: Avast Antivirus and apache-tomcat-6.0.18.exe

2008-08-05 Thread Johnny Kewl
- Original Message - From: Mark Thomas [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Tuesday, August 05, 2008 11:09 PM Subject: Re: Avast Antivirus and apache-tomcat-6.0.18.exe Mark Thomas wrote: Ангелин Лалев wrote: Apparently the address is from Bulgarian

Parsing a URL to see if a param exists

2008-08-05 Thread David Wall
Is there an API call to parse an URL I have as a String so that I can determine if a given param exists? I know that when processing from Tomcat, I can do request.getParameterValues() for the URL of my servlet, but I'd like to know if the URL used to arrive at my page includes a given

Re: Parsing a URL to see if a param exists

2008-08-05 Thread Tommy Pham
--- On Tue, 8/5/08, David Wall [EMAIL PROTECTED] wrote: From: David Wall [EMAIL PROTECTED] Subject: Parsing a URL to see if a param exists To: Tomcat Users List users@tomcat.apache.org Date: Tuesday, August 5, 2008, 7:17 PM Is there an API call to parse an URL I have as a String so that I

Monitoring tomcat process

2008-08-05 Thread Fu-Tung Cheng
Hi, I was wondering what solutions people are using to monitor their tomcat processes. I've been having a look at the following: http://code.google.com/p/tomcat-monitor/wiki/TomcatMonitor Are there better scripts or alternatives for handling restarting the vm in the case of out of memory

RE: Monitoring tomcat process

2008-08-05 Thread Martin Gainty
'top' shows the most resource consumptive processeshttp://www.unixtop.org/ HTHMartin __ Disclaimer and confidentiality note Everything in this e-mail and any attachments relates to the official business of Sender. This transmission is of a

Re: Parsing a URL to see if a param exists

2008-08-05 Thread David Wall
http://java.sun.com/docs/books/tutorial/networking/urls/urlInfo.html It breaks down every component of the url (protocol, domain name, etc). Is that what you're looking for? Not really since I just need to process the query string portion to see if a given param exists or not. I'm

Re: Parsing a URL to see if a param exists

2008-08-05 Thread Tommy Pham
--- On Tue, 8/5/08, David Wall [EMAIL PROTECTED] wrote: From: David Wall [EMAIL PROTECTED] Subject: Re: Parsing a URL to see if a param exists To: Tomcat Users List users@tomcat.apache.org Date: Tuesday, August 5, 2008, 7:50 PM

Re: Avast Antivirus and apache-tomcat-6.0.18.exe

2008-08-05 Thread Len Popp
2008/8/5 Johnny Kewl [EMAIL PROTECTED]: - Original Message - From: Mark Thomas [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Tuesday, August 05, 2008 11:09 PM Subject: Re: Avast Antivirus and apache-tomcat-6.0.18.exe Mark Thomas wrote: Ангелин Лалев wrote:

Re: Parsing a URL to see if a param exists

2008-08-05 Thread David Wall
if ( pos 0 ) url = url.substring(pos); Found a bug in that this should be pos+1 to remove the ?. if ( paramAndValue[0].equals(paramName) ) return true; We're also doing a URLDecoder.decode on the paramAndValue[0] in case the param

RE: Setting up Comet on Tomcat 6

2008-08-05 Thread Talal Rabaa
I appreciate your feedback, it led me to the problem. My environment was setup using an invoker servlet. It didn't occur to me to explicitly map the Comet servlet. Once I made the entry in web.xml I was able to see the results you provided. Cheers! Anthony -Original Message-

Re: Tomcat 6 Cluster Woes

2008-08-05 Thread Filip Hanik - Dev Lists
have you by any chance deployed your apps in Host elements with a different name? Filip Zachariah Zachariah wrote: Hi, I am trying to set up a cluster of tomcat servers to serve up my dynamic content with session replication. Although failover seems to be working with each node aware of

Permission Denied

2008-08-05 Thread Charles Lim
Hi, I got the error shown below when i run startup.bat. Seems to have 2 main error here: 1. Tomcat not able to find the library that allows optimal performance in production environment. 2. There is a Permission Denied while trying to initialize endpoint. Currently using: Microsoft Vista

Setting CATALINA_BASE failed with tomcat-6.0.18

2008-08-05 Thread Zemian Deng
Hello list, When I try the following it works with tomcat-6.0.14, but failed on tomcat-6.0.18 $ mkdir -p /tmp/mybase/conf $ cp /opt/apache-tomcat-6.0.18/conf/server.xml /tmp/mybase/conf $ export CATALINA_BASE=/tmp/mybase $ /opt/apache-tomcat-6.0.18/bin/catalina.sh run Using CATALINA_BASE:

How to stop getting emails from Tomcat in my inbox but to remain subscribed

2008-08-05 Thread suman
Hi, I get lots of emails from tomcat-apace mailing list and it's difficult to live with them. I preferred a digest version everday/perweek. Is it possible to stop getting emails but to remain subscribed in tomcat-apache mailing list? Thank you. -suman

tomcat as a proxy via a proxy

2008-08-05 Thread Steve Cameron
Hello I want to make use of a proxy jsp that takes a POST request and sends it on another server, receives the request and passes it back to the browser. The jsp is making use of the org.apache.commons.httpclient.HttpClient class. However my Tomcat instance cannot retrieve the request from the

Re: Re: Avast Antivirus and apache-tomcat-6.0.18.exe

2008-08-05 Thread Ангелин Лалев
Thanks for the fast replies! I'm going to proceed with installation. Maybe Avast guys should be notified, but that must be done from someone regular with the project. Оригинално писмо От: Len Popp Относно: Re: Avast Antivirus and apache-tomcat-6.0.18.exe До: Tomcat

Tomcat 6.0.18 startup Permission Denied Error:listen failed initializing endpoint

2008-08-05 Thread Charles Lim
Hi, (reposted to provide more meaningful subject) I got the error shown below when i run startup.bat. Seems to have 2 main error here: 1. Tomcat not able to find the library that allows optimal performance in production environment. 2. There is a Permission Denied while trying to initialize