Re: tomcat-users.xml user and role elements?

2008-08-05 Thread firtzel
Trying to get things rolling here... does anyone have an answer to this one? Thanks again, Ophir firtzel wrote: > > Hi, > > I looked at several tomcat configurations, and found that there are a > couple of things that do not "agree" with Tomcat's documentation (this is > taken from http://to

RE: Need source code of Tomcat 5.5.20's dbcp

2008-08-05 Thread Mamta, Jain
Thanks a million to Mark for the instant response. -Original Message- From: Mark Thomas [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 05, 2008 2:26 PM To: Tomcat Users List Subject: Re: Need source code of Tomcat 5.5.20's dbcp Mamta, Jain wrote: > The Tomcat 5.5.20 source does not prov

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 endpoin

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 >До: "Tomc

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

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

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

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 jdk1.6.0_

Re: Tomcat 6 Cluster Woes

2008-08-05 Thread Filip Hanik - Dev Lists
have you by any chance deployed your apps in 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 the oth

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

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: 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" > 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 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" > Date: Tuesday, August 5, 2008, 7:50 PM > > > http://java.sun.com/docs/books/tutorial/networking/urls/urlInfo.html > >

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 usin

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 confidential

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 er

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" > 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 can > deter

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 paramete

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" 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 mirror, where I am

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

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 c

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 >

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 > I am experiencing a little problem w

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

#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: com/opensymphony/xwork

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 h

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 with

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, e-m

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 T

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 Se

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 file

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

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 PROT

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 ma

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 [mailto:[EMAIL

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 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, > s

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

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: 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: users@tomcat

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: 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: Sample /* your-role BASIC Sample The role that is required to log in to the Manager Application your-role

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

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

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

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

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 prelim

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: 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 this. I found a lot of

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 mo

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

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 t

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

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 the

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

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 of

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 cl