So here's the deal. I've been trying to track a but with Castor for the past
week where on Solaris 8 (running JDK 1.4.0_02 and Tomcat 4.0.4 w/ MySQL
Connector/J 2.0.14 and Castor 0.9.3.21) Castor is unable to locate any of
the persistence factory classes when getDatabase() is called. The odd thing
is that This web app is running fine, with similar configs on both Windows
2000/JDK 1.4.0_02 and Mac OS X 10.2/JDK 1.3.1. After some digging and review
of some of Castors code, it became apparent that this was a class loader
issue. So to test, I checked out the sources from CVS, put some print
statements in the PersistenceFactoryRegistry to see what classloader was
being used when the load() method was called. On MacOS X and Win2k, this
returned a proper class path. On Solaris however, it returns null.


Just to restate, we are using a binary build of Tomcat 4.0.4 from Jakarta
and Sun JDK's and the App is working fine on Windows 2000 and Mac OS X. I'd
like to know if anyone can replicate this bug or offer any insight as to
what is going on? Thanks.

Ryan-

----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
        unsubscribe castor-dev

Reply via email to