Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

'find methods' for Container Managed Persistence

0 views
Skip to first unread message

pher...@home.com

unread,
Apr 4, 2000, 3:00:00 AM4/4/00
to

Hi,

I am getting the following ejbc error from Visual Cafe 3.1 Enterprise
Suite:

Internal VM (09:39:46): java.lang.reflect.InvocationTargetException
Internal VM (09:39:46): at
weblogic.utils.compiler.CodeGenerator.processAt(CodeGenerator.java:506,
Compiled Code)
Internal VM (09:39:46): at
weblogic.utils.compiler.CodeGenerator.parse(CodeGenerator.java:420,
Compiled Code)
Internal VM (09:39:46): at
weblogic.utils.compiler.CodeGenerator.generateCode
(CodeGenerator.java:232, Compiled Code)
Internal VM (09:39:46): at
weblogic.utils.compiler.CodeGenerator.generate(CodeGenerator.java:187,
Compiled Code)
Internal VM (09:39:46): at
weblogic.ejbc.generateAndCompilePstores(ejbc.java:145, Compiled Code)
Internal VM (09:39:46): at weblogic.ejbc.runBody(ejbc.java:87,
Compiled Code)
Internal VM (09:39:46): at
weblogic.utils.compiler.Tool.run(Tool.java:55)
Internal VM (09:39:46): at weblogic.ejbc.main(ejbc.java:623)
Internal VM (09:39:46): --------------- nested within:
------------------ Internal VM (09:39:46):
weblogic.utils.compiler.CodeGenerationException: Exception:
'weblogic.ejb.ejbc.EJBCException: Couldn't parse method signature
Internal VM (09:39:46): - with nested exception:
Internal VM (09:39:46):
[weblogic.ejb.ejbc.codegen.MalformedMethodSignatureException:
findByAge(int)]' while trying to invoke: finderMethods at line 124
Internal VM (09:39:46): - with nested exception:
Internal VM (09:39:46): [java.lang.reflect.InvocationTargetException
with target exception:
Internal VM (09:39:46): [weblogic.ejb.ejbc.EJBCException: Couldn't
parse method signature
Internal VM (09:39:46): - with nested exception:
Internal VM (09:39:46):
[weblogic.ejb.ejbc.codegen.MalformedMethodSignatureException:
findByAge(int)]]]
Internal VM (09:39:46): at
weblogic.utils.compiler.CodeGenerator.processAt(CodeGenerator.java:513,
Compiled Code)
Internal VM (09:39:46): at
weblogic.utils.compiler.CodeGenerator.parse(CodeGenerator.java:420,
Compiled Code)
Internal VM (09:39:46): at
weblogic.utils.compiler.CodeGenerator.generateCode
(CodeGenerator.java:232, Compiled Code)
Internal VM (09:39:46): at
weblogic.utils.compiler.CodeGenerator.generate(CodeGenerator.java:187,
Compiled Code)
Internal VM (09:39:46): at
weblogic.ejbc.generateAndCompilePstores(ejbc.java:145, Compiled Code)
Internal VM (09:39:46): at weblogic.ejbc.runBody(ejbc.java:87,
Compiled Code)


My interface which extends EJBHome has the following method: public
Enumeration findByAge(int a) throws FinderException, RemoteException;

In the 'Configure Bean Descriptor' GUI, the findByAge(int) expression
is "(= age $a)". There is a field named 'age' and 'a' is the only
argument to the findByAge(int) method.

Does anybody have any idea what is wrong?

Thanks

Sent via Deja.com http://www.deja.com/
Before you buy.

0 new messages