Problem with Quickstarts FTP Example
govindaattal Jul 11, 2007 12:51 AMHello
I am new to JBOSS ESB and I am currently evaluating it against some use cases. For that I tried running 'quickstart ftp in action'.
I am using JBOSS AS 4.0.5, EJB 3 RC9 Patch1, JBOSS ESB 4.2 MR2.
I deployed helloworld_ftp_action using provided ant scripts (wonderful, makes life easy).
Then I added a file with .DAT extention in the FTP directory (one configured for the quick start example)
I got following error on the console-
09:55:15,268 INFO [Server] JBoss (MX MicroKernel) [4.0.5.GA (build: CVSTag=Branch_4_0 date=200610162339)] Started in 53s:534ms
09:55:44,351 ERROR [STDERR] java.lang.reflect.InvocationTargetException
09:55:44,351 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
09:55:44,351 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
09:55:44,351 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
09:55:44,351 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
09:55:44,367 ERROR [STDERR] at org.jboss.soa.esb.listeners.gateway.AbstractFileGateway.doRun(AbstractFileGateway.java:151)
09:55:44,367 ERROR [STDERR] at org.jboss.soa.esb.listeners.lifecycle.AbstractThreadedManagedLifecycle.run(AbstractThreadedManagedLifecycle.java:115)
09:55:44,367 ERROR [STDERR] at java.lang.Thread.run(Thread.java:595)
09:55:44,367 ERROR [STDERR] Caused by: org.jboss.soa.esb.listeners.gateway.GatewayException: java.io.IOException: The system cannot find the path specified
09:55:44,367 ERROR [STDERR] at org.jboss.soa.esb.listeners.gateway.RemoteGatewayListener.getFileContents(RemoteGatewayListener.java:142)
09:55:44,367 ERROR [STDERR] at org.jboss.soa.esb.listeners.gateway.FileGatewayListener$PackageFileContents.getFileContent(FileGatewayListener.java:200)
09:55:44,367 ERROR [STDERR] at org.jboss.soa.esb.listeners.gateway.FileGatewayListener$PackageFileContents.process(FileGatewayListener.java:194)
09:55:44,367 ERROR [STDERR] ... 7 more
09:55:44,367 ERROR [STDERR] Caused by: java.io.IOException: The system cannot find the path specified
09:55:44,382 ERROR [STDERR] at java.io.WinNTFileSystem.createFileExclusively(Native Method)
09:55:44,382 ERROR [STDERR] at java.io.File.checkAndCreate(File.java:1345)
09:55:44,382 ERROR [STDERR] at java.io.File.createTempFile(File.java:1434)
09:55:44,382 ERROR [STDERR] at org.jboss.internal.soa.esb.util.EdtFtpImpl.downloadFile(EdtFtpImpl.java:300)
09:55:44,382 ERROR [STDERR] at org.jboss.soa.esb.listeners.gateway.RemoteGatewayListener.getFileContents(RemoteGatewayListener.java:132)
09:55:44,382 ERROR [STDERR] ... 9 more
09:55:44,382 ERROR [AbstractFileGateway] Problems invoking method <process>
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.soa.esb.listeners.gateway.AbstractFileGateway.doRun(AbstractFileGateway.java:151)
at org.jboss.soa.esb.listeners.lifecycle.AbstractThreadedManagedLifecycle.run(AbstractThreadedManagedLifecycle.java:115)
at java.lang.Thread.run(Thread.java:595)
Caused by: org.jboss.soa.esb.listeners.gateway.GatewayException: java.io.IOException: The system cannot find the path specified
at org.jboss.soa.esb.listeners.gateway.RemoteGatewayListener.getFileContents(RemoteGatewayListener.java:142)
at org.jboss.soa.esb.listeners.gateway.FileGatewayListener$PackageFileContents.getFileContent(FileGatewayListener.java:200)
at org.jboss.soa.esb.listeners.gateway.FileGatewayListener$PackageFileContents.process(FileGatewayListener.java:194)
... 7 more
Caused by: java.io.IOException: The system cannot find the path specified
at java.io.WinNTFileSystem.createFileExclusively(Native Method)
at java.io.File.checkAndCreate(File.java:1345)
at java.io.File.createTempFile(File.java:1434)
at org.jboss.internal.soa.esb.util.EdtFtpImpl.downloadFile(EdtFtpImpl.java:300)
at org.jboss.soa.esb.listeners.gateway.RemoteGatewayListener.getFileContents(RemoteGatewayListener.java:132)
... 9 more
09:55:44,429 WARN [AbstractFileGateway] File : \SharedDocs\StaticRouter.dat.esbError did not exist.
What I obsorved in ftp://localhost/SharedDocs
that extention of the file, first changed to .esbWorking and then to
.HAS_ERROR .
Any help would be of great use..
Thanks & Regards