Ron Sigal [
http://community.jboss.org/people/ron.sigal%40jboss.com] replied to the
discussion
"Retrieve Server's Certificate"
To view the discussion, visit:
http://community.jboss.org/message/551084#551084
--------------------------------------------------------------
Hi Jimmy,
Remoting itself doesn't have the facility you're asking for. Perhaps it will be
available in Remoting 3.
For now, all I can think of is to try to use the RMI remote classloading facility built
into the Application Server, though I really can't promise that it will work. I can
tell you that the AS starts a special case web server to service RMI, and it can also
return files other than class files. See Section 10.6. "RMI Dynamic Class
Loading" in the AS +Administration And Development Guide+ at
http://docs.jboss.org/jbossas/docs/Server_Configuration_Guide/4/html/inde...
http://docs.jboss.org/jbossas/docs/Server_Configuration_Guide/4/html/inde... for a very
brief introduction. I guess you would have to send the appropriate HTTP message with the
path to the truststore. Also, you would have to set the parameter
"*DownloadResources"* to "true" in the
"jboss:service=WebService" MBean in
$JBOSS/server/$CONFIG/conf/jboss-service.xml.
I'm guessing that this idea can be made to work, but I could be all wrong.
-Ron
h2.
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/551084#551084]
Start a new discussion in JBoss Remoting at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]