[JBoss JIRA] Created: (JBESB-2874) Deployers do not cleanly represent dependencies
by Kevin Conner (JIRA)
Deployers do not cleanly represent dependencies
-----------------------------------------------
Key: JBESB-2874
URL: https://jira.jboss.org/jira/browse/JBESB-2874
Project: JBoss ESB
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Deployment
Affects Versions: 4.7
Reporter: Kevin Conner
Fix For: 4.8
The deployers create a separate object to represent the ESB deployment, expressing the contained dependencies, but any forced restart of this object (due to dependencies) does not redo any of the work contained in the deployer.
We now have a lot of work which, as a consequence, misses out on this process.
- ebws
- http gateway
- property substitution
We need to move all this functionality into a separate object which can cleanly take part in the dependency process.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 9 months
[JBoss JIRA] Created: (JBESB-3293) FtpImpl getFileListFromRemoteDir() bad suffix handling, listing subdir contents
by Tom Eicher (JIRA)
FtpImpl getFileListFromRemoteDir() bad suffix handling, listing subdir contents
-------------------------------------------------------------------------------
Key: JBESB-3293
URL: https://jira.jboss.org/jira/browse/JBESB-3293
Project: JBoss ESB
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Adapters
Affects Versions: 4.8, 4.7 CP1, 4.7, 4.6
Reporter: Tom Eicher
- RemoteFileSystem.getFileListFromRemoteDir(p_sSuffix) is meant to return the listing of the files of the current directory.
- however, due to the "suffix enforcing" in FtpImpl, even calls like "getFileListFromRemoteDir(null)" and "getFileListFromRemoteDir("")" will be executed as getFileListFromRemoteDir("*"), making this a FTP "NLST *" command.
- (and "getFileListFromRemoteDir(".")" will be "getFileListFromRemoteDir("*.")"...)
- now, when your target directory contains only one entry, and that entry is a file, the NLST will glob the "*" and return the listing of the subdir(!)
- so, you will get unexpected results like "tmp/file1", "tmp/file2", when all you wanted was to receive the "tmp".
- even when giving a suffix like "*.xml", this will return "tmp/file1.xml".
- tested against Microsoft ftp server, but the behaviour is as expected, so will be identical with many ftp servers
- fix: when no suffix given, call "listNames()", not "listNames("*")".
- see also: FTPClient.listNames(String) docu, which says "The server may or may not expand glob expressions". For ftp servers not doing globbing, this means all downloads will fail.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 10 months