Expanded Directory Deployment not Working in 10.1.3 - Error EJB-03001 (Doc ID 457664.1)

Last updated on NOVEMBER 05, 2016

Applies to:

Oracle Containers for J2EE - Version: 10.1.3.0.0 to 10.1.3.3.0 - Release: AS10gR3 to AS10gR3
Information in this document applies to any platform.
*** Checked for currency 27-Jan-2012 ***

Symptoms

-- Problem Statement:

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.968 WARNING J2EE OJR-00219 Unable to register security provider MBean for portinfolink:
2007-03-28 16:34:31.984 WARNING J2EE OJR-00221 User Manager not of required type for this application
2007-03-28 16:34:32.078 WARNING J2EE EJB-03001*[portinfolink:helloworld] EJB module contains no beans.*
2007-03-28 16:34:34.609 WARNING J2EE JNDI-00009 EJB Reference "HelloWorld" could not be resolved.
Allowing J2EEContext creation to continue anyway

2007-03-28 16:34:34.609 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:
  1. Unzip portinfo.zip file to j2ee/home/applications directory

  2. Modify server.xml and add the following entries
    -------------
    <application name="portinfolink" path="../applications/portinfolink" parent="default" start="true" />

  3. 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" />

  4. Start the instance

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