Getting "java.io.EOFException" while reading a file

I am getting this error when trying to upload a file through the html form to the server.
I am using Struts form and the FormFile to get the file contents. After getting the file contents I write to a file in the server path. This works perfectly with WebSphere4.0.
When I deploy my application in Websphere 6.0 cluster environment I get the following error.
java.io.EOFException
     at java.io.DataInputStream.readFully(DataInputStream.java(Compiled Code))
     at java.io.DataInputStream.readInt(DataInputStream.java(Compiled Code))
     at java.io.ObjectInputStream$BlockDataInputStream.readInt(ObjectInputStream.java(Inlined Compiled Code))
     at java.io.ObjectInputStream.readInt(ObjectInputStream.java(Compiled Code))
     at com.ibm.ws.webcontainer.httpsession.HttpSessDRSBuffWrapper.readExternal(HttpSessDRSBuffWrapper.java(Compiled Code))
     at java.io.ObjectInputStream.readExternalData(ObjectInputStream.java(Compiled Code))
     at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java(Compiled Code))
     at java.io.ObjectInputStream.readObject0(ObjectInputStream.java(Compiled Code))
     at java.io.ObjectInputStream.readObject(ObjectInputStream.java(Compiled Code))
     at java.util.Hashtable.readObject(Hashtable.java(Compiled Code))
     at sun.reflect.GeneratedMethodAccessor1637.invoke(Unknown Source)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java(Compiled Code))
     at java.lang.reflect.Method.invoke(Method.java(Compiled Code))
     at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java(Compiled Code))
     at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java(Compiled Code))
     at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java(Compiled Code))
     at java.io.ObjectInputStream.readObject0(ObjectInputStream.java(Compiled Code))
     at java.io.ObjectInputStream.readObject(ObjectInputStream.java(Compiled Code))
     at com.ibm.ws.drs.message.DRSCacheMsgImpl.readExternal(DRSCacheMsgImpl.java(Compiled Code))
     at java.io.ObjectInputStream.readExternalData(ObjectInputStream.java(Compiled Code))
     at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java(Compiled Code))
     at java.io.ObjectInputStream.readObject0(ObjectInputStream.java(Compiled Code))
     at java.io.ObjectInputStream.readObject(ObjectInputStream.java(Compiled Code))
     at com.ibm.ws.drs.message.DRSMessageHelper.extractDCM(DRSMessageHelper.java(Compiled Code))
     at com.ibm.ws.drs.ha.DRSAgentClassEvents$2.run(DRSAgentClassEvents.java(Compiled Code))
     at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java(Compiled Code))
Any help is appreciated.
Thanks
Ganesh...

while((obj=input.readObject())!=null)and what's this test for? Where does it say that readObject() can return null? Is it really the correct test for what you're testing for?

