Weblogic 8.1: NoClassDefFoundError after successful EAR deployement

I need some help upgrading our weblogic from 6.1 to 8.1. The EAR application has been successfully deployed via the console. I am able to log into the application. However, when I try to execute a query, I get the following error stack:
java.rmi.RemoteException: EJB Exception: ; nested exception is:
     javax.ejb.EJBException: nested exception is: javax.ejb.EJBException: EJB Exception: : java.lang.NoClassDefFoundError: org/apache/commons/beanutils/BeanUtils
     at com.methanex.mis.services.query.AbstractQueryBean.executePreparedStatement(AbstractQueryBean.java:70)
     at com.methanex.mis.services.query.GetRegionsQuery.executeQuery(GetRegionsQuery.java:44)
     at com.methanex.mis.services.query.GetRegionsQuery_fqwheo_ELOImpl.executeQuery(GetRegionsQuery_fqwheo_ELOImpl.java:46)
     at com.methanex.mis.services.imp.AbstractServiceBean.invokeGetRegionsQuery(AbstractServiceBean.java:160)
     at com.methanex.mis.services.imp.SearchProposedPlant.execute(SearchProposedPlant.java:38)
     at com.methanex.mis.services.imp.SearchProposedPlant_iugso0_EOImpl.execute(SearchProposedPlant_iugso0_EOImpl.java:46)
     at com.methanex.mis.application.action.SearchProposedPlantAction.execute(SearchProposedPlantAction.java:121)
     at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:451)
     at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:264)
     at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1291)
     at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:484)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
     at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1077)
     at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:465)
     at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:348)
     at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:7047)
     at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
     at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
     at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3902)
     at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2773)
     at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
     at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)
     at weblogic.ejb20.internal.EJBRuntimeUtils.throwRemoteException(EJBRuntimeUtils.java:102)
     at weblogic.ejb20.internal.BaseEJBHome.handleSystemException(BaseEJBHome.java:296)
     at weblogic.ejb20.internal.BaseEJBObject.postInvoke(BaseEJBObject.java:284)
     at weblogic.ejb20.internal.StatelessEJBObject.postInvoke(StatelessEJBObject.java:168)
     at com.methanex.mis.services.imp.SearchProposedPlant_iugso0_EOImpl.execute(SearchProposedPlant_iugso0_EOImpl.java:56)
     at com.methanex.mis.application.action.SearchProposedPlantAction.execute(SearchProposedPlantAction.java:121)
     at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:451)
     at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:264)
     at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1291)
     at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:484)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
     at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1077)
     at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:465)
     at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:348)
     at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:7047)
     at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
     at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
     at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3902)
     at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2773)
     at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
     at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)
