Environment (JDeveloper, ADF BC, ADF Faces)
When you work with large application which contains more than one Model/one ViewController projects, you need to set the project dependency between the model and the view controller project., failing to do this you may face this exception.
oracle.jbo.ConfigException: JBO-33001: Configuration file /model/common/bc4j.xcfg is not found in the classpath.
To solve the problem, double click the viewController project to open project properties dialog, and select the the Dependencies node and click theEdit Dependecies icon to add a dependency on the build output path or on one or more deployment archives.
Hope this will help someone faced the same problem.
Hi Jabr,
I’m also facing the similar exception when I am trying to create an instance of application module programmatically.
This is the error which I am facing.
racle.jbo.ConfigException: JBO-33001: Configuration file /com/example/model/common/bc4j.xcfg is not found in the classpath.
atoracle.jbo.client.Configuration.loadFromClassPath(Configuration.java:467)
atoracle.jbo.common.ampool.PoolMgr.loadConfiguration(PoolMgr.java:600)
at oracle.jbo.common.ampool.PoolMgr.findPool(PoolMgr.java:526)
atoracle.jbo.client.Configuration.createRootApplicationModule(Configuration.java:1508)
atoracle.jbo.client.Configuration.createRootApplicationModule(Configuration.java:1485)
atcom.example.model.NoNameCompanyFinder.runWithPreloadedDictionary(NoNameCompanyFinder.java:73)
atcom.example.model.NoNameCompanyFinder.main(NoNameCompanyFinder.java:57)
I am not using the ViewController, I am just trying trying to use ADF BC in Oracle Business rules.
Before this error comes there is another error in he log as show below:
oracle.rules.sdk2.exception.SDKException: RUL-05186: error setting up rule session pool for decision point
at oracle.rules.sdk2.decisionpoint.DecisionPoint.init(DecisionPoint.java:176)
atoracle.rules.sdk2.decisionpoint.DecisionPointBuilder.build(DecisionPointBuilder.java:156)
atcom.example.model.NoNameCompanyFinder.runWithPreloadedDictionary(NoNameCompanyFinder.java:64)
atcom.example.model.NoNameCompanyFinder.main(NoNameCompanyFinder.java:57)
Caused by: oracle.rules.rl.exceptions.UndefinedException: The symbol ‘AscompanyView’ is undefined.
at line 4 column 13 in main
atoracle.rules.rl.exceptions.ExceptionFactory.createUndefinedException(ExceptionFactory.java:409)
at oracle.rules.rl.analyze.Scope.getClass(Scope.java:235)
at oracle.rules.rl.analyze.Expr.pattern(Expr.java:1165)
at oracle.rules.rl.analyze.Expr.expr(Expr.java:351)
at oracle.rules.rl.analyze.Expr.expr(Expr.java:183)
at oracle.rules.rl.analyze.Expr.and(Expr.java:453)
at oracle.rules.rl.analyze.Expr.expr(Expr.java:206)
at oracle.rules.rl.analyze.Expr.expr(Expr.java:183)
at oracle.rules.rl.analyze.RulesetAnalyzer.rule(RulesetAnalyzer.java:277)
at oracle.rules.rl.analyze.RulesetAnalyzer.ruleset(RulesetAnalyzer.java:121)
at oracle.rules.rl.analyze.RulesetAnalyzer.ruleset(RulesetAnalyzer.java:127)
at oracle.rules.rl.analyze.RulesetAnalyzer.(RulesetAnalyzer.java:93)
at oracle.rules.rl.analyze.RulesetAnalyzer.analyze(RulesetAnalyzer.java:99)
at oracle.rules.rl.RuleSession.parse(RuleSession.java:461)
at oracle.rules.rl.RuleSession.parse(RuleSession.java:482)
at oracle.rules.rl.RuleSession.executeRuleset(RuleSession.java:424)
at oracle.rules.rl.RuleSession.(RuleSession.java:289)
atoracle.rules.rl.extensions.pool.RuleSessionPool.createPoolableRuleSession(RuleSessionPool.java:311)
atoracle.rules.rl.extensions.pool.RuleSessionPool.initPool(RuleSessionPool.java:275)
at oracle.rules.rl.extensions.pool.RuleSessionPool.(RuleSessionPool.java:241)
at oracle.rules.sdk2.decisionpoint.DecisionPoint.init(DecisionPoint.java:171)
… 3 more
Thanks,
Nigel.
Pleas ask your question in Jdeveloper and ADF forum
https://forums.oracle.com/forums/forum.jspa?forumID=83
Hello,
To help others, check if this works for you guys.
https://forums.oracle.com/thread/2275990
Gowtham J