How to Use B2B Self-Service API (Doc ID 731645.1)

Last updated on NOVEMBER 03, 2016

Applies to:

Oracle Application Server Integration B2B - Version: 10.1.2.0.2
Information in this document applies to any platform.

Goal

When trying to use Self Service API to create trading partners with trading partner XML, encounter NoClassDefFoundError error.
Exception in thread "main" java.lang.NoClassDefFoundError:
oracle/tip/adapter/b2b/selfservice/TradingPartnerManager

Warning: Could not identify oracle home 
Warning: Could not locate file tip.properties in classpath 
Exception in thread "main" java.lang.NoClassDefFoundError: oracle/core/ojdl/LogManager 
at oracle.tip.common.DiagnosticService.init(DiagnosticService.java:305) 
at oracle.tip.common.DiagnosticService.init(DiagnosticService.java:154) 
at oracle.tip.buslogic.common.ExecutionContextManager.<clinit>(ExecutionContextManager.java:114) 
at oracle.tip.adapter.b2b.selfservice.TradingPartnerManager.init(TradingPartnerManager.java:203) 
at oracle.tip.adapter.b2b.selfservice.TradingPartnerManager.main(TradingPartnerManager.java:181)


Warning: Could not identify oracle home
Warning: Could not locate file tip.properties in classpath
EntityResolver called: publicID- SystemID- file:///oracle/product/10.1.2.0.2/devB2B/ip/samples/TPSelfService/OrclTPProfileV2-6.xsd
Exception in thread "main" java.lang.NoClassDefFoundError: oracle/jdbc/pool/OracleConnectionCacheImpl
        at oracle.tip.buslogic.common.DBConnectivity.getConnection(DBConnectivity.java:109)
        at oracle.tip.buslogic.common.ExecutionContextImpl.getService(ExecutionContextImpl.java:379)
        at oracle.tip.buslogic.common.Transaction.begin(Transaction.java:53)
        at oracle.tip.adapter.b2b.selfservice.TradingPartnerManager.processTPProfiles(TradingPartnerManager.java:230)
        at oracle.tip.adapter.b2b.selfservice.TradingPartnerManager.main(TradingPartnerManager.java:185)

 

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms