Cannot load driver class: com.microsoft.sqlserver.jdbc.SQLServerDriver
RobalJul 18 2012 — edited Jul 18 2012Dear All,
I created an application to retrive a date from MS MSQL. Testing app in Integrated WLS - works perfectly,
but when I try to deploy it on prod i have a deployment issue:
[10:23:47 AM] [Deployer:149191]Operation 'deploy' on application 'bi003_Project1_bi003' is initializing on 'bi_server1'
[10:23:47 AM] Weblogic Server Exception: weblogic.application.ModuleException:
[10:23:47 AM] Caused by: weblogic.common.resourcepool.ResourceSystemException: Cannot load driver class: com.microsoft.sqlserver.jdbc.SQLServerDriver
[10:23:47 AM] See server logs or server console for more details.
[10:23:47 AM] weblogic.application.ModuleException:
[10:23:47 AM] Deployment cancelled.
[10:23:47 AM] ---- Deployment incomplete ----.
[10:23:47 AM] Remote deployment failed (oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer)
I already checked that my EAR->WAR file contains: sqljdbc4.jar file attached.
I don't want to add this library to commEnv.cmd file in a classpath - I would like to run this application using attached lib.
Any sugestions?
Regards.