Same JSP/Servlet is executing again and again

Hello,
We have some JSPs which do a lot of processing and is 'alive' for a long period
of time. If we use the JSP with small amouts of data, it is fine. But when we
use the JSP with lot of data, it seems to 'go in a loop'.
It is processing the data again and again and again and brings down our server.
We do not think it is the code that is wrong - as it processes perfectly if the
data is small or when our server is not busy. This problem happens if the data
is lot and the server is also busy. The JSP seems to be executing again and again.
Is there some type of 'refresh' logic in weblogic that refreshes the JSP/servlet
and makes it 'execute' again and again.
We are using WL 6.1
Thanks,
Oleg.

Hi Oleg,
Could you tell us how you find out that there is an additional request?
Regards,
Slava Imeshev
"Oleg" <[email protected]> wrote in message
news:[email protected]...
>
Thank you Varad and Slava,
We don't use plagin for iplanet,
but our problem is very similar:
Weblogic generate additional request if the previous request toservlet/jsp is
taking long time.
Where I can configure JSP timeout to fix this problem?
Thank you very much.
Oleg.
"Varadharajan" <[email protected]> wrote:
Hi Oleg,
Are you using weblogic plugin for iplanet webserver ?
In weblogic server 6.1 sp3 there is a problem with this plugin. It would
generate
additional request if the previous request to servlet/jsp is taking more
than
the configurable timeout set in the obj.conf file of iplanet webserver.
This plugin problem is fixed in wls6.1 sp4.
Rgds,
Varad
"Slava Imeshev" <[email protected]> wrote:
Hi Oleg,
See my answers inline.
"Oleg" <[email protected]> wrote in message
news:[email protected]...
Hello,
We have some JSPs which do a lot of processing and is 'alive' for
a
long
period
of time. If we use the JSP with small amouts of data, it is fine.But
when we
use the JSP with lot of data, it seems to 'go in a loop'.I guess you need to figure out if "seems" really "does".
It is processing the data again and again and again and brings downour
server.
How do you know that a JSP goes into a loop?
We do not think it is the code that is wrong - as it processes
perfectly
if the
data is small or when our server is not busy. This problem happensif the
data
is lot and the server is also busy. The JSP seems to be executingagain
and again.
What load is considered to be high/low for you
application? Are you running a load test?
Is there some type of 'refresh' logic in weblogic that refreshes
the
JSP/servlet
and makes it 'execute' again and again.Normally Servlet/JSP enters service() method when
there is an incoming request. It should not be happening
at JSP's will.
Regards,
Slava Imeshev

