Gwyn, The ActionFrameEJB.java file contains the EJBCreate() method and its generated file ActionFrameHome.java contains the create() method, but of all our EJBs these 2 files are the only ones that have the create methods. Can you not have an EJB without a create method if you want another EJB, i.e. our ActionFrame to create any and all EJBs needed?
Thanks for the quick response, Doug Tanner Operations Engineer Benefitfocus.com, Inc. 843-849-7476 ext. 394 843-849-9485 (Fax) -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Gwyn Evans Sent: Monday, April 24, 2006 5:35 PM To: xdoclet-user@lists.sourceforge.net Subject: Re: [Xdoclet-user] WLS 9.1 compliance exception What does the Home interface actually contain, though? Do you have a "public void ejbCreate() throws CreateException {...}" in the main Bean class? /Gwyn On 24/04/06, Doug Tanner <[EMAIL PROTECTED]> wrote: > > > > 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.checkState lessNoArgCreate(SessionHomeInterfaceChecker.java:82) > > [java] at > jrockit.reflect.VirtualNativeMethodInvoker.invoke(Ljava.lang.Object;[Lja va.lang.Object;)Ljava.lang.Object;(Unknown > Source) > > [java] at > java.lang.reflect.Method.invoke(Ljava.lang.Object;[Ljava.lang.Object;I)L java.lang.Object;(Unknown > Source) > > [java] at > weblogic.ejb.container.compliance.EJBComplianceChecker.check(EJBComplian ceChecker.java:261) > > [java] at > weblogic.ejb.container.compliance.EJBComplianceChecker.checkDeploymentIn fo(EJBComplianceChecker.java:215) > > [java] at > weblogic.ejb.container.ejbc.EJBCompiler.complianceCheckJar(EJBCompiler.j ava: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(AppCompi lerFlow.java:113) > > [java] at > weblogic.application.compiler.flow.AppCompilerFlow.compile(AppCompilerFl ow.java:43) > > [java] at > weblogic.application.compiler.FlowDriver$FlowStateChange.next(FlowDriver .java:55) > > [java] at > weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriv er.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.checkState lessNoArgCreate(SessionHomeInterfaceChecker.java:82) > > [java] at > jrockit.reflect.VirtualNativeMethodInvoker.invoke(Ljava.lang.Object;[Lja va.lang.Object;)Ljava.lang.Object;(Unknown > Source) > > [java] at > java.lang.reflect.Method.invoke(Ljava.lang.Object;[Ljava.lang.Object;I)L java.lang.Object;(Unknown > Source) > > [java] at > weblogic.ejb.container.compliance.EJBComplianceChecker.check(EJBComplian ceChecker.java:261) > > [java] at > weblogic.ejb.container.compliance.EJBComplianceChecker.checkDeploymentIn fo(EJBComplianceChecker.java:215) > > [java] at > weblogic.ejb.container.ejbc.EJBCompiler.complianceCheckJar(EJBCompiler.j ava: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(AppCompi lerFlow.java:113) > > [java] at > weblogic.application.compiler.flow.AppCompilerFlow.compile(AppCompilerFl ow.java:43) > > [java] at > weblogic.application.compiler.FlowDriver$FlowStateChange.next(FlowDriver .java:55) > > [java] at > weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriv er.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. ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=k&kid0709&bid&3057&dat1642 _______________________________________________ xdoclet-user mailing list xdoclet-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xdoclet-user **************************************************************************************** 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) *************************************************************************************** ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 _______________________________________________ xdoclet-user mailing list xdoclet-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xdoclet-user