Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Cannot load driver class: com.microsoft.sqlserver.jdbc.SQLServerDriver

RobalJul 18 2012 — edited Jul 18 2012
Dear 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.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 15 2012
Added on Jul 18 2012
2 comments
1,813 views