Java.io.FileNotFoundException when running jsp

hi,all.i'm using jdev 10.1.3,migrated from 10.1.2.
when i built a new application,application template is "Web Application[JSF ADF BC]",and build a new jsp(wrote nothing),then run this jsp page,embedded OC4J Server panel prompted:NOTIFICATION J2EE JSP0008 Unable to dispatch JSP Page. and error message:java.io.FileNotFoundException: D:\jdevstudio1013\jdev\system\oracle.j2ee.10.1.3.36.73\embedded-oc4j\default-web-app\dandee5-ViewController-context-root\qscover.jsp
what's wrong?tia

I'm having the same problem. The error is:
2006-03-10 08:54:37.425 NOTIFICATION J2EE JSP0008 Unable to dispatch JSP Page : Exception:java.io.FileNotFoundException: C:\JDev10.1.3\jdev\system\oracle.j2ee.10.1.3.36.73\embedded-oc4j\default-web-app\partnerexpress-app\jsp\en\access\loginset.jsp (The system cannot find the path specified.
)2006-03-10 08:54:37.425 NOTIFICATION J2EE JSP0008 Unable to dispatch JSP Page : Exception:java.io.FileNotFoundException: C:\JDev10.1.3\jdev\system\oracle.j2ee.10.1.3.36.73\embedded-oc4j\default-web-app\partnerexpress-app\jsp\en\access\loginset.jsp (The system cannot find the path specified.
We are migrating from 10.1.2 environment and 10.1.3 has 2 BIG problems!
1) You cannot run your applications under JDK 1.4 !!! Our production environment is 10.1.2 app server...this means we would have to build our apps in 1.4 yet be FORCED to develop in 1.5 in order to use OC4J. Not very backwards compatible.
2) The side application navigator is not very flexible. We cannot right click a file and refactor it for example add a new file or move files via drag and drop. In addition you can't rename a file easily...you have to go to the file menu.
Any solutions to these problems ? The JDK problem is a big one for anyone moving over
to this IDE.
Help!!
Gurinder

