net.sf.hibernate.MappingException: Resource: com/a/b/c.xml not found

Oracle Community | 3004 | 1 decade 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.

Root Cause Analysis

  1. net.sf.hibernate.MappingException

    Resource: com/a/b/c.xml not found

    at net.sf.hibernate.cfg.Configuration.addResource()
  2. net.sf.hibernate
    ManagedConnectionFactoryImpl.createConnectionFactory
    1. net.sf.hibernate.cfg.Configuration.addResource(Configuration.java:327)
    2. net.sf.hibernate.jca.ManagedConnectionFactoryImpl.initialize(ManagedConnectionFactoryImpl.java:145)
    3. net.sf.hibernate.jca.ManagedConnectionFactoryImpl.createConnectionFactory(ManagedConnectionFactoryImpl.java:85)
    3 frames
  3. weblogic.connector.common
    ConnectionFactory.createResource
    1. weblogic.connector.common.internal.ConnectionPool.getConnectionFactory(ConnectionPool.java:1695)
    2. weblogic.connector.common.internal.ConnectionFactory.testConnectionProxyViability(ConnectionFactory.java:466)
    3. weblogic.connector.common.internal.ConnectionFactory.createResource(ConnectionFactory.java:207)
    3 frames
  4. weblogic.common.resourcepool
    ResourcePoolImpl.setInitialCapacity
    1. weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1103)
    2. weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1040)
    3. weblogic.common.resourcepool.ResourcePoolImpl.setInitialCapacity(ResourcePoolImpl.java:723)
    3 frames
  5. weblogic.connector.common
    ConnectionPoolManager.preparePool
    1. weblogic.connector.common.internal.ConnectionPoolManager.updateInitialCapacity(ConnectionPoolManager.java:495)
    2. weblogic.connector.common.internal.ConnectionPoolManager.preparePool(ConnectionPoolManager.java:140)
    2 frames
  6. weblogic.connector.deploy
    ConnectorModule.prepare
    1. weblogic.connector.deploy.Deployer.preparePool(Deployer.java:618)
    2. weblogic.connector.deploy.Deployer.prepare(Deployer.java:230)
    3. weblogic.connector.deploy.ConnectorModule.prepare(ConnectorModule.java:248)
    3 frames
  7. weblogic.j2ee
    J2EEApplicationContainer.prepare
    1. weblogic.j2ee.J2EEApplicationContainer.prepareModule(J2EEApplicationContainer.java:2962)
    2. weblogic.j2ee.J2EEApplicationContainer.prepareModules(J2EEApplicationContainer.java:1534)
    3. weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1188)
    4. weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1031)
    4 frames
  8. weblogic.management.deploy
    SlaveDeployer.prepareUpdate
    1. weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.prepareContainer(SlaveDeployer.java:2602)
    2. weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.createContainer(SlaveDeployer.java:2552)
    3. weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2474)
    4. weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:798)
    5. weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:507)
    6. weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:465)
    6 frames
  9. weblogic.drs.internal
    SlaveCallbackHandler$1.execute
    1. weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:25)
    1 frame
  10. weblogic.kernel
    ExecuteThread.run
    1. weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
    2. weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
    2 frames