Caused by: javax.ejb.EJBException: nested exception is: javax.ejb.EJBException: EJB Exception: : java.lang.NoClassDefFoundError: org/apache/commons/beanutils/BeanUtils
     at com.methanex.mis.services.query.AbstractQueryBean.executePreparedStatement(AbstractQueryBean.java:70)
     at com.methanex.mis.services.query.GetRegionsQuery.executeQuery(GetRegionsQuery.java:44)
     at com.methanex.mis.services.query.GetRegionsQuery_fqwheo_ELOImpl.executeQuery(GetRegionsQuery_fqwheo_ELOImpl.java:46)
     at com.methanex.mis.services.imp.AbstractServiceBean.invokeGetRegionsQuery(AbstractServiceBean.java:160)
     at com.methanex.mis.services.imp.SearchProposedPlant.execute(SearchProposedPlant.java:38)
     at com.methanex.mis.services.imp.SearchProposedPlant_iugso0_EOImpl.execute(SearchProposedPlant_iugso0_EOImpl.java:46)
     at com.methanex.mis.application.action.SearchProposedPlantAction.execute(SearchProposedPlantAction.java:121)
     at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:451)
     at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:264)
     at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1291)
     at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:484)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
     at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1077)
     at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:465)
     at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:348)
     at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:7047)
     at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
     at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
     at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3902)
     at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2773)
     at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
     at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)
     at com.methanex.mis.services.imp.SearchProposedPlant.execute(SearchProposedPlant.java:65)
     at com.methanex.mis.services.imp.SearchProposedPlant_iugso0_EOImpl.execute(SearchProposedPlant_iugso0_EOImpl.java:46
Edited by ginza at 02/19/2007 2:39 PM

Thanks Diptanshu... it's kind of brute-force but it does work. Wish I knew why the same jars in WEB-INF/lib are ignored.
--BobC                                                                                                                                                                                                                                                               

Similar Messages

  • Error loading servlet: 'EbuController' java.lang.NoClassDefFoundError after redeploy EAR in weblogic 6.1

              Hi, there:
              we have deployed our application in EAR format in \config\mydomain\applications.
              This EAR contains one ejb.jar and one web.war. I can access a servlet after I
              deployed the EAR file into weblogic 6.1 sp1. However, if I redeploy this EAR file
              from within weblogic console. I got the following error when I revisit that servlet
              again.
              <Jan 17, 2002 9:30:41 PM PST> <Error> <HTTP> <[WebAppServletContext(1485918,plat
              form,/platform)] Error loading servlet: 'EbuController'
              java.lang.NoClassDefFoundError
              at java.lang.Class.newInstance0(Native Method)
              at java.lang.Class.newInstance(Class.java:237)
              at weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubIm
              pl.java:665)
              at weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStub
              Impl.java:643)
              at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubI
              mpl.java:588)
              at weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.
              java:368)
              at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
              pl.java:242)
              at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
              pl.java:200)
              at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppSe
              rvletContext.java:2456)
              at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestIm
              pl.java:2039)
              at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
              at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
              >
              <Jan 17, 2002 9:30:41 PM PST> <Error> <HTTP> <[WebAppServletContext(1485918,plat
              form,/platform)] Error loading servlet: "EbuController"
              java.lang.NoClassDefFoundError
              at java.lang.Class.newInstance0(Native Method)
              at java.lang.Class.newInstance(Class.java:237)
              at weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubIm
              pl.java:665)
              at weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStub
              Impl.java:643)
              at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubI
              mpl.java:588)
              at weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.
              java:368)
              at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
              pl.java:242)
              at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
              pl.java:200)
              at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppSe
              rvletContext.java:2456)
              at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestIm
              pl.java:2039)
              at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
              at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
              Your help is highly appreciated!
              Jerry
              

              Hi, there:
              we have deployed our application in EAR format in \config\mydomain\applications.
              This EAR contains one ejb.jar and one web.war. I can access a servlet after I
              deployed the EAR file into weblogic 6.1 sp1. However, if I redeploy this EAR file
              from within weblogic console. I got the following error when I revisit that servlet
              again.
              <Jan 17, 2002 9:30:41 PM PST> <Error> <HTTP> <[WebAppServletContext(1485918,plat
              form,/platform)] Error loading servlet: 'EbuController'
              java.lang.NoClassDefFoundError
              at java.lang.Class.newInstance0(Native Method)
              at java.lang.Class.newInstance(Class.java:237)
              at weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubIm
              pl.java:665)
              at weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStub
              Impl.java:643)
              at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubI
              mpl.java:588)
              at weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.
              java:368)
              at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
              pl.java:242)
              at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
              pl.java:200)
              at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppSe
              rvletContext.java:2456)
              at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestIm
              pl.java:2039)
              at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
              at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
              >
              <Jan 17, 2002 9:30:41 PM PST> <Error> <HTTP> <[WebAppServletContext(1485918,plat
              form,/platform)] Error loading servlet: "EbuController"
              java.lang.NoClassDefFoundError
              at java.lang.Class.newInstance0(Native Method)
              at java.lang.Class.newInstance(Class.java:237)
              at weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubIm
              pl.java:665)
              at weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStub
              Impl.java:643)
              at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubI
              mpl.java:588)
              at weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.
              java:368)
              at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
              pl.java:242)
              at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
              pl.java:200)
              at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppSe
              rvletContext.java:2456)
              at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestIm
              pl.java:2039)
              at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
              at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
              Your help is highly appreciated!
              Jerry
              

  • NoClassDefFoundError after upgrading to Weblogic 8.1 sp2 to sp4

    Hi ,
    I have stuck in a problem where my application is using jco.jar file for SAP integration to my java application.
    I have a java class "BAPI_IncentiveReport" in which it calls "addClientPool" that is in JCO class in jco.jar file but it is giving NoClassDefFoundError after i upgraded my Weblogic server 8.1 sp2 to sp4.
    I have jco.jar under /opt/mspd/domains/mspdapps/lib as well as  libjRFC11.jco,libjRFC12.jco and librfccm.so files there. I also tried by keeping them under my application WEB-INF/lib folder but it is giving me same error.
    package com.mindspeed.incentiverpt;
    import com.sap.mw.jco.*;
    import java.util.*;
    import java.io.*;
    import com.mindspeed.Configuration;
    public class BAPI_IncentiveReport
        private String rptId;
        private String aecode;
        private boolean submit= false;
        private static final String POOL_NAME=
            com.mindspeed.Configuration.get("sap_inckey");
    BAPI_IncentiveReport constructor comment.
    public BAPI_IncentiveReport() {
        super();
    BAPI_IncentiveReport constructor comment.
    public BAPI_IncentiveReport(String rptId, String aecode)
        super();
        this.aecode = aecode;
        this.rptId = rptId;
    public EmployeeAttr[] getAeCodeNames()
        boolean retval= false;
        JCO.Client client= null;
        EmployeeAttr[] empnames= null;
        Hashtable empallData= new Hashtable();
        Hashtable aecodeData= new Hashtable();
        try
               /* This is the point where it is giving NoClassDefFoundError.Till here every thing is executing------>*/
                 JCO.addClientPool(
                com.mindspeed.Configuration.get("sap_inckey"),
                Integer.parseInt(Configuration.get("sap_maxcon")),
                Configuration.get("sap_client"),
                Configuration.get("sap_incuser"),
                Configuration.get("sap_incpassword"),
                Configuration.get("sap_language"),
                Configuration.get("sap_host"),
                Configuration.get("sap_incsystemnumber"));
            String timeinterval= "99991231";
            IRepository repos=
                JCO.createRepository("ESSRepos", Configuration.get("sap_inckey"));
            client= JCO.getClient(Configuration.get("sap_inckey"));
            System.out.println("Sagar");
            System.out.println(rptId);
            System.out.println(aecode);
            IFunctionTemplate ftemplate= repos.getFunctionTemplate("ZRFC_GET_PID");
            JCO.Function function= new JCO.Function(ftemplate);
            JCO.ParameterList input= function.getImportParameterList();
            input.setValue(rptId, "RPT_ID");
            input.setValue(aecode, "AECODE");
            client.execute(function);
            JCO.ParameterList output= function.getExportParameterList();
            System.out.println(output);
            JCO.Table dirrpt= function.getTableParameterList().getTable("DIRRPT");
    . and more code
    The error it is giving is
    >
    <Apr 5, 2006 5:13:13 AM PDT> <Error> <HTTP> <BEA-101017> <[ServletContext(id=138
    06908,name=web,context-path=/web)] Root cause of ServletException.
    java.lang.NoClassDefFoundError
            at com.mindspeed.incentiverpt.BAPI_IncentiveReport.getAeCodeNames(BAPI_I
    ncentiveReport.java:112)
            at jsp_servlet._incentiverpt.__incrpthome._jspService(__incrpthome.java:
    193)
            at weblogic.servlet.jsp.JspBase.service(JspBase.java:33)
            at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run
    (ServletStubImpl.java:1006)
            at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
    pl.java:419)
            at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
    pl.java:315)
            at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispat
    cherImpl.java:322)
            at com.mindspeed.incentiverpt.Inc
    Please help me out.
    Thanks in advance
    Nirmal Shah

    I have the same problem - my data had better not be gone!  Why won't Apple address this problem?

  • ClassCastException when castin to a SessionEJBHome after successful lookup

    Situation
    Two EARs, say X.ear and Y.ear. Both of them deployed in the same OC4J instance (NOT STANDALONE); OAS 10.1.2
    X.ear has a JAR (say XA.jar) which looksup and uses the Stateless Session bean in Y.ear. We have a yClient.jar that contains all the necessary classes for use by X.ear, so XA.jar. This yClient.jar is available in X.ear.
    In one of the classes in XA.jar, when I lookup the EJB, I am succesful in getting the Home class. If I try to narrow down to the specific Home class instead of EJBHome.class, then I get the ClassCastException at that moment. If I cast it to EJBHome.class and postpone casting until after creation of the real remote bean, then I get the ClassCastException here.
    I have included the code also.
    Possible doubts that I am having:
    1)
    I am doubting like OAS is doing something that I am not aware of. Like the remote object it sends back and when I am casting it to the class of the object it throws ClassCastException.
    Y.ear does not contain any info like a Jar in X.ear is going to lookup this bean or so.
    Do I need to mention anything in Y.ear.
    2)
    Is there any possiblility that the same class in X.ear and Y.ear are compiled with different JDK or timing
    3) Or is the OAS Stub creation or persistence or passivation is messing up in this.
    I am kind of stuck in here. Thanks for your help
    If you notice the following exception, I have printed the SessionBean narrowed down class. It is a wrapper class from OC4J I believe.
    [u]SessionControllerSLHome_StatelessSessionHomeWrapper61
    This is what is in the orion-ejb-jar.xml
    <session-deployment name="SessionControllerSL" max-tx-retries="0" location="com/dsc/uniarch/cr/ejb/SessionControllerSL" wrapper="SessionControllerSLHome_StatelessSessionHomeWrapper61" persistence-filename="com/dsc/uniarch/cr/ejb/SessionControllerSL.home_default_island_1" />
    It seems like the looked up object when I cast it to the corresponding class, it is giving ClassCastException
    Exception
    06/10/27 11:40:13 Tutalii: /home/oracle/OracleAS/j2ee/home/applications/mlo/mloWeb/WEB-INF/classes
    06/10/27 11:40:29 Oracle Application Server Containers for J2EE 10g (10.1.2.0.0) initialized
    06/10/27 11:41:03 EL xPressionConnection Begin start session...
    06/10/27 11:41:03 EL xPressionResponseConnection - getInitialContext ()
    06/10/27 11:41:03 EL xPressionConnection PROVIDER_URL =ormi://localhost:3201/xPression
    06/10/27 11:41:03 EL xPressionConnection INITIAL_CONTEXT_FACTORY =com.evermind.server.rmi.RMIInitialContextFactory
    06/10/27 11:41:03 EL xPressionConnection SECURITY_PRINCIPAL =xpression
    06/10/27 11:41:03 EL xPressionConnection SECURITY_CREDENTIALS =xpression
    06/10/27 11:41:03 2011: After successful JNDI lookup for SessionControllerSL on the Initial Context: [SessionControllerSLHome_StatelessSessionHomeWrapper61]
    06/10/27 11:41:03 2012: After narrowing down the homeObject to EJB Home Object: SessionControllerSLHome_StatelessSessionHomeWrapper61
    06/10/27 11:41:03 2013: Used reflection to invoke the Create method on EJBHome Object: SessionControllerSL_StatelessSessionBeanWrapper60
    06/10/27 11:41:03 java.lang.ClassCastException
    06/10/27 11:41:03 at com.dsc.uniarch.ejbController.xPressionConnection.lookupTargetHome1(xPressionConnection.java:152)
    06/10/27 11:41:03 at com.dsc.uniarch.ejbController.xPressionConnection.Start(xPressionConnection.java:250)
    06/10/27 11:41:03 at com.dsc.uniarch.ecor.bean.xResponseFrameWork.startSession(xResponseFrameWork.java:5381)
    06/10/27 11:41:03 at com.dsc.uniarch.ecor.bean.xResponseFrameWork.processRequest(xResponseFrameWork.java:154)
    06/10/27 11:41:03 at html.index._jspService(_index.java:69)
    06/10/27 11:41:03 at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
    06/10/27 11:41:03 at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:347)
    06/10/27 11:41:03 at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:509)
    06/10/27 11:41:03 at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:413)
    06/10/27 11:41:03 at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    06/10/27 11:41:03 at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:810)
    06/10/27 11:41:03 at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:322)
    06/10/27 11:41:03 at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:790)
    06/10/27 11:41:03 at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:208)
    06/10/27 11:41:03 at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:125)
    06/10/27 11:41:03 at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
    06/10/27 11:41:03 at java.lang.Thread.run(Thread.java:534)
    Code that is used
    try {
    //Third EJB Lookup: CRContentSF
    if (initContext == null)
    getInitialContext();
    homeObject = initContext.lookup("com/dsc/uniarch/cr/ejb/SessionControllerSL");
    System.out.println("2011: After successful JNDI lookup for SessionControllerSL on the Initial Context: ["
    + homeObject.getClass().getName() + "]");
    obHome = (EJBHome) javax.rmi.PortableRemoteObject.narrow(homeObject,
    EJBHome.class);
    System.out.println("2012: After narrowing down the homeObject to EJB Home Object: " + obHome.getClass().getName());
    m = obHome.getClass().getDeclaredMethod("create", new Class[0]);
    obj = m.invoke(obHome, new Object[0]);
    System.out.println("2013: Used reflection to invoke the Create method on EJBHome Object: " + obj.getClass().getName());
    sessionControllerSL = (com.dsc.uniarch.cr.ejb.SessionControllerSL) obj;
    System.out.println("2014: getClass " + sessionControllerSL.getClass().getName());
    System.out.println("3014: getClass " + SessionControllerSL.getClass().getName());
    } catch (Exception e) {
    e.printStackTrace();
    Thanks

    I redeployed the target j2ee application, it does not seem to help. However, after redeploying, I had to stop/start the OC4J instance couple of times. I dont think it matters. Or I dont know if you guys meant this only when you say 'server bounce'.
    What is this SessionBeanWrapper anyways? If it is a EJB-Remote-Stub, then it should be able to cast into its original interface. I dont know what else to do at this point. I will keep working on this.
    EXCEPTION
    06/10/30 13:40:14 EL xPressionConnection Begin start session...
    06/10/30 13:40:14 EL xPressionResponseConnection - getInitialContext ()
    06/10/30 13:40:14 EL xPressionConnection PROVIDER_URL =ormi://localhost:3201/xPression
    06/10/30 13:40:14 EL xPressionConnection INITIAL_CONTEXT_FACTORY =com.evermind.server.rmi.RMIInitialContextFactory
    06/10/30 13:40:14 EL xPressionConnection SECURITY_PRINCIPAL =user
    06/10/30 13:40:14 EL xPressionConnection SECURITY_CREDENTIALS =password
    06/10/30 13:40:14 EL xPressionConnection lookup beanName :com/dsc/uniarch/cr/ejb/SessionControllerSL
    06/10/30 13:40:14 EL xPressionConnection tmpObject : SessionControllerSLHome_StatelessSessionHomeWrapper61
    06/10/30 13:40:14 EL objHome name : SessionControllerSLHome_StatelessSessionHomeWrapper61
    06/10/30 13:40:14 EL xPressionConnection start typecast exception
    06/10/30 13:40:14 java.lang.ClassCastException
    06/10/30 13:40:14 at com.dsc.uniarch.ejbController.xPressionConnection.Start(xPressionConnection.java:235)
    06/10/30 13:40:14 at com.dsc.uniarch.ecor.bean.xResponseFrameWork.startSession(xResponseFrameWork.java:5381)
    06/10/30 13:40:14 at com.dsc.uniarch.ecor.bean.xResponseFrameWork.processRequest(xResponseFrameWork.java:154)
    06/10/30 13:40:14 at html.index._jspService(_index.java:69)
    CODE BEGIN
    System.out.println ("EL xPressionConnection Begin start session...");
    LogManager.logInfo("Begin start session...");
    setServerURL(serverURL);
    initInitContext();
    SessionControllerSLHome scHome = null;
    try {
    scHome = (SessionControllerSLHome)
    lookupTargetHome(ConfigManager.getInstance().getValue("SESSIONCONTROLLER_JNDI"));
    System.out.println ("EL xPressionConnection - scHome className : " + scHome.getClass().getName());
    catch (Exception exc) {
    System.out.println ("EL xPressionConnection start typecast exception ");
    exc.printStackTrace ();
    try{
    //sessionControllerSL = lookupTargetHome1();
    sessionControllerSL = scHome.create();
    } catch (Exception e) {
    System.out.println ("EL xPressionConnection scHome.create Exception ");
    e.printStackTrace();
    String[] param = new String[1];
    param[0] = ConfigManager.getInstance().getValue("SESSIONCONTROLLER_JNDI");
    throw new JNDINamingException(9110, e, param);
    CODE END
    Thanks

  • What to do after deploy ear file

    hi all,
    i have deployed ear file successfully but i don't know what is the url i can use ta access my application
    the steps:
    1) i have deployed my application to ear file in my machine
    2) i took this ear file and install it in weblogic server admin console successfully
    3)what can i do to run my application ( i installed my application on weblogic without changing any configurations)
    4)ear file i create it from application properties no viewcontroller properties
    thank you

    You normally specify the web root as part of the deployment process. If you cant remebmer, open the WLS admin console, select the deployments, open the tree for your application (or just click it), in the modules and components section look for the web application under modules nad click the link, in the next page select configuration. The last entry on this side holds the context root for your app.
    To call the app you use an URL like 'http://wlsserver:port/contextroot/faces/startpage'
    wlsserver and port you should know, contextroot you just found in the last page the missign information is the startpage which you should know when you test the app in jdev.
    Timo

  • Got this error after deploying ear file into OC4J server.

    Hello Frnsz,
    Can any one help to resolve the following error :)
    Got this error after deploying ear file into OC4J server.
    2008-06-04 14:57:58.551 WARNING J2EE JSP-0027 Errors parsing file:/C:/Program Files/Java/oc4j/j2ee/home/applications/MyEarProject/MyEarProjectWeb/WEB-INF/tld/pager-taglib.tld
    2008-06-04 14:57:58.566 WARNING J2EE JSP-0003 JSP Tld Cache Logging:
    2008-06-04 14:57:58.566 WARNING J2EE JSP-0027 Errors parsing file:/C:/Program Files/Java/oc4j/j2ee/home/applications/MyEarProject/MyEarProjectWeb/WEB-INF/tld/struts-bean.tld
    2008-06-04 14:57:58.598 WARNING J2EE JSP-0003 JSP Tld Cache Logging:
    2008-06-04 14:57:58.598 WARNING J2EE JSP-0027 Errors parsing file:/C:/Program Files/Java/oc4j/j2ee/home/applications/MyEarProject/MyEarProjectWeb/WEB-INF/tld/struts-html.tld
    2008-06-04 14:57:58.629 WARNING J2EE JSP-0003 JSP Tld Cache Logging:
    2008-06-04 14:57:58.629 WARNING J2EE JSP-0027 Errors parsing file:/C:/Program Files/Java/oc4j/j2ee/home/applications/MyEarProject/MyEarProjectWeb/WEB-INF/tld/struts-logic.tld
    2008-06-04 14:57:58.660 WARNING J2EE JSP-0003 JSP Tld Cache Logging:
    2008-06-04 14:57:58.660 WARNING J2EE JSP-0027 Errors parsing file:/C:/Program Files/Java/oc4j/j2ee/home/applications/MyEarProject/MyEarProjectWeb/WEB-INF/tld/struts-nested.tld
    2008-06-04 14:57:58.691 WARNING J2EE JSP-0003 JSP Tld Cache Logging:
    2008-06-04 14:57:58.691 WARNING J2EE JSP-0027 Errors parsing file:/C:/Program Files/Java/oc4j/j2ee/home/applications/MyEarProject/MyEarProjectWeb/WEB-INF/tld/struts-tiles.tld
    2008-06-04 14:57:58.723 NOTIFICATION Binding web application(s) to site default-web-site ends...
    2008-06-04 14:57:58.723 NOTIFICATION Application Deployer for MyEarProject COMPLETES. Operation time: 3422 msecs
    2008-06-04 14:58:04.895 WARNING J2EE JSP-0003 JSP Tld Cache Logging:
    2008-06-04 14:58:04.910 WARNING J2EE JSP-0003 JSP Tld Cache Logging:
    2008-06-04 14:58:04.926 WARNING J2EE JSP-0003 JSP Tld Cache Logging:
    2008-06-04 14:58:04.942 WARNING J2EE JSP-0003 JSP Tld Cache Logging:
    2008-06-04 14:58:04.957 WARNING J2EE JSP-0003 JSP Tld Cache Logging:
    2008-06-04 14:58:04.973 WARNING J2EE JSP-0003 JSP Tld Cache Logging:
    2008-06-04 14:58:04.973 WARNING J2EE JSP-0003 loading Tld's into cachedConfigTable:
    2008-06-04 14:58:04.973 WARNING J2EE JSP-0003 loading Tld's into cachedConfigTable:
    2008-06-04 14:58:04.973 WARNING J2EE JSP-0003 loading Tld's into cachedConfigTable:
    2008-06-04 14:58:04.989 WARNING J2EE JSP-0003 loading Tld's into cachedConfigTable:
    2008-06-04 14:58:04.989 WARNING J2EE JSP-0003 loading Tld's into cachedConfigTable:
    2008-06-04 14:58:04.989 WARNING J2EE JSP-0003 loading Tld's into cachedConfigTable:
    2008-06-04 14:58:05.020 NOTIFICATION J2EE JSP-0008 Unable to dispatch JSP Page : Exception:oracle.jsp.parse.JspParseException: /WEB-INF/jsp/login.jsp: Line # 2, <%@ taglib uri="/WEB-INF/tld/struts-html.tld" prefix="html"%>
    Error: java.lang.ClassNotFoundException: org.apache.struts.taglib.html.MessagesTei
    Cheers,
    Cap

    Cross posted in correct forum
    [http://forum.java.sun.com/thread.jspa?threadID=5302192]

  • Why CreateNewFrame() returns as NULL after successful created 136 child frame window and trying to create 137th child frame window in MDI application

    I am working on MDI application which was developed in VC++ in VS 2012. When my application is launched, it will display a Tree. Under a tree there are 254 nodes. Basically
    these nodes data are read from Configuration xml file and loaded into the Tree. By double clicking on each node, first it will create object for document class ( By calling CreateNewDocument() method) after that member variables for that
    document class will be initialized and then it will create the new frame window (by calling
    CreateNewFrame(pDoc,NULL). New child frame window will show under Main window to the user.
    User able to see the data from child frame window.
    Similarly by double clicking on each node it will create another object for the same document class and new child frame window will be opened for that node. Each child frame window runs
    in different data and showed under the Main window.
    Existing requirement by double clicking on each node, node data shall show in separate child window and there is no requirement for all 254 child windows opened simultaneously.
    But current requirement is , all 254 child windows shall open simultaneously by double clicking on each node one by one.
    In debug mode I have tried double clicking on each node. I able to open up to 50 nodes. After 50th child windows are opened, I unable to access to the application
    (Unable to open further node data window since application is getting hanged).
    Each child window is having tree, multiple splitter window and some additional controls (static text, ...).
    Same I have tried in release mode, I able to open up to 136 child windows. After that the application fail to create the new frame window in VS 2012. i.e CreateNewFrame() return
    NULL after successful created 136 child frame window. Debug purpose I have added the code to retrieve last error code by calling GetLastError() method. I got the value as "0". By closing any existing child window then I able to open remaining nodes.
    At any point of time I can reach maximum of 136 child frame window that can be opened under Main window. Failing to open all 254 child frame window
    simultaneously,  currently I fail to meet the current requirement.
    current Requirement is all 254 child frame window are opened simultaneously. Please let me know what may be the reason fail to create new frame window after 136 frame window that are
    opened already. In Microsoft site, mentioned that there is no limitation for creating frame  window in MDI application. I have tried another sample MDI application having limited number of controls, in which I able to create "n"
    number of child frame windows. why not able to create more than 136 child frame window in my actual application?
    Is there any possibility by changing project settings allow me to create 254 child frame window??
    Code Snippet as below:
    CDiagBaseDoc * CDiagBaseMDocTemplate::OpenDiagView( ...)
         CDiagBaseDoc* pDoc = NULL;
        if (pDoc == NULL)
            pDoc = (CDiagBaseDoc*)CreateNewDocument();
        if ( pDoc )
           CFrameWnd* pFrame = NULL;
           if (bAlreadyOpen)
                  // If Child frame window already opened, then handling the code here.
         else
               pFrame = CreateNewFrame(pDoc, NULL);
               if (pFrame == NULL)
                  ASSERT(FALSE);
                  delete pDoc;       // explicit delete on error
                 pDoc = NULL;
              ASSERT_VALID(pFrame);
              if( pDoc != NULL ) //VS2012
                 if ( !pDoc->OnNewDocument() )
                    TRACE0("CDocument::OnNewDocument returned FALSE\n");
                    delete pDoc;       // explicit delete on error
                    pDoc = NULL;
                    pFrame->DestroyWindow();
                     pFrame = NULL;
           if (pFrame)
               InitialUpdateFrame(pFrame, pDoc);
               ShowWindow( pFrame->GetSafeHwnd(), SW_MAXIMIZE ); //when opening node for the 1st time, maximize it
    }<o:p></o:p>

    Hi MuruganK,
    Have you checked how much memory your application used? You could check it by Task Manager. Maybe your application reach Memory Limits for Windows.
    https://msdn.microsoft.com/en-us/library/windows/desktop/aa366778%28v=vs.85%29.aspx?f=255&MSPPError=-2147217396
    Is it possible that there are some memory leaks in your application? It would better if you have made a simple sample to reproduce and narrow down this issue.
    Best regards,
    Shu
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • After successful installation of iTunes 10.6.1, iTunes will not open.  Tried complete uninstall and reinstall, still not working.  Cannot sync iPad or access iTunes at all.  Any suggestions?

    After successfully installing the iTunes upgrade to 10.6.1, Now I cannot open and access itunes.  I have tried a complete uninstall and reinstall and it is still not working. I have looked through many support communities for answers.  I added an iPad 2 almost a year ago and all was fine until my upgrade to the "cloud services" and upgrade to new version.  I have been without iTunes on my PC for a month.  Any suggestions on how to resolve this issue?

    I too have only recently encountered this problem. I have been able to burn disks before but it keeps making all these weird sounds. It might be a hardware problem but the fact that everything else that uses a disk works I doubt it.

  • After successful install, all my adobe cc docs, when open, change pointer arrow, i-beam and window to oversize. When doc closes all return to normal size. I'm on a PC. Screen res set to medium 1920x1200. Any ideas how to fix?

    After successful install, all my adobe cc docs, when open, change pointer arrow, i-beam and window elements to oversize. When doc closes all return to normal size. I'm on a PC. Screen res set to medium 1920x1200. Any ideas how to fix?

    Ok thanks Linxup I would recommend posting in the respective forums for each of those software titles as opposed to the Creative Cloud Download & Install forum.  The relevant forums are as follows:
    InDesign - InDesign
    Illustrator - Illustrator

  • Hi, download of the trial product (photoshop ele 13) does nt start even after successfully installing the Adobe download assistant successfully. Only .7z file is shown, .exe is nt available. Whn i try to extract .7z file wd 7-Zip error pops up " cannot ex

    Hi, download of the trial product (photoshop ele 13) does nt start even after successfully installing the Adobe download assistant successfully. Only .7z file is shown, .exe file is nt visible. Whn i try to extract .7z file wd 7-Zip error pops up " cannot extract **.7z as archive" .I've tried fresh download of adobe photoshop ele 13 but same error occurs. 
    OS:Windows 8.1
    Storage loc for adobe down assistant  : C-Program file(x86)-Adobe download assistant-adobe
    Storage loc for adobe down assistant:    C- Adobe photoshop assistant 13-  PhotoshopElements_13_LS25_win64_1. 7z
    After this I try to extract ** .7z file but following error occurs :
        After this I try to extract ** .7z file but following error occurs
    Kindly Help.

    Thanks fr revert !
    After clicking on the provided link , Above error pops up. I clicked "ok" n allowed download to complete after which same previous error shows up!

  • HT6015 After successfully signing up for Apple's VPP, I went in to purchase apps, and the only distribution method available is "managed distribution".  Our company does not have a MDM so I need the Redeemable Codes method.  Where can I find once I log in

    After successfully signing up for the Apple Volume Purchasing Program, I went in to purchase a quantity of apps.  The only distribution method that was available was the MDM.  Our company does not have a MDM.  I need redeemable codes.  How do I get that option?  I am using a PC.

    Can I add my existing, licensed apps to my list of 'Purchases' on the Mac App Store so I don't have to buy them twice?
    No. Only apps purchased from the App Store can be re downloaded for free including updates.

  • File adapter - archiving files after successful processing & errors

    Hi All
    In sender file adapter, I understand that we can archive files after processing them.
    After successful processing, we can archive the file, and if there are any errors, we can archive the file in a different folder (all files resulting in errors during processing are archived in a seperate folder).
    Now, see this scenario.
    My file is successfully picked up, processed and posted to receiving sap system thru proxy.
    But, if there is any application specific error (ex: duplicate id), because of which this data cannot be processed in the receiving system, how can i move the file which is archived in successful messages folder to the folder where we archive error messages?
    Is it possible?
    This is required because, when there are these kind of errors with incorrect data, we want the corresponding file to be archived in the folder where erred files are archived.
    Please let me know how we can achieve this.
    Many Thanks
    Chandra

    in file sender CC, thr is option to archive and error file store also..
    1)under processing mode - archive.. give the path thr..
    2) To archive source files where a permanent error occurred during processing, select Archive Faulty Source Files
    http://help.sap.com/saphelp_nwpi71/helpdata/en/44/658abd344a4de0e10000000a1553f7/frameset.htm

  • Prevent auto data deletion of records from gl_interface table after success

    Hello All,
    I currently developing the journal conversion.
    I have successfully imported some sample journal data.
    But the problem here is i am not able find the successfully uploaded journal data in the gl_interface table.It is getting deleted after successful import.
    How to prevent this deleted, i want that data to be available in the gl_interface table.
    Any setup needs to be done for this?
    Oracle ebs version : 12.1.1
    Thanks & Regards
    aboothahir

    any suggessions on the above query?
    Thanks & regards
    Aboo

  • After successfully resetting my password 2 times when I try to update applications it says my Apple ID is expired

    After successfully resetting my password 2 times when I try to update applications it says my Apple ID is expired

    Hi mmonsiegneur,
    If you've recently changed or reset your Apple ID password and are having issues logging in, you may want to try manually signing out and signing back in on your device. You may find the following article helpful:
    iOS: Sign in with a different Apple ID in the iTunes Store, App Store, and iBooks Store
    http://support.apple.com/kb/ht1311
    Regards,
    - Brenden

  • After successful installation of 9ias release 2 version  9.0.2.0.1

    Hi
    After successful installation of 9ias release 2 version 9.0.2.0.1 in the service following services are missing (oracle_home9ias122http_server , form server and reportserver ) which has to be present as per old version installation but in new version(9.0.2.0.1) it is not there is anyone has any idea regarding this what one should do to get those sevices ready.
    regards
    nasar zia

    Since you don't mention operating system, we assume you use Microsoft Windows something-or-other.
    In which case, you open a command prompt, enter
    sqlplus /nolog
    connect / as sysdba
    startup
    exit
    and post the entire console session.
    (Replacing the 'something-or-other' with 'version and service pack' in our public knowledge base would be very useful as well.)

Maybe you are looking for