init and destroy are used in instantiating and removing servlet in/from memory. And servlet can be reused anytime at containers will. I dont thing init and destroy are good places, where to create and close conections. Place it in service method. Remember, it actually means just to get and...
You can use Oracle thin driver immidiately, it's in the bulk.
Create new pool:
url: jdbc:oracle:thin:@(description=(address=(host=x.x.x.x)(protocol=tcp)(port=1521))(connect_data=(sid=xxx)))
where x.x.x.x is your IP and xxx your SID
Driver Classname: oracle.jdbc.driver.OracleDriver
Properties...
Don't use autodeployment, from my expirience it is not reliable.
Use weblogic.deploy utility, if you don't mind deploying in .wlstaging directory or admin console (undeploy - deploy)
Vladislav
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.