Unable to resolve 'ejb.B2BUtilityBean'

Problem

You are trying to deploy B2B and are getting an error like this:

SEVERE - flexagon.ff.common.core.exceptions.FlexCheckedException.init() - FDB2B-00701: Import Agreement failed: java.lang.Exception: javax.naming.NameNotFoundException: Unable to resolve 'ejb.B2BUtilityBean'. Resolved 'ejb' [Root exception is javax.naming.NameNotFoundException: Unable to resolve 'ejb.B2BUtilityBean'. Resolved 'ejb']; remaining name 'B2BUtilityBean' flexagon.ff.common.core.exceptions.FlexCheckedException: FDB2B-00701: Import Agreement failed: java.lang.Exception: javax.naming.NameNotFoundException: Unable to resolve 'ejb.B2BUtilityBean'. Resolved 'ejb' [Root exception is javax.naming.NameNotFoundException: Unable to resolve 'ejb.B2BUtilityBean'. Resolved 'ejb']; remaining name 'B2BUtilityBean' at flexagon.fd.plugin.b2b.operations.B2BImportAgreement.execute(B2BImportAgreement.java:112) at flexagon.fd.core.plugin.PluginProxy.execute(PluginProxy.java:61) at flexagon.fd.core.plugin.ExternalPluginServerWorker.call(ExternalPluginServerWorker.java:42) at flexagon.fd.core.plugin.ExternalPluginServerWorker.call(ExternalPluginServerWorker.java:8) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:722)


Solution

It is likely that the B2B managed server is not Running properly. If it is in Admin mode, you will receive this error

Verify the State of the server

  1. Log into the Weblogic console on the admin server
  2. Click Environment → servers.
  3. Check the health of the B2B managed servers is Ok, not Admin.

The following macros are not currently supported in the footer:
  • style