"Shared library "adf.oracle.domain" could not be found" When Deploying From JDev (Doc ID 357986.1)

Last updated on AUGUST 04, 2016

Applies to:

Oracle JDeveloper - Version 10.1.3.0.4 to 10.1.3.5.0 [Release Oracle10g]
Information in this document applies to any platform.
***Checked for relevance on 18-FEB-2013***

Symptoms

You are deploying an application from JDeveloper 10.1.3.0.4 to Standalone OC4J 10.1.3.0.0.
The deployment fails with the following errors in the JDeveloper Message window:

---- Deployment started. ---- 14-Feb-2006 19:48:08
Target platform is Standalone OC4J 10g 10.1.3 (OC4J).
Wrote WAR file to C:\Oracle\JDeveloper\JDev1013_3673\jdev\mywork\Test\ViewController\deploy\TestDeployment.war
Wrote EAR file to C:\Oracle\JDeveloper\JDev1013_3673\jdev\mywork\Test\ViewController\deploy\TestDeployment.ear
Uploading file TestDeployment.ear ...
Uploading file TestDeployment.ear ...
Uploading file TestDeployment.ear ...
Application Deployer for TestDeployment STARTS.
Copy the archive to C:\Oracle\Oc4j\oc4j_10.1.3.0.0\j2ee\home\applications\TestDeployment.ear
Initialize C:\Oracle\Oc4j\oc4j_10.1.3.0.0\j2ee\home\applications\TestDeployment.ear begins...
Unpacking TestDeployment.ear
Done unpacking TestDeployment.ear
Unpacking TestDeployment.war
Done unpacking TestDeployment.war
Initialize C:\Oracle\Oc4j\oc4j_10.1.3.0.0\j2ee\home\applications\TestDeployment.ear ends...
Starting application : TestDeployment
Initializing ClassLoader(s)
application : TestDeployment is in failed state
Operation failed with error:
Shared library "adf.oracle.domain" could not be found.

Deployment failed
Elapsed time for deployment: 21 seconds
#### Deployment incomplete. #### 14-Feb-2006 19:48:29


and the OC4J Console displays the following errors:

