dynamic-environment class path issues
"Amit Rathore" <[email protected]> Wed, 2 May 2007 12:36:46 -0700
| Newsgroups | gmane.comp.java.sisc.user |
|---|---|
| Message-ID | <[email protected]> |
Hi folks, This is my first post to this mailing group. I recently started using SISC in my project because between SISC, ABCL, Jatha, and JScheme - I felt that SISC was the most usable and active. However, I've run into an issue almost immediately - and I'd be very grateful for any help. Basically, what's happening is this. I'm using S2J to make a call into a Java class method. The method takes a string which represents a class-name (eg. com.company.department.something.Entity) and uses Class.forName to load it. This is throwing a ClassDefNotFound exception. I know the code works because I also have a different solution that uses JRuby, and this same code works fine in that usage. I think the error has to do with the fact that the SISC library is somehow changing the classpath... I tried looking into this using the DynamicEnvironment class, and the classpath returned by the getClassPath method is an empty array. Any insight would be greatly appreciated... I could continue down the JRuby road, but that would be sub-optimal... :( -- Regards, Amit Rathore -------------------------------------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Sisc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sisc-users