JSP Response Slow in OC4J

Hi,
I have a web application (jsps and servlets accessig to an oracle database) deployed by jdeveloper 10g in OC4J Standalone 10g, the problem appears when my aplication turned very slow where i go to a jsp page, only the html pages are fast but my jsps not, this appears incomplete because of the slow response, the pc that i install oc4j has 1GB memory, and i don't know what to do, please help me to find out why is this happening, i did the same thing in opther pc and i have no problems, so in this pc why is it happening.
Thanks

David, I do not think that oc4j 10.1.2 is certified with jdk-1_5_0_03. It is certified with JDK 1.3.1 and JDK 1.4.1, although it is quite possible that it can be run with other jdk versions.
I can not see why your jsp is running incredibly slow. From what you provided, it seems that the process is stuck somewhere inside the _jspService method of the jsp page. To confirm that, it is much easier for you do a little more debugging. Just insert
  <% System.out.println(System.currentTimeMillis()); %>
into various places of your jsp. Also, you may make a thread dump by "ctrl^break" on Windows or "ctrl^\" on Unix from time to time so as to find which methods stay on top of the stacks of the running threads. Then we can pinpoint the places that take most of the time.

Similar Messages

  • Jsp response performance

    Jsp response performance
              ===================
              The problem:
              We have performance problem while running a jsp-application.
              More specific let's assume the jsp-page generates 1000 lines as a response
              to the browser.
              I've done some testing and if the jsp makes 1000 print.out() it works out
              signaficantly
              slower then to create a StringBuffer(with 1000 lines) and do one print.out.
              Why is that ?
              I thought the print.out where buffered in the response...
              ..Per Lovdinger
              

    Hi,
              When using the "out.print( ... )" in a JSP, I believe that it forces the
              compiled servlet to use a PrintWriter. Servlets that use PrintWriter
              instead of ServletOutputStream, are known to be at least 15% slower.
              If you can, I would suggest using a servlet instead of a JSP.
              Although it does not ultimately answer your question, it does give you some
              idea why the "out.print" is slow, and what you need to do if performance is
              a must!
              Also, 1000 line output is a large output. You may wish to find a way to
              break this into portions, and display it that way.
              -np
              

  • How to send a text file as jsp response

    Hi
    I want to send a text file/or other file as jsp response ..How to do it..
    Pls tell me if any body knows about it..
    thanks

    Hmmm im no expert but i think you would have to convert it to a byte array and use OutputStream with the response ... not sure ...like i said, im no expert

  • JSP-XSL problem in oc4j

    Hi,
    Im using a JSP page to generate XML and the same jsp contains reference to another jsp that outputs an XSL. In the client side the XML-XSL transformation will happend and result will be displayed on the screen.
    My problem is when the jsp generates XML/, the oc4j container is trying to apply the transformation on the server side on its own.I want to avoid this.
    Iam sure there must be a setting in some property file to do this,,
    Can any one shed some light to solve this problem??
    Thx
    Ravi

    Please post this question on the J2EE forum: http://forums.oracle.com/forums/forum.jsp?id=486963
    Ashesh Parekh
    Oracle9iAS Product Management

  • Remte JSP debugging for standalong OC4J 10.3.x not working

    Follow the next steps:
    1. Copying the ojc.jar, jdev-rt.jar and jdev-remote.jar to the OC4J_HOME/lib
    directory
    2. Add the next lines to the application.xml file
    < !-- Remote Debug settings -->
    < library path="../../../lib/jdev-rt.jar" />
    < library path="../../../lib/ojc.jar" />
    < library path="../../../lib/ojmisc.jar" />
    3. Change the global-web-application.xml in a text editor.
    From the following section:
    < orion-web-app
    jsp-cache-directory="./persistence"
    servlet-webdir="/servlet"
    development="false"
    >
    Change development="false" to development="true" to enable servlet
    debugging.
    4. In the global-web-application.xml file, modify the jsp servlet tags to be:
    < servlet>
    < servlet-name>jsp< /servlet-name>
    < servlet-class>oracle.jsp.runtimev2.JspServlet< /servlet-class>
    < init-param>
    < param-name>debug_mode< /param-name>
    < param-value>true< /param-value>
    < /init-param>
    < init-param>
    < param-name>developer_mode< /param-name>
    < param-value>true< /param-value>
    < /init-param>
    < init-param>
    < param-name>encode_to_java< /param-name>
    < param-value>true< /param-value>
    < /init-param>
    < init-param>
    < param-name>emit_debuginfo< /param-name>
    < param-value>true< /param-value>
    < /init-param>
    < init-param>
    < param-name>jspjavacompiler< /param-name>
    < param-value>oracle.jdevimpl.jsp.JspOjcCompiler< /param-value>
    < /init-param>
    < load-on-startup>0< /load-on-startup>
    < /servlet>
    5. Start the oc4j using the next command:
    java -hotspot -Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=4000 -jar oc4j.jar
    6. Deploy the application
    7. Select the Remote Debugging and Profiling option in the Run Configuration
    for the project with the jsp to debug.
    8. In the Debugger/Remote section of the run Configuration set the host, port
    and timeout to the correct ones (name of the computer where you are running
    the application).
    When trying to run the jsp you are going to get the error:
    STACK ERROR:
    07/12/28 11:56:56
    ....\j2ee\home\application-deployments\MyJ2eeApp\MyJ2eeApp\persistence\_pages\_MyPage
    error #552: illegal forward reference
    07/12/28 11:56:56 /*@lineinfo:filename=/MyPage.jsp*/
    07/12/28 11:56:56
    2007-12-28 11:56:57.703 NOTIFICATION J2EE JSP-0008 Unable to dispatch JSP
    Page : oracle.classloader.util.AnnotatedClassNotFoundException:
    Missing class: _MyPage
    Dependent class: oracle.jsp.runtimev2.JspPageInfo
    Loader: oc4j:10.1.3
    Code-Source: ..../j2ee/home/lib/ojsp.jar
    Configuration: < code-source> in META-INF/boot.xml in ....\j2ee\home\oc4j.jar
    This load was initiated at MyJ2eeAppInfo.web.MyJ2eeAppInfo.jsp26687282:0.0.0 using the loadClass() method.
    The missing class is not available from any code-source or loader in the system.
    at oracle.classloader.PolicyClassLoader.handleClassNotFound
    (PolicyClassLoader.java:2068) [/C:/sw/oracle/oc4j101330/j2ee/home/lib/pcl.jar
    (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@9627532]
    Reproduced the problem with the next products:
    JDev OC4J Reproduced?
    10.1.3.3.0 10.1.3.2.0 YES
    10.1.3.3.0 10.1.3.3.0 YES
    10.1.3.2.0 10.1.3.2.0 YES
    When i try not use the following tags section
    < init-param>
    < param-name>emit_debuginfo< /param-name>
    < param-value>true< /param-value>
    < /init-param>
    everything is working, but ojc not generate debug information for compiled JSP page and debugger doesn't stop at break points.
    When i try use thise tags section, i got the next instructions for compiler in MyPage.java (it is generated from MyPage.jsp):
    /*@lineinfo:filename=/MyPage.jsp*/
    /*@lineinfo:generated-code*/
    and compiler is generating next message in console:
    error #552: illegal forward reference
    07/12/28 11:56:56 /*@lineinfo:filename=/MyPage.jsp*/
    and doesn't want to compile MyPage.java.
    I need help with this problem! And i don't have any ideas how to solve it. People, help me, please!

    Dear dvohra, have you ever try yourself the method, which you suggest?
    It is not working!
    If i try to configure OC4j like in blog, IDE doesn't stop in JSP's break points.
    So, I need in 100% working solution for remote debugging on oc4j 10.3.x. The main reason of using remote debug for me is that i have to develop portlets, and i have to invoke my portlets from portal. It is posible only when i deploy my portlet on stand alone oc4j!
    I really need remote debug! And i'll be very thankful someone for 100% working solution!

  • JSP response into a Javascript code

    Suppose I have a form that I submit, and its action is set to a JSP page that returns a series of elements <option>, for example:
        <option>2005</option>
        <option>2006</option>
    Is it possible to GET that JSP response, inside the JavaScript code?
    Or should I better state, inside the JSP code, to return ONLY the numbers and then I get it on the JavaScript and use the .add() funtion to add the item to a <select> ?
    How do I save that response inside the JavaScript?
    For example, I am trying with this Javascript function that handles the changes on a drop-down list:
      function clickedOnPType(lista)
      document.form1.action = "searchAvailableYears.jsp?pType=" + txtPType;}
      document.form1.submit();
    }...And I am getting, in return, a series of <option> with the correct data...
    Thanking you in advance,
    MMS

    Oh hello... in one of my 1000 searches I found that
    post days ago and I was already trying with your
    code, but I was getting several errors like
    "undefined is null or not an object" (in IE),
    "xmlhttp.responseXML has no properties" (in
    Firefox).... Well one thing i wanted to discuss here is is wat properties does in general a XmlHttpRequest Object contains
    checkout the below interface which gives a clear understanding of the Object member properties.
    interface XMLHttpRequest {
      attribute EventListener   onreadystatechange;
      readonly attribute unsigned short  readyState;
      void  open(in DOMString method, in DOMString url);
      void  open(in DOMString method, in DOMString url, in boolean async);
      void  open(in DOMString method, in DOMString url, in boolean async, in DOMString user);
      void  open(in DOMString method, in DOMString url, in boolean async, in DOMString user, in DOMString password);
      void  setRequestHeader(in DOMString header, in DOMString value);
      void  send();
      void  send(in DOMString data);
      void  send(in Document data);
      void  abort();
      DOMString  getAllResponseHeaders();
      DOMString  getResponseHeader(in DOMString header);
      readonly attribute DOMString  responseText;
      readonly attribute Document   responseXML;
      readonly attribute unsigned short  status;
      readonly attribute DOMString  statusText;
    };therefore as you can see XmlHttpRequest.reponseXML returns a Document Object which has below set of properties.
    http://www.w3schools.com/dom/dom_document.asp
    http://www.javascriptkit.com/domref/documentproperties.shtml
    and as said earlier one can send AJAX response in three ways
    1).Plain text(with comma seperated values maybe): Which we can collect using XmlHttpRequest.responseText 2).XML: @ client side XmlHttpRequest.reponseXML create a DOM Object using which one can parse it get values
    of attributes and values of different tags and then update the view accordingly.
    3).JSON(Javascript Object Notation): It is a bit complicated thing to discuss at this moment
    however it uses the first property(Plain text) and then
    uses set of libraries to parse and update the view.
    checkout below links to understand it
    http://www.ibm.com/developerworks/library/j-ajax2/
    http://oss.metaparadigm.com/jsonrpc/
    >  function handleOnChange(ddl)
    >
    var ddlIndex = ddl.selectedIndex;
    var ddlText = ddl[ddlIndex].text;
    var frmSelect = document.forms["form1"];
    var frmSelectElem = frmSelect.elements;
    if(ddl.name="pType")
         txtYear = "";
    txtDay = "";
              txtTime = "";
              unblock(document.form1.year);
              block(document.form1.day);
              block(document.form1.time1);
         laProxLista = frmSelectElem["year"];
    if (ddl.options[ddl.selectedIndex].text !=
    txtPType = ddl.options[ddl.selectedIndex].text;
    else if(ddl.name="year")
         txtDay="";
         txtTime="";
              unblock(document.form1.day);
              block(document.form1.time1);
    laProxLista = frmSelectElem["day"];
    f (ddl.options[lista.selectedIndex].text != "---")
    txtYear = ddl.options[lista.selectedIndex].text;
    else if(ddl.name="day")
    {          txtTime = "";
              unblock(document.form1.time1);
    laProxLista = frmSelectElem["time1"];
    (ddl.options[ddl.selectedIndex].text != "---")
    txtDay = ddl.options[ddl.selectedIndex].text;
    else //time1
    laProxLista = null;
    if (ddl.options[ddl.selectedIndex].text != "---")
    txtTime1 = ddl.options[ddl.selectedIndex].text;
    if ( txtPType != "---")
    xmlhttp = null
    // code for initializing XmlHttpRequest
    Object On Browsers like Mozilla, etc.
    if (window.XMLHttpRequest){ 
    xmlhttp = new XMLHttpRequest()
    // code for initializing XmlHttpRequest
    Object On Browsers like IE
    else if (window.ActiveXObject) { 
    xmlhttp = new ActiveXObject("Microsoft.XMLHTTP")
    if (xmlhttp != null)
    if(ddl.name = "pType")
    // Setting the JSP/Servlet url to get
    XmlData
    url = "searchAvailableYears.jsp?pType="
    + txtPType;
                   else if(ddl.name = "year")
    url = "searchAvailableDOY.jsp?pType=" + txtPType
    PType + "&year=" + txtYear;
                   else(ddl.name = "day")
    url = "searchAvailableTimes.jsp?pType=" +
    e=" + txtPType + "&year=" + txtYear + "&day=" +
    txtDay;
    xmlhttp.onreadystatechange =
    handleHttpResponse;
    // Open the Request by passing Type of
    Request & CGI URL
    xmlhttp.open("GET",url,true);
    // Sending URL Encoded Data
    xmlhttp.send(null);
    else{
    // Only Broswers like IE 5.0,Mozilla & all other
    browser which support XML data Supports AJAX
    Technology
    // In the Below case it looks as if the
    browser is not compatiable
    alert("Your browser does not support
    XMLHTTP.")
    } //else
    } //if chosen
    //function
         //----------------------------Well as far as i can see i do not have any issues with it because your code looks
    preety much involved with your business logic but one thing i would like to reconfim
    here is the variable "xmlhttp" a global one.
    if no declare xmlhttp variable as a global variable.
    <script language="javascript">
    var xmlhttp;
    function handleOnChange(ddl){
    function verifyReadyState(obj){
    function handleHttpResponse() {
    </script>
    > function verifyReadyState(obj)
    if(obj.readyState == 4){
    if(obj.status == 200){
    if(obj.responseXML != null)
    return true;
    else
    return false;
    else{
    return false;
    } else return false;
    }I believe,this is preety much it.
    > function handleHttpResponse() [/b]
    if(verifyReadyState(xmlhttp) == true)
    //-----------HERE!! ---- I GET "UNDEFINED" IN THE
    DIALOG BOX
    //------- BELOW THE CODE LINE....---
    var response = xmlhttp.responseXML.responseText;
    alert(response);
    it is obvious that you would get Undefined here as responseText is not a property of Document Object or to be more specific to the Object what xmlhttp.responseXML returns.
    you might have to use that as alert(xmlhttp.responseText);
    and coming back to parsing the XML reponse you have got from the server we need to use
    var response = xmlhttp.responseXML.documentElement; property for it...
    and if you put as a alert message it has to give you an Output like"Object"
    alert(response);
    if that doesn't the browser version which you are using may not support XML properly.
    var response = xmlhttp.responseXML.documentElement;
    removeItems(laProxLista);
    var x = response.getElementsByTagName("option")
      var val
      var tex
      var newOption
                  for(var i = 0;i < x.length; i++){
                     newOption = document.createElement("OPTION")
                     var er
                     // Checking for the tag which holds the value of the Drop-Down combo element
                     val = x.getElementsByTagName("value")
    try{
    // Assigning the value to a Drop-Down Set Element
    newOption.value = val[0].firstChild.data
    } catch(er){
    // Checking for the tag which holds the Text of the Drop-Down combo element
    tex = x[i].getElementsByTagName("text")
    try{
    // Assigning the Text to a Drop-Down Set Element
    newOption.text = tex[0].firstChild.data
    } catch(er){
    // Adding the Set Element to the Drop-Down
    laProxList.add(newOption);
    here i'm assuming that i'm sending a xml reponse of format something below.
    <?xml version="1.0" encoding="ISO-8859-1" ?>
    <drop-down>
       <option>
            <value>1</value>
            <text>label1</text>
       </option>
       <option>
            <value>2</value>
            <text>label2</text>
       </option>
       <option>
            <value>3</value>
            <text>label3</text>
       </option>
    </drop-down>and i'm trying to update both option's value and label which would be something like
    <select >
    <option value="1">label1</option>
    <option value="2">label2</option>
    <option value="3">label3</option>
    <option value="4">label4</option>
    </select>else where if you are interested in getting a format like the one below
    <select >
    <option>label1</option>
    <option>label2</option>
    <option>label3</option>
    <option>label4</option>
    </select> try the below snippet
    var response = xmlhttp.responseXML.getElementsByTagName("text");
    var length = response.length;
    var newOption
    for(var i =0 ; i < length;i++){
       newOption = this.document.createElement("OPTION");
       newOption.text = response.childNodes[0].nodeValue;
    // or newOption.text = response[i].firstChild.data
    laProxList.add(newOption);
    Another thing...
    I have tried to set the content type inside the JSP
    to
    response.setContentType("text/html");
    AND to
    response.setContentType("text/xml");
    but none of the above is getting me results......use of response.setContentType("text/xml"); is more appropriate here.. as you are outputting XML or a plain text here...
    make sure you set the reponse headers in the below fashoin while outputting the results....
    response.setContentType("text/xml");
    response.setHeader("Pragma", "no-cache");
    response.setHeader("Cache-Control", "no-cache");
    response.setDateHeader("Expires", 1);
    response.setDateHeader("max-age", 0); and if you are serious about implementing AJAX i would advice you start learn basics of XmlHttpRequest Object and more about DOM parsing is being implemented using javascript.
    http://www.w3.org/TR/XMLHttpRequest/#xmlhttprequest0
    http://www.jibbering.com/2002/4/httprequest.html
    http://java.sun.com/developer/technicalArticles/J2EE/AJAX/
    http://developer.apple.com/internet/webcontent/xmlhttpreq.html
    http://www.javascriptkit.com/domref/documentproperties.shtml
    and then go about trying different means of achieving them using simpler and cool frameworks
    like DWR,dojo,Prototype,GWT,Jmaki,Back Base 4 Struts,Back Base 4 JSF....etc and
    others frameworks like Tomahawk,Ajax4Jsf,ADF Faces,ICE FACES and many others which work with JSF.
    Please Refer
    http://swik.net/Java+Ajax?popular
    http://getahead.org/blog/joe/2006/09/27/most_popular_java_ajax_frameworks.html
    Hope that might help :)
    and finally an advice before implementing anything specfic API which may be related to any technologies (JAVA,javascript,VB,C++...) always refer to API documentation first which always gives you an Idea of implementing it.
    Implementing bad examples posted by people(even me for that matter) directly doesn't make much sense as that would always lands you in trouble.
    and especially when it is more specific to XmlHttpRequest always make habit of refering
    specific Browser site to know more about why specific Object or its property it not working 4i
    IE 6+: http://msdn2.microsoft.com/en-us/library/ms535874.aspx
    MOZILLA: http://developer.mozilla.org/en/docs/XMLHttpRequest
    Safari: http://developer.apple.com/internet/webcontent/xmlhttpreq.html
    Opera 9+: http://www.opera.com/docs/specs/opera9/xhr/
    Hope there are no hard issues on this...
    REGARDS,
    RaHuL

  • Recently downloaded Mac OS X Mavericks and Safari has become noticeably less responsive; slow to load web pages. Also, when Safari is open, the Finder randomly comes to the front. Any ideas?

    Recently downloaded Mac OS X Mavericks and Safari has become noticeably less responsive; slow to load web pages. Also, when Safari is open, the Finder randomly comes to the front. Any ideas?

    In fact, I am runing some plug-ins:  ClickToPlugin (Flash blocker), Collusion and Disconnect.
    There is quite a history of new versions of Safari breaking third-party plug-ins/extensions becasue the plug developer did not have an updated version available by the time the new Safari version dropped. What you report--worked fne before but won't now--is exactly what history says happens in such a case.
    First, turn off all third-party stuff and see if Safari smooths out. Alternatively, create a new user account and, from there, test Safari in its native state with nothing added. That is a good diagnostic to see if the issue is a plug or extension.
    If either of those helps, check for updates to the add-ons. If the developer is slow in reacting to the updated Safari version, (not unheard of), stop using that extension until an update is available.

  • JSP binary deployment in OC4J

    Can we do binary deployment of JSP as supported in JSERV env.
    null

    David, I do not think that oc4j 10.1.2 is certified with jdk-1_5_0_03. It is certified with JDK 1.3.1 and JDK 1.4.1, although it is quite possible that it can be run with other jdk versions.
    I can not see why your jsp is running incredibly slow. From what you provided, it seems that the process is stuck somewhere inside the _jspService method of the jsp page. To confirm that, it is much easier for you do a little more debugging. Just insert
      <% System.out.println(System.currentTimeMillis()); %>
    into various places of your jsp. Also, you may make a thread dump by "ctrl^break" on Windows or "ctrl^\" on Unix from time to time so as to find which methods stay on top of the stacks of the running threads. Then we can pinpoint the places that take most of the time.

  • XY graph response slows with dashed plot

    I have an xy graph displaying multiple plots. I find that if at least one of the plots uses a dashed line as the line type, and that this plot has zero values displayed, then the response of the graph slows significantly. Redraws seem to take 5 to 10 times longer and cpu utilization goes way up. If I scroll the plot such that the zero values go past the endpoint of the x-axis, then the normal response returns. The effect gets worse with the number of dashed plots containing zero values, but seems independent of the number of zero values. Has anybody else seen this?

    Since you asked so many good questions, I went back and took a harder look at the situation and I think I figured it out. I am capturing and displaying instrument data continuously as a function of time. I feed my chart with large pre-initialized (with zeros) arrays that are incrementally filled with real data from the last element forward, so that the plot line does not zoom off to the right from the last point. The x-axis is date/time. The tradeoff then is that the data to the left starts at date=0 (until the array fills). The issue is not actually that I am displaying y-values of zero as I thought at first, but that if the window on the time axis is such that the first real data point is displayed, then the plot line extends from this value left to time=0, which is a long way. Labview needs to actually compute this line to properly display the line segment from 0,0 to the first data point, but only if the first point is displayed. I think Labview has a quick method of doing this for a solid line, but that for a dashed line, it needs to compute each little dash segment and it bogs down. As it turns out, this situation will happen very seldom and I can ignore the whole issue. Thanks for the help -

  • JSP on JDeveloper9i emedded OC4J

    Hello-
    When trying to run the JSP samples on OC4J, I get the following
    errors:
    500 Internal Server Error
    OracleJSP: oracle.jsp.provider.JspCompileException:
    Errors compiling:C:\JDeveloper9i\j2ee\home\application-
    deployments\default\defaultWebApp\temp\_pages\_examples\_jsp\_num
    \_numguess.java
    Line # Error
    4
    Package javax.servlet not found in import. import
    javax.servlet.*;
    5
    Package javax.servlet.http not found in import. import
    javax.servlet.http.*;
    6
    Package javax.servlet.jsp not found in import. import
    javax.servlet.jsp.*;
    14
    Superclass com.orionserver.http.OrionHttpJspPage of class
    examples.jsp._num._numguess not found. public class _numguess
    extends com.orionserver.http.OrionHttpJspPage { 
    The OC4J I'm using is the one embedded with JDeveloper9i. Does
    anyone have a suggestion as to how I can get JSP to work
    correctly?
    Thanks in advance,
    Ricardo Guzman

    Hi !!
    There is another forum exclusively for JDeveloper questions that
    is monitored by JDeveloper development team and I would
    recommend
    you to post this question in that forum as this is related to
    deploying on Oc4J from JDeveloper.
    I'm sorry for the inconvinience that may have caused to you.
    regards
    Debu

  • Can't Profile my JSP's on embedded OC4J - what am I doing wrong?

    I can profile (Event and Execution) my executable client-side classes (ie, fired off via a main method) fine, but cannot get any profiling info on my JSP's - any suggestions on what I'm missing?
    I'm using JDev 9.0.3. I've tried it with and without the .jsps package in the Profile "Classes and Packages to include" path. I've tried it with and without the "Remote Profiling" option checked. I'm using the exact same section of code in my class and jsp, and the class works fine for both Execution and Event profiling, so I don't think its the code or my use of the API that's flawed. I've set the project's "Default Run Target" to the JSP (for attempts to profile the JSP - its set to the class for profiling of the main-invoked class).
    ojvm is selected under the Runner "Java Virtual Machine" option. The standard defaults are selected under the Tools:Preferences Embedded OC4J options.
    The profiler window just acts as if the JSP never runs (though in the log window, I get the "Profiler UI connected..." and the OC4J startup messages just fine.
    Most frustrated and appreciate any assistance!
    Thanks,
    Jim

    I can profile (Event and Execution) my executable client-side classes (ie, fired off via a main method) fine, but cannot get any profiling info on my JSP's - any suggestions on what I'm missing?
    I'm using JDev 9.0.3. I've tried it with and without the .jsps package in the Profile "Classes and Packages to include" path. I've tried it with and without the "Remote Profiling" option checked. I'm using the exact same section of code in my class and jsp, and the class works fine for both Execution and Event profiling, so I don't think its the code or my use of the API that's flawed. I've set the project's "Default Run Target" to the JSP (for attempts to profile the JSP - its set to the class for profiling of the main-invoked class).
    ojvm is selected under the Runner "Java Virtual Machine" option. The standard defaults are selected under the Tools:Preferences Embedded OC4J options.
    The profiler window just acts as if the JSP never runs (though in the log window, I get the "Profiler UI connected..." and the OC4J startup messages just fine.
    Most frustrated and appreciate any assistance!
    Thanks,
    Jim Jim,
    your solution is not inconsistent with how the execution and event profiler work. In the online documentation it states that "samples that have accumulated from the start of the program (or the last clear) are displayed when you pause the Execution Profiler or when the program terminates." You can hit 'pause' as you mention, 'snapshot', or stop the process to get results from the execution and event profilers. Basically, you need to tell the profiler when to provide a sample. Also if you plan to do any remote profiling of JSP's you will need to manually start the application and start a browser to invoke the JSP or servlet.
    I hope this

  • Where Can I Find the JSP Class files on OC4J (Orion server)

    I am using Oracle J2EE Container (OC4J 1.0.2.2 aka Orion server) and I need to find the ".class" file generated for each JSP I created. I've looked under the "WEB-INF" directory under the "application" directory and the "persistence" directory under application-deployments and didn't find them. Any help would be appreciated. Thank you.

    hi
    Just check in _pages directory
    regds

  • JSP 2.0 and OC4J 9iAS 9.0.4

    Does anyone know if the next release of 9iAS, specifically OC4J 9.0.4 support the JSP 2.0 standard? If not when will JSP 2.0 be supported in OC4J?
    Laith E.H.

    OC4J 9iAS 9.0.4 will not support JSP 2.0.
    The release following that will support JSP 2.0.
    A developer preview version is planned to be released
    some time in next couple of months.
    -Prasad

  • Slow standalone oc4j when creating new record

    Hi
    I have the following scenario:
    An ADF BC application against a Oracle10g DB, aprox 30.000 rows in the DB.
    The client is using uix.
    The server is a standalone OC4J on linux. It has 512M RAM.
    When I want to create a new record via the browser, it is very very slow (20-40 sec.) I'm using the 'immidiate' update mode. However the search facility is fast, even if I lookup all the (30.000)rows. I use the same view object for both.
    Any ideas why the create function is slow, please.

    Hi, John!
    The code of inputText is:
    <af:inputText value="#{bindings.AIpasibasPk.inputValue}"
                                    label="#{bindings.AIpasibasPk.hints.label}"
                                    required="#{bindings.AIpasibasPk.hints.mandatory}"
                                    columns="20"
                                    maximumLength="#{bindings.AIpasibasPk.hints.precision}"
                                    shortDesc="#{bindings.AIpasibasPk.hints.tooltip}"
                                    id="it12">
                        <f:validator binding="#{bindings.AIpasibasPk.validator}"/>
                      </af:inputText>I need to put converter? If Yes, how I can do this correctly?
    Best regards, Debuger!

  • IPhone 3G screen response slowing down with OS updates

    My iPhone is getting slower with every new update of the OS. Sliding bar, received SMS list...generally every screen presentation now takes 1 or more seconds to display. This has only slowed down after the last couple of OS updates. Not happy...it used to have an instant response. Is the new programming for the new iPhone 4 included slowing down the OS for iPhone 3G?

    iOs4x definitely does slow down a 3G. The 3G just doesn't have a powerful enough processor.
    One trick that seems to make a big difference is to switch off Spotleight indexing. Go to Settings, General, Spotlight Search amd deselect all items.

Maybe you are looking for