RE: Admin app not working..

2003-06-23 Thread Roberts, Eric
Hi, You have a bad download of the admin app. This typically occurs if you unzipped it with the wrong utility, or copied from Windows to Unix improperly. HTH -Original Message- From: Nick Stuart [mailto:[EMAIL PROTECTED] Sent: 23 June 2003 16:36 To: Tomcat Subject: Admin app not

RE: Admin app not working..

2003-06-23 Thread Roberts, Eric
not. Thanks for the suggestion. On Mon, 2003-06-23 at 10:40, Roberts, Eric wrote: Hi, You have a bad download of the admin app. This typically occurs if you unzipped it with the wrong utility, or copied from Windows to Unix improperly. HTH -Original Message- From: Nick Stuart

RE: Admin app not working..

2003-06-23 Thread Roberts, Eric
and .24. I was hoping the upgrade to ...24 would help, but apparently not. Thanks for the suggestion. On Mon, 2003-06-23 at 10:40, Roberts, Eric wrote: Hi, You have a bad download of the admin app. This typically occurs if you unzipped it with the wrong utility, or copied from Windows to Unix

RE: Need help on deploying application

2003-06-23 Thread Roberts, Eric
Sounds like the JDK 1.4.1 not liking spaces in the directory paths. Try putting tomcat in D:\Tomcat4.1 HTH -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 23 June 2003 17:20 To: [EMAIL PROTECTED] Subject: Need help on deploying application I have installed

RE: java.sql.SQLException: Cannot load JDBC driver class 'null'

2003-06-20 Thread Roberts, Eric
Hi, If you have declared your database connection pools ast the GlobalNamingResource level, but do not have your contexts declarared in server.xml, you probably need to have context.xml files in your META-INF subdirectory which contain your ResourceLink definitions for the context. HTH

RE: Load balancing

2003-06-20 Thread Roberts, Eric
Hi, Can you use the jvmRoute parameter? -Original Message- From: Pierre Maris [mailto:[EMAIL PROTECTED] Sent: 20 June 2003 16:38 To: [EMAIL PROTECTED] Subject: Load balancing Hi, I am working with a load balanced configuration (1 Apache and 2 Tomcat instances on the same machine).

RE: Special characters

2003-06-12 Thread Roberts, Eric
Just try %@ page contentType=text/html; charset=UTF-8 % - it worked for me! -Original Message- From: David Del Sacramento [mailto:[EMAIL PROTECTED] Sent: 12 June 2003 16:27 To: Tomcat Users List Subject: RE: Special characters Thnaks Andy, I did export CATALINA_OPTS, but I got the next

RE: UnsatisfiedLinkError with DB2 app driver and JDK1.4.1

2003-06-11 Thread Roberts, Eric
Where is the jar file containing your db drivers? Sounds as though you have it in your jdk1.3.1 installation - it should be in common/lib. HTH -Original Message- From: Jochen Schweflinghaus [mailto:[EMAIL PROTECTED] Sent: 11 June 2003 11:39 To: [EMAIL PROTECTED] Subject:

RE: tomcat domino server

2003-06-11 Thread Roberts, Eric
As per a previous reply: Increase the timeout on the domino session. This is not ideal, but you are in a transition phase, and the situation will not last forever. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 11 June 2003 12:34 To: Tomcat Users List

RE: How to UTF-8 your site.

2003-06-11 Thread Roberts, Eric
I would just like to say thanks. I have a magazine site which I recently upgraded from 3.2 to 4.1.24, and all quotation marks in the text were being replaced with the dreaded ? The prospect of editing manually over 100 pages was not a prospect I was looking forward to. Following your advice,

RE: Tomcat 4 control panel

2003-06-11 Thread Roberts, Eric
Er.. manager app and admin app? -Original Message- From: Michele Neylon :: Blacknight Solutions [mailto:[EMAIL PROTECTED] Sent: 11 June 2003 12:42 To: [EMAIL PROTECTED] Subject: Tomcat 4 control panel Hi all I was just wondering if anybody had come across a control panel of any type

RE: Tomcat 4 control panel

2003-06-11 Thread Roberts, Eric
Admin app - create new host? -Original Message- From: Michele Neylon :: Blacknight Solutions [mailto:[EMAIL PROTECTED] Sent: 11 June 2003 12:57 To: [EMAIL PROTECTED] Subject: RE: Tomcat 4 control panel Er.. manager app and admin app? I mean something that will write to server.xml

RE: CharConversionException: isHexDigit

2003-05-29 Thread Roberts, Eric
I bet it could be a rare browser. Closed environments are very rarely closed - in our company we are only provided with our own in-house modified version of IE6 - but we work in IT and Telecoms, so Netscape, Opera, etc can be found all over the place - because we can :) -Original

RE: JNDI resources

2003-03-31 Thread Roberts, Eric
Hi, What is in your web.xml relating to the datasource? If the datasource is correctly defined in server.xml, there is no need to define it in web.xml, but if you do, web.xml will supersede server.xml, and if web.xml does not have all the correct parameters, you will get this problem. HTH

RE: Http Session Replication : State of the Art

2003-03-28 Thread Roberts, Eric
Try http://www.filip.net/tomcat-clustering.html Session replication is a standard feature of Tomcat 5. -Original Message- From: jerome moliere [mailto:[EMAIL PROTECTED] Sent: 28 March 2003 13:06 To: [EMAIL PROTECTED] Subject: Http Session Replication : State of the Art Hi all,

RE: determining which jdk tomcat is using

2003-03-24 Thread Roberts, Eric
Run the manager application - it lists the JVM version. -Original Message- From: KIESEL,JEFF (HP-NewJersey,ex2) [mailto:[EMAIL PROTECTED] Sent: 24 March 2003 15:15 To: '[EMAIL PROTECTED]' Subject: determining which jdk tomcat is using hi all, i have multiple jdks installed on my

RE: javax.servlet.ServletException: ClassNotFoundException: org.postgresql.Driver

2003-03-14 Thread Roberts, Eric
The key word is link - place the file physically in the common/lib directory. HTH -Original Message- From: Jason S. Friedman [mailto:[EMAIL PROTECTED] Sent: 14 March 2003 06:17 To: [EMAIL PROTECTED] Subject: javax.servlet.ServletException: ClassNotFoundException: org.postgresql.Driver

RE: KEEP-ALIVE

2003-03-14 Thread Roberts, Eric
Er.. Why is this attribute nowhere in the TC docs?? -Original Message- From: Bill Barker [mailto:[EMAIL PROTECTED] Sent: 14 March 2003 07:51 To: [EMAIL PROTECTED] Subject: Re: KEEP-ALIVE If you are using the CoyoteConnector (the default for 4.1.x), then set the maxKeepAliveRequests=1

RE: Problem with sticky session in Tomcat4.1.18 and Apache 2.0.43 using mod_JK Connector.

2003-03-10 Thread Roberts, Eric
Filip's memory is correct. In server.xml you need an entry on the engine element: Engine jvmRoute=tomcat1 . then on the next instance Engine jvmRoute=tomcat2 etc. and your workers.properties file should declare workers tomcat1, tomcat2, etc Regards Eric -Original

RE: Problem with sticky session in Tomcat4.1.18 and Apache 2.0.43 using mod_JK Connector.

2003-03-10 Thread Roberts, Eric
-Original Message- From: Roberts, Eric [mailto:[EMAIL PROTECTED] Sent: Monday, March 10, 2003 2:13 PM To: Tomcat Users List Subject: RE: Problem with sticky session in Tomcat4.1.18 and Apache 2.0.43 using mod_JK Connector. Filip's memory is correct. In server.xml you need an entry

RE: Loading one host or web-app before others

2003-03-10 Thread Roberts, Eric
Hi, You could set up two Service elements, because Tomcat does guarantee that Services will be initialized in the order they are listed in server.xml HTH Eric -Original Message- From: Neale Rudd [mailto:[EMAIL PROTECTED] Sent: 10 March 2003 10:10 To: Tomcat Users List Subject: Loading

RE: Problem with sticky session in Tomcat4.1.18 and Apache 2.0.43 using mod_JK Connector.

2003-03-10 Thread Roberts, Eric
in Tomcat4.1.18 and Apache 2.0.43 using mod_JK Connector. Hi I tried correcting the typo but it does not work .Infact the load balancing itself doesn't work if I change it to jvmRoute. BR Joshua -Original Message- From: Roberts, Eric [mailto:[EMAIL PROTECTED] Sent: Monday, March 10, 2003 2

RE: Problems with JMX Bean in Tomcat4.1.18

2003-03-10 Thread Roberts, Eric
-Original Message- From: Joshua Sunil Kumar [mailto:[EMAIL PROTECTED] Sent: 10 March 2003 14:54 To: Tomcat Users List Subject: Problems with JMX Bean in Tomcat4.1.18 Hi I have a problem with JMX Bean it was giving the following error ServerLifecycleListener: Creating MBean for

RE: Problems with JMX Bean in Tomcat4.1.18

2003-03-10 Thread Roberts, Eric
Hi Joshua, Do not use the ajp13 connector - use the CoyoteConnector. Then you can use your JMX Beans. The error means that there is no entry in mbeans_decriptor.xml for ajp13. Regards Eric -Original Message- From: Joshua Sunil Kumar [mailto:[EMAIL PROTECTED] Sent: 10 March 2003 14:54

RE: Share Java resources between two (or more) servlets

2003-03-07 Thread Roberts, Eric
You could use a GlobalNamingResources datasource db connection pool which would be available to all your servlets via a ResourceLink, rather than a servlet. -Original Message- From: Bill Lunnon [mailto:[EMAIL PROTECTED] Sent: 07 March 2003 11:52 To: Tomcat Users List Subject: RE: Share

RE: can't connect to my Datasource Oracle

2003-03-07 Thread Roberts, Eric
Your server.xml looks OK - try classes12.zip (renamed to classes12.jar) instead of classes111.jar -Original Message- From: Yannick Monclin [mailto:[EMAIL PROTECTED] Sent: 07 March 2003 15:24 To: [EMAIL PROTECTED] Subject: can't connect to my Datasource Oracle hi, i try to configure my

RE: DBCP problems connection does not return

2003-03-06 Thread Roberts, Eric
Try removing the maxIdle and maxActive parameters so that defaults are used - these are much lower than the 30 and 100 in your configuration. I had the same problem with Oracle. HTH Eric -Original Message- From: Gerlinde Fischer [mailto:[EMAIL PROTECTED] Sent: 06 March 2003 12:06 To:

RE: 403 Forbidden - you don't have permission ... I'M STUCK!!

2003-02-21 Thread Roberts, Eric
Sorry - didn't get your attachments - but think the problem is in httpd.conf Is your listen directive set? # # Listen: Allows you to bind Apache to specific IP addresses and/or # ports, in addition to the default. See also the VirtualHost # directive. # # Change this to Listen on specific IP

RE: 403 Forbidden - you don't have permission ... I'M STUCK!!

2003-02-21 Thread Roberts, Eric
- From: Roberts, Eric [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Friday, February 21, 2003 9:50 AM Subject: RE: 403 Forbidden - you don't have permission ... I'M STUCK!! Sorry - didn't get your attachments - but think the problem is in httpd.conf Is your listen directive set

RE: Tomcat 4.1.18-LE re-writes tomcat-users.xml file; why?

2003-02-21 Thread Roberts, Eric
Yoav is correct - you can create users in the Admin webapp. ...and you could use the Fullname field for your comments. HTH -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED]] Sent: Freitag, 21. Februar 2003 16:56 To: Tomcat Users List Cc: [EMAIL PROTECTED] Subject: RE:

RE: error opening tomcat admin login page

2003-02-20 Thread Roberts, Eric
a simple gunzip, tar -xf then run tomcat. Would you elaborate on this too? TIA, Mark Roberts, Eric wrote: Hi, Its a case sensitivity issue - when you installed either message got translated to MESSAGE or the other way round. Two solutions - 1) re-install from another souce or 2) go down

RE: Error 500 when trying to run /manager app.

2003-02-20 Thread Roberts, Eric
Add the role as well ?xml version='1.0' encoding='utf-8'? tomcat-users role rolename=tomcat/ role rolename=role1/ role rolename=manager/ role rolename=admin/ user username=tomcat password=tomcat roles=tomcat/ user username=both password=tomcat roles=tomcat,role1/ user username=role1

RE: error opening tomcat admin login page

2003-02-19 Thread Roberts, Eric
Hi, Its a case sensitivity issue - when you installed either message got translated to MESSAGE or the other way round. Two solutions - 1) re-install from another souce or 2) go down into the admin app directories and change the names of the properties files manually HTH -Original

RE: Setting classpath for tomcat 4.1.18 - where to??

2003-02-12 Thread Roberts, Eric
Hi, Put your drivers in common/lib. Tomcat uses it's own classpath - read the Class Loader HOW TO in the docs. HTH :-) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Mittwoch, 12. Februar 2003 12:39 To: [EMAIL PROTECTED] Subject: Setting classpath for

RE: Admin Webapp Error

2003-02-12 Thread Roberts, Eric
Hi Roberto, I had a similar experience, but on a unix platform. We had downloaded Tomcat as a .zip to W2K box (we run HP/UX and the tar.gz files are no good to us). The file was unzipped, then transferred to the unix box. The file transfer mechanism did not work correctly, and did not convert

RE: loadbalancing with tomcat only and unable to bring admin and manager pages

2003-02-12 Thread Roberts, Eric
Another answer on monitoring: We run a shell script on cron which invokes Ant to monitor which servlets are running in Tomcat (using the list target), and then compare the results with a properties file containing the names of our servlets - any discrepancy and an alarm is automatically

RE: Question

2003-02-12 Thread Roberts, Eric
[EMAIL PROTECTED] -Original Message- From: Luc Foisy [mailto:[EMAIL PROTECTED]] Sent: Mittwoch, 12. Februar 2003 15:48 To: Tomcat User List (E-mail) Subject: Question is there an apache html server list? Luc Foisy -

RE: Apache-Tomcat-HPUX Problems

2003-02-11 Thread Roberts, Eric
and integration with tomcat went smooth. Note they have tomcat 4.1.12 as part of this package but you can use you can use any version of tomcat. Just modify the provided mod_jk files accordingly. Using the HP-UX version provided by HP may solve your problems Jeff -Original Message- From: Roberts

RE: web page errors

2003-02-11 Thread Roberts, Eric
You do need a web.xml for each app - but if they have a lot in common you can define a lot of this stuff in the DefaultContext of server.xml HTH -Original Message- From: Peter Choe [mailto:[EMAIL PROTECTED]] Sent: Dienstag, 11. Februar 2003 16:19 To: Tomcat Users List; Tomcat Users List

Apache-Tomcat-HPUX Problems

2003-02-10 Thread Roberts, Eric
Hi, Does anybody on the list run under HPUX? We are running: HP-UX B.11.00 U 9000/800 (tb) Tomcat 4.1.18 Apache 1.3.24 Oracle 8.1.7 Tomcat and Apache communicate via mod_jk. We use DBCP to provide a global Db connection pool. Everything works fine. We are running Apache only because we

RE: question

2003-02-07 Thread Roberts, Eric
Tomcat is not starting up correctly - go to $CATALINA_HOME/logs and read the logfiles. If these do not help you, post the logs back to the list, together with details of your OS, then we may be able to help you. -Original Message- From: Sunny Sun [mailto:[EMAIL PROTECTED]] Sent:

RE: DataSource.getConnection() hangs

2003-02-07 Thread Roberts, Eric
Hi Maris I don't use a validation query at all and mine works! I'm using Oracle - maybe different databases have different features when working with DBCP ;-)) -Original Message- From: Maris Orbidans [mailto:[EMAIL PROTECTED]] Sent: Freitag, 07. Februar 2003 12:37 To: Tomcat Users List

RE: DataSource.getConnection() hangs

2003-02-05 Thread Roberts, Eric
Hi, I had this problem a while ago. Mine was caused by DBCP attempting to open a pool of Db connections when receiving the first getConnection() request - and my Db was not configured to handle that many connections - and it just hung waiting for the maxActive value to become available. I

RE: tomcat, tyrex and mysql, and autocommit

2003-02-03 Thread Roberts, Eric
If you are running Tomcat 4.1.x you should be using DBCP for database connections. Tyrex is no longer used as of 4.1 -Original Message- From: emiliano albiani [mailto:[EMAIL PROTECTED]] Sent: Montag, 03. Februar 2003 10:57 To: Tomcat Users List Subject: tomcat, tyrex and mysql, and

RE: Context problem, urgent!

2003-01-30 Thread Roberts, Eric
Hi, The missing jar is xml-apis.jar which is an Ant distribution jar. Have you set the ANT_HOME environment variable? -Original Message- From: Peng Annie / FINLAND [mailto:[EMAIL PROTECTED]] Sent: Donnerstag, 30. Jänner 2003 14:18 To: 'Tomcat Users List' Subject: RE: Context problem,

RE: DBCP Factory

2003-01-30 Thread Roberts, Eric
Hi, common/lib should contain commons-dbcp.jar - that is where the BasicDataSourceFactory is. -Original Message- From: Marc Logemann [mailto:[EMAIL PROTECTED]] Sent: Donnerstag, 30. Jänner 2003 15:08 To: [EMAIL PROTECTED] Subject: RE: DBCP Factory Hi, i tried also the factory

RE: Clustering Tomcat

2003-01-27 Thread Roberts, Eric
Try http://www.theserverside.com/resources/article.jsp?l=Tomcat - should tell you all you need. -Original Message- From: Collins, Jim [mailto:[EMAIL PROTECTED]] Sent: Montag, 27. Jänner 2003 12:27 To: 'Tomcat Users List' Subject: Clustering Tomcat Hi, Has anyone had any experience of

RE: Please help with LogConfigurationException

2003-01-21 Thread Roberts, Eric
Hi Jim, Just a thought - you say the application has been running without this error except for the last week or so, and then this week no problems. It sounds to me as though a particular use case may have arisen where an incorrect logging statement is being invoked, and that this use case had

RE: Tomcat 4.0.x JDBC connection pooling

2003-01-17 Thread Roberts, Eric
right? L.C. Roberts, EricPer

RE: Help With Tomcat Database Connection Configuration

2003-01-17 Thread Roberts, Eric
Hi, Your server.xml looks fine. If you specify the resource in server.xml there is no need to put it in web.xml (in fact this will more than likely cause problems). You should reference the datasource in your app as follows: ctx = new InitialContext(); Context envCtx = (Context)

RE: javax.naming.NameNotFoundException: Name java: is not bound in this Context

2003-01-16 Thread Roberts, Eric
-Original Message- From: Veniamin Fichin [mailto:[EMAIL PROTECTED]] Sent: Donnerstag, 16. Jänner 2003 11:53 To: Tomcat Users List Subject: Re: javax.naming.NameNotFoundException: Name java: is not bound in this Context Thanks for your reply! See below... Roberts, Eric wrote: Hi, Try

RE: javax.naming.NameNotFoundException: Name java: is not bound in this Context

2003-01-16 Thread Roberts, Eric
: javax.naming.NameNotFoundException: Name java: is not bound in this Context Roberts, Eric wrote: Yes, but the resource name is jdbc/esljsp - java:comp/env/jdbc/esljsp would be used in a servlet using JNDI such as: ctx = new InitialContext(); Context envCtx = (Context) ctx.lookup(java

RE: javax.naming.NameNotFoundException: Name java: is not bound in this Context

2003-01-16 Thread Roberts, Eric
: is not bound in this Context Roberts, Eric wrote: Sorry - missed it earlier - in the Realm definition, I think it should be just resourceName=jdbc/esljsp - not dataSourceName=jdbc/esljsp That's odd. There is no resourceName attribute in DataSourceRealm documentation. I looked at the source

RE: javax.naming.NameNotFoundException: Name java: is not bound in this Context

2003-01-16 Thread Roberts, Eric
- as the last item. -Original Message- From: Veniamin Fichin [mailto:[EMAIL PROTECTED]] Sent: Donnerstag, 16. Jänner 2003 13:33 To: Tomcat Users List Subject: Re: javax.naming.NameNotFoundException: Name java: is not bound in this Context Roberts, Eric wrote: Sorry - missed it earlier

RE: javax.naming.NameNotFoundException: Name java: is not bound in this Context

2003-01-16 Thread Roberts, Eric
I am using 4.1.18 also - but upgraded from 4.1.12 -Original Message- From: Veniamin Fichin [mailto:[EMAIL PROTECTED]] Sent: Donnerstag, 16. Jänner 2003 14:03 To: Tomcat Users List Subject: Re: javax.naming.NameNotFoundException: Name java: is not bound in this Context Roberts, Eric

RE: Tomcat 4.0.x JDBC connection pooling

2003-01-16 Thread Roberts, Eric
Hi Luca, The pool is established in the definition of the resource jdbc/EmployeeDB - where things like MaxActive, MinIdle and other parameters determine how the pool behaves. At startup the pool will connect the MinIdle connections to the DB - a new connection will then only be established if

RE: javax.naming.NameNotFoundException: Name admin is not bound in this Context

2003-01-13 Thread Roberts, Eric
David, We use DBCP on a mission critical 24 x 7 application - and we have no issues with it. We started with Tomcat 4.1.12 and are about to go to 4.1.18 - already in development and working fine. When we did our initial investigations, we were able to use DBCP at all the levels possible in

RE: Resource issues

2003-01-09 Thread Roberts, Eric
Hi, Question 1: Is your jar containing org.prostgresql.Driver in common/lib? Question 2: Is your resource defined in a Context or as a GlobalNaming Resource? Question 3: Version of Tomcat? Attached is a small servlet which you can use to find out what is happening. Regards Eric

RE: Connection Pool problem with virtual hosts

2003-01-09 Thread Roberts, Eric
Hi, Try using the GlobalNamingResource element instead of the Context element, then put a ResourceLink to that resource in each Host element. If the resource is defined in either Context or GlobalNamingResource in server.xml , there is no need to include any reference to it in web.xml as a

RE: help with DataSourceRealm in 4.1.17

2002-12-20 Thread Roberts, Eric
Hi, Try just jdbc/db. HTH -Original Message- From: Kevin HaleBoyes [mailto:[EMAIL PROTECTED]] Sent: Donnerstag, 19. Dezember 2002 20:05 To: [EMAIL PROTECTED] Subject: help with DataSourceRealm in 4.1.17 I've been using JDBCRealm successfully in my application but jumped on the

RE: Deployment in Tomcat 4.1.17 failed ?

2002-12-20 Thread Roberts, Eric
Hi, I have experienced similar log entries. I had to copy the webapps directory from a W2K machine to an HP-UX environment, and my transfer method removed all the capitalisation from my directory and filenames (e.g. WEB-INF became web-inf). I notice that your app is ATTS - in uppercase.

RE: Problems deploying servlet (expect web.xml is the problem)

2002-12-20 Thread Roberts, Eric
Hi, The problem is with your web.xml - it occurs at line 105 column 11! The error messages tell you that within the web-app element, only the following are allowed:

RE: help with DataSourceRealm in 4.1.17

2002-12-20 Thread Roberts, Eric
Yes - I always put my context defs in server.xml - I just find it more reliable! -Original Message- From: Kevin HaleBoyes [mailto:[EMAIL PROTECTED]] Sent: Freitag, 20. Dezember 2002 13:41 To: Tomcat Users List Subject: RE: help with DataSourceRealm in 4.1.17 --- Roberts, Eric [EMAIL

Enough please!

2002-12-10 Thread Roberts, Eric
Folks, Can we stop the I don't understand the objective of this open list.. thread. While we all have our opinions, this is meant to be a list where we help each other technically. I have been attempting to help people with database pooling (mine works :-)) for the last few days, but I have

RE: Deleting multiple responses (was: Enough please!]

2002-12-10 Thread Roberts, Eric
Correct! -Original Message- From: Swanson, Brion [mailto:[EMAIL PROTECTED]] Sent: Dienstag, 10. Dezember 2002 16:12 To: 'Tomcat Users List' Subject: RE: Deleting multiple responses (was: Enough please!] I think the point was we shouldn't have to filter out long threads of off-topic

RE: Tomcat Windows

2002-12-09 Thread Roberts, Eric
Run Tomcat as a service - see the documentation for how to! -Original Message- From: Alberto Puerta [mailto:[EMAIL PROTECTED]] Sent: Montag, 09. Dezember 2002 11:38 To: Tomcat Usuarios Subject: Tomcat Windows Hi. When start Tomcat in Windows, startup.bat is launched with a MS-DOS

RE: How to configure datasources in tomcat 4.1.12 to obtain OracleResultSets

2002-12-09 Thread Roberts, Eric
Try parameternamefactory/namevalueorg.apache.commons.dbcp.BasicDataSourceFactory/value/parameter Hope this helps. -Original Message- From: Thomas Achleitner [mailto:[EMAIL PROTECTED]] Sent: Montag, 09. Dezember 2002 12:28 To: [EMAIL PROTECTED] Subject: How to configure datasources in

RE: oracle+tomcat 4.1.x+dbcp = driverClassName is required!

2002-12-09 Thread Roberts, Eric
Pedro, You need javax.sql - that is the package containing DataSource. Your Resource type should be: type=javax.sql.DataSource You need these parameters in addition to url, username and password: parameter namedriverClassName/name valueoracle.jdbc.driver.OracleDriver/value

RE: Connection Pooling Help

2002-12-09 Thread Roberts, Eric
Kevin, Try: Context ctx = new InitialContext(); Context envCtx = (Context) ctx.lookup(java:/comp/env/); DataSource ds = (DataSource) envCtx.lookup(/jdbc/shiltonDB); -Original Message- From: Kevin Passey [mailto:[EMAIL PROTECTED]] Sent: Montag, 09. Dezember 2002

RE: java.sql.SQLException: Cannot load JDBC driver class 'null'

2002-12-05 Thread Roberts, Eric
Roberto, How are you instantiating your datasource? You need something like: import javax.naming.Context; import javax.naming.InitialContext; . . . ctx = new InitialContext(); Context envCtx = (Context) ctx.lookup(java:/comp/env/); DataSource ds = (DataSource) envCtx.lookup(/jdbc/art);

RE: Specifying the name of war file while using Ant

2002-12-05 Thread Roberts, Eric
Vim, You just need to edit your build.xml file. Find the section for the dist target and make the jar command something like: jar jarfile=${dist.home}/${app.name}.war basedir=${build.home}/ The example build.xml that comes with ant puts the version number into the war filename.

RE: DBCP question

2002-12-05 Thread Roberts, Eric
Hi Veniamin, Try this way instead - it works for me! Server.xml: Resource description=Oracle database resource for esljsp project name=jdbc/esljsp-oracle auth=Container type=javax.sql.DataSource/ . . ResourceParams name=jdbc/esljsp-oracle . . parameter namedriverClassName/name

RE: java.sql.SQLException: Cannot load JDBC driver class 'null'

2002-12-05 Thread Roberts, Eric
InitialContext(); DataSource ds = (DataSource) envCtx.lookup(java:/comp/env/jdbc/art); I have the same problem. I tried to move my ressources declaration from the context to the GlobalNamingResources. And it doesn't work ??? - Original Message - From: Roberts, Eric [EMAIL PROTECTED

RE: java.sql.SQLException: Cannot load JDBC driver class 'null'

2002-12-05 Thread Roberts, Eric
Roberto, Subtle difference between my code and yours: ctx = new InitialContext(); Context envCtx = (Context) ctx.lookup(java:/comp/env/); DataSource ds = (DataSource) envCtx.lookup(/jdbc/art); Note the / characters after java:/comp/env and before jdbc/art I was getting the same error

RE: exception loading sessions from persistent storage?

2002-12-05 Thread Roberts, Eric
Paul, Here is an extract from server.xml as shipped with TC: !-- PersistentManager: Uncomment the section below to test Persistent Sessions. saveOnRestart: If true, all active sessions will be saved to

RE: Problem going from 4.0.6 to 4.1.16b

2002-12-04 Thread Roberts, Eric
Stupid question - but do you have sufficient free disk space? ;-) -Original Message- From: Mark Woon [mailto:[EMAIL PROTECTED]] Sent: Mittwoch, 04. Dezember 2002 12:17 To: [EMAIL PROTECTED] Subject: Problem going from 4.0.6 to 4.1.16b Hi All. I'm hoping someone can shed some light on

RE: ajp13 port always 8009 (config does not apply)

2002-12-02 Thread Roberts, Eric
Hussayn, The JK2 properties file contains a directive to port 8009. You need to change this as well! -Original Message- From: SAXESS - Hussayn Dabbous [mailto:[EMAIL PROTECTED]] Sent: Montag, 02. Dezember 2002 16:27 To: [EMAIL PROTECTED] Subject: ajp13 port always 8009 (config does not

RE: Does web.xml inherit?

2002-11-26 Thread Roberts, Eric
As far as I know the sequence is: Default Context App Context /conf/web.xml /WEB-INF/web.xml So your /WEB-INF/web.xml has the final say, provided that overrides to the previous settings have been allowed. -Original Message- From: Ben Ricker [mailto:[EMAIL PROTECTED]] Sent: Montag, 25.

RE: help for newbie?

2002-11-26 Thread Roberts, Eric
Jered, Do you have a web.xml file which describes and maps your servlet? This should be placed in $CATALINA_HOME/webapps/myapp/WEB-INF Have a look at the examples app for examples. Hope this helps. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Dienstag,

RE: problem with Classloader and symbolic links in 4.1.12

2002-11-21 Thread Roberts, Eric
Have you considered using Ant to build and deploy your applications? -Original Message- From: Eugene Gluzberg [mailto:[EMAIL PROTECTED]] Sent: Donnerstag, 21. November 2002 01:45 To: Tomcat Users List Subject: problem with Classloader and symbolic links in 4.1.12 Here is a scenario. I

RE: webapp fails to start using /manager start command

2002-11-21 Thread Roberts, Eric
Have you checked the log files to see if there is a reason as to why the app could not be started? -Original Message- From: Price, Erik [mailto:[EMAIL PROTECTED]] Sent: Donnerstag, 21. November 2002 14:43 To: [EMAIL PROTECTED] Subject: webapp fails to start using /manager start command

Oracle Connection Pool - Global Naming Resource - HOW TO

2002-11-21 Thread Roberts, Eric
I had problems earlier getting a Global Naming Resource database connection pool to work with my Oracle db. The only reply I got was that someone else had the same problem! I now have it working, so for those interested, here is the HOW TO: When defining the parameters for the db pool (say

RE: webapp fails to start using /manager start command

2002-11-21 Thread Roberts, Eric
you having to debug your web.xml files. You just have to get your server.xml right! Regards Eric -Original Message- From: Price, Erik [mailto:[EMAIL PROTECTED]] Sent: Donnerstag, 21. November 2002 16:03 To: Roberts, Eric; Tomcat Users List Subject: RE: webapp fails to start using /manager

RE: RESEND:Problem in starting the TOMCAT

2002-11-21 Thread Roberts, Eric
The vikas2 application is failing to start. Check CATALINA_HOME/logs and see what the logfiles say. -Original Message- From: Nagpal, Vikas [mailto:[EMAIL PROTECTED]] Sent: Donnerstag, 21. November 2002 17:17 To: '[EMAIL PROTECTED]' Subject: RESEND:Problem in starting the TOMCAT Hi

RE: SSL keystore problem

2002-11-20 Thread Roberts, Eric
Have you commented out the SSL connector in server.xml? -Original Message- From: brana02 [mailto:[EMAIL PROTECTED]] Sent: Mittwoch, 20. November 2002 13:49 To: [EMAIL PROTECTED] Subject: SSL keystore problem I had tried playing around with the SSL connector and deleted a

RE: SSL keystore problem

2002-11-20 Thread Roberts, Eric
Subject: RE: SSL keystore problem no i have not...i have tried that and it works, but i would like to start again clean, how do I go about doing this? -Original Message- From: Roberts, Eric [mailto:[EMAIL PROTECTED]] Sent: Wed 11/20/2002 7:53 AM

RE: SSL keystore problem

2002-11-20 Thread Roberts, Eric
- From: Roberts, Eric [mailto:[EMAIL PROTECTED]] Sent: Wed 11/20/2002 7:53 AM To: Tomcat Users List Cc: Subject: RE: SSL keystore problem Have you commented out the SSL connector in server.xml

RE: SSL keystore problem

2002-11-20 Thread Roberts, Eric
, 20. November 2002 14:03 To: Tomcat Users List Subject: RE: SSL keystore problem Do you know how to specify a different location? Sorry to bother u so much but im just a student trying to teach all this stuff to myself. -Original Message- From: Roberts, Eric

Problem with Oracle/Global Naming Resource

2002-11-18 Thread Roberts, Eric
I am getting the following error when attempting to load the Oracle database driver as a globally pooled resource: java.sql.SQLException: Cannot load JDBC driver class 'null' at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:529) at