Cannot find bc4j.xcfg

Hi,
I have an application that use BC, however, I keep getting the following error. But the bc4j.xcfg is cleared in the class path, it looks valid and it is in the right place in the common directory under the application module directory. Any idea what the problem could be?
TIA,
Saul
oracle.jbo.ConfigException: JBO-33001: Cannot find the configuration file /common/bc4j.xcfg in the classpath
     at oracle.jbo.client.Configuration.loadFromClassPath(Configuration.java:367)
     at oracle.jbo.common.ampool.PoolMgr.createPool(PoolMgr.java:284)
     at oracle.jbo.common.ampool.PoolMgr.findPool(PoolMgr.java:539)
     at oracle.jbo.common.ampool.ContextPoolManager.findPool(ContextPoolManager.java:165)
     at oracle.jbo.client.Configuration.createRootApplicationModule(Configuration.java:1498)
     at oracle.jbo.client.Configuration.createRootApplicationModule(Configuration.java:1476)
     at com.arrow.refarch.model.ExtDataService.getXmlStringFromAppModule(ExtDataService.java:162)
     at com.arrow.refarch.model.ExtDataService.getXmlStringFromAppModule(ExtDataService.java:150)
     at com.arrow.refarch.model.ExtDataService.getJSONStringFromAppModule(ExtDataService.java:130)
     at com.arrow.refarch.model.ExtDataService.getOutputStringFromAppModule(ExtDataService.java:124)
     at com.arrow.refarch.model.ExtDataService.processExtRequest(ExtDataService.java:115)
     at com.arrow.refarch.listener.ExtDataPullPageLifecycle.initContext(ExtDataPullPageLifecycle.java:82)
     at oracle.adf.controller.v2.lifecycle.Lifecycle$9.execute(Lifecycle.java:197)
     at oracle.adf.controller.v2.lifecycle.Lifecycle.executePhase(Lifecycle.java:116)
     at oracle.adf.controller.faces.lifecycle.ADFPhaseListener.mav$executePhase(ADFPhaseListener.java:29)
     at oracle.adf.controller.faces.lifecycle.ADFPhaseListener$4.after(ADFPhaseListener.java:324)
     at oracle.adf.controller.faces.lifecycle.ADFPhaseListener.afterPhase(ADFPhaseListener.java:90)
     at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:254)
     at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:110)
     at javax.faces.webapp.FacesServlet.service(FacesServlet.java:213)
     at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
     at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._invokeDoFilter(AdfFacesFilterImpl.java:228)
     at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._doFilterImpl(AdfFacesFilterImpl.java:197)
     at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:123)
     at oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:103)
     at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
     at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:162)
     at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
     at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
     at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
     at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
     at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
     at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
     at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
     at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
     at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
     at java.lang.Thread.run(Thread.java:595)

hi Saul
(1) Would you mind posting the classpath elements of this file ...
<your-jdevstudio10133-dir>\jdev\system\oracle.j2ee.10.1.3.41.57\embedded-oc4j\application-deployments\current-workspace-app\<your-app-dir>\orion-web.xml
... right after you tried to run your application.
(2) What is the package name you used for your Application Module?
regards
Jan

