Re: Problem with refreshing JSP

2005-07-21 Thread Christoph Kutzinski
Travis Stevens wrote: The other thing to note about reloading JSPs is that tomcat 5.5 seems to copy ones web context directory into its own webapps directory. Any changes to the original JSPs will not show up unless you physically copy the JSP from the original directory to the webapps

Tomcat stops responding

2005-07-21 Thread Manfred Steurer
We have an app running productive for ~1 year without noticeable errors (Tomcat 4.1.24, Java 1.4.1_03, Postgres 7.3 on RedHat 9). But recently tomcat stops processing requests now and then. - Tomcat is running - No errors in the logfiles - Due to RequestDumperValve Tomcat does not receive any

WEB-INF/context.xml

2005-07-21 Thread Guillaume Lederrey
Hello ! I've read on http://wiki.jboss.org/wiki/Wiki.jsp?page=LimitAccessToCertainClients that it seems possible to add a context.xml file under WEB-INF. I tried to use the following context.xml : Context privileged=true antiResourceLocking=false antiJARLocking=false

RE: can't start tomcat as user

2005-07-21 Thread Dale, Matt
That is operating system dependent. On linux you will have to write a script and put it in /etc/rc.d/init.d then symlink it from the relevant run level directories. Ta Matt -Original Message- From: dummy [mailto:[EMAIL PROTECTED] Sent: 21 July 2005 04:09 To: Tomcat Users List Subject:

Re: jkstatus

2005-07-21 Thread Lionel Farbos
Hi, I think your worker.properties is OK I suppose your tomcat.conf is included into httpd.conf So, in my own tests, it works with (in tomcat.conf) : Location /jkstatus JkMount status Order deny,allow Deny from all Allow from 127.0.0.1 /Location Regards On Wed,

How to implement Cluster using tomcat5.0

2005-07-21 Thread Sridhar
Hi Everybody, How to implement Cluster using tomcat5.0. Regards Sridhar

Connection pool

2005-07-21 Thread Sridhar
Can anyone help how to create Connection Pool in Tomcat 5.0 with a Oracle9i database. This is very urgnet... - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

FW: How to do authentication and secure line HTTPS (SSL)

2005-07-21 Thread Abdullah Abdullah
From: Abdullah Abdullah [EMAIL PROTECTED] Reply-To: Tomcat Developers List tomcat-dev@jakarta.apache.org To: tomcat-dev@jakarta.apache.org Subject: How to do authentication and secure line HTTPS (SSL) Date: Wed, 20 Jul 2005 10:50:01 +0100 Dear all Actually, I would like to ask you that how

How to do authentication and secure line HTTPS (SSL)

2005-07-21 Thread Abdullah Abdullah
Dear all Actually, I would like to ask you that how can I do authentication and secure line HTTPS (SSL) for my web pages ? It is worth mentioning that I am using JSP and Tomcat 5.5.9 . Thank you in advance. Regards Abdullah _

Re: Connection pool

2005-07-21 Thread Christoph Kutzinski
Start a new discussion thread instead of hijacking this one. And if you do that: give more information. What have you done so far? have you read the documentation? What are the error messages, if you already at that point? etc. etc. Sridhar wrote: Can anyone help how to create Connection

Re: How to do authentication and secure line HTTPS (SSL)

2005-07-21 Thread Yasir Khan
Please read http://jakarta.apache.org/tomcat/tomcat-5.0-doc/ssl-howto.html Regards, Yasir Khan - Original Message - From: Abdullah Abdullah To: tomcat-user@jakarta.apache.org Sent: Thursday, July 21, 2005 2:43 PM Subject: How to do authentication and secure line HTTPS (SSL)

Re: binary streaming / content-type problem with mod_jk ?

2005-07-21 Thread Jérôme Chauvin
Thanks for your answer Henri :) I agree with you, finally I don't think the problem comes from mod_jk It may be Apache (using mod_jk and Tomcat) like described by Stuart Hynd in his post on this page : http://www.junlu.com/msg/107218.html Or, perhaps, QuickTime 6 which is more weaker than QT7

tomcat 5.5.9 jdk 1.5 howto

