So, shooting in the dark, do you have log hosts names turned on for tomcat?
If so, is your host name resolvable?
-Original Message-
From: andrew mercer [mailto:[EMAIL PROTECTED]]
Sent: 01 October, 2002 7:47 AM
To: [EMAIL PROTECTED]
Subject: Help - why is tomcat so slow in displaying each
Just to let everyone know, I downloaded John Turner's mod_jk.so and the
problem went away (have not finished testing, however). The URL is:
http://www.johnturner.com/howto/apache-tomcat-howto.html.
Do you know that jk 1.2.0 has been released ?
I am having a problem setting up a Tomcat installation using multiple
Tomcats (two to be exact) being load balanced from one Apache. Mod_jk is
being loaded correctly. I created a file called index.jsp with the
following code:
html
body bgcolor=red
center
%= request.getSession().getId() %
I have used JSpell which is a Java app that will do web form spell
checking. As I remember you embed a spell check button in your form and
the contents are spell checked. I don't have the link.
On Tue, 1 Oct 2002, Turner, John wrote:
Does anyone know of, or have a pointer to, a software
How to use log4j with a tomcat application ?
I put the log4j.properties in WEB-INF/classes
No error but no file created (certainly rights ?)
Can i put some log in a directory of the webapp ?
Tks.
Thanks for the info. I will go back through the docs and see what may
have happened. I will let you know if I still have the issue after
perusing the docs.
Ben Ricker
On Tue, 2002-10-01 at 10:54, Henri Gomez wrote:
Just to let everyone know, I downloaded John Turner's mod_jk.so and the
Hi,
I have installed Tomcat4.0.4 (a later version also,
with similar results), on Microsoft XP. I followed the
basic installation instructions, namely setting the
JAVA_HOME and CATALINA_HOME environment variables
(system, not user env. variables), adding
C:\tomcat4\common\lib\servlet.jar;.; to
Hi Karl,
Just a shot in the dark, but are you aware that TOMCAT_HOME should be
CATALINA_HOME under Tomcat 4.1.12?
They changes it sometime after 4.1.0.
Hope this helps,
Rick
Hello all! Zoinks this list is busier than I expected! Thank you for
making yourselves available to us!
I am
Hello All,
maybe I had too much caffeine today but I can't
get my head out of this causality loop I'm
stuck in. I am using tomcat's form based
authentication against the realm and all is great except
for the fact that I am trying to improve the user
experience when they fail a login attempt.
I
Don't quote me on this, but I think you could just have your form error
page point at the login page. Then the login page would show up again on
failure.
-Mark
Vincent Stoessel wrote:
Hello All,
maybe I had too much caffeine today but I can't
get my head out of this causality loop I'm
Hi,
I added the following element in my web.xml file:
!DOCTYPE web-app PUBLIC
-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN
http://java.sun.com/dtd/web-app_2_3.dtd;
web-app
listener
listener-class
You have to call PropertyConfigurator.configure().
I have a JSP which gets run when tomcat starts.
It has a jspInit() method which calls an init class
I wrote which initializes log4j like this:
URL url = Init.class.getResource(filename);
PropertyConfigurator.configure(url);
To
Hello,
I have recently setup Tomcat 4.1.12 (for JDK 1.4) on solaris 8. I have
apache 2.0.42 which is build with openSSL and mod_jk compiled statically
into the binary. My standalone apache with SSL works great. I configured
Apache to talk to Tomcat with mod_jk lately, realised that Apache is
Please read this FAQ:
http://www.tuxedo.org/~esr/faqs/smart-questions.html
Specifically read the topic:
Don't flag your question as Urgent...
Once you have read this, please repost your inquiry.
George Sexton
MH Software, Inc.
Voice: 303 438 9585
http://www.mhsoftware.com
-Original
tks
i'm sorry but where can i find the log file ?
my logj4.properties in WEB-INF/classes:
log4j.rootCategory=DEBUG, htmlFile
log4j.appender.htmlFile.layout=org.apache.log4j.HTMLLayout
log4j.appender.htmlFile=org.apache.log4j.DailyRollingFileAppender
I didn't see this specific topic or workaround in the archives so thought I
would share - since it seems like this could be a fairly common problem. I
hope it saves someone a little time troubleshooting.
_Situation_: Attempting to run tomcat 4.0.4 as a service on NT4.0 SP6 using
You might want to take a look at this:
http://jakarta.apache.org/log4j/docs/manual.html
to get an overview of log4j.
I'd tell you more but I'm still trying to digest it, and how I can use it in
Tomcat, myself.
-Original Message-
From: Maxime Colas des Francs [mailto:[EMAIL PROTECTED]]
An even easier solution is to select the NT Service option when installing
Tomcat. Then you don't even need jk_nt_service.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 01, 2002 1:02 PM
To: [EMAIL PROTECTED]
Subject: Tomcat as service -
I use Log4j with Tomcat with no problems.
I do _not_ explicitly initialize a configurator. I simply do the following:
1. Place log4j.properties in:
$MY_WEB_APP_HOME/WEB-INF/classes
2. Create a 'logs' directory in my WEB-INF
3. EXPLICITLY set a FULL path for the log file in the properties
Mine is in tomcat/bin.
Did you scan your drive to try and find it?
Try setting TOMCAT_OPTS=-Dlog4j.debug
for tomcat3 (or use CATALINA_OPTS for tomcat 4).
It outputs lots of info which should at least show you
if the property file is getting parsed as you expect.
Also try adding a
Excellent. Thanks, Mark. I must have blown right past that when I
originally installed.
Wagoner, Mark
Hi,
If, like me, you deploy your app to many different locations, you can
use a
build and deploy tool like Ant to dynamically write out
the full path on deploy. So my actual properties file looks like this:
log4j.appender.A1.File=@logfile@
On deploy, Ant substitutes the actual full path for
My Ant script is probably overly complex, but I set up a variety of variables in my
build.properties that determine where the WebApp
will be deployed.
I also have in my project directory, a directory called 'conf' which holds all my
config files--log4j.properties, web.xml, etc...
On deploy,
Hi,
filter token=logfile
value=${deploy.webapproot}/${deploy.appdir}/WEB-
INF/logs/${deploy.logfilename} /
That's exactly what I was looking for. We do similar stuff, but I see
that the filterset / filter token approach is more elegant. Thanks,
Yoav Shapira
Millennium
On Tue, 1 Oct 2002, Anil Shinde wrote:
Hello,
I have recently setup Tomcat 4.1.12 (for JDK 1.4) on solaris 8. I
have apache 2.0.42 which is build with openSSL and mod_jk compiled
statically into the binary. My standalone apache with SSL works
great. I configured Apache to talk to Tomcat
help with this problem
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Hi everyone,
I've got a strange problem that may be browser related or could be due to my
development environment. I couldn't find any reference to this problem
occurring for anyone else when I dug around the archives, but I'm hoping
that some experienced person will recognize what may be
I keep getting java lang out of memory error even i set
-Xmx to 64 meg. Does anyone know how to solve this problem?
I am using jdk 1.4 Tomcat 4.1
We'll probably need more information... what are trying to do? Does it
happen immediately, or minutes/hours/days/weeks down the road? What OS are
you running it on? etc.
Mike
- Original Message -
From: Roger Ting [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Sunday, September 29, 2002
Roger,
As I seem to recall, 64 Meg is the default max for the java VM. So you
probably have to go beyond 68M.
Another thing could be memory leaks, i.e. memory not reclaimed by the
garbage collector. Unless you have a fairly good explanation why you need
more than the 64Mb, I would consider
SunOS 5.8, java 1.3.1_01, tomcat 4.0.5
When I run shutdown.sh, it completes but the java process remains.
It does not respond to calls either. A hard kill had to be done on the
process.
How might I debug the problem? I'd like shutdown to work for automatic
restarts, etc.
Thanks.
Tom Sherrod
Do a kill -3 (I think) on the java process to get a thread dump after
the incomplete shutdown. It will tell you the threads that are still
running. Look for the non-daemon threads. The kill results usually go to
standard output of the java process.
The JVM does not shutdown until all
http://www.theserverside.com/home/thread.jsp?thread_id=15802
V.
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Hi!
I have a tomcat 3.3.1 server with two contexts, root (default) and
c1, both of them have its own WEB-INF/lib directory. The file j0.jar
is copied in each WEB-INF/lib directory but when the server starts the
server indicates a ClassNotFoundException but the class in in j0
Hi,
it seems to works but my last problem is
log4j:ERROR setFile(null,true) call failed.
java.io.FileNotFoundException:
/usr/local/tomcat/webapps/myapp/WEB-INF/logs/app-log.html (Permission non
accordée)
at java.io.FileOutputStream.openAppend(Native Method)
at
maybe you should give it to the lib directory of tomcat itself
At 14:56 01.10.2002 -0400, Rafael Angarita wrote:
Hi!
I have a tomcat 3.3.1 server with two contexts, root (default) and c1,
both of them have its own WEB-INF/lib directory. The file j0.jar is
copied in each WEB-INF/lib
Hi all ,
I am new to tomcat administration. I have a JSP - Servlet architecture
application , which works fine when I copy my JSP pages to
Catalina_Home/webapps/ROOT directory and the servlets to
catalina_home/classes/ directory.
Now , we have put this application into CVS repository. I
I took Henri Gomez's request and tried to download the binary mod_jk
from the site he mentioned. I got the same undefined symbol. As I am
using Redhat 7.1 for my Apache server, I decided to take another
person's advice and built mod_jk from source following the JK
documentation.
I still get the
-Original Message-
From: Ignacio J. Ortega [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 01, 2002 9:15 AM
To: Tuan H. Le
Subject: RE: Tomcat -- JDBC --- SQL Server Connection refused
This is a user question, use [EMAIL PROTECTED] instead..
Saludos ,
Ignacio J. Ortega
Why do you say this? You can call the j_security_check service from
any jsp page, whether its the one defined in the login attribute of
web.xml or not.
html
head
titleLogin Page for Examples/title
body bgcolor=white
form method=POST action='%= response.encodeURL(j_security_check) %'
table
I had the same problem, and my solution was putting my jar file in the lib
Tomcat, but I think that this is not the best solution...
From: Thomas Eichberger [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
CC: [EMAIL PROTECTED]
Subject:
Sun OS 5.8. The funny thing is if i use Tomcat 1.3, this doesn't occur at
all. But in my case, i need to use jdk 1.4 for cocoon 2.0.3.
This is the source of headache. After i installed Cocoon, it is even worse.
Out of Memory error just completely killed
Tomcat. It is possible to use Tomcat with
Did you installed the solaris 8 patches for jdk1.4?
Roger Ting wrote:
Sun OS 5.8. The funny thing is if i use Tomcat 1.3, this doesn't occur at
all. But in my case, i need to use jdk 1.4 for cocoon 2.0.3.
This is the source of headache. After i installed Cocoon, it is even worse.
Out of
We are currently using Tomcat 4.0.3, mod_jk, Sun JDK 1.4 on Redhat Linux
7.2. We are getting the following errors in the mod_jk.log file under load
of about 20 users. The system seems to run OK for a few days and then it
becomes unresponsive and slow. Restarting apache/tomcat fixes the problem
What is the URL that causes the 400 error?
Also, is this a typo in your message, or is this really in your
conf/workers.properties file?:
# Send servlet for context /examples to worker named worker1
JkMount /examples/servlet/* oadbalancer
If so, you are missing the l in
Thought I will repost the same message .
Any help?
-Original Message-
From: Ibrahim Shaik [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 01, 2002 12:02 PM
To: Tomcat Users List
Subject: Configuring Tomcat to read from CVSCheckout Directory
Hi all ,
I am new to tomcat
On Tue, 2002-10-01 at 14:59, Michael Schulz wrote:
What is the URL that causes the 400 error?
Dangit...forgot to include that:
hostname:8080/index.jsp
Apache is listening on 8080 as I test this new setup. I have Tomcat
listening on 80 now.
Also, is this a typo in your message, or is this
I believe that this is controlled by the maxProcessors in the Connector
element in your server.xml file
d.
Tomcat Forum wrote:
Hi Everybody,
Iam having some problems with simutaneous users on the Tomcat 4.0
server. I have made a java client for testing Tomcat with multiple
users.
I didn't see the contents of your server.xml file in the original post, but
what I'm seeing is that apache is correctly sending the request to tomcat
(because of the JkMount), tomcat is analyzing the request and deciding that
it cannot process the request, and sending the 400 back to apache, and
I do not know what I have done wrong this time, but I have installed
tomcat at least 50 different times on Solaris 8, but this time I have
this problem.
Here is what the log says when I first start the server, as root, on
port 80:
[INFO] Http11Protocol - -Initializing Coyote HTTP/1.1 on
Hi
I try to load a servlet during webapp first loading and :
== /usr/local/tomcat/logs/catalina.out ==
Exception during startup processing
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
for mysql jdbc driver, I just copied mysql-connector-java-2.0.14-bin.jar
to the tomcat/common/lib directory and restart tomcat. the application
can find the driver without a problem. Is this the right way to install
the jdbc driver? or shall it copy it to the application's own
WEB-INF/lib
Hmmm, so you are saying that I can point form-error-page to the
login page? I will try this.
Mark R. Diggory wrote:
Why do you say this? You can call the j_security_check service from
any jsp page, whether its the one defined in the login attribute of
web.xml or not.
html
head
Hi Chuck,
What version of Tomcat and the JDK? If you are not running JDK 1.4, are you
sure you didn't get the lightweight version of Tomcat? It only works with
JDK 1.4.
Rick
- Original Message -
From: Chuck Carson [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent:
I was trying jdk 1.4.1, I now rebuilding with 1.3.1_04. I am pretty sure
I got the full version of tomcat:
Jakarta-tomcat-4.1.12-src
I used 'ant dist' to build everything.
Any ideas?
Thanks,
CC
-Original Message-
From: Rick Fincher [mailto:[EMAIL PROTECTED]]
Sent: Tuesday,
I just had a run in with the problem that other people
seem to be experiencing, and I think I have solved it.
Problem
---
After a default installation of Tomcat 4.1.12, after
starting Tomcat, it immediatley shuts down before you
can see any backtrace in stdout (console window), and
there is
Just another point on this.
I had the same problem, and upon investigation found that the two files
on the tomcat site (as of yesterday anyway) are identical, and I think
are both the eapi versions.
I recompiled manually from the sources and the problem went away.
-Original Message-
Hi Frank,
Putting it in the common/lib directory is the correct place for it if you
want it accessible by Tomcat and alll your web apps. That way you don't
have multiple copies of your JDBC driver cluttering up your system. Put it
in WEB-INF/lib makes it available to only that web app.
This
Does anyone run into this problem when building on Solaris.
About 75% into the build process is starts crapping out on *.xml files.
For example:
Docs:
snip
[style] Failed to process
/root/TOMCAT/jakarta-tomcat-connectors-4.1.12-src/jk/xdocs/jk/neshowto.x
ml
BUILD FAILED
Hi Chuck,
I haven't tried a build of 4.1.12. Can you use the binary? I'm using the
binary with no problems on Solaris 8.
Also, do you have any servlets running? Are you aware of the change that
disables the servlet invoker by default for security reasons?
Rick
- Original Message -
Hi all,
I'm getting a 404 (using builtin webserver on port 8080) when trying to
open a dir containing an application. Here's my Host container:
Host name=www.cse.psu.edu debug=0 appBase=/home/www
unpackWARs=true autoDeploy=true
And Context container:
Context path=/cse411
I am just trying to connect to a cherry install of tomcat 4.1.2. I just
tried it with jdk1.3.1 and same problem. I guess I can play with the
binary distribution, but a binary distribution is what I am building.
Oh well. I was wanting to use 4.1.2 in hopes that memory management was
improved
I have a jsp form that is being forward from a login page
that is doing validation from a database.
Is there any way to just to see the previous page
As I understand it, you have a JSP page that isn't to be seen until the user
logs in, so you forward the request to a login page. You want to
Is it a bug that tomcat can't recognize oracle's classes12.zip
even though I installed it in the common/lib?
thanks,
frank
On Tue, 1 Oct 2002, Rick Fincher wrote:
Hi Frank,
Putting it in the common/lib directory is the correct place for it if you
want it accessible by Tomcat and alll your
I've been happily using tomcat 4.0.4 for a while, and thought I'd upgrade to
version 4.1.12. Alas, I cannot get tomcat to find my Oracle JDBC driver
when I use 4.1.12. It worked fine in 4.0.4.
Any ideas what might be wrong?
My classes12.jar is in common/lib where it is supposed to be. It's
Rename your file to classes12.jar and restart tomcat.
Regards
Zeeshan
- Original Message -
From: Frank Liu [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Tuesday, October 01, 2002 3:12 PM
Subject: Re: JDBC Driver Installation
Is it a bug that tomcat can't recognize
This is actually a documented behavior - see
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jndi-datasource-examples-how
to.html and look in the section on Oracle 8i, paragraph zero.
-- bob
--
Robert Herold
Cotagesoft, Inc.
650 474 9013 x808
-Original Message-
From: [EMAIL
Hi Everyone!
I've written quite a long post regarding some problems I'm having with
getting a chat server servlet to work under Tomcat on an NT system. As I'm
aware many of you wouldn't be able to help me, rather than sending the whole
thing to the list I've put it up on the web for those who
Has anyone seen this. I'm getting a parse error on my TLD that says the teiclass is
not a valid element.
Maybe it is the same problem as with the Windows ones.
Having to do with /conf/web.xml. If any webapp
contexts are defined in there and the directory does
not exist, Tomcat appears to crap out on startup w/o
so much as a trappable error message or anything in
/log.
in your ${catalina.home}/bin
Still no luck tried upgrading to -tomcat-4.0.5-LE-jdk14 but still the
same issue. Everything looks like it initializes just fine and the file
(index.html) is there but tomcat can't retrieve the file for delivery.
If anyone has any insight I desperately need it.
Creating engine
Creating host
When will the RPMs for 4.1.12 be available?
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
thanks for the url, that's very helpful.
I must have missed that while I was on the site. Somehow, I had
the impression JNDI is ldap stuff.
frank
On Tue, 1 Oct 2002, Robert Herold wrote:
This is actually a documented behavior - see
On Tue, Oct 01, 2002 at 12:46:43PM -0500, Milt Epstein wrote:
It's probably a matter of putting the right jk directives in the right
place in your apache httpd.conf file. Maybe now you have them in the
section that applies to the root server, and not to the SSL virtual
host; you may have
Check the version of xalan and xerces being used by Ant.
I had similar problems with some older versions of these.
I have no problem with the latest releases of both of the above.
Chuck Carson wrote:
Does anyone run into this problem when building on Solaris.
About 75% into the build
Hi Chuck,
4.1.12 should be better than 4.0.4, particularly if you run it under the
server version of the JDK under Solaris 8 and incremental garbage collection
(-Xincgc). See http://java.sun.com/products/hotspot/docs/general/hs2.html
for info on the server VM.
Rick
- Original Message
Hi Frank,
If renaming it to jar and putting it in common/lib/ doesn't work, unzip it
and put the files in common/classes/.
Rick
- Original Message -
From: Frank Liu [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Tuesday, October 01, 2002 6:12 PM
Subject: Re: JDBC
Hi Frank,
That's only for container managed security realms. The JNDI realm looks in
an LDAP database, while the JDBC realm looks in a database for login info
using a JDBC driver that you supply.
The nomenclature is confusing since JNDI can be used to find data sources
for non-login database
anyone who can suggest to me what JDBC Driver to use for MS Access 2000
running in WIN2000?
thank you...
r/glinn
Rick Fincher wrote:
Hi Frank,
That's only for container managed security realms. The JNDI realm looks in
an LDAP database, while the JDBC realm looks in a database for
Usig Access as a DB will be lead to an endless amount of frustration.
FoxPro is ok, MS SQL is great. I use pgSQL from postgres.org.
V.
Glinn Cortez wrote:
anyone who can suggest to me what JDBC Driver to use for MS Access 2000
running in WIN2000?
thank you...
r/glinn
Rick
I'm getting the same error with MySQL and I've seen posts for
PostgreSQL, MySQL and Oracle. I have followed all suggestions with no
luck except for one case - the example given in the JNDI - How To works
for me. The example is using standalone Tomcat and that works. As soon
as I use
httpd: module mod_jk.c is not compatible with this
version of Apache (found 20020612, need 20020903).
Please contact the vendor for the correct version.
I tried compiling different mod_jk's from jakarta
site, but still get the same error. I am running
apache 42, new compile and trying to compile
mod_jk will do exactly what you have described as your desire.
a simple directive like JkMount /*.jsp ajp13
will cause all .jsp files to be served by Tomcat, everything else goes to
Apache.
Sigurður Bjarnason [EMAIL PROTECTED]
10/01/2002 06:21 AM
Please respond to Tomcat Users List
Hi all,
Say I have the following folder.
$TOMCAT_HOME/webapps/examples
$TOMCAT_HOME/webapps/samples
I want to set 2 virtual hosts such that they will serve any JSP as
follow.
http://examples.abc.com/index.jsp --
$TOMCAT_HOME/webapps/examples/index.jsp
http://samples.abc.com/index.jsp--
I feel your pain John, frustration with poor documentation is always a big
sore spot. But let's not line them all up and shoot them just yet, ok.
They still need to get Tomcat 5 out the door. ,-)
We can only hope that Tomcat-dev (who is reading this list, I hope) will
set up some sort of
Assuming that you are using Apache + mod_jk and you want to use SSL you
can try this.
# Configure mod_jk
#
JkWorkersFile /usr/local/jakarta-tomcat/conf/workers.properties
JkLogFile /usr/local/apache/logs/mod_jk.log
JkLogLevelwarn
# First Virtual Host.
#
First thing you do is let us know what OS you are using.
Luminous Heart [EMAIL PROTECTED]
10/01/2002 08:46 PM
Please respond to Tomcat Users List
To: Tomcat Users List [EMAIL PROTECTED], [EMAIL PROTECTED]
cc:
Subject:tomcat 4.1.12 with apache2.0.42 and
Hello all. Cache question. I have a jsp form that is
being forward from a login page that is doing
validation from a database. The jsp form has buttons
and a click on each specific button will set a hidden
input a specific value and and the action will go to
another jsp page, where depending on
101 - 188 of 188 matches
Mail list logo