Customize 503 message

2005-08-10 Thread Michal Kwiatek
Dear All, I'm trying to customize the following tomcat error message: HTTP Status 503 - This application is not currently available Which is shown, when the application is not deployed. I tried deploying an error-handling webapp at ROOT context in hope, that if my proper applications (let's

Re: Tomcat/MySQL Application Update

2005-08-10 Thread Ronald Klop
Sounds like something WebStart can do very nice for you. Create a java app, which installs a .war file in the right location. Add a .war file as a resource to the webstart application. Put the webstart app in the startup-folder of windows. Or let the webstart app launch the Tomcat. You can

tomcat exception of broken pipes

2005-08-10 Thread shashidhar.vutukuru
hi, I click and browse through some of the features in application, often I get the following error in the catalina.out. I really do not understand the cause of the problem. the error is : Aug 10, 2005 2:10:28 AM org.apache.jk.server.JkCoyoteHandler action SEVERE: Error in action code

Same servlets in 2 contexts. Update 1 of them, not reloaded on context reload

2005-08-10 Thread Martyn Hiemstra
Hi All, I am having a problem with Tomcat. I have a website application that I use over 2 aplications. 1 context I use for testing and the other is meant for vistors (live version). This means that the same application is running over 2 contexts . When I update a servlet in the test context and

Has anyone used Tomcat 5.5.9 connecting to MS SQL Server using JN DI?

2005-08-10 Thread Wylie, Ian
Hi All, I have just installed Tomcat 5.5.9 on our Dev Server. I managed with a bit of work and a few searches on the web to get Tomcat 4.1.x working with MS SQL Server using JNDI and database pooled connections to work. This has been working well for some time now. However, there is quite a

Re: Does JspC in 5.0 rely on Hibernate?

2005-08-10 Thread Tim Funk
There is definitely no dependency on hibernate. Since it is looking for: net/sf/hibernate/Lifecycle - I might be *guessing* there could be a taglib (or something) somewhere with that might by trying to create a net.sf.hibernate.Lifecycle. Otherwise - there might be a class which (indirectly)

[OT?] porting existing application to Java/Tomcat

2005-08-10 Thread Kristian Rink
Hi all; this is probably a stupid question on that list, hope I'll not be tarred and feathered for being way off-topic; but since probably there are some persons around here pretty familiar with certain aspects of Enterprise Java, I'll anyhow kindly ask for comments on the following thing: I'm

RE: Has anyone used Tomcat 5.5.9 connecting to MS SQL Server using JNDI?

2005-08-10 Thread David Thielen
http://thielen.typepad.com/programming/2005/07/hibernate_on_to.html David Thielen 303-499-2544 www.windwardreports.com -Original Message- From: Wylie, Ian [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 10, 2005 4:37 AM To: tomcat-user@jakarta.apache.org Subject: Has anyone used

Clustering and controlling session manager

2005-08-10 Thread Mark Hagger
Hi, We're using tomcat with clustering enabled for session replication purposes. This is all well and good and works fine. However, in addition I wanted to set the sessionId length to something shorter than the default. If it wasn't for the clustering I would simply provide a context.xml file

tomcat exception of broken pipes

2005-08-10 Thread shashidhar.vutukuru
Hi All, Any inputs/suggestions please.. Best regards, --Shashi From: Shashidhar Vutukuru (WT01 - Computing Systems Storage) Sent: Wednesday, August 10, 2005 3:08 PM To: 'tomcat-user@jakarta.apache.org' Subject: tomcat exception of broken pipes hi, I

Test as requested by list owner

2005-08-10 Thread Caldarale, Charles R
Checking if the spurious bounce messages have been corrected. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its

Re: tomcat exception of broken pipes

2005-08-10 Thread Christoph Kutzinski
AFAIK these exceptions occur if someone requests a resource (HTML-Page, image, ...) and then closes the connection before all data was sent. I.e. click the stop-button or click on a different Hyperlink. AFAIK one can do nothing to prevent these Exceptions in the log. [EMAIL PROTECTED] wrote:

The connection was refused when attempting to contact localhost:7001

2005-08-10 Thread Caroline Jen
I am using the Tomcat 5.0.28. I have two browsers: Netscape and IE. I have been testing my JavaServer Faces (JSF) applications. I put JSF example war files (I tested many examples) under the webapps directory, started my Tomcat, and typed http://localhost:7001/X in the browser's address bar.

Connection Reset Problem

2005-08-10 Thread Josh Wilson
I recently upgraded from tomcat 4.1 to tomcat 5.0.25 and I am seeing the following in the stdout.log: Aug 8, 2005 11:50:43 PM org.apache.tomcat.util.net.TcpWorkerThread runIt SEVERE: Remote Host /XX.XXX.X.XXX SocketException: Connection reset Aug 8, 2005 11:50:43 PM

