Hi All,

Sorry for the duplicate post:

I am developing an application that will be deployed in a shared instance of JBoss at 
the client site, and they have asked me whether or not I could include the JDBC driver 
that I will need as part of the ear file I deliver to them.

I have done a lot of search and reading documentation but have not found any 
information on this yet. Every doc says you need to put your driver jar in 
/server/lib. But my client does not want to change their configuration in this way (to 
avoid problems with other deployed ears I guess).

So - the question is: is this even possible to include the driver in my ear file? This 
is the possibilities I could think of:

1. Include a custom SAR file in the ear and somehow define my datasource there, with 
the driver included in the SAR file.

2. Maybe use a RAR file instead, again with the driver included in the RAR.

3. Create some kind of custom classloader to find the driver somewhere within my ear 
file. I have never written a classloader yet, and this would be a nonstandard thing to 
say the least, so I would like to avoid this if possible (unless someone can convince 
me that I shouldn't be scared of this!).

So are any of these possible? I don't mind doing the work, but if anybody could give 
me at least a hint or a pointer to good information I would be *most* appreciative :)

Thanks/Merci,
Joe 

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843668#3843668

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843668


-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to