<rdf:RDF
    xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns#'
    xmlns:s='http://snipsnap.org/rdf/snip-schema#'
    xml:base='http://www.nimret.com/rdf'>
    <s:Snip rdf:about='http://www.nimret.com/rdf#start/2009-09-11/1'
         s:name='start/2009-09-11/1'
         s:cUser='admin'
         s:oUser='admin'
         s:mUser='admin'>
        <s:content>1 Interesting RMI/Windows issue {anchor:Interesting RMI/Windows issue}&#xD;&#xA;we&apos;ve been using a scheduling server at work to automatically schedule jobs programatically. It uses RMI and I&apos;ve been working on a real interesting problem which would just manifest itself as a socket write exception. After having gone through the usual checking to make sure that it&apos;s not a connectivity issue, etc I finally narrowed it down to an interesting fact about RMI on Windows. &#xD;&#xA;&#xD;&#xA;Somewhere within the Sun implementation someone is not handling spaces appropriately. Since we use Maven on Windows for dev work all the third party libraries end up in &apos;Documents And Settings..&apos; folder on C drive. Note the space in there. This was causing RMI heartburn though the manifestation of the problem as a socket write exception was a mis-direction. See:\\&#xD;&#xA;http://www.velocityreviews.com/forums/t126367-spaces-in-path-to-app-causing-rmi-fits-with-malformedurlexception.html&#xD;&#xA;&#xD;&#xA;So I found the RMI properties, one of which allows users to see debug info:\\&#xD;&#xA;http://java.sun.com/j2se/1.4.2/docs/guide/rmi/javarmiproperties.html&#xD;&#xA;&#xD;&#xA;which revealed the actual problem.&#xD;&#xA;&#xD;&#xA;Needless to say everything works fine in production land since it runs on Linux.&#xD;&#xA;&#xD;&#xA;Fun times =)&#xD;&#xA;</s:content>
        <s:mTime>2009-09-11 13:38:55.606</s:mTime>
        <s:cTime>2009-09-11 13:23:42.755</s:cTime>
        <s:comments
             rdf:type='http://www.w3.org/1999/02/22-rdf-syntax-ns#Bag'/>
        <s:snipLinks>
            <rdf:Bag>
                <rdf:li rdf:resource='#admin'/>
            </rdf:Bag>
        </s:snipLinks>
        <s:attachments
             rdf:type='http://www.w3.org/1999/02/22-rdf-syntax-ns#Bag'/>
    </s:Snip>
</rdf:RDF>
