java.lang.RuntimeException: PM generated class Student_ConcreteSubClass1not found: Missing class: Student_ConcreteSubClass1 Dependent class: com.oracle.server.ejb.container.deployment.EntityDescriptorImpl Loader: oc4j:10.1.3 Code-Source: /C:/Program Files/Oracle/JDeveloper/jdevstudio10134/j2ee/home/lib/oc4j-internal.jar Configuration: <code-source> in META-INF/boot.xml in C:\Program Files\Oracle\JDeveloper\jdevstudio10134\j2ee\home\oc4j.jar This load was initiated at current-workspace-app.root:0.0.0 using the Class.forName() method. The missing class is not available from any code-source or loader in the system.

Oracle Community | 711457 | 7 years ago
  1. 0

    Oracle JDeveloper 10.1.3.4.0

    Oracle Community | 7 years ago | 711457
    java.lang.RuntimeException: PM generated class Student_ConcreteSubClass1not found: Missing class: Student_ConcreteSubClass1 Dependent class: com.oracle.server.ejb.container.deployment.EntityDescriptorImpl Loader: oc4j:10.1.3 Code-Source: /C:/Program Files/Oracle/JDeveloper/jdevstudio10134/j2ee/home/lib/oc4j-internal.jar Configuration: <code-source> in META-INF/boot.xml in C:\Program Files\Oracle\JDeveloper\jdevstudio10134\j2ee\home\oc4j.jar This load was initiated at current-workspace-app.root:0.0.0 using the Class.forName() method. The missing class is not available from any code-source or loader in the system.
  2. 0

    Oracle JDeveloper 10.1.3.4.0 | Oracle Community

    oracle.com | 11 months ago
    java.lang.RuntimeException: PM generated class Student_ConcreteSubClass1not found: Missing class: Student_ConcreteSubClass1 Dependent class: com.oracle.server.ejb.container.deployment.EntityDescriptorImpl Loader: oc4j:10.1.3 Code-Source: /C:/Program Files/Oracle/JDeveloper/jdevstudio10134/j2ee/home/lib/oc4j-internal.jar Configuration: <code-source> in META-INF/boot.xml in C:\Program Files\Oracle\JDeveloper\jdevstudio10134\j2ee\home\oc4j.jar This load was initiated at current-workspace-app.root:0.0.0 using the Class.forName() method. The missing class is not available from any code-source or loader in the system.
  3. 0

    Error in deploying EJB to oc4j 10g standalone

    Oracle Community | 1 decade ago | 389562
    java.lang.RuntimeException: PM generated class Dept_ConcreteSubClass0not found: De pt_ConcreteSubClass0 03/10/14 12:28:04
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    The "Find-the-entities-yourself"-Feature doesn't work with OC4J, since walking over the jar fails. This is similar to #174, but the problem is not in JarVisitor, but in org.jboss.util.file.ArchiveBrowser.getBrowser: When deploying to OC4J, the Jar URLs start with "code-source" instead of "file" (See PU root URL below for example). Hence the Archive-Browser throws a RuntimeException. Solution should be similar as in #174. 2007-04-01 22:13:38,390 DEBUG Ejb3Configuration - Processing PersistenceUnitInfo [ name: MyService persistence provider classname: org.hibernate.ejb.HibernatePersistence classloader: mis_client.web.mis_client:0.0.0 Temporary classloader: org.springframework.instrument.classloading.SimpleThrowawayClassLoader@106ef07 excludeUnlistedClasses: false JTA datasource: null Non JTA datasource: org.springframework.jdbc.datasource.DriverManagerDataSource@36eb76 Transaction type: RESOURCE_LOCAL PU root URL: code-source:/C:/Programs/dev/oracle/jdev-10132/j2ee/home/applications/mis_client/mis_client/WEB-INF/lib/mis_model.jar!/ Jar files URLs [] Managed classes names [] Mapping files names [] Properties [] java.lang.RuntimeException: error trying to scan <jar-file>: code-source:/C:/Programs/dev/oracle/jdev-10132/j2ee/home/applications/mis_client/mis_client/WEB-INF/lib/mis_model.jar!/ at org.hibernate.ejb.Ejb3Configuration.scanForClasses(Ejb3Configuration.java:635) at org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configuration.java:350) at org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:126) ... Caused by: java.lang.RuntimeException: Archive browser cannot handle protocol: code-source:/C:/Programs/dev/oracle/jdev-10132/j2ee/home/applications/mis_client/mis_client/WEB-INF/lib/mis_model.jar!/ at org.jboss.util.file.ArchiveBrowser.getBrowser(ArchiveBrowser.java:93) Regards, Roman

    Hibernate JIRA | 10 years ago | Roman Legat
    java.lang.RuntimeException: error trying to scan <jar-file>: code-source:/C:/Programs/dev/oracle/jdev-10132/j2ee/home/applications/mis_client/mis_client/WEB-INF/lib/mis_model.jar!/
  6. 0

    The "Find-the-entities-yourself"-Feature doesn't work with OC4J, since walking over the jar fails. This is similar to #174, but the problem is not in JarVisitor, but in org.jboss.util.file.ArchiveBrowser.getBrowser: When deploying to OC4J, the Jar URLs start with "code-source" instead of "file" (See PU root URL below for example). Hence the Archive-Browser throws a RuntimeException. Solution should be similar as in #174. 2007-04-01 22:13:38,390 DEBUG Ejb3Configuration - Processing PersistenceUnitInfo [ name: MyService persistence provider classname: org.hibernate.ejb.HibernatePersistence classloader: mis_client.web.mis_client:0.0.0 Temporary classloader: org.springframework.instrument.classloading.SimpleThrowawayClassLoader@106ef07 excludeUnlistedClasses: false JTA datasource: null Non JTA datasource: org.springframework.jdbc.datasource.DriverManagerDataSource@36eb76 Transaction type: RESOURCE_LOCAL PU root URL: code-source:/C:/Programs/dev/oracle/jdev-10132/j2ee/home/applications/mis_client/mis_client/WEB-INF/lib/mis_model.jar!/ Jar files URLs [] Managed classes names [] Mapping files names [] Properties [] java.lang.RuntimeException: error trying to scan <jar-file>: code-source:/C:/Programs/dev/oracle/jdev-10132/j2ee/home/applications/mis_client/mis_client/WEB-INF/lib/mis_model.jar!/ at org.hibernate.ejb.Ejb3Configuration.scanForClasses(Ejb3Configuration.java:635) at org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configuration.java:350) at org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:126) ... Caused by: java.lang.RuntimeException: Archive browser cannot handle protocol: code-source:/C:/Programs/dev/oracle/jdev-10132/j2ee/home/applications/mis_client/mis_client/WEB-INF/lib/mis_model.jar!/ at org.jboss.util.file.ArchiveBrowser.getBrowser(ArchiveBrowser.java:93) Regards, Roman

    Hibernate JIRA | 10 years ago | Roman Legat
    java.lang.RuntimeException: error trying to scan <jar-file>: code-source:/C:/Programs/dev/oracle/jdev-10132/j2ee/home/applications/mis_client/mis_client/WEB-INF/lib/mis_model.jar!/

    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.RuntimeException

      PM generated class Student_ConcreteSubClass1not found: Missing class: Student_ConcreteSubClass1 Dependent class: com.oracle.server.ejb.container.deployment.EntityDescriptorImpl Loader: oc4j:10.1.3 Code-Source: /C:/Program Files/Oracle/JDeveloper/jdevstudio10134/j2ee/home/lib/oc4j-internal.jar Configuration: <code-source> in META-INF/boot.xml in C:\Program Files\Oracle\JDeveloper\jdevstudio10134\j2ee\home\oc4j.jar This load was initiated at current-workspace-app.root:0.0.0 using the Class.forName() method. The missing class is not available from any code-source or loader in the system.

      at com.oracle.server.ejb.container.deployment.EntityDescriptorImpl.getConcreteBeanClass()
    2. com.oracle.server
      EntityDescriptorImpl.getConcreteBeanClass
      1. com.oracle.server.ejb.container.deployment.EntityDescriptorImpl.getConcreteBeanClass(EntityDescriptorImpl.java:148)
      1 frame
    3. oracle.toplink.internal
      Oc4jPersistenceManager.postInit
      1. oracle.toplink.internal.ejb.cmp.oc4j.Oc4jDescriptorBuilder.buildDescriptorPostCodeGen(Oc4jDescriptorBuilder.java:68)
      2. oracle.toplink.internal.ejb.cmp.api.impl.DescriptorBuilder.buildEntityDescriptorsPostCodeGen(DescriptorBuilder.java:129)
      3. oracle.toplink.internal.ejb.cmp.api.impl.EntityDescriptorImpl.initPostCodeGen(EntityDescriptorImpl.java:466)
      4. oracle.toplink.internal.ejb.cmp.api.impl.EntityDescriptorImpl.getLocalImplClass(EntityDescriptorImpl.java:202)
      5. oracle.toplink.internal.ejb.cmp.PersistenceManagerBase.initializeWrapperPolicies(PersistenceManagerBase.java:740)
      6. oracle.toplink.internal.ejb.cmp.PersistenceManagerBase.preDeploy(PersistenceManagerBase.java:95)
      7. oracle.toplink.internal.ejb.cmp.oc4j.Oc4jPersistenceManager.postInit(Oc4jPersistenceManager.java:124)
      7 frames
    4. com.evermind.server
      ApplicationServerLauncher.run
      1. com.evermind.server.ejb.deployment.EJBPackage.notifyPMs(EJBPackage.java:2351)
      2. com.evermind.server.ejb.EJBPackageDeployment.notifyPMs(EJBPackageDeployment.java:1333)
      3. com.evermind.server.ejb.EJBContainer.postInit(EJBContainer.java:1033)
      4. com.evermind.server.ApplicationStateRunning.initializeApplication(ApplicationStateRunning.java:231)
      5. com.evermind.server.Application.setConfig(Application.java:454)
      6. com.evermind.server.Application.setConfig(Application.java:355)
      7. com.evermind.server.ApplicationServer.addApplication(ApplicationServer.java:1895)
      8. com.evermind.server.ApplicationServer.initializeDeployedApplications(ApplicationServer.java:1651)
      9. com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:1034)
      10. com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:131)
      10 frames
    5. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:595)
      1 frame