Re: issues starting Tomcat 6.0.18 when CATALINA_BASE does not match CATALINA_HOME

2008-08-06 Thread Rainer Jung
Mark Thomas schrieb: [EMAIL PROTECTED] wrote: And thats it. I have confirmed tomcat starts just fine when BASE matches HOME. I experimented with copying catalina.sh from 6.0.16 into 6.0.18's bin directory, and the server then starts as expected. However, I can't seem to find what in

Re: Setting CATALINA_BASE failed with tomcat-6.0.18

2008-08-06 Thread Rainer Jung
See also http://marc.info/?t=12180313421r=1w=2 Regards, Rainer Zemian Deng schrieb: Hi Mark, I am away from a computer now. But the steps I gave to reproduce out of default download is only 4 steps!!! You can't see error using that? I guess I can check the log for the stacktrace later.

Re: Refresh the cache

2008-08-06 Thread David Smith
Mark Thomas wrote: David Smith wrote: Could you provide some better detail regarding what you mean? Tomcat itself does not have a cache in any of it's versions. Not strictly true. Static resources are cached (for a few seconds), classes are cached in the classloader, expressions are cached

Tomcat 6 classpath issue

2008-08-06 Thread wskent
I have the following jars in my web projects \web\WEB-INF\lib dirdectory - log4j-1.2.13.jar, mysql-connector-java-5.0.5.jar, servlet-api-2.4.jar, standard-1.1.2.jar When I retrieve the classpath using - String classPath = System.getProperty(java.class.path,.);

RE: Refresh the cache