2005-07-21 Thread Werner Punz
The howto on the website is slightly wrong here is the exact howto first of all remove all jikes related jars from the tomcat lib dir, second add tools.jar from the jdk to the tomcat classpath third add ant.jar from an ant installation to the classpath fourth replace the servlet entry from the

Re: jkstatus

2005-07-21 Thread Rogerio Baldini das Neves
I ´ve solved my problem. I think there is a bug in mod_jk 1.2.13 and jkstatus doesn´t work. I just updated to mod_jk 1.2.14 and it´s working fine. - Original Message - From: Lionel Farbos [EMAIL PROTECTED] To: Tomcat Users List tomcat-user@jakarta.apache.org Cc: [EMAIL PROTECTED]

Re: can't start tomcat as user

2005-07-21 Thread David Smith
This problem can be caused by the port = 1024 problem under unix/linux. If so, take a look at the commons-daemon project on the jakarta site. Also be sure your config, log, webapp (optional), work, and temp directories are owned by the tomcat user. They should be writeable by tomcat at least

apache2.0.54 + 2 tomcat 5.0.28 + jk 1.2.14

2005-07-21 Thread Hallvard Lid
I've got this setup working on my testserver(win2003), the apache answers on port 80 and talks to the two tomcats through the jk-connector on some other ports. The problem is that the tomcat servers have some bad code in them and from time to time they just hang for a while eating cpu. Earlier we

Where to beging with secure mail

2005-07-21 Thread Brian McGovern
Can anyone tell me how to get my app, which uses java mail to get a secure session with my smtp resource as defined in my context file. Resource name=mail/Session auth=Container type=javax.mail.Session/ ResourceParams name=mail/Session parameternamemail.smtp.host/name

[Jasper/Orion] compile JSP servlets

2005-07-21 Thread Romain Thouvenin
I'm trying to write an ant task to pre-compile JSP pages, but I have the following problem. Here is a piece of page : # form:input type=hidden name=idy value=%= itlBean.getIdy() %/ (itlBean.getIdy() returns a Long.) Then I try to transform the JSP page into a servlet with the jasper task,

better profiler for tomcat

2005-07-21 Thread Paulo Alvim
Hi! What'd be the best Open-Source option for Tomcat profiling? Thanks in advance... Alvim. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

IIS6 Win2003 ISAPI config

2005-07-21 Thread Sumpter, Chuck
Jk1.2 in this environment works fine, except for jkstatus. I've worked through the how-to's and examples on the Tomcat connectors site, including the workers how-to. The jkstatus page gets a 404 every time. Does anyone have example workers.properties and uriworkermap.properties that

RE: IIS6 Win2003 ISAPI config

2005-07-21 Thread Derrick Koes
I'm using 1.2.14-ish. I've noticed jkstatus sometimes works, sometimes not with IIS 6. workers.properties: # #-- DEFAULT worket list -- #- # # # The workers that your plugins should

Re: IIS6 Win2003 ISAPI config

2005-07-21 Thread Rogerio Baldini das Neves
Chuk My jkstatus wasn´t working with 1.2.13. I ´ve updated to 1.2.14 and everything is working fine right now. Rogerio. - Original Message - From: Sumpter, Chuck [EMAIL PROTECTED] To: tomcat-user@jakarta.apache.org Sent: Thursday, July 21, 2005 11:36 AM Subject: IIS6 Win2003 ISAPI

Re: Problem with refreshing JSP

2005-07-21 Thread Travis Stevens
The other thing to note about reloading JSPs is that tomcat 5.5 seems to copy ones web context directory into its own webapps directory. Any changes to the original JSPs will not show up unless you physically copy the JSP from the original directory to the webapps directory. I haven't

Max thread/session timeouts

2005-07-21 Thread Kenneth Litwak
We're running an application on Tomcat that often hits the limit of 150 threads. Can someone with experience changing this value give me advice on it? How big can you make this number? How much extra memory do I need if I say change it to, say, 500? Thanks. Ken

Re: How to implement Cluster using tomcat5.0

2005-07-21 Thread Jason Bainbridge
On 7/21/05, Sridhar [EMAIL PROTECTED] wrote: Hi Everybody, How to implement Cluster using tomcat5.0. Start here first: http://jakarta.apache.org/tomcat/tomcat-5.0-doc/cluster-howto.html Then try to get it working and if you have trouble try researching the issues a little and then if

