Re: deploying war file and Document base ... does not exist

2002-09-01 Thread Daniel Kehoe
I found the answer by carefully reading http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/host.html in the section Automatic Application Deployment. Tomcat 4.1+ will automatically deploy myapp.war if the myapp.xml file contains Context path=/myapp docBase=myapp.war debug=5 reloadable=true

Tomcat 4.0.4 under Windows NT crashes: memory cannot be read

2002-09-01 Thread Jocelyn Paine
I'm using Tomcat for Java and JSP in a large server-side application under NT4. Most of it works fine, but in a few parts of the application, Tomcat crashes: Application Error. The instruction at memory address referenced memory at memory address. The memory cannot be read. This error is

Re: deploying war file and Document base ... does not exist

2002-09-01 Thread Jacob Kjome
Hmm.. .That's not even close to accurate. Daniel is using a Context Configuration File which may contain a Context ... element and make it so you don't have to modify the server.xml. As far as the unwarring, Tomcat actualy will not* automatically expand webapps which have a defined context

Startup-Problems: Tomcat 4.0.4 binary on Linux w/J2SDK 1.3.1

2002-09-01 Thread Kilian
Hi all, I am trying to run the binary distribution of Tomcat 4.0.4 with the Sun j2sdk 1.3.1_04 on Linux 2.4.16. $JAVA_HOME and $CATALINA_HOME are set, port 8080 is free but when I execute $CATALINA_HOME/bin/startup.sh, I get: Using CATALINA_BASE: /usr/local/jakarta-tomcat-4.0.4 Using

HELP!! tomcat 4.0.4 shutdown problem

2002-09-01 Thread Anand Parikh
I am using Tomcat 4.0.4 with JDK 1.3 on Debian Linux 2.2.6. Tomcat starts OK with startup.sh. On shutdown with shutdown.sh, there are no error messages on the xterm. Subsequent startup does not succeed. I have searched the newsgroups and this mailing list but I cannot find a solution to this

Re: Startup-Problems: Tomcat 4.0.4 binary on Linux w/J2SDK 1.3.1

2002-09-01 Thread Tim Funk
1) A java process in linux shows up many times with ps or top (because of multiple threads) 2) See logs/catalina.out for an error message. There is propably a misconfig in server.xml or another run time error the tomcat cannot recover from. In any case the logs/catalina.out captures

altering the request URI in a filter

2002-09-01 Thread jfc
Hi, Tomcat 404, jdk1.3: Is it possible to alter the request's URI after authentication but before the request is delegated to a Struts action mapping? I would like to be able to strip a string from the request URI which is there solely for the purposes of enforcing the web container to

Re: deploying war file and Document base ... does not exist

2002-09-01 Thread Jacob Kjome
Yes, but now you are constrained by the fact that the app is running directly from myapp.war which means that you have no filesystem access to your webapp. For instance, the following will return null in your setup... String contextPath = getServletContext().getRealPath(/); This is because

installing a war file to tomcat-4.0.4

2002-09-01 Thread Antoine Solomon
I have a problem installing a simple war file to my webapps directory. I successfully install the deploy this war file using the localhost:8080/mamager/install?path=/testwar=jar:file:/test.war!/ and the server tells me that everything is ok. But when I go and access my servlet, I get a

getConnection() returning a NULL JDBC driver

2002-09-01 Thread Robert Dunn
Hi all, I am attempting to get a connection to the JDBC entry from the server.xml file and keep getting the error Cannot load JDBC driver class 'null'. The error occurs when I attempt to call ds.getConnection();. I have placed all of the Interbase JAR files in the Common\Lib directory; Do I need

JNDI woes

2002-09-01 Thread John Walstra
I'm trying to use JNDI. I followed the JNDI HOWTO on the Tomcat web site, but I'm getting errors. This is the error message I'm getting. javax.naming.NamingException: Cannot create resource instance at

Re: Tomcat 4.0.4 under Windows NT crashes: memory cannot be read

2002-09-01 Thread Randall R Schulz
Jocelyn, That's not a Tomcat problem. The diagnostic you're seeing is indicative of a problem in the JVM or a native library or of some flaw external to the whole Tomcat / JVM complex (hardware or driver, e.g.). Short of a bug in the bytecode interpreter, the JIT translator or other code

