-
1. Re: ClassCastException RMI/IIOP
meb1 Oct 16, 2002 10:09 AM (in response to meb1)Well after a few hours of poking and experimenting the answer seems to be in the jvm args passed. Of course this is quite undocumented.
Hopefully this response will help someone else who has run up against a similiar problem. In addition to these jvms args
java.naming.factory.initial=com.sun.jndi.cosnaming.CNCtxFactory java.naming.provider.url=IOR:...some_long_string_of_hex_digits...
I also was *required* to have these:
set JAVA_OPTS=%JAVA_OPTS% -Djava.security.manager
set JAVA_OPTS=%JAVA_OPTS% -Djava.security.policy=%CLIENT_LIBS_DIR%/client.policy
Also, I was able to run a remote IIOP client with only the necessary interfaces for my bean and the jboss-j2ee.jar (for a stateless bean passing primitive types) -
2. Re: ClassCastException RMI/IIOP
meb1 Oct 16, 2002 10:11 AM (in response to meb1)Well after a few hours of poking and experimenting the answer seems to be in the jvm args passed. Of course this is quite undocumented.
Hopefully this response will help someone else who has run up against a similiar problem. In addition to these jvms args
java.naming.factory.initial=com.sun.jndi.cosnaming.CNCtxFactory java.naming.provider.url=IOR:...some_long_string_of_hex_digits...
I also was *required* to have these:
set JAVA_OPTS=%JAVA_OPTS% -Djava.security.manager
set JAVA_OPTS=%JAVA_OPTS% -Djava.security.policy=%CLIENT_LIBS_DIR%/client.policy
Also, I was able to run a remote IIOP client with only the necessary interfaces for my bean and the jboss-j2ee.jar (for a stateless bean passing primitive types) -
3. Re: ClassCastException RMI/IIOP
meb1 Oct 16, 2002 10:14 AM (in response to meb1)Hopefully this response will help someone else who has run up against a similiar problem. In addition to these jvms args
java.naming.factory.initial=com.sun.jndi.cosnaming.CNCtxFactory java.naming.provider.url=IOR:...some_long_string_of_hex_digits...
I also was *required* to have these:
set JAVA_OPTS=%JAVA_OPTS% -Djava.security.manager
set JAVA_OPTS=%JAVA_OPTS% -Djava.security.policy=%CLIENT_LIBS_DIR%/client.policy
Also, I was able to run a remote IIOP client with only the necessary interfaces for my bean and the jboss-j2ee.jar (for a stateless bean passing primitive types)