Deploying a Business Components Application as an EJB Session Bean Fails With NoClassDefFoundError for StatefulSessionBeanImpl (Doc ID 343459.1)

Last updated on AUGUST 04, 2016

Applies to:

Oracle JDeveloper - Version: 10.1.2.1.0 and later   [Release: and later ]
Information in this document applies to any platform.
OC4J 10.1.2.0.2

Symptoms

Deploying a Business Components application as an EJB session bean fails with a DeployerException and NoClassDefFoundError (StatefulSessionBeanImpl):
----  Deployment started.  ----    06-Dec-2005 12:42:34
Target platform is Standalone OC4J (StandaloneOC4J).
Running dependency analysis...
Wrote JAR file to <path>\Model\deploy\ModelEjbMT.jar
Running dependency analysis...
Wrote JAR file to <path>\Model\deploy\ModelEjbCommon.jar
The EJB JAR file is already up to date:
<path> \Model\deploy\ModelEJB.jar
Wrote EAR file to
<path> \Model\deploy\ModelEJB.ear
Invoking OC4J admin tool...
<JDeveloper_Home>\jdk\jre\bin\javaw.exe -jar <OC4J_Home>\j2ee\home\admin.jar ormi://dlaurent-pc/ admin **** -deploy -file
<path> \Model\deploy\ModelEJB.ear -deploymentName ModelEJB
checkIsLocalHost() error: dlaurent-pc/: dlaurent-pc/
Uploading file
<path> \Model\deploy\ModelEJB.ear to oc4j server side
Error: Deploy error: deploy failed!: ; nested exception is:
    oracle.oc4j.admin.internal.DeployerException: Error initializing ejb-module; Exception Error loading class 'model.server.ejb.beanmanaged.AppModuleServer': java.lang.NoClassDefFoundError: oracle/jbo/server/ejb/StatefulSessionBeanImpl
Exit status of OC4J admin tool (-deploy): 1
Elapsed time for deployment:  6 seconds
####  Deployment incomplete.  ####    06-Dec-2005 12:42:40



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