Unable to get the AppsLocalLogin.jsp page

Hi,
We are on oracle Db 11.2.0.2 and EBS : 11.5.10.2 on Solaris Sparc 64 Bit 5.10.
We have recently added a web node to an existing setup.
Although Apache services are up , but we are unable to get the AppsLocalLogin.jsp page.
Replacing the domain name and Ip in line 4  with HOSTNAME.DOMAIN_NAME/IPADDRESS
We have found the below error in the Jserv log :
[12/04/2012 20:09:38:868 IST] <info> ApacheJServ/1.1.2 is starting...
[12/04/2012 20:09:38:868 IST] <debug> using confFile /pch3/oracle/external/prdora/iAS/Apache/Jserv/etc/jserv.properties
[12/04/2012 20:09:39:016 IST] <info> Connection authentication enabled
[12/04/2012 20:09:39:045 IST] <info> Connection allowed from HOSTNAME.DOMAIN_NAME/IPADDRESS
[12/04/2012 20:09:39:045 IST] <info> Connection allowed from /127.0.0.1
[12/04/2012 20:09:39:046 IST] <debug> port 16000 is specified in properties file
[12/04/2012 20:09:39:046 IST] <debug> port 16001 is specified in properties file
[12/04/2012 20:09:39:046 IST] <debug> port 16002 is specified in properties file
[12/04/2012 20:09:39:046 IST] <debug> port 16003 is specified in properties file
[12/04/2012 20:09:39:046 IST] <debug> port 16004 is specified in properties file
[12/04/2012 20:09:39:046 IST] <debug> port 16005 is specified in properties file
[12/04/2012 20:09:39:046 IST] <debug> port 16006 is specified in properties file
[12/04/2012 20:09:39:046 IST] <debug> port 16007 is specified in properties file
[12/04/2012 20:09:39:046 IST] <debug> port 16008 is specified in properties file
[12/04/2012 20:09:39:046 IST] <debug> port 16009 is specified in properties file
[12/04/2012 20:09:39:046 IST] <debug> try to start on port 16000
[12/04/2012 20:09:39:050 IST] <debug> try to start on port 16001
[12/04/2012 20:09:39:050 IST] <debug> cannot create socket on 16000
[12/04/2012 20:09:39:051 IST] <debug> cannot create socket on 16001
[12/04/2012 20:09:39:051 IST] <debug> try to start on port 16002
[12/04/2012 20:09:39:051 IST] <debug> cannot create socket on 16002
[12/04/2012 20:09:39:051 IST] <debug> try to start on port 16003
[12/04/2012 20:09:39:051 IST] <debug> cannot create socket on 16003
[12/04/2012 20:09:39:051 IST] <debug> try to start on port 16004
[12/04/2012 20:09:39:051 IST] <debug> cannot create socket on 16004
[12/04/2012 20:09:39:051 IST] <debug> try to start on port 16005
[12/04/2012 20:09:39:052 IST] <debug> cannot create socket on 16005
[12/04/2012 20:09:39:052 IST] <debug> try to start on port 16006
[12/04/2012 20:09:39:052 IST] <debug> cannot create socket on 16006
[12/04/2012 20:09:39:052 IST] <debug> try to start on port 16007
[12/04/2012 20:09:39:052 IST] <debug> cannot create socket on 16007
[12/04/2012 20:09:39:052 IST] <debug> try to start on port 16008
[12/04/2012 20:09:39:052 IST] <debug> cannot create socket on 16008
[12/04/2012 20:09:39:052 IST] <debug> try to start on port 16009
[12/04/2012 20:09:39:052 IST] <debug> cannot create socket on 16009
ApacheJServ/1.1.2: Failed to bind to port(s) specified in /pch3/oracle/external/prdora/iAS/Apache/Jserv/etc/jserv.properties.  Please check /pch3/oracle/external/prdora/iAS/Apache/Jserv/etc/jserv.properties and jserv.conf file, and make sure number of JServ process specified in jserv.conf is less than number of ports specified in /pch3/oracle/external/prdora/iAS/Apache/Jserv/etc/jserv.properties. and the ports are not used by other processes.
[12/04/2012 20:09:39:053 IST] <critical> ApacheJServ/1.1.2: Failed to bind to port(s) specified in /pch3/oracle/external/prdora/iAS/Apache/Jserv/etc/jserv.properties.  Please check /pch3/oracle/external/prdora/iAS/Apache/Jserv/etc/jserv.properties and jserv.conf file, and make sure number of JServ process specified in jserv.conf is less than number of ports specified in /pch3/oracle/external/prdora/iAS/Apache/Jserv/etc/jserv.properties. and the ports are not used by other processes.The IP of this web node is different from the IP mentioned in the log, at line 4.
Regards
KK

