cancel
Showing results for 
Search instead for 
Did you mean: 

DI Server/API Encounters XCE208 busy and OBServerDLL Errors 2-3 Times Weekly

allenzhang
Discoverer
0 Kudos

My Di server encounters errors quite often, about 2 to 3 times a week.

Error message displayed by DIProxy_0.log
April 17, 2024 8:58:39 AM com.sap.b1i.diproxy.DIProxyServer initialized
Critical: Unable to get HTTPS port, so will try again: java.net.BindException: Address already in use: bind (port: 2098)
April 17, 2024 8:58:42 AM com.sap.b1i.diproxy.DIProxyServer initialized
Fatal: Unable to get HTTPS port, so will try again: java.net. In use: bind (port: 2098)
April 17, 2024 9:31:38 am com.sap.b1i.adapter.dia.JCOManager applyException
Critical: Number of DI errors that have occurred: 0
April 17, 2024 9:31:38 AM com.sap.b1i.adapter.dia.JCOManager applyException
Serious: Abnormal!
com.sap.b1i.xcellerator.RejectedException: XCE208 resource is busy


and

Apr 17, 2024 9:49:14 AM com.sap.b1i.adapter.dia.PayloadActionImpl$AbstractPayloadAction getReplyPayload
Serious: Abnormal!
com.sap.smb.sbo.wrapper.com.ComFailException: COM exception encountered:
When calling: Add
Description: The server threw an exception.

at com.sap.smb.sbo.wrapper.com.Dispatch.invokev (native method)
at com.sap.smb.sbo.wrapper.com.Dispatch.invokev (unknown source)
at com.sap.smb.sbo.wrapper.com.Dispatch.callN (Unknown source)
Located at com.sap.smb.sbo.wrapper.com.Dispatch.call (Unknown Source)
Located at com.sap.smb.sbo.api.Documents.add (unknown source)
at sun .reflect.NativeMethodAccessorImpl.invoke0(native method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatinglectMethod
.invoke(Method.java:498)
Located at com.sap.b1i.adapter.dia.JCOContextImpl.invoke(JCOContextImpl.java:98)
Located at com.sap.b1i.adapter.dia.ConcreteDIJCO.invoke method
) com.sap.b1i.adapter.dia.PayloadActionImpl$AddAction.performAddAction(PayloadActionImpl.java:1954)
at com.sap.b1i.adapter.dia.PayloadActionImpl$AddAction.subPerform(PayloadActionImpl.java:1936)
at com.

​.

​.java:19)
at com.sap.b1i.adapter.dia.AbstractTransactionState.call(AbstractTransactionState.java:48)
at com.sap.b1i.adapter.dia.FunctionCaller.call(FunctionCaller.java:565)
at com.sap .b1i.adapter.dia.JCOManager.dispatch(JCOManager.java:678)
at com.sap.b1i.adapter.dia.JCOManager.run(JCOManager.java:446)
at java.lang.Thread.run(Thread.java:836)

Apr 17, 2024 9:49:14 AM com.sap.b1i.adapter.dia.PayloadActionImpl$AbstractPayloadAction getReplyPayload
Critical: An error occurred while executing the DI call with the payload:


Then my Windows Evenlog
OBServerDLL_1000170.dll ERROR

This situation will cause my data to be unable to be synchronized to sap.

But check the port usage and confirm that no other program is occupying 2098
.
Or I need to manually restart SAPB1iDIProxy2098 SAPB1iDIProxy both services to fix it immediately.
Data can be synchronized correctly

May I ask what is going on and how to deal with it to reduce the occurrence of di server errors?

Accepted Solutions (0)

Answers (1)

Answers (1)

nidhisingh14
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi allenzhang

The "XCE208 Resource is busy" means that there's no DI Proxy available to serve a scenario step request. You can increase the number of DI Proxies in a DI Proxy Group to try and reduce this.

For how to setup multiple DI Proxies and DI Groups, please refer to section 9 in NOTE 2130388.

For memory allocate to TOMCAT, you can check Maximum memory pool allocated to B1i (tomcat):  ..\SAP\SAP Business One Integration\IntegrationServer\Tomcat\bin\tomcat8w.exe and find the field on Java tab and increase the Maximum memory pool  value.

Restart SAP Business One Integration service after this.

Kind Regards
Nidhi Singh
SAP Business One Support

 

allenzhang
Discoverer
0 Kudos
Thank you nidhisingh14 for your reply Then I would like to ask what is the possible reason why OBServerDLL crashes from time to time? Does it have anything to do with the setup multiple DI Proxies and DI Groups and memory allocate to TOMCAT you suggested adjusting? Because I currently have two proxies, this problem often occurs during off-peak hours, so it doesn’t feel like a real busy problem. If you have more ideas, please help me. Thank you.