danke rosman

Connecting to a repository using API

Discussion created by danke rosman on Jan 10, 2012
Latest reply on Jan 3, 2013 by Jostein Ulseth

The following works fine on a Database repository without BVS

         Hashtable<String, String> ht = getConnectionTable();
         NdJdbcRepositoryConnection connection = new
             NdJdbcRepositoryConnection(ht);
         NdRomConnectionManager connectionMgr = NdRomFactory
             .newRepositoryConnectionManager(connection);
         connectionMgr.connect();
         NdRomConnectionContext conContext =
             connectionMgr.getConnectionContext();


Getting the following error on a Database repository with BVS

Exception in thread "main" com.blazesoft.template.repository.NdRomConnectionException: Connecting to repository 'IIP BVS
 Rules Dir' failed.
com.blazesoft.template.repository.NdRomConnectionException: Could not get ROM configuration from repository 'IIP BVS Rul
es Dir'.
        at com.blazesoft.template.repository.NdRomFactory.newRepositoryConnectionManager(:551)
        at com.stoneriver.iip.blaze.DecisionTableUpdate.main(DecisionTableUpdate.java:60)

 

Can anybody tellme what I'm missing?

Outcomes