Similar Messages

  • Oracle.jbo.ConfigException: JBO-33001 cannot find bc4j.xcfg

    Hi,
    I am using JDeveloper 10.1.3.2 on an old project, migrated from a version anterior to JDev 10, or so I am being told.
    Here is my problem: I am trying to access existing bc4j components from a new projects.
    Everything compiles, but nothing runs.
    The reported cause is that /DATA/common/common/bc4j.xcfg cannot be found in the classpath. This is quite right, because I do not have any /DATA/common/common/bc4j.xcfg file, albeit I do have a /DATA/common/bc4j.xcfg. I have tried grepping the whole project for common/common/bc4j.xcfg, common/bc4j.xcfg and bc4j.xcfg, and it returns me nothing.
    So, how does the engine knows where to find bc4j.xcfg, why is it pointing to a directory that does not exist, and how can I change its behaviour?
    adsm

    Stupid me...
    Found it: I copied the application module implementation package name, including the .common part...

  • ADF BC: JBO-33001 Can`t find bc4j.xcfg in classpath

    When i run my application (in JDeveloper 10.1.2.1.0.1913) and execute a "bc4jUtil.getAppMod" it gives me the JBO-33001 exception.
    The thing is that i changed the directory where my Application Modules, Views, Entities were (because of needs of the project i had to move three BC4J projects to one) and it seems like is looking for the old bc4j.xcfg
    I’ve been looking in all my files, in all the jpr and jpx files, all the views, the Application Modules… but I can’t find where it makes the reference to that file…
    Can anybody help me please??

    It doesn't ever make explicit reference to that file, however we expect the bc4j.xcfg file for an application module in package "a.b.c.d" to be in the directory ./a/b/c/d/common in the runtime classpath.
    It stores your configurations, so without it the AM doesn't know any of its runtime settings.
    I'd have to see exactly what your bc4jUtil.getAppMod method is doing, but in general if you create the application module using our runtime configuration support (which is always the case if you let the framework create it for you or use the Configuration.createRootApplicationModule API) then this bc4j.xcfg file will need to be where I mentioned.

  • Overriding / r+eplacing bc4j.xcfg

    Hi,
    I'm wondering if it is possible to somehow override all contents (or at least the connection part) of the bc4j.xcfg file and handle all requests to values from this file by our own class. The reason for this is that we work with multiple developers on the same project. We all use different databases / application server connections. The bc4j.xcfg file contains the connection data of the developer who last changed something in our business-layer project. This is something each developer needs to change every time we update the sources from CVS. And sometimes the connection data is even intermixed with the application module configuration definitions in the bc4j.xcfg which means sometimes it can take some time to change all references correctly (because we have > 15 application modules). So in short, it would be nice if we could specify connection data on-the-fly if the application starts (from our own configuration data).
    Regards,
    Peter

    We have successfully implemented this behavior that you require. This method is called in the Code sample below:
    The call to the method is in the servlets init method.
    We overwrite whatever bc4j.xcfg file is contained within the source code with one that is static on the app server.
    * Copies a file from a particular location to another, the key being the
    * time at which this occurs: After redeployment, but before any BC4J
    * application modules are made use of.
    * Data sources tend to be a configurable property of the application
    * server, however, since this allows tighter integration between disparate
    * components where the use of identical data sources are concerned. OC4J,
    * in specific, uses global and application-specific XML files for this
    * configuration, and provisions are taken for retaining data-source
    * information across application (re-) deployments. The location of the
    * "bc4j.xcfg" file, however, is rigorous, dependent on the
    * package(s) in which business components exist. This forces developers to
    * deploy the data source configuration (the "bc4j.xcfg" file)
    * right along with the application itself, indiscriminately overwriting
    * existing configurations when an application is re-deployed.
    * <p>One way to circumvent this - and this is the scheme employed by this
    * method - is ensuring that the BC4J configuration file is overwritten by
    * a proper configuration <b>before</b> the corresponding application module
    * is checked out. Two servlet context parameters support this
    * functionality: "bc4j-xcfg-source" and
    * "bc4j-xcfg-destination". The first parameter specifies where
    * the source, properly configured BC4J configuration file exists, and the
    * second specifies which file to overwrite.
    public void initBC4JXCFG() throws IOException {
    ServletContext context = getServletContext();
    String bc4jConfigSrc = context.getInitParameter(BC4J_XCFG_SOURCE_KEY);
    if ((bc4jConfigSrc != null) && (bc4jConfigSrc.trim().length() == 0)) {
    bc4jConfigSrc = null;
    String bc4jConfigDest = context.getInitParameter(BC4J_XCFG_DESTINATION_KEY);
    if ((bc4jConfigDest != null) && (bc4jConfigDest.trim().length() == 0)) {
    bc4jConfigDest = null;
    if ((bc4jConfigSrc == null) && (bc4jConfigDest == null)) {
    logger.debug("No bc4j.xcfg source or destination specified; not "
    + "copying bc4j.xcfg");
    return;
    } else if ((bc4jConfigSrc != null) && (bc4jConfigDest == null)) {
    logger.warn("Source bc4j.xcfg file specified without "
    + "corresponding destination; cannot copy bc4j.xcfg");
    return;
    } else if ((bc4jConfigSrc == null) && (bc4jConfigDest != null)) {
    logger.warn("Destination bc4j.xcfg file specified without "
    + "corresponding source; cannot copy bc4j.xcfg");
    return;
    logger.debug("Source and destination bc4j.xcfg files specified; copying");
    BufferedReader reader = new BufferedReader(new FileReader(bc4jConfigSrc));
    logger.debug("Reader is " + reader);
    PrintWriter writer = new PrintWriter(new FileWriter(bc4jConfigDest));
    logger.debug("Writer is " + writer);
    int i = 0;
    String line;
    while ((line = reader.readLine()) != null) {
    writer.println(line);
    i++;
    writer.close();
    reader.close();
    logger.debug(i + " lines copied successfully");
    }

  • Jdev 10.1.2  JBO-33001: Cannot find the configuration file bc4j.xcfg in cla

    Hi all,
    i have a ear application containing a web app and a bc4j module deployed on the embedded oc4j instance inside JDeveloper 10.1.2 (build 1929). Inside the model i have a topic durable subscriber that, when a message is sent, invoke, by reflection, a java class to perform the job. Inside the java class i need an Application Module so i write
    ApplicationModule am = Configuration.createRootApplicationModule(fullClassName, configuration);
    but i get the error in the subject.
    Here is a piece of the stack trace
    oracle.jbo.JboException: JBO-33001: Cannot find the configuration file /it/despa
    r/orderplatform/model/services/common/bc4j.xcfg in the classpath
    at oracle.jbo.client.Configuration.loadFromClassPath(Configuration.java:
    358)
    at oracle.jbo.common.ampool.PoolMgr.createPool(PoolMgr.java:281)
    at oracle.jbo.common.ampool.PoolMgr.findPool(PoolMgr.java:482)
    at oracle.jbo.common.ampool.ContextPoolManager.findPool(ContextPoolManag
    er.java:165)
    at oracle.jbo.client.Configuration.createRootApplicationModule(Configura
    tion.java:1457)
    at oracle.jbo.client.Configuration.createRootApplicationModule(Configura
    tion.java:1435)
    at it.despar.orderplatform.task.GenericTask.getApplicationModule(Generic
    Task.java:40)
    at it.despar.orderplatform.task.trasmission.ValidateTrasmissionTask.<ini
    t>(ValidateTrasmissionTask.java:38)
    at it.despar.orderplatform.jms.utils.TaskInvoker.invoke(TaskInvoker.java
    :27)
    at it.despar.orderplatform.jms.listener.TextListener.onMessage(TextListe
    ner.java:60)
    at com.seebeyond.jms.client.STCMessageConsumer.onMessage(STCMessageConsu
    mer.java:529)
    at com.seebeyond.jms.client.STCSession.onMessage(STCSession.java:259)
    at com.seebeyond.jms.sockets.ConsumerSocket.deliverMessage(ConsumerSocke
    t.java:346)
    at com.seebeyond.jms.sockets.ThreadPerConnectionMgr$ConnThread.run(Threa
    dPerConnectionMgr.java:230)
    If i invoke the java class (the task) by command line inside jdev all works fine.
    I've read all the stuff about this exception but they do not apply to mi problem (I run the adf runtime installer, i try with an oc4j extended and standalone....)
    Please help us. Thanks
    Any ideas?
    Suggestion?

    This program is an example of basically what ADFBC will be trying to do to open/parse the bc4j.xcfg file. Can you incorporate the same lines into your test program to see if it also behaves the same in your JMS-initiated Java class ?
    Of course, you'll need to substitute "sample/common/bc4j.xcfg" with your relevant path name.
    package sample;
    import java.io.IOException;
    import oracle.xml.parser.v2.DOMParser;
    import oracle.xml.parser.v2.XMLDocument;
    import oracle.xml.parser.v2.XMLParseException;
    import org.xml.sax.SAXException;
    public class Class1 {
      public static void main(String[] args) throws XMLParseException,
                                                      SAXException, IOException {
        DOMParser d = new DOMParser();
       d.parse(Thread.currentThread().getContextClassLoader().getResource("sample/common/bc4j.xcfg"));
        XMLDocument doc = d.getDocument();
        doc.print(System.out);
    }

  • Cannot find the configuration file BcPackage\common\bc4j.xcfg?

    Hi,
    After manually deployment, tried to run the application and got following error:
    Error Message: JBO-29000: Unexpected exception caught: oracle.jbo.JboException, msg=JBO-33001: Cannot find the configuration file BcPackage\common\bc4j.xcfg in the classpath
    Error Message: JBO-33001: Cannot find the configuration file BcPackage\common\bc4j.xcfg in the classpath
    where should i look to fix this?
    Thanks

    Ali -- I'd post this question to the JDeveloper forum on OTN. The bulk of the folks with BC4J specific knowledge live on that forum.
    -steve-

  • JBO-33001: Cannot find the configuration file bc4j.xcfg in the classpath

    We have an application created using Oracle JDeveloper 9i connected to Oracle 10g DB hosted on:
    windows 2000 server with Oracle Application Server 9i (9.0.3.0)
    It was working fine until we transfer our Data center to another location and new netwrok design was implemented including changing IP addresses
    So we deinstalled AS and install again and deployed the war file...
    then , I tried to change this file : bc4j.xcfg (where connection string was stored in) to update the new DB Server IP address
    I got this error :
    JBO-33001: Cannot find the configuration file EumrDB\common\bc4j.xcfg in the classpath
    I tried everything including restarting the server , deploying different version of war files ... Your help is appreciated...

    Hi,
    Did you change the bc4j.xcfg file manually by extracting from the war file and then adding back to war file? Have you tried opening the application in JDeveloper, change the connection, re-deploy to war file and deploy to application server?
    -Arun

  • Cannot run project - Cannot find config file bc4j.xcfg (9.0.5.2)

    Hi all,
    I've gotten myself in a situation and can't find my way out. I've got a project that does not use any business components. Just as a test, I created a business component (View Object, I think - can't remember for sure), and then deleted it and another file or two associated with the object shortly thereafter. Now, whenever I try to run the project (F11), I get the following error:
    oracle.jbo.JboException: JBO-33001: Cannot find the configuration file /com/my/package/datamodel/common/bc4j.xcfg in the classpath
         at oracle.jbo.client.Configuration.loadFromClassPath(Configuration.java:345)
         at oracle.jbo.common.ampool.PoolMgr.createPool(PoolMgr.java:272)
         at oracle.jbo.common.ampool.PoolMgr.findPool(PoolMgr.java:473)
         at oracle.jbo.common.ampool.ContextPoolManager.findPool(ContextPoolManager.java:165)
         at oracle.adf.model.bc4j.DataControlFactoryImpl.findOrCreateSessionCookie(DataControlFactoryImpl.java:135)
         at oracle.adf.model.bc4j.DataControlFactoryImpl.createSession(DataControlFactoryImpl.java:220)
         at oracle.adf.model.bc4j.DataControlFactoryImpl.createSession(DataControlFactoryImpl.java:97)
         at oracle.jbo.uicli.mom.JUMetaObjectManager.loadCpx(JUMetaObjectManager.java:612)
         at oracle.adf.model.servlet.ADFBindingFilter.initializeBindingContext(ADFBindingFilter.java:328)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:173)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:600)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:790)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
         at java.lang.Thread.run(Thread.java:534)
    I am assuming the error is related to the business object that is no longer there. My guess is that there is some reference somewhere that is telling JDev that there are business components associated with this project. I just can't find where that reference is (or my assumption is wrong ;) ).
    Does my project need the bc4j.xcfg file if it does not use any business components? Can anyone provide any guidance?
    Thanks for any help,
    Andy

    Thanks for the reply. I looked at the link supplied but didn't see how that could help me. Could you provide a little detail regarding what I need to do or where I need to look?
    And I want to make clear that I do not have and do not want any ADF components in my project at this time. I am simply looking to get my non-ADF project running locally as it used to do before I added and then deleted a component.
    Thanks,
    Andy

  • Cannot find the configuration file .../dataModel/common/bc4j.xcfg?

    Hi!
    I'm using Jdeveper 10.1.3 EA, when i run my application i meet error:
    Exception in thread main
    oracle.jbo.ConfigException: JBO-33001: Cannot find the configuration file /com/fss/isp/admin/dataModel/common/bc4j.xcfg in the classpath
         at oracle.jbo.client.Configuration.loadFromClassPath(Configuration.java:365)
         at oracle.jbo.common.ampool.PoolMgr.createPool(PoolMgr.java:281)
         at oracle.jbo.common.ampool.PoolMgr.findPool(PoolMgr.java:482)
         at oracle.adf.model.bc4j.DataControlFactoryImpl.findOrCreateSessionCookie(DataControlFactoryImpl.java:144)
         at oracle.adf.model.bc4j.DataControlFactoryImpl.createSession(DataControlFactoryImpl.java:250)
         at oracle.adf.model.binding.DCDataControlReference.getDataControl(DCDataControlReference.java:73)
         at oracle.adf.model.BindingContext.get(BindingContext.java:454)
         at oracle.adf.model.binding.DCUtil.findSpelObject(DCUtil.java:280)
         at oracle.adf.model.binding.DCUtil.findSpelObject(DCUtil.java:248)
         at oracle.adf.model.binding.DCUtil.findContextObject(DCUtil.java:383)
         at oracle.adf.model.binding.DCIteratorBinding.<init>(DCIteratorBinding.java:129)
         at oracle.jbo.uicli.binding.JUIteratorBinding.<init>(JUIteratorBinding.java:59)
         at oracle.jbo.uicli.binding.JUIteratorDef.createIterBinding(JUIteratorDef.java:87)
         at oracle.jbo.uicli.binding.JUIteratorDef.createIterBinding(JUIteratorDef.java:51)
         at oracle.adf.model.binding.DCIteratorBindingDef.createExecutableBinding(DCIteratorBindingDef.java:225)
         at oracle.adf.model.binding.DCBindingContainerDef.createExecutables(DCBindingContainerDef.java:295)
         at oracle.adf.model.binding.DCBindingContainerDef.createBindingContainer(DCBindingContainerDef.java:424)
         at oracle.adf.model.binding.DCBindingContainerReference.createBindingContainer(DCBindingContainerReference.java:54)
         at oracle.adf.model.binding.DCBindingContainerReference.getBindingContainer(DCBindingContainerReference.java:43)
         at oracle.adf.model.BindingContext.get(BindingContext.java:480)
         at oracle.jbo.uicli.jui.JUPanelBinding.setup(JUPanelBinding.java:93)
         at oracle.jbo.uicli.controls.JUTestFrame.createBindingCtxAndSetUpMenu(JUTestFrame.java:168)
         at oracle.jbo.uicli.controls.JUTestFrame.<init>(JUTestFrame.java:121)
         at oracle.jbo.uicli.controls.JUTestFrame.startTestFrame(JUTestFrame.java:84)
         at com.fss.isp.admin.view.PanelGroup.main(PanelGroup.java:113)
    Process exited with exit code 1.
    How to can i fix problem?
    thanks!

    Refer
    New to JDeveloper - cannot find the configuration file
    Re: JBO-33001: Cannot find the configuration file /model/common/bc4j.xcfg

  • JBO-33001: Cannot find the configuration ...bc4j.xcfg in the classpath

    Everytime I create a new Business Components Project (holding all EO and VO's) and I try to grab the application Module from the request object through java, I get the following error:
    oracle.jbo.JboException: JBO-33001: Cannot find the configuration file /org/cgfns/cerpass/bc/accounttransactions/common/bc4j.xcfg in the classpath
    Any ideas as to why this is happening??
    -Teri Kemple
    [email protected]

    look at the following posting
    one-many-many relationship

  • What causes JBO-33001: Cannot find the configuration file /common/bc4j.xcfg

    I know that the jbo exception message:
    JBO-33001: Cannot find the configuration file /common/bc4j.xcfg
    can be caused by several things including the file really not being there. But in my current case, I know it is there and can be found throgh the classpath, because I actually find it using Configuration.buildConfigurationFileNameFromClassPath and
    Configuration.getConfiguration just before calling Configuration.createRootApplicationModule. Is there any way to turn on a diagnostic to find out what is really wrong?
    I would also like to request an enhancement to give meaningful messages in the jbo exception.
    Roger

    This is on jdev 903 with patch running a local application attempting to connect to standalone OC4J 903. I think the error occurs before there is ever any attempt to make the connection to OC4J. Having one big catch-all exception for everything that can go wrong in creating the AM is pretty poor. I know in the past I have done manual editing of bc4j.xcfg and XML sentax errors cause exactly the same exception as not having the file at all. That is why I would at least like a list of all the causes behind the exception so I can go through and check them all.
    Thanks,
    Roger

  • Cannot find the configuration file bc4j.xcfg

    I have compiled my Business Components Project in JDeveloper and all Projects that reference that BC Project are pointing to the correct classes directory, but I am still getting the following error:
    JBO-33001: Cannot find the configuration file /com/arca/personalinfo/bc/common/bc4j.xcfg in the classpath
    I have re-compiled all my projects in JDev 9.0.3 and have double-checked that the bc4j.xcfg file is in the classes directory.
    Ideas?
    Thanks!
    -Teri Kemple

    This usually is a class path omittion.
    Your Jdev jpr config [double click your jpr]
    - Configurations - Development - Paths
    output path is set to some place
    - Libraries
    - The libraries that are created for you need to have
    the classpath box have your output path set.
    Check your output path, then check all the library definitions
    for your project. There always seems to be more than one
    created for you.
    Good luck curt

  • BUG: JBO-33001: Cannot find the configuration file bc4j.xcfg

    Hi,
    I get the exception JBO-33001: Cannot find the configuration file com\trivadis\adf\demos\login\model\common\bc4j.xcfg in the classpath
    after I have edited the file outside of JDev9052. Why? Because I followed the instructions of the help document "Modifying the JClient Login Dialog for JDBC". To get the JCLoginDialog you have to remove some lines in the bc4j.xcfg file.
    I have deleted the classes directory, rebuild the complete workspace, but I still get the exception.
    Any comments?
    Thanks,
    Markus
    Complete stacktrace:
    oracle.jbo.JboException: JBO-33001: Cannot find the configuration file com\trivadis\adf\demos\login\model\common\bc4j.xcfg in the classpath
         at oracle.jbo.client.Configuration.loadFromClassPath(Configuration.java:369)
         at oracle.jbo.common.ampool.PoolMgr.createPool(PoolMgr.java:272)
         at oracle.jbo.common.ampool.PoolMgr.findPool(PoolMgr.java:473)
         at oracle.adf.model.bc4j.DataControlFactoryImpl.findOrCreateSessionCookie(DataControlFactoryImpl.java:135)
         at oracle.adf.model.bc4j.DataControlFactoryImpl.createSession(DataControlFactoryImpl.java:220)
         at oracle.adf.model.bc4j.DataControlFactoryImpl.createSession(DataControlFactoryImpl.java:97)
         at oracle.jbo.uicli.mom.JUMetaObjectManager.loadCpx(JUMetaObjectManager.java:612)
         at com.trivadis.adf.demos.login.view.FormDeptView1.main(FormDeptView1.java:325)
    ## Detail 0 ##
    oracle.jbo.JboException: JBO-33000: Cannot find the configuration file registerConnectionsFromDocument
         at oracle.jbo.client.Configuration.registerConnectionsFromDocument(Configuration.java:1052)
         at oracle.jbo.client.Configuration.loadFromStream(Configuration.java:264)
         at oracle.jbo.client.Configuration.loadFromClassPath(Configuration.java:352)
         at oracle.jbo.common.ampool.PoolMgr.createPool(PoolMgr.java:272)
         at oracle.jbo.common.ampool.PoolMgr.findPool(PoolMgr.java:473)
         at oracle.adf.model.bc4j.DataControlFactoryImpl.findOrCreateSessionCookie(DataControlFactoryImpl.java:135)
         at oracle.adf.model.bc4j.DataControlFactoryImpl.createSession(DataControlFactoryImpl.java:220)
         at oracle.adf.model.bc4j.DataControlFactoryImpl.createSession(DataControlFactoryImpl.java:97)
         at oracle.jbo.uicli.mom.JUMetaObjectManager.loadCpx(JUMetaObjectManager.java:612)
         at com.trivadis.adf.demos.login.view.FormDeptView1.main(FormDeptView1.java:325)
    ## Detail 0 ##
    java.lang.NullPointerException
         at oracle.jbo.client.Configuration.registerConnectionsFromDocument(Configuration.java:1026)
         at oracle.jbo.client.Configuration.loadFromStream(Configuration.java:264)
         at oracle.jbo.client.Configuration.loadFromClassPath(Configuration.java:352)
         at oracle.jbo.common.ampool.PoolMgr.createPool(PoolMgr.java:272)
         at oracle.jbo.common.ampool.PoolMgr.findPool(PoolMgr.java:473)
         at oracle.adf.model.bc4j.DataControlFactoryImpl.findOrCreateSessionCookie(DataControlFactoryImpl.java:135)
         at oracle.adf.model.bc4j.DataControlFactoryImpl.createSession(DataControlFactoryImpl.java:220)
         at oracle.adf.model.bc4j.DataControlFactoryImpl.createSession(DataControlFactoryImpl.java:97)
         at oracle.jbo.uicli.mom.JUMetaObjectManager.loadCpx(JUMetaObjectManager.java:612)
         at com.trivadis.adf.demos.login.view.FormDeptView1.main(FormDeptView1.java:325)

    Repost.
    The original post date was Sep 05 2004, not Aug 17 2001. :-)

  • JBO-33001: Cannot find the configuration file /Procref/common/bc4j.xcfg

    Migrating project from Jdev 9.031 to Jdev 10.1.2.
    After the migration the app works fine on Jdev 10.1.2, but when deployed to local stand alone OC4J it throws the JBO 33001 error.
    I added dependency of view to the model.
    Checked the existense of bc4j.xcfg in the classes.
    I also ran the ADF Runtime installer as per the recommendations.
    Any suggestions.....
    The complete statck trace of the error is
    oracle.jbo.JboException: JBO-33001: Cannot find the configuration file /Procref/common/bc4j.xcfg in the classpath
         at oracle.jbo.client.Configuration.loadFromClassPath(Configuration.java:358)
         at oracle.jbo.common.ampool.PoolMgr.createPool(PoolMgr.java:281)
         at oracle.jbo.common.ampool.PoolMgr.findPool(PoolMgr.java:482)
         at oracle.jbo.common.ampool.ContextPoolManager.findPool(ContextPoolManager.java:165)
         at oracle.jbo.http.HttpContainer.findSessionCookie(HttpContainer.java:817)
         at oracle.jbo.html.jsp.datatags.ApplicationModuleTag.doStartTag(ApplicationModuleTag.java:169)
         at index.jspService(_index.java:73)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:347)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:509)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:413)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:810)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:322)
         at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:220)
         at gov.mi.mdch.procref.MainController.processRequest(MainController.java:53)
         at gov.mi.mdch.procref.MainController.doPost(MainController.java:39)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:810)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:322)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:790)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
         at java.lang.Thread.run(Thread.java:534)

    This is the same problem I am having. The "Model" product contains the AppModule and it's entity and view objects.
    I right-clicked on the AppModule and chose "Business Components Deployment". This created in the Resources folder a Model.bcdeploy, which contained ModelMiddleTier1.deploy and ModelCommon1.deploy.
    When I went to the project properties of my "WS" project in the same workspace, in the Dependencies panel, Model.bcdeploy and its 2 .deploy files were now listed bewas now listed beneath model.jpr. There is a check mark beside model.jpr. I thought this would do it.
    I then recreated the "J2EE Web Service" from class file in the WS project, and deployed to the external OC4J.
    When I test the web service using OC4J's test facility, I still get the same JBO-33001 error complaining that the adfws/model/common/bc4j.xcfg file is not in the classpath.
    Does something else need done to get it to be found at run time?
    This is JDev 10.1.3.
    Thanks for any ideas.
    Morga

  • Discussion forum Cannot find the configuration file config\common\bc4j.xcfg

    I successfully deployed the discussion form portlet and registered it with portal. I can reach the provider test page at Http://myserver:7777/forum/providers/forum
    Everything seems to be good except when I add the portlet to a page, and then view the page, I see an error in the portlet:
    "Unable to perform the operation: JBO-29000: Unexpected exception caught: oracle.jbo.JboException, msg=JBO-33001: Cannot find the configuration file config\common\bc4j.xcfg in the classpath"
    I have verified that bc4j.xcfg (as I have modified it) exists in:
    $IAS_HOME\j2ee\OC4J_Portal\applications\forum\forum\WEB-INF\classes\config\common
    I followed the instructions exactly. Does anyone know how to resolve this error? I'm running portal 9.0.2.3.0B, PDK 9.0.2.6.2 and the latest discussion forum download (downloaded 7/1/2004)
    Many thanks in advance!

    No ideas anyone?

Maybe you are looking for