Given the following server.xml snipplet (functional), we'd like to move
the jdbc/entitlement to the host element using a GlobalNamingResource
(see bottom for example one of many attempts).. Can someone shed some
light on how to accomplish this so all my contexts within a HOST element
have access
In the host element there is an appbase definition, you may modify this
value (all contexts then become relative to this new location)
-Original Message-
From: Takumi Fujiwara [mailto:[EMAIL PROTECTED]
Sent: Monday, March 15, 2004 2:55 PM
To: [EMAIL PROTECTED]
Subject: Location of the
Put these jars under your webapp/WEB-INF/lib folder...
-Original Message-
From: Mark Richards [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 17, 2004 10:55 AM
To: Tomcat Users List (E-mail)
Subject: JMX conflict in Tomcat 5.0
Hello,
I am working on a web-application that was
Check your validation query in your resource definition.
-Original Message-
From: Paul Mahoney [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 17, 2004 12:57 PM
To: 'Parsons Technical Services'; 'Tomcat Users List'
Subject: RE: Problem using JNDI/DBCP to get DataSouce
Tried
is just not working and I'm not
seeing
the proper error. But I can find nothing more in the logs :(
-Original Message-
From: D'Alessandro, Arthur [mailto:[EMAIL PROTECTED]
Sent: 17 March 2004 18:00
To: Tomcat Users List; [EMAIL PROTECTED]; Parsons Technical Services
Subject: RE: Problem using
for validation with 1 record, 1
field to minimize the overhead. A validation query is performed before
each connection object is handed out.
-Original Message-
From: Paul Mahoney [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 17, 2004 2:19 PM
To: D'Alessandro, Arthur; 'Tomcat Users List'; 'Parsons
TC4 supports context resource fragments, but not within a war
(META-INF/context.xml in TC5)...
-Original Message-
From: Parsons Technical Services [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 17, 2004 6:18 PM
To: Tomcat Users List
Subject: Kumar's JDBC problems with MySQL
Kumar,
Which version of Tomcat? I believe this is known behavior for Tomcat 4,
if you define a context element pointing to a war fail. There should be
no problem with functionality; can you verify? A War is not required to
be extracted in order for it to load properly.
-Original Message-
There is no blanket statement that can answer your question without
testing.. TC4 implements jsp 1.2, TC5 implements JSP 2...
We found some small problems when we migrated with closing tags
element
value
value
/element
Works, however
element
/element
Needs to be written as element/ in
believe this is known behavior for Tomcat 4
Is it different for Tomcat 5?
Thanks,
Jesse
-Original Message-
From: D'Alessandro, Arthur [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 18, 2004 9:43 AM
To: Tomcat Users List
Subject: RE: Context mapping and war
Which version
]
Sent: Thursday, March 18, 2004 10:14 AM
To: 'Tomcat Users List'
Subject: RE: Context mapping and war
That works! There's no way to make it extract though?
Jesse
-Original Message-
From: D'Alessandro, Arthur [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 18, 2004 9:53 AM
To: Tomcat Users
IF (and this is a big IF) your webapp is expanded, your relative path
then becomes from the catalina bin directory, so
../webapps/webappname/otherpath
Should work, but it's, I've had succes and failures doing this.
-Original Message-
From: Jonathan Melhuish [mailto:[EMAIL PROTECTED]
of webapp directory
Hi,
IF your webapp is expanded, use ServletContext#getRealPath. Don't rely
on this relative to $CATALINA_HOME/bin approach.
Yoav Shapira
Millennium Research Informatics
-Original Message-
From: D'Alessandro, Arthur [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 18, 2004
address For servers with more than one IP address, this attribute
specifies which address will be used for listening on the specified
port. By default, this port will be used on all IP addresses associated
with the server.
From:
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/http.html
We'd like to implement a single Tomcat 5 server running multiple ip
address aliases, each with it's own SSL certificate assigned. I do not
see a configuration option, other than potentially trying to utilize a
different keystore file (each with it's own tomcat alias cert) for each
virtual host.
://tomcat.objektpark.org/
Bill Barker schrieb:
IMHO, using separate keystore files is the easiest option. However, it
should also be possible to specify which cert to use via the 'keyAlias'
attribute on the Connector.
D'Alessandro, Arthur [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
We'd like
separate keystore files is the easiest option. However, it
should also be possible to specify which cert to use via the 'keyAlias'
attribute on the Connector.
D'Alessandro, Arthur [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
We'd like to implement a single Tomcat 5 server running multiple
keytool -list -v
-Original Message-
From: Reis, Tom [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 24, 2004 9:37 AM
To: Tomcat Users List (E-mail)
Subject: SSL Certificate
Is there a way to view a Verisign SSL certificate after it is
imported into the .keystore file. It
May help if you post your resource snipplet (replacing any host /user/passwd info)
-Original Message-
From: Gordon Luk [mailto:[EMAIL PROTECTED]
Sent: Thu Mar 25 05:30:56 2004
To: Tomcat Users List
Subject:Connection Pool setup.
Hi All,
May be I missing understand
What are your imports?
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Fri Apr 09 16:58:08 2004
To: [EMAIL PROTECTED]
Subject:jdk1.4 tomcat5 log4j finds java.util.logging Logger not log4j
hi all
I am running
tomcat 5, with jdk 1.4
and have
You need to make a refernce in your web app contexts to the global
resource:
ResourceLink name=jdbc/myresourcename global=jdbc/myresourcename
type=javax.sql.DataSource/
-Original Message-
From: snpe [mailto:[EMAIL PROTECTED]
Sent: Sunday, April 11, 2004 12:49 PM
To: [EMAIL PROTECTED]
/context.xml and it don't work - when I add jndi
with tomcat admin it work, but add all parameters in
conf/Catalina/host/app.xml
Is it correct behavior ?
Thanks
Haris Peco
On Sunday 11 April 2004 02:56 pm, D'Alessandro, Arthur wrote:
You need to make a refernce in your web app contexts
Robert,
First thing, tomcat looks for the users home folder of whom is running
tomcat for .keystore, if this is not available, or you wish to move the
keystore, you can state so in the Connector within server.xml
Another thing, the password defaults to 'changeit', if you wish to have
an
)
at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:56
9)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool
.java:677)
at java.lang.Thread.run(Thread.java:536)
Thanks,
Robert
D'Alessandro, Arthur wrote:
Robert,
First thing, tomcat
keystorePass=secret
clientAuth=false
protocol = TLS/
/Connector
Thanks,
Robert
D'Alessandro, Arthur wrote:
I'm not too familiar with Jboss, is it within tomcat? If so, what does
your server.xml connector snippplet look like?
-Original Message-
From
TC4 | TC5?
There are several ways, when defining the context for your webapp, use
the context ... path= ... /
If TC5, then you can rename your webapp to ROOT.war, and it will deploy.
-Original Message-
From: Umer Rashid [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 15, 2004 10:54 AM
I think I've seen back posts indicating that the JMX option will do
this, try removing..
Listener
className=org.apache.catalina.mbeans.ServerLifecycleListener
debug=0/
Listener
className=org.apache.catalina.mbeans.GlobalResourcesLifecycleListener
debug=0/
From your
Look at the tomcat configuration guide... The HOST element under
server.xml is what your looking for.
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/host.html
-Original Message-
From: Yongsheng Yang [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 20, 2004 3:27 PM
To: [EMAIL
Yes, the manager app may be applied to each host, you'll need to define
the manager context inside the host element.
-Original Message-
From: Emerson Cargnin [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 20, 2004 5:11 PM
To: Tomcat Users List
Subject: tomcat virtual hosts question
If
I have done my due diligence on the net looking into this question,
however was unable to locate a definitive answer regarding tomcat and
case sensitivity with webapps URL mappings.
Can anyone provide better insight on how to remove case sensitivity from
the configuration? or examples on how to
Same line of question, how do tomcat web admins present URL's? Is there
a defacto standard for tomcat web developers that only upper, lower, or
camel notation From and end users perspective, having to alter case
for a web URL is a hassle, and in most cases would yield a 404 because
of
That piece is known, but for webapps and the like, some people bookmark,
some people remember.. I think a good overall suggestion is to utilize
different Host elements with each mapping at the root of that Host to
the specified webapp rather than using the webapps as virtual
directories under a
I understand that there are caveats to using the manager application
with contexts that have been specified within the server.xml file...
I have 3 virtual hosts setup, all are separate web applications. Each
has the manager context application associated to themselves. The
manager appears to
I pre-create my contexts within the server xml file, and point the
source to the war file. I can then upgrade the war file, then
stop/start the webapp from the manager application. This recreates the
webapp from the new war.
-Art
-Original Message-
From: Sleeper, Jesse [mailto:[EMAIL
Goto microsoft's site, they have a SQL 2000 JDBC driver available..
-Art
-Original Message-
From: Suchun Wu [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 17, 2003 8:26 PM
To: Tomcat Users List
Subject: Re: help in tomcat 5 and MS SQL 2000
In the how-to file you mentioned, there
Define deleted the /ROOT context...
-Original Message-
From: Dwayne Ghant [mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 21, 2004 10:01 PM
To: Tomcat Users List
Subject: DELETED /ROOT CONTEXT PLEAS HELP!!!
Like a dummy I made the owfull mistake of deleting
the /ROOT context I really
, December 21, 2004 10:07 PM
To: Tomcat Users List
Subject: Re: DELETED /ROOT CONTEXT PLEAS HELP!!!
You mean like this ???
Context path= docBase=$CATALINA_HOME/webapps/ROOT debug=0
reloadable=true crossContext=true privileged=true
D'Alessandro, Arthur wrote:
Define deleted the /ROOT context
, 2004 10:09 PM
To: Tomcat Users List
Subject: Re: DELETED /ROOT CONTEXT PLEAS HELP!!!
Using the manerger I login and clicked on
the remove button to delete the /ROOT Context ...
D'Alessandro, Arthur wrote:
Define deleted the /ROOT context...
-Original Message-
From: Dwayne Ghant [mailto
installation
of tomcat that I can copy over do you think that will work??
I really put my self in a jam NOW!
D'Alessandro, Arthur wrote:
So you undeployed using the manager app.. You'll have to restore the
ROOT folder from a backup, I'm assuming this is your custom root web
application
I started to play around with OpenEJB
http://www.openejb.org/tomcat.html
-Original Message-
From: RĂ´mulo Cordeiro Lana [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 11, 2005 1:48 PM
To: Tomcat Users List
Subject: J2ee jars?
What is the best approach to include j2ee jars in tomcat?
Add a resourcelink to your context definition.
-Original Message-
From: ohaya [mailto:[EMAIL PROTECTED]
Sent: Sat Aug 07 18:07:42 2004
To: Tomcat Users List
Subject:Re: Newbie - JDBC problem Name is not bound in this context
I'm not a JNDI expert but you can try this:
folder..
-Original Message-
From: ohaya [mailto:[EMAIL PROTECTED]
Sent: Saturday, August 07, 2004 8:11 PM
To: Tomcat Users List
Subject: Re: Newbie - JDBC problem Name is not bound in this context
D'Alessandro, Arthur wrote:
Add a resourcelink to your context definition.
Arthur
Add this to your JAVA_OPTS
-Djava.awt.headless=true
Normally, when rendering graphics, java will try to use the graphics
engine. If no X-windows is installed, it fails to render things that
use AWT. This parameter tells java not to use the system graphics
engine.
-Original Message-
Try a resourcelink in your context for the webapp.
Eg.
Context cachingAllowed=true docBase=yourwebappname.war debug=99
path=/yourwebappname privileged=false reloadable=true
swallowOutput=true
ResourceLink name=jdbc/globalname global=jdbc/globalname
type=javax.sql.DataSource/
/Context
=true/value
/parameter
/ResourceParams
/Context
Thank you,
-Raiden Johnson
On Sat, 9 Oct 2004, D'Alessandro, Arthur wrote:
A suggestion, include the ROOT.xml as context.xml under META-INF, tomcat
will create it under your host as ROOT.xml when it is deployed. That
doesn't solve
much for your help!
-Raiden Johnson
On Mon, 11 Oct 2004, D'Alessandro, Arthur wrote:
Try changing the docbase from ROOT TO ROOT.war.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Mon Oct 11 13:39:17 2004
To: Tomcat Users List
Subject: RE
A suggestion, include the ROOT.xml as context.xml under META-INF, tomcat
will create it under your host as ROOT.xml when it is deployed. That
doesn't solve the problem your experiencing, what does your ROOT.xml
look like? What are you referencing your docBase? Ours word fine by
referencing the
You may also want to put in a validation query, it adds overhead, but it
forces a reconnection.. I had a similar problem with postgres where the
pooled connections didn't know they were no longer properly connected.
By adding the validation query, it forces the manager to verify
connection before
I believe when you close the connection, which should be added in a
finally block eg.
} finally {
try {
oConn.close();
} catch (Exception ex) {
// Can't recovery gracefully,
Any, such as if you have a user table,
Select lastname from user where userid = 1
It's just a query which is going to return results.
-Art D'Alessandro
CBE Technologies
Office: 617-514-1785
Cell: 617-905-5917
-Original Message-
From: Derek Mahar [mailto:[EMAIL PROTECTED]
Sent:
We've been getting these every now and then:
Jan 23, 2004 5:03:30 PM org.apache.tomcat.util.net.TcpWorkerThread runIt
SEVERE: Exception in acceptSocket
java.lang.OutOfMemoryError
Jan 23, 2004 5:03:30 PM
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable run
SEVERE: Caught exception
memory is
being wasted. probably in your own webapp
-Original Message-
From: D'Alessandro, Arthur [mailto:[EMAIL PROTECTED]
Sent: Monday, January 26, 2004 11:43 AM
To: Tomcat Users List
Subject: OutOfMemory exception explanation?
We've been getting these every now and then:
Jan
52 matches
Mail list logo