Re: getConnection() returning a NULL JDBC driver

2002-09-01 Thread Rosdi bin Kasim
Robert, First of all.., I am using Oracle and Tomcat 4.1.9, so my answer might not apply to your problem.. I got the same error like yours.. but after I removed all reference to the datasource in web.xml and then I declared a ResourceLink like this in my server.xml my program is running

Re: Tomcat 4.0.4 under Windows NT crashes: memory cannot be read

2002-09-01 Thread Randall R Schulz
Jocelyn, I didn't read enough or carefully enough. You really ought to get a more up-to-date version of the JRE or SDK. I recommend 1.4.0_01 or 1.3.1, but using 1.2 at this point is not a good idea. By the way, how do you (or your colleague) you get Tomcat to run as a service? Via Apache?

RE: error compiling jakarta-tomcat-connectors

2002-09-01 Thread Barr, Scott [IBM GSA]
I had the same issue, so commented out all the exceptions in the throws clause except for IOException. This allowed it to compile. Still haven't got the connector to actually work though, getting JkMount not recognised, when starting. Same old, same old :] Scott -Original Message-

Re: Tomcat SSL without plaintext Certificate-Keyphrase

2002-09-01 Thread Bill Barker
Henning Meyer [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hello, I want to set up a Tomcat Server, without having the SSL keyphrase a plaintext readable for the Tomcat-running user. At this time I think it has to be in the config.xml-file. Is there a

One file not being compiled :'(

2002-09-01 Thread Josh G
Hi, for some reason, one file in my project is not being compiled. All others in the directory are, but this one is not. I don't get any error messages, it just doesn't get compiled, javac doesn't even look at it. I'm building with ant. Anybody know what I've got wrong? -- -Josh And can

Re: One file not being compiled :'( - FIXED

2002-09-01 Thread Josh G
Gah never mind... my frigging editor (jedit) was displaying the type as .java, but it was .Java -- -Josh And can you tell me, doctor, why I still can't get to sleep? And why the Channel Seven chopper chills me to my feet? And what's this rash that comes and goes, can you tell me what it

Re: One file not being compiled :'(

2002-09-01 Thread da_alchemist
Umm... it is kind of hard to diagnose an ant build file without being able to see it... maybe you should post it and someone may be able to help you... Thanks. --- Josh G [EMAIL PROTECTED] wrote: Hi, for some reason, one file in my project is not being compiled. All others in the

Tomcat Clustering.

2002-09-01 Thread Luminous Heart
Greetings, I have a cluster of 3 tomcats running on linux box. I have the three tc4.0.4 instances in a loadbalancing mode. The problem is when one fails none of the others pick up and my app wont serve any requests untill I shut the faulty tc. Only at that point one of the other two will work.

Re: altering the request URI in a filter

2002-09-01 Thread Bill Barker
jfc [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hi, Tomcat 404, jdk1.3: Is it possible to alter the request's URI after authentication but before the request is delegated to a Struts action mapping? The beauty of Filters is that anything is possible

Re: Index.html/default welcome file

2002-09-01 Thread Bill Barker
If you are really using WEB_INF instead of WEB-INF, then your ROOT context is probably not loading correctly. [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... We are running tomcat/catalina as a thread/embedded. For some reason even though we have in the

Tomcat goes out of memory

2002-09-01 Thread # Lalit Nagpal #
hello friend, Every next day or after 2 days i find tomcat is down and error thrown is (in catalina.out file of tomcat) java.lang.OutOfMemoryError no stack trace available What am i supposed to do, increase memory if yes how. please guide ... thanks for the same. Warm Regards Lalit Nagpal

Authenticating by certificate

2002-09-01 Thread Shimon Crown
I wish to authenticate users by means of PKI certificates based on information stored in an LDAP server (a bit vague here but I am not sure exactly what I need to store - is it the issuing authorities certificate or a copy of the certificate presented by the client {less likely} or maybe just

Re: installing a war file to tomcat-4.0.4

2002-09-01 Thread Antoine Solomon
I tried using the reload command but get the same results.. Using the list command shows me all current web applications running here is a list OK - Listed applications for virtual host localhost /HelloWorld:running:0 /manager:running:0 /examples:running:0 /tomcat-docs:running:0