Re: jsvc.exec error: Cannot find daemon loader

2007-08-31 Thread Ole Ersoy
I think I have this reasonably well isolated. On Fedora if I: chmod 750 bootstrap.jar I get the error: 31/08/2007 01:05:25 14411 jsvc.exec error: Cannot find daemon loader org/apache/commons/daemon/support/DaemonLoader 31/08/2007 01:05:25 14410 jsvc.exec error: Service exit with a return

Re: Tomcat freeze after some times

2007-08-31 Thread Ice72
Hi Cris, thanks for your reply. Yes: I checked the process via top/netstat/lsof and I haven't detect any strange situation. The super-strange thing is that the other webapps, on the same tomcat-instance, continue to work when the single-app fail. TIA Christopher Schultz-2 wrote:

The description for Event ID ( 5 ) in Source ( Apache Tomcat 4.1 ) cannot be found.

2007-08-31 Thread DonnaG
I had to restart Apache Tomcat 4.1 this morning and the following appeared in the application logs. Any one got any ideas? Thanks in advance. Event Type: Information Event Source: Apache Tomcat 4.1 Event Category: None Event ID: 5 Date: 8/31/2007 Time: 9:25:37 AM

Check JSP/Servlet Version from a command line

2007-08-31 Thread Jimmy Phelan :: Blacknight Solutions
Hi All How can I check from a command line on *nix the JSP/Servlet version installed I am inheriting a Tomcat installation. There are issues with it, and a solution I got from this mailing list was to upgrade the JDK version. We currently have java version 1.5.0_08 Java(TM) 2

Using own index.html in $CATALINA_HOME/webapps/ROOT directory

2007-08-31 Thread jhayden
After changing port to 80 attempting to use Tomcat as a HTTP server as well as a container. When entering http:\\localhost I am getting the standard Tomcat display. However its being drawn from the index.jsp rather than the index.html due the message on the page detailing

Server.xml Settings

2007-08-31 Thread Stasa Jerinic
Hallo, I expanded my server.mxl. I added after the tag Host name=localhost .../ new tag Host name=dato.app.at ... Context displayName= docBase=app path= workDir=work/Catlina/localhost/app /Context /Host So there are now two ways to start my web-application. By calling

Re: Check JSP/Servlet Version from a command line

2007-08-31 Thread Mark Thomas
Jimmy Phelan :: Blacknight Solutions wrote: How can I check from a command line on *nix the JSP/Servlet version installed Not sure what you mean. You stated you are using Tomcat 5.5.23 so that supports the 2.4 servlet spec and 2.0 jsp spec. If you want to know what version of the spec your web

Re: context-param vs env-entry. Ready? Fight!

2007-08-31 Thread Tim Funk
context-param requires access to the servlet context. env-entry requires access to jndi Do you really want code that has nothing to do with the servlet api dependent on ServletContext? Plugging in a new jndi lookup for testing is much easier. -Tim Brian Munroe wrote: I just started to help

Re: Using own index.html in $CATALINA_HOME/webapps/ROOT directory

2007-08-31 Thread Mark Thomas
jhayden wrote: I want to use the ROOT directory and force the index.html to be used. All i get is a Error 404 message. Delete the contents of ROOT (jsps, WEB-INF, etc) apart from your files. You might need to reload the ROOT web application although I am fairly sure the default configuration

Re: Server.xml Settings

