Magnus Stenman wrote:
> 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
Peter Delahunty wrote:
> You cannot create a Thread object from an EJB. This is why you get
> ClassCastException because the Thread class cannot be in the namespace.
I'm not creating a Thread in an EJB. That would be illegal. I'm creating
it in a servlet.
The workaround was to create a thread w
Hey
Magnus Stenman wrote:
> 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
22, 1999 3:10 PM
To: Orion-Interest
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
/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
Sub
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: j