svn commit: r473893 - /incubator/ofbiz/trunk/framework/service/src/org/ofbiz/service/rmi/RmiServiceContainer.java

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r473893 - /incubator/ofbiz/trunk/framework/service/src/org/ofbiz/service/rmi/RmiServiceContainer.java

jleroux@apache.org
Author: jleroux
Date: Sat Nov 11 22:56:07 2006
New Revision: 473893

URL: http://svn.apache.org/viewvc?view=rev&rev=473893
Log:
Better error message when Unable to bind RMIDispatcher to RMI (https://issues.apache.org/jira/browse/OFBIZ-447)

Modified:
    incubator/ofbiz/trunk/framework/service/src/org/ofbiz/service/rmi/RmiServiceContainer.java

Modified: incubator/ofbiz/trunk/framework/service/src/org/ofbiz/service/rmi/RmiServiceContainer.java
URL: http://svn.apache.org/viewvc/incubator/ofbiz/trunk/framework/service/src/org/ofbiz/service/rmi/RmiServiceContainer.java?view=diff&rev=473893&r1=473892&r2=473893
==============================================================================
--- incubator/ofbiz/trunk/framework/service/src/org/ofbiz/service/rmi/RmiServiceContainer.java (original)
+++ incubator/ofbiz/trunk/framework/service/src/org/ofbiz/service/rmi/RmiServiceContainer.java Sat Nov 11 22:56:07 2006
@@ -126,7 +126,7 @@
             try {
                 Naming.rebind("//" + host + ":" + port + "/" + name, remote);
             } catch (RemoteException e) {
-                throw new ContainerException("Unable to bind RMIDispatcher to RMI", e);
+                throw new ContainerException("Unable to bind RMIDispatcher to RMI on " + "//host[" + host + "]:port[" + port + "]/name[" + name + "] - with remote=" + remote , e);
             } catch (java.net.MalformedURLException e) {
                 throw new ContainerException("Invalid URL for binding", e);
             }