Hi,
When I access an ejb from an application everything's fine, but when I do exactly the same in a jsp on Tomcat4.0.2 I get the following exception:
java.lang.reflect.UndeclaredThrowableException: java.net.MalformedURLException: no protocol: Tomcat
at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:245)
at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:220)
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:122)
at org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoker_Stub.invoke(Unknown Source)
at org.jboss.ejb.plugins.jrmp.interfaces.GenericProxy.invokeContainer(GenericProxy.java:357)
at org.jboss.ejb.plugins.jrmp.interfaces.EntityProxy.invoke(EntityProxy.java:133)
This only happens with a single ejb method, everything else also works on tomcat.
Any idea what's wrong?
Regards,
Uwe