Similar Messages

  • Move to new computer, get "An error occurred while reading files or writing files to disc. The disc

    I tried to move my PE6 install and catalog to a new computer.  It was on a Dell Windows XP machine, and I moved it to a Toshiba Windows 7 (64 bit) machine.  I have always kept my photo files on an external hard drive.  My photo library is 50GB, 10,000 files.  Here is what I did.
    Copied the original PE6 install file to the Toshiba.  Installed but didn’t activate it.
    Copied the entire My Catalog folder to the proper Windows 7 location.
    Plugged the external drive into the Toshiba.  Made sure the same drive letter as before (E).
    Fired up PE6 on Toshiba.  Looked good in Organizer.  Everything seemed to be there, but I didn't try to make changes at that point.
    Deactivated PE6 on the Dell.  Activated on the Toshiba.
    Then I realized that it is not right.  I can edit Keywords and Rating stars on the pics, but not dates, captions or notes.  I get “An error occurred while reading files or writing files to disc. The disc may be full or there may be problems with the source media.”
    Only a fraction of the external drive is in use.
    I can access the files on the external drive with another app (Windows Photo Viewer).
    I tried Reconnect All Missing Files.  Somewhat ambiguously, it says “There are no files to reconnect.”
    In the properties in the Organizer for each picture are the proper file names and paths.  Folder view works fine in Organizer.
    I can put new files in the same external drive directories, import them into PE6, then edit them normally.
    What is the easiest way to get Organizer properly connected to my files?  I suppose I could reimport all the pics on the new machine, but I assume I'd lose some of my metadata.  So that is out of the question.
    Thanks,
    Bill

    Are you sure that file paths are correct? I say this because under XP they would have originally pointed to Documents & Settings/My Pictures whereas on W7 it will be User/Pictures, albeit you are using an external hd.
    Take a look at this knowledge base note on the correct procedure for back-up and restore.
    I think writing metadata to files for such a large catalog will be a thankless task.
    http://helpx.adobe.com/photoshop-elements/kb/backup-restore-move-catalog-photoshop.html

  • Problem  while reading XML file from Aplication server(Al11)

    Hi Experts
    I am facing a problem while  reading XML file from Aplication server  using open data set.
    OPEN DATASET v_dsn IN BINARY MODE FOR INPUT.
    IF sy-subrc <> 0.
        EXIT.
      ENDIF.
      READ DATASET v_dsn INTO v_rec.
    WHILE sy-subrc <> 0.
      ENDWHILE.
      CLOSE DATASET v_dsn.
    The XML file contains the details from an IDOC number  ,  the expected output  is XML file giving  all the segments details in a single page and send the user in lotus note as an attachment, But in the  present  output  after opening the attachment  i am getting a single XML file  which contains most of the segments ,but in the bottom part it is giving  the below error .
    - <E1EDT13 SEGMENT="1">
      <QUALF>001</QUALF>
      <NTANF>20110803</NTANF>
      <NTANZ>080000</NTANZ>
      <NTEND>20110803<The XML page cannot be displayed
    Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later.
    Invalid at the top level of the document. Error processing resource 'file:///C:/TEMP/notesD52F4D/SHPORD_0080005842.xml'.
    /SPAN></NTEND>
      <NTENZ>000000</NTENZ>
    for all the xml  its giving the error in bottom part ,  but once we open the source code and  if we saved  in system without changing anything the file giving the xml file without any error in that .
    could any one can help to solve this issue .

    Hi Oliver
    Thanx for your reply.
    see the latest output
    - <E1EDT13 SEGMENT="1">
      <QUALF>003</QUALF>
      <NTANF>20110803</NTANF>
      <NTANZ>080000</NTANZ>
      <NTEND>20110803</NTEND>
      <NTENZ>000000</NTENZ>
      <ISDD>00000000</ISDD>
      <ISDZ>000000</ISDZ>
      <IEDD>00000000</IEDD>
      <IEDZ>000000</IEDZ>
      </E1EDT13>
    - <E1EDT13 SEGMENT="1">
      <QUALF>001</QUALF>
      <NTANF>20110803</NTANF>
      <NTANZ>080000</NTANZ>
      <NTEND>20110803<The XML page cannot be displayed
    Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later.
    Invalid at the top level of the document. Error processing resource 'file:///C:/TEMP/notesD52F4D/~1922011.xml'.
    /SPAN></NTEND>
      <NTENZ>000000</NTENZ>
    E1EDT13 with QUALF>003 and  <E1EDT13 SEGMENT="1">
    with   <QUALF>001 having almost same segment data . but  E1EDT13 with QUALF>003  is populating all segment data
    properly ,but E1EDT13 with QUALF>001  is giving in between.

  • Getting java.io.IOException: Too many open files+ClassNotFoundException

    Dear All
    We have a web application deployed on Rational Application Developer 6.0 (Operating System is Windows 2000 professional) our users are randomly getting java.io.IOException: Too many open files+ClassNotFoundException when they click on some servlet or jsp link, but they are getting this error randomly for example when they click some link they may get these exceptions but refreshing page or clicking once again on same link executes servlet successfully.If anyone could help on this topic we will be grateful
    Thanks

    I think this these two exceptions are occuring in differrent environment
    java.io.IOException is occuring under heavy load to web server its stack trace is as follows:
    JSPG0225E: An error occurred at line: 2 in the statically included file: /SessionCheck.jsp
    JSPG0093E: Generated servlet error from file: /Admin/AdminInsuranceCertificates.jsp
    E:\WebSphere_6\AppServer\profiles\AUSECert\temp\centraNode04\server1\AUSECert\Vero.war\Admin\_AdminInsuranceCertificates.java:259: cannot access com.bplus.natmar.LoginDetails
    bad class file: E:\WebSphere_6\AppServer\java\jre\lib\core.jar(java/io/Writer.class)
    unable to access file: E:\WebSphere_6\AppServer\profiles\AUSECert\installedApps\centraNode04Cell\AUSECert.ear\Vero.war\WEB-INF\classes\com\bplus\natmar\LoginDetails.class (Too many open files)
    Please remove or make sure it appears in the correct subdirectory of the classpath.
    (source unavailable)
    1 error
    ]: com.ibm.ws.jsp.JspCoreException: JSPG0049E: /Admin/AdminInsuranceCertificates.jsp failed to compile :
    this error always occurs in reference to logindetails class this clas is used to make a session check on different roles in our project for e.g., user having end user role should not be able to log in as a user having admin role
    we have included a sessioncheck.jsp in our every jsp page in this jsp we have simply used logindetails class as useBean and called its getresource() method
    above stacktrace is from our live application server
    while testing same project on our local system we are not getting too many open files exception but we are getting following ClassNotFoundException
    [11/30/05 17:11:42:797 EST] 0000004a SystemOut O SELECT count(*) as NoofRecs FROM resourcerolebindings WHERE ResourceName = 'mainEdit.jsp' and IsEndUser=1
    [11/30/05 17:12:50:891 EST] 000001eb SystemOut O SELECT count(*) as NoofRecs FROM resourcerolebindings WHERE ResourceName = 'InsuranceCertificates.jsp' and IsEndUser=1
    [11/30/05 17:17:40:828 EST] 0000008d SystemOut O AppURL is: http://www.VeroECert.com/Vero/indexU.jsp
    [11/30/05 17:17:58:141 EST] 0000008b SystemOut O SELECT count(*) as NoofRecs FROM resourcerolebindings WHERE ResourceName = 'InsuranceCertificates.jsp' and IsEndUser=1
    [11/30/05 17:20:41:703 EST] 00000034 ServletWrappe E SRVE0026E: [Servlet Error]-[com.servlet.UserHelpServlet]: java.lang.ClassNotFoundException: com.servlet.UserHelpServlet
         at com.ibm.ws.classloader.CompoundClassLoader.findClass(CompoundClassLoader.java(Compiled Code))
         at com.ibm.ws.classloader.CompoundClassLoader.loadClass(CompoundClassLoader.java(Compiled Code))
         at java.lang.ClassLoader.loadClass(ClassLoader.java(Compiled Code))
         at java.beans.Beans.instantiate(Beans.java:202)
         at java.beans.Beans.instantiate(Beans.java:63)
         at com.ibm.ws.webcontainer.servlet.ServletWrapper$3.run(ServletWrapper.java:1384)
         at com.ibm.ws.security.util.AccessController.doPrivileged(AccessController.java(Compiled Code))
         at com.ibm.ws.webcontainer.servlet.ServletWrapper.loadServlet(ServletWrapper.java(Compiled Code))
         at com.ibm.ws.webcontainer.servlet.ServletWrapper.initialize(ServletWrapper.java:1312)
         at com.ibm.wsspi.webcontainer.extension.WebExtensionProcessor.createServletWrapper(WebExtensionProcessor.java:84)
         at com.ibm.ws.webcontainer.extension.InvokerExtensionProcessor.handleRequest(InvokerExtensionProcessor.java:238)
         at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:2841)
         at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:220)
         at com.ibm.ws.webcontainer.VirtualHost.handleRequest(VirtualHost.java:204)
         at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java(Compiled Code))
         at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java(Compiled Code))
         at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java(Compiled Code))
         at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java(Compiled Code))
         at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java(Compiled Code))
         at com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueManager.java(Compiled Code))
         at com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueueManager.java(Compiled Code))
         at com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueueManager.java(Compiled Code))
         at com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worker.run(WorkQueueManager.java(Compiled Code))
         at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java(Compiled Code))
    this error is occuring on concurrent clicks suppose three users click on same button then it is possible that one user gets correct output while other users experience this exception
    Also one more point we are not using web.xml for calling servlets we are directly calling it giving its full path.
    Thanks

  • Error while reading wsdl file

    I created and deployed a BPEL process with a JMS adapter and DB adapter.
    I have tested this and it works fine.
    After a few days, I try to open the project and the BPEL process, and click on the DB
    adapter and it throws an exception on the designer :
    "Error while reading wsdl file ... (wsdl file name) NULL Exception"
    This is hard to debug as the exception does not provide any info, NULL.
    This has happened several times for my project. The next time the JMS adapter hit the
    same exception while opening on designer. This one I notice happened after I imported
    a new schema file (xsd) into the BPEL process.
    Only way around that I have for this currently is to delete and recreate the adapters, which as time
    consuming as I have to re-create and re-assign a lot of the activities.
    Has anyone encountered this and is there a way to fix this without deleting/recreating the adapters ?
    Thanks.

    I experienced the same issue and found the cause and a workaround;
    "Error while reading wsdl file …. Exception: null"
    http://www.petervannes.nl/files/b7c08911ce3cde3677e2182bbc5f032a-47.php
    Edited by: 944333 on Jul 3, 2012 10:24 PM

  • Ignoring last 2 lines while reading the file

    Hi All,
    I have a file structure as mentioned below :
    ab
    ab
    ab
    ab
    =======
    =
    While reading a file , i need to ignore the last 2 lines . How to achieve this using FCC parameters.
    Regards
    Vinay P.

    Hi,
    I am not aware of any parameters in FCC to ignore last lines but work around can be :
    You may create one structure to read last 2 lines if depending on file structure and ignore it in mapping (map all records except this structure).
    Regards,
    Beena.

  • I get an error message while converting the file. you do not have the privilege to make changes. I get this message when I try to import a music CD

    I get an error message while converting the file. you do not have the privilege to make changes. I get this message when I try to import a music CD

    Hey amba1015,
    I found an article that talks about similar error messages in relation to importing an audio CD. Check out the recommended troubleshooting steps in here to see if they help:
    Trouble adding music to iTunes library or importing audio CD
    http://support.apple.com/kb/TS1387
    Welcome to Apple Support Communities!
    Have a good one,
    Delgadoh

  • Java.io.EOFException while deploying RPD in OBIEE Cluster using Mbean

    I am using oracle.biee.admin:type=BIDomain.BIInstance.ServerConfiguration,biInstance=coreapplication,group=Service to deploy RPD on a clustered environment with 3 servers, I get the following error, it works fine on a single host, any clue ?
    Connecting using URL: service:jmx:t3://xxxxxxx/jndi/weblogic.management.mbeanservers.domainruntime ...
    Transaction addAvayaRepository failed with error: ; nested exception is:
    java.io.EOFException, review log to fix issue and re-execute.
    weblogic.rjvm.PeerGoneException: ; nested exception is:
    java.io.EOFException
            at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:237)
            at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:223)
            at javax.management.remote.rmi.RMIConnectionImpl_1036_WLStub.invoke(Unknown Source)
            at weblogic.management.remote.common.RMIConnectionWrapper$16.run(ClientProviderBase.java:918)
            at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
            at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:146)
            at weblogic.security.Security.runAs(Security.java:61)
            at weblogic.management.remote.common.RMIConnectionWrapper.invoke(ClientProviderBase.java:916)
            at javax.management.remote.rmi.RMIConnector$RemoteMBeanServerConnection.invoke(RMIConnector.java:1017)
            at com.avaya.reporting.bi.config.MBeanTransaction.invoke(MBeanTransaction.java:374)
            at com.avaya.reporting.bi.config.MBeanTransaction.invoke(MBeanTransaction.java:349)
            at com.avaya.reporting.bi.config.MBeanTransaction.doDomainCall(MBeanTransaction.java:314)
            at com.avaya.reporting.bi.config.MBeanTransaction.lockDomain(MBeanTransaction.java:290)
            at com.avaya.reporting.bi.config.MBeanTransaction.execute(MBeanTransaction.java:200)
            at com.avaya.reporting.bi.config.MBeanConfigExecutor.execute(MBeanConfigExecutor.java:147)
            at com.avaya.reporting.bi.config.RunBIConfig.runXmlTransaction(RunBIConfig.java:127)
            at com.avaya.reporting.bi.config.RunBIConfig.runConfig(RunBIConfig.java:99)
            at com.avaya.reporting.bi.config.RunBIConfig.main(RunBIConfig.java:84)
    Caused by: java.io.EOFException
            at weblogic.rjvm.t3.MuxableSocketT3.endOfStream(MuxableSocketT3.java:345)
            at weblogic.socket.SocketMuxer.deliverExceptionAndCleanup(SocketMuxer.java:827)
            at weblogic.socket.SocketMuxer.deliverEndOfStream(SocketMuxer.java:761)
            at weblogic.socket.SocketMuxer.readReadySocketOnce(SocketMuxer.java:958)
            at weblogic.socket.SocketMuxer.readReadySocket(SocketMuxer.java:889)
            at weblogic.socket.JavaSocketMuxer.processSockets(JavaSocketMuxer.java:339)
            at weblogic.socket.SocketReaderRequest.run(SocketReaderRequest.java:29)
            at weblogic.work.ExecuteRequestAdapter.execute(ExecuteRequestAdapter.java:21)
            at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:145)
            at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:117)

    Thanks for your replies !!
    In any of the RPD deployments I'm getting the same error , not for some particular RPD .
    FYI , yesterday (before this issue) I had a issue with starting presentation services , so as adviced in forum I replaced the files sawguidstate and sawguidstate.atrin the location:
    <Instance_Home>\instances\<instance_name>\bifoundation\OracleBIPresentationServicesComponent\coreapplication_obips1\catalog\<project>\root\system\mktgcache\<name>
    with the same files from a backup or from another working OBIEE 11g (11.1.5)instance.
    plese refer : Re: Unable to start presentation services , in OBIEE 11g
    Is this causing the deployment issue ?

  • Got problem in tomcat while read xml file..

    hi' i just wondering, why i always got his exception, i just want to read this file
    java.io.FileNotFoundException: C:\Program Files\netbeans-5.5\enterprise3\apache-tomcat-5.5.17\bin\dbconfig.xml (The system cannot find the file specified)
         at java.io.FileInputStream.open(Native Method)......How to read dbconfig.xml??
    Right now i put dbconfig.xml in /webapps/myapp/web-inf/classes/dbconfig.xml. but i always got that exception, why??
    if i put my dbconfig.xml in apache-tomcat-5.5.17\bin directory (see exception...), i got no exception.
    So, is there anyway to read dbconfig.xml while i put it in /webapps/myapp/web-inf/classes/ directory?
    This is my code :
    public UserWrapper(){
            builder = new SAXBuilder();
            try {
                doc = builder.build(new File("dbconfig.xml"));
                rootElement = doc.getRootElement();
                System.out.println(rootElement.getChildText("db-driver"));
            } catch (JDOMException e) {
                e.printStackTrace();
            } catch (IOException e) {
                e.printStackTrace(); 
        }   Thanks a lot..

    The JVM looks for files relative to the pwd or directory in which it was started. For Tomcat it is the bin directory. That is why it can find dbconfig.xml in the bin directory but not the classes directory.
    You have two choices.
    1; give the path to the file inth eclasses directory. You can use the ServletContext getRealPath method to build this path.
    2: Since the file is in the classpath you can use the Class getResourceAsStream method to get an InputStream to the file. Then see if the SAXBuilder class has an api that takes an InputStream.

  • Getting java.io.FileNotFoundException: Too many open files

    I have search for different strings in a file again and again. I am using following code:
    try
                   fileReaderObject = new BufferedReader(new FileReader(fileObject));          
                   String inputLine;
                   while ((inputLine = fileReaderObject.readLine()) != null)     
                        if (zipCode.equalsIgnoreCase(inputLine.split("\t")[0]))
                             s = inputLine;     
                             fileReaderObject.close();
                             return s;
                   fileReaderObject.close();
              catch (Exception e)
                   Utils.writeMessage(e.toString());               
                   e.printStackTrace();               
              }But getting java.io.FileNotFoundException:file/emp_info (Too many open files)
    1. Whats the main reason of this exception and how can it be removed.
    2. Is there any way to move the pointer to the start of the file. I tried reset() but its seems to have some problem.
    -vc

    A hint: your fileReaderObject is not closed if an exception occurs.
    Lacking desctructors, the Java-ish way is to close in a finally clause.

  • How to get ALL validate-errors while insert xml-file into xml_schema_table

    How to get all validate-errors while using insert into xml_schema when having a xml-instance with more then one error inside ?
    Hi,
    I can validate a xml-file by using isSchemaValid() - function to get the validate-status 0 or 1 .
    To get a error-output about the reason I do validate
    the xml-file against xdb-schema, by insert it into schema_table.
    When more than one validate-errors inside the xml-file,
    the exception shows me the first error only.
    How to get all errors at one time ?
    regards
    Norbert
    ... for example like this matter:
    declare
         xmldoc CLOB;
         vStatus varchar
    begin     
    -- ... create xmldoc by using DBMS_XMLGEN ...
    -- validate by using insert ( I do not need insert ;-) )      
         begin
         -- there is the xml_schema in xdb with defaultTable XML_SCHEMA_DEFAULT_TABLE     
         insert into XML_SCHEMA_DEFAULT_TABLE values (xmltype(xmldoc) ) ;
         vStatus := 'XML-Instance is valid ' ;
         exception
         when others then
         -- it's only the first error while parsing the xml-file :     
              vStatus := 'Instance is NOT valid: '||sqlerrm ;
              dbms_output.put_line( vStatus );      
         end ;
    end ;

    If I am not mistaken, the you probably could google this one while using "Steven Feuerstein Validation" or such. I know I have seen a very decent validation / error handling from Steven about this.

  • Problem While reading a file in text mode from Unix in ECC 5.0

    Hi Experts,
    I am working on Unicode Upgrade project of ECC5.0.
    Here i got a problem with reading a file format which it does successfully in 4.6 and not in ECC5.0
    My file format was as follows:
    *4 000001862004060300000010###/#######L##########G/##########G/########
    It was successfully converting corresponding field values in 4.6:
    *4
    00000186
    2004
    06
    03
    00000010
    25
    0
    4
    0
    54.75
    0
    54.75
    0.00
    While i am getting some problem in ECC5.0 during conversion of the above line:
    *4 000001862004060300000010###/#######L##########G/##########G/########
    it was consider in the same # values.
    I have used the following statement to open and read dataset.
    OPEN DATASET i_dsn IN LEGACY TEXT MODE FOR INPUT.
    READ DATASET i_dsn INTO pos_rec.
    Thanks for your help.
    Regards,
    Gopinath Addepalli.

    Hi
          You might be facing this problem because of uni code. So while opening or reading the file, there is a statement call ENCODING. Use that option and keep the code page which you want. Then the problem may be solved.
    Thanks & Regards.
    Harish.

  • Error while reading CPS file in jar

    Hi,
    I am getting error :-
    Error while initializing CAZM Factory : CardAuthorizationManagerFactory : getFactory : in one of my class in WSAD
    Root cause i guess its not reading CPS file which is there in one of the jar file.
    Please help me to get solution.
    Regards,
    Divya

    I am also using a raw file destination using a variable.
    I have set DelayValidation = true on both the DataFlow task and even the Sequence Container.
    I get the same error when I run the entire ssis package, however
    when I run the individual container or individual task it runs without an error.
    Also, something interesting is the error is not the same path as the variable name.
    Warning: The system cannot find the file specified.
    Error: File "C:\Users\MyName\AppData\Local\Temp\GUIDNumber\\RawFileName" cannot be opened for reading. Error may occur when there are no privileges or the file is not found. Exact cause is reported in previous error message.
    The variable is "C:\Temp\ProjectName\RawFileName"
    I have other RawFile sources in this same project, but only this one file is giving me grief.
    Any other suggestions?  Is this a bug?
    Have you set an expression for connection string property of raw file? Is it based on variable/expression or configuration? If yes, check the value of variable/ expression or configuraton item at runtime by putting a breakpoint in the pre execute event of task
    and make sure path value its getting is correct. It may be that path is getting a different value at runtime due to expression/configuration set for it.
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • Facing issue while reading XML file 'LPX-00217: '

    Hi Gurus,
    I am facing one issue while reading the xml file in the one my 11g database instance. The same file if I ran in another instance then it is working fine for me.
    I presume it will be related to NLS character. Please help me in finding out character set.
    And the issue where I am getting instance character set is 'US7ASCII', and I am not getting this issue in another instance where the character set is 'UTF8'.
    And here is the issue I am getting when I was trying to load that file.
    Error Occurred :=ORA-31011: XML parsing failed
    ORA-19202: Error occurred in XML
    processing
    LPX-00217: invalid character 150 (U+0096)
    Error at line 1
    Pls help me in debugging this issue.
    Regards,
    Nagendra
    Edited by: 838961 on Jul 12, 2011 9:32 PM

    Hi,
    Pls help me in debugging this issue.There's not much to debug actually.
    The US7ASCII charset stores 7-bit characters, but you're trying to insert a value out of range (150). So that's expected behaviour.
    There were some "tricks" to allow that on some versions, using NLS settings, but it's definitely not the clean way to do it so I won't develop.
    The best thing you have to do is to migrate to character set AL32UTF8, which is fully compliant with XML.

  • Not recognizing # while reading the file from application server

    Hi
    I am reading a file from application server. While reading into internal table with read statement the last field in each record is filling with hash symbol in the last digit. If I write any if condition with HASH symbol its not going inside the if condition, means its not recognizing as hash may be its internally treating as some other. I need to remove the hash from that field. How I can do that.
    Thanks,
    kishore

    I faced exact situation. Yes, internally its treated as some other special character. What i did was, becuase hash symbol was always coming at the end...i created a dummy field in my internal table so that it will not interfere with my actual data. When i see the data in my internal table, the hash always falls in the last field (dummy) which i will ignore. I could not get solution to remove this hash so i adopted this approach and it worked!!
    Hope it helps,
    SKJ