2008-08-06 Thread Gordon, Jack
We were told by our vendor to clear the cache. That may not be the right term, but the process that they have us do is to remove the folders from the following directory: D:\Tomcat 4.1\work\Standalone\localhost -Original Message- From: David Smith [mailto:[EMAIL PROTECTED] Sent:

SEVERE: Error listenerStart -- without entering the listener

2008-08-06 Thread Ken Bowen
Hi all, Using: Mac OS X 10.4.5 running Tomcat 5.5.26 -- this is a brand-new copy downloaded from Apache unzipped; no changes. This project used to work; I'm trying to figure out what got broken. Symptom: listenerStart fails without even getting to the first line of the AppListener

Re: Refresh the cache

2008-08-06 Thread Mark Thomas
Gordon, Jack wrote: We were told by our vendor to clear the cache. That may not be the right term, but the process that they have us do is to remove the folders from the following directory: D:\Tomcat 4.1\work\Standalone\localhost OK - you can't do that without stopping Tomcat. Mark

Re: Tomcat 6 classpath issue

2008-08-06 Thread Mark Thomas
wskent wrote: I have the following jars in my web projects \web\WEB-INF\lib dirdectory - log4j-1.2.13.jar, mysql-connector-java-5.0.5.jar, servlet-api-2.4.jar, standard-1.1.2.jar When I retrieve the classpath using - String classPath = System.getProperty(java.class.path,.);

Re: Tomcat 6 classpath issue

2008-08-06 Thread Steve Ochani
Date sent: Wed, 06 Aug 2008 08:36:48 -0700 (PDT) From: wskent [EMAIL PROTECTED] Subject:Tomcat 6 classpath issue To: users@tomcat.apache.org Send reply to: Tomcat Users List users@tomcat.apache.org I have the following

Re: SEVERE: Error listenerStart -- without entering the listener

2008-08-06 Thread David Smith
Each listener should be in it's own listener ... /listener element block. Don't try to put all three in one. --David Ken Bowen wrote: Hi all, Using: Mac OS X 10.4.5 running Tomcat 5.5.26 -- this is a brand-new copy downloaded from Apache unzipped; no changes. This project used to work;

CHKJ4014W Warning

2008-08-06 Thread Bell, Geoffrey T.
I'm getting a warning that I can't seem to find an answer for. The Eclipse console is stating: Severity and Description: CHKJ4014W: Empty Entry of Type Parameter Name. Path: emtk-air/src/main/webapp/WEB-INF Resource: web.xml Location: [EMAIL PROTECTED] e (paramName:

Re: Parsing a URL to see if a param exists

2008-08-06 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David, You could use HttpUtils.parseQueryString, but the entire class is deprecated. I like your home made parser below, with a couple of tweaks: David Wall wrote: | Not really since I just need to process the query string portion to see | if a

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

2008-08-06 Thread Maduranga Kannangara
Peter and all, Earlier was from my MAC. This thread dump is from RedHat (production server). Your help is much appreciated. Attaching to process ID 12649, please wait... Debugger attached successfully. Client compiler detected. JVM version is 1.5.0_09-b01 Thread 12649: (state = BLOCKED)

RE: CHKJ4014W Warning

2008-08-06 Thread Martin Gainty
Hi Geoff- masking out the propietary vits can you supply your web.xml ? 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

[NOT-FIXED]SEVERE: Error listenerStart -- without entering the listener

2008-08-06 Thread Ken Bowen
Ok, I fixed that (see below), but that does seem to change the problem at all. The catalina.out trace is the same. Current web.xml: web-app listener listener-classcom.connectedtrading.listener.AppListener/ listener-class /listener listener

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

2008-08-06 Thread Peter Crowther
From: Maduranga Kannangara [mailto:[EMAIL PROTECTED] Below is my dump and thanks a lot for your time. [...] Thread [EMAIL PROTECTED]: (state = BLOCKED) - java.lang.Thread.sleep(long) @bci=0 (Interpreted frame) - org.quartz.core.QuartzSchedulerThread.run() @bci=870, line=420 (Interpreted

RE: CHKJ4014W Warning

2008-08-06 Thread Bell, Geoffrey T.
Sure, here it is: ?xml version=1.0 encoding=UTF-8? !DOCTYPE web-app PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.3//EN http://java.sun.com/dtd/web-app_2_3.dtd; web-app display-nameemtk-air/display-name descriptionLiveCycle Data Services Application/description

Re: Parsing a URL to see if a param exists

2008-08-06 Thread David Wall
Thanks for the code idea. I like what you wrote. If there's no '?' in the URL, then you can return false right away, right? Indeed! public boolean isParamInUrl(String url, String paramName) { ~ return url.contains('?' + paramName + '=') ~ || url.contains('' + paramName + '='); }

Re: Parsing a URL to see if a param exists

2008-08-06 Thread Johnny Kewl
- Original Message - From: David Wall [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Wednesday, August 06, 2008 1:17 AM Subject: Parsing a URL to see if a param exists Is there an API call to parse an URL I have as a String so that I can determine if a given

Re: [NOT-FIXED]SEVERE: Error listenerStart -- without entering the listener

2008-08-06 Thread Mark Thomas
Ken Bowen wrote: Ok, I fixed that (see below), but that does seem to change the problem at all. The catalina.out trace is the same. Have a look at the files in the logs directory. One of them should have more information (like the stacktrace from the failed listener). Mark

j_security_check

2008-08-06 Thread Carlos Morales
Hello all, I'm having problems with j_security_check because when I try to log in my login.jsp it doesn't work and I don't know why. Here is my web.xml : ?xml version=1.0 encoding=UTF-8? web-app xmlns=http://java.sun.com/xml/ns/j2ee; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;

Re: Parsing a URL to see if a param exists

2008-08-06 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Johnny, Johnny Kewl wrote: | Dave this is how I do it... | |Enumeration paramNames = request.getParameterNames(); Go back and read the OP: he says that he's got a String and he wants to treat it as a URL and check for parameters. He's

Re: How to programmatically add parameters to ServletRequest objects?

2008-08-06 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jonathan, Jonathan Mast wrote: | I can't figure out how to use the pageContext.forward() method like it's | equivalent script element: Do you mean that you want to add parameters to a forwarded URL without using JSP? | How do I pass the name-value

Re: j_security_check

2008-08-06 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Carlos, Carlos Morales wrote: | I'm having problems with j_security_check because when I try to log | in my login.jsp it doesn't work and I don't know why. Care to elaborate? - -chris -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (MingW32)

Re: Setting CATALINA_BASE failed with tomcat-6.0.18

2008-08-06 Thread Zemian Deng
Hum... so it is a confirmed bug then. I don't see a ticket open on those threads. Should I create one? On Wed, Aug 6, 2008 at 11:14 AM, Rainer Jung [EMAIL PROTECTED]wrote: See also http://marc.info/?t=12180313421r=1w=2 Regards, Rainer Zemian Deng schrieb: Hi Mark, I am away from

Re: Monitoring tomcat process

2008-08-06 Thread Johnny Kewl
- Original Message - From: Fu-Tung Cheng [EMAIL PROTECTED] To: tomcat-u users@tomcat.apache.org Sent: Wednesday, August 06, 2008 12:50 AM Subject: Monitoring tomcat process Hi, I was wondering what solutions people are using to monitor their tomcat processes. I've been having a

RE: CHKJ4014W Warning

2008-08-06 Thread Martin Gainty
Geoff- did you verify security-context.xml contains the required context attributes and is located on classpath e.g.? security login-command class=com.gdais.security.AcegiLoginCommand server=Tomcat/ security-constraint id=basic-read-access auth-methodBasic/auth-method roles

RE: CHKJ4014W Warning

2008-08-06 Thread Bell, Geoffrey T.
Yes, it appears to be valid XML. I checked it with 3 validation services online. ~ Geoff ~ -Original Message- From: David Smith [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 06, 2008 10:22 AM To: Tomcat Users List Subject: Re: CHKJ4014W Warning Does your web.xml pass a xml

Re: Monitoring tomcat process

2008-08-06 Thread Johnny Kewl
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: j_security_check

2008-08-06 Thread Carlos Morales
I have my login and password to access onto my web which I try to go after authenticate my login and password in a form called login.jsp where I use the j_security_check, well when I press logon, it doesn't work. It stays in the same page login.jsp but I use my password and login well and I

Re: How to programmatically add parameters to ServletRequest objects?

2008-08-06 Thread Jonathan Mast
| This is really the only way to do it. The other option is to create a | new request object and stuff your own parameters into it (or, better | yet, wrap the original request and add your parameters only to the wrapper). How would I do this? This is basically what Jakarta Commons HTTPClient

Re: j_security_check

2008-08-06 Thread Carlos Morales
In my conf folder inside of my Tomcat directory in my server.xml I have this: Context path=./Capitulo19_1 docBase=Capitulo19_1 debug=0 reloadable=true    Realm className=org.apache.catalina.realm.JDBCRealm debug=99    driverName=org.gjt.mm.mysql.Driver   

Re: [NOT-FIXED]SEVERE: Error listenerStart -- without entering the listener

2008-08-06 Thread Ken Bowen
That's what's frustrating. I'm using a new Tomcat unzip with simple JULI logging, so the files of interest are catalina.out and catalina.2008-08-06.log, which are essentially identical. Normally when a listener class fails, the trace is shown in catalina.out, before/after the Error

Re: j_security_check

2008-08-06 Thread Fu-Tung Cheng
I suggest you start with a working example and modify it once you have it working. You might also provide the following information if you expect help. In general though I think you should have a read of the following: http://www.catb.org/~esr/faqs/smart-questions.html What realm do you

RE: CHKJ4014W Warning

2008-08-06 Thread Bell, Geoffrey T.
Wierd. I checked all of your points and they seemed fine. I 'cleaned' my project, and the warning went away. I know I did that before Thanks for the help. ~ Geoff ~ -Original Message- From: Martin Gainty [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 06, 2008 10:38 AM To:

Acceptable values for SSLProtocol parameter for HTTPS connector in Tomcat5.5

2008-08-06 Thread sharanabasavaraj . x . mudgal
Hi!, Could someone please tell the acceptable values for sslprotocol parameter for the HTTP Connector. The default is set to TLS1.0. However, I wanted to know if it could be set to both TLS1.0 and SSLv3. The How-to document lists only two of the values SSL and TLS1.0 and does not

Re: [NOT-FIXED]SEVERE: Error listenerStart -- without entering the listener

2008-08-06 Thread Mark Thomas
Ken Bowen wrote: That's what's frustrating. I'm using a new Tomcat unzip with simple JULI logging So what is the log4j message doing in this trace? Mark - To start a new topic, e-mail: users@tomcat.apache.org To

RE: CHKJ4014W Warning

2008-08-06 Thread Martin Gainty
good pointcleaning your work folders! 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 Sender does not

Re: Tomcat 6 classpath issue

2008-08-06 Thread wskent
I looked at the Tomcat HowTo, so what do I use in place of System.getProperty(java.class.path,.); Ageed on not including the 2.4 jar! -- View this message in context: http://www.nabble.com/Tomcat-6-classpath-issue-tp18853872p18856933.html Sent from the Tomcat - User mailing list archive at

rewrite.properties - AJP1.3 connector (isapi_redirect.dll) from IIS 6 to tomcat 5.5

2008-08-06 Thread Saltzman, Robert B (GE, Research)
I have installed tomcat 5.5.26 and JK 1.2.26 on a Windows 2003 Standard Server running IIS 6. isapi_redirect.properties, workers.properties, uriworkermap.properties, server.xml are all configured, and IIS to tomcat jvm AJP connection is working fine. However I need to do URL rewriting (may also

Re: How to programmatically add parameters to ServletRequest objects?

2008-08-06 Thread Warren Killian
Hi Jonathan, About ServletRequest and ServletResponse Interfaces not having a setParameter(name, value) method...depending on your situation, you may not need to do that. Are you forwarding to another URI within your web app? If so, you could use request/session.setAttribute( String name,

Re: rewrite.properties - AJP1.3 connector (isapi_redirect.dll) from IIS 6 to tomcat 5.5

2008-08-06 Thread Mladen Turk
Saltzman, Robert B (GE, Research) wrote: I have installed tomcat 5.5.26 and JK 1.2.26 on a Windows 2003 Standard Server running IIS 6. isapi_redirect.properties, workers.properties, uriworkermap.properties, server.xml are all configured, and IIS to tomcat jvm AJP connection is working fine.

Re: How to programmatically add parameters to ServletRequest objects?

2008-08-06 Thread Tim Funk
I suggest you look at ServletRequest.setAttribute() In programming Servlets - you can work with parameters which are the fun little things which come off the query string or via the POST body. These items should be thought readonly - and only set/sent from the HttpClient (aka - the web

[??-FIXED: Yes, but]SEVERE: Error listenerStart -- without entering the listener

2008-08-06 Thread Ken Bowen
Mark, Somewhat odd. I've been slowly reworking the app (significant rebuilding) for a couple of months, and have routinely been seeing that log4j complaint, although everything was working ok -- so of course I wasn't even seeing the complaint anymore, expecting that everything would clean

Re: Would like to monitor memory use offline

2008-08-06 Thread Richard S. Huntrods
To Ben Mark, Thanks for the replies. I've been trying various things based on your suggestions. I find my best tool at the moment is Lambda Probe - though it hasn't been updated in a while, it does show me all the things (for the most part) that I wanted to watch. There's definitely some

Re: Setting CATALINA_BASE failed with tomcat-6.0.18

2008-08-06 Thread Rainer Jung
Are we sure, that you experience the same problem? In other words, is CATALINA_HOME/conf/logging.properties missing in your setup and does the suggested workaround to catalina.sh solve the problem for you? Regards, Rainer Zemian Deng schrieb: Hum... so it is a confirmed bug then. I don't see a

Re: Setting CATALINA_BASE failed with tomcat-6.0.18

2008-08-06 Thread Zemian Deng
am I sure? I think it is. Well, I gave explicit 4 little instructions to repeat exactly what I found. I read your post and by simply touch/create a empty file under $CATALINA_BASE/conf/logging.properties and that indeed fixed the problem and server starts up fine. So call it same problem or

Re: Tomcat 6 classpath issue

2008-08-06 Thread Steve Ochani
Date sent: Wed, 06 Aug 2008 11:25:23 -0700 (PDT) From: wskent [EMAIL PROTECTED] Subject:Re: Tomcat 6 classpath issue To: users@tomcat.apache.org Send reply to: Tomcat Users List users@tomcat.apache.org I looked at the

Tomcat cluster (NullPointer when replicating session)

2008-08-06 Thread Lia
Hi everybody, I am using - Tomcat 6.0.18 ( but I've also tested the same scenario with Tomcat 6.0.16 and Tomcat 6.0.14 and I got the same problem); - in cluster ( two machines); - on Debian x64, 4.0. When using DeltaManager (with or without sticky sessions) the cluster works fine, but for some

RE: Need source code of Tomcat 5.5.20's dbcp

2008-08-06 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

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

2008-08-06 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

Re: Tomcat 6.0.18 startup Permission Denied Error:listen failed initializing endpoint

2008-08-06 Thread Mladen Turk
Charles Lim wrote: 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. This not an error. It's an [info] that you

Re: Tomcat 6.0.18 startup Permission Denied Error:listen failed initializing endpoint

2008-08-06 Thread Charles Lim
Below is the result after running netstat...both port 8080 and 8383 do not seem to be used. C:\Programs2\apache-tomcat-6.0.18\binnetstat -ab -p tcp Active Connections Proto Local Address Foreign AddressState TCP0.0.0.0:135Charles-PC:0 LISTENING

Re: Tomcat 6.0.18 startup Permission Denied Error:listen failed initializing endpoint

2008-08-06 Thread Mladen Turk
Charles Lim wrote: Below is the result after running netstat...both port 8080 and 8383 do not seem to be used. C:\Programs2\apache-tomcat-6.0.18\binnetstat -ab -p tcp Active Connections Seems the ports are not used. So you should try some simple program Download openssl.exe from

Re: Setting CATALINA_BASE failed with tomcat-6.0.18

2008-08-06 Thread Mark Thomas
Zemian Deng wrote: 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

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

2008-08-06 Thread Mark Thomas
suman wrote: 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? Subscribe to the digest list.

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

2008-08-06 Thread Mark Thomas
firtzel wrote: Trying to get things rolling here... does anyone have an answer to this one? This is open source so if you want to know how things work you do always have the option of looking at the source yourself. The file you want (for 5.5.x0 is:

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

2008-08-06 Thread Maduranga Kannangara
Hi, A friend of mine said it was not due to ActiveMQ that Tomcat does not shutdown properly, however I added a kill command to shutdown.sh script which is NOT good at all, I understand. In MAC (10.5) kill -3 seems working, but its a blind path which gets me nowhere. I do not get a trace of the

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

2008-08-06 Thread Mark Thomas
Len Popp wrote: I agree that a false positive from Avast shouldn't be ignored, but I think the correct solution is for someone @apache.org to contact Avast and ask them to either explain what the problem is or remove Tomcat from their virus definitions. Done. Waiting for their response...

Re: Tomcat 6.0.18 startup Permission Denied Error:listen failed initializing endpoint

2008-08-06 Thread Charles Lim
I try to run, but it says -nocert and -accept commands are invalid: C:\Downloads\test programopenssl -nocert -accept 8080 openssl:Error: '-nocert' is an invalid command. Standard commands asn1parse ca cipherscrlcrl2pkcs7 dgst dh dhparam

Re: Tomcat 6.0.18 startup Permission Denied Error:listen failed initializing endpoint

2008-08-06 Thread Mladen Turk
Charles Lim wrote: I try to run, but it says -nocert and -accept commands are invalid: C:\Downloads\test programopenssl -nocert -accept 8080 openssl:Error: '-nocert' is an invalid command. Sorry, its openssl s_server -nocert -accept 8080 Regards -- ^(TM)

Re: Tomcat 6.0.18 startup Permission Denied Error:listen failed initializing endpoint

2008-08-06 Thread Charles Lim
Below is the result. Seems like the port is ok. C:\Users\Charles\Downloads\java\apacheopenssl s_server -nocert -accept 8080 Loading 'screen' into random state - done Using default temp DH parameters Using default temp ECDH parameters ACCEPT On Wed, Aug 6, 2008 at 5:54 PM, Mladen Turk [EMAIL

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

2008-08-06 Thread Peter Crowther
From: Maduranga Kannangara [mailto:[EMAIL PROTECTED] What I need simply is a clean shutdown on Tomcat :-) Yes. In order to *get* that clean shutdown, you need to find out what's preventing it :-). One common problem is that something in your webapp has created a thread and not marked it as

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

2008-08-06 Thread Johnny Kewl
- Original Message - From: Len Popp [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Wednesday, August 06, 2008 2:09 AM Subject: Re: Avast Antivirus and apache-tomcat-6.0.18.exe 2008/8/5 Johnny Kewl [EMAIL PROTECTED]: - Original Message - From: Mark

Re: tomcat as a proxy via a proxy

2008-08-06 Thread Tim Funk
IIRC, HttpClient has its own configuration for setting the proxy. http://hc.apache.org/httpclient-3.x/apidocs/org/apache/commons/httpclient/HostConfiguration.html

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

2008-08-06 Thread Tim Funk
There is no real limitation (except for memory) You might be out of permgen space. Try: JAVA_OPTS=-XX:MaxPermSize=128m -Tim Tomcat User6 wrote: 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.

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

2008-08-06 Thread Johnny Kewl
- Original Message - From: Ангелин Лалев [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Wednesday, August 06, 2008 7:01 AM Subject: Re: Re: Avast Antivirus and apache-tomcat-6.0.18.exe Thanks for the fast replies! I'm going to proceed with installation. Maybe

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

2008-08-06 Thread Maduranga Kannangara
Thanks a lot Peter! I got a thread dump using jstack 704 (PID was 704) I think I need a little more of your help to find out where exactly going wrong. Below is my dump and thanks a lot for your time. MadurangaMAC:bin Maduranga$ jstack 704 Attaching to process ID 704, please wait... Debugger

cant run servlets

2008-08-06 Thread Swechha Rao
Hi, I have just downloaded apache tomcat 6.0.18.zip. I have unzipped it and given the classpath for servlet-api and jsp-api. I can run the example servlet and jsp pages. I created a new folder with servlets and jsp in it and placed it in the webapps folder. But I cannot run the servlet

Re: List remote files in Servlet

2008-08-06 Thread André Warnier
Nathan Thatcher wrote: Turns out that was the issue. I set tomcat to run as a local user and now it works. Thanks for the help. Tomcat is running on a windows machine under the SYSTEM account so I assume that it has the permissions. Is there a way to check if this is the problem? Under

Re: cant run servlets

2008-08-06 Thread Mikolaj Rydzewski
Swechha Rao wrote: Please provide me a solution for this. http://tomcat.apache.org/tomcat-6.0-doc/appdev/ -- Mikolaj Rydzewski [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe,

RE: Permission Denied

2008-08-06 Thread Martin Gainty
download and install tcnative libraries http://tomcat.apache.org/native-doc HTH 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

Re: cant run servlets

2008-08-06 Thread Warren Killian
Hi Swechha, I don't exactly know of a solution to your problem. I'd need more information. But I think that you do not have to set an explicit $CLASSPATH to include the servlet-api and jsp-api jar files. Tomcat automatically includes the jars in [Tomcat]/common/lib without you needing to

Re: Setting CATALINA_BASE failed with tomcat-6.0.18

2008-08-06 Thread Zemian Deng
Hi Mark, I am away from a computer now. But the steps I gave to reproduce out of default download is only 4 steps!!! You can't see error using that? I guess I can check the log for the stacktrace later. The error on console did not give more than what I paste. And since the errror seems like it

Refresh the cache

2008-08-06 Thread Gordon, Jack
Is there a way to refresh the cache without stopping the service? Jack W. Gordon Jr Server Administrator Information Technology Oklahoma State University Stillwater, Oklahoma 74078 405-744-4540

issues starting Tomcat 6.0.18 when CATALINA_BASE does not match CATALINA_HOME

2008-08-06 Thread AFaller
Hi All - I have a very basic tomcat setup that generally worked right out of the box. To make upgrades simplier, I move my webapps and conf files out of CATALINE_BASE and specifically set my own CATALINA_HOME env variable. In the past, to upgrade tomcat, I simply changed my CATALINA_HOME

Upgrade

2008-08-06 Thread Ed Abukhdeir
How to upgrade from tomcat 5.5 to tomcat 6.0 and keep existing configuration? Thanks The information transmitted is intended only for the person(s) or entity to which it is addressed and may contain confidential and

Re: cant run servlets

2008-08-06 Thread T . K . Thiyagarajan
what about web.xml file? have u entered ur 'servlet' and 'servlet mapping' properly? check that. On Wed, Aug 6, 2008 at 4:39 PM, Swechha Rao [EMAIL PROTECTED] wrote: Hi, I have just downloaded apache tomcat 6.0.18.zip. I have unzipped it and given the classpath for servlet-api and

Re: Refresh the cache

2008-08-06 Thread Mark Thomas
Gordon, Jack wrote: Is there a way to refresh the cache without stopping the service? What cache? Mark - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: issues starting Tomcat 6.0.18 when CATALINA_BASE does not match CATALINA_HOME

2008-08-06 Thread Mark Thomas
[EMAIL PROTECTED] wrote: And thats it. I have confirmed tomcat starts just fine when BASE matches HOME. I experimented with copying catalina.sh from 6.0.16 into 6.0.18's bin directory, and the server then starts as expected. However, I can't seem to find what in catalina.sh is causing

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

2008-08-06 Thread Tomcat User6
It should not be an struts error, as this error appears like a whack-a-mole in all sites. All sites are built on same Framework. Sometime the particular site works fine but after restarting a tomcat instance the same site which was working fine, starts giving an error and other sites which has

Re: Refresh the cache

2008-08-06 Thread David Smith
Could you provide some better detail regarding what you mean? Tomcat itself does not have a cache in any of it's versions. --David Gordon, Jack wrote: Is there a way to refresh the cache without stopping the service? Jack W. Gordon Jr Server Administrator Information Technology Oklahoma

Re: Refresh the cache

2008-08-06 Thread Mark Thomas
David Smith wrote: Could you provide some better detail regarding what you mean? Tomcat itself does not have a cache in any of it's versions. Not strictly true. Static resources are cached (for a few seconds), classes are cached in the classloader, expressions are cached in Jasper, etc.

Re: tomcat security and window open js

2008-08-06 Thread daniel steel
All,    i found some interesting results by changing role defined under security-constraint. if we defined tomcat as the role-name, then window.open fails but if i change the role-name to manager, window.open works. why?   security-constraint   auth-constraint            

Re: tomcat security and window open js

2008-08-06 Thread Mark Thomas
daniel steel wrote: All, i found some interesting results by changing role defined under security-constraint. if we defined tomcat as the role-name, then window.open fails but if i change the role-name to manager, window.open works. why? Get yourself a copy of ieHttpHeaders and see what is