Websphere deployment required edit of bc4j.xcfg file

Coming from this thread:
Websphere 5.1 and ADF/UIX
We've deployed an ADFUIX application to IBM Websphere, but are seeing strange requirements. The server could not get a jdbc connection until we edited the bc4j.xcfg file from having an encrypted password to a human readable one. Can someone from Oracle address this? It would seem the encryption isn't making it through. Do we need to use a different set of drivers?
Thanks.

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

Similar Messages

  • Problem deploying bc4j.xcfg files

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

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

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

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

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

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

  • 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

  • Corrupt bc4j.xcfg file

    I have had problems getting the bc4j.xcfg file to generate correctly
    following changes to the database connections.
    ie. the jdbcname would be updated following a change to the configuration
    but the dbconnection string would point to the connection string for a different connection!
    The workaround to this is to export the connections prior to doing a Save All- Build.
    Make sure you have an identical copy in each project directory if you have several projects which are connected
    to each other. The file will then generate correctly.

    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

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

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

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

  • Defining bc4j.xcfg for Webservice from ADF Application Module

    Hi all,
    I've already posted my previous question in JBO30003 while executing ADF Application Module WebService
    but no replies at all :)
    after thorough inspection, i found that why my client can connect to ADF AM and why my WebService Invocation is failed with JBO 300003. My J2EE Client application is connected to ADF AppModule with some configuration in CPX file.
    <JboProject
       id="DataBindings"
       xmlns="http://xmlns.oracle.com/adfm/application"
       version="10.1.2.18.73"
       SeparateXMLFiles="false"
       Package=""
       ClientType="JClient" >
       <Contents >
          <DataControl
             id="AppModuleDataControl"
             SubType="DCBC4J"
             SupportsFindMode="true"
             SupportsTransactions="true"
             Package="package"
             FactoryClass="FactoryImpl"
             Configuration="AppModuleEmbeddedAS" >
             <Parameters >
                <Parameter
                   name="Sync"
                   value="Immediate" >
                </Parameter>
             </Parameters>
          </DataControl>
    and so forththis CPX file define that this client connect to Application Module on my AppServer with "AppModuleEmbeddedAS" configuration, as stated in my BC4J.XCFG.
    <AppModuleConfig name="AppModuleEmbeddedAS">
             <AppModuleJndiName>AppModuleBean</AppModuleJndiName>
             <java.naming.security.credentials>welcome</java.naming.security.credentials>
             <DeployPlatform>EjbIas</DeployPlatform>
             <java.naming.security.principal>admin</java.naming.security.principal>
             <jbo.internal.embedded>true</jbo.internal.embedded>
             <HostName>localhost</HostName>
             <jbo.ampool.dynamicjdbccredentials>false</jbo.ampool.dynamicjdbccredentials>
             <ApplicationName>AppModule</ApplicationName>
             <jbo.ampool.doampooling>false</jbo.ampool.doampooling>
             <java.naming.security.authentication>simple</java.naming.security.authentication>
             <java.naming.factory.initial>oracle.jbo.common.JboInitialContextFactory</java.naming.factory.initial>
             <ConnectionPort>23891</ConnectionPort>
             <JDBCDataSource>jdbc/DBGEBPOC_on_LOCALHOSTDS</JDBCDataSource>
             <java.naming.provider.url>ormi://localhost:23791/current-workspace-app</java.naming.provider.url>
             <jbo.server.internal_connection>jdbc/DBGEBPOC_on_LOCALHOSTCoreDS</jbo.server.internal_connection>
             <jbo.dofailover>false</jbo.dofailover>
             <ApplicationPath>current-workspace-app</ApplicationPath>
             <jbo.ampool.resetnontransactionalstate>false</jbo.ampool.resetnontransactionalstate>
          </AppModuleConfig>Now, how could I define configuration like my J2EE Client in my web service? as we know that web service's client is web browser. Does it mean that we can't define any CPX file?
    FYI, My webservice's End Point pages is successly shown up. but when i invoke the method, it returns XML with faultmessage Error JBO30003.

    Hi,
    You can directly edit the bc4j.xcfg file. Note that the WebService binding is not created from the Am directly but from the deployed WSDL file.
    Frank

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Maybe you are looking for

  • How to select the column with respect to language in sql server

    USE Master SELECT * FROM SysMessages GO when i execute the above query, in description column am getting English and Chinese , here if i want to select only English . how can i select only English language by using WHERE condition. And why am getting

  • To create a new company in business one

    How would I create a new company in business one that exisited on another system?

  • About https certificate problem

    Hi,All     I change my OS datetime bakc to 2010,and send https request to my website api,https://api.xxxxxx.com,the httpService always fault,the fault detaial as FaultEvent fault=[RPC Fault faultString="HTTP request error" faultCode="Server.Error.Req

  • Please tell me how to disable "up next" in iTunes????

    I'm really trying to be a good boy and drink the iTunes Kool Aid - I don't complain when Apple completely moves important functions around, hides others, and adds more and more useless capabilities. I just suck it up and relearn the UI and don't comp

  • Error creating compound field

    I am trying to create a compound field Region which has two fields associated with it - country and region.  I am using the DEBMDM06 idoc structure.  I am trying to map LAND1 to the Country part of the Region field and REGIO to the region part of the