Similar Messages

  • How to catch java.io.FileNotFoundException when user enters a.jsp which is not a vali

    How to catch java.io.FileNotFoundException when a user enters a bogus jsp page. For example. I have a page called login.jsp. If a user enters log.jsp, the entire path is show and i get java.io.FileNotFoundException. This should not happen. This only happened since I upgraded to 9iAS. I tried send_error=true in zone.properties like i did when i was just using oracle http that came with database and it doesnt work. How are all you guys catching this?? I cant find any documentation. They say send_error=true will work, but IT DOESNT.
    Thanks for your time

    Hi Adam,
    I am also facing the same problem of the java.io.FIleNotFOundException in the browser display when i am giving a wrong file path in the Url. you have mentioned that you have solved it when you were using Orcale 8i Http Server, can you please guide me for that( as we are also using Oracle 8i) I checked with putting send_error=true in zone.properties file but that is not working. What exctly you have done to get rid of that error message. I am using Windows Nt platform.
    Thanks and Regards.
    Arnab

  • Java.lang.OutOfMemoryError when viewing JSP with records from Oracle DB

    Hi,
    I did an import of data from my damp file.I have exported the file from my other Oracle10g database I have the following error after I try to access data from my table I populated with import:
    javax.servlet.ServletException: Servlet execution threw an exception
         org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:368)
    root cause
    java.lang.OutOfMemoryError: Java heap space
         oracle.jdbc.driver.DateTimeCommonAccessor.getDate(DateTimeCommonAccessor.java:105)
         oracle.jdbc.driver.OracleResultSetImpl.getDate(OracleResultSetImpl.java:737)
         oracle.jdbc.driver.OracleResultSet.getDate(OracleResultSet.java:1637)
         org.apache.tomcat.dbcp.dbcp.DelegatingResultSet.getDate(DelegatingResultSet.java:255)
         com.myapp.app.OrderHelper.getAllOrders(OrderHelper.java:4137)
         com.myapp.app.GetOrderDO.execute(GetOrderDO.java:172)
         org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
         org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
         org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
         org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:368)
    a fragment of my OrderHelper with line where error occurs (line 4137):
    public class Orders {
    public List getAllOrders(){
    List lineOrders = new ArrayList();
    Connection conn = null;
    Statement stat = null;
    ResultSet rst = null;
    OrdersDTO order = null;
    String select = "SELECT * FROM TBL_ORDERS";
    DbConnection dbConn = new DbConnection();
    try {
    conn = dbConn.getDbConnection(Constants.MY_JNDI);
    stat = conn.createStatement();
    rst = stat.executeQuery(select);
    while(rst.next()){
    order = new OrdersDTO();
    order.setOrderAsmtDate(rst.getDate("order_asmt_date"));////line: 4137
    lineOrders.add(order);
    }catch (SQLException ex) {
    ex.printStackTrace();
    } finally{
    SQLHelper.cleanUp(rst, stat, conn);
    return lineOrders;
    GetOrderDO.java is just my action class which calls the getAllOrders method for my JSP to list orders. Am using Apache Tomcat/5.5.17 and struts 1.2.9 and Orcale10g.
    thnx,
    xsiyez

    thank you Avi and Bipin for the responce. I have installed Oracle on my RedHat Enterprise Linux 4 box and did an export of the TBL_ORDERS table from my database on Windows Vista . Am not getting this error when running my application on this machine. I get the error on when I run it on windows vista where I have also installed Oracle 10g and running tomcat.
    Yes Avi the ArrayList object is actually getting to big. Its returning more than 100 000 rows. I am using displaytag to do pegination. Any guidelines on how I can increase jvm heap memory on of tomcat?
    Thanx.

  • OracleJSP error: java.io.FileNotFoundException when submitting form

    I auto-generated a task form for a very simple test and receive this error when SUBMIT-ing the form.
    OracleJSP error: java.io.FileNotFoundException:
    Set the init-param debug_mode to "true" to see the complete exception message
    I am guessing it has something to do with the generated ADF task flow?
    Details of the test:
    BPM 11.1.1.4
    Process: none start > Initiator user task > none end
    Data: process data object based on BO based on a (simple) complex type xsd
    User is Weblogic, assigned to the single process role.
    That's it. The form accepts the data entry (I confirmed this previously by adding a file writer). It just generates the error in the form's pop-up window.

    Below is the file Empty1.jspx that you need -- (put it into public_html). No idea why it is needed, but removing it from the unbounded flow does not work. Hope this helps others.
    Anthony
    <?xml version='1.0' encoding='windows-1252'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
    <jsp:directive.page contentType="text/html;charset=windows-1252"/>
    <f:view>
    <af:document id="d1">
    <af:form id="f1"></af:form>
    </af:document>
    </f:view>
    </jsp:root>

  • Automatic created Java file error when compile JSP file

    I got the following error message when i try to load the JSP file given below (FlightSearch.jsp). Given also below the JAVA files (flightsearch$jsp.java) created by the compiler.
    Thanks for your help
    Susan
    Error message
    org.apache.jasper.JasperException: Unable to compile class for JSPNote: sun.tools.javac.Main has been deprecated.
    C:\jakarta-tomcat\work\client\localhost\client\client\flightsearch$jsp.java:320: 'catch' without 'try'.
    } catch (Throwable t) {
    ^
    C:\jakarta-tomcat\work\client\localhost\client\client\flightsearch$jsp.java:328: 'try' without 'catch' or 'finally'.
    ^
    C:\jakarta-tomcat\work\client\localhost\client\client\flightsearch$jsp.java:328: '}' expected.
    ^
    3 errors, 1 warning
    at org.apache.jasper.compiler.Compiler.compile(Compiler.java:285)
    at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:548)
    at org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspServlet.java:176)
    at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:188)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:381)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:473)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
    at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1027)
    at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1125)
    at java.lang.Thread.run(Thread.java:536)
    FlightSearch.jsp
    <%@page import="java.util.*" errorPage="ErrorHandler.jsp"%>
    <%@page import="com.client.entity.Flight"%>
    <%@page import="com.client.wsclient.FlightServiceClient"%>
    <H3>Available Flight List</H3>
    <br>We have found the following Available flight(s) : </br>
    <table border="0" cellpadding="0" cellspacing="0" width="100">
    <tr>
    <td width="10%" bgcolor="#808080"><b><font color="#FFFFFF">Flight Company</font></b></td>
    <td width="10%" bgcolor="#808080"><b><font color="#FFFFFF">Flight Number</font></b></td>
    <td width="10%" bgcolor="#808080"><b><font color="#FFFFFF">Depart From<font></b></td>
    <td width="10%" bgcolor="#808080"><b><font color="#FFFFFF">Arrive</font></b></td>
    <td width="10%" bgcolor="#808080"><b><font color="#FFFFFF">Departure Date</font></b></td>
    <td width="10%" bgcolor="#808080"><b><font color="#FFFFFF">Departure Time</font></b></td>
    <td width="10%" bgcolor="#808080"><b><font color="#FFFFFF">Arrival Date</font></b></td>
    <td width="10%" bgcolor="#808080"><b><font color="#FFFFFF">Arrival Time</font></b></td>
    <td width="10%" bgcolor="#808080"><b><font color="#FFFFFF">Adult Fare</font></b></td>
    <td width="10%" bgcolor="#808080"><b><font color="#FFFFFF">Child Fare</font></b></td>
    </tr>
    <%
    //Get the search information
    String des = request.getParameter("DFrom");
    String arr = request.getParameter("DTo");
    String fy = request.getParameter(FYear.value);
    String fm = request.getParameter(FMonth.value);
    String fd = request.getParameter(FDay.value);
    String f1 = fy + "-" + fm;
    String FDat = f1 + "-" + fd;
    String ty = request.getParameter(TYear.value);
    String tm = request.getParameter(TMonth.value);
    String td = request.getParameter(TDay.value);
    String t1 = ty + "-" + tm;
    String TDat = t1 + "-" + td;
    String type;
    if( request.getParameter(type[0].checked))
    type = "Return";
    else
    { type = "OneWay";
    String clas;
    if(request.getParameter(clas[0].checked))
    {clas = "ECO";
    else
    {clas = "BUSS";}
    String adult = request.getParameter(Adult.value);
    String child = request.getParameter(Child.value);
    //Get the server Flight Search Service URL
    // ServerFlightSearchBO SFSBO = new ServerFlightSearchBO();
    // ServerFlightSearch FlightSearch = SFSBO.getFlightSearchURL();
    // FlightSearchServiceClient FSearchServiceClient = new FlightSearchServiceClient
    String ServerFlightServiceURL = "http://localhost:7080/AServer/services/FlightService";
    //Find available Flight
    FlightServiceClient client = new FlightServiceClient(ServerFlightServiceURL);
    ArrayList list = client.getFlight(des, arr, FDat, TDat, type, clas, adult, child);
    Iterator it = list.iterator();
    while (it.hasNext()){
    Flight flt = (Flight)it.next();
    %>
    <tr>
    <td width= "10%"><%=flt.getFlightComp()%></td>
    <td width= "10%"><%=flt.getFlightNum()%></td>
    <td width= "10%"><%=flt.getDestination()%></td>
    <td width= "10%"><%=flt.getArrive()%></td>
    <td width= "10%"><%=flt.getFrDate()%></td>
    <td width= "10%"><%=flt.getFlightDptTm()%></td>
    <td width= "10%"><%=flt.getToDate()%></td>
    <td width= "10%"><%=flt.getFlightArrTm()%></td>
    <%
    int adt, chld;
    int far_A, tot_A, far_C, tot_C;
    adt = Integer.parseInt(adult);
    far_A = flt.getAdultFr();
    tot_A = adt * far_A;
    chld = Integer.parseInt(child);
    far_C = flt.getChildFr();
    tot_C = chld * far_C;
    %>
    <td width= "10%"><%=tot_A%></td>
    <td width= "10%"><%=tot_C%></td>
    </tr>
    <%
    if(type = "Return")
    FlightServiceClient client = new FlightServiceClient(ServerFlightServiceURL);
    ArrayList list = client.getFlight(arr, des, FDat, TDat, type, clas, adult, child);
    Iterator it = list.iterator();
    while (it.hasNext()){
    Flight flt = (Flight)it.next();
    %>
    <tr>
    <td width= "10%"><%=flt.getFlightComp()%></td>
    <td width= "10%"><%=flt.getFlightNum()%></td>
    <td width= "10%"><%=flt.getFlightDpt()%></td>
    <td width= "10%"><%=flt.getFlightArr()%></td>
    <td width= "10%"><%=flt.getFlightDptDt()%></td>
    <td width= "10%"><%=flt.getFlightDptTm()%></td>
    <td width= "10%"><%=flt.getFlightArrDt()%></td>
    <td width= "10%"><%=flt.getFlightArrTm()%></td>
    <%
    int adlt, chd;
    int fare_A, totA, fare_C, totC;
    adlt = Integer.parseInt(adult);
    fare_A = flt.getAdultFr();
    totA = adlt * fare_A;
    chd = Integer.parseInt(child);
    fare_C = flt.getChildFr();
    totC = chd * fare_C;
    %>
    <td width= "10%"><%=totA%></td>
    <td width= "10%"><%=totC%></td>
    </tr>
    <%
    %>
    </table>
    flightsearch$jsp.java
    package org.apache.jsp;
    import java.util.*;
    import com.client.entity.Flight;
    import com.client.wsclient.FlightServiceClient;
    import javax.servlet.*;
    import javax.servlet.http.*;
    import javax.servlet.jsp.*;
    import org.apache.jasper.runtime.*;
    public class flightsearch$jsp extends HttpJspBase {
    static {
    public flightsearch$jsp( ) {
    private static boolean jspxinited = false;
    public final void jspxinit() throws org.apache.jasper.runtime.JspException {
    public void _jspService(HttpServletRequest request, HttpServletResponse response)
    throws java.io.IOException, ServletException {
    JspFactory _jspxFactory = null;
    PageContext pageContext = null;
    HttpSession session = null;
    ServletContext application = null;
    ServletConfig config = null;
    JspWriter out = null;
    Object page = this;
    String _value = null;
    try {
    if (_jspx_inited == false) {
    synchronized (this) {
    if (_jspx_inited == false) {
    jspxinit();
    jspxinited = true;
    _jspxFactory = JspFactory.getDefaultFactory();
    response.setContentType("text/html;ISO-8859-1");
    pageContext = _jspxFactory.getPageContext(this, request, response,
    "ErrorHandler.jsp", true, 8192, true);
    application = pageContext.getServletContext();
    config = pageContext.getServletConfig();
    session = pageContext.getSession();
    out = pageContext.getOut();
    // HTML // begin [file="/client/flightsearch.jsp";from=(0,59);to=(1,0)]
    out.write("\r\n");
    // end
    // HTML // begin [file="/client/flightsearch.jsp";from=(1,43);to=(2,0)]
    out.write("\r\n");
    // end
    // HTML // begin [file="/client/flightsearch.jsp";from=(2,58);to=(19,0)]
    out.write("\r\n\r\n<H3>Available Flight List</H3>\r\n<br>We have found the following Available flight(s) : </br>\r\n<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100\">\r\n <tr>\r\n <td width=\"10%\" bgcolor=\"#808080\"><b><font color=\"#FFFFFF\">Flight Company</font></b></td>\r\n <td width=\"10%\" bgcolor=\"#808080\"><b><font color=\"#FFFFFF\">Flight Number</font></b></td>\r\n <td width=\"10%\" bgcolor=\"#808080\"><b><font color=\"#FFFFFF\">Depart From<font></b></td>\r\n <td width=\"10%\" bgcolor=\"#808080\"><b><font color=\"#FFFFFF\">Arrive</font></b></td>\r\n <td width=\"10%\" bgcolor=\"#808080\"><b><font color=\"#FFFFFF\">Departure Date</font></b></td>\r\n <td width=\"10%\" bgcolor=\"#808080\"><b><font color=\"#FFFFFF\">Departure Time</font></b></td>\r\n <td width=\"10%\" bgcolor=\"#808080\"><b><font color=\"#FFFFFF\">Arrival Date</font></b></td>\r\n <td width=\"10%\" bgcolor=\"#808080\"><b><font color=\"#FFFFFF\">Arrival Time</font></b></td>\r\n <td width=\"10%\" bgcolor=\"#808080\"><b><font color=\"#FFFFFF\">Adult Fare</font></b></td>\r\n <td width=\"10%\" bgcolor=\"#808080\"><b><font color=\"#FFFFFF\">Child Fare</font></b></td>\r\n </tr>\r\n");
    // end
    // begin [file="/client/flightsearch.jsp";from=(19,2);to=(66,0)]
    //Get the search information
    String des = request.getParameter("DFrom");
    String arr = request.getParameter("DTo");
    String fy = request.getParameter(FYear.value);
    String fm = request.getParameter(FMonth.value);
    String fd = request.getParameter(FDay.value);
    String f1 = fy + "-" + fm;
    String FDat = f1 + "-" + fd;
    String ty = request.getParameter(TYear.value);
    String tm = request.getParameter(TMonth.value);
    String td = request.getParameter(TDay.value);
    String t1 = ty + "-" + tm;
    String TDat = t1 + "-" + td;
    String type;
    if( request.getParameter(type[0].checked))
    type = "Return";
    else
    { type = "OneWay";
    String clas;
    if(request.getParameter(clas[0].checked))
    {clas = "ECO";
    else
    {clas = "BUSS";}
    String adult = request.getParameter(Adult.value);
    String child = request.getParameter(Child.value);
    //Get the server Flight Search Service URL
    // ServerFlightSearchBO SFSBO = new ServerFlightSearchBO();
    // ServerFlightSearch FlightSearch = SFSBO.getFlightSearchURL();
    // FlightSearchServiceClient FSearchServiceClient = new FlightSearchServiceClient
    String ServerFlightServiceURL = "http://localhost:7080/AServer/services/FlightService";
    //Find available Flight
    FlightServiceClient client = new FlightServiceClient(ServerFlightServiceURL);
    ArrayList list = client.getFlight(des, arr, FDat, TDat, type, clas, adult, child);
    Iterator it = list.iterator();
    while (it.hasNext()){
    Flight flt = (Flight)it.next();
    // end
    // HTML // begin [file="/client/flightsearch.jsp";from=(66,2);to=(68,18)]
    out.write("\r\n<tr>\r\n <td width= \"10%\">");
    // end
    // begin [file="/client/flightsearch.jsp";from=(68,21);to=(68,40)]
    out.print(flt.getFlightComp());
    // end
    // HTML // begin [file="/client/flightsearch.jsp";from=(68,42);to=(69,18)]
    out.write("</td>\r\n <td width= \"10%\">");
    // end
    // begin [file="/client/flightsearch.jsp";from=(69,21);to=(69,39)]
    out.print(flt.getFlightNum());
    // end
    // HTML // begin [file="/client/flightsearch.jsp";from=(69,41);to=(70,18)]
    out.write("</td>\r\n <td width= \"10%\">");
    // end
    // begin [file="/client/flightsearch.jsp";from=(70,21);to=(70,41)]
    out.print(flt.getDestination());
    // end
    // HTML // begin [file="/client/flightsearch.jsp";from=(70,43);to=(71,18)]
    out.write("</td>\r\n <td width= \"10%\">");
    // end
    // begin [file="/client/flightsearch.jsp";from=(71,21);to=(71,36)]
    out.print(flt.getArrive());
    // end
    // HTML // begin [file="/client/flightsearch.jsp";from=(71,38);to=(72,18)]
    out.write("</td>\r\n <td width= \"10%\">");
    // end
    // begin [file="/client/flightsearch.jsp";from=(72,21);to=(72,36)]
    out.print(flt.getFrDate());
    // end
    // HTML // begin [file="/client/flightsearch.jsp";from=(72,38);to=(73,18)]
    out.write("</td>\r\n <td width= \"10%\">");
    // end
    // begin [file="/client/flightsearch.jsp";from=(73,21);to=(73,41)]
    out.print(flt.getFlightDptTm());
    // end
    // HTML // begin [file="/client/flightsearch.jsp";from=(73,43);to=(74,18)]
    out.write("</td>\r\n <td width= \"10%\">");
    // end
    // begin [file="/client/flightsearch.jsp";from=(74,21);to=(74,36)]
    out.print(flt.getToDate());
    // end
    // HTML // begin [file="/client/flightsearch.jsp";from=(74,38);to=(75,18)]
    out.write("</td>\r\n <td width= \"10%\">");
    // end
    // begin [file="/client/flightsearch.jsp";from=(75,21);to=(75,41)]
    out.print(flt.getFlightArrTm());
    // end
    // HTML // begin [file="/client/flightsearch.jsp";from=(75,43);to=(76,1)]
    out.write("</td>\r\n ");
    // end
    // begin [file="/client/flightsearch.jsp";from=(76,3);to=(87,1)]
    int adt, chld;
    int far_A, tot_A, far_C, tot_C;
    adt = Integer.parseInt(adult);
    far_A = flt.getAdultFr();
    tot_A = adt * far_A;
    chld = Integer.parseInt(child);
    far_C = flt.getChildFr();
    tot_C = chld * far_C;
    // end
    // HTML // begin [file="/client/flightsearch.jsp";from=(87,3);to=(88,18)]
    out.write("\r\n <td width= \"10%\">");
    // end
    // begin [file="/client/flightsearch.jsp";from=(88,21);to=(88,26)]
    out.print(tot_A);
    // end
    // HTML // begin [file="/client/flightsearch.jsp";from=(88,28);to=(89,18)]
    out.write("</td>\r\n <td width= \"10%\">");
    // end
    // begin [file="/client/flightsearch.jsp";from=(89,21);to=(89,26)]
    out.print(tot_C);
    // end
    // HTML // begin [file="/client/flightsearch.jsp";from=(89,28);to=(91,0)]
    out.write("</td>\r\n</tr>\r\n");
    // end
    // begin [file="/client/flightsearch.jsp";from=(91,2);to=(100,0)]
    if(type = "Return")
    FlightServiceClient client = new FlightServiceClient(ServerFlightServiceURL);
    ArrayList list = client.getFlight(arr, des, FDat, TDat, type, clas, adult, child);
    Iterator it = list.iterator();
    while (it.hasNext()){
    Flight flt = (Flight)it.next();
    // end
    // HTML // begin [file="/client/flightsearch.jsp";from=(100,2);to=(102,18)]
    out.write("\r\n<tr>\r\n <td width= \"10%\">");
    // end
    // begin [file="/client/flightsearch.jsp";from=(102,21);to=(102,40)]
    out.print(flt.getFlightComp());
    // end
    // HTML // begin [file="/client/flightsearch.jsp";from=(102,42);to=(103,18)]
    out.write("</td>\r\n <td width= \"10%\">");
    // end
    // begin [file="/client/flightsearch.jsp";from=(103,21);to=(103,39)]
    out.print(flt.getFlightNum());
    // end
    // HTML // begin [file="/client/flightsearch.jsp";from=(103,41);to=(104,18)]
    out.write("</td>\r\n <td width= \"10%\">");
    // end
    // begin [file="/client/flightsearch.jsp";from=(104,21);to=(104,39)]
    out.print(flt.getFlightDpt());
    // end
    // HTML // begin [file="/client/flightsearch.jsp";from=(104,41);to=(105,18)]
    out.write("</td>\r\n <td width= \"10%\">");
    // end
    // begin [file="/client/flightsearch.jsp";from=(105,21);to=(105,39)]
    out.print(flt.getFlightArr());
    // end
    // HTML // begin [file="/client/flightsearch.jsp";from=(105,41);to=(106,18)]
    out.write("</td>\r\n <td width= \"10%\">");
    // end
    // begin [file="/client/flightsearch.jsp";from=(106,21);to=(106,41)]
    out.print(flt.getFlightDptDt());
    // end
    // HTML // begin [file="/client/flightsearch.jsp";from=(106,43);to=(107,18)]
    out.write("</td>\r\n <td width= \"10%\">");
    // end
    // begin [file="/client/flightsearch.jsp";from=(107,21);to=(107,41)]
    out.print(flt.getFlightDptTm());
    // end
    // HTML // begin [file="/client/flightsearch.jsp";from=(107,43);to=(108,18)]
    out.write("</td>\r\n <td width= \"10%\">");
    // end
    // begin [file="/client/flightsearch.jsp";from=(108,21);to=(108,41)]
    out.print(flt.getFlightArrDt());
    // end
    // HTML // begin [file="/client/flightsearch.jsp";from=(108,43);to=(109,18)]
    out.write("</td>\r\n <td width= \"10%\">");
    // end
    // begin [file="/client/flightsearch.jsp";from=(109,21);to=(109,41)]
    out.print(flt.getFlightArrTm());
    // end
    // HTML // begin [file="/client/flightsearch.jsp";from=(109,43);to=(110,1)]
    out.write("</td>\r\n ");
    // end
    // begin [file="/client/flightsearch.jsp";from=(110,3);to=(120,1)]
    int adlt, chd;
    int fare_A, totA, fare_C, totC;
    adlt = Integer.parseInt(adult);
    fare_A = flt.getAdultFr();
    totA = adlt * fare_A;
    chd = Integer.parseInt(child);
    fare_C = flt.getChildFr();
    totC = chd * fare_C;
    // end
    // HTML // begin [file="/client/flightsearch.jsp";from=(120,3);to=(121,18)]
    out.write("\r\n <td width= \"10%\">");
    // end
    // begin [file="/client/flightsearch.jsp";from=(121,21);to=(121,25)]
    out.print(totA);
    // end
    // HTML // begin [file="/client/flightsearch.jsp";from=(121,27);to=(122,18)]
    out.write("</td>\r\n <td width= \"10%\">");
    // end
    // begin [file="/client/flightsearch.jsp";from=(122,21);to=(122,25)]
    out.print(totC);
    // end
    // HTML // begin [file="/client/flightsearch.jsp";from=(122,27);to=(124,0)]
    out.write("</td>\r\n</tr>\r\n");
    // end
    // begin [file="/client/flightsearch.jsp";from=(124,2);to=(126,0)]
    // end
    // HTML // begin [file="/client/flightsearch.jsp";from=(126,2);to=(127,8)]
    out.write("\r\n</table>");
    // end
    } catch (Throwable t) {
    if (out != null && out.getBufferSize() != 0)
    out.clearBuffer();
    if (pageContext != null) pageContext.handlePageException(t);
    } finally {
    if (_jspxFactory != null) _jspxFactory.releasePageContext(pageContext);

    i am very glad and appreciate for your help, but i would like to know how to get the value of a radio button.
    like in another JSP file i have :
    <input type="radio" name="type" value="Return" checked>
    Return
    <input type="radio" name="type" value="OneWay">
    One Way
    and when i try to get the value which is checked, i put
    String type = request.getParameter(type.checked);
    but this doesn't work,
    i would be very appreciate for your help. Thank you

  • Null pointer exception when running JSP

    I have recently configured a web application to run on a solaris 9 platform with an Oracle 10g database. I am using Sun One Web Server 6.1 SP4 as my web server. Most of my JSP's run fine but one of them is giving me the following error:
    [29/Mar/2005:08:28:47] failure ( 961): for host 147.103.44.38 trying to GET /CI/searchSummary.jsp, service-j2ee reports: StandardWrapperValve[jsp]: WEB2792: Servlet.service() for servlet jsp threw exception java.lang.NullPointerException at jsps.CI._searchSummary_jsp._jspService(_searchSummary_jsp.java:366) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107) at javax.servlet.http.HttpServlet.service(HttpServlet.java:908) at com.iplanet.ias.web.jsp.JspServlet$JspServletWrapper.service(JspServlet.java:675) at com.iplanet.ias.web.jsp.JspServlet.serviceJspFile(JspServlet.java:447) at com.iplanet.ias.web.jsp.JspServlet.service(JspServlet.java:363) at javax.servlet.http.HttpServlet.service(HttpServlet.java:908) at org.apache.catalina.core.StandardWrapperValve.invokeServletService(StandardWrapperValve.java:771) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:322) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:212) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:209) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509) at com.iplanet.ias.web.connector.nsapi.NSAPIProcessor.process(NSAPIProcessor.java:161) at com.iplanet.ias.web.WebContainer.service(WebContainer.java:578)
    I have not been able to determine the cause of this error since the line numbers in the error log refer to the servlet created when the JSP is interpreted insead of the line number in the JSP itself. Is there any way to correlate the error in the log with the actual JSP instead of the servlet that the interpreter creates? Any ideas as to what could cause this particular error? Any help would be greatly appreciated! Thanks!!!

    Yes, you can look at the generated java servlet code under {http-instance}/ClassCache/{instance}/{web-app}/.../_searchSummary_jsp.java

  • Java.io.FileNotFoundException: when calling the parse() method of XMLReader

    Hi all, I'm getting the next exception:
    java.io.FileNotFoundException: C:\OP2\< (The name of the file, directory or volumn's label is not invalid)
    Which file is talking that exception about?
    I've no idea of what do this exception means.
    Please help me as it's very urgent.
    Thanks on advance.

    here you are the code:
    package com.saincotrafico.optimus.jms;
    import javax.jms.*;
    import com.saincotrafico.optimus.xml.*;
    import javax.xml.parsers.*;
    import org.xml.sax.*;
    import org.xml.sax.helpers.*;
    import java.io.*;
    import com.saincotrafico.optimus.client.gui.*;
    import javax.swing.SwingUtilities;
    * Description of the Class
    *@author root
    *@created 15 de febrero de 2002
    public class XMLListener implements MessageListener
    DataManager dm;
    InputSource input = new InputSource();
    DefaultHandler mh = null;
    SAXParserFactory spf = null;
    XMLReader xmlReader = null;
    * Constructor for the XMLListener object
    *@param dm Description of the Parameter
    public XMLListener(DataManager dm)
    System.out.println("AQUI");
    this.dm = dm;
    //mh=dm.getHandler();
    spf = SAXParserFactory.newInstance();
    try
    SAXParser saxParser = spf.newSAXParser();
    xmlReader = saxParser.getXMLReader();
    } catch (Exception ex)
    System.err.println(ex);
    //System.exit(1);
    * Description of the Method
    *@param message Description of the Parameter
    public void onMessage(Message message)
    if (message instanceof TextMessage)
    TextMessage msg = (TextMessage) message;
    try
    creaObjeto(msg.getText());
    Runnable doSetDatos =
    new Runnable()
    private DefaultHandler miHandler=mh;
    public void run()
    System.out.println("EN RUN!!!");
    dm.setDatos(miHandler);
    try { Thread.sleep(30);}catch (Exception ex) { ex.printStackTrace();}
    SwingUtilities.invokeLater(doSetDatos);
    } catch (JMSException e)
    System.out.println("Exception in onMessage(): " + e.toString());
    * Description of the Method
    *@param msg Description of the Parameter
    private void creaObjeto(String msg)
    mh = dm.getHandler();
    xmlReader.setContentHandler(mh);
    try
    System.out.println(msg);
    input.setCharacterStream(new StringReader(msg));
    xmlReader.parse(msg);
    }catch(Exception ex){ex.printStackTrace();}
    the exception happens at xmlReader.parse(msg).

  • Java.io.FileNotFoundException in a JSP Page

    Hi people,
    My JSP page is launching an IOException: java.io.FileNotFoundException and the compiler is telling that the problem is occurring at this code:
    <%@ taglib uri="/tags/struts-logic" prefix="logic" %>
    <%@ taglib uri="/tags/struts-html" prefix="html" %>
    <%@ taglib uri="/tags/struts-bean" prefix="bean" %>
    Could you tell me what is the problem with this code right here???
    Greetings and best regards...
    Lucas

    The uri look like paths so the jsp is looking for a file at that location.
    http://java.sun.com/products/jsp/syntax/1.2/syntaxref1211.html#8780
    uri="URIForLibrary"
    The Uniform Resource Identifier (URI) that uniquely locates the TLD that describes the set of custom tags associated with the named tag prefix. A URI can be any of the following:
    A Uniform Resource Locator (URL), as defined in RFC 2396, available at http://www.hut.fi/u/jkorpela/rfc/2396/full.html
    A Uniform Resource Name (URN), as defined in RFC 2396
    An absolute or relative pathname
    If the URI is a URL or URN, then the TLD is located by consulting the mapping indicated in web.xml extended using the implicit maps in the packaged tag libraries. If URI is pathname, it is interpreted relative to the root of the web application and should resolve to a TLD file directly, or to a JAR file that has a TLD file at location META-INF/taglib.tld.

  • Java.io.FileNotFoundException when deploy converter in Tutorial

    I try to deploy converter application in the Tutorial. Always got the following Error:
    java.io.FileNotFoundException:http://10.1.5.104:9191/converter/ConverterAppClient.jar
    checked in examples/src/converter. The jar file is not there. But I found the jar file in
    j2sdkee1.3\repository\hg\application
    My OS is NT4.
    Please help. I tried million of times, still the same error.

    Now I get the deployment through. And the client can be startup correctly. But when I enter the URL. I got an empty page. In Netscape I get "the document contains no data" and in IE get an empty page. Anyone know why is this.

  • Can't find the imported java class when run .jsp file

    Hi,
    I want to run a jsp web application using tomcat. I put all my .jsp files under "TOMCAT_HOME/webapps/junmin" directory, and put all .class files under "TOMCAT_HOME/webapps/junmin/WEB-INF/classes" directory. I set up TOMCAT_HOME AND JAVA_HOME already. But when I type in the address like below:
    http://db1.acad.emich.edu:8080/junmin/login.jsp
    The IE will give me error msg indicating that it can't find all the .class files which I imported them in login.jsp file.
    So, does anyone know that if I miss some configuration in order to let the .jsp file recognize the .class files. Thanks a lot!
    Sincerely, Junmin

    Ha, this might be the reason.
    Can I add sth like this:
    <Context path="/junmin" docbase="junmin" debug=0 reloadable=true>
    </Context>
    But in my local computer, I didn't add this <Context> either. It works well.
    Thanks a lot! I will ask the administrator to try this.
    And will write down the reason.
    Sincerely, Junmin

  • 500 Internal Server Error when run jsp in JDev

    Dear allm
    I had newly installed the JDev10g, but I got the following 500 Server Error when I click on a hyperlink in testing a jsp page, have I missed out some configuration tasks for 10g?? BTW, I am new to JDev also
    Thanks
    Regards,
    Eddie
    500 Internal Server Error
    java.lang.NoSuchMethodError: int java.lang.StringBuffer.indexOf(java.lang.String)     java.lang.Object oracle.adf.model.binding.DCUtil.findContextObject(oracle.adf.model.BindingContext, java.lang.String)     oracle.adf.model.binding.DCBindingContainer oracle.adf.model.binding.DCUtil.findBindingContainer(oracle.adf.model.BindingContext, java.lang.String)     void oracle.adf.controller.lifecycle.LifecycleContext.initialize(oracle.adf.controller.lifecycle.Lifecycle, java.lang.String, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)     void oracle.adf.controller.lifecycle.LifecycleContext.initialize(oracle.adf.controller.lifecycle.Lifecycle, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)

    The full error message should be....
    500 Internal Server Error
    java.lang.NoSuchMethodError: int java.lang.StringBuffer.indexOf(java.lang.String)     java.lang.Object oracle.adf.model.binding.DCUtil.findContextObject(oracle.adf.model.BindingContext, java.lang.String)     oracle.adf.model.binding.DCBindingContainer oracle.adf.model.binding.DCUtil.findBindingContainer(oracle.adf.model.BindingContext, java.lang.String)     void oracle.adf.controller.lifecycle.LifecycleContext.initialize(oracle.adf.controller.lifecycle.Lifecycle, java.lang.String, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)     void oracle.adf.controller.lifecycle.LifecycleContext.initialize(oracle.adf.controller.lifecycle.Lifecycle, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)     void oracle.adf.controller.struts.actions.DataActionContext.initialize(oracle.adf.controller.lifecycle.Lifecycle, org.apache.struts.action.ActionMapping, org.apache.struts.action.ActionForm, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)     org.apache.struts.action.ActionForward oracle.adf.controller.struts.actions.DataAction.execute(org.apache.struts.action.ActionMapping, org.apache.struts.action.ActionForm, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)     org.apache.struts.action.ActionForward org.apache.struts.action.RequestProcessor.processActionPerform(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, org.apache.struts.action.Action, org.apache.struts.action.ActionForm, org.apache.struts.action.ActionMapping)     void org.apache.struts.action.RequestProcessor.process(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)     void org.apache.struts.action.ActionServlet.process(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)     void org.apache.struts.action.ActionServlet.doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)     void javax.servlet.http.HttpServlet.service(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)     void javax.servlet.http.HttpServlet.service(javax.servlet.ServletRequest, javax.servlet.ServletResponse)     void com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.ResourceFilterChain.doFilter(javax.servlet.ServletRequest, javax.servlet.ServletResponse)     void oracle.security.jazn.oc4j.JAZNFilter.doFilter(javax.servlet.ServletRequest, javax.servlet.ServletResponse, javax.servlet.FilterChain)     void com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.EvermindFilterChain.doFilter(javax.servlet.ServletRequest, javax.servlet.ServletResponse)     void oracle.adf.model.servlet.ADFBindingFilter.doFilter(javax.servlet.ServletRequest, javax.servlet.ServletResponse, javax.servlet.FilterChain)     void com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.ServletRequestDispatcher.invoke(javax.servlet.ServletRequest, javax.servlet.ServletResponse)     void com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.ServletRequestDispatcher.forwardInternal(javax.servlet.ServletRequest, javax.servlet.http.HttpServletResponse)     boolean com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.HttpRequestHandler.processRequest(com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.ApplicationServerThread, com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.EvermindHttpServletRequest, com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.EvermindHttpServletResponse, java.io.InputStream, java.io.OutputStream, boolean)     void com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.HttpRequestHandler.run(java.lang.Thread)     void com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.HttpRequestHandler.run()     void com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].util.ReleasableResourcePooledExecutor$MyWorker.run()     void java.lang.Thread.run()

  • OAF 12.2.4 - 500 Internal Server Error java.io.IOException when running a page from Jdeveloper

    Hi All,
    I face the following error message in the web browser when I try to run a simple page from JDeveloper:
    500 Internal Server Error java.io.IOException
    The message is the same when I run the Hello World test from the Tutorials project.
    Here is the error stack:
    500 Internal Server Error
    java.io.IOException
            at oracle.apps.fnd.common.WebRequestUtil.validateContextPrivate(WebRequestUtil.java:559)
            at oracle.apps.fnd.common.WebRequestUtil.validateContext(WebRequestUtil.java:334)
            at oracle.apps.fnd.common.WebRequestUtil.validateContext(WebRequestUtil.java:237)
            at _OAErrorPage._jspService(_OAErrorPage.java:337)
            [/OAErrorPage.jsp]
            at com.orionserver[Oracle Containers for J2EE 10g (10.1.3.5.0) ].http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
            at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:473)
            at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
            at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
            at com.evermind[Oracle Containers for J2EE 10g (10.1.3.5.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:734)
            at com.evermind[Oracle Containers for J2EE 10g (10.1.3.5.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:391)
            at com.evermind[Oracle Containers for J2EE 10g (10.1.3.5.0) ].server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:280)
            at com.evermind[Oracle Containers for J2EE 10g (10.1.3.5.0) ].server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:68)
            at com.evermind[Oracle Containers for J2EE 10g (10.1.3.5.0) ].server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:214)
            at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:284)
            at com.evermind[Oracle Containers for J2EE 10g (10.1.3.5.0) ].server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:219)
            at com.evermind[Oracle Containers for J2EE 10g (10.1.3.5.0) ].server.http.EvermindPageContext.handlePageThrowable(EvermindPageContext.java:871)
            at com.evermind[Oracle Containers for J2EE 10g (10.1.3.5.0) ].server.http.EvermindPageContext.handlePageException(EvermindPageContext.java:816)
            at _OA._jspService(_OA.java:130)
            [/OA.jsp]
            at com.orionserver[Oracle Containers for J2EE 10g (10.1.3.5.0) ].http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
            at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:473)
            at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
            at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
            at com.evermind[Oracle Containers for J2EE 10g (10.1.3.5.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:734)
            at com.evermind[Oracle Containers for J2EE 10g (10.1.3.5.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:391)
            at com.evermind[Oracle Containers for J2EE 10g (10.1.3.5.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:908)
            at com.evermind[Oracle Containers for J2EE 10g (10.1.3.5.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:458)
            at com.evermind[Oracle Containers for J2EE 10g (10.1.3.5.0) ].server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:226)
            at com.evermind[Oracle Containers for J2EE 10g (10.1.3.5.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:127)
            at com.evermind[Oracle Containers for J2EE 10g (10.1.3.5.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:116)
            at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
            at com.evermind[Oracle Containers for J2EE 10g (10.1.3.5.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
            at java.lang.Thread.run(Thread.java:662)
    This is JDeveloper 10.1.3.5.0 from patch p19170592_R12_GENERIC.zip
    The OAF release is 12.2.4
    JDEV_USER_HOME is set to C:\Olivier\R12\jdev1224\jdevhome\jdev
    The .dbc file looks fine.
    I connect successfully to database.
    I tried to reinstall JDeveloper.
    I performed many searches on MOS, OTN, Google, etc...
    I tried to change the Startup Settings (Host Name, IP Address settings) of the Embedded OC4J Server Preferences.
    I am stuck.
    Any ideas?
    Thanks,
    Olivier

    Hi Peddi,
    Thanks for your reply.
    I checked again the .dbc file.
    I downloaded again the file from $INST_TOP/appl/fnd/12.0.0/secure to <JDEV_USER_HOME>\dbc_files\secure
    This file worked fine for JDeveloper for 12.2.3.
    I went again through "Oracle Application Framework Developer's Guide Release 12.2.4 July 2014" but could not find any part related to .dbc file having changed from previous release.
    I tried to comment out the parameter APPS_JDBC_URL in .dbc as per MOS note "Troubleshooting JDeveloper setup for Oracle Applications (Doc ID 357218.1)"
    But I still face the issue.
    According to the note "Configuring JDeveloper For Use With Oracle Applications 11i and R12 (Doc ID 330236.1)", I have added the following debug parameters in the project properties:
    -Djbo.debugoutput=console -Djbo.logging.trace.threshold=9 -Djbo.jdbc.driver.verbose=true -Djbo.jdbc.trace=true
    It generated the following OC4J server detailed log showing more error messages (in red below):
    [extract]
    15/02/04 17:13:56 [553] Successfully logged in
    15/02/04 17:13:56 [554] JDBCDriverVersion: 11.2.0.2.0
    15/02/04 17:13:56 [555] DatabaseProductName: Oracle
    15/02/04 17:13:56 [556] DatabaseProductVersion: Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production With the Partitioning, OLAP, Data Mining and Real Application Testing options
    15/02/04 17:13:56 [557] Root application module, oracle.apps.fnd.framework.toolbox.tutorial.server.HelloWorldAM, was created at 2015-02-04 17:13:56.283
    15/02/04 17:13:56 [558] setConnectionReleaseLevel - Set connection release level to 0
    15/02/04 17:13:56 [559]
    <ICX_SessionValues_Diagnostics - ICX Cookie = 4tzlN3OR7BSoTLXf4grnQylQ4l>: WebRequestUtil.validateContext is called.
    15/02/04 17:13:56 [560] SQLState(42000) vendor code(2248)
    15/02/04 17:13:56 [561] java.sql.SQLSyntaxErrorException: ORA-02248: invalid option for ALTER SESSION
    ORA-06512: at "SYS.DBMS_SESSION", line 164
    ORA-06512: at line 6
    15/02/04 17:13:56 [562] at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:94)
    15/02/04 17:13:56 [563] at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:147)
    15/02/04 17:13:56 [564] at oracle.jdbc.driver.DatabaseError.createSqlException(DatabaseError.java:206)
    15/02/04 17:13:56 [565] at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:456)
    15/02/04 17:13:56 [566] at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:405)
    15/02/04 17:13:56 [567] at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:889)
    15/02/04 17:13:56 [568] at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:476)
    15/02/04 17:13:56 [569] at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:204)
    15/02/04 17:13:56 [570] at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:540)
    15/02/04 17:13:56 [571] at oracle.jdbc.driver.T4CCallableStatement.doOall8(T4CCallableStatement.java:213)
    15/02/04 17:13:56 [572] at oracle.jdbc.driver.T4CCallableStatement.executeForRows(T4CCallableStatement.java:1075)
    15/02/04 17:13:56 [573] at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1466)
    15/02/04 17:13:56 [574] at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3752)
    15/02/04 17:13:56 [575] at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:3937)
    15/02/04 17:13:56 [576] at oracle.jdbc.driver.OracleCallableStatement.execute(OracleCallableStatement.java:9259)
    15/02/04 17:13:56 [577] at oracle.jdbc.driver.OraclePreparedStatementWrapper.execute(OraclePreparedStatementWrapper.java:1535)
    15/02/04 17:13:56 [578] at oracle.apps.fnd.sso.SessionMgr.loadInstalledLanguages(SessionMgr.java:4119)
    15/02/04 17:13:56 [579] at oracle.apps.fnd.sso.SessionMgr.getInstalledLanguages(SessionMgr.java:3872)
    15/02/04 17:13:56 [580] at oracle.apps.fnd.sso.Utils.getBaseInstalledLangCode(Utils.java:1491)
    15/02/04 17:13:56 [581] at oracle.apps.fnd.sso.Authenticator.<clinit>(Authenticator.java:45)
    15/02/04 17:13:56 [582] at oracle.apps.fnd.sso.Utils.<clinit>(Utils.java:675)
    15/02/04 17:13:56 [583] at oracle.apps.fnd.sso.SSOManager.canUpgradeToUserSession(SSOManager.java:3000)
    15/02/04 17:13:56 [584] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    15/02/04 17:13:56 [585] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    15/02/04 17:13:56 [586] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    15/02/04 17:13:56 [587] at java.lang.reflect.Method.invoke(Method.java:597)
    15/02/04 17:13:56 [588] at oracle.apps.fnd.common.WebRequestUtil.validateContextPrivate(WebRequestUtil.java:557)
    15/02/04 17:13:56 [589] at oracle.apps.fnd.common.WebRequestUtil.validateContext(WebRequestUtil.java:369)
    15/02/04 17:13:56 [590] at oracle.apps.fnd.framework.webui.OAHttpSessionCookieImpl.validateIcxCookie(Unknown Source)
    15/02/04 17:13:56 [591] at oracle.apps.fnd.framework.OASessionCookieHelper.validateIcxSession(Unknown Source)
    15/02/04 17:13:56 [592] at oracle.apps.fnd.framework.OASessionCookieHelper.initializeApplicationModule(Unknown Source)
    15/02/04 17:13:56 [593] at oracle.apps.fnd.framework.webui.OAHttpSessionCookieImpl.initializeApplicationModule(Unknown Source)
    15/02/04 17:13:56 [594] at oracle.apps.fnd.framework.webui.OAHttpSessionCookieImpl.useApplicationModule(Unknown Source)
    15/02/04 17:13:56 [595] at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:424)
    15/02/04 17:13:56 [596] at oracle.apps.fnd.framework.webui.OAJSPApplicationRegistry.registerApplicationModule(Unknown Source)
    15/02/04 17:13:56 [597] at oracle.apps.fnd.framework.webui.OAJSPApplicationRegistry.registerApplicationModule(Unknown Source)
    15/02/04 17:13:56 [598] at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
    15/02/04 17:13:56 [599] at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
    15/02/04 17:13:56 [600] at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
    15/02/04 17:13:56 [601] at _OA._jspService(_OA.java:72)
    15/02/04 17:13:56 [602] at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
    15/02/04 17:13:56 [603] at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:473)
    15/02/04 17:13:56 [604] at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
    15/02/04 17:13:56 [605] at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
    15/02/04 17:13:56 [606] at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    15/02/04 17:13:56 [607] at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:734)
    15/02/04 17:13:56 [608] at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:391)
    15/02/04 17:13:56 [609] at com.evermind.server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:280)
    15/02/04 17:13:56 [610] at com.evermind.server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:68)
    15/02/04 17:13:56 [611] at com.evermind.server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:214)
    15/02/04 17:13:56 [612] at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:284)
    15/02/04 17:13:56 [613] at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:219)
    15/02/04 17:13:56 [614] at com.evermind.server.http.EvermindPageContext.forward(EvermindPageContext.java:395)
    15/02/04 17:13:56 [615] at _OA._jspService(_OA.java:81)
    15/02/04 17:13:56 [616] at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
    15/02/04 17:13:56 [617] at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:473)
    15/02/04 17:13:56 [618] at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
    15/02/04 17:13:56 [619] at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
    15/02/04 17:13:56 [620] at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    15/02/04 17:13:56 [621] at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:734)
    15/02/04 17:13:56 [622] at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:391)
    15/02/04 17:13:56 [623] at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:908)
    15/02/04 17:13:56 [624] at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:458)
    15/02/04 17:13:56 [625] at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:226)
    15/02/04 17:13:56 [626] at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:127)
    15/02/04 17:13:56 [627] at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:116)
    15/02/04 17:13:56 [628] at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    15/02/04 17:13:56 [629] at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    15/02/04 17:13:56 [630] at java.lang.Thread.run(Thread.java:662)
    15/02/04 17:13:56 [631] Could not load application module 'oracle.apps.fnd.framework.toolbox.tutorial.server.HelloWorldAM'.
    15/02/04 17:13:56 [632] oracle.apps.fnd.framework.OAException: Application: FND, Message Name: FND_GENERIC_MESSAGE. Tokens: MESSAGE = java.io.IOException;
      at oracle.apps.fnd.framework.OAException.wrapperException(Unknown Source)
      at oracle.apps.fnd.framework.webui.OAHttpSessionCookieImpl.validateIcxCookie(Unknown Source)
      at oracle.apps.fnd.framework.OASessionCookieHelper.validateIcxSession(Unknown Source)
      at oracle.apps.fnd.framework.OASessionCookieHelper.initializeApplicationModule(Unknown Source)
      at oracle.apps.fnd.framework.webui.OAHttpSessionCookieImpl.initializeApplicationModule(Unknown Source)
      at oracle.apps.fnd.framework.webui.OAHttpSessionCookieImpl.useApplicationModule(Unknown Source)
      at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:424)
      at oracle.apps.fnd.framework.webui.OAJSPApplicationRegistry.registerApplicationModule(Unknown Source)
      at oracle.apps.fnd.framework.webui.OAJSPApplicationRegistry.registerApplicationModule(Unknown Source)
      at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
      at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
      at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
      at _OA._jspService(_OA.java:72)
      at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
      at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:473)
      at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
      at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
      at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:734)
      at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:391)
      at com.evermind.server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:280)
      at com.evermind.server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:68)
      at com.evermind.server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:214)
      at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:284)
      at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:219)
      at com.evermind.server.http.EvermindPageContext.forward(EvermindPageContext.java:395)
      at _OA._jspService(_OA.java:81)
      at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
      at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:473)
      at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
      at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
      at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:734)
      at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:391)
      at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:908)
      at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:458)
      at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:226)
      at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:127)
      at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:116)
      at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
      at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
      at java.lang.Thread.run(Thread.java:662)
    ## Detail 0 ##
    java.io.IOException
      at oracle.apps.fnd.common.WebRequestUtil.validateContextPrivate(WebRequestUtil.java:559)
      at oracle.apps.fnd.common.WebRequestUtil.validateContext(WebRequestUtil.java:369)
      at oracle.apps.fnd.framework.webui.OAHttpSessionCookieImpl.validateIcxCookie(Unknown Source)
      at oracle.apps.fnd.framework.OASessionCookieHelper.validateIcxSession(Unknown Source)
      at oracle.apps.fnd.framework.OASessionCookieHelper.initializeApplicationModule(Unknown Source)
      at oracle.apps.fnd.framework.webui.OAHttpSessionCookieImpl.initializeApplicationModule(Unknown Source)
      at oracle.apps.fnd.framework.webui.OAHttpSessionCookieImpl.useApplicationModule(Unknown Source)
      at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:424)
      at oracle.apps.fnd.framework.webui.OAJSPApplicationRegistry.registerApplicationModule(Unknown Source)
      at oracle.apps.fnd.framework.webui.OAJSPApplicationRegistry.registerApplicationModule(Unknown Source)
      at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
      at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
      at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
      at _OA._jspService(_OA.java:72)
      at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
      at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:473)
      at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
      at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
      at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:734)
      at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:391)
      at com.evermind.server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:280)
      at com.evermind.server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:68)
      at com.evermind.server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:214)
      at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:284)
      at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:219)
      at com.evermind.server.http.EvermindPageContext.forward(EvermindPageContext.java:395)
      at _OA._jspService(_OA.java:81)
      at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
      at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:473)
      at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
      at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
      at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:734)
      at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:391)
      at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:908)
      at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:458)
      at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:226)
      at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:127)
      at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:116)
      at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
      at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
      at java.lang.Thread.run(Thread.java:662)
    15/02/04 17:13:56 [633] In OADBTransactionImpl.rollback()
    15/02/04 17:13:56 [634]      conn.rollback();  // JBO-JDBC-INTERACT
    15/02/04 17:13:56 [635] Resetting AM=HelloWorldAM
    15/02/04 17:13:56 [636] OAApplicationPoolImpl.setConnectionReleaseLevel was called with isReleased = true, isReserved = false
    15/02/04 17:13:56 [637] setConnectionReleaseLevel - Set connection release level to 2
    Regards,
    Olivier

  • Java.lang.OutOfMemoryError when running java concurrent program

    Hi,
    i had written a java concurrent program to create the content items into Oracle Content Manager (OCM). Process the records from interface table and create the content items into OCM by calling the API IBC_CITEM_ADMIN_GRP.upsert_item().
    I run the concurrent program with 2000 records in interface table, it's an one to one process, 563 records are processed and 563 content items are created successfully in OCM. After 563 records continuously throws the Exception
    EXCEPTION
    WHEN OTHERS THEN
    DBMS_OUTPUT.put_line('EX - bundle validation others--');
    x_return_status := FND_API.G_RET_STS_ERROR;
    FND_MESSAGE.Set_Name('IBC', 'A_BUNDLE_ERROR');
    FND_MESSAGE.set_token('SITUATION', 'VALIDATION');
    FND_MSG_PUB.ADD;
    IF IBC_DEBUG_PVT.debug_enabled THEN
    IBC_DEBUG_PVT.end_process(
    IBC_DEBUG_PVT.make_parameter_list(
    p_tag => 'OUTPUT',
    p_parms => JTF_VARCHAR2_TABLE_4000(
    'x_return_status', '*** EXCEPTION *** [' || SQLERRM || ']'
    END IF;
    in IBC_CITEM_ADMIN_GRP.validate_attribute_bundle() API.
    Again running the concurrent program it process another 563 records. Can any one help me to fix this issue?
    i figured out the exception. When debug the error, i got the actual error message like this
    ORA-29532: Java call terminated by uncaught Java exception: java.lang.OutOfMemoryError
    ORA-29532: Java call terminated by uncaught Java exception: java.lang.NullPointerException
    ORA-29532: Java call terminated by uncaught Java exception: java.lang.ArrayIndexOutOfBoundsException: -2048 < 0
    for this issue i increased the heap memory size up to 1024MB. Still i have the same issue. Can any one help to fix the issue?

    ORA-29532: Java call terminated by uncaught Java
    exception: java.lang.NullPointerException
    ORA-29532: Java call terminated by uncaught Java
    exception: java.lang.ArrayIndexOutOfBoundsException:
    -2048 < 0Aren't the null pointer and arrayindexoutofbounds, the ones which you get when you are trying to read beyond your array? (example: when your loop tries to access the 563rd element in your array, since your array index starts from 0)?
    May be if you can try to write out your elements in the array, you might see what it is croaking about.
    Thanks,
    Chiru

  • Java.lang.NoClassDefFoundError when running the Junit method

    Hi Friends
    I am stuck in this typical Junit problem for a copule of days but still not able to find any solution for it.The problem is as below.
    I have written Junit test case for 1 method that has been added in the session bean. the code is as below.
    public void testfindResponses() {
                   ClientManager cMgr = null;
                   Collection retvalue= new ArrayList();
                   try {
                   System.out.println("Before");
                   cMgr = EJBHomeUtilities.getClientManagerHome().create();
                   System.out.println("After" + cMgr.toString());
              //     retvalue=cMgr.findSurveyResponses(clientPk,startTime,endTime);
                   }catch (RemoteException e) {
                   //logger.error(e.getMessage());
                   throw new EJBException(e.getMessage());
                   } catch (CreateException e) {
                   // logger.error(e.getMessage());
                   throw new EJBException(e.getMessage());
                   } finally {
                   EJBHomeUtilities.removeSessionBean(cMgr);
              //return retvalue;
    when i run this using the Junit consol;e on the eclipse i am getting
    java.lang.NoClassDefFoundError
         at sun.reflect.GeneratedSerializationConstructorAccessor35.newInstance(Unknown Source)
         at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
         at java.io.ObjectStreamClass.newInstance(ObjectStreamClass.java:869)
         at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1698)
         at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299)
         at java.io.ObjectInputStream.readObject(ObjectInputStream.java:339)
         at java.rmi.MarshalledObject.get(MarshalledObject.java:135)
         at org.jboss.invocation.jrmp.interfaces.JRMPInvokerProxy.invoke(JRMPInvokerProxy.java:120)
         at org.jboss.invocation.InvokerInterceptor.invokeInvoker(InvokerInterceptor.java:227)
         at org.jboss.invocation.MarshallingInvokerInterceptor.invoke(MarshallingInvokerInterceptor.java:37)
         at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:46)
         at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:55)
         at org.jboss.proxy.ejb.HomeInterceptor.invoke(HomeInterceptor.java:169)
         at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:86)
         at $Proxy0.create(Unknown Source)
         at com.march.hth.test.client.ClientManagerBeanTest.testfindSurveyResponses(ClientManagerBeanTest.java:3918)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at junit.framework.TestCase.runTest(TestCase.java:154)
         at junit.framework.TestCase.runBare(TestCase.java:127)
         at junit.framework.TestResult$1.protect(TestResult.java:106)
         at junit.framework.TestResult.runProtected(TestResult.java:124)
         at junit.framework.TestResult.run(TestResult.java:109)
         at junit.framework.TestCase.run(TestCase.java:118)
         at junit.framework.TestSuite.runTest(TestSuite.java:208)
         at junit.framework.TestSuite.run(TestSuite.java:203)
         at org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:128)
         at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
         at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460)
         at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673)
         at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386)
         at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)
    The remote reference that i get seems to not work atall.i tried to put debug statements to see if i am getting the remote reference,but the control seems to not go there itself.
    The same method if i write for another session bean it is working fine without any errors.
    Please let me know whats wrong here as i am stuck up with this issue for a long time .waiting for positive replies from your side.
    Thanks & Regards
    Vikram K

    I also came across this error . . . the exception message seemed to indicate a problem in the HTML file. In mine, I had the HEIGHT and WIDTH attributes set to 100% -- something that is nonsensical outside of a browser context. I changed those values to some number of pixels (800 and 600, say), and the exception did not reoccur. I suggest you try the same.
    --john                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Java.lang.NullPointerException when running weblogic on linux

    Hi,
    I installed the generic release of the Oracle WebLogic (wls1033_generic.jar) on my server (Ubuntu 64bit). When starting the application I am getting the following java exception. Is this a bug?
    <Jun 22, 2010 9:29:51 AM EDT> <Critical> <WebLogicServer> <BEA-000386> <Server subsystem failed. Reason: java.lang.NullPointerException
    java.lang.NullPointerException
    at weblogic.deploy.internal.adminserver.DeploymentManager.getPendingDeploymentsForEditLockOwner(DeploymentManager.java:360)
    at weblogic.management.provider.internal.EditAccessImpl.removePendingUpdateTasks(EditAccessImpl.java:560)
    at weblogic.management.provider.internal.EditAccessImpl.undoUnsavedChanges(EditAccessImpl.java:555)
    at weblogic.management.provider.internal.EditAccessImpl.acquireLock(EditAccessImpl.java:264)
    at weblogic.management.provider.internal.EditAccessImpl.startEdit(EditAccessImpl.java:289)
    Truncated. see log file for complete stacktrace
    >
    <Jun 22, 2010 9:29:51 AM EDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FAILED>
    <Jun 22, 2010 9:29:51 AM EDT> <Error> <WebLogicServer> <BEA-000383> <A critical service failed. The server will shut itself down>
    <Jun 22, 2010 9:29:51 AM EDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FORCE_SHUTTING_DOWN>

    Are you running the process as the user that installed WebLogic and have write permissions in the domain directory?
    How did you create the domain?

