Expanded Directory Deployment not Working in 10.1.3 - Error EJB-03001
(Doc ID 457664.1)
Last updated on FEBRUARY 13, 2024
Applies to:
Oracle Containers for J2EE - Version 10.1.3.0.0 to 10.1.3.3.0 [Release AS10gR3]Information in this document applies to any platform.
Symptoms
Expanded directory deployment is not working in 10.1.3.
Trying to deploy a sample app EAR file containing a simple WAR and a EJB JAR, deployments fails with the following error
2007-03-28 16:34:31 WARNING J2EE OJR-00219 Unable to register security provider MBean for portinfolink:
2007-03-28 16:34:31 WARNING J2EE OJR-00221 User Manager not of required type for this application
2007-03-28 16:34:32 WARNING J2EE EJB-03001*[portinfolink:helloworld] EJB module contains no beans.*
2007-03-28 16:34:34 WARNING J2EE JNDI-00009 EJB Reference "HelloWorld" could not be resolved.
Allowing J2EEContext creation to continue anyway
2007-03-28 16:34:34 ERROR J2EE HTTP-00004 Internal error raised tyring to instantiate web-application: helloworldweb defined in web site
OC4J 10g (10.1.3) Default Web Site. javax.naming.NameNotFoundException: platform/helloworld/HelloWorld not found
2007-03-28 16:34:31 WARNING J2EE OJR-00221 User Manager not of required type for this application
2007-03-28 16:34:32 WARNING J2EE EJB-03001*[portinfolink:helloworld] EJB module contains no beans.*
2007-03-28 16:34:34 WARNING J2EE JNDI-00009 EJB Reference "HelloWorld" could not be resolved.
Allowing J2EEContext creation to continue anyway
2007-03-28 16:34:34 ERROR J2EE HTTP-00004 Internal error raised tyring to instantiate web-application: helloworldweb defined in web site
OC4J 10g (10.1.3) Default Web Site. javax.naming.NameNotFoundException: platform/helloworld/HelloWorld not found
-- Steps To Reproduce:
- Unzip portinfo.zip file to j2ee/home/applications directory
- Modify server.xml and add the following entries
-------------
<application name="portinfolink" path="../applications/portinfolink" parent="default" start="true" /> - Modify default-web-site.xml and add the following entries
------------------------
<web-app application="portinfolink" name="helloworldweb" root="/helloworldweb" load-on-startup="true" ohs-routing="true" /> - Start the instance
Changes
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Changes |
Cause |
Solution |
References |