[JBoss-user] [Installation, Configuration & Deployment] - Re: Is this JBoss or an iBatis issue? Classpath issues...
Has anyone ever used iBatis from within an EAR with EAR isolation on? If so, what was your package layout and where were are your resource files? Any advice would be much apprecaited. I'm going nuts with this one. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3935947#3935947 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3935947 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration & Deployment] - Re: Is this JBoss or an iBatis issue? Classpath issues...
"asack" wrote : Just to add, the exception I'm getting is: | | java.io.IOException: Could not find resource "com/blah/blah/sqlmapConfig.xml" etc. which is definitely in the my.jar module. Well it seems I can load if I set the current Context ClassLoader to myClass.getClass().getClassLoader(). I obviously do not understand JBoss class loading strategy as well as I thought. Why do I have do this since I should have classloading scope within my own EAR? (I tried 403SP1 and 404RC2 with the same results). Also if I do this then if iBatis needs anything from a common library (like a type callback handler), its no longer visible unless I include it within the EAR - I *thought* I could a bunch of EARs sharing one library resource that provides interfaces and objects ocmmon to all of them. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3935875#3935875 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3935875 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration & Deployment] - Re: Is this JBoss or an iBatis issue? Classpath issues...
Just to add, the exception I'm getting is: java.io.IOException: Could not find resource "com/blah/blah/sqlmapConfig.xml" etc. which is definitely in the my.jar module. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3935811#3935811 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3935811 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user