Hi!

We have a very strange bug where a ClassCastException is being thrown in
the EJB wrapper code. Is there any way for us to "keepgenerated" the
Java source?

It is really weird... if we do:
new Thread(new Runnable()
{
  public void run()
  {
    myEjb.doSomething();
  }
}).run();

it works. And if we do:
new Thread(new Runnable()
{
  public void run()
  {
    myEjb.doSomething();
  }
}).start();

(i.e. correct thread spawning) it doesn't work, complaining about a
ClassCastException on "Thread" (i.e. the object being casted to
something is of class Thread!?) in the wrapper code.

/Rickard

-- 
Rickard �berg

@home: +46 13 177937
Email: [EMAIL PROTECTED]
Homepage: http://www-und.ida.liu.se/~ricob684

Reply via email to