Problem in loading few jsp files

Hi,
I am facing problem in loading very few jsp pages. The situation is something like this.
Server: WebSphere
I have a top frame and bottom frame.
When the user keep on clicking the same link in the top frame, not giving time to get loaded in bottom frame,
on the server the error "Servlet Error: Connection reset by peer: socket write error: java.net.SocketException: Connection reset by peer: socket write error" was coming.
My bother is not on the server-side. but on the client side.
On the client side, the html of two requests are getting overlapped and displaying(see at the end for sample output of html). In this HTML, if you observe, you can find the line "Error 500: Connection reset by peer: socket write error
". Above to this is the half-content of the previous request and bellow is the actual page need to be loaded. And the output was a merge of actual page with the code of the previous request.
Is it the problem of Websphere or coding?
Can you help me resolving this problem?
thanks
naveen
Output HTML (for example):
     Contract Name:</td>
     <td class="Label" ><input type="text" id="contractName"
size="25" maxlength = "100"></td>
     <td class="Label" >Owner:</td>
     <td class="Label" colspan="2"><select id="owner" class="Label"
size="1" style="WIDTH:200px">
     <option value="_______________">_____________</option>
     </select></td>
               </td>
Error 500: Connection reset by peer: socket write error
<html>
<head>
<title> welcome </title>
<link rel="STYLESHEET" type="text/css" href="Scripts/SSheet.css">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<!-- This .js script files contains all components, which is used -->
.... and so on
</html>

Hi
I have Observed that "java.net.SocketException: Connection reset by peer" is caused due to manual malfunction performed by the user in the browser like sending multiple request to the server stopping, moving forward, moving backward when a request is placed to the server and waiting for it to get it done.
More clearly if the User Selected an option from the browser and send a request to the server and followed by sending another request immediately to the server and by this time Server is processed the first request and is started writing the result to the JSP/Browser (Same client), by this time the 2nd reqest from the same Browser/Client is interrupted the first one and ohhhhhhh..... problem , you got an error "java.net.SocketException: Connection reset by peer".
If any one could figure out more Please update me too appreciate !
[email protected]
Sr. Software Architect

