OC4J hanging

The OnlineOrders sample in Oracle HTTP Server can run perfectly with BC4J libraries in Oracle8.1.7 or Oracle9iAS 1.0.2. However, OC4J will hang when I try to run it with new BC4J libraries in JDeveloper3.2.2/3.2.3.
Does this mean that OC4J only works with old BC4J libraries?
FYI:
For my old BC4J libraries:
Oracle JBP Server version 3.2.7.90.0
Oracle SQL Builder version 3.0.0.0.0
For my new BC4J libraries:
Oracle JBP Server version 3.2.9.16.2
Oracle SQL Builder version 3.2.0.0.0
Is this correct? Can Oracle pack a new workable BC4J libraries for OC4J? Thanks in advance.
null

The OnlineOrders sample in Oracle HTTP Server can run perfectly with BC4J libraries in Oracle8.1.7 or Oracle9iAS 1.0.2. However, OC4J will hang when I try to run it with new BC4J libraries in JDeveloper3.2.2/3.2.3.
Does this mean that OC4J only works with old BC4J libraries?
FYI:
For my old BC4J libraries:
Oracle JBP Server version 3.2.7.90.0
Oracle SQL Builder version 3.0.0.0.0
For my new BC4J libraries:
Oracle JBP Server version 3.2.9.16.2
Oracle SQL Builder version 3.2.0.0.0
Is this correct? Can Oracle pack a new workable BC4J libraries for OC4J? Thanks in advance.
null

