Yes, 0.8.1 (and earlier) didnt support thread creation from within the server 
(servlets, JSP, etc).
We were planning to disallow thread creation (which would still be compliant with the 
Servlet spec)
but we changed it to support it instead, try the 0.8.1j patch at 
http://www.orionserver.com/orion/orion.jar.
It should do the trick, let us know how it turns out.

Have a nice day! :)

/Magnus Stenman, the Orion team

----- Original Message ----- 
From: Rickard Öberg <[EMAIL PROTECTED]>
To: Orion-Interest <[EMAIL PROTECTED]>
Sent: Monday, November 22, 1999 4:10 PM
Subject: Bug /w multithreading+EJB?


> Hey
> 
> Possible bug:
> We have a EntityBean. We first call create, and then invoke a method on
> the newly created instance. We then spawn off a thread that calls
> another method on the bean. From this second call in the newly created
> thread we get the following error msg:
> java.lang.ClassCastException: java.lang.Thread
>         at EntityBeanWrapper0.doSomething(EntityBeanWrapper0.java:xxx
> 
>         at web.MyServlet$1.run(MyServlet.java:xxx)
>         at java.lang.Thread.run(Thread.java:479)
> 
> We accidentally called run() and not start() on the thread first, and
> then it worked. When we did it "the right way" it stopped working with
> the above situation.
> 
> Any clues?
> 
> /Rickard
> 
> -- 
> Rickard Öberg
> 
> @home: +46 13 177937
> Email: [EMAIL PROTECTED]
> Homepage: http://www-und.ida.liu.se/~ricob684

Reply via email to