Hello,
We are using Tomcat 5.x.
We would like to know if there are any known/fixed issues with DST changes for
US timezone from 2007 to Tomcat.
Is there a Tomcat version that has fixes to this issues?
Thanks,
Advait
Hello all !I'm currently trying to use Tomcat Ant tasks from within Eclipse 3.2. (deploy, reload, start, stop, etc...). I join my build.xml for further insight.
I've added ant.jar, catalina-ant.jar tools.jar to Window / Preferences / Ant / runtime / global entries, but no way. I'm still getting
Instead of defining the username and password as attributes have you tried
defining them as resource parameters ? just a hunch ..
parameter
nameusername/name
valuemyoracleuser/value
/parameter
-Sameer
Parsons Technical Services [EMAIL PROTECTED] wrote: Try this:
--- Darren Hall [EMAIL PROTECTED] wrote:
Further progress...
When I connect to the database directly (not using a
connection pool) and
specify the same username and password below, the
code executes fine. When I
try to do the context lookup and connect to the
database via the connection
Hi,
I have my application running on tomcat for quite a long time.
I discovered a large amount of space taken up by the tomcat logs like
catalina.out.
Is there any way to trim catalina.out..?
I am quite new to this and was not able to go further on how to trim.
Please let me know if you have
Hi!
Pierre Goupil schrieb:
path id=pathsOfAnt
pathelement
location=${appserver.home}/server/lib/catalina-ant.jar/
pathelement
location=D:\Zala\Programmation\apache-ant-1.6.5-bin\apache-ant-1.6.5\lib\ant.jar/
/path
I am not sure, but try using
Use rotatelogs from apache or cronlog at catalina.sh|bat
Regards
Peter
Am 19.09.2006 um 10:01 schrieb [EMAIL PROTECTED]:
Hi,
I have my application running on tomcat for quite a long time.
I discovered a large amount of space taken up by the tomcat logs like
catalina.out.
Is there any
Simon wrote:
According to the Google Information for Webmasters page, it appears
that Google will not index/crawl pages correctly with the JSessionId
appended to the
You don't get it. They say, that your site should work correctly (i.e.
the navigation should work, the content should be
Hi. I need to set cookie domain in my application to .example.com (not
example.com). How can I do it deploying under tomcat?
Thanks,
--
Rafał Zawadzki
Release Manager
pgpeUY14BifEg.pgp
Description: PGP signature
Hi !
No, sorry, it makes no difference...
Regards,
Pierre
--
Rien de grand ne s'est accompli dans le monde sans passion.
(G.W.F. Hegel, philosophe Allemand)
From: Ping Yu [mailto:[EMAIL PROTECTED]
I would like to transfer a file from Machine A to Machine
B. In Machine A, there are several IP addresses. However, the
IP address launched by Tomcat might be different from the IP
address I choose to transfer the file. Are there any ways
that I
Somehow I doubt this is an issue with tomcat. Date processing is
handled by the underlying JVM.
--David
advait samant wrote:
Hello,
We are using Tomcat 5.x.
We would like to know if there are any known/fixed issues with DST changes for
US timezone from 2007 to Tomcat.
Is there a Tomcat
So let's see if I read your message correctly:
You want to upload a file from Machine A to Machine B. Machine A has
several IP addresses and you aren't sure which one Tomcat will use to
attempt contact with Machine B.
I think from the receiving end, you can use request.getRemoteAddr() to
Thanks for the reply David,
Java 1.4.2_11 has support for new DST.
I just want to make sure that there is no issue with DST changes in tomcat.
If tomcat is using JVM for zone/time/date processing entirely then there
shouldn't be any issue.
~Advait
- Original Message
From: David
Hi,
I would like to know what are the system requirements for using Tomcat
in a production server, with 50-100 users, on a Red Hat Advanced Server 3.
Where can I find benchmarks ?
Thank you for your advices,
Nicolas DEMESY
DEMESY Nicolas wrote:
I would like to know what are the system requirements for using Tomcat
in a production server, with 50-100 users, on a Red Hat Advanced
Server 3.
Where can I find benchmarks ?
It depends. Mostly on the application you want to use. But you didn't
bother to tell it.
--
From: DEMESY Nicolas [mailto:[EMAIL PROTECTED]
I would like to know what are the system requirements for
using Tomcat
in a production server, with 50-100 users, on a Red Hat
Advanced Server 3.
Where can I find benchmarks ?
It depends. I have a webapp (almost entirely static content)
Hi Nicolas,
Tomcat works best with large hardware. I have found that using a Sun
Enterprise 15K with 1 processor per online user gives me the best
performance.
Regards
Andrew
PS: Maybe you should give us slightly more detailed information about
your requirements if you want someone to
Nicolas-
I found a link which displays the 'upper limits'
(at the bottom of the page are Required Minimums)
http://www.redhat.com/rhel/details/limits/
HTH,
M-
*
This email message and any files transmitted with it contain
Andrew Miehs wrote:
Hi Nicolas,
Tomcat works best with large hardware. I have found that using a Sun
Enterprise 15K with 1 processor per online user gives me the best
performance.
Don't forget the 1GB of RAM per user... That combination would giive
terrific performance ;-)
Regards
Thank you for yours answers.
I have one context for a web portal with servlet pages and one context
for an axis web server .
Sorry for the missing information .
Nicolas DEMESY
Mikolaj Rydzewski a écrit:
DEMESY Nicolas wrote:
I would like to know what are the system requirements for using
From: DEMESY Nicolas [mailto:[EMAIL PROTECTED]
I have one context for a web portal with servlet pages and
one context for an axis web server .
OK... you still need more information here, I'm afraid. Axis is pretty
small and pretty quick, but the web services that are running in it
could be
Have you tried
username=myuserid password=mypassword
instead username=(myuserid) password=(mypassword)
Jean-Claude
-Message d'origine-
De : Sameer Acharya [mailto:[EMAIL PROTECTED]
Envoyé : mardi 19 septembre 2006 08:49
À : Tomcat Users List
Objet : Re: Database connection pooling in
server.xml
Host spec for Standalone configuration
Engine name=Standalone defaultHost=localhost jvmRoute=jvm1
Host for top level Catalina container
Engine name=Catalina defaultHost=localhost
HTH
Martin --
*
This email
Have you tried
username=myuserid password=mypassword
instead username=(myuserid) password=(mypassword)
Yes Jean-Claude. In fact, I don't use the parenthesis around the username
and password in my context.xml file. I just listed it that way here in the
list so people would understand the
couldn't you simply create a HttpServletResponseWrapper object in a
filter, this object could overwrite the method that encodes the URL and
remove the JSESSIONID from it
Filip
Simon wrote:
Hi,
According to the Google Information for Webmasters page, it appears
that Google will not
Hi all,
I have Apache/2.0.54 mod_jk/1.2.18 and tomcat 5.5.9 installed on Sun
Solaris8.
I've inserted the rows
JkAutoAlias /usr/local/tomcat/webapps
and
JkMount /My_application default
JkMount /My_application/* default
in the httpd.conf and
workers.tomcat_home=$CATALINA_HOME
Hello,
I have a Tomcat box (running 5.0.30) for production code. There, our
dev team deploys applications as they finish them, under different
contexts. We want these applications to be available under an Apache
httpd (2.0.55) Internet-facing server, each on a virtual host:
Tomcat 5.0.28
Eclipse Version: 3.2.0
When I start Tomcat from within Eclipse, I receive the following in my
Console. My application still works fine, but I have no clue on what
could be causing this error to be displayed?
2006-09-19 08:46:20,079 INFO
Hi Darren,
See below for some code that I recently sent to the list in relation to
this problem. It helped with the other person, might work for you too.
Regards,
Martin
--
// fragment from web.xml
resource-ref
descriptionDB Connection/description
res-ref-namejdbc/dbname/res-ref-name
Have a look at mod- rewrite
Best Regards
Bruno Georges
Glencore International AG
Tel. +41 41 709 3204
Fax +41 41 709 3000
- Original Message -
From: Carlos A. Carnero Delgado [EMAIL PROTECTED]
Sent: 19.09.2006 15:50
To: users@tomcat.apache.org
Subject: Apache httpd + (internal)
Hello All,
There is a bug that i have to fix, please help.
There is an application made in Tomcat in the webapps\Mondrian
directory, the application is already being used by the clients,
the problem is the client has to always type
http://abc.com/Mondrian/index.jsp in the address bar, rather
As it appears you may be missing the parameter(s)
parameter
nameusername/name
valuePutYourUsernameHere/value
/parameter
parameter
namepassword/name
valuePutYourPasswordHere/value
/parameter
can you print the contents of
Todd
Here is the web.xml from my root webapp
?xml version=1.0 encoding=ISO-8859-1?
!--
Copyright 2004 The Apache Software Foundation
Licensed under the Apache License, Version 2.0 (the License);
you may not use this file except in compliance with the License.
You may obtain a copy of the
Ashirvad Uniyal wrote:
There is a bug that i have to fix, please help.
Is there a bug?
You can deploy your app in the root context.
--
Mikolaj Rydzewski [EMAIL PROTECTED]
smime.p7s
Description: S/MIME Cryptographic Signature
can you print the contents of context.xml?
Absolutely Martin,
The parameters are there, but they are included as attributes instead of
contained as the body of an element. I'm not sure if this matters or not,
but I have it implemented a way I saw it done in a JNDI Datasource How-To
on Apache's
Hi,
Have a look at mod- rewrite
We have looked into it (not in depth, granted.) But:
(1) We have seen that it is capable of proxying, not just
URL rewriting. If we using its proxying capabilites,
do we still need mod-jk?
(2) When we tried using it, some stuff worked all right,
As the subject title implies, we are looking at 5.5. In 5.5, the
parameters on a resource are expressed as attributes on the Resource
element.
--David
Martin Gainty wrote:
As it appears you may be missing the parameter(s)
parameter
nameusername/name
Carlos A. Carnero Delgado wrote:
(1) We have seen that it is capable of proxying, not just
URL rewriting. If we using its proxying capabilites,
do we still need mod-jk?
I'd use mod_proxy_ajp included in apache 2.2.x with AJP connector. There
would no cookie problems.
(2) When we tried
Please display the contents of your context.xml so we may assist you
M-
*
This email message and any files transmitted with it contain confidential
information intended only for the person(s) to whom this email message is
I'd use mod_proxy_ajp included in apache 2.2.x with AJP
connector. There would no cookie problems.
We will install Apache 2.2.x if we can't find a solution within 48
hours ;) Part of the problem is that it was decided, from on-high,
that the production HTTP server would be Apache 2.0.x, which
From: Ashirvad Uniyal [mailto:[EMAIL PROTECTED]
Subject: URL Redirection
the problem is the client has to always type
http://abc.com/Mondrian/index.jsp in the address bar, rather
than typing only
http://abc.com/index.jsp.
Rename your application to ROOT (case sensitive). Apps deployed
Carlos A. Carnero Delgado wrote:
We will install Apache 2.2.x if we can't find a solution within 48
hours ;) Part of the problem is that it was decided, from on-high,
that the production HTTP server would be Apache 2.0.x, which does not
have neither the built-in ajp proxy nor the cookie-handling
Ashirvad Uniyal wrote:
There is an application made in Tomcat in the webapps\Mondrian
directory, the application is already being used by the clients,
the problem is the client has to always type
http://abc.com/Mondrian/index.jsp in the address bar, rather than typing
only
Hi,
I have used virtual hosts configured as below on a Apache 1.3 server
to proxy to Tomcat. Maybe of interest to you.
VirtualHost 10.0.0.10:80
ServerName www.domain1.com
ProxyPass / http://192.168.100.20:8080/app1/
ProxyPassReverse / http://192.168.100.20:8080/app1/
ProxyRequests off
ErrorLog
Just some feedback for a new configurable feature which would solve a
common issue - you can take it or leave it.
Problem Description:
It's very easy to bookmark the form login page of a protected Tomcat
application. Most users (even experienced ones) automatically assume
Great - not only is the connection pool not working locally, but the drivers
cannot be loaded in my production environment.
I've packaged ojdbc14.jar into my war and it deploys into my WEB-INF/lib
directory. When Tomcat 5.5 starts up and I point a browser at my
application, I get a Cannot load
These jars must be accessible by tomcat to create the pool. They should
be in common/lib.
-Original Message-
From: Darren Hall [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 19, 2006 11:38 AM
To: 'Tomcat Users List'
Subject: cannot load jdbc driver??
Great - not only is the
ojdbc14.jar needs to be in common/lib to be visible to tomcat's database
pooling mechanism.
--David
Darren Hall wrote:
Great - not only is the connection pool not working locally, but the drivers
cannot be loaded in my production environment.
I've packaged ojdbc14.jar into my war and it
did you not specify a JDBC connection in the Realm? server.xml in the conf
file?
I have no Realm specified in server.xml, however I'm attempting to get
connection pooling set-up (see my connection pool thread) so I've created a
context.xml file and specified my connection information inside a
They will be accessible by your war file code. You do not need the jar
in both places. Only common/lib
-Original Message-
From: Darren Hall [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 19, 2006 12:03 PM
To: 'Tomcat Users List'
Subject: RE: cannot load jdbc driver??
did you not
Hello,
I have just recently installed an application (astraweb) that uses
tomcat for its' web client.
I'm trying to setup events.mycompany.com to bring up the astraweb
client. I already have one web server on the network which is the main
website (www.mycompany.com) and astraweb is a
In any case, moving the ojdbc14.jar file to the common/lib directory worked.
Thanks.
-Original Message-
From: Darren Hall [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 19, 2006 12:09 PM
To: 'Tomcat Users List'
Subject: RE: cannot load jdbc driver??
They will be accessible by your
You can, but you'll have to handle database pooling on your own. It's
easy enough to do with a number of pooling projects out there -- c3p0
and commons-dbcp to name a couple.
Just write the code in a ServletContextListener and store the resulting
DataSource in the ServletContext. It won't
shouldn't it deploy automatically within your WAR file? I think it does.
-Original Message-
From: Darren Hall [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 19, 2006 11:09 AM
To: 'Tomcat Users List'
Subject: RE: cannot load jdbc driver??
They will be accessible by your war file
Martin: Thanks for the response. Your example helped me realized that
my install was really messed up.
Thanks,
--Todd
On 9/19/06, Martin Gainty [EMAIL PROTECTED] wrote:
Todd
Here is the web.xml from my root webapp
?xml version=1.0 encoding=ISO-8859-1?
!--
Copyright 2004 The Apache Software
From: Steacy, Christina [mailto:[EMAIL PROTECTED]
Subject: additional URL redirect question
How can I get http://events.mycompany.com
http://events.mycompany.com/ to bring up the homepage of
my astraweb hompage?
1) Install your astraweb app in webapps/ROOT (or webapps/ROOT.war, if
More progress with this issue.
It seems that on our development server (solaris box running solaris 10) the
connection pool connects properly. However on my local box (a Windows XP SP2
box where I'm doing my development before I move it to dev) the connection
pool returns to me an invalid
does your XP box give you any application log errors anywhere?
I wonder if Windows is looking for a domain authentication, that is a domain
name stapled on to the user acct prior to authenticating the user?
Can you print out to the Tomcat logs the errors?
-Original Message-
From:
Title: How do I install custom protocol handler in my Tomcat (4.1.31)?
Hi,
I have a need for a custom URLConnection class in my application. I have written a Handler class that returns one. I also set -Djava.protocol.handler.pkgs=com.ubs.fi.confine.networking in my startup script for
Finally solved this. There is now a note at the bottom of the downloads
page [not all mirrors show the readme notes right on the page, so if you
don't see the note check the README.html :( ] that gives the resolution:
There is an error in 1.2.18 that requires the new feature
does your XP box give you any application log errors anywhere?
I see no errors in the event viewer in any of the logs that are related to
this issue, but it was a good idea. (I didn't think of it.)
I wonder if Windows is looking for a domain authentication, that is a
domain name stapled on
I wonder, Darren, have you tried authenticating at all thru the JDBC realm?
I know you're ultimately wanting and needing to use the JNDI connection, but
I'm just wondering if there was some other misconfiguration problem you could
either rule out or in as a possibility.
That SQL Nested
Did anyone ever find a easy/clean way to disable JSESSIONID on a standalone
tomcat server (so not using apache url rewriting)?
Thanks,
R
Chetan Sabnis wrote:
Is there a way to disable the Tomcat server (5.5) from accepting
sessions that are sent in the URL using jsessionid? This would be
yes
what happens when you specifically deploy the generated war
i.e.
go to MANAGER
GO TO bottom of page
Browse for your NameOfWebapp.war and click Deploy
?
*
This email message and any files transmitted with it contain
That SQL Nested Exception thing in general looks like the root cause...any
way to try going to the DOS prompt and connecting to SQL Plus with that
username/pwd combo?
Yes, using that username and password works fine through SQL Plus, and I've
connected to the database several times through
did you try printing out the username and password variables to see what
credentials are coming through?
-Original Message-
From: Darren Hall [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 19, 2006 1:37 PM
To: 'Tomcat Users List'
Subject: RE: Database connection pooling in Tomcat 5.5
1)
make SURE commons-pooling.jar, commons-dbcp.jar and commons-collections.jar are
in your ./WEB-INF/lib folder
2)
Inside struts-config.xml can you show us what you have supplied for each value
associated with the following properties
data-source type=org.apache.commons.dbcp.BasicDataSource
I would advise to not place app jars in common as it is used by TC Internals
here is why (straight from TC5.5. Doc)
a.. Common - This class loader contains additional classes that are made
visible to both Tomcat internal classes and to all web applications. Normally,
application classes should
did you try printing out the username and password variables to see what
credentials are coming through?
Well, yes and no. I've actually hard coded the username and password into my
code when I've tested *not* using connection pooling, so I know what they
are in that case. When using
From: Martin Gainty [mailto:[EMAIL PROTECTED]
Subject: Re: cannot load jdbc driver??
I would advise to not place app jars in common as it is used
by TC Internals
No one has suggested putting app jars in common/lib; why did you bring
this up?
He has to put the JDBC driver jar there in
From: Darren Hall [mailto:[EMAIL PROTECTED]
Subject: RE: Database connection pooling in Tomcat 5.5
Well, yes and no. I've actually hard coded the username and
password into my code when I've tested *not* using connection
pooling, so I know what they are in that case.
Have you tried a
(In reverse order)
have you used a DB utility such as tora/toad/sqlplus to successfully
authenticate to your Database with the values for username and password?
Yes
Inside struts-config.xml can you show us what you have supplied for each
value associated with the following properties
From: Darren Hall [mailto:[EMAIL PROTECTED]
Subject: RE: Database connection pooling in Tomcat 5.5
make SURE commons-pooling.jar, commons-dbcp.jar and
commons-collections.jar are in your ./WEB-INF/lib folder
None of these jar files are in either my /WEB-INF/lib folder or my
Don't think so you need the commons-*.jar files. Tomcat 5.5 refactored
the commons-dbcp package internally so it wouldn't collide with webapps
using the release version from http://jakarta.apache.org/commons/dbcp.
I don't have those and I've been using mysql without issue.
--David
Darren
They are, you just don't know it. From the doc:
These libraries are located in a single JAR at
$CATALINA_HOME/common/lib/naming-factory-dbcp.jar.
Gotcha. Thanks, Chuck.
The naming-factory-dbcp.jar is in my /commons/lib dir.
The bizarre thing about all of this is that
A) I can connect to
From: Darren Hall [mailto:[EMAIL PROTECTED]
Subject: RE: Database connection pooling in Tomcat 5.5
I don't know where to go from here. I'm stumped.
Which is why I suggested Ethereal to see what was really going over the
wire between your Windows box and the DB machine.
- Chuck
THIS
Which is why I suggested Ethereal to see what was really going over the
wire between your Windows box and the DB machine.
Yep. I think you're right. I'll get that set up and take a look.
Be back in a while. Thanks for the help.
Martin,
After a few moments of working on it, that works just fine.
What does that tell you?
Thanks for thinking about this.
~Peter
-Original Message-
From: Martin Gainty [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 19, 2006 11:36 AM
To: Tomcat Users List
Subject: Re: Tomcat
I'm seeing this message from the started
task the starts TOMCAT, is it something to be concerned about? What
does it mean?
Kevin Mullin
Sr. Analyst
IBM Corporation
(206) 345-7068
[EMAIL PROTECTED]
I am seeing this in the log that tracks
the start of Tomcat:
SEVERE: End event threw exception
java.lang.reflect.InvocationTargetException
.at sun.reflect.GeneratedMethodAccessor20.invoke(Unknown
Source)
...a host of java trace messages ...
.at
Kevin-
When you deploy Tomcat 5.5 you should have jsp-examples webapp in your webapps
folder e.g.
$TOMCAT_HOME/webapps/jsp-examples/WEB-INF/classes/compressionFilters
01/19/2005 04:40 PM 4,025 CompressionFilter.class
01/19/2005 04:40 PM 7,412 CompressionFilter.java
David--
The connection-pool is a series of preallocated Connection Resources which the
ConnectionPoolManager dispatches to registered clients on as needed basis..The
more sophisticated ConnectionPoolManagers have thread starvation metrics and
monitoring built in so if there is no activity on a
sorry I failed to mention that I was running tomcat5.5.17... minor details.
On 9/15/06, Rob Tanner [EMAIL PROTECTED] wrote:
Mark,
Thank you. That took care of the problem.
-- Rob
On 09/15/2006 05:28 PM, Mark Thomas wrote:
Rob Tanner wrote:
Brian,
Adding the Listener ... / parameter
Thank to all who have been watching
the problems I encountered. Thanks to a recent reply, I determined
that I had bad copy of tomcat in the tar.gz download from apache. I
download the .zip version and everything was fine. Well, almost everything.
I no longer got the class not found exceptions
Don't forget 8005 -- the shutdown port. That has to be clear as well.
--David
Kevin Mullin wrote:
Thank to all who have been watching the problems I encountered.
Thanks to a recent reply, I determined that I had bad copy of tomcat
in the tar.gz download from apache. I download the .zip
Thanks, I could try this, but I was kind of hoping for a more general Tomcat
solution (if there is one). I know Resin has a 'enable-url-rewriting' flag
that you can set in it's config.
I guess the question still is, does anyone definitively know if jsessionid
does have negative impact on Google
I use the redirector version 1.2.15 or 1.2.14, with a binary installer
(msi.) 1.2.18 does not appear to have a .msi installer yet.
I have Tomcat 5.5.17 running on several windows servers, some with IIS
6, some with 5 and one with 5.1 (my windows xp system.) On all, I used
the .msi installer.
88 matches
Mail list logo