Similar Messages

  • Urgent----OC4J Hanging After every 4-5 Hours

    Respected All Oracle ADF Users,
    I Have Developed very large ADF (ADF BC Swing) Application i.e. One ERP Product, It Contains 300 Application Modules (Forms). I deployed this Application as EJB Session Bean on standalone OC4J which is on Fedora Core 3. There is Very Huge Data Entry, Data Fetching through this Application. (Daily 100000 Records Insertions)
    Now problem is, when I start OC4J it goes fine for next 4-5 hours, but after 4-5 hours it get hang or my application get hang .if I restart my OC4J then it will run fine for next 4-5 hours and after 4-5 hours again it hanging ,so in a day I have to restart OC4J 4 times.
    So I can u tell me
    1) Is OC4J not support such kind of large application?
    2) Weather I have to go for Oracle Application Server?
    3) Is there any kind of setting needs for same problem?
    4) Is this an Operating System Problem?
    5) Is this a Server Compatibility Problem?
    Please guide me.
    Thanks

    Hello,
    I ran into a similar problem running an application server instance on a SLES 9 machine. My application was much smaller than yours and it turned out that I was forgetting to release a connection to an LDAP server from Java code. So, I suggest you have a look at all suspicious bits of code first.
    Regarding the going to Oracle IAS, I would certainly advice you to do so.
    Finally, a last piece of experience that I can share with you is that before getting SLES I used to run my application server on SuSE 8.2. While all the required packages were there the ias instance appeared to use all the available system memory. The issue was resolved until I finally installed the Oracle supported SLES.
    If you like the Red Hat "look and feel" but still don't want to get a Linux that requires subscription like Oracle EL, why not try CentOS (www.centos.org) which appears to be a very good Red Hat clone.
    Thanassis

  • Problem-OC4J Hanging

    Respected All Oracle ADF/OC4J Users,
    I Have Developed very large ADF (ADF BC Swing) Application i.e. One ERP Product, It Contains 300 Application Modules (Forms). I deployed this Application as EJB Session Bean on standalone OC4J which is on Fedora Core 3. There is Very Huge Data Entry, Data Fetching through this Application. (Daily 100000 Records Insertions)
    Now problem is, when I start OC4J it goes fine for next 4-5 hours, but after 4-5 hours it get hang or my application get hang .if I restart my OC4J then it will run fine for next 4-5 hours and after 4-5 hours again it hanging ,so in a day I have to restart OC4J 4 times.
    -- Some of ADF Experts said that it is better to go for Oracle Application Server.
    ---But when i go for Oracle Application Server is this problem will not come.
    ---i have set JVM ARGES AS follows in OC4J.
    OC4J_JVM_ARGS="-server -Xms700m -Xmx900m -XX:PermSize=1024m -XX:MaxPermSize=1024m -Doc4j.jms.doGc=true"
    --in some times my 3-4 Tables get Lock(DBLOCK) is this reason that my OC4J get hanged.
    So I can u guide me on .......
    1) Is OC4J not support such kind of large application?
    2) Weather I have to go for Oracle Application Server?
    3) Is this an Operating System Problem(We are using Fedora Core-3)?
    Please guide me.
    Thanks

    There's very little difference between the OC4J component itself that is provide as part of Oracle Application Server and OC4J standalone.
    The Oracle Application Server version benefits from the OPMN infrastructure, which enables the Java process to be configured with settings (as you are doing), provides controls the process (start/stop) and which monitors the process to ensure the configured OC4J instances are available. The OC4J instances are also configured out of the box with a bunch of additional libraries, such as the ADF runtime libraries./
    In general, the recommendation is for sites to make use of Oracle Application Server when they want to make use of OPMN, and the other bits and pieces that come with the application server such as Oracle HTTP Server, single-signon, etc.. However, at the end of the day with respect to OC4J, the application server is really just running and maintaining Java processes with OC4J.
    When you say OC4J is hanging, is it just your application on OC4J, or does the whole OC4J become unresponsive?
    Are there any errors when the OC4J instance is hanging -- are you getting any out of memory exceptions? I see you have configured -Xmx so that may not be an issue.
    It's hard to say any more -- have you done a stack dump and taken a look at the various threads to see if there are any deadlocks?
    If you are experiencing problems with locks at the database level and you have a heavily TP oriented application, that may be an issue with the ADF modules that are accessign them. It's very hard to say from the limited information.
    I'd start with looking at some of the above -- then taking the thread-dump when it does hang and see what sort of state the JVM is in.
    -steve-

  • Problem--OC4J Hangs

    Respected All Oracle ADF/OC4J Users,
    I Have Developed very large ADF (ADF BC Swing) Application i.e. One ERP Product, It Contains 300 Application Modules (Forms). I deployed this Application as EJB Session Bean on standalone OC4J which is on Fedora Core 3. There is Very Huge Data Entry, Data Fetching through this Application. (Daily 100000 Records Insertions)
    Now problem is, when I start OC4J it goes fine for next 4-5 hours, but after 4-5 hours it get hang or my application get hang .if I restart my OC4J then it will run fine for next 4-5 hours and after 4-5 hours again it hanging ,so in a day I have to restart OC4J 4 times.
    -- Some of ADF Experts said that it is better to go for Oracle Application Server.
    ---But when i go for Oracle Application Server is this problem will not come.
    ---i have set JVM ARGES AS follows in OC4J.
    OC4J_JVM_ARGS="-server -Xms700m -Xmx900m -XX:PermSize=1024m -XX:MaxPermSize=1024m -Doc4j.jms.doGc=true"
    --in some times my 3-4 Tables get Lock(DBLOCK) is this reason that my OC4J get hanged.
    So I can u guide me on .......
    1) Is OC4J not support such kind of large application?
    2) Weather I have to go for Oracle Application Server?
    3) Is this an Operating System Problem(We are using Fedora Core-3)?
    Please guide me.
    Thanks

    Hi
    I'v also got a similar problem. Mine arrises when a URL is called with the target machine avaialable but the application on the machine not responding. The only way to get response back is to re-start OC4J.
    Do you also have a URL call to another machine?
    Tks
    Andre

  • OC4J Hanging!!!! Urgent Please help

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

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

  • OC4J:BC4J;JSP;OC4J hangs after refresh

    Hi All,
    I've deployed my JSP-aplication which uses BC4J. The BC4J are deployed as plain jar-files. Everything runs well, until....
    When i click my refresh-button in my browser several times real quick OC4J will hang! When I start a new session on a diferent machine I won't get any output from OC4J. I've to stop and startup OC4J to get it working again.
    This is really a big problem since we have to move to production ina short time.
    Is there some setting in OC4J where I can catch the request if they are made in a short time (< 1 sec) within the same session and ignore them ?
    Does someone know any other solution for his problem?
    TIA
    null

    Juan,
    Thanks for your answer. The synchronized-block in my jsp solves the problem. But it only works if I make the entire JSP synchronized. Can you tell me what the drawback is, if I have my JSP synchronized (if there are any) ?
    TIA.
    Pascal

  • OC4J hang on shutdown

    When I try to shutdown OC4J (Orion) with java -jar admin.jar ormi://localhost username password -shutdown force
    Orion print the message "Shutting down..." and then hangs indefinately. Ctrl-C won't even stop the proces. kill -9 is the only solution.
    We have a project using a servlet, some stateless session beans and some beanmanaged entitybeans.
    The entitybeans is using SQLJ the following way:
    Connection con = null;
    DefaultContext ctx = null;
    try {
    InitialContext ic = new InitialContext();
    DataSource ds = (DataSource) ic.lookup("jdbc/OracleCoreDS");
    con = ds.getConnection();
    ctx = new DefaultContext(con);
    #sql [ctx]
    {select count(*)
    into :i
    from mytable
    where id = :primaryKey
    catch (javax.naming.NamingException ex) {}
    catch (SQLException ex) {}
    finally {
    try {
    ctx.close();
    con.close();
    } catch (java.sql.SQLException ex) {}
    I do make some logging in the catches - they are just removed for clarity of the example.
    I've read on the Orion maillinglist that someone were experiencing similar problems when JDBC.
    I tried
    Sun JDK 1.3.0_02
    Sun JDK 1.3.1
    and IBM JDK 1.3 build cx130-20010207
    on
    RedHat 6.2 kernel 2.2.14-5.0smp, glibc 2.1.3
    and RedHat 7.1 kernel 2.4.3, glibc 2.2.2
    and Sun JDK 1.3.1 on Windows 2000
    Does Oracle or anyone else have a solution to this problem???
    null

    On way would be to send kill -3 to the process. That would allow you to detect deadlocks etc. - which will give us a clue as to what could be wrong.
    null

  • OC4J hangs when accessing ADF DataPage

    My application was working and all of a sudden, when I try to hit a DataPage accessing a table (Read Only on the JSP side) it hangs. If I try to hit any page after that using the same session is hangs up also. After debugging and stepping through a lot of code, the first hang is when it tries to call a sync on the application module in the oracle.adf.model.bc4j.DCJboDataControl class in the sync method. It blocks all further accesses in the the same session because of a synchronize in ADFBindingFilter.
    My questions are:
    1. Has anyone else seen this problem?
    2. If so, what is causing it?
    3. Have you fixed it?
    4. How?

    Hi,
    seems that the proper subject is "NPE whn accessing EJB from ADF binding". The error message states that the tasklist_tasklistPageDef file cannot be instantiated as a binding container. Can you run other pages that use the same EJB ?
    Frank

  • Command line hangs when starting OC4J with MapViewer

    Hello,
    I have a simple development setup with a stand-alone oc4j instance installed via the MapViewer Quick Start Kit, on an 11g database, on a Windows XP workstation.
    The problem: When I start the oc4j instance everything seems to start up successfully - the AS Control, the MapViewer EAR, etc.., but the command line window hangs after the last command is executed. It does not return to the command prompt. And if I close the Command Prompt window the oc4j instance automatically shuts down. Any thoughts on why this is hanging? Or is this normal behavior? Thank you. The text of the startup is shown below.
    (Oh...and if you have any idea why I am getting a string of [ConverterRule] WARNINGS, please let me know. Thanks.)
    -Dan
    ------- Output below --------
    C:\app\oracle\product\11.1.0\db_1\oc4j_mv\j2ee\home>java -jar oc4j.jar
    WARNING: Code-source C:\app\oracle\product\11.1.0\db_1\oc4j_mv\j2ee\home\applica
    tions\mapviewer\web\WEB-INF\lib\dms.jar (from WEB-INF/lib/ directory in C:\app\o
    racle\product\11.1.0\db_1\oc4j_mv\j2ee\home\applications\mapviewer\web\WEB-INF\l
    ib) has the same filename but is not identical to /C:/app/oracle/product/11.1.0/
    db_1/oc4j_mv/lib/dms.jar (from <code-source> (ignore manifest Class-Path) in MET
    A-INF/boot.xml in C:\app\oracle\product\11.1.0\db_1\oc4j_mv\j2ee\home\oc4j.jar).
    If it contains different versions of the same classes, it will be masked as the
    latter is already visible in the search path of loader mapviewer.web.web:0.0.0.
    WARNING: Code-source C:\app\oracle\product\11.1.0\db_1\oc4j_mv\j2ee\home\applica
    tions\mapviewer\web\WEB-INF\lib\ojdl.jar (from WEB-INF/lib/ directory in C:\app\
    oracle\product\11.1.0\db_1\oc4j_mv\j2ee\home\applications\mapviewer\web\WEB-INF\
    lib) has the same filename but is not identical to /C:/app/oracle/product/11.1.0
    /db_1/oc4j_mv/diagnostics/lib/ojdl.jar (from <code-source> (ignore manifest Clas
    s-Path) in META-INF/boot.xml in C:\app\oracle\product\11.1.0\db_1\oc4j_mv\j2ee\h
    ome\oc4j.jar). If it contains different versions of the same classes, it will be
    masked as the latter is already visible in the search path of loader mapviewer.
    web.web:0.0.0.
    Mar 10, 2009 10:51:19 AM com.sun.faces.config.rules.ConverterRule end
    WARNING: [ConverterRule]{faces-config/converter} Merge(javax.faces.Short,null)
    Mar 10, 2009 10:51:19 AM com.sun.faces.config.rules.ConverterRule end
    WARNING: [ConverterRule]{faces-config/converter} Merge(null,java.lang.Short)
    Mar 10, 2009 10:51:19 AM com.sun.faces.config.rules.ConverterRule end
    WARNING: [ConverterRule]{faces-config/converter} Merge(javax.faces.Byte,null)
    Mar 10, 2009 10:51:19 AM com.sun.faces.config.rules.ConverterRule end
    WARNING: [ConverterRule]{faces-config/converter} Merge(null,java.lang.Byte)
    Mar 10, 2009 10:51:19 AM com.sun.faces.config.rules.ConverterRule end
    WARNING: [ConverterRule]{faces-config/converter} Merge(javax.faces.Integer,null)
    Mar 10, 2009 10:51:19 AM com.sun.faces.config.rules.ConverterRule end
    WARNING: [ConverterRule]{faces-config/converter} Merge(null,java.lang.Integer)
    Mar 10, 2009 10:51:19 AM com.sun.faces.config.rules.ConverterRule end
    WARNING: [ConverterRule]{faces-config/converter} Merge(javax.faces.Long,null)
    Mar 10, 2009 10:51:19 AM com.sun.faces.config.rules.ConverterRule end
    WARNING: [ConverterRule]{faces-config/converter} Merge(null,java.lang.Long)
    Mar 10, 2009 10:51:19 AM com.sun.faces.config.rules.ConverterRule end
    WARNING: [ConverterRule]{faces-config/converter} Merge(javax.faces.Float,null)
    Mar 10, 2009 10:51:19 AM com.sun.faces.config.rules.ConverterRule end
    WARNING: [ConverterRule]{faces-config/converter} Merge(null,java.lang.Float)
    Mar 10, 2009 10:51:19 AM com.sun.faces.config.rules.ConverterRule end
    WARNING: [ConverterRule]{faces-config/converter} Merge(javax.faces.Double,null)
    Mar 10, 2009 10:51:19 AM com.sun.faces.config.rules.ConverterRule end
    WARNING: [ConverterRule]{faces-config/converter} Merge(null,java.lang.Double)
    Mar 10, 2009 10:51:19 AM com.sun.faces.config.rules.ValidatorRule end
    WARNING: [ValidatorRule]{faces-config/validator} Merge(javax.faces.LongRange)
    Mar 10, 2009 10:51:19 AM com.sun.faces.config.rules.ConverterRule end
    WARNING: [ConverterRule]{faces-config/converter} Merge(javax.faces.DateTime,null
    Mar 10, 2009 10:51:19 AM com.sun.faces.config.rules.ConverterRule end
    WARNING: [ConverterRule]{faces-config/converter} Merge(javax.faces.Number,null)
    2009-03-10 10:51:20.500 NOTIFICATION oms root path: C:\app\oracle\product\11.1.
    0\db_1\oc4j_mv\j2ee\home\applications\mapviewer\web\
    09/03/10 10:51:20 mbean domain: mapviewer
    2009-03-10 10:51:20.500 NOTIFICATION OMSConfig mbean regisred.
    2009-03-10 10:51:20.500 NOTIFICATION MapTileServer root path: C:\app\oracle\pro
    duct\11.1.0\db_1\oc4j_mv\j2ee\home\applications\mapviewer\web\
    09/03/10 10:51:20 mbean domain: mapviewer
    2009-03-10 10:51:20.515 NOTIFICATION MCSConfig mbean regisred.
    2009-03-10 10:51:20.515 NOTIFICATION MapViewer server version: Ver1033p5_B081010
    2009-03-10 10:51:20.515 NOTIFICATION using default config file: C:\app\oracle\pr
    oduct\11.1.0\db_1\oc4j_mv\j2ee\home\applications\mapviewer\web\WEB-INF\conf\mapV
    iewerConfig.xml
    2009-03-10 10:51:20.515 WARNING dcsf:true
    2009-03-10 10:51:20.531 WARNING destroying ALL mapmaker instances.
    2009-03-10 10:51:20.531 WARNING dcsf:true
    09/03/10 10:51:20 Oracle Containers for J2EE 10g (10.1.3.1.0) initialized
    2009-03-10 10:51:20.578 NOTIFICATION Spatial Provider shapefileSDP has been regi
    stered.
    2009-03-10 10:51:20.578 NOTIFICATION Map Recycling thread started.
    2009-03-10 10:51:20.593 NOTIFICATION *** Oracle MapViewer started. ***
    2009-03-10 10:51:21.515 NOTIFICATION *** Oracle MapTileServer started. ***
    2009-03-10 10:51:21.531 NOTIFICATION *** Oracle Feature of Interest (FOI) Server started ***
    ---> This is where it hangs up. It just sits here and never returns to the command prompt.

    I guess I've come to the conclusion that it's normal for the command window to remain open while mapviewer is running. I just don't recall that from my previous installations.
    -- considered answered.

  • OC4J Instance Configuration Assistant Hanging Whilst Applying Patch 4960210

    Hi all,
    I'm experiencing an issue whilst trying to apply Patch 4960210 (10.1.2.2) onto my existing Application Server 10g Relesae 2 (Discoverer 10.1.2.0) on a Windows platform.
    The problem is that the OC4J Instance Configuration assistant just hangs at the Initializing DCM stage:
    <p>
    Configuration assistant "Application Server website Configuration Assistant" succeeded
    Result code for launching of configuration assistant is: 0
    Launched configuration assistant 'OC4J Instance Configuration Assistant'
    Tool type is: Recommended.
    The command being spawned is: 'C:\oracle\orabise/jdk/bin/javaw.exe -Djava.io.tmpdir=C:\DOCUME~1\GARYWI~1\LOCALS~1\Temp -mx512M -classpath C:\oracle\orabise/dcm/lib/dcm.jar;C:\oracle\orabise/dcm/lib/oc4j_deploy_tools.jar -Djava.library.path="C:\oracle\orabise\lib32;C:\oracle\orabise\bin;C:\Program Files\PC Connectivity Solution\;C:\oracle\orabisetools\bin;C:\oracle\orabisetools\jlib;C:\oracle\orabisetools\jre\1.4.2\bin\client;C:\oracle\orabisetools\jre\1.4.2\bin;C:\oracle\orabise\jdk\jre\bin\classic;C:\oracle\orabise\jdk\jre\bin;C:\oracle\orabise\bin;C:\oracle\orabise\jlib;C:\oracle\orabip\jre\1.4.2\bin\client;C:\oracle\orabip\jre\1.4.2\bin;C:\oracle\DevSuiteHome10g;C:\oracle\DevSuiteHome10g\jdk\jre\bin\classic;C:\oracle\DevSuiteHome10g\jdk\jre\bin;C:\oracle\DevSuiteHome10g\jdk\jre\bin\client;C:\oracle\DevSuiteHome10g\jlib;C:\oracle\DevSuiteHome10g\bin;C:\oracle\DevSuiteHome10g\jre\1.4.2\bin\client;C:\oracle\DevSuiteHome10g\jre\1.4.2\bin;C:\oracle\oraclexe\app\oracle\product\10.2.0\server\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\NTRU Cryptosystems\NTRU TCG Software Stack\bin\;C:\Program Files\Wave Systems Corp\Gemalto\Access Client\v5\;C:\Program Files\Gemplus\GemSafe Libraries\BIN;C:\Program Files\Common Files\Roxio Shared\DLLShared\;C:\Program Files\Common Files\Roxio Shared\9.0\DLLShared" -Doracle.ias.sysmgmt.logging.logdir=C:\oracle\orabise/j2ee/home/log oracle.j2ee.tools.deploy.Oc4jDeploy -oraclehome C:\oracle\orabise -verbose -inifile C:\oracle\orabise/j2ee/deploy.ini -redeploy'
    </p>
    <p>
    Start output from spawned process:
    </p>
    <p>
    Reading ini file - 'C:\oracle\orabise/j2ee/deploy.ini'
    Adding web-app 'discoverer.war' for app 'discoverer'.
    OC4J instance 'OC4J_BI_Forms': Adding Environment variable 'DISPLAY' with value 'localhost:0'
    OC4J instance 'OC4J_BI_Forms': Adding property 'oracle.forms.configFileName=C:/oracle/orabise/forms/server/formsweb.cfg'
    OC4J instance 'OC4J_BI_Forms': Adding property 'oracle.path=C:/oracle/orabise/bin;C:/oracle/orabip/jre/1.4.2/bin/client;C:/oracle/orabip/jre/1.4.2/bin;C:/oracle/DevSuiteHome10g;C:/oracle/DevSuiteHome10g/jdk/jre/bin/classic;C:/oracle/DevSuiteHome10g/jdk/jre/bin;C:/oracle/DevSuiteHome10g/jdk/jre/bin/client;C:/oracle/DevSuiteHome10g/jlib;C:/oracle/DevSuiteHome10g/bin;C:/oracle/DevSuiteHome10g/jre/1.4.2/bin/client;C:/oracle/DevSuiteHome10g/jre/1.4.2/bin;C:/oracle/oraclexe/app/oracle/product/10.2.0/server/bin;C:/WINDOWS/system32;C:/WINDOWS;C:/WINDOWS/System32/Wbem;C:/Program Files/NTRU Cryptosystems/NTRU TCG Software Stack/bin/;C:/Program Files/Wave Systems Corp/Gemalto/Access Client/v5/;C:/Program Files/Gemplus/GemSafe Libraries/BIN;C:/Program Files/Common Files/Roxio Shared/DLLShared/;C:/Program Files/Common Files/Roxio Shared/9.0/DLLShared/'
    OC4J instance 'OC4J_BI_Forms': Adding OC4J start command line option '-userThreads'
    OC4J instance 'OC4J_BI_Forms': Adding Environment variable 'LD_LIBRARY_PATH' with value 'C:\oracle\orabise\lib32:C:\oracle\orabise\lib:C:\oracle\orabise\jdk\jre\lib\sparc'
    OC4J instance 'OC4J_BI_Forms': Env Option 'LD_LIBRARY_PATH' already exists with value 'C:\oracle\orabise\lib32:C:\oracle\orabise\lib:C:\oracle\orabise\jdk\jre\lib\sparc'
    OC4J instance 'OC4J_BI_Forms': Adding property 'java.rmi.server.randomIDs=true'
    OC4J instance 'OC4J_BI_Forms': Adding property 'oracle.disco.activation.preferencePort=16001'
    OC4J instance 'OC4J_BI_Forms': Adding java command line option '-Xmx512M -Xms128M'
    OC4J instance 'OC4J_BI_Forms': Adding property 'oracle.discoverer.applications.port=7778'
    OC4J instance 'OC4J_BI_Forms': Adding property 'oracle.discoverer.applications.host=D9GVDX1S'
    Initializing DCM...
    Any light or suggestions anyone can shed on this greatly appreciated. The install has been hanging now for over 2hrs.
    Kind Regards,
    Gary.
    </p>

    What does "adopmnctl.sh status" return?
    Do you have proper entry in the hosts file?
    Did you source the correct env file before running the installer?
    Can you find any errors in the opmn.log file?
    Can you ignore the error and continue with the installation?
    Thanks,
    Hussein

  • OC4J;BC4J; refresh cause oc4j to hang

    Hi All,
    I've deployed my JSP-aplication which uses BC4J. The BC4J are deployed as plain jar-files. Everything runs well, until....
    When i click my refresh-button in my browser several times real quick OC4J will hang! When I start a new session on a diferent machine I won't get any output from OC4J. I've to stop and startup OC4J to get it working again.
    This is really a big problem since we have to move to production ina short time.
    Is there some setting in OC4J where I can catch the request if they are made in a short time (< 1 sec) within the same session and ignore them ?
    Does someone know any other solution for his problem?
    TIA

    Same problem here. We have a master-detail jsp constructed
    with datatags. After a couple of reloads the container hangs
    without giving a warning or exception.

  • OC4J Installation Appears to be Half Complete, Hangs

    Thank you in advance for providing any guidance on this issue. I have been trying to get this straight for nearly a week, and still don't understand what is happening.
    I am attempting to install Oracle Containers for J2EE 10g (10.1.3.3.0) (oc4j). I believe I have been following all necessary steps:
    1. unzip oc4j_extended_101330.zip in a newly created oc4j folder.
    2. specify the ORACLE_HOME env variable
    3. specify the JAVA_HOME env variable
    4. start the installation/deployment by typing "oc4j -start" inside of the bin directory
    I then get the following message at my unix prompt, "08/06/11 14:23:05 Oracle Containers for J2EE 10g (10.1.3.3.0) initialized"
    Then, nothing...my prompt does not return. I.e., the "$" that is the command prompt doesn't come back. It appears to be hanging...but,
    When I open a browser to http://<server>:8888/ I get the Welcome page for Oracle Containers for J2EE! I try the Quick Check JSP/Servlet Test Pages, and they work too!
    Also, when I go to http://<server>:8888/em/ I am able to use the control panel.
    In short, everything seems to work, but when I close my shell, oc4j shuts down. Or, if I press Ctrl+C it shuts down.
    Shouldn't oc4j be able to run even after I have closed my shell?
    What do you suppose is wrong with it? Why won't it just finish installation?
    The oc4j is on a sun server, running solaris 9.
    Thanks again for your assistance,
    John

    Thanks for the very well worded question.
    After doing some validation of the environment, the oc4j.cmd/oc4j.sh script basically launches OC4J via:
    $JAVA_HOME/bin/java -jar $ORACLE_HOME/j2ee/home/oc4j.jarThe JVM process then runs directly in the shell.
    If you hit ctrl+c, OC4J will stop. This is by design.
    If you exit the shell, then that kills the running process and OC4J stops.
    What platform are you running on? Oh I see, Solaris 9.
    If you are running on Linux/Unix then look at nohup as an option to keep the process running after you exit the shell and log out of the system.
    http://www.pcnetcom.net/solaris.htm
    Keep commands running after you leave with nohup
    It's 3 p.m., and you want to start a long job running. Unfortunately, you can't be sure that the job will finish by 5 p.m. when you need to leave, and the company is very strict about making sure you log off when you leave. However, if you log off the system, the job will be stopped. What can you do?
    On Solaris systems you can use the "nohup" (no hang-up) command to keep jobs running long after you log off the system. Using nohup tells the system not to "hang-up" on your job after you've logged off the system.
    Here's how to run the job, and keep it running after you log off:
    root> nohup my-long-job &
    This creates a file named "nohup.out" in the current directory that contains the standard output of the command ("my-long-job") you're running.
    Everyone is happy because the job keeps running, you get to leave at 5 p.m., and you're properly logged off the system.
    Just for completeness, if you are running on Windows, then there really is no simple solution for this -- you need to keep the console open and the cmd window running. What you can do is to seek out one of the open-source utilties that wraps a Java process as a Windows Service and investigate that. It gives you lights out capability. Or alternatively, use the OracleAS installation where we provide a managent process called OPMN that is installed as a windows service, which in turn can start/monitor OC4J processes.
    -steve-
    -steve-

  • 9.0.3: OC4J container start "hang" - urgent

    I installed 9.0.3 on a win2k machine that was previously running 9.0.2. I migrated preferences, workspaces, etc., rebuilt my project, and tried to run it. The tab for the oc4j container appears, and there is a message that it is starting, but it never finishes launching (opens window, browser, posts message to window about having started). I restarted jdev, rebuilt the project, tried again - same thing. Rebooted, restarted, rebuilt, same thing. I tried starting the debugger because it will kill the current oc4j instance and restart, and it said that it needed to do that, but never returned either. I have a developer down, so a speedy response would be greatly appreciated.

    I've reread all your messages again. Here's a summary of the information you've provided so far (please make any corrections or additions):
    * Platform is Win2k. (Not sure if reproduces on other platforms.)
    * Severe performance degradation in JDev 9.0.3 Preview compared to 9.0.2 Production.
    * Specific issue is with embedded OC4J, which does not complete its startup.
    * Restarting and reinstalling JDev and rebooting Windows do not improve the situation.
    * While OC4J is struggling to start up, other IDE responsiveness is extremely sluggish.
    * The Run | Terminate | Embedded OC4J menu item is disabled. No context menu at all when right-clicking on "Embedded OC4J" in the Run Manager.
    * A migration bug (2525992) is involved, but we've ruled it out as the cause of performance problems, because embedded OC4J problems are still observed in a brand new (not migrated) 9.0.3 install.
    * Problem occurs only if the .jws and .jpr are on a LAN drive. OK for source and classes to be on LAN drive.
    * Problem disappears entirely if Workspace and Project are moved to a local drive.
    * LAN drive is a NetWare resource.
    The keymap exception that you got appears to be unrelated. A similar exception was reported internally as bug 2493459, which was fixed last week in the 9.0.3 Production code line.
    Based on your information so far, I can offer the following details:
    (1) When you have files on a network volume, and these files are open in JDeveloper, if you switch to another Windows app and then come back to JDev, JDev will check those files' timestamps to see if their content needs to be reloaded in the IDE. Unfortunately, this reloading code runs on the AWT Event thread, which means that painting will be frozen until all open files have been scanned. This can lead to an extremely sluggish response in the UI. Currently there is no work-around to this problem. I have filed bug 2566932 for this issue, which I am pushing to get fixed for 9.0.3 Production.
    (2) One of the behaviors that changed between JDev 9.0.2 and 9.0.3 Preview with regard to embedded OC4J is the following command-line flag:
    -Doracle.j2ee.dont.use.memory.archive=true
    This affects the behavior of the OC4J classloaders, and it usually produces a much faster startup time for the server. However, it theoretically could cause performance problems if classes are located on a remote network drive, but we don't have a lot of good data on this. One thing you could try then is to disable this flag:
    - Go to Tools | Preferences - Embedded OC4J
    - CHECK the box labeled "Load All System JARs During OC4J Startup".
    Now try to run your webapp again and see if there is a difference.
    (3) If you are running jdev.exe instead of jdevw.exe, one of the things you can do is hit Ctrl-Break in the console window. If you do this while JDev is hung, you will get a stack dump of all the live threads. Please email the entire thread stack dump to me, Armand.Dijamco at oracle . com.
    Thanks again!

  • Oc4j won't run (or hangs)

    I have recently downloaded jdev 10.1.2.0.0 on WinXP; I created a simple hello.jsp - when I try running it using the embedded oc4j, I get the status message in the browser saying "Web site found. Wating for reply..." and that's it -nothing else. I noticed that the process javaw is consuming 99% of the CPU so I kill it either thru Task Manager or jdev's Run --> Terminate.
    Any suggestions warmly appreciated as I've tried everything I can think of - all to no avail.

    I appeared to have "solved" my problem. The oc4j problem arose when I created a simple helljsf project as described in an Oracle-written paper, "How to Use JSF with JDeveloper 10g". I edited the web.xml file as instructed in the paper and created another xml file, faces-config.xml. When I ran the hellojsf.jsp is when the embedded oc4j thrashed and the web page "hung". I then tried backtracking by creating a simple hello.jsp and it caused the same behavior (but I created the hello.jsp file in the same project as the hellojsp.jsp. I thought about this and decided I should have created the hello.jsp in a different project than the hellojsp.jsp and when I did that and ran the hello.jsp the embedded oc4j no longer thrashed and returned the "hello" text on the web page.
    I surmize there's something wrong in the web.xml or faces-config.xml; but not knowing JSF yet, I can't say what, if anything, is wrong in those xml files. Or maybe there's bad code in the JSF libraries the same article instructed me to incorporate into Jdev.

  • 10.1.2.3 : OC4J is hanging up and "SlowRequest BG processor" is missing

    SR:3-3486590521
    Hi all,
    IHAC who is experiencing "Viewer is Busy" error when accessing Discoverer.
    After running large workbooks the OC4J_BI_Forms seems freezing and no user can't connect to discoverer with blank screen.
    When customer kill the OC4J_BI_Forms_default_island_1 process, restart it and the problem can be resolved.
    application.log shows following:
    11/06/10 22:23:34 discoverer: [ERROR] [AJPRequestHandler-ApplicationServerThread-5] oracle.discoverer.applications.framework.ApplicationController._logException error.viewer.data.missing
    oracle.discoverer.applications.framework.ApplicationException: error.viewer.data.missing
    at oracle.discoverer.applications.viewer.view.dataprovider.QueryProgressProxy.retrieveProgressData(Unknown Source)
    at sun.reflect.GeneratedMethodAccessor257.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at oracle.cabo.servlet.event.MethodEventHandler.handleEvent(Unknown Source)
    at oracle.cabo.servlet.event.TableEventHandler.handleEvent(Unknown Source)
    at oracle.cabo.servlet.event.TableEventHandler.handleEvent(Unknown Source)
    at oracle.cabo.servlet.event.BasePageFlowEngine.handleRequest(Unknown Source)
    at oracle.cabo.servlet.AbstractPageBroker.handleRequest(Unknown Source)
    at oracle.cabo.servlet.ui.BaseUIPageBroker.handleRequest(Unknown Source)
    at oracle.cabo.servlet.PageBrokerHandler.handleRequest(Unknown Source)
    at oracle.cabo.servlet.UIXServlet.doGet(Unknown Source)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.3.0)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:835)
    at com.evermind[Oracle Application Server Containers for J2EE 10g
    at oracle.discoverer.applications.viewer.url.URLServlet._process(Unknown Source)
    at oracle.discoverer.applications.viewer.url.URLServlet.doGet(Unknown Source)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.3.0)].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
    at oracle.discoverer.applications.framework.ApplicationEncodingFilter.doFilter(Unknown Source)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.3.0)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:674)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.3.0)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:341)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.3.0)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:816)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.3.0)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:231)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.3.0)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:136)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.3.0)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
    at java.lang.Thread.run(Thread.java:534)
    Caused by: oracle.discoverer.applications.viewer.model.ModelException: error.worksheet.not.open
    at oracle.discoverer.applications.viewer.model.ViewerModelImpl.getOpenWorksheet(Unknown Source)
    at oracle.discoverer.applications.viewer.view.dataprovider.QueryProgressProxy.storeModelObjects(Unknown Source)
    ... 40 more
    Analyzed customer's thread dump and found that there is no "SlowRequest BG processor" thread.
    What does it mean..?
    How can we avoid this problem?
    Any help would be greatly appreciated.
    Thanks,
    Miki

    Did you ever get a resolution to this issue. We are experiencing the same scenario.

Maybe you are looking for

  • Component Value of Macbook Pro

    Hey there, So I have a 13" Macbook Pro that was purchased in December of 2010 that has been water damaged. There's some corrosion on the logic board and the battery doesn't charge up. Other than that though, it's a functional computer. I was planning

  • FI Outgoing Payments

    I want to pay employees/vendors thru my bank. I will issue one check to the Bank for the total amount and Bank will inturn either 1) transfer individual amount to employee/vendor accounts OR 2) Issue checks to employee/vendor How to handle above scen

  • Rating Scale Results

    I would like to create a survey using rating scales. Q1: How do I get a page summing the results? Q2: Is it possible to have questions in categories and have the response to that question stored in that category. Example: 4 kinds of questions, 40 que

  • Downloading To A Dvd

    I have downloaded some TV shows to send my husband overseas but I cant seem to get them to download onto a dvd. Once I have waited for it to download the quality is awful, and will ONLY play in iTunes. How do I successfuly get them from my iTunes to

  • Give me some suggestions about enterprise websites

    Recent very distressed and hope everybody can give me some advice sincerely. When you look at these websites at first sight,Can you give the first feeling?Theses websites involves in different industries,such as hardware industry,chemical industry, r