Hi,
Is the following scenario possible, considering the way classloading works.
- I have 2 applications App1 and App2 deployed on JBoss
- App1 uses a datasource which requires a older version jar of some database(say oracle). App2 uses a datasource requires a newer version of jar of the SAME database.
- For these 2 datasources, i create 2 ds.xml files and place them in deploy directory. I also place olderVersion.jar and newerVersion.jar driver files in the server/default/lib directory.
Is this scenario going to work? Will the datasources pick up the correct jar files? If not, is there any way to handle this scenario?
-Jaikiran