Tuesday, March 27, 2012

Start Configuration from Jdeveloper

I have seen everyone working on Configurator Extensions wondering if we can start Configuration session from local machine Jdeveloper. Well, the answer is Yes. You can! I have done it in past.

Follow these steps:
  • Install Jdeveloper.
  • You need is DBC file and put it in local machine directory. Refer DBC file path in your java program in System properties - DBCFILE and JTFDBCFILE.
  • Refer Configurator Extension Guide to create configuration using CIO from Java program.
  • Get all the classes from middletier required by Configurator (fnd classes). You can start with none and as you start getting error, you can create jar for specific packages like oracle.apps.fnd and put it in your jdev. If you want to know class location on server, you can use CZInfo.jsp file. More info on CZInfo.jsp file is here.

Its very useful for debugging purpose, but its very very slow is what I experienced - depending on your model size and how your db responds to your machine. It actually executes plenty of queries (to get model/rule details from database) to create configuration on local machine and load all those classes which makes it very slow.

Using this you can test/debug-step through your Extension code.

3 comments:

  1. Hi,

    I am getting error 'java.lang.UnsatisfiedLinkError: no czlce in java.library.path' from jdeveloper when I start configuration.How could you fix this error.I am running jdeveloper from my local windows m/c.Please help me

    ReplyDelete
  2. czlce.dll is uploaded to
    http://dl.dropbox.com/u/16639943/cz/czlce.dll

    ReplyDelete
  3. Hi Pankaj,

    I have placed czlce.dll file provided by you at java.library.path but still I am facing the same error. Any suggestions?
    Need your help!

    ReplyDelete