Cannot create PoolableConnectionFactory SQLServer2000 Tomcat 5.5

2005-08-10 Thread DAVE Harland
Hi, I am trying to upgrade to Tomcat 5.5 from 4.1.28. I am following the directions at http://jakarta.apache.org/tomcat/tomcat-5.5-doc/jndi-datasource-examples-howto.html but I am getting the following error. SEVERE: ApolloProcessor: Problem logging in: Cannot create

Certificates On 5.5

2005-08-10 Thread Scott Purcell
Hello, I have the need install Verisign Certificate on my Tomcat 5.5 running on XP. I am not that familiar with SSL, and was hoping someone may of done this, and could give me a high-level of the complexivity. I would like to have this running by Friday and could use any links, help. Thanks,

Re: Certificates On 5.5

2005-08-10 Thread Jason Bainbridge
On 8/10/05, Scott Purcell [EMAIL PROTECTED] wrote: Hello, I have the need install Verisign Certificate on my Tomcat 5.5 running on XP. I am not that familiar with SSL, and was hoping someone may of done this, and could give me a high-level of the complexivity. I would like to have this

[Tomcat] Tomcat fails to give complete HTTP responses

2005-08-10 Thread Brian Cook
I have an instance of Tomcat5.5 running on JDK1.5.3 on RedHat9(Kernal 2.4). About every 7 - 10 days Tomcat stops fully responding to HTTP requests. By that I mean Tomcat does seem to give some response to the browsers because they(the browsers) do not return an error, and they never time

sendRedirect still does not handle mailto correctly

2005-08-10 Thread [EMAIL PROTECTED]
A while back we tried to use response.sendRedirect with a mailto:[EMAIL PROTECTED] link. It would not work, so we put together a kluge using a separate page. I was just checking and Bugzilla issue #18147: http://issues.apache.org/bugzilla/show_bug.cgi?id=18147 This says the problem was fixed

Re: sendRedirect still does not handle mailto correctly

2005-08-10 Thread Tim Funk
The fix was made after 4.1.31 ... http://cvs.apache.org/viewcvs.cgi/jakarta-tomcat-connectors/coyote/src/java/org/apache/coyote/tomcat4/CoyoteResponse.java?rev=1.40view=log -Tim [EMAIL PROTECTED] wrote: A while back we tried to use response.sendRedirect with a mailto:[EMAIL PROTECTED] link.

Re: sendRedirect still does not handle mailto correctly

2005-08-10 Thread [EMAIL PROTECTED]
Tim, Thanks for the quick response. Is a 4.1.32 in the works at all? Otherwise I guess that means that we need to build 4.1 from source or upgrade to a later version of 5.0 or 5.5. We were trying to put that off a bit longer. Thanks again - Richard Original Message: - From: Tim

Re: sendRedirect still does not handle mailto correctly

2005-08-10 Thread Tim Funk
Who knows when a 4.1.32 will come out. The easiest thing is to get the file revision and compile that file and drop it into the server/classes directory. -Tim [EMAIL PROTECTED] wrote: Tim, Thanks for the quick response. Is a 4.1.32 in the works at all? Otherwise I guess that means that we

Any one have any idea

2005-08-10 Thread Ahmed, Mohammed
How download TomcatConnector for Sunone on Solaris please send me the link i don't find on Tomcat website Please help me Mohammed Ahmed Tel(630) 438-7414 Middle Ware (Consultant) OfficeMax [EMAIL PROTECTED] - To unsubscribe,

Replace a token with in a text file with ANT

2005-08-10 Thread Asif Chowdhary
Hi, I have a .bat file in which I want to replace the @ symbol with a quotation mark . How do you do that in ANT. Thanks - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: sendRedirect still does not handle mailto correctly

2005-08-10 Thread [EMAIL PROTECTED]
Tim, Thanks again. Yes, that's what I'm doing I downloaded the Jakarta connectors source, got the update file from CVS and now am going through dependency hell getting each of the pre-required packages downloaded and installed. Is there an easier way? I'm probably close to done, but for a single

Re: sendRedirect still does not handle mailto correctly

2005-08-10 Thread Tim Funk
1) Download this file: (The patched revision from CVS) http://cvs.apache.org/viewcvs.cgi/*checkout*/jakarta-tomcat-connectors/coyote/src/java/org/apache/coyote/tomcat4/CoyoteResponse.java?rev=1.38 2) Put $CATALINA_HOME/common/lib/*.jar, $CATALINA_HOME/server/lib/*.jar in your CLASSPATH for

Need to use SSL 3.0 with Tomcat 4.1.27

