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
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
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
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
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
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
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
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
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
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
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
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
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
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?
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-
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
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
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
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
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.
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
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
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
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
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
25 matches
Mail list logo