Were you using a cluster or developer profile?
I was using cluster.
S.D.
> I just tried and an application can't be loaded if it
> has a PU with a non-registered datasource:
>
> com.sun.enterprise.deployment.backend.IASDeploymentExc
> eption: Error while loading application [ex1-ee].
> Please refer to the server log for more details.
>
> and in the log:
>
> [#|2007-10-08T17:46:20.237-0700|WARNING|sun-appserver9
> .1|javax.enterprise.system.core.classloading|_ThreadID
> =14;_ThreadNa
> me=httpWorkerThread-4848-1;_RequestID=a445fefc-26cb-43
> eb-b10c-358edb13a014;|javax.naming.NameNotFoundExcepti
> on: oracle no
> t found
> java.lang.RuntimeException:
> javax.naming.NameNotFoundException: oracle not found
> at
> com.sun.enterprise.server.PersistenceUnitInfoImpl._get
> JtaDataSource(PersistenceUnitInfoImpl.java:283)
> at
> com.sun.enterprise.server.PersistenceUnitInfoImpl.<ini
> t>(PersistenceUnitInfoImpl.java:116)
> at
> com.sun.enterprise.server.PersistenceUnitLoaderImpl.lo
> ad(PersistenceUnitLoaderImpl.java:121)
> at
> com.sun.enterprise.server.PersistenceUnitLoaderImpl.lo
> ad(PersistenceUnitLoaderImpl.java:84)
> at
> com.sun.enterprise.server.AbstractLoader.loadPersisten
> ceUnits(AbstractLoader.java:898)
> at
> com.sun.enterprise.server.ApplicationLoader.doLoad(App
> licationLoader.java:184)
> at
> com.sun.enterprise.server.TomcatApplicationLoader.doLo
> ad(TomcatApplicationLoader.java:126)
> at
> com.sun.enterprise.server.AbstractLoader.load(Abstract
> Loader.java:244)
[Message sent by forum member 'samdoyle' (samdoyle)]
http://forums.java.net/jive/thread.jspa?messageID=239032