Ports 8005 8009 8080 in default Tomcat 4.x installation.

2005-07-21 Thread Leon Pu
Hi all, After lauching Tomcat with the default ports setting in conf/server.xml. I use netstat to check the opening ports, but I only found 8080 port is using. What's the exact usage of preceding three ports? Best regards, Leon __ Do You Yahoo!?

tomcat 4.x classpath

2005-07-21 Thread Bergthorson, Jason
How do you add directories to tomcat's classpath? Jason Bergthorson GIS Programmer/Applications Developer Phone: 204.983.4035 Fax: 204.983.2178 200-303 Main Street Winnipeg MB R3C 3G7 [EMAIL PROTECTED]

Re: What commands to run in the Tomcat Debug Mode on Linux

2005-07-21 Thread Jyothi Palvai
Can anyone help, I need this info badly. Thanks in advance. -Jyothi Jyothi Palvai [EMAIL PROTECTED] wrote: Hi All, I think I have tomcat running in debug mode on a linux, I did this by running the catalina run debug command but I don't know the debug commands to run to get to start Tomcat,

Re: Max thread/session timeouts

2005-07-21 Thread Darryl L. Miles
Kenneth Litwak wrote: We're running an application on Tomcat that often hits the limit of 150 threads. Can someone with experience changing this value give me advice on it? How big can you make this number? How much extra memory do I need if I say change it to, say, 500? Thanks. I take

Re: Ports 8005 8009 8080 in default Tomcat 4.x installation.

2005-07-21 Thread David Smith
8005 = default shutdown port. I believe it used to be the default ajp12 port. This is bound specifically to 127.0.0.1 and cannot be accessed from any other system. 8009 = default ajp13 connector port. Can be disabled if you aren't using mod_jk to connect with Apache or IIS. 8080 = default http

Re: What commands to run in the Tomcat Debug Mode on Linux

2005-07-21 Thread Wendy Smoak
From: Jyothi Palvai [EMAIL PROTECTED] I think I have tomcat running in debug mode on a linux, I did this by running the catalina run debug command but I don't know the debug commands to run to get to start Tomcat, watch the variables, put debug points etc. You appear to be asking how to use

Request parameter data not being recognised as UTF-8

2005-07-21 Thread Tim Koop
Hi everyone. ___ The Problem ___ I have a web page form that is expecting UTF-8 data, but when my code gets the data, the getParameter() methods don't return the right thing. I have to run this code to get the right thing: String value = new

Re: Request parameter data not being recognised as UTF-8

2005-07-21 Thread Mark Thomas
Tim Koop wrote: I have a web page form that is expecting UTF-8 data, but when my code gets the data, the getParameter() methods don't return the right thing. snip In server.xml, I have added these lines to each Connector: URIEncoding=UTF-8 useBodyEncodingForURI=false (I have also tried

Re: Ports 8005 8009 8080 in default Tomcat 4.x installation.

2005-07-21 Thread Darryl L. Miles
127.0.0.1:8005 : Shutdown port, I've not seen this working in TC in a while. You are meant to be able to connect and send the shutdown password with EOL and it instructs TC to shutdown gracefully. Other method of doing the same include installing the TC admin webapp and doing the same

Re: Apache2+jk+tomcat5.028+uri utf-8 [NOT] SOLVED

2005-07-21 Thread Chris Brown
Hello, Sorry for not replying to the thread referenced in my subject (See July 1st, 2005), I'm new to the list and didn't have the email to reply to. I am having the same trouble that Paul and Steve encountered. (Error connecting to tomcat from mod_jk). Like Steve I have two similarly

Re: Max thread/session timeouts

2005-07-21 Thread J. Ryan Earl
As a reference, in conf/server.xml I set my thread limit to 1 max threads, 1000 max idle threads, and 100 on startup. I've seen my as many as 7K threads busy within my application. This is on a 32bit 2.6 Linux kernel with 2GB of RAM (-Xmx1500m). On the 2.4 kernel I found practical

Problem running Tomcat on Windows 64-Bit Edition

