FTP send to VAN process generates error after rename attempt on file already moved to an archive.

I am sending an EDI file to a server managed by a VAN (This same process handles multiple other FTP locations, first VAN), what is happening is that after the file is dropped the FTP adapter does a rename and tries to add the file extension .edi to the file.
The problem is that the VAN moves the file as soon as it is received to an archive and by the time the adapter tries to rename the file is gone and an error is sent back to BizTalk.
The file is in the VAN fine and according to them they don't care about missing a file type.
The problem is that I start getting the suspended messages in BizTalk and I have a manual process that tries to resend suspended messages causing duplicate files to be sent.
I tried to issue a "QUIT" on the "AFTERPUT" property but this did not work, how do I stop BizTalk from trying to rename the file or tell BizTalk not to send a "fail" message back.
Thanks   
Bico Bielich

Duplicate thread, see here:
https://social.msdn.microsoft.com/Forums/en-US/e7130b69-22c9-45b3-b369-9a207cbc16b5/error-renaming-file-being-dropped-in-ftp-server-of-a-van-?forum=biztalkgeneral

Similar Messages

  • Deploy occurs errors after rename project.

    deploy occurs errors after rename project.
    local project (in JAVA perspective refactor->rename)
    then rebuild,create,deploy.an erros occurs:
    2009-5-19 9:35:35 /userOut/deploy (com.sap.ide.eclipse.sdm.threading.DeployThreadManager) [Thread[Deploy Thread,5,main]] ERROR:
    [013]Deployment aborted
    Settings
    SDM host : 10.98.3.59
    SDM port : 50018
    URL to deploy : file:/C:/DOCUME1/ADMINI1/LOCALS~1/Temp/temp6550783345363564101WYJ_WD_FlightList.ear
    Result
    => deployment aborted : file:/C:/DOCUME1/ADMINI1/LOCALS~1/Temp/temp6550783345363564101WYJ_WD_FlightList.ear
    Aborted: development component 'WYJ_WD_FlightList'/'local'/'LOKAL'/'0.2009.05.19.09.30.59'/'0':
    Caught exception during application deployment from SAP J2EE Engine's deploy service:
    java.rmi.RemoteException: Cannot deploy application local/WYJ_WD_FlightList.. Reason: Clusterwide exception: Failed to deploy application local/WYJ_WD_FlightList. Check causing exception for details (trace file). Hint: Are all referenced components deployed and available on the engine?; nested exception is:      com.sap.engine.services.deploy.container.DeploymentException: Clusterwide exception: Failed to deploy application local/WYJ_WD_FlightList. Check causing exception for details (trace file). Hint: Are all referenced components deployed and available on the engine?
    (message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.performAction(DeploymentActionTypes).REMEXC)
    Deployment exception : The deployment of at least one item aborted
    Can anyone help me?
    thanks a lot!

    Thanks for Rajat Jain  and Umang Mathur  's answers 。
    the demo project can be download in SDN::TutWD_FlightList.zip   
    before i sign this thread ,i've followed the issue : (project folder,.project file )
    Rename package for an existing Web Dynpro App
      tips:if i only change .project file,i can not import the project.
    but these do not work。it shows the same erros.
    after then i just try to redo this in the other way: (in java perspective ,refactor->rename)。
    it shows the same errors.
    my environment:
    studio:Version: 7.0.11
    JAVA AS:7.00 sp18

  • Cisco SSL VPN "The following error occurred while attempting the file operation: Unable to view the contents of the Domain/Workgroup. "

    Hey People, 
    Ive set up an SSL Clientless VPN on the Cisco 2821. Ive set up WINS, and the NBNS entries in the VPN config. When i log onto the VPN , i can access the file servers by typing in their names in the network fi
    le box, but when i click browse network and select the network name i get the following message
    "The following error occurred while attempting the file operation:
    Unable to view the contents of the Domain/Workgroup. "
    Has anyone come accross this before?
    Im using Windows Server 2008R2 for the DC, Windows Server 2003 R2 For WINS and File Sharing. 
    The connection goes WAN->BROADBANDROUTER>CISCO2821
    Any helo would be much greatly appreciated. 
    Thanks in advance! 

    Please see old threads which discuss the same topic -- http://forums.oracle.com/forums/search.jspa?threadID=&q=An+error+occurred+while+attempting+to+establish+an+Applications+File+Server+connection+with+the+node&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    Thanks,
    Hussein

  • Receiving CS0246 error after renaming solution and project.

    I am receiving this error...
    Server Error in '/RCIS.Mapping.WebApplications' Application.
    Compilation Error
    Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately. 
    Compiler Error Message: CS0246: The type or namespace name 'MappingServicesWebApplications' could not be found (are you missing a using directive or an assembly reference?)
    Source Error:
    Line 26: using System.Web.Optimization;
    Line 27: using System.Web.Routing;
    Line 28: using MappingServicesWebApplications;
    Line 29:
    Line 30:
    Source File: c:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\rcis.mapping.webapplications\4e36dc23\d07c1fd0\App_Web_index.cshtml.a8d08dba.0ryezucn.0.cs    Line: 28 
    Show Detailed Compiler Output:
    Show Complete Compilation Source:
    Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.34237
     after renaming the Solution and project from "MappingServicesWebApplications" to "RCIS.Mapping.WebApplications"
    I've searched the entire solution and can not find the text "MappingServicesWebApplications"
    anywhere...the solution builds fine, this is only happening at runtime...I'm not sure where to look for what is generating this text?

    Hi T junky,
    Glad to see this issue has been resolved and thank you for sharing your solutions here.It will be very beneficial for other community members who
    have similar questions.
    Have a nice day,
    Jack
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Portal runtime error after modifying masthead par file

    Hi experts,
    i tried to upload com.sap.portal.navigation.masthead.par in the portal (productive system) after modifying tooltip text of u201CHelpu201D link. i used Archive uploader.
    After upload, status messages are correct.
    But now in the masthead area, i have red message :
    "Portal runtime error"
    "An exception occurred while processing your request"
    I cannot also access the Browse Deploymentu2026
    So now i cannot log off from the portal (except by restart computer)
    In development system where I used the same procedure, everything is OK.
    Please help!

    Dev,
    Please ensure that the changes are correct by to upload the orignial par.
    The other way of modifying the par is as below,
    *Upload the PAR into NWDS and add the jars htmlb.jar, com.sap.portal.htmlb_api.jar and servlet.jar through java build path of your par project and add the jar com.sap.portal.navigation.masthead_core.jar (you can get this by extracting your par and navigate to the folder PORTAL-INF -> lib) in PORTAL-INF -> lib folder of your project.
    Make changes
    Build project
    Export into portal
    Ram

  • Oracle 9i export error after running catexp.sql file

    After running catexp.sql file in oracle 9i 9.2.0.7.0 as system user,it gives the following error while logging
    ORA-04020: deadlock detected while trying to lock object SYS.DBMS_STANDARD
    please help me..............

    "catexp.sql" is to be run by SYS AS SYSDBA.
    You'd have to cleanup any extra objects that you created in the SYSTEM account.
    Why did you think that you needed to run "catexp.sql" ? Are you exporting using 9i exp against a 10g database or against a 9i database ?

  • File sync error after renaming jpg file on desktop

    I changed the file name of a photo in my desktop backup of my Treo 755p photos from the default format of Photo_[date]_xyz.jpg to Matisse by fire2_101208.jpg.
    The path is:
    C:\Program Files\Palm\[username]\Photos\offline copy location\7dba\Palm on Card\Matisse by fire2_101208.jpg
    Now I get the following error after hotsync.
    Unable to sync media file 'Matisse by fire2_101208.jpg' on desktop. Error code: 32.
    OK Media with 1 message(s)
    I also changed two others to  
    Matisse by fire1_101208.jpg and
    Matisse by fire3_101208.jpg
    but am not getting errors on those.
    I can open the file specified so I don't think it is corrupted.
    I'm using Hotsync 6.0.1.
    I could not find error 32 anywhere. Is ther a list of all the Hotsync errors somewhere?
    Any ideas?
    Thanks,
    Don
    Post relates to: Treo 755p (Sprint)
    Post relates to: Treo 755p (Sprint)

    as far as i understood the explanation, you renamed the picture manually by going into the path that you stated in your post right?
    when your rename the file, have you check if it did show the file extensions?
    try to reveal the file extensions by going back to the location (folder). click on tools>folder options>view>uncheck hide extensions for known file types.
    then click ok. try to see on what's the difference in the 3 files you mentioned. i suspect that the erring file has 2 jpeg extensions on it.
    Post relates to: Treo 680 (Unlocked GSM)

  • Error after renaming web item

    After renaming a web item in the Web Application Designer I get the following error message:
    E360 bi-tag bi:item has unknown attribute key; please check your spelling
    As far as I can tell there is nothing wrong with the new name.
    Does anybody know what is causing this and what to do about it?
    Thanks,
    József.

    Hello József
    I don't know why this error appears, but you can get rid of the error message if you do the following steps:
    - switch to XHTML-View in your webtemplate
    - click on 'bi:item' in the error message to jump to the error
    - delete key="" from the source-code of your webitem
    - switch back to Layout-View. The error-message should no longer appear
    To avoid this in future, maybe you should apply the latest frontend patch. I can't reproduce the error with support package 12.
    Best regards
    Martin Rapp

  • Actionlist Error after download attempt

    What do I do if I get an actionlist error after attempting to download adobe?

    Download the FULL offline installer. Bypass the "Downloader/Installer":
    Flash Player for ActiveX (Internet Explorer)
    Flash Player Plug-in (All other browsers)
    Flash Player (Mac OS X)

  • "Adobe CFC Generator" error "cannot find ide_config.xml file"

    Hi there
    Yesterday I downloaded a CF Builder 2 Trial. I install in my machine I am running CF 9.01 Dev version.
    When I try install "Adobe CFC Generator" extension "cannot find ide_config.xml file"
    I try to find some fix. but I can't.
    Some Ideas thank you!!

    With ColdFusion Builder 2, CFC Generator was intended to be removed.However mistakenly, CFC Generator was removed only partially.
    If you want to use:
    Plesae download it from: http://adobecfcgenerator.riaforge.org/
    Or If you have ColdFusion  Builder 1 or ColdFusion  Builder 2 Beta installation:
    You can take it from <ColdFusion Builder 1 or ColdFusion Builder 2 Beta Install Dir>\extensions      and deploy it to your server instead of using the incorrectl installed CFC Generator.
    Thanks,
    Krishna

  • Process Chain error after Enpk1(7.01) upgrade - "Termination discovered"

    Hello We have upgraded our BW from 7.0 to  Enhpk1 (7.01) with latest stack.
    After our upgrade I'm seeing our Process chain when a step errors out and there is a next step to continue with always link inspite of the error in prev step, but  the Process chain does not continue and hangs and when checking the log it gives a prompt of "Termination discovered"
    Gives a prompt something like this
    "The analysis of chain ZP_MD_OTHER_CUST showed that process
    ODSACTIVAT ZP_MD_OTHER_CUST_ACTV was terminated However the
    occur) or a metachain Run 4KFMOYW9CGL10CGCQV2ZL691R could
    not be ended due to the termination. It may be the case that
    a metachain was not informed about the error Continue run
    for chain ZP_MD_OTHER_CUST and any corresponding metachain?"
    with yes or No prompt
    So the chain hangs and does continue only after we enter Yes to the prompt.
    We are in Q testing the upgrade this can be big issue when we dont our chain to hang for something that we want to continue always.
    Opened a msg with SAP, they got back say its because of note 1398868 in the support pack, asked us to implement the manual update on RSADMIN and apply another note 1473491 - Chain not continued with termination and "ALWAYS" link.
    But this has not fixed the issue, Have notified back to them and waiting.
    If any of you have encountered this and resolved . pl let me know.
    Thanks
    Mayil

    Since you just upgraded the source SAP system, it's likely that the delta queue doesn't exist for the data and has to be re-initialized. I'd suggest doing an Init w/o Data Transfer and do a Full Repair extraction to catch up on any missed data. From then on, you shouldn't have an issue with your Delta mode extraction from the source system.

  • Excel generated errors after completion of VI

    Hello everybody..
    I created a VI that using activeX it opens an excel file from desktop, renames the worksheet "sheet1", and closing as well as saving the changes. It works ok, then  i open the excel file to see the changes , and when i close it it gives an error message "excel has created errors and will be closed bywindows" etc,etc.
    I guess it's something to do with the order i close the automation references, but after a lot of tries no luck...
    I am using LV7.1 and MS office excel 2000.
    If anyone can help me please do...
    Thanx a lot for your time guys...
    Yiannis
    I attach the vi if anyone wants to try it out!!
    Attachments:
    problem.vi ‏64 KB

    Hi all. I have almost the same problem again, but now I can’t
    tackle it for the moment.
    I created this vi which is part of another vi, and it does
    this:
    It creates a new excel at the first run, name it month.xls (June,
    July etc.) and it renames the worksheet according to the date e.g. 25 June
    2008. It closes all refnums and applications. Then in 20 seconds (for debug
    reasons) it checks the date. If the PC clock is set to another date it checks
    the month if it’s the same it adds another worksheet to the previous excel, if
    its another month it creates a new excel and so on. If anyone wants to run it
    he has to change the date in this 20 seconds that the loop waits.
    Problem: Excel stays in memory and you have to kill it from
    Task manager to open the created excel. I can’t see the problem since I close
    all references and quit the application at the end. I post this question if
    anyone wishes to help. Thank you very much in advance guys.
    PS. LV7.1 MS Excel 2000 (with service packs).
    Cheers
    Yiannis
    Attachments:
    excelmemoryprob.vi ‏123 KB

  • Destroying tooltips generates error after 4

    I am working on an instruction page for a Flex 3 app. I have
    a clickable list of navigation tool names; descriptions for each
    tool appear when the user clicks on the name. I also want to
    display a tooltip for the navigation tool when the user clicks.
    Code summary (see attached code for details):
    Set variables for the 7 tool tips.
    Call function to destroy any tooltip that exists.
    On listitem click: 1. Call function to distroy any tooltip
    that exists. 2. Call function to create the approprate tooltip.
    The application works through 3 calls to the destroy
    function. On the fourth call (3rd listitem click), I get the
    following error:
    ArgumentError: Error #2025: The supplied DisplayObject must
    be a child of the caller.
    at flash.display::DisplayObjectContainer/getChildIndex()
    at mx.managers::SystemManager/
    http://www.adobe.com/2006/flex/mx/internal::rawChildren_getChildIndex()[C:\autobuild\3.2.0 \frameworks\projects\framework\src\mx\managers\SystemManager.as:2113
    at
    mx.managers::SystemChildrenList/removeChild()[C:\autobuild\3.2.0\frameworks\projects\fram ework\src\mx\managers\SystemChildrenList.as:132]
    at
    mx.managers::SystemManager/removeChildFromSandboxRoot()[C:\autobuild\3.2.0\frameworks\pro jects\framework\src\mx\managers\SystemManager.as:4418]
    at
    mx.managers::ToolTipManagerImpl/destroyToolTip()[C:\autobuild\3.2.0\frameworks\projects\f ramework\src\mx\managers\ToolTipManagerImpl.as:1259]
    at
    mx.managers::ToolTipManager$/destroyToolTip()[C:\autobuild\3.2.0\frameworks\projects\fram ework\src\mx\managers\ToolTipManager.as:436]
    This error is related to the number of times the destroy
    function is called, not to which tooltip create function was called
    or to the order of the listitem clicks.
    Any ideas?

    "nnmmooppqq" <[email protected]> wrote in
    message
    news:gq6hou$rcr$[email protected]..
    > Thanks for the reply. I can't just let Flex handle it
    because the exact
    > text
    > and the tool tip to be visible is handled through an XML
    feed. So I have
    > to
    > read XML and set variables based on that content.
    I don't understand why you think this is incompatible with
    allowing the
    framework to do what it was designed to do.
    > Again, my problem is that the fourth time the
    destroyToolTip method is
    > called,
    > I get an error. Any ideas?
    Yes. Tooltips aren't intended to be used this way, so you're
    probably doing
    something that's running afoul of the way things are supposed
    to be done and
    everything is exploding in your face.

  • Error after deploying a war file on Portal Server 6

    Hi All,
    I have successfully deployed one war file on Sun Java System Portal Server 6.When I put a portlet using the channel mgmt. it gives the following exception in the AccessManager--->Debug--->Helloworld file::::
    TIME | LOGGER NAME | LEVEL | THREAD ID | MESSAGE | EXCEPTION
    2006/05/24 13:08:18.765 GMT+05:30 | null | LOG | service-j2ee-5 | Logger begins | -
    2006/05/24 13:08:18.765 GMT+05:30 | null | LOG | service-j2ee-5 | Logger log level set to: SEVERE | -
    2006/05/24 13:14:00.187 GMT+05:30 | null | SEVERE | Thread-97 | PortletAppEngineServlet.HandleError()() - Error: null | LifecycleManagerImpl.getPortlet(), can not get portlet.
    x -----------------------------------------------------------------------------
    X javax.portlet.PortletException: LifecycleManagerImpl.getPortlet(), can not get portlet.
    X      at com.sun.portal.portletappengine.impl.LifecycleManagerImpl.getPortlet(LifecycleManagerImpl.java:163)
    X      at com.sun.portal.portletappengine.PortletAppEngineServlet.service(PortletAppEngineServlet.java:195)
    X      at javax.servlet.http.HttpServlet.service(HttpServlet.java:908)
    X      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:772)
    X      at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:628)
    X      at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:539)
    X      at com.sun.portal.container.portlet.impl.PortletContainer.invokePAE(PortletContainer.java:409)
    X      at com.sun.portal.container.portlet.impl.PortletContainer.getMarkup(PortletContainer.java:180)
    X      at com.sun.portal.providers.window.WindowProvider.getPortletContent(WindowProvider.java:386)
    X      at com.sun.portal.providers.window.WindowProvider.getContentInternal(WindowProvider.java:239)
    X      at com.sun.portal.providers.window.WindowProvider.getContent(WindowProvider.java:204)
    X      at com.sun.portal.desktop.context.ReusableProviderCaller.run(ReusableProviderCaller.java:160)
    X -----------------------------------------------------------------------------
    2006/05/24 13:14:06.343 GMT+05:30 | null | SEVERE | Thread-98 | PortletAppEngineServlet.HandleError()() - Error: null | LifecycleManagerImpl.getPortlet(), can not get portlet.
    x -----------------------------------------------------------------------------
    X javax.portlet.PortletException: LifecycleManagerImpl.getPortlet(), can not get portlet.
    X      at com.sun.portal.portletappengine.impl.LifecycleManagerImpl.getPortlet(LifecycleManagerImpl.java:163)
    X      at com.sun.portal.portletappengine.PortletAppEngineServlet.service(PortletAppEngineServlet.java:195)
    X      at javax.servlet.http.HttpServlet.service(HttpServlet.java:908)
    X      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:772)
    X      at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:628)
    X      at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:539)
    X      at com.sun.portal.container.portlet.impl.PortletContainer.invokePAE(PortletContainer.java:409)
    X      at com.sun.portal.container.portlet.impl.PortletContainer.getMarkup(PortletContainer.java:180)
    X      at com.sun.portal.providers.window.WindowProvider.getPortletContent(WindowProvider.java:386)
    X      at com.sun.portal.providers.window.WindowProvider.getContentInternal(WindowProvider.java:239)
    X      at com.sun.portal.providers.window.WindowProvider.getContent(WindowProvider.java:204)
    X      at com.sun.portal.desktop.context.ReusableProviderCaller.run(ReusableProviderCaller.java:160)
    X -----------------------------------------------------------------------------
    2006/05/24 13:14:07.984 GMT+05:30 | null | SEVERE | service-j2ee-2 | PortletAppEngineServlet.HandleError()() - Error: null | LifecycleManagerImpl.getPortlet(), can not get portlet.
    x -----------------------------------------------------------------------------
    X javax.portlet.PortletException: LifecycleManagerImpl.getPortlet(), can not get portlet.
    X      at com.sun.portal.portletappengine.impl.LifecycleManagerImpl.getPortlet(LifecycleManagerImpl.java:163)
    X      at com.sun.portal.portletappengine.PortletAppEngineServlet.service(PortletAppEngineServlet.java:195)
    X      at javax.servlet.http.HttpServlet.service(HttpServlet.java:908)
    X      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:772)
    X      at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:628)
    X      at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:539)
    X      at com.sun.portal.container.portlet.impl.PortletContainer.invokePAE(PortletContainer.java:409)
    X      at com.sun.portal.container.portlet.impl.PortletContainer.getMarkup(PortletContainer.java:180)
    X      at com.sun.portal.providers.window.WindowProvider.getPortletContent(WindowProvider.java:386)
    X      at com.sun.portal.providers.window.WindowProvider.getContentInternal(WindowProvider.java:239)
    X      at com.sun.portal.providers.window.WindowProvider.getEdit(WindowProvider.java:211)
    X      at com.sun.portal.desktop.taglib.provider.GetEditTag.doStartTag(GetEditTag.java:23)
    X      at jspsC0003a._Sun._PortalServer._config._desktop._sampleportal_en_US._JSPEditContainer._html._edit_jsp._jspService(_edit_jsp.java:218)
    X      at com.sun.portal.providers.jsp.jasper3.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
    X      at javax.servlet.http.HttpServlet.service(HttpServlet.java:908)
    X      at com.sun.portal.providers.jsp.JspServletWrapper.service(JspServletWrapper.java:182)
    X      at com.sun.portal.providers.jsp.JSPProvider.processJspFile(JSPProvider.java:896)
    X      at com.sun.portal.providers.jsp.JSPProvider.processJspFile(JSPProvider.java:810)
    X      at com.sun.portal.providers.jsp.JSPProvider.getEdit(JSPProvider.java:630)
    X      at com.sun.portal.desktop.DesktopServlet.doGetPost(DesktopServlet.java:590)
    X      at com.sun.portal.desktop.DesktopServlet.service(DesktopServlet.java:281)
    X      at javax.servlet.http.HttpServlet.service(HttpServlet.java:908)
    X      at org.apache.catalina.core.StandardWrapperValve.invokeServletService(StandardWrapperValve.java:771)
    X      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:322)
    X      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
    X      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:212)
    X      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
    X      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:209)
    X      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
    X      at com.iplanet.ias.web.connector.nsapi.NSAPIProcessor.process(NSAPIProcessor.java:161)
    X      at com.iplanet.ias.web.WebContainer.service(WebContainer.java:580)
    X -----------------------------------------------------------------------------
    Looking at this exception if anyone has got the idea about this problem then please let me know the solution for the same.All suggestions are welcome.
    Thanx and Regards,
    Chirag.

    Hi jmendelak,
    In the warfile i have jsp,servlets,java classes.
    In my working directory i have jsp and html files and in web-inf folder i have a folder by name classes in which i have the servlets and java classes.
    I made the war file and when i tried to deploy i was getting this error.
    I had previously deployed this war file on weblogic6.1 it was working fine.
    I have upgraded my operating sytem to Windows2000 professional from WinNT 4.0.I reinstalled the weblogic again and had set up the environment variables.
    After going through the error could you find out the reason?Is it because some seeting is missing?
    Raji

  • Getting an Error after reading a excel file

    hi
    I am reading a excel file using POI
    my code is
    package businessLogic;
    import java.io.FileInputStream;
    import java.io.IOException;
    import java.io.InputStream;
    import org.apache.poi.hssf.eventusermodel.HSSFEventFactory;
    import org.apache.poi.hssf.eventusermodel.HSSFListener;
    import org.apache.poi.hssf.eventusermodel.HSSFRequest;
    import org.apache.poi.hssf.record.BOFRecord;
    import org.apache.poi.hssf.record.BoundSheetRecord;
    import org.apache.poi.hssf.record.LabelSSTRecord;
    import org.apache.poi.hssf.record.NumberRecord;
    import org.apache.poi.hssf.record.Record;
    import org.apache.poi.hssf.record.RowRecord;
    import org.apache.poi.hssf.record.SSTRecord;
    import org.apache.poi.poifs.filesystem.POIFSFileSystem;
    * This example shows how to use the event API for reading a file.
    public class EventExample implements HSSFListener
    private SSTRecord sstrec;
    * This method listens for incoming records and handles them as required.
    * @param record The record that was found while reading.
    public void processRecord(Record record)
         try
    switch (record.getSid())
    // the BOFRecord can represent either the beginning of a sheet or the workbook
    case BOFRecord.sid:
    BOFRecord bof = (BOFRecord) record;
    if (bof.getType() == bof.TYPE_WORKBOOK)
    System.out.println("Encountered workbook");
    // assigned to the class level member
    } else if (bof.getType() == bof.TYPE_WORKSHEET)
    System.out.println("Encountered sheet reference");
    break;
    case BoundSheetRecord.sid:
    BoundSheetRecord bsr = (BoundSheetRecord) record;
    System.out.println("New sheet named: " + bsr.getSheetname());
    break;
    case RowRecord.sid:
    RowRecord rowrec = (RowRecord) record;
    System.out.println("Row found, first column at " + rowrec.getFirstCol() + " last column at " + rowrec.getLastCol());
    break;
    case NumberRecord.sid:
    NumberRecord numrec = (NumberRecord) record;
    System.out.println("Cell found with value " + numrec.getValue()+ " at row " + numrec.getRow() + " and column " + numrec.getColumn());
    break;
    // SSTRecords store a array of unique strings used in Excel.
    case SSTRecord.sid:
    sstrec = (SSTRecord) record;
    for (int k = 0; k < sstrec.getNumUniqueStrings(); k++)
    System.out.println("String table value " + k + " = " + sstrec.getString(k));
    break;
    case LabelSSTRecord.sid:
    LabelSSTRecord lrec = (LabelSSTRecord) record;
    System.out.println("String cell found with value " + sstrec.getString(lrec.getSSTIndex()));
    break;
         catch(Exception ex)
    * Read an excel file and spit out what we find.
    * @param args Expect one argument that is the file to read.
    * @throws IOException When there is an error processing the file.
    public static void main(String[] args) throws IOException
    // create a new file input stream with the input file specified
    // at the command line
         try
              FileInputStream fin = new FileInputStream("C:/FTERPending/FTER format.xls");
              // create a new org.apache.poi.poifs.filesystem.Filesystem
              POIFSFileSystem poifs = new POIFSFileSystem(fin);
              //      get the Workbook (excel part) stream in a InputStream
              InputStream din = poifs.createDocumentInputStream("Workbook");
              // construct out HSSFRequest object
              HSSFRequest req = new HSSFRequest();
              // lazy listen for ALL records with the listener shown above
              req.addListenerForAllRecords(new EventExample());
              // create our event factory
              HSSFEventFactory factory = new HSSFEventFactory();
              //      process our events based on the document input stream
              factory.processEvents(req, din);
              // once all the events are processed close our file input stream
              fin.close();
              // and our document input stream (don't want to leak these!)
              din.close();
              System.out.println("done.");
         catch(Exception ex)
    It prints correctly the output at the console and after that it throws an exception as
    java.lang.reflect.InvocationTargetException
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
         at java.lang.reflect.Constructor.newInstance(Unknown Source)
         at org.apache.poi.hssf.record.RecordFactory.createRecord(RecordFactory.java:224)
         at org.apache.poi.hssf.eventusermodel.HSSFEventFactory.genericProcessEvents(HSSFEventFactory.java:183)
         at org.apache.poi.hssf.eventusermodel.HSSFEventFactory.processEvents(HSSFEventFactory.java:101)
         at businessLogic.EventExample.main(EventExample.java:103)
    Caused by: java.lang.ArrayIndexOutOfBoundsException
         at java.lang.System.arraycopy(Native Method)
         at org.apache.poi.hssf.record.UnknownRecord.<init>(UnknownRecord.java:62)
         at org.apache.poi.hssf.record.SubRecord.createSubRecord(SubRecord.java:57)
         at org.apache.poi.hssf.record.ObjRecord.fillFields(ObjRecord.java:99)
         at org.apache.poi.hssf.record.Record.fillFields(Record.java:90)
         at org.apache.poi.hssf.record.Record.<init>(Record.java:55)
         at org.apache.poi.hssf.record.ObjRecord.<init>(ObjRecord.java:61)
         ... 8 more
    I am not getting why this exception is cming
    can anyone help me pls reply

    Does your Excel file has the "AutoFilter" activated?
    If that is the problem, you have here a solution for reading a file with AutoFilter : http://article.gmane.org/gmane.comp.jakarta.poi.user/4690

Maybe you are looking for

  • Search Suggestions and Past Searches are not prolific as it is used to be.

    In the latest version of Firefox, the search suggestions and the search history are only a few items. There used to be a scroll bar and also a separator to distinguish between our past searches and google search suggestions. There seems to be a chang

  • Monitor Adaptor Cable for 2008 Macbook Pro

    I need an adaptor cable to hook up my 2008 Macbook Pro to a new 21" HP monitor. My Macbook Pro does not have the Mini DisplayPort. Any other suggestions? The monitor came with a PC VGA and DVI-D cable. Thanks!

  • Which ups is the best for imac ?????

    I have imac 3.06GHz core 2 Duo, memory 4GB 1067 MHz DDR3, I want to buy ups, that contains auto  closed, and have voltage stabilizers. which is the best ups for my imac? thanks a lot

  • Show description of a material

    Hi experts, I am wondering if it's possible to show the description of a material when you introduce the material number and press INTRO. If I change this material number and press INTRO again I would like to refresh the new description. The restrict

  • Problem with springlayout

    I'm pretty new in java programming and just got a question. I used one of the spring layout exampels on java.sun.com and wanted to develop it a little. Just to put another JLabel into the JFrame. Here is my code import javax.swing.SpringLayout; impor