BatchFTP "get" problem

All,
I would appreciate your help on the following issue.
I try to do an FTP get in my jcd but keep on getting an error.
I think the configuration in cm and environment is correct (UNIX, Manual connection Mode, ...). Is there some way to tell the Ftp Client we're in "GET" mode, and not in "PUT" mode? Any other suggestions?
An extract of the code:
public void start( ... com.stc.eways.batchext.BatchFtp batchFtp){
batchFtp.getClient().connect();
batchFtp.getClient().get();
It's at the "get()" the crash happens.
The stackTrace:
Batch FTP eWay error when doing data transfer operation in [get()], message=[com.stc.eways.batchext.FtpFileException: FtpFileTransferNamesAndCommandsGet.resolveTargetLocation(): Failed to list file. Got exception [java.io.IOException: FtpFileProviderImpl.listFileNames(): Got exception [java.lang.NullPointerException].].].|#]
     at com.stc.eways.batchext.FtpFileClientImpl.sendAlertAndThrowException(FtpFileClientImpl.java:3042)
     at com.stc.eways.batchext.FtpFileClientImpl.get(FtpFileClientImpl.java:2926)
     at prj5035EbusConnectJCD.jcdEbusInFtp.start(jcdEbusInFtp.java:98)
     at prj5035EbusConnect.svcEbusInFtp.jcdEbusInFtp_Runtime_Handler.handleRequest(jcdEbusInFtp_Runtime_Handler.java:393)
     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 com.sun.enterprise.security.SecurityUtil.invoke(SecurityUtil.java:140)
     at com.sun.ejb.containers.EJBLocalObjectInvocationHandler.invoke(EJBLocalObjectInvocationHandler.java:135)
     at $Proxy45.handleRequest(Unknown Source)
     at STC_MDB__eaSchedulerEbus_svcEbusInFtp.sendMessage(STC_MDB__eaSchedulerEbus_svcEbusInFtp.java:213)
     at STC_MDB__eaSchedulerEbus_svcEbusInFtp.onContents(STC_MDB__eaSchedulerEbus_svcEbusInFtp.java:100)
     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 com.sun.enterprise.security.SecurityUtil$2.run(SecurityUtil.java:146)
     at java.security.AccessController.doPrivileged(Native Method)
     at com.sun.enterprise.security.application.EJBSecurityManager.doAsPrivileged(EJBSecurityManager.java:940)
     at com.sun.enterprise.security.SecurityUtil.invoke(SecurityUtil.java:151)
     at com.sun.ejb.containers.MessageBeanContainer.deliverMessage(MessageBeanContainer.java:948)
     at com.sun.ejb.containers.MessageBeanListenerImpl.deliverMessage(MessageBeanListenerImpl.java:42)
     at com.sun.enterprise.connectors.inflow.MessageEndpointInvocationHandler.invoke(MessageEndpointInvocationHandler.java:136)
     at $Proxy48.onContents(Unknown Source)
     at com.stc.schedulerotd.scheduleradapter.FileReaderWork.run(FileReaderWork.java:77)
     at com.sun.enterprise.connectors.work.OneWork.doWork(OneWork.java:54)
     at com.sun.corba.ee.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.run(ThreadPoolImpl.java:382)
Many Thanks (and have a nice weekend)
koen

Hi all,
I think I have located the problem.
The file I was trying to get, was in a UNIX directory that also contained files with "Alternate Access Methods" defined a.k.a Access control Lists; I don't know exactly how these work in UNIX, but what I do know is that you can recognise them by the "+" sign after the rwx properties.
e.g.
ls -alrt ->
drwxrwxr-x+ 2 ias9i1 ias 8192 Nov 22 2004 clntst8.560
In the get() method, there is a statement FtpFileProviderImpl.listFileNames(); which lists all files in the current directory. This is the method the causes the exception.
I added the following lines of code, attached a java debugger and noticed that out of the 37 values contained in "files" -the 37 files in the directory-, 3 were null. These 3 were the ones that where having this + sign....
I moved the file to another (empty) directory and all code works fine now;
try {
com.stc.eways.batchext.FtpFileProviderImpl toto = (com.stc.eways.batchext.FtpFileProviderImpl) batchFtp.getProvider();
com.oroinc.net.ftp.FTPFile[] files = toto.listFiles();
for (int j = 0; j < files.length; j++) {
logger.debug( "fileName : " + files[j].getName() );
} catch ( Exception e ) {
logger.debug( "Error!!!!!!" );
e.printStackTrace();
I have been looking into the standard UNIX heuristics defined in FtpHeuristics.cfg but I don't think I can manually change something in order to get it working. Sounds like a real bug, don't you think?
thanks for your help,
koen

Similar Messages

  • Firefox gets problems when 2,7 GB of memory is used by Firefox

    Firefox gets problems when 2,7 GB of memory is used by Firefox. Or more. Like 2,8 GB.
    It started when I read jpost.com with tens of tabs open. I don't remember how many. But I know there was more than 40.
    On the tab I that I was reading, the page turned completely black. Pitch black with nothing else, not even the Firefox interface. It was actually a pitch black shape that looked like a web page in shape. The blackness quickly disappeared and the page was normally readable again. But then it happened again - the page turned black again.
    The same page turns black happened again later.
    One of my browsing sessions had Firefox slow down so much that you could see scrolling happening when I used scrolling.
    Still another time I had 60 tabs open and Firefox worked completely fine without freezes, slowdowns, or black shapes. I could close Firefox by just pressing the red X in the title bar.
    Yesterday, I had 50 tabs open and I experienced a slowdown when I looked at the Breaking News headlines. The headlines would show slower than usual. The Breaking News headlines at jpost.com show the headlines a few words at a time until the headline is completely shown. Then the headline disappears and the next starts showing a few words at a time. And speed in general was not what you normally have with a computer that has 8 GB of memory. And a Core i5 processor. I opened two more tabs from the Breaking News section I had opened. After I opened a new window, Firefox froze. I had to close Firefox from the Task Manager by pressing End process. I had used Firefox for 6 hours without ever closing any of the tabs I had opened.
    In all of these cases, more than 40 tabs were open. In all of these cases, the slow down or freeze meant I had to use Task Manager and then press End process on the Processes tab. In all cases except the two I describe in the next paragraph, I never close any tabs after opening them. No problems have ever happened until Firefox started using 2,7 GB of memory. Until that point, everything is normal with no freezes or slowdowns.
    At two times, I tried to reduce memory usage by closing tabs. However, in both cases this would make Firefox freeze. In one of these cases, Firefox would show something bizarre: there would be about 7 tabs, and one of the tabs would be partly shown. Also, Firefox would show the busy cursor. Firefox did not show how many tabs I actually had. The second time, I tried to close the tabs by clicking Close other tabs in the menu that you get when right-click a tab. The tabs would close fine, but I remember that I opened Gmail and then I did this: I clicked on the Promotions tab. Instead of seeing the tab with the Emails, Firefox showed a busy cursor and the title bar said not responding. Firefox froze.
    The reason might be Adblock Plus memory usage. In Adblock Plus home page, developer Wladimir Palant writes in his blog about how Adblock Plus uses a lot of memory: https://adblockplus.org/blog/on-the-adblock-plus-memory-consumption .

    One more bit of information: I have a Geforce 640 GT graphics card. My graphics card drivers are old- version 311.41. The newest version of the drivers is 340.52. Would a new graphics card driver solve the problem?

  • I get problem loading page (error 404) it says the page cannot be found when i try to access the game Mobsters through my mysapce account and i cannot access it no longer through firefox and i want to find out why i cant, can you guys please help?

    i cant access my mobsters account through myspace. every time i try to access it i get "problem loading page" "this page cannot be found" "404 error" and it wont let me access it. myspace works fine but as soon as i click on the mobsters app i get the 404 error, this page cannot be found, problem loading page! can you please help?
    == This happened ==
    Every time Firefox opened
    == i try to access mobsters game through myspace

    I dont understand the answer
    '''''""The problem can be solved by opening FF and choosing Tools...Add On's...select the SEARCH addon and choose UNINSTALL...restart FF browser when asked, then reload Mobsters. This worked for me. The suggestion on the 404 that says to remove Search via Add/Remove Programs is completely BS, as Search doesnt show there. ""'''''

  • Getting problem while posting Invoice

    Hi all,
            Ofcourse this problem is related functional thing, i am posting in ABAP group. we are getting problem while posting invoice through f-43 transaction. The error is "Fiscal year 0000 not allowed for year-dependent commitment items". Please let me know if u have any solution.
    Thanks in advance.
    chandrasekhar.

    Hi chandrasekhar,
    pls post some infos:
    1) application aerea of the message and message no.
    2) document date / posting date
       and ohter date-fileds of the document
    3) SAP-Release
    Have you search in SAP-OSS with the message no. or
    message text ?
    regards Andreas

  • Urgent, Please help me in this problem.I am getting problem while installation

    I am using Windows 8 in my system. I am trying to install Sql Server in system . Everything is fine, but finally  when i click on install button i am getting the following error .
    please help me quickly. I well be thankful to you.

    Triple post meanwhile:
    http://social.msdn.microsoft.com/Forums/en-US/7fafa499-ca1e-42f7-a117-73df924d9847/urgent-please-help-me-in-this-problemi-am-getting-problem-while-installation?forum=sqlsetupandupgrade
    http://social.msdn.microsoft.com/Forums/en-US/a1c7978c-2f84-495f-a8b6-9e9fe46654d7/getting-problem-while-installing-sql-server-2012?forum=sqlsetupandupgrade
    Olaf Helper
    [ Blog] [ Xing] [ MVP]

  • Adobe Photoshop CC worked one time? Now get Problem Report Error?

    Adobe Photoshop CC worked one time? Now get Problem Report Error?  tried for 3 days to get working... Help!  please

    I dug a wee bit deeper and thanks to
    Sami Vuoritie 1 month ago
    I was able to fix it. In Filebrowser-view I had a coverflow-preview mode on. Changing it to list-mode problems are gone!
    hope this works for you M00ch?

  • Getting Problem while publishing Problem while publishing java.lang.IllegalArgumentExcep

    getting Problem while publishing Problem while publishing java.lang.IllegalArgumentExcep while deploying persistance with ejb sample application into cloud. can any one please tell me why i am getting this?

    Hi Goutham,
    I am facing the same issue. Please let me know how you have resolved it.

  • Getting problem with handset

    hello i have nokia e71 now i getting problem with it. my mobile phone switches doesn't work.when i try to receive any call but mobile screen it's automatically disappered. evenif i press any key to open my contect menu but i coun't open it as well. so can u reply what i should do.

    Does ur phone contain a large no of msg? If yes pls bring them down to 500 or less. Remove sim & memory card & connect ur phone to charger when u try this.
    Please mark the post as solution if it solves your problem.
    Current Device - Nokia Lumia 1020/920

  • Getting problem with DOMImplementation classes method getFeature() method

    hi
    getting problem with DOMImplementation classes method getFeature() method
    Error is cannot find symbol getFeature()
    code snippet is like...
    private void saveXml(Document document, String path) throws IOException {
    DOMImplementation implementation = document.getImplementation();
    DOMImplementationLS implementationLS = (DOMImplementationLS) (implementation.getFeature("LS", "3.0"));
    LSSerializer serializer = implementationLS.createLSSerializer();
    LSOutput output = implementationLS.createLSOutput();
    FileOutputStream stream = new FileOutputStream(path);
    output.setByteStream(stream);
    serializer.write(document, output);
    stream.close();
    problem with getFeature() method

    You are probably using an implementation of DOM which does not implement DOM level-3.

  • Getting problem while installing Snow Leopard (10.6.3) on my Mac Mini. The following issue is showing :  "mac os x snow leopard cannot be installed on this computer"  And My Mac Configuration details:  Model Name: Mac Mini Model Identifier: Macmini2,1

    Getting problem while installing Snow Leopard (10.6.3) on my Mac Mini. The following issue is showing : 
    "mac os x snow leopard cannot be installed on this computer" 
    And My Mac Configuration details:  Model Name: Mac Mini Model Identifier: Macmini2,1
    Intel Core 2 Duo
    1.83Ghz
    l2Cache: 2mb
    Memory : 2GB
    Bus Speed: 667MHz
    Please help me......
    Thanks

    Actually i have Mac OS X 10.5.4 DVD, I need to upgrade it to Snow Loepard(OS X 10.6)...
    Please suggest me what to do???
    Thanks

  • I am getting problem with internal table & work area declaration.

    I am working with 'makt' table ..with the table makt i need to work with styles attributes ..so i declared like this
    TYPES : BEGIN OF ty_makt,
             matnr TYPE makt-matnr,
             spras TYPE makt-spras,
             maktx TYPE makt-maktx,
             maktg TYPE makt-maktg,
             celltab TYPE lvc_t_styl,
           END OF ty_makt.
    DATA : i_makt TYPE TABLE OF ty_makt.
    DATA : wa_makt TYPE ty_makt .
        But end of program i need to update dbtable "makt"...i am getting problem with internal table & work area declaration.
    i think makt table fields mapping and internal table/work area mapping is not correct. so please help me to get out from this.

    Hi Nagasankar,
    TYPES : BEGIN OF TY_MATNR,
                  MATNR TYPE MAKT-MATNR,
                  SPRAS TYPE MAKT-SPRAS,
                  MAKTX TYPE MAKT-MAKTX,
                  MAKTX TYPE MAKT-MAKTG,
                  CELLTAB TYPE LVC_T_STYL,  " Its Working perfectly fine..
                 END OF TY_MAKT.
    DATA: IT_MAKT TYPE STANDARD TABLE OF TY_MAKT,
              WA_MAKT TYPE TY_MAKT.
    Its working perfectly fine. if still you are facing any issue post your complete code.
    Thanks,
    Sandeep

  • Help my music wont play. Diamond on the bar doesnt even move. I have just authorised and downloaded itunes 10 after my last harddrive crashed and imported my purchases so I didnt think I'd get problems...

    Cant get music to play. It's all there but the diamond on the bar doesnt even move, I can place it in the middle of the song but when I press play it goes back to the beginning and nothing!
    If it helps I have just authorised a new computer and downloaded itunes 10 after my last hard drive crashed and then I imported my purchases from itunes cloud so I didnt think I'd get problems...
    Can anyone help?
    Sorry may have posted this incorrectly - first time in the communities area.

    http://www.apple.com/support/mac/app-store/contact.html?form=account

  • Getting problem of printing currency and qty

    Hi friends,
                        I have done smartform and using standard program with out creating 'Z' program(driver program).
    This smartform and standard program attached in nace.
    Now i am getting problem as follows.....
    Currency is indian currency then it is coming correctly.
    If currency indonesia or or other than indian currency then the value showing like inplace of ',' it is showing '.'
    and inplace of '.' it is showing ','.
    Ex: 1.234.345,00
    if i take delivery details in indian currency then in layout currency is showing correctly.
    I am not getting any idea to overcome from this problem.
    Same like as Quantity also facing problem.
    I have tried as
    in the user profiles i changed and i checked. Even though same problem coming.
    So if any one knows solution pls guide me.
    pls pls pls guide me and give me solution.
    Thanks & Regards,
    Lokesh Goud

    it's related to recipient's COUNTRY (table T005X).
    For example, an invoice addressed to a US customer will have decimal separator will be a point and date format will be MM/DD/YYYY. If it's a French customer, decimal separator will be a comma and date format will be DD.MM.YYYY.
    This is technically achieved using SET COUNTRY abap statement which is defined in "initialization" abap code in the smart form.
    Start an SQL trace (ST05) on buffered tables, generate spool again, stop trace, display it and look for "T005X", then click "source" button which will display the source that runs SET COUNTRY statement.
    Edited by: Sandra Rossi on Jan 2, 2010 10:20 PM ==> TABLE T005X
    Edited by: Sandra Rossi on Jan 5, 2010 10:44 AM ==> I made many confusions with language key... corrected by country key.

  • I keep getting "Problem during delivery processing" messages

    This morning I started getting "Problem during delivery processing" messages like this one...

    Same problem here. And i can't fine apple support contact for submit this problem. Bad bad bad bad support page appe .

  • Ockeim getting problem in imovie & iphoto update.my 1st id is bld,i changed my id but during update it is showing my previous id.please help me how should i update my app by new id.

    im getting problem in imovie & iphoto update.my 1st id is blocked,i changed my id but during update it is showing my previous id.please help me how should i update my app with my new id.

    Contact App Store support. There's a link on the right hand side of the App Store Window. They're the only ones who can sort out account issues.

Maybe you are looking for

  • Dbconsole with multiple instances on the same server?

    Hi! I have a LINUX server running 2 separate instances - csp1 and csp2. I have a repository in csp1 and the dbconsole running for csp1. Now I need to find out if / how I can get the dbconsole running for the csp2 instance. This is Oracle standard edi

  • What is the memory concept u201CExport to memory idu201D.

    Hello Experts!!! I am new in OOPS programing. Can please somebody tell me what is the memory concept u201CExport to memory idu201D. Also it will make my life so easy if can have few simple examples. Thanks.

  • Missing Printer Jobs Info in Mtn Lion

    I frequently keep two printers going.  They do not operate at the same speed, and one is sometimes tied up on other tasks like scanning, so I want to be able to track pending jobs -- how many of the 18 copies are left to print on one, and how many of

  • Query string with flash lite, possible?

    I searched the net and Adobe website, read the complete i-mode document provided by Docomo (on adobe site) and couldn't find any information on the subject. I'm trying to figure out if this is something specific to the Japanese market or all flash li

  • How SAP Charge for their product ?

    Hi All, Today I and My friend had a little fiery chat on how sap charge their customers for R/3 and so on...? 1. For product license and number of users license (or), 2. For product license alone (or), 3. For product license and number of users licen