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 the Edit 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.

About these ads

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.
    at oracle.jbo.client.Configuration.loadFromClassPath(Configuration.java:467)
    at oracle.jbo.common.ampool.PoolMgr.loadConfiguration(PoolMgr.java:600)
    at oracle.jbo.common.ampool.PoolMgr.findPool(PoolMgr.java:526)
    at oracle.jbo.client.Configuration.createRootApplicationModule(Configuration.java:1508)
    at oracle.jbo.client.Configuration.createRootApplicationModule(Configuration.java:1485)
    at com.example.model.NoNameCompanyFinder.runWithPreloadedDictionary(NoNameCompanyFinder.java:73)
    at com.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)
    at oracle.rules.sdk2.decisionpoint.DecisionPointBuilder.build(DecisionPointBuilder.java:156)
    at com.example.model.NoNameCompanyFinder.runWithPreloadedDictionary(NoNameCompanyFinder.java:64)
    at com.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
    at oracle.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)
    at oracle.rules.rl.extensions.pool.RuleSessionPool.createPoolableRuleSession(RuleSessionPool.java:311)
    at oracle.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

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s