RE: MOD_JK Redirection issues

2007-01-02 Thread Jagadeesh
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 file (mod-jk.conf) I am using

#=

#Loads the module
LoadModule jk_module modules/mod_jk.so

# The workers file
JkWorkersFile conf/worker.properties

# Set the jk log level [debug/error/info]
JkLogLevel debug

# Select the log format
JkLogStampFormat  "[%a %b %d %H:%M:%S %Y]"

# JkOptions indicates to send SSK KEY SIZE
JkOptions +ForwardKeySize +ForwardURIEscaped -ForwardDirectories

# JkRequestLogFormat
JkRequestLogFormat "%w %V %T"

# Mount your applications
JkMount /* loadbalancer

# You can use external file for mount points.
# It will be checked for updates each 60 seconds.
# The format of the file is: /url=worker
# /examples/*=loadbalancer
# JkMountFile conf/uriworkermap.properties

# Add shared memory.
# This directive is present with 1.2.10 and
# later versions of mod_jk, and is needed for
# for load balancing to work properly
JkShmFile logs/jk.shm

# Add jkstatus for managing runtime data

JkMount status
Order deny,allow
Deny from all
Allow from 192.168.0.2


#=


Please find below worker.properties.


#=

# Define list of workers that will be used
# for mapping requests
worker.list=loadbalancer,status

# Define Node1
# modify the host as your host IP or DNS name.
worker.node1.port=8009
worker.node1.host=xxx.xxx.xxx.xxx
worker.node1.type=ajp13
worker.node1.lbfactor=1
worker.node1.cachesize=10

# Define Node2
# modify the host as your host IP or DNS name.
worker.node2.port=8009
worker.node2.host= xxx.xxx.xxx.xxx 
worker.node2.type=ajp13
worker.node2.lbfactor=1
worker.node2.cachesize=10

# Load-balancing behaviour
worker.loadbalancer.type=lb
worker.loadbalancer.balance_workers=node1,node2
worker.loadbalancer.sticky_session=1
worker.list=loadbalancer

# Status worker for managing load balancer
worker.status.type=status

#=

I am not using uriworkermap.properties.

Thanks
Jagadeesh

-Original Message-
From: Rainer Jung [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, January 03, 2007 12:51 PM
To: Tomcat Users List
Subject: Re: MOD_JK Redirection issues

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 the configured 
URL maps.

Regards,

Rainer

Jagadeesh wrote:
> 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
http://loadbalancer.xxx.com/authenticate/user%2fjagadeesh?key=123456789
> 
> 
>  
> 
> Here the actual request is 
> 
>  
> 
> http://loadbalancer.xxx.com/authenticate/user/jagadeesh?key=123456789
where
> %2f is the encoded string for '/'. Whenever MOD JK gets a request like
this,
> it seems to be ignoring it rather than passing it to the application
server
> and I am getting HTTP 404.
> 
>  
> 
> I tried accessing the server directly with the request
> 
>  
> 
> http://node1.xxx.com/authenticate/user%2fjagadeesh?key=123456789 and it's
> working fine.
> 
>  
> 
> Any help to resolve this is greatly appreciated.
> 
>  
> 
> Thanks
> 
> Jagadeesh

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: MOD_JK Redirection issues

2007-01-02 Thread Rainer Jung
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 the configured 
URL maps.


Regards,

Rainer

Jagadeesh wrote:

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 http://loadbalancer.xxx.com/authenticate/user%2fjagadeesh?key=123456789


 

Here the actual request is 

 


http://loadbalancer.xxx.com/authenticate/user/jagadeesh?key=123456789 where
%2f is the encoded string for '/'. Whenever MOD JK gets a request like this,
it seems to be ignoring it rather than passing it to the application server
and I am getting HTTP 404.

 


I tried accessing the server directly with the request

 


http://node1.xxx.com/authenticate/user%2fjagadeesh?key=123456789 and it's
working fine.

 


Any help to resolve this is greatly appreciated.

 


Thanks

Jagadeesh


-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



MOD_JK Redirection issues

2007-01-02 Thread Jagadeesh
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 http://loadbalancer.xxx.com/authenticate/user%2fjagadeesh?key=123456789


 

Here the actual request is 

 

http://loadbalancer.xxx.com/authenticate/user/jagadeesh?key=123456789 where
%2f is the encoded string for '/'. Whenever MOD JK gets a request like this,
it seems to be ignoring it rather than passing it to the application server
and I am getting HTTP 404.

 

I tried accessing the server directly with the request

 

http://node1.xxx.com/authenticate/user%2fjagadeesh?key=123456789 and it's
working fine.

 

Any help to resolve this is greatly appreciated.

 

Thanks

Jagadeesh



Re: JK Connector

2007-01-02 Thread wolverineny ny

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 <[EMAIL PROTECTED]>:
>
> Hello,
>
> How can I configure JK connector to redirect all requests to a
particular
> webapp.
>
> http://localhost/index.html  >
> http://localhost:8080/myapp/index.html
>
> I am trying not to expose the webapp name "myapp" in the URL. I cannot
> configure myapp as a *default* app on Tomcat either. Do I need to use
some
> kind of URL rewriting or is there a simple elegant solution?
>
> Please let me know if you need more details.
>
> thanks,
>
> Raj
>
>


--
Le montagne sono così: devi assecondarle anche se ti sputano in faccia
fiele
e veleno.
Perdi se pensi di essere più forte.
Vinci se pensi che non c'è nessuna battaglia.
- Hans Kammerlander



Re: Embedding Tomcat in a standalone JAR

2007-01-02 Thread Vacuum Joe
"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 
features.  Really it's just to host some example JSPs on a local server.  Right 
now I'm looking into Jetty, which looks like it can run a war file from the 
command line.  I might be able to modify that to use the same jar for the 
server classes AND the web app files.  But I've never used Jetty for anything, 
and I would prefer to stay with familiar territory, namely Tomcat.

Any ideas would be appreciated.




__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Embedding Tomcat in a standalone JAR

2007-01-02 Thread Martin Gainty
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 information 
that is privileged, proprietary , confidential and exempt from disclosure. If 
you are not the intended recipient, you are notified that any dissemination, 
distribution or copying of this communication is strictly prohibited.
--- 
Le présent message électronique (y compris les pièces qui y sont annexées, le 
cas échéant) s'adresse au destinataire indiqué et peut contenir des 
renseignements de caractère privé ou confidentiel. Si vous n'êtes pas le 
destinataire de ce document, nous vous signalons qu'il est strictement interdit 
de le diffuser, de le distribuer ou de le reproduire.
- Original Message - 
From: "Caldarale, Charles R" <[EMAIL PROTECTED]>
To: "Tomcat Users List" 
Sent: Tuesday, January 02, 2007 8:04 PM
Subject: RE: Embedding Tomcat in a standalone JAR


> 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 relation to the file system, since the servlet spec
requires that the container provide working space for the webapps.  I
think if you started with Catalina.java and replaced the relatively
little File-related logic with getResourceAsStream() equivalents, you
could put a server.xml inside your jar and have it provide most of the
necessary config, other than the listen and shutdown ports.  Those you
get from a simple GUI, as you originally intended.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Embedding Tomcat in a standalone JAR

2007-01-02 Thread Caldarale, Charles R
> 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 relation to the file system, since the servlet spec
requires that the container provide working space for the webapps.  I
think if you started with Catalina.java and replaced the relatively
little File-related logic with getResourceAsStream() equivalents, you
could put a server.xml inside your jar and have it provide most of the
necessary config, other than the listen and shutdown ports.  Those you
get from a simple GUI, as you originally intended.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Embedding Tomcat in a standalone JAR

2007-01-02 Thread Vacuum Joe
"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 informative."

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.  If I'm going to have my users install something, I might as 
well just hand them the Tomcat installer and tell them to use it.  What I 
really want is a no-installation jar file.  I'm starting to think that this 
might be a bit of a project to get it working, or I might want to look at some 
other Servlet containers that are more set up for embedding.





__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Embedding Tomcat in a standalone JAR

2007-01-02 Thread Caldarale, Charles R
> 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

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 informative.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Manager deployment for ROOT.war not working properly.

2007-01-02 Thread Keith Bottner
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=/
 
It always deploys the application as /ROOT.war
 
Now this works perfectly if I do it from http://10.0.0.2/manager/html and
use the Web interface to upload the ROOT.war. It deploys to / with no
problems. But if I use the non HTML version it will not deploy to /
properly.
 
FYI
- I use this same technique on NON root based web applications with no
problems, works like a charm.
- The context.xml file in the WAR file is correct.
- Yes I tried renaming the file to .war as a hack to get around the problem
and that did not work, it deployed to .war.war
- Yes I tried leaving the path attribute as blank (like part of the
documentation suggests) and it returns an error "FAIL - Invalid context path
was specified" even though the documentation explicitly says to leave it
blank when deploying the root web application.
 
I do believe that this is a legitimate bug but I need some way to workaround
the issue since I can't wait to solve this until the next version of Tomcat
is released.
 
Thanks in advance for your help,
 
Keith


Embedding Tomcat in a standalone JAR

2007-01-02 Thread Vacuum Joe
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 then Tomcat starts listening on that port and serving docs out of the 
jar itself.

I know this is possible, because Tomcat is perfectly capable of serving web 
apps out of WAR files, and this would essentially be treating the whole JAR as 
the WAR file.  But I'm stumped as to how to begin.

I found a couple of guides to embedding Tomcat, such as: 
http://www.onjava.com/lpt/a/1547 but a) it's out of date, because it covers 
methods that don't exist after Tomcat 5.0 and b) it only talks about serving 
the app out of the filesystem.

Any suggestions on this?

Thanks




__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Tomcat cache problem?

2007-01-02 Thread Leon Rosenberg

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 more about the actuallity of
the page than you).

Have you actually check with TamperData or LiveHttpHeaders if the
browser really sends GET requests upon refresh?

Leon

On 1/3/07, david.delbecq <[EMAIL PROTECTED]> wrote:

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 tomcat
points out it's a problem with you specific web application. As you have
no knowledge of what is inside this web application, i suggest you check
with the vendor and or developpers of that specific web application.


If you want confirmation, just restart your webapplication without
restarting tomcat (use the manager or lambda probe for that)

reference:

tomcat manager http://tomcat.apache.org/tomcat-5.5-doc/manager-howto.html
lambda probe http://www.lambdaprobe.org

markx3 a écrit :
> 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 problem is when we use Tomcat as our web server to review the email, and
> we click on several emails, after awhile regardless of the different email
> we click on, we get the same data displayed in our web browser.  This really
> appears to be a caching issue with Tomcat, because every time we restart the
> tomcat service, the problem goes away for a few days and then it happens
> again.
>
> To try to fix the issue we gave Tomcat more memory in the Tomcat Properties
> / Java tab.  We set initial memory pool to 128 MB of RAM and maximum memory
> pool to 512 MB of RAM.  We also tried setting the IE 6.0 and 7.0 browsers to
> check for newer versions of the page every time I visit the webpage.  Both
> of these attempts didn't resolve the issue.
>
> Since I'm not a web developer I don't know what to tell you about the
> website tomcat is hosting.  Except for that it was a .war file that tomcat
> extracts once we place in into the tomcat5.5\webapps directory.  If you need
> specifics on what this website is, please let me know and I can get that
> info for you.  But looking through it there are all the usual files like
> .jsp, .htm, etc.
>
> Also there isn't a proxy server on the network.  When users connect to the
> website tomcat is hosting, the browser on the local machine is making a
> direct connection since it's on the same subnet.
>
> Please let me know what suggestions we can use to try to resolve this issue.
>
>


-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Tomcat cache problem?

2007-01-02 Thread david.delbecq
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 tomcat
points out it's a problem with you specific web application. As you have
no knowledge of what is inside this web application, i suggest you check
with the vendor and or developpers of that specific web application.


If you want confirmation, just restart your webapplication without
restarting tomcat (use the manager or lambda probe for that)

reference:

tomcat manager http://tomcat.apache.org/tomcat-5.5-doc/manager-howto.html
lambda probe http://www.lambdaprobe.org

markx3 a écrit :
> 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 problem is when we use Tomcat as our web server to review the email, and
> we click on several emails, after awhile regardless of the different email
> we click on, we get the same data displayed in our web browser.  This really
> appears to be a caching issue with Tomcat, because every time we restart the
> tomcat service, the problem goes away for a few days and then it happens
> again.   
>
> To try to fix the issue we gave Tomcat more memory in the Tomcat Properties
> / Java tab.  We set initial memory pool to 128 MB of RAM and maximum memory
> pool to 512 MB of RAM.  We also tried setting the IE 6.0 and 7.0 browsers to
> check for newer versions of the page every time I visit the webpage.  Both
> of these attempts didn’t resolve the issue. 
>
> Since I’m not a web developer I don’t know what to tell you about the
> website tomcat is hosting.  Except for that it was a .war file that tomcat
> extracts once we place in into the tomcat5.5\webapps directory.  If you need
> specifics on what this website is, please let me know and I can get that
> info for you.  But looking through it there are all the usual files like
> .jsp, .htm, etc. 
>
> Also there isn’t a proxy server on the network.  When users connect to the
> website tomcat is hosting, the browser on the local machine is making a
> direct connection since it’s on the same subnet. 
>
> Please let me know what suggestions we can use to try to resolve this issue. 
>
>   


-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: mod_jk.dll Support

2007-01-02 Thread JiaDong Huang
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: Re: mod_jk.dll Support

The tomcat connectors exist as a plugin for various web servers (Apache 
httpd 1.3, 2.0, 2.2, IIS and Sun). Depending on the web server you use, 
you have to download the appropriate file.

All variants are in the directory

http://www.apache.org/dist/tomcat/tomcat-connectors/jk/binaries/win32/jk-1.2
.20/

At the bottom of the directory index view, there is an explanation, 
which file you will need:

 * mod_jk-apache-1.3.37.so is for Apache 1.3.x. Rename to mod_jk.so 
before putting it in your Apache/modules directory
 * mod_jk-apache-2.0.58.so is for Apache 2.0, and works with Apache 
2.0.58 and later. Rename to mod_jk.so before putting it in your 
Apache2/modules directory.
 * mod_jk-apache-2.2.3.so is for Apache 2.2, and works with Apache 
2.2.3 and later. Rename to mod_jk.so before putting it in your 
Apache2/modules directory.
 * isapi_redirect.dll is for IIS 5 and later Web Server.
 * nsapi_redirect.dll is for Sun ONE Web Server 6.1 and later 
(formerly Netscape iPlanet).
 * jk_symbols.zip contans debug (.pdb) information for all modules.

Please note, that module files for Apache httpd traditionally have file 
names ending in .so, not in .dll.

Regards,

Rainer Jung

JiaDong Huang wrote:
> Hi,
> 
>  
> 
> This is a re-post as a new email thread. Thanks Mark pointing it out - I
did
> not realize using reply would cause confusion to the mailing list.
> 
>  
> 
> I can not find the mod_jk.dll from jk-1.2.20 build. Does it mean that is
not
> supported any more? Or I should use the mod_jk-apache-2.2.3.so instead?
> 
>  
> 
> Thanks!
> 
>  
> 
> Dong

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Tomcat cache problem?

2007-01-02 Thread markx3

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 problem is when we use Tomcat as our web server to review the email, and
we click on several emails, after awhile regardless of the different email
we click on, we get the same data displayed in our web browser.  This really
appears to be a caching issue with Tomcat, because every time we restart the
tomcat service, the problem goes away for a few days and then it happens
again.   

To try to fix the issue we gave Tomcat more memory in the Tomcat Properties
/ Java tab.  We set initial memory pool to 128 MB of RAM and maximum memory
pool to 512 MB of RAM.  We also tried setting the IE 6.0 and 7.0 browsers to
check for newer versions of the page every time I visit the webpage.  Both
of these attempts didn’t resolve the issue. 

Since I’m not a web developer I don’t know what to tell you about the
website tomcat is hosting.  Except for that it was a .war file that tomcat
extracts once we place in into the tomcat5.5\webapps directory.  If you need
specifics on what this website is, please let me know and I can get that
info for you.  But looking through it there are all the usual files like
.jsp, .htm, etc. 

Also there isn’t a proxy server on the network.  When users connect to the
website tomcat is hosting, the browser on the local machine is making a
direct connection since it’s on the same subnet. 

Please let me know what suggestions we can use to try to resolve this issue. 

-- 
View this message in context: 
http://www.nabble.com/Tomcat-cache-problem--tf2909995.html#a8130484
Sent from the Tomcat - User mailing list archive at Nabble.com.


-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: How to set up a special folder to list all files under it?

2007-01-02 Thread Michael Hencin
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
President - Enginuity Development Inc.
[EMAIL PROTECTED]
P: 815-301-9939
F: 815-301-2007

- Original Message 
From: kkus <[EMAIL PROTECTED]>
To: users@tomcat.apache.org
Sent: Tuesday, January 2, 2007 11:29:10 AM
Subject: Re: How to set up a special folder to list all files under it?


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 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 used to store files. We allow users to attach files
> within our application that are related to database entries. 
> 
> 
> The problem we had was that we wanted to have a location
> deliberately outside the context of the web app for two reasons. 1)
> Redeployment
> risked deleting the saved files (they act as an archive and must be saved)
> 2)
> disk location growth. These files can be very large, and we wanted to
> provide a
> way to let the end users easily place them on another volume or disk. So
> we now
> have the users create a virtual directory. We use apache web server. This
> virtual directory is linked to the file location. then we have them enter
> that
> virtual directory path into our database, and its served up on the pages.
> This
> then lets the users follow the link to the virtual directory, and apache
> takes
> care of the listings. 
> 
> 
> We do not use apache as a front end at all, just in this case
> we use its virtual directory feature. Tomcat does a fine enough job of the
> web
> serving we need. but in this once case, where we wanted to show files i a
> difference place, not in the context of the web app I came up with this
> kind of
> work around. Before that we just used a UNC path stored in the database,
> but it
> did not work well with firebird and safari, and users outside the network
> could
> not follow the UNC link. 
> 
> 
>  
> 
> 
> This method of using a virtual directory from apache (or IIS
> ) seems to work nicely.
> 
> 
>  
> ---
> Michael Hencin
> President - Enginuity Development Inc.
> [EMAIL PROTECTED]
> P: 815-301-9939
> F: 815-301-2007
> 
> - Original Message 
> From: "Caldarale, Charles R" <[EMAIL PROTECTED]>
> To: Tomcat Users List 
> Sent: Monday, January 1, 2007 12:48:16 AM
> Subject: RE: How to set up a special folder to list all files under it?
> 
>> From: kkus [mailto:[EMAIL PROTECTED] 
>> Subject: How to set up a special folder to list all files under it?
>> 
>> Now I need add a specific folder which will let user to browse
>> all files under it without authentication.
> 
> I haven't personally tried the following, so take it with a grain of
> salt.  Also, others might know an easier way to accomplish what you
> want.
> 
> Delivery of static content and directory listings is under control of
> the default servlet, as defined in the conf/web.xml file.  By default,
> this has the listings param set to false, to disable ad hoc browsing.  I
> think you could copy the config for the default servlet, change
>  from default to something appropriate for your purpose,
> set the listings param to true, and add a servlet mapping for this
> renamed default to use a  pointing to the directory you
> want to store your public files in.  You would want to put this
> redefined servlet definition and mapping in the WEB-INF/web.xml of the
> webapp that will hold the public directory.
> 
>  - Chuck
> 
> 
> THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
> MATERIAL and is thus for use only by the intended recipient. If you
> received this in error, please contact the sender and delete the e-mail
> and its attachments from all computers.
> 
> -
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 
> 
> 
> 
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/How-to-set-up-a-special-folder-to-list-all-files-under-it--tf2903441.html#a8127336
Sent from the Tomcat - User mailing list archive at Nabble.com.


-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]









RE: [ANN] Java Web Parts 1.0 (GA) is now available

2007-01-02 Thread Frank W. Zammetti
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
particular, probably aren't).  I hope you'll join us on that list if you
aren't already signed up, these are points worth dicussing :)

Frank


On Tue, January 2, 2007 11:34 am, Martin Gainty wrote:
> Good Morning Frank
>
> 3 items for suggestion box
> suggest ant javawebparts/WEB-INF/src/build.xml doesnt seem to include
> dependencies e.g
> 
> suggest placing target to build war file target
> suggest bin distro to have some samples.war already packaged much like
> struts
>
> Also what are the implications for including legacy 1.2 ajax tags (is
> there
> a userguide available)
> is there a reconfiguration necessary?
>
> Good Stuff!!!
>
> Martin--
>
> __
> Disclaimer and confidentiality note
> Everything in this e-mail and any attachments relates to the official
> business of Sender. This transmission is of a confidential nature and
> Sender
> does not endorse distribution to any party other than intended recipient.
> Sender does not necessarily endorse content contained within this
> transmission.
>>
>>The Java Web Parts (JWP) team is proud to announce that new year's day
>> sees
>>our first "GA" release, 1.0, unleashed upon the world!
>>
>>For those of you new to JWP, it is a project that provides small,
>> reusable
>>and largely independant Java components of interest to all web
>> application
>>developers. You can think of this project as being somewhat similar to
>> the
>>Jakarta Commons projects conceptually.
>>
>>JWP is comprised of a number of packages, each supplied in its own
>>individual JAR, with little (ideally no) cross-dependency. The packages
>>currently include:
>>
>>* AjaxParts - A collection of components for doing AJAX, including the
>> very
>>popular AjaxParts Taglib (APT Taglib)
>>
>>* Context - A collection of components for dealing with a servlet context
>>including functionality to calculate the size of the context object
>>
>>* Filter - A collection of useful servlet filters including a Javascript
>>compressor, a request recorder, a cross-site scripting filter, a
>>compression filter and an IP access control filter
>>
>>* Listener - Context and Session listeners for various occassions
>> including
>>functionality to limit the number of concurrent sessions
>>
>>* Misc - Things that didn't fit anywhere else, including a very powerful
>>CoR implementation and a utility to play back recorded sessions created
>>with the session recorder filter (useful for automated load testing)
>>
>>* Taglib - Various tag libraries including some UI widgets, string
>>utilities and a taglib to insert various useful Javascript functions
>>
>>* Servlet - A collection of servlets to fulfill common needs including
>> one
>>that can render a graphical representation of a string of text using
>>various font styles
>>
>>* Request - Classes and functions for dealing with an HTTP request
>>including functions to get various information about a request easily
>>
>>* Response - Classes and functions for dealing with an HTTP response
>>including functionality to encode HTML entities in the response
>>
>>* Session - Classes and functions... eh, you see the pattern! (includes
>> the
>>ability to calculate the size of session, etc)
>>
>>Please visit http://javawebparts.sourceforge.net for further info, docs,
>>downloads, all that jazz.
>>
>>We now return you to your regularly scheduled mailing list posts and wish
>>every a happy new year!
>>
>>Frank
>>
>>
>>--
>>Frank W. Zammetti
>>Founder and Chief Software Architect
>>Omnytex Technologies
>>http://www.omnytex.com
>>AIM/Yahoo: fzammetti
>>MSN: [EMAIL PROTECTED]
>>Author of "Practical Ajax Projects With Java Technology"
>>  (2006, Apress, ISBN 1-59059-695-1)
>>Java Web Parts - http://javawebparts.sourceforge.net
>>  Supplying the wheel, so you don't have to reinvent it!
>>
>>-
>>To start a new topic, e-mail: users@tomcat.apache.org
>>To unsubscribe, e-mail: [EMAIL PROTECTED]
>>For additional commands, e-mail: [EMAIL PROTECTED]
>>
>
> _
> The MSN Entertainment Guide to Golden Globes is here.  Get all the scoop.
> http://tv.msn.com/tv/globes2007/
>
>
> -
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: How to set up a special folder to list all files under it?

2007-01-02 Thread kkus

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 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 used to store files. We allow users to attach files
> within our application that are related to database entries. 
> 
> 
> The problem we had was that we wanted to have a location
> deliberately outside the context of the web app for two reasons. 1)
> Redeployment
> risked deleting the saved files (they act as an archive and must be saved)
> 2)
> disk location growth. These files can be very large, and we wanted to
> provide a
> way to let the end users easily place them on another volume or disk. So
> we now
> have the users create a virtual directory. We use apache web server. This
> virtual directory is linked to the file location. then we have them enter
> that
> virtual directory path into our database, and its served up on the pages.
> This
> then lets the users follow the link to the virtual directory, and apache
> takes
> care of the listings. 
> 
> 
> We do not use apache as a front end at all, just in this case
> we use its virtual directory feature. Tomcat does a fine enough job of the
> web
> serving we need. but in this once case, where we wanted to show files i a
> difference place, not in the context of the web app I came up with this
> kind of
> work around. Before that we just used a UNC path stored in the database,
> but it
> did not work well with firebird and safari, and users outside the network
> could
> not follow the UNC link. 
> 
> 
>  
> 
> 
> This method of using a virtual directory from apache (or IIS
> ) seems to work nicely.
> 
> 
>  
> ---
> Michael Hencin
> President - Enginuity Development Inc.
> [EMAIL PROTECTED]
> P: 815-301-9939
> F: 815-301-2007
> 
> - Original Message 
> From: "Caldarale, Charles R" <[EMAIL PROTECTED]>
> To: Tomcat Users List 
> Sent: Monday, January 1, 2007 12:48:16 AM
> Subject: RE: How to set up a special folder to list all files under it?
> 
>> From: kkus [mailto:[EMAIL PROTECTED] 
>> Subject: How to set up a special folder to list all files under it?
>> 
>> Now I need add a specific folder which will let user to browse
>> all files under it without authentication.
> 
> I haven't personally tried the following, so take it with a grain of
> salt.  Also, others might know an easier way to accomplish what you
> want.
> 
> Delivery of static content and directory listings is under control of
> the default servlet, as defined in the conf/web.xml file.  By default,
> this has the listings param set to false, to disable ad hoc browsing.  I
> think you could copy the config for the default servlet, change
>  from default to something appropriate for your purpose,
> set the listings param to true, and add a servlet mapping for this
> renamed default to use a  pointing to the directory you
> want to store your public files in.  You would want to put this
> redefined servlet definition and mapping in the WEB-INF/web.xml of the
> webapp that will hold the public directory.
> 
>  - Chuck
> 
> 
> THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
> MATERIAL and is thus for use only by the intended recipient. If you
> received this in error, please contact the sender and delete the e-mail
> and its attachments from all computers.
> 
> -
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 
> 
> 
> 
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/How-to-set-up-a-special-folder-to-list-all-files-under-it--tf2903441.html#a8127336
Sent from the Tomcat - User mailing list archive at Nabble.com.


-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [ANN] Java Web Parts 1.0 (GA) is now available

2007-01-02 Thread Martin Gainty

Good Morning Frank

3 items for suggestion box
suggest ant javawebparts/WEB-INF/src/build.xml doesnt seem to include 
dependencies e.g


suggest placing target to build war file target
suggest bin distro to have some samples.war already packaged much like 
struts


Also what are the implications for including legacy 1.2 ajax tags (is there 
a userguide available)

is there a reconfiguration necessary?

Good Stuff!!!

Martin--

__
Disclaimer and confidentiality note
Everything in this e-mail and any attachments relates to the official 
business of Sender. This transmission is of a confidential nature and Sender 
does not endorse distribution to any party other than intended recipient. 
Sender does not necessarily endorse content contained within this 
transmission.


The Java Web Parts (JWP) team is proud to announce that new year's day sees 
our first "GA" release, 1.0, unleashed upon the world!


For those of you new to JWP, it is a project that provides small, reusable 
and largely independant Java components of interest to all web application 
developers. You can think of this project as being somewhat similar to the 
Jakarta Commons projects conceptually.


JWP is comprised of a number of packages, each supplied in its own 
individual JAR, with little (ideally no) cross-dependency. The packages 
currently include:


* AjaxParts - A collection of components for doing AJAX, including the very 
popular AjaxParts Taglib (APT Taglib)


* Context - A collection of components for dealing with a servlet context 
including functionality to calculate the size of the context object


* Filter - A collection of useful servlet filters including a Javascript 
compressor, a request recorder, a cross-site scripting filter, a 
compression filter and an IP access control filter


* Listener - Context and Session listeners for various occassions including 
functionality to limit the number of concurrent sessions


* Misc - Things that didn't fit anywhere else, including a very powerful 
CoR implementation and a utility to play back recorded sessions created 
with the session recorder filter (useful for automated load testing)


* Taglib - Various tag libraries including some UI widgets, string 
utilities and a taglib to insert various useful Javascript functions


* Servlet - A collection of servlets to fulfill common needs including one 
that can render a graphical representation of a string of text using 
various font styles


* Request - Classes and functions for dealing with an HTTP request 
including functions to get various information about a request easily


* Response - Classes and functions for dealing with an HTTP response 
including functionality to encode HTML entities in the response


* Session - Classes and functions... eh, you see the pattern! (includes the 
ability to calculate the size of session, etc)


Please visit http://javawebparts.sourceforge.net for further info, docs, 
downloads, all that jazz.


We now return you to your regularly scheduled mailing list posts and wish 
every a happy new year!


Frank


--
Frank W. Zammetti
Founder and Chief Software Architect
Omnytex Technologies
http://www.omnytex.com
AIM/Yahoo: fzammetti
MSN: [EMAIL PROTECTED]
Author of "Practical Ajax Projects With Java Technology"
 (2006, Apress, ISBN 1-59059-695-1)
Java Web Parts - http://javawebparts.sourceforge.net
 Supplying the wheel, so you don't have to reinvent it!

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



_
The MSN Entertainment Guide to Golden Globes is here.  Get all the scoop. 
http://tv.msn.com/tv/globes2007/



-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: How to set up a special folder to list all files under it?

2007-01-02 Thread Michael Hencin


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 used to store files. We allow users to attach files
within our application that are related to database entries. 


The problem we had was that we wanted to have a location
deliberately outside the context of the web app for two reasons. 1) Redeployment
risked deleting the saved files (they act as an archive and must be saved) 2)
disk location growth. These files can be very large, and we wanted to provide a
way to let the end users easily place them on another volume or disk. So we now
have the users create a virtual directory. We use apache web server. This
virtual directory is linked to the file location. then we have them enter that
virtual directory path into our database, and its served up on the pages. This
then lets the users follow the link to the virtual directory, and apache takes
care of the listings. 


We do not use apache as a front end at all, just in this case
we use its virtual directory feature. Tomcat does a fine enough job of the web
serving we need. but in this once case, where we wanted to show files i a
difference place, not in the context of the web app I came up with this kind of
work around. Before that we just used a UNC path stored in the database, but it
did not work well with firebird and safari, and users outside the network could
not follow the UNC link. 


 


This method of using a virtual directory from apache (or IIS
) seems to work nicely.


 
---
Michael Hencin
President - Enginuity Development Inc.
[EMAIL PROTECTED]
P: 815-301-9939
F: 815-301-2007

- Original Message 
From: "Caldarale, Charles R" <[EMAIL PROTECTED]>
To: Tomcat Users List 
Sent: Monday, January 1, 2007 12:48:16 AM
Subject: RE: How to set up a special folder to list all files under it?

> From: kkus [mailto:[EMAIL PROTECTED] 
> Subject: How to set up a special folder to list all files under it?
> 
> Now I need add a specific folder which will let user to browse
> all files under it without authentication.

I haven't personally tried the following, so take it with a grain of
salt.  Also, others might know an easier way to accomplish what you
want.

Delivery of static content and directory listings is under control of
the default servlet, as defined in the conf/web.xml file.  By default,
this has the listings param set to false, to disable ad hoc browsing.  I
think you could copy the config for the default servlet, change
 from default to something appropriate for your purpose,
set the listings param to true, and add a servlet mapping for this
renamed default to use a  pointing to the directory you
want to store your public files in.  You would want to put this
redefined servlet definition and mapping in the WEB-INF/web.xml of the
webapp that will hold the public directory.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]









Re: wrong version of Tomcat

2007-01-02 Thread Gregor Schneider

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 @ http://pgpkeys.pca.dfn.de:11371

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Wrong version of Tomcat

2007-01-02 Thread Caldarale, Charles R
> 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
make sure that is using the later version of Tomcat.  The startup
mechanism could be a script or a jsvc daemon; whatever is initiating
Tomcat appears to not have been changed when you did the upgrade.

> Where does Tomcat get/set the version number like 5.5.20?

The normal place is:
org/apache/catalina/util/ServerInfo.properties
which is in server/lib/catalina.jar.  This is created during the Tomcat
build from values in build.properties.default.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: wrong version of Tomcat

2007-01-02 Thread Leon van der Merwe
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 10...
>
> I did see that the web.xml file has the following entry:
>
>   PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
> "http://java.sun.com/dtd/web-app_2_3.dtd";>
> 
>   
This tells container to use J2EE 2.3 compliant rules
> And not:
>
> 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";
> version="2.4">
>   
This tells container to use J2EE 2.4 compliant rules
> The environment variable seems to be pointing to the right tomcat 
> version.
>
> Just started with company and things are a bit of a mess(SSL errors, 
> mapping errors etc).
>
> What is the implication of above? Can I just change it?
>   
No, changing between 2.3 and 2.4 is likely to break your webapp, you will need 
to adapt a bit your web application. Going 2.3 -> 2.4 is likely to require only 
structural changes to web.xml, while 2.4 -> 2.3 change can break lots of things.

BTW tomcat version numbers are in 
server/lib/catalina.jar!org/apache/catalina/util/ServerInfo.properties:server.number=5.5.20.0
server/lib/catalina.jar!org/apache/catalina/util/ServerInfo.properties:server.info=Apache
Tomcat/5.5.20
> Much appreciated
>
> Leon
>
> -Original Message-
> From: Martin Gainty [mailto:[EMAIL PROTECTED]
> Sent: 02 January 2007 03:47 PM
> To: Tomcat Users List
> Subject: Re: wrong version of Tomcat
>
>
> 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) is intended for the use 
> of the individual or entity to which it is addressed and may contain 
> information that is privileged, proprietary , confidential and exempt from 
> disclosure. If you are not the intended recipient, you are notified that any 
> dissemination, distribution or copying of this communication is strictly 
> prohibited.
> --- 
> Le présent message électronique (y compris les pièces qui y sont annexées, le 
> cas échéant) s'adresse au destinataire indiqué et peut contenir des 
> renseignements de caractère privé ou confidentiel. Si vous n'êtes pas le 
> destinataire de ce document, nous vous signalons qu'il est strictement 
> interdit de le diffuser, de le distribuer ou de le reproduire.
> - Original Message - 
> From: "Leon van der Merwe" <[EMAIL PROTECTED]>
> To: 
> Sent: Tuesday, January 02, 2007 8:15 AM
> Subject: wrong version of Tomcat
>
>
> 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 file.

>
> Thanks
>
> Leon
>
>  
> FinSource
> A Maitland group company
> Celebrating 30 years (1976 - 2006)
>
> FinSource (Pty) Ltd
> 22 Leeuwen Street, Cape Town, 8001
> PO Box 3149, Cape Town, 8000
>
> Tel:  +27 (0)21 480 8600
> Direct Line:  +27 (0)21 480 8710
> Fax:  +27 (0)21 480 8700
> [EMAIL PROTECTED]
> 
> www.finsourcegroup.com 
>
> BVI   Cape Town   Dublin   Durban   Geneva  Isle of Man   Johannesburg
> London   Luxembourg   Paris 
>
> **
> **
> **
> This e-mail is confidential and may also be privileged.  If you are not the 
> intended recipient, please delete from your system and notify the sender now; 
> you may not use, disclose, distribute or copy it.  Anyone who communicates 
> with us by e-mail is taken to accept the risks in so doing.  E-mails are 
> subject to data corruption, delay, interception and unauthorised amendment.  
> Nothing in the message is capable of or intended to create any legally 
> binding obligation and it is not intended to provide legal advice.
> 
> **
>
>  
>
>  
>
>  
>
> ##
> ###
> This e-mail message has been scanned for Viruses and Content and cleared 
> by FinSource Infrastructure Services' MailMarshal 
> #
> ###

Re: wrong version of Tomcat

2007-01-02 Thread david.delbecq
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:
>
>   PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
> "http://java.sun.com/dtd/web-app_2_3.dtd";>
> 
>   
This tells container to use J2EE 2.3 compliant rules
> And not:
>
> 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";
> version="2.4">
>   
This tells container to use J2EE 2.4 compliant rules
> The environment variable seems to be pointing to the right tomcat version.
>
> Just started with company and things are a bit of a mess(SSL errors, mapping 
> errors etc).
>
> What is the implication of above? Can I just change it?
>   
No, changing between 2.3 and 2.4 is likely to break your webapp, you
will need to adapt a bit your web application. Going 2.3 -> 2.4 is
likely to require only structural changes to web.xml, while 2.4 -> 2.3
change can break lots of things.

BTW tomcat version numbers are in
server/lib/catalina.jar!org/apache/catalina/util/ServerInfo.properties:server.number=5.5.20.0
server/lib/catalina.jar!org/apache/catalina/util/ServerInfo.properties:server.info=Apache
Tomcat/5.5.20
> Much appreciated
>
> Leon
>
> -Original Message-
> From: Martin Gainty [mailto:[EMAIL PROTECTED] 
> Sent: 02 January 2007 03:47 PM
> To: Tomcat Users List
> Subject: Re: wrong version of Tomcat
>
>
> 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) is intended for the use 
> of the individual or entity to which it is addressed and may contain 
> information that is privileged, proprietary , confidential and exempt from 
> disclosure. If you are not the intended recipient, you are notified that any 
> dissemination, distribution or copying of this communication is strictly 
> prohibited.
> --- 
> Le présent message électronique (y compris les pièces qui y sont annexées, le 
> cas échéant) s'adresse au destinataire indiqué et peut contenir des 
> renseignements de caractère privé ou confidentiel. Si vous n'êtes pas le 
> destinataire de ce document, nous vous signalons qu'il est strictement 
> interdit de le diffuser, de le distribuer ou de le reproduire.
> - Original Message - 
> From: "Leon van der Merwe" <[EMAIL PROTECTED]>
> To: 
> Sent: Tuesday, January 02, 2007 8:15 AM
> Subject: wrong version of Tomcat
>
>
> 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 file.

>
> Thanks
>
> Leon
>
>  
> FinSource
> A Maitland group company
> Celebrating 30 years (1976 - 2006) 
>
> FinSource (Pty) Ltd
> 22 Leeuwen Street, Cape Town, 8001
> PO Box 3149, Cape Town, 8000
>
> Tel:  +27 (0)21 480 8600
> Direct Line:  +27 (0)21 480 8710
> Fax:  +27 (0)21 480 8700
> [EMAIL PROTECTED]
>  
> www.finsourcegroup.com 
>
> BVI   Cape Town   Dublin   Durban   Geneva  Isle of Man   Johannesburg
> London   Luxembourg   Paris 
>
> 
> **
> This e-mail is confidential and may also be privileged.  If you are not the 
> intended recipient, please delete from your system and notify the sender now; 
> you may not use, disclose, distribute or copy it.  Anyone who communicates 
> with us by e-mail is taken to accept the risks in so doing.  E-mails are 
> subject to data corruption, delay, interception and unauthorised amendment.  
> Nothing in the message is capable of or intended to create any legally 
> binding obligation and it is not intended to provide legal advice.
> 
> **
>
>  
>
>  
>
>  
>
> #
> This e-mail message has been scanned for Viruses and Content and cleared 
> by FinSource Infrastructure Services' MailMarshal 
> #
> #
> This e-mail message has been scanned for Viruses and Content and cleared 
> by FinSource Infrastructure Services' MailMarshal
> ##

Re: wrong version of Tomcat

2007-01-02 Thread Martin Gainty
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 xsi:schemaLocation and Version for parsing XML files)

If 2 or more items are improperly configured it is probably *best* to reinstall 
and transcribe each configuration item (JVM, CATALINA_HOME etc..)

Of course If you get stuck feel free to ask here 

Bedankt!
Martin --
--- 
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 is privileged, proprietary , confidential and exempt from disclosure. If 
you are not the intended recipient, you are notified that any dissemination, 
distribution or copying of this communication is strictly prohibited.
--- 
Le présent message électronique (y compris les pièces qui y sont annexées, le 
cas échéant) s'adresse au destinataire indiqué et peut contenir des 
renseignements de caractère privé ou confidentiel. Si vous n'êtes pas le 
destinataire de ce document, nous vous signalons qu'il est strictement interdit 
de le diffuser, de le distribuer ou de le reproduire.
- Original Message - 
From: "Leon van der Merwe" <[EMAIL PROTECTED]>
To: "Tomcat Users List" ; "Martin Gainty" <[EMAIL 
PROTECTED]>
Sent: Tuesday, January 02, 2007 8:56 AM
Subject: RE: wrong version of Tomcat


Hi Martin,

Thanks but its running on Solaris 10...

I did see that the web.xml file has the following entry:

http://java.sun.com/dtd/web-app_2_3.dtd";>


And not:

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";
version="2.4">

The environment variable seems to be pointing to the right tomcat version.

Just started with company and things are a bit of a mess(SSL errors, mapping 
errors etc).

What is the implication of above? Can I just change it?

Much appreciated

Leon

-Original Message-
From: Martin Gainty [mailto:[EMAIL PROTECTED] 
Sent: 02 January 2007 03:47 PM
To: Tomcat Users List
Subject: Re: wrong version of Tomcat


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) is intended for the use of 
the individual or entity to which it is addressed and may contain information 
that is privileged, proprietary , confidential and exempt from disclosure. If 
you are not the intended recipient, you are notified that any dissemination, 
distribution or copying of this communication is strictly prohibited.
--- 
Le présent message électronique (y compris les pièces qui y sont annexées, le 
cas échéant) s'adresse au destinataire indiqué et peut contenir des 
renseignements de caractère privé ou confidentiel. Si vous n'êtes pas le 
destinataire de ce document, nous vous signalons qu'il est strictement interdit 
de le diffuser, de le distribuer ou de le reproduire.
- Original Message - 
From: "Leon van der Merwe" <[EMAIL PROTECTED]>
To: 
Sent: Tuesday, January 02, 2007 8:15 AM
Subject: wrong version of Tomcat


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 file.

Thanks

Leon

 
FinSource
A Maitland group company
Celebrating 30 years (1976 - 2006) 

FinSource (Pty) Ltd
22 Leeuwen Street, Cape Town, 8001
PO Box 3149, Cape Town, 8000

Tel:  +27 (0)21 480 8600
Direct Line:  +27 (0)21 480 8710
Fax:  +27 (0)21 480 8700
[EMAIL PROTECTED]
 
www.finsourcegroup.com 

BVI   Cape Town   Dublin   Durban   Geneva  Isle of Man   Johannesburg
London   Luxembourg   Paris 


**
This e-mail is confidential and may also be privileged.  If you are not the 
intended recipient, please delete from your system and notify the sender now; 
you may not use, disclose, distribute or copy it.  Anyone who communicates with 
us by e-mail is taken to accept the risks in so doing.  E-mails are subject to 
data corruption, delay, interception and unauthorised amendment.  Nothing in 
the message is capable of or inte

RE: wrong version of Tomcat

2007-01-02 Thread Leon van der Merwe
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 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:
>
>   PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
> "http://java.sun.com/dtd/web-app_2_3.dtd";>
> 
>
> And not:
>
> 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";
> version="2.4">
>
> The environment variable seems to be pointing to the right tomcat 
> version.
>
> Just started with company and things are a bit of a mess(SSL errors, 
> mapping errors etc).
>
> What is the implication of above? Can I just change it?
>
> Much appreciated
>
> Leon
>
> -Original Message-
> From: Martin Gainty [mailto:[EMAIL PROTECTED]
> Sent: 02 January 2007 03:47 PM
> To: Tomcat Users List
> Subject: Re: wrong version of Tomcat
>
>
> 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) is intended for the use 
> of the individual or entity to which it is addressed and may contain 
> information that is privileged, proprietary , confidential and exempt from 
> disclosure. If you are not the intended recipient, you are notified that any 
> dissemination, distribution or copying of this communication is strictly 
> prohibited.
> ---
> Le présent message électronique (y compris les pièces qui y sont annexées, le 
> cas échéant) s'adresse au destinataire indiqué et peut contenir des 
> renseignements de caractère privé ou confidentiel. Si vous n'êtes pas le 
> destinataire de ce document, nous vous signalons qu'il est strictement 
> interdit de le diffuser, de le distribuer ou de le reproduire.
> - Original Message -
> From: "Leon van der Merwe" <[EMAIL PROTECTED]>
> To: 
> Sent: Tuesday, January 02, 2007 8:15 AM
> Subject: wrong version of Tomcat
>
>
> 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 file.
>
> Thanks
>
> Leon
>
>
> FinSource
> A Maitland group company
> Celebrating 30 years (1976 - 2006)
>
> FinSource (Pty) Ltd
> 22 Leeuwen Street, Cape Town, 8001
> PO Box 3149, Cape Town, 8000
>
> Tel:  +27 (0)21 480 8600
> Direct Line:  +27 (0)21 480 8710
> Fax:  +27 (0)21 480 8700
> [EMAIL PROTECTED]
> 
> www.finsourcegroup.com
>
> BVI   Cape Town   Dublin   Durban   Geneva  Isle of Man   Johannesburg
> London   Luxembourg   Paris
>
> **
> **
> **
> This e-mail is confidential and may also be privileged.  If you are not the 
> intended recipient, please delete from your system and notify the sender now; 
> you may not use, disclose, distribute or copy it.  Anyone who communicates 
> with us by e-mail is taken to accept the risks in so doing.  E-mails are 
> subject to data corruption, delay, interception and unauthorised amendment.  
> Nothing in the message is capable of or intended to create any legally 
> binding obligation and it is not intended to provide legal advice.
> 
> **
>
>
>
>
>
>
>
> ##
> ###
> This e-mail message has been scanned for Viruses and Content and cleared
> by FinSource Infrastructure Services' MailMarshal 
> #
> #
> This e-mail message has been scanned for Viruses and Content and cleared
> by FinSource Infrastructure Services' MailMarshal
> #
>
> -
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe,

Re: wrong version of Tomcat

2007-01-02 Thread Leon Rosenberg

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:

http://java.sun.com/dtd/web-app_2_3.dtd";>


And not:

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";
version="2.4">

The environment variable seems to be pointing to the right tomcat version.

Just started with company and things are a bit of a mess(SSL errors, mapping 
errors etc).

What is the implication of above? Can I just change it?

Much appreciated

Leon

-Original Message-
From: Martin Gainty [mailto:[EMAIL PROTECTED]
Sent: 02 January 2007 03:47 PM
To: Tomcat Users List
Subject: Re: wrong version of Tomcat


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) is intended for the use of 
the individual or entity to which it is addressed and may contain information 
that is privileged, proprietary , confidential and exempt from disclosure. If 
you are not the intended recipient, you are notified that any dissemination, 
distribution or copying of this communication is strictly prohibited.
---
Le présent message électronique (y compris les pièces qui y sont annexées, le 
cas échéant) s'adresse au destinataire indiqué et peut contenir des 
renseignements de caractère privé ou confidentiel. Si vous n'êtes pas le 
destinataire de ce document, nous vous signalons qu'il est strictement interdit 
de le diffuser, de le distribuer ou de le reproduire.
- Original Message -
From: "Leon van der Merwe" <[EMAIL PROTECTED]>
To: 
Sent: Tuesday, January 02, 2007 8:15 AM
Subject: wrong version of Tomcat


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 file.

Thanks

Leon


FinSource
A Maitland group company
Celebrating 30 years (1976 - 2006)

FinSource (Pty) Ltd
22 Leeuwen Street, Cape Town, 8001
PO Box 3149, Cape Town, 8000

Tel:  +27 (0)21 480 8600
Direct Line:  +27 (0)21 480 8710
Fax:  +27 (0)21 480 8700
[EMAIL PROTECTED]

www.finsourcegroup.com

BVI   Cape Town   Dublin   Durban   Geneva  Isle of Man   Johannesburg
London   Luxembourg   Paris


**
This e-mail is confidential and may also be privileged.  If you are not the 
intended recipient, please delete from your system and notify the sender now; 
you may not use, disclose, distribute or copy it.  Anyone who communicates with 
us by e-mail is taken to accept the risks in so doing.  E-mails are subject to 
data corruption, delay, interception and unauthorised amendment.  Nothing in 
the message is capable of or intended to create any legally binding obligation 
and it is not intended to provide legal advice.

**







#
This e-mail message has been scanned for Viruses and Content and cleared
by FinSource Infrastructure Services' MailMarshal 
#
#
This e-mail message has been scanned for Viruses and Content and cleared
by FinSource Infrastructure Services' MailMarshal
#

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: What a wonderfull world ..

2007-01-02 Thread David Smith
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
>>
>
>
> -
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>


-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: wrong version of Tomcat

2007-01-02 Thread Leon van der Merwe
Hi Martin,

Thanks but its running on Solaris 10...

I did see that the web.xml file has the following entry:

http://java.sun.com/dtd/web-app_2_3.dtd";>


And not:

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";
version="2.4">

The environment variable seems to be pointing to the right tomcat version.

Just started with company and things are a bit of a mess(SSL errors, mapping 
errors etc).

What is the implication of above? Can I just change it?

Much appreciated

Leon

-Original Message-
From: Martin Gainty [mailto:[EMAIL PROTECTED] 
Sent: 02 January 2007 03:47 PM
To: Tomcat Users List
Subject: Re: wrong version of Tomcat


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) is intended for the use of 
the individual or entity to which it is addressed and may contain information 
that is privileged, proprietary , confidential and exempt from disclosure. If 
you are not the intended recipient, you are notified that any dissemination, 
distribution or copying of this communication is strictly prohibited.
--- 
Le présent message électronique (y compris les pièces qui y sont annexées, le 
cas échéant) s'adresse au destinataire indiqué et peut contenir des 
renseignements de caractère privé ou confidentiel. Si vous n'êtes pas le 
destinataire de ce document, nous vous signalons qu'il est strictement interdit 
de le diffuser, de le distribuer ou de le reproduire.
- Original Message - 
From: "Leon van der Merwe" <[EMAIL PROTECTED]>
To: 
Sent: Tuesday, January 02, 2007 8:15 AM
Subject: wrong version of Tomcat


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 file.

Thanks

Leon

 
FinSource
A Maitland group company
Celebrating 30 years (1976 - 2006) 

FinSource (Pty) Ltd
22 Leeuwen Street, Cape Town, 8001
PO Box 3149, Cape Town, 8000

Tel:  +27 (0)21 480 8600
Direct Line:  +27 (0)21 480 8710
Fax:  +27 (0)21 480 8700
[EMAIL PROTECTED]
 
www.finsourcegroup.com 

BVI   Cape Town   Dublin   Durban   Geneva  Isle of Man   Johannesburg
London   Luxembourg   Paris 


**
This e-mail is confidential and may also be privileged.  If you are not the 
intended recipient, please delete from your system and notify the sender now; 
you may not use, disclose, distribute or copy it.  Anyone who communicates with 
us by e-mail is taken to accept the risks in so doing.  E-mails are subject to 
data corruption, delay, interception and unauthorised amendment.  Nothing in 
the message is capable of or intended to create any legally binding obligation 
and it is not intended to provide legal advice.

**

 

 

 

#
This e-mail message has been scanned for Viruses and Content and cleared 
by FinSource Infrastructure Services' MailMarshal 
#
#
This e-mail message has been scanned for Viruses and Content and cleared 
by FinSource Infrastructure Services' MailMarshal
#

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: wrong version of Tomcat

2007-01-02 Thread Gregor Schneider

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 available @ http://pgpkeys.pca.dfn.de:11371

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: wrong version of Tomcat

2007-01-02 Thread Martin Gainty
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) is intended for the use of 
the individual or entity to which it is addressed and may contain information 
that is privileged, proprietary , confidential and exempt from disclosure. If 
you are not the intended recipient, you are notified that any dissemination, 
distribution or copying of this communication is strictly prohibited.
--- 
Le présent message électronique (y compris les pièces qui y sont annexées, le 
cas échéant) s'adresse au destinataire indiqué et peut contenir des 
renseignements de caractère privé ou confidentiel. Si vous n'êtes pas le 
destinataire de ce document, nous vous signalons qu'il est strictement interdit 
de le diffuser, de le distribuer ou de le reproduire.
- Original Message - 
From: "Leon van der Merwe" <[EMAIL PROTECTED]>
To: 
Sent: Tuesday, January 02, 2007 8:15 AM
Subject: wrong version of Tomcat


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 file.

Thanks

Leon

 
FinSource
A Maitland group company
Celebrating 30 years (1976 - 2006) 

FinSource (Pty) Ltd
22 Leeuwen Street, Cape Town, 8001
PO Box 3149, Cape Town, 8000

Tel:  +27 (0)21 480 8600
Direct Line:  +27 (0)21 480 8710
Fax:  +27 (0)21 480 8700
[EMAIL PROTECTED]
 
www.finsourcegroup.com 

BVI   Cape Town   Dublin   Durban   Geneva  Isle of Man   Johannesburg
London   Luxembourg   Paris 


**
This e-mail is confidential and may also be privileged.  If you are not
the intended recipient, please delete from your system and notify the
sender now; you may not use, disclose, distribute or copy it.  Anyone
who communicates with us by e-mail is taken to accept the risks in so
doing.  E-mails are subject to data corruption, delay, interception and
unauthorised amendment.  Nothing in the message is capable of or
intended to create any legally binding obligation and it is not intended
to provide legal advice.

**

 

 

 

#
This e-mail message has been scanned for Viruses and Content and cleared 
by FinSource Infrastructure Services' MailMarshal
#


Re: wrong version of Tomcat

2007-01-02 Thread olivier nouguier

In the web.xml:
The servlet api must be set with something like:
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" DTD.
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 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 file.

Thanks

Leon


FinSource
A Maitland group company
Celebrating 30 years (1976 - 2006)

FinSource (Pty) Ltd
22 Leeuwen Street, Cape Town, 8001
PO Box 3149, Cape Town, 8000

Tel:  +27 (0)21 480 8600
Direct Line:  +27 (0)21 480 8710
Fax:  +27 (0)21 480 8700
[EMAIL PROTECTED]

www.finsourcegroup.com

BVI   Cape Town   Dublin   Durban   Geneva  Isle of Man   Johannesburg
London   Luxembourg   Paris


**
This e-mail is confidential and may also be privileged.  If you are not
the intended recipient, please delete from your system and notify the
sender now; you may not use, disclose, distribute or copy it.  Anyone
who communicates with us by e-mail is taken to accept the risks in so
doing.  E-mails are subject to data corruption, delay, interception and
unauthorised amendment.  Nothing in the message is capable of or
intended to create any legally binding obligation and it is not intended
to provide legal advice.

**








#
This e-mail message has been scanned for Viruses and Content and cleared
by FinSource Infrastructure Services' MailMarshal

#





--
"Souviens-toi qu'au moment de ta naissance tout le monde était dans la joie
et toi dans les pleurs.
Vis de manière qu'au moment de ta mort, tout le monde soit dans les pleurs
et toi dans la joie."


Re: What a wonderfull world ..

2007-01-02 Thread Martin Gainty
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 is privileged, proprietary , confidential and exempt from disclosure. If 
you are not the intended recipient, you are notified that any dissemination, 
distribution or copying of this communication is strictly prohibited.
--- 
Le présent message électronique (y compris les pièces qui y sont annexées, le 
cas échéant) s'adresse au destinataire indiqué et peut contenir des 
renseignements de caractère privé ou confidentiel. Si vous n'êtes pas le 
destinataire de ce document, nous vous signalons qu'il est strictement interdit 
de le diffuser, de le distribuer ou de le reproduire.
- Original Message - 
From: "Dinesh Kumar" <[EMAIL PROTECTED]>
To: "Tomcat Users List" 
Sent: Tuesday, January 02, 2007 7:13 AM
Subject: Re: What a wonderfull world ..


> 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: users@tomcat.apache.org
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
>

RE: Wrong version of Tomcat

2007-01-02 Thread Leon van der Merwe
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,

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 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 file.
>
> Thanks
>
> Leon
>
> FinSource
> A Maitland group company
> Celebrating 30 years (1976 - 2006)
>
> FinSource (Pty) Ltd
> 22 Leeuwen Street, Cape Town, 8001
> PO Box 3149, Cape Town, 8000
>
> Tel:  +27 (0)21 480 8600
> Direct Line:  +27 (0)21 480 8710
> Fax:  +27 (0)21 480 8700
> [EMAIL PROTECTED]
> 
> www.finsourcegroup.com
>
> BVI   Cape Town   Dublin   Durban   Geneva  Isle of Man   Johannesburg
> London   Luxembourg   Paris
>
> **
> **
> **
> This e-mail is confidential and may also be privileged.  If you are
not
> the intended recipient, please delete from your system and notify the
> sender now; you may not use, disclose, distribute or copy it.  Anyone
> who communicates with us by e-mail is taken to accept the risks in so
> doing.  E-mails are subject to data corruption, delay, interception
and
> unauthorised amendment.  Nothing in the message is capable of or
> intended to create any legally binding obligation and it is not
intended
> to provide legal advice.
>

> **
>
>
>
>
>
>
>
>
> ##
> ###
> This e-mail message has been scanned for Viruses and Content and
cleared
> by FinSource Infrastructure Services' MailMarshal
>
> ##
> ###
>
>


-- 
Bruno Vilardo
MFG/Pro Admin & Database Specialist
QAD Brazil
Office - 55 11 5508-2700
Mobile - 55 11 -8869
[EMAIL PROTECTED]
#
This e-mail message has been scanned for Viruses and Content and cleared 
by FinSource Infrastructure Services' MailMarshal
#

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Wrong version of Tomcat

2007-01-02 Thread Bruno Vilardo

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 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 file.

Thanks

Leon

FinSource
A Maitland group company
Celebrating 30 years (1976 - 2006)

FinSource (Pty) Ltd
22 Leeuwen Street, Cape Town, 8001
PO Box 3149, Cape Town, 8000

Tel:  +27 (0)21 480 8600
Direct Line:  +27 (0)21 480 8710
Fax:  +27 (0)21 480 8700
[EMAIL PROTECTED]

www.finsourcegroup.com

BVI   Cape Town   Dublin   Durban   Geneva  Isle of Man   Johannesburg
London   Luxembourg   Paris


**
This e-mail is confidential and may also be privileged.  If you are not
the intended recipient, please delete from your system and notify the
sender now; you may not use, disclose, distribute or copy it.  Anyone
who communicates with us by e-mail is taken to accept the risks in so
doing.  E-mails are subject to data corruption, delay, interception and
unauthorised amendment.  Nothing in the message is capable of or
intended to create any legally binding obligation and it is not intended
to provide legal advice.

**








#
This e-mail message has been scanned for Viruses and Content and cleared
by FinSource Infrastructure Services' MailMarshal

#





--
Bruno Vilardo
MFG/Pro Admin & Database Specialist
QAD Brazil
Office - 55 11 5508-2700
Mobile - 55 11 -8869
[EMAIL PROTECTED]


wrong version of Tomcat

2007-01-02 Thread Leon van der Merwe
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 file.

Thanks

Leon

 
FinSource
A Maitland group company
Celebrating 30 years (1976 - 2006) 

FinSource (Pty) Ltd
22 Leeuwen Street, Cape Town, 8001
PO Box 3149, Cape Town, 8000

Tel:  +27 (0)21 480 8600
Direct Line:  +27 (0)21 480 8710
Fax:  +27 (0)21 480 8700
[EMAIL PROTECTED]
 
www.finsourcegroup.com 

BVI   Cape Town   Dublin   Durban   Geneva  Isle of Man   Johannesburg
London   Luxembourg   Paris 


**
This e-mail is confidential and may also be privileged.  If you are not
the intended recipient, please delete from your system and notify the
sender now; you may not use, disclose, distribute or copy it.  Anyone
who communicates with us by e-mail is taken to accept the risks in so
doing.  E-mails are subject to data corruption, delay, interception and
unauthorised amendment.  Nothing in the message is capable of or
intended to create any legally binding obligation and it is not intended
to provide legal advice.

**

 

 

 

#
This e-mail message has been scanned for Viruses and Content and cleared 
by FinSource Infrastructure Services' MailMarshal
#


Wrong version of Tomcat

2007-01-02 Thread Leon van der Merwe
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 file.
 
Thanks
 
Leon
 
FinSource
A Maitland group company
Celebrating 30 years (1976 - 2006) 

FinSource (Pty) Ltd
22 Leeuwen Street, Cape Town, 8001
PO Box 3149, Cape Town, 8000

Tel:  +27 (0)21 480 8600
Direct Line:  +27 (0)21 480 8710
Fax:  +27 (0)21 480 8700
[EMAIL PROTECTED]
 
www.finsourcegroup.com 

BVI   Cape Town   Dublin   Durban   Geneva  Isle of Man   Johannesburg
London   Luxembourg   Paris 


**
This e-mail is confidential and may also be privileged.  If you are not
the intended recipient, please delete from your system and notify the
sender now; you may not use, disclose, distribute or copy it.  Anyone
who communicates with us by e-mail is taken to accept the risks in so
doing.  E-mails are subject to data corruption, delay, interception and
unauthorised amendment.  Nothing in the message is capable of or
intended to create any legally binding obligation and it is not intended
to provide legal advice.

**

 

 

 

#
This e-mail message has been scanned for Viruses and Content and cleared 
by FinSource Infrastructure Services' MailMarshal
#


Re: What a wonderfull world ..

2007-01-02 Thread Dinesh Kumar

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: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: I have deployed build , using root user ,

2007-01-02 Thread Vijay Hatewar
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 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 /home/tomcat/webapps/YOURAPP

restart tomcat (still as user tomcat!)
re-deploy your app (still as user tomcat)

if the tomcat-home-directory on your machine is different, change the
above statements accordingly. if the tomcat-user is different from
user "tomcat", change above statements accordingly. if user "tomcat"
belongs to a different group than "tomcat", change above statements
accordingly.

maybe you'd like to ask a colleque to help who knows his ways within
unix / linux.

cheers

greg
-- 
what's puzzlin' you, is the nature of my game
gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2
gpgp-key available @ http://pgpkeys.pca.dfn.de:11371

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


DISCLAIMER
==
This e-mail may contain privileged and confidential information which is the 
property of Persistent Systems Pvt. Ltd. It is intended only for the use of the 
individual or entity to which it is addressed. If you are not the intended 
recipient, you are not authorized to read, retain, copy, print, distribute or 
use this message. If you have received this communication in error, please 
notify the sender and delete all copies of this message. Persistent Systems 
Pvt. Ltd. does not accept any liability for virus infected mails.

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: I have deployed build , using root user ,

2007-01-02 Thread Gregor Schneider

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 /home/tomcat/webapps/YOURAPP

restart tomcat (still as user tomcat!)
re-deploy your app (still as user tomcat)

if the tomcat-home-directory on your machine is different, change the
above statements accordingly. if the tomcat-user is different from
user "tomcat", change above statements accordingly. if user "tomcat"
belongs to a different group than "tomcat", change above statements
accordingly.

maybe you'd like to ask a colleque to help who knows his ways within
unix / linux.

cheers

greg
--
what's puzzlin' you, is the nature of my game
gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2
gpgp-key available @ http://pgpkeys.pca.dfn.de:11371

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: session#getId changes during doGet invocation under heavy load

2007-01-02 Thread Peter Coppens

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 interact with the database. Perhaps I
messed up something in that part.

Anyway, I have done more testing and by reducing the size of the tomcat
threadpool I am getting far better results. Every now and then the client
app (jmeter) gets a 503, but that is not so bad. The server no longer locks
up and overall response times are very acceptable.

Thanks to everyone for all suggestions! It has greatly improved my knowledge
on the problems one has to deal with in this type of environments.

Peter



Martin Gainty wrote:
> 
> Also be aware of the distinction between Request.getSession(true) and
> Request.getSession(false) where
> Request.getSession(true) will attempt to create a new session (if none
> exists)
> Request.getSession(false) will NOT create a new session
> (perhaps you should use option 2)
> 
> Also which mechanism are you are using to create,prepare,execute and
> commit your DB statement?
> It appears you *may* have some asynchronous operations executing which may
> not be synchronsing to the invoking call 
> 
> 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
> information that is privileged, proprietary , confidential and exempt from
> disclosure. If you are not the intended recipient, you are notified that
> any dissemination, distribution or copying of this communication is
> strictly prohibited.
> --- 
> Le présent message électronique (y compris les pièces qui y sont annexées,
> le cas échéant) s'adresse au destinataire indiqué et peut contenir des
> renseignements de caractère privé ou confidentiel. Si vous n'êtes pas le
> destinataire de ce document, nous vous signalons qu'il est strictement
> interdit de le diffuser, de le distribuer ou de le reproduire.
> - Original Message - 
> From: "Hassan Schroeder" <[EMAIL PROTECTED]>
> To: "Tomcat Users List" 
> Sent: Saturday, December 30, 2006 2:39 PM
> Subject: Re: session#getId changes during doGet invocation under heavy
> load
> 
> 
>> On 12/30/06, Peter Coppens <[EMAIL PROTECTED]> wrote:
>> 
>>> That said, I am baffled by the fact that some connections take
>>> >15minutes.
>> 
>> Are you referring to MySQL connection setup time? Or query time?
>> Either way, it certainly doesn't sound like a Tomcat problem... :-)
>> 
>> -- 
>> Hassan Schroeder  [EMAIL PROTECTED]
>> 
>> -
>> To start a new topic, e-mail: users@tomcat.apache.org
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>> 
>>
> 

-- 
View this message in context: 
http://www.nabble.com/session-getId-changes-during-doGet-invocation-under-heavy-load-tf2892448.html#a8121253
Sent from the Tomcat - User mailing list archive at Nabble.com.


-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]