You will need to be aware of a little bit about how
classloaders behave. Tomcat will create a webapp
classloader that includes WEB-INF/classes and the jars
WEB-INF/lib. In Tomcat 3.2.x, a parent of this webapp
classloader is the CLASSPATH classloader. As the parent,
classes in the webapp
Ronen,
The biggest issues I have seen are
1. Tomcat 4 strictly adheres to the DTD for the web.xml for web applications
where as some version of Tomcat 3 did not. The DTD for the web.xml is
specfied in the Servlet specs available at
http://java.sun.com/products/servlet/download.html. I do not
Hi Ronen,
We just completed the upgrade ourselves. For our applications, we are getting
MUCH better performance with Tomcat 4.1. We had an issue with CPU usage
constantly increasing over time with 3.2.4, which seemed to go away with 4.1.
The upgrade wasn't too bad, we just installed 4.1,
I performed your taskk without any trouble.
3.2 is running on port 8080, 4.1. on 8090. You just
have to change the file server.xml to define the new port.
Both versions are running in parallel. They've been
installed in /usr/local/tomcat3 and /usr/local/tomcat4
Carsten
Am Montag, 25.11.02, um
If your docBase is set to /net/webapps then what
you describe should work. If your docBase is set to
/net/webapps/test, then the .. in your include
is trying to go outside of the webapp, which is not
allowed.
Cheers,
Larry
-Original Message-
From: Steve [mailto:[EMAIL PROTECTED]]
My docbase is set to /net/webapps
Still gives me bad argument to include file
Steve
--- Larry Isaacs [EMAIL PROTECTED] wrote:
If your docBase is set to /net/webapps then what
you describe should work. If your docBase is set to
/net/webapps/test, then the .. in your include
is trying to go
PLEASE REMOVE ME FROM YOUR MAILING LIST.I DO NOT KNOW WHO YOU ARE... THANK
YOU...
- Original Message -
From: Larry Isaacs [EMAIL PROTECTED]
To: 'Tomcat Users List' [EMAIL PROTECTED]
Sent: Wednesday, June 05, 2002 7:48 AM
Subject: RE: Tomcat 3.2 : Include File Paths
If your docBase
: Tomcat 3.2 : Include File Paths
PLEASE REMOVE ME FROM YOUR MAILING LIST.I DO NOT KNOW WHO YOU ARE... THANK
YOU...
- Original Message -
From: Larry Isaacs [EMAIL PROTECTED]
To: 'Tomcat Users List' [EMAIL PROTECTED]
Sent: Wednesday, June 05, 2002 7:48 AM
Subject: RE: Tomcat 3.2 : Include File
I don't know why it wouldn't work other than due
to a simple typo.
Larry
-Original Message-
From: Steve [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 05, 2002 10:48 AM
To: Tomcat Users List
Subject: RE: Tomcat 3.2 : Include File Paths
My docbase is set to /net/webapps
: RE: Tomcat 3.2 : Include File Paths
My docbase is set to /net/webapps
Still gives me bad argument to include file
Steve
--- Larry Isaacs [EMAIL PROTECTED] wrote:
If your docBase is set to /net/webapps then what
you describe should work. If your docBase is set to
/net
work other than due
to a simple typo.
Larry
-Original Message-
From: Steve [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 05, 2002 10:48 AM
To: Tomcat Users List
Subject: RE: Tomcat 3.2 : Include File Paths
My docbase is set to /net/webapps
Still gives me bad argument to include
: RE: Tomcat 3.2 : Include File Paths
My docbase is set to /net/webapps
Still gives me bad argument to include file
Steve
--- Larry Isaacs [EMAIL PROTECTED] wrote:
If your docBase is set to /net/webapps then what
you describe should work. If your docBase is set to
/net
I use tomcat 3.2.4 and haven't noticed this problem. Not sure about the
earlier versions of 3.2.x.
Brandon
-Original Message-
From: Daniel Bruce Lynes [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 19, 2002 11:13 AM
To: [EMAIL PROTECTED]
Subject: Tomcat 3.2.x
I'm curious as to
I was under the impression that you need to rename your zip files to jar
files to get Tomcat 3.2 to load them. At least that's what I have
noticed in using Tomcat 3.2 with JBuilder.
Robert Nocera
New England Open Solutions
www.neosllc.com
You supply the Vision. We will do the rest.
Never mind, I finally found it, in the deployment section of the online docs
for 3.2.
Add a context entry to server.xml, etc.
Sorry about the static.
- Original Message -
I wrote:
I seem to recall several posts on this, but can't figure out how to get
them
from the archive, and I
Glanced at the catalina.out log
Any idea the source of this error.
Apache Tomcat/4.0.1
PARSE error at line 1 column 10
org.xml.sax.SAXParseException: Element type web-app must be declared.
PARSE error at line 95 column 12
org.xml.sax.SAXParseException: The content of element type web-app must
:[EMAIL PROTECTED]]
Sent: Tuesday, December 11, 2001 11:48 AM
To: Tomcat Users List
Subject: Re: tomcat 3.2 to 4.0
Glanced at the catalina.out log
Any idea the source of this error.
Apache Tomcat/4.0.1
PARSE error at line 1 column 10
org.xml.sax.SAXParseException: Element type web-app
I looked at 3.3 and it looked considerably different than 3.2 to me. I was
able to upgrade my servlet applications to 4.0 with general ease. The
directory structures for sure are much more similar between 3.2 and 4.0 than
they are between 3.2 and 3.3. But then only been at this for a short
I've recently upgraded from 3.2 to 4.0.1. Wasn't very painful. Did it
in one day. Had to change taglib .tld files which contained the
xmlns attribute within the taglib tag to instead use the
DOCTYPE tablib .. form instead.
Also had to get latest Warp stuff to get around a servlet file upload
The main advantages of Tomcat 3.3 over 3.2.x is its
performance, stability, and configurability. The improvements
do lead to differences, so there is some learning involved
when upgrading.
For example, Tomcat 3.2.x puts auto-generated config files for
Apache, etc. in the same conf directory
There's not enough info to tell, but it looks like the MySQL driver and TC
4.0.1 are working correctly. Are you using the security manager that comes
with TC 4?? If so, you need to modify catalina.policy to allow this
connection.
--David Smith
On Wednesday 31 October 2001 09:51 am, you
Hi David,
I've started tc 4.0 with the init script. I'm not sure whether tomcat is
started with -security or not.
Which modifications are needed? How do these look like?
Christian
David Smith wrote:
There's not enough info to tell, but it looks like the MySQL driver and TC
4.0.1 are
Hi Reid,
ups...i'm so nutty ;-).. of course, the privileges...
Thanks,
Christian
Reid Beckett wrote:
This doesn't sound like a problem with Tomcat configuration. It has
something to do with the mysql user privileges. Assuming the dbURL,
username, and password are correct, the user may
I didn't install from RPM, so I don't know what the init script looks like.
It might or might not start the security manager. If Reid's suggestion to
check the MySQL permissions doesn't help, check out the comments at the
bottom of catalina.policy for how to set security permissions for the
Having XML parser/XSLT conflicts is a known issue in Tomcat 3.2.
I believe the saxon.jar would need to go in TOMCAT_HOME/lib.
If Tomcat won't start, perhaps a more compatible XML parser
that the current xerces.jar could be found. If not, I think
you are out of luck with Tomcat 3.2.x. Without
I use Webstar 4.4, which will interface (redirect url) with Tomcat.
I'm still trying to solve my link error, I'm wondering if anyone on this list
has insight into this. Tomcat 3.2:
I was advised to start tomcat with
-Djava.library.path={path to shared lib}
I looked through tomcat source, and
Just curious...
What web server would you hook Tomcat up to... It's not like Apache works
on Mac OS 9.x...
if it's for stability then coose a apache/tomcat combination. it's
definately more stable and also faster than using tomcat standalone.
i know this wasn't your question, but i definately didn't have good
experiences with tomcat standalone. i think it's main purpose is for
testing.
-Original
Laurens Fridael at [EMAIL PROTECTED] wrote:
Hi,
Which is better for standalone usage? Tomcat 3.2 or 4.0 beta6 ? Stability is
my most important consideration.
I know Tomcat 4 is still beta but I read that it already performs well.
Without ANY whatsoever doubt... 4.0.
I'm currently
Hi,
Just replace Classic VM with HotSpot Server VM.
Best regards
Dalibor
[EMAIL PROTECTED]
__ Reply Separator _
Subject: Tomcat 3.2
Author: [EMAIL PROTECTED] (Deniz Gülmez [EMAIL PROTECTED])
at INTERNET
Date:
HI Tom:
try increasing the memory available to shell in which your tomcat server is
running(on popup window in case ur using defaults)
It might work
Hemant
- Original Message -
From: Tom Amiro [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Sunday, June 03, 2001
D,
Did you find a resolution to this? I am experiencing the same issue. Load
keeps rising over a period of time until the machine can no-longer take
requests.
ENV:
Sparc Sol 2.6
Tomcat 3.2.1
Java j2re1_3_0_02
Apache 1.3.17 Using mod_jk
Anyone know where to look?
Jason Maderios
Read the 3.2.1 release notes doc
(http://jakarta.apache.org/tomcat/jakarta-tomcat/src/doc/readme) and see if the 6.11
issue in there applies
to your configuration.
Donnie
[EMAIL PROTECTED] 03/22/01 11:06AM
D,
Did you find a resolution to this? I am experiencing the same issue. Load
s our name on it.
TY!
Jason Maderios
-Original Message-
From: DONNIE HALE [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 22, 2001 11:17 AM
To: [EMAIL PROTECTED]
Subject: RE: Tomcat 3.2 CPU utilization
Read the 3.2.1 release notes doc
(http://jakarta.apache.org/tomcat/jakarta-tomc
Have you specified the JAVA_HOME directory in the tomcat.bat file?
set JAVA_HOME = C:\jdk1.2.2\
Have you installed the isapi_redirect.dll in IIS?
Are you specifying the http://server:8080/ in your URL?
I just installed it and works fine for me.
-Original Message-
From: Schmid, Klemens
ubject: RE: Tomcat 3.2 IIS 5.0
Have you specified the JAVA_HOME directory in the tomcat.bat file?
set JAVA_HOME = C:\jdk1.2.2\
Have you installed the isapi_redirect.dll in IIS?
Are you specifying the http://server:8080/ in your URL?
I just installed it and works fine for me.
-Origin
Carlos,
Thanks. This is interesting. Can you explain what the effect of
Thread.setContextClassLoader() is? Does it make classes from the
WEB-INF/lib and WEB-INF/classes area avaiable to classes loaded by
the boot class or system class loader?
Andrew
-Original Message-
From: Carlos
On Thu, 15 Mar 2001, Andrew Gilbert wrote:
Carlos,
Thanks. This is interesting. Can you explain what the effect of
Thread.setContextClassLoader() is? Does it make classes from the
WEB-INF/lib and WEB-INF/classes area avaiable to classes loaded by
the boot class or system class loader?
You can make them visible, but the class from the boot classloader or
system classloader has to know what to do -- it calls
Thread.getContextClassLoader() to get the class loader for the current
thread, and asks *that* classloader to create the new object, instead
of
using the "new" operator.
Read the 3.2.1 release notes doc
(http://jakarta.apache.org/tomcat/jakarta-tomcat/src/doc/readme) and see if the 6.11
issue in there applies
to your configuration.
Donnie
[EMAIL PROTECTED] 03/12/01 05:26AM
Hi there.
I notice a few people have claimed to see high cpu utilisations when
Very much obliged. That looks like a definite possibility.
Regards
D I Macdonald
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]
To be exact it takes 12 minutes to login (=create session) when running Netscape
browser and the TOMCAT servlet engine on the same machine.
Axel Lannion/France
-Original Message-
From: Bartsch Axel [SMTP:[EMAIL PROTECTED]]
Sent: mercredi 28 f vrier 2001 14:34
To: [EMAIL
i believe this has something to do with the SecureRandom that's userd by
tomcat to create sessionid's. the initialisation takes quite long but only
the first time. try accessing the servlet from another computer or user
another browser! netscape's behavior is not really suitable if the test
It would appear to me that you are trying to create an instance of a
class (using Class.newInstance()) that doesn't have a matching contructor to
how you are trying to load it. If I remember correctly, newInstance only
works with No-Argument constructors. Check for this, and if its not
It would appear to me that you are trying to create an instance of a
class (using Class.newInstance()) that doesn't have a matching contructor
I never call Class.newInstance() at all in my code.
maybe Jasper is generating this call?
How do I check this, and how do I stop it from
will help
solve the problem.
Randy
-Original Message-
From: Rajnish Bhaskar [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 12, 2001 10:01 AM
To: [EMAIL PROTECTED]
Subject: RE: Tomcat 3.2 throwing a VerifyError at me
It would appear to me that you are trying to create
An easy way to find it is to introduce an error in the JSP and look at
Jaspers error message, which includes the full path to the file.
-Original Message-
From: Randy Layman [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 12, 2001 9:38 AM
To: [EMAIL PROTECTED]
Subject: RE: Tomcat 3.2
PROTECTED]]
Sent: Thursday, February 01, 2001 6:36 PM
To: [EMAIL PROTECTED]
Subject: RE: Tomcat 3.2 admin app
What is your enviroment???
Try going to port 8080 where Tomcat is actually listening..
something like this
http://localhost:8080/admin
The admin index page should come up
What is your enviroment???
Try going to port 8080 where Tomcat is actually listening..
something like this
http://localhost:8080/admin
The admin index page should come up!!
Stefan
But whats the login??
--- Stefan Langer [EMAIL PROTECTED] wrote:
What is your enviroment???
Try going to port 8080 where Tomcat is actually
listening..
something like this
http://localhost:8080/admin
The admin index page should come up!!
Stefan
=
If your into Body For
The login is what ever you define in the tomcat-users.xml file in the conf directory
under your tomcat installation.
Tomcat doesn't give a default setup for the admin role so you have to edit it
yourself.
Try something like:
tomcat-users
user name="tomcat" password="tomcat"
This information is available in the tomcat-aache.org ..when u visit this
site they would have given the platforms in which they have sucessfully
tested
tomcat ..Win 98 , NT ,Unix,Solaris. Linux ...supports
Narayanan
Mohan Surender typed the following on 03:46 AM 1/13/2001 -0600
when i run tomcat from jbuilder3 i notice a significant delay in running
jsps ( the num guess jsp for example takes 50 seconds every first time i
start tomcat and run it)
the same jsp executes very fast in tomact 3.1.
Is it also slow
Kief Morris wrote:
Mohan Surender typed the following on 03:46 AM 1/13/2001 -0600
when i run tomcat from jbuilder3 i notice a significant delay in running
jsps ( the num guess jsp for example takes 50 seconds every first time i
start tomcat and run it)
the same jsp executes very fast in
Cannot start tomcat under windows 98? attached is log file. Already
increased environment variable to 2016mb. Got any ideas
-Original Message-
From: Kief Morris [mailto:[EMAIL PROTECTED]]
Sent: Saturday, January 13, 2001 10:04 AM
To: [EMAIL PROTECTED]
Subject: Re: tomcat 3.2 and 3.2.1
the only thing i noticed is that this Exception is thrown
only when i put a
reference to files larger than 3K
What could this mean ?
Sounds like the peer client is getting tired of waiting for a transfer to
complete.
I had a similar problem when generating PDF's on the fly. The
-
De: Duane Morse [SMTP:[EMAIL PROTECTED]]
Enviada em: Quinta-feira, 7 de Dezembro de 2000
14:59
Para: '[EMAIL PROTECTED]'
Assunto:RE: Tomcat 3.2 stability
You might want
try https://ip.add.re.ss:8443 instead. ie has to know that you want to use
https instead of http
Filip
- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, December 19, 2000 2:26 PM
Subject: Tomcat 3.2 standalone + SSL - Help please
I have followed the
Goss [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 18, 2000 8:24 AM
To: [EMAIL PROTECTED]
Subject: Re: Tomcat 3.2 - getRequestDispatcher().forward
Graeme,
No, the forwarded request is treated as the same request.
Matt
Graeme Wallace wrote:
Hi,
Is the behavior
Hi Robert,
I can tell you keystores for 1.2 and 1.3 are not
compatible
(at least in my experience).
I ignored the note about compiling tomcat and
was
able to get SSL working in tomcat
standalone
configuration.See the Dasho-Pro reference?
That's
a tag from deep in the Cipher suite. I'm
web.xml is no longer used/supported in 3.2.
The main reason - the code that merged the "default" web.xml with the
application web.xml was very bad, slow and hard to maintain. It was
commented out until someone wants to fix it.
A second reason - probably more important from a user
Given that the default web.xml is not being read, how do you enable Jikes as
the JspCompiler? That setting used to be in web.xml. What's the syntax to
specify it in server.xml, or did we lose this functionality for Tomcat 3.2?
(If so, could it be put back, or define a syntax in server.xml
Given that the default web.xml is not being read, how do you enable Jikes as
the JspCompiler? That setting used to be in web.xml. What's the syntax to
specify it in server.xml, or did we lose this functionality for Tomcat 3.2?
(If so, could it be put back, or define a syntax in
I just compiler the attached file into a class, put the class into the
webserver.jar (to avoid changing CLASSPATH for testing) and modified
server.xml file with:
ContextInterceptor
className="tc3.JasperOptions"
sendErrToClient="false"
keepgenerated="false"
/
after the WebXmlReader
Thank you for the fast turnaround :-)
I'll try it out.
Barbara.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 14, 2000 1:44 PM
To: '[EMAIL PROTECTED]'
Cc: '[EMAIL PROTECTED] org'
Subject: Re: Tomcat 3.2 - Default web.xml not being read
When you start apache from the command line what does
it tell you? I am guessing you have Tomcat in
standalone pointing to the same port as apache wants to
use. Check your tomcat.conf.
Quoting "Hernandez, Rey" [EMAIL PROTECTED]:
Hi all,
I know this has probably been addressed before,
Note that with mod_jk, you have to start Tomcat first, then Apache. If you
followed the directions in the howto, you'll see that you include in
httpd.conf a file that is not present until Tomcat is running.
-Original Message-
From: Hernandez, Rey [mailto:[EMAIL PROTECTED]]
Sent: Monday,
CTED] [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 11, 2000 11:59 AM
To: [EMAIL PROTECTED]
Subject: RE: Tomcat 3.2 + Apache 1.3.14 + Windows NT 4 + mod_jk
Note that with mod_jk, you have to start Tomcat first, then Apache. If you
followed the directions in the howto, you'll see that you include
s anyone know why my way didn't work?
Anyway, thanks for the help, I knew it had to be a simple user error.
Rey
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 11, 2000 11:59 AM
To: [EMAIL PROTECTED]
Subject: RE: Tomcat 3.2 + Apache 1.3.14 + W
Does anybody already have something like this.
Duane Morse [EMAIL PROTECTED] on 12/07/2000 11:59:24 AM
Please respond to [EMAIL PROTECTED]
To: "'[EMAIL PROTECTED]'" [EMAIL PROTECTED]
cc:
Subject: RE: Tomcat 3.2 stability
You might want to write a simple JSP or servlet that
You're using a jar file for your tag library, right? I think Tomcat is
expecting
to find the TLD file in the jar file under subdirectory META-INF; further,
it is
expecting the file name to be "taglib.tld".
-Original Message-
From: David Geary [mailto:[EMAIL PROTECTED]]
Sent: Tuesday,
Craig,
I'm looking at using the MVC method for a current project... how exactly does
struts benifit this framework?
just curious...
Also (since, I've got you ear), I've tried a similar process under tomcat 3.1
where I route all requests (ieservlet-mappingservlet-namerouter/servlet-name
Matt Goss wrote:
Craig,
I'm looking at using the MVC method for a current project... how exactly does
struts benifit this framework?
Struts is an implementation of the MVC processing model, including a controller
servlet and a framework for defining actions, plus mechanisms for assigning
thanks... :)
Matt
"Craig R. McClanahan" wrote:
Matt Goss wrote:
Craig,
I'm looking at using the MVC method for a current project... how exactly does
struts benifit this framework?
Struts is an implementation of the MVC processing model, including a controller
servlet and a framework
Duane,
The problem you're referring to doesn't happen to me, even though I use this
kind of programming approach all the time (in Struts). Do you have a simple
test case that you can send to help us isolate this?
Craig McClanahan
Duane Morse wrote:
The following partial stack trace
David Rees wrote:
I also just tried this on Tomcat 3.2, same problem.
Again, here's the problem:
I have a form which posts to a jsp, which then instantiates a bean with the
data from the form, which then forwards the request to a servlet which does
a getAttribute to obtain then the bean
Hi Craig,
-Original Message-
From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]]
David Rees wrote:
I also just tried this on Tomcat 3.2, same problem.
Again, here's the problem:
I have a form which posts to a jsp, which then instantiates a
bean with the
data from the
YOU HAVE TO MENTION it in httpd.conf(Apache), can be done away with at
tomcat level..
in tomcat just map the contexts.
You need to have different web.xml in each of your application root(Web-INF)
IF you are starting two different tomcat's then you obvously will be needing
to different
I posted a patch a few days ago to fix this problem. In most cases Tomcat
shutsdown every other context starting with the first one added so you might
be able to adjust the order of the contexts in your server.xml file to make
sure that it hits the ones you really need shutdown.
If you can
Olivier Baillard wrote:
I would kike to know if somebody already have some experience
with tomcat and PHP working as serlet (with Tomcat). If
somebody has some interest, I would be happy to exchange my
own experience. I get PHP to work with Tomcat 3.2 beta 7 on
Linux with Java extension.
]
Subject:Re: Tomcat 3.2 beta and PHP
Hallo,
I've tried this as well, and was really happy with the
results. However please
take into account that the windows versions of PHP are quite
different in terms
Christian Wenz wrote:
I've tried this as well, and was really happy with
the results. However please take into account that
the windows versions of PHP are quite different in
terms of stability. Some versions just fail to
cooperate with Tomcat, crashing reproducably,
however most versions
Hello Christian,
I'am happy to see someone else in the world has tried to use PHP and Tomcat
together.
Sooo!! Which version of PHP work (or doesn't work) on Windows?
For the moment, I only really try on SUSE 7.0. with Apache. Which results
did you get?
Personally, I get the following:
-
Hi Olivier,
the version not working was 4.0.1 - if I remember correctly. I tried it of course
in a very unstable environment (Win98, Microsoft's own PWS, old JDK 1.1.8) and had
no luck (however all versions from 4.0beta to 4.0.0 worked really fine, and
chances that I made some mistakes when
Hi Tomcat developers,
I'd love to see some info on the release plans
for these products too. I presume that those of
you with "committer" status have some
general long-term plans
I understand that software development schedules
(and esp. open-source projects) are difficult to
estimate, but
Yes, a page modeled after:
http://us1.samba.org/samba/development.html
would indeed kick ass.. I think the tomcat cvs is too
intimidating... There should be a document explaining the tags...
Anycase, my theory is that 3.3 (note that apache doesn't follow the even
version number scheme of the
To follow up on a few of the items from my perspective as a Tomcat
developer:
Kitching Simon wrote:
Hi Tomcat developers,
I'd love to see some info on the release plans
for these products too. I presume that those of
you with "committer" status have some
general long-term plans
I
I had this exact problem (and the SAXParserFactory error too).
This SAXParserFactory was solved by downloading the jaxp library from Sun.
The config error was solved by putting *all 3* jar files in that jaxp file in the
CLASSPATH somewhere or modifying CLASSPATH in the
tomcat startup files to
88 matches
Mail list logo