Thanks, I was aware of the difference between the 2 types of getSession call.
I am using normal JDBC calls (prepareStatement, executeQuery or
executeUpdate, commit/rollback, ...).
I have some asynchronous processing going on through a HttpSessionListener,
which does dome final cleanup and does
well, the first thing I'd try (assuming tomcat is run as user tomcat
and user tomcat belongs to group tomcat:
- logon as root
- stop tomcat
- assuming tomcat-directory in /home/tomcat:
chown -R tomcat:tomcat /home/tomcat
su tomcat
rm /home/tomcat/webapps/YOURAPP.WAR
rm -rf
Thanks
-Original Message-
From: Gregor Schneider [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 02, 2007 2:32 PM
To: Tomcat Users List
Subject: Re: I have deployed build , using root user ,
well, the first thing I'd try (assuming tomcat is run as user tomcat
and user tomcat belongs
who is chuck?
Bill Barker wrote:
Frack, after all Chuck started it. Get a life, and let these two little
kiddies get on with their mud fight. Just do what I do and block both of
-
To start a new topic, e-mail:
My company upgraded their Tomcat version from 4.1.x... to 5.5.x
The version of Tomcat that is displayed as part of the 404(page not
found) error page is wrong, still displaying the previous version.
Where does Tomcat get/set the version number like 5.5.20?
It seems to not be in the server.xml
My company upgraded their Tomcat version from 4.1.x... to 5.5.x
The version of Tomcat that is displayed as part of the 404(page not
found) error page is wrong, still displaying the previous version. Where
does Tomcat get/set the version number like 5.5.20? It seems to not be
in the server.xml
Leon,
Check your environment Variables, Make sure it is pointing to the right
Tomcat Version.
HTH,
Regards,
Bruno
On 1/2/07, Leon van der Merwe [EMAIL PROTECTED] wrote:
My company upgraded their Tomcat version from 4.1.x... to 5.5.x
The version of Tomcat that is displayed as part of the
Thanks Bruno will have a look!
-Original Message-
From: Bruno Vilardo [mailto:[EMAIL PROTECTED]
Sent: 02 January 2007 03:20 PM
To: Tomcat Users List
Subject: Re: Wrong version of Tomcat
Leon,
Check your environment Variables, Make sure it is pointing to the right
Tomcat Version.
HTH,
what happens when your job is outsourced
right Dinesh?
---
This e-mail message (including attachments, if any) is intended for the use of
the individual or entity to which it is addressed and may contain information
that
In the web.xml:
The servlet api must be set with something like:
web-app version=2.4 xmlns=http://java.sun.com/xml/ns/j2ee; xmlns:xsi=
http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=
http://java.sun.com/xml/ns/j2ee
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd;
Instead of old
Hello Leon
I found this in the registry-
HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Tomcat\5.5\Version
5.5.17
Please confirm or
are you running Nix?
M-
---
This e-mail message (including attachments, if any)
Leon is not asking for the dtd-version but for the Tomcat-version.
It looks as if one of the environment-entries ($CATALINA_HOME i.e.) is
still pointing to the old version.
cheers
greg
--
what's puzzlin' you, is the nature of my game
gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2
gpgp-key
Hi Martin,
Thanks but its running on Solaris 10...
I did see that the web.xml file has the following entry:
!DOCTYPE web-app
PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.3//EN
http://java.sun.com/dtd/web-app_2_3.dtd;
web-app
And not:
web-app
Chuck = Charles Caldarale.
Dinesh Kumar wrote:
who is chuck?
Bill Barker wrote:
Frack, after all Chuck started it. Get a life, and let these two
little
kiddies get on with their mud fight. Just do what I do and block
both of
Just a quick shot from the hip, are you sure your error page isn't
customized in the web.xml ?
leon
On 1/2/07, Leon van der Merwe [EMAIL PROTECTED] wrote:
Hi Martin,
Thanks but its running on Solaris 10...
I did see that the web.xml file has the following entry:
!DOCTYPE web-app
PUBLIC
Hi Leon,
I am pretty certain but just to be sure here is the web.xml file.
Thanks
Leon
-Original Message-
From: Leon Rosenberg [mailto:[EMAIL PROTECTED]
Sent: 02 January 2007 04:04 PM
To: Tomcat Users List
Subject: Re: wrong version of Tomcat
Just a quick shot from the hip, are you
Leon
sounds like you have an interesting challenge ahead of you!
with regards to XML version Gregs post is applicable as your immediate concern
is to make sure your $CATALINA_HOME is correct
(however when you start parsing XML files you will need to specify a valid
xmlns and xmlns:xsi
Leon van der Merwe a écrit :
Hi Martin,
Thanks but its running on Solaris 10...
I did see that the web.xml file has the following entry:
!DOCTYPE web-app
PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.3//EN
http://java.sun.com/dtd/web-app_2_3.dtd;
web-app
This tells
MUCH appreciated Martin,
Have a great day!
Leon
-Original Message-
From: david.delbecq [mailto:[EMAIL PROTECTED]
Sent: 02 January 2007 04:24 PM
To: Tomcat Users List
Subject: Re: wrong version of Tomcat
Leon van der Merwe a écrit :
Hi Martin,
Thanks but its running on Solaris
From: Leon van der Merwe [mailto:[EMAIL PROTECTED]
Subject: Wrong version of Tomcat
The version of Tomcat that is displayed as part of the 404(page not
found) error page is wrong, still displaying the previous version.
You need to find out what mechanism starts Tomcat on your server, and
Leon,
in case you're stuck:
- How do you start / stop tomcat?
- Maybe you want to post the startup-script? That might contain some
valuable hints.
Cheers
Greg
--
what's puzzlin' you, is the nature of my game
gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2
gpgp-key available @
Hello, I noticed the mention of symbolic links and it was
similar enough to what I did in our application to provide a kind of
symbolic link in our application. The method I cam up with allowed
the user to user tomcat, and then also create a directory outside the context
of our web app that is
Good Morning Frank
3 items for suggestion box
suggest ant javawebparts/WEB-INF/src/build.xml doesnt seem to include
dependencies e.g
target name=make_jars depends=compile
suggest placing target to build war file target
suggest bin distro to have some samples.war already packaged much like
How can I use this feature of virtual directory in 5.5.20? Any example or
docs? I don't have Apache installed or IIS associated with Tomcat in my box.
Michael Hencin wrote:
Hello, I noticed the mention of symbolic links and it was
similar enough to what I did in our application to
Hi Martin,
We should move to the JWP mailing list for this, and I sent this reply to
there as well... we wouldn't want to be using any Apache lists for
something we shouldn't be (I've been told announcements of JWP releases
are fine, but discussions, unless related to Struts or Tomcat in
I am not sure there is a similar feature in Tomcat. I did some research before
I did this and could not find a similar feature, or at least one I understood
to work like that.
It requires Apache or IIS, I suppose most web servers provide a virtual
directory feature
---
Michael Hencin
Hello,
I have a server running Windows 2003 server SP1. 8 GB of RAM. Sun Java
J2SE 5.0 update 7 and Tomcat 5.5.20.
Tomcat is used as our web server to review archived email. The email is
stored in folders on the server and the archival system uses MS SQL 2000 SP4
on the backend.
The
Thanks for the clarification. I happened to read some old documentation (on
the Tomcat site) mentioning the DLL and got the wrong/confusing feelings.
Dong
-Original Message-
From: Rainer Jung [mailto:[EMAIL PROTECTED]
Sent: Tuesday, 2 January 2007 6:44 PM
To: Tomcat Users List
Subject:
To make it short, tomcat does no caching of servlet / jsp output. Your
webapp is at fault
All tomcat does is handle the 'if-modified-since' header when serving
static data (what is not served by a servlet or a jsp, mainly pictures,
static html, css). The fact it goes back well when you restart
and you probably should check the pragmas in the pages (expire,
no-cache, etc). If they aren't present - you are screwed :-)
alternatively you could try to set your browser to get the page
explicitely each time you request it (works with ie, firefox is dumb
enough to ignore it, thinking it knows
Hello Tomcat users,
Here's what I'm trying to do:
I have a simple web application. I need to ship it as a JAR file that runs
anywhere, without needing to be unpacked or installed. I need it so that you
run this JAR file, and it pops up a Swing dialog that asks which port to bind
to, and
I am documentation and Googled out. I am attempting to use the Tomcat
Manager so that I can script deployment to a Farm of servers. I soon found
out that deploying a ROOT web application does not work.
# curl -u manager:passsword -T /home/manager/ROOT.war
http://10.0.0.2/manager/deploy?path=/
From: Vacuum Joe [mailto:[EMAIL PROTECTED]
Subject: Embedding Tomcat in a standalone JAR
I found a couple of guides to embedding Tomcat
There's a bit of real documentation here:
http://tomcat.apache.org/tomcat-5.5-doc/catalina/docs/api/org/apache/cat
alina/startup/Embedded.html
There's a bit of real documentation here:
http://tomcat.apache.org/tomcat-5.5-doc/catalina/docs/api/org/apache/cat
alina/startup/Embedded.html
Unfortunately, the promising See also: link doesn't lead to much, but
looking at the source code for org/apache/catalina/startup/Catalina.java
should be
From: Vacuum Joe [mailto:[EMAIL PROTECTED]
Subject: Re: Embedding Tomcat in a standalone JAR
Right, those are two of the places I looked at, including the
source for Catalina.java, and they weren't helpful. They are
all about specifying files on the filesystem.
There has to be some
Joe-
what/which tasks do you want this embedded tomcat to accomplish?
M-
---
This e-mail message (including attachments, if any) is intended for the use of
the individual or entity to which it is addressed and may contain
what/which tasks do you want this embedded tomcat to accomplish?
Very simple tasks! I have a few Servlets and a few simple JSPs and a little
bit of static content (html files and images) that I need it to run. No other
external things, like no DB or anything else. No need for any other fancy
I cannot conifgure my application as ROOT app (unnamed context). Is there a
JK solution for it?
thanks!
Raj
On 12/25/06, Edoardo Causarano [EMAIL PROTECTED] wrote:
Rename your app archive ROOT.war and deploy it. Tomcat will use it as
unnamed context
Ciao,
e
2006/12/22, wolverineny ny
Hi All,
Happy New Year!!!
I am having a few problems when using MOD JK with jBoss application server.
I am hosting an application in jBoss which uses REST protocol to serve the
contents. So the GET requests that reach MOD JK can be an encoded string
like
Please give detailed information on the version and type of web server
and mod_jk you are using and include mod_jk config and the relevant
parts of the web server config.
You can increase the log level of mod_jk to debug or even trace to
follow, how mod_jk tries to match your requests against
Thanks for the reply Rainer.
I am using tomcat-connectors-1.2.19 and jBoss 4.0.5GA in Fedora Core 5.
Since the binary I downloaded was throwing errors, I build the shared
library mod_jk.so from the source and copied it to the
/usr/lib/httpd/modules/ directory.
Please find below the configuration
41 matches
Mail list logo