Home » Fusion Middleware & Colab Suite » Weblogic & Application Server » oc4j 10.1.3.5 deployment - Unable to resolve datasource: jdbc/OracleDS (OC4j/Oracle Application Server)
oc4j 10.1.3.5 deployment - Unable to resolve datasource: jdbc/OracleDS [message #430686] Wed, 11 November 2009 14:11
mgsg
Messages: 1
Registered: November 2009
Junior Member
Hi,

I am trying to deploy an ear file into a standalone oc4j 10.1.3.5 and it fails with the following error. The same ear deploys fine in 10.1.3.1, 10.1.3.3 and 10.1.3.4.


Nov 10, 2009 4:01:45 PM Application Deployer for efc STARTS.
Nov 10, 2009 4:01:45 PM Copy the archive to E:\ORACLE\OAS_10_1_3\j2ee\efc_test\applications\efc.ear
Nov 10, 2009 4:01:46 PM Initialize E:\ORACLE\OAS_10_1_3\j2ee\efc_test\applications\efc.ear begins...
Nov 10, 2009 4:01:46 PM Unpacking efc.ear
Nov 10, 2009 4:01:48 PM Done unpacking efc.ear
Nov 10, 2009 4:01:49 PM Unpacking efc.war
Nov 10, 2009 4:01:55 PM Done unpacking efc.war
Nov 10, 2009 4:01:55 PM Initialize E:\ORACLE\OAS_10_1_3\j2ee\efc_test\applications\efc.ear ends...
Nov 10, 2009 4:01:55 PM Starting application : efc
Nov 10, 2009 4:01:55 PM Initializing ClassLoader(s)
Nov 10, 2009 4:01:55 PM Initializing EJB container
Nov 10, 2009 4:01:55 PM Loading connector(s)
Nov 10, 2009 4:01:55 PM Starting up resource adapters
Nov 10, 2009 4:01:55 PM Initializing EJB sessions
Nov 10, 2009 4:01:55 PM Committing ClassLoader(s)
Nov 10, 2009 4:01:55 PM Initialize efc begins...
Nov 10, 2009 4:01:55 PM Initialize efc ends...
Nov 10, 2009 4:01:55 PM Started application : efc
Nov 10, 2009 4:01:55 PM Binding web application(s) to site default-web-site begins...
Nov 10, 2009 4:01:55 PM Binding efc web-module for application efc to site default-web-site under context root efc
Nov 10, 2009 4:01:55 PM Operation failed with error: efc:efc - Unable to resolve datasource: jdbc/OracleDS

Also on the console, I see the messages below..

2009-11-10 17:47:13.373 NOTIFICATION Started application : efc
2009-11-10 17:47:13.389 NOTIFICATION Binding web application(s) to site default-
web-site begins...
2009-11-10 17:47:13.389 NOTIFICATION Binding efc web-module for application efc
to site default-web-site under context root efc
09/11/10 17:47:13 WARNING: Code-source C:\oc4j10135\j2ee\home\applications\efc\e
fc\WEB-INF\lib\mail.jar (from WEB-INF/lib/ directory in C:\oc4j10135\j2ee\home\a
pplications\efc\efc\WEB-INF\lib) has the same filename but is not identical to /
C:/oc4j10135/j2ee/home/lib/mail.jar (from <code-source> (ignore manifest Class-P
ath) in META-INF/boot.xml in C:\oc4j10135\j2ee\home\oc4j.jar). If it contains di
fferent versions of the same classes, it will be masked as the latter is already
visible in the search path of loader efc.web.efc:0.0.0.
09/11/10 17:47:13 WARNING: Code-source C:\oc4j10135\j2ee\home\applications\efc\e
fc\WEB-INF\lib\orasaaj.jar (from WEB-INF/lib/ directory in C:\oc4j10135\j2ee\hom
e\applications\efc\efc\WEB-INF\lib) has the same filename but is not identical t
o /C:/oc4j10135/webservices/lib/orasaaj.jar (from <code-source> (ignore manifest
Class-Path) in META-INF/boot.xml in C:\oc4j10135\j2ee\home\oc4j.jar). If it con
tains different versions of the same classes, it will be masked as the latter is
already visible in the search path of loader efc.web.efc:0.0.0.
09/11/10 17:47:14 oracle.oc4j.admin.internal.DeployerException: efc:efc - Unab
le to resolve datasource: jdbc/OracleDS
09/11/10 17:47:14 at com.evermind.server.ejb.exception.DeploymentException
.unableToResolveDataSource(DeploymentException.java:116)
09/11/10 17:47:14 at com.evermind.server.ejb.persistence.PersistenceUnitIn
foImpl.getDataSource(PersistenceUnitInfoImpl.java:122)
09/11/10 17:47:14 at com.evermind.server.ejb.persistence.PersistenceUnitIn
foImpl.initialize(PersistenceUnitInfoImpl.java:87)
09/11/10 17:47:14 at com.evermind.server.ejb.persistence.PersistenceUnitMa
nagerImpl.initializePersistenceUnit(PersistenceUnitManagerImpl.java:158)
09/11/10 17:47:14 at com.evermind.server.ejb.persistence.PersistenceUnitMa
nagerImpl.initialize(PersistenceUnitManagerImpl.java:87)
09/11/10 17:47:14 at com.evermind.server.http.HttpApplication.createDefaul
tPersistenceUnitManager(HttpApplication.java:875)
09/11/10 17:47:14 at com.evermind.server.http.HttpApplication.<init>(HttpA
pplication.java:844)
09/11/10 17:47:14 at com.evermind.server.ApplicationStateRunning.getHttpAp
plication(ApplicationStateRunning.java:435)
09/11/10 17:47:14 at com.evermind.server.Application.getHttpApplication(Ap
plication.java:592)
09/11/10 17:47:14 at com.evermind.server.http.HttpSite$HttpApplicationRunT
imeReference.createHttpApplicationFromReference(HttpSite.java:2280)
09/11/10 17:47:14 at com.evermind.server.http.HttpSite$HttpApplicationRunT
imeReference.<init>(HttpSite.java:2199)
09/11/10 17:47:14 at com.evermind.server.http.HttpSite.addHttpApplication(
HttpSite.java:1833)
09/11/10 17:47:14 at oracle.oc4j.admin.internal.WebApplicationBinder.bindW
ebApp(WebApplicationBinder.java:304)
09/11/10 17:47:14 at oracle.oc4j.admin.internal.WebApplicationBinder.bindW
ebApp(WebApplicationBinder.java:120)
09/11/10 17:47:14 at oracle.oc4j.admin.internal.WebApplicationBinder.bindW
ebApp(WebApplicationBinder.java:92)
09/11/10 17:47:14 at oracle.oc4j.admin.internal.ApplicationDeployer.bindWe
bApp(ApplicationDeployer.java:825)
09/11/10 17:47:14 at oracle.oc4j.admin.internal.ApplicationDeployer.doDepl
oy(ApplicationDeployer.java:276)
09/11/10 17:47:14 at oracle.oc4j.admin.internal.DeployerBase.execute(Deplo
yerBase.java:100)
09/11/10 17:47:14 at oracle.oc4j.admin.jmx.server.mbeans.deploy.OC4JDeploy
erRunnable.doRun(OC4JDeployerRunnable.java:52)
09/11/10 17:47:14 at oracle.oc4j.admin.jmx.server.mbeans.deploy.DeployerRu
nnable.run(DeployerRunnable.java:81)
09/11/10 17:47:14 at com.evermind.util.ReleasableResourcePooledExecutor$My
Worker.run(ReleasableResourcePooledExecutor.java:298)
09/11/10 17:47:14 at java.lang.Thread.run(Thread.java:595)
2009-11-10 17:47:14.483 NOTIFICATION Application Deployer for efc FAILED.
Previous Topic: passing parameter portal.wwctx_api.GET_user
Next Topic: oracle 10g Application Server cloning HELP URGENT
Goto Forum:
  


Current Time: Fri Mar 29 02:31:41 CDT 2024