2005-08-10 Thread Boxall, Colin - OASAM CTR
I am using Tomcat 4.1.27 (it is bundled with the BrightMail Quarantine product distributed by IronPort), and I need to use SSL 3.0 to encrypt the login screen to the BrightMail Quarantine. I have successfully configured Tomcat to use TLS, but TLS is not enabled on our 17,000 desktops,

Re: sendRedirect still does not handle mailto correctly

2005-08-10 Thread [EMAIL PROTECTED]
Tim, Thanks again - that did it and was much easier. Pretty logical way to do things actually. And yes, the sendRedirect now works with the mailto. - Richard Original Message: - From: Tim Funk [EMAIL PROTECTED] Date: Wed, 10 Aug 2005 15:52:31 -0400 To:

Re: sessions dropping with mod_ssl, mod_jk, mod_rewrite rules

2005-08-10 Thread Mark Thomas
Seale, Deryl wrote: Thanks for the information, Jon. I finally realized this when I examined the two different cookies Tomcat was setting: the first was marked secure, and the second was not. I followed the threads you provided, and one of the respondents hinted that this behavior may

Fault Tolerance in Tomcat Cluster

2005-08-10 Thread samuel cheung
Hi, From this article http://www.onjava.com/pub/a/onjava/2004/03/31/clustering.html?page=2, it said Tomcat 5 does not provide a built-in fail over mechanism to detect when a cluster member crashes. Can someone tell me if Tomcat 5.5 provides fail over detection in tomcat cluster? Thank you. Sam

data push

2005-08-10 Thread Paul Wallace
Hi All, I would like server A (TC 5.5) to 'push' streams of data to server B (TC 5.5) at random points in time, and for server B to accept the data when it is received. This is not using request / response, hence I am new to this topic. A couple of questions - what protocol(s) can be used,

Re: data push

2005-08-10 Thread Seth Ladd
Paul Wallace wrote: Hi All, I would like server A (TC 5.5) to 'push' streams of data to server B (TC 5.5) at random points in time, and for server B to accept the data when it is received. This is not using request / response, hence I am new to this topic. A couple of questions - what

RE: data push

2005-08-10 Thread Paul Wallace
Hi Seth, Thanks. And must I open a socket on the client (server B)? Do I attach a listener to it? Thanks Paul. Paul Wallace wrote: Hi All, I would like server A (TC 5.5) to 'push' streams of data to server B (TC 5.5) at random points in time, and for server B to accept the

Re: data push

2005-08-10 Thread Seth Ladd
Paul Wallace wrote: Hi Seth, Thanks. And must I open a socket on the client (server B)? Do I attach a listener to it? Forget sockets, we're at a higher level w/ HTTP and URLs. Use the JDK's URLConnection classes (for starters) to open a URL connection. Create a Servlet on Server B

RE: data push

2005-08-10 Thread Paul Wallace
Thanks, I have most of that in place already. Currently, server A has a HttpURLConnection open and is talking to the Servlet. I can receive data presumably from an InputStream. How do I write data to the Servlet using the connection I have open? Thanks Paul. Hi Seth, Thanks.

Re: data push

2005-08-10 Thread Len Popp
It's not hard to send data from one Tomcat server to another, but the details are a bit complicated. 1. The basic idea is that Server A will periodically send an HTTP POST request to Server B containing a bunch of data. Server B has a servlet that receives this data. (This is the easiest way,

Re: Certificates On 5.5

2005-08-10 Thread Isaac Vetter
cott, I've found this document to be a helpful overview: http://localhost:8080/tomcat-docs/ssl-howto.html (or wherever your tomcat is running) I'm working on something similar myself. Tomcat keeps certs in a specialized certificate database called a keystore. Tomcat 5.5 can use certificates in

RE: data push

2005-08-10 Thread Paul Wallace
Hi and thanks for that, That's the crux of my question! The data (I am unsure of the protocol it is delivered in) is sent at random points in time i.e not from any request. I wish to create particularly the client (server B) that listens for this data. I (mistakenly) mentioned server A to

Re: data push

2005-08-10 Thread Seth Ladd
Paul Wallace wrote: Thanks, I have most of that in place already. Currently, server A has a HttpURLConnection open and is talking to the Servlet. I can receive data presumably from an InputStream. How do I write data to the Servlet using the connection I have open? Use the

Re: data push

2005-08-10 Thread Len Popp
If you send the data via HTTP, then Server B processes that HTTP request just like any other. It's exactly the same as if a user sent a POST request by typing the data into a form and clicking Submit. Server B receives the POST request and executes the appropriate servlet to process it. -- Len

Test Post

