Filepoller is unable to handele windows based filesystem URL-s

Anonymous avatarAnonymous created an issue

When configuring filepoller for URL: file:C:/temp/AS2/tosend got following error:2011-10-27 14:19:42,393 [-] [main] ERROR FileTransportListener Error registering proxy service : file-poller with the scheduler for the transport : file java.lang.NumberFormatException: For input string: "" at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48) at java.lang.Integer.parseInt(Integer.java:470) at java.lang.Integer.parseInt(Integer.java:499) at org.adroitlogic.ultraesb.transport.base.ParsedURL.<init>(ParsedURL.java:122)

Error is most probably in line: ParsedURL.java:122 where it presumes that ":" is used for port identifier. That ofcourse is not the case with windows filesystem.

Br, Sander Aiaots aiaots@gmail.com

Comments (3)

  1. Ruwan Linton
    • changed status to open

    Hi Aiaots,

    While we will try to get this fixed for the next release, may I know whether you plan to do any production deployment on Windows. Production deployments on Windows are not supported and specially file transport has limitations operating on Windows, due to the unpredicted behaviour of the Windows file locks and releasing those locks.

    We highly recommend you to consider Unix based system for a production deployment.

    Thanks, Ruwan

  2. Log in to comment
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.