Sure. I'll also try to do a better job in the docs for the next release (as is only explained in the context of loading marshallers currently).
The remote classloading (which only works from the client loading classes from the server, btw), is done via a seperate service, which is called the loader. By default, the loader is not present on the server side. In order to enable the loader server to run, will need to add the following to the remoting connector configuration: | <attribute name="loaderport" isParam="true">5401</attribute> | Note, this attribute must be set within the invoker element. This tells the remoting server that it needs to start a loader running on the port specified. Then, on the client side, when it receives a response from the server and is unmarshalling the response, if it tries to load a class that is not present locally, it will look to see if a loader has been specified. If it has been, it will call to that loader server and load the class dynamically. If getting the invoker locator url from the server, are good to go, as will already have the loaderport parameter set. Otherwise, if creating the locator url yourself on the client, then would need to make sure the loader parameter is specified. For example: | socket://myhost:12345/?loaderport=5401 | I am guessing you are using ejb3, which in the latest version it pulls the locator url from the server so you should be set (only need to make sure is there on the server side configuration). Hope that helps. -Tom View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3915350#3915350 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3915350 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ JBoss-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-user
