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








HTTP Session problems

2001-09-09 Thread Steven Lamb

Hi,
We have a project that is using a single servlet to handle web based 
requests / responses for every connection to the web site we have a session 
bean and a http session that gets created. The problem we are experiencing is 
that when the servlet is destroyed only one session bean is removed from 
orion. This is always the last user of the site. The rest of our sessions get 
passivated and we are unable to get these back. Ideally we would like to 
remove all of the sessions that are created but we have been unable to do so.

We have tried to implement the HTTP Binding listener interface to the remote 
interface of the session bean but the setAttribute method on the http session 
does not seem to call the valueBound() method of the interface. 


Any help would be appreciated.

Thanks
Steven Lamb
ISA Developer
http://www.isa.net.au