Transaction happens twice.

Transaction happens twice.
I need two files to demonstrate this
File 1.) index.jsp
<?xml version="1.0" standalone="no"?>
<%@ page contentType="image/svg-xml" %>
<svg >
<text x="200" y="100" stroke="navy" >GPro</text>
</svg>
File 2.)
public class Account extends HttpServlet {
protected void doGet(HttpServletRequest req, HttpServletResponse res) throws ServletException,IOException {
     System.out.println("Login5");
RequestDispatcher disp=req.getRequestDispatcher("/pages/index.jsp");
     disp.forward(req,res);
The servlet doesn�t do anything but always forwards the request to an SVG document.
The problem,
When I call this method width the following URL:
http://servername/Account?a=1
http://servername/Account?a=2
http://servername/Account?a=3
You always have to have different URL to see this result in the log file:
[02.04.16 10:22:33:500 MDT] 3d74e6fe SystemOut U Login5
[02.04.16 10:22:33:609 MDT] 3d74e6fe SystemOut U Login5
[02.04.16 10:22:53:875 MDT] 3d74e6fe SystemOut U Login5
[02.04.16 10:22:53:953 MDT] 3d74e6fe SystemOut U Login5
[02.04.16 10:23:10:375 MDT] 3d74e6fe SystemOut U Login5
[02.04.16 10:23:10:500 MDT] 3d74e6fe SystemOut U Login5
The servlet executed twice .
This happens always when I use IE 5.5 sp2 and Adobe SVG Viewer 3.0
It is working well with Netscape 4.08
I have the following in the log file
[02.04.16 11:05:15:187 MDT] 3d74e6fe SystemOut U Login5
[02.04.16 11:05:24:796 MDT] 3d74e6fe SystemOut U Login5
[02.04.16 11:05:38:312 MDT] 3d74e6fe SystemOut U Login5
[02.04.16 11:05:44:328 MDT] 3d74e6fe SystemOut U Login5
You may see it never happens twice.
I�d like to know what your opinion about this.
Thank you,
Jozsef Bodnar

Thanks,
Unfortunately, the bug is somewhere else.
I just used a very simple test program no javascript nothing and I just typed those URL�s in the address bar.
Last time I tried this: ( this is the doGet method of my test servlet and nothing more );
PrintWriter out=res.getWriter();
String s="<?xml version='1.0' standalone='yes'?>"
+"<svg >"
     +"<text x='200' y='100' stroke='navy' >GPro</text>"
     +"</svg>";
out.print(s);
out.flush(); out.close();
There is nothing special here and the servlet got executed twice if I used explorer.
It seems to me the SVG viewer for some reason tries to revalidate the document .

Similar Messages

  • Transaction executing Twice

    Hi,
    I have BLS Transaction which is scheduled for every Hour to run. It runs every hour but i see the transaction runs twice for that Hour.
    But When I execute the BLS manually it executes only once properly without any duplication.
    It inserts duplicates or runs twice when scheduled using Schedule Editor.
    This is happening in the Production System only.
    The same Transaction runs fine in Development System.
    Pallavi
    Edited by: Pallavi Mirajkar on Mar 24, 2008 10:19 PM

    Hi,
    If you have issues with cron expression, you can use this tool by me (you need jdk1.6 with java webstart)
    http://www.fjeyar.com/tools/cronexpr/cron.jnlp
    Best regards,
    Felix Jeyareuben

  • I'm editing a band deleting songs, then suddenly it deleted all of the songs by an artist!  It's happened twice. Once I tried to restore them from the recycle bin but it did'nt work.  The 2nd time the songs were not in the recycle bin.  Why?

    I'm editing a band by deleting songs I do not like on iTunes on my PC. When I believe I'm deleting a song it ends up deleting ALL of the songs by that band (this is after I've deleted many individual songs sucessfully)!  This has happened twice since the new version of iTunes.  The first time I tried to restore the songs from my recycle bin but they just vanished when I tried to restore them.  The second time (today)  the songs were not even in the recycle bin.  Has this happened to anyone else out there? I have to now relocate all of those cd's and then reinstall them and go through them and put songs back onto various playlists (I have a lot of them).  Hassle!!!

    Time you backed up so you can recover in the event of a crisis.
    tt2

  • Hello, I am running Mac os 10.6.8. It is shutting down without warning when I walk away from the computer for about 5 minutes. It happened twice. It was not asleep, i had to turn the computer back on...Any ideas...

    Hello, I am running Mac os 10.6.8. It is shutting down without warning when I walk away from the computer for about 5 minutes. It happened twice. It was not asleep, i had to turn the computer back on...Any ideas...
    G. Mendel

    Crashes
    The next time the problem happens, note the date and time the problem occurred, then go to Applications/Utilities/Console and copy the log starting at the time of the crash. Paste the log in a reply. Please do not use a screen shot as they can be hard to read. If there are repeated runs of the same messages, please post only one run. Be selective about what you post and don’t  post huge amounts. Make sure there is no personal data visible. Information learned from Linc Davis.

  • Microsoft-Windows-Kernel-EventTracing Error 2 happens twice at boot EX2013CU7

    Not sure what it is.  The server is running Server 2012 R2 and it is a VM.  It has exchange and associated necessary features, roles, and prerequisites and nothing else installed.  I have uninstalled and reinstalled Exchange 2013 CU7 3 times
    and each time this error has been present.  It happens twice at boot and seems to cause no problems.
    Log Name:      Microsoft-Windows-Kernel-EventTracing/Admin
    Source:        Microsoft-Windows-Kernel-EventTracing
    Date:          12/23/2014 10:06:53 AM
    Event ID:      2
    Task Category: Session
    Level:         Error
    Keywords:      Session
    User:          SYSTEM
    Computer:      myserver.mydomain.local
    Description:
    Session "FastDocTracingSession" failed to start with the following error: 0xC0000035
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="Microsoft-Windows-Kernel-EventTracing" Guid="{B675EC37-BDB6-4648-BC92-F3FDC74D3CA2}" />
        <EventID>2</EventID>
        <Version>0</Version>
        <Level>2</Level>
        <Task>2</Task>
        <Opcode>12</Opcode>
        <Keywords>0x8000000000000010</Keywords>
        <TimeCreated SystemTime="2014-12-23T17:06:53.273839900Z" />
        <EventRecordID>2</EventRecordID>
        <Correlation />
        <Execution ProcessID="3640" ThreadID="10016" />
        <Channel>Microsoft-Windows-Kernel-EventTracing/Admin</Channel>
        <Computer>Valis.PBJFS.local</Computer>
        <Security UserID="S-1-5-18" />
      </System>
      <EventData>
        <Data Name="SessionName">FastDocTracingSession</Data>
        <Data Name="FileName">
        </Data>
        <Data Name="ErrorCode">3221225525</Data>
        <Data Name="LoggingMode">9</Data>
      </EventData>
    </Event>

    Hi,
    This Event can be ignored. To prevent this Event prompt, please follow steps below:
    1. Set the MetricsSelfSelectionSelected value in the registry to
    2.
    2. Restart the
    Windows Azure Telemetry Service service.
    3. Stop the
    WindowsAzure-GuestAgent-Metrics event trace session.
    More details, please refer following blog:
    Event ID 2: Session "WindowsAzure-GuestAgent-Metrics" failed to start with the following error: 0xC0000035
    http://blogs.msdn.com/b/mast/archive/2014/07/09/event-id-2-session-quot-windowsazure-guestagent-metrics-quot-failed-to-start-with-the-following-error-0xc0000035.aspx
    Thanks
    If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Mavis Huang
    TechNet Community Support

  • This has now happened twice. I have been writing a letter on facebook, and the cursor has taken off on me, continuously typing a letter (my case: aaaaaaaa.... On

    This has now happened twice. I have been writing a letter on facebook, and the cursor has taken off on me, continuously typing a letter (my case: aaaaaaaa.... On &amp; on). The keyboard became unresponsive, the mouse pad unresponsive, and I was only able to stop it by hitting the power button, of which I don't know how to cancel the shutdown without use of the mouse &amp; ended up holding power button to shut it off.
    Anybody experience this?

    Hi Norcalian,
    Welcome to the Support Communities!
    I'm sorry to hear you are having issues with your keyboard & trackpad on your Macbook Pro.
    A good troubleshooting step for this issue is to reset the PRAM and SMC on your system. The following articles will show you how to do that.  Also see the final article in this post that addresses general issues with jumpy or erratic trackpads.
    You can click on the links to see more details and screen shots.
    I've highlighted the pertinent information for you below.
    Intel-based Macs: Resetting the System Management Controller (SMC)
    http://support.apple.com/kb/HT3964
    Before Resetting the SMC
    Try each of the following steps in this order before you reset the SMC.  Test the issue after completing each troubleshooting step to determine if the issue still occurs.
    Press Command + Option + Escape to force quit any application that is not responding.
    Put your Mac to sleep by choosing the Apple () menu from the upper-left menu bar and then choosing Sleep. Wake the computer after it has gone to sleep.
    Restart your Mac by choosing the Apple () menu from the upper-left menu bar and then choosing Restart.
    Shut down your Mac by choosing the Apple () menu from the upper-left menu bar and then choosing Shut Down.
    Resetting the System Management Controller (SMC)
    Resetting the SMC on Mac portables with a battery you can removeNote: Learn about removing the battery on MacBook and MacBook Pro.
    Shut down the computer.
    Disconnect the MagSafe power adapter from the computer, if it's connected.
    Remove the battery.
    Press and hold the power button for 5 seconds.
    Release the power button.
    Reconnect the battery and MagSafe power adapter.
    Press the power button to turn on the computer.
    Resetting the SMC on portables with a battery you should not remove on your own
    Note: Portable computers that have a battery you should not remove on your own include MacBook Pro (Early 2009) and later, all models of MacBook Air, and MacBook (Late 2009).
    Shut down the computer.
    Plug in the MagSafe power adapter to a power source, connecting it to the Mac if its not already connected.
    On the built-in keyboard, press the (left side) Shift-Control-Option keys and the power button at the same time.
    Release all the keys and the power button at the same time.
    Press the power button to turn on the computer. 
    Note: The LED on the MagSafe power adapter may change states or temporarily turn off when you reset the SMC.
    About NVRAM and PRAM
    http://support.apple.com/kb/HT1379
    Resetting NVRAM / PRAM
    Shut down your Mac.
    Locate the following keys on the keyboard: Command (⌘), Option, P, and R. You will need to hold these keys down simultaneously in step 4.
    Turn on the computer.
    Press and hold the Command-Option-P-R keys before the gray screen appears.
    Hold the keys down until the computer restarts and you hear the startup sound for the second time.
    Release the keys.
    Portables and Magic Trackpad: Jumpy or erratic trackpad operation
    http://support.apple.com/kb/TS1449
    I hope this information helps ....
    Have a great day!
    - Judy

  • HT5622 This has happened twice now but when getting games it gives me no option to put password in. Please help

    This has happened twice now but when getting games it gives me no option to put password in. Please help

    Reset the network settings in Settings/General/Reset and you'll be able again to put in your password.
    Remember that this will reset the passwords for all networks you connected to up to this point.

  • Pictures I've taken are visible on my iPhone but not my camera roll. has happened twice.

    Pictures I've taken are visible on my iPhone but not my camera roll. This has happened twice. On a set of pictures taken 11/2/13 and today 11/5/13. Is there a solution for this. This is unacceptable. Now it's not showing any new pictures taken at all.

    SisterDee wrote:
    I'm with you. It doesn't make any sense to me either. However, when I view my pictures as a collection and select it - nothing is there. It is a clear picture.
    The problem is that what you originally said, "Pictures I've taken are visible on my iPhone but not my camera roll" , has nothing to do with your actual problem. 
    Define "clear picture".  Do you mean blank image?  Are you saying there are no pictures to view, only blank screen where the picture should be? 
    If so, restore the iOS in iTunes:
    iTunes: Restoring iOS software

  • Possible security problem with my iPhone4, it seems like it has been hacked into and my hotmail, facebook and university accounts (which all have different passwords) and proceed to change my passwords on me. This has happened twice.

    I seem to be having security problems with my iPhone4, it seems like someone has hacked into my hotmail, facebook and university accounts (which all have different passwords) and proceed to change my passwords on me. This has happened twice and I have not left my phone unattended at any time that I can recall nor have I accessed these accounts from another source (i.e. computer/laptop) since changing my passwords after the first hacking occurred. Please help.

    Anyone else at your university complaining about the same thing?  It is more likely someone is stealing passwords by sniffing traffic over the university wifi or with a man-in-the-middle attack or by other means external to your phone.  Try a Google search on "steal password" (without quotes) or "steal SSL password" and you'll learn more than you wanted to know about how passwords get stolen.
    Some related info:
    http://en.wikipedia.org/wiki/Session_hijacking
    http://en.wikipedia.org/wiki/Man-in-the-middle_attack

  • I charged my iPod4th gen then my usb adaptor sparks and my room smells like rubber... is there anything wrong? this happened twice.. the the usb adaptor is no longer functioning.. :) pls help!!!

    I charged my iPod4th gen then my usb adaptor sparks and my room smells like rubber... is there anything wrong? this happened twice.. the the usb adaptor is no longer functioning.. pls help!!!

    - Does the USB port work for other devices?
    - I do not know what you meanby USB adopter
    - Make an appointment at the Genius Bar of an Apple store. Bring the "USB adopter" too.
      Apple Retail Store - Genius Bar                 

  • I have just paid to install whatsapp and they sent me an email to confirm the information but it never got installed! it happened twice ! Any idea ?

    i have just paid to install whatsapp and they sent me an email to confirm the information but it never got installed! it happened twice ! Any idea ?

    They will not send you an e-mail. They send you an SMS, with the code to activate Whatsapp.
    If you don't get the sms, wait 5 minutes with WhatsApp open. The timer will go from 5.00 to 0.00. If it is at 0.00 you can click it. You get the code via Phone. (Automatic)

  • Initialize event happens twice when using setDynamic

    Hi.
    I'm using WD Java, EP 7 SP 14 and Designer 8.
    I have a form with a table, and in the initialize event I add a row to the table using the addInstance() method.
    I also set the document to be dynamic using the setDynamic method of the class IWDPDFDocumentInteractiveFormContext, in the method wdDoModifyView.
    Then, when I run the form, there are 2 rows added to the table.
    But when I don't use the setDynamic method, only one row is added (as it should be).
    Is there a chance that using the setDynamic method calls the Initialize event twice?
    I'll be thankful if anyone can try this, so I would know if that's a general problem, or if it happens only to me.
    Best regards,
    Udi.

    Hi Udi,
    I donu2019t think the setDynamic() method would trigger the initialize event (I could be wrong though).  The case could be that your Initialize code is only getting triggered when you use the setDynamic() method, and the One table row is always there by default! 
    Try putting some code in your initialize method for debugging:
    xfa.host.messageBox("initializing form...");
    See how many times this message pops up!
    Just a suggestionu2026
    Hope this helps,
    Harman

  • My iPhone 4 just randomly displatyed the apple icon and then went back to what I was doing prior, almost like it restarted quickly, this has happened twice now within 3 hours wondering what's going on

    MY iPhone 4 randomly restarted twice this morning while texting, it went all black an displayed the apple icon wondering why

    Hi, beth.lau.gr.
    Thank you for visiting Apple Support Communities.  
    I understand you have been experiencing issues with your iPhone restarting and showing you a blue screen.  I wont be able to give you an exact answer as to why this is happening.  However, this is the most relevant troubleshooting article for this issue.  This article also provides options to reach out to us via phone for additional assistance.  
    If your iOS device restarts, displays the Apple logo, or powers off while you're using it
    http://support.apple.com/en-us/HT203899
    Cheers, 
    Jason H.  

  • Excel 2010 "Save As" happens twice

    In Excel 2010, whenever I choose "Save As", it starts normally and performs the requested change. However, it then repeats itself as if I performed the "Save As" a second time. This does not happen in the other Office 2010 Pro Plus components.
    Does anyone else have this problem?
    Thanks,
    Tom

    Per your post, do you mean that this repeat bahavior only happens when we click the "File" > "Save As" at the second time?
    Try to launch Excel in safe mode. (Type "Excel.exe /safe" in Windows Search bar and press Enter), if the behavior would not appear anymore, please go to File > Options > Add-ins > Go and disable the suspecious add-ins to solve it.
    Repaire Office suit from Control Panel if the issue still persists. 
    Tony Chen
    TechNet Community Support

  • TS2039 After saving an Excel document on my Mac ( I do have Office Mac), it will not reopen and gives error code -43. It will also say that there is no such file, although the file is in the document box. Has happened twice now with big files.

    I work on Excel files through my Office Mac program. On two occasions, a large Excel file, (about 1.5 MB) will not save and is not recoverable. It gives me an error code -43.
    I work on many such files without problem, but this has now happened on two occasions with important files.

    If it only happens with very large spread sheets, and only happens randomly, then one possibility is a buffer overflow, i.e., some piece of data is so large as to clobber the data that follows it.  If that is the case then the problem would only manifest itself if (a) you happen to access that data, (b) write beyond its allocation, and (c) what's just beyond that gets clobbered is something involved with the file's pathname.  Then when the pathname is needed it can't be found resulting in the -43.
    In other words, more "quality" programming from Microsoft...not.
    Just a theory.

Maybe you are looking for