Title: Heading One

I am stumped at the moment.  Our program creates an ActionFrame EJB which handles the creation of all other EJBs.  However, I am seeing the following error during the build process:

 

     [java] There are 1 nested errors:

 

     [java] <Apr 24, 2006 1:41:53 PM EDT> <Error> <J2EE> <BEA-160187> <weblogic.appc failed to compile your application. Recompile with the -verbose option for more details. Please see the error message(s) below.>

     [java] weblogic.ejb.container.compliance.ComplianceException: In EJB cbm.persistence.generic.sponsorCheckListItem.SponsorCheckListItem, the home interface of a stateless session bean must have one create method that takes no arguments.

     [java]            at weblogic.ejb.container.compliance.SessionHomeInterfaceChecker.checkStatelessNoArgCreate(SessionHomeInterfaceChecker.java:82)

     [java]            at jrockit.reflect.VirtualNativeMethodInvoker.invoke(Ljava.lang.Object;[Ljava.lang.Object;)Ljava.lang.Object;(Unknown Source)

     [java]            at java.lang.reflect.Method.invoke(Ljava.lang.Object;[Ljava.lang.Object;I)Ljava.lang.Object;(Unknown Source)

     [java]            at weblogic.ejb.container.compliance.EJBComplianceChecker.check(EJBComplianceChecker.java:261)

     [java]            at weblogic.ejb.container.compliance.EJBComplianceChecker.checkDeploymentInfo(EJBComplianceChecker.java:215)

     [java]            at weblogic.ejb.container.ejbc.EJBCompiler.complianceCheckJar(EJBCompiler.java:868)

     [java]            at weblogic.ejb.container.ejbc.EJBCompiler.checkCompliance(EJBCompiler.java:836)

     [java]            at weblogic.ejb.container.ejbc.EJBCompiler.doCompile(EJBCompiler.java:228)

     [java]            at weblogic.ejb.container.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:494)

     [java]            at weblogic.ejb.container.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:434)

     [java]            at weblogic.application.compiler.AppcUtils.compileEJB(AppcUtils.java:292)

     [java]            at weblogic.application.compiler.EJBCompiler.compile(EJBCompiler.java:95)

     [java]            at weblogic.application.compiler.flow.AppCompilerFlow.compileInput(AppCompilerFlow.java:113)

     [java]            at weblogic.application.compiler.flow.AppCompilerFlow.compile(AppCompilerFlow.java:43)

     [java]            at weblogic.application.compiler.FlowDriver$FlowStateChange.next(FlowDriver.java:55)

     [java]            at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)

     [java]            at weblogic.application.compiler.FlowDriver.run(FlowDriver.java:24)

     [java]            at weblogic.application.compiler.Appc.runBody(Appc.java:151)

     [java]            at weblogic.utils.compiler.Tool.run(Tool.java:158)

     [java]            at weblogic.utils.compiler.Tool.run(Tool.java:115)

     [java]            at weblogic.application.compiler.Appc.main(Appc.java:162)

     [java]            at weblogic.appc.main(appc.java:14)

 

     [java] There are 1 nested errors:

 

     [java] weblogic.ejb.container.compliance.ComplianceException: In EJB cbm.persistence.generic.sponsorCheckListItem.SponsorCheckListItem, the home interface of a stateless session bean must have one create method that takes no arguments.

     [java]            at weblogic.ejb.container.compliance.SessionHomeInterfaceChecker.checkStatelessNoArgCreate(SessionHomeInterfaceChecker.java:82)

     [java]            at jrockit.reflect.VirtualNativeMethodInvoker.invoke(Ljava.lang.Object;[Ljava.lang.Object;)Ljava.lang.Object;(Unknown Source)

     [java]            at java.lang.reflect.Method.invoke(Ljava.lang.Object;[Ljava.lang.Object;I)Ljava.lang.Object;(Unknown Source)

     [java]            at weblogic.ejb.container.compliance.EJBComplianceChecker.check(EJBComplianceChecker.java:261)

     [java]            at weblogic.ejb.container.compliance.EJBComplianceChecker.checkDeploymentInfo(EJBComplianceChecker.java:215)

     [java]            at weblogic.ejb.container.ejbc.EJBCompiler.complianceCheckJar(EJBCompiler.java:868)

     [java]            at weblogic.ejb.container.ejbc.EJBCompiler.checkCompliance(EJBCompiler.java:836)

     [java]            at weblogic.ejb.container.ejbc.EJBCompiler.doCompile(EJBCompiler.java:228)

     [java]            at weblogic.ejb.container.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:494)

     [java]            at weblogic.ejb.container.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:434)

     [java]            at weblogic.application.compiler.AppcUtils.compileEJB(AppcUtils.java:292)

     [java]            at weblogic.application.compiler.EJBCompiler.compile(EJBCompiler.java:95)

     [java]            at weblogic.application.compiler.flow.AppCompilerFlow.compileInput(AppCompilerFlow.java:113)

     [java]            at weblogic.application.compiler.flow.AppCompilerFlow.compile(AppCompilerFlow.java:43)

     [java]            at weblogic.application.compiler.FlowDriver$FlowStateChange.next(FlowDriver.java:55)

     [java]            at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)

     [java]            at weblogic.application.compiler.FlowDriver.run(FlowDriver.java:24)

     [java]            at weblogic.application.compiler.Appc.runBody(Appc.java:151)

     [java]            at weblogic.utils.compiler.Tool.run(Tool.java:158)

     [java]            at weblogic.utils.compiler.Tool.run(Tool.java:115)

     [java]            at weblogic.application.compiler.Appc.main(Appc.java:162)

     [java]            at weblogic.appc.main(appc.java:14)

 

However, the Bean in question is a Stateless EJB and so according to the Xdoclet website:

 

The method is an ejbCreate method and will be included in the home interface. It is applicable to Session and Entity beans. In Stateless Session beans the ejbCreate will be created if it is not in the code.”

 

So why is this error being thrown?  We have over 100 ejbs that this error is not thrown for.

 

Thanks for the help.

 

Doug Tanner

Operations Engineer

Benefitfocus.com, Inc.

***************************************************************************************
BENEFITFOCUS.COM CONFIDENTIALITY NOTICE: This electronic message is intended only for the individual or entity to which it is addressed and may contain information that is confidential and protected by law. Unauthorized review, use, disclosure, or dissemination of this communication or its contents in any way is prohibited and may be unlawful. If you are not the intended recipient or a person responsible for delivering this message to an intended recipient, please notify the original sender immediately by e-mail or telephone, return the original message to the original sender or to [EMAIL PROTECTED], and destroy all copies or derivations of the original message. Thank you. (BFeComNote Rev. 08/01/2005)
***************************************************************************************

Reply via email to