RE: javax.naming.NamingException: Cannot create resource instance

2002-07-02 Thread Vikramjit Singh
sorry, for the delay in replying les, am working on a project, shall try your solution. thanks for the suggestion. Regards, Vikramjit Singh, Systems Engineer, GTL Ltd. Ph. 7612929-1031 -Original Message- From: Les Hughes [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 27, 2002 2:19 AM

Re: Tomcat 4 - OpenSSL - IE client certificate works partially

2002-07-02 Thread Ismael Blesa Part
The problem with homemade digital certificates generated with the Keytool is that they are self signed, then IExplorer and other browsers does not trust them and does not let you use it for user authentication. However if you make your own CA using openssl and you generates server and client

Where to place pjaf files?

2002-07-02 Thread Mats Palats
When using pja with tomcat, where should I place the pjaf files (the fonts). Should they just be in a system path or some special directory inside the tomcat tree. //Mats _ På MSN hittar du det roliga, intressanta och användbara

AW: The best website database!

2002-07-02 Thread Ralph Einfeldt
Other things I noticed with postgres: - If you want 24x7 uptime the vacuum command is a show stopper because it optains table locks. So you can't make updates while the vacuum runs. (Otherwise you risk deadlocks) The latest postgres version has shortened the time where the

Re: Tomcat-4.1.6 and DBCP issue?

2002-07-02 Thread Remy Maucherat
Jacob Kjome wrote: Hi, I'm just checking to confirm whether others that used DBCP connection pooling successfully in Tomcat-4.1.3 are running into problems when using Tomcat-4.1.6? That is the case for me. I'll check again tomorrow to see if I did anything stupid, but the only

AW: querying remote databases

2002-07-02 Thread Power-Netz \(Schwarz\)
Hi, I want to query remote databases, which are located in different computers and different instituon by using servlets an JSP. For this purpose, I want to send a parameter to this remote databases using an HTML form. And I want to receive all responds and serve them in a HTML page to

Virtual hosts/Tomcat403/Apache2039/mod_jk

2002-07-02 Thread Rupert Young
After many days, I've got it cracked, so I thought this might help. I am trying to set up a virtual host so that I can use the URL bliss.mydomain.org (without any suffix), which will serve static and dynamic (.jsp) files. Here's what I did. I used this guide,

Re: Tomcat 4 - OpenSSL - IE client certificate works partially

2002-07-02 Thread Henrik Schultz
Peter wrote: this pretty much sounds like the same problem I was experiencing and posted earlier today. Sadly, your link below only gives hints on how to intall a SERVER certificate, but not on how to configure everything to ask for a CLIENT cert. This is what I found too. However, the

querying remote databases

2002-07-02 Thread Halil AKINCI
Hi, I want to query remote databases, which are located in different computers and different instituon by using servlets an JSP. For this purpose, I want to send a parameter to this remote databases using an HTML form. And I want to receive all responds and serve them in a HTML page to

Tomcat 3.3.1: AccessLogInterceptor doesn't log PUT requests

2002-07-02 Thread Lemke, Michael IZ/HZA-IC1
We are running Tomcat 3.3.1 in standalone mode (no Apache etc) and log requestes to AccessLog with AccessLogInterceptor. Unless we misconfigured something it seems like PUT requests only show up in the log if they produced an error (404, 500). Is this a configuration problem or is there

RE: Greek (and other) encodings

2002-07-02 Thread Simon Juden
Thanks - I would have expected in the absence of a page directive the encoding would be taken from the HTML Content-type tag, obviously I was wrong. -Original Message- From: Ralph Einfeldt [mailto:[EMAIL PROTECTED]] Sent: 01 July 2002 17:40 To: Tomcat Users List Subject: AW: Greek (and

load balance session

2002-07-02 Thread Stone Shi
Hello all, When I use the mod_jk in APACHE 2.0.39, I get following message and can not start the httpd, where can i get compatible version mod_jk -- httpd: module mod_jk.c is not compatible

RE: javax.naming.NamingException: Cannot create resource instance

2002-07-02 Thread Vikramjit Singh
Hi les, Hi Les, Did as you said, deleted all the javax.sql.* files from classes12.zip. Renamed it to classes12.jar, tomcat is sure throwing out dump of Oracle driver. You said i needed these files commons.jar, pool.jar and collections.jar, but where are they, i cant get them. And again i am

[no subject]

2002-07-02 Thread tomcat-user-return-24700-archive=jab . org
æsoft.com To: Tomcat Users List [EMAIL PROTECTED] References: [EMAIL PROTECTED] Subject: Re: load balance session Date: Tue, 2 Jul 2002 17:06:05 +0800 MIME-Version: 1.0 Content-Type: text/plain; charset=gb2312 Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal

Performance problems with tc4.0.4 and custom tags

2002-07-02 Thread Timo Carl
Hello, We try to upgrade our setup from tomcat3.2.1/jdk1.2 to tomcat4.0.4/jdk1.4. There were some major performance problems on our jsp Pages that use 100+ custom tags. I've already read some other threads adressing this problem. But I wonder why tomcat3.2 with jasper1 does not have any

expired beans in expired sessions block new sessions? TC 3.3.x

2002-07-02 Thread Power-Netz \(Schwarz\)
Hi, i wonder about this behavior: 1. Login in my site via a login bean ( self made ) login.jsp ... jsp:useBean id=login scope=session class=web.Login/ if (login.valid()) { %jsp:forward page=prozesse.jsp/% } ... login Form target - login2.jsp ... This works great as long as

Persistence Manager choice...

2002-07-02 Thread Vincent Lambert
Hi, We are looking for a persistence manager. We are testing Castor (from exolab : http://castor.exolab.org) and ObjectBridge (from jakarta : http://jakarta.apache.org/ojb/). Does any one have an opinion one those projects. Thanks for your comments, Regards, Vincent

SV: Seeking working mod_jk.dll for Tomcat 4.0.4 and Apache 2.0.39 eo m

2002-07-02 Thread hermod . opstvedt
Hi Just to verify, I tried your recipe and it did not work. The setup went fine, but when I tried to access the examples under Tomcat, i got an error in the Tomcat console stating BAD packet 256 In: : [B@3c468a 4/843.. Hermod -Opprinnelig melding- Fra: Carrie Salazar

Tomcat 4.0.4, jndi, jdbc and postgresql [long]

2002-07-02 Thread Przemyslaw Kowalczyk
Hi I've just started to write servlets. Servlets that only do processing, without connecting to database work fine, but I have some problems to get the connection with postgresql via jdbc work. Tomcat: 4.0.4 (on linux) Postgresql: 7.2.1 (on linux) Jdbc: pgjdbc2.jar (from

Re: TomCat 3.2.3 not respond suddenly.

2002-07-02 Thread TEOH KANG YIH
Hi TomCat user, Remember I post this question 1 week ago and there is no feedback from you all? However, I have found out further information as follows: 1. Port 8080 still can be telneted in 2. Other JSP files still can be accessed These 2 important tell us that TomCat is still

Where can I find SCO binaries for Tomcat

2002-07-02 Thread will
Hi, I have been using tomcat for a little while now, on Linux and Win2K and love it to bits. I have a need to run it on a SCO Openserver box, and I have been trying to locate some binaries for it. I checked the archives and found some references to a 3.0.3 binary, but was unable to locate it.

iis tomcat nt service

2002-07-02 Thread Xin Miao
Dear tomcat: I am currently experience a difficulty set up the environment for my tomcat run as nt service under iis. i down load the tomcat 4.0.4, and i install it correctly with iis. i put the webapps root under the iis root directory. i am encounter a problem when i import a class into my

AW: TomCat 3.2.3 not respond suddenly.

2002-07-02 Thread Ralph Einfeldt
If there is no error message in the logs, I guess it's a deadlock in the database. Can you provide more info about the jsp that hangs ? Try a kill -QUIT tomcat pid and have a look at the stacktrace to see where the threads are. Have a look at the oracle console (can't remember the name of the

Re: Performance problems with tc4.0.4 and custom tags

2002-07-02 Thread peter lin
I've been doing performance benchmarks and profiling of jasper2 with 4.0.3 and most indications tell me it's getting real close to release. Several tremendous improvements in jasper2 result in better CPU and memory utilization. GC is now under control and scales well to 64 concurrent

AW: Performance problems with tc4.0.4 and custom tags

2002-07-02 Thread Ralph Einfeldt
AFAIK the main error is in the jdk 1.3 and 1.4. jasper2 just contains (beside other changes) a workaround for this bugs. Have a look at this links: (Require login) http://developer.java.sun.com/developer/bugParade/bugs/4414162.html

RE: Performance problems with tc4.0.4 and custom tags

2002-07-02 Thread Reynir Hübner
I have been playing a little bit around with jasper2 as released with tc 4.1.6 and I am haveing problems. I am using the OSCache taglibrary, and for some reason this does not work as it should. I cannot technically describe the problem, as I have not dug into it, but the tags are returning

RE: Tomcat 4.0.4, jndi, jdbc and postgresql [long]

2002-07-02 Thread Les Hughes
Two things, In your server.xml user I think should be username and driverName has been deprecated in favour of url which needs the servername and DB name as well (as in something like jdbc:postgresql://full.server.name/mybookdb - or whatever the DB is called) Are you *sure* you're using the

Re: Performance problems with tc4.0.4 and custom tags

2002-07-02 Thread peter lin
have you tried the jakarta cache tag? Perhaps try it with that first. It could be the taglib is not compliant with JSP1.2. Also, I notice OSCache tag examples use scriptlets. If I remember correctly from discussion on tomcat-dev, tagpooling should be used only if the tag body doesn't contain

RE: javax.naming.NamingException: Cannot create resource instance

2002-07-02 Thread Les Hughes
OK, we're making progress! commons, pool and collections.jar are available from the jakarta-commons download area http://jakarta.apache.org/commons Grab those, try again and let us know how it goes. Les -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail:

RE: Tomcat 3.3.1: AccessLogInterceptor doesn't log PUT requests

2002-07-02 Thread Larry Isaacs
AcessLogInterceptor writes the log entry using the beforeCommit() hook. If no response is generated by the request, then it appears that no log entry would be created. Cheers, Larry -Original Message- From: Lemke, Michael IZ/HZA-IC1 [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July

Re: AW: Performance problems with tc4.0.4 and custom tags

2002-07-02 Thread Timo Carl
Es schrieb Ralph Einfeldt: AFAIK the main error is in the jdk 1.3 and 1.4. jasper2 just contains (beside other changes) a workaround for this bugs. Have a look at this links: (Require login) http://developer.java.sun.com/developer/bugParade/bugs/4414162.html

RE: Performance problems with tc4.0.4 and custom tags

2002-07-02 Thread Reynir Hübner
I tested the jakarta-cache-tag when it was first released, but it was not working, well it displayed the cached-informations but it also ran the process behind the cached info, so it was of no real use. I think it has been fixed, I might take a look at that. I dont know if OScache is JSP1.2

Re: Persistence Manager choice...

2002-07-02 Thread Umberto Nicoletti
Slightly OT? Anyway, I have tried Torque (part of the turbine project) and it looks fairly complete. I have looked at the various mailing lists concerning castor and many people are complaining about its performance, that's why I've been directed to Torque. Torque has also a very nice tool that

Re: Performance problems with tc4.0.4 and custom tags

2002-07-02 Thread peter lin
I believe if the body contains only tags, it will use tagpooling. You should be able to look at the generated source right? if you post a chunk of the code, maybe others can take a look? peter Reynir Hübner wrote: I tested the jakarta-cache-tag when it was first released, but it was not

RE: querying remote databases

2002-07-02 Thread Turner, John
All you have to do is write a servlet to do this. You are confusing databases with web pages. It doesn't matter where the database is...if it is available on the network and you have a valid user account on that database, then a servlet can connect to it. If a servlet is running on machine A,

application Context within a TagLib

2002-07-02 Thread info
Hi, realy basics! I set some values in the web.xml like this: . . . context-param param-nameserver_pfad/param-name param-valuehttp://localhost:8080//param-value descriptionServer-Pfad/description /context-param . . . And now I want to get the values within a TagLib: . .

RE: tomcat 4.0.4 apache 2.0.39 integration

2002-07-02 Thread Turner, John
http://www.galatea.com/flashguides/apache-tomcat-24-win32.xml John Turner [EMAIL PROTECTED] -Original Message- From: Paul Ung [mailto:[EMAIL PROTECTED]] Sent: Monday, July 01, 2002 8:14 PM To: '[EMAIL PROTECTED]' Subject: tomcat 4.0.4 apache 2.0.39 integration Hi, Does anybody know

RE: Tomcat-4.1.6 and DBCP issue?

2002-07-02 Thread Douglas, Rory
Title: RE: Tomcat-4.1.6 and DBCP issue? Hi there I had some problems using the DBCP connection pool with 4.1.6 and the MS SQL Server JDBC drivers. I couldn't get the pool to use the user parameter specified in server.xml, I ended up having to include the username and password as part of the

plain MySQL DataSource in Tomcat (i know, damn topic)

2002-07-02 Thread Marc Logemann
Hi, i am one of the guys trying to get a valid MysqlDataSource reference via JNDI. But i am getting crazy without knowing where the problem is (perhaps the reason is, i cant debug JNDI too good, cause i am no expert in it..) i have the following: server.xml -- context Resource

RE: Error with Oracle Jdbc

2002-07-02 Thread Les Hughes
If you're using a client install of oracle instead of the thin drivers (I'm guessing because of your @TOMCATDB syntax) then the url is jdbc:oracle:oci8:user/passwd@TNSname ie jdbc:oracle:oci8:spifdogg/spifdogg@TOMCATDB or jdbc:oracle:oci8:@TOMCATDB and passs the user and password into the

AW: AW: Performance problems with tc4.0.4 and custom tags

2002-07-02 Thread Ralph Einfeldt
I think you have to (stress-)test which combination is best for your environment and application. I would test them in this order: - jdk1.2 + tc4.0 - jdk1.4 + tc4.0 + jasper2 - jdk1.4 + tc4.1 This is more a feeling than a rational decision driven by facts, as we don't have tomcat in

RE: plain MySQL DataSource in Tomcat (i know, damn topic)

2002-07-02 Thread Les Hughes
http://marc.theaimsgroup.com/?l=tomcat-userm=102225547106556w=2 :-) -Original Message- From: Marc Logemann [mailto:[EMAIL PROTECTED]] Sent: 02 July 2002 13:35 To: [EMAIL PROTECTED] Subject: plain MySQL DataSource in Tomcat (i know, damn topic) Hi, i am one of the guys

Re: Performance problems with tc4.0.4 and custom tags

2002-07-02 Thread Remy Maucherat
Reynir Hübner wrote: I have been playing a little bit around with jasper2 as released with tc 4.1.6 and I am haveing problems. I am using the OSCache taglibrary, and for some reason this does not work as it should. I cannot technically describe the problem, as I have not dug into it, but

RE: tomcat 4.0.4 apache 2.0.39 integration

2002-07-02 Thread Koes, Derrick
http://www.galatea.com/flashguides/index -Original Message- From: Paul Ung [mailto:[EMAIL PROTECTED]] Sent: Monday, July 01, 2002 8:23 PM To: '[EMAIL PROTECTED]' Subject: tomcat 4.0.4 apache 2.0.39 integration Hi, Does anybody know of any good websites/pages that explains

Re: Tomcat 4.0.4, jndi, jdbc and postgresql [long]

2002-07-02 Thread Przemyslaw Kowalczyk
On Tuesday 02 July 2002 14:00, Les Hughes wrote: Two things, In your server.xml user I think should be username and driverName has been deprecated in favour of url which needs the servername and DB name as well (as in something like jdbc:postgresql://full.server.name/mybookdb - or

RE: Tomcat 4.0.4, jndi, jdbc and postgresql [long]

2002-07-02 Thread andre . powroznik
Would you have other applications running in tomcat? -Original Message- From: Przemyslaw Kowalczyk [mailto:[EMAIL PROTECTED]] Sent: 02 July 2002 14:54 To: Tomcat Users List Subject: Re: Tomcat 4.0.4, jndi, jdbc and postgresql [long] On Tuesday 02 July 2002 14:00, Les Hughes wrote: Two

Re: Tomcat 4.0.4, jndi, jdbc and postgresql [long]

2002-07-02 Thread Przemyslaw Kowalczyk
On Tuesday 02 July 2002 14:53, Przemyslaw Kowalczyk wrote: I came to another conclusion. Even if there was some reference to hsql driver in my server.xml it shouldn't affect my own servlet, as it uses its own context. Am I right? przem -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]

RE: Tomcat 4.0.4, jndi, jdbc and postgresql [long]

2002-07-02 Thread andre . powroznik
Is this normal : resource-ref res-ref-namejdbc/BookDB/res-ref-name res-typejavax.sql.DataSource/res-type res-authContainter/res-auth /resource-ref More especially : res-authContainter/res-auth : CONTAINTER? Andre Powroznik

Only one message in digests?

2002-07-02 Thread Henrik Schultz
Is it just me, or do the rest of you also get only one message following the index in your digests? Same thing when requesting a range of messages to be sent to me, only the first message is returned. Could it be a problem with our Notes Domino mail gateway perhaps? Regards - Henrik Schultz

RE: Tomcat 4.0.4, jndi, jdbc and postgresql [long]

2002-07-02 Thread Les Hughes
Yep :-) Oh, I think there's a typo in the URL - remove the two // - this is all driver specific so it's a case of RTM :-) -Original Message- From: Przemyslaw Kowalczyk [mailto:[EMAIL PROTECTED]] Sent: 02 July 2002 14:00 To: Tomcat Users List Subject: Re: Tomcat 4.0.4, jndi, jdbc

R: application Context within a TagLib

2002-07-02 Thread Alessio Fiore
Hi, there is difference between context attributes and context init parameters... Context attributes are managed with setAttribute and getAttribute methods. Init parameters are defined in the web.xml file and are read with getInitParameter method. Then, you should modify your code in following

RE: Tomcat 4.0.4, jndi, jdbc and postgresql [long]

2002-07-02 Thread Les Hughes
web-app resource-ref descriptionDB Connection/description res-ref-namejdbc/TestDB/res-ref-name res-typejavax.sql.DataSource/res-type res-authContainer/res-auth /resource-ref /web-app The description is missing (but I dont have a DTD to had to tell whether this is

Re: Tomcat 4.0.4, jndi, jdbc and postgresql [long]

2002-07-02 Thread Przemyslaw Kowalczyk
On Tuesday 02 July 2002 14:56, [EMAIL PROTECTED] wrote: Would you have other applications running in tomcat? No, I've just started to learn, so there are other apps. przem -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: Tomcat 4.0.4, jndi, jdbc and postgresql [long]

2002-07-02 Thread Przemyslaw Kowalczyk
On Tuesday 02 July 2002 15:00, [EMAIL PROTECTED] wrote: Is this normal : resource-ref res-ref-namejdbc/BookDB/res-ref-name res-typejavax.sql.DataSource/res-type res-authContainter/res-auth /resource-ref More especially :

RE: Tomcat 4 - OpenSSL - IE client certificate works partially

2002-07-02 Thread Adam Greene
I don't know if this applies to Apache Tomcat, but Apache Web Server does not like IE certs. There was an article in Eweek that talked about how Apache follows the standard, and Microsoft (as usual) innovated in regards to SSL, TLS, etc. So that Internet Explorer does work quite right with

RE: Tomcat 4 - OpenSSL - IE client certificate works partially

2002-07-02 Thread Adam Greene
I would absolutely love a HOW-TO. I have a project that is going to require certs for security. I will ultimately have to use a Verisign or Thawte cert, but I can certainly test with the homemade ones. Also, have you tried to get Netscape or Mozilla to work?? Adam Greene ROMulin Group Inc

RE: Tomcat 4.0.4, jndi, jdbc and postgresql [long]

2002-07-02 Thread Les Hughes
Ignore the remove // comment - I was looking at my oracle notes :-) I really have no idea why it's trying to load the hsql driver if there's no ref in your server.xml Post your server.xml and web.xml and we'll both have a look. -Original Message- From: Przemyslaw Kowalczyk

RE: Tomcat 4 - OpenSSL - IE client certificate works partially

2002-07-02 Thread Henrik Schultz
You could also use a temporary Verisign certificate to test with, which is what I have done so far. No, I did not try Netscape myself due to a proxy issue, but someone else on th list did that, and that came up with a strange error: unknown SSL Error -12227 Have still no clue what this is. At

Re: Tomcat 4.0.4, jndi, jdbc and postgresql [long]

2002-07-02 Thread Przemyslaw Kowalczyk
On Tuesday 02 July 2002 15:06, Les Hughes wrote: web-app resource-ref descriptionDB Connection/description res-ref-namejdbc/TestDB/res-ref-name res-typejavax.sql.DataSource/res-type res-authContainer/res-auth /resource-ref /web-app The description is missing

Re: Tomcat-4.1.6 and DBCP issue?

2002-07-02 Thread Martin Jacobson
Douglas, Rory wrote: Hi there I had some problems using the DBCP connection pool with 4.1.6 and the MS SQL Server JDBC drivers. I couldn't get the pool to use the user parameter specified in server.xml, I ended up having to include the username and password as part of the JDBC URL.

RE: Tomcat 4.0.4, jndi, jdbc and postgresql [long]

2002-07-02 Thread andre . powroznik
Do you have already connected to a postgresql db using a java app? Are you sure the parameters are correct? What is public? Where did you put the postgresql.jar? Do you have a file named hsql.jar? Can you remove it? -Original Message- From: Przemyslaw Kowalczyk [mailto:[EMAIL

Re: Tomcat 4.0.4, jndi, jdbc and postgresql [long]

2002-07-02 Thread Martin Jacobson
Les Hughes wrote: Ignore the remove // comment - I was looking at my oracle notes :-) I really have no idea why it's trying to load the hsql driver if there's no ref in your server.xml Post your server.xml and web.xml and we'll both have a look. I struggled for weeks (on and off)

Re: Tomcat 4.0.4, jndi, jdbc and postgresql [long]

2002-07-02 Thread Przemyslaw Kowalczyk
On Tuesday 02 July 2002 15:16, Les Hughes wrote: Ignore the remove // comment - I was looking at my oracle notes :-) I really have no idea why it's trying to load the hsql driver if there's no ref in your server.xml Ok, the full versions (I cut off all comments): przem server.xml

apache-tomcat: localhost/examples/ ok, but not locahost/examples

2002-07-02 Thread Ralph Grove
I've installed tomcat 4.0.4 along with the webapp connector and have modified the Apache config (as follows) to relay certain requests to tomcat. # make connection to tomcat LoadModule webapp_module modules/mod_webapp.so AddModule mod_webapp.c WebAppConnection warpConnection warp localhost:8008

Re: Tomcat 4.0.4, jndi, jdbc and postgresql [long]

2002-07-02 Thread Przemyslaw Kowalczyk
On Tuesday 02 July 2002 15:43, [EMAIL PROTECTED] wrote: Do you have already connected to a postgresql db using a java app? Are you sure the parameters are correct? What is public? Where did you put the postgresql.jar? Yes, without any problems from 'standalone' application. I'm able to query

Fault= SOAP-ENV:Server.BadTargetObjectURI::: Can anyone help me?

2002-07-02 Thread Nishant_Awasthi
Hello eneryone... I have problem that have been discussed many times but I couldn't find the answer to it. I am trying to run SOAP on tomcat. I am using Apache SOAP 2.0

taglibs and application context

2002-07-02 Thread Andreas Hirner
Hello, I have set an attribute like this: request.setAttribute(Constants.VARIABLE_KEY, variable); now I would like retreive that variable in a taglib. But if call it via variable = (String)pageContext.getServletContext().getAttribute(Constants.VARIABL E_KEY); the variable is null Waht's

Re: application Context within a TagLib

2002-07-02 Thread info
thanxs!! Rainer - Original Message - From: Alessio Fiore [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Tuesday, July 02, 2002 3:07 PM Subject: R: application Context within a TagLib Hi, there is difference between context attributes and context init parameters...

RE: Tomcat 4.0.4, jndi, jdbc and postgresql [long]

2002-07-02 Thread Les Hughes
Ok. Summary time. Martin reflects my experience - I dumped tyrex and used DBCP as well. But aren't we trying to go direct without a pool? Having said that I've only ever managed to get datasources working when DBCP is being used... Check that your driver jarfile does not contain the javax.sql

Re: Tomcat 4.0.4, jndi, jdbc and postgresql [long]

2002-07-02 Thread Brian P. Millett
On Tue, 2002-07-02 at 08:47, Przemyslaw Kowalczyk wrote: On Tuesday 02 July 2002 15:16, Les Hughes wrote: Ignore the remove // comment - I was looking at my oracle notes :-) I really have no idea why it's trying to load the hsql driver if there's no ref in your server.xml Ok, the full

RE: Tomcat-4.1.6 and DBCP issue?

2002-07-02 Thread Douglas, Rory
Title: RE: Tomcat-4.1.6 and DBCP issue? Thanks Martin, that worked! The problem is that the TC-4.1.6 Admin web-app adds a user ,not a username parameter when you add a DataSource resource. -Original Message- From: Martin Jacobson [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 02,

RE: Error with Oracle Jdbc

2002-07-02 Thread Lin, Zhongwu
try DriverManager.getConnection(jdbc:oracle:thin:@HOST:PORT:TOMCATDB,spifdogg ,spifdogg); instead of DriverManager.getConnection(jdbc:oracle:localhost:@TOMCATDB,spifdogg,sp ifdogg); It should work. -Original Message- From: William Gustave [mailto:[EMAIL PROTECTED]] Sent: Monday,

R: taglibs and application context

2002-07-02 Thread Alessio Fiore
Hi Andreas, the problem is that you put an attribute in the request and then you get it from the context... you should, instead, get it from the request, so: request.setAttribute(Constants.VARIABLE_KEY, variable); ... variable =

RE: Apache 2.0.39 modjk2

2002-07-02 Thread Short, Dave
jk2.shm is created in the Apache2\logs directory which has permissions set to: Everyone - Full Control. Any other ideas? -Original Message- From: Mark Pelillo [mailto:[EMAIL PROTECTED]] Sent: July 01, 2002 5:32 PM To: Tomcat Users List Subject: Re: Apache 2.0.39 modjk2 check the

plain MySQL DataSource in Tomcat (i know, damn topic)

2002-07-02 Thread Marc Logemann
Hi, i figured out how to use the default DataSource with MySQL: Resource name=jdbc/mysql auth=Container type=javax.sql.DataSource/ ResourceParams name=jdbc/mysql parameter nameuser/namevalueroot/value /parameter parameter namepassword/namevalue/value /parameter parameter

Updating files without restarting Tomcat

2002-07-02 Thread cbarnes
I am using Tomcat 4. I have a number of properties files in the WEB-INF/classes directory. I need to be able to change the values of the properties in these files, but it looks as though I need to restart Tomcat every time I change a value in order for it to recognise the new version of the

RE: plain MySQL DataSource in Tomcat (i know, damn topic)

2002-07-02 Thread Clay Graham
Are alot of people having problems with the mySql drivers or am I being myopic... i tried to do this with STRUTS datasource pooling and had the following issues... I am asking a question because I am very suprised at an unexepected behaviour and thought that someone may have a hint. I have

Error on startup when using custom error pages

2002-07-02 Thread Sefton, Adam
Hi, I'm trying to pick up error codes and display custom error pages. The one I'm working with currently is the 401 error in the case of failed logins. I've added the following in my /conf/web.xml: error-page error-code401/error-code locationerror.html/location /error-page

Re: HTTP Status 500 - No Context configured to process this request

2002-07-02 Thread mpauley
Hi (Jose), I made the changes you suggested but I'm still having problems. Let me give you a little more background: The website we would like to drive using tomcat4 is located in the /bioinformatics/webapps/bioinformatics directory (again, we're using RedHat Linux 7.3; I don't

APR not loaded?

2002-07-02 Thread Collins, Jim
Hi all, Does anyone know what this message means: INFO: APR not loaded, disabling jni components: java.io.IOException: no jkjni in java.library.path I get this message in my catalina log file whenever I start Tomcat. I am trying to load a native library in a servlet with no luck so far and was

javax.servlet.ServletException: DbcpDataSourceFactory: on jwsdp1.0 / tomcat4.x

2002-07-02 Thread Jim Mangione
Has anyone come across this error before when trying to access a database connection pool resource? I'm using Tomcat 4.1 shipped with Java's Web Services Development Pack v1.0 and trying to connect to a mySQL database. Currently, I'm not employing any web services features. Just trying to get

OT JBoss site offline?

2002-07-02 Thread David Mossakowski
Does anyone know what's going on? d. -- David Mossakowski [EMAIL PROTECTED] Instinet Corporation 212.310.7275 *** Disclaimer This message is intended only for the use of the Addressee

Connection Pooling

2002-07-02 Thread Kevin Passey
Hi, I am new to Tomcat so bear with me. I have developed something using Websphere application server which has connection pooling built-in. Is there anything simple to plug in so that I can do the same with Tomcat? Any docs or Howto's would be appreciated Thanks Kevin

RE: Apache 2.0.39 modjk2

2002-07-02 Thread Mladen Turk
-Original Message- From: Short, Dave [mailto:[EMAIL PROTECTED]] Sent: 2. srpanj 2002 17:00 To: 'Tomcat Users List' Subject: RE: Apache 2.0.39 modjk2 jk2.shm is created in the Apache2\logs directory which has permissions set to: Everyone - Full Control. Any other ideas?

RE: APR not loaded?

2002-07-02 Thread Douglas, Rory
Title: RE: APR not loaded? I don't think this is related to your problem. YOu can remove this message by copying jkjni (.dll or .so) (from the binaries for the tomcat connectors) into one of tomcat\bin or jdk\jre\bin (can't remember which). I think this dll/so is only necessary for

How often would Tomcat crash?

2002-07-02 Thread Prashanth Pushpagiri
Hello everyone: I realize that this might not be a problem to find a solution for on this forum, but any input on this might help me debug my problem. This morning I was told that my website running IIS 5.0/Tomcat 4.0.2 was not accessible. Since I was physically unavailable in the office, I

RE: APR not loaded?

2002-07-02 Thread Collins, Jim
Thanks Rory. -Original Message- From: Douglas, Rory [mailto:[EMAIL PROTECTED]] Sent: 02 July 2002 16:55 To: 'Tomcat Users List' Subject: RE: APR not loaded? I don't think this is related to your problem. YOu can remove this message by copying jkjni (.dll or .so) (from the binaries

Re: How often would Tomcat crash?

2002-07-02 Thread peter lin
this is just a guess, but if there were no logs, was the log directory full? I know with NT4 and IIS that once the log directory reaches 200+ mb of logs, it can cause IIS to stop responding. It probably isn't it, but just in case I thought I'd mention it. peter Prashanth Pushpagiri wrote:

RE: Error on startup when using custom error pages

2002-07-02 Thread Sefton, Adam
Actually, I've managed to answer my own question - the location path needs to be from the web root of Tomcat. Now its working fine, but with an interesting problem. Http Status 401 actually just means that authentication is required, which means that the site is automatically redirecting to the

Re: How often would Tomcat crash?

2002-07-02 Thread Prashanth Pushpagiri
Hello peter, The log files are not close to 200 mb. These are relatively new machines. Also, my current log_level for tomcat is debug. What other options are available? isapi.log seems to be growing by the day! Thanks Prashanth --- peter lin [EMAIL PROTECTED] wrote: this is just a guess,

AW: javax.servlet.ServletException: DbcpDataSourceFactory: on jwsdp1.0 / tomcat4.x

2002-07-02 Thread Ralph Einfeldt
config.xml ? Thought it should be server.xml. http://jakarta.apache.org/tomcat/tomcat-4.0-doc/jndi-resources-howto.htm l -Ursprüngliche Nachricht- Von: Jim Mangione [mailto:[EMAIL PROTECTED]] Gesendet: Dienstag, 2. Juli 2002 17:40 An: [EMAIL PROTECTED] Betreff:

RE: Apache 2.0.39 modjk2

2002-07-02 Thread Short, Dave
So, these are debugging messages that can safely be ignored? -Original Message- From: Mladen Turk [mailto:[EMAIL PROTECTED]] Sent: July 02, 2002 8:54 AM To: 'Tomcat Users List' Subject: RE: Apache 2.0.39 modjk2 -Original Message- From: Short, Dave [mailto:[EMAIL PROTECTED]]

Re: AW: javax.servlet.ServletException: DbcpDataSourceFactory: on jwsdp1.0/ tomcat4.x

2002-07-02 Thread Jim Mangione
Yes: server.xml. Typing too fast! Sorry. Ralph Einfeldt

Oracle jdbc driver not found

2002-07-02 Thread Carlton Lo
I'm using Tomcat 4.0.4 tyring to access Oracle 8.1.7 via oci driver. I've tried many different approaches, they are 1. save classes12.zip into TOMCAT HOME\common\lib and changed the extension to .jar 2. save classes12.zip into TOMCAT HOME\lib and changed the extension to .jar 3. save

RE: Apache 2.0.39 modjk2

2002-07-02 Thread Mladen Turk
-Original Message- From: Short, Dave [mailto:[EMAIL PROTECTED]] Sent: 2. srpanj 2002 18:15 To: 'Tomcat Users List' Subject: RE: Apache 2.0.39 modjk2 So, these are debugging messages that can safely be ignored? Yes, as all warnigs can, until something hit you in the head

Re[2]: Tomcat-4.1.6 and DBCP issue?

2002-07-02 Thread Jacob Kjome
Hello Remy, Cool, that did it! Just by replacing the 4.1.6 version of commons-dbcp.jar with the 4.1.3 version made everything work again. I guess this definitely means a regression was introduced into commons-dbcp in 4.1.6. Jake Tuesday, July 02, 2002, 2:09:40 AM, you wrote: RM Jacob Kjome

j_security_check question

2002-07-02 Thread Kevin Andryc
I am using a servlet as a login form that uses j_security_check. When submitted I would like it to return back to the same servlet with the person now authenticated except that it gives me the error: Type Status report message Invalid direct reference to form login page description The request

RE: APR not loaded?

2002-07-02 Thread Short, Dave
I put jkjni.dll (tomcat also wanted libapr.dll) in the tomcat\bin directory and the message went away. Now it complains about not being able to find the ${serverRoot}/conf/workers2.properties file. This file exists in the Apache2\conf directory. How can I point tomcat to the Apache2\conf

RE: Apache 2.0.39 modjk2

2002-07-02 Thread Short, Dave
Thanks! -Original Message- From: Mladen Turk [mailto:[EMAIL PROTECTED]] Sent: July 02, 2002 9:36 AM To: 'Tomcat Users List' Subject: RE: Apache 2.0.39 modjk2 -Original Message- From: Short, Dave [mailto:[EMAIL PROTECTED]] Sent: 2. srpanj 2002 18:15 To: 'Tomcat Users

RE: Updating files without restarting Tomcat

2002-07-02 Thread Douglas, Rory
Title: RE: Updating files without restarting Tomcat You can specify the attribute reloadable=true in the context element for your web-application (in server.xml) This will, however, watch all files for changes. There is no way to my knowledge of watching only some files. cheers Rory

  1   2   >