javax.naming.NamingException: oracle/oc4j/sql/CommonDataSource [Root exception is java.lang.NoClassDefFoundError: oracle/oc4j/sql/CommonDataSource] [Root exception is javax.naming.NamingException: oracle/oc4j/sql/CommonDataSource [Root exception is java.lang.NoClassDefFoundError: oracle/oc4j/sql/CommonDataSource]]

Oracle Community | 513155 | 9 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    db:: 3.48::Exception throws on lookup() m1

    hivmr.com | 1 year ago
    javax.naming.NamingException: oracle/oc4j/sql/CommonDataSource [Root exception is java.lang.NoClassDefFoundError: oracle/oc4j/sql/CommonDataSource] [Root exception is javax.naming.NamingException: oracle/oc4j/sql/CommonDataSource [Root exception is java.lang.NoClassDefFoundError: oracle/oc4j/sql/CommonDataSource]]
  2. 0

    JDBC connection lookup on OC4J

    Oracle Community | 9 years ago | 513155
    javax.naming.NamingException: oracle/oc4j/sql/CommonDataSource [Root exception is java.lang.NoClassDefFoundError: oracle/oc4j/sql/CommonDataSource] [Root exception is javax.naming.NamingException: oracle/oc4j/sql/CommonDataSource [Root exception is java.lang.NoClassDefFoundError: oracle/oc4j/sql/CommonDataSource]]
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    'Claim' a Human Task through Workflow API

    Oracle Community | 9 years ago | 645712
    java.lang.NoClassDefFoundError: com/collaxa/common/util/NonSyncPrintWriter
  5. 0

    OC4J 10.1.3 Preview - AuthenticationException

    Oracle Community | 1 decade ago | 387878
    java.lang.NoClassDefFoundError: javax/resource/Referenceable
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.NoClassDefFoundError

    oracle/oc4j/sql/CommonDataSource

    at java.lang.ClassLoader.defineClass1()
  2. Java RT
    Class.forName
    1. java.lang.ClassLoader.defineClass1(Native Method)
    2. java.lang.ClassLoader.defineClass(ClassLoader.java:620)
    3. java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
    4. java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
    5. java.net.URLClassLoader.access$100(URLClassLoader.java:56)
    6. java.net.URLClassLoader$1.run(URLClassLoader.java:195)
    7. java.security.AccessController.doPrivileged(Native Method)
    8. java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    9. java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    10. sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
    11. java.lang.ClassLoader.loadClass(ClassLoader.java:299)
    12. java.lang.ClassLoader.loadClass(ClassLoader.java:251)
    13. java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
    14. java.lang.Class.forName0(Native Method)
    15. java.lang.Class.forName(Class.java:242)
    15 frames
  3. com.evermind.io
    ClassLoaderObjectInputStream.resolveClass
    1. com.evermind.io.ClassLoaderObjectInputStream.resolveClass(ClassLoaderObjectInputStream.java:40)
    1 frame
  4. Java RT
    ObjectInputStream.readObject
    1. java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1538)
    2. java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1460)
    3. java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1693)
    4. java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299)
    5. java.io.ObjectInputStream.readObject(ObjectInputStream.java:339)
    5 frames
  5. com.evermind.server
    RMIConnection.run
    1. com.evermind.server.rmi.RMIClientConnection.handleLookupResponse(RMIClientConnection.java:901)
    2. com.evermind.server.rmi.RMIClientConnection.handleOrmiCommandResponse(RMIClientConnection.java:345)
    3. com.evermind.server.rmi.RMIClientConnection.dispatchResponse(RMIClientConnection.java:304)
    4. com.evermind.server.rmi.RMIClientConnection.processReceivedCommand(RMIClientConnection.java:286)
    5. com.evermind.server.rmi.RMIConnection.handleCommand(RMIConnection.java:150)
    6. com.evermind.server.rmi.RMIConnection.listenForOrmiCommands(RMIConnection.java:126)
    7. com.evermind.server.rmi.RMIConnection.run(RMIConnection.java:105)
    7 frames
  6. Java RT
    Thread.run
    1. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
    2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
    3. java.lang.Thread.run(Thread.java:595)
    3 frames
  7. com.evermind.server
    RMIClientContext.lookup
    1. com.evermind.server.rmi.RMICall.warningExceptionOriginatesFromTheRemoteServer(RMICall.java:112)
    2. com.evermind.server.rmi.RMICall.throwRecordedException(RMICall.java:94)
    3. com.evermind.server.rmi.RMIClientConnection.waitForJndiResponse(RMIClientConnection.java:437)
    4. com.evermind.server.rmi.RMIClientConnection.lookup(RMIClientConnection.java:240)
    5. com.evermind.server.rmi.RMIClient.lookup(RMIClient.java:302)
    6. com.evermind.server.rmi.RMIClientContext.lookup(RMIClientContext.java:64)
    6 frames
  8. Java RT
    InitialContext.lookup
    1. javax.naming.InitialContext.lookup(InitialContext.java:351)
    1 frame
  9. com.antegra.base
    FactoryBean.main
    1. com.antegra.base.core.logic.bean.FactoryBean.main(FactoryBean.java:75)
    1 frame