Hi;
ApacheJServ/1.1.2: Failed to bind to port(s) specified in /pch3/oracle/external/prdora/iAS/Apache/Jserv/etc/jserv.properties. Please check /pch3/oracle/external/prdora/iAS/Apache/Jserv/etc/jserv.properties and jserv.conf file, and make sure number of JServ process specified in jserv.conf is less than number of ports specified in /pch3/oracle/external/prdora/iAS/Apache/Jserv/etc/jserv.properties. and the ports are not used by other processes.Please check your port is avaliable or not also check related path
Regard
Helios

Similar Messages

  • Unable to get the errorlogin.jsp to run correctly in a servlet.

    I am attempting to read the users input using jsp and run the servlet LoginServlet to cross check the database to see if that are in the database. The problem i am having is that i can get the login working but am unable to get the errorlogin to run if the details are incorrect. Can anyone see where i have gone wrong? Thanks!
    package Login;
    import java.io.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    import java.sql.*;
    public class LoginServlet extends HttpServlet {
        @Override
        protected void doPost(HttpServletRequest request, HttpServletResponse response)
                throws ServletException, IOException {
            try {
                try {
                    Connection con = DBConnect.DbConnection.getConnection();
                    Statement st = con.createStatement();
                    String user = request.getParameter("t1");
                    String pass = request.getParameter("t2");
                    String strSQL = "SELECT username, password FROM users "
                            + "WHERE username = '" + user + "' "
                            + "AND password = '" + pass + "'";
                    ResultSet rs = st.executeQuery(strSQL);
                    String username, password;
                    HttpSession session = request.getSession();
                    while (rs.next()) {
                        username = rs.getString("username");
                        password = rs.getString("password");
                        if (user.equals(username) && pass.equals(password)) {
                            response.sendRedirect("next.jsp");
                        } else {
                            response.sendRedirect("errorlogin.jsp");
                } catch (ClassNotFoundException cnfe) {
                    cnfe.getMessage();
            } catch (SQLException sqle) {
                sqle.getMessage();
    }

    How do You ensure that an exception is raised? Do You see any info in log files?
    Not sure if this helps but try:
        response.sendRedirect(request.getConextPath()+"/errorlogin.jsp");In this case errorlogin.jsp should be put on the same level as WEB-INF directory is.

  • Tomcat can't get the specified jsp-page.

    there are three jsp-page : Step1.jsp Step2.jsp Step3.jsp
    Step2.jsp and Step3.jsp are placed at the same folder,but Step3.jsp is placed at the different folder.
    Step1.jsp's content :
    request.getRequestDispatcher("/CH4/Step2.jsp").forward(request,response);
    Step2.jsp's content :
    <form name="form1" action="Step3.jsp" method="post">
    <input type="submit" name="submit" value="submit">
    </form>
    Step3.jsp's content :
    <c:out value="can you see this page " />
    the expectent procedure is : Step1 -> Step2 ->Step3
    but there is error : The requested resource (/CH4/MyJspCode/Step3.jsp) is not available.
    how to currect it ?

    The action on your form will be relative to step1.jsp
    So it will look for step3.jsp in the same folder as step1.jsp.
    This is because:
    The request was for step1.jsp
    The action attribute is a relative reference, not absolute, and thus is relative to the requested url - step1.jsp
    Although it was forwarded to step2.jsp, the browser knows nothing of this, and thus uses step1.jsp as its base.
    You can change this by including a base tag on the page.
    You can also give an absolute reference to the servlet/jsp but that involves harcoding the context name into the URL.

  • Unable to load the second Jsp Page

    Hi,
    I have three jsp pages. The first is a Login.jsp which takes userid and password and after clicking on submit will take the user to the validate.jsp which validates the userid and password and if userid and password are valid redirects to a third jsp which has contentType="application/x-java-jnlp-file". All that is working fine, what is not working is after clicking on submit button I am not seeing validate.jsp page (i.e title and heading etc.), the browser stays in login.jsp page.
    Any suggestions.
    Thanks in advance.

    Hi
    Couple of things :
    1. Make sure that the "ACTION" sttribute in the FORM is pointing to the right URL.
    2. Make sure that the SUBMIT button is inside the FORM tags, then make sure that the SUBMIT button is in the same FORM as the Text Fields .
    If it is still causing you problems , please post your code.
    Good Luck!
    Eshwar Rao
    Developer Technical Support
    Sun microsystems inc.
    http://www.sun.com/developers/support

  • Unable to  get the login page after upgrade from 11.5.10.2 to R12

    Hi ,
    We are unable to get the login page after upgrade from 11.5.10.2 to R12, all the services are up and running.
    Pls let me know if someone has come across this issue.
    Thanks&Regards,
    Apps DBA

    Hi ,
    After compile JSP files manually , now we are facing problem after logging.
    Error : You have encountered an unexpected error.
    Thanks&Regards,
    Apps DBA

  • How to get the filename of the active jsp page?

    how can i get the filename of the active jsp page?

    You could register the JSP [ages in the web.xml and then use the ServletConfig.getServletName.
    You could use the JspContex.getServletName which will return the registered name or the name of the servlet class.
    You could programmatically add a page context attribute that holds the jsp page name                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Why iam unable to get the valu from combobox

    when i run this code
    everytime iam getting blank alert
    y iam unable to get the selected item from combo box
    thank u
    <%@ page import="java.util.Date"%>
    <%@ page language="java" contentType="text/html; charset=ISO-8859-1"
        pageEncoding="ISO-8859-1"%><%@page import="java.sql.*,java.util.*,java.text.*,java.util.ArrayList, java.util.List,org.joda.time.DateTimeConstants,org.joda.time.LocalDate,
    org.joda.time.Weeks"%>
    <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
    <HTML>
      <HEAD>
      <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
        <TITLE>Reading Data From Text Fields</TITLE>
      </HEAD><BODY onload=Datevalue()>
         <form name="form1" action ="" method="post" onSubmit="update();">
        <img src="nendrasys_logo.gif" align="right"></img>
      <b><font color="669900"><h4 align="left">UserName:</font> 
    <jsp:useBean id="user" scope="session" class="nendrasys.User" />
    <jsp:getProperty name="user" property= "name"/>
    &nbsp&nbsp&nbsp&nbsp
    <b><font color="90be00"><h4 align="left">Designation:</font>
      <jsp:getProperty name="user" property= "designation"/>
      <br><font color="669900"><h4 align="right">Project:</font>
        <select name="Projects">
         <option>Project:1</option>
         <option>Project:2</option>
         <option>Project:3</option>
         <option>Project:4</option>
         <option>Project:5</option>
    </select>
    <%! String s; %>
    <% DateFormat dateFormat = new SimpleDateFormat("yyyy/MM/dd");
            Date date = new Date();
            //out.println(dateFormat.format(date));
                s=  dateFormat.format(date);
    %>
    <select name="Dates" sizes=1 id="dates" onchange="Datevalue(this.value)">
    <script type="text/javascript">
    <!--//
    var begDate = new Date("10/01/2008");
    var endDate = new Date();
    var previousDate =new Date();
    var presentDate =new Date("<%=s %>");
    endDate.setDate(presentDate.getDate()+14);
    begDate.setDate(begDate.getDate()+(6-begDate.getDay()));
    while (begDate <= endDate) {
    var datestring=[begDate.getDate(),(begDate.getMonth()+1),begDate.getFullYear()].join('/');
    //  var datestring=[begDate.getDate().padZero(2),(begDate.getMonth()+1).padZero(2),begDate.getFullYear()].join('/');
    if(previousDate < presentDate && presentDate <= begDate )
        document.writeln('<option selected>'+(datestring)+'</option>')}
    else   
    document.writeln('<option>'+(datestring)+'</option>')};
         previousDate.setDate(begDate.getDate());
        previousDate.setMonth(begDate.getMonth());
         previousDate.setYear(begDate.getYear());
        begDate.setDate(begDate.getDate()+7);
    document.writeln('</select>');
    //-->
    </script>
    <br><br>
    <TABLE BORDER="2" BORDERCOLOR="#336699" CELLPADDING="2" CELLSPACING="2" WIDTH="100%">
    <TR>
    <TD>&nbsp&nbsp&nbsp</TD>
    <TD bgcolor="669900"><label  id="sun"></label></TD>
    <TD bgcolor="90be00"><label for="mon" id="Mon">Mon</label></TD>
    <TD bgcolor="669900"><label for="tue" id="tue">Tue</label></TD>
    <TD bgcolor="90be00"><label for="wed" id="wed">Wed</label></TD>
    <TD bgcolor="669900"><label for="thu" id="thu">Thu</label></TD>
    <TD bgcolor="90be00"><label for="fri" id="fri">Fri</label></TD>
    <TD bgcolor="669900"><label for="sat" id="sat">Sat</label></TD>
    <TD bgcolor="90be00"><label for="tot" id="tot">Total</label></TD>
    </TR>
    <tr>
    <th>Project Work</th>
    <td bgcolor="669900"><input type="text" name="c11" size="2" value="7" onBlur="javascript:document.frm.c12.value = document.frm.c11.value"></td>
    <td bgcolor="90be00"><input type="text" name="c12" size="2" value="3"></td>
    <td bgcolor="669900"><input type="text" name="c13" size="2"></td>
    <td bgcolor="90be00"><input type="text" name="c14" size="2"></td>
    <td bgcolor="669900"><input type="text" name="c15" size="2"></td>
    <td bgcolor="90be00"><input type="text" name="c16" size="2"></td>
    <td bgcolor="669900"><input type="text" name="c17" size="2"></td>
    <td bgcolor="90be00"><input type="text" name="c18" size="4"></td>
    </tr>
    <tr>
    <th>Internal N/C</th>
    <td bgcolor="669900"><input type="text" name="c21" size="2"></td>
    <td bgcolor="90be00"><input type="text" name="c22" size="2"></td>
    <td bgcolor="669900"><input type="text" name="c23" size="2"></td>
    <td bgcolor="90be00"><input type="text" name="c24" size="2"></td>
    <td bgcolor="669900"><input type="text" name="c25" size="2"></td>
    <td bgcolor="90be00"><input type="text" name="c26" size="2"></td>
    <td bgcolor="669900"><input type="text" name="c27" size="2"></td>
    <td bgcolor="90be00"><input type="text" name="c28" size="4"></td>
    </tr>
    <tr>
    <th>Public Holidays</th>
    <td bgcolor="669900"><input type="text" name="c31" size="2"></td>
    <td bgcolor="90be00"><input type="text" name="c32" size="2"></td>
    <td bgcolor="669900"><input type="text" name="c33" size="2"></td>
    <td bgcolor="90be00"><input type="text" name="c34" size="2"></td>
    <td bgcolor="669900"><input type="text" name="c35" size="2"></td>
    <td bgcolor="90be00"><input type="text" name="c36" size="2" ></td>
    <td bgcolor="669900"><input type="text" name="c37" size="2"></td>
    <td bgcolor="90be00"><input type="text" name="c38" size="4"></td>
    </tr>
    <tr>
    <th>Holidays Taken</th>
    <td bgcolor="669900"><input type="text" name="c41" size="2"></td>
    <td bgcolor="90be00"><input type="text" name="c42" size="2"></td>
    <td bgcolor="669900"><input type="text" name="c43" size="2"></td>
    <td bgcolor="90be00"><input type="text" name="c44" size="2"></td>
    <td bgcolor="669900"><input type="text" name="c45" size="2"></td>
    <td bgcolor="90be00"><input type="text" name="c46" size="2"></td>
    <td bgcolor="669900"><input type="text" name="c47" size="2"></td>
    <td bgcolor="90be00"><input type="text" name="c48" size="4"></td>
    </tr>
    </TABLE>
    <br>
    <center><input type="submit"  value="Submit" /> </center>
    <%
    String username   = request.getParameter("userid");
    String pwd  = request.getParameter("pwd");
    String connectionURL = "jdbc:mysql://localhost:3306/timestamp";
    Connection connection = null;
    Statement statement = null;
    ResultSet rs = null;
    String sql=null;
    Class.forName("com.mysql.jdbc.Driver").newInstance();
    connection = DriverManager.getConnection(connectionURL, "root","nendrasys");
    statement = connection.createStatement();
    //rs=statement.executeQuery(sql); %>
    </form>
    <SCRIPT language='Javascript'>
    function update()
        alert("ciaoooooo");
        <%
            try
                String value=request.getParameter("c11");
                String value1=request.getParameter("c12");
             //   if(value!=null)
              //  System.out.println(value);             
               // System.out.println(value1);
            catch(NullPointerException n)
        %>
    </script>
    <SCRIPT language='Javascript'>
    function Datevalue(date)
           //  document.getElementById("dates").innerHTML=document.getElementById("sun").value;
      alert(date);
             //  alert( document.getElementById("dates"))
                <% System.out.println("bye");%>
    </SCRIPT>
    </BODY>
    </HTML>

    You mixed Java and Javascript in the expectation that they runs simultaneously.
    You are Wrong.
    You need to distinguish between the server side languages and client side languages. Java/JSP runs at the server side and produces a HTML page with other client side stuff in it like CSS and Javascript. When the HTML page is finished, it will be sent to the client and then Java/JSP stops. Once the HTML page is arrived at the client, there is no one line Java code in it, only its output/result. Do a View Source in your favourite web browser to see it. Only from that moment on, Javascript runs and/or can be invoked.
    Whenever you want to use Java variables in Javascript, you need to print them out as a Javascript variable. Whenever you want to use Javascript variables in Java, you need to invoke a request to the server and pass them as parameters. The request can be either synchronous (a link or a form submit) or asynchronous (ajaxical).

  • Regarding incorporate the two page nations in the same JSP page

    Hi folks,
    i am unable to do two page nations in the same JSP page using paging tag libray,I am getting the follwoing problem while setting the offset value to the Pager.offset.
    I have written the code like this.
    <pg:pager items="<%=size%>" export="sreenyOffset=offset, currentPageNumber=pageNumber;" isOffset="true" scope="request">
         <pg:index export="totalItems=itemCount">
         <% System.out.println("Before currentPageNumber:"+currentPageNumber); %>
         <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" nowrap>
              <tr class="pagenation" >
                   <td width="1%">&nbsp<br><br></td>
                   <td width="40%" align="left"> 
                        <pg:page export="firstItem, lastItem">Displaying results <strong><%= firstItem %>-<%= lastItem %></strong> of <strong><%=      totalItems %></strong> found</pg:page></td>
                             <td width=20%></td>
                        <pg:prev export="pageUrl,firstItem" >
                             <td width="5%" align="right" height="22">
                             <a href="javascript:submitSearchForm(document.organizationForm,'<%= firstItem %>')"><b>Previous</b></a></td>
                        </pg:prev>
                        <pg:pages export="pageUrl,firstItem,pageNumber">
                        <%
                             System.out.println("pageNumber :"+pageNumber+"^currentPageNumber:"+currentPageNumber);
                        %>
                             <% if (pageNumber == currentPageNumber) { %>
                                       <td width="2%" align="right" height="22"><font color=#FFFFFF><%= pageNumber %></font></td>
                             <% } else { %>
                             <td width="2%" align="right" height="22">
                                       <a href="javascript:submitSearchForm(document.organizationForm,'<%= firstItem %>')"><font color=#415481> <%= pageNumber %> <font></a>
                   </td>
                        <% } %>
                        </pg:pages>
                        <pg:next export="pageUrl,firstItem" ifnull="<%= true %>">
                             <% if (pageUrl != null) { %>
                   <td width="5%" align="right" height="22">
                        <a href="javascript:submitSearchForm(document.organizationForm,'<%= firstItem %>')"><b>Next</b></a></td>
                        <% } %>
                        </pg:next>
              </tr>
         </table>
         </pg:index>
              <html:hidden property="offset" value="0"/>
              <html:hidden property="pager.sreenyOffset" value="0"/>
    </pg:pager>
    I need some clarification for following things.
    1)i have given the export like this
    export="sreenyOffset=offset, currentPageNumber=pageNumber;"
         but while setting the offest for pager, i am doing like this
                   <html:hidden property="pager.sreenyOffset" value="0"/>
         can i customize the pager.offset to pager.(someting) like that.
    2)if i use pager.offset for two page nations in the same page pager.offset value is overriding,So i am unable to maintian the page nations.
    3)i can change the offset value into sreenyoffset in the export property of pager tag,if iam able to change the pager.offset value to customized value my problem will solve.
    4)
    can i declare the export property like this.
    <pg:pager items="<%=size%>" export="sreenyOffset=offset, currentPageNumber=pageNumber;" isOffset="true" scope="request">
    Please give me your valuable suggestions,it will be very helpful to me.
    Also give me some suggestions how to do the two page nations in the same page.I am desperately waiting for response.
    Thanks & Regards,
    Sreeny Reddy.

    Hi,
    I was trying the pagination concept in jsp. I am getting a lot of errors. Can u help me for displaying this pagination.i need to display dynamic records according to search criteria. In search criteria, an area is selected and the data related to that area should be displayed from a table in mysql . It has 100+ records each
    with 6 columns, each page should be displaying 10 records, what we call pagination. I was trying this(in java jsp)( should not do in struts, should be done only in jsp) for a long time. By ur faq, i understood u hava already done it. Pls try to help me. Can u pls send me a sample program regarding this?
    I would be very grateful if u help me.
    thanks in advance,
    regards,
    mv.

  • Unable to get the customer profile in CSC .

    Hi Guys,
    I'm unable to get the selected customer profile in CSC when i make an AJAX call to some jsp.
    Thanks,
    Ayan

    Hi Kanth
    "This page is not available because the necessary security providers have not been configured, or those configuration changes are pending and not yet activated. Please activate the changes and (if necessary) restart the Admin Server to make this page available"
    any deployment did you done..did you release those changes...!!! can i ask to restart all the server components & try to login again in Console...!!!!. I hope if you restart one more time..it will set up..
    please mark helpful if this helps out

  • The edit JSP page does not appear...

    Hi!
    I make a simple JSF application, I would like to show a DB table in a h:dataTable component and edit a given row after click, but the edit JSP page does not appear. I click the on link in the table, but the list is loaded again and not the edit page...:(
    (no exception in application server console)
    Please help me!
    my code:
    **************************************** listmydata.jsp***************************
                   <h:dataTable
                             value="#{myBean.myDataList}"
                             var="myDataItem"
                             binding="#{myBean.myDataTable}"
                   >
                        <h:column>
                             <f:facet name="header">
                                  <h:outputText value="Ajdi"/>
                             </f:facet>
                             <h:commandLink action="#{myBean.editMyData}">
                                  <h:outputText value="#{myDataItem.id}"/>
                             </h:commandLink>
                        </h:column>
    ********************************* MyBean.java *******************************
    package bean;
    import java.sql.Connection;
    import java.sql.SQLException;
    import java.util.ArrayList;
    import java.util.List;
    import javax.faces.component.html.HtmlDataTable;
    import javax.faces.context.FacesContext;
    import javax.naming.InitialContext;
    import javax.naming.NamingException;
    import javax.sql.DataSource;
    import wrapper.MyData;
    public class MyBean {
         private List myDataList;
         private HtmlDataTable myDataTable;
         private MyData myDataItem;
         protected Connection Conn;
         // *********************** actions ***********************
         public String editMyData() {
              myDataItem = (MyData)getMyDataTable().getRowData();
              return "editmydata";
         public String saveMyData() {
              try {
                   updateDataInDB();
              catch (SQLException e) {
                   System.out.println(e);
                   System.err.println(e);
                   e.printStackTrace();
              catch (NamingException e) {
                   System.out.println(e);
                   System.err.println(e);
                   e.printStackTrace();
              return "listmydata";
         // *********************** setter ***********************
         public void setMyDataList(List myDataList) {
              this.myDataList = myDataList;
         public void setMyDataTable(HtmlDataTable myDataTable) {
              this.myDataTable = myDataTable;
         public void setMyDataItem(MyData myDataItem) {
              this.myDataItem = myDataItem;
         // *********************** getter ***********************
         public List getMyDataList() {
              if (myDataList == null || FacesContext.getCurrentInstance().getRenderResponse()) {
                   loadMyDataList();
              return myDataList;
         public HtmlDataTable getMyDataTable() {
              return myDataTable;
         public MyData getMyDataItem() {
              return myDataItem;
         // *********************** others ***********************
         public void loadMyDataList() {
              try {
                   getDataFromDB();
              catch (NamingException e) {
                   System.out.println(e);
                   System.err.println(e);
                   e.printStackTrace();
              catch (SQLException e) {
                   System.out.println(e);
                   System.err.println(e);
                   e.printStackTrace();
         void getDataFromDB() throws NamingException, SQLException {
              myDataList = new ArrayList();
              java.sql.PreparedStatement PreStat = ownGetConnection().prepareStatement("SELECT id, name, value FROM BEA_JSF_SAMPLE");
              PreStat.execute();
              java.sql.ResultSet Rs = PreStat.getResultSet();
              while(Rs.next()) {
                   MyData OneRecord = new MyData();
                   OneRecord.setId(Rs.getLong(1));
                   OneRecord.setName(Rs.getString(2));
                   OneRecord.setValue(Rs.getString(3));
                   myDataList.add(OneRecord);
         void updateDataInDB() throws SQLException, NamingException {
              String sql = new String("UPDATE BEA_JSF_SAMPLE SET name=?,value=? WHERE id=?");
              java.sql.PreparedStatement PreStat = ownGetConnection().prepareStatement(sql);
              PreStat.setString(1,myDataItem.getName());
              PreStat.setString(2,myDataItem.getValue());
              PreStat.setLong(3,myDataItem.getId().longValue());
              PreStat.execute();
              ownGetConnection().commit();
         Connection ownGetConnection() throws SQLException, NamingException {
              if (Conn == null) {
                   InitialContext IniCtx = new InitialContext();
                   DataSource Ds = (DataSource)IniCtx.lookup("JDBCConnectToLocalhost_CRS");
                   Conn = Ds.getConnection();
              return Conn;
    ******************************* editmydata.jsp *****************************
    <%@ page language="java" contentType="text/html;charset=UTF-8"%>
    <%@ taglib prefix="f" uri="http://java.sun.com/jsf/core"%>
    <%@ taglib prefix="h" uri="http://java.sun.com/jsf/html"%>
    <html>
    <body>
    <f:view>
    <h:form>
         <h:panelGrid columns="2">
              <h:outputText value="Name"/>
              <h:inputText id="name" value="#{myBean.myDataItem.name}"/>
              <h:outputText value="Value"/>
              <h:inputText id="value" value="#{myBean.myDataItem.value}"/>
         </h:panelGrid>
         <h:commandButton action="#{myBean.saveMyData}" value="Save"/>
    </h:form>
    </f:view>
    </body>
    </html>

    I have put his lines in the faces-config.xml and now it works:
         <navigation-rule>
              <from-view-id>*</from-view-id>
              <navigation-case>
                   <from-outcome>editmydata</from-outcome>
                   <to-view-id>editmydata.jsp</to-view-id>
              </navigation-case>
         </navigation-rule>
         <navigation-rule>
              <from-view-id>*</from-view-id>
              <navigation-case>
                   <from-outcome>listmydata</from-outcome>
                   <to-view-id>listmydata.jsp</to-view-id>
              </navigation-case>
         </navigation-rule>
    I don't understand, that I define the next JSP page in the bean java file, which must be shown, but I must define this in the faces-config.xml as well.
    for example:
         public String editMyData() {
              myDataItem = (MyData)getMyDataTable().getRowData();
              return "editmydata";
    is it right or Do I make a mistake somewhere?

  • Unable to get the selection value of OAMessageChoiceBean

    Hi,
    From our 11i to R12 upgrade, in Customer Advance Search page, we are unable to get the proper handle for OAMessageChoiceBean (in extendedCO).
    The code snippet for handling the bean is as follows:
    OAMessageChoiceBean PartyStatusFilter = (OAMessageChoiceBean)vOAPageContext.getRootWebBean().findChildRecursive("xxfeF426PartySearchStatus");
    String xxTest= PartyStatusFilter.getSelectionValue(vOAPageContext);
    The value for above xxTest (in R12 env.) is coming as null. Whereas, the same code is working in 11i enviroment and the output of xxTest="A".
    Hence, we are unable to get the selection value of the messagechoicebean in our R12 environment. Moreover, I've already looked into similar previous posts of this forum, also tried using getSelectionText(vOAPageContext) or getSelectedValue(), but it didn’t worked too.
    Any pointers please?
    Many Thanks,
    Zahid

    Hi Keerthi,
    I'm still unable to get the value using your provided code. The referenced snippet I used is as follows:
    String messageChoiceValue = null;
    vOAPageContext.writeDiagnostics(s, "Before the IF LOOP", 2);
    if(vOAPageContext.getParameter("xxfeF426PartySearchStatus")!= null ) {
    vOAPageContext.writeDiagnostics(s, "Inside the IF LOOP ", 2);
    messageChoiceValue = vOAPageContext.getParameter("MessageChoiceID");
    vOAPageContext.writeDiagnostics(s, "Value of MessageChoice... "+messageChoiceValue, 2);
    if( messageChoiceValue != null ) {
    l++;
    saveFilterRow(SSLineVO, HeaderId, new oracle.jbo.domain.Number(l), "C", "Status", messageChoiceValue);
    vOAPageContext.writeDiagnostics(s, "After the IF LOOP", 2);
    The resultant output is as follows:
    "Before the IF LOOP", "After the IF LOOP"
    It doesn't goes inside the IF condition as the valuie is null. Any other alternative?
    Regards,
    Zahid

  • Hello.  Since accepting the upgrade to the current version of I Tunes (11.4) I have been unable to get the application to boot.  I receive the message that I Tunes was not installed correctly and Error 7 (Windows Error 193).

    Hello.  Since accepting the upgrade to the current version of I Tunes (11.4) I have been unable to get the application to boot.  I receive the message that I Tunes was not installed correctly and Error 7 (Windows Error 193).  I have uninstalled/reinstalled I Tunes several times and this has not resolved the issue.  I also uninstalled/reinstalled Microsoft.net Framework 4 since this was suggested by Apple support.  This also has not resolved the issue.
    When I reinstall I Tunes, I get a message that the “Service ‘apple mobile device’ failed to start.”  Verify you have sufficient privileges to start system services.  I attempted to manually start the Apple Mobile Device service but get a pop up stating, “Error 1053: The service did not respond to the start or control request in a timely fashion.”Unsure what I should try next. 

    For general advice see Troubleshooting issues with iTunes for Windows updates.
    The steps in the second box are a guide to removing everything related to iTunes and then rebuilding it, which is often a good starting point unless the symptoms indicate a more specific approach. Review the other boxes and the list of support documents further down page in case one of them applies.
    Your library should be unaffected by these steps but there is backup and recovery advice elsewhere in the user tip.
    The section Install missing components has advice on breaking down the iTunes installer into the individual .msi files which might prove useful if one component, such as Apple Mobile Device Support, won't install normally.
    In your case I suggest you start with a clean download of the setup file using the direct link. If reinstalling AMDS alone doesn't work try tearing everything down again.
    tt2

  • Error while trying to open the same JSP page.

    Hi partners,
    After solving some issues with JSP deployment, we are getting another error message.
    This is when we try to open the same JSP page at the same time.
    500 Internal Server Error
    javax.servlet.jsp.JspException: oracle.express.idl.util.OlapiException: ORA-22275: invalid LOB locator specified at oracle.dss.addins.jspTags.PresentationTag.doStartTag(PresentationTag.java:194) at Principal.jspService(_Principal.java:68) [SRC:/Principal.jsp:6] at com.orionserver[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].http.OrionHttpJspPage.service(OrionHttpJspPage.java:56) at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:349) at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:509) at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:413) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java(Compiled Code)) at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java(Compiled Code)) at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java(Compiled Code)) at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java(Compiled Code)) at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:112) at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186) at java.lang.Thread.run(Thread.java:513)
    I mean this is a concurrency problem.
    Any information about this will be really appreciated.
    Best regards!!!!!
    Francisco Mtz.

    After running the BI_Checkconfig tool I got an inconsistent OLAP API Metadata
    result, it was because a partner was modifying the OLAP metadata without saving
    the changes.
    After saving the changes in the OLAP metadata, I ran the BI_Checkconfig tool
    again with success (no metadata errors).
    Now the pages are displayed without any error message.
    Best regards!!!!
    Francisco Mtz.

  • How can i hand the RowSet to the next jsp page

    In a jsp page, I get a RowSet as the following:
    <input type="hidden" name="result" value="<%=ds.getRowSet()%>">
    I want to handle with this RowSet in the next jsp page, so
    I do in the next jsp page as the following:
    <% RowSet rowset = (RowSet)request.getAttribute("result"); %>
    But I was told null error. How can i hand the RowSet to the next jsp page.Help. Thanks a lot!

    Hello Charles,
    I did the registration in the same way as in the JDeveloper 3.2.3 (see follows)
    // make sure the application is registered
    oracle.jbo.html.jsp.JSPApplicationRegistry.registerApplicationFromPropertyFile(session , "ReefBC_BCPackage_BCPackageModule");
    The argument ReefBC_BCPackage_BCPackageModule is a property file (ReefBC_BCPackage_BCPackageModule.properties). After some tries, I can still use it in JDeveloper 9i R2. The reason to keep it is that there would be a lot of migration work of javabean calling if I change it to <job:DataWebBean..>. But I am wondering, do I initialize two application modules when I use registerApplicationFromPropertyFile() and <jbo:ApplicationModule..> in the same page.
    The problem in doStartTag() is found after I post "http://forums.oracle.com/forums/thread.jsp?forum=83&thread=155210&tstart=75&trange=15", by tracing into the <jbo:ApplicationModule..> after calling the OrdHttpUploadFormData. HtmlServices.getRequestParameters sends back an exception, that breaks the running of the program. It was temperorily solved by extending the ApplicationModuleTag. If <jbo:..> could use the application module initialized by registerApplicationFromPropertyFile(), I guess it may be a better workaround.
    Long postings are being truncated to ~1 kB at this time.

  • Where do I get the oracle.jsp.dbutil library

    Where do I get the oracle.jsp.dbutil library.
    Thanks

    Bernhard (guest) wrote:
    : thanx for the advice. I think the links you posted will be
    : helpful in the future.
    : I found the source of my troubles on the SUSE homepage (ver 6.1
    : does not use glibc 2.1).
    : So now I needto find out how to upgrade to glibc 2.1
    Upgrading to SuSe 6.2 would probably do the trick. Upgrade is
    really smooth, and will take approximately 1h. I was able
    to run oracle 8i client install on my PC and it works (32M,
    160MHZ pentium) quite satisfactory. On my server machine
    (450MHZ, 128MB) I'm running RH 6.0 and it also works fine.
    On SuSe, I removed the "Kaffee" JVM installed by default and
    downloaded JRE 1.1.7 from www.blackdown.org. I haven't tried
    the "kaffe" engine but Oracle documentation requires blackdown.
    Michael, if you read this, have you tried installing with the
    default JVM engine delivered with SuSe 6.2?
    As long as your operating system name doesn't start with "MS"
    you should be OK.
    : But first I will buy me a book about LINUX administration and
    : hope to find the time reading it.
    : Colin. (guest) wrote:
    : : Bernhard (guest) wrote
    : : : But anyway: This is my first try to install anything on
    : LINUX.
    : : : If anybody has some good advise for a rookie re.
    : installation
    : : : of ORACLE SERVER 8.15 on Linux I would be very thankful.
    : : Try these links, there's lots of good tips to be found (and
    : : thanks to the authors of these sites).
    : : => A SuSE developers home page for Oracle.
    : : www.suse.de/~mha/oracle/
    : : => Install Guide for Redhat.
    : : jordan.fortwayne.com/oracle/
    : : => Oracle tips & scripts
    : : www.akadia.com/html/dod-frame.html
    : : amoeba.sagemediagroup.com/oracle_linux_howto/
    : : www.orafaq.org/
    : : www.oracle-dba.com/
    : : www.kevinloney.com/
    : : www.bf.rmit.edu.au/~orafaq/contents.html
    : : www.lazydba.com/
    : : www.dbasupport.com/
    : : www.dbspecialists.com/
    : : altern.org/place4oracle/oracle_contents.html
    : : www.dbdomain.com
    null

Maybe you are looking for

  • [SOLVED] Upgraded to GRUB2, none of the menu choices are bootable

    So I installed Arch a few days ago and I've been loving it so far... however, when it installed GRUB (not GRUB 2), it failed to detect my Windows 7 installation. I couldn't get GRUB (1) to detect it at all, so I decided to try installing GRUB 2. It i

  • IPC Configuration

    Hi, We are working with SRM 5.5 (EBP and SUS) and we are making the basic settings in which we can find the IPC, but the guides don´t specify nothing about that, it only say that we need configure the IPC but i don´t know how. I'm looking for informa

  • Sends not working like before.

    So, I was sends a lot. I worked in studios for 3 years so thats just how I was raised. I noticed in Logic 9 that when you adjust the volume on a track, that feeds the AUX. Seems kinda odd, as logic 7 and 8 never did this. Its kinda frustrating when y

  • Photostream share stopped working (either receiving or sending photos).

    My photostream share recently stopped working. When I publish photos on my phone to the share, it appears (on my phone) as if they went through, but no one else is receiving the published photos on their devices. I have tried shutting down my phone t

  • Replace a string

    Hi  I have this script but not working.  I need to loop through all the profiles c:\users\* and when you find the "config.ini" file which is usually C:\users\profile01\AppData\Dir modifies a string by another value. $path = "C:\Users" get-childitem "