Hi Dave,

I'd guess that the JVM must be checking that the classes referenced by your enhanced bytecode are actually available. That does surprise me, since I didn't think the JVM would try loading referenced classes until they're actually needed (as when you call a method that uses one of these classes). Can you send me the actual class file that's failing loading so I can take a look at what's there? The binding might help, too.

Glad you're enjoying JiBX! Don't know where you're located, but we may be neighbors - my wife and I just moved to NZ, and have now rented a house in the Wellington area. We're waiting for our Telecom hookup, though, so it may be a day or two before I get back online...

 - Dennis

[EMAIL PROTECTED] wrote:

Hi,
First of all let me say how impressed I am with JiBX. I've used most of the
other XML Binding products.

Down to business.
I'm using IBM Rational Application Developer (RAD)V6. Its got an embedded Web
Sphere but am uncertain of its version.
I've mapped a number of Domain Classes. The mapping is only one way , from XML
to Domain Classes.
All JUnit test cases run fine. The test cases just convert from XML to one or
more Domain Classes using XSLT to transform to the JiBX input XML.
However if I attempt to create a mapped Domain Class whilst running in the Web
Application, ( e.g. Domain domain = new Domain())then Web Sphere complains with
a ClassDefNotFound exception citing that the JiBX Unmarshaller cannot be found.
And indeed the classpath shown in the stacktrace does not include the
jibx-runtime.jar. But still we're not doing any JiBX work here just a Domain
Class create. Creating non mapped Domain classes presents no problems.

Any ideas?

regards

Dave



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
jibx-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jibx-users

Reply via email to