[jboss-jira] [JBoss JIRA] Commented: (JBESB-303) exception in helloworld_ftp_action
Bruno Georges (JIRA)
jira-events at jboss.com
Fri Jan 5 06:30:26 EST 2007
[ http://jira.jboss.com/jira/browse/JBESB-303?page=comments#action_12349617 ]
Bruno Georges commented on JBESB-303:
-------------------------------------
This problem seems to happen with some FTP servers and not others.
Example of Cerberus FTP Server running on Windows:
Jan 05 10:35:33 38 Incoming connection request on interface 1.10.102.115
Jan 05 10:35:33 38 Connection request accepted from 1.10.102.115
Jan 05 10:35:33 38 USER test
Jan 05 10:35:33 38 331 User test, password please
Jan 05 10:35:33 38 PASS ***********
Jan 05 10:35:33 38 230 Password Ok, User logged in
Jan 05 10:35:33 38 TYPE I
Jan 05 10:35:33 38 200 Type Binary
Jan 05 10:35:33 38 CWD /ftproot/tmp/EsbInput
Jan 05 10:35:33 38 250 Change directory ok
Jan 05 10:35:33 38 PORT 1,10,102,115,5,72
Jan 05 10:35:33 38 200 Port command received
Jan 05 10:35:33 38 NLST *.dat
Jan 05 10:35:33 38 150 Opening data connection
Jan 05 10:35:33 38 550 NLST command failed
Jan 05 10:35:33 38 QUIT
The same commands on Linux VSFTPD do not return any errors.
> 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
>
>
> [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