BC4J component in OC4J

I have 9iAS R2 on a Win2k machine. At the EM website, there is a BC4J component for which I cannot do much, just view some parameter values. Does anyone know what's the use of this component and how I can use this? Sometimes, it seems to be down and all I can do is to restart the whole application server.
Any help?
Lambros

The BC4J component that shows up in EM in 902/903 can effectively be ignored for the most part. It's not a real separate runtime component, but was added to allow the configuration of the BC4J parameters for the 9iAS installation.
I'm pretty sure this component is mentioned somewhere in either the release notes, or the management guide for the 902/903 release, so they'd be worth checking on to get some more detailed information.
cheers
-steve-

Similar Messages

  • Unable to deploy bc4j component properly

    I m deploying bc4j from the machine on which oc4j rel 2 server
    is running using
    jdev 9i, i m facing the following prob.
    My applicatin is made in jsp & bc4j.
    1. It is giving some EOFException at the time of deploying.
    After deployment
    some jsome links are working and some are not working.
    2. Can we deploy from other remote machine on the oc4j server????
    3. how do we use a component already deployed on the server in
    our other oc4j
    programs??
    3. In our system there is a lot of repeatitions of same entities
    in different
    - application module so how do we redue that?
    i wd apreciate any answer this query.
    regards

    hi,
    can you please provide more details on this issue.
    Which links are working and which links are not working?
    What do you mean by the question: can we use other component in the server in our oc4j. What components do you mean?
    I hope an answer to these questions will clarify the issue?
    thank you

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

  • BC4J Component no longer starts

    I recently installed 9iAS Rel 3 (9.0.3) and for some inexplicable reason the BC4J system component no longer starts up - even after a reboot of the computer.
    Of course BC4J does not allow me to select the radio button as it is greyed out.
    To my knowledge I did not do anything to stop this behavior.
    Any ideas?

    victorkhugo wrote:
    I tried the un-install thing again, and this time I chose to wipe out preferences too.
    Yes, I should have mentioned those separately. Audition keeps its preferences in .xml files, and the way they've done it isn't particularly intelligent IMHO, as it leaves them somewhat vulnerable. If you look at the FAQs on the AudioMasters forum you will find details of how to back these up, so that you can restore your own setup if needs be.

  • BC4J VSM on OC4J 10.1.2 - jdbc error ORA-00911: invalid character

    Hello,
    I have been trying to run the Virtual Shopping Mall application on OC4J Standalone 10.1.2. I have deployed the application from a JDeveloper 10.1.2 release. When i try to login the OC4J log presents the following information and login fails:
    C:\oracle\oc4j_1012\j2ee\home>java -jar oc4j.jar
    oracle.jbo.SQLStmtException: JBO-27122: SQL error during statement preparation.
    Statement: SELECT Users.USER_NAME, Users.FIRST_NAME, Users.LAST
    NAME,          Users.EMAIL, Users.ADDRESS, Users.CITY,
    Users.STATE, Users.COUNTRY, Users.ZIP, Users.PHONE,
    Users.ROLE, Users.PASSWORD, Users.CARD_PROVIDER,
    Users.CARD_NUMBER, Users.CARD_EXPIRY_DATE FROM USERS Users WHERE (USER
    _NAME=?)
    at oracle.jbo.server.QueryCollection.buildResultSet(QueryCollection.java...
    which has a root cause of:
    ## Detail 0 ##
    java.sql.SQLException: ORA-00911: invalid character
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java
    :137)
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:304)
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:271)
    at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:625)
    at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.
    java:181)
    at oracle.jdbc.driver.T4CPreparedStatement.execute_for_describe(T4CPrepa
    redStatement.java:661)
    I've read some posts that suggest it could be the jdbc driver or the 'use ? style variables' option on the view definition. Your assistance is appreciated.
    Thanks
    David

    Thanks Luke,
    I changed
    vo.setWhereClause(" USER_NAME=?");
    to
    vo.setWhereClause(" USER_NAME=:0");
    And that particular segment worked as expected.
    Thanks
    David

  • Customizing using BC4J Component Extension

    Hi,
    I need to extend a SupplierSitesVO.
    I downloaded the VO from the server to my local machine and opened the VO in Tutorial.jpr
    I also brought all the dependent objects by referring to server.xml to the respective folder, but when I am trying to rebuild Tutorial.jpr, its showing me lots of compilation errors saying that many components not found.
    So, my questions are,
    1>What objects do i need to download into my local machine in order to compile successfully the above?
    2> I have downloaded apps.zip file and included the path in the classpath option in JDeveloper but it does not help. What other files do i need to download to do any OA extension?
    Please help me out.
    Thanks,
    Arun

    Hi,
    Ok. Let me give you an example,
    Suppose I need to modify the VO named PreferencesVO.xml that resides in $JAVA_TOP/oracle/apps/fnd/preferences/server
    So, I created exactly the above directory structure i.e. from '/oracle/apps/fnd/preferences/server' in my JDEV_USER_HOME in my local machine.
    Then I copied the PreferencesVO.xml into the above directory in my local machine from server.
    Then I opened the above VO in my own workspace and project (not the tutorial one).
    I know and went through the above XML and it refers lots of dependents objects and obviously those I have not brought to my local machine and so when I rebuild my project it gives huge number of errors and which is expected as it did not find the dependent objects in my local machine.
    Now, my question is where to copy all the dependent objects in my local machine? Do I need to copy all the related class files and dependent components into my local machine from the server? and if yes, then in which directory do i need to copy?
    I hope I am clear in this. Please help me out.
    Thanks,
    Arun

  • Is there a reference or manual for the BC4J component tags?

    I can't seem to find any references for this specific topic, only thing that I can use is a book from google.books. the name of the books is oracle9i jdeveloper's handbook but because it is not for free they cut out some pages.
    I was wondering if there is a site or a reference or a manual that I can use so I can have a reference with the <jbo:xxxx> tags
    thanks for reading, any help would be appreciated! :D

    ory about the dead link. Try this http://www.oracle.com/webapps/online-help/jdeveloper/10.1.3/state/content/navId.v/navSetId._/oldNavId.0/oldNavSetId._/vtReset.true/vtTopicFile.working_with_jsp_adfbc%7Cdatatags%7Ehtml/
    or http://www.oracle.com/webapps/online-help/jdeveloper/10.1.3/state/content/navId.v/navSetId._/oldNavId.0/oldNavSetId._/vtReset.true/vtTopicFile.working_with_jsp_adfbc%7Cjsp_maindeveloping%7Ehtml/
    Timo

  • How to setup new OC4J instance to host jdev business component (EJB)

    From Jdeveloper 9.0.3 I want to deploy a business component to an new oc4j instance running under 9ias version 9.0.3.
    In jdeveloper I have built and tested an application server connection (type=Oracle Application Sever Remote DCM) to my new oc4j instance on 9ias. My understanding is that the jdeveloper deployment profile wizard will help me construct a profile to build what is known as an "EJB session bean".
    Using EmWebSite, I have created and started the new oc4j instance, and i constructed a datasource to be used for the database connection.
    Is there anything else that I will need to do to the new 9ias oc4j instance prior to building the deployment profile in jdeveloper, and then running the deployment? For instance, does this new oc4j instance somehow have the necessary hooks in it to support this bc4j component? Do I need to install any missing jar files? Do I need to define rmi ports ? Do I need to configure BC4J support?
    BTW ... I have tried to pursue this topic from the Jdeveloper side but the support personnel are not familar with 9ias 903, nor are they familar with 9ias Remote DCM deployment.

    Yes, you should be able to deploy an BC4J application without making any other changes to an IAS instance. For standalone OC4J please look at http://otn.oracle.com/products/jdev/htdocs/config_oc4j_for_bc4j.html
    regards
    Debu

  • HELP!: JBO-33001 bc4j.xcfg not found against oc4j 9.0.3

    I'm using JDev 9.0.2.
    Make BC4J project and BC4J JSP application.
    Then I deployed to remote OC4J server.
    BC4J JSP works on remote OC4J 9.0.2 but fails on remote OC4J 9.0.3
    by JBO-33001. Why??
    Of course, I set up the BC4J runtime on both version of OC4J, so
    I believe the same configuration has done for both OC4J server.
    Does anyone can deploy and execute 9.0.2's BC4J app on OC4J 9.0.3???

    I have found the solution...that worked for me anyway.
    When configuring a stand-alone OC4J 9.0.3 to work with BC4J (using %JDEV_HOME%\BC4J\bin\bc4j2oc4j.bat), JDEV_HOME must be pointing to a JDeveloper 9.0.3 installation.
    Before doing this however, I undid some of my earlier work:
    - undeployed the apps I deployed to the stand-alone OC4J
    - pointed JDEV_HOME to my 9.0.2 installation and ran: %JDEV_HOME%\BC4J\bin\bc4j2oc4j delete
    Now you can properly configure OC4J 9.0.3 by:
    - point JDEV_HOME to a 9.0.3 install (simply unzip it somewhere)
    - run: %JDEV_HOME%\BC4J\bin\bc4j2oc4j install
    After that, deployments of BC4J JSP pages (to my newly reconfigured stand-alone OC4J 9.0.3) ran and connected to my application module just fine, even though I developed and deployed them using JDEV 9.0.2
    I wish there had been a new set of instructions put out for configuring OC4J 9.0.3.

  • HOWTO -- Install BC4J in OC4J 9.0.3

    I have JDdev 903 and OC4J 903. I want to install BC4J in OC4J 903. I can find NO documentation on doing this for OC4J 903, only 902. I assume it is because OC4J 903 is still preview, but come on!
    The scripts to do this under JDev 902 do not exist in JDev 903. I have also found no reference for an updated version of BC4J runtime installer for OC4J 903.
    What do I need to do to get the version of BC4J installed in OC4J 903????
    TIA,
    Eric

    Dhiraj,
    I have looked all through OC4J903 and I can not find any of the BC4J jars. I am running the stand alone version and I don't believe it comes with BC4J installed. Please tell me where the .jars are in OC4J if they do in fact exist.
    Eric
    I have JDdev 903 and OC4J 903. I want to install BC4J in OC4J 903. I can find NO documentation on doing this for OC4J 903, only 902. I assume it is because OC4J 903 is still preview, but come on!
    The scripts to do this under JDev 902 do not exist in JDev 903. I have also found no reference for an updated version of BC4J runtime installer for OC4J 903.
    What do I need to do to get the version of BC4J installed in OC4J 903????
    TIA,
    Eric You shouldn't have to install them as oc4j 903 is preconfigured to include bc4j runtime jars.
    Dhiraj

  • BC4J; OC4J;JSP;JD323 - deployment on Solaris 2.6

    I am trying to deploy a BC4J JSP application to OC4J so that we can take advantage of the SErvlet API 2.2 - our sessions persistent crash on JServ. The so-called guidance on OTN viz
    http://otn.oracle.com/products/jdev/howtos/bc4jdeployment.html
    isn't much use. The BC4J installer is only for Windows; none of the paths match what I have on my Solaris OC4J installation.
    One of my colleagues has got our application working on an Apache/Tomcat configuration. When the OAS desupport was announced last year we debated whether to move to Apache or iAS. We decided to stick with Oracle because it was supported.
    However, when it comes to anything internet, java, jdeveloper, on this side of the pond at least, Oracle support is as much use as a chocolate fireguard, so we are in effect unsupported anyway. We have either resolved all our problems with our own sweat or with guidance from this forum.
    My question is: is there a guide for deploying BC4J to an OC4J installation or Solaris or should we give up on iAS and migrate to Apache?
    This is getting urgent: we have systems that need to go live very soon and we don't yet have a stable web platform.
    TIA, APC

    Mike, do give more details from your install log. Looks like copying of some of the files are not happening.
    Make sure this install is happening into an oracle home by itself.
    Also make sure you have applied all of 2.6_Recommended cluster patch from SUN before installing Oracle9iAS.
    Regards
    Pavna Jain
    Oracle9iAS Product Management

  • OC4J and BC4J Runtime installation for Solaris (Unix)!

    We have successfully installed, configured and deployed JSP/BC4J apps using OC4J and BC4J on Windows NT/2000. However, our production environment is Solaris.
    We have installed OC4J on Solaris, with some difficulties. How/where is the installation process for the BC4J Runtime Installation? The download (bc4j-ojsp.zip) for this utility is Windows only.
    Is there a method or process to install BC4J Runtime on Unix? If not, we are stuck.
    We cannot use JServ (servlet limitations) and refuse to use OSE (to many issues).
    Any guidance or assistance would be greatly appreciated...
    JDeveloper 3.2.3
    iAS 1.0.2.2
    Solaris 8
    JDK 1.2.2_08 (Unix)
    Dean

    Stephan,
    I have located multiple "connections" files and will remove all but the default located in the OC4J classes directory. We have been developing with JDeveloper and it often created multiple connections files that appear when you "jar" project components.
    We also installed JDK1.2.2_008 and are using this. However, when I use the classpath method of starting OC4J, I receive numerous errors. Using the jar method, everything works, with the exception of BC4J apps. I'll have to look into the errors more.
    Thanks for the response. At least I know one other person (organization) is using this successfully. I hope to join the "success" crowd tomorrow!
    Thanks again...
    Dean

  • Issues with deploying BC4J/JSP applications on OC4J

    To everyone who's been having problems deploying BC4J/JSP applications to OC4J.
    We are aware that you're having problems deploying to OC4J, and we're working on them. OC4J was not available in time for us to add support for OC4J deployment to the JDeveloper 3.2.3 release. In addition there are some bugs in the first release of OC4J that have an impact on BC4J applications. This note describes the issues, and how we plan to address them.
    Issue 1: Classpath problems
    People have been getting "class not found" or "properties file not found" errors when they try to run their JSP. The answer is to make sure that all relevant archives and your JSP's .properties file are in the OC4J classpath - there's a note addressing the .properties file problem at http://technet.oracle.com:89/ubb/Forum99/HTML/000028.html. In general though, setting up the classpath can be tricky.
    Issue 2: JSP TAG NOT RELEASED ON END TAG. SAME TAG IS REUSED.
    This issue affects JSP pages whose behaviour relies on a tag instance being cleaned up as a result of release() being called.
    Your tag will not be released, and subsequent instances of the tag will reuse the first instance, rather than instantiating a new
    one.
    Issue 3:JSP SCRIPTABLE VARIABLE NULL
    A scriptable variable set in a tag cannot be accessed by a scriptlet. For example, this JSP code will throw a
    NullPointerException, because the scriptlet cannot access the value of resultRow:
    <jbo:Row id="resultRow" action="CURRENT" datasource="customer_vo1" />
    <%
    session.putValue("FIRSTNAME", resultRow.getAttribute("Firstname").toString());
    %>Workaround: Add a line of code at the beginning of the scriptlet to explicitly get the variable's value from the page context, for
    example:
    <jbo:Row id="resultRow" action="CURRENT" datasource="customer_vo1" />
    <%
    resultRow = (oracle.jbo.Row)pageContext.findAttribute("resultRow");
    session.putValue("FIRSTNAME", resultRow.getAttribute("Firstname").toString());
    %>
    What we plan to do
    To address issue 1, we're currently testing a utility that installs the BC4J runtime libraries to OC4J, and provides a script to start OC4J with the correct classpath. We plan to post this by the end of this week, along with instructions for deploying a BC4J application to OC4J; deployment will be a lot simpler after running the utility.
    To address issues 2 and 3, we're working on a second utility that installs BC4J runtime and provides a fix to the JSP compiler. We plan to post this second utility by the end of next week.
    We do apologise for the problems you're having; please bear with us as we work on making it easier for you to deploy BC4J applications to OC4J.
    Thanks
    Blaise

    Hi, I have been trying desparately to deploy
    a simple example JDeveloper application for months and months.
    I HAVE NEVER BEEN SUCCESSFUL IN DEPLOYING ANYTHING.
    I don't know much about webservers and I am relying
    on the instructions from JDeveloper help and this website.
    I have already tried Apache, and WebLogic
    because there are instructions in the JDev help.
    No luck.
    Now I am trying to use OC4J on 9ias because there are instructions.
    I have read the instructions about how to install a BC4J
    app on OC4J about 25 times, but I can't get this thing to work.
    It works fine inside of JDeveloper.
    I create a BC4J project using the scott
    schema (just the dept and emp tables).
    Then I create an empty project for my JSP client.
    I choose JSP Application from the web
    objects and it connects to my BC4J project.
    As I say, when I run it in JDeveloper, there is no problem.
    In the instructions for installing BC4J
    in OC4J, it first says install JDev 3.2.3 and OC4J.
    This is done, and it tested fine.
    Then it says to install the deployment software.
    No problem.
    But when I deploy the app according to the instructions,
    it just hangs (like Rick Wang's program did).
    The main.jsp page loads and displays correctly,
    but when I click on the links to the DeptView.jsp
    or EmpView.jsp it just hangs.
    Here is the entire batch file I'm using
    to start OC4J: cd c:\oracle_9ias\j2ee\home
    set CLASSPATH=%CLASSPATH%;c:\oracle_9ias\j2ee\home
    set CLASSPATH=%CLASSPATH%;c:\oracle_9ias\j2ee\home\lib
    set CLASSPATH=%CLASSPATH%;c:\oracle_9ias\j2ee\home\default-web-app\lib
    set CLASSPATH=%CLASSPATH%;c:\oracle_9ias\j2ee\home\classes
    set CLASSPATH=%CLASSPATH%;c:\oracle_9ias\j2ee\home\lib\classes12.jar
    set CLASSPATH=%CLASSPATH%;c:\oracle_9ias\j2ee\home\lib\xmlparserv2.jar
    set CLASSPATH=%CLASSPATH%;c:\oracle_9ias\j2ee\home\lib\jdev-rt.zip
    set CLASSPATH=%CLASSPATH%;c:\oracle_9ias\j2ee\home\lib\jbojdbcpatch.zip
    set CLASSPATH=%CLASSPATH%;c:\oracle_9ias\j2ee\home\lib\connectionmanager.zip
    set CLASSPATH=%CLASSPATH%;c:\oracle_9ias\j2ee\home\lib\jbohtml.zip
    set CLASSPATH=%CLASSPATH%;c:\oracle_9ias\j2ee\home\lib\jboimdomains.zip
    set CLASSPATH=%CLASSPATH%;c:\oracle_9ias\j2ee\home\lib\ordim817.zip
    set CLASSPATH=%CLASSPATH%;c:\oracle_9ias\j2ee\home\lib\ordvir817.zip
    set CLASSPATH=%CLASSPATH%;c:\oracle_9ias\j2ee\home\lib\ordhttp.zip
    set CLASSPATH=%CLASSPATH%;c:\oracle_9ias\j2ee\home\lib\jbomt.zip
    set CLASSPATH=%CLASSPATH%;c:\oracle_9ias\j2ee\home\lib\jbodomorcl.zip
    set CLASSPATH=%CLASSPATH%;c:\oracle_9ias\j2ee\home\lib\jboremote.zip
    set CLASSPATH=%CLASSPATH%;c:\oracle_9ias\j2ee\home\lib\jndi.jar
    set CLASSPATH=%CLASSPATH%;c:\oracle_9ias\j2ee\home\lib\jbodatum12.zip
    set CLASSPATH=%CLASSPATH%;c:\oracle_9ias\j2ee\home\lib\al_BC4J.jar
    java -cp C:\oracle_9ias\j2ee\home\orion.jar;%CLASSPATH%
    com.evermind.server.ApplicationServer
    pause
    The file al_BC4J.jar contains my application.properties file
    and my connections.properties file, as well as my business components.
    All of the files referenced in my classpath are
    present in my c:\oracle_9ias\j2ee\home\lib directory.
    I noticed that Raghu's classpath contains a file called jdev.jar
    So does the classpath of another fellow who says
    he was successful in deployment (his name is Jeffrey Jackson).
    I searched my JDev_3.2.3 for this file and found it nowhere.
    I also searched my OC4J home and my 9iAS for this file and
    found it nowhere.
    It is nowhere on my C:\.
    Is this file necessary?
    I will also try removing my application.properties file
    and my connections.properties file from my BC4J .jar file
    and put them in a separate .jar file at the root level (as Raghu did).
    However, Jeffery Jackson did not do this and says he was
    successfull in deployment.
    ***DO I NEED TO JAR UP ANY OF MY THE FILES FROM the JSP
    FOLDER IN JDevHome\myhtml???***
    ***or place them in the classpath?***
    I have read over all of the discussions at: http://technet.oracle.com:89/ubb/Forum2/HTML/008232.html
    and http://technet.oracle.com:89/ubb/Forum99/HTML/000028.html
    many, many times.
    Can anyone help me?

  • OC4J 9.0.3 does not find JSP pages

    I had a working BC4J JSP application supporting my team's project management documents in JDev RC2 which I had successfully deployed into a standalone OC4J 9.0.3 on my Win2K workstation. Because the application failed with a jbo arrayoutofbounds exception when trying to bring up a 4K varchar2 field, I installed the newer OC4J 9.0.3 release, but tried to get JDev RC2 to deploy. Deployment seemed successful, but the JSP's were not recognized. (PS: The application still works with JDev's embedded OC4J engines).
    The JSP's are included in the deployed War file, but I do not see any classes compiled from the JSPs in the OC4J 9.0.3 directories. OC4J does bring up the static HTML pages.
    Seeing that JDev embeds OC4J 9.0.2, I downloaded the OC4J 9.0.2.1 production standalone version and again deployed -- the results were disappointingly the same, though, during the course of trying alternatives I received bc4j.xcfg not on path error.
    Grabbing at straws, I moved the application to the JDev 9.0.2 production version and tried to deploy to both the OC4J versions -- with the same results.
    I then created another workspace, with a single table BC4J component project, a BC4J JSP project, letting JDev generate the BrowseEdit.jsp components, added the default static html page object. Ran under embedded OC4J, but JSP page access failed, while access to the static HTML page worked.
    Because JDev deployments had never failed me before, I am at a complete loss. Too much of a black box!
    My desperation reminds me of a section from a Shakespeare sonnet -- appropriate here:
    "My thoughts and my discourse as madmen's are,
    at random from the true,
    vainly expressed,
    for I have sworn thee fair,
    and thought thee bright,
    who art as black as hell,
    and as dark as night."
    Can anyone help bring the old girl back?

    I meant to say application.xml file. Compare your settings to:
    <?xml version="1.0" standalone='yes'?>
    <!DOCTYPE orion-application PUBLIC "-//Evermind//DTD J2EE Application runtime 1.2//EN" "http://xmlns.oracle.com/ias/dtds/orion-application.dtd">
    <!-- The global application config that is the parent of all the other
         applications in this server. -->
    <orion-application autocreate-tables="true"
         default-data-source="jdbc/OracleDS">
         <web-module id="defaultWebApp" path="../../home/default-web-app" />
         <web-module id="dms0" path="../../home/applications/dms0.war" />
         <web-module id="dms" path="../../home/applications/dms.war" />
    <connectors path="./oc4j-connectors.xml"/>
         <persistence path="../persistence" />
    <!-- Path to the libraries that are installed on this server.
         These will accesible for the servlets, EJBs etc -->
         <library path="../../home/lib" />
         <library path="../../../BC4J/lib" />
         <library path="../../../ord/jlib/ordim.jar" />
         <library path="../../../ord/jlib/ordhttp.jar" />
         <library path="../../../jlib/uix2.jar" />
         <library path="../../../jlib/share.jar" />
         <library path="../../../jlib/regexp.jar" />
         <library path="../../../jlib/jdev-cm.jar" />
    <library path="../../../lib/dsv2.jar" />
    <library path="../../../rdbms/jlib/xsu12.jar" />
    <!-- Path to the taglib directory that is shared
         among different applications. -->
         <library path="../../home/jsp/lib/taglib" />
         <library path="../../../lib/oraclexsql.jar" />
         <library path="../../../jlib/LW_PfjBean.jar" />
         <library path="../../../jlib/bigraphbean.jar" />
         <library path="../../../jlib/bigraphbean-nls.zip" />
         <library path="../../../jlib/jewt4.jar" />
    <!-- Comment the following element to use principals.xml -->
         <jazn provider="XML" location="./jazn-data.xml" />
         <principals path="./principals.xml" />
         <log>
              <file path="../log/global-application.log" />
         </log>
    <commit-coordinator>
    <commit-class
    class="com.evermind.server.OracleTwoPhaseCommitDriver" />
    <property name="datasource"
    value="jdbc/OracleDS"/>
    <!-- Username and password are the optional properties
    replace with your commit_co-ordinator_super_user
         <property name="username"
         value="system" />
         <property name="password"
         value="manager" />
    -->
    </commit-coordinator>
         <data-sources path="data-sources.xml" />
         <namespace-access>
              <read-access>
                   <namespace-resource root="">
                        <security-role-mapping>
                             <group name="administrators" />
                        </security-role-mapping>
                   </namespace-resource>
              </read-access>
              <write-access>
                   <namespace-resource root="">
                        <security-role-mapping>
                             <group name="administrators" />
                        </security-role-mapping>
                   </namespace-resource>
              </write-access>
         </namespace-access>
    </orion-application>

  • BC4J /  JDBC Failover BUG ?

    I have developed an ADF / BC4J application which works.
    In our environment we have a failover configuration
    I coded this approach for my ADF applications.
    My Custom connect string in the connection wizard for the BC4J is:
    jdbc:oracle:thin:@
    (DESCRIPTION =
         (ADDRESS = (PROTOCOL = TCP) (HOST =aaa.bbb.yyy.zzz)(PORT = 1521))
         (ADDRESS = (PROTOCOL = TCP) (HOST =bbb.bbb.yyy.zzz)(PORT = 1521))
         (LOAD_BALANCE = yes)
         (CONNECT_DATA =
              (SERVER = DEDICATED)
              (SERVICE_NAME = db.yyy.zzz)
              (FAILOVER_MODE = (TYPE = SESSION) (METHOD = BASIC) (RETRIES = 180) (DELAY = 5))
    When I press test connection it works and says success. (The first host in the list is actually down and we are using the failover host.)
    However when I deploy the app to the OC4J Standalone Middle Tier (10.1.3.0) and then attempt to run the app I get the following error in the browser:
    JBO-30003: The application pool (zzz.yyy.bbb.CustSubDivsAppLocal) failed to checkout an application module due to the following exception:
    oracle.jbo.JboException: JBO-29000: Unexpected exception caught: oracle.jbo.JboException, msg=JBO-29000: Unexpected exception caught: oracle.jbo.JboException, msg=JBO-29000: Unexpected exception caught: oracle.jbo.DMLException, msg=JBO-26061: Error while opening JDBC connection.
    If I remove the unavailable host (the first one) from the ADDRESS list the application works properly. If I change the order of the hosts so the first one is the one thats up it also seems to work ok.
    It seems that the OC4J middle tier cannot handle the fact that the first host in the list is down and throws an exception instead of trying the second one. In JDeveloper BC4J Connection Wizard it seems to handle the down host properly.
    Is this correct or have I setup the URL incorrectly ?
    This has caused a huge headache for me as we are currently running on our failover hosts due to SAN maintenance and all my J2EE apps stopped working !!
    Thanx
    Andrew

    Hi Hans,
    A JDev developer, John S., recently created a bug report that if I remember
    correctly, said that creatRoot... was not thread safe.
    My scenario that caused this discovery (functionally identical to your looping threads cases)
    was multple concurrent requests created by rapid clicking a submit button. This creates multple threads in the web tier
    dispatching against a BC4J component calling createRoot....
    in our JSP/Servlets. Just like your code, Hans.
    The end result was some ugly exceptions and failed use cases of the 2nd or so to Nth threads.
    In short, I believe that your design won't work.
    I could work if you gave each thread a separate identity, via a separate BC4J cookie, thus simulating separate BC4J sessions.
    I'm not at all familiar with this area of the BC4J API, just know general buzz words to be dangerous and confusing
    to you. ;-(
    Hopefully John S. will jump in here and help you.
    Good luck, Curt.
    PS please post your solutions?

Maybe you are looking for

  • Is KB article HT3964 correct?

    My 2008 MBP would not wake from sleep today. In my troubleshooting, I came across KB article HT3964 (http://support.apple.com/kb/ht3964) that described how to reset the SMC.  I followed the process for laptops with a removable battery but it made no

  • ...undefined property keyCode...

    Hi, I'm fairly new to actionscript.  I was just begining to get the hang of buttons in AS2 when I dropped it to begin learning AS3.  I have Adobe Flash CS3 Professional and I'm going through the "Programming Actionscript 3.0" tutorial files in the he

  • I wanted to replace my iphone 4 motherboard

    my iphone was dropped in wated so its motherboard is damged i wanted it to be replaced but by apple only.... i have visited local repair shop they were anable to repair it so now can i get my iphone repaired as my guarantee is also expired. or can i

  • Opening attached .csv file in diadem

    HI, I have attached a .csv file which when openened in the diadem, first it shows only two channels whereas it actually contains 4 channels. Secondly it opens with the channel names as noname, noname_1 whereas the channel names are on the top of the

  • Ich möchte mein photoshop 5.0 unter windows 8 installieren warum geht das nicht?

    ich möchte mein photoshop 5.0 unter windows 8 installieren warum geht das nicht?