On Tue, Aug 12, 2008 at 2:32 PM, Stefan Oestreicher
[EMAIL PROTECTED] wrote:
if there is nothing in the ROOT directory that you need (what I suspect,
since you wanted to put a redirect document there) you can delete it and
rename the dspace.war to ROOT.war. Tomcat will then unpack that war to
Any suggestion on this?
thanks
emerson
On 08/08/2008, emerson cargnin [EMAIL PROTECTED] wrote:
Hi there sorry for the lack of information.
I'm running tomcat 5.5.26.
logging.properties are in the tomcat/conf folder.
My log4j file is inside tomcat/bin/resources
This is the location where
Thanks that solved my problem.
-Original Message-
From: Hassan Schroeder [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 12, 2008 6:33 PM
To: Tomcat Users List
Subject: Re: tomcat5.5 site configuration.
On Tue, Aug 12, 2008 at 8:20 AM, Shahar Cohen
[EMAIL PROTECTED] wrote:
when I put
Thanks that solved my problem.
-Original Message-
From: Mark Thomas [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 12, 2008 6:38 PM
To: Tomcat Users List
Subject: Re: tomcat5.5 site configuration.
Shahar Cohen wrote:
Rmove this line:
# Host name=localhost appBase=webapps /
Hi,
When you move Tomcat to another machine, no Host matches and you get a
400 error.
The problem was that I was hitting the loadbalancer with name lb1 or
www.mysite.com. This was being proxied to machines called tomcat1,
tomcat2 etc. Changing the alias to www.mysite.com seems to have fixed
On Tue, Aug 12, 2008 at 9:40 PM, Caldarale, Charles R
[EMAIL PROTECTED] wrote:
Stephen Nelson-Smith wrote:
My server.xml was not originally written by me, and
has been handed down and modified over the ages. It
was originally from Tomcat 4.1
This is generally a really bad idea.
I thought
Hello all
i need to be able to remove the cache directory's in the tomcat 6
every time tomcat starting
is there some kind of build in method or acceptable way to do that ?
thanks allot
-
To start a new topic, e-mail:
Good Morning Kumar-
Have you looked at utilising Purify to instrument the abending dll ?
e.g.
Make sure the pplus_install/common and pplus_install/PurifyPlus
directories are in the path.
Instrument kernel32.dll:
purify -selective_instrumentation -selected_module_list=kernel32.dll,p
grant tomcat access to CGIServlet.jar
edit $TOMCAT_HOME/conf/catalina.policy
grant codeBase
file:${catalina.home}/webapps/YourWebApp/WEB-INF/lib/CGIServlet.jar
{
permission java.security.AllPermission;
};
HTH
Martin
__
Disclaimer and
Does it take time for nodeA to resync the sessions after it comes back
up? Could Sharad be shutting down nodeB too early?
--Angus Mezick
-Original Message-
From: Filip Hanik - Dev Lists [mailto:[EMAIL PROTECTED]
Sent: Monday, August 11, 2008 11:07 PM
To: Tomcat Users List
Subject: Re:
Martin Gainty wrote:
grant tomcat access to CGIServlet.jar
edit $TOMCAT_HOME/conf/catalina.policy
grant codeBase file:${catalina.home}/webapps/YourWebApp/WEB-INF/lib/CGIServlet.jar
{
permission java.security.AllPermission;
};
HTH
That won't help at all. The CGIServlet bypasses the
Well,
I guess you should v´have a vanilla start with log4j.
Therefore:
1st make sure that you've got all necessary libs installed in the
appropriate folders (guess you're fine here, otherwise no logs would
show up)
2nd create a file $catalina_home/common/classes/log4j.xml with the
following
I am having the same problem. I have looked here:
http://apache.mirror.facebook.com/tomcat/tomcat-6/ and in the lower
directories. No mention of the admin pack. Where would it be hiding?
Even if I look at 6.0 in the archives, there is no admin app. Has it
not been ported over to 6.0?
--Angus
When I go to the LambdaProbe site I see this: It is also compatible with
Tomcat5 versions 5.0.x and 5.5.x.
After poking at the forums it seems that it also works with 6.0. Guess they
need some website updates.
Link: http://www.lambdaprobe.org/d/index.htm
--Angus Mezick
-Original
Angus Mezick wrote:
I am having the same problem. I have looked here:
http://apache.mirror.facebook.com/tomcat/tomcat-6/ and in the lower
directories. No mention of the admin pack. Where would it be hiding?
Even if I look at 6.0 in the archives, there is no admin app. Has it
not been ported
I have tried different time periods, it still is reproducible ...
-Original Message-
From: Angus Mezick [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 13, 2008 8:49 AM
To: Tomcat Users List
Subject: RE: Clustering failing over with Tomcat 6.0.16
Does it take time for nodeA to
There is no admin pack for tomcat 6. It has no maintainer and hasn't
been updated in a long time.
--David
Angus Mezick wrote:
I am having the same problem. I have looked here:
http://apache.mirror.facebook.com/tomcat/tomcat-6/ and in the lower
directories. No mention of the admin pack.
im using windows server 2003
the method is starting tomcat as service
question : do i need to run script ? doest it need to be in the tomcat
config somewhere ?
thanks
On Wed, Aug 13, 2008 at 3:42 PM, Angus Mezick
[EMAIL PROTECTED] wrote:
You could edit the startup command script to delete the
I want to monitor performance of Tomcat server when I'm running an
application.
Memory usage, threads, objects, user sessions, sql queries and as much as
possible of other
information on server.
Where can i find tools for this?
Regards
--
View this message in context:
If I redirect log4j logs as described int he page below, is it not
adivisable to remove the console redirection to catalina.out?
http://minaret.biz/tips/tomcatLogging.html#tomcat_5_5_logging
emerson
On 20/06/2008, Mark Thomas [EMAIL PROTECTED] wrote:
André Warnier wrote:
To attempt a summary
From: Tokajac [mailto:[EMAIL PROTECTED]
Subject: Tomcat monitoring
I want to monitor performance of Tomcat server when I'm running an
application.
Start with these:
http://www.lambdaprobe.org
http://moskito.anotheria.net
You can also use JMX (e.g., JConsole) for much of the information, and
Is there a way to communicate with Tomcat via the admin port but not
have to use the web interface? We're looking at completely automating
our deployment process and it would be nice if we could send a signal to
Tomcat to shutdown via the command-line.
Additionally, if it is possible, are
Can someone plz remove me from this email user list :(
I already set my new email ID to Tomcat Users List.
Warm Regards,
Pranab Das
Senior Software Engineer
BirlaSoft
H - 9, Sector - 63, Noida 201306, India
+91 120 662 9367 Phone
+91 981 050 9123 Cell
[EMAIL PROTECTED]
-Original
As mark mentioned in previous posting please read the instructions located at
bottom of each posting
Regards
Martin
__
Disclaimer and confidentiality note
Everything in this e-mail and any attachments relates to the official business
of Sender.
According to this text from
http://minaret.biz/tips/tomcatLogging.html#tomcat_5_5_logging :
The configuration described here results in the creation of two log
files for Tomcat 5.5 and three log files for Tomcat 5.0: the Servlet
log file (only with Tomcat 5.0), which will roll over to a new file
Hi:
I am trying to find a way to set the jvmRoute without putting it in my
server.xml. I'm using 6.0.18. I've found a couple of things:
The Tomcat config reference System Properties section says I can set it on the
java command line with a -DjvmRoute option. This did not work.
Another
Hi,
I was checking the http in my application and the server response is a 302 ...
what could possibly do this when using https ... could it be something related
to the URL ... or how could the server get confused given that with http it
works fine.
TIA,
Julio César
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Julio,
Julio César Chaves Fernández wrote:
| I was checking the http in my application and the server response is
| a 302 ... what could possibly do this when using https ... could it
| be something related to the URL ... or how could the server get
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Stephen,
Stephen Nelson-Smith wrote:
| Note that name=tomcat1 plus Aliastomcat1/Alias doesn't get you
| anything ;)
|
| Do you mean that the alias is redundant?
Yeah. Name='foo' plus alias='foo' is the same as leaving the alias off.
- -chris
This page shows how to use ant to execute commands against the manager.
http://tomcat.apache.org/tomcat-6.0-doc/manager-howto.html
And this is all about using the JMXRemote stuff:
http://tomcat.apache.org/tomcat-6.0-doc/monitoring.html
--Angus Mezick
-Original Message-
From: Adam
Bill-
jvmRoute is an Engine Config parameter
Are you running more than 1 tomcat?
http://raibledesigns.com/tomcat/
Martin
__
Disclaimer and confidentiality note
Everything in this e-mail and any attachments relates to the official business
of
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Tommy,
Tommy Pham wrote:
| Thanks all for the reply. Somehow I missed that attribute. Looks
| I'll have to define the error-pages. If I specify in the web.xml in
| the conf folder, does apply to all web apps deployed for that
| host/virtual host?
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
James,
[EMAIL PROTECTED] wrote:
| application failed to start : Error in dependencyCheck
| java.util.zip.ZipException: invalid entry CRC
Sounds like a corrupted ZIP file (duh). It might not be your WAR file,
though: it might be any of the libraries
I know this question seems totally without logic. I have tested it on another
tomcat, which is on a web server and it worked fineI have no idea what the
problem was with my machine or tomcatI know that tomcat does not influence
the size of an image...some error has occurred somewhere in
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Pradeep,
Pradeep_ Kumar wrote:
| Picked up _JAVA_OPTIONS: -XrunPureJVMPI:Purify
Does your application fail when Purify is /not/ used? Is this error
repeatable with any regularity?
Can you give us the contents of the hs_err_pid6060.log file? That
Martin:
Yes, I am running more than one tomcat in a load balanced environment, and am
trying to do so with a shared config file, as the jvmroute is the only thing
that changes in the server.xml. I was hoping to find a way to specify the
jvmroute parameter other than in the Engine config (or
No i'm working with https all the time ... when it's only over http the
application works ... it's just that i've been reading about something related
to j_security_check and that it adds port 80 to the url ... so i don't know if
it's related to my problem... i read this in
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Julio,
Julio César Chaves Fernández wrote:
| No i'm working with https all the time ... when it's only over http
| the application works ... it's just that i've been reading about
| something related to j_security_check and that it adds port 80 to
Bill Shaffer wrote:
Hi:
I am trying to find a way to set the jvmRoute without putting it in my server.xml. I'm using 6.0.18. I've found a couple of things:
The Tomcat config reference System Properties section says I can set it on the
java command line with a -DjvmRoute option. This did
The 302 sends me back to the login page ... honestly i can't totally blame
https ... i tested the applicaction with https via JSSE and it works (this was
done in my pc)... but when i changed the application to another server https
became the main issue where before it wasn't ... so i'm trying
It resyncs upon startup. can you provide a simple test case for us, the
more you provide, the faster we can get you an answer
Filip
Gupta, Sharad wrote:
I have tried different time periods, it still is reproducible ...
-Original Message-
From: Angus Mezick [mailto:[EMAIL
that's correct. there are a number of frameworks that detect these kind
of changes, Tomcat doesn't, everything is triggered by
setAttribute/removeAttribute
Filip
Adrian Gligor wrote:
Hello,
i have a working Tomcat 6.0.18 cluster with session replication using
DeltaManager and load balancing
YES, it very much could be...I'd updated my JRE from it's current level
and then stuff did not compile afterward either.
And I'm also using 4.1.
I'm at the point where I badly need to update my JDK, Tomcat version and
JRE to get in the 21st century, but unfortunately, I've got some
opposition at
Hi!
I'm using tomcat as a webserver in my eclipse installation. I have some
webservice calls from my webapplication and add both my projects to the
tomcat server. The problem is that I can not determine the order to start
the applications. Is there a way to first start deploy a war, and do this
Thx for Your answer, Chuck !
So far, i've found lambdaprobe more useful. i'm still looking around.
Do U have any advice about SQL debug?
I already have iBatis log and p6spy. Is there any other useful tool for
queries?
Regards
--
View this message in context:
Mark:
Okay, I feel like an idiot. I did some more testing after your comments and
found that I was probably hitting a cache problem in my browser. Both methods
I that I tried yesterday seem to work find today when I close my browser with
each restart.
Sorry for wasting resources...
Hi, i am having trouble starting up the tomcat server in windows vista 64bits
with java 64
all others applications useing java works fine, the log sais:
---
[2008-08-13 13:16:16] [info] Procrun (2.0.4.0) started
[2008-08-13 13:16:16] [info] Running Service...
[2008-08-13 13:16:16]
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Julio,
Julio César Chaves Fernández wrote:
| The 302 sends me back to the login page ... honestly i can't totally
| blame https ... i tested the applicaction with https via JSSE and it
| works (this was done in my pc)... but when i changed the
2008/8/13 Mark Thomas [EMAIL PROTECTED]:
The privileged attribute needs to be set on the context.
In your own web application create a file,
META-INF/context.xml, with the following content:
?xml version=1.0 encoding=UTF-8?
Context privileged=true /
See the manager application for an
Hi Christopher,
I am using jdk1.5.0_02,tomcat 5.5, and Rational Purify for windows version
2003.06.12.280.000 Build: 5101.
When I try to run to tomcat using the following command after setting
_JAVA_OPTIONS: -XrunPureJVMPI:Purify environment variable. My tomcat does not
get started at all.
Hi,
I have run into an issue related to starting tomcat as a service. When
we were starting tomcat from the command line, we were able to just say
System.getProperty(user.name ) to retrieve the logged in user id. But
now that we start tomcat using a service, the get property call returns
sorry it is tomcat version 6.0.18 not .12
- Mensaje original
De: Mr Popo Sama [EMAIL PROTECTED]
Para: users@tomcat.apache.org
Enviado: miércoles 13 de agosto de 2008, 14:42:27
Asunto: Tomcat 6.0.12 in windows vista 64 bits does not start
Hi, i am having trouble starting up the tomcat
From: Pradeep_ Kumar [mailto:[EMAIL PROTECTED]
Subject: RE: Rational purify with tomcat 5.5 gives an error
I am using jdk1.5.0_02,tomcat 5.5, and Rational Purify for
windows version 2003.06.12.280.000 Build: 5101.
The error indicates an internal problem in the JVM. The JVM version you're
Sureka, Sushil wrote:
Hi,
I have run into an issue related to starting tomcat as a service. When
we were starting tomcat from the command line, we were able to just say
System.getProperty(user.name ) to retrieve the logged in user id. But
now that we start tomcat using a service, the get
Hi Guys,
I had a specific requirement related to tomcat error generation. When a
default error page is generated like 404 error page, tomcat appends its
version info at the bottom of the page. I don't want this version to be
displayed on the error page. I am trying to understand which part of
+1
exactly! you can even login with two different users (if you are using
windows server) none of them would be running the service unless you change
the logged on option.
On Wed, Aug 13, 2008 at 9:27 PM, David kerber [EMAIL PROTECTED] wrote:
Sureka, Sushil wrote:
Hi,
I have run into an
From: Mr Popo Sama [mailto:[EMAIL PROTECTED]
Subject: Re: Tomcat 6.0.12 in windows vista 64 bits does not start
sorry it is tomcat version 6.0.18 not .12
- Mensaje original
De: Mr Popo Sama [EMAIL PROTECTED]
Para: users@tomcat.apache.org
Enviado: miércoles 13 de agosto de 2008,
The service does not need to run when no one is logged in. We are in a
kind of one off situation where Tomcat would be running on standalone
laptops when the users are not connected to internet. So we are not
running it on windows server rather on windows xp.
I saw the other reply but I am not
I responded to this in another email. Youssef, I would appreciate if you
can provide your input (I am just trying to consolidate my answer in one
email for better readability)
-Original Message-
From: Youssef Mohammed [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 13, 2008 1:33 PM
To:
Looks like correct behavior to me. You can see that tomcat runs in the
System account when you look at it via Process Explorer or Task
Manager. It has it's own environment separate from any desktop user and
can run without any desktop user. This is also why tomcat can't access
mapped
Chuck, you are a genius!
i can't belive it was that simple to solve.
i had seen those files before but just didn't thougt of renaming them...
thanks a LOT!
- Mensaje original
De: Caldarale, Charles R [EMAIL PROTECTED]
Para: Tomcat Users List users@tomcat.apache.org
Enviado: miércoles
Because we are using the app more like a standalone application (for
details please see my another posting). Generally these sort of app are
not meant for tomcat, but we already had the app developed for central
server, and we had a need to run the same app in a standalone mode for
folks who are
Create your own 404 error page and add it to your web.xml.
error-page
error-code404/error-code
location/error/404.jsp/location
/error-page
−
error-page
exception-typejava.lang.Throwable/exception-type
location/error/500.jsp/location
/error-page
−
error-page
error-code500/error-code
Raghavendra Datt wrote:
Hi Guys,
I had a specific requirement related to tomcat error generation. When a
default error page is generated like 404 error page, tomcat appends its
version info at the bottom of the page. I don't want this version to be
displayed on the error page. I am trying to
From: Sureka, Sushil [mailto:[EMAIL PROTECTED]
Subject: RE: Reading environment variable from Tomcat
Because we are using the app more like a standalone application
Then don't run it as a service, just put the startup script call in:
C:\Documents and Settings\[userid]\Start
Then I think you'll have to have tomcat startup in the Startup program
group or equivalent in the registry and shutdown when the user log's
out. That will put tomcat in the user's environment and make it run as
the current desktop user.
--David
Sureka, Sushil wrote:
Because we are using
Christopher Schultz wrote:
Tommy,
Tommy Pham wrote:
| Thanks all for the reply. Somehow I missed that attribute. Looks
| I'll have to define the error-pages. If I specify in the web.xml in
| the conf folder, does apply to all web apps deployed for that
| host/virtual host?
See also:
This was going to be my suggestion as well: have it start after a user
logs in, via either the Run registry entry, or the startup group on the
start menu.
D
David Smith wrote:
Then I think you'll have to have tomcat startup in the Startup program
group or equivalent in the registry and
Mark,
Appreciate your response. I have this tomcat running on linux and I don't
find catalina.properties any where in the tomcat folders. so, I tried
unzipping this catalina.jar and changed the ServerInfo.Properties and zipped
into catalina.jar. but, still I see that version info on an error.
From: Raghavendra Datt [mailto:[EMAIL PROTECTED]
Subject: Re: Default error page generation logic in tomcat
I have this tomcat running on linux and I don't find
catalina.properties any where in the tomcat folders.
A red flag just went up. Are you using a real Tomcat, or a 3rd-party
Ok... I just figured out a work around for this to make work. I modified
ServerInfo.properties from catalina.jar and re-jarred it and overrode the
original catalina.jar. This seems to work. but, I am just curious whether
this has any side effects? Earlier, I tried doing the same thing but, was
- Mensaje original
De: Christopher Schultz [EMAIL PROTECTED]
Para: Tomcat Users List users@tomcat.apache.org
Enviado: martes, 12 de agosto, 2008 19:30:51
Asunto: Re: Bug in tomcat scripts?
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Enrique,
Enrique Arizón wrote:
| # rm -rf
Hi,
Please help me.
I use this introduction:
http://localhost:8180/tomcat-docs/jndi-datasource-examples-howto.html
database: mysql
A simple java application works (see PS)
[EMAIL PROTECTED]:/mnt/hda3/tyuk/dtest/java/database# java DbTableShow2
+---+---+---+
|
Cue Charles Caldarale hammering someone for not providing a Tomcat
version in 3...2...1...
Seriously, Eleonora...You should read here:
http://tomcat.apache.org/tomcat-5.5-doc/jndi-datasource-examples-howto.html
Note particularly:
*Please note that JNDI resource configuration has changed
We currently use Apache/Tomcat and mod_jk for our webapp. I've
downloaded and installed (correctly, I think) the admin web app but am
having trouble configuring Apache and Tomcat to recognize that the admin
webapp is present. I suspect it's simply a config issue, but can't
figure it out.
You cannot control the order in which the webapps start. There are
ways that you can ensure the initialization is complete before your
webapp starts accepting requests, but first ask yourself: Why? Your
webapp must be able to handle the situation of the web service being
down, so is it really a
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Pradeep,
Pradeep_ Kumar wrote:
Yes this error occurs every time when I run my tomcat with Rational
Purify.
What about when it's /not/ running Rational Purify?
Check out this article about your error on Microsoft's site:
All this sounds like a browser issue.
Firefox 3.0 now supports zooming of the whole page (as compared to
scaling the font sizes only). Press Ctrl+0 to reset the page to 100%
(see the View menu for details).
2008/8/12 Szűcs Attila [EMAIL PROTECTED]:
Christopher,
Even if I am opening it
From: Brantley Hobbs [mailto:[EMAIL PROTECTED]
Subject: Re: database application
Cue Charles Caldarale hammering someone for not providing a Tomcat
version in 3...2...1...
(Sorry I'm late, our marvelous corporate e-mail server didn't let the original
message through.)
Being precise is one
From: Adam Gordon [mailto:[EMAIL PROTECTED]
Subject: Tomcat admin webapp configuration with mod_jk
I've downloaded and installed (correctly, I think) the admin
web app but am having trouble configuring Apache and Tomcat
to recognize that the admin webapp is present.
Obviously, it's not
This is a quick reiteration of key points found in the link below..
make sure you provide the GRANT for insert/select/update to the user you will
be using e.g.
mysql GRANT ALL PRIVILEGES ON *.* TO [EMAIL PROTECTED]
- IDENTIFIED BY 'javadude' WITH GRANT OPTION;
mysql create database
You are absolutly right. It's my wicket application that caches users from a
webservice on startup. But I guess I'll have to find a better solution.
// Mathias
--
View this message in context:
http://www.nabble.com/startup-order-for-deployment-tp18967318p18972567.html
Sent from the Tomcat -
If you need to call the web service during startup, you could retry
the call as long as you get a service-not-available error. Or you
could find a way to synchronize the two webapps (e.g. using a shared
class if they're always going to be on the same server). Or maybe you
could load cache the
I just figured it out when verifying my installation per your request of
my installation steps. It finally clicked when I was looking at the
subdirectories in TOMCAT_HOME/conf...there's a Standalone directory and
a Catalina directory.
Our Engine name is Standalone and host name is localhost
Thank you Filip,
that's not the answer I would have liked, but at least I know I cannot
get away without changing the code.
Adrian
On 13. Aug. 2008, at 18:31, Filip Hanik - Dev Lists wrote:
that's correct. there are a number of frameworks that detect these
kind of changes, Tomcat
Hi,
I developed an axis2 web service, which accepts some files. I want to limit the
size of incoming file. But there is no way to specify the file size in
axis2(using mtom) and it is confirmed by the axis2 group. So now I then tried
to limit the POST request size of the tomcat, which I thought
- Original Message -
From: Sureka, Sushil [EMAIL PROTECTED]
To: users@tomcat.apache.org
Sent: Wednesday, August 13, 2008 8:16 PM
Subject: Reading environment variable from Tomcat
Hi,
I have run into an issue related to starting tomcat as a service. When
we were starting tomcat
Many thanks for all the advice -
definitely the issue is in the creation or unpacking of the war file - I think
this as if I just copy the file structure from the IDE, the app starts with no
issue. I'll continue to trouble shoot the war files and report back.
Hi. I have a web application that consists of an online help system.
It serves HTML content using the Eclipse user assistance system. The
usage I need to support is that the help system WAR is running in
Tomcat, we repackage a new version of the WAR with updated content
(only new HTML pages, no
89 matches
Mail list logo