Maybe you are looking for

  • User log in not functioning on remote server

    I have a site that works wonderfully on my MAMP localhost server.  However, when exported to awardspace.com server, some of the php isnt working properly... For instance, when I try to log in as a user, I get Warning: mysql_select_db() expects parame

  • Mackbook pro 15'' a1226, problem in the video chip, PLEASE HELP!

    Hello, my name is Carlos Garcia from Chile, I have a 15'' Mackbook pro model a1226, no Series. w8******x91, everything was fine until one day when you turn off, no more picture tube, the machine turns on and even boot the OS, but does not generate im

  • While loop is not working properly

    Dear all, I have a procedure which takes data form other tables and fill one table. See partial code DECLARE --  WELLS CURSOR c_well IS SELECT * FROM   well where well_s = 3419740 -- Welltest CURSOR c_welltest ( v_well_s NUMBER ) IS SELECT * FROM   w

  • Cannot log in usinf amadmin

    Something is very strange. I cannot log in as amadmin using amconsole, but when I use full DN, like uid=amadmin,ou=people,.... using amconsole, I am able to log in. Can somebody help me what might be wrong here?

  • HELP BT HomeHub 5 Wifi Problems

    Hi, Today I got a Bt Home Hub 5 and the Wifi Signal is awful, first I thoguht it was the line but I plugged in my old Home Hub 3, on the same Channel and the wireless speed was perfect, I plugged in the Open Reach 3B into the Home Hub 5 and it increa