2005-08-10 Thread Dave Morrow
I am receiving some NDR's when sending to this list. Can someone confirm my posts are getting through? David A. Morrow Technical Systems Lead Autodata Solutions Company [EMAIL PROTECTED] http://www.autodata.net Tel: (519) 951-6079 Fax: (519) 451-6615 Poor planning on your part does not

RE: Test Post

2005-08-10 Thread Paul Wallace
Through! -Original Message- From: Dave Morrow [mailto:[EMAIL PROTECTED] Sent: Thursday, 11 August 2005 12:10 PM To: Tomcat Users List Subject: Test Post I am receiving some NDR's when sending to this list. Can someone confirm my posts are getting through? David A. Morrow Technical

RE: Test Post

2005-08-10 Thread Dave Morrow
Thanks for the reply! David A. Morrow Technical Systems Lead Autodata Solutions Company [EMAIL PROTECTED] http://www.autodata.net Tel: (519) 951-6079 Fax: (519) 451-6615 Poor planning on your part does not necessarily constitute an emergency on my part! This message has originated from

Monitor Tomcat with SNMP (MRTG etc)?

2005-08-10 Thread Dave Morrow
Does anyone know how to use SNMP tools to monitor a Tomcat server? Are there any open source tools to assist or add this ability? David A. Morrow Technical Systems Lead Autodata Solutions Company [EMAIL PROTECTED] http://www.autodata.net Tel: (519) 951-6079 Fax: (519) 451-6615 Poor planning

RE: data push

2005-08-10 Thread Paul Wallace
Thanks Len, And what of other protocols? Are sockets then required? What are some other protocols that might be used to push/pull data? (off Tomcat I know ;)) Paul. -Original Message- From: Len Popp [mailto:[EMAIL PROTECTED] Sent: Thursday, 11 August 2005 11:52 AM To: Tomcat

Re: Monitor Tomcat with SNMP (MRTG etc)?

2005-08-10 Thread Seth Ladd
Dave Morrow wrote: Does anyone know how to use SNMP tools to monitor a Tomcat server? Are there any open source tools to assist or add this ability? With JDK 5 you can enable the builtin SNMP agent. This can export all the standard JMX attributes of the VM. I don't think there's a way to

Tomcat security during runtime

2005-08-10 Thread Matt Anderson
Hello all I have a question, if you setup your own security in Tomcat by using your own policy, is there anyway to modify this policy during runtime, without restarting tomcat itself? Is there any Java API you can use to modify the security manager during run time? Thanking you in advance.

Re: Monitor Tomcat with SNMP (MRTG etc)?

2005-08-10 Thread Peter Lin
if you use tomcat 5.0.19 or new, you can use JMeter to monitor tomcat. peter On 8/10/05, Seth Ladd [EMAIL PROTECTED] wrote: Dave Morrow wrote: Does anyone know how to use SNMP tools to monitor a Tomcat server? Are there any open source tools to assist or add this ability? With JDK 5

Re: Monitor Tomcat with SNMP (MRTG etc)?

2005-08-10 Thread Lintang JP
how can I do monitoring with JMeter ? plis advice... On 8/11/05, Peter Lin [EMAIL PROTECTED] wrote: if you use tomcat 5.0.19 or new, you can use JMeter to monitor tomcat. peter On 8/10/05, Seth Ladd [EMAIL PROTECTED] wrote: Dave Morrow wrote: Does anyone know how to use SNMP tools

Re: Monitor Tomcat with SNMP (MRTG etc)?

2005-08-10 Thread Peter Lin
JMeter has a tomcat monitor, which can access tomcat's status servlet to get memory and thread info. jmeter can monitor up to 200 servers on a 1.4ghz laptop with 1gb of ram without any problems. you can find out more on jmeter's site or go directly to the user manual here

Strange redirects with Apache 2.0, mod_jk and Tomcat 5.5

2005-08-10 Thread Sven Köhler
Hi, often, Firefox tellst me, that the redirect limit is execeeded when surfing one of my pages. So i tried wget, and look at the result: $ LANG=C wget www.mysite.com --05:29:04-- http://www.mysite.com/ = `index.html.1' Resolving www.mysite.com... 80.70.176.140 Connecting to

Re: Strange redirects with Apache 2.0, mod_jk and Tomcat 5.5

2005-08-10 Thread Sven Köhler
often, Firefox tellst me, that the redirect limit is execeeded when surfing one of my pages. So i tried wget, and look at the result: [strange result] That's no joke! (www.mysite.com is a replacement for the real-website). Look at the redirects! he's even jumping to /html/index.jsp -

serving file name in unicode

2005-08-10 Thread Arun Prasad R
hi there, im facing problem in tomcat serving a file with unicode name. pls help in this regard thanks in advance, arun