Bc4j.xcfg not found

hello,
newbie get crazy,
i build the bussiness components tutorial...all fing seems to be fine.
if i "run" the application i get the error what the bc4j.xcfg is not found
in the classpath. i can found this file inside the ..common directory of my
workspace. i read the issue in the release notes but i canot follow this
because it do not fit. any ideas?
best regards
peter ;-)

Peter,
The client project referes to the classes directory of your
BC4J project. If this is not setup correctly then you will
see this error.
1. Rebuild your BC4J project
2. Use BC4J Tester and make sure you can see your AppModule.
3. In your client project make sure there is a library definition, whose classpath refers to BC4J project's classes directory.
HTH,
Sathish.
hello,
newbie get crazy,
i build the bussiness components tutorial...all fing seems to be fine.
if i "run" the application i get the error what the bc4j.xcfg is not found
in the classpath. i can found this file inside the ..common directory of my
workspace. i read the issue in the release notes but i canot follow this
because it do not fit. any ideas?
best regards
peter ;-)

Similar Messages

  • JUNIT test failure-Configuration file bc4j.xcfg not found in the classpath

    Hi All,
    As part of an ESS project,Im having a model project containing a VO(parameters VO).This VO is configured to have Read-only access through SQL query and have only one transient attribute each.For the model projects containing the VO for pre merge checker compliance I had to create JUNIT Test projects containing new AMs for testing the parametersVO. While running the JUNIT tests I got an exception like
    “oracle.jbo.JboException: JBO-29000: Unexpected exception caught: oracle.jbo.ConfigException, msg=JBO-33001: Configuration file /oracle/apps/hcm/goals/core/dataMigration/publicEssModel/test/applicationModule/common/bc4j.xcfg is not found in the classpath.”.—even though this file is contained in both the src/classes folder of the project.
    When i try to run the TestAM I'm getting an exception like 'configuration tester.xcfg not found in the calsspath.
    While debugging this error, we found that we are able to successfully run the JUNIT tests if we make some changes in the adf-config.xml file of the Application. The change required is to comment out the mdsC:adf-mds-config tag in the xml file.
    After doing this change Im also able to run my AM without any exception.
    Is this a known issue?.
    Since modifying the adf-config.xml is not a recommended practice is there any workaround that we can get rid of this exception.
    Regards,
    Ajin.

    Just checked but could only find this thread Unable to run ADFBC JUNIT Test Classes with JDEV11G 11.1.1.6
    As it's also dealing with junit and 11.1.1.6.0 you might want to read it.
    Timo

  • 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

  • Configuration file bc4j.xcfg not found in the classpath.

    When i try to run an application that uses ADF BC i get an error telling me the bc4j.xcfg was not found.
    When i open my AppModule and click the bc4j.xcfg link it opens. When i look at the path it stored in, it is different from the path the error says.
    It's something like this:
    Configuration file /be/something/model/common/bc4j.xcfg is not found in the classpath
    but my appModule opens the bc4j.xcfg in a different folder:
    /be/something/utility/common/bc4j.xcfg
    It's a fact i modified the project and managed the packages a bit but i always used the refactor menu of jdeveloper in order to move or rename files.
    It appears that something has failed while moving/changing name.
    I looked inside my project to look for references for bc4j.xcfg but i can't find any so i can't see were to change the directory he needs to look for the bc4j file.
    How do i fix my project?

    John,
    In the DataBindings.cpx i can't find any reference to a datacontrol...
    This is my bindings:
    <?xml version="1.0" encoding="UTF-8" ?>
    <Application xmlns="http://xmlns.oracle.com/adfm/application"
                 version="11.1.1.56.60" id="DataBindings" SeparateXMLFiles="false"
                 Package="be.usermanagementProv.portlets" ClientType="Generic">
      <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="/UserManagement/view.jspx"
              usageId="be_usermanagementProv_portlets_viewPageDef"/>
      </pageMap>
      <pageDefinitionUsages>
        <page id="be_usermanagementProv_portlets_viewPageDef"
              path="UserManagement.viewPageDef"/>
      </pageDefinitionUsages>
    </Application>In the datacontrol section when i right click the DC the "edit definition" is grayed out. Probably because the DC comes from the library and is not created in the application.

  • Configuration file bc4j.xcfg not found. Old pages work, new ones don't.

    , I've spent way to much time already trying to troubleshoot this problem.
    Simply put, everything works fine on JDeveloper 9.0.3. The same application can Not view anything on JDeveloper 9.0.2
    I'm deploying the application to Oracle9ias 9.0.3 and I come up with the following error:
    Error Message: JBO-29000: Unexpected exception caught: oracle.jbo.JboException, msg=JBO-33001: Cannot find the configuration file **/common/bc4j.xcfg in the classpath
    This error only occurs when I deploy the application through Enterprise Manager. Yet when directly deploying the files all application pages that were unchanged have no difficulty working, but the application pages that have changes (database tables changed as well) don't work properly. In fact, they attempt to make View Object select statements that are not contained in the new version of the application (PK name has changed).
    How can I get the pages pointed to the new bc4j.xcfg? Is there something wrong with the configuration on the server? (I've already attempted: including the bc4j.xcfg in the additional path, sychronizing, deploying the business components, and even recompiling in 9.0.2)

    We had the same error message here. We resolved it by changing the format of the password in the bc4j.xcfg file. To do this, find the bc4j.xcfg file in your project directory. Using notepad or another external editor, edit the one under the "src" directory. Find the password tag under your connection in the file.
    Edit it so that it reads like this:
    <password value="<yourpassword>" />
    Let me know if it worked..
    BTW, I have also heard that upgrading your Java instalation on your server will also fix the problem, but we have not tried that.

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

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

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

  • Bc4j.xcfg not in classpath

    Hi all,
    I have a JClient Application which runs well under Linux, wehere I developed the app. I now tried to run the app under Windows. But when I start the app I get an error message "... bc4j.xcfg not in classpath ...". I did some research, but all I found out is,
    - that the mentioned file IS in the classpath.
    - the classpath is correct when starting the application
    Is it possible that the classpath is too long on my windows machine? Each library has the complete path in it when starting the application.
    I am using JDev 9.0.3.3 on Linux and Windows. JDK is in both cases 1.4.2. As my app should run on both systems, this is very important for me.
    Any help is appreciated.
    Thanks,
    Axel

    Hi,
    after having deployed to Oracle ias9i 9.0.3 with JDeveloper 9.0.3 I'll receive this message when starting my application.
    But the bcfj.cfg is definitely in the classpath.
    Does anyone has a tip/hint for me to solve this problem?
    Many thanks,
    Stefan

  • Bc4j.xcfg not updating...

    I found something on OTN saying that you can bypass the PCOLL_ temp table storage for row spill-over by supplying the property jbo.use.pers.coll to false in the Oracle Business Component Configuration panel.
    I added this property into the config panel, saved and rebuilt the application. After doing this, I do not see the new property (or any of the other properties I tested) in my bc4j.xcfg files... should they be showing up there? -- Also, this did not stop the temp tables from being used... maybe because the settings did not take?
    -matt

    Hi,
    after having deployed to Oracle ias9i 9.0.3 with JDeveloper 9.0.3 I'll receive this message when starting my application.
    But the bcfj.cfg is definitely in the classpath.
    Does anyone has a tip/hint for me to solve this problem?
    Many thanks,
    Stefan

  • BC4J page not found

    I am trying to deploy a very simple BC4J page to a standalone OC4J using JDeveloper (10.1.2, same version as OC4J) but got "page not found" all the time.
    This page can be running in JDeveloper embedded OC4J without any issues and the WAR file was created using JDeveloper. No issues occured in the deployment. But BC4J page cannot be shown up - got "page not found" error. Other JSP pages are fine. I checked the "persistence\_pages" directory and it turns out that those JSP pages using BC4J were not translated into Java files until I remove the BC4J component from the page. It seems datatags.jar and web.xml are ok.
    Any ideas? Thanks in advance.

    No ADF is not preinstalled on the OC4J.
    Check under the tools menu for the ADF Runtime installer and run it on your OC4J instance.

  • Error: Configuration file /model/common/bc4j.xcfg is not found in the classpath???

    Hi Everyone,
    My Jdev version is 11.1.2.3.0.
    I have developed one ADF application and was working very fine.
    But the Jdev got crashed so i re-installed the same version but the application which was running earlier is not working now. I tried by installing different versions of Jdevelopers but none seems worked for me.
    Error is given below:
    <Utils> <buildFacesMessage> ADF: Adding the following JSF error message: Configuration file /model/common/bc4j.xcfg is not found in the classpath.
    oracle.jbo.ConfigException: JBO-33001: Configuration file /model/common/bc4j.xcfg is not found in the classpath.
    at oracle.jbo.client.Configuration.loadFromClassPath(Configuration.java:471)
    at oracle.jbo.common.ampool.PoolMgr.loadConfiguration(PoolMgr.java:600)
    What is this error about?
    How can i solve this error t make my application to run?
    Please give ur valuable suggestions...
    Thanks.

    Configuration file bc4j.xcfg not found in the classpath.

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

  • Classes on which ur servlet depends is not found in classpath

              i am trying to deploy a servlet in exploded form in weblogic 7.0.Its is deployed correctly but when i call the servlet from a html file i.e. index.html it throws an error http:<Error> <HTTP> <101250>
              stating that the classes on which my servlet class depends is not found in classpath.I have set classpath manually and also created a domain name "ApplicationDomain" and i have put my application "WebApp" in application's directory in the domain
              it throw the folowiing error with exceptions
              <May 28, 2003 12:09:54 PM IST> <Error> <HTTP> <101250> <[ServletContext(id=1642082,name=WebApp,context-path=)]: Servlet
              class myclasses.Gservlet for servlet Gservlet could not be loaded because a class on which it depends was not found in t
              he classpath D:\bea\user_projects\Applicationdomain\applications\WebApp;D:\bea\user_projects\Applicationdomain\applicati
              ons\WebApp\WEB-INF\classes.
              java.lang.NoClassDefFoundError: myclasses/Gservlet (wrong name: Gservlet)>
              <May 28, 2003 12:09:54 PM IST> <Error> <HTTP> <101018> <[ServletContext(id=1642082,name=WebApp,context-path=)] Servlet f
              ailed with ServletException
              javax.servlet.ServletException: [ServletContext(id=1642082,name=WebApp,context-path=)]: Servlet class myclasses.Gservlet
              for servlet Gservlet could not be loaded because a class on
              

    Configuration file bc4j.xcfg not found in the classpath.

  • 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

  • Bc4j.xcfg is not found

    Hi
    When i run application i get this error
    oracle.jbo.ConfigException: JBO-33001: Configuration file /com/comp/setup/model/controltext/common/bc4j.xcfg is not found in the classpath.
    note that i use JDev 11.1 with fusion

    When i run applicationWhen you run the application from where (e.g., the integrated WLS, a separate WLS to which you have deployed your app)?
    If you get this error on a separate WLS, did you build an EAR file and deploy it (not the WAR file)?
    John

  • Services/common/bc4j.xcfg is not found in the classpath

    Hi Everyone,
    i have got one ADF application which has developed in Jdev 11G release 2.
    i have tried to run in my Jdev(Jdev 11G release1 11.1.1.5.0).
    it gave some errors regarding imports so i imported those missing jar files and application got comipled succesfully.
    When i run the application it shows me below error:
    <Utils> <buildFacesMessage> ADF: Adding the following JSF error message: Configuration file /com/sinter/gme/abc/services/common/bc4j.xcfg is not found in the classpath.
    oracle.jbo.ConfigException: JBO-33001: Configuration file /com/sinter/gme/abc/services/common/bc4j.xcfg is not found in the classpath.
    when i check that path in my project its there till "/com/sinter/gme/abc/services" and "/common/bc4j.xcfg" is not there.
    the same appliaction is running fine in server after deploying. but i need to change some things and redeploy it but it is not running as expected.
    Please help me to get out of this.
    Any suggestions.
    Thanks.

    Add Model to ViewController as dependency(right click Model--> Dependencies-->use custom setting), add dependency with "Edit dependencies".

Maybe you are looking for

  • Use of Logical database in ABAP Queries

    hi, Can anybody tell me when/why do we use logical database in Infosets for ABAP Query? Regards, Divya

  • WIth Pages 3 less is definitely NOT more!

    When I initially upgraded (a term that I shall be using with caution in the future) to Pages 3 I quite liked the stripped-back appearance. But, having started to use this 'improved' iteration of Apple's word-processor, I have reverted to the previous

  • Itunes crashing everytime I sync or try to update my iPhone....

    Im using windows vista and everytime I try to sync or update my itunes it says Itunes has stopped working windows is closing the program.... Anyone know a way to fix?

  • APEX_ITEM.POPUP_FROM_QUERY does not open nw window, does not return a value

    Hi. I am trying to use APEX_ITEM.POPUP_FROM_QUERY: SELECT APEX_ITEM.POPUP_FROM_QUERY 1, ftdpr.POWNUMBER, 'SELECT DISTINCT ftp1.POWNUMBER AS "DISPLAY", ftp1.POWNUMBER AS "RETURN" FROM CBI.FT_POW ftp1 WHERE ftp1.EXCHANGE=133 AND ftp1.FLOOR_NUMBER=1' )

  • Drowned iPod Touch - Is it really dead?

    Folks, I've drowned my iPod touch - yes, the moisture indicator in the earbud jack is red. I know it's not covered by warranty, but is it fixable? It asks to be plugged into iTunes tries to go into recovery mode - but then gives an error code - so it