-
1. Re: no security manage ?
adrian.brock Feb 27, 2002 7:52 AM (in response to maouche)Have you tried configuring a SecurityManager
on the client?
This will allow any server classes to be downloaded
dynamically to the client.
Regards,
Adrian -
2. Re: no security manage ?
maouche Feb 27, 2002 8:09 AM (in response to maouche)How can You do it ?
I have just included in my classpath all the jar files in $JBOSS_DIST/client -
3. Re: no security manage ?
adrian.brock Feb 27, 2002 10:07 AM (in response to maouche)The tyrex plugins aren't in jboss-client.jar :-(
Have a look at java.rmi.RMISecurityManager
or sections 5.5 in the RMI Specification.
Alternatively, extract the tyrex plugin class(es)
from jboss/lib/ext/jboss.jar into a new jar in jboss/client.
Regards,
Adrian -
4. Re: no security manage ?
maouche Feb 27, 2002 11:42 AM (in response to maouche)I works better, But I have an exception when I commit the
transaction. This means that there are no transaction propagation. I will study more about java.rmi.RMISecurityManager in order to look for an other solution.
Thanks
java.lang.IllegalStateException: No transaction.
[java] at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:245)
[java] at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:220)
[java] at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:122)
[java] at org.jboss.tm.usertx.server.UserTransactionSessionImpl_Stub.commit(Unknown Source)
[java] at org.jboss.tm.usertx.client.ClientUserTransaction.commit(ClientUserTransaction.java:123)
[java] test.MyClient1.main(MyClient1.java:116)