Ernst de Haan wrote: > > Hi Arved, > > > You don't actually have the create method implemented in HelloBean. This is > > causing this particular error. > > Should I? I dont need a create() method in my session bean, AFAIK. I have > an ejbCreate() method, which should do. I didn't have an ejbCreate() method (shame on me) *** Ernst hides *** :) So the error message is strange, but correct in the sense that I did something wrong :) > > Also, you evidently want your session bean to be in package hello.ejb. But > > your deployment descriptor specifies hello.Hello, for example. > > The deployment descriptor has already been changed. You are looking at an > old version :) > > > Arved Sandstrom > > > > -----Original Message----- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED]]On Behalf Of Ernst de Haan > > Sent: Thursday, May 18, 2000 7:49 AM > > To: Orion-Interest > > Subject: Error deploying simple bean > > > > Hi, > > > > When I try to deploy a simple stateless session bean, I get the following > > error: > > > > bash-2.03$ java -jar orion.jar > > Auto-unpacking > > /usr/home/ernst/projects/orion-primer/orion-primer/rel/orion-primer.ear... > > done. > > Auto-unpacking > > /usr/home/ernst/projects/orion-primer/orion-primer/rel/orion-primer/orion-pr > > imer-web.war... > > done. > > Auto-deploying orion-primer... > > Auto-deploying orion-primer-ejb.jar... Error compiling > > file:/usr/home/ernst/projects/orion-primer/orion-primer/rel/orion-primer/ori > > on-primer-ejb.jar: > > Method public abstract hello.ejb.Hello hello.ejb.HelloHome.create() throws > > javax.ejb.CreateException,java.rmi.RemoteException not found in > > hello.ejb.HelloBean > > Orion/1.0rc2 initialized > > > > This looks weird to me, considering hello.ejb.HelloHome.create() is not a > > valid method name. Is this a bug or merely a strange error message? > > > > See http://www.znerd.demon.nl/orion-primer/ for a complete description of > > what I am trying to do, and what files I use. I can upload the ear if > > some1 is interested, but you can build it yourself too (using the > > build.xml file). > > > > Ernst > > > > -- > > Ernst de Haan > > Freelance Java Architect > > > > "Come to me all who are weary and burdened, > > and I will give you rest" -- Jesus Christ > > -- > Ernst de Haan > Freelance Java Architect > > "Come to me all who are weary and burdened, > and I will give you rest" -- Jesus Christ -- Ernst de Haan Freelance Java Architect "Come to me all who are weary and burdened, and I will give you rest" -- Jesus Christ
begin:vcard n:de Haan;Ernst tel;fax:+31 (0)26 3645634 tel;work:+31 (0)26 3623895 x-mozilla-html:FALSE url:http://www.znerd.demon.nl/ org:Jollem adr:;;Rozendaalselaan 35;Velp;GLD;6881 KZ;Netherlands version:2.1 email;internet:[EMAIL PROTECTED] title:Java Architect fn:Ernst de Haan end:vcard
