WLS 9.1 compliance exception

"Doug Tanner" <[email protected]>
Newsgroups gmane.comp.java.xdoclet.user
Message-ID <3E475912BEFC1C47B9C2304DB682CC6F01F7293E@BFEXCH1.benefitfocus.com>
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.



****************************************************************************************
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)
***************************************************************************************
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.