Maybe you are looking for

  • WS-C3750-48P system error message... need help

    All, Does anyone come across to this system error massages on 3750 switch? I can not find any ref regard this error from Cisco website. Feb 10 22:32:41.262 UTC: %SUPERVISOR-3-IIC_INIT: IIC Reinitialized Feb 10 22:35:54.284 UTC: %LINK-3-UPDOWN: Interf

  • Color is Wrong in Preview / Quick Look when viewing photographs

    Hi All, I have a problem in that all my photos and image files look a lot more saturated in Leopard Preview / Quick Look, with much warmer hue, tint and color temp, then they do in either iPhoto, Aperture, Photoshop Elements, Safari (or Firefox) when

  • IE 11 and proxy setting

    Hi I have in IE 11 the following issues. I if use proxy settings my website layout it's not consistent If I don't use proxy setting my website layout works fine. This problems appears only in IE . If I change my browser to Firefox, Chrome or Opera my

  • Wildcard Certificate

    I'm trying to find out if its possible to use a wildcard certificate on the Lync Edge server's External Interface.   OR maybe a better question would be if i use the wildcard what will break?  Like I've read the auto configuration will not work, etc.

  • Issues with mobile YouTube.

    I'm having issues while using YouTube in my safari app. Videos will constantly freeze and not play, while the video time keeps going and buffering. It used to only do this one excessively long videos, but now almost every single video is doing this,r