2005-07-21 Thread Spors, Jeffrey R
I am trying to run Tomcat 5.5.9 as a service on Windows Server 2003 64-Bit Edition. The following scenarios work fine: - 32-bit JDK and Tomcat 5.5 running as a service and using startup.bat - 64-bit JDK and Tomcat 5.5 using startup.bat However, I can't run 64-bit JDK and Tomcat 5.5 as a

Re: Max thread/session timeouts

2005-07-21 Thread Michael Kleinhenz
We're running an application on Tomcat that often hits the limit of 150 threads. Can someone with experience changing this value give me advice on it? How big can you make this number? How much extra memory do I need if I say change it to, say, 500? Thanks. just a few facts on threads

forwarding (and adding to) a request to another server

2005-07-21 Thread Robert Koberg
Hi, I have a secure webapp (main portal) in Tomcat that calls webservices for authentication. There are other *existing* apps on different servers. All users log in to all apps through my app (single sign on). When a user clicks a link in my app that is to go to another secure app, I need to

Re: DBCP datasource works on 5.0.28 but fails on 5.5.

2005-07-21 Thread Kenneth B. Harwood
This issue was originally submitted by Steve Kirk on 20-May-2005 and RESOLVED on 22-May. FYI, I experienced the same error(s) as Steve and tried all the same things Steve did before discovering Steve's question (and thread) on the User List. The fix (as first advised by Lutz Nicola) was to

RAM limity

2005-07-21 Thread Paulo Alvim
Hi, I'm using TC559 and JVM 1.5.x with Win2003 / 2GB RAM. I'd like upgrade to 4GB RAM...is there any JVM or Tomcat limit here? Thanks in advance! Paulo Alvim Powerlogic - Brazil - To unsubscribe, e-mail: [EMAIL PROTECTED]

RE: DBCP datasource works on 5.0.28 but fails on 5.5.

2005-07-21 Thread Warren Taylor
Please stop sending this stuff to me. Somehow, by mistake, I got on this mailing list and don't know a thing about it. WARREN TAYLOR Sunbelt Business Advisors Sunbelt Business Brokers of MS www.sunbeltnetwork.com -Original Message- From: Kenneth B. Harwood [mailto:[EMAIL PROTECTED]

RE: forwarding (and adding to) a request to another server

2005-07-21 Thread Warren Taylor
Please take me off your mailing list. I don't know what the hell you are talking about. I got on this mailing list by error and it is way beyond my comprehension. WARREN TAYLOR Sunbelt Business Advisors Sunbelt Business Brokers of MS www.sunbeltnetwork.com -Original Message- From:

Re: forwarding (and adding to) a request to another server

2005-07-21 Thread Robert Koberg
Warren Taylor wrote: Please take me off your mailing list. I don't know what the hell you are talking about. I got on this mailing list by error and it is way beyond my comprehension. Can you read the bottom of the post to this mail list?

Re: tomcat 4.x classpath

2005-07-21 Thread Alon Belman
You almost certainly don't need to set it directly. Tomcat will build classpaths for its different class loaders itself following the rules explained here: http://jakarta.apache.org/tomcat/tomcat-5.5-doc/class-loader-howto.html On 7/21/05, Bergthorson, Jason [EMAIL PROTECTED] wrote: How do you

Re: Max thread/session timeouts

2005-07-21 Thread Andrew Miehs
Ouch! Thats a LOT of threads - I can't believe your box still performs well with this many threads - or have you enabled keep-alives? The number of threads really depends on your application. I have max threads set to 750, or our 32bit 2.6 Linux systems. Our thread count normally doesn't go

RE: tomcat 4.x classpath

