BEA-149265 Error

If you are getting following exception while running the jspx, follow the instructions provided
<Aug 4, 2011 11:03:27 AM PDT> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID ‘1312481005405’ for task ‘0’. Error is: ‘weblogic.application.ModuleException: ‘
weblogic.application.ModuleException:
at weblogic.jdbc.module.JDBCModule.prepare(JDBCModule.java:302)
at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:517)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:159)
Truncated. see log file for complete stacktrace
Caused By: weblogic.common.resourcepool.ResourceSystemException: Cannot load driver class: com.microsoft.sqlserver.jdbc.SQLServerDriver
at weblogic.jdbc.common.internal.JDBCUtil.parseException(JDBCUtil.java:301)
at weblogic.jdbc.common.internal.ConnectionEnvFactory.loadDriver(ConnectionEnvFactory.java:75)
at weblogic.jdbc.common.internal.ConnectionEnvFactory.<init>(ConnectionEnvFactory.java:131)
at weblogic.jdbc.common.internal.ConnectionPool.initPooledResourceFactory(ConnectionPool.java:712)
at weblogic.common.resourcepool.ResourcePoolImpl.start(ResourcePoolImpl.java:235)
Truncated. see log file for complete stacktrace
>

  • Delete the default weblogic domain <C:Documents and Settings<User Name>Application DataJDevelopersystem11.1.1.4.37.59.23DefaultDomain>
  • rerun the app to create the default domain
  • Copy the SQLJDBC4.jar under C:Documents and Settings<User Name>Application DataJDevelopersystem11.1.1.4.37.59.23DefaultDomainlib
  • Restart the JDeveloper and rerun the jspx page

If you are getting following exception while running the jspx, follow the instructions provided <Aug 4, 2011 11:03:27 AM PDT> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID ‘1312481005405’ for task ‘0’. Error is: ‘weblogic.application.ModuleException: ‘ weblogic.application.ModuleException: at weblogic.jdbc.module.JDBCModule.prepare(JDBCModule.java:302) at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199) at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:517) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52) at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:159) Truncated. see log…

Leave a Reply

Your email address will not be published. Required fields are marked *