[jboss-jira] [JBoss JIRA] Resolved: (JBESB-303) exception in helloworld_ftp_action
Bruno Georges (JIRA)
jira-events at jboss.com
Mon Jan 8 06:11:26 EST 2007
[ http://jira.jboss.com/jira/browse/JBESB-303?page=all ]
Bruno Georges resolved JBESB-303.
---------------------------------
Resolution: Done
Simple error handling has been added.
This error was reproducable only on one type of FTP server.
The exception message is caught and error is logged at debug level.
Other exception will be thrown as expected.
Files with restricitve permissions are still visible when issuing an NLST command.
These files will also be renamed to the error-suffix value despite the restrictive permissions, althought it is not posssible to 'GET' them [as expected].
Behavior seems to vary between Server implementations and OS.
> exception in helloworld_ftp_action
> ----------------------------------
>
> Key: JBESB-303
> URL: http://jira.jboss.com/jira/browse/JBESB-303
> Project: JBoss ESB
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Examples
> Affects Versions: 4.0 CR1
> Reporter: Mark Little
> Assigned To: Bruno Georges
> Fix For: 4.0 CR2
>
> Time Spent: 1 hour
> Remaining Estimate: 0 minutes
>
> [java] java.lang.reflect.InvocationTargetException
> [java] at sun.reflect.GeneratedMethodAccessor21.invoke(Unknown Source)
> [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> [java] at java.lang.reflect.Method.invoke(Method.java:585)
> [java] at org.jboss.soa.esb.listeners.message.ActionProcessingPipeline.run(ActionProcessingPipeline.java:90)
> [java] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
> [java] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
> [java] at java.lang.Thread.run(Thread.java:595)
> [java] Caused by: java.lang.NullPointerException
> [java] at java.lang.String.<init>(String.java:479)
> [java] at quickstart.hw_ftp_action.MyAction.displayMessage(Unknown Source)
> [java] ... 7 more
> [java] &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
> [java] 16:37:29,332 ERROR [pool-1-thread-1][ActionProcessingPipeline] Process method threw Exception
> [java] java.lang.reflect.InvocationTargetException
> [java] at sun.reflect.GeneratedMethodAccessor21.invoke(Unknown Source)
> [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> [java] at java.lang.reflect.Method.invoke(Method.java:585)
> [java] at org.jboss.soa.esb.listeners.message.ActionProcessingPipeline.run(ActionProcessingPipeline.java:90)
> [java] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
> [java] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
> [java] at java.lang.Thread.run(Thread.java:595)
> [java] Caused by: java.lang.NullPointerException
> [java] at java.lang.String.<init>(String.java:479)
> [java] at quickstart.hw_ftp_action.MyAction.displayMessage(Unknown Source)
> [java] ... 7 more
> [java] 16:37:49,491 ERROR [Thread-5][AbstractFileGateway] Can't retrieve file list
> [java] org.jboss.soa.esb.listeners.gateway.GatewayException: com.enterprisedt.net.ftp.FTPException: NLST command failed
> [java] at org.jboss.soa.esb.listeners.gateway.RemoteGatewayListener.getFileList(RemoteGatewayListener.java:131)
> [java] at org.jboss.soa.esb.listeners.gateway.AbstractFileGateway.run(AbstractFileGateway.java:102)
> [java] at java.lang.Thread.run(Thread.java:595)
> [java] Caused by: com.enterprisedt.net.ftp.FTPException: NLST command failed
> [java] at com.enterprisedt.net.ftp.FTPControlSocket.validateReply(FTPControlSocket.java:800)
> [java] at com.enterprisedt.net.ftp.FTPClient.dir(FTPClient.java:2087)
> [java] at com.enterprisedt.net.ftp.FTPClient.dir(FTPClient.java:2022)
> [java] at org.jboss.internal.soa.esb.util.EdtFtpImpl.getFileListFromRemoteDir(EdtFtpImpl.java:293)
> [java] at org.jboss.soa.esb.listeners.gateway.RemoteGatewayListener.getFileList(RemoteGatewayListener.java:122)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list