GlobalNamingResource problem

2004-03-11 Thread D'Alessandro, Arthur
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

RE: Location of the Root webapps

2004-03-15 Thread D'Alessandro, Arthur
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

RE: JMX conflict in Tomcat 5.0

2004-03-17 Thread D'Alessandro, Arthur
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

RE: Problem using JNDI/DBCP to get DataSouce

2004-03-17 Thread D'Alessandro, Arthur
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

RE: Problem using JNDI/DBCP to get DataSouce

2004-03-17 Thread D'Alessandro, Arthur
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

RE: Problem using JNDI/DBCP to get DataSouce

2004-03-17 Thread D'Alessandro, Arthur
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

RE: Kumar's JDBC problems with MySQL

2004-03-17 Thread D'Alessandro, Arthur
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,

RE: Context mapping and war

2004-03-18 Thread D'Alessandro, Arthur
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-

RE: Moving from 4.1 to 5

2004-03-18 Thread D'Alessandro, Arthur
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

RE: Context mapping and war

2004-03-18 Thread D'Alessandro, Arthur
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

RE: Context mapping and war

2004-03-18 Thread D'Alessandro, Arthur
] 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

RE: Location of webapp directory

2004-03-18 Thread D'Alessandro, Arthur
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]

RE: Location of webapp directory

2004-03-18 Thread D'Alessandro, Arthur
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

RE: bindaddress configuration??

2004-03-22 Thread D'Alessandro, Arthur
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

Tomcat 5 Multiple SSL certificates (virtual hosts)

2004-03-23 Thread D'Alessandro, Arthur
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.

Re: Tomcat 5 Multiple SSL certificates (virtual hosts)

2004-03-24 Thread D'Alessandro, Arthur
://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

Re: Tomcat 5 Multiple SSL certificates (virtual hosts)

2004-03-24 Thread D'Alessandro, Arthur
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

RE: SSL Certificate

2004-03-24 Thread D'Alessandro, Arthur
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

RE: Connection Pool setup.

2004-03-25 Thread D'Alessandro, Arthur
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

RE: jdk1.4 tomcat5 log4j finds java.util.logging Logger not log4j

2004-04-09 Thread D'Alessandro, Arthur
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

RE: Global resource JDBC/JNDI

2004-04-11 Thread D'Alessandro, Arthur
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]

RE: Global resource JDBC/JNDI

2004-04-12 Thread D'Alessandro, Arthur
/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

RE: help needed - keytool import of CA certs

2004-04-12 Thread D'Alessandro, Arthur
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

RE: help needed - keytool import of CA certs

2004-04-12 Thread D'Alessandro, Arthur
) 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

RE: help needed - keytool import of CA certs

2004-04-12 Thread D'Alessandro, Arthur
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

RE: Mapping a WAR

2004-04-15 Thread D'Alessandro, Arthur
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

RE: Memory Leak

2004-04-15 Thread D'Alessandro, Arthur
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

RE: Virtual host setup

2004-04-20 Thread D'Alessandro, Arthur
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

RE: tomcat virtual hosts question

2004-04-20 Thread D'Alessandro, Arthur
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

TC Case Sensitivity Question

2003-11-18 Thread D'Alessandro, Arthur
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

RE: TC Case Sensitivity Question

2003-11-19 Thread D'Alessandro, Arthur
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

RE: TC Case Sensitivity Question [Workaround]

2003-11-19 Thread D'Alessandro, Arthur
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

TC Manager App question

2003-11-21 Thread D'Alessandro, Arthur
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

RE: Manager App Doesn't Reload wars

2003-12-09 Thread D'Alessandro, Arthur
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

RE: help in tomcat 5 and MS SQL 2000

2003-12-17 Thread D'Alessandro, Arthur
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

RE: DELETED /ROOT CONTEXT PLEAS HELP!!!

2004-12-21 Thread D'Alessandro, Arthur
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

RE: DELETED /ROOT CONTEXT PLEAS HELP!!!

2004-12-21 Thread D'Alessandro, Arthur
, 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

RE: DELETED /ROOT CONTEXT PLEAS HELP!!!

2004-12-21 Thread D'Alessandro, Arthur
, 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

RE: DELETED /ROOT CONTEXT PLEAS HELP!!!

2004-12-21 Thread D'Alessandro, Arthur
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

RE: J2ee jars?

2005-01-11 Thread D'Alessandro, Arthur
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?

Re: Newbie - JDBC problem Name is not bound in this context

2004-08-07 Thread D'Alessandro, Arthur
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:

RE: Newbie - JDBC problem Name is not bound in this context

2004-08-07 Thread D'Alessandro, Arthur
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

RE: Running Tomcat 5 Headless

2004-08-23 Thread D'Alessandro, 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-

RE: Access zu an jdbc Datasource

2004-08-31 Thread D'Alessandro, Arthur
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

RE: [Possible bug?] Context configurations and .WAR deployment

2004-10-11 Thread D'Alessandro, Arthur
=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

RE: [Possible bug?] Context configurations and .WAR deployment

2004-10-11 Thread D'Alessandro, Arthur
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

RE: [Possible bug?] Context configurations and .WAR deployment

2004-10-09 Thread D'Alessandro, Arthur
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

RE: Tomcat reconnect to database server?

2004-01-07 Thread D'Alessandro, Arthur
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

RE: Connection Pooling

2004-01-07 Thread D'Alessandro, Arthur
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,

RE: Microsoft SQL Server validation query

2004-01-08 Thread D'Alessandro, Arthur
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:

OutOfMemory exception explanation?

2004-01-26 Thread D'Alessandro, Arthur
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

RE: OutOfMemory exception explanation?

2004-01-27 Thread D'Alessandro, Arthur
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