You don't actually have the create method implemented in HelloBean. This is
causing this particular error.
Also, you evidently want your session bean to be in package hello.ejb. But
your deployment descriptor specifies hello.Hello, for example.
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