you need to show the errors if you ever want someone to look at your problem more closely
when I use in my jsp (after to update my war):
testRemoteHome = (TestRemoteHome) PortableRemoteObject.narrow(ref, TestRemoteHome.class);
The error is "java.lang.ClassCastException".
if I re-start JBoss it works perfectly.
I face the same problem, even with JBoss3.0.0.
For my case, the problem can be simply solved by using JDK1.3. It is the problem when using JDK1.4. I have asked this question for hundred times without any answers.
Also, with JBoss3.0.3, the shutdown.sh doesn't work and after submitting shutdown.sh, jboss doesn't have any response but keep running as normal ( it is running under Solaris 2.7).
> when I use in my jsp (after to update my war):
> testRemoteHome = (TestRemoteHome)
> The error is "java.lang.ClassCastException".
> if I re-start JBoss it works perfectly.
can you check if 1.3 works for you?
as a workaround use regular java casting, not narrow after lookup, and post a simple test case and file bug report on 1.4.1 case to sf bug tracker (www.sf.net/projects/jboss)
it works fine with jdk1.3.1.
Thanks for help me with this hint.