ADF BC: JBO-33001 Can`t find bc4j.xcfg in classpath
When i run my application (in JDeveloper 10.1.2.1.0.1913) and execute a "bc4jUtil.getAppMod" it gives me the JBO-33001 exception.
The thing is that i changed the directory where my Application Modules, Views, Entities were (because of needs of the project i had to move three BC4J projects to one) and it seems like is looking for the old bc4j.xcfg
Ive been looking in all my files, in all the jpr and jpx files, all the views, the Application Modules
but I cant find where it makes the reference to that file
Can anybody help me please??
It doesn't ever make explicit reference to that file, however we expect the bc4j.xcfg file for an application module in package "a.b.c.d" to be in the directory ./a/b/c/d/common in the runtime classpath.
It stores your configurations, so without it the AM doesn't know any of its runtime settings.
I'd have to see exactly what your bc4jUtil.getAppMod method is doing, but in general if you create the application module using our runtime configuration support (which is always the case if you let the framework create it for you or use the Configuration.createRootApplicationModule API) then this bc4j.xcfg file will need to be where I mentioned.
Similar Messages
-
Oracle.jbo.ConfigException: JBO-33001 cannot find bc4j.xcfg
Hi,
I am using JDeveloper 10.1.3.2 on an old project, migrated from a version anterior to JDev 10, or so I am being told.
Here is my problem: I am trying to access existing bc4j components from a new projects.
Everything compiles, but nothing runs.
The reported cause is that /DATA/common/common/bc4j.xcfg cannot be found in the classpath. This is quite right, because I do not have any /DATA/common/common/bc4j.xcfg file, albeit I do have a /DATA/common/bc4j.xcfg. I have tried grepping the whole project for common/common/bc4j.xcfg, common/bc4j.xcfg and bc4j.xcfg, and it returns me nothing.
So, how does the engine knows where to find bc4j.xcfg, why is it pointing to a directory that does not exist, and how can I change its behaviour?
adsmStupid me...
Found it: I copied the application module implementation package name, including the .common part... -
Hi,
I have an application that use BC, however, I keep getting the following error. But the bc4j.xcfg is cleared in the class path, it looks valid and it is in the right place in the common directory under the application module directory. Any idea what the problem could be?
TIA,
Saul
oracle.jbo.ConfigException: JBO-33001: Cannot find the configuration file /common/bc4j.xcfg in the classpath
at oracle.jbo.client.Configuration.loadFromClassPath(Configuration.java:367)
at oracle.jbo.common.ampool.PoolMgr.createPool(PoolMgr.java:284)
at oracle.jbo.common.ampool.PoolMgr.findPool(PoolMgr.java:539)
at oracle.jbo.common.ampool.ContextPoolManager.findPool(ContextPoolManager.java:165)
at oracle.jbo.client.Configuration.createRootApplicationModule(Configuration.java:1498)
at oracle.jbo.client.Configuration.createRootApplicationModule(Configuration.java:1476)
at com.arrow.refarch.model.ExtDataService.getXmlStringFromAppModule(ExtDataService.java:162)
at com.arrow.refarch.model.ExtDataService.getXmlStringFromAppModule(ExtDataService.java:150)
at com.arrow.refarch.model.ExtDataService.getJSONStringFromAppModule(ExtDataService.java:130)
at com.arrow.refarch.model.ExtDataService.getOutputStringFromAppModule(ExtDataService.java:124)
at com.arrow.refarch.model.ExtDataService.processExtRequest(ExtDataService.java:115)
at com.arrow.refarch.listener.ExtDataPullPageLifecycle.initContext(ExtDataPullPageLifecycle.java:82)
at oracle.adf.controller.v2.lifecycle.Lifecycle$9.execute(Lifecycle.java:197)
at oracle.adf.controller.v2.lifecycle.Lifecycle.executePhase(Lifecycle.java:116)
at oracle.adf.controller.faces.lifecycle.ADFPhaseListener.mav$executePhase(ADFPhaseListener.java:29)
at oracle.adf.controller.faces.lifecycle.ADFPhaseListener$4.after(ADFPhaseListener.java:324)
at oracle.adf.controller.faces.lifecycle.ADFPhaseListener.afterPhase(ADFPhaseListener.java:90)
at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:254)
at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:110)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:213)
at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._invokeDoFilter(AdfFacesFilterImpl.java:228)
at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._doFilterImpl(AdfFacesFilterImpl.java:197)
at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:123)
at oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:103)
at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:162)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:595)hi Saul
(1) Would you mind posting the classpath elements of this file ...
<your-jdevstudio10133-dir>\jdev\system\oracle.j2ee.10.1.3.41.57\embedded-oc4j\application-deployments\current-workspace-app\<your-app-dir>\orion-web.xml
... right after you tried to run your application.
(2) What is the package name you used for your Application Module?
regards
Jan -
ADF BC : Ant and XSLT to modify bc4j.xcfg and DataBindings.cpx
hi
Before I deploy my ADF BC / ADF Swing application I would like to use Ant to make some changes to bc4j.xcfg and DataBindings.cpx
(see also "Defining ADF Business Components Runtime Properties for ADF Swing Applications" in the JDeveloper documentation)
I would like DataBindings.cpx to point to the correct configuration and bc4j.xcfg to only contain the configuration information that is required.
I created some XSLT transformation stylesheets to help me with that, see this example application:
http://verveja.footsteps.be/~verveja/files/oracle/AntXsltConnectionSwitchStuff-v0.02.zip
question
Does JDeveloper itself provide any features to automatically make changes to DataBindings.cpx (and bc4j.xcfg) before deployment?
many thanks
Jan Verveckenrepost
-
Can not find xml file in classpath
Hi,
Can someone tell me how I can please or find a xml file in de webdynpro classpath: I have to place a xml and jar files in the classpath. The jar files are found in the application, but I get the following error: com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Unable to read the License file, please verify that you have SyncExLicense.xml file and it exists in the classpath or under com/yash/license folder.
How can I check if this file is available in the classpath.
Richardhi,
have you check that all jar files are present or not.
because when u import par file in to nwds it wont include jar files in that manully you have to import them.
jayesh talreja -
Dear All
i am facing a problem " JBO-33001: Configuration file /common/bc4j.xcfg is not found in the classpath"
and let me inform you with all details
i am new in JDeveloper , and i finished a small form based on Database Table in Dat_Model Project and JSF Form in Interface project , and it is work well
i tried to make Jar File under Data_Model Project to cusomize query Criteria and Jar File contains the following
package ORACLE;
import oracle.jbo.server.ViewObjectImpl;
import oracle.jbo.ApplicationModule;
import oracle.jbo.client.Configuration;
import oracle.jbo.ViewObject;
import oracle.jbo.ViewCriteria;
import oracle.jbo.ViewCriteriaRow;
import oracle.jbo.Row;
import oracle.jbo.RowSet;
import oracle.jbo.domain.Number;
// --- Customize By Oracle ITself
public class employee_class {
public static void main(String[] arg) {
String def = "TEST";
String name = "employee_view";
ApplicationModule app_module =
Configuration.createRootApplicationModule(def, name);
ViewObject employee = app_module.findViewObject("employee_view");
String where_clause = "emp_id = 1";
employee.setWhereClause(null);
employee.setWhereClause(where_clause);
employee.executeQuery();
int counter = (int)employee.getEstimatedRowCount();
System.out.println("View Counter is :\t" + counter);
--problem come from
ApplicationModule app_module =
Configuration.createRootApplicationModule(def, name);
and the error is
Exception in thread "main" oracle.jbo.ConfigException: JBO-33001: Configuration file /common/bc4j.xcfg is not found in the classpath.
* at oracle.jbo.client.Configuration.loadFromClassPath(Configuration.java:429)*
* at oracle.jbo.common.ampool.PoolMgr.createPool(PoolMgr.java:323)*
* at oracle.jbo.common.ampool.PoolMgr.findPool(PoolMgr.java:587)*
* at oracle.jbo.client.Configuration.createRootApplicationModule(Configuration.java:1393)*
* at oracle.jbo.client.Configuration.createRootApplicationModule(Configuration.java:1370)*
* at ORACLE.employee_class.main(employee_class.java:22)*
Process exited with exit code 1.
please i need to know what is the problem ?
Many ThanksI don't understand what you try to do :-(
If you want to customize view criteria you can do this declarative using the VO editor. Open the VO, select Query and add you criteria under 'View Criteria'.
No need to set up jar and change the where clause (which by the way is not view criteria at all).
I advice you to avoid createRootApplicationModule. You are not familiar with the framework right now and you'll run in all kind of trouble if you start with stuff like this.
Look up the 'Fusion Developer's Guide for Oracle ADF' and read chapter 'Building Your Business Services'.
Timo -
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);
} -
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.
RogerThis 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.
ThanksThis 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 -
BUG: JBO-33001: Cannot find the configuration file bc4j.xcfg
Hi,
I get the exception JBO-33001: Cannot find the configuration file com\trivadis\adf\demos\login\model\common\bc4j.xcfg in the classpath
after I have edited the file outside of JDev9052. Why? Because I followed the instructions of the help document "Modifying the JClient Login Dialog for JDBC". To get the JCLoginDialog you have to remove some lines in the bc4j.xcfg file.
I have deleted the classes directory, rebuild the complete workspace, but I still get the exception.
Any comments?
Thanks,
Markus
Complete stacktrace:
oracle.jbo.JboException: JBO-33001: Cannot find the configuration file com\trivadis\adf\demos\login\model\common\bc4j.xcfg in the classpath
at oracle.jbo.client.Configuration.loadFromClassPath(Configuration.java:369)
at oracle.jbo.common.ampool.PoolMgr.createPool(PoolMgr.java:272)
at oracle.jbo.common.ampool.PoolMgr.findPool(PoolMgr.java:473)
at oracle.adf.model.bc4j.DataControlFactoryImpl.findOrCreateSessionCookie(DataControlFactoryImpl.java:135)
at oracle.adf.model.bc4j.DataControlFactoryImpl.createSession(DataControlFactoryImpl.java:220)
at oracle.adf.model.bc4j.DataControlFactoryImpl.createSession(DataControlFactoryImpl.java:97)
at oracle.jbo.uicli.mom.JUMetaObjectManager.loadCpx(JUMetaObjectManager.java:612)
at com.trivadis.adf.demos.login.view.FormDeptView1.main(FormDeptView1.java:325)
## Detail 0 ##
oracle.jbo.JboException: JBO-33000: Cannot find the configuration file registerConnectionsFromDocument
at oracle.jbo.client.Configuration.registerConnectionsFromDocument(Configuration.java:1052)
at oracle.jbo.client.Configuration.loadFromStream(Configuration.java:264)
at oracle.jbo.client.Configuration.loadFromClassPath(Configuration.java:352)
at oracle.jbo.common.ampool.PoolMgr.createPool(PoolMgr.java:272)
at oracle.jbo.common.ampool.PoolMgr.findPool(PoolMgr.java:473)
at oracle.adf.model.bc4j.DataControlFactoryImpl.findOrCreateSessionCookie(DataControlFactoryImpl.java:135)
at oracle.adf.model.bc4j.DataControlFactoryImpl.createSession(DataControlFactoryImpl.java:220)
at oracle.adf.model.bc4j.DataControlFactoryImpl.createSession(DataControlFactoryImpl.java:97)
at oracle.jbo.uicli.mom.JUMetaObjectManager.loadCpx(JUMetaObjectManager.java:612)
at com.trivadis.adf.demos.login.view.FormDeptView1.main(FormDeptView1.java:325)
## Detail 0 ##
java.lang.NullPointerException
at oracle.jbo.client.Configuration.registerConnectionsFromDocument(Configuration.java:1026)
at oracle.jbo.client.Configuration.loadFromStream(Configuration.java:264)
at oracle.jbo.client.Configuration.loadFromClassPath(Configuration.java:352)
at oracle.jbo.common.ampool.PoolMgr.createPool(PoolMgr.java:272)
at oracle.jbo.common.ampool.PoolMgr.findPool(PoolMgr.java:473)
at oracle.adf.model.bc4j.DataControlFactoryImpl.findOrCreateSessionCookie(DataControlFactoryImpl.java:135)
at oracle.adf.model.bc4j.DataControlFactoryImpl.createSession(DataControlFactoryImpl.java:220)
at oracle.adf.model.bc4j.DataControlFactoryImpl.createSession(DataControlFactoryImpl.java:97)
at oracle.jbo.uicli.mom.JUMetaObjectManager.loadCpx(JUMetaObjectManager.java:612)
at com.trivadis.adf.demos.login.view.FormDeptView1.main(FormDeptView1.java:325)Repost.
The original post date was Sep 05 2004, not Aug 17 2001. :-) -
JBO-33001: Cannot find the configuration file /Procref/common/bc4j.xcfg
Migrating project from Jdev 9.031 to Jdev 10.1.2.
After the migration the app works fine on Jdev 10.1.2, but when deployed to local stand alone OC4J it throws the JBO 33001 error.
I added dependency of view to the model.
Checked the existense of bc4j.xcfg in the classes.
I also ran the ADF Runtime installer as per the recommendations.
Any suggestions.....
The complete statck trace of the error is
oracle.jbo.JboException: JBO-33001: Cannot find the configuration file /Procref/common/bc4j.xcfg in the classpath
at oracle.jbo.client.Configuration.loadFromClassPath(Configuration.java:358)
at oracle.jbo.common.ampool.PoolMgr.createPool(PoolMgr.java:281)
at oracle.jbo.common.ampool.PoolMgr.findPool(PoolMgr.java:482)
at oracle.jbo.common.ampool.ContextPoolManager.findPool(ContextPoolManager.java:165)
at oracle.jbo.http.HttpContainer.findSessionCookie(HttpContainer.java:817)
at oracle.jbo.html.jsp.datatags.ApplicationModuleTag.doStartTag(ApplicationModuleTag.java:169)
at index.jspService(_index.java:73)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:347)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:509)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:413)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:810)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:322)
at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:220)
at gov.mi.mdch.procref.MainController.processRequest(MainController.java:53)
at gov.mi.mdch.procref.MainController.doPost(MainController.java:39)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:810)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:322)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:790)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
at java.lang.Thread.run(Thread.java:534)This is the same problem I am having. The "Model" product contains the AppModule and it's entity and view objects.
I right-clicked on the AppModule and chose "Business Components Deployment". This created in the Resources folder a Model.bcdeploy, which contained ModelMiddleTier1.deploy and ModelCommon1.deploy.
When I went to the project properties of my "WS" project in the same workspace, in the Dependencies panel, Model.bcdeploy and its 2 .deploy files were now listed bewas now listed beneath model.jpr. There is a check mark beside model.jpr. I thought this would do it.
I then recreated the "J2EE Web Service" from class file in the WS project, and deployed to the external OC4J.
When I test the web service using OC4J's test facility, I still get the same JBO-33001 error complaining that the adfws/model/common/bc4j.xcfg file is not in the classpath.
Does something else need done to get it to be found at run time?
This is JDev 10.1.3.
Thanks for any ideas.
Morga -
JBO-33001: Cannot find the configuration file /common/bc4j.xcfg in the clas
I m trying to insert into the database from a form.My action class is given below.The application compiles okey, the else option works fine, but during the if option I get the following error:
oracle.jbo.JboException: JBO-33001: Cannot find the configuration file /common/bc4j.xcfg in the classpath
But I checked to see that the file is in the correct class path.What are the other reasons for the error to hapen?Please anyone!!
My action class is as below:
public class InsertDAAction extends Action
public ActionForward execute(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException
String facingName=request.getParameter("facingName");
String facingDirection=request.getParameter("facingDirection");
if (facingName!=null && facingDirection!=null && facingName.equals("john") && facingDirection.equals("meyer")) {
String amDef = "AppModule";
String config = "AppModuleLocal";
ApplicationModule am = Configuration.createRootApplicationModule(amDef, config);
AppModuleImpl myAm = (AppModuleImpl)am;
myAm.createNewOrder(facingName,facingDirection);
return mapping.findForward("success");
else {
return mapping.findForward("fail");
}I have set the dependency.
and its not in the WAR file.
I think I have the problem in this
ApplicationModule am = Configuration.createRootApplicationModule(amDef, config);
You can see the complete code above.IS there any alternative method for the commenction to the App Module
This have troubled me since almosta week but still cant get out. -
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 -
Everytime I create a new Business Components Project (holding all EO and VO's) and I try to grab the application Module from the request object through java, I get the following error:
oracle.jbo.JboException: JBO-33001: Cannot find the configuration file /org/cgfns/cerpass/bc/accounttransactions/common/bc4j.xcfg in the classpath
Any ideas as to why this is happening??
-Teri Kemple
[email protected]look at the following posting
one-many-many relationship -
Hello,
i'm new on this board and found it while i was searching for an solution of my problem.
I would like to apologize about my english, i try my best.
Now lets come to my problem.
I have 1 workspace with 2 projects.
in project 1 there are entity objects, view objects and an application object.
in project 2 there are jsp's action classes and form beans (i try to use Struts).
in one jsp i try this:
<jbo:ApplicationModule id="am" configname="*.*.*.bc4j.ReportingModule" releasemode="Stateful" />
<jbo: DataSource id="ds" appid="am" viewobject="*.*.*.bc4j.HilfeTexteView" />
<select name="TEXT" size="1">
<option value="-1" selected>sonstiges</option>
<jbo:RowsetIterate datasource="ds" changecurrentrow="true">
<option value="<jbo:ShowValue datasource="ds" dataitem="TEXT"></jbo:ShowValue>">
<jbo:ShowValue datasource="ds" dataitem="AUTOR"></jbo:ShowValue>
</option>
</jbo:RowsetIterate>
</select>
<jbo:ReleasePageResources releasemode="Stateful" appid="am" />
compilation finish successful, but when i try to run this jsp, there appear an error like:
oracle.jbo.JboException: JBO-33001: Cannot find the configuration file /common/bc4j.xcfg in the classpath
i think it dont work, because the configuration file bc4j.xcfg is in project 1 folder and i try to take it out of projeck 2 folder
I hope you know what i try to tell you
i will be very happy, when somebody could help me.
greetings
RenePlease refer to other posts for the JboException.
JBO-33001: Cannot find the configuration file /model/common/bc4j.xcfg
Accessing BC4J ApplicationModule from another Project
Maybe you are looking for
-
Export Crystal Report to PDF only
Hi, I'm new to Crystal Report(CR) for VS2010, so please bear with me. How do i make CR to export to PDF file only. When i try to click on the export icon, it gives me so many options to export the file but i only need the user to export to PDF file.
-
Hello there. As I have sought out a reasonable solution for paging nagivation and compared designs such as Google's search result paging to designs such as this forum's paging navigation, I have decided to go with this forum's design which I found so
-
Can't download from the Mac app store
Hi, I was wondering if anyone else is having this issue. Anytime I try to download an app free or paid from the mac app store it goes to my doc but it doesn't download it just sits there and says it's waiting. also when I have an update for an app I
-
Running out of memory with Tomcat !!!!!
Hello gurus and good folk: How can I ensure that the a JSP page that sets a ResultSet doesn't run out of memory? I have set the X flag to j2Se to be 1024mb and still runs out of memory! The size of the data being queried is only 30 MB. One would thin
-
Simple Transformation Exception
Hello, I am tying to map XML to ABAP(deserialize) but receive a CX_ST_MATCH_ELEMENT Exception. Below is my Simple Transformation, the calling method, and the XML snippet I am tying to deserialize. <?sap.transform simple?> <tt:transform xmlns:tt="http