Similar Messages

  • How to put  jsp/servlets on the oc4j and view them with browser

    I have no experience with it.
    perhaps with: localhost:8888/ ???
    witch xml-files must I configure??
    thank you

    I m new in jboss application server with myeclipse plateform.
    im unable to solve this error.which are occured doring the starting of server in my eclipse.
    How to compile jsp project on the plateform of Myeclipse and jboss
    hi :-) this is not eclipse forum and not that sure about your problem but i'll try to answer :-)
    i'm not sure how you create your war but there something wrong with your web.xml. kindly check it :-)
    by d way, you can deploy your project in my-eclipse by
    - right click on the project then select my-eclipse > Add and Remove Project Deployment's
    - a new window will open and you can now configure how you deploy your project :-)
    other alternative edit your jboss-service.xml then put something like this
    <attribute name="URLs">deploy/, file:/D:/workspace/deploy</attribute>
    (note, change the path according to your needs)
    regards,

  • Why different result for the same jsp file run at oc4j902 and oc4j903?

    In a jsp file, It use class in "java.util" package, It is not import "java.util.*".
    The jsp file run at oc4j 902:
    It run correctly
    The jsp file run at oc4j 903:
    appear Compile error.
    the error is:
    "OracleJSP: oracle.jsp.provider.JspCompileException: "
    The jsp file:
    &lt;%@ page contentType="text/html;charset=GB2312"%&gt;
    &lt;%
         ArrayList arrList = new ArrayList();
    %&gt;
    Why?
    thanks for your help!

    Sun,
    pls check
    http://otn.oracle.com/docs/products/ias/doc_library/903doc_otn/generic.903/a97679/getstart.htm#1007970
    In 902, the following packages were also imported
    java.io.*
    java.util.*
    java.lang.reflect.*
    java.beans.*
    In 903 the above are not imported.
    -Prasad

  • How can I call EJB from JSP/Servlets in iWS?

    Hi!!
    My JSP/Servlets are on iWS, and I deploy EJB on iAS.
    In this case, I don't know how JSP/Servlet call EJb on iAS.
    I'd like to know how I can set JNDI name in JSP/Servlet on iWS.
    I will thank you if you give me a simple example source using JSP/Servlet
    and EJB.
    Thanks in advance!!!
    - Park-

    Park,
    Why Are you running your JSP/Servlets in iWS instead of iAS? For whatever
    reason,
    look at the Converter sample from iAS. You will be doing RMI/IIOP in this
    case and the sample explains in detail what to do.
    hth,
    -robert
    "SungHyun, Park" <[email protected]> wrote in message
    news:9jpfmt$[email protected]..
    Hi!!
    My JSP/Servlets are on iWS, and I deploy EJB on iAS.
    In this case, I don't know how JSP/Servlet call EJb on iAS.
    I'd like to know how I can set JNDI name in JSP/Servlet on iWS.
    I will thank you if you give me a simple example source using JSP/Servlet
    and EJB.
    Thanks in advance!!!
    - Park-

  • Same Servlet/JSP is executing again and again

              Hello,
              We have some JSPs which do a lot of processing and is 'alive' for a long period
              of time. If we use the JSP with small amouts of data, it is fine. But when we
              use the JSP with lot of data, it seems to 'go in a loop'.
              It is processing the data again and again and again and brings down our server.
              We do not think it is the code that is wrong - as it processes perfectly if the
              data is small or when our server is not busy. This problem happens if the data
              is lot and the server is also busy. The JSP seems to be executing again and again.
              Is there some type of 'refresh' logic in weblogic that refreshes the JSP/servlet
              and makes it 'execute' again and again.
              We are using WL 6.1
              Thanks,
              Oleg.
              

    there is no refresh logic in wls unless u specify it.
              please check the code for any "refresh"ing the page
              SP
              "Oleg" <[email protected]> wrote in message
              news:[email protected]..
              >
              > Hello,
              > We have some JSPs which do a lot of processing and is 'alive' for a long
              period
              > of time. If we use the JSP with small amouts of data, it is fine. But
              when we
              > use the JSP with lot of data, it seems to 'go in a loop'.
              > It is processing the data again and again and again and brings down our
              server.
              > We do not think it is the code that is wrong - as it processes perfectly
              if the
              > data is small or when our server is not busy. This problem happens if the
              data
              > is lot and the server is also busy. The JSP seems to be executing again
              and again.
              >
              > Is there some type of 'refresh' logic in weblogic that refreshes the
              JSP/servlet
              > and makes it 'execute' again and again.
              > We are using WL 6.1
              >
              > Thanks,
              > Oleg.
              

  • How to execute again the JSP codes

    Dear Experts,
    I am having trouble to execute again the JSP codes in my abc.jsp page. The sequence of the codes are:
    [ JSP codes ]
    [ HTML codes]
    My JSP file is selecting from DB2 and display the results on the same page. The selecting is depending to the selection in the combo box and included the selection into the SQL statement.
    The problem is when I change the selection at the combo box, how can I refresh the page and fill in with the new results from database by selecting with the new keyword.

    You will have to do an onChange handler for the select box, that simply submits the form, and the action would be the current page.

  • ViewObject LOV query is executing again and again..

    Hi Experts,
    Currently in my application VO has one LOV component
    DeparmentVO - countryID (LOV) pointing to the CountryVO
    Where CountryVO is a query based and it depends on the user session language "Select countryID, country from Counties where language=:language
    Now application works fine, however whenever the user launched the page the countryVO query is executed again and again and it is not cached. In the DeparmentVO view accessor the is there any way we can specify the CountryVO to be taken fro cache? Or is there any configuration that we need to do inorder to run the country query only once per session?
    Looking forward you advice on this.
    Thanks

    Hi Timo,
    Our jdev version is 11.1.2.1
    We have the page which shows the department table each record has the country LOV.
    After the login the user can view the page at that time the query is executed, after that he may visit some other page and then come back to the same page then again it is executed. The CountryVO list is based on the language so it needs to be load only once per session in my case to optimize the performance.
    Thanks

  • After I download Itunes, when trying to sync Ipod, message says "needs newer version of mobile support, uninstall Itunes, and reinstall Itunes, and the same process starts all over again. why is that?

    after I download Itunes, when trying to sync Ipod, message says "needs newer version of mobile support, uninstall Itunes, and reinstall Itunes, and the same process starts all over again. why is that?

    Try removing and then reinstalling the Apple software using these instructions.
    Removing and reinstalling iTunes, QuickTime, and other software components for Windows Vista or Windows 7
    The above containes a link for XP. Also. make sure you install the correct Apple software, It comes in 32 and 64 bit and you need the one that is the same as the computer OS

  • Why do i need to buy the same app for each device over and over again??

    why do i need to buy the same app for each device over and over again??
    and why cant i just pay for the app ones for all devices as long at it is with the same account??
    i hate that i have to oay for the same game or app three time one for ipad ones for iphone and ones for mac please do something about that apple..!!!

    First, you posted in the Mac App Store forum which are apps for the Mac OS X, not iOS devices.
    You do not need to re purchase your apps. Connect your iOS devices to your computer, launch iTunes. From the menu bar click Apps then click Sync
    Downloading past purchases from the App Store, iBookstore, and iTunes Store

  • When i active my mac pro all i get is a white screen and  it loading .. and when it fully loaded it turns off and the same thing keep on happening again

    when i active my mac pro all i get is a white screen and  it loading and when it fully load its turn off , and it keep on doing the same thing for hours

    Hi Shahenaz,
    It's a little difficult to understand exactly what's going on with your mac based on the description you gave. Is there anything else you could add? Is it stuck in a reboot loop? Or is it just showing a white screen forever?
    I had pretty much the same problem a few days ago, and was worried my mac was screwed permanently, but I got it fixed up no problem!
    Follow these steps to try and troubleshoot/fix the problem.
    1. Boot into OSX Recovery Mode
    First, turn off your Mac. If it isn't responding, or is stuck in a reboot loop, just hold down the power button until it turns off, and you hear the fans stop. Then boot it while holding the Command and R keys. If it successfully boots into OSX Recovery Mode, continue with this step. If not, skip to step two. (My Mac couldn't successfully boot into the recovery mode, so I had to go to step 2)
    Select "Disk Utility" from the list of options, and find your built in hard drive from the list on the left. Usually there are two listings/names for your drive. The first should be something like "500GB longchainoflettersnumbers Media". Then the one below will be a little easier on the eyes, named Macintosh HD, if you haven't changed its name. That's the one you want, click it.
    Now go to the "First Aid" tab. Click on the "Verify Disk" button in the bottom right corner, and let it do its thing. Once that's done, hit repair disk, also in the bottom right corner. If your disk is corrupted, you may need to run the repair process several times, before it comes up completely clean.
    Once this is done, select Shut Down from the Apple menu and, once your Mac is completely off, turn it back on like normal. If it works, great. If not, proceed to step two.
    2. SafeBoot
    Sometimes, when a mac is acting up and doesn't want to start, all it takes is a safe boot, followed by a regular restart. Or maybe you recently installed a program that either has malicious or errored coding that's causing your troubles. This is where Safe Boot comes in.
    Turn off your mac, and reboot it while holding Shift. (If you want to see the process that's going on in the background, boot while holding Shift, Command, and V. This will enter something called Verbose Mode).
    If it boots successfully into Safe Mode, great. If you believe that there's a particular program that you recently downloaded that might be causing your trouble, now's the time to delete it. If not, just reboot normally and see if it works! If it doesn't, or if your Mac didn't even Safe Boot like mine, proceed to step 3.
    3. Fsck!
    For this step, you're going to be booting your mac into Single User Mode. I'm not going to go into details as to what this step does, but it works for some people. Here are the steps.
    Turn off your mac, and reboot it while holding Command and S. The screen should go black, and you'll see some white text run across the screen, wait a few seconds, until you see the command prompt. Now type
    fsck -fy
    and hit the Enter key. This will run a series of system checks, which could take a few minutes. Be patient on this part. Once it's done, it will show one of two messages:
    1. "The volume (your Mac) appears to be OK
    or
    2. "File System Was Modified"
    If you got message 1, type reboot and press Return. Hopefully your computer works after this - if not, proceed to step 4.
    If you got message 2, run the same command again until you get message 1. If it doesn't seem to be working, turn off your system and proceed to step 4.
    If you couldn't even boot into Single User Mode in the first place (like me), go to step 4 anyways.
    Step 4: Reset the NVRAM
    The NVRAM is another kind of RAM that stores data like the computer volume you had set before you turned it off, or the screen brightness, resolution etc. This memory is saved, unlike with regular RAM. Resetting it isn't harmful to your system, it will just put your screen brightness, volume, etc. to defaults.
    Turn off your Mac, and reboot while holding Command, Option, P, and R, and continue holding them down until you hear the computer restart again.
    I can't really explain why to do this step, I just know it works for some people, and seems to be what unbricked my MacBook Pro. If none of these steps, fixed your Mac, well the situation is looking pretty grim. Try setting up a meeting with a Mac Genius at your local Apple store. However, I know that many other people with these symptoms ended up having a logic board failure. Apple can swap out your logic board for a new one, but the price is pretty hefty, somewhere around $300 I believe.
    Well I wish you luck, I hope this helped you!

  • I keep having the same problem with my messages over and over again. My number is not checked in my message settings it just unchecks itself

    I keep having the same problem with my messages over and over again. My number is not checked in my message settings it just unchecks itself

    Dear Tomarshe
    I had the same problem a couple of weeks back.
    What I did was that I restarted that Ipad of mine and voila!
    Problem solved!
    hope this helped!
    - DASHdotDASHdot

  • Have the same problem tried the signing in and out, rebooting, uninstalling and back again nothing is working, on 4th download of creative cloud still coming up with lightroom 5 after signing in anf out, also signing out dowloading and signing in, spent 2

    have the same problem tried the signing in and out, rebooting, uninstalling and back again nothing is working, on 4th download of creative cloud still coming up with lightroom 5 after signing in anf out, also signing out dowloading and signing in, spent 2 days on this, just cannot spend days on trying tricks and hacks

    I  am getting so mad because I cant even sign out OR quit! They are both grayed out. I have the spinning blue wheel in my apps and am trying to fix that but none of the solutions are working.

  • Got a new iphone5 and cannot log into iMessages keep getting same message to check network connection and try again.  Tried changing password as suggested but nothing is working

    Got a new iphone5 and cannot log into iMessages keep getting same message to check network connection and try again.  Tried changing password as suggested but nothing is working any suggestions?

    Are you connected to wifi, or doing it over cell signal?

  • JSP- Servlet- Same JSP - Urgent HELP!

    I have a scenario as follows:
    The JSP is a Login JSP which forwards the request to the Servlet to validate the Login info from the HTML. This I do by submitting the JSP page to itself & in the beginning checking if the Submit button was clicked, if yes, then I extract all the form elements by request.getPArameter(element name) & set in on the request using request.setAttribute() methods! The servlet uses the values by doing a request.getAttribute() & say, a validate User failure, the servlet ahs tor edirect user to the same Login.jsp page, but the second time, the "Submit" button value is still true, since the servlet forwards the same request, response & this ends in an infinite loop, of JSP calling Servlet, the User validation fails & the Servlets calls the JSp again, and so on.
    How do I reset the HTML form element values in the JSP before forwarding to the Servlet? is there a request.setParameter() method? Or is there a way for the servlet to forward a new request & response to the same JSP?
    Thanks in advance.

    if the user is invalid.. redirect them to the error page and in the error page pu this javascript... It will refresh the page so the loop will not happen.
    <script language="JavaScript">
    var sec2count = "2"
    var redirectpage = "Login.jsp"
    function countdown() {
    if (sec2count == "0") {
    document.location = redirectpage
    else {
    sec2count = sec2count - 1
    document.form1234.counter.value = sec2count
    setTimeout("countdown()", 1000)
    countdown()
    </script>

  • How to get 'exit event' script to execute again when form file with saved data is re-opened?

    I have created an Adobe Dynamic XML Form using LiveCycle Designer with many fields / subforms that are ‘visible’ or ‘hidden’ dependent upon the options selected from various Drop-Down Lists. The form has also been save-enabled. Users can successfully complete the form and save a copy with the data that has been input.
    The problem I have is that when the saved file is re-opened the ‘hidden’ fields / subforms which were previously made visible by selection of the appropriate options from the Drop-down Lists are now NOT displayed. However if you make the same selections from each of the Drop-down Lists AGAIN the hidden fields / subforms are displayed and do contain the data that was entered.
    The problem appears to be that the script which determines whether a field / subform is ‘hidden’ or ‘visible’ is an
    <event activity="exit" name="event__exit">
    which is followed by
    if (this.rawValue == "0")- (i.e. the value of the Drop-down List)
    sfCompanyDetails.presence = "visible";
    sfRecruitmentAgency.presence = "hidden";
    etc, etc
    and, therefore, it is not executed again when the saved file is re-opened.
    Can anyone please advise how to achieve this?

    Moved from Adobe Connnect Forums.

Maybe you are looking for

  • When using pc banking with bnpparibasfortis, transfer orders with future date in august of september don't work with nightly.

    restart with addons disabled doesn't solve the problem. fill in the date manually in stead of using the calender of the website doesn'make any difference. amount; benificiary neither. june; july; october work fine. the problem is relatied to nightly:

  • Could somebody tell me how this program works....

    Hi, I am new in Java...I just bought a book and start to learn the java from that book. Here is one of the project exercise and seems that it is difficult for me to understand the flow of the program. class HelpClassDemo { public static void main(Str

  • Work center reporting

    Hi, In our system in transaction OP4A lot of 'Shift definations', 'shift sequences' are maintained unnecessary. We want to clean this data (Remove unwanted). Is there any report available for work center like 'where used' function to identify shift p

  • Adobe X Pro Text Editing bug

    Hi, i have adobe x pro installed on my laptop that use for editing multiple text document. recently i noticed that after deleting text within my pdf document.  the text disappear but each time you print the document on a printer. the text reappear. W

  • TM Network Backups Freezing up Host computer....

    In my workgroup we have set up a 10.6 Mac Mini as a network backup for several other macs. There's three of us backing up our 10.6 Macs to a RAID1 array connected to the Mini via Firewire. Everything works great as long as the Mini is available, but