db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "M. Sean Gilligan" <Sean_Gilli...@catalla.com>
Subject Re: Torque using Tomcat
Date Wed, 29 Dec 2004 23:03:10 GMT
>"M. Sean Gilligan" <Sean_Gilligan@catalla.com> writes:
>I took a good look at the JndiDataSourceFactory and this patch just
>plasters over

What are the consequences of a patch that just "plasters over"?

>(there is also a good NPE chance in there)

I'm sorry, I'm not familiar with the acronym NPE, what does "NPE" mean?

>I would prefer having you test the TORQUE_3_1_BRANCH HEAD by doing
>cvs -d :pserver:anoncvs@cvs.apache.org:/home/cvspublic checkout -r TORQUE_3_1_BRANCH db-torque
>and compiling it,

I did this and it fixed the problem, but...

> but if you are stuck to a released version due to QA
>reasons, simply take the released 3.1.1 version and replace the
>JndiDataSourceFactory.java file.

I really do want to use a QA'ed release for my alpha/beta/production release, so I also tried
copying JndiDataSourceFactory.java into the 3.1.1 directory tree and am unable to do a build:

    [echo] Compiling to /Users/sean/netcvs/jakarta/db-torque-3-1-1-patched/target/classes
    [javac] Compiling 69 source files to /Users/sean/netcvs/jakarta/db-torque-3-1-1-patched/target/classes
cannot resolve symbol
symbol  : method initialize (org.apache.commons.configuration.Configuration)
location: class org.apache.torque.dsfactory.AbstractDataSourceFactory
Note: Some input files use or override a deprecated API.
Note: Recompile with -deprecation for details.
1 error

Any suggestions on what to do with the 3.1.1 tree?  I'm going to try the "plasters over" patch
for now...



M. Sean Gilligan                    : 831-466-9788 x11
Catalla Systems, Inc.               : http://www.vblogcentral.com

To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org
For additional commands, e-mail: torque-user-help@db.apache.org

View raw message