It appears that the local home methods must catch/throw an java.rmi.RemoteException - obviously going against the concept of local. While this will allow deployment to the server, I have yet to test the functionality. I have reported the bug as #731 in bugzilla.
--- "Kutzera, Dieter-Norbert" <[EMAIL PROTECTED]> wrote: > ... 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 > > -----Original Message----- > From: David Tunkrans [mailto:[EMAIL PROTECTED]] > Sent: Sonntag, 17. Februar 2002 14:17 > To: Orion-Interest > Subject: Orion 1.5.4 Local/LocalHome with BMP -> deployment problem > > > 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 > > > __________________________________________________ Do You Yahoo!? Yahoo! Sports - Coverage of the 2002 Olympic Games http://sports.yahoo.com