2005-07-21 Thread Warren Taylor
Please take me off this mailing list. I don't know how I got on it and don't know what the hell it is about. WARREN TAYLOR Sunbelt Business Advisors Sunbelt Business Brokers of MS www.sunbeltnetwork.com -Original Message- From: Alon Belman [mailto:[EMAIL PROTECTED] Sent: Thursday,

RE: Max thread/session timeouts

2005-07-21 Thread Warren Taylor
Take me off this fucking list. WARREN TAYLOR Sunbelt Business Advisors Sunbelt Business Brokers of MS www.sunbeltnetwork.com -Original Message- From: Andrew Miehs [mailto:[EMAIL PROTECTED] Sent: Thursday, July 21, 2005 5:00 PM To: Tomcat Users List Subject: Re: Max thread/session

RE: Max thread/session timeouts

2005-07-21 Thread pacea
Mr. Taylor, Not sure how you got on this list. To remove yourself, scroll to the bottom of any one of the messages to which you've replied and click on the unsubscribe link. Warren Pace Take me off this fucking list. WARREN TAYLOR Sunbelt Business Advisors Sunbelt Business Brokers

Re: Max thread/session timeouts

2005-07-21 Thread Larry Meadors
Whoa! Someone forgot to take their meds today... To unsubscribe, e-mail: [EMAIL PROTECTED]http://a.apache.org Larry On 7/21/05, Warren Taylor [EMAIL PROTECTED] wrote: To unsubscribe, e-mail: [EMAIL PROTECTED]

RE: tomcat 4.x classpath

2005-07-21 Thread Bergthorson, Jason
I want to add a directory that I have in my j2sdk\jre\lib\ext that I am using for development on that server. I don't want to have to copy that folder over to tomcat/common/classes (for example), and have 2 copies of my code on the same system. I would rather add my j2sdk\jre\lib\ext\X to

Dynamic server configuration...

2005-07-21 Thread Rodrigo Spievak Cavalcanti
Hi folks, Is there any way to change tomcat engine configuration at runtime, without restarting the entire engine ? Some kind of dynamic engine configuration, being able to change hosts, add hosts, and changing host configurations ? Thanks.

Jsp and xml

2005-07-21 Thread Kiran Patel
Hello all, I am creating a xml document using JSP. The JAVA codes in JSP creates blank lines in xml document. How can I remove this or how can I don't create. I will appreciate any help. Thank You, Kiran Patel Software Engineer Solutions Inc.

Error 500 messages

2005-07-21 Thread Adile Abbadi
Hi all, I've got a very simple question to ask and I'm sure someone out there can help me. Ok I just migrated from Tomcat 3 to Tomcat 4 and everything is working great except one little thing. But a little background before I go on. Apache/Tomcat4 configuration - using libapache-mod_jk

Re: What commands to run in the Tomcat Debug Mode on Linux

2005-07-21 Thread Jyothi Palvai
But I am on a linux box and I am unable to get it to start by using the socket. I set the socket to 8000 but it does not seem to work, JPDA_ADDRESS=8000 and JPDA_TRANSPORT=dt_socket is already set in catalina.sh, so I just run using catalina run jpda. And when I run tomcat it starts and after

RE: Max thread/session timeouts

2005-07-21 Thread Warren Taylor
There is no unsubscribe link. WARREN TAYLOR Sunbelt Business Advisors Sunbelt Business Brokers of MS www.sunbeltnetwork.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, July 21, 2005 5:06 PM To: Tomcat Users List Subject: RE: Max thread/session

Re: What commands to run in the Tomcat Debug Mode on Linux

2005-07-21 Thread Wendy Smoak
From: Jyothi Palvai [EMAIL PROTECTED] But I am on a linux box and I am unable to get it to start by using the socket. I set the socket to 8000 but it does not seem to work, JPDA_ADDRESS=8000 and JPDA_TRANSPORT=dt_socket is already set in catalina.sh, so I just run using catalina run jpda. And

Application doesn't respond at all

2005-07-21 Thread Pugalia, Jai P \(JP\)
Hi, I have a JSF web application deployed on Tomcat 5.0.28. Initially the application works normally and then it goes into a state where it stops responding to user requests from the browser. Once the application enters this state, even if a new browser window is launched, none of the application

Re: RAM limity

2005-07-21 Thread Tim Funk
Nope. No limits. Just OS limits. -Tim Paulo Alvim wrote: Hi, I'm using TC559 and JVM 1.5.x with Win2003 / 2GB RAM. I'd like upgrade to 4GB RAM...is there any JVM or Tomcat limit here? - To unsubscribe, e-mail: [EMAIL

Re: Error 500 messages

2005-07-21 Thread Anoop kumar V
It might be easier than you think to output the error right onto the page itself. But would it help if you see the errors (+ other things) on the tomcat console?? It will certainly help in your debugging. To do that edit the server.xml in the conf directory and remove lines similar to this:

Re: Application doesn't respond at all

2005-07-21 Thread Anoop kumar V
Seems like some application/class is consuming too many thread/resources... I would suggest you use some profiling tool to understand your problem better - I personally prefer JMeter - but there are lots of tools available for this purpose. HTH Anoop On 7/21/05, Pugalia, Jai P (JP) [EMAIL

Re: Dynamic server configuration...

2005-07-21 Thread Rob Hills
Hi Rodrigo, On 21 Jul 2005 at 19:12, Rodrigo Spievak Cavalcanti wrote: Is there any way to change tomcat engine configuration at runtime, without restarting the entire engine ? Some kind of dynamic engine configuration, being able to change hosts, add hosts, and changing host

RE: Error 500 messages

2005-07-21 Thread Adile Abbadi
Hi Anoop thanx for your help - first in regards to the file that the log is writing to I'm referring to a log file I created for my context in the XML supporting that context using the FileLogger (similar to as you have below). Now I did a little more experimenting and discovered something

RE: Error 500 messages

2005-07-21 Thread Rob Hills
Hi Adile, On 21 Jul 2005 at 19:09, Adile Abbadi wrote: Now I did a little more experimenting and discovered something interesting - as I said I can get an exception to be thrown to the page in a simple JSP file (I made it do a null pointer for example) and I can get it do pretty any other

Re: Problem running Tomcat on Windows 64-Bit Edition

2005-07-21 Thread Bill Barker
There is a srvbatch in commons-daemon (I'm too lazy to look if there is a binary released for it :) that will allow you run the batch files as a service. You can also grab the source from commons-daemon and compile a 64bit version yourself (only the MSDK is needed, but you need to create your

Automated Server Configuration (was api for server.xml maintenance)

2005-07-21 Thread Rob Hills
Hi All, I received no reply to my earlier email in this thread so I thought I'd try and come up with a less verbose description of my problem. I'm looking to automate the management of hosts on my server. Our tomcat servers operate multiple applications, each of which has its own host entry

jsp stuff

2005-07-21 Thread ganesan malairaja
hi guys i want to know is there any setting to be done with tomcat so the JSP codes can access the database ( MySQL) and display the information ? thank you - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

RE: Error 500 messages

2005-07-21 Thread Rob Hills
Hi Adile, I did say it was untested, and I've spotted a problem in my code already (why are bugs so invisible BEFORE you press the send button??!!) On 22 Jul 2005 at 9:41, Rob Hills wrote: Something like the following (untested) in your error.jsp should do the trick: % if (exception ==

mod_jk not detecting loss of a load balanced machine

2005-07-21 Thread Edmon Begoli
We've noticed with two versions of mod_jk we've been using (1.2.5 and one older) that if one of the machines hosting load balanced tomcat gets completely off the network (power loss) mod_jk will seem not to emove that one from the load balanced instances, so the whole site will appear down

Limitting bandwidth: Filedownload

2005-07-21 Thread Lars Nielsen Lind
Hi. Is there a way to make two channels with Apache / Jakarta-Tomcat regarding to the Internet connections bandwidth? One channel serving jsp, html, gif, jpg, png files, another channel serving pdf, xls, doc files. Lets say the bandwidth totally are 512 kb is it then possible to define for

Re: RAM limity

2005-07-21 Thread Nikola Milutinovic
Paulo Alvim wrote: Hi, I'm using TC559 and JVM 1.5.x with Win2003 / 2GB RAM. I'd like upgrade to 4GB RAM...is there any JVM or Tomcat limit here? I think JVM cannot use more than 1.6 GB of RAM - dunno why. Nix. - To

RE: RAM limity

2005-07-21 Thread Caldarale, Charles R
From: Nikola Milutinovic [mailto:[EMAIL PROTECTED] Subject: Re: RAM limity I'm using TC559 and JVM 1.5.x with Win2003 / 2GB RAM. I'd like upgrade to 4GB RAM...is there any JVM or Tomcat limit here? I think JVM cannot use more than 1.6 GB of RAM - dunno why. It's a Windows limitation.