90 seconds to start bc4j application

Its taking over 90 seconds for our bc4j application to start. It takes 30 seconds to display the 8 rows in the child table when a new master row is selected.
The master table has 28,000 rows, the child table as 250,000 rows. IE 8 child rows per parent row.
It appears that its loading all the records. Is there a way to fetch the child records when the master record is selected?
Is the architeture of bc4j explained in the documentation some where (and I missed it)?
How I know what types of applications bc4j is not appropriate for?
How so I know what options I have to improve the preformance to an acceptable level? Is it documented somewhere?

You find some notes on designing applications on this board that indicate setting a default query like " 1=0 " so that it will avoid even touching an index on startup... ( The Find Panel may not work anymore, since it appears to tack on the 1=0 check(3.1)... and don't due this to details in a master-detail relationship...or LOVs... but I brought startup down from 3+ minutes to about 40 seconds... )
...then writing a custom "find" that sets the specific "WHERE" for the rowset:
public static void findRMA ( String val ) {
CRRData.setQueryCondition("ReturnHeader.RMA_Number = '"+ val + "'");
CRRData.executeQuery();
... there are lots of ways to skin this cat... but it's a design issue on how the tools are used by the programmer.
Good Luck
null

Similar Messages

  • Acrobat 8 Professional crashes 10 seconds after you start the application xp

    Acrobat 8 Professional crashes 10 seconds after you start the application. I have adobe acrobat 8.1 running on a dell vostro 1400 vista.

    Are you sure it's crashed and not 'temporarily-frozen'?
    I'm having this issue with Acrobat 9, in which it launches and runs long enough to page down two times and then stops responding for about 30 seconds.

  • Gnome-Shell 3.8 freezes a few seconds when i start an application.

    Hi!
    I've been using GnomeShell for abount 1 year now. But there is an pretty anoying thing with it. When i open (for example google-chrome) the clock stops and i cant click on anything for about 3 seconds. But not only when i start an application but also randomly when i busy with developing PHP etc. Is this an known issue? And is there a way to fix it?
    Cheers,
    Kevin

    I can confirm this issue partially. When I try to search for the application, I type a few letters (depends on the speed of typing) and Gnome freezes for a few seconds.
    Probably
    extra/tracker
    is the cause.
    Edit:
    I have removed tracker, gnome-photos, gnome-documents, but with no luck - it still lags. I did the trick with:
    top > /tmp/top
    and proceed everything again. This shown me that the problem was gnome-contacts, which went to the ~70% CPU.
    I removed it as well and everything works fine now.
    Last edited by hsz (2013-06-05 19:49:14)

  • How to start a application with a login window?

    hi there
    does anyone have any idea on how to start an application with a login window? a login window is the first frame or window to be displayed when an application starts running. and only correct login id and password have been entered the real application will start. any sample out there? thank you.

    You can start a new thread by making a thread object and passing it an implementation of a runnable object. Runnable has just one method, public void run(), this is was gets executed in a second thread. perhaps the code you would use would look something like this.
    <code>
    // set up thread for login window
    new Thread(new Runnable() {
    public void run() {
    // construct your login window here
    // when you are done processing the
    // password....
    if(goodPassword) {
    authorized = true; // a global variable
    notifyAll(); // don't forget this
    else {
    System.exit(42);
    }).start();
    // control does not stop this code gets executed while
    // the above thread is running.
    // Set up main program here. This is done in the
    // backround.
    while(!authorized) {
    synchronized(this)
    { wait(50); }
    // now when the user logs in this frame pops
    // up real quick.
    myFrame.setVisible(true);
    </code>
    Hope you can figure it out.. good luck :)

  • 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?

  • Can not Start Oracle Application Server ORB process

    I have just installed Oracle Application Server (OAS) on my
    machine running Windows NT 4.0 Workstation. When I logon to the
    OAS manager and tried to start ORB, I got below error message:
    Please wait while the command is being processed on host ssoh_x
    YOT-11034, Unable to make address: IP://ssoh_x.jgfhome:2649.
    Error: YT::EXCEPTION::BADPARAM::NOSUCHADDR
    Starting ORB processes...Returning filename D:
    \orant\orb\admin\.event
    waiting for ORB to be ready...
    YOT-11034, Unable to make address: IP://ssoh_x.jgfhome:2649.
    Error: YT::EXCEPTION::BADPARAM::NOSUCHADDR
    ORB is not responding. Please restart manually...
    I have tried to re-install OAS for the second time. But I still
    got the same problem.
    I plan to use the OAS, together with Oracle Internet Commerce
    Server (ICS) to develop an e-commerce project. I am yet to
    download and install the ICS. I don't have any Oracle databases
    installed in my machine. I'm using MS SQL Server 7.0 instead.
    Please advised me on how to configure the ORB so that I'll be
    able to start the application server.
    null

    Hi,
    Sock Hoon (guest) wrote:
    : I have just installed Oracle Application Server (OAS) on my
    : machine running Windows NT 4.0 Workstation. When I logon to the
    OAS don't run on Win NT with installed service pack 4.
    Go back to service pack 3 or apply patch from Developer 6.0 to
    OAS.
    : OAS manager and tried to start ORB, I got below error message:
    : Please wait while the command is being processed on host ssoh_x
    : YOT-11034, Unable to make address: IP://ssoh_x.jgfhome:2649.
    : Error: YT::EXCEPTION::BADPARAM::NOSUCHADDR
    : Starting ORB processes...Returning filename D:
    : \orant\orb\admin\.event
    : waiting for ORB to be ready...
    : YOT-11034, Unable to make address: IP://ssoh_x.jgfhome:2649.
    : Error: YT::EXCEPTION::BADPARAM::NOSUCHADDR
    : ORB is not responding. Please restart manually...
    : I have tried to re-install OAS for the second time. But I still
    : got the same problem.
    : I plan to use the OAS, together with Oracle Internet Commerce
    : Server (ICS) to develop an e-commerce project. I am yet to
    : download and install the ICS. I don't have any Oracle databases
    : installed in my machine. I'm using MS SQL Server 7.0 instead.
    : Please advised me on how to configure the ORB so that I'll be
    : able to start the application server.
    Best regards Andrew
    null

  • Thunderbird crashes within seconds after starting, even when I completely reinstall it. Caused by Facebook Photo Uploader" (fbplugin)

    The basics: Mac OS X 10.10.1 Yosemite, 10 GB RAM. Thunderbird version 31.3.0 (though the same thing happens when I try earlier and later versions).
    Symptom: Thunderbird crashes within a few seconds of starting it up. I have enough time click on a menu or two, perhaps glance at a message, then it crashes.
    Attempted solutions:
    - Starting Thunderbird in Safe Mode.
    - Starting the Mac in Safe Mode.
    - Deleting ~/Library/Preferences/org.mozilla.thunderbird.plist and ~/Library/Preferences/Thunderbird, deleting the Thunderbird application, emptying the trash, and reinstalling Thunderbird from mozilla.org.
    - Using Yosemite Cache Cleaner to scan the hard drive for viruses, and to deep-clean all System and User caches.
    - Booting from the Recovery partition, repairing disk permission, and repairing the filesystem.
    The only time Thunderbird has semi-stable is just after I've deleted all preferences, started it up, and I do the initial set-up for my e-mail account. Everything appears normal, and my list of IMAP folders appears. But shortly after that Thunderbird crashes again, and keeps crashing at every subsequent restart.
    This is a problem that developed last Wednesday, Dec 24; prior to that the program ran just fine. No other program on my computer at work is showing these symptoms. Thunderbird works on my Macintosh at home (same software versions) and on my Linux computer at work.
    I'm at a loss of what to try next. Any ideas?

    Or you can try Earlybird from https://www.mozilla.org/en-US/thunderbird/channel/ which should have the patch from https://bugzilla.mozilla.org/show_bug.cgi?id=1086977

  • Slow startup & shut down on new iPod Touch 4G but it takes 40 seconds to start!!

    Hello,
    Just bought a new iPod Touch 4G (32GB) two weeks ago and from day 1 it takes forever to start up!   Usually about 40 seconds to start up and 30 seconds to shut down.   My son's 8GB starts up right away.   I've been a longtime Apple customer, but bugs like this are annoying.   Is this a reflection of that $150 million that Microsoft invested in Apple years ago?    

    I would get Applejack 1.5; just do a google for it. In stall it.
    Restart holding down the Command(Apple) + s key; until you see white lettering on black background.
    When you get to a prompt type the following: "applejack auto" no quotes; hit return and let it do its thing. If that doesn't fix it I would restart again Holding down the keys mentioned and type the following applejack AUTO and hit return.
    Best free application I have ever used. First thing use when trouble shooting.
    It will wipe out your desktop picture pref. only thing I have ever found that it does.

  • Server0 is taking more than one hr to start the applications

    we are in the meddile of tht sp19 uppgrade for portal server.
    when SDM is restarting the J2ee process, all of the them are not coming up
    and server0 process is taking lots of lots of time to start the applications.
    pls cud any one let me know wht to do
    Thank you
    Mallesh.

    It isn't, something has gone awry. Hold the power button for about 10 seconds to perform a forced shutdown. Then restart as normal. When you turn to the System Preferences, Users and Groups tab you will probably find that the account was deleted. But it may not be. If you chose the option to delete the user's folder, make sure that it is indeed deleted. It will probably be a good idea to start in recovery mode - restart holding the command R key - and use Disk Utility to repair the hard drive, just in case.

  • Unable to start Oracle Application services on Apps Tier12.1.3

    Hi,
    I've configured a Apps Tier on AWS, it was up and successfully running.
    I stopped it using Execute $INST_TOP/admin/scripts/adstpall.sh
    When I'm trying to start it again using $INST_TOP/admin/scripts/adstrtal.sh , it is failing with :
    [Service Control Execution Report]
    The report format is:
    <Service Group> <Service> <Script> <Status>
    Root Service Enabled
    Root Service Oracle Process Manager for VISION_ip-10-189-119-235 adopmnctl.sh Started
    Web Entry Point Services Enabled
    Web Entry Point Services Oracle HTTP Server VISION_ip-10-189-119-235 adapcctl.sh Started
    Web Entry Point Services OracleTNSListenerAPPS_VISION_ip-10-189-119-235 adalnctl.sh Already Started
    Web Application Services Enabled
    Web Application Services OACORE OC4J Instance VISION_ip-10-189-119-235 adoacorectl.sh Failed
    Web Application Services FORMS OC4J Instance VISION_ip-10-189-119-235 adformsctl.sh Failed
    Web Application Services OAFM OC4J Instance VISION_ip-10-189-119-235 adoafmctl.sh Failed
    Batch Processing Services Enabled
    Batch Processing Services OracleConcMgrVISION_ip-10-189-119-235 adcmctl.sh Started
    Batch Processing Services Oracle Fulfillment Server VISION_ip-10-189-119-235 jtffmctl.sh Started
    Other Services Disabled
    Other Services OracleFormsServer-Forms VISION_ip-10-189-119-235 adformsrvctl.sh Disabled
    Other Services Oracle Metrics Client VISION_ip-10-189-119-235 adfmcctl.sh Disabled
    Other Services Oracle Metrics Server VISION_ip-10-189-119-235 adfmsctl.sh Disabled
    Other Services Oracle MWA Service VISION_ip-10-189-119-235 mwactlwrpr.sh Disabled
    ServiceControl is exiting with status 3
    09/20/12-01:19:38 :: You are running adstrtal.sh version 120.15.12010000.3
    =================================================================
    I've attached here the complete log for your reference.
    Amit

    Complete adstrtal.log :
    =================================================================
    09/20/12-01:19:33 :: You are running adstrtal.sh version 120.15.12010000.3
    Setting Service Group Root Service to mode 2
    Setting Service Group Web Entry Point Services to mode 2
    Setting Service Group Web Application Services to mode 2
    Setting Service Group Batch Processing Services to mode 2
    Service Group Other Services is disabled.
    Executing service control script:
    /u01/E-BIZ/inst/apps/VISION_ip-10-189-119-235/admin/scripts/adopmnctl.sh start
    Timeout specified in context file: 100 second(s)
    script returned:
    You are running adopmnctl.sh version 120.6.12010000.5
    Starting Oracle Process Manager (OPMN) ...
    opmnctl: opmn is already running.
    adopmnctl.sh: exiting with status 0
    adopmnctl.sh: check the logfile /u01/E-BIZ/inst/apps/VISION_ip-10-189-119-235/logs/appl/admin/log/adopmnctl.txt for more information ...
    .end std out.
    .end err out.
    Executing service control script:
    /u01/E-BIZ/inst/apps/VISION_ip-10-189-119-235/admin/scripts/adalnctl.sh start
    Timeout specified in context file: 100 second(s)
    script returned:
    adalnctl.sh version 120.3
    Checking for FNDFS executable.
    Listener APPS_VISION has already been started.
    adalnctl.sh: exiting with status 2
    adalnctl.sh: check the logfile /u01/E-BIZ/inst/apps/VISION_ip-10-189-119-235/logs/appl/admin/log/adalnctl.txt for more information ...
    .end std out.
    .end err out.
    Executing service control script:
    /u01/E-BIZ/inst/apps/VISION_ip-10-189-119-235/admin/scripts/adapcctl.sh start
    Timeout specified in context file: 100 second(s)
    script returned:
    You are running adapcctl.sh version 120.7.12010000.2
    Starting OPMN managed Oracle HTTP Server (OHS) instance ...
    opmnctl: opmn is already running.
    opmnctl: starting opmn managed processes...
    ================================================================================
    opmn id=ip-10-189-119-235.ec2.internal:6201
    no processes or applications matched this request
    adapcctl.sh: exiting with status 0
    adapcctl.sh: check the logfile /u01/E-BIZ/inst/apps/VISION_ip-10-189-119-235/logs/appl/admin/log/adapcctl.txt for more information ...
    .end std out.
    .end err out.
    Executing service control script:
    /u01/E-BIZ/inst/apps/VISION_ip-10-189-119-235/admin/scripts/adoacorectl.sh start
    Timeout specified in context file: 100 second(s)
    script returned:
    You are running adoacorectl.sh version 120.13
    Starting OPMN managed OACORE OC4J instance ...
    adoacorectl.sh: exiting with status 150
    adoacorectl.sh: check the logfile /u01/E-BIZ/inst/apps/VISION_ip-10-189-119-235/logs/appl/admin/log/adoacorectl.txt for more information ...
    .end std out.
    .end err out.
    Executing service control script:
    /u01/E-BIZ/inst/apps/VISION_ip-10-189-119-235/admin/scripts/adformsctl.sh start
    Timeout specified in context file: 100 second(s)
    script returned:
    You are running adformsctl.sh version 120.16.12010000.3
    Starting OPMN managed FORMS OC4J instance ...
    Calling txkChkFormsDeployment.pl to check whether latest FORMSAPP.EAR is deployed...
    Program : /u01/E-BIZ/apps/apps_st/appl/fnd/12.0.0/patch/115/bin/txkChkFormsDeployment.pl started @ Thu Sep 20 01:19:37 2012
    *** Log File = /u01/E-BIZ/inst/apps/VISION_ip-10-189-119-235/logs/appl/rgf/TXK/txkChkFormsDeployment_Thu_Sep_20_01_19_36_2012/txkChkFormsDeployment_Thu_Sep_20_01_19_36_2012.log
    File "/u01/E-BIZ/apps/tech_st/10.1.3/j2ee/forms/applications/forms/formsweb/WEB-INF/lib/frmsrv.jar" exists. Proceeding to check the size...
    =============================================
    *** Latest formsapp.ear has been deployed ***
    =============================================
    Program : /u01/E-BIZ/apps/apps_st/appl/fnd/12.0.0/patch/115/bin/txkChkFormsDeployment.pl completed @ Thu Sep 20 01:19:37 2012
    Perl script txkChkFormsDeployment.pl got executed successfully
    adformsctl.sh: exiting with status 150
    adformsctl.sh: check the logfile /u01/E-BIZ/inst/apps/VISION_ip-10-189-119-235/logs/appl/admin/log/adformsctl.txt for more information ...
    .end std out.
    *** ALL THE FOLLOWING FILES ARE REQUIRED FOR RESOLVING RUNTIME ERRORS
    *** Log File = /u01/E-BIZ/inst/apps/VISION_ip-10-189-119-235/logs/appl/rgf/TXK/txkChkFormsDeployment_Thu_Sep_20_01_19_36_2012/txkChkFormsDeployment_Thu_Sep_20_01_19_36_2012.log
    .end err out.
    Executing service control script:
    /u01/E-BIZ/inst/apps/VISION_ip-10-189-119-235/admin/scripts/adoafmctl.sh start
    Timeout specified in context file: 100 second(s)
    script returned:
    You are running adoafmctl.sh version 120.8
    Starting OPMN managed OAFM OC4J instance ...
    adoafmctl.sh: exiting with status 150
    adoafmctl.sh: check the logfile /u01/E-BIZ/inst/apps/VISION_ip-10-189-119-235/logs/appl/admin/log/adoafmctl.txt for more information ...
    .end std out.
    .end err out.
    Executing service control script:
    /u01/E-BIZ/inst/apps/VISION_ip-10-189-119-235/admin/scripts/adcmctl.sh start
    Timeout specified in context file: 1000 second(s)
    script returned:
    You are running adcmctl.sh version 120.17.12010000.5
    Starting concurrent manager for VISION ...
    Starting VISION_0920@VISION Internal Concurrent Manager
    Default printer is noprint
    adcmctl.sh: exiting with status 0
    adcmctl.sh: check the logfile /u01/E-BIZ/inst/apps/VISION_ip-10-189-119-235/logs/appl/admin/log/adcmctl.txt for more information ...
    .end std out.
    .end err out.
    Executing service control script:
    /u01/E-BIZ/inst/apps/VISION_ip-10-189-119-235/admin/scripts/jtffmctl.sh start
    Timeout specified in context file: 100 second(s)
    script returned:
    You are running jtffmctl.sh version 120.3
    Validating Fulfillment patch level via /u01/E-BIZ/apps/apps_st/comn/java/classes
    Fulfillment patch level validated.
    Starting Fulfillment Server for VISION on port 9301 ...
    jtffmctl.sh: exiting with status 0
    .end std out.
    .end err out.
    [Service Control Execution Report]
    The report format is:
    <Service Group> <Service> <Script> <Status>
    Root Service Enabled
    Root Service Oracle Process Manager for VISION_ip-10-189-119-235 adopmnctl.sh Started
    Web Entry Point Services Enabled
    Web Entry Point Services Oracle HTTP Server VISION_ip-10-189-119-235 adapcctl.sh Started
    Web Entry Point Services OracleTNSListenerAPPS_VISION_ip-10-189-119-235 adalnctl.sh Already Started
    Web Application Services Enabled
    Web Application Services OACORE OC4J Instance VISION_ip-10-189-119-235 adoacorectl.sh Failed
    Web Application Services FORMS OC4J Instance VISION_ip-10-189-119-235 adformsctl.sh Failed
    Web Application Services OAFM OC4J Instance VISION_ip-10-189-119-235 adoafmctl.sh Failed
    Batch Processing Services Enabled
    Batch Processing Services OracleConcMgrVISION_ip-10-189-119-235 adcmctl.sh Started
    Batch Processing Services Oracle Fulfillment Server VISION_ip-10-189-119-235 jtffmctl.sh Started
    Other Services Disabled
    Other Services OracleFormsServer-Forms VISION_ip-10-189-119-235 adformsrvctl.sh Disabled
    Other Services Oracle Metrics Client VISION_ip-10-189-119-235 adfmcctl.sh Disabled
    Other Services Oracle Metrics Server VISION_ip-10-189-119-235 adfmsctl.sh Disabled
    Other Services Oracle MWA Service VISION_ip-10-189-119-235 mwactlwrpr.sh Disabled
    ServiceControl is exiting with status 3
    09/20/12-01:19:38 :: You are running adstrtal.sh version 120.15.12010000.3
    =================================================================

  • IChat disconnects after a few seconds and starts to blink the whole screen

    iChat disconnects after a few seconds and starts to blink the whole screen
    this started since I installed Leopard; if I go back to 10.4 it works OK. I got rid of all the plist and it still hangs up. How can I uninstall this. On my laptop it works OK but I installed it with complete erase on laptop; on my desktop I stalled it over the old system.
    error message AIM time out An AIM service error occurred.
    Error: Serv:RequestTimeout
    and you have attemptedto log too often in a short period of time. wait a few minutes before trying to login in again.
    EVEN THOUGH I ONLY TRIED ONCE TO LOG IN.

    If you Archived and Installed then check iChat launches from the Applications Folder.
    If it does that Drag the current (iChat 3) icon off the DOCK and drag iChat 4 to the DOCK.
    8:03 PM Tuesday; December 4, 2007

  • Start javaws application just with X server

    Hello!
    I hope someone can help me to get my javaws application started without any window manager just by using a x server.
    It works by starting xterm (xinit /usr/bin/xterm) and then stating my application in xterm by "javaws http://url".
    Is it possible to get my application started directly? (Without xterm...)
    Do I understand it right? Before I can start the application, X server has to be running? After that start the javaws command?
    How can I get this managed?
    Thanks a lot!
    Yves

    There must be *some* foreground process to keep the connection with the xserver - in common setups a window manager will serve this purpose, but it could be anything else.
    If the javaws call is backgrounded (is this mandatory / can you override this) then you need some other process.
    One way would be to launch it from your xinitrc, then get the PID and wait for that PID to close.  The simplest implementation of this would be with the following in your xinitrc:
    javaws httpp://...
    wait $?
    EDIT2: The second line should be something like:
    wait $(pidof javaws)
    Actually, after rereading `man wait` the $? which speicfies the PID may not even be necessary.
    EDIT: completely OT, Karol is our "Archivist" now?
    Last edited by Trilby (2013-07-23 15:47:30)

  • TM fails a few seconds after starting first backup

    So I buy the 1TB GForce Phantom drive and hook it up via my FireWire 800 on my Dual G5 Tower running Leopard 10.5.2. Using the Disk Utility I partition it into two HFS Extended volumes, naming the second one TimeMachine.
    I fire up the TM application for the first time and configure it to use this mounted volume. A few seconds after starting the first backup, it quits with an Error 11.
    Below is a clip of the Console log.
    Is this saying there is something wrong with TechTool Pro?
    5/20/08 5:43:19 PM /System/Library/CoreServices/backupd[10664] Backup requested by user
    5/20/08 5:43:19 PM /System/Library/CoreServices/backupd[10664] Starting standard backup
    5/20/08 5:43:19 PM /System/Library/CoreServices/backupd[10664] Backing up to: /Volumes/TimeMachine/Backups.backupdb
    5/20/08 5:43:19 PM /System/Library/CoreServices/backupd[10664] Event store UUIDs don't match for volume: Caladan HD
    5/20/08 5:43:19 PM /System/Library/CoreServices/backupd[10664] Event store UUIDs don't match for volume: SysBack
    5/20/08 5:43:19 PM /System/Library/CoreServices/backupd[10664] Event store UUIDs don't match for volume: Data1
    5/20/08 5:43:19 PM /System/Library/CoreServices/backupd[10664] Backup content size: 50.8 GB excluded items size: 144 KB for volume Caladan HD
    5/20/08 5:43:19 PM /System/Library/CoreServices/backupd[10664] Backup content size: 50.4 GB excluded items size: 144 KB for volume SysBack
    5/20/08 5:43:19 PM /System/Library/CoreServices/backupd[10664] Backup content size: 38.1 GB excluded items size: 0 bytes for volume Data1
    5/20/08 5:43:19 PM /System/Library/CoreServices/backupd[10664] No pre-backup thinning needed: 167.18 GB requested (including padding), 580.96 GB available
    5/20/08 5:43:53 PM kernel disk1s3: I/O error.
    5/20/08 5:43:53 PM /System/Library/CoreServices/backupd[10664] Error: (-36) copying /.TechToolProItems/Caladan HD(1) to (null)
    5/20/08 5:43:53 PM /System/Library/CoreServices/backupd[10664] Error: (-36) copying /.TechToolProItems/Caladan HD(1) to /Volumes/TimeMachine/Backups.backupdb/caladan/2008-05-20-171519.inProgress/7D01 AA4F-A9FD-4D1A-A97B-902D85DDA0E9/Caladan HD/.TechToolProItems
    5/20/08 5:43:53 PM /System/Library/CoreServices/backupd[10664] Stopping backup.
    5/20/08 5:43:53 PM /System/Library/CoreServices/backupd[10664] Error: (-8062) copying /.TechToolProItems/Caladan HD(1) to /Volumes/TimeMachine/Backups.backupdb/caladan/2008-05-20-171519.inProgress/7D01 AA4F-A9FD-4D1A-A97B-902D85DDA0E9/Caladan HD/.TechToolProItems
    5/20/08 5:43:53 PM /System/Library/CoreServices/backupd[10664] Copied 0 files (719.3 MB) from volume Caladan HD.
    5/20/08 5:43:53 PM /System/Library/CoreServices/backupd[10664] Copy stage failed with error:11
    5/20/08 5:43:53 PM /System/Library/CoreServices/backupd[10664] Backup failed with error: 11
    Thanks in advance.
    Jeff Cameron

    I finally had an opportunity to repair permissions and test TM again.
    It still aborts with the error 11.
    I think it has to do with a file or files in the directory /.TechToolProItems
    So I'm going to delete all the files in this directory so that Tech tool will rebuild them. I'll let you know the results.

  • Freeze after boot-up if starting an application

    I have an iBOOK G4 12" which has been OK until now : when I start the computer, it boots up correctly and gets me to the normal desktop page. When I start an application, I get instantly a freeze with a window (in 4 languages, white letters on a black backround)) saying <<You need to restart your computer. Hold down the power button for several seconds or press the Restart button>>. Upon restarting the machine, the same problem occurs endlessly, even after letting the computer cool down overnight. I have reinitialized the PRAM to no avail. Has anyone experienced this ? Is it a hardware or an OS X problem ?
    Roland

    Hi Begantour,
    What you are seeing are Kernel Panics. The first thing that springs to mind with the repeated kernel panics on opening applications is the possibility that you have insufficient free disk space. How much free space do you have? You can get this info from the bottom of any Finder window after selecting the HD in the left hand column. If you have considerably less than 10% of the HD as free space then that may be your problem. Have a look at:
    http://www.thexlab.com/faqs/freeingspace.html
    http://www.thexlab.com/faqs/startupitems.html
    You might like to read through the following:
    http://www.thexlab.com/faqs/kernelpanics.html
    http://www.thexlab.com/faqs/multipleappsquit.html
    Good luck and post back with how things go or if you need further clarification or advice.
    Adrian

  • Starting CAN application

    I need a sample code to start an application with NI-CAN/LS2 board.
    I need to send periodically (100ms) a CAN frame and I need to read preiodically (100ms) too another CAN frame.
    I'm develloping in VB, and it's my first time with this board. Can someone help me to start my application?
    Thanks.

    Basically, there are two locations where you can get started. The first one and once you have installed NI-CAN driver, you can see the examples included with it ( ..Pogram Files/National Instruments/NI-CAN/MS Visual Basic...). The second one would be to go to the Example Code Library on the web and look for them.
    regards
    crisr

Maybe you are looking for

  • Imac does start up chime but then black screen

    thats about what my imac do: http://www.youtube.com/watch?v=TR9V6AeKLko Not a vid from me but its what it does. Was his diagnostic of motherboard failing right? Also I reseted pram and smu with no changes at all. I cant connect another monitor since

  • Unicode numbers in AI CS2

    Hi there, Is there any possibility in Illustrator CS2 to find out a single character's Unicode number after having marked it before? I'm gonna have to establish character translation charts between Freehand MX (for Apple) and AI CS2 (for PC). As you

  • NFL Mobile

    Alright Verizon.... This is borderline stupidity on your part.... Get NFL Mobile working for the iPad 3. Seriously? I chose to go with Verizon with my 3g iPad purchase a long time ago because of NFL mobile and used it and loved it for a good long tim

  • How a submit will call a servelet in the form component

    how a submit will call a servelet in the form component

  • CSS 8.3 in Win7 won't launch - error re: css_admin.exe Entry Point not found... Help

    New install of Win7 / all Win7 drivers installed & working Except... during launch of CSS 8.3 (w & w/o patch installed - tried both ways), an error window pops up with: css_admin.exe - Entry Point Not Found (title bar) (Red X in window) The procedure