You
can use findBy- and create-Methods but not additional ejbHome-Methods which are
new in EJB2.0 spec.
Dieter
Thanks for the reply. Does this mean that you
cant use findBy-methods on the localhome inteface?
/David
public interface ProductLocalHome extends
EJBLocalHome { public static final String PRODUCT =
"ejb/ProductLocal"; public static final String JNDI_PRODUCT =
"java:comp/env/ejb/ProductLocal";
/** * *
@param name * @return */ public
ProductLocal findByPrimaryKey(Integer id) throws
FinderException; }
----- Original Message -----
Sent: Monday, February 18, 2002 4:05
PM
Subject: RE: Orion 1.5.4
Local/LocalHome with BMP -> deployment problem
... are you using ejbHome-methods? I think there is a bug in
orion 1.5.4 . It it not possible to use ejbHome-methods in local
home-interfaces. When you remove the declaration of this methods everythink
should work.
I
hope the bug is fixes rapidly!
Dieter
EntityBean with BMP and Local/LocalHome etc.
Doesnt compile, some internal error...
Does anyone have an idea of what could
be the cause of the error?
/David
Auto-unpacking
E:\cygwin\usr\local\java\orion\applications\app.ear...
done. Auto-unpacking
E:\cygwin\usr\local\java\orion\applications\app\webApp.war...
done. Auto-deploying app (Assembly had been
updated)... Auto-deploying product.jar (No previous deployment
found)... Found 1 semantic error compiling
"E:/cygwin/usr/local/java/orion/ProductLocalHome_EntityHomeWrapper31.java":
156. EvermindEntityContext
finderContext =
this.getContextInstance(thread);
<-----------------------------> *** Error: The method
"com.evermind.server.ejb.EvermindEntityContext
getContextInstance(com.evermind.server.ThreadState $1);" can throw
the checked exception "java/rmi/RemoteException", but its invocation is
neither enclosed in a try statement that can catch that exception nor
i the body of a method or constructor that "throws" that
exception. Error compiling
E:\cygwin\usr\local\java\orion\applications\app/product.jar: Error in
source
|