a newbie question: error in deploying a stateless ejb

2002-02-18 Thread daniele rizzi


Hi all,
this Sunday I've got some time to spare so I tried out
the sun ejb tutorial:

in chapter 1 a stateless ejb is deployed on Application SErver,
then a client connects to it: in this step this error is produced:
what have I done to deserve this?

--- the error ---

com.evermind.server.rmi.OrionRemo
teException: admin is not allowed to call this EJB method, check your
security settings (method-permission in ejb-jar.xml and
security-role-mapping in orion-application.xml).

... etc...



thanx for any help
daniele rizzi
([EMAIL PROTECTED])





Re: a newbie question: error in deploying a stateless ejb

2002-02-18 Thread Steven Lamb




Are you using Sun's 1.3 deploytool. If so the ejb-jar.xml file does not work with Orion. You need to comment out the security role mappings, repackage the ear file and redeploy and then it will work fine.



Steve



On Mon, 2002-02-18 at 19:48, daniele rizzi wrote:

Hi all,
this Sunday I've got some time to spare so I tried out
the sun ejb tutorial:

in chapter 1 a stateless ejb is deployed on Application SErver,
then a client connects to it: in this step this error is produced:
what have I done to deserve this?

--- the error ---

com.evermind.server.rmi.OrionRemo
teException: admin is not allowed to call this EJB method, check your
security settings (method-permission in ejb-jar.xml and
security-role-mapping in orion-application.xml).

... etc...



thanx for any help
daniele rizzi
([EMAIL PROTECTED])






-- 
--
Steven Lamb
Java Developer
IS Australia
Phone: 02 6285
Fax: 02 62859988
www: http://www.isa.net.au