Similar Messages

  • Unable to load the '.jsp' file

    Hi all,
              We use Weblogic 8.1 sp3 and are devloping a struts based application.
              I have deployed my 'ear' file (containing a '.war' and a '.jar' file). We use struts. Our '.war' file, contains the pre-compiled 'jsp' classes (we have changed our web.xml to indicate that we are using pre-compiled jsps. I can show my web.xml file if you need).
              When I click on my 'submit' button, I see that my action class has been invoked and it's spitting out messages to the stdout. Everything looks fine. But, when it is trying to load the '.jsp', I get the following error.
              <b>
              Error 500--Internal Server Error
              javax.servlet.ServletException: [HTTP:101249][ServletContext(id=20736651,name=gta,context-path=/gta)]: Servlet class jsp_servlet._presentation._jsp.__link for servlet /presentation/jsp/Link.jsp could not be loaded because the requested class was not found in the classpath C:\bea\8.1sp3\user_projects\domains\gta\gtaServer\stage\_appsdir_gta_ear\gtaweb.war;C:\bea\8.1sp3\user_projects\domains\gta\.\gtaServer\.wlnotdelete\extract\gtaServer__appsdir_gta_ear_gta\jarfiles\WEB-INF\lib\commons-beanutils20573.jar;C:\bea\8.1sp3\user_projects\domains\gta\.\gtaServer\.wlnotdelete\extract\gtaServer__appsdir_gta_ear_gta\jarfiles\WEB-INF\lib\commons-collections20574.jar;C:\bea\8.1sp3\user_projects\domains\gta\.\gtaServer\.wlnotdelete\extract\gtaServer__appsdir_gta_ear_gta\jarfiles\WEB-INF\lib\commons-digester20575.jar;C:\bea\8.1sp3\user_projects\domains\gta\.\gtaServer\.wlnotdelete\extract\gtaServer__appsdir_gta_ear_gta\jarfiles\WEB-INF\lib\commons-fileupload20576.jar;C:\bea\8.1sp3\user_projects\domains\gta\.\gtaServer\.wlnotdelete\extract\gtaServer__appsdir_gta_ear_gta\jarfiles\WEB-INF\lib\commons-lang20577.jar;C:\bea\8.1sp3\user_projects\domains\gta\.\gtaServer\.wlnotdelete\extract\gtaServer__appsdir_gta_ear_gta\jarfiles\WEB-INF\lib\commons-logging20578.jar;C:\bea\8.1sp3\user_projects\domains\gta\.\gtaServer\.wlnotdelete\extract\gtaServer__appsdir_gta_ear_gta\jarfiles\WEB-INF\lib\commons-validator20579.jar;C:\bea\8.1sp3\user_projects\domains\gta\.\gtaServer\.wlnotdelete\extract\gtaServer__appsdir_gta_ear_gta\jarfiles\WEB-INF\lib\jakarta-oro20580.jar;C:\bea\8.1sp3\user_projects\domains\gta\.\gtaServer\.wlnotdelete\extract\gtaServer__appsdir_gta_ear_gta\jarfiles\WEB-INF\lib\jstl20581.jar;C:\bea\8.1sp3\user_projects\domains\gta\.\gtaServer\.wlnotdelete\extract\gtaServer__appsdir_gta_ear_gta\jarfiles\WEB-INF\lib\standard20582.jar;C:\bea\8.1sp3\user_projects\domains\gta\.\gtaServer\.wlnotdelete\extract\gtaServer__appsdir_gta_ear_gta\jarfiles\WEB-INF\lib\struts20583.jar;C:\bea\8.1sp3\user_projects\domains\gta\.\gtaServer\.wlnotdelete\extract\gtaServer__appsdir_gta_ear_gta\jarfiles\_wl_cls_gen.jar.
              java.lang.ClassNotFoundException: jsp_servlet._presentation._jsp.__link.
                   at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:824)
                   at weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:535)
                   at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:373)
                   at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:463)
                   at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:315)
                   at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:312)
                   at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1069)
                   at org.apache.struts.tiles.TilesRequestProcessor.doForward(TilesRequestProcessor.java:274)
                   at org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:455)
                   at org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(TilesRequestProcessor.java:320)
                   at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:279)
                   at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
                   at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
                   at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
                   at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
                   at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:996)
                   at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:419)
                   at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:315)
                   at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6452)
                   at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
                   at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
                   at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3661)
                   at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2630)
                   at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
                   at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
              </b>
              I have looked in the '.war' file and it contains the above mentioned precompiled class (_link).
              Could anyone point me in the right direction??

    Hi,
              Could you check that whether the jsp file is placed in right place or not ?
              Regards
              Anilkumar kari

  • Loading of JSP files run as rwservlet.

    When I look at the trace file of the .jsp report run as rwservlet, I noticed that a major percent of time is spent in the generation and creation of JSP parser and XML definitions.
    How can I pre-compile and load the class files rather than compiling and loading every time the report is accessed? Is there a setting in the config file or a command line option?

    Murali,
    You are right, a precomplie option would be available in next release
    Thanks
    The Oracle Reports team

  • Problem while loading a jar file into database

    Hi All,
    We are using Oracle 8.1.5 in Solaris. When I try to load a jar file into the database by using loadjava it gives the following error
    Error while processing jar cryptix32.jar
    Exception java.io.IOException: Load Java is unable to handle compressed entries: cryptix/provider/Cryptix.class
    loadjava: 1 errors
    Can anybody suggest anything to overcome this. Thanks in advance.

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by John Emmer ([email protected]):
    I presume you've tried creating the jar w/o compressing it? If not, and even if you didn't create the jar, then first unpack the jar into a directory and re-jar it without using compression.<HR></BLOCKQUOTE>
    Hi John,
    Thanks for your help. I unpacked the jar and rhen re-jared it with -0 (uncompress ) option. The above error is gone. But I am getting another problem. I am getting the following error for all the classes except the property files.
    Error while resolving class cryptix/cryptix/provider/cipher/Rijndael
    ORA-04043: object cryptix/cryptix/provider/cipher/Rijndael does not exist
    But the class is there in the jar. I am able to load single individual classes. Can anybody help me in this matter. Thanks in advance.

  • Problem with loading Danish dictionaries files.

    Hi,
    I want use Danish spell check for my project and when my app start load
    spell check files I get exception. Files are here http://www.stavekontrolden.dk/main/top/index.php.
    Please tell me is thare any way to use Danish spell check in flex application?
    And alos I can't find Finnish spell check that I could use with flex.
    Is flex support Finnish spell check ?? If no will flex support it?
    Error decription:
    Main Thread (Suspended: Error: null cannot be parsed to a squiggly dictionary)
    Thanks,
    Vladimir

    As Ned said the problem might be with the file structure on the server. Other problems may be with spelling. You computer may not be case sensitive to the names of the .swf files that you are loading, but your server might. So, on your computer when you are testing, second.swf is the same as Second.swf, or even second.SWF. But, on the server each of these variations is seen as a different file. Another problem is that when you are loading files from the same computer in testing, those files are close and so they load very quickly from your computer. When the files have to travel from the server, there will likely be a measurable period of time before the file is ready to be shown. This is particularly problematic with video that is embedded into an .swf. The whole file will need to be downloaded and uncompressed before it is available to play. If you stream the video as an external file, you can shorten the wait considerably.

  • Problem on reload a JSP file in Tomcat 3.3.1

    I have a problem about Tomcat 3.3.1
    I am developing a JSP application,
    but Tomcat not recompile the JSP file after i modify it.
    I need to "wait" the tomcat recompile it, so i can see the change.
    This make the development really difficult...
    Do I miss some important step on config Tomcat 3.3.1
    how to force it to detect a newer version JSP in every request ??
    Thanks

    I believe there is a way to configure Tomcat to do this, but I don't know what it is.
    Until someone can tell you the configuration steps, here is a workaround. Tomcat keeps the Java source and class files for your JSP code somewhere under its "work" directory. Find those files and delete them, which will force it to re-compile.

  • Problem when load more swf files work with xml files into my movie

    hi ;
    I have one flash file & more of swf files which work with xml files .
    when I load one swf file into my flash file  and remove it and load anther one on the same movieclip in my flash file it load the old swf file.
    when i load one on movieclip and remove it and load anther swf  on anther movieclip the file doesn`t work  and stoped.
    when test my flash file to load and remove swf files without xml file it work fine but when repleaced the swf files with other work with xml files the problem hapend.
    thanks;

    YOu should trace the names of the files that are being targeted for loading to see if they agree with what you expect.  If you want help with the coding you will need to show the code that is relevant to your problem (not all of it)

  • Problem with loading a Sequence File - Limited Windows Account

    Dear Sirs,
    I have a problem and a very less time to fix it; so I'm asking for your kind help.
    I have a production PC, with a Debug Deploy License of TS 3.1 and LV 7.1; the operating system is Win XP SP2.
    No problem when I login the session with my Administrator Windows Account; on the contrary, when I try to login with a Limited Windows Account, I'm not able to load my Sequence File, and the text appearing is attached to this message.
    Someone can advise me a solution to quickly solve my problem?
    Thank you very much and Best Regards.
    Stefano 
    Attachments:
    TS_error_winXP_login_limited_account.jpg ‏224 KB

    Stefano,
    if you open files in TestStand, TestStand tracks this in different configuration files (for example for the "most recently used" list). Therefore, TestStand tries to save these changes in the ini-files. It seems to me, that the installationdirectory of TestStand is not permitted to be used for writing for your user login in Windows.
    So you have different solutions here, the simpliest being:
    Give your user the right to write files into the < TestStand >\-folder.
    hope this helps,
    Norbert B.Message Edited by Norbert B on 11-16-2006 07:28 AM
    CEO: What exactly is stopping us from doing this?
    Expert: Geometry
    Marketing Manager: Just ignore it.

  • Problems with load DSO from file

    I am working with BI 7.0.
    I am loading data from file to DSO and my problem is that data is not active in my DSO, the data are loaded how New Data and I haven´t the data in query and DSO.
    The settings of my dso are:
    Type: standard
    SIDs Generation upon Activation: X
    Set Quality Status to 'OK' Automatically: X
    Activate Data Automatically: X
    I have created one transformation from datasource to DSO and one DTP that extract from datasource ( No PSA).
    When I execute the DTP there aren´t errors, the status is green and ok but the data is not active.
    If I try activate the data manually the job is launched but the data no active.
    Thanks.

    hai
    Isabel Bautista 
    u r saying the data is not active in dso and also u r loading the data from file directly( no psa).
               i think u know in B.I the data should be in psa then only u can load the data using DTP .so how can u load the data with out data in psa  .i thinks may be because of this u r data is not activating in dso
    if it helps
    assign some points ok

  • Problem with loading  data from file in ../demo/file/test

    hi there,
    I am using ODI to load text files located on a UNIX server where ODI is installed.
    I am using the FILE_GENERIC data server and physical schema that came with ODI and I can reverse and load the demo files located in ../demo/file
    I created a sub-directory 'test' under ../demo/file and placed a file there.
    When I try to reverse this file (in directory ../demo/file/test) I get the error 'The directory ../demo/file/test specified in your schema does not exist'
    I am sure the userid has equal rights to both directories ../demo/file and ../demo/file/test
    What could I be missing?

    In the topology manager
    1. in the logical architecture : If it doesn't already exists (it should exist if your can use it on your local PC), you import the file technology
    2. In the physical architecture, you create your data server for files .In your case, it shoud already exist for same reason as above. Is has a blue icon under the file technology
    2. Select the Data Server, right click and select Insert Physical Schema . The Physical Schema window appears. On Definition tab, enter a name and then the path of your directory in the data schema field. No need to enyter a work schema for files.
    4. Go to the Context tab, Select a Context and an existing Logical Schema for this new Physical Schema.
    Select an existing Context in the left column, the type the name of a Logical Schema in the right column. This Logical Schema is automatically created and associated to this physical schema in this context.
    It should work but i have never experienced it on a Linux system...

  • Problem with loading a sound file

    Hello, I am trying to play a sound file (located in same dir as the class files) from a swing app using this line.
    AudioClip clip = Applet.newAudioClip(new URL("sound.au"));When I run the program, I always get a MalformedURL Exception.
    Could someone please tell me the correct way to load a sound file in swing.
    Thanks

    "sound.au" is no valid URL, hence the exception.
    How about "file:///c/myfiles/sound.au" or something?

  • Problem in executing a JSP file that includes a Custm tag

    Hi,
    I am very new to JSP,especially custom tags. I tried to run my first custom tag program but i cud not succeed.
    I tried to run it using Tomcat as well J2ee1.3. But still cud not c the output.
    I have placed jsp file,TLD etc in Web inf of root dir and class file inside classes folder..but i got some error saying tag with prefix not found in the tag library...
    i tried in all the ways but all in vain... I will post my code and exact error i faced.. can anyone help me soon to see the output?
    WelcomCtag.java
    import javax.servlet.jsp.*;
    import javax.servlet.jsp.tagext.*;
    public class WelcomeCtag extends TagSupport
         private String Name=null;
         public String getName()
              return Name;
         public int doStartTag()
              try
                   JspWriter output=pageContext.getOut();
                   output.println("Welcome" + getName());
              }catch(Exception e)
                   throw new Error("Encountered an errer");
              return SKIP_BODY;
         public int doEndTag()
              try{}
              catch(Exception e)
                   throw new Error("Encountered an errer");
              finally
                   return SKIP_PAGE;
    [u]example.tld[/u]
    <taglib>
         <tlibversion>1.0</tlibversion>
         <jspversion>1.1</jspversion>
         <shortname>example</shortname>
         <info> A small example for usage of the tag library</info>
         <tag>
              <name> Welcome></name>
              <tagclass>WelcomeCtag</tagclass>
         <bodycontent>empty</bodycontent>
         <info>This tag is an example to display a welcome message</info>
         <attribute>
              <name>Name</name>
              <required>true</required>
              <rtexprvalue>true</rtexprvalue>
         </attribute>
         </tag>
    </taglib>
    [u]WelcomeCustomtag.jsp[/u]
    <%@ taglib prefix="example" uri="./example.tld" %>
    <html>
    <title>Welcome Handler</title>
    </head>
    <body>
    <example: Welcome Name="Panduranga"/>
    </body>
    </html>
    and the error i get while executing is here..........
    org.apache.jasper.JasperException: /WelcomeCustomtag.jsp(6,0) No tag "" defined in tag library imported with prefix "example"
         org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:39)
         org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:405)
         org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:196)
         org.apache.jasper.compiler.Parser.parseCustomTag(Parser.java:1308)
         org.apache.jasper.compiler.Parser.parseElements(Parser.java:1564)
         org.apache.jasper.compiler.Parser.parse(Parser.java:126)
         org.apache.jasper.compiler.ParserController.doParse(ParserController.java:211)
         org.apache.jasper.compiler.ParserController.parse(ParserController.java:100)
         org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:146)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:286)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:267)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:255)
         org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:556)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:293)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    when i referred some other tutorials some have stored the tld file inside a folder called tags inside web inf and they have used like this <tags:example> etc and it wrked but if i want to specify some attributes i dunno how to give using <tags> style....
    Can anyone help me n tell me the difference in using tag like this <eample> and <tags: example> like this.....
    Thanks,
    Akshatha                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    1.
    Multiple tlds in web.xml
    Have multiple taglib elements in your web.xml - see below.
    <jsp-config>
      <taglib>
         <taglib-uri>http://example/taglib</taglib-uri>
         <taglib-location>/WEB-INF/example.tld</taglib-location>
      </taglib>
       <taglib>
          <taglib-uri>http://anotherexample/taglib</taglib-uri>
           <taglib-location>/WEB-INF/anotherexample.tld</taglib-location>
       </taglib>
    </jsp-config>The jsp-config element should be just after the servlet-mapping element in servlet 2.3 spec.
    For 2.4 spec, you can put it anywhere.
    In your jsp, to use the tags from the two tag libraries, use 2 taglib directives
    <%@ taglib prefix="example" uri="http://example/taglib" %>
    <%@ taglib prefix="anotherexample" uri="http://anotherexample/taglib" %>
    <example:tag1.................>
    <anotherexample:tag2.................> etc2.
    Mutliple tags per tld
    Have multiple <tag> elements in your tld.
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE taglib PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN" "http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd">
    <taglib>
       <tlib-version>1.0</tlib-version>
       <jsp-version>1.2</jsp-version>
       <short-name>j2ee</short-name>
       <tag>
          <name>tagName</name>
          <tag-class>pkgName.classname</tag-class>
          <body-content>JSP</body-content>
          <display-name>OverlapTag</display-name>
          <attribute>
             <name>attr1</name>
             <required>false</required>
             <rtexprvalue>true</rtexprvalue>
          </attribute>
          <attribute>
             <name>attr2</name>
             <required>false</required>
             <rtexprvalue>true</rtexprvalue>
          </attribute>
       </tag>
       <tag>
          <name>tag_2_Name</name>
          <tag-class>pkgName.classname</tag-class>
          <body-content>JSP</body-content>
          <display-name></display-name>
          <attribute>
             <name>attr1_2</name>
             <required>false</required>
             <rtexprvalue>true</rtexprvalue>
          </attribute>
          <attribute>
             <name>attr2_2</name>
             <required>false</required>
             <rtexprvalue>true</rtexprvalue>
          </attribute>
       </tag>
    </taglib>
    Interesting snippet
    If you are using a 3rd party tag library, then the tags would come packaged in a jar file. The MTEA-INF directory of the jar file would contain the tlds and the tld would have an uri element. You can use it directly in the jsp without declaring the tld file in web.xml provided the jar file is in your classpath.
    For example, take the struts tag libraries, say the logic tags.
    The struts.jar contains, among other things, the tag class files and the tld files (inside /META-INF/tlds)
    All you have to do is put Struts.jar in the classpath (easy way to do this is put it in the WEB-INF/lib directory of your web-application).
    The jar file has struts-logic-1.1.tld in the META-INF/tlds directory.
    This tld file looks like this
    <taglib>
    <tlibversion>1.2</tlibversion>
    <jspversion>1.1</jspversion>
    <shortname>logic</shortname>
    <uri>http://jakarta.apache.org/struts/tags-logic</uri>
    ..................Now to use the tags in your jsp, you dont require the tld mappings in web.xml using the uri above in the taglib directive in your jsp
    <%@ taglib prefix="example" uri="http://jakarta.apache.org/struts/tags-logic" %> cool, right ? :)
    This is how you should pkg your own tags too. The tag classes have to be jarred and the tlds should go into the META-INF of the jar so that other users can simply add the jar to the cp and start using your tags.
    cheers,
    ram.

  • Memory problem with loading a csv file and displaying 2 xy graphs

    Hi there, i'm having some memory issues with this little program.
    What i'm trying to do is reading a .csv file of 215 mb (6 million lines more or less), extracting the x-y values as 1d array and displaying them in 2 xy graphs (vi attacked).
    I've noticed that this process eats from 1.6 to 2 gb of ram and the 2 x-y graphs, as soon as they are loaded (2 minutes more or less) are really realy slow to move with the scrollbar.
    My question is: Is there a way for use less memory resources and make the graphs move smoother ?
    Thanks in advance,
    Ierman Gert
    Attachments:
    read from file test.vi ‏106 KB

    Hi lerman,
    how many datapoints do you need to handle? How many do you display on the graphs?
    Some notes:
    - Each graph has its own data buffer. So all data wired to the graph will be buffered again in memory. When wiring a (big) 1d array to the graph a copy will be made in memory. And you mentioned 2 graphs...
    - load the array in parts: read a number of lines, parse them to arrays as before (maybe using "spreadsheet string to array"?), finally append the parts to build the big array (may lead to memory problems too).
    - avoid datacopies when handling big arrays. You can show buffer creation using menu->tools->advanced->show buffer allocation
    - use SGL instead of DBL when possible...
    Message Edited by GerdW on 05-12-2009 10:02 PM
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • Problem in loading of flat file transaction data into BI7

    Hi Experts,
    I am new to BI7, got in problem in creation of Data source.
    I have fields in flat file are:
    CUSTID,SREPID,MATID,PRICE PER UNIT,UNIT,QUANTITY,TRANS.DATE
    one of the row under the above fields is
    C100,SR100,MAT01, 50,CS,5,19991005
    Created infoobjects are:
    IO_CUSID
    IO_SRID
    IO_MATID
    IO_PRC
    IO_QTY
    IO_REV
    0CALDAY
    IO_QTY was created with Unit/currency '0UNIT'
    In creation of Data source, under field tab system shown extra CS field, I did confuse that which infoobject should be map to this field. At the same time i created IO_QTY with 0UNIT so when i entered IO_QTY under infoobjects column, system automatically created 0UNIT infoobject. I didn't completly understand why one of the unit (CS) sat under the fields column. could you clarify me please.
    And also could you please tell me the procedure of creating transfer routine for sales revenue as we didn't have this object in flat file (SS). In earlier version of BW(Addison Wesley Step by Step book) i did this at infosource level. Here i am loading the data without infosource so just i would like to know is it possible to create transfer routine at DS level or do i need to create Infosource in this case. If it is the case also could you please make me understand with procedure to create transfer routine for sales revenue.
    Your solutions will be more appreciated with points.
    Thank you,
    Shri

    Hi,
    1.Open Administrator Workbench: Modeling, from the menu or using the transaction RSA1
    2.Go to Source Systems (File)and Create a new System.
    3. Double click on the datasources, create data source
    4.Entitle the Datasource, choose Transaction Data as Data Type Datasource
    5. In next screen, Go to Extraction , Activate the data source
    6.Go to Preview. Press Read Preview Data.
    7.Data will be loaded: Save and activate the datasource
    8.Go to InfoProvider, go to Info area and create Infocube
    9.Entitle the infocube, press create
    10.Display all info objects: . Choose your info objects , Move the characteristics and key figure to the infocube by drag and drop adn activate
    11.Go to InfoCube, create transformation
    12.Click on the ‘Show Navigator’ button. Match the fields in navigator. Save and activate.
    13.go to info provider, your info cube, create data transfer process
    14.Choose: Extraction Mode: full
    Update: Valid records update, Reporting possible (Request green)
    Activate, execute
    14.Double click on the data source, Read Preview Data
    15.Create an InfoPackage by right clicking on the datasource. Execute the load into PSA.
    16.Verify data was loaded into PSA before proceeding with the next step.
    17. Execute the Data Transfer Process
    18.Monitor the results (Menu: GoTo: DTP Monitor)
    19.Try to display the data at the BW Frontend.
    Thanks,
    Sankar M

  • Problem in Loading - Invalid Report File Path

    Post Author: a_Mohammad
    CA Forum: .NET
    Im using CR which came as a bundle with VS2005. I deployed my ASP.NET project on online server. Sometimes, When users try to load the reports, they got an error says "Invalid Report File Path" appears at the top of the report, and no data shown. If i reset the IIS, it return to work fine again.
    Usually i got this error when there is a lot of hits on the server and reports..
    Can you plz advice on that???

    Hello ,
    The formula must always return some value. When a conditional test produces no result and this code is responsible for the RETURN in a formula, the error occurs. Make sure that the condition returns a value in all cases (trap errors).
    Example:
    Problem code
    function CF_1Formula return Number is
    begin
    if :deptno = 10 then
    return(10);
    end if;
    end;
    If deptno is not 10 , this does not return any value .
    Correct code
    You can write the function as:
    function CF_1Formula return Number is
    begin
    if :deptno = 10 then
    return(100);
    else
    return(200);
    end if;
    end;
    Thanks
    The Oracle Reports Team

Maybe you are looking for

  • CS5 or CS5.5 Adobe After Effects

    I have a Mac OS X version 10.5.8 and was wondering if CS5 or CS5.5 Adobe After Effects was available still?

  • IMac troubles

    I have an Intel-Based iMac running OS 10.4.11 Tiger. Although most things seem to work normally, any attempt to load OS 10.5 Leopard results in the error code, "System X cannot be installed on this computer." Yet System X is obviously already install

  • How can i save movies on my ipod??? Not just itunes shows....

    I want to transfer some DVD movies to my ipod... How do I do that?

  • Clearing Charts and Graphs Programmat​ically

    I must be overlooking something simple because it seems that clearing charts programmatically would be such a common thing, but where then is the attribute to do this?

  • Lightening imovies taken in low light places

    Hi, I did a wonderful video of my niece's wedding but no one listened to me (as usual) when I explained that there needs to be plenty of light reflecting off the faces of the subjects. I did not want to use an obnoxous camera light at the delicate ce