My Oracle Support Banner

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

Last updated on OCTOBER 11, 2019

Applies to:

Oracle B2B 10g (Business to Business) - Version 10.1.2.0.2 and later
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

To view full details, sign in with your My Oracle Support account.

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


In this Document
Goal
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.