Bugs item #668786, was opened at 2003-01-15 17:07 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=376685&aid=668786&group_id=22866
Category: JBossMX Group: v3.0 Rabbit Hole Status: Open Resolution: None Priority: 5 Submitted By: Steve Hayward (shayward) Assigned to: Nobody/Anonymous (nobody) Summary: LinkageError: loader constraints violated Initial Comment: I am using JDK1.3.1-b24 on Window 2000 pro. here is the error I get when calling a EJB and it tries to open a JDBC connection to a Oracle database: 2003-01-15 10:57:50,796 INFO [org.jboss.system.server.Server] JBoss (MX MicroKernel) [3.0.4 Date:200211021607] Started in 0m:22s:463ms 2003-01-15 10:58:44,242 ERROR [org.jboss.ejb.plugins.LogInterceptor] Unexpected Error: java.lang.LinkageError: loader constraints violated when linking javax/sql/ConnectionEventListener class ===== Now here is what my research has uncovered. I am using Oracle therefore I have classes12.zip in the lib directory. I turned on DEBUG logging in conf/log4j.xml I then run again and I see in the log that javax.sql.ConnectionEventListener.class was found in 2 jars. 1. classes12.zip (Oracle JDBC drivers) 2. jboss-j2ee.jar after some investigation I discovered that these interface classes are different (they should be the same as Sun's J2ee 1.2.1 version of them) so I download Sun's source for j2ee1.2.1 and found that jboss version of javax.sql.ConnectionEventListener.java is indeed different from jboss's version of the same interface: Sun's version of javax.sql.ConnectionEventListener declares: void connectionClosed... void connectionErrorOccurred... Jboss's version of javax.sql.ConnectionEventListener declares: public void connectionClosed public void connectionErrorOccurred I believe that I get the LinkageError because the Oracle classes12.zip has the exact same copy as Sun's. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=376685&aid=668786&group_id=22866 ------------------------------------------------------- This SF.NET email is sponsored by: A Thawte Code Signing Certificate is essential in establishing user confidence by providing assurance of authenticity and code integrity. Download our Free Code Signing guide: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0028en _______________________________________________ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development