How to Use B2B Self-Service API
(Doc ID 731645.1)
Last updated on MARCH 27, 2020
Applies to:
Oracle B2B 10g (Business to Business) - Version 10.1.2.0.2 and laterInformation 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
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 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)
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 |