Hi All,
This is the error I am getting when I try to build my application in weblogic 8.1. I am certain that my
EJB Facade meets all the requirements that were complained in the error message, but still no clue what is going wrong. Any one have any idea?
ERROR: ERROR: Error from ejbc: null
java.lang.NullPointerException
ERROR: at weblogic.ejb20.compliance.SessionBeanClassChecker.checkEJBContextIsNotTransient(SessionBeanClassChecker.java:60)
ERROR: at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
ERROR: at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
ERROR: at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
ERROR: at java.lang.reflect.Method.invoke(Method.java:324)
ERROR: at weblogic.ejb20.compliance.EJBComplianceChecker.check(EJBComplianceChecker.java:278)
ERROR: at weblogic.ejb20.compliance.EJBComplianceChecker.checkDeploymentInfo(EJBComplianceChecker.java:232)
ERROR: at weblogic.ejb20.ejbc.EJBCompiler.complianceCheckJar(EJBCompiler.java:810)
ERROR: at weblogic.ejb20.ejbc.EJBCompiler.checkCompliance(EJBCompiler.java:766)
ERROR: at weblogic.ejb20.ejbc.EJBCompiler.doCompile(EJBCompiler.java:200)
ERROR: at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:476)
ERROR: at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:397)
ERROR: at weblogic.ejbc20.runBody(ejbc20.java:519)
ERROR: at weblogic.utils.compiler.Tool.run(Tool.java:146)
ERROR: at weblogic.utils.compiler.Tool.run(Tool.java:103)
ERROR: at weblogic.ejbc.main(ejbc.java:29)
ERROR: at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
ERROR: at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
ERROR: at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
ERROR: at java.lang.reflect.Method.invoke(Method.java:324)
ERROR: at weblogic.ant.taskdefs.j2ee.CompilerTask.invokeMain(CompilerTask.java:278)
ERROR: at weblogic.ant.taskdefs.j2ee.Ejbc.execute(Ejbc.java:144)
ERROR: at org.apache.tools.ant.Task.perform(Task.java:341)
ERROR: at org.apache.tools.ant.Target.execute(Target.java:309)
ERROR: at org.apache.tools.ant.Target.performTasks(Target.java:336)
ERROR: at org.apache.tools.ant.Project.executeTarget(Project.java:1339)
ERROR: at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:397)
ERROR: at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:143)
ERROR: at org.apache.tools.ant.Task.perform(Task.java:341)
ERROR: at org.apache.tools.ant.Target.execute(Target.java:309)
ERROR: at org.apache.tools.ant.Target.performTasks(Target.java:336)
ERROR: at workshop.workspace.ant.AntSvcImpl$AntThread.executeTarget(AntSvcImpl.java:436)
ERROR: at workshop.workspace.ant.AntSvcImpl$AntThread.run(AntSvcImpl.java:382)
ERROR:
ERROR: ERROR: Error from ejbc: In EJB Facade, the bean class must implement directly or indirectly the javax.ejb.SessionBean interface.
ERROR: ERROR: Error from ejbc: In EJB Facade, the stateless session bean class must define a single ejbCreate method that takes no parameters.
ERROR: ERROR: Error from ejbc: In EJB Facade, the bean class must NOT be abstract.
ERROR: ERROR: Error from ejbc: In EJB Facade, the bean class must have a public constructor that takes no parameters.
ERROR: ERROR: ejbc couldn't invoke compiler
thanks,
Srinivas.