After a reboot, it started working fine. However, I can't understand why it
was not working simply after a tomcat stop/start...
Many thanks to all
P.
--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 265.8.8 - Release Date: 14/02/2005
Hi,
I'm not sure but you could try to rename the ldsecure.xml file in
context.xml.
-Message d'origine-
De : Curtis Nelson [mailto:[EMAIL PROTECTED]
Envoyé : mardi 15 février 2005 18:51
À : tomcat-user@jakarta.apache.org
Objet : Re: RE : RE : RE : RE : RE : Tomcat configuration
I know
I remember the first exception
Feb 14, 2005 4:20:39 PM org.apache.catalina.realm.JAASRealm authenticate
SEVERE: Unexpected error
java.lang.SecurityException: Unable to locate a login configuration
Perhaps can you verify that you don't have a default host application or
could you confirm us that
Hi,
I am setting up Apache 2 with mod_jk and Tomcat 5.5 with multiple
virtual hosts.
My background is mod_jserv where I had
ApJServMount /myServletAlias /myZone
in the VirtualHost sections.
Now Tomcat, I undestand, has also its own virtual hosts in server.xml,
e.g. Host name=localhost
Hi, Can anyone help me out in what does below error log indicate as I'm not
been able to identify the problem which is occuring after the huge upload of
the XML file.
Thanks,
Anand
2005-01-15 14:15:15,709 INFO [main] comms.XMLSend
( XMLSend.java:136) -
Server Response:
HTTP Code: 500
Hi all!
I'm making a filter that checks that my cookies are set, and sets them
if they are missing.
Code for setting cookie:
String path = request.getContextPath();
cookie = new Cookie(name, value);
cookie.setPath(path);
logger.debug(Setting cookie: +
Hello,
I am evaluating JSF and need to test my component in clustered environment
so I need Apache or Tomcat running as a front-end proxy server between users
and JBoss'es instances, and I have some questions:
1) Whether Tomcat contains JK2 connector? I have one PC with Tomcat
installed and I
Jean-Pierre, do you have any idea what causes the 408 error?
Humm...
Bruno Gonçalves wrote:
humm.. the trace don't give me much more information!
---
*The POST:*
XXX:
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive:
Hi,
JAVA_OPTS used to work in older Tomcat versions but the JVM Heap settings
are not picked by Tomcat 5.5 from JAVA_OPTS.
Please guide if anyone knows.
Thanks in advance.
Best Regards,
S H A K E E L A H M A D
http://members.fortunecity.com/javaclub/shakeel.htm
Voice: 00923002723316
Senior
Hi
Is it possible to configure a valve which is called after the
authentication process?
I've configured the Valve after the Realm but the Valve is called first.
Thanks for your support.
Oliver
*** BITTE BEACHTEN ***
Diese Nachricht (wie auch allfällige
You ran out of memory:
java.lang.OutOfMemoryError
-Tim
Anand Pandey wrote:
Hi, Can anyone help me out in what does below error log indicate as I'm not
been able to identify the problem which is occuring after the huge upload of
the XML file.
Thanks,
Anand
2005-01-15 14:15:15,709 INFO [main]
getPath() in only useful for setting cookies. The browser only sends the name
/value pairing of the cookie back to you. It omits path and expiration.
-Tim
Trond G. Ziarkowski wrote:
Hi all!
I'm making a filter that checks that my cookies are set, and sets them
if they are missing.
Code for
Hi, I have written a simple servlet and trying to
access an init param from the web.xml but the servlet
is giving me a runtime error, please help, I'm stuck
here, my runtime error says..
[code]
HTTP Status 404 - Servlet invoker is not available
Thanks Tim,
I was trying to use the same cookiename for different paths in my
webapp, but since the path is not sent I just have to use different
cookienames.
Trond
Tim Funk wrote:
getPath() in only useful for setting cookies. The browser only sends
the name /value pairing of the cookie back
Great! Glad to see it working. I would still find the time to refactor
your code and remove the dependencies on specific directories though.
The new classloader is so much nicer than the old classpath system.
--David
Sam Halicke wrote:
It ended up being the CLASSPATH environment variable,
The files show as lowercase in windows. Is there any way to get Tomcat
to dump out the classpath as it perceives it?
-Original Message-
From: Caldarale, Charles R [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 15, 2005 11:28 AM
To: Tomcat Users List
Subject: RE: 5.0.28
All is not lost. The cookie spec says that overlapping cookie names need to
be sent from most specific to least specific. But if you have the same cookie
name across many domains (foo.domain.com vs bar.domain.com) - then things get
a little ambiguous.
-Tim
Trond G. Ziarkowski wrote:
Thanks
Hi Tim,
Thanks...
But can you pls advise me some solution for this, as our system is having
8GB of RAM.
Is it related to some Tomcat/Java Memory.
I'm using Tomcat 3.3.1 and JRE1.2
Regards,
Anand
-Original Message-
From: Tim Funk [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 16,
Some crude code to copy/paste into your jsp ...
%
ClassLoader cl = this.getClass().getClassLoader();
ClassLoader lastCl = null;
while (cl != null lastCl != cl) {
lastCl = cl;
out.println(cl.getClass().getName() + [ + cl + ]);
cl = cl.getParent();
}
%
-Tim
Benson Margulies wrote:
The
See the tomcat 3 (installation) readme or FAQ. You need to pass memory
parameters to the JVM. I do not use tomcat 3 and its config is differnet from
tomcat 4 and 5.
-TIM
Anand Pandey wrote:
Hi Tim,
Thanks...
But can you pls advise me some solution for this, as our system is having
8GB of RAM.
Many thanks to Doug and Seven.
The core problem on our Windows machines was that we neglected to put a
Resource-Link entry in the ROOT.xml in the Documents and Settings\.
directory.
On the Linux servers (running 5.5), we needed to put a Resource-Link entry
in the Context.xml under META-INF.
Thanks Tim,
I'll try this
Cheers,
Anand
-Original Message-
From: Tim Funk [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 16, 2005 6:12 PM
To: Tomcat Users List
Subject: Re: Tomcat Related Issue:
See the tomcat 3 (installation) readme or FAQ. You need to pass memory
I saw different information on it!
408 The Request timed out. For some reason the Server took too much time
processing your Request. Net congestion is the most likely reason.
Le client n'a pas présenté une requête complète pendant le délai maximal qui
lui était imparti, et le serveur a
Hi again...I´m new here...
I´ve these piece of code and can´t find the error in
the struts-config.xml:
- !-- Data
Source Configuration
--
- data-sources
- data-source
set-property property=description value=SCIWARE
Data Source Configuration to mySQL /
Hi,
I try to put applets in html pages under Tomcat 5.0
when I try to look at the result, the applet is not started
and I have the following error...
java.security.AccessControlException: access denied
(java.net.SocketPermission 10 resolve)
at
Technically speaking, this is off-topic and marked as such.
Take a look at this for more info:
http://struts.apache.org/faqs/database.html
On the surface, I see a missing type attribute on the data-source
element and you should probably be using com.mysql.jdbc.Driver for the
driver class
A co-worker that supports a federal sight just got an e-mail
from their admins indicating that his site is exposing jsp
source code when they appent %0008 to the end of their URLs.
The view source shows his exact pages.
He is using Tomcat 4.1.30 and JDK 1.4.2_05
I tired it on my servers (TC
Hi,
It compiled okay? What was the error you got when
running it? Btw there is a cocoon mailing list too to
get some help, here is the link:
http://marc.theaimsgroup.com/?l=xml-cocoon-usersr=1b=200502w=4
aka_sergio
--- Antony Paul [EMAIL PROTECTED] wrote:
I checked out CVS head compiled
I just started logging via log4j and although my question stems from
that, I believe it is more of a Tomcat question. How can I re-direct
log messages to print to a Linux command window
instead of printing to the file catalina.out, i.e. how do I tell
Tomcat that standard out is the console from
The startup shell script is responsible for redirecting output to
catalina.out. remove ' catalina.out' and you should be good to go.
You could also pipe your output to the 'tee' utility. See the man pages
for details.
--David
Eric Wulff wrote:
I just started logging via log4j and although
I've just been trying to confrm the vulnerability without any luck.
Any place in the wild where we could find such a problem?
I've tried replacing:
http://www.server.dom/jsp/test.jsp
with:
http://www.server.dom/jsp/test.jsp%0008
in a number of setups without any results.
Cheers,
Michiel
Norris
Hi folks,
I have a Ant build which includes pre-compilation of JSPs. This has been
working happily during prototyping with Tomcat 5.5.4, but has broken now
that we have moved to Tomcat 5.5.7 as the latest stable build, which
worries me a lot.
The error I get during the build is:
On Wed, 16 Feb 2005 16:40:25 +, David Kennedy
[EMAIL PROTECTED] wrote:
Hi folks,
I have a Ant build which includes pre-compilation of JSPs. This has been
working happily during prototyping with Tomcat 5.5.4, but has broken now
that we have moved to Tomcat 5.5.7 as the latest stable build,
Give few more details, so that I can try your test case.
Thank you,
Edmon
Shakeel Ahmad wrote:
Hi,
JAVA_OPTS used to work in older Tomcat versions but the JVM Heap settings
are not picked by Tomcat 5.5 from JAVA_OPTS.
Please guide if anyone knows.
Thanks in advance.
Best Regards,
S H A K E E L
Is it this old chestnut?
Mike Curwen
Product Manager
Globally Boundless
www.globallyboundless.com
204.885.7733 ext 227
Privacy Compliance: This e-mail message is
Great, many thx for the advise. I also found that using command
'./catalina.sh run' to start Tomcat, as apposed to traditional
'./startup.sh', ensures that stdout goes to the console instead of
catalina.out.
Eric
On Wed, 16 Feb 2005 11:22:20 -0500, David Smith [EMAIL PROTECTED] wrote:
The
hmm.. that would be _this_ old chestnut... (a little eager on the send,
sorry.)
http://shh.thathost.com/secadv/2001-03-29-tomcat.txt
This particular exploit was fixed a long time ago (wasn't it?)
Mike Curwen
-Original Message-
From: Norris Shelton [mailto:[EMAIL PROTECTED]
Sent:
Remy Maucherat wrote:
On Wed, 16 Feb 2005 16:40:25 +, David Kennedy
[EMAIL PROTECTED] wrote:
I have a Ant build which includes pre-compilation of JSPs. This has been
working happily during prototyping with Tomcat 5.5.4, but has broken now
that we have moved to Tomcat 5.5.7
[snip]
I'm having a right job trying to configure the default logger within
tomcat. I want to use log4j and set it at a DEBUG level.
I've added all the commons-logging.jar and log4j.jar packages to the
classpath, but every time I declare the properties file I wish to use
prior to these, it doesn't seem
Nice catch Vlad,
I'll look into it.
Filip
[EMAIL PROTECTED] wrote:
thanks for your reply Peter.
unfortunately none of the applications has explicitly configured sessions
manager.
I have managed to consistently reproduce the problem. The problem involves two
webapps, app1 and app2. App1 is
David Kennedy wrote:
Remy Maucherat wrote:
On Wed, 16 Feb 2005 16:40:25 +, David Kennedy
[EMAIL PROTECTED] wrote:
I have a Ant build which includes pre-compilation of JSPs. This has been
working happily during prototyping with Tomcat 5.5.4, but has broken now
that we have moved to Tomcat 5.5.7
Actually, I didn't get your attachments, could you open a bug in
bugzilla and attach them there.
Filip
[EMAIL PROTECTED] wrote:
thanks for your reply Peter.
unfortunately none of the applications has explicitly configured sessions
manager.
I have managed to consistently reproduce the problem.
Hi everyone
Im looking for some tips on implementing a logging system in tomcat. Ive got
log4j installed and am about to write code but im just looking for some tips
before i get started. My idea is to write a central logger class for my app
that imports the log4j package and supplys static
I'm not sure I understand - are you saying to rename ldsecure.xml -
context.xml?
Curtis
[EMAIL PROTECTED] 02/16/05 01:35AM
Hi,
I'm not sure but you could try to rename the ldsecure.xml file in
context.xml.
-Message d'origine-
De : Curtis Nelson [mailto:[EMAIL PROTECTED]
Envoyé :
You have specified an https connector in server.xml hence you will
always be prompted to accept the server certificate. Most browsers offer
the option to add the certificate to the list of trusted certificates.
Unless the certificate is invalid, this usually stops further prompts to
accept the
This is by design. See
http://issues.apache.org/bugzilla/show_bug.cgi?id=32424 for an explanation.
Mark
Felix Röthenbacher wrote:
Hi
I have the problem that every time I access a servlet with a
URL that is equal to a servlet's directory, Tomcat
redirects me to an URL with a slash appended. E.g.
Yes! Because the name of the file is tomcat specific (it isn't a standard)!
-Message d'origine-
De : Curtis Nelson [mailto:[EMAIL PROTECTED]
Envoyé : mercredi 16 février 2005 19:30
À : tomcat-user@jakarta.apache.org
Objet : Re: RE : RE : RE : RE : RE : RE : Tomcat configuration
I'm not
Is there not a way to deploy a WAR file in Tomcat 5.5 to a new virtual
host without having to use the Admin web module to add the new host
element and or manually modifying the server.xml file. I can seem to find
any documentation on this.
I know in JBoss you can include an XML file that has
Looks like you are using the wrong url to access your servlet. Try
http://host:port/context/InitParamServlet
Mark
Raasi Potluri wrote:
Hi, I have written a simple servlet and trying to
access an init param from the web.xml but the servlet
is giving me a runtime error, please help, I'm stuck
This doesn't work (at least in Tomcat 5.5). When I rename the file and place
it in $CATALINA_HOME/conf/[enginename]/[hostname]/context.xml, then start
Tomcat, Tomcat looks for an application named 'context.xml' and fails. Do I
need to copy the file somewhere else?
Thanks
[EMAIL PROTECTED]
I can't reproduce it either. I am using the latest 4.1.x from CVS but I
am 100% certain there have been no changes that would relate to this
since 4.1.30.
On a related topic, security bugs should be reported privately by email
to [EMAIL PROTECTED]
If this had been a real issue it would have
I just implemented this over the weekend.
Still not totally sure what I am doing, but I do have all my classes
outputting to a log file I have specified. I went with a simple approach
creating a reference to a Logger object in each class (I have an external
properties file supplying all the
Hmm. Read that. It the bug does not actually answer Oliver's questions -
specifically, if it's for the default servlet, why does it always get applied -
and why is it not easily changed (with a /* filter)?
It also doesn't help that Remy is needlessly rude and assumptive.
-Original
There is not a way to deploy a WAR file to a new virtual host without
creating the host first.
Mark
[EMAIL PROTECTED] wrote:
Is there not a way to deploy a WAR file in Tomcat 5.5 to a new virtual
host without having to use the Admin web module to add the new host
element and or manually
So what is the best process to follow. I create the host in the Admin
tool, then how do I deploy a WAR file to the root ( / ) context for that
host?
Bryan
Mark Thomas [EMAIL PROTECTED]
02/16/2005 01:53 PM
Please respond to
Tomcat Users List tomcat-user@jakarta.apache.org
To
Tomcat Users
On Wed, 16 Feb 2005 13:40:12 -0500, [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
Is there not a way to deploy a WAR file in Tomcat 5.5 to a new virtual
host without having to use the Admin web module to add the new host
element and or manually modifying the server.xml file. I can seem to find
It is definately reproducable on his sytem, but he is on a
secured connection.
It does not happen on mine. The only variable that we know of
is the JRE.
--- Mark Thomas [EMAIL PROTECTED] wrote:
I can't reproduce it either. I am using the latest 4.1.x from
CVS but I
am 100% certain there
Thats the same approach im using. I have a commons-logging.properties and a
log4j.properties file in my WEB-INF\classes directory. But I only get the same
loggin as before in stdout.log Im using Win2k as OS. Where do my defined log
files go? Im confused. Everything compiles.
I have this
Hi All,
I am a newbie to eclipse and tomcat. I have created a tomcat
project using some plug-in. Now when I am trying to open eclipse , I
am getting error message : unable to create part. Also the next error
dialog says to see error log for details. Where is the error file
located? Help will
Hi Brian;
I am not experienced enough with this package to really help.
I can say that don't have a commons-logging.properties file in my classes
directory, only my log4j.properties. Maybe try running your application
again without this file?
You may be able to get more ideas from this list:
How do you add a root context / to a host using the Admin util? If I
leave the Path value blank or put a / I get an error when I try and
create the context.
I am a bit confused here.
Bryan
Remy Maucherat [EMAIL PROTECTED]
02/16/2005 02:02 PM
Please respond to
Tomcat Users List
The Tomcat 5.0 install exe hangs forever on the 'using jvm' step. The
service is set up in the registry, but doesn't work. The menus don't
install either. I can install from .zip, but I need the service. This
happens with both JSDK 1.4.2 and 1.5.0
Sounds like you have an incorrect setting in the ENV variables maybe, which
file type are opened by which application perhaps.
I just did this, installed tomcat on W2K server as a service a little while ago
problem free.
-Original Message-
From: Dennis Pierson [EMAIL PROTECTED]
Sent:
On Wed, 16 Feb 2005 15:12:09 -0500, Dennis Pierson [EMAIL PROTECTED] wrote:
The Tomcat 5.0 install exe hangs forever on the 'using jvm' step. The
service is set up in the registry, but doesn't work. The menus don't
install either. I can install from .zip, but I need the service. This
happens
Hi,
I am getting error dialog unable to create part when I am trying
to start tomcat from eclipse. Pls help
Thanks
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Since you define your log files relatively, they will end up relative to the
directory where the JVM was started from. I you use Tomcat scripts, then it
will be in CATALINA_HOME/bin. If you use the Tomcat service, then the files
will end up in c:\winnt\System32 (unless you changed the base
We sometimes have issues where individual XML POSTs fail when using
jk2 w/ Apache 2.0 and Tomcat 5.0.16. We have re-run the posts using just
tomcat on port 80, and the post are then successful. We think the problem is
within the AJP13 conversation at this time...
The error we receive when
Oh man. they were in winnt system32 the whole time. UGH. You were right.
Thanks Jake!
-Original Message-
From: Jacob Kjome [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 16, 2005 4:28 PM
To: Tomcat Users List
Subject: RE: log4j best practices
Since you define your log files
Somehow I have an Apache-2.0.40 server running in conjunction with Jboss-3.2.5.
I don't know anything about JBoss really, but it appears that JBoss is doing
the securing of the socket layer (SSL stuff) for this website.
There is not reference to 443 or SSLCertificate or the like in my
Hi all,
first i'd like to say sorry if someone already asked this question before, i'm
develop web app with struts and tomcat as web server +
securityfilter(securityfilter.sourceforge.net) , my problem is if someone
already login , and that user open new window browser securityfilter can't
I know question was asked many times and I have read a lot of posts
people asking how to add a virtual host without restarting tomcat and
the answer, not possible.
So I am wondering, is it because its time expencive that tomcat doesnt
check virtual hosts names real time, or atleast refreshes the
Isnt HTMLArea IE only? I used FCKeditor for about a year, love it.
After much searching, I think it is the best.
On Fri, 11 Feb 2005 11:28:25 -0800, David Wall [EMAIL PROTECTED] wrote:
See http://www.fckeditor.net/
Aside from the odd name (we do have to give credit after all!), that does
help!!
thanks
From: A jie [EMAIL PROTECTED]
Reply-To: Tomcat Users List tomcat-user@jakarta.apache.org
To: tomcat-user@jakarta.apache.org
Subject: Error in Windows Event Viewer
Date: Fri, 11 Feb 2005 17:05:52 +0800
Hi to all!
I have an application on Tomcat5.5.4+IIS5 that fills my Windows Log
Thanks a lot for the help. BTW I use Struts for developing the application.
rgds
Antony Paul
On Wed, 16 Feb 2005 07:44:35 -0800 (PST), sven morales
[EMAIL PROTECTED] wrote:
Hi,
It compiled okay? What was the error you got when
running it? Btw there is a cocoon mailing list too to
get
Here is the detail.
I was successfully running Tomcat 4.X using JAVA_OPTS=-Xmx512m -Xms512m and
my web application was running with this JVM Heap settings correctly,
without any OutOfMemoryError. I recently installed Tomcat 5.5 and expected
the same JVM Heap settings but they never happen. Now I
Hello,
I have already installed the apache(http-2.0.48) and tomcat 3.3.1a in my
Linux system. The jk connector is also installed. But now the problem is
that I don't know how to test whether my tomcat is running or not. When
I try to see giving the URL: http://IP http://ip/ Address:8080/ it
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Subject: Connecting http-2.0.48 with tomcat 3.3.1a using jk connector.
I have already installed the apache(http-2.0.48) and tomcat
3.3.1a in my Linux system.
Curiosity forces me to ask: Why are you using such an ancient level of Tomcat?
My application demands installing old version of tomcat and apache.
Please do give me any idea of how to just test whether tomcat is running
or not. Any help would be appreciated!!!
- Varsha.
-Original Message-
From: Caldarale, Charles R [mailto:[EMAIL PROTECTED]
Sent: Thursday,
How to solve this error , pls advice
java.lang.IllegalStateException: getAttribute: Session already
invalidated
at org.apache.catalina.session.StandardSession.getAttribute
(StandardSession.java:984)
at
org.apache.catalina.session.StandardSessionFacade.getAttribute
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Subject: RE: Connecting http-2.0.48 with tomcat 3.3.1a using jk connector.
Please do give me any idea of how to just test whether tomcat
is running or not. Any help would be appreciated!!!
You should be able to use netstat or its equivalent
Check your source code and make sure your session is initialized
correctly.
Drew.
On Wed, 2005-02-16 at 22:13, ssk 2001 wrote:
How to solve this error , pls advice
java.lang.IllegalStateException: getAttribute: Session already
invalidated
at
** Be prepared, rate R **
http://hk.geocities.com/blood1213/fur.html
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Well, since 3.3.1a doesn't ship with the CoyoteConnector, you need to have
the AJP13Connector in server.xml (it's enabled by default). I'm assuming
that you aren't using the JNIConnector (although it's still supported in
mod_jk 1.2.8 :). You need the Http10Connector if you want Tomcat to
83 matches
Mail list logo