Jbo vs ejb

Here's a real novice question: trying to use the demos and tutorials to get me started with my web project. Some seem to use (sorry if I am getting terminologies wrong) an EJB approach with pojos which are exposed to the view side through Session Beans. Others use ADF Business Objects exposing model-side classes for data binding through Application Modules. I have started and gotten stuck trying both approaches. So, here are my questions:
1. Why would I choose one approach over another?
2. Having chosen the ADF approach, how do I get an instance of a model object in code from the view project? I am only seeing the model classes exposed for data-binding but not seeing how to access them elsewise. Specifically, I have a User view object that I'd like to use for authenticating a user, but not finding anything like this in any example.
3. Is there any good documentation of the ADF approach vs the more traditional approach?
Thanks.

Sure, there is nothing preventing you from using both. However, if you are using ADF BC there is no real need to move to EJB/JPA as you can access the development APIs via the Impl class that you describe. As your question regarding how-to use the Impl classes is a bit broad, let me refer you to the 10.1.3.x developers guide. The interfaces used in ADF BC remain unchanged in 11 with the exception of some new additions.
http://download.oracle.com/docs/html/B25947_01/bcservices003.htm#sm0206
--Ric                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

Similar Messages

  • Error accessing EJB bean on ias 10.1.2 from Jdev 10.1.3

    I have deployed an ADF Application Module from Jdev 10.1.3 to Oracle Application Server 10.1.2 as an EJB.
    Then I made að sample java client (by right clicking the EJB).
    When I run the client I get the following exception (which is thrown at the Application Server):
    java.lang.NoClassDefFoundError: javax/servlet/jsp/el/VariableResolver
         at oracle.jbo.mom.DefinitionManager.getCurrentDefinitionContext(DefinitionManager.java:1592)
         at oracle.jbo.mom.DefinitionManager.loadProjectDefinition(DefinitionManager.java:874)
         at oracle.jbo.server.SessionImpl.init(SessionImpl.java:143)
         at oracle.jbo.server.remote.AbstractRemoteApplicationModuleImpl.createSession(AbstractRemoteApplicationModuleImpl.java:343)
         at oracle.jbo.server.remote.ejb.ServerApplicationModuleImpl.createSession(ServerApplicationModuleImpl.java:118)
         at oracle.jbo.server.remote.AbstractRemoteApplicationModuleImpl.createRootApplicationModule(AbstractRemoteApplicationModuleImpl.java:208)
         at oracle.jbo.server.remote.ejb.ServerApplicationModuleImpl.initAsRoot(ServerApplicationModuleImpl.java:138)
         at oracle.jbo.server.remote.ejb.ServerApplicationModuleImpl.createInstance(ServerApplicationModuleImpl.java:55)
         at oracle.jbo.server.ejb.SessionBeanImpl.createApplicationModule(SessionBeanImpl.java:400)
         at is.fiskistofa.ask.vigtun.bc4j.appmod.server.ejb.beanmanaged.VigtunAppModuleServer.ejbCreate(VigtunAppModuleServer.java:73)
         at VigtunAppModuleHome_StatefulSessionHomeWrapper7.create(VigtunAppModuleHome_StatefulSessionHomeWrapper7.java:90)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at com.evermind.server.rmi.RMICallHandler.run(RMICallHandler.java:124)
         at com.evermind.server.rmi.RMICallHandler.run(RMICallHandler.java:48)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
         at java.lang.Thread.run(Thread.java:534)
    I have installed the ADF runtime libraries at the application server so why won't it find this class ?

    We installed the ias again completely deployed our application and were able to run this simple test without errors. Then we installed the ADF Runtime (from JDev 10.1.3, without errors) and then the error in our application came again.
    We reverted the ADF Runtime installation so I don't currently have the 10.1.3 runtime installed on the Application Server.
    A simple test case would be:
    1. create new business components project
    2. define a database connection (e.g. scott)
    3. generate business components from tables (e.g. scott.emp), make a entity, a view object and an applicationmodule
    4. define a connection to an application server (in our case it is ias 10.1.2 on solaris)
    5. right click the appmodule and select "business components deployment"
    6. select EJB session beans (not simple archive)
    7. in the next step select the application module and create new local configuration
    8. deploy to appserver (using enterprise manager, I think direct deployment from JDev 10.1.3. to ias 10.1.2 is not possible)
    9. right click the EJB (in JDev) that was created after step 7 and select "new sample java client"
    10. uncomment the line where create is called.
    11. run the sample client

  • HOWTO: Using a BC4J Application Module in an Stateless EJB Session Bean

    HOWTO: Using a BC4J Application Module in an Stateless EJB Session Bean
    by Steve Muench
    Overview
    BC4J provides automatic facilities for deploying any application module as a stateful EJB session bean. If you want to leverage the features of your BC4J application module from a stateless EJB session bean, it's not automatic but it is straightforward to implement. This howto article explains the details.
    For our example, we will create a stateless EJB session bean that uses a container-managed transaction. To keep things simple, let's assume the session bean has a single public method on its remote interface named createDepartment() with the following signature:
    public void createDepartment(int id, String name, String loc) throws AppException
    AppException is an example of an application-specific exception that our method will throw if any problems arise during its execution.The goal of this article is to illustrate how to use the BC4J application module named com.example.hr.HRApp as part of the implementation of this createDepartment method on our stateless enterprise bean. Let's assume that the HRApp application module has a view object member named Departments, based on the com.example.hr.DeptView view object, based on the familiar DEPT table and related to the com.example.hr.Dept entity object so our view can be updateable.
    Creating the Stateless Session Bean
    We can start by using the JDeveloper Enterprise Bean wizard to create a new stateless session bean called StatelessSampleEJB implemented by:[list][*]com.example.StatelessSampleEJBBean (Bean class)[*]com.example.StatelessSampleEJBHome (Home interface)[*]com.example.StatelessSampleEJB (Remote interface)[list]
    We then use the EJB Class Editor to add the createDepartment method to the remote interface of StatelessSampleEJB with the signature above. We edit the remote interface to make sure that it also reflects that the createDepartment method thows the AppException like this:
    package com.example;
    import javax.ejb.EJBObject;
    import java.rmi.RemoteException;
    public interface StatelessSampleEJB extends EJBObject {
      void createDepartment(int id, String name, String loc)
      throws RemoteException,AppException;
    }Before we start adding BC4J into the picture for our implementation, our StatelessSampleEJBBean class looks like this:
    package com.example;
    import javax.ejb.SessionBean;
    import javax.ejb.SessionContext;
    public class StatelessSampleEJBBean implements SessionBean {
      public void ejbCreate(){}
      public void ejbActivate(){}
      public void ejbPassivate(){}
      public void ejbRemove(){}
      public void setSessionContext(SessionContext ctx){
      public void createDepartment(int id, String name, String loc) 
      throws AppException {
        // TODO: Implement method here
    }We can double-click on the ejb-jar.xml file in our project to see the XML deployment descriptor for the bean we just created:
    <ejb-jar>
       <enterprise-beans>
          <session>
             <description>Session Bean ( Stateless )</description>
             <display-name>StatelessSampleEJB</display-name>
             <ejb-name>StatelessSampleEJB</ejb-name>
             <home>com.example.StatelessSampleEJBHome</home>
             <remote>com.example.StatelessSampleEJB</remote>
             <ejb-class>com.example.StatelessSampleEJBBean</ejb-class>
             <session-type>Stateless</session-type>
             <transaction-type>Container</transaction-type>
          </session>
       </enterprise-beans>
    </ejb-jar>We need to add the extra <assembly-descriptor> section in this file to indicate that the createDepartment method will require a transaction. After this edit, the ejb-jar.xml file looks like this:
    <ejb-jar>
       <enterprise-beans>
          <session>
             <description>Session Bean ( Stateless )</description>
             <display-name>StatelessSampleEJB</display-name>
             <ejb-name>StatelessSampleEJB</ejb-name>
             <home>com.example.StatelessSampleEJBHome</home>
             <remote>com.example.StatelessSampleEJB</remote>
             <ejb-class>com.example.StatelessSampleEJBBean</ejb-class>
             <session-type>Stateless</session-type>
             <transaction-type>Container</transaction-type>
          </session>
       </enterprise-beans>
       <assembly-descriptor>
          <container-transaction>
             <method>
                <ejb-name>StatelessSampleEJB</ejb-name>
                <method-name>createDepartment</method-name>
                <method-params>
                   <method-param>int</method-param>
                   <method-param>java.lang.String</method-param>
                   <method-param>java.lang.String</method-param>
                </method-params>
             </method>
             <trans-attribute>Required</trans-attribute>
          </container-transaction>
       </assembly-descriptor>
    </ejb-jar>
    Aggregating a BC4J Application Module
    With the EJB aspects of our bean setup, we can proceed to implementing the BC4J application module aggregation.
    The first thing we do is add private variables to hold the EJB SessionContext and the instance of the aggregated BC4J ApplicationModule, like this:
    // Place to hold onto the aggregated appmodule instance
    transient private ApplicationModule _am  = null;
    // Remember the SessionContext that the EJB container provides us
    private           SessionContext    _ctx = null;and we modify the default, empty implementation of the setSessionContext() method to remember the session context like this:
    public void setSessionContext(SessionContext ctx){ _ctx = ctx; }We add additional constants that hold the names of the J2EE datasource that we want BC4J to use, as well as the fully-qualified name of the BC4J application module that we'll be aggregating:
    // JNDI resource name for the J2EE datasource to use
    private static final String DATASOURCE = "jdbc/OracleCoreDS";
    // Fully-qualified BC4J application module name to aggregate
    private static final String APPMODNAME = "com.example.hr.HRApp";We expand the now-empty ejbCreate() and ejbRemove() methods to create and destory the aggregated instance of the BC4J application module that we'll use for the lifetime of the stateless session bean. When we're done, ejbCreate() it looks like this:
    public void ejbCreate() throws CreateException {
      try {
        // Setup a hashtable of environment parameters for JNDI initial context
        Hashtable env = new Hashtable();
        env.put(JboContext.INITIAL_CONTEXT_FACTORY,JboContext.JBO_CONTEXT_FACTORY);
        // NOTE: we want to use the BC4J app module in local mode as a simple Java class!
        env.put(JboContext.DEPLOY_PLATFORM, JboContext.PLATFORM_LOCAL);
        env.put(PropertyConstants.INTERNAL_CONNECTION_PARAMS,DATASOURCE);
        // Create an initial context, using this hashtable of environment params
        InitialContext ic = new InitialContext(env);
        // Lookup a home interface for the application module
        ApplicationModuleHome home = (ApplicationModuleHome)ic.lookup(APPMODNAME);
        // Using the home, create the instance of the appmodule we'll use
        _am = home.create();
        // Register the BC4J factory to handle EJB container-managed transactions
        registerContainerManagedTransactionHandlerFactory();
      catch(Exception ex) {
         ex.printStackTrace();
        throw new CreateException(ex.getMessage());
    }and ejbRemove() looks like this:
    public void ejbRemove() {
      try {
        // Cleanup any appmodule resources before getting shutdown
        _am.remove();
      catch(JboException ex) { /* Ignore */ }
    }The helper method named reigsterContainerManagedTransactionHandlerFactory() looks like this:
    private void registerContainerManagedTransactionHandlerFactory() {
      SessionImpl session = (SessionImpl)_am.getSession();
      session.setTransactionHandlerFactory(
        new TransactionHandlerFactory() {
          public TransactionHandler  createTransactionHandler() {
            return new ContainerManagedTxnHandlerImpl();
          public JTATransactionHandler createJTATransactionHandler() {
            return new ContainerManagedTxnHandlerImpl();
    }The last detail is to use the BC4J appmodule to implement the createDepartment() method. It ends up looking like this:
    public void createDepartment(int id, String name, String loc)
    throws AppException {
      try {
        // Connect the AM to the datasource we want to use for the duration
        // of this single method call.
        _am.getTransaction().connectToDataSource(null,DATASOURCE,false);
        // Use the "Departments" view object member of this AM
        ViewObject departments = _am.findViewObject("Departments");
        // Create a new row in this view object.
        Row newDept = departments.createRow();
        // Populate the attributes from the parameter arguments.
        newDept.setAttribute("Deptno", new Number(id));
        newDept.setAttribute("Dname", name);
        newDept.setAttribute("Loc", loc);
        // Add the new row to the view object's default rowset
        departments.insertRow(newDept);
        // Post all changes in the AM, but we don't commit them. The EJB
        // container managed transaction handles the commit.
        _am.getTransaction().postChanges();
      catch(JboException ex) {
        // To be good EJB Container-Managed Transaction "citizens" we have
        // to mark the transaction as needing a rollback if there are problems
        _ctx.setRollbackOnly();
        throw new AppException("Error creating dept "+ id +"\n"+ex.getMessage());
      finally {
        try {
          // Disconnect the AM from the datasource we're using
          _am.getTransaction().disconnect();
        catch(Exception ex) { /* Ignore */ }
    Building a Test Client
    With the EJB-Tier work done, we can build a sample client program to test this new stateless EJB Session Bean by selecting the bean in the Oracle9i JDeveloper IDE and choosing "Create Sample Java Client" from the right-mouse menu.
    When the "Sample EJB Client Details" dialog appears, we take the defaults of connecting to embedded OC4J container. Clicking the (OK) button generates the following test class:
    import java.util.Hashtable;
    import javax.naming.Context;
    import javax.naming.InitialContext;
    import com.example.StatelessSampleEJB;
    import com.example.StatelessSampleEJBHome;
    public class SampleStatelessSampleEJBClient {
      public static void main(String [] args) {
        SampleStatelessSampleEJBClient sampleStatelessSampleEJBClient =
           new SampleStatelessSampleEJBClient();
        try {
          Hashtable env = new Hashtable();
          env.put(Context.INITIAL_CONTEXT_FACTORY,
                  "com.evermind.server.rmi.RMIInitialContextFactory");
          env.put(Context.SECURITY_PRINCIPAL, "admin");
          env.put(Context.SECURITY_CREDENTIALS, "welcome");
          env.put(Context.PROVIDER_URL,
                  "ormi://localhost:23891/current-workspace-app");
          Context ctx = new InitialContext(env);
          StatelessSampleEJBHome statelessSampleEJBHome =
               (StatelessSampleEJBHome)ctx.lookup("StatelessSampleEJB");
          StatelessSampleEJB statelessSampleEJB;
          // Use one of the create() methods below to create a new instance
          // statelessSampleEJB = statelessSampleEJBHome.create();
          // Call any of the Remote methods below to access the EJB
          // statelessSampleEJB.createDepartment( int id, java.lang.String name, java.lang.String loc );
        catch(Throwable ex) {
          ex.printStackTrace();
    }We uncomment the call to the create() method and add a few calls to the createDepartment() method so that the body of the test program now looks like this:
    // Use one of the create() methods below to create a new instance
    statelessSampleEJB = statelessSampleEJBHome.create();
    // Call any of the Remote methods below to access the EJB
    statelessSampleEJB.createDepartment( 13, "Test1","Loc1");
    System.out.println("Created department 13");
    statelessSampleEJB.createDepartment( 14, "Test2","Loc2");
    System.out.println("Created department 14");
    try {
      // Try setting a department id that is too large!
      statelessSampleEJB.createDepartment( 23456, "Test3","Loc3");
    catch (AppException ax) {
      System.err.println("AppException: "+ax.getMessage());
    }Before we can successfully run our SampleStatelessSampleEJBClient we need to first run the EJB bean that the client will try to connect to. Since Oracle9i JDeveloper supports local running and debugging of the EJB-Tier without doing through a full J2EE deployment step, to accomplish this prerequisite step we just need to right-mouse on the StatelessSampleEJB node in the System Navigator and select "Run". This starts up the embedded OC4J instance and runs the EJB right out of the current out path.Finally, we can run the SampleStatelessSampleEJBClient, and see the output of the test program in the JDeveloper log window:
    Created department 13
    Created department 14
    AppException: Error creating dept 23456
    JBO-27010: Attribute set with value 23456 for Deptno in Dept has invalid precision/scale
    Troubleshooting
    One error that might arise while running the example is that the database connection information in your data-sources.xml for the jdbc/OracleCoreDS datasource does not correspond to the database you are trying to test against. If this happens, then double-check the file .\jdev\system\oc4j-config\data-sources.xml under the JDeveloper installation home directory to make sure that the url value provided is what you expect. For example, to work against a local Oracle database running on your current machine, listening on port 1521, with SID of ORCL, you would edit this file to have an entry like this for jdbc/OracleCoreDS :
    <data-source
        class="com.evermind.sql.DriverManagerDataSource"
        name="OracleDS"
        location="jdbc/OracleCoreDS"
        xa-location="jdbc/xa/OracleXADS"
        ejb-location="jdbc/OracleDS"
        connection-driver="oracle.jdbc.driver.OracleDriver"
        username="scott"
        password="tiger"
        url="jdbc:oracle:thin:@localhost:1521:ORCL"
        inactivity-timeout="30"
    />This is the data-sources.xml file that gets used by the embedded OC4J instance running in JDeveloper.
    Conclusion
    Hopefully this article has illustrated that it is straightforward to utilize the full power of BC4J in local mode as part of your EJB Stateless Session Beans using container-managed transaction. This example illustrated a single createDepartment method in the enterprise bean, but by replicating the application module interaction code that we've illustrated in createDepartment, any number of methods in your stateless session bean can use the aggregated application module instance created in the ejbCreate() method.
    Code Listing
    The full code listing for the SampleStatelessEJB bean implementation class looks like this:
    * StatelessSampleEJB
    * Illustrates how to use an aggregated BC4J application module
    * in local mode as part of the implementation of a stateless
    * EJB session bean using container-managed transaction.
    * HISTORY
    * smuench/dmutreja 14-FEB-2002 Created
    package com.example;
    import oracle.jbo.*;
    import oracle.jbo.server.*;
    import javax.ejb.*;
    import oracle.jbo.domain.Number;
    import oracle.jbo.common.PropertyConstants;
    import java.util.Hashtable;
    import javax.naming.InitialContext;
    import oracle.jbo.server.ejb.ContainerManagedTxnHandlerImpl;
    public class StatelessSampleEJBBean implements SessionBean {
      // JNDI resource name for the J2EE datasource to use
      private static final String DATASOURCE = "jdbc/OracleCoreDS";
      // Fully-qualified BC4J application module name to aggregate
      private static final String APPMODNAME = "com.example.hr.HRApp";
      // Place to hold onto the aggregated appmodule instance
      transient private ApplicationModule _am  = null;
      // Remember the SessionContext that the EJB container provides us
      private           SessionContext    _ctx = null;
      public void ejbCreate() throws CreateException {
        try {
          // Setup a hashtable of environment parameters for JNDI initial context
          Hashtable env = new Hashtable();
          env.put(JboContext.INITIAL_CONTEXT_FACTORY,JboContext.JBO_CONTEXT_FACTORY);
          env.put(JboContext.DEPLOY_PLATFORM, JboContext.PLATFORM_LOCAL);
          env.put(PropertyConstants.INTERNAL_CONNECTION_PARAMS,DATASOURCE);
          // Create an initial context, using this hashtable of environment params
          InitialContext ic = new InitialContext(env);
          // Lookup a home interface for the application module
          ApplicationModuleHome home = (ApplicationModuleHome)ic.lookup(APPMODNAME);
          // Using the home, create the instance of the appmodule we'll use
          _am = home.create();
          // Register the BC4J factory to handle EJB container-managed transactions
          registerContainerManagedTransactionHandlerFactory();
        catch(Exception ex) {
           ex.printStackTrace();
          throw new CreateException(ex.getMessage());
      public void ejbActivate(){}
      public void ejbPassivate(){}
      public void ejbRemove(){}
      public void setSessionContext(SessionContext ctx){ _ctx = ctx; }
      public void createDepartment(int id, String name, String loc)
      throws AppException {
        try {
          // Connect the AM to the datasource we want to use for the duration
          // of this single method call.
          _am.getTransaction().connectToDataSource(null,DATASOURCE,false);
          // Use the "Departments" view object member of this AM
          ViewObject departments = _am.findViewObject("Departments");
          // Create a new row in this view object.
          Row newDept = departments.createRow();
          // Populate the attributes from the parameter arguments.
          newDept.setAttribute("Deptno", new Number(id));
          newDept.setAttribute("Dname", name);
          newDept.setAttribute("Loc", loc);
          // Add the new row to the view object's default rowset
          departments.insertRow(newDept);
          // Post all changes in the AM, but we don't commit them. The EJB
          // container managed transaction handles the commit.
          _am.getTransaction().postChanges();
        catch(JboException ex) {
          // To be good EJB Container-Managed Transaction "citizens" we have
          // to mark the transaction as needing a rollback if there are problems
          _ctx.setRollbackOnly();
          throw new AppException("Error creating dept "+ id +\n"+ex.getMessage());
        finally {
          try {
            // Disconnect the AM from the datasource we're using
            _am.getTransaction().disconnect();
          catch(Exception ex) { /* Ignore */ }
      private void registerContainerManagedTransactionHandlerFactory() {
        SessionImpl session = (SessionImpl)_am.getSession();
        session.setTransactionHandlerFactory(
          new TransactionHandlerFactory() {
            public TransactionHandler createTransactionHandler() {
              return new ContainerManagedTxnHandlerImpl();
            public JTATransactionHandler createJTATransactionHandler() {
              return new ContainerManagedTxnHandlerImpl();

    Hi Steve, It4s me again;
    About the question I made, I tried with a single assembly-descriptor tag and a single container-transaction tag in the deployment descriptor of the session bean and these were the results.
    java.lang.NullPointerException
         void com.evermind.server.rmi.RMIConnection.EXCEPTION_ORIGINATES_FROM_THE_REMOTE_SERVER(java.lang.Throwable)
         java.lang.Object com.evermind.server.rmi.RMIConnection.invokeMethod(com.evermind.server.rmi.RMIContext, long, long, java.lang.reflect.Method, java.lang.Object[])
         java.lang.Object com.evermind.server.rmi.RemoteInvocationHandler.invoke(java.lang.Object, java.lang.reflect.Method, java.lang.Object[])
         java.lang.Object com.evermind.server.rmi.RecoverableRemoteInvocationHandler.invoke(java.lang.Object, java.lang.reflect.Method, java.lang.Object[])
         java.lang.Object com.evermind.server.ejb.StatelessSessionRemoteInvocationHandler.invoke(java.lang.Object, java.lang.reflect.Method, java.lang.Object[])
         void __Proxy1.modificaEnvoltura(java.lang.Integer, java.lang.Integer, java.lang.Integer, java.lang.Integer, java.lang.Integer, java.lang.Integer, java.lang.String)
         void SamplemdeController.envolturaControlEJBClient.main(java.lang.String[])
    Then I tried with multiple assembly-descriptor tags each with a single container-transaction tag and the results were:
    java.lang.NullPointerException
         void com.evermind.server.rmi.RMIConnection.EXCEPTION_ORIGINATES_FROM_THE_REMOTE_SERVER(java.lang.Throwable)
         java.lang.Object com.evermind.server.rmi.RMIConnection.invokeMethod(com.evermind.server.rmi.RMIContext, long, long, java.lang.reflect.Method, java.lang.Object[])
         java.lang.Object com.evermind.server.rmi.RemoteInvocationHandler.invoke(java.lang.Object, java.lang.reflect.Method, java.lang.Object[])
         java.lang.Object com.evermind.server.rmi.RecoverableRemoteInvocationHandler.invoke(java.lang.Object, java.lang.reflect.Method, java.lang.Object[])
         java.lang.Object com.evermind.server.ejb.StatelessSessionRemoteInvocationHandler.invoke(java.lang.Object, java.lang.reflect.Method, java.lang.Object[])
         void __Proxy1.modificaEnvoltura(java.lang.Integer, java.lang.Integer, java.lang.Integer, java.lang.Integer, java.lang.Integer, java.lang.Integer, java.lang.String)
         void SamplemdeController.envolturaControlEJBClient.main(java.lang.String[])
    Finally I tried with a single assembly-descriptor and multiple container tags and the results were:
    java.lang.NullPointerException
         void com.evermind.server.rmi.RMIConnection.EXCEPTION_ORIGINATES_FROM_THE_REMOTE_SERVER(java.lang.Throwable)
         java.lang.Object com.evermind.server.rmi.RMIConnection.invokeMethod(com.evermind.server.rmi.RMIContext, long, long, java.lang.reflect.Method, java.lang.Object[])
         java.lang.Object com.evermind.server.rmi.RemoteInvocationHandler.invoke(java.lang.Object, java.lang.reflect.Method, java.lang.Object[])
         java.lang.Object com.evermind.server.rmi.RecoverableRemoteInvocationHandler.invoke(java.lang.Object, java.lang.reflect.Method, java.lang.Object[])
         java.lang.Object com.evermind.server.ejb.StatelessSessionRemoteInvocationHandler.invoke(java.lang.Object, java.lang.reflect.Method, java.lang.Object[])
         void __Proxy1.modificaEnvoltura(java.lang.Integer, java.lang.Integer, java.lang.Integer, java.lang.Integer, java.lang.Integer, java.lang.Integer, java.lang.String)
         void SamplemdeController.envolturaControlEJBClient.main(java.lang.String[])
    How can I make my Stateless Session bean work out?

  • EJB Helper class not created

    Dear Sirs,
    I am following the example in the "Enterprise Java Beans manual" to use Jdeveloper to create the Hello World EJB described in appendix B.
    My EJB is deployed successfully but when I run the client I get "ClassNotFoundException: hello.HelloHomeHelper".
    I imagine that the computer is trying to load the HelloHomeHelper.narrow method to properly case the call to the create method of my EJB. But such class only gets created when you use the wizard "Generate CORBA Server classes". But I cannot do that since I am not extending org.omg.CORBA.Object object. Rather the EJB I am implementing implements the "SessionBean".
    So why I am having CORBA-related problems with EJB?
    thanks.

    Hi,
    I have the same problem with bc4j deployed on Oracle 8.1.7 as session EJB.
    I'm testing the deployed bc with a client code. I have the following problem on the lookup method:
    avax.naming.NamingException: Unknown reasons. Root exception is
    java.lang.ClassNotFoundException: vebs.jbo.common.ejb.VeAppModuleHomeHelper
    void oracle.jbo.client.remote.ejb.aurora.AuroraEJBAmHomeImpl.initRemoteHome()
    void oracle.jbo.client.remote.ejb.aurora.AuroraEJBAmHomeImpl.<init>(oracle.jbo.JboContext, java.lang.String)
    oracle.jbo.common.JboHome oracle.jbo.client.remote.ejb.aurora.AuroraEJBInitialContext.createJboHome(java.lang.String)
    java.lang.Object oracle.jbo.common.JboInitialContext.lookup(java.lang.String)
    java.lang.Object javax.naming.InitialContext.lookup(java.lang.String)
    void bctest.main(java.lang.String[])
    but if I see in the Oracle db, the class is exported.
    Help me!!

  • Error occured in Ejb deployment to Oracle9iAS

    Basically I have created one application in 11g jdeveloper with two projects called, model and view controller. I have created one VO called test_VO, based on one EO Test_EO and I have associated that VO to the Application Module Test_AM. I have created one deployment profile test1_Ejb through the "Business components deployment" option of application module. Finally I tried to deploy the model project onto standalone oc4j through test1_Ejb deployment profile. I am getting the deployment failed message.
    Missing class: oracle.jbo.server.ejb.StatefulSessionBeanImpl
    Dependent class: oracle.apps.model.server.ejb.beanmanaged.Test_AMServer
    Loader: ModelEJB.root:0.0.0
    Code-Source: /D:/oc4j/j2ee/home/applications/ModelEJB/ModelEJB.jar
    Configuration: <ejb> in D:\oc4j\j2ee\home\applications\ModelEJB
    The missing class is not available from any code-source or loader in the system.
    I am using standalone 11g oc4j and remote oracle 11g jdeveloper for building the ADF applications. Please let me know the cause of this deployment exception.

    Hi,
     I would suggest here, create wsp and use the below script to deploy and activate.
    http://gallery.technet.microsoft.com/scriptcenter/AddInstallUpdate-solution-97928954
    Sekar - Our life is short, so help others to grow
    Whenever you see a reply and if you think is helpful, click "Vote As Helpful"! And whenever
    you see a reply being an answer to the question of the thread, click "Mark As Answer

  • Error when accessing CMP EJB methods

    I get a strange error, when I access a getter method in my remote interface to query the variables in my CMP EJB. I use Jdev 3.2 agains Oracle 8.1.7.
    I can see that the error must be originating from the persistance manager BC4J XML, but not sure how to resolve it, any help is appreciated.
    The line having the problem is the second line;
    portofolio.Portofolio remoteInterface = homeInterface.findByPrimaryKey("Fantacy");
    System.out.println("The record is " + remoteInterface.getPORTO_TYPE());
    The full error stack is as follows ( I don't see why there is a complaint about an update statement ?? );
    Caught RuntimeException in remote method; nested exception is:
    oracle.jbo.DMLException:JBO-26041: Failed to post data to database during "Update": SQL Statement " UPDATE PORTOFOLIO Portofolio123 SET VALUE=:1,PORTO_TYPE=:2,REAL_IND=:3,PORTO_NAME=:4,VALUED_ON=:5 WHERE PORTO_NAME=:6".
    Remote Stack Trace:
    oracle.jbo.DMLException: JBO-26041: Failed to post data to database during "Update": SQL Statement " UPDATE PORTOFOLIO Portofolio123 SET VALUE=:1,PORTO_TYPE=:2,REAL_IND=:3,PORTO_NAME=:4,VALUED_ON=:5 WHERE PORTO_NAME=:6".
    at oracle.jbo.server.OracleSQLBuilderImpl.doEntityDML(OracleSQLBuilderImpl.java:348)
    at oracle.jbo.server.EntityImpl.doDML(EntityImpl.java:3293)
    at oracle.jbo.server.EntityImpl.postChanges(EntityImpl.java:2588)
    at oracle.jbo.server.DBTransactionImpl.postChanges(DBTransactionImpl.java:1628)
    at oracle.jbo.server.DBTransactionImpl.commitInternal(DBTransactionImpl.java:997)
    at oracle.jbo.server.DBTransactionImpl.commit(DBTransactionImpl.java:1151)
    at oracle.jbo.server.ejb.cmp.CMPTransactionImpl.beforeCompletion(CMPTransactionImpl.java:74)
    at oracle.aurora.transaction.OracleTransaction.localBeforeCompletion(OracleTransaction.java)
    at oracle.aurora.transaction.OracleTransactionManager.localBeforeCompletion(OracleTransactionManager.java)
    at oracle.aurora.transaction.OracleTransactionManager.rollback(OracleTransactionManager.java)
    at oracle.aurora.transaction.OracleTransactionManager.rollback(OracleTransactionManager.java)
    at oracle.aurora.ejb.server.AuroraEnterpriseBean.__txn_rollback(AuroraEnterpriseBean.java)
    at oracle.aurora.ejb.gen._test_omeed_Portofolio.EjbObject_Portofolio.getPORTO_TYPE(oracle/aurora/ejb/gen/_test_omeed_Portofolio/EjbObject_Portofolio:228)
    at portofolio._tie_Portofolio.getPORTO_TYPE(_tie_Portofolio.java:143)
    at portofolio._PortofolioImplBase._execute(_PortofolioImplBase.java:186)
    at portofolio._PortofolioImplBase._execute(_PortofolioImplBase.java:117)
    at com.visigenic.vbroker.orb.SkeletonDelegateImpl.execute(SkeletonDelegateImpl.java)
    at oracle.aurora.server.GiopProtocolAdapter.doRequest(GiopProtocolAdapter.java)
    at com.visigenic.vbroker.orb.GiopProtocolAdapter.dispatchMessage(GiopProtocolAdapter.java)
    at oracle.aurora.server.ThreadSessionDispatcher.run(ThreadSessionDispatcher.java)
    at oracle.aurora.server.VCIiopConnection.processRequest(VCIiopConnection.java)
    at oracle.aurora.server.GiopServer._service(GiopServer.java)
    at oracle.aurora.server.GiopServer.service(GiopServer.java)
    at oracle.aurora.net.VirtualCircuit.processRequest(VirtualCircuit.java)
    at oracle.aurora.net.Presentation.handleRequest(Presentation.java)
    ## Detail 0 ##
    oracle.jdbc.driver.OracleSQLException: ORA-01861: literal does not match format string
    at oracle.jdbc.kprb.KprbDBAccess.check_error(KprbDBAccess.java)
    at oracle.jdbc.kprb.KprbDBAccess.executeFetch(KprbDBAccess.java)
    at oracle.jdbc.kprb.KprbDBAccess.parseExecuteFetch(KprbDBAccess.java)
    at oracle.jdbc.driver.OracleStatement.executeNonQuery(OracleStatement.java)
    at oracle.jdbc.driver.OracleStatement.doExecuteOther(OracleStatement.java)
    at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java)
    at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java)
    at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java)
    at oracle.jbo.server.OracleSQLBuilderImpl.doEntityDML(OracleSQLBuilderImpl.java:269)
    at oracle.jbo.server.EntityImpl.doDML(EntityImpl.java:3293)
    at oracle.jbo.server.EntityImpl.postChanges(EntityImpl.java:2588)
    at oracle.jbo.server.DBTransactionImpl.postChanges(DBTransactionImpl.java:1628)
    at oracle.jbo.server.DBTransactionImpl.commitInternal(DBTransactionImpl.java:997)
    at oracle.jbo.server.DBTransactionImpl.commit(DBTransactionImpl.java:1151)
    at oracle.jbo.server.ejb.cmp.CMPTransactionImpl.beforeCompletion(CMPTransactionImpl.java:74)
    at oracle.aurora.transaction.OracleTransaction.localBeforeCompletion(OracleTransaction.java)
    at oracle.aurora.transaction.O
    racleTransactionManager.localBeforeCompletion(OracleTransactionManager.java)
    at oracle.aurora.transaction.OracleTransactionManager.rollback(OracleTransactionManager.java)
    at oracle.aurora.transaction.OracleTransactionManager.rollback(OracleTransactionManager.java)
    at oracle.aurora.ejb.server.AuroraEnterpriseBean.__txn_rollback(AuroraEnterpriseBean.java)
    at oracle.aurora.ejb.gen._test_omeed_Portofolio.EjbObject_Portofolio.getPORTO_TYPE(oracle/aurora/ejb/gen/_test_omeed_Portofolio/EjbObject_Portofolio:228)
    at portofolio._tie_Portofolio.getPORTO_TYPE(_tie_Portofolio.java:143)
    at portofolio._PortofolioImplBase._execute(_PortofolioImplBase.java:186)
    at portofolio._PortofolioImplBase._execute(_PortofolioImplBase.java:117)
    at com.visigenic.vbroker.orb.SkeletonDelegateImpl.execute(SkeletonDelegateImpl.java)
    at oracle.aurora.server.GiopProtocolAdapter.doRequest(GiopProtocolAdapter.java)
    at com.visigenic.vbroker.orb.GiopProtocolAdapter.dispatchMessage(GiopProtocolAdapter.java)
    at oracle.aurora.server.ThreadSessionDispatcher.run(ThreadSessionDispatcher.java)
    at oracle.aurora.server.VCIiopConnection.processRequest(VCIiopConnection.java)
    at oracle.aurora.server.GiopServer._service(GiopServer.java)
    at oracle.aurora.server.GiopServer.service(GiopServer.java)
    at oracle.aurora.net.VirtualCircuit.processRequest(VirtualCircuit.java)
    at oracle.aurora.net.Presentation.handleRequest(Presentation.java)
    oracle.aurora.ejb.RemoteRuntimeException: Caught RuntimeException in remote method; nested exception is:
    oracle.jbo.DMLException:JBO-26041: Failed to post data to database during "Update": SQL Statement " UPDATE PORTOFOLIO Portofolio123 SET VALUE=:1,PORTO_TYPE=:2,REAL_IND=:3,PORTO_NAME=:4,VALUED_ON=:5 WHERE PORTO_NAME=:6".
    Remote Stack Trace:
    oracle.jbo.DMLException: JBO-26041: Failed to post data to database during "Update": SQL Statement " UPDATE PORTOFOLIO Portofolio123 SET VALUE=:1,PORTO_TYPE=:2,REAL_IND=:3,PORTO_NAME=:4,VALUED_ON=:5 WHERE PORTO_NAME=:6".
    at oracle.jbo.server.OracleSQLBuilderImpl.doEntityDML(OracleSQLBuilderImpl.java:348)
    at oracle.jbo.server.EntityImpl.doDML(EntityImpl.java:3293)
    at oracle.jbo.server.EntityImpl.postChanges(EntityImpl.java:2588)
    at oracle.jbo.server.DBTransactionImpl.postChanges(DBTransactionImpl.java:1628)
    at oracle.jbo.server.DBTransactionImpl.commitInternal(DBTransactionImpl.java:997)
    at oracle.jbo.server.DBTransactionImpl.commit(DBTransactionImpl.java:1151)
    at oracle.jbo.server.ejb.cmp.CMPTransactionImpl.beforeCompletion(CMPTransactionImpl.java:74)
    at oracle.aurora.transaction.OracleTransaction.localBeforeCompletion(OracleTransaction.java)
    at oracle.aurora.transaction.OracleTransactionManager.localBeforeCompletion(OracleTransactionManager.java)
    at oracle.aurora.transaction.OracleTransactionManager.rollback(OracleTransactionManager.java)
    at oracle.aurora.transaction.OracleTransactionManager.rollback(OracleTransactionManager.java)
    at oracle.aurora.ejb.server.AuroraEnterpriseBean.__txn_rollback(AuroraEnterpriseBean.java)
    at oracle.aurora.ejb.gen._test_omeed_Portofolio.EjbObject_Portofolio.getPORTO_TYPE(oracle/aurora/ejb/gen/_test_omeed_Portofolio/EjbObject_Portofolio:228)
    at portofolio._tie_Portofolio.getPORTO_TYPE(_tie_Portofolio.java:143)
    at portofolio._PortofolioImplBase._execute(_PortofolioImplBase.java:186)
    at portofolio._PortofolioImplBase._execute(_PortofolioImplBase.java:117)
    at com.visigenic.vbroker.orb.SkeletonDelegateImpl.execute(SkeletonDelegateImpl.java)
    at oracle.aurora.server.GiopProtocolAdapter.doRequest(GiopProtocolAdapter.java)
    at com.visigenic.vbroker.orb.GiopProtocolAdapter.dispatchMessage(GiopProtocolAdapter.java)
    at oracle.aurora.server.ThreadSessionDispatcher.run(ThreadSessionDispatcher.java)
    at oracle.aurora.server.VCIiopConnection.processRequest(VCIiopConnection.java)
    at oracle.aurora.server.GiopServer._service(GiopServer.java)
    at oracle.aurora.server.GiopServer.service(GiopServer.java)
    at oracle.aurora.net.VirtualCircuit.processRequest(VirtualCircuit.java)
    at oracle.aurora.net.Presentation.handleRequest(Presentation.java)
    ## Detail 0 ##
    oracle.jdbc.driver.OracleSQLException: ORA-01861: literal does not match format string
    at oracle.jdbc.kprb.KprbDBAccess.check_error(KprbDBAccess.java)
    at oracle.jdbc.kprb.KprbDBAccess.executeFetch(KprbDBAccess.java)
    at oracle.jdbc.kprb.KprbDBAccess.parseExecuteFetch(KprbDBAccess.java)
    at oracle.jdbc.driver.OracleStatement.executeNonQuery(OracleStatement.java)
    at oracle.jdbc.driver.OracleStatement.doExecuteOther(OracleStatement.java)
    at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java)
    at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java)
    at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java)
    at oracle.jbo.server.OracleSQLBuilderImpl.doEntityDML(OracleSQLBuilderImpl.java:269)
    at oracle.jbo.server.EntityImpl.doDML(EntityImpl.java:3293)
    at oracle.jbo.server.EntityImpl.postChanges(EntityImpl.java:2588)
    at oracle.jbo.server.DBTransactionImpl.postChanges(DBTransactionImpl.java:1628)
    at oracle.jbo.server.DBTransactionImpl.commitInternal(DBTransactionImpl.java:997)
    at oracle.jbo.server.DBTransactionImpl.commit(DBTransactionImpl.java:1151)
    at oracle.jbo.server.ejb.cmp.CMPTransactionImpl.beforeCompletion(CMPTransactionImpl.java:74)
    at oracle.aurora.transaction.OracleTransaction.localBeforeCompletion(OracleTransac
    tion.java)
    at oracle.aurora.transaction.OracleTransactionManager.localBeforeCompletion(OracleTransactionManager.java)
    at oracle.aurora.transaction.OracleTransactionManager.rollback(OracleTransactionManager.java)
    at oracle.aurora.transaction.OracleTransactionManager.rollback(OracleTransactionManager.java)
    at oracle.aurora.ejb.server.AuroraEnterpriseBean.__txn_rollback(AuroraEnterpriseBean.java)
    at oracle.aurora.ejb.gen._test_omeed_Portofolio.EjbObject_Portofolio.getPORTO_TYPE(oracle/aurora/ejb/gen/_test_omeed_Portofolio/EjbObject_Portofolio:228)
    at portofolio._tie_Portofolio.getPORTO_TYPE(_tie_Portofolio.java:143)
    at portofolio._PortofolioImplBase._execute(_PortofolioImplBase.java:186)
    at portofolio._PortofolioImplBase._execute(_PortofolioImplBase.java:117)
    at com.visigenic.vbroker.orb.SkeletonDelegateImpl.execute(SkeletonDelegateImpl.java)
    at oracle.aurora.server.GiopProtocolAdapter.doRequest(GiopProtocolAdapter.java)
    at com.visigenic.vbroker.orb.GiopProtocolAdapter.dispatchMessage(GiopProtocolAdapter.java)
    at oracle.aurora.server.ThreadSessionDispatcher.run(ThreadSessionDispatcher.java)
    at oracle.aurora.server.VCIiopConnection.processRequest(VCIiopConnection.java)
    at oracle.aurora.server.GiopServer._service(GiopServer.java)
    at oracle.aurora.server.GiopServer.service(GiopServer.java)
    at oracle.aurora.net.VirtualCircuit.processRequest(VirtualCircuit.java)
    at oracle.aurora.net.Presentation.handleRequest(Presentation.java)
    java.lang.String portofolio._st_Portofolio.getPORTO_TYPE()
    void portoclient.PortoClient.main(java.lang.String[])
    null

    Hi,
    How did you map the CMP-fields? I got the same Exceptions when I mapped a column which is DATE type to java.lang.String. DATE type column should be mapped to java.sql.Date.

  • Oracle.jbo.Session User Data Hashtable Not Saved Across Passivation and Act

    <br>
    According to http://blogs.oracle.com/Didier/2006/11/14#a139, I've overrided the passivate/activateState methods in MyAppModImpl:
    1. ejbActivate/Passivate from oracle.jbo.server.ejb.SessionBeanImpl are called at the right time
    2. overrided passivate/activateState methods are never called
    3. after an ejbActivate(), getSession().getUserData() is always null
    According to this OTN whitepaper, I confirm MyAppModImpl is RELEASE_LEVEL_MANAGED
    Please advise,
    Jérôme.
    <br>

    Hi Jerome,
    Would this ADF sample from Steve Muench help you ?
    26- Releasing an Application Module in Reserved Mode
    http://radio.weblogs.com/0118231/stories/2004/09/23/notYetDocumentedAdfSampleApplications.html#26
    Regards,
    Steff

  • Oracle.jbo.RowNotFoundException exception encountered while doing a ommit

    Hi,
    I get the following exception while doing :
    binding.getDataControl().getApplicationModule().getTransaction().commit();
    The application is running in 3-tier with the deployment as BM entity beans.
    Any idea why this happens????
    Regards,
    Anupam
    oracle.jbo.RowNotFoundException: JBO-25034: Row of handle 51 is not found in RowSet VReservationMain.
         at oracle.jbo.server.remote.RuntimeViewRowSetIteratorInfo.getRowFromHandle(RuntimeViewRowSetIteratorInfo.java:535)
         at oracle.jbo.server.remote.RuntimeViewRowSetIteratorInfo.getRowForSvcMsg(RuntimeViewRowSetIteratorInfo.java:496)
         at oracle.jbo.server.remote.RuntimeViewRowSetIteratorInfo.processChanges(RuntimeViewRowSetIteratorInfo.java:367)
         at oracle.jbo.server.remote.AbstractRemoteApplicationModuleImpl.postRows(AbstractRemoteApplicationModuleImpl.java:4220)
         at oracle.jbo.server.remote.AbstractRemoteApplicationModuleImpl.processSvcMsgRequest(AbstractRemoteApplicationModuleImpl.java:4267)
         at oracle.jbo.server.remote.AbstractRemoteApplicationModuleImpl.processSvcMsgEntries(AbstractRemoteApplicationModuleImpl.java:4995)
         at oracle.jbo.server.remote.AbstractRemoteApplicationModuleImpl.readServiceMessage(AbstractRemoteApplicationModuleImpl.java:4176)
         at oracle.jbo.server.remote.AbstractRemoteApplicationModuleImpl.processMessage(AbstractRemoteApplicationModuleImpl.java:2255)
         at oracle.jbo.server.ApplicationModuleImpl.doMessage(ApplicationModuleImpl.java:7537)
         at oracle.jbo.server.remote.AbstractRemoteApplicationModuleImpl.sync(AbstractRemoteApplicationModuleImpl.java:2221)
         at oracle.jbo.server.remote.ejb.NestedApplicationModuleImpl.doMessage(NestedApplicationModuleImpl.java:34)
         at sun.reflect.GeneratedMethodAccessor19.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at oracle.jbo.server.remote.AbstractRemoteApplicationModuleImpl.dispatchMethod(AbstractRemoteApplicationModuleImpl.java:6279)
         at oracle.jbo.server.remote.AbstractRemoteApplicationModuleImpl.executeMethod(AbstractRemoteApplicationModuleImpl.java:6503)
         at oracle.jbo.server.remote.AbstractRemoteApplicationModuleImpl.processSvcMsgRequest(AbstractRemoteApplicationModuleImpl.java:4744)
         at oracle.jbo.server.remote.AbstractRemoteApplicationModuleImpl.processSvcMsgEntries(AbstractRemoteApplicationModuleImpl.java:4995)
         at oracle.jbo.server.remote.AbstractRemoteApplicationModuleImpl.readServiceMessage(AbstractRemoteApplicationModuleImpl.java:4176)
         at oracle.jbo.server.remote.AbstractRemoteApplicationModuleImpl.processMessage(AbstractRemoteApplicationModuleImpl.java:2255)
         at oracle.jbo.server.ApplicationModuleImpl.doMessage(ApplicationModuleImpl.java:7537)
         at oracle.jbo.server.remote.AbstractRemoteApplicationModuleImpl.sync(AbstractRemoteApplicationModuleImpl.java:2221)
         at oracle.jbo.server.remote.ejb.ServerApplicationModuleImpl.doMessage(ServerApplicationModuleImpl.java:79)
         at oracle.jbo.server.ejb.SessionBeanImpl.doMessage(SessionBeanImpl.java:477)
         at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.TxBeanManagedInterceptor.invoke(TxBeanManagedInterceptor.java:53)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
         at com.evermind.server.ejb.StatefulSessionEJBObject.OC4J_invokeMethod(StatefulSessionEJBObject.java:844)
         at AMReservationBMBean_RemoteProxy_329700m.doMessage(Unknown Source)
         at sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.evermind.server.rmi.RmiMethodCall.run(RmiMethodCall.java:53)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)

    Hi,
    Fault Message Types are used in some of the cases .
    This will give good idea-
    http://help.sap.com/saphelp_nw2004s/helpdata/en/dd/b7623c6369f454e10000000a114084/frameset.htm
    If you want to handle exceptions, you can do for the mapping or even you can do for the unavailability of the receiver i.e database with the help of Alerts for the adapters.
    Regards,
    Moorthy

  • JBO-28300: Piggyback read error ??

    Hi All,
    I got this kind of exception when invoking an Application Module's method on remote ADF application. I'm invoking remote Application Module's method from an EJB and I'm using Jdeveloper 10.1.2.1. I've already followed the article in http://radio.weblogs.com/0118231/2004/04/19.html#a283. According to the article this kind of exception happened due to library conflict but I've setup and confirm that I'm only import the BC4j Oracle domains library to the project. Beside from the detail stack trace exception, the exception relates to JBO-29000: Unexpected exception caught: java.io.StreamCorruptedException. Does anyone have this kind of exception before ? Kindly need your help.
    Here I'll put the stack trace:
    oracle.jbo.PiggybackException: JBO-28300: Piggyback read error
         at oracle.jbo.JboException.<init>(JboException.java:332)
         at oracle.jbo.PiggybackException.<init>(PiggybackException.java:49)
         at oracle.jbo.common.PiggybackInput.<init>(PiggybackInput.java:84)
         at oracle.jbo.common.JboServiceMessage.unmarshal(JboServiceMessage.java:272)
         at oracle.jbo.server.remote.AbstractRemoteApplicationModuleImpl.readServiceMessage(AbstractRemoteApplicationModuleImpl.java:3373)
         at oracle.jbo.server.remote.AbstractRemoteApplicationModuleImpl.processMessage(AbstractRemoteApplicationModuleImpl.java:1859)
         at oracle.jbo.server.ApplicationModuleImpl.doMessage(ApplicationModuleImpl.java:7364)
         at oracle.jbo.server.remote.AbstractRemoteApplicationModuleImpl.sync(AbstractRemoteApplicationModuleImpl.java:1825)
         at oracle.jbo.server.remote.ejb.ServerApplicationModuleImpl.doMessage(ServerApplicationModuleImpl.java:60)
         at oracle.jbo.server.ejb.SessionBeanImpl.doMessage(SessionBeanImpl.java:376)
         at RemoteJournalAppModule_StatefulSessionBeanWrapper6.doMessage(RemoteJournalAppModule_StatefulSessionBeanWrapper6.java:1617)
         at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at com.evermind.server.rmi.RMICallHandler.run(RMICallHandler.java:124)
         at com.evermind.server.rmi.RMICallHandler.run(RMICallHandler.java:48)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
         at java.lang.Thread.run(Thread.java:534)
    ## Detail 0 ##
    oracle.jbo.JboException: JBO-29000: Unexpected exception caught: java.io.StreamCorruptedException, msg=null
         at oracle.jbo.JboException.<init>(JboException.java:343)
         at oracle.jbo.common.SvcMethodRequest.unMarshal(SvcMethodRequest.java:146)
         at oracle.jbo.common.SvcMethodRequest.readObject(SvcMethodRequest.java:98)
         at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:838)
         at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1746)
         at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1646)
         at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
         at java.io.ObjectInputStream.readObject(ObjectInputStream.java:324)
         at oracle.jbo.common.PiggybackInput.<init>(PiggybackInput.java:63)
         at oracle.jbo.common.JboServiceMessage.unmarshal(JboServiceMessage.java:272)
         at oracle.jbo.server.remote.AbstractRemoteApplicationModuleImpl.readServiceMessage(AbstractRemoteApplicationModuleImpl.java:3373)
         at oracle.jbo.server.remote.AbstractRemoteApplicationModuleImpl.processMessage(AbstractRemoteApplicationModuleImpl.java:1859)
         at oracle.jbo.server.ApplicationModuleImpl.doMessage(ApplicationModuleImpl.java:7364)
         at oracle.jbo.server.remote.AbstractRemoteApplicationModuleImpl.sync(AbstractRemoteApplicationModuleImpl.java:1825)
         at oracle.jbo.server.remote.ejb.ServerApplicationModuleImpl.doMessage(ServerApplicationModuleImpl.java:60)
         at oracle.jbo.server.ejb.SessionBeanImpl.doMessage(SessionBeanImpl.java:376)
         at RemoteJournalAppModule_StatefulSessionBeanWrapper6.doMessage(RemoteJournalAppModule_StatefulSessionBeanWrapper6.java:1617)
         at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at com.evermind.server.rmi.RMICallHandler.run(RMICallHandler.java:124)
         at com.evermind.server.rmi.RMICallHandler.run(RMICallHandler.java:48)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
         at java.lang.Thread.run(Thread.java:534)

    Hello,
    I got the same problem.
    Does somebody know the solution for this meanwhile?
    Thanks.

  • JBO-25034 at rollback

    I am deploying my business components to OC4J as EJB (BMT) in JDeveloper 9i (Production). When testing, the transaction handling works fine only if I set the attributes of my entity and view objects to 'allways updateable'. Otherwise, if I set an attribute to 'updateable while new' commit is working but rollback of an insert action is only working as long as I haven't typed in any values. As soon as I type in any values in a new recordset and want to rollback I get following error message:
    oracle.jbo.RowNotFoundException: JBO-25034: Row of handle x is not found in RowSet xxxView
    What can I do to avoid this?
    Thanks,
    Matthias

    Hope this is not too much of it. This is the log just for the insert and rollback action.
    Thanks a lot,
    Matthias
    Oracle9iAS (9.0.2.0.0) Containers for J2EE initialized
    Diagnostics: (BC4J Bootstrap) Routing diagnostics to standard output (use -Djbo.debugoutput=silent to remove)
    [00] Diagnostic Properties: Timing:false Functions:false Linecount:true Threshold:6
    [01] Propertymanager: searching for file and system based properties
    [02] {{ begin Loading BC4J properties
    [03] -----------------------------------------------------------
    [04] CommonMessageBundle (language base) being initialized
    [05] Stringmanager using default locale: 'null'
    [06] BC4J Property jbo.default.language='en' -->(MetaObjectManager) from System Default
    [07] BC4J Property jbo.default.country='EN' -->(MetaObjectManager) from Client Environment
    [08] BC4J Property DeployPlatform='Ejb' -->(SessionImpl) from Client Environment
    [09] Skipping empty Property ConnectionMode from System Default
    [10] BC4J Property HostName='localhost' -->(SessionImpl) from Client Environment
    [11] BC4J Property ConnectionPort='-1' -->(SessionImpl) from Client Environment
    [12] BC4J Property jbo.locking.mode='pessimistic' -->(MetaObjectManager) from System Default
    [13] BC4J Property ApplicationPath='wvz_bc01EJB1' -->(SessionImpl) from Client Environment
    [14] BC4J Property AppModuleJndiName='wvz.server.bc.WvzModule' -->(SessionImpl) from Client Environment
    [15] BC4J Property java.naming.security.principal='admin' -->(SessionImpl) from Client Environment
    [16] Skipping empty Property java.naming.security.credentials from System Default
    [17] BC4J Property jbo.use.pers.coll='true' -->(SessionImpl) from System Default
    [18] BC4J Property jbo.pers.max.rows.per.node='70' -->(SessionImpl) from System Default
    [19] BC4J Property jbo.pers.max.active.nodes='30' -->(SessionImpl) from System Default
    [20] Skipping empty Property jbo.pcoll.mgr from System Default
    [21] BC4J Property jbo.stringmanager.factory.class='use_default' -->(SessionImpl) from System Default
    [22] BC4J Property jbo.fetch.mode='AS.NEEDED' -->(MetaObjectManager) from System Default
    [23] BC4J Property jbo.323.compatible='false' -->(MetaObjectManager) from System Default
    [24] Skipping empty Property JBODynamicObjectsPackage from System Default
    [25] BC4J Property MetaObjectContextFactory='oracle.jbo.mom.xml.DefaultMomContextFactory' -->(MetaObjectManager) from System Default
    [26] BC4J Property MetaObjectContext='oracle.jbo.mom.xml.XMLContextImpl' -->(MetaObjectManager) from System Default
    [27] BC4J Property java.naming.factory.initial='oracle.jbo.common.JboInitialContextFactory' -->(SessionImpl) from Client Environment
    [28] BC4J Property IsLazyLoadingTrue='true' -->(MetaObjectManager) from /oracle/jbo/server/jboserver.properties resource
    [29] BC4J Property ActivateSharedDataHandle='false' -->(MetaObjectManager) from System Default
    [30] Skipping empty Property HandleName from System Default
    [31] Skipping empty Property Factory-Substitution-List from System Default
    [32] Skipping empty Property jbo.project from System Default
    [33] BC4J Property jbo.max.cursors='50' -->(MetaObjectManager) from System Default
    [34] BC4J Property jbo.dofailover='true' -->(MetaObjectManager) from System Default
    [35] BC4J Property jbo.doconnectionpooling='true' -->(MetaObjectManager) from Client Environment
    [36] BC4J Property jbo.recyclethreshold='10' -->(MetaObjectManager) from System Default
    [37] BC4J Property jbo.ampool.dynamicjdbccredentials='true' -->(MetaObjectManager) from System Default
    [38] BC4J Property jbo.ampool.resetnontransactionalstate='true' -->(MetaObjectManager) from System Default
    [39] BC4J Property jbo.ampool.sessioncookiefactoryclass='oracle.jbo.common.ampool.DefaultSessionCookieFactory' -->(MetaObjectManager) from System Default
    [40] BC4J Property jbo.ampool.connectionstrategyclass='oracle.jbo.common.ampool.DefaultConnectionStrategy' -->(MetaObjectManager) from System Default
    [41] BC4J Property jbo.ampool.maxpoolsize='10' -->(MetaObjectManager) from Client Environment
    [42] BC4J Property jbo.ampool.initpoolsize='0' -->(MetaObjectManager) from System Default
    [43] BC4J Property jbo.ampool.monitorsleepinterval='600000' -->(MetaObjectManager) from System Default
    [44] BC4J Property jbo.ampool.minavailablesize='5' -->(MetaObjectManager) from System Default
    [45] BC4J Property jbo.ampool.maxavailablesize='2' -->(MetaObjectManager) from Client Environment
    [46] BC4J Property jbo.ampool.maxinactiveage='600000' -->(MetaObjectManager) from System Default
    [47] BC4J Property jbo.passivationstore='null' -->(MetaObjectManager) from System Default
    [48] BC4J Property RELEASE_MODE='Stateful' -->(MetaObjectManager) from System Default
    [49] BC4J Property jbo.maxpoolcookieage='-1' -->(MetaObjectManager) from System Default
    [50] BC4J Property PoolClassName='oracle.jbo.common.ampool.ApplicationPoolImpl' -->(MetaObjectManager) from System Default
    [51] BC4J Property jbo.maxpoolsize='10' -->(MetaObjectManager) from Client Environment
    [52] BC4J Property jbo.initpoolsize='0' -->(MetaObjectManager) from System Default
    [53] BC4J Property jbo.poolrequesttimeout='30000' -->(MetaObjectManager) from System Default
    [54] BC4J Property jbo.poolmonitorsleepinterval='600000' -->(MetaObjectManager) from System Default
    [55] BC4J Property jbo.poolminavailablesize='0' -->(MetaObjectManager) from Client Environment
    [56] BC4J Property jbo.poolmaxavailablesize='5' -->(MetaObjectManager) from Client Environment
    [57] BC4J Property jbo.poolmaxinactiveage='60000' -->(MetaObjectManager) from Client Environment
    [58] BC4J Property jbo.assoc.consistent='true' -->(MetaObjectManager) from System Default
    [59] BC4J Property jbo.viewlink.consistent='false' -->(MetaObjectManager) from System Default
    [60] BC4J Property jbo.passivation.TrackInsert='true' -->(MetaObjectManager) from System Default
    [61] Skipping empty Property jbo.ViewCriteriaAdapter from System Default
    [62] BC4J Property jbo.SQLBuilder='Oracle' -->(MetaObjectManager) from /oracle/jbo/server/jboserver.properties resource
    [63] BC4J Property jbo.ConnectionPoolManager='oracle.jbo.server.ConnectionPoolManagerImpl' -->(MetaObjectManager) from System Default
    [64] BC4J Property jbo.TypeMapEntries='Oracle' -->(MetaObjectManager) from /oracle/jbo/server/jboserver.properties resource
    [65] BC4J Property jbo.sql92.JdbcDriverClass='sun.jdbc.odbc.JdbcOdbcDriver' -->(MetaObjectManager) from System Default
    [66] BC4J Property jbo.jdbc.trace='false' -->(MetaObjectManager) from System Default
    [67] BC4J Property oracle.jbo.defineColumnLength='as_chars' -->(MetaObjectManager) from System Default
    [68] Skipping empty Property jbo.tmpdir from System Default
    [69] BC4J Property jbo.server.internal_connection='jdbc:oracle:thin:wvz/wvz@nb10:1521:sunrise' -->(MetaObjectManager) from Client Environment
    [70] Skipping empty Property SessionClass from System Default
    [71] Skipping empty Property TransactionFactory from System Default
    [72] BC4J Property jbo.debugoutput='console' -->(Diagnostic) from System Property
    [73] BC4J Property jbo.debug.prefix='DBG: ' -->(Diagnostic) from /oracle/jbo/common/Diagnostic.properties resource
    [74] BC4J Property jbo.logging.show.timing='false' -->(Diagnostic) from /oracle/jbo/common/Diagnostic.properties resource
    [75] BC4J Property jbo.logging.show.function='false' -->(Diagnostic) from /oracle/jbo/common/Diagnostic.properties resource
    [76] BC4J Property jbo.logging.show.level='false' -->(Diagnostic) from /oracle/jbo/common/Diagnostic.properties resource
    [77] BC4J Property jbo.logging.show.linecount='true' -->(Diagnostic) from /oracle/jbo/common/Diagnostic.properties resource
    [78] BC4J Property jbo.logging.trace.threshold='6' -->(Diagnostic) from /oracle/jbo/common/Diagnostic.properties resource
    [79] BC4J Property jbo.jdbc.driver.verbose='false' -->(Diagnostic) from System Default
    [80] BC4J Property jbo.ejb.txntimeout='1830' -->(SessionImpl) from System Default
    [81] BC4J Property jbo.ejb.txntype='global' -->(MetaObjectManager) from System Default
    [82] BC4J Property jbo.ejb.txn.disconnect_on_completion='false' -->(SessionImpl) from System Default
    [83] Skipping empty Property oracle.jbo.schema from System Default
    [84] BC4J Property jbo.xml.validation='false' -->(MetaObjectManager) from System Default
    [85] Skipping empty Property ord.HttpMaxMemory from System Default
    [86] Skipping empty Property ord.HttpTempDir from System Default
    [87] BC4J Property ord.wmp.classid='clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95' -->(MetaObjectManager) from System Default
    [88] BC4J Property ord.qp.classid='clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B' -->(MetaObjectManager) from System Default
    [89] BC4J Property ord.rp.classid='clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA' -->(MetaObjectManager) from System Default
    [90] BC4J Property ord.wmp.codebase='http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701' -->(MetaObjectManager) from System Default
    [91] BC4J Property ord.qp.codebase='http://www.apple.com/qtactivex/qtplugin.cab' -->(MetaObjectManager) from System Default
    [92] Skipping empty Property ord.rp.codebase from System Default
    [93] BC4J Property ord.wmp.plugins.page='http://www.microsoft.com/isapi/redir.dll?prd=windows&sbp=mediaplayer&ar=Media&sba=Plugin&' -->(MetaObjectManager) from System Default
    [94] BC4J Property ord.qp.plugins.page='http://www.apple.com/quicktime/download/' -->(MetaObjectManager) from System Default
    [95] BC4J Property ord.rp.plugins.page='http://www.real.com/player/' -->(MetaObjectManager) from System Default
    [96] Copying unknown Client property (jbo.server.ejb.beantype='BeanManaged') to session
    [97] Copying unknown Client property (DtMiddleTierDeploymentProfile='wvz_bc01MiddleTier1.deploy') to session
    [98] Copying unknown Client property (DtDeploymentProfile='wvz_bc01EJB1.deploy') to session
    [99] Copying unknown Client property (jbo.server.ejb.vendor='1') to session
    [100] Copying unknown Client property (DtCommonDeploymentProfile='wvz_bc01Common1.deploy') to session
    [101] WARNING: Unused property: LC='Calling Function' found in /oracle/jbo/common/Diagnostic.properties resource
    [102] }} finished loading BC4J properties
    [103] -----------------------------------------------------------
    Diagnostics: (Properties (re)loaded) Routing diagnostics to standard output (use -Djbo.debugoutput=silent to remove)
    [104] Diagnostic Properties: Timing:false Functions:false Linecount:true Threshold:6
    [105] JavaVMVersion: 1.3.1_03-b03
    [106] JavaVMVendor: Sun Microsystems Inc.
    [107] JavaVMName: Java HotSpot(TM) Client VM
    [108] OperatingSystemName: Windows 2000
    [109] OperatingSystemVersion: 5.0
    [110] OperatingSystemUsername: schu
    [111] Jbo323Compatible Flag: false, str: false
    [112] Registered Oracle JDBC driver with BC4J Server
    [113] Exception java.lang.NoClassDefFoundError: oracle/jdeveloper/profiler/ProfilerAPI while loading Ojvm instrumentation: disabled
    [114] BC4J: Instrumentation disabled
    [115] Loading from /wvz/server/bc/bc.xml file
    [116] Loading from indvidual XML files
    [117] Loading the Containees for the Package 'wvz.server.bc.bc'.
    [118] Loading from /wvz/server/bc/WvzModule.xml file
    [119] Loading from /wvz/server/bc/StStatusView.xml file
    [120] ViewObjectImpl's default fetch mode = 0
    [121] Loading from /wvz/server/bc/StStatus.xml file
    [122] Loading Typemap entries from oracle.jbo.common.OracleTypeMapEntries
    [123] CSMessageBundle (language base) being initialized
    [124] OracleSQLBuilder reached getInterface
    [125] Oracle SQL Builder Version 3.2.0.0.0
    [126] Loading from /wvz/server/bc/StFinanzView.xml file
    [127] Loading from /wvz/server/bc/StFinanz.xml file
    [128] Loading from /wvz/server/bc/StTnuWvzView.xml file
    [129] Loading from /wvz/server/bc/StTnuWvz.xml file
    [130] Loading from /wvz/server/bc/StGemarkView.xml file
    [131] Loading from /wvz/server/bc/StGemark.xml file
    [132] Loading from /wvz/server/bc/StGemView.xml file
    [133] Loading from /wvz/server/bc/StGem.xml file
    [134] Loading from /wvz/server/bc/WzFlstView.xml file
    [135] Loading from /wvz/server/bc/WzFlst.xml file
    [136] Loading from /wvz/server/bc/WvzLogin.xml file
    [137] Loading from /wvz/server/bc/WzBestandView.xml file
    [138] Loading from /wvz/server/bc/WzBestand.xml file
    [139] Loading from /wvz/server/bc/WzVorView.xml file
    [140] Loading from /wvz/server/bc/WzVor.xml file
    [141] Loading from /wvz/server/bc/WzLageView.xml file
    [142] Loading from /wvz/server/bc/WzLage.xml file
    [143] Loading from /wvz/server/bc/WzTnuView.xml file
    [144] Loading from /wvz/server/bc/WzTnu.xml file
    [145] Loading from /wvz/server/bc/WzPersonView.xml file
    [146] Loading from /wvz/server/bc/WzPerson.xml file
    [147] Loading from /wvz/server/bc/WzNamenView.xml file
    [148] Loading from /wvz/server/bc/WzNamen.xml file
    [149] Loading from /wvz/server/bc/StAdrView.xml file
    [150] Loading from /wvz/server/bc/StAdr.xml file
    [151] Loading from /wvz/server/bc/WzFlstSearchView.xml file
    [152] Loading from /wvz/server/bc/StLkr.xml file
    [153] Loading from /wvz/server/bc/StWeaView.xml file
    [154] Loading from /wvz/server/bc/StWea.xml file
    [155] Loading from /wvz/server/bc/SearchEigentumView.xml file
    [156] Loading from /wvz/server/bc/StLkrView.xml file
    [157] Loading from /wvz/server/bc/WzFlstAllView.xml file
    [158] Loading from /wvz/server/bc/SearchKlassView.xml file
    [159] Loading from /wvz/server/bc/StOrfb.xml file
    [160] Loading from /wvz/server/bc/StOrfl.xml file
    [161] Loading from /wvz/server/bc/StOrf.xml file
    [162] Loading from /wvz/server/bc/SearchTnuView.xml file
    [163] Loading from /wvz/server/bc/WzTnuFa.xml file
    [164] Loading from /wvz/server/bc/SearchBuchungskView.xml file
    [165] Loading from /wvz/server/bc/StBuch.xml file
    [166] Loading from /wvz/server/bc/StGbb.xml file
    [167] Loading from /wvz/server/bc/SeachFlaecheView.xml file
    [168] Loading from /wvz/server/bc/WzOrfbAlbView.xml file
    [169] Loading from /wvz/server/bc/WzOrfbAlb.xml file
    [170] Loading from /wvz/server/bc/WzOrfFaView.xml file
    [171] Loading from /wvz/server/bc/WzOrfFa.xml file
    [172] Loading from /wvz/server/bc/WzOrflAlbView.xml file
    [173] Loading from /wvz/server/bc/WzOrflAlb.xml file
    [174] Loading from /wvz/server/bc/StOrfView.xml file
    [175] Loading from /wvz/server/bc/StOrfbView.xml file
    [176] Loading from /wvz/server/bc/StOrflView.xml file
    [177] Loading from /wvz/server/bc/WzTnuFaView.xml file
    [178] Loading from /wvz/server/bc/StBuchView.xml file
    [179] Loading from /wvz/server/bc/StGbbView.xml file
    [180] Loading from /wvz/server/bc/StFaView.xml file
    [181] Loading from /wvz/server/bc/StFa.xml file
    [182] Loading from /wvz/server/bc/FkWzBestandWzFlstLink.xml file
    [183] Loading from /wvz/server/bc/FkWzBestandWzFlstAssoc.xml file
    [184] Loading from /wvz/server/bc/FkWzVorWzFlstVorLink.xml file
    [185] Loading from /wvz/server/bc/FkWzVorWzFlstVorAssoc.xml file
    [186] Loading from /wvz/server/bc/FkWzLageWzFlstLink.xml file
    [187] Loading from /wvz/server/bc/FkWzLageWzFlstAssoc.xml file
    [188] Loading from /wvz/server/bc/FkWzTnuWzFlstLink.xml file
    [189] Loading from /wvz/server/bc/FkWzTnuWzFlstAssoc.xml file
    [190] Loading from /wvz/server/bc/FkWzPersonWzBestandLink.xml file
    [191] Loading from /wvz/server/bc/FkWzPersonWzBestandAssoc.xml file
    [192] Loading from /wvz/server/bc/FkWzNamenWzPersonLink.xml file
    [193] Loading from /wvz/server/bc/FkWzNamenWzPersonAssoc.xml file
    [194] Loading from /wvz/server/bc/FkWzPersonStAdrLink2.xml file
    [195] Loading from /wvz/server/bc/FkWzPersonStAdrAssoc2.xml file
    [196] Loading from /wvz/server/bc/FkWzOrfbAlbWzFlstLink.xml file
    [197] Loading from /wvz/server/bc/FkWzOrfbAlbWzFlstAssoc.xml file
    [198] Loading from /wvz/server/bc/FkWzOrfFaWzFlstLink.xml file
    [199] Loading from /wvz/server/bc/FkWzOrfFaWzFlstAssoc.xml file
    [200] Loading from /wvz/server/bc/FkWzOrflAlbWzFlstLink.xml file
    [201] Loading from /wvz/server/bc/FkWzOrflAlbWzFlstAssoc.xml file
    [202] Loading from /wvz/server/bc/FkWzTnuFaWzFlstLink.xml file
    [203] Loading from /wvz/server/bc/FkWzTnuFaWzFlstAssoc.xml file
    [204] Using DatabaseTransactionFactory implementation oracle.jbo.server.DatabaseTransactionFactory
    [205] Created root application module: 'wvz.server.bc.WvzModule'
    [206] Locale is: 'en_EN'
    [207] ViewObjectImpl.mUsePersColl is true
    [208] ViewObjectImpl.mDefaultMaxRowsPerNode is 70
    [209] ViewObjectImpl.mDefaultMaxActiveNodes is 30
    [210] DBTransactionImpl Max Cursors is 50
    [211] Oracle SQLBuilder: Registered driver: oracle.jdbc.driver.OracleDriver
    [212] Transaction timeout set to 1830 secs
    [213] Creating a new pool resource
    [214] Trying connection/2: url='jdbc:oracle:thin:@nb10:1521:sunrise' info='{password=wvz, user=wvz}' ...
    [215] Successfully logged in
    [216] JDBCDriverVersion: 9.0.1.2.0
    [217] DatabaseProductName: Oracle
    [218] DatabaseProductVersion: Oracle9i Enterprise Edition Release 9.0.1.1.1 - Production With the Partitioning option JServer Release 9.0.1.1.1 - Production
    [219] ViewRowSetImpl's jbo.viewlink.consistent = false (0)
    [220] Loading from /wvz/server/bc/FkWzEigentumAendWzFlstLink.xml file
    [221] Loading from /wvz/server/bc/WzEigentumAendView.xml file
    [222] Loading from /wvz/server/bc/WzEigentumAend.xml file
    [223] Loading from /wvz/server/bc/FkWzEigentumAendWzFlstAssoc.xml file
    [224] Loading from /wvz/server/bc/FkWzLageFaWzFlstLink.xml file
    [225] Loading from /wvz/server/bc/WzLageFaView.xml file
    [226] Loading from /wvz/server/bc/WzLageFa.xml file
    [227] Loading from /wvz/server/bc/FkWzLageFaWzFlstAssoc.xml file
    [228] Loading from /wvz/server/bc/FkWzNubeWzFlstLink.xml file
    [229] Loading from /wvz/server/bc/WzNubeView.xml file
    [230] Loading from /wvz/server/bc/WzNube.xml file
    [231] Loading from /wvz/server/bc/FkWzNubeWzFlstAssoc.xml file
    [232] Loading from /wvz/server/bc/FkWzRueckWzFlstLink.xml file
    [233] Loading from /wvz/server/bc/WzRueckView.xml file
    [234] Loading from /wvz/server/bc/WzRueck.xml file
    [235] Loading from /wvz/server/bc/FkWzRueckWzFlstAssoc.xml file
    [236] Loading from /wvz/server/bc/FkWzTextWzFlstLink.xml file
    [237] Loading from /wvz/server/bc/WzTextView.xml file
    [238] Loading from /wvz/server/bc/WzText.xml file
    [239] Loading from /wvz/server/bc/FkWzTextWzFlstAssoc.xml file
    [240] Loading from /wvz/server/bc/FkWzVorWzFlstAktLink.xml file
    [241] Loading from /wvz/server/bc/FkWzVorWzFlstAktAssoc.xml file
    [242] Column count: 45
    [243] ViewObject : Created new QUERY statement
    [244] SELECT WzFlst.FLST, WzFlst.GEMARK, WzFlst.FINANZ, WzFlst.WEA, WzFlst.STATUS, WzFlst.BETR_VERTRAG, WzFlst.FW_ZUS, WzFlst.FLUR, WzFlst.FLURSTUCK, WzFlst.FLST_FLAE_ALB, WzFlst.ALB_DAT, WzFlst.PRZ, WzFlst.ENTST_JHR, WzFlst.FORTF_NR, WzFlst.FORTF_ART, WzFlst.L_FORT, WzFlst.LFORTF_NR, WzFlst.LFORTF_ART, WzFlst.AF, WzFlst.GELOESCHT, WzFlst.GELESEN, WzFlst.HISTORISCH, WvzLogin.FA, WvzLogin.FA_VON, WvzLogin.FA_NAME, StGemark.GEMARK AS GEMARK1, StGemark.GEMARK_NAME, StGemark.GEM, StGem.GEM AS GEM1, StGem.LKR, StGem.GEM_NAME FROM WVZ.WZ_FLST WzFlst, WVZ_LOGIN WvzLogin, WVZ.ST_GEMARK StGemark, WVZ.ST_GEM StGem WHERE WzFlst.GEMARK = StGemark.GEMARK and StGemark.GEM = StGem.GEM and StGemark.LKR = StGem.LKR and (StGemark.FA = WvzLogin.FA and StGemark.FA_VON = WvzLogin.FA_VON) ORDER BY WzFlst.FLST
    [245] [RangeRefreshEvent: WzFlstView start=0 count=1]
    [246] [NavigationEvent: WzFlstView From -1 to 0]
    [247] Loading from /wvz/server/bc/FkWzFlstStWeaAssoc.xml file
    [248] Loading from /wvz/server/bc/FkWzFlstStStatusAssoc.xml file
    [249] Loading from /wvz/server/bc/FkWzFlstStFinanzAssoc.xml file
    [250] Loading from /wvz/server/bc/FkWzFlstStGemarkAssoc.xml file
    [251] Loading from /wvz/server/bc/FkStGemarkStGemAssoc.xml file
    [252] Insert [InsertEvent: WzFlstView rowIndex=0 countB4=1 count=1]
    [253] [NavigationEvent: WzFlstView From -1 to 0]
    [254] [UpdateEvent: WzFlstView rowIndex=0 attrIndices=0]
    [255] EJBTxnHandler: Rolledback txn
    [256] Transaction timeout set to 1830 secs
    [257] WzFlstView notify ROLLBACK ...
    [258] Clearing VO cache for WzFlstView
    [259] Clear QueryCollection in cache...
    [260] WzBestand_FkWzBestandWzFlstAssoc_WzBestandView notify ROLLBACK ...
    [261] Clearing VO cache for WzBestand_FkWzBestandWzFlstAssoc_WzBestandView
    [262] Clear QueryCollection in cache...
    [263] WzEigentumAend_FkWzEigentumAendWzFlstAssoc_WzEigentumAendView notify ROLLBACK ...
    [264] Clearing VO cache for WzEigentumAend_FkWzEigentumAendWzFlstAssoc_WzEigentumAendView
    [265] Clear QueryCollection in cache...
    [266] WzLage_FkWzLageWzFlstAssoc_WzLageView notify ROLLBACK ...
    [267] Clearing VO cache for WzLage_FkWzLageWzFlstAssoc_WzLageView
    [268] Clear QueryCollection in cache...
    [269] WzLageFa_FkWzLageFaWzFlstAssoc_WzLageFaView notify ROLLBACK ...
    [270] Clearing VO cache for WzLageFa_FkWzLageFaWzFlstAssoc_WzLageFaView
    [271] Clear QueryCollection in cache...
    [272] WzNube_FkWzNubeWzFlstAssoc_WzNubeView notify ROLLBACK ...
    [273] Clearing VO cache for WzNube_FkWzNubeWzFlstAssoc_WzNubeView
    [274] Clear QueryCollection in cache...
    [275] WzOrfbAlb_FkWzOrfbAlbWzFlstAssoc_WzOrfbAlbView notify ROLLBACK ...
    [276] Clearing VO cache for WzOrfbAlb_FkWzOrfbAlbWzFlstAssoc_WzOrfbAlbView
    [277] Clear QueryCollection in cache...
    [278] WzOrfFa_FkWzOrfFaWzFlstAssoc_WzOrfFaView notify ROLLBACK ...
    [279] Clearing VO cache for WzOrfFa_FkWzOrfFaWzFlstAssoc_WzOrfFaView
    [280] Clear QueryCollection in cache...
    [281] WzOrflAlb_FkWzOrflAlbWzFlstAssoc_WzOrflAlbView notify ROLLBACK ...
    [282] Clearing VO cache for WzOrflAlb_FkWzOrflAlbWzFlstAssoc_WzOrflAlbView
    [283] Clear QueryCollection in cache...
    [284] WzRueck_FkWzRueckWzFlstAssoc_WzRueckView notify ROLLBACK ...
    [285] Clearing VO cache for WzRueck_FkWzRueckWzFlstAssoc_WzRueckView
    [286] Clear QueryCollection in cache...
    [287] WzText_FkWzTextWzFlstAssoc_WzTextView notify ROLLBACK ...
    [288] Clearing VO cache for WzText_FkWzTextWzFlstAssoc_WzTextView
    [289] Clear QueryCollection in cache...
    [290] WzTnu_FkWzTnuWzFlstAssoc_WzTnuView notify ROLLBACK ...
    [291] Clearing VO cache for WzTnu_FkWzTnuWzFlstAssoc_WzTnuView
    [292] Clear QueryCollection in cache...
    [293] WzTnuFa_FkWzTnuFaWzFlstAssoc_WzTnuFaView notify ROLLBACK ...
    [294] Clearing VO cache for WzTnuFa_FkWzTnuFaWzFlstAssoc_WzTnuFaView
    [295] Clear QueryCollection in cache...
    [296] WzVor_FkWzVorWzFlstAktAssoc_WzVorView notify ROLLBACK ...
    [297] Clearing VO cache for WzVor_FkWzVorWzFlstAktAssoc_WzVorView
    [298] Clear QueryCollection in cache...
    [299] WzVor1_FkWzVorWzFlstVorAssoc_WzVorView notify ROLLBACK ...
    [300] Clearing VO cache for WzVor1_FkWzVorWzFlstVorAssoc_WzVorView
    [301] Clear QueryCollection in cache...
    [302] Clearing EO cache for wvz.server.bc.StGemark
    [303] Clearing VO cache for StGemarkView
    [304] Clear QueryCollection in cache...
    [305] Clearing VO cache for WzFlstView
    [306] Clear QueryCollection in cache...
    [307] Clearing VO cache for WzFlstSearchView
    [308] Clear QueryCollection in cache...
    [309] Clearing EO cache for wvz.server.bc.WzBestand
    [310] Clearing VO cache for WzBestandView3
    [311] Clear QueryCollection in cache...
    [312] Clearing VO cache for SearchBuchungskView
    [313] Clear QueryCollection in cache...
    [314] Clearing VO cache for WzBestand_FkWzBestandWzFlstAssoc_WzBestandView
    [315] Clear QueryCollection in cache...
    [316] Clearing EO cache for wvz.server.bc.WzVor
    [317] Clearing VO cache for WzVorView
    [318] Clear QueryCollection in cache...
    [319] Clearing VO cache for WzVor_FkWzVorWzFlstAktAssoc_WzVorView
    [320] Clear QueryCollection in cache...
    [321] Clearing VO cache for WzVor1_FkWzVorWzFlstVorAssoc_WzVorView
    [322] Clear QueryCollection in cache...
    [323] Clearing EO cache for wvz.server.bc.WzOrfbAlb
    [324] Clearing VO cache for WzOrfbAlbView
    [325] Clear QueryCollection in cache...
    [326] Clearing VO cache for WzOrfbAlb_FkWzOrfbAlbWzFlstAssoc_WzOrfbAlbView
    [327] Clear QueryCollection in cache...
    [328] Clearing EO cache for wvz.server.bc.WzOrfFa
    [329] Clearing VO cache for WzOrfFaView
    [330] Clear QueryCollection in cache...
    [331] Clearing VO cache for WzOrfFa_FkWzOrfFaWzFlstAssoc_WzOrfFaView
    [332] Clear QueryCollection in cache...
    [333] Clearing EO cache for wvz.server.bc.WzLageFa
    [334] Clearing VO cache for WzLageFa_FkWzLageFaWzFlstAssoc_WzLageFaView
    [335] Clear QueryCollection in cache...
    [336] Clearing EO cache for wvz.server.bc.WzTnu
    [337] Clearing VO cache for WzTnuView
    [338] Clear QueryCollection in cache...
    [339] Clearing VO cache for SearchTnuView
    [340] Clear QueryCollection in cache...
    [341] Clearing VO cache for WzTnu_FkWzTnuWzFlstAssoc_WzTnuView
    [342] Clear QueryCollection in cache...
    [343] Clearing EO cache for wvz.server.bc.WzText
    [344] Clearing VO cache for WzText_FkWzTextWzFlstAssoc_WzTextView
    [345] Clear QueryCollection in cache...
    [346] Clearing EO cache for wvz.server.bc.WzTnuFa
    [347] Clearing VO cache for SearchTnuView
    [348] Clear QueryCollection in cache...
    [349] Clearing VO cache for WzTnuFaView
    [350] Clear QueryCollection in cache...
    [351] Clearing VO cache for WzTnuFa_FkWzTnuFaWzFlstAssoc_WzTnuFaView
    [352] Clear QueryCollection in cache...
    [353] Clearing EO cache for wvz.server.bc.WzLage
    [354] Clearing VO cache for WzLageView
    [355] Clear QueryCollection in cache...
    [356] Clearing VO cache for WzLage_FkWzLageWzFlstAssoc_WzLageView
    [357] Clear QueryCollection in cache...
    [358] Clearing EO cache for wvz.server.bc.WzEigentumAend
    [359] Clearing VO cache for WzEigentumAend_FkWzEigentumAendWzFlstAssoc_WzEigentumAendView
    [360] Clear QueryCollection in cache...
    [361] Clearing EO cache for wvz.server.bc.WzRueck
    [362] Clearing VO cache for WzRueck_FkWzRueckWzFlstAssoc_WzRueckView
    [363] Clear QueryCollection in cache...
    [364] Clearing EO cache for wvz.server.bc.WzOrflAlb
    [365] Clearing VO cache for WzOrflAlbView
    [366] Clear QueryCollection in cache...
    [367] Clearing VO cache for WzOrflAlb_FkWzOrflAlbWzFlstAssoc_WzOrflAlbView
    [368] Clear QueryCollection in cache...
    [369] Clearing EO cache for wvz.server.bc.StGem
    [370] Clearing VO cache for StGemView
    [371] Clear QueryCollection in cache...
    [372] Clearing VO cache for WzFlstView
    [373] Clear QueryCollection in cache...
    [374] Clearing VO cache for WzFlstSearchView
    [375] Clear QueryCollection in cache...
    [376] Clearing EO cache for wvz.server.bc.WzFlst
    [377] Clearing VO cache for WzFlstView
    [378] Clear QueryCollection in cache...
    [379] Clearing VO cache for WzFlstSearchView
    [380] Clear QueryCollection in cache...
    [381] Clearing VO cache for WzFlstAllView
    [382] Clear QueryCollection in cache...
    [383] Clearing VO cache for SeachFlaecheView
    [384] Clear QueryCollection in cache...
    [385] Clearing EO cache for wvz.server.bc.WzNube
    [386] Clearing VO cache for WzNube_FkWzNubeWzFlstAssoc_WzNubeView
    [387] Clear QueryCollection in cache...
    [388] Clearing EO cache for wvz.server.bc.WvzLogin
    [389] Clearing VO cache for WzFlstView
    [390] Clear QueryCollection in cache...

  • Error when Deploying ADF BC as EJB to OC4J Standalone

    Hi,
    I created ADFC BCs and try to deploy them as EJB session beans.
    But I got this erro:
    Processing EJB module: ModelEJB.jar
    application : ModelEJB is in failed state
    Operation failed with error:
         Mising Class : oracle.jbo.server.ejb.StatefulSessionBeanImpl
         Dependent Class : com.technip.server.server.ejb.beanmanaged.ForumAMServer
         Loader : ModelEJB.root:0.0.0
         Code source : /root/Downloads/oc4j10.1.3/j2ee/home/applications/ModelEJB/ModelEJB.jar
         Configuration : <ejb> in /root/Downloads/oc4j10.1.3/j2ee/home/applications/ModelEJB
    I know that it is part of bc4jmtejb.jar but how can I fix it?
    Try to create a SHared OC4J libraries on server side or include the library in the deployment?
    Please advise.
    Thanks
    JO

    Hi,
    I finally succesffuly deployed ADF BC as EJB adding the following libraries to the Deployment profile:
    <library path="C:\JDEV\jdevstudio1013\BC4J\lib\bc4jmtejb.jar">
         </library>
         <library path="C:\JDEV\jdevstudio1013\BC4J\lib\bc4jdomorcl.jar">
         </library>
         <library path="C:\JDEV\jdevstudio1013\BC4J\jlib\bc4jdatum.jar">
         </library>
         <library path="C:\JDEV\jdevstudio1013\j2ee\home\lib\ejb.jar">
         </library>
         <library path="C:\JDEV\jdevstudio1013\BC4J\lib\adfshare.jar">
         </library>
         <library path="C:\JDEV\jdevstudio1013\BC4J\lib\bc4jmt.jar">
         </library>
         <library path="C:\JDEV\jdevstudio1013\BC4J\lib\collections.jar">
         </library>
         <library path="C:\JDEV\jdevstudio1013\BC4J\lib\bc4jctejb.jar">
         </library>
         <library path="C:\JDEV\jdevstudio1013\BC4J\lib\bc4jct.jar">
         </library>
    Hope it could help other people.
    Thanks
    JO

  • Error while Deploying .EAR file

    Hi All,
    Iam getting the following Error while deploying a .ear file (generated by jdeveloper 11g) into OC4J 10.1.3.3
    [Apr 16, 2008 3:49:00 PM]application : ModelEJB is in failed state
    [Apr 16, 2008 3:49:00 PM] Operation failed with error: Missing class: oracle.jbo.server.ejb.StatefulSessionBeanImpl Dependent class: model.server.ejb.beanmanaged.AppModuleServer Loader: ModelEJB.root:0.0.1 Code-Source: /D:/OC4J/j2ee/home/applications/ModelEJB/ModelEJB.jar Configuration: in D:\OC4J\j2ee\home\applications\ModelEJB (Failure analysis caught java.lang.IllegalStateException: ClassLoader "ModelEJB.root:0.0.1" (from in /D:/OC4J/j2ee/home/applications/ModelEJB/): This loader has been closed and should not be in use.)
    Can some one help me in this...
    Thanks & Regards,
    Kaushik

    Hi,
    The name of the data-source should match with the value of 'Location' in data-sources.xml
    ex: "jdbc/OracleDS"
    Can you give more details of your problem like how you are deploying?
    Kavitha

  • Problem with setting oracle type parameter in viewobject query

    Hi There,
    I am facing a problem with JDev1013. I have a view that has JDBC positional parameters that are supposed to be in parameters for function like:
    SELECT x.day, x.special_exact_period_only
    FROM (
      SELECT x.day, x.special_exact_period_only
      FROM (
        SELECT
          x.day,
          rb.special_exact_period_only
      FROM TABLE (
        RentabilityPkg.findMarkerSlots(
          'start',
          ? /* dchannel */,
          NULL,
          ? /* resorts */,
          'special',
          NULL,
          ? /* code */,
          NULL,
          TRUNC(SYSDATE),
          TRUNC(SYSDATE + 365 * 2),
          NULL
      ) x
        JOIN resourcebase rb USING (rentabilitymanager_id)
        UNION
        SELECT
          x.day,
          rb.special_exact_period_only
        FROM TABLE (
          RentabilityPkg.findMarkerSlots(
            'start',
            ? /* dchannel */,
            NULL,
            ? /* resorts */,
            'composition',
            NULL,
            ? /* code */,
            NULL,
            TRUNC(SYSDATE),
            TRUNC(SYSDATE + 365 * 2),
            NULL
        ) x
        JOIN resourcebase rb USING (rentabilitymanager_id)
      )x
      ORDER BY x.day
    ) x
    WHERE ROWNUM <= 30now the JDBC positional parameters take our custom defined list type defined as:
    CREATE TYPE NumberList AS TABLE OF NUMBER;
    we are setting the parameter in the views with the help of oracle.sql.ARRAY class like:
       * Set parameters.
      public void setParams(Integer dchannelId, Integer[] resorts, String specialCode)
        try {
              System.out.println(this.getClass() + ".setParams()");
              ARRAY arrParam1 = ((NWSApplicationModule)getApplicationModule()).toSQLNumberList(Arrays.asList(resorts));
              ARRAY arrParam2 = ((NWSApplicationModule)getApplicationModule()).toSQLNumberList(Arrays.asList(resorts));
              System.out.println("arrParam1 - " + arrParam1);
              System.out.println("arrParam1 - " + arrParam1);
              System.out.println(this.getClass() + " ARRAY - " + arrParam1.getArray());
              System.out.println(this.getClass() + " -- " + arrParam1.length());
              System.out.println("arrParam2 - " + arrParam2);
              System.out.println("arrParam2 - " + arrParam2);
              System.out.println(this.getClass() + " ARRAY - " + arrParam2.getArray());
              System.out.println(this.getClass() + " -- " + arrParam2.length());
              Object[] params =
                   { dchannelId,
                        arrParam1,
                        specialCode,
                        dchannelId,
                        arrParam2,
                        specialCode
              setWhereClauseParams(params);
              System.out.println("DONE WITH " + this.getClass() + ".setParams()");
        catch(Exception ex)
              ex.printStackTrace(System.out);
      }the toSQLNumberList() method is defined in our App module baseclass as follows:
      public ARRAY toSQLNumberList(Collection coll)
           debug("toSQLNumberList()");
           DBTransaction txn = (DBTransaction)getTransaction();
           debug("txn - " + txn + " : " + txn.getClass());
           return NWSUtil.toSQLNumberList(coll, getConnection(txn));
      public static ARRAY toSQLNumberList(Collection c, Connection connection)
        //printTrace();
        debug("toSQLNumberList()");
        try
          ArrayDescriptor numberList = ArrayDescriptor.createDescriptor("NUMBERLIST", connection);
          NUMBER[] elements = new NUMBER[c == null ? 0 : c.size()];
          if (elements.length > 0 )
            Iterator iter = c.iterator();
            for (int i = 0; iter.hasNext(); i++)
              elements[i] = new NUMBER(iter.next().toString());
          return new ARRAY(numberList, connection, elements);
        catch (Exception ex)
          ex.printStackTrace();
          return null;
      protected Connection getConnection(DBTransaction dbTransaction)
        //return null;
        debug("Inside getConnection()");
        CallableStatement s = null;
        try
           * Getting Conenction in BC4J is dirty but its better
           * as otherwise we might end up coding with connections
           * and the Transaction Integrety will be
          s = dbTransaction.createCallableStatement("BEGIN NULL; END;", 0);
          debug("DOING s.getConnection()...");
          Connection conn = s.getConnection();
          debug("DONE WITH  s.getConnection()...");
          /*try
                throw new Exception("TEST");
           catch (Exception ex)
                ex.printStackTrace(System.out);
          debug("conn CLASS - " + conn.getClass());
          return conn;
        catch (Exception ex)
          ex.printStackTrace();
          return null;
        finally
          try { s.close(); }
          catch (Exception ex) {}
      }Whenever we try setting the parameters in view using setParams() and use this view to set the model of a java control it thorws the following exception :
    [2006-10-10 12:34:48,797 AWT-EventQueue-0 ERROR] JBO-28302: Piggyback write error
    oracle.jbo.PiggybackException: JBO-28302: Piggyback write error
         at oracle.jbo.common.PiggybackOutput.getPiggybackStream(PiggybackOutput.java:185)
         at oracle.jbo.common.JboServiceMessage.marshalRefs(JboServiceMessage.java:267)
         at oracle.jbo.server.remote.PiggybackManager.marshalServiceMessage(PiggybackManager.java:343)
         at oracle.jbo.server.remote.PiggybackManager.marshalServiceMessage(PiggybackManager.java:316)
         at oracle.jbo.server.remote.AbstractRemoteApplicationModuleImpl.processMessage(AbstractRemoteApplicationModuleImpl.java:2283)
         at oracle.jbo.server.ApplicationModuleImpl.doMessage(ApplicationModuleImpl.java:7509)
         at oracle.jbo.server.remote.AbstractRemoteApplicationModuleImpl.sync(AbstractRemoteApplicationModuleImpl.java:2221)
         at oracle.jbo.server.remote.ejb.ServerApplicationModuleImpl.doMessage(ServerApplicationModuleImpl.java:79)
         at oracle.jbo.server.ejb.SessionBeanImpl.doMessage(SessionBeanImpl.java:474)
         at sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
         at com.evermind.server.ejb.interceptor.system.TxBeanManagedInterceptor.invoke(TxBeanManagedInterceptor.java:53)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
         at com.evermind.server.ejb.StatefulSessionEJBObject.OC4J_invokeMethod(StatefulSessionEJBObject.java:840)
         at RemoteAMReservation_StatefulSessionBeanWrapper906.doMessage(RemoteAMReservation_StatefulSessionBeanWrapper906.java:286)
         at sun.reflect.GeneratedMethodAccessor63.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.evermind.server.rmi.RmiMethodCall.run(RmiMethodCall.java:53)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    ## Detail 0 ##
    java.io.NotSerializableException: oracle.jdbc.driver.T4CConnection
         at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1075)
         at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1369)
         at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1341)
         at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1284)
         at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1073)
         at java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1245)
         at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1069)
         at java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1245)
         at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1069)
         at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:291)
         at oracle.jbo.common.SvcMsgResponseValues.writeObject(SvcMsgResponseValues.java:116)
         at sun.reflect.GeneratedMethodAccessor65.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:890)
         at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1333)
         at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1284)
         at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1073)
         at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:291)
         at oracle.jbo.common.PiggybackOutput.getPiggybackStream(PiggybackOutput.java:173)
         at oracle.jbo.common.JboServiceMessage.marshalRefs(JboServiceMessage.java:267)
         at oracle.jbo.server.remote.PiggybackManager.marshalServiceMessage(PiggybackManager.java:343)
         at oracle.jbo.server.remote.PiggybackManager.marshalServiceMessage(PiggybackManager.java:316)
         at oracle.jbo.server.remote.AbstractRemoteApplicationModuleImpl.processMessage(AbstractRemoteApplicationModuleImpl.java:2283)
         at oracle.jbo.server.ApplicationModuleImpl.doMessage(ApplicationModuleImpl.java:7509)
         at oracle.jbo.server.remote.AbstractRemoteApplicationModuleImpl.sync(AbstractRemoteApplicationModuleImpl.java:2221)
         at oracle.jbo.server.remote.ejb.ServerApplicationModuleImpl.doMessage(ServerApplicationModuleImpl.java:79)
         at oracle.jbo.server.ejb.SessionBeanImpl.doMessage(SessionBeanImpl.java:474)
         at sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
         at com.evermind.server.ejb.interceptor.system.TxBeanManagedInterceptor.invoke(TxBeanManagedInterceptor.java:53)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
         at com.evermind.server.ejb.StatefulSessionEJBObject.OC4J_invokeMethod(StatefulSessionEJBObject.java:840)
         at RemoteAMReservation_StatefulSessionBeanWrapper906.doMessage(RemoteAMReservation_StatefulSessionBeanWrapper906.java:286)
         at sun.reflect.GeneratedMethodAccessor63.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.evermind.server.rmi.RmiMethodCall.run(RmiMethodCall.java:53)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)This is a typical interaction between 2 server-side components (view-object and app module). Now the question is why is this exception thrown? Any answers?
    This application is one that we have migrated from 904 to 1013 and are trying to get it running in 3-tier.
    Regards,
    Anupam

    Sorry I missed out some semicolons, the script follws:
    -- The following TABLE was created to simulate the issue
    CREATE TABLE TEST_OBJECT
         ASSET_ID NUMBER,
         OBJECT_ID NUMBER,
         NAME VARCHAR2(50)
    INSERT INTO TEST_OBJECT VALUES(1,1,'AAA');
    INSERT INTO TEST_OBJECT VALUES(2,2,'BBB');
    INSERT INTO TEST_OBJECT VALUES(3,3,'CCC');
    COMMIT;
    SELECT * FROM TEST_OBJECT;
    -- The following TYPES was created to simulate the issue
    CREATE OR REPLACE
    TYPE DUTYRESULTOBJECTTAB AS TABLE OF DUTYRESULTOBJECT;
    CREATE OR REPLACE
    type DutyResultObject as object
    ( ASSET_ID number,
      OBJECT_ID number,
      NAME varchar2(150)
    -- The following PACKAGE N FUNCTION was created to simulate the issue
    CREATE OR REPLACE PACKAGE TESTOBJECTPKG
    IS
         FUNCTION OBJECTSEARCH(P_RESOURCE IN NUMBERLIST) RETURN DUTYRESULTOBJECTTAB;
    END;
    CREATE OR REPLACE PACKAGE BODY TESTOBJECTPKG
    IS
         FUNCTION OBJECTSEARCH(P_RESOURCE IN NUMBERLIST) RETURN DUTYRESULTOBJECTTAB
         IS
           BULKDUTYRESULTOBJECTTAB DUTYRESULTOBJECTTAB;
         BEGIN
           SELECT DUTYRESULTOBJECT(ASSET_ID, OBJECT_ID, NAME)
           BULK COLLECT INTO BULKDUTYRESULTOBJECTTAB
           FROM TEST_OBJECT;
           RETURN BULKDUTYRESULTOBJECTTAB;
         END;
    END;
    [\code]                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Not able to read/write Clobdomain when using weblogic server.

    Hi,
    We have a view and one of its attribute is ClobDomain. Earliar we were using OC4J and had no problems in reading/writing this attribute using the entity object. Now we have migrated to Weblogic and the same clobdoamin is written empty. Also two records are inserted in the database. I thought it might be jdbc driver problem and tried to use ojdbc6 driver instead of default driver which is used by Weblogic. But still the same problem
    We are using,
    Jdev version- 10.1.3.4
    Weblogic 10.3
    I did lots of google but not find any solution.
    Below is the error we are getting.
    oracle.jbo.DMLException: JBO-26041: Failed to post data to database during "Insert": SQL Statement "null".
         at oracle.jbo.server.EntityImpl.doDMLWithLOBs(EntityImpl.java:5892)
         at oracle.jbo.server.EntityImpl.doDML(EntityImpl.java:5747)
         at com.sungard.entegrate.bc4j.base.BaseEntityImpl.doDML(BaseEntityImpl.java:230)
         at oracle.jbo.server.EntityImpl.postChanges(EntityImpl.java:4542)
         at oracle.jbo.server.DBTransactionImpl.doPostTransactionListeners(DBTransactionImpl.java:3000)
         at oracle.jbo.server.DBTransactionImpl.postChanges(DBTransactionImpl.java:2811)
         at oracle.jbo.server.DBTransactionImpl.commitInternal(DBTransactionImpl.java:1975)
         at oracle.jbo.server.DBTransactionImpl.commit(DBTransactionImpl.java:2177)
         at com.sungard.entegrate.bc4j.base.EntDBTransactionImpl2.commit(EntDBTransactionImpl2.java:130)
         at com.sungard.entegrate.bc4j.com.opr.UserJclientFormSettingsModuleImpl.saveSetting(UserJclientFormSettingsModuleImpl.java:238)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at oracle.jbo.server.remote.AbstractRemoteApplicationModuleImpl.dispatchMethod(AbstractRemoteApplicationModuleImpl.java:6279)
         at oracle.jbo.server.remote.AbstractRemoteApplicationModuleImpl.executeMethod(AbstractRemoteApplicationModuleImpl.java:6503)
         at oracle.jbo.server.remote.AbstractRemoteApplicationModuleImpl.processSvcMsgRequest(AbstractRemoteApplicationModuleImpl.java:4744)
         at oracle.jbo.server.remote.AbstractRemoteApplicationModuleImpl.processSvcMsgEntries(AbstractRemoteApplicationModuleImpl.java:4995)
         at oracle.jbo.server.remote.AbstractRemoteApplicationModuleImpl.readServiceMessage(AbstractRemoteApplicationModuleImpl.java:4176)
         at oracle.jbo.server.remote.AbstractRemoteApplicationModuleImpl.processMessage(AbstractRemoteApplicationModuleImpl.java:2255)
         at oracle.jbo.server.ApplicationModuleImpl.doMessage(ApplicationModuleImpl.java:7551)
         at oracle.jbo.server.remote.AbstractRemoteApplicationModuleImpl.sync(AbstractRemoteApplicationModuleImpl.java:2221)
         at oracle.jbo.server.remote.ejb.NestedApplicationModuleImpl.doMessage(NestedApplicationModuleImpl.java:34)
         at sun.reflect.GeneratedMethodAccessor112.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at oracle.jbo.server.remote.AbstractRemoteApplicationModuleImpl.dispatchMethod(AbstractRemoteApplicationModuleImpl.java:6279)
         at oracle.jbo.server.remote.AbstractRemoteApplicationModuleImpl.executeMethod(AbstractRemoteApplicationModuleImpl.java:6503)
         at oracle.jbo.server.remote.AbstractRemoteApplicationModuleImpl.processSvcMsgRequest(AbstractRemoteApplicationModuleImpl.java:4744)
         at oracle.jbo.server.remote.AbstractRemoteApplicationModuleImpl.processSvcMsgEntries(AbstractRemoteApplicationModuleImpl.java:4995)
         at oracle.jbo.server.remote.AbstractRemoteApplicationModuleImpl.readServiceMessage(AbstractRemoteApplicationModuleImpl.java:4176)
         at oracle.jbo.server.remote.AbstractRemoteApplicationModuleImpl.processMessage(AbstractRemoteApplicationModuleImpl.java:2255)
         at oracle.jbo.server.ApplicationModuleImpl.doMessage(ApplicationModuleImpl.java:7551)
         at oracle.jbo.server.remote.AbstractRemoteApplicationModuleImpl.sync(AbstractRemoteApplicationModuleImpl.java:2221)
         at oracle.jbo.server.remote.ejb.ServerApplicationModuleImpl.doMessage(ServerApplicationModuleImpl.java:79)
         at oracle.jbo.server.ejb.SessionBeanImpl.doMessage(SessionBeanImpl.java:477)
         at com.sungard.entegrate.etm.bc4j.base.system.server.ejb.beanmanaged.ContactsModuleBMBean_cm55ac_EOImpl.doMessage(ContactsModuleBMBean_cm55ac_EOImpl.java:69)
         at com.sungard.entegrate.etm.bc4j.base.system.server.ejb.beanmanaged.ContactsModuleBMBean_cm55ac_EOImpl_WLSkel.invoke(Unknown Source)
         at weblogic.rmi.internal.activation.ActivatableServerRef.invoke(ActivatableServerRef.java:85)
         at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:477)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
         at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:473)
         at weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.java:118)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    ## Detail 0 ##
    java.lang.NullPointerException
         at oracle.jbo.domain.ClobDomain.writeCharsToLob(ClobDomain.java:1219)
         at oracle.jbo.domain.ClobDomain.saveToDatabase(ClobDomain.java:364)
         at oracle.jbo.server.EntityImpl.doDMLWithLOBs(EntityImpl.java:5867)
         at oracle.jbo.server.EntityImpl.doDML(EntityImpl.java:5747)
         at com.sungard.entegrate.bc4j.base.BaseEntityImpl.doDML(BaseEntityImpl.java:230)
         at oracle.jbo.server.EntityImpl.postChanges(EntityImpl.java:4542)
         at oracle.jbo.server.DBTransactionImpl.doPostTransactionListeners(DBTransactionImpl.java:3000)
         at oracle.jbo.server.DBTransactionImpl.postChanges(DBTransactionImpl.java:2811)
         at oracle.jbo.server.DBTransactionImpl.commitInternal(DBTransactionImpl.java:1975)
         at oracle.jbo.server.DBTransactionImpl.commit(DBTransactionImpl.java:2177)
         at com.sungard.entegrate.bc4j.base.EntDBTransactionImpl2.commit(EntDBTransactionImpl2.java:130)
         at com.sungard.entegrate.bc4j.com.opr.UserJclientFormSettingsModuleImpl.saveSetting(UserJclientFormSettingsModuleImpl.java:238)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at oracle.jbo.server.remote.AbstractRemoteApplicationModuleImpl.dispatchMethod(AbstractRemoteApplicationModuleImpl.java:6279)
         at oracle.jbo.server.remote.AbstractRemoteApplicationModuleImpl.executeMethod(AbstractRemoteApplicationModuleImpl.java:6503)
         at oracle.jbo.server.remote.AbstractRemoteApplicationModuleImpl.processSvcMsgRequest(AbstractRemoteApplicationModuleImpl.java:4744)
         at oracle.jbo.server.remote.AbstractRemoteApplicationModuleImpl.processSvcMsgEntries(AbstractRemoteApplicationModuleImpl.java:4995)
         at oracle.jbo.server.remote.AbstractRemoteApplicationModuleImpl.readServiceMessage(AbstractRemoteApplicationModuleImpl.java:4176)
         at oracle.jbo.server.remote.AbstractRemoteApplicationModuleImpl.processMessage(AbstractRemoteApplicationModuleImpl.java:2255)
         at oracle.jbo.server.ApplicationModuleImpl.doMessage(ApplicationModuleImpl.java:7551)
         at oracle.jbo.server.remote.AbstractRemoteApplicationModuleImpl.sync(AbstractRemoteApplicationModuleImpl.java:2221)
         at oracle.jbo.server.remote.ejb.NestedApplicationModuleImpl.doMessage(NestedApplicationModuleImpl.java:34)
         at sun.reflect.GeneratedMethodAccessor112.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at oracle.jbo.server.remote.AbstractRemoteApplicationModuleImpl.dispatchMethod(AbstractRemoteApplicationModuleImpl.java:6279)
         at oracle.jbo.server.remote.AbstractRemoteApplicationModuleImpl.executeMethod(AbstractRemoteApplicationModuleImpl.java:6503)
         at oracle.jbo.server.remote.AbstractRemoteApplicationModuleImpl.processSvcMsgRequest(AbstractRemoteApplicationModuleImpl.java:4744)
         at oracle.jbo.server.remote.AbstractRemoteApplicationModuleImpl.processSvcMsgEntries(AbstractRemoteApplicationModuleImpl.java:4995)
         at oracle.jbo.server.remote.AbstractRemoteApplicationModuleImpl.readServiceMessage(AbstractRemoteApplicationModuleImpl.java:4176)
         at oracle.jbo.server.remote.AbstractRemoteApplicationModuleImpl.processMessage(AbstractRemoteApplicationModuleImpl.java:2255)
         at oracle.jbo.server.ApplicationModuleImpl.doMessage(ApplicationModuleImpl.java:7551)
         at oracle.jbo.server.remote.AbstractRemoteApplicationModuleImpl.sync(AbstractRemoteApplicationModuleImpl.java:2221)
         at oracle.jbo.server.remote.ejb.ServerApplicationModuleImpl.doMessage(ServerApplicationModuleImpl.java:79)
         at oracle.jbo.server.ejb.SessionBeanImpl.doMessage(SessionBeanImpl.java:477)
         at com.sungard.entegrate.etm.bc4j.base.system.server.ejb.beanmanaged.ContactsModuleBMBean_cm55ac_EOImpl.doMessage(ContactsModuleBMBean_cm55ac_EOImpl.java:69)
         at com.sungard.entegrate.etm.bc4j.base.system.server.ejb.beanmanaged.ContactsModuleBMBean_cm55ac_EOImpl_WLSkel.invoke(Unknown Source)
         at weblogic.rmi.internal.activation.ActivatableServerRef.invoke(ActivatableServerRef.java:85)
         at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:477)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
         at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:473)
         at weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.java:118)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Please help.

    On line 37 of your server code don't use available.

  • What's Wrong about deploy ADF BC to Standalone OC4J(10.1.3) as SessionEJB

    I feel very very angry !
    pls save me
    i have ever test an empty AppModule without any vo ,it works well. Then i added one VO into it ,it still work well. when i add another vo into it ,it does not work.
    all my appmodule deployed onto standalone oc4j occur the following errror.
    My Jdev is the newest version with service update 3.
    oc4j is 10.1.3
    external jdk is 1.5.0_06
    JBO-30003: The application pool (.10B6BBC3C78) 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: oracle.jbo.ApplicationModuleCreateException, msg=JBO-25222: Unable to create application module.
         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.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:397)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:392)
         at oracle.jbo.client.Configuration.getApplicationModule(Configuration.java:1542)
         at oracle.jbo.client.Configuration.createRootApplicationModuleFromConfig(Configuration.java:1515)
         at oracle.jbo.jbotester.ConnectionInfo.useApplicationModule(ConnectionInfo.java:129)
         at oracle.jbo.jbotester.MainFrame.init(MainFrame.java:410)
         at oracle.jbo.jbotester.MainFrame.main(MainFrame.java:394)
    ## Detail 0 ##
    oracle.jbo.JboException: JBO-29000: Unexpected exception caught: oracle.jbo.ApplicationModuleCreateException, msg=JBO-25222: Unable to create application module.
         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.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:397)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:392)
         at oracle.jbo.client.Configuration.getApplicationModule(Configuration.java:1542)
         at oracle.jbo.client.Configuration.createRootApplicationModuleFromConfig(Configuration.java:1515)
         at oracle.jbo.jbotester.ConnectionInfo.useApplicationModule(ConnectionInfo.java:129)
         at oracle.jbo.jbotester.MainFrame.init(MainFrame.java:410)
         at oracle.jbo.jbotester.MainFrame.main(MainFrame.java:394)
    ## Detail 0 ##
    oracle.jbo.ApplicationModuleCreateException: JBO-25222: Unable to create application module.
         at oracle.jbo.client.remote.ejb.ApplicationModuleProxy.doCreate(ApplicationModuleProxy.java:161)
         at oracle.jbo.client.remote.ejb.ApplicationModuleProxy.create(ApplicationModuleProxy.java:59)
         at oracle.jbo.client.remote.ejb.AbstractApplicationModuleHomeImpl.createRemoteEJBApplicationModuleProxy(AbstractApplicationModuleHomeImpl.java:44)
         at oracle.jbo.client.ejb.ApplicationModuleHomeImpl.create(ApplicationModuleHomeImpl.java:64)
         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.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:397)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:392)
         at oracle.jbo.client.Configuration.getApplicationModule(Configuration.java:1542)
         at oracle.jbo.client.Configuration.createRootApplicationModuleFromConfig(Configuration.java:1515)
         at oracle.jbo.jbotester.ConnectionInfo.useApplicationModule(ConnectionInfo.java:129)
         at oracle.jbo.jbotester.MainFrame.init(MainFrame.java:410)
         at oracle.jbo.jbotester.MainFrame.main(MainFrame.java:394)
    ## Detail 0 ##
    oracle.jbo.CustomClassNotFoundException: JBO-26023: Custom class com.kunteng.fabric.model.sys.services.SysMenuAppModuleImpl is not assignable to oracle.jbo.server.ApplicationModuleImpl
         at oracle.jbo.common.JBOClass.findCustomClass(JBOClass.java:191)
         at oracle.jbo.server.ApplicationModuleDefImpl.loadFromXML(ApplicationModuleDefImpl.java:836)
         at oracle.jbo.server.ApplicationModuleDefImpl.loadFromXML(ApplicationModuleDefImpl.java:770)
         at oracle.jbo.server.MetaObjectManager.loadFromXML(MetaObjectManager.java:535)
         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.ApplicationModuleDefImpl.findDefObject(ApplicationModuleDefImpl.java:232)
         at oracle.jbo.server.ApplicationModuleImpl.createRootApplicationModule(ApplicationModuleImpl.java:400)
         at oracle.jbo.server.remote.AbstractRemoteApplicationModuleImpl.createRootApplicationModule(AbstractRemoteApplicationModuleImpl.java:208)
         at oracle.jbo.server.remote.ejb.ServerApplicationModuleImpl.initAsRoot(ServerApplicationModuleImpl.java:138)
         at oracle.jbo.server.remote.ejb.ServerApplicationModuleImpl.createInstance(ServerApplicationModuleImpl.java:55)
         at oracle.jbo.server.ejb.SessionBeanImpl.createApplicationModule(SessionBeanImpl.java:400)
         at com.kunteng.fabric.model.sys.services.server.ejb.beanmanaged.SysMenuAppModuleServer.ejbCreate(SysMenuAppModuleServer.java:79)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
         at com.evermind.server.ejb.interceptor.system.SetContextActionInterceptor.invoke(SetContextActionInterceptor.java:34)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
         at com.evermind.server.ejb.interceptor.system.StatefulCreateInterceptor.invoke(StatefulCreateInterceptor.java:45)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
         at com.evermind.server.ejb.interceptor.system.TxSupportsInterceptor.invoke(TxSupportsInterceptor.java:37)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
         at com.evermind.server.ejb.interceptor.system.RunningStateInterceptor.invoke(RunningStateInterceptor.java:33)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
         at com.evermind.server.ejb.AbstractEJBHome.OC4J_invokeMethod(AbstractEJBHome.java:742)
         at SysMenuAppModuleHome_StatefulSessionHomeWrapper35.create(SysMenuAppModuleHome_StatefulSessionHomeWrapper35.java:37)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.evermind.server.rmi.RmiMethodCall.run(RmiMethodCall.java:53)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)
         at java.lang.Thread.run(Thread.java:595)
    ----- LEVEL 1: DETAIL 0 -----
    oracle.jbo.JboException: JBO-29000: Unexpected exception caught: oracle.jbo.JboException, msg=JBO-29000: Unexpected exception caught: oracle.jbo.ApplicationModuleCreateException, msg=JBO-25222: Unable to create application module.
         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.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:397)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:392)
         at oracle.jbo.client.Configuration.getApplicationModule(Configuration.java:1542)
         at oracle.jbo.client.Configuration.createRootApplicationModuleFromConfig(Configuration.java:1515)
         at oracle.jbo.jbotester.ConnectionInfo.useApplicationModule(ConnectionInfo.java:129)
         at oracle.jbo.jbotester.MainFrame.init(MainFrame.java:410)
         at oracle.jbo.jbotester.MainFrame.main(MainFrame.java:394)
    ## Detail 0 ##
    oracle.jbo.JboException: JBO-29000: Unexpected exception caught: oracle.jbo.ApplicationModuleCreateException, msg=JBO-25222: Unable to create application module.
         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.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:397)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:392)
         at oracle.jbo.client.Configuration.getApplicationModule(Configuration.java:1542)
         at oracle.jbo.client.Configuration.createRootApplicationModuleFromConfig(Configuration.java:1515)
         at oracle.jbo.jbotester.ConnectionInfo.useApplicationModule(ConnectionInfo.java:129)
         at oracle.jbo.jbotester.MainFrame.init(MainFrame.java:410)
         at oracle.jbo.jbotester.MainFrame.main(MainFrame.java:394)
    ## Detail 0 ##
    oracle.jbo.ApplicationModuleCreateException: JBO-25222: Unable to create application module.
         at oracle.jbo.client.remote.ejb.ApplicationModuleProxy.doCreate(ApplicationModuleProxy.java:161)
         at oracle.jbo.client.remote.ejb.ApplicationModuleProxy.create(ApplicationModuleProxy.java:59)
         at oracle.jbo.client.remote.ejb.AbstractApplicationModuleHomeImpl.createRemoteEJBApplicationModuleProxy(AbstractApplicationModuleHomeImpl.java:44)
         at oracle.jbo.client.ejb.ApplicationModuleHomeImpl.create(ApplicationModuleHomeImpl.java:64)
         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.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:397)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:392)
         at oracle.jbo.client.Configuration.getApplicationModule(Configuration.java:1542)
         at oracle.jbo.client.Configuration.createRootApplicationModuleFromConfig(Configuration.java:1515)
         at oracle.jbo.jbotester.ConnectionInfo.useApplicationModule(ConnectionInfo.java:129)
         at oracle.jbo.jbotester.MainFrame.init(MainFrame.java:410)
         at oracle.jbo.jbotester.MainFrame.main(MainFrame.java:394)
    ## Detail 0 ##
    oracle.jbo.CustomClassNotFoundException: JBO-26023: Custom class com.kunteng.fabric.model.sys.services.SysMenuAppModuleImpl is not assignable to oracle.jbo.server.ApplicationModuleImpl
         at oracle.jbo.common.JBOClass.findCustomClass(JBOClass.java:191)
         at oracle.jbo.server.ApplicationModuleDefImpl.loadFromXML(ApplicationModuleDefImpl.java:836)
         at oracle.jbo.server.ApplicationModuleDefImpl.loadFromXML(ApplicationModuleDefImpl.java:770)
         at oracle.jbo.server.MetaObjectManager.loadFromXML(MetaObjectManager.java:535)
         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.ApplicationModuleDefImpl.findDefObject(ApplicationModuleDefImpl.java:232)
         at oracle.jbo.server.ApplicationModuleImpl.createRootApplicationModule(ApplicationModuleImpl.java:400)
         at oracle.jbo.server.remote.AbstractRemoteApplicationModuleImpl.createRootApplicationModule(AbstractRemoteApplicationModuleImpl.java:208)
         at oracle.jbo.server.remote.ejb.ServerApplicationModuleImpl.initAsRoot(ServerApplicationModuleImpl.java:138)
         at oracle.jbo.server.remote.ejb.ServerApplicationModuleImpl.createInstance(ServerApplicationModuleImpl.java:55)
         at oracle.jbo.server.ejb.SessionBeanImpl.createApplicationModule(SessionBeanImpl.java:400)
         at com.kunteng.fabric.model.sys.services.server.ejb.beanmanaged.SysMenuAppModuleServer.ejbCreate(SysMenuAppModuleServer.java:79)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
         at com.evermind.server.ejb.interceptor.system.SetContextActionInterceptor.invoke(SetContextActionInterceptor.java:34)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
         at com.evermind.server.ejb.interceptor.system.StatefulCreateInterceptor.invoke(StatefulCreateInterceptor.java:45)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
         at com.evermind.server.ejb.interceptor.system.TxSupportsInterceptor.invoke(TxSupportsInterceptor.java:37)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
         at com.evermind.server.ejb.interceptor.system.RunningStateInterceptor.invoke(RunningStateInterceptor.java:33)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
         at com.evermind.server.ejb.AbstractEJBHome.OC4J_invokeMethod(AbstractEJBHome.java:742)
         at SysMenuAppModuleHome_StatefulSessionHomeWrapper35.create(SysMenuAppModuleHome_StatefulSessionHomeWrapper35.java:37)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.evermind.server.rmi.RmiMethodCall.run(RmiMethodCall.java:53)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)
         at java.lang.Thread.run(Thread.java:595)
    ----- LEVEL 2: DETAIL 0 -----
    oracle.jbo.JboException: JBO-29000: Unexpected exception caught: oracle.jbo.ApplicationModuleCreateException, msg=JBO-25222: Unable to create application module.
         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.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:397)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:392)
         at oracle.jbo.client.Configuration.getApplicationModule(Configuration.java:1542)
         at oracle.jbo.client.Configuration.createRootApplicationModuleFromConfig(Configuration.java:1515)
         at oracle.jbo.jbotester.ConnectionInfo.useApplicationModule(ConnectionInfo.java:129)
         at oracle.jbo.jbotester.MainFrame.init(MainFrame.java:410)
         at oracle.jbo.jbotester.MainFrame.main(MainFrame.java:394)
    ## Detail 0 ##
    oracle.jbo.ApplicationModuleCreateException: JBO-25222: Unable to create application module.
         at oracle.jbo.client.remote.ejb.ApplicationModuleProxy.doCreate(ApplicationModuleProxy.java:161)
         at oracle.jbo.client.remote.ejb.ApplicationModuleProxy.create(ApplicationModuleProxy.java:59)
         at oracle.jbo.client.remote.ejb.AbstractApplicationModuleHomeImpl.createRemoteEJBApplicationModuleProxy(AbstractApplicationModuleHomeImpl.java:44)
         at oracle.jbo.client.ejb.ApplicationModuleHomeImpl.create(ApplicationModuleHomeImpl.java:64)
         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.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:397)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:392)
         at oracle.jbo.client.Configuration.getApplicationModule(Configuration.java:1542)
         at oracle.jbo.client.Configuration.createRootApplicationModuleFromConfig(Configuration.java:1515)
         at oracle.jbo.jbotester.ConnectionInfo.useApplicationModule(ConnectionInfo.java:129)
         at oracle.jbo.jbotester.MainFrame.init(MainFrame.java:410)
         at oracle.jbo.jbotester.MainFrame.main(MainFrame.java:394)
    ## Detail 0 ##
    oracle.jbo.CustomClassNotFoundException: JBO-26023: Custom class com.kunteng.fabric.model.sys.services.SysMenuAppModuleImpl is not assignable to oracle.jbo.server.ApplicationModuleImpl
         at oracle.jbo.common.JBOClass.findCustomClass(JBOClass.java:191)
         at oracle.jbo.server.ApplicationModuleDefImpl.loadFromXML(ApplicationModuleDefImpl.java:836)
         at oracle.jbo.server.ApplicationModuleDefImpl.loadFromXML(ApplicationModuleDefImpl.java:770)
         at oracle.jbo.server.MetaObjectManager.loadFromXML(MetaObjectManager.java:535)
         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.ApplicationModuleDefImpl.findDefObject(ApplicationModuleDefImpl.java:232)
         at oracle.jbo.server.ApplicationModuleImpl.createRootApplicationModule(ApplicationModuleImpl.java:400)
         at oracle.jbo.server.remote.AbstractRemoteApplicationModuleImpl.createRootApplicationModule(AbstractRemoteApplicationModuleImpl.java:208)
         at oracle.jbo.server.remote.ejb.ServerApplicationModuleImpl.initAsRoot(ServerApplicationModuleImpl.java:138)
         at oracle.jbo.server.remote.ejb.ServerApplicationModuleImpl.createInstance(ServerApplicationModuleImpl.java:55)
         at oracle.jbo.server.ejb.SessionBeanImpl.createApplicationModule(SessionBeanImpl.java:400)
         at com.kunteng.fabric.model.sys.services.server.ejb.beanmanaged.SysMenuAppModuleServer.ejbCreate(SysMenuAppModuleServer.java:79)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
         at com.evermind.server.ejb.interceptor.system.SetContextActionInterceptor.invoke(SetContextActionInterceptor.java:34)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
         at com.evermind.server.ejb.interceptor.system.StatefulCreateInterceptor.invoke(StatefulCreateInterceptor.java:45)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
         at com.evermind.server.ejb.interceptor.system.TxSupportsInterceptor.invoke(TxSupportsInterceptor.java:37)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
         at com.evermind.server.ejb.interceptor.system.RunningStateInterceptor.invoke(RunningStateInterceptor.java:33)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
         at com.evermind.server.ejb.AbstractEJBHome.OC4J_invokeMethod(AbstractEJBHome.java:742)
         at SysMenuAppModuleHome_StatefulSessionHomeWrapper35.create(SysMenuAppModuleHome_StatefulSessionHomeWrapper35.java:37)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.evermind.server.rmi.RmiMethodCall.run(RmiMethodCall.java:53)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)
         at java.lang.Thread.run(Thread.java:595)
    ----- LEVEL 3: DETAIL 0 -----
    oracle.jbo.ApplicationModuleCreateException: JBO-25222: Unable to create application module.
         at oracle.jbo.client.remote.ejb.ApplicationModuleProxy.doCreate(ApplicationModuleProxy.java:161)
         at oracle.jbo.client.remote.ejb.ApplicationModuleProxy.create(ApplicationModuleProxy.java:59)
         at oracle.jbo.client.remote.ejb.AbstractApplicationModuleHomeImpl.createRemoteEJBApplicationModuleProxy(AbstractApplicationModuleHomeImpl.java:44)
         at oracle.jbo.client.ejb.ApplicationModuleHomeImpl.create(ApplicationModuleHomeImpl.java:64)
         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.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:397)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:392)
         at oracle.jbo.client.Configuration.getApplicationModule(Configuration.java:1542)
         at oracle.jbo.client.Configuration.createRootApplicationModuleFromConfig(Configuration.java:1515)
         at oracle.jbo.jbotester.ConnectionInfo.useApplicationModule(ConnectionInfo.java:129)
         at oracle.jbo.jbotester.MainFrame.init(MainFrame.java:410)
         at oracle.jbo.jbotester.MainFrame.main(MainFrame.java:394)
    ## Detail 0 ##
    oracle.jbo.CustomClassNotFoundException: JBO-26023: Custom class com.kunteng.fabric.model.sys.services.SysMenuAppModuleImpl is not assignable to oracle.jbo.server.ApplicationModuleImpl
         at oracle.jbo.common.JBOClass.findCustomClass(JBOClass.java:191)
         at oracle.jbo.server.ApplicationModuleDefImpl.loadFromXML(ApplicationModuleDefImpl.java:836)
         at oracle.jbo.server.ApplicationModuleDefImpl.loadFromXML(ApplicationModuleDefImpl.java:770)
         at oracle.jbo.server.MetaObjectManager.loadFromXML(MetaObjectManager.java:535)
         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.ApplicationModuleDefImpl.findDefObject(ApplicationModuleDefImpl.java:232)
         at oracle.jbo.server.ApplicationModuleImpl.createRootApplicationModule(ApplicationModuleImpl.java:400)
         at oracle.jbo.server.remote.AbstractRemoteApplicationModuleImpl.createRootApplicationModule(AbstractRemoteApplicationModuleImpl.java:208)
         at oracle.jbo.server.remote.ejb.ServerApplicationModuleImpl.initAsRoot(ServerApplicationModuleImpl.java:138)
         at oracle.jbo.server.remote.ejb.ServerApplicationModuleImpl.createInstance(ServerApplicationModuleImpl.java:55)
         at oracle.jbo.server.ejb.SessionBeanImpl.createApplicationModule(SessionBeanImpl.java:400)
         at com.kunteng.fabric.model.sys.services.server.ejb.beanmanaged.SysMenuAppModuleServer.ejbCreate(SysMenuAppModuleServer.java:79)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
         at com.evermind.server.ejb.interceptor.system.SetContextActionInterceptor.invoke(SetContextActionInterceptor.java:34)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
         at com.evermind.server.ejb.interceptor.system.StatefulCreateInterceptor.invoke(StatefulCreateInterceptor.java:45)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
         at com.evermind.server.ejb.interceptor.system.TxSupportsInterceptor.invoke(TxSupportsInterceptor.java:37)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
         at com.evermind.server.ejb.interceptor.system.RunningStateInterceptor.invoke(RunningStateInterceptor.java:33)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
         at com.evermind.server.ejb.AbstractEJBHome.OC4J_invokeMethod(AbstractEJBHome.java:742)
         at SysMenuAppModuleHome_StatefulSessionHomeWrapper35.create(SysMenuAppModuleHome_StatefulSessionHomeWrapper35.java:37)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.evermind.server.rmi.RmiMethodCall.run(RmiMethodCall.java:53)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)
         at java.lang.Thread.run(Thread.java:595)
    ----- LEVEL 4: DETAIL 0 -----
    oracle.jbo.CustomClassNotFoundException: JBO-26023: Custom class com.kunteng.fabric.model.sys.services.SysMenuAppModuleImpl is not assignable to oracle.jbo.server.ApplicationModuleImpl
         at oracle.jbo.common.JBOClass.findCustomClass(JBOClass.java:191)
         at oracle.jbo.server.ApplicationModuleDefImpl.loadFromXML(ApplicationModuleDefImpl.java:836)
         at oracle.jbo.server.ApplicationModuleDefImpl.loadFromXML(ApplicationModuleDefImpl.java:770)
         at oracle.jbo.server.MetaObjectManager.loadFromXML(MetaObjectManager.java:535)
         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.ApplicationModuleDefImpl.findDefObject(ApplicationModuleDefImpl.java:232)
         at oracle.jbo.server.ApplicationModuleImpl.createRootApplicationModule(ApplicationModuleImpl.java:400)
         at oracle.jbo.server.remote.AbstractRemoteApplicationModuleImpl.createRootApplicationModule(AbstractRemoteApplicationModuleImpl.java:208)
         at oracle.jbo.server.remote.ejb.ServerApplicationModuleImpl.initAsRoot(ServerApplicationModuleImpl.java:138)
         at oracle.jbo.server.remote.ejb.ServerApplicationModuleImpl.createInstance(ServerApplicationModuleImpl.java:55)
         at oracle.jbo.server.ejb.SessionBeanImpl.createApplicationModule(SessionBeanImpl.java:400)
         at com.kunteng.fabric.model.sys.services.server.ejb.beanmanaged.SysMenuAppModuleServer.ejbCreate(SysMenuAppModuleServer.java:79)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
         at com.evermind.server.ejb.interceptor.system.SetContextActionInterceptor.invoke(SetContextActionInterceptor.java:34)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
         at com.evermind.server.ejb.interceptor.system.StatefulCreateInterceptor.invoke(StatefulCreateInterceptor.java:45)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
         at com.evermind.server.ejb.interceptor.system.TxSupportsInterceptor.invoke(TxSupportsInterceptor.java:37)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
         at com.evermind.server.ejb.interceptor.system.RunningStateInterceptor.invoke(RunningStateInterceptor.java:33)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
         at com.evermind.server.ejb.AbstractEJBHome.OC4J_invokeMethod(AbstractEJBHome.java:742)
         at SysMenuAppModuleHome_StatefulSessionHomeWrapper35.create(SysMenuAppModuleHome_StatefulSessionHomeWrapper35.java:37)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.evermind.server.rmi.RmiMethodCall.run(RmiMethodCall.java:53)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)
         at java.lang.Thread.run(Thread.java:595)

    i found it will be failure when AM contains a VO with ViewLink , whereas it will be all right when AM contains VO without ViewLink.
    the err information is ,
    (oracle.jbo.common.ampool.ApplicationPoolException) JBO-30003: The application pool (.10B6EC36198) failed to checkout an application module due to the following exception:
    ----- LEVEL 1: DETAIL 0 -----
    (oracle.jbo.JboException) JBO-29000: Unexpected exception caught: oracle.jbo.JboException, msg=JBO-29000: Unexpected exception caught: oracle.jbo.ApplicationModuleCreateException, msg=JBO-25222: Unable to create application module.
    ----- LEVEL 2: DETAIL 0 -----
    (oracle.jbo.JboException) JBO-29000: Unexpected exception caught: oracle.jbo.ApplicationModuleCreateException, msg=JBO-25222: Unable to create application module.
    ----- LEVEL 3: DETAIL 0 -----
    (oracle.jbo.ApplicationModuleCreateException) JBO-25222: Unable to create application module.
    ----- LEVEL 4: DETAIL 0 -----
    (oracle.jbo.CustomClassNotFoundException) JBO-26023: Custom class com.kunteng.fabric.model.base.dataobjects.BaseTabCustomerFabricImpl is not assignable to oracle.jbo.server.EntityImpl

Maybe you are looking for

  • OBPM 11.1.1.4 - Task details not shown in Process Workspace

    Hi All On my laptop, OBPM 11.1.1.4 is running (XE+11.1.1.4 with AdminServer at 7001,7002 and soa_server1 at 9001,9002). I am trying sales demo. In the process workspace, I can click on applicaiton name which opens a new window and let me enter detail

  • Help with inserting a list element in a Web page

    Hello, I�m a newbie. I want to introduce an element list in a web page. I have source that creates a List as a standalone application (with a main procedure..) , through the JList class, but I want this list to appear integrated in the web page. How

  • The keys on my laptop are smeared and ugly.. how did this happen??

    I love my laptop HP G60-243CL Notebook PC .. and do not want to give it up, even to get the keys replaced. I have been an HP client since my first desktop computer in 1995, but am very disappointed that the keys are smeared, almost impossible to type

  • How to pass Shopping cart currency to  PO  SRM 7.0

    Hi , How to pass Shopping cart currency to Po(insted of vendor master currency). Please help if there is a BADI or work around for solving the issue. Thanks & Regards, Sai

  • I can't connect in iCloud with me appleID on my Macbook

    my mac don't want to connect me to iCloud with me apple ID and my password. (the same i used to get here and he worked) I've tried to change 3 times of password. If someone can help me it would be great, i've installed OSX Lion just for iCloud... so