OC4J help

Hi all
I am using jdev 10.1.2, my project run fine in embedded OC4J. But when i deploy to standalone OC4J i get the error :
JBO-30003: The application pool (emart.model.services.EmartServicesLocal) failed to checkout an application module due to the following exception:
oracle.jbo.JboException: JBO-29000: Unexpected exception caught: oracle.jbo.JboException, msg=JBO-29000: Unexpected exception caught: java.lang.NoClassDefFoundError, msg=oracle/sql/DatumWithConnection
I already upgrade standalone OC4J by jdev 10.1.2, the example in standalone work fine.
Please help
THanks you very much

Hi All,
I got the same error, i updated the ADF libraries on the iAS 9.0.4.0 with my jdev 10.1.2 . Have you solved this problem ?
(i just upgraded from 9.0.5.2 my aplication was running without problems on the same iAS with 9.0.5.2 ADF libs).
please help,
Thanks

Similar Messages

  • Home oc4j help

    I just installed 10G application server and the home instance does not show up in the Ias console. Has anyone had this problem?

    In the Application Server Control is a button called:
    Enable/Disable Components. Press the button and check if the home instance is disabled. Enabling is self-explanatory.
    Hope that helps.

  • JDeveloper debug issues

    Hi Gurus,
    I gotta problem here with Jdev(Java 1.4, Struts, OC4J), I'm trying to debug a java 'trans' class, and when the process enters to the class, the console dont show the println and doesnt concat the strings and also, dont execute the vo query well, I have program many other classes and they run and debug without any problem or issue, what can be the issue here ?
    heres my action method:
    public class RepVisitasAction extends DispatchAction {
    public RepVisitasAction() {
    public ActionForward generarReporte (ActionMapping mapping, ActionForm form,
    HttpServletRequest request,
    HttpServletResponse response) throws IOException,
    ServletException {
    AccessControlMgr ac = new AccessControlMgr();
    if (ac.isValidSession(request) == false) {
    return mapping.findForward("accessControl");
    RepVisitasForm repForm = null;
    String fwd="reporteVisitas";
    repForm = (RepVisitasForm)form;
    String zona = repForm.getZonaSelected();
    String crs = getTiendasPorZona(zona);
    XxtaReporteVisitasTransactionsAlter trans = null;
    DateFormat format;
    Date ini;
    Date fin;
    SimpleDateFormat sdf = new SimpleDateFormat("dd/MM/yyyy");
    try{   
    trans = new XxtaReporteVisitasTransactionsAlter();
    format = new SimpleDateFormat("yyyy-MM-dd");
    ini = (Date)format.parse(repForm.getFechaInicialSelected());
    fin = (Date)format.parse(repForm.getFechaFinalSelected());
    String periodo = "'" + sdf.format(ini) + "' AND '" + sdf.format(fin) + "'";
    request.getSession().setAttribute("periodo", periodo);
    ArrayList nivel1 = new ArrayList();
    nivel1 = trans.getReporte1(crs,periodo);
    repForm.setNivel1(nivel1);
    repForm.setLevel("2");
    catch(Exception ex){
    ex.printStackTrace();
    finally{
    trans.releaseConnection();
    return mapping.findForward(fwd);
    private String getTiendasPorZona(String zona){
    XxtaReporteVisitasTransactionsAlter trans = null;
    String crs = null;
    try{
    trans = new XxtaReporteVisitasTransactionsAlter();
    crs = trans.getTiendasPorZona(zona);
    }catch(Exception ex){
    ex.printStackTrace();
    }finally{
    trans.releaseConnection();
    return crs;
    heres my trans code:
    public class XxtaReporteVisitasTransactionsAlter extends XxtaBaseTransactions {
    private static final String queryZonas1 = "select * from (SELECT p.zona, (SELECT COUNT(pv.cr_tienda) FROM cnt_tiendas_x_plaza_v pv INNER JOIN xxta_zonas zo ON (zo.nombre_zona = pv.zona) WHERE pv.zona = p.zona) AS total_tiendas, COUNT(DISTINCT v.cr_tienda) AS tiendas_encuestadas, round((COUNT(DISTINCT v.cr_tienda) * 100 / GREATEST((SELECT COUNT(pv.cr_tienda) FROM cnt_tiendas_x_plaza_v pv INNER JOIN xxta_zonas zo ON (zo.nombre_zona = pv.zona) WHERE pv.zona = p.zona), 1)),2) AS porcentaje_tiendas_encues, COUNT(DISTINCT a.enc_id) AS encuestas_realizadas FROM xxta_control_visitas v INNER JOIN xxta_control_enc_answers a ON (v.doc_id = a.doc_id) RIGHT JOIN cnt_tiendas_x_plaza_v tp ON (v.cr_tienda = tp.cr_tienda) INNER JOIN cnt_distritos_x_plaza_v p ON (p.plaza = v.cr_plaza) ";
    private static final String queryZonas2 = " GROUP BY p.zona )";
    private static final String queryPlazas1 = "SELECT tp.plaza, (SELECT COUNT(p.cr_tienda) FROM cnt_tiendas_x_plaza_v p) AS total_tiendas, COUNT(DISTINCT v.cr_tienda) AS tiendas_encuestadas, round((COUNT(DISTINCT v.cr_tienda) * 100 / GREATEST((SELECT COUNT(p.cr_tienda) FROM cnt_tiendas_x_plaza_v p),1)),2) AS porcentaje_tiendas_encues, COUNT(DISTINCT a.enc_id) AS encuestas_realizadas FROM xxta_control_visitas v INNER JOIN xxta_control_enc_answers a ON (v.doc_id = a.doc_id) RIGHT JOIN cnt_tiendas_x_plaza_v tp ON (v.cr_tienda = tp.cr_tienda) ";
    private static final String queryPlazas2 = " GROUP BY tp.plaza";
    private static final String queryDtos1 = "SELECT p.distrito, p.id_distrito, (SELECT COUNT(pv.cr_tienda) FROM cnt_tiendas_x_plaza_v pv WHERE pv.distrito = p.distrito) AS total_tiendas, COUNT(DISTINCT v.cr_tienda) AS tiendas_encuestadas, round((COUNT(DISTINCT v.cr_tienda) * 100 / GREATEST((SELECT COUNT(pv.cr_tienda) FROM cnt_tiendas_x_plaza_v pv WHERE pv.distrito = p.distrito), 1)),2) AS porcentaje_tiendas_encues, COUNT(DISTINCT a.enc_id) AS encuestas_realizadas FROM xxta_control_visitas v INNER JOIN xxta_control_enc_answers a ON (v.doc_id = a.doc_id) RIGHT JOIN cnt_tiendas_x_plaza_v tp ON (v.cr_tienda = tp.cr_tienda) INNER JOIN cnt_distritos_x_plaza_v p ON (p.plaza = v.cr_plaza) ";
    private static final String queryDtos2 = " GROUP BY p.distrito, p.id_distrito";
    public XxtaReporteVisitasTransactionsAlter() {
    public String getTiendasPorZona(String zona){
    XxtaTiendaPorZonaViewImpl vo = null;
    String cadena = "";
    try{
    vo = (XxtaTiendaPorZonaViewImpl)XxtaModule.findViewObject("XxtaTiendaPorZonaView");
    vo.clearCache();
    vo.setRangeSize(-1);
    if(!zona.equalsIgnoreCase("todos")){
    vo.setWhereClause("zona = '" + zona + "' ");
    vo.executeQuery();
    Row[] row = vo.getAllRowsInRange();
    for(int i = 0; i < row.length; i++){
    XxtaTiendaPorZonaViewRowImpl vor = (XxtaTiendaPorZonaViewRowImpl)row;
    if(!cadena.equalsIgnoreCase("")){
    cadena += ",'" + vor.getCrTienda() + "'";
    }else{
    cadena += "'" + vor.getCrTienda() + "'";
    }catch(Exception ex){
    ex.printStackTrace();
    }finally{
    if(vo != null){
    vo.closeRowSet();
    return cadena;
    public ArrayList getReporte1(String crs, String periodo){
    XxtaRepVisitasZonaViewImpl vo = null;
    ArrayList list = null;
    StringBuffer query = new StringBuffer();
    int totalTiendas = 0;
    int tiendasEnc = 0;
    int por1 = 0;
    int tiendasSin = 0;
    int totalInv = 0;
    int totalEnc = 0;
    int encInv = 0;
    try{
    if(!crs.equalsIgnoreCase("")){
    query.append(queryZonas1).append(" WHERE v.cr_tienda IN (").append(crs).append(") AND a.tienda_end_date BETWEEN ").append(periodo).append(queryZonas2);
    //query = queryZonas1 + " WHERE v.cr_tienda IN (" + crs + ") AND a.tienda_end_date BETWEEN " + periodo + queryZonas2;
    }else{
    query.append(queryZonas1).append(" WHERE a.tienda_end_date BETWEEN ").append(periodo).append(queryZonas2);
    //query = queryZonas1 + " WHERE a.tienda_end_date BETWEEN " + periodo + queryZonas2;
    vo = (XxtaRepVisitasZonaViewImpl)XxtaModule.findViewObject("XxtaRepVisitasZonaView");
    vo.clearCache();
    vo.setRangeSize(-1);
    //System.out.println("Query: " + query.toString());
    vo.setQuery(query.toString());
    System.out.println(vo.getQuery());
    vo.executeQuery();
    Row[] row = vo.getAllRowsInRange();
    list = new ArrayList();
    for(int i = 0; i < row.length; i++){
    XxtaRepVisitasZonaViewRowImpl vor = (XxtaRepVisitasZonaViewRowImpl)row[i];
    ReporteVisitasBean bean = new ReporteVisitasBean();
    bean.setZona(vor.getZona());
    bean.setTotalTiendas(vor.getTotalTiendas().toString());
    bean.setTiendasEncuestadas(vor.getTiendasEncuestadas().toString());
    int ti = Integer.parseInt(vor.getTotalTiendas().toString()) - Integer.parseInt(vor.getTiendasEncuestadas().toString());
    int por = (Integer.parseInt(vor.getTiendasEncuestadas().toString()) / Integer.parseInt(vor.getTotalTiendas().toString())) * 100;
    bean.setPorcentajeTiendas("%" + String.valueOf(por));
    bean.setTiendasSinEncuestas(String.valueOf(ti));
    bean.setPorcentajeTiendasSin("%" + String.valueOf(100-por));
    String invRea = getInventariosRealizados("(" + crs + ")");
    bean.setInventariosRealizados(invRea);
    bean.setEncuestasRealizadas(vor.getEncuestasRealizadas().toString());
    int per = (Integer.parseInt(vor.getEncuestasRealizadas().toString())/Integer.parseInt(invRea));
    bean.setEncuestasPorInventarios("%" + String.valueOf(per));
    list.add(bean);
    totalTiendas += Integer.parseInt(vor.getTotalTiendas().toString());
    tiendasEnc += Integer.parseInt(vor.getTiendasEncuestadas().toString());
    por1 += por;
    tiendasSin += ti;
    totalInv += Integer.parseInt(invRea);
    totalEnc += Integer.parseInt(vor.getEncuestasRealizadas().toString());
    encInv += per;
    if(list.size() > 0){
    ReporteVisitasBean bean = new ReporteVisitasBean();
    bean.setZona("TOTAL TIENDAS");
    bean.setTotalTiendas(String.valueOf(totalTiendas));
    bean.setTiendasEncuestadas(String.valueOf(tiendasEnc));
    bean.setPorcentajeTiendas(String.valueOf(por1/list.size()));
    bean.setTiendasSinEncuestas(String.valueOf(tiendasSin));
    bean.setPorcentajeTiendasSin(String.valueOf(String.valueOf(100 - Integer.parseInt(bean.getPorcentajeTiendas()))));
    bean.setEncuestasRealizadas(String.valueOf(totalEnc));
    bean.setInventariosRealizados(String.valueOf(totalInv));
    bean.setEncuestasPorInventarios(String.valueOf(String.valueOf(encInv/list.size())));
    list.add(bean);
    }catch(Exception ex){
    ex.printStackTrace();
    System.out.println(ex.getMessage());
    }finally{
    if(vo != null){
    vo.closeRowSet();
    return list;
    I hope you can help with these problems, I checked the code and doesn't look wrong, I think it might be some malfunction of the IDE (Jdev)
    Best Regards,
    Mentor

    Halim,
    Instead of deleting some cash, you could just give it to me ;)
    Sorry, couldn't resist...
    When you say "tons of modules," what do you mean? Are you talking about design-time or run-time performance? Does stopping the embedded OC4J help?
    John

  • URGENT **** Need help for JAX-RPC Web Service Proxy deploy to OC4J 10.1.3.5

    Hi everyone!
    I’m really new to web services.
    I’m getting a *500 internal server error* while deploying my JAX-RPC web service Proxy to an Oracle AS, in an OC4J, v. 10.1.3.5.0.
    Running my client from my development environment (*jdeveloper 10g, 10.1.3.5.0*) everything functions correctly: from jdeveloper I can contact and use the web service defined by the following endpoint: https://www.medialibrary.it/services/federaMLOL.asmx?WSDL
    I created a "try_ws_client.jsp" file that runs correctly from my local development environment jdeveloper (that uses an embedded oc4j, v. 10.1.3.5.0) but fails when run from the test server (Oracle AS, in an OC4J, v. 10.1.3.5.0), getting, as I mentioned a 500 internal server error, a white page in IE but with FF the message says: The’s an error in the servlet .....
    Here's how I created the ws proxy and how I’m using it to consume the ws I mentioned.
    1. I used the jdeveloper “Create Web Service Proxy” wizard (File > New > Business Tier > Web Services > Web Service Prox) and in the WSDL document URL I put: https://www.medialibrary.it/services/federaMLOL.asmx?WSDL
    2. The operation ended without adding nothing to the web.xml file and creating the proxy files. One of them is: FederaMLOLSoapClient.java that have the WS exposed methods (es: public boolean createUser(String) ) + a “main” method with the example how to use this client to consume the WS.
    public static void main(String[] args) {
    try {
    it.reggiocity.provincia.mlol.proxy.FederaMLOLSoapClient myPort = new it.reggiocity.provincia.mlol.proxy.FederaMLOLSoapClient();
    System.out.println("calling " + myPort.getEndpoint());
    // Add your own code here
    } catch (Exception ex) {
    ex.printStackTrace();
    3. In FederaMLOLSoapClient.java I’ve create the method "tyIt":
    public String tryIt(String username) {
    try {
    it.reggiocity.provincia.mlol.proxy.FederaMLOLSoapClient myPort = new it.reggiocity.provincia.mlol.proxy.FederaMLOLSoapClient();
    if(myPort.createUser(String username)) {
    return “O.K”;
    } else {
    return “K.O”;
    } catch (Exception ex) {
    // logs error
    4. I created my try_ws_client.jsp file that creates FederaMLOLSoapClient object and calls the tryIt method, printing the “OK” or “KO” message.
    <%@ page import="it.reggiocity.provincia.biblioreggiane.*"%>
    <%
    String message = "";
    FederaMLOLSoapClient obj= new FederaMLOLSoapClient( );
    message = obj.tryIt(“AAAAAA70R10H226H”);
    %>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
    <%@ page contentType="text/html;charset=windows-1252"%>
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"/>
    <title>prova</title>
    </head>
    <body><%=message%></body>
    </html>
    The situation is:
    My try_ws_client.jsp runs correctly from my jdeveloper and the user is created while creating app.ear and deploying it to my Oracle AS/OC4J as mentioned above, I get a 500 Internal Server Error.
    Any idea to find a solution to this problem?
    Please help.
    Take care.
    John M.

    Hi,
    you want to build the Web Service, or you want to consume the Service as a client? If the latter, Web client (ADF?) or Java client?
    Frank

  • Help help me!What's Wrong about deploy ADF BC to Standalone OC4J(10.1.3)???

    in jdeveloper 10.1.3 entironment ,this work well,But deploy to Standalone OC4J occur the following errror.::
    please help me !
    thanks!
    JBO-30003: ?????????, ????? (com.test.model.testServiceLocal) ???????????:
    oracle.jbo.JboException: JBO-29000: JBO-29000: oracle/jbo/dt/objects/JboException
         at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:1954)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:2756)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:426)
         at oracle.jbo.http.HttpSessionCookieImpl.useApplicationModule(HttpSessionCookieImpl.java:258)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:397)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:392)
         at oracle.adf.model.bc4j.DCJboDataControl.rebuildApplicationModule(DCJboDataControl.java:1550)
         at oracle.adf.model.bc4j.DCJboDataControl.beginRequest(DCJboDataControl.java:1408)
         at oracle.adf.model.binding.DCDataControlReference.getDataControl(DCDataControlReference.java:99)
         at oracle.adf.model.BindingContext.get(BindingContext.java:465)
         at oracle.adf.model.binding.DCUtil.findSpelObject(DCUtil.java:280)
         at oracle.adf.model.binding.DCUtil.findSpelObject(DCUtil.java:248)
         at oracle.adf.model.binding.DCUtil.findContextObject(DCUtil.java:383)
         at oracle.adf.model.binding.DCIteratorBinding.<init>(DCIteratorBinding.java:127)
         at oracle.jbo.uicli.binding.JUIteratorBinding.<init>(JUIteratorBinding.java:60)
         at oracle.jbo.uicli.binding.JUIteratorDef.createIterBinding(JUIteratorDef.java:87)
         at oracle.jbo.uicli.binding.JUIteratorDef.createIterBinding(JUIteratorDef.java:51)
         at oracle.adf.model.binding.DCIteratorBindingDef.createExecutableBinding(DCIteratorBindingDef.java:277)
         at oracle.adf.model.binding.DCBindingContainerDef.createExecutables(DCBindingContainerDef.java:296)
         at oracle.adf.model.binding.DCBindingContainerDef.createBindingContainer(DCBindingContainerDef.java:425)
         at oracle.adf.model.binding.DCBindingContainerReference.createBindingContainer(DCBindingContainerReference.java:54)
         at oracle.adf.model.binding.DCBindingContainerReference.getBindingContainer(DCBindingContainerReference.java:44)
         at oracle.adf.model.BindingContext.get(BindingContext.java:491)
         at oracle.adf.model.BindingContext.findBindingContainer(BindingContext.java:327)
         at oracle.adf.model.BindingContext.findBindingContainerByPath(BindingContext.java:641)
         at oracle.adf.controller.v2.context.LifecycleContext.getBindingContainer(LifecycleContext.java:155)
         at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.handleError(PageLifecycleImpl.java:504)
         at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.prepareRender(PageLifecycleImpl.java:495)
         at oracle.adf.controller.faces.lifecycle.FacesPageLifecycle.prepareRender(FacesPageLifecycle.java:76)
         at oracle.adf.controller.v2.lifecycle.Lifecycle$1.execute(Lifecycle.java:297)
         at oracle.adf.controller.v2.lifecycle.Lifecycle.executePhase(Lifecycle.java:116)
         at oracle.adf.controller.faces.lifecycle.ADFPhaseListener.mav$executePhase(ADFPhaseListener.java)
         at oracle.adf.controller.faces.lifecycle.ADFPhaseListener$1.before(ADFPhaseListener.java:430)
         at oracle.adf.controller.faces.lifecycle.ADFPhaseListener.beforePhase(ADFPhaseListener.java:84)
         at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:192)
         at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
         at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._invokeDoFilter(AdfFacesFilterImpl.java:367)
         at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._doFilterImpl(AdfFacesFilterImpl.java:336)
         at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:196)
         at oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:87)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:332)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:627)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:376)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:870)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:451)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:218)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:119)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:230)
         at oracle.oc4j.network.ServerSocketAcceptHandler.access$800(ServerSocketAcceptHandler.java:33)
         at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:831)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    ## Detail 0 ##
    oracle.jbo.JboException: JBO-29000: oracle/jbo/dt/objects/JboException
         at oracle.jbo.pool.ResourcePool.createResource(ResourcePool.java:545)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2047)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:1913)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:2756)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:426)
         at oracle.jbo.http.HttpSessionCookieImpl.useApplicationModule(HttpSessionCookieImpl.java:258)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:397)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:392)
         at oracle.adf.model.bc4j.DCJboDataControl.rebuildApplicationModule(DCJboDataControl.java:1550)
         at oracle.adf.model.bc4j.DCJboDataControl.beginRequest(DCJboDataControl.java:1408)
         at oracle.adf.model.binding.DCDataControlReference.getDataControl(DCDataControlReference.java:99)
         at oracle.adf.model.BindingContext.get(BindingContext.java:465)
         at oracle.adf.model.binding.DCUtil.findSpelObject(DCUtil.java:280)
         at oracle.adf.model.binding.DCUtil.findSpelObject(DCUtil.java:248)
         at oracle.adf.model.binding.DCUtil.findContextObject(DCUtil.java:383)
         at oracle.adf.model.binding.DCIteratorBinding.<init>(DCIteratorBinding.java:127)
         at oracle.jbo.uicli.binding.JUIteratorBinding.<init>(JUIteratorBinding.java:60)
         at oracle.jbo.uicli.binding.JUIteratorDef.createIterBinding(JUIteratorDef.java:87)
         at oracle.jbo.uicli.binding.JUIteratorDef.createIterBinding(JUIteratorDef.java:51)
         at oracle.adf.model.binding.DCIteratorBindingDef.createExecutableBinding(DCIteratorBindingDef.java:277)
         at oracle.adf.model.binding.DCBindingContainerDef.createExecutables(DCBindingContainerDef.java:296)
         at oracle.adf.model.binding.DCBindingContainerDef.createBindingContainer(DCBindingContainerDef.java:425)
         at oracle.adf.model.binding.DCBindingContainerReference.createBindingContainer(DCBindingContainerReference.java:54)
         at oracle.adf.model.binding.DCBindingContainerReference.getBindingContainer(DCBindingContainerReference.java:44)
         at oracle.adf.model.BindingContext.get(BindingContext.java:491)
         at oracle.adf.model.BindingContext.findBindingContainer(BindingContext.java:327)
         at oracle.adf.model.BindingContext.findBindingContainerByPath(BindingContext.java:641)
         at oracle.adf.controller.v2.context.LifecycleContext.getBindingContainer(LifecycleContext.java:155)
         at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.handleError(PageLifecycleImpl.java:504)
         at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.prepareRender(PageLifecycleImpl.java:495)
         at oracle.adf.controller.faces.lifecycle.FacesPageLifecycle.prepareRender(FacesPageLifecycle.java:76)
         at oracle.adf.controller.v2.lifecycle.Lifecycle$1.execute(Lifecycle.java:297)
         at oracle.adf.controller.v2.lifecycle.Lifecycle.executePhase(Lifecycle.java:116)
         at oracle.adf.controller.faces.lifecycle.ADFPhaseListener.mav$executePhase(ADFPhaseListener.java)
         at oracle.adf.controller.faces.lifecycle.ADFPhaseListener$1.before(ADFPhaseListener.java:430)
         at oracle.adf.controller.faces.lifecycle.ADFPhaseListener.beforePhase(ADFPhaseListener.java:84)
         at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:192)
         at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
         at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._invokeDoFilter(AdfFacesFilterImpl.java:367)
         at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._doFilterImpl(AdfFacesFilterImpl.java:336)
         at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:196)
         at oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:87)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:332)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:627)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:376)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:870)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:451)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:218)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:119)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:230)
         at oracle.oc4j.network.ServerSocketAcceptHandler.access$800(ServerSocketAcceptHandler.java:33)
         at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:831)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    ## Detail 0 ##
    java.lang.NoClassDefFoundError: oracle/jbo/dt/objects/JboException
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Class.java:242)
         at oracle.jbo.common.java2.JDK2ClassLoader.loadClassForName(JDK2ClassLoader.java:38)
         at oracle.jbo.common.JBOClass.forName(JBOClass.java:164)
         at oracle.jbo.common.JBOClass.findCustomClass(JBOClass.java:177)
         at oracle.jbo.server.EntityDefImpl.loadFromXML(EntityDefImpl.java:2450)
         at oracle.jbo.server.EntityDefImpl.loadFromXML(EntityDefImpl.java:2275)
         at oracle.jbo.server.MetaObjectManager.loadFromXML(MetaObjectManager.java:523)
         at oracle.jbo.mom.DefinitionManager.loadLazyDefinitionObject(DefinitionManager.java:548)
         at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:426)
         at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:359)
         at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:341)
         at oracle.jbo.server.MetaObjectManager.findMetaObject(MetaObjectManager.java:701)
         at oracle.jbo.server.EntityDefImpl.findDefObject(EntityDefImpl.java:339)
         at oracle.jbo.server.ViewDefImpl.doAddEntityUsage(ViewDefImpl.java:2889)
         at oracle.jbo.server.ViewDefImpl.loadEntityReference(ViewDefImpl.java:2959)
         at oracle.jbo.server.ViewDefImpl.loadFromXML(ViewDefImpl.java:2148)
         at oracle.jbo.server.ViewDefImpl.loadFromXML(ViewDefImpl.java:1959)
         at oracle.jbo.server.MetaObjectManager.loadFromXML(MetaObjectManager.java:527)
         at oracle.jbo.mom.DefinitionManager.loadLazyDefinitionObject(DefinitionManager.java:548)
         at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:426)
         at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:359)
         at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:341)
         at oracle.jbo.server.MetaObjectManager.findMetaObject(MetaObjectManager.java:701)
         at oracle.jbo.server.ViewDefImpl.findDefObject(ViewDefImpl.java:392)
         at oracle.jbo.server.ApplicationModuleDefImpl.loadViewObject(ApplicationModuleDefImpl.java:493)
         at oracle.jbo.server.ApplicationModuleDefImpl.loadComponents(ApplicationModuleDefImpl.java:672)
         at oracle.jbo.server.ApplicationModuleImpl.createRootApplicationModule(ApplicationModuleImpl.java:410)
         at oracle.jbo.server.ApplicationModuleHomeImpl.create(ApplicationModuleHomeImpl.java:91)
         at oracle.jbo.common.ampool.DefaultConnectionStrategy.createApplicationModule(DefaultConnectionStrategy.java:139)
         at oracle.jbo.common.ampool.DefaultConnectionStrategy.createApplicationModule(DefaultConnectionStrategy.java:80)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.instantiateResource(ApplicationPoolImpl.java:2431)
         at oracle.jbo.pool.ResourcePool.createResource(ResourcePool.java:536)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2047)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:1913)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:2756)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:426)
         at oracle.jbo.http.HttpSessionCookieImpl.useApplicationModule(HttpSessionCookieImpl.java:258)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:397)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:392)
         at oracle.adf.model.bc4j.DCJboDataControl.rebuildApplicationModule(DCJboDataControl.java:1550)
         at oracle.adf.model.bc4j.DCJboDataControl.beginRequest(DCJboDataControl.java:1408)
         at oracle.adf.model.binding.DCDataControlReference.getDataControl(DCDataControlReference.java:99)
         at oracle.adf.model.BindingContext.get(BindingContext.java:465)
         at oracle.adf.model.binding.DCUtil.findSpelObject(DCUtil.java:280)
         at oracle.adf.model.binding.DCUtil.findSpelObject(DCUtil.java:248)
         at oracle.adf.model.binding.DCUtil.findContextObject(DCUtil.java:383)
         at oracle.adf.model.binding.DCIteratorBinding.<init>(DCIteratorBinding.java:127)
         at oracle.jbo.uicli.binding.JUIteratorBinding.<init>(JUIteratorBinding.java:60)
         at oracle.jbo.uicli.binding.JUIteratorDef.createIterBinding(JUIteratorDef.java:87)
         at oracle.jbo.uicli.binding.JUIteratorDef.createIterBinding(JUIteratorDef.java:51)
         at oracle.adf.model.binding.DCIteratorBindingDef.createExecutableBinding(DCIteratorBindingDef.java:277)
         at oracle.adf.model.binding.DCBindingContainerDef.createExecutables(DCBindingContainerDef.java:296)
         at oracle.adf.model.binding.DCBindingContainerDef.createBindingContainer(DCBindingContainerDef.java:425)
         at oracle.adf.model.binding.DCBindingContainerReference.createBindingContainer(DCBindingContainerReference.java:54)
         at oracle.adf.model.binding.DCBindingContainerReference.getBindingContainer(DCBindingContainerReference.java:44)
         at oracle.adf.model.BindingContext.get(BindingContext.java:491)
         at oracle.adf.model.BindingContext.findBindingContainer(BindingContext.java:327)
         at oracle.adf.model.BindingContext.findBindingContainerByPath(BindingContext.java:641)
         at oracle.adf.controller.v2.context.LifecycleContext.getBindingContainer(LifecycleContext.java:155)
         at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.handleError(PageLifecycleImpl.java:504)
         at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.prepareRender(PageLifecycleImpl.java:495)
         at oracle.adf.controller.faces.lifecycle.FacesPageLifecycle.prepareRender(FacesPageLifecycle.java:76)
         at oracle.adf.controller.v2.lifecycle.Lifecycle$1.execute(Lifecycle.java:297)
         at oracle.adf.controller.v2.lifecycle.Lifecycle.executePhase(Lifecycle.java:116)
         at oracle.adf.controller.faces.lifecycle.ADFPhaseListener.mav$executePhase(ADFPhaseListener.java)
         at oracle.adf.controller.faces.lifecycle.ADFPhaseListener$1.before(ADFPhaseListener.java:430)
         at oracle.adf.controller.faces.lifecycle.ADFPhaseListener.beforePhase(ADFPhaseListener.java:84)
         at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:192)
         at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
         at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._invokeDoFilter(AdfFacesFilterImpl.java:367)
         at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._doFilterImpl(AdfFacesFilterImpl.java:336)
         at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:196)
         at oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:87)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:332)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:627)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:376)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:870)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:451)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:218)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:119)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:230)
         at oracle.oc4j.network.ServerSocketAcceptHandler.access$800(ServerSocketAcceptHandler.java:33)
         at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:831)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    Message was edited by:
    zcjsh

    I wouldn't expect to see the oracle.jbo.dt.objects.JboException class referenced by anything at runtime. The oracle.jbo.dt.* packages are for use by ADF BC design time extensions to JDevelopers, but not used for any runtime of your applications.
    This class appears in your stack trace.
    Instead, at runtime the class oracle.jbo.JboException (NOTE: no extra ".dt.objects." packages in there).
    Since the stack trace is occurring when entity object XML is being loaded, and the entity object row class is being set (based on the metadata found for the RowClass="xxx" property in the XML file), it is possible that you somehow accidentally included an import in your entity object class of the "oracle.jbo.dt.objects.JboException" class instead of the base oracle.jbo.JboException class?

  • Urgent :- Issue with OC4J component startup - Please help.

    Hello Oracle Gurus,
    We are facing a very strange problem with the startup of OC4J home and the component is not starting up.
    The application server we are using is Oracle 10G 9.0.4.
    Please could you guide me as to what could be wrong so that we could resolve this problem ?
    Thanks and Regards,
    Ramanan.
    We checked up the logs and we found the following errors -
    "06/05/09 14:38:19 Start process
    06/05/09 14:38:24 Warning: Error reading transaction-log file (/u01/gcube1/oracle/j2ee/home/persistence/home_default_island_1/transaction.state) for recovery: premature end of file
    06/05/09 14:38:24 Forced or abrupt (crash etc) server shutdown detected, starting recovery process...
    06/05/09 14:38:24 Recovery completed, 0 connections committed and 0 rolled back...
    06/05/09 14:51:03 Start process
    06/05/09 14:51:12 Warning: Error reading transaction-log file (/u01/gcube1/oracle/j2ee/home/persistence/home_default_island_1/transaction.state) for recovery: premature end of file
    06/05/09 14:51:12 Forced or abrupt (crash etc) server shutdown detected, starting recovery process...
    06/05/09 14:51:12 Recovery completed, 0 connections committed and 0 rolled back...
    06/05/09 14:56:11 Start process
    06/05/09 14:56:17 Warning: Error reading transaction-log file (/u01/gcube1/oracle/j2ee/home/persistence/home_default_island_1/transaction.state) for recovery: premature end of file
    06/05/09 14:56:17 Forced or abrupt (crash etc) server shutdown detected, starting recovery process...
    06/05/09 14:56:17 Recovery completed, 0 connections committed and 0 rolled back..."

    Hello Deepak,
    Thanks very much for your prompt reply to my problem.
    I tried to do what you mentioned in your reply to me, but still could nt manage to get the OC4J component up and running. We suspect that it may be some installation issue and we are blowing up the existing installation to make a fresh one on a new machine.
    Will keep your suggestions in mind , they really help me out and am learning :-)
    Have a great day and thanks once again !
    Best Regards,
    Ramanan.

  • JNDI lookup help please-Bean to Bean callout locally in same oc4j container

    Hi - I'm fairly new to oc4j/ejb coding - I'm trying to get a simple application running to show that our code can be run in local mode - here is the scenario:
    - Bean A (our application bean) within Application A
    - Bean B (customer-developed bean) within Application B
    - Bean B calls Bean A
    - Bean A + Bean B are different application instances in the same oc4j container
    - Jsp (residing in ApplicationB) within the same oc4j container calling Bean B, which invokes Bean A
    ====
    I get the following exception (classes renamed to match scenario):
    javax.naming.NameNotFoundException: oracle.apps.applicationa.common.BeanA not found in anothercompany.applicationb.common.BeanB
    [java] at com.oracle.naming.J2EEContext.getSubContext(J2EEContext.java:93)
    [java] at com.oracle.naming.J2EEContext.lookup(J2EEContext.java:76)
    [java] at com.evermind.server.ApplicationContext.lookupJavaCompEnv(ApplicationContext.java:265)
    [java] at com.evermind.server.ApplicationContext.lookupJavaComp(ApplicationContext.java:132)
    [java] at com.evermind.server.ApplicationContext.lookup(ApplicationContext.java:306)
    [java] at com.evermind.server.ApplicationContext.lookup(ApplicationContext.java:120)
    [java] at javax.naming.InitialContext.lookup(InitialContext.java:347)
    - BeanA is part of application named "AppA" in server.xml
    - BeanB is part of application named "AppB" in server.xml
    - AppB has attribute 'parent="AppA"' in server.xml
    - If I change the Jsp file (residing in AppB) to call BeanA directly in the jsp code it works with no JNDI error, but changing the jsp code back to calling BeanB (which then calls BeanA) will throw the NameNotFoundException
    My Stateless Session Bean is very simple and I have tried not setting the context and setting the context. I'm thinking this is a very simple configuration issue, but have not been able to find the solution yet... I've tried playing with the setSessionContext method in the session bean but have had no luck and am not sure what to set the variables to or even if I'm in the correct method...
    public void setSessionContext(SessionContext ctx) {   
    if (verbose)
    System.out.println("setSessionContext called");
    Properties env = new Properties();
    // tried all three context factories...
    //env.put(Context.INITIAL_CONTEXT_FACTORY,"com.evermind.server.ApplicationInitalContextFactory");
    env.put(Context.INITIAL_CONTEXT_FACTORY,"com.evermind.server.ApplicationClientInitialContextFactory");
    //env.put(Context.INITIAL_CONTEXT_FACTORY,"com.evermind.server.rmi.RMIInitialContextFactory");
    // not sure what url to put, if any
    //env.put(Context.PROVIDER_URL, "ormi://localhost:23791/AppB");
    env.put(Context.PROVIDER_URL, "ormi://localhost/AppB");
    // tried with and without security principals... also tried sysadmin/sysadmin
    env.put(Context.SECURITY_PRINCIPAL, "guest");
    env.put(Context.SECURITY_CREDENTIALS, "welcome");
    // mProps is a local transient member var of type Properties
    mProps = env;
    // mCtx is a local transient member var of type SessionContext
    mCtx = ctx;
    (edit) additional info:
    - all beans/classes are in the same classes directory; there are no jar files, so in application.xml the specified classpath is "classes" which includes both appA and appB classes
    - I verified that if I point (appB) jsp directly to BeanA it works with the "parent" attribute set on appB in server.xml, and when I remove the "parent" attribute on appB in server.xml the jsp throws a NameNotFoundException
    edit #2:
    another interesting note is that the exception message says "oracle.apps.applicationa.common.BeanA not found in anothercompany.applicationb.common.BeanB"
    and usually the naming error I see is:
    "oracle.apps.applicationa.common.BeanA not found in appB"
    (as with the case when I use a jsp to access appA beans without setting the parent application of appB to appA)
    - also my j2ee/home/applications/appB/WEB-INF/web.xml includes the oracle.apps.applicationa.common.BeanA ejb-ref tag
    any help is appreciated - thanks!
    Message was edited by:
    oleon

    Hi Steve
    thanks for the reply - I currently have the parent attribute set in server.xml which is why the jsp connection works, but for some strange reason the bean cannot connect to other bean...
    my server.xml has something like...
    <application name="appA" location="appA" auto-start="true"/>
    <application name="appB" location="appB" parent="appA" auto-start="true"/>
    (ok, the tags might be off because I'm not in front of my workstation looking at the xml file...)
    on another interesting note, in the session bean for AppB I've tried searching for the ejb bean for app B (itself basically) with the default initial context and it cannot find its own bean within the same application... the message would be something like "NameNotFoundException: anothercompany.applicationb.common.BeanB not found in anothercompany.applicationb.common.BeanB"

  • Oc4j standalone 10.1.3.3 and service registry with ssl install help needed

    Hello,
    I'm trying to install service registry with oc4j standalone for testing and demoing but am having some difficulty with the ssl side of things.
    I have setup a oc4j standalone 10.1.3.3 and configured the following ports:
    default http port: 9991
    ormi port: 9992
    ormi ssl port: 9993
    https port: 9994
    I have configured oc4j standalone for SSl as per instructions by copying default-web-site.xml to secure-web-site.xml and added secure="true" to <web-site> tag and added <ssl-config keystore..../> as well. I've also modified server .xml and added <web-site path="./secure-web-site.xml" /> into the file.
    I have then installed service registry as a publication (discovery) with http port pointing to 9991 and ssl enabled pointing to 9994 with oracle database.
    I can load http://localhost:9991/ and also https://localhost:9994 and both secure and non-secure page loads fine for the oc4j webpage. I can load http://localhost:9991/registry/uddi/web/ page but when I click on any of the link on it tries to load https://localhost:9994/registry/uddi/web i get a http 404 not found error.
    Tried googling and searching the forum for info, but I'm in need of a little help on where I went wrong.
    Thanks

    Hy frank, thanks for your reply:
    We use a jdk shipped with jdeveloper for running OC4J;
    "<JDev install dir>\jdk\bin\java.exe"
    java -version says:
    java version "1.5.0_06"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-b05)
    Java HotSpot(TM) Client VM (build 1.5.0_06-b05, mixed mode)
    Regards.
    Davide

  • OC4J Hanging!!!! Urgent Please help

    Hi,
    We have deployed EJB's on OC4J 1.0.2.2. And the Java Client would be invoked from UNIX schedular, which intrun work with EJB. The UNIX schedular would invoke many Java client based on the time at given point it could be around 20 clients making request to EJB. But after few hours say(2 hrs), the OC4J stops responding and HANGS!!!!!!!!!.
    We get following error if I try to invoke any client.
    javax.naming.NamingException: Lookup error: java.net.ConnectException: Operation timed out: connect; nested exception is
    java.net.ConnectException: Operation timed out: connect
    at com.evermind.server.rmi.RMIContext.lookup(RMIContext.java:125)
    at javax.naming.InitialContext.lookup(Unknown Source)
    I am able to get InitialContext but not able to lookup the EJB. OC4J is either dead or not serving any request.
    Can anyone help, why OC4J still listens on RMI port when it can not service the look-up? Or there is no relationship with LISTEN on port and Service.
    This is done on the production server... Request please
    help....
    Regards
    Arun

    Avi,
    Please find snippet of my ServiceLocator---
    private BatchServiceLocator() throws ServiceLocatorException
              System.out.println("Getting into the constructor...:" );
              String fileLocation = null;
              FileInputStream fis = null;
              try
                   // Instanciates Logger
                   log = Logger.getLogger(getClass());
                   // Instanciates cache which will store home interfaces of EJB's
              hm = new HashMap();
              // Load JNDI properties file
                   fileLocation = System.getProperty(BATCH_PROPERTIES_FILE_LOCATION);
                   log.debug("FileLocation :" + fileLocation);
                   fis = new FileInputStream(fileLocation);
                   batchproperties = new Properties();
                   batchproperties.load(fis);
                   if(log.isDebugEnabled())
                        log.debug("Properties file loaded.");     
                   Getting InitialContextFactory
                   System.out.println(batchproperties);
                   String InitialContextFactory = batchproperties.getProperty("INITIALCONTEXTFACTORY");
                   String URL = batchproperties.getProperty("URL");
                   String USER_NAME = batchproperties.getProperty("USER");
                   String PASSWORD = batchproperties.getProperty("PASSWORD");
                   Hashtable env = new Hashtable();
                   env.put(Context.INITIAL_CONTEXT_FACTORY, InitialContextFactory);
                   env.put(Context.SECURITY_PRINCIPAL, USER_NAME);
                   env.put(Context.SECURITY_CREDENTIALS, PASSWORD);
                   env.put(Context.PROVIDER_URL, URL);
                   System.out.println("hashtable = " + env);
                   ctx = new InitialContext(env);
                   System.out.println("ctx:"+ ctx);
              catch(Exception e)
                   e.printStackTrace();
                   throw new ServiceLocatorException("Context properties file could not be loaded");
              finally
                   if (fis != null)
                   try
                        fis.close();
                        fis = null;
                   catch(Exception e)
                        log.warn("File Input stream not closed");
         public static BatchServiceLocator getInstance() throws ServiceLocatorException
              System.out.println("getInstance:BatchServiceLocator");
              if (instance == null)
                   instance = new BatchServiceLocator();
              return instance;
    This is singleton but not thread safe. This should not matter beacuse we invoke the Batch Client from UNIX shell script using "java -jar <module>BatchClient.jar". This essentially means ServiceLocator is for this client and JVM is different. Another client will invoke with another JVM, once end of the execution the Context is removed.
    But I got solution when I made ServiceLocator thread safe using Synchronization. I am not clear on the Thread playing spoil sport in Client JVM.
    Any thoughts are welcome.
    Regards
    Arun

  • Deployment into oc4j - need help

    I'm some problem in my deployment of my *.ear files into my oc4j server from my PC. Maybe someone can help me...
    What I did I first created a *.war file under my ViewController then my *. jar file under my model and then my *.ear file that reference my *.jar and *.war in a folder that is at the base of my project. After this I deploy my *.ear file into my oc4j server then I connect into my enterprise manager to make sure it was deployed correctly and I get no error. But when I try to view that page on my browser it look like I get a type of error that is related to my xml files.
    Is this the right process?
    Thanks

    user516031,
    Excuse me, but I don't know what you mean by "my ViewController" and "my model". Personally, I use the command-line utilities to create and deploy J2EE applications to my OC4J stand-alone 10.1.3.0.0 instance. For example:
    jar cf *.war ...
    jar cf *.ear ...
    java -jar admin.jar ormi://localhost oc4jadmin xxx -deploy ...It may help someone to answer your question if you post the entire error message you are getting.
    You can also check the Web access log (of OC4J) and your application's log.
    Good Luck,
    Avi.

  • Help with my OC4J

    HI everyone am having this error when i try to run my simple jsp page
    07/03/27 20:14:18 Error initializing server: At least one valid code-source or import-shared-library element is required for shared-library "global.libraries" in /C:/Documents and Settings/user/Desktop/Jdev/jdev/system/oracle.j2ee.10.1.3.39.84/embedded-oc4j/config/server.xml.
    07/03/27 20:14:18 Fatal error: server exiting
    Process exited with exit code 1.
    Help me please. Thank you in advance

    Hey thanks it was the server.xml file that needed some modification and also i had to remove all the files in the directory C:\Documents and \Jdev\jdev\system\oracle.j2ee.10.1.3.39.84\embedded-oc4j\persistence and after that the jdeveloper started and compile my pages welll am having lots of fun with jdev really interesting .
    Thanks to all of you
    Rgds,
    Lutchumaya

  • Help on Debug Mode in Oracle JDeveloper 10g/OC4J

    Hi All,
         Presently I am using Oracle JDeveloper 10g Early Access version
              ADF Business Components     10.1.3.34.12
              Java™ Platform          1.5.0_05
              Oracle IDE               10.1.3.34.12
              PMD               JDeveloper Extension 1.7
              and OC4J.
    I want to debug all the Java files between request submission and getting response from the server in j2ee application. This we can do in eclipse ide by putting break points where ever we require and running the server in debugging mode. But I don't know how this can be done in JDeveloper/OC4J. Please can any one of you guide me, if you are aware of it. Thanks in advance.
    -immu

    If you mean remote debugging the application on a stand alone OC4J then here is a basic how-to:
    http://blogs.oracle.com/shay/2005/10/24#a55
    This is also covered in the online help.

  • Problem with my OC4J, please help

    Hi
    i have one big problem with my OC4J Application Server: i create an instance, then i deployed my appliation with the .ear file. i have 15 page uix. my problem is when i want to see my application from the browser, some of the page run correctly ans some other no; in other world the one that don't run, in reality it run but it display the last one that run correctly.
    i hope that i m celar.
    can you help me.
    Thank you

    Islem,
    Please post your log file content as well as server version, OS etc. (see:
    http://forums.oracle.com/forums/ann.jspa?annID=818-Michael

  • Jdeveloper OC4J need help

    Hi all,
    i am using JDeveloper latest version. i have 2 applications, one is JSF and another one is WebService. i need to call that webservice from jsf webapp. But in jdeveloper how to run two applications simultaneously.
    i tried with oc4j standalone application server. i deployed webservice in oc4j standalone app server. its runnining in some port number. another jsf application running from jdeveloper itself. its running in different port number.
    But its not working. but i tried with different machine in LAN, its working fine.
    How to resolve it.
    Is it any other port number, i have to change ? in which file ?
    I need to deploy the webservice, should run background through oc4j standalone and debugging or running the jsf webapp through jdeveloper ide.
    Help me. thanks in advance.
    Srinivas.R

    The simplest solution would be to have one application with two projects.
    Then you righ click run the WS and then right-click run the JSF.
    If you are running on another port - you'll need to change the WS data control files to include the right port number. Do a search on your project for the port number and change it as needed.

  • Please Help!, I can't update my classes in OC4J 9.0.2

    I succesfully deployed my application in OC4J,
    We 're in the development stage, and we need to make a lot of changes in all the JSP pages, beans, and common classes.
    When I make a change in a JSP, I can see the effect inmediately, but if I try to change a class, I never see the changes unless I restart the OC4J instance.
    I verified the main-mode parameter, and it is in recompile mode, What can I do?
    regards
    Sergio Castro

    Hello Sergio,
    This behaviour has been seen if you deploying your application in default-web-app. Please create an ear file and deploy the application.
    If you are creating an ear file, then the recommended way after making changes if to recreate the ear and overwrite your old ear with this file. OC4J will now pick this file automatically and re-deploy the new ear. You would not have to restart OC4J.
    Hope this helps.

Maybe you are looking for

  • What is difference between TEXT mode and BINARY mode?

    Hi,           What is difference between TEXT mode and BINARY mode? In TEXT mode what is "ENCODING DEFAULT". OPEN DATASET wl_filename FOR INPUT                           IN TEXT MODE ENCODING DEFAULT.   OPEN DATASET wl_filename FOR INPUT             

  • How do we watch an HD movie on our macbook?

    This is the message we get when we try to watch a movie that we rented from itunes: This movie can be played only on displays that support HDCP (High-bandwidth Digital Content Protection).  Try moving the iTunes window to a different display.

  • Setting up A Record

    I am a newbie to all this server stuff so please excuse my ignorance and please treat me kindly in words of one syllable. Our secretary creates pdfs of the school newsletters which she uses Microsoft Office Sharepoint to send to our school website. S

  • Printing to Excel Article by Tobias Kaufmann

    Does anyone know where to get the classes that need to be imported that are referenced in the printing to excel article by Tobias Kaufmann?  I am interested in trying this technique, but cannot locate the classes that are mentioned in the article.  A

  • ITunes update 12.1 error 2324

    The apple update 12.1 won't finish installing. I get error 2324. I have the latest version of windows 8.1, update 1/28/2015. This has happened before. Per previous help I tried to uninstalled iTunes programs iTunes/Apple Softwear Update/iCloud/mobile