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

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

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

Similar Messages

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

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

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

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

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

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

  • App Module Tester - JBO-33001: Cannot find the configuration file

    I have a custom main function for my application module. Launching the tester is fine
    launchTester("a.b.c.user_mnt.datamodel", "user_mntServiceLocal" );but if I comment out that line and add custom code:
    String amDef = "a.b.c.user_mnt.datamodel";
    String config = "user_mntServiceLocal";
    ApplicationModule am = Configuration.createRootApplicationModule(amDef,config);I get the following error:
    Diagnostics: (BC4J Bootstrap) Routing diagnostics to standard output
    (use -Djbo.debugoutput=silent to remove)
    [00] Diagnostic Properties: Timing:false Functions:false Linecount:true Threshold:6
    [01] CommonMessageBundle (language base) being initialized
    [02] Configuration.loadFromClassPath() failed
    [03] Stringmanager using default locale: 'en_US'
    [04] oracle.jbo.ConfigException: JBO-33001: Cannot find the configuration file
    /a/b/c/user_mnt/common/bc4j.xcfg in the classpathBut the bc4j.xcfg exists in
    /a/b/c/user_mnt/datamodel/common/bc4j.xcfgIs there a way to change where Jdev is looking for that file?
    Thank you,
    Brian

    Completely new workspace doesn't fix the problem.
    If I move the common folder to where jdev is looking it runs fine (I get a runtime error, but it runs none-the-less).
    Any help?
    Brian

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

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

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

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

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

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

  • JboException: JBO-33001: Cannot find the configuration file /common/bc4j.xc

    Hello,
    i'm new on this board and found it while i was searching for an solution of my problem.
    I would like to apologize about my english, i try my best.
    Now lets come to my problem.
    I have 1 workspace with 2 projects.
    in project 1 there are entity objects, view objects and an application object.
    in project 2 there are jsp's action classes and form beans (i try to use Struts).
    in one jsp i try this:
    <jbo:ApplicationModule id="am" configname="*.*.*.bc4j.ReportingModule" releasemode="Stateful" />
    <jbo: DataSource id="ds" appid="am" viewobject="*.*.*.bc4j.HilfeTexteView" />
    <select name="TEXT" size="1">
    <option value="-1" selected>sonstiges</option>
    <jbo:RowsetIterate datasource="ds" changecurrentrow="true">
    <option value="<jbo:ShowValue datasource="ds" dataitem="TEXT"></jbo:ShowValue>">
    <jbo:ShowValue datasource="ds" dataitem="AUTOR"></jbo:ShowValue>
    </option>
    </jbo:RowsetIterate>
    </select>
    <jbo:ReleasePageResources releasemode="Stateful" appid="am" />
    compilation finish successful, but when i try to run this jsp, there appear an error like:
    oracle.jbo.JboException: JBO-33001: Cannot find the configuration file /common/bc4j.xcfg in the classpath
    i think it dont work, because the configuration file bc4j.xcfg is in project 1 folder and i try to take it out of projeck 2 folder
    I hope you know what i try to tell you
    i will be very happy, when somebody could help me.
    greetings
    Rene

    Please refer to other posts for the JboException.
    JBO-33001: Cannot find the configuration file /model/common/bc4j.xcfg
    Accessing BC4J ApplicationModule from another Project

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

    I m trying to insert into the database from a form.My action class is given below.The application compiles okey, the else option works fine, but during the if option I get the following error:
    oracle.jbo.JboException: JBO-33001: Cannot find the configuration file /common/bc4j.xcfg in the classpath
    But I checked to see that the file is in the correct class path.What are the other reasons for the error to hapen?Please anyone!!
    My action class is as below:
    public class InsertDAAction extends Action
    public ActionForward execute(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException
    String facingName=request.getParameter("facingName");
    String facingDirection=request.getParameter("facingDirection");
    if (facingName!=null && facingDirection!=null && facingName.equals("john") && facingDirection.equals("meyer")) {
    String amDef = "AppModule";
    String config = "AppModuleLocal";
    ApplicationModule am = Configuration.createRootApplicationModule(amDef, config);
    AppModuleImpl myAm = (AppModuleImpl)am;
    myAm.createNewOrder(facingName,facingDirection);
    return mapping.findForward("success");
    else {
    return mapping.findForward("fail");
    }

    I have set the dependency.
    and its not in the WAR file.
    I think I have the problem in this
    ApplicationModule am = Configuration.createRootApplicationModule(amDef, config);
    You can see the complete code above.IS there any alternative method for the commenction to the App Module
    This have troubled me since almosta week but still cant get out.

  • Cannot find the configuration file bc4j.xcfg

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

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

  • Who can help? BC4J: Cannot find the configuration file bc4j.xcfg

    Wie kan mij helpen?
    Bij het runnen van een BC4J applicatie treedt de volgende fout op, wanneer gedraaid wordt op de 9ias applicatieserver vanuit de gedeployde ear-file, (draai ik de zaak op mijn lokale OC4J dan gaat de zaak wel goed):
    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 "
    Kijk ik echter in de WEB_INF\classes directory dan bestaat er wel degelijk een pilot\common\bc4j.xcfg file in die directory.
    Het gebeurt bij instantieren van de applicatie-module van BC4J in het volgende 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;

    I'm having this same problem when I try to run my BC4J project. This has happened to me before but I forgot how it was resolved. Any ideas?

  • JBO-33001: Cannot find the configuration file /

    Hi,
    I've looked through several of the postings on this error, but have not found what I'm looking for. I created an Application Module that ended up having something corrupt in it, so I created a new Application Module and delete the old one. When trying to run the page via OC4J that is executing the view objects in my app module, I get the JBO-33001 that is looking for the bc4j file for the OLD application module name. I re-bound the fields I was using on my .jspx file with the fields from the new app module, but I cannot find where this OLD app module is still being called from. Do you have any suggestions?
    Thanks for your help.

    Hi,
    try if the following sequence helps
    1. select the model project and choose Run --> Clean <project name>
    2. Rebuild the proect (right mouse click)
    This cleans up all generated files and ensures that they are replaced with newer ones.
    Frank

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

    I'm using ADF and trying to code a data action as follows:
    package checks.view;
    import oracle.adf.controller.struts.actions.DataActionContext;
    import oracle.adf.controller.struts.actions.DataForwardAction;
    import oracle.jbo.ApplicationModule;
    import oracle.jbo.Row;
    import oracle.jbo.ViewObject;
    import oracle.jbo.client.Configuration;
    public class DataAction1Action extends DataForwardAction {
    protected void findForward(DataActionContext ctx) throws Exception {
    super.findForward(ctx);
    String am = "model.ChkModule";
    String cf = "ChkModuleLocal";
    ApplicationModule apm = Configuration.createRootApplicationModule(am,cf);
    ViewObject vo = apm.findViewObject("LateCountView");
    vo.executeQuery();
    Row r = vo.first();
    String test = r.getAttribute("LateCount").toString();
    System.out.println(test);
    The code compiles OK, but when I run it I get the above error message.
    Can someone help me with this.
    Thanks

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

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

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

    look at the following posting
    one-many-many relationship

  • Cannot find the configuration file in classpath

    Cannot find the configuration file /oracle/apps/prc/po/....applicationModule/common/bc4j.xcfg in the classpath.
    Hi!
    I'm trying to run the following code:
    String appModule = "oracle.apps.prc.po.manageDocument.uiModel.viewDocument.applicationModule.ViewPurchasingDocumentApplicationModule";
    String cfg = "ViewPurchasingDocumentApplicationModuleLocal";
    ApplicationModule applicationModule = (ApplicationModule)Configuration.createRootApplicationModule(appModule, cfg);
    I get this error message:
    Exception in thread "main" oracle.jbo.ConfigException: JBO-33001: Cannot find the configuration file /oracle/apps/prc/po/manageDocument/uiModel/viewDocument/applicationModule/common/bc4j.xcfg in the classpath
         at oracle.jbo.client.Configuration.loadFromClassPath(Configuration.java:430)
         at oracle.jbo.common.ampool.PoolMgr.createPool(PoolMgr.java:293)
         at oracle.jbo.common.ampool.PoolMgr.findPool(PoolMgr.java:557)
         at oracle.jbo.client.Configuration.createRootApplicationModule(Configuration.java:1334)
         at oracle.jbo.client.Configuration.createRootApplicationModule(Configuration.java:1312)
         at oracle.apps.prc.po.manageDocument.model.viewPdf.generateXml.getXMLData(generateXml.java:26)
         at oracle.apps.prc.po.manageDocument.model.viewPdf.generateXml.main(generateXml.java:39)
    I have checked and the config file does exist in the correct directory, and I can see it in my Application Module - Configurations. Any idea why this is happening? Am I supposed to configure something specifically for this or add it in my classpath? If so, how am I supposed to do it?
    Thanks
    Mansi
    Edited by: Mansi G on Oct 6, 2008 11:56 AM

    Where is the code you posted? Running in a separate project, I assume? Does that project have a dependency on the project containing the app module specified?
    And just to check (although by default, JDev should do this for you)--the app module project has been compiled since adding the configuration, right? You need to check to make sure the config exists not only under Project/src, but under Project/classes.
    Edited by: Avrom Roy-Faderman on Oct 6, 2008 2:02 PM
    Oh, and BTW--I assume this is not a typical ADF application, right? In a standard ADF application, you would very rarely need to instantiate an application module in code like this; you could just let the data binding facility do it for you. The technique like the one you're using is most appropriate for purely programmatic, no-UI cases. (e.g., once I tried to implement an SMTP server backed by business components. That was an appropriate case for ditching databindings and doing the sort of thing you're doing, because it had no view layer (because it had no UI to render).

  • New to JDeveloper - cannot find the configuration file

    Hello,
    I'm new to JDeveloper and have been following a couple of the tutorials on OTN. I have just been through one called Business Components Programmatic Client Tutorial which attempts to teach you how to create a batch client for some customer orders. I've got a workspace with two projects. One holds the business components and the other holds a Java application. Basically, when I try to run it, I get the following errors :
    oracle.jbo.JboException: JBO-33001: Cannot find the configuration file /OnlineOrder/common/bc4j.xcfg in the classpath
         at oracle.jbo.client.Configuration.loadFromClassPath(Configuration.java:237)
         at oracle.jbo.common.ampool.PoolMgr.createPool(PoolMgr.java:192)
         at oracle.jbo.common.ampool.PoolMgr.findPool(PoolMgr.java:348)
         at oracle.jbo.client.Configuration.createRootApplicationModule(Configuration.java:951)
         at bcbatch.Batch.main(Batch.java:21)
    Exception in thread "main"
    Process exited with exit code 1.
    I know that the createRootApplicationModule procedure is trying to instanciate an an application module of the type specified and the configuration file exists at :
    E:\JDeveloper\jdev\mywork\bcbatch\OnlineOrder\src\OnlineOrder\common\bc4j.xcfg
    My classpath is set to :
    E:\<Oracle_home>\jdev\mywork\bcbatch\OnlineOrder\src
    so its hard to see why it can't find \OnlineOrder\common\bc4j.xcfg from there.
    Any help would be greatly appreciated.
    Regards,
    Joe

    Make sure your bc4j application project is compiled. To verify see that the .xcfg file exists in the classpath of the "client-project" / outpath of the Bc4j project.

Maybe you are looking for

  • Error while publishing the message to queue

    Hi , I am trying to run an example code . But i am getting the following error... I tried to search all the topics but i didnt got the answer. Following is the error :- Error in performJmsOperations: oracle.jms.AQjmsException: ORA-06550: line 1, colu

  • Trying to connect Yamaha s08 to Garage Band

    Does anyone know how to change the Host  Select on a Yamaha s08 from MIDI to USB?   I can't get it to work with Garage Band.

  • Quickbooks for Mac or Windows?

    I need to run quickbooks for a new company I am a partner in. My question is...should I just run quickbooks for mac or should I install XP and run quickbooks for windows? I am looking for ease of use but I have heard all the good support and instruct

  • How can I save an attached ZIP file

    I cannot access an attached ZIP file in Acrobat XI Pro. Please help as this is becoming a huge time waster.

  • Enable Palm Syncing tells me Hotsync isn't properly installed - but it is.

    I'm able to sync my Tungsten T5 with Palm Desktop, but not with iSync. When I go to DEVICES in my iSync and click ENABLE PALM SYNCING, the pop-up window tells me to open Hotsync; that it hasn't been opened before or installed. It IS installed and I a