Tomcat has it's own copy of the DTD, and will ignore the URL like and use
its own.
Woodchuck [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
i just discovered that my DOCTYPE points to an old link:
http://java.sun.com/j2ee/dtds/web-app_2_3.dtd
if you go there you will see a message
yes i did... =|
after service install...
tomcat5 service will be created...
then i go to administrative tools - services to run tomcat service...
this is the right method?
one more thing... why is it that when i run startup.bat, a lot of
stuffs have been loaded up...? as compared to when i use
I have set up an ant task to precompile JSPs and everything works fine
*if* there are no errors in the JSP.
The ant task is:
target name=jspc depends=prepare description=Compile JSP files
taskdef classname=org.apache.jasper.JspC name=jasper2
classpath id=jspc.classpath
pathelement
Where should I put environment values in server.xml? And more importantly, how on
earth do I retrieve them programmatically? The documentation on this sort of stuff is
either unbelievably inadequate or incredibly hard to find.
Or c) I'm a dickhead. Either way, I could really use a hand. I'm
On Tue, 29 Jun 2004 22:59:43 -0700
Bill Barker [EMAIL PROTECTED] wrote
Joel [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
I tried google against jakarta.apache.org and marc.theaimsgroup.com and
got no clues. Maybe I'm blind, maybe trying to build on MSWxp is lame?
Here's
Hello, hope somebody knows whats going on here...
I have a main.jsp with the following start..
?xml version=1.0 encoding=utf-8?
jsp:root version=2.0 xmlns:jsp=http://java.sun.com/JSP/Page;
xmlns=http://www.w3.org/1999/xhtml;
xmlns:c=http://java.sun.com/jsp/jstl/core;
Hi Patrick,
the problem might be that in Tomcat 5.x the storage of the context related
configuration changed from server.xml to a sepparate file for each webapp.
This file should be stored under
{Catalina_Home}\conf\Catalina\{domain-name}\myWebAppName.xml where
Catalina_Home points to your Tomcat
Hi,
this is probably not the best mailing list for my question but I need a
dialog (very probably with javacript) where I can move items from one
listbox into an other and backwards). Where can I find such an example?
Zsolt
-
Hello all.
I guess this is a FAQ.
When I start Tomcat, I receive the error message (see below).
I serached a bit (with Google) and found out, that probably this is
caused, by not setting the log destination directory (correctly).
Yet, some log files ARE created.
But I didn't find out, how this
Hi, um I don't know but one of these sites might:
http://developer.irt.org/script/script.htm
http://www.htmlhelp.com
I think this probably isn't the right list for you, not with JavaScript
at any rate!!
On Wed, 2004-06-30 at 11:06, Zsolt Koppany wrote:
Hi,
this is probably not the best
Hello:
I installed Tomcat 5.0 a few weeks ago on a WinXP system. Set system Environment
variables $CATALINA_HOME to C:\Program Files\Tomcat 5.0 JAVA_HOME to
C:\JBuilder\jdk1.3.1.
Whenever I click the Tomcat Administration link under the Start button, I get a
panel requesting the User name
How does one actually deploy an mbean in tomcat5 so that it is
accessibile via the admin webapp or is this not actually possible?
I have created a TestMBean interface and a simple implementation class
with a get/set and int attribute and copied to
TOMCAT_HOME/shared/classes. Along with the
Currently,
your bean are not started automaticly with this configuration. You must
write a own LifecycleListener
that start your Mbeans.
Other options is you can configure at engine element is
Engine mbeansFile=conf/tomcat5-mbeans.xml
/Engine
Look at commons-modeler project for documentation:
Hi *,
I have some questions about XSLT transformations with tomcat (4 and 5).
1.) There doesn't seem to be a XSLT-processor included in TomCat.
Isn't this mandatory for a J2EE web container? Isn't this needed for
the transform taglibs?
2.) When removing the xalan.jar-package from my web-app, I
Hi
I am using Tomcat 4.1.29 and JDK 1.4.2_04 in my application. The total memory of
the process ( VM + Real Memory)
keeps on increasing. The heap size of VM is not increasing ( verified by printing
the free memory) , but the total memory
used by the process increasing.
It seems your web application has a memory leak :
Use a Profiler to check the memory usage in your application.
-Message d'origine-
De : Surendra Kumar [mailto:[EMAIL PROTECTED]
Envoyé : mercredi 30 juin 2004 14:35
À : Tomcat Users List
Objet : Tomcat process memory growth
Hi
I am
I checked that. Only the total memory of the process is growing. The vm size
is not growing much.
i think normally all profilers gives information abt the VM. Is it correct ?
Thanks
Surendra
- Original Message -
From: STOCKHOLM, Raymond [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL
Hi,
I still haven't solved my strange tomcat problem, and I really hope some of
you can help me in the right direction:
I am still looking for some advice on tackling the following problem.
We have to maintain an application not written by us, and about three times
a day the server hangs.
We
Hi,
Go and check Matt Kruse lovely site: www.mattkruse.com
You'll find more tools then you want to. Calendar, sortable table,
editable listboxes.
And if you enjoy to use the tools please donate to him.
Because the code is clean, well organized and very well explained.
btw; I don't know him
Thank you,
it looks very interesting.
Zsolt
Kunthar wrote:
Hi,
Go and check Matt Kruse lovely site: www.mattkruse.com
You'll find more tools then you want to. Calendar, sortable table,
editable listboxes.
And if you enjoy to use the tools please donate to him.
Because the code is clean, well
Hi,
I have deployed struts application on Tomcat(4.1.24).
I have noticed the following entries in stderr. This entries increase the size of
stderr and it become difficult to maintain this.
Is there any way that I can stop logging of these statements.
I have set debug level to '0' in server.xml
This may or may not be totally on topic - apologies if it's not...
On Wednesday 30 June 2004 12:16 am, Aris Javier wrote:
Still the same error occured after replacing my service.bat with your
service.bat... (declares tools.jar inside) =|
org.apache.commons.dbcp.SQLNestedException: Cannot
Hello All,
I'm using JNDIRealm to authenticate users and it's working well.
In my java code, I need to retrieve roles associated with the
authenticated user.
Here is a sample of this code :
Subject s =
It may be easier to use JMX and retrieve the role out of the user information
from the user bean.
Robert S. Harper
801.265.8800 ex. 255
-Original Message-
From: Renato Primavera [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 30, 2004 7:47 AM
To: [EMAIL PROTECTED]
Subject: How to
When you run a service in WinXX, it does not run with the same rights and
settings as the logged in user. If your app needs a mapped drive, then you will
have to find a way for your app to map the drive for it's self. This may also be
a user rights issue as the service runs without the same
hi Martin,
can you try to use the compile-time include like the following:
%@ include file=/jsp/ascript.jsp%
instead of the run-time include that you are currently using? that is
why it is complaining about double importing.
if you use compile-time include then you do not need to import in
On Wed, 30 Jun 2004 18:05:01 +0530, Surendra Kumar [EMAIL PROTECTED]
wrote:
Hi
I am using Tomcat 4.1.29 and JDK 1.4.2_04 in my application. The
total memory of the process ( VM + Real Memory)
keeps on increasing. The heap size of VM is not increasing
( verified by printing the
hi simon,
i just tried to introduce the same 'errors' you did and my
pre-compiling stopped and complained the following exception:
[jasperc] 2004-06-30 10:38:20 - ERROR-the file '\jsp\Test.jsp'
generated the following general exception: java.
lang.NullPointerException
[jasperc] at
H. So why does the doco not mention any of this instead suggesting
that one can just drop in an mbean, descriptor and update the server
config?
ewan
___ALL-NEW Yahoo! Messenger -
so many all-new
Quoting Martin Monsorno [EMAIL PROTECTED]:
Hi *,
I have some questions about XSLT transformations with tomcat (4 and 5).
1.) There doesn't seem to be a XSLT-processor included in TomCat.
Isn't this mandatory for a J2EE web container? Isn't this needed for
the transform taglibs?
2.)
I am trying to upgrade one of the webapps running on my Tomcat instance(version
4.1.x). To do so, I am removing a webapp from my Tomcat instance by using
http://localhost:8080/manager/remove?path=/app. This app is running an in-memory
database that isn't being cleaned up. When I go to install a
The context is mapped using the jboss-web.xml file. Either you can specify a
context or have the war map to the root context. The war file in my case is
named as tam.war. I tried what you suggested but it still does not work!
Ramesh.
-Original Message-
From: QM [mailto:[EMAIL PROTECTED]
Hi,
ServletContextListener#contextDestroyed.
Yoav Shapira
Millennium Research Informatics
-Original Message-
From: David Vollberg [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 30, 2004 11:53 AM
To: [EMAIL PROTECTED]
Subject: cleaning up a removed webapp
I am trying to upgrade one of
Hi,
I installed tomcat-4.1.30 on a SuSE 9 box. So far so good.
But then I tried to install the connector modules into the apache
(version 2.0.49-23) but didn't succeed.
I find this type of lines in the apache error.log:
[notice] child pid 21721 exit signal Segmentation fault (11)
and these
I have an old JDBC driver for a Legacy Data Base that I'm attempting to access
in Tomcat 5.0.25.
When I attempt to call DriverManager.getConnection() on my legacy Data Base, I
get the following log (some snipped to make it easier to read...)
2004-06-30 12:22:02 StandardWrapperValve[jsp]:
Almost forgot to note, once I get the access error, I can no longer talk to
Tomcat (it's looking for access to 127.0.0.1:35479)
Bob
On Wednesday 30 June 2004 12:32 pm, Robert Bateman wrote:
I have an old JDBC driver for a Legacy Data Base that I'm attempting to
access in Tomcat 5.0.25.
When
Dave
I'm not sure what your in memory db is but here is how I handled a
similar problem. My application uses connection pooling. I had problems
with my connection pools not being cleaned up. I added a contextListener
that keeps track of the pools and then when the context is destroyed it
cleans
If the webapps.xml file is supposed to be located in Catalina\localhost, the
apache's own website documentation JDBC-HOWTO needs to be updated to reflect
that new situation. I'm surprised they haven't updated it because I'm sure
a lot of other people are going to be having the same problems I am.
Another question about the Tomcat status page -
Concerning the list of requests for a particular connector -
Is there anything in particular pointed to if one (or more) requests remains
until a restart of the server? I have seen times in the Time column (which I
understand indicates the elasped
Is anybody working this?
Chris Bliesner
Lead Oracle DBA/Unix admin
Wk Phone 915-834-1757
-Original Message-
From: Bliesner, Christopher P
Sent: Tuesday, June 29, 2004 10:37 AM
To: Tomcat Users List
Subject: FW: re: Tomcat unexpectedly shuts down
Importance: High
Hello-I am working
No one.
-Original Message-
From: Bliesner, Christopher P [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 30, 2004 1:57 PM
To: Tomcat Users List
Subject: RE: re: Tomcat unexpectedly shuts down
Is anybody working this?
Chris Bliesner
Lead Oracle DBA/Unix admin
Wk Phone 915-834-1757
What does your code do at line 33 in VqaNcDB.searchVqaNc()? I would try to
correct that problem first.
Robert S. Harper
-Original Message-
From: Bliesner, Christopher P [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 30, 2004 11:57 AM
To: Tomcat Users List
Subject: RE: re: Tomcat
Hi,
How can I set tomcat not to use connection pool option?
Hi,
It doesn't do any connection pooling by default.
Yoav Shapira
Millennium Research Informatics
-Original Message-
From: Yana Begun [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 30, 2004 2:21 PM
To: [EMAIL PROTECTED]
Subject: no connection pool
Hi,
How can I set tomcat not to use
Do you mean that if no maxActive parameter, there is no pool?
Thanks,
Yana
-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 30, 2004 2:28 PM
To: Tomcat Users List
Subject: RE: no connection pool
Hi,
It doesn't do any connection pooling by default.
He means that when you first install tomcat there is no pool configured.
-Original Message-
From: Yana Begun [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 30, 2004 2:33 PM
To: Tomcat Users List
Subject: RE: no connection pool
Do you mean that if no maxActive parameter, there is no
So what should I do to disable it after it already configured?
-Original Message-
From: Lee, Paul NYC [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 30, 2004 2:36 PM
To: 'Tomcat Users List'
Subject: RE: no connection pool
He means that when you first install tomcat there is no pool
In Server.xml, remove all the Resource and ResourceParams ... tags
that define your pool.
-Original Message-
From: Yana Begun [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 30, 2004 2:38 PM
To: Tomcat Users List
Subject: RE: no connection pool
So what should I do to disable it
Thanks,
Now even I can understand.
-Original Message-
From: Lee, Paul NYC [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 30, 2004 2:41 PM
To: 'Tomcat Users List'
Subject: RE: no connection pool
In Server.xml, remove all the Resource and ResourceParams ...
tags
that define your
Wrong place for mysql jar file. It should be in
{TOMCAT_HOME}/common/lib right along side the DBCP jar file.
--David
Briggs, Patrick wrote:
If the webapps.xml file is supposed to be located in Catalina\localhost, the
apache's own website documentation JDBC-HOWTO needs to be updated to reflect
Question regarding tomcat connectors to apache :
I've experimented with jk jk2 etc, but always found performance to be
degraded noticably when using apache in front of tomcat with connectors,
but with tomcat alone it's fine. I've done a reverse proxy from apache
to tomcat and that flies, so
Ok, I have it in the common/lib directory, but that didn't make a
difference. You'd think there would be a lot easier way to setup stuff like
this. Editing XML files is pretty tricky business.
-Original Message-
From: David Smith [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 30, 2004
Every once in a while, the number of connections between apache and tomcat
grows very rapidally, going from 12 or so up to over 150 in a matter of about
10 minutes. This quickly causes the number of httpd processes to exceed
MaxClients and apache stops accepting new connections. Restarting
I've set this up I don't know how many times and only ever had problems
when I've mispelled the JNDI name I gave it somewhere in the 4 places it
was specified. Others have had issue with the order of parameters in
the ResourceParams block. To be on the safe side, follow the order of
Hi Patrick,
shared/lib is quite ok - that is where mine resides and everything works
just fine... The content of myWebApp,xml is straight out of my one two and
my db connection works just fine. The question would be when and where you
actually get that error. Have you turned on logging for your
I'm using an example someone else on this list gave me.
So inside of {CATALINA_HOME}/conf/Catalina/localhost/DBTest.xml
?xml version='1.0' encoding='utf-8'?
Context debug=5 displayName=DBtest docBase=DBTest
path=/DBtest reloadable=true
workDir=work\Catalina\localhost\DBTest
Resource
Hi;
I have created an installation Servlet, which
gathers some information from the administrator upon
first startup after installation of my webapp.
Everything is running fine, but at the end the
Servlet should restart/reload the webapplication
in which it is running.
I haven't found any hint how
Dear friends,
I just installed tomcat 5 in my machine. I put it in the the folder c:\Program
Files\Apache Group\Apache\Tomcat 5.0. I tried to run the servlet examples and they are
ok. However, I would like to try my own servlet. I wrote the HelloWorld.java and put
it in the folder C:\Program
Did you compile the .java file and place the .class file in that folder?
Kind Regards
Schalk Neethling
Web Developer.Designer.Programmer.President
Volume4.Development.Multimedia.Branding
emotionalize.conceptualize.visualize.realize
Tel: +27125468436
Fax: +27125468436
email:[EMAIL PROTECTED]
web:
Also can you post the code in your web.xml where you set-up the servlet and
where did you place the web.xml?
Kind Regards
Schalk Neethling
Web Developer.Designer.Programmer.President
Volume4.Development.Multimedia.Branding
emotionalize.conceptualize.visualize.realize
Tel: +27125468436
Fax:
Dear Schalk,
When I tried to compile it there are some errors which says the same things when i
tried to compile the .java file from the servlet-examples folder. I guess I missed
doing some configurations which I am not familiar with.
Schalk [EMAIL PROTECTED] wrote:
Did you compile the .java
Is you CLASSPATH set-up for Java? i.e. CLASSPATH=c:\j2sdk1.4.2\lib\tools.jar
Kind Regards
Schalk Neethling
Web Developer.Designer.Programmer.President
Volume4.Development.Multimedia.Branding
emotionalize.conceptualize.visualize.realize
Tel: +27125468436
Fax: +27125468436
email:[EMAIL PROTECTED]
From: Brian SJ Wong [mailto:[EMAIL PROTECTED]
When I tried to compile it there are some errors which says
the same things when i tried to compile the .java file from
the servlet-examples folder. I guess I missed doing some
configurations which I am not familiar with.
What did you type,
Well, I guess that I am totally lost:( This is the first time I use Tomcat and I don't
know nothing about it. I already installed JDK and set the environment variable such
as JAVA_HOME and set the class path very well. I used java before and every thing is
fine. I am going to use the ROOT
I think I am missing something minor here, but I can not figure it out.
Running:
WinXP
IIS 5
JK2
Tomcat 5.0.19
I want to have the following request go through my Router application:
http://localhost/MyServlet.ss. Here is the relevant entry in
worker2.properties
[uri:/*.ss]
When trying to compile your HelloWorld.java file what error do you get?
Kind Regards
Schalk Neethling
Web Developer.Designer.Programmer.President
Volume4.Development.Multimedia.Branding
emotionalize.conceptualize.visualize.realize
Tel: +27125468436
Fax: +27125468436
email:[EMAIL PROTECTED]
web:
By this I mean compiling it outside of Tomcat i.e. from command line etc.
Kind Regards
Schalk Neethling
Web Developer.Designer.Programmer.President
Volume4.Development.Multimedia.Branding
emotionalize.conceptualize.visualize.realize
Tel: +27125468436
Fax: +27125468436
email:[EMAIL PROTECTED]
web:
From: Brian SJ Wong [mailto:[EMAIL PROTECTED]
I am going to use the ROOT
folder to store my servlets. There is a web.xml file in that
folder and I only alter the information about the servlet
that I am going to put, which is the HelloWorld. I only wrote
the HelloWorld.java and put them
Stephen Carville wrote:
Every once in a while, the number of connections between apache and tomcat
grows very rapidally, going from 12 or so up to over 150 in a matter of about
10 minutes. This quickly causes the number of httpd processes to exceed
MaxClients and apache stops accepting new
No Sir... I'm accessing my database on my pc...
MS Access 2000... everything is in my pc...
I've tried putting everything under classpath but still
this dbcp error occured...
But the amazing thing is, no problem occured when i run
tomcat not in service...
sigh!
-Original Message-
No Sir... everything is in my pc... no remote access...
Tomcat5.0.25 is in drive D as well as MS Access 2000...
I'm also the only user of my pc..
Please Help!
-Original Message-
From: Robert Harper [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 30, 2004 10:00 PM
To: 'Tomcat Users
Thanks to the people that responded to my request.
I propose that this be added to the FAQ.
When attempting to launch tomcat under redhat linux (any version) using
jsvc with -user option during boot, and the only logged message is as
follows:
jsvc.exec error: Service exit with a return value
Hello Woodchuck,
Thanks for the reply.
Woodchuck wrote:
jspc srcdir=${webapp.build} destdir=gensrc/src
uriroot=${webapp.build}
compiler=jasper41
includes=index.jsp,jsp/**/*.jsp
verbose=9
webxml=jspmaps
classpath
pathelement path=${tomcat.home}/common/lib/jasper-compiler.jar/
pathelement
Hi,
I recently setup a machine with Apache 2.0.49 and Tomcat 5, using mod_jk to connect
them. For the first time everything when smooth as couldnt believe it.
Then today I went to update apache to 2.0.50 which compiled fine but procedure
dictates that mod_jk also gets recompiled. that is when
Ok. I think I'm seeing your trouble. The stuff you have in
WEB-INF/DB-Test.xml should be in web.xml instead. In mine, the
resource-ref.../resource-ref stuff is at the end of the file just
before the closing /web-app tag. In tomcat versions 3 and 4, the
order of elements in web.xml was
Ok, I stand corrected. If the jar works in shared/lib, then cool. I
never argue with what works. I also stop experimenting when it starts
working, so I've never tried it there. Thanks for the info.
--David
Jan Behrens wrote:
Hi Patrick,
shared/lib is quite ok - that is where mine resides
In server.xml, under DefaultContext:
Environment name=foo type=java.lang.String value=bar/
And in web.xml:
env-entry
env-entry-namefoo/env-entry-name
env-entry-typejava.lang.String/env-entry-type
/env-entry
And the code to get it back (include javax.naming.*):
Context initCtx
Just wondering if people
tried it.
Best Regards,
Ivan V. Jouikov
(206) 228-6670
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.701 / Virus Database: 458 - Release Date:
At 08:05 PM 30/06/2004 -0700, you wrote:
Just wondering if people tried it
.
I have. Seems to work fine for me with no hassles.
Cheers,
Ryan.
--
Ryan McConigley - Systems Administrator _.-,
Computer Science University of Western
Does it work any faster? Sun claims that 1.5 (aka 5.0) is very efficient and
robust... Is that a load of bull?
-Original Message-
From: Ryan McConigley [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 30, 2004 8:09 PM
To: Tomcat Users List
Subject: Re: What about Tomcat under java 1.5?
At 08:18 PM 30/06/2004 -0700, you wrote:
Does it work any faster? Sun claims that 1.5 (aka 5.0) is very
efficient and robust... Is that a load of bull?
I couldn't say. I'm not a power user of it and at the same time
we upgraded from 1.4 we upgraded the hardware and software of the
On Wed, 30 Jun 2004 20:05:08 -0700
Ivan Jouikov [EMAIL PROTECTED] wrote
I'm just getting into and I discovered that you can't at the present
time compile Tomcat itself with jdk1.5.
Bill Barker confirmed that for me, but he says it runs great under
java1.5
If you need to compile it for some
82 matches
Mail list logo