Hi All,
Thanx for giving the tips in deploying EJB onWL6.0
Currently i'm facing problem. i have one Custom java
class which i instantiate in EjbCreate();
public void ejbCreate() throws CreateException {
System.err.println("Inside ejbCreate()");
usercontext=new UserContext();
}
//set this as instance variable.
private UserContext usercontext;
whenever i deploy this in WL5.1 it works fine but in
WL6.0 it throws exception as follows. Any help will be
appreciated.
the Exception says
Lcom/webmortar/imode/context/UserContext;
while package hierarchy is
com/webmortar/imode/context/UserContext;
I don't have any idea from where it is Taking the
Capital L before com pacakge. :(
<Apr 16, 2001 1:08:08 PM GMT+05:30> <Error> <J2EE>
<Error deploying EJB Component : Converter
weblogic.ejb20.EJBDeploymentException: EJB Deployment
errors:; nested exception is:
Lcom/webmortar/imode/context/UserContext;
Lcom/webmortar/imode/context/UserContext;
at
weblogic.ejb20.compliance.EJBComplianceChecker.check(EJBComplianceChecker.java:220)
at
weblogic.ejb20.compliance.EJBComplianceChecker.checkDeploymentInfo(EJBComplianceChecker.j
ava:185)
at
weblogic.ejb20.ejbc.EJBCompiler.complianceCheckJar(EJBCompiler.java:295)
at
weblogic.ejb20.ejbc.EJBCompiler.checkCompliance(EJBCompiler.java:252)
at
weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:135)
at
weblogic.ejb20.deployer.Deployer.runEJBC(Deployer.java:228)
at
weblogic.ejb20.deployer.Deployer.deploy(Deployer.java:799)
at
weblogic.j2ee.EJBComponent.deploy(EJBComponent.java:31)
at weblogic.j2ee.Application.deploy(Application.java:167)