java.lang.ClassNotFoundException: weblogic.jdbc.wrapper.JTSConnection


Samebug tips10

This might be an issue with the file location in the Spark submit command. Try it with

spark-submit --master spark://master:7077 \
     hello_world_from_pyspark.py {file location}


6 months ago
Expert tip

Check if you've set a name in Application -> Run. If you didn't, the generated XML is gonna have missing information and then this exception will be thrown.


6 months ago
Expert tip

Solutions on the web2

Solution icon of stackoverflow
weblogic.jdbc.wrapper.JTSConnection

Solution icon of oraclecommunity
weblogic.jdbc.wrapper.JTSConnection

Stack trace

java.lang.ClassNotFoundException: weblogic.jdbc.wrapper.JTSConnection
	at weblogic.ejb.container.deployer.EJBModule.activate(EJBModule.java:479)
	at weblogic.application.internal.flow.ModuleStateDriver$2.next(ModuleStateDriver.java:192)
	at weblogic.application.internal.flow.ModuleStateDriver$2.next(ModuleStateDriver.java:187)
	at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:35)
	at weblogic.application.internal.flow.ModuleStateDriver.activate(ModuleStateDriver.java:58)
	at weblogic.application.internal.flow.ScopedModuleDriver.activate(ScopedModuleDriver.java:206)
	at weblogic.application.internal.ExtensibleModuleWrapper.activate(ExtensibleModuleWrapper.java:97)
	at weblogic.application.internal.flow.ModuleListenerInvoker.activate(ModuleListenerInvoker.java:114)
	at weblogic.application.internal.flow.ModuleStateDriver$2.next(ModuleStateDriver.java:192)
	at weblogic.application.internal.flow.ModuleStateDriver$2.next(ModuleStateDriver.java:187)
	at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:35)
	at weblogic.application.internal.flow.ModuleStateDriver.activate(ModuleStateDriver.java:58)
	at weblogic.application.internal.flow.DeploymentCallbackFlow.activate(DeploymentCallbackFlow.java:145)
	at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:729)
	at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:35)
	at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:258)
	at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:61)
	at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:165)
	at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
	at weblogic.deploy.internal.targetserver.BasicDeployment.activate(BasicDeployment.java:192)
	at weblogic.deploy.internal.targetserver.BasicDeployment.activateFromServerLifecycle(BasicDeployment.java:369)
	at weblogic.management.deploy.internal.DeploymentAdapter$1.doActivate(DeploymentAdapter.java:51)
	at weblogic.management.deploy.internal.DeploymentAdapter.activate(DeploymentAdapter.java:200)
	at weblogic.management.deploy.internal.AppTransition$2.transitionApp(AppTransition.java:30)
	at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:261)
	at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:246)
	at weblogic.management.deploy.internal.ConfiguredDeployments.activate(ConfiguredDeployments.java:169)
	at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:123)
	at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:186)
	at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:94)
	at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
	at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
	at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
Caused by: java.lang.ClassNotFoundException: weblogic.jdbc.wrapper.JTSConnection
	at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
	at sun.misc.Launcher$ExtClassLoader.findClass(Launcher.java:229)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
	at java.lang.Class.forName0(Native Method)
	at java.lang.Class.forName(Class.java:249)
	at weblogic.utils.wrapper.WrapperFactory.getWrapperClass(WrapperFactory.java:219)
	at weblogic.utils.wrapper.WrapperFactory.getWrapperClass(WrapperFactory.java:190)
	at weblogic.jdbc.wrapper.JDBCWrapperFactory$1.run(JDBCWrapperFactory.java:164)
	at java.security.AccessController.doPrivileged(Native Method)
	at weblogic.jdbc.wrapper.JDBCWrapperFactory.getWrapper(JDBCWrapperFactory.java:161)
	at weblogic.jdbc.jts.Driver.newConnection(Driver.java:974)
	at weblogic.jdbc.jts.Driver.createLocalConnection(Driver.java:340)
	at weblogic.jdbc.jts.Driver.connect(Driver.java:175)
	at weblogic.jdbc.common.internal.RmiDataSource.getConnectionInternal(RmiDataSource.java:553)
	at weblogic.jdbc.common.internal.RmiDataSource.getConnection(RmiDataSource.java:518)
	at weblogic.jdbc.common.internal.RmiDataSource.getConnection(RmiDataSource.java:511)
	at weblogic.ejb.container.cmp.rdbms.RDBMSPersistenceManager.getConnection(RDBMSPersistenceManager.java:4050)
	at weblogic.ejb.container.cmp.rdbms.RDBMSPersistenceManager.verifyDatabaseType(RDBMSPersistenceManager.java:4272)
	at weblogic.ejb.container.cmp.rdbms.RDBMSPersistenceManager.setup(RDBMSPersistenceManager.java:245)
	at weblogic.ejb.container.manager.BaseEntityManager.setupPM(BaseEntityManager.java:299)
	at weblogic.ejb.container.manager.BaseEntityManager.setup(BaseEntityManager.java:252)
	at weblogic.ejb.container.manager.DBManager.setup(DBManager.java:154)
	at weblogic.ejb.container.deployer.ClientDrivenBeanInfoImpl.initCacheManager(ClientDrivenBeanInfoImpl.java:1018)
	at weblogic.ejb.container.deployer.EntityBeanInfoImpl.initCacheManager(EntityBeanInfoImpl.java:788)
	at weblogic.ejb.container.deployer.ClientDrivenBeanInfoImpl.activate(ClientDrivenBeanInfoImpl.java:961)
	at weblogic.ejb.container.deployer.EntityBeanInfoImpl.activate(EntityBeanInfoImpl.java:223)
	at weblogic.ejb.container.deployer.EJBDeployer.activate(EJBDeployer.java:963)
	at weblogic.ejb.container.deployer.EJBModule.activate(EJBModule.java:470)
	... 32 more

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

374 times, 47 minutes ago
3 times, 6 hours ago
2 times, 4 days ago
209 times, 5 days ago
50 times, 1 week ago
1403 more bugmates