java.lang.RuntimeException: Failed to delete C:\Oracle\Middleware\use r_projects\domains\base_domain\deployed-composites\ManagerApproval_rev1.0\sca_Ma nagerApproval_rev1.0\soa_084386ce-bfe8-4628-a0a7-349efb32f14e\SCA-INF\lib\oimcli ent.jar

Oracle Community | 906184 | 4 years ago
  1. 0

    Errors while deploying SOA Composite..

    Oracle Community | 4 years ago | 906184
    java.lang.RuntimeException: Failed to delete C:\Oracle\Middleware\use r_projects\domains\base_domain\deployed-composites\ManagerApproval_rev1.0\sca_Ma nagerApproval_rev1.0\soa_084386ce-bfe8-4628-a0a7-349efb32f14e\SCA-INF\lib\oimcli ent.jar
  2. 0

    Downloaded appserver_v9_agent_3.zip Installed the agent as per instructions on a separate GlassFIsh V3 domain, with amendments as follows: * copy the necessary jar files into glassfish/domains/domain1/lib (agent.jar and openssoclientsdk.jar) * copy the locale/* files and the Agent_001/config/* files into glassfish/domains/domain1/lib/classes folder These amendments are necessary otherwise the above files are not found. Please refer to: https://kir-dev.sch.bme.hu/kategoriak/english/ http://forums.java.net/jive/thread.jspa?messageID=378158 Deployed the sample application When opening in browser, the error is: java.lang.RuntimeException: Failed to load configuration: C:\Program%20Files\sges-v3\glassfish\domains\domain2\lib\classes\OpenSSOAgentBootstrap.properties (The system cannot find the path specified) Please note the %20 in the path. I don't know why systems are installed in directories that include spaces if they cannot read from them. There is not much I can do about it because the NetBeans IDE installs the GlassFish V3 server in this directory. java.lang.ExceptionInInitializerError at com.sun.identity.agents.arch.Manager.<clinit>(Manager.java:643) at com.sun.identity.agents.filter.AmAgentBaseFilter.initializeFilter(AmAgentBaseFilter.java:260) at com.sun.identity.agents.filter.AmAgentBaseFilter.getAmFilterInstance(AmAgentBaseFilter.java:350) at com.sun.identity.agents.filter.AmAgentBaseFilter.doFilter(AmAgentBaseFilter.java:68) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:256) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:277) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:188) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:641) at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:97) at com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:85) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:185) at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:332) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:233) at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:165) at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:791) at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:693) at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:954) at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:170) at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:135) at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:102) at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:88) at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:76) at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:53) at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:57) at com.sun.grizzly.ContextTask.run(ContextTask.java:69) at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:330) at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:309) at java.lang.Thread.run(Thread.java:619) Caused by: java.lang.RuntimeException: Failed to load configuration: C:\Program%20Files\sges-v3\glassfish\domains\domain2\lib\classes\OpenSSOAgentBootstrap.properties (The system cannot find the path specified) at com.sun.identity.agents.arch.AgentConfiguration.bootStrapClientConfiguration(AgentConfiguration.java:714) at com.sun.identity.agents.arch.AgentConfiguration.initializeConfiguration(AgentConfiguration.java:1054) at com.sun.identity.agents.arch.AgentConfiguration.<clinit>(AgentConfiguration.java:1498) ... 29 more

    ForgeRock JIRA | 7 years ago | bht
    java.lang.ExceptionInInitializerError
  3. 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!/
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    [EJB-283] Ejb3Configuration can't read Jar file OC4J - Hibernate JIRA

    atlassian.net | 7 months ago
    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

      Failed to delete C:\Oracle\Middleware\use r_projects\domains\base_domain\deployed-composites\ManagerApproval_rev1.0\sca_Ma nagerApproval_rev1.0\soa_084386ce-bfe8-4628-a0a7-349efb32f14e\SCA-INF\lib\oimcli ent.jar

      at oracle.integration.platform.blocks.deploy.DeploymentConnection.deleteDirectory()
    2. oracle.integration.platform
      CompositeDeploymentConnection.cleanupModelResources
      1. oracle.integration.platform.blocks.deploy.DeploymentConnection.deleteDirectory(DeploymentConnection.java:115)
      2. oracle.integration.platform.blocks.deploy.DeploymentConnection.deleteDirectory(DeploymentConnection.java:112)
      3. oracle.integration.platform.blocks.deploy.DeploymentConnection.deleteDirectory(DeploymentConnection.java:112)
      4. oracle.integration.platform.blocks.deploy.DeploymentConnection.deleteDirectory(DeploymentConnection.java:83)
      5. oracle.integration.platform.blocks.deploy.CompositeDeploymentConnection.cleanupModelResources(CompositeDeploymentConnection.java:570)
      5 frames