Tomcat 5.5: How to dump incoming, unprocessed HTTP requests?

2008-03-12 Thread MK
Hi tomcat users, I was wondering whether it's possible to advise Tomcat to dump any incoming HTTP requests while preserving their original plain text nature? I tried hard to find something like this, but I only stumbled upon the RequestDumperValve, which unfortunately only has access to a request

RE: apache 2.2.4 installation problem

2008-03-12 Thread Peter Crowther
From: cool gak [mailto:[EMAIL PROTECTED] tell me how to install apache on windows vista home premium? which is the suitable version for windows vista home premium?? This is the Apache Tomcat list, which is not Apache httpd. Please ask your question on an Apache httpd list. -

Re: Problem showing german characters

2008-03-12 Thread Mark Thomas
Stasa Jerinic wrote: Are the settings wrong, so that the customer cann't see correct the special german characters or is there somer other trouble? http://wiki.apache.org/tomcat/FAQ/CharacterEncoding Mark - To start a new

Re: Tomcat 5.5: How to dump incoming, unprocessed HTTP requests?

2008-03-12 Thread MK
Actually, I found a solution, but it is specific to WinHTTP: http://msdn2.microsoft.com/en-us/library/aa384119(VS.85).aspx It worked perfectly for me, and I found the error I was hunting down for 2 hours... So in this regard, I'm fine now. But still, I am curious whether there is a server-side

Re: Tomcat 5.5: How to dump incoming, unprocessed HTTP requests?

2008-03-12 Thread Mark Thomas
MK wrote: Hi tomcat users, I was wondering whether it's possible to advise Tomcat to dump any incoming HTTP requests while preserving their original plain text nature? I tried hard to find something like this, but I only stumbled upon the RequestDumperValve, which unfortunately only has access

Re: The troubles with tribes

2008-03-12 Thread Tom van Wietmarschen
Filip Hanik - Dev Lists wrote: The biggest issue I have is that I keep getting memberAdded/memberDisappeared events from the same member. I've made a small test app (based on the example on the Tribes introduction page) that I run on a client PC and a similar implementation that I start from a

Re: Tomcat session replication problem

2008-03-12 Thread Vreixo Formoso
Hi! O Mar, 11-03-2008 ás 22:32 -0600, Filip Hanik - Dev Lists escribiu: for it to work you would need to have channelSendOptions=6, No, it doesn't work too. I've already tried with it... With synchronous session replication server response is a bit slower (but too much...) but I have the same

Exclusion not working

2008-03-12 Thread Karim Zaki
Hello all, I'm seeing some very odd behavior with isapi_redirect on IIS. I'm running version 1.2.19. My uriworkermap.properties file is as follows: /*.jsp=loadbalancer /*.do=loadbalancer /*.xml=loadbalancer /healthcheck.txt=xitx001 /vgn-ext-templating/*=loadbalancer /News/*=loadbalancer

Re: about Log pattern

2008-03-12 Thread C.F-Win in China F
no answer in tomcat docs: http://tomcat.apache.org/tomcat-6.0-doc/config/valve.html but I find result at org.apache.catalina.valves.AccessLogValve.java * libcombined/b - * code%h %l %u %t %r %s %b %{Referer}i %{User-Agent}i/code * /ul 2008/3/11, Mark Thomas [EMAIL PROTECTED]: C.F-Win

Re: Changing HTTP port from 8080 prevents HTTPS redirects, Tomcat 5.5

2008-03-12 Thread mikebgx
Many thanks for your reply, it pointed me in the right direction ie Acegi... Yes https still works, I can browse to https://localhost:8443/login.jsp but I notice when I browse to https://localhost:8443/menu.html its redirected to port 8080 even though I've changed HTTP port from 8080 to 8090 in

getting the socket level information

2008-03-12 Thread Martin Zdila
Hello Is it possible to get socket level information from the HTTP connection (HttpServletRequest or something)? I am implementing HTTP proxy as web application running under Tomcat and I need this to reuse proxy-server when the same keepalive client-proxy connection is used. Thanks in

RE: tomcat 6.0

2008-03-12 Thread David Cassidy
Chuck, Do you know if the admin app will ever re-appear as it was really quite nice. or is the only options to use lambda probe / jconsole ? Ta D On Tue, 2008-03-11 at 23:26 -0500, Caldarale, Charles R wrote: From: Weng Hon Wong [mailto:[EMAIL PROTECTED] Subject: tomcat 6.0 Does

Re: memoryrealm

2008-03-12 Thread David Cassidy
whats in your web.xml ? is your app forcing a login ? all the realm provides is a system to do authentication unless you are triggering it, it isn't used On Wed, 2008-03-12 at 10:36 +, Edward Quick wrote: Hi, I would like to specify my own tomcat-users.xml for my webapp to use

memoryrealm

2008-03-12 Thread Edward Quick
Hi, I would like to specify my own tomcat-users.xml for my webapp to use (not the server's main one in conf/tomcat-user.xml). I tried the following configuration in my webapp's context.xml file but unfortunately when I went to the URL, I wasn't even prompted for a logon: Context

RE: memoryrealm

2008-03-12 Thread Edward Quick
Thanks David, I had forgotten the web.xml as you suggested. I have now added this so my web.xml is as shown below, and I get the prompt but the userid I'm using 'test' (passwd: test) isn't going through. Hope this isn't a daft question, but do I need to add code to the servlet to get this to

RE: memoryrealm

2008-03-12 Thread David Cassidy
On your realm up the level of debug and let us know whats in the logs D On Wed, 2008-03-12 at 11:16 +, Edward Quick wrote: Thanks David, I had forgotten the web.xml as you suggested. I have now added this so my web.xml is as shown below, and I get the prompt but the userid I'm using

SSL question

2008-03-12 Thread Michael Bongiovi
I'm running Tomcat 5.5 as a servlet container under IIS so that I can run Jive forums on my web site. The forum is linked to from the main web page, which already has an SSL certificate. I'd like to be able to have the Jive login screen passed through SSL, but I'm not sure how to do it. Any

jsp calling a servlet (or at least that's the goal)

2008-03-12 Thread Kimberly Begley
Hi, I am stuck. I am running tomcat 5 and am trying to call a servlet from a jsp. My servlet class resides in WEB-INF/classes/packagename. My web.xml looks like this ?xml version=1.0 encoding=ISO-8859-1? web-app servlet servlet-nameUploadUnzipTest/servlet-name

RE: SSL question

2008-03-12 Thread Peter Crowther
From: Michael Bongiovi [mailto:[EMAIL PROTECTED] I'm running Tomcat 5.5 as a servlet container under IIS so that I can run Jive forums on my web site. The forum is linked to from the main web page, which already has an SSL certificate. I'd like to be able to have the Jive login screen

RE: SSL question

2008-03-12 Thread Michael Bongiovi
Unless I'm not understanding things correctly, setting up SSL on Tomcat would require getting another SSL certificate to be kept in the keystore for Tomcat, but I don't want to get another certificate since I already have one for main web site itself. I assume that means having to go with the

Re: tomcat 6.0

2008-03-12 Thread Mark Thomas
David Cassidy wrote: Chuck, Do you know if the admin app will ever re-appear as it was really quite nice. or is the only options to use lambda probe / jconsole ? Unless someone steps up to a) port it to 6.x and b) maintain it, no. In my view, any effort would be better spent making sure all

Re: SSL question

2008-03-12 Thread Mark Thomas
Michael Bongiovi wrote: Unless I'm not understanding things correctly, setting up SSL on Tomcat would require getting another SSL certificate to be kept in the keystore for Tomcat, but I don't want to get another certificate since I already have one for main web site itself. I assume that means

Re: jsp calling a servlet (or at least that's the goal)

2008-03-12 Thread Kimberly Begley
it's in CATALINA_HOME/webapps/test On Wed, Mar 12, 2008 at 10:14 PM, Mark Thomas [EMAIL PROTECTED] wrote: Kimberly Begley wrote: and my jsp form calls it like this: form action=/servlet/UploadUnzipTest enctype=multipart/form-data method=post What is the context path your app is deployed

Re: jsp calling a servlet (or at least that's the goal)

2008-03-12 Thread David Smith
Keep in mind it's the browser that calls the servlet, not really your jsp and the browser knows nothing of tomcat contexts. Your form ... tag should have an action of /test/servlet/UploadUnzipTest. In the jsp, you can compute this as form

Re: Changing HTTP port from 8080 prevents HTTPS redirects, Tomcat 5.5

2008-03-12 Thread Konstantin Kolinko
You should have asked this question at Spring Framework community support forum, http://forum.springframework.org/forumdisplay.php?f=33 Acegi Security is implemented as a filter, and its configuration is independent of Tomcat. I have not an example at hand, so the following is from the reference

RE: SSL question

2008-03-12 Thread Peter Crowther
From: Michael Bongiovi [mailto:[EMAIL PROTECTED] Unless I'm not understanding things correctly, setting up SSL on Tomcat would require getting another SSL certificate to be kept in the keystore for Tomcat, but I don't want to get another certificate since I already have one for main web

Re: jsp calling a servlet (or at least that's the goal)

2008-03-12 Thread Kimberly Begley
Oh thanks so much! That got rid of my 404 error - now I have a 405 to tackle though - glad to be done with the 404 though - I thought I had tried every combination but I guess not!! Thanks Kimberly On Wed, Mar 12, 2008 at 10:21 PM, David Smith [EMAIL PROTECTED] wrote: Keep in mind it's the

Re: Tomcat Server output console cannot view fully

2008-03-12 Thread tlgkumar
Stephen More wrote: On Wed, Feb 27, 2008 at 6:40 AM, tlgkumar tlgku.m wrote: using this i can create the project and got output nicely, but my problem is i cannot view the server output cosole printouts, in my project i am using lots of print statements, In general you should

STM

2008-03-12 Thread David Steinberg
Is there anyway to increase the 'maxInstances' value in the StandardWrapper from the current limit of 20? I have a short term issue with a STM servlet and need more than 20 instances. Regards Dave Steinberg Hello Currency +44 (0)7810 752 708 www.hellocurrency.com

Re: Inquiry

2008-03-12 Thread Martin Gainty
we could answer your inquiry if you can get someone to translate your request best regards Martin - Original Message - From: Weng Hon Wong [EMAIL PROTECTED] To: users@tomcat.apache.org Sent: Tuesday, March 11, 2008 11:20 PM Subject: Inquiry Hi, Can monit help to monitor and restart

RE: memoryrealm

2008-03-12 Thread Edward Quick
I don't know if this helps, but here's an extract from the log below. This gets created at deployment, but when I visit the URL, I don't get any output. Also I've determined now that the sample app is using conf/tomcat-users.xml and not my own /tmp/tomcatusers.xml file as I get a 403 returned

Re: STM

2008-03-12 Thread mgainty
do you mean maxThreads=150 on the connector in server.xml? could you clarify maxInstances parameter Regards Martin- - Original Message - Wrom: GMEPYOQKEDOTWFAOBUZXUWLSZLKBRNVWWCUFPEGAUTFJMVRE To: users@tomcat.apache.org Sent: Wednesday, March 12, 2008 7:43 AM Subject: STM Is there

Re: tomcat-users.xml

2008-03-12 Thread Mark H. Wood
On Tue, Mar 11, 2008 at 06:37:03PM +, Mark Thomas wrote: Tomcat re-writes the file. Any comments are lost. Real users, groups etc will be kept. Since the question came up, would someone please tell me *why* Tomcat does such a strange thing? -- Mark H. Wood, Lead System Programmer

How Do We Subscribe From This Mailing List

2008-03-12 Thread Alvi, Asif
I am just wondering if anyone ever got his/her email address removed from this mailing list? If yes, please let me know how. I have done my best over the past 2 weeks and about 2 dozens attempts to unsubscribe myself, but nothing works. I also sent 4 emails to the list's administrator, but even

Re: How Do We Subscribe From This Mailing List

2008-03-12 Thread Mark Thomas
Alvi, Asif wrote: I am just wondering if anyone ever got his/her email address removed from this mailing list? If yes, please let me know how. I have done my best over the past 2 weeks and about 2 dozens attempts to unsubscribe myself, but nothing works. I also sent 4 emails to the list's

Re: The troubles with tribes

2008-03-12 Thread Filip Hanik - Dev Lists
Tom van Wietmarschen wrote: Tom van Wietmarschen wrote: Filip Hanik - Dev Lists wrote: The biggest issue I have is that I keep getting memberAdded/memberDisappeared events from the same member. I've made a small test app (based on the example on the Tribes introduction page) that I run on a

Re: tomcat-users.xml

2008-03-12 Thread Mark Thomas
Mark H. Wood wrote: On Tue, Mar 11, 2008 at 06:37:03PM +, Mark Thomas wrote: Tomcat re-writes the file. Any comments are lost. Real users, groups etc will be kept. Since the question came up, would someone please tell me *why* Tomcat does such a strange thing? Because you can use jmx

RE: STM

2008-03-12 Thread David Steinberg
Martin, No this does not have anything to do with threads. The StandardWrapper object is limiting STM servlets to a maximum of 20 instances. I would just like to know if I can set this higher through configuration. Regards Dave Steinberg Hello Currency +44 (0)7810 752 708 www.hellocurrency.com

Multi domain certificate with keytool

2008-03-12 Thread Some user
Dear Tomcat wizards, I need a signed multi domain certificate for Tomcat (x.example.com, y.example.com, z.example.com). I do have a signed certificate but can't import this in the keystore with the keytool command as I generated the request with OpenSSL and now keytool complains that the keys

Re: STM

2008-03-12 Thread Martin Gainty
when you set maxInstances with the setMaxInstances method setMaxInstances(int maxInstances) http://www.jdocs.com/tomcat/5.5.17/org/apache/catalina/core/StandardWrapper. html ? Martin- - Original Message - From: David Steinberg [EMAIL PROTECTED] To: Tomcat Users List

Re: alternative tag pool implementation

2008-03-12 Thread Daniel Doubleday
Try this in your web.xml: servlet servlet-namejsp/servlet-name servlet-classorg.apache.jasper.servlet.JspServlet/servlet-class init-param param-namefork/param-name param-valuefalse/param-value /init-param init-param

Re: Multi domain certificate with keytool

2008-03-12 Thread Vamsavardhana Reddy
You should be able to create a PKCS12 keystore using OpenSSL with the private key and the certificate you have. See if the following thread helps. http://www.mail-archive.com/[EMAIL PROTECTED]/msg08816.html ++Vamsi On Wed, Mar 12, 2008 at 6:59 PM, Some user [EMAIL PROTECTED] wrote: Dear

Re: Two separate instances of Tomcat running on a single Windows 2003 server.

2008-03-12 Thread Panian, Ardo
Ok, the default server.xml is where I make the server port adjustments? What about environmental-variables that are set in the System Properties of the Windows server? I am asked to set Catalina_Home=Tomcat install directory path, what would I do with two installs of tomcat? I will need to

RE: STM

2008-03-12 Thread David Steinberg
Thanks Martin. But can I access the StandardWrapper through my web application? Regards Dave Steinberg Hello Currency +44 (0)7810 752 708 www.hellocurrency.com -Original Message- From: Martin Gainty [mailto:[EMAIL PROTECTED] Sent: Wed 12/03/2008 14:56 To: Tomcat Users List Subject:

RE: Two separate instances of Tomcat running on a single Windows 2003 server.

2008-03-12 Thread Peter Crowther
From: Panian, Ardo [mailto:[EMAIL PROTECTED] Ok, the default server.xml is where I make the server port adjustments? Yes. What about environmental-variables that are set in the System Properties of the Windows server? In the immortal words, don't do that. Are you running these installs as

RE: SSL question

2008-03-12 Thread Michael Bongiovi
But that's not working. I can get to the main site by going to https://www.mycompany.com but if I try to go to https://www.mycompany.com:8443 I get a page cannot be displayed error despite the fact that I have the connector code in server.xml uncommented so that it's available. --- Peter

Re: Two separate instances of Tomcat running on a single Windows 2003 server.

2008-03-12 Thread Panian, Ardo
Unfortunately I have to install it as a windows service, any guidance on how I can achieve this goal would be much appreciated. I was planning on installing Tomcat twice with each going to a different install directory. I know that the env-var looks in the install dir of Tomcat, but with two

TagHandlerPool Memory Problem

2008-03-12 Thread Daniel Doubleday
Hi - I think I am seriously missing something here ... That's my problem (talking tomcat 5.5.20 here) Ingredients: a) A business object (think it large) b) A Jsp tag which references the business object (i.e. spring message tag) c) A Jsp page containing the tag With default config tomcat

RE: SSL question

2008-03-12 Thread Peter Crowther
From: Michael Bongiovi [mailto:[EMAIL PROTECTED] But that's not working. I can get to the main site by going to https://www.mycompany.com OK. but if I try to go to https://www.mycompany.com:8443 I get a page cannot be displayed error despite the fact that I have the connector code in

RE: SSL question

2008-03-12 Thread Michael Bongiovi
The keystore won't accept my existing certificate if I put an alias of 'tomcat', and if I put no alias, it says it's not a valid X.509 certificate, even though it's been loaded by IIS. --- Peter Crowther [EMAIL PROTECTED] wrote: From: Michael Bongiovi [mailto:[EMAIL PROTECTED] But that's not

RE: Two separate instances of Tomcat running on a single Windows 2003 server.

2008-03-12 Thread Caldarale, Charles R
From: Panian, Ardo [mailto:[EMAIL PROTECTED] Subject: Re: Two separate instances of Tomcat running on a single Windows 2003 server. Unfortunately I have to install it as a windows service Use the .zip, not .exe, version of the Tomcat download. Install into two different directories, as

Re: Tomcat on Window XP Pro 64-bit on Intel quad Xenon

2008-03-12 Thread David Kramer
Srinivasan Rangaswamy wrote: On Fri, Mar 7, 2008 at 11:53 AM, Steve Ochani [EMAIL PROTECTED] wrote: On 7 Mar 2008 at 13:54, David Kramer wrote: Caldarale, Charles R wrote: From: Mark Thomas [mailto:[EMAIL PROTECTED] Subject: Re: Tomcat on Window XP Pro 64-bit on Intel quad Xenon

Re: Two separate instances of Tomcat running on a single Windows 2003 server.

2008-03-12 Thread Panian, Ardo
What about this line in the server.xml: Service name=Catalina can both instances have the same name? Server port=8005 shutdown=SHUTDOWN debug=0 is the default port. The 2nd server can then be set to: Server port=8105 shutdown=SHUTDOWN debug=0? The 8080 connector port and the 8009 AJP port would

RE: Exclusion not working

2008-03-12 Thread Karim Zaki
Guys, Did I do something wrong here? I was hoping someone can help with this. I included config and log, but it seems everyone's just passed over my question :) Thanks, Karim -Original Message- From: Karim Zaki [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 12, 2008 11:42 AM To:

RE: Exclusion not working

2008-03-12 Thread Peter Crowther
From: Karim Zaki [mailto:[EMAIL PROTECTED] Did I do something wrong here? I was hoping someone can help with this. I included config and log, but it seems everyone's just passed over my question :) The usual reason is that nobody can answer it. I know I can't, but I've never used the ISAPI

RE: Exclusion not working

2008-03-12 Thread Karim Zaki
Hmmm...I'd be really surprised if I just uncovered a bug. Seems too big to have not been noticed before. Should I file a bug report then? I checked the changelog from 1.2.19 all the way to the latest build and found no reference to a fix for this. Thanks for saying something, though. At least

RE: Two separate instances of Tomcat running on a single Windows 2003 server.

2008-03-12 Thread Caldarale, Charles R
From: Panian, Ardo [mailto:[EMAIL PROTECTED] Subject: Re: Two separate instances of Tomcat running on a single Windows 2003 server. What about this line in the server.xml: Service name=Catalina can both instances have the same name? Yes, the service name is internal to the process.

RE: Tomcat on Window XP Pro 64-bit on Intel quad Xenon

2008-03-12 Thread Caldarale, Charles R
From: David Kramer [mailto:[EMAIL PROTECTED] Subject: Re: Tomcat on Window XP Pro 64-bit on Intel quad Xenon However, we're still having problems with the registry entries. I'm curious: why are you using regedit and not the tomcat{5|6}w.exe program? The 64-bit version of that should be all

Re: Exclusion not working

2008-03-12 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Karim, Karim Zaki wrote: | Did I do something wrong here? I was hoping someone can help with | this. I included config and log, but it seems everyone's just passed | over my question :) Don't give up too quickly. Not everyone on this list is in

tomcat and mysql

2008-03-12 Thread Sury Balasubramanian
Hello all, I run tomcat connecting to two separate instances (one mySQL instance) running on the same machine and the other one is oracle. If i leave tomcat idle overnight and come back the next day, it doesn't reconnect to mySQL even though i have the following in the JNDI settings.. Resource

RE: memoryrealm

2008-03-12 Thread Edward Quick
I realise now what I'm actually trying to do is something like the following where I give my webapp its own UserDatabase instead of using Tomcat's one which is based on conf/tomcat-users.xml: Context path=/sample debug=9 privileged=true Realm

Re: tomcat and mysql

2008-03-12 Thread David Smith
Drop the ?autoReconnect=true from your mysql url and then add validationQuery=select 1 testOnBorrow=true. I believe the testOnBorrow is true by default, but their's no harm in setting it explicitly. Resource name=jdbc/mysql_gaeaglobalvrmanager auth=Container

Re: STM

2008-03-12 Thread Filip Hanik - Dev Lists
you could create your own class MyWrapper extends StandardWrapper { public MyWrapper() { super(); setMaxInstances(xxx); } } and then in context.xml Context wrapperClass=...MyWrapper /Context something along those lines Filip David Steinberg wrote: Thanks Martin. But can I access

RE: Exclusion not working

2008-03-12 Thread Karim Zaki
Thanks...I'll wait. -Original Message- From: Christopher Schultz [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 12, 2008 6:07 PM To: Tomcat Users List Subject: Re: Exclusion not working -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Karim, Karim Zaki wrote: | Did I do something wrong

RE: memoryrealm

2008-03-12 Thread Caldarale, Charles R
From: Edward Quick [mailto:[EMAIL PROTECTED] Subject: RE: memoryrealm Context path=/sample debug=9 privileged=true Unless your Context element is in server.xml (it shouldn't be), the path attribute is not allowed; remove it. If you did put your Context element in server.xml, move it to the

RE: memoryrealm

2008-03-12 Thread Edward Quick
Thanks Chuck. Here is my context.xml now: Context debug=9 privileged=true Realm className=org.apache.catalina.realm.UserDatabaseRealm resourceName=SampleUserDatabase / Resource name=SampleUserDatabase auth=Container type=org.apache.catalina.UserDatabase description=User database

Re: Tomcat on Window XP Pro 64-bit on Intel quad Xenon

2008-03-12 Thread David Kramer
Caldarale, Charles R wrote: From: David Kramer [mailto:[EMAIL PROTECTED] Subject: Re: Tomcat on Window XP Pro 64-bit on Intel quad Xenon However, we're still having problems with the registry entries. I'm curious: why are you using regedit and not the tomcat{5|6}w.exe program? The 64-bit

Re: STM

2008-03-12 Thread Martin Gainty
Hi David- it looks as if you're going to have install and config JMX MBeans (managed beans) to be able to access the StandardWrapper http://tomcat.apache.org/tomcat-6.0-doc/funcspecs/mbean-names.html Anyone else? M- - Original Message - From: David Steinberg [EMAIL PROTECTED] To: Tomcat

Disabling the sessions

2008-03-12 Thread jean-louis . mateo
Tomcat : Java : Hi everybody, is there any way to turn off the jsessionid (disabling the rewriting URL) ? Thank you very much Best Regards Jean-Louis Matéo - To start a new topic, e-mail: users@tomcat.apache.org To

RE: Tomcat on Window XP Pro 64-bit on Intel quad Xenon

2008-03-12 Thread Caldarale, Charles R
From: David Kramer [mailto:[EMAIL PROTECTED] Subject: Re: Tomcat on Window XP Pro 64-bit on Intel quad Xenon Are you saying we should try removing all the registry keys we added and trying to start the service? Definitely remove the registry keys, but then use the tomcat{5|6}w.exe (note

Java Mail Inside Tomcat

2008-03-12 Thread jamieb
Hi there I have encountered a bizzare problem... I have a small peice of code that fetches emails from an IMAP server using TLS. This code works perfectly in a standalone application, however, when I copy and paste it over to a Tomcat application it does not work. The code uses Java Mail 1.4.1

Re: Disabling the sessions

2008-03-12 Thread albrecht andrzejewski
[EMAIL PROTECTED] a écrit : is there any way to turn off the jsessionid (disabling the rewriting URL) ? Hi jeanlouis, If you choose to have a cookie session mechanism only, you should track your session with the cookie methods. If you want exclude the url method, you won't be able to

RE: memoryrealm

2008-03-12 Thread Edward Quick
Thanks Chuck, I'm not sure about that because I copied the format that's used in the tomcat manager webapp 's web.xml in tomcat-5.5.16/server/webapps/manager/WEB-INF/web.xml which has in it: !-- Define reference to the user database for looking up roles -- resource-env-ref

RE: memoryrealm

2008-03-12 Thread Caldarale, Charles R
From: Edward Quick [mailto:[EMAIL PROTECTED] Subject: RE: memoryrealm I also updated the webapps web.xml file so that it refers to SampleUserDatabase instead of Tomcat's UserDatabase. You shouldn't do that; the webapp isn't using the Resource, only the Realm is. That might be causing the

tomcat/axis not compiling java

2008-03-12 Thread atheus
Hi - I hope someone here can help me, because I've been at this for hours and I'm getting nowhere... Basically I have tomcat 6 and axis installed on the server, and happyaxis.jsp validates the install, but whenever I try to access a jws web service it spits out the java code rather than

Re: Tomcat on Window XP Pro 64-bit on Intel quad Xenon

2008-03-12 Thread David Kramer
Caldarale, Charles R wrote: From: David Kramer [mailto:[EMAIL PROTECTED] Subject: Re: Tomcat on Window XP Pro 64-bit on Intel quad Xenon Are you saying we should try removing all the registry keys we added and trying to start the service? Definitely remove the registry keys, but then use

RE: memoryrealm

2008-03-12 Thread Caldarale, Charles R
From: Edward Quick [mailto:[EMAIL PROTECTED] Subject: RE: memoryrealm I'm not sure about that because I copied the format that's used in the tomcat manager webapp 's web.xml in tomcat-5.5.16/server/webapps/manager/WEB-INF/web.xml O.k., I could be mistaken. However, both 5.5's admin app

Re: tomcat/axis not compiling java

2008-03-12 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 J.R., atheus wrote: | Basically I have tomcat 6 and axis installed on the server, and | happyaxis.jsp validates the install, but whenever I try to access a jws web | service it spits out the java code rather than compiling and executing - - as | if

context docBase UNC path support

2008-03-12 Thread Swapnil Brahmbhatt
Hello, Does tomcat 5.0.30 supports UNC path for context docBase? Thank you. Swapnil - Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now.

Database connections grow after redeploy

2008-03-12 Thread Scott McClanahan
We are using the dbcp capabilities of tomcat and configured the datasource in the applications context configuration file. In a few simple tests we've seen some unexpected behavior and aren't sure if it's an error on our part. We are running tomcat 5.5.26 with the compatibility libraries on java

multi-tenancy using tomcat

2008-03-12 Thread Sury Balasubramanian
Hello all, if i want multiple tomcat instances running on the same machine (different ports), can i potentially configure them to read off the same webapp (war) directory? Is there a downside in doing that (separate work directories are ok) ?? assume that each tomcat instance points to a single

Re: Exclusion not working

2008-03-12 Thread Rainer Jung
Hi Karim, Karim Zaki schrieb: Thanks...I'll wait. Could it be: https://issues.apache.org/bugzilla/show_bug.cgi?id=42038 If yes: has been fixed in 1.2.26. Regards, Rainer -Original Message- From: Christopher Schultz [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 12, 2008 6:07

Re: context docBase UNC path support

2008-03-12 Thread Mark Thomas
Swapnil Brahmbhatt wrote: Hello, Does tomcat 5.0.30 supports UNC path for context docBase? Yes. I've added this to the FAQ. See http://wiki.apache.org/tomcat/FAQ/Windows Mark - To start a new topic, e-mail:

Re: about Log pattern

2008-03-12 Thread Mark Thomas
C.F-Win in China F wrote: no answer in tomcat docs: http://tomcat.apache.org/tomcat-6.0-doc/config/valve.html You need to read more carefully. It is there, about 40% of the way down. Mark - To start a new topic, e-mail:

Re: Changing HTTP port from 8080 prevents HTTPS redirects, Tomcat 5.5

2008-03-12 Thread mikebgx
Many thanks for that! Mike Konstantin Kolinko wrote: You should have asked this question at Spring Framework community support forum, http://forum.springframework.org/forumdisplay.php?f=33 Acegi Security is implemented as a filter, and its configuration is independent of Tomcat. I

Re: tomcat/axis not compiling java

2008-03-12 Thread atheus
Christopher Schultz-2 wrote: J.R., atheus wrote: | Basically I have tomcat 6 and axis installed on the server, and | happyaxis.jsp validates the install, but whenever I try to access a jws web | service it spits out the java code rather than compiling and executing - - as | if it was

[ANN] Tomcat support status

2008-03-12 Thread Mark Thomas
All, We would like to draw your attention to a new Wiki page that provides detailed information on the current support status for Apache Tomcat versions. It is: http://wiki.apache.org/tomcat/TomcatVersions The key points to note are: - 8 years after the first Tomcat release and 4 years

RE: Exclusion not working

2008-03-12 Thread Karim Zaki
Wow! I'm really surprised this bug made it all the way to 1.2.26! Thanks a lot. I guess I'll have to upgrade. Regards, Karim From: Rainer Jung [EMAIL PROTECTED] Sent: Wednesday, March 12, 2008 21:07 To: Tomcat Users List Subject: Re: Exclusion not working

servlet crashing tomcat

2008-03-12 Thread Kimberly Begley
Hi - I am doing something very wrong with a servlet I wrote - it seems to be crashing tomcat5.5 - the log files are huge but I have pasted the ends of 3 of them - just wondering if anyone can interpret them in any way that might tell me where to start... I built the program in java and tested it

RE: Can't start tomcat 5.5.26 service on windows

2008-03-12 Thread Eric Hawkes
Hi, I tried the things you suggested, and they helped, but I'm afraid I'm still having problems. Tomcat does install as a service, but cannot be started. stderr.log shows a java.lang.ClassNotFoundException: org.apache.catalina.startup.Catalina Further explanation below. I found a couple

RE: Can't start tomcat 5.5.26 service on windows

2008-03-12 Thread Eric Hawkes
Hi, This looks solved. I noticed that when I use service.bat install it adds the following java options: -Dcatalina.base=C:\tomcat -Dcatalina.home=C:\tomcat -Djava.endorsed.dirs=C:\tomcat\common\endorsed -Djava.io.tmpdir=C:\tomcat\temp

RE: Can't start tomcat 5.5.26 service on windows

2008-03-12 Thread Caldarale, Charles R
From: Eric Hawkes [mailto:[EMAIL PROTECTED] Subject: RE: Can't start tomcat 5.5.26 service on windows One note: the Java tab has the Use default check box checked, and the JVM path says: C:\Program Files\Java\jre1.5.0_12\bin\client\jvm.dll I kind of expected that tomcat5 would use the

regarding post about servlet crashing tomcat

2008-03-12 Thread Kimberly Begley
I have no idea what the problem was other than the servlet name I suppose but I copied the entire servlet - pasted it in another file with a new name and it works, created a new file with the old servlet name and pasted the new (same) code back in it and it still doesn't work (and crashes tomcat)

Re: multi-tenancy using tomcat

2008-03-12 Thread Gabe Wong
Sury Balasubramanian wrote: Hello all, if i want multiple tomcat instances running on the same machine (different ports), can i potentially configure them to read off the same webapp (war) directory? Is there a downside in doing that (separate work directories are ok) ?? assume that each tomcat

tomcat 6: obtaining webapps directory

2008-03-12 Thread Angelo Chen
Hi, Is there a way to obtain the webapps directory during run time? thanks. A.C. -- View this message in context: http://www.nabble.com/tomcat-6%3A-obtaining-webapps-directory-tp16020060p16020060.html Sent from the Tomcat - User mailing list archive at Nabble.com.

Re: Disabling the sessions

2008-03-12 Thread Len Popp
There's an article here: http://randomcoder.com/articles/jsessionid-considered-harmful that describes how to disable URL rewriting using a filter. -- Len On 3/12/08, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Tomcat : Java : Hi everybody, is there any way to turn off the jsessionid