UIX-JSP: Error in request parameter

Hi:
In my page browse, wheni press the button "Create" and select the new row and late press the button "update" i got and error:
Row was not found using request parameter: 00010000000000000006000000EF42F52F97
The complete error is following:
Exception Details
oracle.jbo.JboException: Row was not found using request parameter: 00010000000000000006000000EF42F52F97.
     void oracle.jbo.JboException.(java.lang.String)
     void oracle.jbo.html.jsp.datatags.RowTag.handleAction()
     int oracle.jbo.html.jsp.datatags.RowTag.doStartTag()
     void RhConceptoView_Edit._jspService(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
     void oracle.jsp.runtime.HttpJsp.service(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
     void oracle.jsp.runtimev2.JspPageTable.service(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String)
     void oracle.jsp.runtimev2.JspServlet.internalService(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
     void oracle.jsp.runtimev2.JspServlet.service(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
     void javax.servlet.http.HttpServlet.service(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
     void com.evermind.server.http.ServletRequestDispatcher.invoke(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
     void com.evermind.server.http.ServletRequestDispatcher.forwardInternal(javax.servlet.ServletRequest, javax.servlet.http.HttpServletResponse)
     void com.evermind.server.http.ServletRequestDispatcher.forward(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
     void com.evermind.server.http.GetParametersRequestDispatcher.forward(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
     void com.evermind.server.http.EvermindPageContext.forward(java.lang.String)
     void RhConceptoView_Browse._jspService(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
     void oracle.jsp.runtime.HttpJsp.service(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
     void oracle.jsp.runtimev2.JspPageTable.service(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String)
     void oracle.jsp.runtimev2.JspServlet.internalService(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
     void oracle.jsp.runtimev2.JspServlet.service(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
     void javax.servlet.http.HttpServlet.service(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
     void com.evermind.server.http.ServletRequestDispatcher.invoke(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
     void com.evermind.server.http.ServletRequestDispatcher.forwardInternal(javax.servlet.ServletRequest, javax.servlet.http.HttpServletResponse)
     boolean com.evermind.server.http.HttpRequestHandler.processRequest(com.evermind.server.ApplicationServerThread, com.evermind.server.http.EvermindHttpServletRequest, com.evermind.server.http.EvermindHttpServletResponse, java.io.InputStream, java.io.OutputStream, boolean)
     void com.evermind.server.http.HttpRequestHandler.run(java.lang.Thread)
     void com.evermind.util.ThreadPoolThread.run()

I'm not an expert in UIX-JSP, can anybody help me, PLEASE?.

Similar Messages

  • Pass request parameter to portlet in jsp

    Hi,
    I wrote a simple PDK portlet that passes a request parameter to itself. Integrated in a portal page, the parameter passing works as intended.
    Integrated in a jsp using the Oracle taglib, the parameter passing does not work. Here is the code I am using:
    <portal:usePortal />
    <html>
    <head>
    <title>Test-JSP</title>
    </head>
    <portal:showPortlet name="myPortlet" header="false"/>
    </body>
    </html>
    (index.jsp)
    <?xml version = '1.0' encoding = 'UTF-8'?>
    <?providerDefinition version="3.1"?>
    <provider class="oracle.portal.provider.v2.DefaultProviderDefinition">
    <session>false</session>
    <passAllUrlParams>false</passAllUrlParams>
    <preferenceStore class="oracle.portal.provider.v2.preference.FilePreferenceStore">
    <name>prefStore1</name>
    <useHashing>true</useHashing>
    </preferenceStore>
    <portlet class="oracle.portal.provider.v2.DefaultPortletDefinition">
    <id>1</id>
    <name>MyPortlet</name>
    <title>My Portlet</title>
    <description>My Portlet</description>
    <timeout>40</timeout>
    <showEditToPublic>false</showEditToPublic>
    <hasAbout>false</hasAbout>
    <showEdit>false</showEdit>
    <hasHelp>false</hasHelp>
    <showEditDefault>true</showEditDefault>
    <showDetails>false</showDetails>
    <renderer class="oracle.portal.provider.v2.render.RenderManager">
    <renderContainer>true</renderContainer>
    <renderCustomize>true</renderCustomize>
    <autoRedirect>true</autoRedirect>
    <contentType>text/html</contentType>
    <showPage>/jsp/show.jsp</showPage>
    <editDefaultsPage>/jsp/editdefaults.jsp</editDefaultsPage>
    </renderer>
    <personalizationManager class="oracle.portal.provider.v2.personalize.PrefStorePersonalizationManager">
    <dataClass>oracle.portal.provider.v2.personalize.NameValuePersonalizationObject</dataClass>
    </personalizationManager>
    </portlet>
    </provider>
    (provider.xml)
    What did I do wrong?
    Regards
    Thomas

    I forgot to mention that the jsp is external and that I am using Portal 10.1.2.
    With internal jsps the parameter passing works fine.
    Amazingly portletRenderRequest.getRenderContext().getPageURL() contains the request parameter. It would be possible to extract it from the url. But I really don't want to do that.

  • Remove danger of using a request parameter in a JSP:include

    HI,
    I have a basic include where the filename is controlled by a request parameter:
    <%String fileName = request.getParameter("param1")+".jsp"; %>
    <jsp:include page="<%=fileName%>" flush="true" />This works fine but I am rather worried about the security as some can easily edit the URL to something like this:
    http://www.mysite.com/include.jsp?param1=../../../passwords
    Does anyone have any good security techniques that would strip out anything in param1 that could potentially be rather dangerous?
    Thanks

    Check/test the request parameter before using. Best way is to use a (controller) servlet for this.

  • JSP Error:   Request URI:/OA_HTML/OA.jsp after RUP 7

    Good day,
    After successfully applying   6241631 (RUP7)
    I am getting this error after supplying username and password to enter the EBS homepage.
    JSP Error:
    Request URI:/OA_HTML/OA.jsp
    Exception:
    java.lang.NoSuchMethodError: oracle.apps.fnd.framework.webui.OAWebBeanMetaData.getStyle(Loracle/apps/fnd/framework/webui/OAPageContext;)Ljava/lang/String;
    I don't see anything in my log files to further explain this error nor on the web.
    OS: ORHEL 4
    DB:10Gr2
    Regards,
    Shridath.

    Good day Hussein,
    I am on 11.5.10.2.
    Patch and pre-reqs were applied successfully to the best of my knowledge. (I am not not ruling out the possibility of missing a pre-req patch)
    No errors in the database log file.
    select count(*)
    from dba_objects
    where status='INVALID';
    *356
    The file header
    $Header OAWebBeanMetaData.java 115.10 2001/09/21 14:36:56 pkm ship   $
    I have also reviewed the bugs stated in the documents, but none speaks specifically to my error.
    I am currently reviewing the compilation errors of the in the adworker logs.
    Regards,
    Shridath.

  • Error running uix jsp application

    Hi All
    I have created a bc4j/UIX JSP application. When i try to run the main.jsp file on the local host the application doesn't launch. I see the following message
    in the OC4J window
    Please help
    Regards
    Preet y Agarwal
    [Starting OC4J using the following ports: HTTP=8988, RMI=23891, JMS=9227.]
    C:\oracle\ora91\jdk\bin\javaw.exe -ojvm -classpath C:\oracle\ora91\j2ee\home\oc4j.jar -Dhttp.proxyHost=proxy.monash.edu.au -Dhttp.proxyPort=8080 com.evermind.server.OC4JServer -config C:\oracle\ora91\jdev\system\oc4j-config\server.xml
    [waiting for the server to complete its initialization...]
    Auto-unpacking C:\oracle\ora91\jdev\system\oc4j-config\applications\bc4j.ear... done.
    Auto-unpacking C:\oracle\ora91\jdev\system\oc4j-config\applications\bc4j\webapp.war... done.
    Auto-unpacking C:\oracle\ora91\jdev\system\oc4j-config\applications\bc4j\cabo.war... done.
    Auto-deploying bc4j (New server version detected)...
    Auto-deploying file:/C:/oracle/ora91/jdev/system/oc4j-config/default-web-app/ (New server version detected)...
    Auto-deploying file:/C:/oracle/ora91/jdev/system/oc4j-config/applications/bc4j/cabo/ (New server version detected)...
    Auto-deploying file:/C:/oracle/ora91/jdev/system/oc4j-config/applications/bc4j/webapp/ (New server version detected)...
    Oracle9iAS (9.0.2.0.0) Containers for J2EE initialized
    ApplicationServer: appName = bc4j
    ApplicationServer: appName = current-workspace-app
    Process exited.
    C:\oracle\ora91\jdk\bin\javaw.exe -ojvm -classpath C:\oracle\ora91\j2ee\home\oc4j.jar -Dhttp.proxyHost=proxy.monash.edu.au -Dhttp.proxyPort=8080 com.evermind.server.OC4JServer -config C:\oracle\ora91\jdev\system\oc4j-config\server.xml
    [Starting OC4J using the following ports: HTTP=8988, RMI=23891, JMS=9227.]
    [waiting for the server to complete its initialization...]
    Oracle9iAS (9.0.2.0.0) Containers for J2EE initialized
    Process exited.
    C:\oracle\ora91\jdk\bin\javaw.exe -ojvm -classpath C:\oracle\ora91\j2ee\home\oc4j.jar -Dhttp.proxyHost=proxy.monash.edu.au -Dhttp.proxyPort=8080 com.evermind.server.OC4JServer -config C:\oracle\ora91\jdev\system\oc4j-config\server.xml
    [Starting OC4J using the following ports: HTTP=8988, RMI=23891, JMS=9227.]
    [waiting for the server to complete its initialization...]
    Oracle9iAS (9.0.2.0.0) Containers for J2EE initialized
    Process exited.
    C:\oracle\ora91\jdk\bin\javaw.exe -ojvm -classpath C:\oracle\ora91\j2ee\home\oc4j.jar -Dhttp.proxyHost=proxy.monash.edu.au -Dhttp.proxyPort=8080 com.evermind.server.OC4JServer -config C:\oracle\ora91\jdev\system\oc4j-config\server.xml
    [Starting OC4J using the following ports: HTTP=8988, RMI=23891, JMS=9227.]
    [waiting for the server to complete its initialization...]
    Oracle9iAS (9.0.2.0.0) Containers for J2EE initialized
    ApplicationServer: appName = bc4j
    ApplicationServer: appName = current-workspace-app
    Process exited.
    C:\oracle\ora91\jdk\bin\javaw.exe -ojvm -classpath C:\oracle\ora91\j2ee\home\oc4j.jar -Dhttp.proxyHost=proxy.monash.edu.au -Dhttp.proxyPort=8080 com.evermind.server.OC4JServer -config C:\oracle\ora91\jdev\system\oc4j-config\server.xml
    [Starting OC4J using the following ports: HTTP=8988, RMI=23891, JMS=9227.]
    [waiting for the server to complete its initialization...]
    Oracle9iAS (9.0.2.0.0) Containers for J2EE initialized
    Process exited.
    C:\oracle\ora91\jdk\bin\javaw.exe -ojvm -classpath C:\oracle\ora91\j2ee\home\oc4j.jar -Dhttp.proxyHost=proxy.monash.edu.au -Dhttp.proxyPort=8080 com.evermind.server.OC4JServer -config C:\oracle\ora91\jdev\system\oc4j-config\server.xml
    [Starting OC4J using the following ports: HTTP=8988, RMI=23891, JMS=9227.]
    [waiting for the server to complete its initialization...]
    Oracle9iAS (9.0.2.0.0) Containers for J2EE initialized

    It may be caused by that your browser lauched before the OC4J server initialized.
    You can wait a moment till the OC4J server initialized then lauch your browser again.
    James Li

  • Help converting UIX JSP functionality to UIX

    I have an older UIX JSP page that I am trying to convert to UIX. That page contained a table with a singleSelection node and a Print button. When the Print button is pressed, a value is taken from the selected row in the table and sent as a parameter to Oracle Reports. The code that did this in UIX JSP is:
    <jbo:OnEvent name="Print">
    <% if(sSelected != null)
    errmsg = null;
    errtype = null;
    %>
    <jbo:Row id="MPORow1"
    datasource="MPOOrders"
    action="Find"
    rowkey="<%= sKey %>" />
    <%
    Row MPOCurRow1 = MPOOrders.getRowSet().getCurrentRow();
    if (MPOCurRow1 != null)
    String ordnum = (String) MPOCurRow1.getAttribute("Ordnum").toString();
    String mailer = (String)((Integer) session.getAttribute("loginCustomer")).toString();
    String printURL = "https://<myserver>/reports/rwservlet?destype=cache+desformat=PDF+userid=webuser/webpwd@pas+report=mlrjobstatus.rdf+p_mailer=" + mailer + "+p_jobnum=" + ordnum;
    response.sendRedirect(response.encodeRedirectURL(printURL));
    else
    errtype = "error";
    errmsg = "You must select a row prior to clicking on the 'Print Lists' button";
    %>
    </jbo:OnEvent>
    How can I do this same thing in UIX/Struts? Can it be done as a UIX handler or do I need a custom DataAction?

    Hi Eric,
    Please take a look at the UIX Table chapter. It talks about single-selection in UIX and how you can add buttons which when clicked will submit events to the server. It also talks about how you can handle those events.
    Here is a code snippet from the documentation regarding the event handler:
    public static EventResult doSelectionEvent(BajaContext bc, Page page,
                                               PageEvent event)
      DataObject tableRows = new PageEventFlattenedDataSet(event, "table1");
      int index = SelectionUtils.getSelectedIndex(tableRows);
      String name = "Nothing Selected";
      // make sure that something was selected:
      if (index>=0)
        DataObject row = _TABLE_DATA.getItem(index);
        name = row.selectValue(null, "name").toString();
      EventResult result = new EventResult(page);
      result.setProperty("action", event.getName());
      result.setProperty("name", name);
      return result;
    }Thanks,
    Jeanne

  • Jsp error:  req cannot be resolved

    Hi
    I'm trying to run the following error page jsp
    <%@ page import="javax.servlet.http.*;" %>
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
    <title>untitled</title>
    </head>
    <body>
    <%= new java.util.Date().toString() %>
    <% String theMessage = (String)req.getAttribute("message"); %>
    </body>
    </html>
    BUT I keep getting
    req cannot be resolved. The rest of the page works fine if I take the String theMessage... line with out.
    Thanks in advance
    geekpie

    Thanks. For some reason I had been assuming you used the same variable name to access the request parameter in a jsp as you used when you sent it from the servlet (in my case "req").

  • Which Web Client Framework? BC4J-JSP, UIX-JSP, UIX-XML, etc

    Trying to determine which, if any of the JDeveloper frameworks, to use for do web browser (HTML) clients.
    What are the pros/cons of BC4J-JSP, UIX-JSP, UIX-XML, etc?
    What are some common things you might rule out using one or more of the frameworks?
    I plan to be using BC4J, updating, inserting data (currently MS-SQL) and the apps will run on WebLogic 7 or Caucho Resin (webapps no EJB) in a cluster. I would like to be as RAD as possible and still be able to do what I need to do. One main concern is being able to add custom HTML/JavaScript for things like client side validation. I didn't see a way to do this when doing BC4J-JSP. Is that right?
    If I define any validation in the BC4J, will UIX utilized any of this to define a JavaScript validator or must it be redudantly defined?
    One other concern is what the framework requires in terms of architecture, like do I have to have sticky sessions in my web cluster or can it work fine stateless or stateful?
    For UIX-XML, how is this architected for performance? Specifically, is the XML effectively compiled and converted into something more efficient and performant or does it do XML parsing all the time? Is there any significant performance differences between the frameworks?
    Is there any significant difference in dealing with security? Anything in the framework to make it easier to handle certain users being able to see/edit different set of data?
    I have things like some groups can edit only certain entities (product info but not pricing), others only certain types of products (possibly subclass entities) and others situations where what fields than can edit varies. Obviously I can handle this programmatically, but I was wondering what the frameworks had to offer, especially in terms of having different views of the same data.
    Steve

    ...I am little confused then about how BC4J works and what is meant by "session" here.
    When you talk about appmodules in the plural, does this mean that there are potentially multiple instances of the same data on a single server or there is a common datastore with pending data and client specific stuff varying?
    The common datastore is the database. Each client (momentarily, during the span of their request) uses an instance of an application module from the pool. The pool can grow and shrink with load on your system and all of the various tuning parameters. Our doc on the AM Pool covers all the parameter settings and their users.
    What kind of "session" is this?
    It is an abstract notion of a session for a user. The implementation used for Web clients uses the HTTP Session Key as the session key. However, we have other session implementations (and you can provide your own to do custom stuff for more sophisticated needs). We don't store anything else in the HTTP Session to the best of my knowledge. This way in a cluster, the web container doesn't have to waste time propagating all of your serialized HTTP Session state among cluster members. This session key also include an id for the application module and together those provide the key to store your pending state in the database for the "Stateful == Managed State" feature.
    I assume that if I have a cluster which doesn't use session-to-same-server-affinity but uses JDBC for http-session persistance or distributed in-memory http-sessions then I cannot use stateful BC4J even though I can use http-sessions.
    You can use BC4J in this way because the browser will send a cookie that contains the key to your database-stored pending state. In this way, we work great in a server farm for failover and/or scalability reasons.
    Even if I use stateless BC4J, are there issues with round-robin'ng all requests to different servers in a cluster?
    As I said, both our Stateless and Stateful features are designed to be used in Server farms, no problem.
    BTW I wouldn't necessarily say you picked the wrongs terms for the modes, but I know what you mean. There's problems with these terms. I am trying to explain to my mgrs/engineers that there is some state in stateless transactions - that simply making everything "stateless" doesn't mean don't lose anything in a disastrous failure. I am arguing to get support for sessions in our cluster, that the performance gain and simplified development is worth it as long as you put intelligent limits on what you store in the session. Right now, they are insisting on randomly sending requests into two entirely different data centers, with two different clusters.
    Amen. I have seen too many developers make the mistake of trying to be totally stateless, only to completely complicate their development environment with having to peristent partially-completed transaction data to the database. I've seen this done with sets of "Shadow" tables (yuck!) or using hand-written techniques similar to what BC4J provides a robust implementation of in the box.
    We've tuned our "Stateless With Affinity for Server Farms" model over several releases of carefully studying the performance of the Web apps built by our internal Oracle Applications teams using BC4J (over 20 of them now, and growing!) so compared with a hand-written strategy for your web-tier state management, using BC4J's implementation will be much more productive for you.
    We're tuning and tweaking and enhancing it even more for the 9.0.3 release as new needs are highlighted with continued use by our customers (both Oracle internal and external).

  • How to display a message box in a UIX JSP page?

    I've a UIX JSP Application with BC4J developed with JDeveloper RC.
    The problem is that when the user mistakes in the insertion/updating, I'd like to help him displaying a message box or a modal dialog window.
    In particular, I've the following code:
    <%@ page errorPage="errorpage.jsp" contentType="text/html;charset=WINDOWS-1252"%>
    <%@ taglib uri="/webapp/DataTags.tld" prefix="jbo" %>
    <%@ taglib uri="http://xmlns.oracle.com/uix/ui" prefix="uix" %>
    <%@ taglib uri="http://xmlns.oracle.com/uix/ui/bc4j" prefix="bc4juix" %>
    <%@ page import="oracle.jbo.JboException" %>
    <%@ page import="CdssPackage.*" %>
    <%-- Define Application Module and DataSource--%>
    <%-- Define Application Module and DataSource--%>
    <jbo:ApplicationModule configname="CdssPackage.CdssPackageModule.CdssPackageModuleLocal" id="app1" username="scott" password="tiger" releasemode="Stateful" />
    <%
    //Check the mandatory fields are not null
    if ((cod_comm.compareTo("")==0) || (nome_ruolo.compareTo("")==0)){
    throw new JboException(Errors.ERR_REQUIRED_FIELD);
    //Now, the errorpage.jsp is displayed, while I'd like to display a message box or a modal dialog window
    %>
    How can I do it?
    Thanks in advance.

    Michele-
    You can use javascript to send a message window in the http protocol.
    Hope this helps,
    Lynn
    Java Tools Team

  • JSP Error: While accessing the 11.5.10.2 Login Page

    Dear All,
    While trying to access the Login Page of 11.5.10.2 version for the first time, after a fresh installation, I am getting the following Error:
    JSP Error:
    Request URI:/OA_HTML/AppsLocalLogin.jsp
    Exception:
    java.lang.NoSuchMethodError: oracle.apps.fnd.sso.Utils.setRequestCharacterEncoding(Ljavax/servlet/http/HttpServletRequest;)V
    Please advice Whether anynthing wrong with the installation
    Thanks..,

    Hi,
    many thanks for the response....
    Please find the log file details as follows:
    $APACHE_TOP/Apache/Jserv/logs
    I could find a file called: mod_jserv.log and below shown is the content of the file:
    [23/03/2008 11:49:34:305] (EMERGENCY) ajp12: can not connect to host 192.168.0.33:17000
    [23/03/2008 11:49:34:328] (EMERGENCY) ajp12: function connection fail
    [23/03/2008 11:49:35:332] (EMERGENCY) ajp12: can not connect to host 192.168.0.33:16000
    [23/03/2008 11:49:35:332] (EMERGENCY) ajp12: function connection fail
    [23/03/2008 11:49:36:336] (EMERGENCY) ajp12: can not connect to host 192.168.0.33:19000
    [23/03/2008 11:49:36:336] (EMERGENCY) ajp12: function connection fail
    $APACHE_TOP/Apache/Jserv/logs/jvm
    File1: OACoreGroup.0.stdout
    ApacheJServ/1.1
    Starting Self-Service Mobile Framework v1.0.8.4 initialization
    Servlet Initialized
    ApacheJServ/1.1.2
    Starting Self-Service Mobile Framework v1.0.8.4 initialization
    0.000: [GC 34944K->1794K(126720K), 0.0622710 secs]
    3.707: [Full GC 16414K->1951K(126720K), 0.1113560 secs]
    Servlet Initialized
    1799.126: [GC 37023K->2432K(126848K), 0.0212320 secs]
    3866.431: [GC 37504K->2449K(126848K), 0.0046790 secs]
    5929.879: [GC 37521K->2449K(126848K), 0.0067740 secs]
    7997.123: [GC 37521K->2449K(126848K), 0.0057680 secs]
    9406.379: [GC 37521K->3421K(126848K), 0.0273190 secs]
    ApacheJServ/1.1.2
    Starting Self-Service Mobile Framework v1.0.8.4 initialization
    0.000: [GC 34944K->1802K(126720K), 0.0434050 secs]
    3.248: [Full GC 13181K->1934K(126720K), 0.1367460 secs]
    Servlet Initialized
    9.498: [Full GC 19627K->2914K(126848K), 0.1657290 secs]
    22.202: [GC 37986K->14162K(126848K), 0.1693410 secs]
    30.267: [Full GC 26205K->15086K(126848K), 0.2766730 secs]
    105.147: [GC 50157K->16481K(126848K), 0.0409380 secs]
    428.416: [GC 51553K->17758K(126848K), 0.0368180 secs]
    868.359: [GC 52830K->18783K(126848K), 0.0543650 secs]
    1036.996: [GC 53853K->20868K(126848K), 0.0410590 secs]
    1680.842: [GC 55940K->21729K(126848K), 0.0395180 secs]
    2225.097: [GC 56801K->22640K(126848K), 0.0286630 secs]
    2226.562: [GC 57712K->22610K(126848K), 0.0344330 secs]
    2230.827: [GC 57682K->23727K(126848K), 0.0224470 secs]
    2233.623: [GC 58799K->25684K(126848K), 0.0639170 secs]
    3002.680: [GC 60756K->29063K(126848K), 0.0522580 secs]
    3533.140: [GC 64129K->30333K(126848K), 0.0582700 secs]
    4078.031: [GC 65405K->30808K(126848K), 0.0151680 secs]
    4101.383: [Full GC[Unloading class sun.reflect.GeneratedSerializationConstructorAccessor9]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor6]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor4]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor3]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor1]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor8]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor5]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor7]
    File2: DiscoGroup.0.stdout
    ApacheJServ/1.1
    Discoverer Model - 4.1.46.08.00
    WARNING: Attempting to use HTTP Firewall Proxy Server
    due to security restrictions: org.omg.CORBA.INTERNAL: Can not find GateKeeper: exception ReqFailure{} minor code: 0 completed: No
    Discoverer Model - 4.1.46.08.00
    WARNING: Attempting to use HTTP Firewall Proxy Server
    due to security restrictions: org.omg.CORBA.INTERNAL: Can not find GateKeeper: exception ReqFailure{} minor code: 0 completed: No
    Discoverer Model - 4.1.46.08.00
    WARNING: Attempting to use HTTP Firewall Proxy Server
    due to security restrictions: org.omg.CORBA.INTERNAL: Can not find GateKeeper: exception ReqFailure{} minor code: 0 completed: No
    Discoverer Model - 4.1.46.08.00
    WARNING: Attempting to use HTTP Firewall Proxy Server
    due to security restrictions: org.omg.CORBA.INTERNAL: Can not find GateKeeper: exception ReqFailure{} minor code: 0 completed: No
    Discoverer Model - 4.1.46.08.00
    WARNING: Attempting to use HTTP Firewall Proxy Server
    due to security restrictions: org.omg.CORBA.INTERNAL: Can not find GateKeeper: exception ReqFailure{} minor code: 0 completed: No
    Discoverer Model - 4.1.46.08.00
    WARNING: Attempting to use HTTP Firewall Proxy Server
    due to security restrictions: org.omg.CORBA.INTERNAL: Can not find GateKeeper: exception ReqFailure{} minor code: 0 completed: No
    ApacheJServ/1.1.2
    0.000: [GC 34944K->605K(126720K), 0.0160370 secs]
    3108.991: [GC 35549K->627K(126720K), 0.0076150 secs]
    6231.719: [GC 35571K->628K(126720K), 0.0097730 secs]
    ApacheJServ/1.1.2
    0.000: [GC 34944K->605K(126720K), 0.0175620 secs]
    ApacheJServ/1.1.2
    0.000: [GC 34944K->605K(126720K), 0.0114060 secs]
    ApacheJServ/1.1.2
    0.000: [GC 34944K->594K(126720K), 0.0099880 secs]
    3104.899: [GC 35538K->616K(126720K), 0.0054030 secs]
    6212.468: [GC 35560K->616K(126720K), 0.0043100 secs]
    9320.398: [GC 35560K->616K(126720K), 0.0043180 secs]
    12431.724: [GC 35560K->616K(126720K), 0.0042310 secs]
    15540.350: [GC 35560K->616K(126720K), 0.0050770 secs]
    18648.742: [GC 35560K->616K(126720K), 0.0049940 secs]
    File 3: XmlSvcsGrp.0.stdout
    ApacheJServ/1.1
    ApacheJServ/1.1.2
    0.000: [GC 34944K->992K(126720K), 0.0222780 secs]
    1331.380: [GC 35936K->1596K(126720K), 0.0252860 secs]
    2978.434: [GC 36540K->1572K(126720K), 0.0155030 secs]
    4561.042: [GC 36509K->2146K(126720K), 0.0124670 secs]
    6159.901: [GC 37090K->1568K(126720K), 0.0162710 secs]
    7801.433: [GC 36488K->1600K(126720K), 0.0096090 secs]
    9361.497: [GC 36532K->2144K(126720K), 0.0111690 secs]
    ApacheJServ/1.1.2
    0.000: [GC 34944K->1516K(126720K), 0.0335350 secs]
    1637.366: [GC 36460K->1617K(126720K), 0.0119330 secs]
    3201.033: [GC 36548K->2141K(126720K), 0.0153640 secs]
    4820.604: [GC 37085K->1567K(126720K), 0.0147900 secs]
    ApacheJServ/1.1.2
    0.000: [GC 34944K->1516K(126720K), 0.0219900 secs]
    1637.286: [GC 36460K->1617K(126720K), 0.0118590 secs]
    3202.661: [GC 36548K->2142K(126720K), 0.0135660 secs]
    ApacheJServ/1.1.2
    0.000: [GC 34944K->923K(126720K), 0.0378160 secs]
    465.724: [GC 35867K->958K(126720K), 0.0107050 secs]
    2049.456: [GC 35881K->1536K(126720K), 0.0106250 secs]
    3632.469: [GC 36480K->991K(126720K), 0.0070540 secs]
    5276.173: [GC 35935K->993K(126720K), 0.0069840 secs]
    6849.801: [GC 35912K->1567K(126720K), 0.0098510 secs]
    8450.902: [GC 36511K->990K(126720K), 0.0112260 secs]
    10089.975: [GC 35909K->990K(126720K), 0.0068660 secs]
    11650.057: [GC 35921K->1566K(126720K), 0.0084910 secs]
    13269.947: [GC 36510K->991K(126720K), 0.0068470 secs]
    14890.263: [GC 35910K->1213K(126720K), 0.0074270 secs]
    16452.170: [GC 36157K->987K(126720K), 0.0068140 secs]
    18094.799: [GC 35931K->993K(126720K), 0.0069330 secs]
    19690.498: [GC 35912K->1468K(126720K), 0.0081220 secs]
    21269.320: [GC 36412K->988K(126720K), 0.0070610 secs]
    22908.334: [GC 35932K->993K(126720K), 0.0068100 secs]
    24490.848: [GC 35910K->1567K(126720K), 0.0083790 secs]
    26082.852: [GC 36511K->989K(126720K), 0.0103980 secs]
    27721.116: [GC 35933K->993K(126720K), 0.0068200 secs]
    ApacheJServ/1.1.2
    ApacheJServ/1.1.2
    0.000: [GC 34944K->937K(126720K), 0.0231740 secs]

  • Exchange 2013 SP1 - Error: Your request could not be completed

    When trying to log into the ECP I get an:
    Error
    Your request could not be completed.  Please try again later.   
    When I check the event viewer I get:
    WebHost failed to process a request.
     Sender Information: System.ServiceModel.ServiceHostingEnvironment+HostingManager/6837052
     Exception: System.ServiceModel.ServiceActivationException: The service '/ecp/DDI/DDIService.svc' cannot be activated due to an exception during compilation.  The exception message is: This collection already contains an address with scheme http.
     There can be at most one address per scheme in this collection. If your service is being hosted in IIS you can fix the problem by setting 'system.serviceModel/serviceHostingEnvironment/multipleSiteBindingsEnabled' to true or specifying 'system.serviceModel/serviceHostingEnvironment/baseAddressPrefixFilters'.
    Parameter name: item. ---> System.ArgumentException: This collection already contains an address with scheme http.  There can be at most one address per scheme in this collection. If your service is being hosted in IIS you can fix the problem by
    setting 'system.serviceModel/serviceHostingEnvironment/multipleSiteBindingsEnabled' to true or specifying 'system.serviceModel/serviceHostingEnvironment/baseAddressPrefixFilters'.
    Parameter name: item
       at System.ServiceModel.UriSchemeKeyedCollection.InsertItem(Int32 index, Uri item)
       at System.Collections.Generic.SynchronizedCollection`1.Add(T item)
       at System.ServiceModel.UriSchemeKeyedCollection..ctor(Uri[] addresses)
       at System.ServiceModel.ServiceHost..ctor(Type serviceType, Uri[] baseAddresses)
       at Microsoft.Exchange.Management.ControlPanel.ServiceHostFactory.CreateServiceHost(Type serviceType, Uri[] baseAddresses)
       at System.ServiceModel.Activation.ServiceHostFactory.CreateServiceHost(String constructorString, Uri[] baseAddresses)
       at System.ServiceModel.ServiceHostingEnvironment.HostingManager.CreateService(String normalizedVirtualPath, EventTraceActivity eventTraceActivity)
       at System.ServiceModel.ServiceHostingEnvironment.HostingManager.ActivateService(ServiceActivationInfo serviceActivationInfo, EventTraceActivity eventTraceActivity)
       at System.ServiceModel.ServiceHostingEnvironment.HostingManager.EnsureServiceAvailable(String normalizedVirtualPath, EventTraceActivity eventTraceActivity)
       --- End of inner exception stack trace ---
       at System.ServiceModel.ServiceHostingEnvironment.HostingManager.EnsureServiceAvailable(String normalizedVirtualPath, EventTraceActivity eventTraceActivity)
       at System.ServiceModel.ServiceHostingEnvironment.EnsureServiceAvailableFast(String relativeVirtualPath, EventTraceActivity eventTraceActivity)
     Process Name: w3wp
     Process ID: 11124
    I am trying to create a Send connector and it gets all the way through but then fails at Select Source Server.   There are no source servers listed.   Why does it not pick up itself?    
    As for the error I think this is related to IIS permissions somehow and here is how i have the bindings set:
    Default Web Site:
    http   80  *
    net.msmq   localhost
    msmq.formatname localhost
    net.tcp 808:*
    net.pile )
    https exssrv.cas.local
    443 *    (With the SSL cert being the Microsoft Exchange built in one)
    Exchange Back End 
     http exssrv.cas.local
    81 192.168.1.5
    http exssrv
    80 *
    net.pipe *
    https  exssrv.cas.local 444
    192.168.1.5  (Bound to Microsoft Exchange ssl)
    I am connecting to the site internally from https://exssrv.cas.local/ecp
    Thanks for any suggestions.. I think I am almost there on the install!   Hoping!

    Hi ,
    Thank you for your question.
    This error was caused by the incorrect site binding, I will give a reference of my test Lab. We add two A records in DNS which the FQDN of CAS and Mailbox could resolve IP address.;
    Default Web Site:
    Exchange Back End:
    Then IIS must be restarted.
    If there are any questions regarding this issue, please be free to let me know. 
    Best Regard,
    Jim

  • Error processing request  ORACLE-01403:no data found

    We surmounted the blank page issue by applying the patch to APEX 4.2.2.
    Now we patched/upgraded to APEX 4.2.3, and no longer have the blank page issue, but have this one that seems similar:
    I am trying here, since I am not getting any debug messages - the POST goes in and immediately comes back with the no data found error.
    APEX 4.2.3
    APEX Listener 2.0.2
    Glassfish 4.0
    Apps install OK, and can display the Login page (Show), but when trying to Login (Accept),
    immediately get this error:
    Error Error processing request
              ORA-010403: no data found
    Debug messages only shows Show entries - nothing , not even the Accept first line.
    Firebug shows similar - upon Post (which looks OK) the immediate response is the error page and message.
    I do not have access to the APEX Listener logs tonight,  but expect to get to them, or have someone check them
    out, tomorrow AM.
    Any thoughts or suggestions?
    This happens across all apps (15) except for one.  Am still trying to discern the different in that app vs the others.
    Thank you -

    An update:
    I have verified that some apps work, and some apps show the
    Error Error processing request
            ORA-01403: no data found
    error.
    Happens across different workspaces.
    Have confirmed that for an app that has the error,
       I get the error using the APEX Listener deployment. 
       I do NOT get the error using the HTTP server deployment.
    This is the same in a Linux environment and in a Windows environment.
    For one app, I have an earlier version that gives the error, a later version (new app #) that does not give the error.
    APEX 4.2.3
    APEX Listener 2.0.3.221.10/3
    Glassfish 4.0
    Again even at  Debug Level 9, I get no debug entries for the POST
    For an app that gives the error, the APEX Listener log entries are (from the POST):
    ==== Processing Request: ====
    Attempting to process with PL/SQL Gateway
    user-agent: Mozilla/5.0 (Windows NT 5.1; rv:23.0) Gecko/20100101 Firefox/23.0
    host: qdcls1534:8082
    Applied database connection info
    POST /apex/apexd2/wwv_flow.accept
    ==== Headers in Request ====
    ==== Cookies in Request ====
    content-length: 412
    content-type: application/x-www-form-urlencoded;charset=UTF-8
    request parameter: p_flow_id=440
    request parameter: p_flow_id=440
    request parameter: p_flow_step_id=101
    request parameter: p_instance=1712832201985
    request parameter: p_instance=1712832201985
    request parameter: p_page_submission_id=8493461183923
    request parameter: p_page_submission_id=35145982114211
    request parameter: p_request=LOGIN
    request parameter: p_request=
    request parameter: p_debug=LEVEL9
    request parameter: p_debug=LEVEL9
    request parameter: p_arg_names=13616030313099104709
    request parameter: p_arg_names=13616030522289104711
    request parameter: p_t01=karen.x.cannell
    request parameter: p_t02=sssssssss
    request parameter: p_md5_checksum=
    request parameter: p_page_checksum=C2302553B43577579FF77585749CA016
    Using Procedure:wwv_flow.accept
    request parameter: p_flow_step_id=101
    Requesting Pool:apexd2
    pool exists: apexd2
    isValidRequest(), procedure name: <wwv_flow.accept>
    Validating: wwv_flow.accept
    *** Total number of arguments: 510
    SID: 214
    *** Total number of arguments: 510
    begin
    wwv_flow.accept(p_flow_step_id=>?,
    p_md5_checksum=>?,
    p_arg_names=>?,
    p_page_checksum=>?,
    p_t02=>?,
    p_t01=>?,
    p_debug=>?,
    p_request=>?,
    p_page_submission_id=>?,
    p_flow_id=>?,
    p_instance=>?);
    commit;
      end;"
    Parse: 0 ms
    p_flow_step_id= null
    p_flow_step_id=[101, 101]
    {p_md5_checksum=, p_page_submission_id=[8493461183923, 35145982114211], p_debug=[LEVEL9, LEVEL9], p_page_checksum=C2302553B43577579FF77585749CA016, p_request=[LOGIN, ], p_t02=sssssssss, p_t01=karen.x.cannell, p_flow_id=[440, 440], p_instance=[1712832201985, 1712832201985], p_flow_step_id=[101, 101], p_arg_names=[13616030313099104709, 13616030522289104711]}
    p_request=[LOGIN, ]
    p_md5_checksum=
    {p_md5_checksum=, p_page_submission_id=[8493461183923, 35145982114211], p_debug=[LEVEL9, LEVEL9], p_page_checksum=C2302553B43577579FF77585749CA016, p_request=[LOGIN, ], p_t02=sssssssss, p_t01=karen.x.cannell, p_flow_id=[440, 440], p_instance=[1712832201985, 1712832201985], p_flow_step_id=[101, 101], p_arg_names=[13616030313099104709, 13616030522289104711]}
    p_arg_names=[13616030313099104709, 13616030522289104711]
    p_arg_names: {13616030313099104709, 13616030522289104711}
    {p_md5_checksum=, p_page_submission_id=[8493461183923, 35145982114211], p_debug=[LEVEL9, LEVEL9], p_page_checksum=C2302553B43577579FF77585749CA016, p_request=[LOGIN, ], p_t02=sssssssss, p_t01=karen.x.cannell, p_flow_id=[440, 440], p_instance=[1712832201985, 1712832201985], p_flow_step_id=[101, 101], p_arg_names=[13616030313099104709, 13616030522289104711]}
    {p_md5_checksum=, p_page_submission_id=[8493461183923, 35145982114211], p_debug=[LEVEL9, LEVEL9], p_page_checksum=C2302553B43577579FF77585749CA016, p_request=[LOGIN, ], p_t02=sssssssss, p_t01=karen.x.cannell, p_flow_id=[440, 440], p_instance=[1712832201985, 1712832201985], p_flow_step_id=[101, 101], p_arg_names=[13616030313099104709, 13616030522289104711]}
    p_instance= null
    p_instance=[1712832201985, 1712832201985]
    {p_md5_checksum=, p_page_submission_id=[8493461183923, 35145982114211], p_debug=[LEVEL9, LEVEL9], p_page_checksum=C2302553B43577579FF77585749CA016, p_request=[LOGIN, ], p_t02=sssssssss, p_t01=karen.x.cannell, p_flow_id=[440, 440], p_instance=[1712832201985, 1712832201985], p_flow_step_id=[101, 101], p_arg_names=[13616030313099104709, 13616030522289104711]}
    p_flow_id= null
    p_flow_id=[440, 440]
    {p_md5_checksum=, p_page_submission_id=[8493461183923, 35145982114211], p_debug=[LEVEL9, LEVEL9], p_page_checksum=C2302553B43577579FF77585749CA016, p_request=[LOGIN, ], p_t02=sssssssss, p_t01=karen.x.cannell, p_flow_id=[440, 440], p_instance=[1712832201985, 1712832201985], p_flow_step_id=[101, 101], p_arg_names=[13616030313099104709, 13616030522289104711]}
    p_page_submission_id= null
    p_page_submission_id=[8493461183923, 35145982114211]
    {p_md5_checksum=, p_page_submission_id=[8493461183923, 35145982114211], p_debug=[LEVEL9, LEVEL9], p_page_checksum=C2302553B43577579FF77585749CA016, p_request=[LOGIN, ], p_t02=sssssssss, p_t01=karen.x.cannell, p_flow_id=[440, 440], p_instance=[1712832201985, 1712832201985], p_flow_step_id=[101, 101], p_arg_names=[13616030313099104709, 13616030522289104711]}
    p_request= null
    p_md5_checksum=
    {p_md5_checksum=, p_page_submission_id=[8493461183923, 35145982114211], p_debug=[LEVEL9, LEVEL9], p_page_checksum=C2302553B43577579FF77585749CA016, p_request=[LOGIN, ], p_t02=sssssssss, p_t01=karen.x.cannell, p_flow_id=[440, 440], p_instance=[1712832201985, 1712832201985], p_flow_step_id=[101, 101], p_arg_names=[13616030313099104709, 13616030522289104711]}
    p_debug= null
    p_debug=[LEVEL9, LEVEL9]
    {p_md5_checksum=, p_page_submission_id=[8493461183923, 35145982114211], p_debug=[LEVEL9, LEVEL9], p_page_checksum=C2302553B43577579FF77585749CA016, p_request=[LOGIN, ], p_t02=sssssssss, p_t01=karen.x.cannell, p_flow_id=[440, 440], p_instance=[1712832201985, 1712832201985], p_flow_step_id=[101, 101], p_arg_names=[13616030313099104709, 13616030522289104711]}
    p_t01= karen.x.cannell
    p_t01=karen.x.cannell
    {p_md5_checksum=, p_page_submission_id=[8493461183923, 35145982114211], p_debug=[LEVEL9, LEVEL9], p_page_checksum=C2302553B43577579FF77585749CA016, p_request=[LOGIN, ], p_t02=sssssssss, p_t01=karen.x.cannell, p_flow_id=[440, 440], p_instance=[1712832201985, 1712832201985], p_flow_step_id=[101, 101], p_arg_names=[13616030313099104709, 13616030522289104711]}
    p_t02= sssssssss
    p_t02=sssssssss
    {p_md5_checksum=, p_page_submission_id=[8493461183923, 35145982114211], p_debug=[LEVEL9, LEVEL9], p_page_checksum=C2302553B43577579FF77585749CA016, p_request=[LOGIN, ], p_t02=sssssssss, p_t01=karen.x.cannell, p_flow_id=[440, 440], p_instance=[1712832201985, 1712832201985], p_flow_step_id=[101, 101], p_arg_names=[13616030313099104709, 13616030522289104711]}
    p_page_checksum= C2302553B43577579FF77585749CA016
    p_page_checksum=C2302553B43577579FF77585749CA016
    Exec: 37 ms
    ==== Headers from Results ====
    Setting Content-Type (Content-type): text/html; charset=UTF-8
    Got results length: 307
    Processed PL/SQL Gateway request
    ==== Request Processed ====
    It just stops ...
    Any ideas?
    I have tried all of the Compatibility settings, no difference.
    If it is something I can change in the app, that would be great.
    The app that does not work was imported from an APEX 4.1 instance.
    The app that does work was imported from an APEX 4..3 instance (Windows, APEX 4.2.3, APEX Listener 2.0.3, recently upgraded from APEX 4.2.2 and APEX Listener 2.0.2).
    Any help or suggestions will be greatly appreciated,
    Karen

  • Request parameter are not stored in database through Java Bean

    Hi,
    I want to store the request parameter in database through Java Bean.Allthough program are properly run but value are not store in DB.
    Here My code:
    Login.html:<html>
    <head>
    <title>A simple JSP application</title>
    <head>
    <body>
    <form method="get" action="submit.jsp" >
    Name: <input type="text" name="User">
    Password: <input type="password" name="Pass">
    <input type="Submit" value="Submit">
    </form>
    </body>
    </html>SimpleBean.java:
    package co;
    import java.util.*;
    import java.io.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    import java.sql.*;
    import java.util.*;
    public class SimpleBean implements java.io.Serializable{
    private String User="";
    private String Pass="";
    public SimpleBean(){}
    public String getUser() {
    return User;
    public void setUser(String User) {
    this.User = User;
    public String getPass() {
    return Pass;
    public void setPass(String Pass) {
    this.Pass = Pass;
    public void show()
         try
    System.out.println("Printed*************************************************************");
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    System.out.println("Loading....");
    Connection con=DriverManager.getConnection("jdbc:odbc:Ex11dump");
    System.out.println("Connected....");
    PreparedStatement st=con.prepareStatement("insert into Table1 values(?,?)");
    System.out.println("~~~~~~~~~~~~~~~~~~~~");
    String User=getUser();
    st.setString(1,User);
    String Pass=getPass();
    st.setString(2,Pass);
    int y= st.executeUpdate();
    System.out.println(y);
    System.out.println("Query Executed");
    con.commit();
    con.close();
    System.out.println("Your logging is saved in DB *****************");
    catch(Exception e)
    e.printStackTrace();
    }submit.jsp:
    <jsp:useBean id="obj" class="co.SimpleBean"/>
    <jsp:setProperty name="obj" property="*" />
    <jsp:getProperty name="obj" property="User" /> <br>
    <jsp:getProperty name="obj" property="Pass" /> <br>
    <% obj.show();%>
    <%
    out.println("Ur data is saved in DB");
    %>Please Help me.
    Thanks.

    The issue is in the naming of your fields.
    Change User -> user and Pass->pass
    Name: <input type="text" name="user">
    Password: <input type="password" name="pass">

  • Error: The requested URL was not found, or cannot be served at this time.

    Hi gurus,
    I have a report that has a parameter file. When I call the report the parameter form is displayed but after I enter the parameter values and click SUBMIT QUERY, I receive this error:
    Error: The requested URL was not found, or cannot be served at this time.
    Oracle Reports Server CGI - Reports Server name is not specified.
    If I run the report without parameter file it runs fine.
    Does anyone have an idea on how I can make this work.
    Thanks

    * Can you please tell what version of Reports you are using ie 6i or 9i and the exact version [ In builder give Help->About] . In this problem we cannot deduce anything from the version. But if it is very old, we can recommend installing the latest patch.
    * Please post the full command line request. If you have used any keys in cgicmd.dat , please post the expansion of that keys also.
    * If possible as a workaround give paramform=no&paramName=paramValue ... in request till this problem is resolved.
    Thanks
    The Oracle Reports Team

  • Database interaction in JSP - Error 500?

    Hi all,
    I made a page PAGE1,jsp which retrieves data(String S1, S2) from database. It has a submit button which on on clicking directs to PAGE2.jsp. PAGE2.jsp is shown below partially:
    <%!     InitialContext  ctx =null;
         Connection conn= null;
         ResultSet rs = null;
         DataSource ds = null;
         Statement stmt = null;
    %>     
    <%
         ds=(DataSource)ctx.lookup("MyDS");
         conn= ds.getConnection();
         stmt = conn.createStatement();
         String s1 = request.getParameter("S1"); //retrieved from PAGE1.jsp
         String s2 = request.getParameter("S2"); //retrieved from PAGE1.jsp
         stmt.executeUpdate("update TABLE1 set FIELD2='"+s2+"'" "where FIELD1="+s1+);
         rs=stmt.executeQuery("select * from TABLE1");
    %>
    <%
         while(rs.next()) {
    %>
    <tr>
         <td> <%=rs.getInt(1)%> </td>
    </tr>
    <% }
         rs.close();
         stmt.close();
         conn.close();
    %>The page when run gives Error 500- internal server error (The server encountered an unexpected condition which prevented it from fulfilling the request.). Following is the serverlog:
    Servlet failed with Exception
    java.lang.NullPointerException
    at jsp_servlet._pages._display.__PAGE2._jspService(__PAGE2.java:163)
    at weblogic.servlet.jsp.JspBase.service(JspBase.java:33)
    at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1072)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:465)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:348)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6981)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
    at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3892)
    at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2766)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)
    -Thank you
    Edited by: student21312 on Feb 13, 2008 10:39 PM
    Edited by: student21312 on Feb 14, 2008 12:22 AM
    Edited by: student21312 on Feb 14, 2008 12:24 AM
    Edited by: student21312 on Feb 14, 2008 12:26 AM

    Don't do that in JSP's. There they are not for.
    Write a simple DAO class which does the task. It will not only free JSP's from unnecessary business logic, but also improve maintenance, reusability and debugging a LOT.
    Do you understand when a NPE is been thrown anyway?

Maybe you are looking for