-
1. Re: java.sql interfaces in jboss-jca.jar and class loading
juhalindfors Mar 30, 2003 8:05 AM (in response to jova73)No config as far as I know. You should talk to David Jencks directly about this.
-
2. Re: java.sql interfaces in jboss-jca.jar and class loading
davidjencks Mar 30, 2003 5:05 PM (in response to jova73)Do you mean SavePoint?
You might need to compile with jdk 1.3: I think this will leave out the classes or references to them.
I don't have a good solution to the problem of the interface incompatiblitly between jdk 1.3 and 1.4. -
3. Re: java.sql interfaces in jboss-jca.jar and class loading
jova73 Apr 2, 2003 11:24 AM (in response to jova73)Maybe I mispelled the class name however
- my classes are compiled with jdk 1.3
- JBoss 3.0.3 is compiled with JDK 1.3 or I think so, I downloaded it from SourceForge. Is maybe JBoss compiled with JDK 1.4?? Should I recompile it with JDK 1.3??
The problem is that
- java.sql classes are not left out but included in JBoss jars
- JBoss classes have the import of the java.sql stuff
- the JBoss classloader loads its classes and attempts to load the java.sql classes included in JBoss jars.
This happens only with AS/400 JDK.
Any idea??
Thanks,
Andrea -
4. Re: java.sql interfaces in jboss-jca.jar and class loading
jova73 Apr 3, 2003 12:40 PM (in response to jova73)Just to be clear: it seems a JBoss bug on AS/400 because:
- java.sql classes are inside jboss jars
- JDK for AS/400 loads tries these classes immediatly
- other JDK classloaders (AIX, Windows) postpone loading when the classes are used, but the methods which uses JDK 1.4 sql classes are never called if JBoss runs with JDK 1.3 so no problem arise.
The only solution is to drop (by mysel!!) the classes from the jar and I don't like it very much :-(.
I think that those clases should be left out from the JBoss distribution, or should I prepare two different setup for JBoss (AS/400 and other platforms) ??
Thanks in advance,
Andrea -
5. Re: java.sql interfaces in jboss-jca.jar and class loading
derwood44 Apr 4, 2003 11:56 AM (in response to jova73)I'm running an MBean I wrote that is accessing oracle--compiled w/ jdk1.3.1--running on Windows2000--got same error--it is flakey in that the error comes/goes--i rebooted jboss a few times and it went away. do not understand cause.