Hello everyone,
I'm using Tomcat 5.0 and Servlet Spec 2.4.
I have defined a servlet mapping all *.html and a standard welcome file,
as follows:
servlet
servlet-nametest/servlet-name
servlet-classTest/servlet-class
/servlet
servlet-mapping
servlet-nametest/servlet-name
Can someone show in a step by step way for standalone tomcat:
1. how to show that a DELETE vulnerability exists in tomcat using a telnet
session for a sample file, let's say index.html
2. how to block the vulnerability by modifying web.xml
3. what telnet will show once the vulnerability has
I'm not a Tomcat developer, I'm an outside observer too,
but I agree with Tim.
If you want such a feature, I think you have to implement such a package, which
could be an optional additional package for Tomcat (like the apache commons
packages, ... or other), and, why not, available in a tomcat
Hi,
I've seen similar posts from users before on this topic but do not believe I
saw a concrete answer. I was streaming a PDF to my browser yesterday when I
decided to quickly move to another page in the website and therefore stopping
the PDF response stream. When I looked in the logs, I found
yup
-Tim
Parsons Technical Services wrote:
And so the best way is to have a set of classes to add to your project
that add this feature. It then moves with the app and can be applied per
app or even as a jar in common lib for use by all apps.
Tim, am I thinking right on this?
See bugzilla and search for welcome-files - I believe this was talked about a
few times.
-Tim
Andreas Schildbach wrote:
Hello everyone,
I'm using Tomcat 5.0 and Servlet Spec 2.4.
I have defined a servlet mapping all *.html and a standard welcome file,
as follows:
servlet
One of the only things I don't see here -- and it's a big one -- no
postgresql jdbc driver in common/lib. Tomcat doesn't come with it by
default. You have to download the latest and install it before this
will work.
--David
Ole Ersoy wrote:
Hi everybody,
I'm attempting to get the JNDI
This question must have been asked a million times but I can't seem to
find any information on it - any advice would be appreciated.
I need to stand up a web site that will only serve jsp and servlets. I
suspect the number of concurrent users will be no more than 10, but it
could possibly grow
Hi All
I beleive I may have found a major flaw in Tomcat 4, 5.0 and 5.5
I have created a numerous amount of applications and deployed them.
After a page has loaded I press F5 5 times. This causes tomcat to CRASH
I have tried Tomcat 4, Tomcat 5, Tomcat 5.5 all with different java
versions. I
Hi all!
This example explains as to make mapping filter on servlet:
filter
filter-nameSecureFilter/filter-name
filter-classru.centernt.filter.SecureFilter/filter-class
/filter
filter-mapping
filter-nameSecureFilter/filter-name
Tomcat as a standalone is really fast,reliable and good.
-Oorspronkelijk bericht-
Van: Anderson, M. Paul [mailto:[EMAIL PROTECTED]
Verzonden: Friday, March 04, 2005 2:02 PM
Aan: Tomcat Users List
Onderwerp: Tomcat at Standalone
This question must have been asked a million times but I
Sorry to inform you, but I think you have found a flaw in your app or
server. I have Tomcat 5.0.19 running on a Dual PII350 with 384M of ram.
MySQL is on the same box. Java 1.4.2 . Even if it is a page that is posting
data and doing a db query, I can do a F5 and enter as fast as I want to. On
Hi,
I can press F5 until my finger goes sore, and still tomcat is running
smooth. Seems to me that you have a problem in your app.
Trond
Martyn Hiemstra wrote:
Hi All
I beleive I may have found a major flaw in Tomcat 4, 5.0 and 5.5
I have created a numerous amount of applications and deployed
Hello !
I'm having problem with a JAAS authentication realm. I created a
LoginModule, configured it as explained in
http://forum.java.sun.com/thread.jspa?threadID=233317tstart=0, defined the
permissions in my WEB-INF/web.xml ...
The log statements (System.out.println()) I have in my
David,
I downloaded it and un-zipped it here:
cd /usr/local/jakarta-tomcat-5.5.7/common/lib
- wget
http://cvs.apache.org/builds/jakarta-taglibs/nightly/jakarta-taglibs-20050303.tar.gz
- tar xzf jakarta-taglibs-20050303.tar.gz
I've tried both type two and type 3 drivers, since the
example was a
Sorry - wrong wget lines - I meant to provide this
statement:
wget
http://jdbc.postgresql.org/download/pg74.215.jdbc2.jar
I then untarred it in the common lib directory. I
tried both the type 2 and type 3 driver.
Thanks,
- Ole
--- Ole Ersoy [EMAIL PROTECTED] wrote:
David,
I downloaded it
Hello TC5 Users -
I am setting up Tomcat 5 in a production environment. The requirement
is to lock down the site so that only users with trusted personal
certificates may access the site.
I believe I have everything configured in server.xml.
Connector port=443 maxThreads=150
Thanks Harry for your input. But we just can't do any upgrades to the
production environment at this point :( Hopefully soon.
Guillaume
-Original Message-
From: Harry Mantheakis [mailto:[EMAIL PROTECTED]
Sent: 03 March 2005 10:45
To: Tomcat Users List
Subject: Re: OutOfMemory /
Alan,
Thanks for your feedback. You got me curious here: Why does/would Tomcat
reload sessions after startup? Aren't the sessions destroyed upon Tomcat
shutdown?
Also, I could only find a
$TOMCAT_HOME/work/Standalone/localhost/prti-rpt-engine.2.4.2.b17/SESSIONS.se
r, which is NOT the context I
Hi,
Tomcat always serializes sessions on shutdown and reloads them on startup. This
is the default behaviour but can be changed.
You are right in thinking that sessions are serialized per context though. Are
you using the standard manager or the persistent manager as they are stored
On Fri, 4 Mar 2005 06:54:34 -0800, Sweeney, Bill [EMAIL PROTECTED] wrote:
Hello TC5 Users -
I used %java-home%/bin/keytool to build the certificate store and the
server and client certificates (self-signed). Tomcat asks for the
client certificate when I try and connect, but - here is the
I know the docs define a jdbc datasource using multiple nested tags, e.g.:
Resource name=jdbc/mail auth=Container
type=javax.sql.DataSource/
ResourceParams name=jdbc/mail
parameter
namefactory/name
On Fri, 4 Mar 2005 06:54:34 -0800, Sweeney, Bill [EMAIL PROTECTED] wrote:
Hello TC5 Users -
I used %java-home%/bin/keytool to build the certificate store and the
server and client certificates (self-signed). Tomcat asks for the
client certificate when I try and connect, but - here is the
Single tag for 5.5.x
Multiple for 5.0.x
Doug
- Original Message -
From: J Malcolm [EMAIL PROTECTED]
To: tomcat-user@jakarta.apache.org
Sent: Friday, March 04, 2005 10:57 AM
Subject: Single-Tag DataSource Definition?
I know the docs define a jdbc datasource using multiple nested tags,
Hello,
is it possible to have tomcat 4.1.x running with jdk1.4.2 and have SSL
with client authentication(client has certificate issued by CA which has
certificate with public key length of 4096 bit)?
Java 1.4 doesn't support rsa key size of 4096 (only to 2084). With
keytool you aren't able to
Hi,
I have a tomcat server deployed and I've been seeing these in the logs...
**
Exception during post-request cleanup.
Session id: A00B58FF385DDE4F84C69716697D7C18
Client address: 81.63.105.224
Exceptions:
I think your vunerability scanner is getting confused between what's reported
from an HTTP HEAD request and an actual attempt to delete. You can wade
through the Tomcat source, you'll probably find that the default HttpServlet
implementation has an empty doDelete method.
If you want to see
Dear all,
I'm using tomcat5.5.7 in linux, but inside my log4j error log i see that
message strangely
INFO [2005-03-05 01:42:42,629]
org.apache.catalina.core.ContainerBase.[Catalina
].[localhost].[/myapp] - Md not found:23, Md not found:23, Md not foun
d:23, Md not found:23, Md not found:23, Md
I will attempt to answer you questions as best I can.
Your file structure of your site will typically look something like this
$CATALINA_HOME/
webapps/
(PLACE YOUR WEBAPPS HERE)
common/
lib/
Matt,
Thanks for your feedbackwhich triggered more questions below!
-Original Message-
From: Dale, Matt [mailto:[EMAIL PROTECTED]
Sent: 04 March 2005 15:26
To: Tomcat Users List
Subject: RE: OutOfMemory / JMeter / Profiler questions
Hi,
Tomcat always serializes sessions on
From: Reggie Chan [mailto:[EMAIL PROTECTED]
Subject: Error Md not found:xx
I'm using tomcat5.5.7 in linux, but inside my log4j error log
i see that message strangely
INFO [2005-03-05 01:42:42,629]
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/myapp] -
Md not
Hi,
This can be very useful behaviour. It means a tomcat instance can be bounced
with only a short loss of service to the users. The sessions CAN be reused
after a restart.
Information on the session managers and how to disable persistence can be found
in the tomcat documentation so it's a
Hello,
I have a jar file (one.jar) that I am including in my web application
(it is placed in the WEB-INF/lib folder). The simple structure of the
one.jar file follows:
META-INF/MANIFEST.MF
my/package/Test.class
This jar file contains one class (my.package.Test), and a MANIFEST.MF
Hi,
I am about to interface Apache / Tomcat. At several places it is
recommended to use the mod_jk.auto-conf in the tomcat/conf directory.
I got Tomcat 5.0, but this version does not produce the file as described.
Can anybody tell me how I can persuade Tomcat to produce this file.
Thanks for
Hello,
I have the unfortunate opportunity of having to set up tomcat on windoze
(sorry I am a linux bigot)
I have this servlet that has to run a windows program. (that works fine)
I have to create a directory on a NFS mount.
In my test servlet, I have this snippet of code(see below)
If I do
How is the drive mapped? By what logged-in windows user? Is it the same
user that Tomcat is running as, and are you sure? ;)
Mike Curwen
-Original Message-
From: Randy Paries [mailto:[EMAIL PROTECTED]
Sent: Friday, March 04, 2005 3:51 PM
To: 'Tomcat Users List'
Subject: Help
My application is running fine but I get following exception in Start Tomcat
(Command Prompt). This is happend after I loged out from my application.
SERVER: Exception initializing page context
java.lang.IllegalstatementException: Can not create a session after the
response has been committed
On Fri, 4 Mar 2005 15:51:18 -0600, Randy Paries
[EMAIL PROTECTED] wrote:
Hello,
I have the unfortunate opportunity of having to set up tomcat on windoze
(sorry I am a linux bigot)
I have this servlet that has to run a windows program. (that works fine)
I have to create a directory on a
I'm running Tomcat 5.0.28 on Windows XP Pro as a Windows service. If I use
shutdown.bat to stop Tomcat, then the destroy() method of my servlet is
invoked. If I simply stop the Windows service, destroy() apparently is NOT
called. The behavior is not consistent; I've seen it work on one machine,
Yes. I have also experienced the same thing with unhappy results.
On Fri, 4 Mar 2005 19:54:13 -0500, Daniel Rabe [EMAIL PROTECTED] wrote:
I'm running Tomcat 5.0.28 on Windows XP Pro as a Windows service. If I use
shutdown.bat to stop Tomcat, then the destroy() method of my servlet is
I want to run JSP/servlets using Tomcat on Cygwin. Is
there a special version of Tomcat that I need to
download?
Is there any documentation about running Tomcat on
Cygwin?
Thanks!
__
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best
On Fri, 4 Mar 2005 18:41:33 -0800 (PST), Rahul Joshi [EMAIL PROTECTED] wrote:
I want to run JSP/servlets using Tomcat on Cygwin. Is
there a special version of Tomcat that I need to
download?
Can I ask why exactly? I can't think of any benefit in doing so.
Is there any documentation about
Here is what I am doing:
I have an application which runs on Cygwin (but not
directly on Windows). I have to access this
application through JSP page i.e., the Java code from
the JSP will invoke this application. In order to
invoke and run this application, it have to execute on
Cygwin.
---
Hi all,
how would one go about mapping say /images/* to the default servlet to
override an application mapping of /* to appServlet?
PJ
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
I'm using Spring 1.1.4 and Tomcat 5.5.7. I have a webapp with a
ServletContextListener based on Spring's ContextLoaderListener.
The problem I think I'm seeing is that when the listener's
contextDestroyed() method is called, the ServletContextEvent's
ServletContext's attributes have been
It seems that error is from tomcat, it appears in my log4j log only when
i've set the swallowoutput=true in context.
Also, i've tried to remove all the log4j related config from my webapp,
that problem still exists.
Caldarale, Charles R wrote:
From: Reggie Chan [mailto:[EMAIL PROTECTED]
Hi,
I have a tomcat server deployed and I've been seeing these in the logs...
**
Exception during post-request cleanup.
Session id: A00B58FF385DDE4F84C69716697D7C18
Client address: 81.63.105.224
Exceptions:
I assume the map is ok, since I can run a java app and it works fine, It is
only when I call it from a servlet it does not
Thanks
-Original Message-
From: Mike Curwen [mailto:[EMAIL PROTECTED]
Sent: Friday, March 04, 2005 4:15 PM
To: 'Tomcat Users List'
Subject: RE: Help with tomcat on
Your update to the server.xml must be one of two way.
Declare it in a context tag set or in a GlobalResource tag set.
If done in a GlobalResource then a ResourceLink is also needed.
If you don't declare your context in the server.xml, you can declare your
resource in your context tag that resides
How are you starting Tomcat?
Doug
- Original Message -
From: Randy Paries [EMAIL PROTECTED]
To: 'Tomcat Users List' tomcat-user@jakarta.apache.org
Sent: Friday, March 04, 2005 11:57 PM
Subject: RE: Help with tomcat on windoze/nfs
I assume the map is ok, since I can run a java app and it
From: Reggie Chan [mailto:[EMAIL PROTECTED]
Subject: Re: Error Md not found:xx
It seems that error is from tomcat, it appears in my log4j
log only when i've set the swallowoutput=true in context.
That's an even bigger indication that it's your application generating the
messages, not
From: Yves Sy [mailto:[EMAIL PROTECTED]
Subject: Tomcat 5.0.28 errors
java.net.SocketException: Connection reset by peer: socket write error
Anybody know what it means?
It usually means the user clicked the stop button on the browser, or closed it
down, or somebody unplugged a LAN cable.
Hello!
I have the following entry in catalina.out:
org.apache.catalina.core.StandardContext backgroundProcess
WARNING: Unable to perform background process on manager
java.util.NoSuchElementException
at java.util.HashMap$HashIterator.nextEntry(HashMap.java:790)
at
Oh i finally found that it's really from my application! I'm so stupid..
sorry for the question..
Caldarale, Charles R wrote:
From: Reggie Chan [mailto:[EMAIL PROTECTED]
Subject: Re: Error Md not found:xx
It seems that error is from tomcat, it appears in my log4j
log only when i've set the
54 matches
Mail list logo