"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

Similar Messages

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

    hi when am running my jspx page am geting this error , am in jdeveloper 11.1.1.6.0      
    Configuration file /uam/model/common/bc4j.xcfg is not found in the classpath
    my log error is
    <Utils> <buildFacesMessage> ADF: Adding the following JSF error message: Configuration file /uam/model/common/bc4j.xcfg is not found in the classpath.
    oracle.jbo.ConfigException: JBO-33001: Configuration file /uam/model/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.adf.model.BindingContext.internalFindDataControl(BindingContext.java:1189)
         at oracle.adf.model.BindingContext.get(BindingContext.java:1139)
         at oracle.adf.model.binding.DCParameter.evaluateValue(DCParameter.java:82)
         at oracle.adf.model.binding.DCParameter.getValue(DCParameter.java:111)
         at oracle.adf.model.binding.DCBindingContainer.getChildByName(DCBindingContainer.java:2713)
         at oracle.adf.model.binding.DCBindingContainer.internalGet(DCBindingContainer.java:2761)
         at oracle.adf.model.binding.DCExecutableBinding.get(DCExecutableBinding.java:115)
         at oracle.adf.model.binding.DCUtil.findSpelObject(DCUtil.java:304)
         at oracle.adf.model.binding.DCBindingContainer.evaluateParameterWithElCheck(DCBindingContainer.java:1458)
         at oracle.adf.model.binding.DCBindingContainer.findDataControl(DCBindingContainer.java:1588)
         at oracle.jbo.uicli.binding.JUCtrlActionBinding.getDataControl(JUCtrlActionBinding.java:566)
         at oracle.adf.model.binding.DCInvokeAction.refresh(DCInvokeAction.java:28)
         at oracle.adf.model.binding.DCBindingContainer.internalRefreshControl(DCBindingContainer.java:3273)
         at oracle.adf.model.binding.DCBindingContainer.refresh(DCBindingContainer.java:2876)
         at oracle.adf.controller.internal.binding.TaskFlowRegionController.doRegionRefresh(TaskFlowRegionController.java:270)
         at oracle.adf.controller.internal.binding.TaskFlowRegionController.refreshRegion(TaskFlowRegionController.java:119)
         at oracle.adf.model.binding.DCBindingContainer.internalRefreshControl(DCBindingContainer.java:3204)
         at oracle.adf.model.binding.DCBindingContainer.refresh(DCBindingContainer.java:2876)
         at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.prepareModel(PageLifecycleImpl.java:115)
         at oracle.adf.controller.faces.lifecycle.FacesPageLifecycle.prepareModel(FacesPageLifecycle.java:359)
         at oracle.adf.controller.v2.lifecycle.Lifecycle$2.execute(Lifecycle.java:137)
         at oracle.adfinternal.controller.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:197)
         at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.access$400(ADFPhaseListener.java:23)
         at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$PhaseInvokerImpl.startPageLifecycle(ADFPhaseListener.java:238)
         at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$1.after(ADFPhaseListener.java:274)
         at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.afterPhase(ADFPhaseListener.java:75)
         at oracle.adfinternal.controller.faces.lifecycle.ADFLifecyclePhaseListener.afterPhase(ADFLifecyclePhaseListener.java:53)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:472)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:194)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
         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.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:179)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
         at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    <Utils> <buildFacesMessage> ADF: Adding the following JSF error message: Configuration file /uam/model/common/bc4j.xcfg is not found in the classpath.
    oracle.jbo.ConfigException: JBO-33001: Configuration file /uam/model/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.adf.model.BindingContext.internalFindDataControl(BindingContext.java:1189)
         at oracle.adf.model.BindingContext.get(BindingContext.java:1139)
         at oracle.adf.model.binding.DCParameter.evaluateValue(DCParameter.java:82)
         at oracle.adf.model.binding.DCParameter.getValue(DCParameter.java:111)
         at oracle.adf.model.binding.DCBindingContainer.getChildByName(DCBindingContainer.java:2713)
         at oracle.adf.model.binding.DCBindingContainer.internalGet(DCBindingContainer.java:2761)
         at oracle.adf.model.binding.DCExecutableBinding.get(DCExecutableBinding.java:115)
         at oracle.adf.model.binding.DCUtil.findSpelObject(DCUtil.java:304)
         at oracle.adf.model.binding.DCBindingContainer.evaluateParameterWithElCheck(DCBindingContainer.java:1458)
         at oracle.adf.model.binding.DCBindingContainer.findDataControl(DCBindingContainer.java:1588)
         at oracle.jbo.uicli.binding.JUCtrlActionBinding.getDataControl(JUCtrlActionBinding.java:566)
         at oracle.adf.model.binding.DCInvokeAction.refresh(DCInvokeAction.java:28)
         at oracle.adf.model.binding.DCBindingContainer.internalRefreshControl(DCBindingContainer.java:3273)
         at oracle.adf.model.binding.DCBindingContainer.refresh(DCBindingContainer.java:2876)
         at oracle.adf.controller.internal.binding.TaskFlowRegionController.doRegionRefresh(TaskFlowRegionController.java:270)
         at oracle.adf.controller.internal.binding.TaskFlowRegionController.refreshRegion(TaskFlowRegionController.java:119)
         at oracle.adf.model.binding.DCBindingContainer.internalRefreshControl(DCBindingContainer.java:3204)
         at oracle.adf.model.binding.DCBindingContainer.refresh(DCBindingContainer.java:2876)
         at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.prepareModel(PageLifecycleImpl.java:115)
         at oracle.adf.controller.faces.lifecycle.FacesPageLifecycle.prepareModel(FacesPageLifecycle.java:359)
         at oracle.adf.controller.v2.lifecycle.Lifecycle$2.execute(Lifecycle.java:137)
         at oracle.adfinternal.controller.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:197)
         at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.access$400(ADFPhaseListener.java:23)
         at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$PhaseInvokerImpl.startPageLifecycle(ADFPhaseListener.java:238)
         at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$1.after(ADFPhaseListener.java:274)
         at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.afterPhase(ADFPhaseListener.java:75)
         at oracle.adfinternal.controller.faces.lifecycle.ADFLifecyclePhaseListener.afterPhase(ADFLifecyclePhaseListener.java:53)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:472)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:194)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
         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.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:179)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
         at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)

    i follow this http://mrk-group.blogspot.com/2012/06/bc4jxcfg-is-not-found-in-classpath.html and remove this
    but now am geting this error Object AppModuleDataControl of type DataControl is not found.
    the log error is
    <DCBindingContainer> <internalRefreshControl> [968] **** refreshControl() for BindingContainer :ocompanyofficerdetails_bc_1
    <DCUtil> <findSpelObject> [969] DCUtil, returning:oracle.adf.model.adapter.AdapterDCService, for OrgValidationBean
    <Utils> <buildFacesMessage> ADF: Adding the following JSF error message: Object AppModuleDataControl of type DataControl is not found.
    oracle.jbo.NoObjException: JBO-25003: Object AppModuleDataControl of type DataControl is not found.
         at oracle.adf.model.binding.DCIteratorBinding.getDataControl(DCIteratorBinding.java:2424)
         at oracle.jbo.uicli.binding.JUCtrlActionBinding.getDataControl(JUCtrlActionBinding.java:592)
         at oracle.adf.model.binding.DCInvokeAction.refresh(DCInvokeAction.java:28)
         at oracle.adf.model.binding.DCBindingContainer.internalRefreshControl(DCBindingContainer.java:3273)
         at oracle.adf.model.binding.DCBindingContainer.refresh(DCBindingContainer.java:2876)
         at oracle.adf.controller.internal.binding.TaskFlowRegionController.doRegionRefresh(TaskFlowRegionController.java:270)
         at oracle.adf.controller.internal.binding.TaskFlowRegionController.refreshRegion(TaskFlowRegionController.java:119)
         at oracle.adf.model.binding.DCBindingContainer.internalRefreshControl(DCBindingContainer.java:3204)
         at oracle.adf.model.binding.DCBindingContainer.refresh(DCBindingContainer.java:2876)
         at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.prepareModel(PageLifecycleImpl.java:115)
         at oracle.adf.controller.faces.lifecycle.FacesPageLifecycle.prepareModel(FacesPageLifecycle.java:359)
         at oracle.adf.controller.v2.lifecycle.Lifecycle$2.execute(Lifecycle.java:137)
         at oracle.adfinternal.controller.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:197)
         at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.access$400(ADFPhaseListener.java:23)
         at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$PhaseInvokerImpl.startPageLifecycle(ADFPhaseListener.java:238)
         at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$1.after(ADFPhaseListener.java:274)
         at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.afterPhase(ADFPhaseListener.java:75)
         at oracle.adfinternal.controller.faces.lifecycle.ADFLifecyclePhaseListener.afterPhase(ADFLifecyclePhaseListener.java:53)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:472)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:194)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
         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.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:179)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
         at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    my databinding.cpx is
    Edited by: ADF112 on 2012/10/10 1:22 PM

  • JB-3300-cfgration file-demo/common/bc4j.xcfg is not found in the classpath.

    Frnds,
    Doing login application using ADF thru viewobjects and entity objects.Created login page with fileds and backing bean fetching values entered by user, in the same bean trying to get data(from database)thru viewobject ......iam getting this error
    javax.faces.el.EvaluationException: oracle.jbo.JboException: JBO-29000: Unexpected exception caught: oracle.jbo.ConfigException, msg=JBO-33001: Configuration file /demo/common/bc4j.xcfg is not found in the classpath.
         at org.apache.myfaces.trinidad.component.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:51)
         at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)
         at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:190)
         at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:475)
    Caused by: oracle.jbo.JboException: JBO-29000: Unexpected exception caught: oracle.jbo.ConfigException, msg=JBO-33001: Configuration file /demo/common/bc4j.xcfg is not found in the classpath.
         at oracle.jbo.common.ampool.PoolMgr.findPool(PoolMgr.java:529)
         at oracle.jbo.client.Configuration.createRootApplicationModule(Configuration.java:1505)
         at oracle.jbo.client.Configuration.createRootApplicationModule(Configuration.java:1482)
    code used in bean is:
    ApplicationModule appmod = Configuration.createRootApplicationModule("demo.model","LAppModule");
    ViewObject vo= appmod.findViewObject("ViewObj1");
    pls help me.
    Thanks and Regards,
    Ashok B.

    **LogBeanPage.java**
    package project1;
    import oracle.adf.model.BindingContext;
    import oracle.adf.view.rich.component.rich.RichDocument;
    import oracle.adf.view.rich.component.rich.RichForm;
    import oracle.adf.view.rich.component.rich.input.RichInputText;
    import oracle.adf.view.rich.component.rich.layout.RichPanelFormLayout;
    import oracle.adf.view.rich.component.rich.nav.RichCommandButton;
    import oracle.adf.view.rich.component.rich.output.RichMessages;
    import oracle.binding.BindingContainer;
    import oracle.binding.OperationBinding;
    public class LoginPage {
    private RichCommandButton cb1;
    private RichInputText it1;
    private RichInputText it2;
    private RichPanelFormLayout pfl1;
    private RichForm f1;
    private RichMessages m1;
    private RichDocument d1;
    public LoginPage() {
    public void setCb1(RichCommandButton cb1) {
    this.cb1 = cb1;
    public RichCommandButton getCb1() {
    return cb1;
    public void setIt1(RichInputText it1) {
    this.it1 = it1;
    public RichInputText getIt1() {
    return it1;
    public void setIt2(RichInputText it2) {
    this.it2 = it2;
    public RichInputText getIt2() {
    return it2;
    public void setPfl1(RichPanelFormLayout pfl1) {
    this.pfl1 = pfl1;
    public RichPanelFormLayout getPfl1() {
    return pfl1;
    public void setF1(RichForm f1) {
    this.f1 = f1;
    public RichForm getF1() {
    return f1;
    public void setM1(RichMessages m1) {
    this.m1 = m1;
    public RichMessages getM1() {
    return m1;
    public void setD1(RichDocument d1) {
    this.d1 = d1;
    public RichDocument getD1() {
    return d1;
    public String cb1_action()
    String returnStr="error";
    System.out.println("Inside loginBtn_action");
    BindingContainer bindings=getBindings();
    OperationBinding operationBinding = bindings.getOperationBinding("checkLoginCredentails");
    Object result = operationBinding.execute();
    System.out.println(result);
    if (operationBinding.getErrors().isEmpty())
    returnStr= "success";
    System.out.println("returnStr= " + returnStr);
    return returnStr;
    private BindingContainer getBindings()
    return BindingContext.getCurrent().getCurrentBindingsEntry();
    }

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

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

  • JBO-33001: Configuration file /oracle/apps/crmCommon/activities/activityManagementService/applicationModule/common/bc4j.xcfg is not found in the classpath.

    I am trying to consume a base model which is available in the Customer.jws (AppCmmnCompActivitiesPublicModelActivityManagement) to my Mobile UI project available in Sales.jws (SalesMobilePublicUi). We have added proper Databindings.cpx entry for accessing the applicationModule present in the model.
    On deploying the sales mobile app, I get the following ConfigException:
    JBO-33001: Configuration file /oracle/apps/crmCommon/activities/activityManagementService/applicationModule/common/bc4j.xcfg is not found in the classpath.
    The bc4j.xcfg mentioned in the above path actually contains the entry. On checking about this issue, I found out that the prominent solution would be model project should be added as Dependencies to the UI project. But the UI is in different workspace (Sales.jws) and so the list of dependencies shown are those of this workspace only, whereas the model is present in Customer.jws and it does not come under the dependencies list.
    How can this issue be resolved? Please let me know any pointers on solving this issue.

    Build an adfLibrary from the model in the Customers.jws and add this adfLibrary to the other ui project. This will get you the dependency.
    Timo

  • 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

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

  • Bc4j.xcfg is not found in the classpath exception

    Hi All,
    I making a storefront application demo application.I am using Jdeveloper 11.1.1.3 .I am following step from activity guide.I am newbie in ADF.
    I have only model project.I have'nt created the view controller project.'When i am trying to run the java file created inside the test folder The error i am getting is
    oracle.fod.storefront.test.StorefrontTest
    Exception in thread "main" oracle.jbo.ConfigException: JBO-33001: Configuration file /test/common/bc4j.xcfg is not found in the classpath.
    When i checked the folder i found bc4j.xcfg file in the right directory i.e C:\JDeveloper\mywork\Storefront-05\StorefrontModel\src\oracle\fod\storefront\test\common
    Any suggestion what i should check

    can u check if the bc4j.cfg is available in the classes folder here
    C:\JDeveloper\mywork\Storefront-05\StorefrontModel\classes\oracle\fod\storefront\test\common

  • 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

  • BC Service Interface deployment issue (bc4j.xcfg is not found in the class)

    When I invoke my WS method I receive this formatted output:
    <env:Envelope
    xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
    <env:Header/>
    <env:Body>
    <env:Fault>
    <faultcode>env:Server</faultcode>
    <faultstring>JBO-29000: Unexpected exception caught: oracle.jbo.ConfigException, msg=JBO-33001: Configuration file /com/atrium/ws/bc/model/common/bc4j.xcfg is not found in the classpath.JBO-33001: Configuration file /com/atrium/ws/bc/model/common/bc4j.xcfg is not found in the classpath.</faultstring>
    <detail>
    <tns:ServiceErrorMessage
    xmlns:tns="http://xmlns.oracle.com/adf/svc/errors/"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <tns:code>29000</tns:code>
    <tns:message>JBO-29000: Unexpected exception caught: oracle.jbo.ConfigException, msg=JBO-33001: Configuration file /com/atrium/ws/bc/model/common/bc4j.xcfg is not found in the classpath.</tns:message>
    <tns:severity>SEVERITY_ERROR</tns:severity>
    <tns:detail
    xsi:type="tns:ServiceErrorMessage">
    <tns:code>33001</tns:code>
    <tns:message>JBO-33001: Configuration file /com/atrium/ws/bc/model/common/bc4j.xcfg is not found in the classpath.</tns:message>
    <tns:severity>SEVERITY_ERROR</tns:severity>
    <tns:exceptionClassName>oracle.jbo.ConfigException</tns:exceptionClassName>
    </tns:detail>
    <tns:exceptionClassName>oracle.jbo.JboException</tns:exceptionClassName>
    </tns:ServiceErrorMessage>
    </detail>
    </env:Fault>
    </env:Body>
    </env:Envelope>
    My Bc4j.xcfg is in my (bcProfile1_MiddleTier.jar) when I deploy this to my weblogic instance.
    Any suggestions?

    could be something to do with application jws file.

  • 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

  • ADF BC : many bc4j.xcfg files created

    hi
    Please consider this scenario using JDeveloper 10.1.3.3.0 to see that many bc4j.xcfg files are created when selecting a different connection:
    (1) First download Steve's example 116 (only 80 KB).
    (2) Unzip it and open MultipleLevelsOfReferenceAttributes.jws in JDeveloper 10.1.3.3.0 (where it will be migrated from JDeveloper 10.1.3.2.0 in which it was created).
    (3) In the "Open Warning" dialog that says "You are about to migrate the application ... to JDeveloper version 10.1.3.3.0 file format. ..." click Yes.
    (4) In the "Migration Progress" dialog that says "Migration successfully completed for ..." click OK.
    (5) Double click on the "Project" project to get the Project Properties dialog.
    (6) Select the Business Components panel and select any valid connection, click OK.
    (7) Click on Save All in the toolbar.
    At this time the Project.jpr file has changed.
    It also has a few new new entries in the "ownerMap" list, of "nodeClass" "oracle.jbo.dt.jdevx.JdvXmlNode" and also "oracle.jbo.dt.jdevx.ui.JdxXcfgNode" referring to these bc4j.xcfg files :
    Project/src/test/entities/associations/common/bc4j.xcfg
    Project/src/test/entities/common/bc4j.xcfg
    Project/src/test/queries/common/bc4j.xcfg
    Project/src/test/queries/viewlinks/common/bc4j.xcfgThese bc4j.xcfg files were also created on the file system and were not in the example when downloaded (you could use Subversion to see the exact differences).
    question:
    Why are so many bc4j.xcfg files created?
    many thanks
    Jan Vervecken

    Thank you for trying to reproduce this Frank.
    I tried the complete scenario again, including the download, and it still reproduces for me.
    So, you don't see the 4 new bc4j.xcfg files in the "Project/src" folder?
    regards
    Jan Vervecken

Maybe you are looking for