How to Solve oracle.jbo.ConfigException: JBO-33001

本文介绍了如何解决在使用大型应用时遇到的oracle.jbo.ConfigException:JBO-33001配置文件未找到的问题。通过设置项目依赖关系,可以避免此错误。对于未使用ViewController项目的场景也提供了相应的解决方案。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

How to Solve oracle.jbo.ConfigException: JBO-33001

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.

3 Comments

Filed under ADF

3 responses to “How to Solve oracle.jbo.ConfigException: JBO-33001

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

  2. Hello,

    To help others, check if this works for you guys.
    https://forums.oracle.com/thread/2275990

    Gowtham J

Leave a Reply

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值