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.

Similar Messages

  • 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

  • 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

  • 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

  • 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

  • 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

  • Urgent!!! problems deploying BC4J to Oracle 8i

    I have the following problem deploying BC4J to Oracle 8i as EJB :
    When I tried to deploy as an EJB following the guidelines in the following help page:
    Contents help--> Developing Business Components-->Deploying Business Components-->Creating Deployment Profiles and Deploying
    I get the following error :
    An exception occurred during code generation: Class not found: bc4jEjbtrial.common.ejb.DeptAppModHome.class
    *** Errors occurred while deploying the EJB to JServer ***
    Could someone please tell me where I am possibly going wrong?

    What version of jdev are you running? The Bc4jtrial package sounds suspicious.
    Thanks
    Blaise

  • Problem deploying a WAR file in Weblogic 10

    I get an error trying to deploy a WAR file on WebLogic 10 on two of my co-workers computers. On my computer it works fine and on our development server running on SUSE 10 it is also fine. We are using Struts 2, Hibernate 3 and Spring 2.5. The exception says that weblogic.wsee.async.AsyncResponseBean failed to preload because weblogic.wsee.async.jaxws.OnAsyncDelivery could not be found. We are not knowingly trying to use these classes. We do not have web services. The full text of the error we get when trying to deploy is:
    <Aug 20, 2008 3:01:45 PM CDT> <Error> <Deployer> <BEA-149231> <Unable to set the activation state to true for the application '_appsdir_pilotVacation_war'.
    weblogic.application.ModuleException: [HTTP:101216]Servlet: "weblogic.wsee.async.AsyncResponseBean" failed to preload on startup in Web application: "pilotVacation.war".
    class: weblogic.wsee.async.jaxws.OnAsyncDelivery could not be found
    at com.sun.xml.ws.model.RuntimeModeler.getClass(RuntimeModeler.java:272)
    at com.sun.xml.ws.model.RuntimeModeler.processDocWrappedMethod(RuntimeModeler.java:566)
    at com.sun.xml.ws.model.RuntimeModeler.processMethod(RuntimeModeler.java:513)
    at com.sun.xml.ws.model.RuntimeModeler.processClass(RuntimeModeler.java:358)
    at com.sun.xml.ws.model.RuntimeModeler.buildRuntimeModel(RuntimeModeler.java:245)
    at com.sun.xml.ws.server.EndpointFactory.createSEIModel(EndpointFactory.java:229)
    at com.sun.xml.ws.server.EndpointFactory.createEndpoint(EndpointFactory.java:161)
    at com.sun.xml.ws.api.server.WSEndpoint.create(WSEndpoint.java:291)
    at com.sun.xml.ws.api.server.WSEndpoint.create(WSEndpoint.java:315)
    at weblogic.wsee.jaxws.JAXWSServlet.registerEndpoint(JAXWSServlet.java:125)
    at weblogic.wsee.jaxws.JAXWSServlet.init(JAXWSServlet.java:64)
    at javax.servlet.GenericServlet.init(GenericServlet.java:241)
    at weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(StubSecurityHelper.java:282)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(Lweblogic.security.acl.internal.AuthenticatedSubject;Lweblogic.security.acl.internal.AuthenticatedSubject;Ljava.security.PrivilegedAction;)Ljava.lang.Object;(Unknown Source)
    at weblogic.servlet.internal.StubSecurityHelper.createServlet(StubSecurityHelper.java:63)
    at weblogic.servlet.internal.StubLifecycleHelper.createOneInstance(StubLifecycleHelper.java:58)
    at weblogic.servlet.internal.StubLifecycleHelper.<init>(StubLifecycleHelper.java:48)
    at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:504)
    at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:1830)
    at weblogic.servlet.internal.WebAppServletContext.loadServletsOnStartup(WebAppServletContext.java:1807)
    at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1727)
    at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:2890)
    at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:948)
    at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:353)
    at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
    at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)
    at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)
    at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:117)
    at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
    at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:950)
    at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:353)
    at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
    at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)
    Truncated. see log file for complete stacktrace
    class: weblogic.wsee.async.jaxws.OnAsyncDelivery could not be found
    at com.sun.xml.ws.model.RuntimeModeler.getClass(RuntimeModeler.java:272)
    at com.sun.xml.ws.model.RuntimeModeler.processDocWrappedMethod(RuntimeModeler.java:566)
    at com.sun.xml.ws.model.RuntimeModeler.processMethod(RuntimeModeler.java:513)
    at com.sun.xml.ws.model.RuntimeModeler.processClass(RuntimeModeler.java:358)
    at com.sun.xml.ws.model.RuntimeModeler.buildRuntimeModel(RuntimeModeler.java:245)
    Truncated. see log file for complete stacktrace
    >

    Hey,
    From what I understand, your configuration is obviously different from your co-workers' config.
    So you've got two choices : either you make their environments work like yours, or you make the application to work anywhere !
    In order to do so, I would advise you to use a comparison tool, such as BeyondCompare (excellent) and compare your domain configurations (config directories)
    Or as James suggested it, you go hunt for unnecessary libraries in your application DD.
    Extra question : have you tried to create a new domain, and activate the Workshop extension ? Try then to deploy your application and tell us what's the result.
    If you created your application in Workshop, mind the facets : if you do not chose the correct set of facets, you'll have lots of extra libs, more annoying than helping.

  • Problem deploying a WAR file

    I am new to Java and even newer to the Java System Application Server.
    I am using a training course to learn Servlets and JSP. I installed J2EE and the Application Server yesterday, and when I try to follow the course in deploying a WAR file I get the following error in the log file
    Log Entry Detail
    DetailsTimestamp: Mar 24, 2006 07:51:11.499
    Log Level: SEVERE
    Logger: javax.enterprise.system.tools.deployment
    Name-Value Pairs: _ThreadID=12;
    Record Number: 59
    Message ID: Exception occured in J2EEC Phase com.sun.enterprise.deployment.backend.IASDeploymentException
    Complete Message
    Some verifier tests failed for the given application. Aborting deployment. Please verify your application using the verifier separately for more details     at com.sun.enterprise.deployment.backend.ModuleDeployer.runVerifier(ModuleDeployer.java:931)     at com.sun.enterprise.deployment.backend.WebModuleDeployer.preDeploy(WebModuleDeployer.java:137)     at com.sun.enterprise.deployment.backend.ModuleDeployer.doRequestFinish(ModuleDeployer.java:130)     at com.sun.enterprise.deployment.phasing.J2EECPhase.runPhase(J2EECPhase.java:148)     at com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(DeploymentPhase.java:71)     at com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases(PEDeploymentService.java:639)     at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:188)     at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:520)     at com.sun.enterprise.management.deploy.DeployThread.deploy(DeployThread.java:139)     at com.sun.enterprise.management.deploy.DeployThread.run(DeployThread.java:168)
    Diagnostic Causes
    Diagnostic Checks
    I am using the Admin console to do the deployment
    Per the training class, I am checkeing the "Verifer" box.
    Following is the general error message I get from the admin counsole:
    An error has occurred.
    Deploying application in domain failed; Some verifier tests failed for the given application. Aborting deployment. Please verify your application using the verifier separately for more details ; requested operation cannot be completed Some verifier tests failed for the given application. Aborting deployment. Please verify your application using the verifier separately for more details
    ANY HELP WOULD BE APPRECIATED.

    Can you deploy your application without verifier checkbox set? You have to remember that verifier is very strict when it comes to validating deployment descriptors.
    There are loads of applications that fail to be deployed with verifier checked but work quite well. This doesn't mean that you should just ignore verifier's errors, it means that your web application is not stricly following J2EE spec.
    What you should probably do is run verifier separately as suggested by deployer and see what it says. Check the following link for verifier usage:
    http://docs.sun.com/app/docs/doc/819-2644/6n4tumqe1?q=verifier&a=view

  • Problem deploying a War file to server

    Hi,
    I'm trying to deploy my war file a simple servlet program given by Google Webtookit to my Resin server v2.1.13.
    I created a war file and dropped it into the webapps folder. When I try to launch the application, I get the following error. My class is in the right directory, I am able to launch it on my local resin server on my machine. When I try to deploy it onto a 3rd party server, is when I get the error. I have checked my web.xml file and made sure they are pointing correctly to the class I want it to point to. Where am I going wrong?
    Thanks,
    Harry
    500 Servlet Exception
    javax.servlet.ServletException: Class `com.bc.server.GreetingServiceImpl'
    was not found in classpath.
    Classes normally belong in /ExGWT/WEB-INF/classes.
    at com.caucho.server.http.Application.instantiateServlet(Application.java:3198)
    at com.caucho.server.http.Application.createServlet(Application.java:3104)
    at com.caucho.server.http.Application.loadServlet(Application.java:3065)
    at com.caucho.server.http.QServletConfig.loadServlet(QServletConfig.java:435)
    at com.caucho.server.http.Application.getFilterChainServlet(Application.java:2809)
    at com.caucho.server.http.Application.buildFilterChain(Application.java:2765)
    at com.caucho.server.http.Invocation.service(Invocation.java:313)
    at com.caucho.server.http.CacheInvocation.service(CacheInvocation.java:135)
    at com.caucho.server.http.RunnerRequest.handleRequest(RunnerRequest.java:346)
    at com.caucho.server.http.RunnerRequest.handleConnection(RunnerRequest.java:274)
    at com.caucho.server.TcpConnection.run(TcpConnection.java:139)
    at java.lang.Thread.run(Thread.java:595)
    Resin 2.1.13 (built Thu Apr 1 10:57:42 PST 2004)

    I am trying to deploy my application on Lunarpages. (not the best support in the world). They have Resin v 2.1.13 running on their end. I have tried everything I know, but the classpath is still an issue. I have even printed out the list of classpath through my code and everything seems to be right. I can deploy the same war file on any server Tomcat, Jetty, Resin 3.x (my local), but just not on lunarpages. I am stumped. Please help.
    Thanks
    Harry

  • Problem deploying Creator War file in Application Server 8.1

    I want to get my Creator app created using Linux to run on a Windows XP machine running Sun Java System Application Server 8.1.
    I thought this would be straight forward as this is the server used in the IDE and both come with PointBase. No such luck.
    The app starts up but trying to go to the login page which has a database connection I get HTTPStatus 500 exception
    javax.servlet.ServletException: javax.faces.FacesException: javax.faces.FacesException: Can't instantiate class: 'myproject.Login : javax.faces.FacesException: java.sql.SQLException: JdbcRowSetXImpl (connect): (JNDI) Unable to connect: Signon not found
    Signon is the PointBase database name and I can ping the database connection.
    Is there a step by step How-to to get a Creator app running on SJSAS 8.1 on an external machine?
    I used admin console to set up JDBC resources and connection pools and edited the sun-web.xml file to include
    <sun-web-app xmlns="http://java.sun.com/xml/ns/j2ee">
    <context-root>/myproject</context-root>
    <resource-ref>
    <res-ref-name>jdbc/Signon</res-ref-name>
    <jndi-name>jdbc/Signon</jndi-name>
    </resource-ref>and the web.xml file includes
    <resource-ref>
        <description>Rave generated DataSource Reference</description>
        <res-ref-name>jdbc/Signon</res-ref-name>
        <res-type>javax.sql.DataSource</res-type>
        <res-auth>Container</res-auth>
      </resource-ref>Can anyone tell me what I've missed out?
    Thanks in advance for any suggestions.
    John

    Hi,
    Please take a look at the sample application JAAS Authentication at
    http://developers.sun.com/prodtech/javatools/jscreator/ea/jsc2/learning/tutorials/index.html
    Hope this may help you
    regards
    MJ

  • 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);
    }

Maybe you are looking for