2007-08-31 Thread Mark Thomas
Stasa Jerinic wrote: Is there a way to declare the port=80 but only for host=dato.app.at? No. Connectors apply to the whole server. The Remote Address Valve applied at the host level (see http://tomcat.apache.org/tomcat-6.0-doc/config/valve.html) may help you do what you want to do. Mark

Check JSP/Servlet Version from a command line

2007-08-31 Thread Jimmy Phelan :: Blacknight Solutions
Hi Mark Could you let me know if the update to .25 will address the issue we are experiencing here: http://mail-archives.apache.org/mod_mbox/tomcat-users/200708.mbox/%3c073301c [EMAIL PROTECTED] Thank you for your time, it is much appreciated Jimmy -Original Message- From: Mark Thomas

Re: Using own index.html in $CATALINA_HOME/webapps/ROOT directory

2007-08-31 Thread jhayden
Tried that but still getting the error. I only left the default index.html file there and it still gives me the 404 Error. It appears that it only wants to use the index.jsp file? -- View this message in context:

How to profile Tomcat with Rational Purify?

2007-08-31 Thread Hitesh Raghav
Hi, What are the steps for profiling a web server (i.e. Tomcat)? I've Tomcat with our some custom implementations. I've to do Tomcat profiling with Rational Purify. Could you please share some good pointers regarding the same. Thanks, -Hitesh

RE: How to profile Tomcat with Rational Purify?

2007-08-31 Thread Peter Crowther
From: Hitesh Raghav [mailto:[EMAIL PROTECTED] What are the steps for profiling a web server (i.e. Tomcat)? Broadly the same as those for profiling any other app: decide what you want to measure, set up the instrumentation, run, analyse results. In your case, the instrumentation is Purify.

Re: Load Balancing Tomcat 5.0.X, hardware or software?

2007-08-31 Thread bajistaman
And what about SSL?, it is better to let the load balancer to take care of it or every node in the farm? Thanks, Johann -- View this message in context: http://www.nabble.com/Load-Balancing-Tomcat-5.0.X%2C-hardware-or-software--tf4354748.html#a12425400 Sent from the Tomcat - User mailing list

create a keystore without user prompting

2007-08-31 Thread oj
Hi, I want to make batch file which will create a keystore file but after calling this keytool -genkey -alias tomcat -keyalg RSA there will be a user prompt for my user name and such things. Does anyone know how i can skip those prompts or can I set those values with additonal parameters. I

Re: Check JSP/Servlet Version from a command line

2007-08-31 Thread Mark Thomas
Jimmy Phelan :: Blacknight Solutions wrote: Hi Mark Could you let me know if the update to .25 will address the issue we are experiencing here: http://mail-archives.apache.org/mod_mbox/tomcat-users/200708.mbox/%3c073301c [EMAIL PROTECTED] No idea. As Filip said, JVM/OS incompatibility is

Re: Using own index.html in $CATALINA_HOME/webapps/ROOT directory

2007-08-31 Thread Mark Thomas
jhayden wrote: Tried that but still getting the error. I only left the default index.html file there and it still gives me the 404 Error. It appears that it only wants to use the index.jsp file? The default welcome file list is index.html. index.htm, index.jsp. In that order. Is this a clean

Re: Problems with SSL-enabled Tomcat 5.5

2007-08-31 Thread bajistaman
I'm having the same problem. Some people from my company created the Certificate Signing Request and the only thing that I've received was an email with the certificate, then I tried to install it and I had the same problems that Werner has. Do I have to do all over again from Tomcat from the

Re: Need info on IPv6 support for Tomcat in RHEL and SLES distros

2007-08-31 Thread Mark H. Wood
Well. That depends on what the application does. An application which makes no assumptions about the size of an address and does not inspect or process addresses in any way should not care whether it is dealing with IPv6. Things like the RemoteAddrValve should be checked carefully before

Re: Problems with SSL-enabled Tomcat 5.5

2007-08-31 Thread Filip Hanik - Dev Lists
you need the private key in order to run SSL, but you can import the private key, so ask the folks from your company for the private key, here is the info how you import it, someone else posted it this week http://www.agentbob.info/agentbob/79.html Filip bajistaman wrote: I'm having the same

Re: Load Balancing Tomcat 5.0.X, hardware or software?

2007-08-31 Thread Filip Hanik - Dev Lists
bajistaman wrote: And what about SSL?, it sure makes life easier to have the LB take care of it, and if you look at it from a signed certificate licensing standpoint, cheaper. verisign and the other dudes, like to charge for per-box you wish to install the cert on. it is better to let the

Re: How to profile Tomcat with Rational Purify?

2007-08-31 Thread Filip Hanik - Dev Lists
Tomcat is just another java application, nothing special at all. What I do, when I get tools for Java, is that I modify catalina.sh/catalina.bat to instead of execute the Java command, I prefix it with the echo command, so that is spits out the command line that I am running. Then I would

Re: Problems with SSL-enabled Tomcat 5.5

2007-08-31 Thread Werner Schalk
Hello, interestingly it did not work for me in the end. Basically I can import the certificate and the private key to rebuild the original keystore using AgentBob's Java code. Fine. Then when restarting Tomcat it does not complain anymore and everything appears to be fine (Tomcat says

Re: Using own index.html in $CATALINA_HOME/webapps/ROOT directory

2007-08-31 Thread Victor Lutin
Hi, Well, what web.xml file you modified? CATALINA_HOME = C:\Program Files\Apache Software Foundation\Tomcat 6.0\ 1. %CATALINA_HOME%/conf/web.xml 2. %CATALINA_HOME%/webapps/ROOT/WEB-INF/web.xml I have Tomcat 6 installed, i tried to do that, and works for me, You

Tomcat 6 JNI Re-Loading Problem

2007-08-31 Thread Matt Chambers
Hey all, I'm loading a couple classes that use native code libraries. Everything loads great the first time, but during hot deployment, tomcat complains the .so is already loaded. Is there a way to make sure the libraries get unloaded? In one of my classes I have the standard: static {

tomcat 1.4.31 hangs when app is deployed

2007-08-31 Thread Wm.A.Stafford
We are running into a problem we have never seen before. Tomcat is hanging when restarted after a war file is deployed. In the past any problems resulted in Tomcat just not starting the app and there was usually a clear indication in a log file somewhere. Because a third party manages the

Re: Problems with SSL-enabled Tomcat 5.5

2007-08-31 Thread Filip Hanik - Dev Lists
I think what is happening in your case is that the SSL handshake fails, not even sure if debug turned on would show it. (depending on what connector you are running) try removing the keyAlias (if you have it set) to let java decide on what cert in the keystore to use Filip Werner Schalk

Re: Tomcat 6 JNI Re-Loading Problem

2007-08-31 Thread Filip Hanik - Dev Lists
nope, don't think you can unload them, I wouldn't load them in the webapp, if you are doing hotdeploy, or just catch the error and ignore it on a hot deploy Filip Matt Chambers wrote: Hey all, I'm loading a couple classes that use native code libraries. Everything loads great the first

Re: context-param vs env-entry. Ready? Fight!

2007-08-31 Thread Brian Munroe
On 8/31/07, Tim Funk [EMAIL PROTECTED] wrote: Do you really want code that has nothing to do with the servlet api dependent on ServletContext? Plugging in a new jndi lookup for testing is much easier. Forgive my ignorance here, but do you mean, say, in a bean? That doesn't inherit the

Re: context-param vs env-entry. Ready? Fight!

2007-08-31 Thread Tim Funk
Sort of. I mean any java class which saves, loads, or gets data from somewhere and thus requires configuration at some time. Using IOC you can hand wave around those configuration issues and having one smarter class dependent on the servlet api which configures the rest of your beans is OK.

localhost.log vs. catalina.out

2007-08-31 Thread icet
Hi, this seems to be a very obvious question, but I couldn't find anything in the forums about it. What's the difference between those files? catalina.out contains everything localhost.log does, plus other messages? Messages related to tomcat initialization and stuff? I never used localhost.log

Running Tomcat4.x and Tomact 5.5 on same machine

2007-08-31 Thread Urvish Shah
Hi Any idea how can I run tomcat 4.1.36 and Tomcat 5.5 on the same system simultaneously? Regards Urvish - Got a little couch potato? Check out fun summer activities for kids.

RE: Running Tomcat4.x and Tomact 5.5 on same machine

2007-08-31 Thread Caldarale, Charles R
From: Urvish Shah [mailto:[EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Running Tomcat4.x and Tomact 5.5 on same machine Any idea how can I run tomcat 4.1.36 and Tomcat 5.5 on the same system simultaneously? Just configure separate ports (or IP addresses) for each instance. Examine

Downloaded 4.1.36 but says version is 4.1.35?

2007-08-31 Thread tk-2506
Downloaded it from http://tomcat.apache.org/download-41.cgi (http://apache.cs.utah.edu/tomcat/tomcat-4/v4.1.36/bin/apache-tomcat-4.1.36.zip) and the version it reports is: Aug 31, 2007 4:29:50 PM org.apache.coyote.http11.Http11BaseProtocol init INFO: Initializing Coyote HTTP/1.1 on http-80 Aug

Re: Downloaded 4.1.36 but says version is 4.1.35?

2007-08-31 Thread Brian Munroe
On 8/31/07, tk-2506 [EMAIL PROTECTED] wrote: Any idea what's going on??? The developers forgot to bump the sub version number in build.properties? Do you really need to use the 4.x series?! -- brian - To start a new topic,

Please help...

2007-08-31 Thread Mike Cronin
Hi all, I am having a problem setting up a connection-pool via JNDI on Tomcat 6.0.14 utilizing Oracle 10g. Currently I have a Resource for my DataSource referenced within a Context element within the server.xml file. The classes12.jar file which contains the Oracle Driver, exists within the

Threads in tomcat application.

2007-08-31 Thread Manivannan Palanichamy
Hi I need to design a web application that may use threads. Thats, the web application might have to read some 200 files from network. In order to speed up the process, I've decided to use threads/thread pooling. But, however I know it is not a good practice to use threads in a web/server

jsvc.pid question / Possibility of jsvc.pid collisions?

2007-08-31 Thread Ole Ersoy
Hi, I was wondering whether there is a possibility for collisions for multiple servers running with jsvc on the same machine. JSVC stores the tomcat process ID in: /var/run/jsvc.pid What if another server tried to do the same? Is this a valid concern and if so is there a way to change the