DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6406>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6406

All classes in $CATALINA_HOME/classes become invisible when the Oracle 8.1.7 JDBC 
driver classes are added to this shared class loader directory.

           Summary: All classes in $CATALINA_HOME/classes become invisible
                    when the Oracle 8.1.7 JDBC driver classes are added to
                    this shared class loader directory.
           Product: Tomcat 4
           Version: 4.0.2 Final
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Major
          Priority: Other
         Component: Jasper
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


All classes in $CATALINA_HOME/classes become invisible when the Oracle 8.1.7 
JDBC driver classes are added to this shared class loader directory.

This was NOT a problem before j2sdk1.4.0-rc.

The Oracle 8.1.7 JDBC driver comes from Oracle packaged in two zip files: 
classes12.zip and nls_charset12.zip. When these files are unpacked, two 
directories result: oracle and javax. If these two directories are placed 
in /WEB-INF/classes, everything works fine. However, if these directories are 
instead placed in $CATALINA_HOME/classes, then all the classes in the 
$CATALINA_HOME/classes directory become invisible and the directory itself 
disappears from the classpath. (i.e., The application context attribute named 
org.apache.catalina.jsp_classpath no longer includes a reference to 
$CATALINA_HOME/classes.) 

It turns out that the javax directory is the key to this problem. If I delete 
this directory from $CATALINA_HOME/classes, everything works fine again. 
Luckily, the same classes that Oracle provides in this directory (javax.sql.*) 
are part of the 1.4 JRE. Nevertheless, this is a nasty problem. The workaround 
next time will unlikely be so easy.

This problem is very easy to duplicate in both the FULL and the LE version of 
Tomcat 4.0.2.

Note: Similar errant results occur when the two Oracle zip files are renamed to 
jar’s and then placed in the $CATALINA_HOME/lib directory. In this case, 
however, it seems that only the classes in classes12.jar become invisible, 
although this was not tested.

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to