BC4J.XCFG problem

Who can help?
When running a BC4J application the following error happens running on 9ias application server from a deployed ear-file, (Do I run on my local OC4J then things go allright):
Er is een fout opgetreden JBO-29000: Unexpected exception caught: oracle.jbo.JboException, msg=JBO-33001: Cannot find the configuration file pilot\common\bc4j.xcfg in the classpath "
Do I look in the WEB_INF\classes directory then there is a pilot\common\bc4j.xcfg file in that directory.
It happens when instantiating the application-module form BC4J in the foolwing code-snippet
String applicationModule = "pilot.PilotModule"; // Full name of application module
String configuration = "PilotModuleLocal"; // Name of configuration
PilotModuleImpl am = (PilotModuleImpl)
Configuration.createRootApplicationModule(applicationModule,configuration);
Ik heb Business-components gedecompileerd om te kijken waar de fout optreedt:
en dit gebeurt in de method loadFromClassPath(String s) in de configuration class
nadat hij buildConfigurationFileNameFromClassPath de string " pilot\common\bc4j.xcfg "
heeft opgebouwd. Hij kan de stream dus niet inlezen.
public void loadFromClassPath(String s)
throws JboException
String s1 = "/" + s;
s1 = s1.replace(File.separatorChar, '/');
InputStream inputstream = JBOClass.getResourceAsStream(s1);
if(inputstream == null)
inputstream = JBOClass.getResourceAsStream(s1.substring(1));
if(inputstream == null)
throw new JboException(Class.forName("oracle.jbo.common.CommonMessageBundle"), "33001", new Object[] {
s1
try
loadFromStream(inputstream);
inputstream.close();
inputstream = null;
catch(Exception exception)
JboException jboexception = new JboException(Class.forName("oracle.jbo.common.CommonMessageBundle"), "33001", new Object[] {
s
jboexception.addToDetails(exception);
throw jboexception;

Hi. Sorry, no solution but am trying to work towards one! I am encountering a similar problem. All I am doing is running a simple BC4J JSP Browse Form. I am doing this locally using JDeveloper 9.0.2.822, WinXP Pro SP1.
The error I am getting is:
"Error Message: JBO-33001: Cannot find the configuration file /MyApp/common/bc4j.xcfg in the classpath".
I had 2 projects, with the Business Components Project separate to the BC4J JSP project, but have since included both in one project and the error is still the same. I have obviously included the correct path to the bc4j.xcfg file in both the WinXP classpath and the classpath in JDeveloper found under the relevant "Project Settings".
I have tried the tricks mentioned in other posting such as combing the bc4j.xcfg file for any errors in the xml but it seems well formed.
Any ideas?
cheers
D

Similar Messages

  • Bc4j.xcfg

    If anyone can help with this it would be great
    oracle.jbo.JboException: JBO-33001: Cannot find the configuration file /portaluniverse/eres/model/bo/diagrams/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:186)
         at java.lang.Thread.run(Thread.java:534)
    It seems as if Jdev 10g place this file anyware???

    Sounds like a problem some other people have had. Look at these threads:
    bc4j.xcfg
    BC4J.XCFG problem
    Re: BC4J.XCFG problem

  • JboException:JBO-33001 Problem with bc4j.xcfg file

    I am developing a JSP application that will be used to evaluate
    the JDeveloper 3.2 software for users to edit data in an Oracle
    8i database. The database is running on a Sun machine using
    solaris 2.8. The web server is Apache 1.13 and the servlet
    engine is Tomcat 3.2.
    I have read the other postings regarding this problem (Error:
    oracle.jbo.JboException: JBO-33001: Cannot find the
    configuration file /DataDummy/common/bc4j.xcfg in the classpath)
    and their does not appear to be a good description on how
    to correct this error.
    I have the path and file listed in my tomcat.sh file:
    (bc4j.xcfg at end of list)
    CLASSPATH=${CLASSPATH}:/project2/tomcat/lib/jdev3_2/xmlparserv2.j
    ar:/project2/tomcat/lib/jdev3_2/jdev-
    rt.zip:/project2/tomcat/lib/jdev3_2/jbojdbcpatch.zip
    :/project2/tomcat/lib/jdev3_2/connectionmanager.zip:/project2/tom
    cat/lib/jdev3_2/jbohtml.zip:/project2/tomcat/lib/jdev3_2/jboimdom
    ains.zip:/project2/tomcat/
    lib/jdev3_2/ordim817.zip:/project2/tomcat/lib/jdev3_2/ordvir817.z
    ip:/project2/tomcat/lib/jdev3_2/ordhttp.zip:/project2/tomcat/lib/
    jdev3_2/jbomt.zip:/project
    2/tomcat/lib/jdev3_2/jbodomorcl.zip:/project2/tomcat/lib/jdev3_2/
    jboremote.zip:/project2/tomcat/lib/jdev3_2/jndi.jar:/project2/tom
    cat/lib/jdev3_2/jbodatum12
    .zip:/project2/tomcat/lib/jdev3_2/classes12.zip:/project2/tomcat/
    lib/jdev3_2/DataJSP_DataDummy_DataDummy_Module.properties:/projec
    t2/tomcat/lib/jdev3_2/bc4j
    .xcfg
    Should the bc4j.xcfg be liste in the classpath of a different
    file than tomcat.sh?
    Is my above syntax incorrect for tomcat?
    Thank you for your assistance!

    Hello!
    I got the same problem with Tomcat 3.2. Now I tried Tomcat 4.0.1
    and it works.
    Bye,
    Andreas

  • JBO-33001 bc4j.xcfg CLASSPATH problem in deployed java web service

    Hi
    I have deployed a web service that uses a simple java class to update some BC4J EO's.
    I have included the deployed jar files in the OC4J Classpath.
    I have also deployed the web service to the application server.
    I then call the web service from BPEL.
    During the web service call, I'm getting the following exception:
    exception on JaxRpc invoke:
    start fault message:
    oracle.jbo.ConfigException: JBO-33001: Cannot find the configuration file /cb/test/peoplebc/common/bc4j.xcfg in the classpath at oracle.jbo.client.Configuration.loadFromClassPath(Configuration.java:367)
    I've checked that the file is deployed in the MiddleTier jar file, so not sure what to do.
    Any ideas most appreciated.
    Cheers
    Chris

    Hi,
    This may sound a bit stupid, but as a quick and dirty solution i just copied the common directory with the bc4j.xcfg file where it is looking for it. This makes it at least work. Any updates to the xcfg file done will of course not be reflected.
    Regards, G

  • Bc4j.xcfg deployment problem

    Hi!
    Could anyone please let me know what exactly is giving me the following errors.
    I have one Application Module in my applicaiton. I want to deploy that business component through EJB. After running through the wizard and deploying the application. I get the following error.
    JBO-33001: Cannot find the configuration file /com/test/common/bc4j.xcfg in the classpath; nested exception is:
         oracle.jbo.ConfigException: JBO-33001: Cannot find the configuration file /com/test/common/bc4j.xcfg in the classpath
         at com.evermind.server.ejb.EJBUtils.getUserException(EJBUtils.java:338)
         at com.evermind.server.ejb.interceptor.system.AbstractTxInterceptor.convertAndHandleMethodException(AbstractTxInterceptor.java:69)
         at com.evermind.server.ejb.interceptor.system.TxBeanManagedInterceptor.invoke(TxBeanManagedInterceptor.java:55)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    My bc4j.xcg file is in /com/test/appmod/common package.
    Could you plesae let me know what shall I do so that the AS looks for the bc4j.xcg file in the package i have the file.
    Regards,
    Jay

    Add a dependency from the View project to the Model project.
    JBO-33001: Cannot find the configuration file /model/common/bc4j.xcfg

  • Problem deploying bc4j.xcfg files

    Dear all,
    I created a project with business components inside JDeveloper (version 9.0.2.829). During the deployment the bc4j.xcfg files are not stored properly into the generated jar files. The bc4j.xcfg file is always empty although the file on the output directory is correct.
    What am I doing wrong?
    Dirk Maes

    Look at your deplyoment profile settings and make sure that all the files are being included.

  • JBO:33001 bc4j.xcfg file not found in class path

    Hi,
    I am yet another victim of the age-old error JBO:33001 bc4j.xcfg file not found in class path, When i have my BC4JApp.jar in Tomcat Web-inf/lib directory. All the other jar files and class files in my webserver-application web-inf classes and lib directory works.
    But Tomcat server is not able to read this bc4j.xcfg file. I can see in my jar file that this bc4j.xcfg exists and in the specified package directory. still the problem persists. My BC4JApp.jar is perfectly working when i use JDeveloper. but not when i use tomcat4.0 and call a JSP using BC4JApp.jar from browser (My environment is Jdeveloper3.2, Tomcat4.0+IIS in middle tier and oracle 8i as DB, everything on windows2k)
    I have gone through almost all the threads possible that relates to this error in this form. None of them have a answer except to say "put the file in classpath". and last reply is "will fix in jDeveloper 9i. So what happens to us who are working in Jdeveloper 3.2?
    1. I have this file in my jar file.
    2. I also tried creating a seperate directory manually, with the same name as my package under web-inf/classes, web-inf/lib , just under web-inf directory and atlast under approot directory also. I tried having my package directory containing bc4j.xcfg in these folders one at a time and also tried having this directory in all these folders at the same time.
    Still no solution.
    Itz frustrating that neither proper documentation nor a right url page nor i am aware of available addressing this. page links given in above threads only gives me the wonderful page of ie's "Page cannot be displayed".
    Is there a answer to this error and my problem. If this doesn't work, then i have to all the way develop from scratch creating my jsp using JDBC calls and Stored packages etc.
    I don't want to give up on this Jdeveloper at this final moment because if this bc4j.xcfg file is found, my application will work perfectly. on these final moments, if this doesn't work, i am frightened to imagine to develop my application in standard way. Atlast, if thatz the option left,we have to do that bcos our production date is close by.
    Please can some one in this forum or Jdeveloper help me to solve this problem. I am desperate and very urgent.
    Waiting for a reply from Jdev team very much...
    ( I just posted in the other thread which is pretty old, dated backto May 2001, which was relevant to this error. Just to make sure it is noticed, I am posting it seperately too)
    Thanks
    Hari(2/3/02)

    Hi All,
    For those who are following this thread, I got a solution for this error with the help of Jdev Team.
    This solution may work, if you have deployed your application in Tomcat4.0.1. This is the environment in which I work and tested.
    As you may be aware, Tomcat ignores value in CLASSPATH variable.
    To see any files that are existing or newly deployed, it has it own way of detecting it.
    Addition information on Tomcat working, you can follow this link,
    http://jakarta.apache.org/tomcat/tomcat-4.0-doc/index.html
    Coming to point, Tomcat has got five classloaders and each classloader invoked, looks in their related directories for files in following order.
    1. /WEB-INF/classes of your web-application
    2. /WEB-INF/lib/*.jar of your web application
    3. BootStrap classes of your JVM (Tomcat's $JAVA_HOME/jre/lib/ext)
    4. System class loader classes($CATALINA_HOME/bin/bootstrap.jar,CATALINA_HOME/lib/tools.jar)
    5. $CATALINA_HOME/common/classes
    6. $CATALINA_HOME/common/lib/*.jar
    7. $CATALINA_HOME//classes
    8. $CATALINA_HOME/lib/*.jar
    So All your individual application related files should be deployed in your application's WEB-INF/classes or WEB-INF/lib directory accordingly.
    If your application files are unpacked, they should be deployed or copied under WEB-INF/classes directory
    if the files are within a jar, they should be under WEB-INF/lib directory.
    If your Jar-files contains bc4j components, then those jar files should be deployed under WEB-INF/lib directory. Also,do the next step to copy all relavant BC4J runtime libraries under lib directory.
    IMPORTANT: Please remember to copy and paste all the required BC4j runtime libraries in the Same WEB-INF/lib directory along with your application jar files. This is the real reason which can solve this JBO:33001 to disappear. It worked for me.
    To configure your directory for tag-lib uri's, use web.xml to set the taglib-uri attribute.
    Put your web.xml and DataTags.tld in the WEB-INF directory.
    Your simple web.xml may look like as follows.
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <!DOCTYPE web-app
    PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
    "http://java.sun.com/dtd/web-app_2_3.dtd">
    <web-app>
         <taglib>
              <taglib-uri>
                   /webapp/DataTags.tld
              </taglib-uri>
              <taglib-location>
                   /WEB-INF/DataTags.tld
              </taglib-location>
         </taglib>
    </web-app>
    You may then modify this web.xml to suit further requirements of your application.
    Remember to stop and restart the Tomcat Server (service) by using shutdown and startup scripts after updating any jar files/class files/ JSP or source files deployed in Tomcat.
    Sometimes, only this helps even though your context's reloadable attribute is set to true in Tomcat Server's server.xml file.
    Hope this above information helps you to solve this error in Tomcat environment. My Sincere thanks once again to Juan and Jdev team for their help and efforts to solve this problem.
    Thanks
    Hari

  • JBO 33001 - Configuration file bc4j.xcfg not found

    I am facing the below issue in a standalone deployment while trying to open a particular UI:
    "JBO-33001: Configuration file
    /oracle/apps/scm/receiptAccounting/accrualClearing/adjustAccruals/uiModel/applicationModule/common/bc4j.xcfg is not found in the classpath."
    Local deployment through integrated WLS works fine.
    Above file bc4j.xcfg is present at the correct location(as mentioned in the error) in classes folder. Also, below conditions are satisfied which could have been the possible causes:
    1.) BC4J data control entry in DataBindings.cpx is correct.
    2.) Dependencies from UI to Model project are proper.
    The issue could be because the libraries present on the server are not in sync with the jdev version and could have been there due to jdev version migration.
    Any pointers on how to resolve the above problem will be greatly helpful.

    The issue could be because the libraries present on the server are not in sync with the jdev version and could have been there due to jdev version migration. Have you checked this?
    Does your wls use the right adf runtime for hte jdev version you used to build the application?
    Timo

  • Bc4j.xcfg file issues

    Hello,
    Maybe this question is solved, but i can't find it.
    I'm developing a very simple project wich consist in an AppModule that implements a custom
    method that accesses to a view, gets one field of one row in the view and returns it as string. This AppModule is accesed by a Launcher class with uses Configuration class methods (CreateRootApplicationModule and ReleaseRootApplicationModule) to checkout and checkin the AppModule from and to the pool. I'm using Jdeveloper 9.3.0.1035 and all the executions are taking place inside Jdeveloper.
    My first problem begin when i run the Launcher class and it throws a JBO-33001 exception, can't find the bc4j.xcfg file in path xxxx/yyyy/common/bc4j.xcgf. This is very courious because the package in wich the AppModule class where included was xxxx.yyyy.zzzz and in this path jdeveloper has created a common directory, including in it the bc4j.xcfj file, but in runtime, jdeveloper seems to be ignoring the last directory of the package and looks for the bc4j.xcfj file in a wrong path, using xxxx/yyyy/common instead xxxx/yyyy/zzzz/common.
    I've avoided this problem copying the common directory and its content to the path in wich jdeveloper is looking for it (xxxx/yyyy) .
    My second problem appears when i run again the Launcher class and it throws the JBO-33005 exception saying Configuration MyAppModule not found. The only way i found to avoid this problem is very extrange. I've modified the bc4j.xcfg file i copyied into the xxxx/yyyy/common directory changing the AppModuleConfig name attribute of my AppModule. It alwaws appears as "AppModuleLocal", well, i've deleted "Local" leaving it as "AppModule" and save the file. Finally it works, great, but my question is: Why????
    Thanks and greetings everyone
    Carlos

    Yes, you're right, i was getting the appmodule with:
    ApplicationModule am = Configuration.createRootApplicationModule("xxx.yyy.zzz", "AppModule");
    I'm goint to try it again using "AppModuleLocal".
    Thanks
    Carlos Well, i've try it and the problem about modifying the content of the AppModuleConfig name attribute of my AppModule in the bc4j.xcfg file has been solved, but still get the problem about the location of the common directory.
    Jdeveloper keeps on looking for the bc4j.xcfg file in a different path in wich it had created it. I still have to copy the common directory from xxxx/yyyy/zzzz/common to xxxx/yyyy/common to get it working, because if i don't do it, I get:
    oracle.jbo.JboException: JBO-33001: Cannot find the configuration file /xxxx/yyyy/common/bc4j.xcfg in the classpath
    Thanks again
    Carlos

  • JBO-33001 bc4j.xcfg WHAT A FRUSTRATION !!

    I have been browsing this site in order to find some solution this ever pending problem.
    I am using the JDEV 9.0.2.827 on linux with J2SDK 1.3.1.
    I have created one project for BC4J and one project for JSP client.
    Both of them using the wizards.
    I have compiled and build the BC4J project.
    The Client JSP has the lib reference to the BC4J project correctly, also the deployment has it checked in the "WEB-INF/lib"
    When I run the Client JSP projekt from the IDE using internal OC4J got the error:
    "Error Message: JBO-33001: Cannot find the configuration file /mypackage/common/ bc4j.xcfg in the classpath"
    Could somebody Pleazzz to give some hint how to do it !!!
    I do not understand why Oracle makes such a product that seems to miss logical automation and the end user has to hassel with something which should be REALLY automated or EXPLAINED in the documentation?
    An other example is the HOWTO deploy BC4J to JBOSS documentation. If I do the WAR deployment as suggested in the HOWTO got the same error. Is this the way how ORACLE understands the concept of quality?
    Bestr regards and thanx in advance...

    When you get this error, it means that your BC4J application classes are not accessible to your client project. Your only option is to make sure that the JSP client runtime has the BC4J application in it's classpath. Here are some observations:
    1. If your client runs fine within JDeveloper, your deployment environment is not correct and you need to make sure that your BC4J application classes can be accessed by your client. This may vary depending on which web or application server you are running on.
    2. If your application doesn't run inside of JDeveloper, you have a problem with your project configuration. Here is a simple way to fix this:
    - look at your BC4J project and copy the output path for your classes. Let's say it 'c:\jdev\myclasses1'
    - create a Jdeveloper library definition that includes 'c:\jdev\myclasses1' and add it to your client project. this will make the middle-tier classes available to your client.
    - when you create a WAR deployment profile for your client, make sure the library you created is also part of the deployment set of classes.

  • "bc4j.xcfg" file not in classpath  (and not in JAR file)

    Hi, this is a very similar problem to one reported today. I have created a JClient application that connects to a DB and displays some info in a JFrame. Running the application through JDeveloper, all is fine. But, if I create a jar file and run it directly through the jar file, I get this error message:
    C:\Work\Client\View\deploy>java -jar my_client.jar
    oracle.jbo.JboException: JBO-33001: Cannot find the configuration file /combit/common/bc4j.xcfg in the classpath
    at oracle.jbo.client.Configuration.loadFromClassPath(Configuration.java: 344)
    at oracle.jbo.common.ampool.PoolMgr.createPool(PoolMgr.java:331)
    at oracle.jbo.common.ampool.PoolMgr.findPool(PoolMgr.java:532)
    at oracle.jbo.client.Configuration.createRootApplicationModule(Configura tion.java:1320)
    at
    oracle.jbo.client.Configuration.createRootApplicationModule(Configura tion.java:1298)
    at view.Login.jbInit(Login.java:81)
    at view.Login.<init>(Login.java:39)
    at view.MainFrame.<clinit>(MainFrame.java:26)
    at view.Combit.<init>(Combit.java:13)
    at view.Combit.main(Combit.java:50)
    In fact, the bc4j.xcfg file is not inside my JAR file (it belongs to the BC4J project, so when I created the JAR file for my "View" project, it never came into.
    How should I create the JAR file to have this file inside and fix my problem??
    Thanks a lot,
    David

    I'm having a similar problem -- but I am just trying to run the BC4J project -- not a project dependent on the BC4J components... where is the classpath being incorrectly set?
    oracle.jbo.JboException: JBO-29000: Unexpected exception caught: oracle.jbo.JboException, msg=JBO-33001: Cannot find the configuration file infra\mainmenu\bc4j\common\bc4j.xcfg in the classpath
         void oracle.jbo.JboException.<init>(java.lang.Throwable)
              JboException.java:344
         oracle.jbo.common.ampool.ApplicationPool oracle.jbo.common.ampool.PoolMgr.findPool(java.lang.String, java.lang.String, java.lang.String, java.util.Properties)
              PoolMgr.java:481
         oracle.jbo.common.ampool.ApplicationPool oracle.jbo.common.ampool.ContextPoolManager.findPool(java.lang.String, java.lang.String, java.lang.String, java.util.Properties)
              ContextPoolManager.java:166
         oracle.jbo.common.ampool.ApplicationPool oracle.jbo.uicli.mom.JUMetaObjectManager.createPool(java.lang.String, java.util.Properties)
              JUMetaObjectManager.java:471
         oracle.jbo.common.ampool.SessionCookie oracle.jbo.http.HttpContainer.findSessionCookie(javax.servlet.http.HttpSession, java.lang.String, java.lang.String, java.util.Properties)
              HttpContainer.java:638
         oracle.jbo.common.ampool.SessionCookie oracle.cabo.data.jbo.servlet.RootAppModuleRegistryImpl.getSessionCookie(oracle.cabo.servlet.BajaContext, oracle.cabo.data.jbo.def.RootAppModuleDef)
         oracle.jbo.ApplicationModule oracle.cabo.data.jbo.servlet.RootAppModuleRegistryImpl.useRootAppModule(oracle.cabo.servlet.BajaContext, oracle.cabo.data.jbo.def.RootAppModuleDef)
         oracle.jbo.ApplicationModule oracle.cabo.data.jbo.servlet.RootAppModuleRegistryImpl.useRootAppModule(oracle.cabo.servlet.BajaContext, java.lang.String)
         void oracle.cabo.data.jbo.servlet.RootAppModuleRegistryImpl.useAll(oracle.cabo.servlet.BajaContext)
         void oracle.cabo.data.jbo.xml.parse.JboParserExtensionImpl$JboPageDescription.renderStarted(oracle.cabo.servlet.BajaContext, oracle.cabo.servlet.Page, oracle.cabo.ui.RenderingContext)
         void oracle.cabo.servlet.ui.UINodePageRenderer.renderPage(oracle.cabo.servlet.BajaContext, oracle.cabo.servlet.Page)
         void oracle.cabo.servlet.AbstractPageBroker.renderPage(oracle.cabo.servlet.BajaContext, oracle.cabo.servlet.Page)
         oracle.cabo.servlet.Page oracle.cabo.servlet.PageBrokerHandler.handleRequest(oracle.cabo.servlet.BajaContext)
         void oracle.cabo.servlet.UIXServlet.doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
         void javax.servlet.http.HttpServlet.service(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
              HttpServlet.java:740
         void javax.servlet.http.HttpServlet.service(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
              HttpServlet.java:853
         void com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.ServletRequestDispatcher.invoke(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
              ServletRequestDispatcher.java:721
         void com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.ServletRequestDispatcher.forwardInternal(javax.servlet.ServletRequest, javax.servlet.http.HttpServletResponse)
              ServletRequestDispatcher.java:306
         boolean com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpRequestHandler.processRequest(com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.ApplicationServerThread, com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.EvermindHttpServletRequest, com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.EvermindHttpServletResponse, java.io.InputStream, java.io.OutputStream, boolean)
              HttpRequestHandler.java:767
         void com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpRequestHandler.run(java.lang.Thread)
              HttpRequestHandler.java:259
         void com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpRequestHandler.run()
              HttpRequestHandler.java:106
         void EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run()
              PooledExecutor.java:803
         void java.lang.Thread.run()
              Thread.java:484
    ## Detail 0 ##
    oracle.jbo.JboException: JBO-33001: Cannot find the configuration file infra\mainmenu\bc4j\common\bc4j.xcfg in the classpath
         void oracle.jbo.client.Configuration.loadFromClassPath(java.lang.String)
              Configuration.java:314
         oracle.jbo.common.ampool.ApplicationPool oracle.jbo.common.ampool.PoolMgr.createPool(java.lang.String, java.lang.String, java.lang.String, java.util.Properties)
              PoolMgr.java:272
         oracle.jbo.common.ampool.ApplicationPool oracle.jbo.common.ampool.PoolMgr.findPool(java.lang.String, java.lang.String, java.lang.String, java.util.Properties)
              PoolMgr.java:457
         oracle.jbo.common.ampool.ApplicationPool oracle.jbo.common.ampool.ContextPoolManager.findPool(java.lang.String, java.lang.String, java.lang.String, java.util.Properties)
              ContextPoolManager.java:166
         oracle.jbo.common.ampool.ApplicationPool oracle.jbo.uicli.mom.JUMetaObjectManager.createPool(java.lang.String, java.util.Properties)
              JUMetaObjectManager.java:471
         oracle.jbo.common.ampool.SessionCookie oracle.jbo.http.HttpContainer.findSessionCookie(javax.servlet.http.HttpSession, java.lang.String, java.lang.String, java.util.Properties)
              HttpContainer.java:638
         oracle.jbo.common.ampool.SessionCookie oracle.cabo.data.jbo.servlet.RootAppModuleRegistryImpl.getSessionCookie(oracle.cabo.servlet.BajaContext, oracle.cabo.data.jbo.def.RootAppModuleDef)
         oracle.jbo.ApplicationModule oracle.cabo.data.jbo.servlet.RootAppModuleRegistryImpl.useRootAppModule(oracle.cabo.servlet.BajaContext, oracle.cabo.data.jbo.def.RootAppModuleDef)
         oracle.jbo.ApplicationModule oracle.cabo.data.jbo.servlet.RootAppModuleRegistryImpl.useRootAppModule(oracle.cabo.servlet.BajaContext, java.lang.String)
         void oracle.cabo.data.jbo.servlet.RootAppModuleRegistryImpl.useAll(oracle.cabo.servlet.BajaContext)
         void oracle.cabo.data.jbo.xml.parse.JboParserExtensionImpl$JboPageDescription.renderStarted(oracle.cabo.servlet.BajaContext, oracle.cabo.servlet.Page, oracle.cabo.ui.RenderingContext)
         void oracle.cabo.servlet.ui.UINodePageRenderer.renderPage(oracle.cabo.servlet.BajaContext, oracle.cabo.servlet.Page)
         void oracle.cabo.servlet.AbstractPageBroker.renderPage(oracle.cabo.servlet.BajaContext, oracle.cabo.servlet.Page)
         oracle.cabo.servlet.Page oracle.cabo.servlet.PageBrokerHandler.handleRequest(oracle.cabo.servlet.BajaContext)
         void oracle.cabo.servlet.UIXServlet.doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
         void javax.servlet.http.HttpServlet.service(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
              HttpServlet.java:740
         void javax.servlet.http.HttpServlet.service(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
              HttpServlet.java:853
         void com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.ServletRequestDispatcher.invoke(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
              ServletRequestDispatcher.java:721
         void com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.ServletRequestDispatcher.forwardInternal(javax.servlet.ServletRequest, javax.servlet.http.HttpServletResponse)
              ServletRequestDispatcher.java:306
         boolean com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpRequestHandler.processRequest(com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.ApplicationServerThread, com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.EvermindHttpServletRequest, com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.EvermindHttpServletResponse, java.io.InputStream, java.io.OutputStream, boolean)
              HttpRequestHandler.java:767
         void com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpRequestHandler.run(java.lang.Thread)
              HttpRequestHandler.java:259
         void com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpRequestHandler.run()
              HttpRequestHandler.java:106
         void EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run()
              PooledExecutor.java:803
         void java.lang.Thread.run()
              Thread.java:484
    ## Detail 0 ##
    oracle.jbo.JboException: JBO-33000: Cannot find the configuration file registerConnectionsFromDocument
         void oracle.jbo.client.Configuration.registerConnectionsFromDocument()
              Configuration.java:871
         void oracle.jbo.client.Configuration.loadFromStream(java.io.InputStream)
              Configuration.java:248
         void oracle.jbo.client.Configuration.loadFromClassPath(java.lang.String)
              Configuration.java:308
         oracle.jbo.common.ampool.ApplicationPool oracle.jbo.common.ampool.PoolMgr.createPool(java.lang.String, java.lang.String, java.lang.String, java.util.Properties)
              PoolMgr.java:272
         oracle.jbo.common.ampool.ApplicationPool oracle.jbo.common.ampool.PoolMgr.findPool(java.lang.String, java.lang.String, java.lang.String, java.util.Properties)
              PoolMgr.java:457
         oracle.jbo.common.ampool.ApplicationPool oracle.jbo.common.ampool.ContextPoolManager.findPool(java.lang.String, java.lang.String, java.lang.String, java.util.Properties)
              ContextPoolManager.java:166
         oracle.jbo.common.ampool.ApplicationPool oracle.jbo.uicli.mom.JUMetaObjectManager.createPool(java.lang.String, java.util.Properties)
              JUMetaObjectManager.java:471
         oracle.jbo.common.ampool.SessionCookie oracle.jbo.http.HttpContainer.findSessionCookie(javax.servlet.http.HttpSession, java.lang.String, java.lang.String, java.util.Properties)
              HttpContainer.java:638
         oracle.jbo.common.ampool.SessionCookie oracle.cabo.data.jbo.servlet.RootAppModuleRegistryImpl.getSessionCookie(oracle.cabo.servlet.BajaContext, oracle.cabo.data.jbo.def.RootAppModuleDef)
         oracle.jbo.ApplicationModule oracle.cabo.data.jbo.servlet.RootAppModuleRegistryImpl.useRootAppModule(oracle.cabo.servlet.BajaContext, oracle.cabo.data.jbo.def.RootAppModuleDef)
         oracle.jbo.ApplicationModule oracle.cabo.data.jbo.servlet.RootAppModuleRegistryImpl.useRootAppModule(oracle.cabo.servlet.BajaContext, java.lang.String)
         void oracle.cabo.data.jbo.servlet.RootAppModuleRegistryImpl.useAll(oracle.cabo.servlet.BajaContext)
         void oracle.cabo.data.jbo.xml.parse.JboParserExtensionImpl$JboPageDescription.renderStarted(oracle.cabo.servlet.BajaContext, oracle.cabo.servlet.Page, oracle.cabo.ui.RenderingContext)
         void oracle.cabo.servlet.ui.UINodePageRenderer.renderPage(oracle.cabo.servlet.BajaContext, oracle.cabo.servlet.Page)
         void oracle.cabo.servlet.AbstractPageBroker.renderPage(oracle.cabo.servlet.BajaContext, oracle.cabo.servlet.Page)
         oracle.cabo.servlet.Page oracle.cabo.servlet.PageBrokerHandler.handleRequest(oracle.cabo.servlet.BajaContext)
         void oracle.cabo.servlet.UIXServlet.doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
         void javax.servlet.http.HttpServlet.service(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
              HttpServlet.java:740
         void javax.servlet.http.HttpServlet.service(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
              HttpServlet.java:853
         void com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.ServletRequestDispatcher.invoke(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
              ServletRequestDispatcher.java:721
         void com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.ServletRequestDispatcher.forwardInternal(javax.servlet.ServletRequest, javax.servlet.http.HttpServletResponse)
              ServletRequestDispatcher.java:306
         boolean com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpRequestHandler.processRequest(com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.ApplicationServerThread, com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.EvermindHttpServletRequest, com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.EvermindHttpServletResponse, java.io.InputStream, java.io.OutputStream, boolean)
              HttpRequestHandler.java:767
         void com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpRequestHandler.run(java.lang.Thread)
              HttpRequestHandler.java:259
         void com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpRequestHandler.run()
              HttpRequestHandler.java:106
         void EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run()
              PooledExecutor.java:803
         void java.lang.Thread.run()
              Thread.java:484
    ## Detail 0 ##
    java.lang.NullPointerException
         void oracle.jbo.client.Configuration.registerConnectionsFromDocument()
              Configuration.java:860
         void oracle.jbo.client.Configuration.loadFromStream(java.io.InputStream)
              Configuration.java:248
         void oracle.jbo.client.Configuration.loadFromClassPath(java.lang.String)
              Configuration.java:308
         oracle.jbo.common.ampool.ApplicationPool oracle.jbo.common.ampool.PoolMgr.createPool(java.lang.String, java.lang.String, java.lang.String, java.util.Properties)
              PoolMgr.java:272
         oracle.jbo.common.ampool.ApplicationPool oracle.jbo.common.ampool.PoolMgr.findPool(java.lang.String, java.lang.String, java.lang.String, java.util.Properties)
              PoolMgr.java:457
         oracle.jbo.common.ampool.ApplicationPool oracle.jbo.common.ampool.ContextPoolManager.findPool(java.lang.String, java.lang.String, java.lang.String, java.util.Properties)
              ContextPoolManager.java:166
         oracle.jbo.common.ampool.ApplicationPool oracle.jbo.uicli.mom.JUMetaObjectManager.createPool(java.lang.String, java.util.Properties)
              JUMetaObjectManager.java:471
         oracle.jbo.common.ampool.SessionCookie oracle.jbo.http.HttpContainer.findSessionCookie(javax.servlet.http.HttpSession, java.lang.String, java.lang.String, java.util.Properties)
              HttpContainer.java:638
         oracle.jbo.common.ampool.SessionCookie oracle.cabo.data.jbo.servlet.RootAppModuleRegistryImpl.getSessionCookie(oracle.cabo.servlet.BajaContext, oracle.cabo.data.jbo.def.RootAppModuleDef)
         oracle.jbo.ApplicationModule oracle.cabo.data.jbo.servlet.RootAppModuleRegistryImpl.useRootAppModule(oracle.cabo.servlet.BajaContext, oracle.cabo.data.jbo.def.RootAppModuleDef)
         oracle.jbo.ApplicationModule oracle.cabo.data.jbo.servlet.RootAppModuleRegistryImpl.useRootAppModule(oracle.cabo.servlet.BajaContext, java.lang.String)
         void oracle.cabo.data.jbo.servlet.RootAppModuleRegistryImpl.useAll(oracle.cabo.servlet.BajaContext)
         void oracle.cabo.data.jbo.xml.parse.JboParserExtensionImpl$JboPageDescription.renderStarted(oracle.cabo.servlet.BajaContext, oracle.cabo.servlet.Page, oracle.cabo.ui.RenderingContext)
         void oracle.cabo.servlet.ui.UINodePageRenderer.renderPage(oracle.cabo.servlet.BajaContext, oracle.cabo.servlet.Page)
         void oracle.cabo.servlet.AbstractPageBroker.renderPage(oracle.cabo.servlet.BajaContext, oracle.cabo.servlet.Page)
         oracle.cabo.servlet.Page oracle.cabo.servlet.PageBrokerHandler.handleRequest(oracle.cabo.servlet.BajaContext)
         void oracle.cabo.servlet.UIXServlet.doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
         void javax.servlet.http.HttpServlet.service(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
              HttpServlet.java:740
         void javax.servlet.http.HttpServlet.service(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
              HttpServlet.java:853
         void com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.ServletRequestDispatcher.invoke(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
              ServletRequestDispatcher.java:721
         void com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.ServletRequestDispatcher.forwardInternal(javax.servlet.ServletRequest, javax.servlet.http.HttpServletResponse)
              ServletRequestDispatcher.java:306
         boolean com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpRequestHandler.processRequest(com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.ApplicationServerThread, com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.EvermindHttpServletRequest, com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.EvermindHttpServletResponse, java.io.InputStream, java.io.OutputStream, boolean)
              HttpRequestHandler.java:767
         void com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpRequestHandler.run(java.lang.Thread)
              HttpRequestHandler.java:259
         void com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpRequestHandler.run()
              HttpRequestHandler.java:106
         void EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run()
              PooledExecutor.java:803
         void java.lang.Thread.run()
              Thread.java:484

  • Configuration file /dbentities/common/bc4j.xcfg is not found in classpath

    Hello,
    I used database data control and drag & dropped onto the page.If I clean and build & then run its fetching the data but if run project without build then I get the following exception.
    Configuration file /dbentities/common/bc4j.xcfg is not found in the classpath.
    Error     
    java.lang.NullPointerException
    <MDSBackingStore> <obtainMetadataObject> Exception while getting mutable object
    oracle.mds.core.MetadataNotFoundException: MDS-00013: no metadata found for metadata object "/DbEntities/common/bc4j.xcfg"
    I used depreceted method for getting BindingContainer as follows
    *public BindingContainer getBindings() {*
    FacesContext fc = FacesContext.getCurrentInstance();
    Application app = fc.getApplication();
    *ValueBinding vb = app.createValueBinding("#{bindings}");*
    *return (BindingContainer)vb.getValue(fc);*
    Edited by: 925410 on Jul 2, 2012 10:36 PM

    Hi,
    Open your application module ->configuration then click on the link of bc4j.xcfx
    when it is open check the path of your bc4j file which will be show on the title bar when u open the bc4j.xcfx file.
    match that path and your error path sourly it will not be match .Now open your project from program file ond copy the bc4j.xcfx and past it here(..../dbentities/common/bc4j.xcfg (at same path where it showed in error )) now again reopen your project then do clean and build all after that your problem will b solved.But carefully the path will have to same as show in your log.

  • Configuration file /service/common/bc4j.xcfg is not found in the classpath.

    hi have a situation where when i add a certain jar in my portal application am geting this error but if i remove the jar in the portal application am geting the error where mis the problem is in my jar must i go to my jar application and solve problem there and where if the problem is in my portal where must i solve the proble am in jdeveloper 11.1.1.6.0
    the log error is
    <RegionRenderer> <encodeAll> The region component with id: pt1:r1 has detected a page fragment with multiple root components. Fragments with more than one root component may not display correctly in a region and may have a negative impact on performance. It is recommended that you restructure the page fragment to have a single root component.
    <Utils> <buildFacesMessage> ADF: Adding the following JSF error message: Configuration file test3/test4/test2/test1/bc/service/common/bc4j.xcfg is not found in the classpath.
    oracle.jbo.ConfigException: JBO-33001: Configuration file /test3/test4/test2/test1/bc/service/common/bc4j.xcfg is not found in the classpath.
         at oracle.jbo.client.Configuration.loadFromClassPath(Configuration.java:467)
         at oracle.jbo.common.ampool.PoolMgr.loadConfiguration(PoolMgr.java:600)
         at oracle.jbo.common.ampool.PoolMgr.findPool(PoolMgr.java:526)
         at oracle.adf.model.bc4j.DCJboDataControl.findApplicationPool(DCJboDataControl.java:572)
         at oracle.adf.model.bc4j.DCJboDataControl.initializeSessionCookie(DCJboDataControl.java:396)
         at oracle.adf.model.bc4j.DCJboDataControl.initializeJboSession(DCJboDataControl.java:310)
         at oracle.adf.model.bc4j.DataControlFactoryImpl.createSessionInternal(DataControlFactoryImpl.java:220)
         at oracle.adf.model.bc4j.DataControlFactoryImpl.createSession(DataControlFactoryImpl.java:130)
         at oracle.adf.view.rich.render.RichRenderer.encodeStretchedChild(RichRenderer.java:2004)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelSplitterRenderer._renderPane(PanelSplitterRenderer.java:1360)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelSplitterRenderer.encodeAll(PanelSplitterRenderer.java:279)
         at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1396)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:341)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:767)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:937)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:405)
         at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:2633)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeAllChildren(CoreRenderer.java:421)
         at oracle.adfinternal.view.faces.renderkit.rich.PageTemplateRenderer.encodeAll(PageTemplateRenderer.java:69)
         at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1396)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:341)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:767)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.encodeEnd(ContextSwitchingComponent.java:155)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:937)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:405)
         at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:2633)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeAllChildren(CoreRenderer.java:421)
         at oracle.adfinternal.view.faces.renderkit.rich.FormRenderer.encodeAll(FormRenderer.java:220)
         at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1396)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:341)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:767)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:937)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:405)
         at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:2633)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeAllChildren(CoreRenderer.java:421)
         at oracle.adfinternal.view.faces.renderkit.rich.DocumentRenderer.encodeAll(DocumentRenderer.java:1324)
         at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1396)
    how can i make sure your .jar ViewController project have Model project as a dependency,how can i search this path in jdeveloper /test1/test2/test3/test4/bc/service/common/bc4j.xcfg
    Edited by: adf009 on 2013/04/11 9:47 AM
    Edited by: adf009 on 2013/04/11 11:19 AM
    Edited by: adf009 on 2013/04/11 11:19 AM

    but am still geting the error in my portal application
    <Utils> <buildFacesMessage> ADF: Adding the following JSF error message: Configuration file /za/gov/cadastre/vulindlela/bc/service/common/bc4j.xcfg is not found in the classpath.
    oracle.jbo.ConfigException: JBO-33001: Configuration file /za/gov/cadastre/vulindlela/bc/service/common/bc4j.xcfg is not found in the classpath.
         at oracle.jbo.client.Configuration.loadFromClassPath(Configuration.java:467)
         at oracle.jbo.common.ampool.PoolMgr.loadConfiguration(PoolMgr.java:600)
         at oracle.jbo.common.ampool.PoolMgr.findPool(PoolMgr.java:526)
         at oracle.adf.model.bc4j.DCJboDataControl.findApplicationPool(DCJboDataControl.java:572)
         at oracle.adf.model.bc4j.DCJboDataControl.initializeSessionCookie(DCJboDataControl.java:396)
         at oracle.adf.model.bc4j.DCJboDataControl.initializeJboSession(DCJboDataControl.java:310)
         at oracle.adf.model.bc4j.DataControlFactoryImpl.createSessionInternal(DataControlFactoryImpl.java:220)
         at oracle.adf.model.bc4j.DataControlFactoryImpl.createSession(DataControlFactoryImpl.java:130)
         at oracle.adf.model.binding.DCDataControlReference.getDataControl(DCDataControlReference.java:167)
         at oracle.adf.model.BindingContext.instantiateDataControl(BindingContext.java:1056)
         at oracle.adf.model.dcframe.DataControlFrameImpl.doFindDataControl(DataControlFrameImpl.java:1566)
         at oracle.adf.model.dcframe.DataControlFrameImpl.internalFindDataControl(DataControlFrameImpl.java:1438)
         at oracle.adf.model.dcframe.DataControlFrameImpl.findDataControl(DataControlFrameImpl.java:1398
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._renderResponse(LifecycleImpl.java:911)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:367)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:222)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.portlet.client.adapter.adf.ADFPortletFilter.doFilter(ADFPortletFilter.java:32)
    my jar file DataBindings.cpx is
    <?xml version="1.0" encoding="UTF-8" ?>
    <Application xmlns="http://xmlns.oracle.com/adfm/application"
                 version="11.1.1.61.92" id="DataBindings" SeparateXMLFiles="false"
                 Package="uam.view" ClientType="Generic"
                 ErrorHandlerClass= "uam.view.CustomErrorHandler">
      <definitionFactories>
        <factory nameSpace="http://xmlns.oracle.com/adf/controller/binding"
                 className="oracle.adf.controller.internal.binding.TaskFlowBindingDefFactoryImpl"/>
        <dtfactory className="oracle.adf.controller.internal.dtrt.binding.BindingDTObjectFactory"/>
      </definitionFactories>
      <pageMap>
        <page path="/payment.jsff" usageId="uam_view_paymentPageDef"/>
        <page path="/test.jspx" usageId="uam_view_testPageDef"/>
        <page path="/security.jsff" usageId="uam_view_securityPageDef"/>
        <page path="/pdetails.jsff" usageId="uam_view_pdetailsPageDef"/>
        <page path="/odetails.jsff" usageId="uam_view_odetailsPageDef"/>
        <page path="/opayment.jsff" usageId="uam_view_opaymentPageDef"/>
        <page path="/members.jsff" usageId="uam_view_membersPageDef"/>
        <page path="/suburb.jsff" usageId="uam_view_suburbPageDef"/>
        <page path="/testsub.jspx" usageId="uam_view_testsubPageDef"/>
        <page path="/WEB-INF/register-org-flow.xml#register-org-flow@CreateInsert"
              usageId="uam_view_register_org_flow_register_org_flow_CreateInsertPageDef"/>
        <page path="/SelectOrg.jsff" usageId="uam_view_SelectOrgPageDef"/>
        <page path="/updateorg.jspx" usageId="uam_view_updateorgPageDef"/>
        <page path="/OrgDetails.jsff" usageId="uam_view_OrgDetailsPageDef"/>
        <page path="/User.jsff" usageId="uam_view_UserPageDef"/>
        <page path="/ListUsr.jsff" usageId="uam_view_ListUsrPageDef"/>
      </pageMap>
      <pageDefinitionUsages>
        <page id="uam_view_paymentPageDef" path="uam.view.pageDefs.paymentPageDef"/>
        <page id="uam_view_testPageDef" path="uam.view.pageDefs.testPageDef"/>
        <page id="uam_view_securityPageDef"
              path="uam.view.pageDefs.securityPageDef"/>
        <page id="uam_view_pdetailsPageDef"
              path="uam.view.pageDefs.pdetailsPageDef"/>
        <page id="uam_view_odetailsPageDef"
              path="uam.view.pageDefs.odetailsPageDef"/>
        <page id="uam_view_opaymentPageDef"
              path="uam.view.pageDefs.opaymentPageDef"/>
        <page id="uam_view_membersPageDef" path="uam.view.pageDefs.membersPageDef"/>
        <page id="uam_view_suburbPageDef" path="uam.view.pageDefs.suburbPageDef"/>
        <page id="uam_view_testsubPageDef" path="uam.view.pageDefs.testsubPageDef"/>
        <page id="uam_view_register_org_flow_register_org_flow_CreateInsertPageDef"
              path="uam.view.pageDefs.register_org_flow_register_org_flow_CreateInsertPageDef"/>
        <page id="uam_view_SelectOrgPageDef"
              path="uam.view.pageDefs.SelectOrgPageDef"/>
        <page id="uam_view_updateorgPageDef"
              path="uam.view.pageDefs.updateorgPageDef"/>
        <page id="uam_view_OrgDetailsPageDef"
              path="uam.view.pageDefs.OrgDetailsPageDef"/>
        <page id="uam_view_UserPageDef" path="uam.view.pageDefs.UserPageDef"/>
        <page id="uam_view_ListUsrPageDef" path="uam.view.pageDefs.ListUsrPageDef"/>
      </pageDefinitionUsages>
      <dataControlUsages>
        <dc id="OrgValidationBean" path="uam.view.OrgValidationBean"/>
        <dc id="UAMUtil" path="uam.view.UAMUtil"/>
        <BC4JDataControl id="UAMAppModuleDataControl1"
                         Package=".model.common"
                         FactoryClass="oracle.adf.model.bc4j.DataControlFactoryImpl"
                         SupportsTransactions="true" SupportsFindMode="true"
                         SupportsRangesize="true" SupportsResetState="true"
                         SupportsSortCollection="true"
                         Configuration="UAMAppModuleLocal" syncMode="Immediate"
                         xmlns="http://xmlns.oracle.com/adfm/datacontrol"/>
        <BC4JDataControl id="OrgAppModuleDataControl"
                         Package=".model"
                         FactoryClass="oracle.adf.model.bc4j.DataControlFactoryImpl"
                         SupportsTransactions="true" SupportsFindMode="true"
                         SupportsRangesize="true" SupportsResetState="true"
                         SupportsSortCollection="true"
                         Configuration="OrgAppModuleLocal" syncMode="Immediate"
                         xmlns="http://xmlns.oracle.com/adfm/datacontrol"/>
        <BC4JDataControl id="AppModuleDataControl"
                         Package=".model"
                         FactoryClass="oracle.adf.model.bc4j.DataControlFactoryImpl"
                         SupportsTransactions="true" SupportsFindMode="true"
                         SupportsRangesize="true" SupportsResetState="true"
                         SupportsSortCollection="true"
                         Configuration="OrgAppModuleLocal" syncMode="Immediate"
                         xmlns="http://xmlns.oracle.com/adfm/datacontrol"/>                
        <BC4JDataControl id="UpdAppModuleDataControl"
                         Package=".model.UpdOrgDetails"
                         FactoryClass="oracle.adf.model.bc4j.DataControlFactoryImpl"
                         SupportsTransactions="true" SupportsFindMode="true"
                         SupportsRangesize="true" SupportsResetState="true"
                         SupportsSortCollection="true"
                         Configuration="UpdAppModuleLocal" syncMode="Immediate"
                         xmlns="http://xmlns.oracle.com/adfm/datacontrol"/>
      </dataControlUsages>
    </Application>
    and my portal  DataBindings.cpx  is
    <?xml version="1.0" encoding="UTF-8" ?>
    <Application xmlns="http://xmlns.oracle.com/adfm/application"
                 version="11.1.1.59.23" id="DataBindings" SeparateXMLFiles="false"
                 Package="portal" ClientType="Generic"
                 PageMapClass="oracle.jbo.uicli.mom.DynamicPageMapImpl"
                 BasePageDefPackageName="pageDefs">
      <pageMap>
        <page path="/oracle/webcenter/portalapp/pages/navigation-renderer.jspx"
              usageId="portal_navigation_rendererPageDef"/>
        <page path="/oracle/webcenter/portalapp/pages/home.jspx"
              usageId="portal_homePageDef"/>
        <page path="/oracle/webcenter/portalapp/pages/login.jspx"
              usageId="portal_loginPageDef"/>
        <page path="/oracle/webcenter/portalapp/pages/error.jspx"
              usageId="portal_errorPageDef"/>
        <page path="/oracle/webcenter/portalapp/pagetemplates/pageTemplate_globe.jspx"
              usageId="portal_pageTemplate_globePageDef"/>
        <page path="/oracle/webcenter/portalapp/pagetemplates/pageTemplate_swooshy.jspx"
              usageId="portal_pageTemplate_swooshyPageDef"/>
        <page path="/oracle/webcenter/portalapp/pagetemplates/cadastreTemplate.jspx"
              usageId="cadastre_portal_cadastreTemplatePageDef"/>
        <page path="/oracle/webcenter/portalapp/pages/register.jspx"
              usageId="cadastre_portal_registerPageDef"/>
        <page path="/oracle/webcenter/portalapp/pages/forgotUsername.jspx"
              usageId="cadastre_portal_forgotUsernamePageDef"/>
        <page path="/oracle/webcenter/portalapp/pages/forgotPassword.jspx"
              usageId="cadastre_portal_forgotPasswordPageDef"/>
        <page path="/oracle/webcenter/portalapp/pages/content.jspx"
              usageId="cadastre_portal_contentPageDef"/>
        <page path="/oracle/webcenter/portalapp/pages/changePassword.jspx"
              usageId="cadastre_portal_changePasswordPageDef"/>
        <page path="/oracle/webcenter/portalapp/pages/upgateProfile.jspx"
              usageId="cadastre_portal_upgateProfilePageDef"/>
        <page path="/oracle/webcenter/portalapp/pages/loginHome.jspx"
              usageId="cadastre_portal_loginHomePageDef"/>
        <page path="/oracle/webcenter/portalapp/pagetemplates/cadastreLoginTemplate.jspx"
              usageId="cadastre_portal_cadastreLoginTemplatePageDef"/>
        <page path="/oracle/webcenter/portalapp/pages/spatialq.jspx"
              usageId="cadastre_portal_spatialqPageDef"/>
        <page path="/oracle/webcenter/portalapp/pages/admin/usrLoginReports.jspx"
              usageId="cadastre_portal_usrLoginReportsPageDef"/>
        <page path="/oracle/webcenter/portalapp/pages/admin/esubAdmin.jsp"
              usageId="cadastre_portal_esubAdminPageDef"/>
        <page path="/oracle/webcenter/porta
    {code}
    Edited by: adf009 on 2013/04/12 11:32 AM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Error Configuration File bc4j.xcfg is not found in the classpath

    I am new to JDeveloper and ADF, and am suffering through the steep learning curve. This story may prove useful to someone, someday.
    I just finished resolving a “bc4j.xcfg is not found in the classpath” error and it added another level of understanding to how things are glued together.
    There is a back story. I had made a first pass at creating a test application. When I was done I started “enhancing” the application. One of the changes was to add a column to a view in the database. Try as I might I could not get that change propagated to the business component. This is still on my to-figure-out list. In frustration I dropped the model and recreated it from the database tables and views. Testing it with the “AppModule” in the model project I could see the view with the new column. However, when I went to run one of my old jspx pages, I now got the dreaded “bc4j.xcfg is not found in the classpath” – and this was for a page that was not using my updated view. As the military expression goes, “Whiskey Tango Foxtrot”.
    It is now working again, and here is what I found.
    I noticed in the error message that it could not find “/cloudapp1/common/bc4j.xcfg”. When I searched for the file I found it in /cloudapp1/model/common/bc4j.xcfg. I went to the project properties for the model project and on the “Project Source Paths” node I saw at the bottom of the page Default Package: cloudapp1.model. Ah Ha! That is where the /cloudapp1/model structure came from. Then I remembered that the first time through I had changed the default package to just cloudapp1. Part of my experimenting with the product. When I quickly rebuilt the model project I did not do that.
    Next I found the DataBindings.cpx that one note alluded to. It is in the ViewController project. There I found an “OC4JDataControl” section. In there was and entry Package=”cloudapp1”. This was the original package name. When I rebuilt the model, this was not updated. Anyway, I changed it to Package=”cloudapp1.model”. [ Insight:  When you first build an app it can make some good guesses about what is needed, but when you start adding and dropping projects it is much harder to guess how they are glued together.]
    Raising a cup of coffee in triumph I re-ran the test page.
    Dang! Still a bc4j.xcfg not found in the classpath – but this time the path mentioned matched the path where I knew the file to be.
    I am nothing if not stubborn. I knew the problem just had to be in the ViewController project, because the AppModule in the model project worked. So, I started going through all of the project properties. I finally came across something called “Dependencies” that had big ugly red circles with an x in them. Ah ha. This is what tells the ViewController what other projects (like the business model project) this ViewController is dependent on. Although the editing process it not obvious I eventually pointed it to the new model project. [Deepening insight.]
    When I re-ran the test page it worked! Coffee finished. Story with a happy ending.
    Summary:
    1.     Make sure the package name in the ViewController DataBindings.cpx matches the one in your model project.
    2.     Make sure the ViewController Dependencies entry points to the model project.

    Thought I'd add a little bit more to this post I found helpful.
    I'm creating an application which uses other application ViewController projects deployed as library .jar files. If your .jar ViewController project deployment profiles don't have your Model project as a dependency, you will get the .bc4j error as well.
    This can be confusing when the ViewController pages function correctly when run within their own application context, but somehow lose their bc4j when deployed as a .jar.
    Hope that helps someone down the road.

  • Data-sources.xml instead of bc4j.xcfg

    Please give me some direction on how I can configure my Application Module to use JNDI lookup of my data-sources.xml file instead of using the bc4j.xcfg file. I know there is a way but I need a step by step process to get this done through configuration while developing in the IDE.

    Can you please tell how did you solve that. I have similar problem
    Kavitha

Maybe you are looking for

  • No goods receipt possible for purchase order 4800000097

    hi, i am facing a problem while at the time of Doing GR . it says the "No goods receipt possible for purchase order 4800000097"  when i try to proceed with the GR. I have checked all the necessary possibilities such as 1.  PO has been released 2. at

  • Adobe Muse CC 2014 no text effects installed

    I recently updated creative cloud cc2014 and the old version of Adobe Muse I have the text effect panel and now CC 2014 I can't even find my text effect (shadow and all that) Can anyone please help.  Thank you CJ

  • How to set alarm and clear alarm in specific time

    Hi in my project i have to set alarm when ever there is limit vilation and clear it when ther is no limit viloation.But the problem is i should not set alarm for every violation,ihave to check,in 10 sec if there are 3 violations then only i have to s

  • Validating JTextfield in an Applet

    I am doing a simple assignment for a Java class I am taking. The assignment consists of doing the Tower of Hanoi with just symbols showing the moves of the disks. I have been successful in writing the recursive statement and init() but I am having tr

  • Can I get OS 9 free?

    Since this OS is really old and I am wondering if it is free from Apple? I have a 12 year old iMac that used to have OS 9 but one of my stupid friend put OS X in it and it really slow to do anything!