(...)
2006-02-14 19:48:28.311 NOTIFICATION Starting application : TestDeployment
2006-02-14 19:48:28.311 NOTIFICATION Initializing ClassLoader(s)
2006-02-14 19:48:28.321 NOTIFICATION application : TestDeployment is in failed state
06/02/14 19:48:28 WARNING: Application.setConfig Application: TestDeployment is in failed state as initialization failedjava.lang.InstantiationException: Shared library "adf.oracle.domain" could not be found.
14-Feb-2006 19:48:28 com.evermind.server.Application setConfig
WARNING: Application: TestDeployment is in failed state as initialization failedjava.lang.InstantiationException: Shared library "adf.oracle.domain" could not be found.
06/02/14 19:48:28 oracle.oc4j.admin.internal.DeployerException: java.lang.InstantiationException: Shared library "adf.oracle.domain" could not be found.
06/02/14 19:48:28 at oracle.oc4j.admin.internal.ApplicationDeployer.addApplication(ApplicationDeployer.java:510)
06/02/14 19:48:28 at oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDeployer.java:191)
06/02/14 19:48:28 at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:93)
06/02/14 19:48:28 at oracle.oc4j.admin.jmx.server.mbeans.deploy.OC4JDeployerRunnable.doRun(OC4JDeployerRunnable.java:52)
06/02/14 19:48:28 at oracle.oc4j.admin.jmx.server.mbeans.deploy.DeployerRunnable.run(DeployerRunnable.java:81)
06/02/14 19:48:28 at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:814)
06/02/14 19:48:28 at java.lang.Thread.run(Thread.java:595)
06/02/14 19:48:28 Caused by: java.lang.InstantiationException: Shared library "adf.oracle.domain" could not be found.
06/02/14 19:48:28 at com.evermind.server.ApplicationStateRunning.initClassLoaders(ApplicationStateRunning.java:1183)
06/02/14 19:48:28 at com.evermind.server.ApplicationStateRunning.initializeApplication(ApplicationStateRunning.java:113)
06/02/14 19:48:28 at com.evermind.server.Application.setConfig(Application.java:391)
06/02/14 19:48:28 at com.evermind.server.Application.setConfig(Application.java:308)
06/02/14 19:48:28 at com.evermind.server.ApplicationServer.addApplication(ApplicationServer.java:1771)
06/02/14 19:48:28 at oracle.oc4j.admin.internal.ApplicationDeployer.addApplication(ApplicationDeployer.java:507)
06/02/14 19:48:28 ... 6 more
06/02/14 19:48:28 Caused by: oracle.oc4j.loader.config.ConfigurationException: Shared library "adf.oracle.domain" could not be found.
06/02/14 19:48:28 at oracle.oc4j.loader.config.ConfigurationException.create(ConfigurationException.java:77)
06/02/14 19:48:28 at oracle.oc4j.loader.config.ConfigurationConsumer.createNotFoundException(ConfigurationConsumer.java:474)
06/02/14 19:48:28 at oracle.oc4j.loader.config.ConfigurationConsumer.getSharedLibraryToImport(ConfigurationConsumer.java:445)
06/02/14 19:48:28 at oracle.oc4j.loader.config.ConfigurationConsumer.getImportedSharedLibraries(ConfigurationConsumer.java:347)
06/02/14 19:48:28 at oracle.oc4j.loader.config.ConfigurationConsumer.addImportedSharedLibraries(ConfigurationConsumer.java:302)
06/02/14 19:48:28 at oracle.oc4j.loader.config.ConfigurationConsumer.createApplicationLoader(ConfigurationConsumer.java:277)
06/02/14 19:48:28 at com.evermind.server.ApplicationStateRunning.createClassLoader(ApplicationStateRunning.java:1161)
06/02/14 19:48:28 at com.evermind.server.ApplicationStateRunning.initClassLoaders(ApplicationStateRunning.java:1173)
06/02/14 19:48:28 ... 11 more
2006-02-14 19:48:28.481 NOTIFICATION Application Deployer for TestDeployment FAILED.
2006-02-14 19:48:28.491 NOTIFICATION Application UnDeployer for TestDeployment STARTS.
2006-02-14 19:48:28.511 NOTIFICATION Removing all web binding(s) for application TestDeployment from all web site(s)
2006-02-14 19:48:29.312 NOTIFICATION Application UnDeployer for TestDeployment COMPLETES.
06/02/14 19:48:29 WARNING: DeployerRunnable.run java.lang.InstantiationException: Shared library "adf.oracle.domain" could not be found.oracle.oc4j.admin.internal.DeployerException: java.lang.InstantiationException: Shared library "adf.oracle.domain" could not be found.
at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:126)
at oracle.oc4j.admin.jmx.server.mbeans.deploy.OC4JDeployerRunnable.doRun(OC4JDeployerRunnable.java:52)
at oracle.oc4j.admin.jmx.server.mbeans.deploy.DeployerRunnable.run(DeployerRunnable.java:81)
at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:814)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.InstantiationException: Shared library "adf.oracle.domain" could not be found.
at com.evermind.server.ApplicationStateRunning.initClassLoaders(ApplicationStateRunning.java:1183)
at com.evermind.server.ApplicationStateRunning.initializeApplication(ApplicationStateRunning.java:113)
at com.evermind.server.Application.setConfig(Application.java:391)
at com.evermind.server.Application.setConfig(Application.java:308)
at com.evermind.server.ApplicationServer.addApplication(ApplicationServer.java:1771)
at oracle.oc4j.admin.internal.ApplicationDeployer.addApplication(ApplicationDeployer.java:507)
at oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDeployer.java:191)
at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:93)
... 4 more
Caused by: oracle.oc4j.loader.config.ConfigurationException: Shared library "adf.oracle.domain" could not be found.
at oracle.oc4j.loader.config.ConfigurationException.create(ConfigurationException.java:77)
at oracle.oc4j.loader.config.ConfigurationConsumer.createNotFoundException(ConfigurationConsumer.java:474)
at oracle.oc4j.loader.config.ConfigurationConsumer.getSharedLibraryToImport(ConfigurationConsumer.java:445)
at oracle.oc4j.loader.config.ConfigurationConsumer.getImportedSharedLibraries(ConfigurationConsumer.java:347)
at oracle.oc4j.loader.config.ConfigurationConsumer.addImportedSharedLibraries(ConfigurationConsumer.java:302)
at oracle.oc4j.loader.config.ConfigurationConsumer.createApplicationLoader(ConfigurationConsumer.java:277)
at com.evermind.server.ApplicationStateRunning.createClassLoader(ApplicationStateRunning.java:1161)
at com.evermind.server.ApplicationStateRunning.initClassLoaders(ApplicationStateRunning.java:1173)
... 11 more

2006-02-14 19:48:29.312 WARNING java.lang.InstantiationException: Shared library "adf.oracle.domain" could not be found.



Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms