You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Jacques Le Roux (JIRA)" <ji...@apache.org> on 2006/11/11 08:50:36 UTC

[jira] Created: (OFBIZ-447) Better error message when Unable to bind RMIDispatcher to RMI

Better error message when Unable to bind RMIDispatcher to RMI
-------------------------------------------------------------

                 Key: OFBIZ-447
                 URL: http://issues.apache.org/jira/browse/OFBIZ-447
             Project: OFBiz (The Open for Business Project)
          Issue Type: Improvement
          Components: framework
    Affects Versions: SVN trunk
         Environment: all
            Reporter: Jacques Le Roux
         Assigned To: Jacques Le Roux
            Priority: Trivial
             Fix For: SVN trunk


I propose to add some more informations to ease debugging when there is a problem binding RMIDispatcher to RMI. 
Please see patch. 

Thanks

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (OFBIZ-447) Better error message when Unable to bind RMIDispatcher to RMI

Posted by "Jacques Le Roux (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/OFBIZ-447?page=comments#action_12448946 ] 
            
Jacques Le Roux commented on OFBIZ-447:
---------------------------------------

Chris,

Yes you are right, good idea.

> Better error message when Unable to bind RMIDispatcher to RMI
> -------------------------------------------------------------
>
>                 Key: OFBIZ-447
>                 URL: http://issues.apache.org/jira/browse/OFBIZ-447
>             Project: OFBiz (The Open for Business Project)
>          Issue Type: Improvement
>          Components: framework
>    Affects Versions: SVN trunk
>         Environment: all
>            Reporter: Jacques Le Roux
>         Assigned To: Jacques Le Roux
>            Priority: Trivial
>             Fix For: SVN trunk
>
>         Attachments: RmiServiceContainer.java.patch
>
>
> I propose to add some more informations to ease debugging when there is a problem binding RMIDispatcher to RMI. 
> Please see patch. 
> Thanks

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (OFBIZ-447) Better error message when Unable to bind RMIDispatcher to RMI

Posted by "Chris Howe (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/OFBIZ-447?page=comments#action_12448944 ] 
            
Chris Howe commented on OFBIZ-447:
----------------------------------

+1 on an improved error message.

since a possible reason why RMI is unable to bind is that one of those values is null, how about something to the effect of:
+                throw new ContainerException(
"Unable to bind RMIDispatcher to RMI on " + "//host[" + host + "]:port[" + port + "]/name[" + name + "] - with remote=" + remote , e);


> Better error message when Unable to bind RMIDispatcher to RMI
> -------------------------------------------------------------
>
>                 Key: OFBIZ-447
>                 URL: http://issues.apache.org/jira/browse/OFBIZ-447
>             Project: OFBiz (The Open for Business Project)
>          Issue Type: Improvement
>          Components: framework
>    Affects Versions: SVN trunk
>         Environment: all
>            Reporter: Jacques Le Roux
>         Assigned To: Jacques Le Roux
>            Priority: Trivial
>             Fix For: SVN trunk
>
>         Attachments: RmiServiceContainer.java.patch
>
>
> I propose to add some more informations to ease debugging when there is a problem binding RMIDispatcher to RMI. 
> Please see patch. 
> Thanks

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (OFBIZ-447) Better error message when Unable to bind RMIDispatcher to RMI

Posted by "Jacques Le Roux (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/OFBIZ-447?page=all ]

Jacques Le Roux updated OFBIZ-447:
----------------------------------

    Attachment: RmiServiceContainer.java.patch

> Better error message when Unable to bind RMIDispatcher to RMI
> -------------------------------------------------------------
>
>                 Key: OFBIZ-447
>                 URL: http://issues.apache.org/jira/browse/OFBIZ-447
>             Project: OFBiz (The Open for Business Project)
>          Issue Type: Improvement
>          Components: framework
>    Affects Versions: SVN trunk
>         Environment: all
>            Reporter: Jacques Le Roux
>         Assigned To: Jacques Le Roux
>            Priority: Trivial
>             Fix For: SVN trunk
>
>         Attachments: RmiServiceContainer.java.patch
>
>
> I propose to add some more informations to ease debugging when there is a problem binding RMIDispatcher to RMI. 
> Please see patch. 
> Thanks

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Closed: (OFBIZ-447) Better error message when Unable to bind RMIDispatcher to RMI

Posted by "Jacques Le Roux (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/OFBIZ-447?page=all ]

Jacques Le Roux closed OFBIZ-447.
---------------------------------

    Resolution: Fixed

I struggled with a very bad bug yesterday : never ever even try to have a file with a space in its name in any directories (classpath?) of your OFBiz project under Windows. 

But why a space in name ? A simple copy under WIndows (at least in french) generate a file name like "Copie de filename.ext" :(

RMI can't load because in such a case you got : java.net.MalformedURLException: no protocol: (de)) (RMI uses spaces to separate multi URI).

This is not the case under Linux.

I added a better error message in revision 473893.

> Better error message when Unable to bind RMIDispatcher to RMI
> -------------------------------------------------------------
>
>                 Key: OFBIZ-447
>                 URL: http://issues.apache.org/jira/browse/OFBIZ-447
>             Project: OFBiz (The Open for Business Project)
>          Issue Type: Improvement
>          Components: framework
>    Affects Versions: SVN trunk
>         Environment: all
>            Reporter: Jacques Le Roux
>         Assigned To: Jacques Le Roux
>            Priority: Trivial
>             Fix For: SVN trunk
>
>         Attachments: RmiServiceContainer.java.patch
>
>
> I propose to add some more informations to ease debugging when there is a problem binding RMIDispatcher to RMI. 
> Please see patch. 
> Thanks

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira