Hi Bastian!
It has been the correct DI-API version all the time. Version of SAPbobsCOM.dll is 9.10.170. Exactly the same version as in server1 where B1i is already working.
Only difference between server 1 and 2 is that server2 is Win2012 and server1 is Win2008R2.
I have changed the logging setting for DIProxy to CONFIG and then I get this information in the log file:
feb 10, 2016 11:42:13 FM com.sap.b1i.diproxy.DiaProxyApplication startDIProxyServer
INFO:
####################
Starting DI Proxy...
feb 10, 2016 11:42:13 FM com.sap.b1i.diproxy.DIProxyServer initialize
INFO: The current server-ID is 160210114213872000010A7811D39A2F
feb 10, 2016 11:42:13 FM com.sap.b1i.diproxy.DIProxyServer initialize
INFO: Absolute base-path is C:\Program Files (x86)\SAP\SAP Business One Integration
feb 10, 2016 11:42:13 FM sun.net.httpserver.ServerImpl <init>
CONFIG: HttpServer created https 0.0.0.0/0.0.0.0:2099
feb 10, 2016 11:42:13 FM sun.net.httpserver.ServerImpl createContext
CONFIG: context created: /
feb 10, 2016 11:42:28 FM com.sap.b1i.adapter.dia.CallStateLogger before
INFO: cid: 160210112824107000790A7811D3BD78
cip: 0A7811D3
tid: 160210112824107027280A7811D3CFFB 160210112824107027280A7811D3CFFB
fic: true
sid:
version: 4.2.2
oldState:
newState:
throwException: true
serializedObject (size): 20
dbType: 6
b1Server: HEMFRID2
DIJCO: com.sap.b1.diapi
language: 3
isTrust: false
jcoVersion: jcov2005
licenseServer: HEMFRID3:30000
jcoPath:
company: SBOHemfrid
userName: B1i
addonIdentifier: ???
b1di.cmd: b1di.ping
password: ???
dbUser: sa
dbPassword: ???
feb 10, 2016 11:42:29 FM com.sap.b1i.adapter.dia.FunctionCaller setUsed
INFO: FunctionCaller set for usage:
lkey: C:\Program Files\SAP\SAP Business One DI API\JCO\LIB|jcov2005|HEMFRID2|HEMFRID3:30000|SBOHemfrid|6|sa|***|B1i|***|3|false|com.sap.b1.diapi|5645523035534150303030303030373035313A43313331313434343433356995D0D3601AC8CB20F2248A7C529A066AC34B3E|
tid: 160210112824107027280A7811D3CFFB 160210112824107027280A7811D3CFFB
expires: 0
executes: 1455102149259
fullUsages: 0
unusable: 0
orphaned: 20
state: com.sap.b1i.adapter.dia.InitialState
callee: DIJCO: com.sap.b1.diapi
constructError:
com.sap.smb.sbo.wrapper.com.ComFailException: Can't find moniker
feb 10, 2016 11:42:29 FM com.sap.b1i.adapter.dia.FunctionCallerPool getCaller
INFO: Not yet used FunctionCaller retrieved for tid=160210112824107027280A7811D3CFFB 160210112824107027280A7811D3CFFB:
lkey: C:\Program Files\SAP\SAP Business One DI API\JCO\LIB|jcov2005|HEMFRID2|HEMFRID3:30000|SBOHemfrid|6|sa|***|B1i|***|3|false|com.sap.b1.diapi|5645523035534150303030303030373035313A43313331313434343433356995D0D3601AC8CB20F2248A7C529A066AC34B3E|
tid: 160210112824107027280A7811D3CFFB 160210112824107027280A7811D3CFFB
expires: 0
executes: 1455102149259
fullUsages: 0
unusable: 0
orphaned: 20
state: com.sap.b1i.adapter.dia.InitialState
callee: DIJCO: com.sap.b1.diapi
constructError:
com.sap.smb.sbo.wrapper.com.ComFailException: Can't find moniker
feb 10, 2016 11:42:29 FM com.sap.b1i.adapter.dia.FunctionCaller resetUsed
INFO: FunctionCaller will be reset from usage:
lkey: C:\Program Files\SAP\SAP Business One DI API\JCO\LIB|jcov2005|HEMFRID2|HEMFRID3:30000|SBOHemfrid|6|sa|***|B1i|***|3|false|com.sap.b1.diapi|5645523035534150303030303030373035313A43313331313434343433356995D0D3601AC8CB20F2248A7C529A066AC34B3E|
tid: 160210112824107027280A7811D3CFFB 160210112824107027280A7811D3CFFB
expires: 0
executes: 1455102149259
fullUsages: 0
unusable: 0
orphaned: 20
state: com.sap.b1i.adapter.dia.InitialState
callee: DIJCO: com.sap.b1.diapi
constructError:
com.sap.smb.sbo.wrapper.com.ComFailException: Can't find moniker
feb 10, 2016 11:42:29 FM com.sap.b1i.adapter.dia.FunctionCaller mustDestroy
INFO: FunctionCaller shall destroy:
lkey: C:\Program Files\SAP\SAP Business One DI API\JCO\LIB|jcov2005|HEMFRID2|HEMFRID3:30000|SBOHemfrid|6|sa|***|B1i|***|3|false|com.sap.b1.diapi|5645523035534150303030303030373035313A43313331313434343433356995D0D3601AC8CB20F2248A7C529A066AC34B3E|
tid:
expires: 1455101549265
executes: 0
fullUsages: 1
unusable: 1
orphaned: 20
state: com.sap.b1i.adapter.dia.InitialState
callee: DIJCO: com.sap.b1.diapi
constructError:
com.sap.smb.sbo.wrapper.com.ComFailException: Can't find moniker
feb 10, 2016 11:42:29 FM com.sap.b1i.adapter.dia.FunctionCallerPool releaseCaller
INFO: FunctionCaller was released:
lkey: C:\Program Files\SAP\SAP Business One DI API\JCO\LIB|jcov2005|HEMFRID2|HEMFRID3:30000|SBOHemfrid|6|sa|***|B1i|***|3|false|com.sap.b1.diapi|5645523035534150303030303030373035313A43313331313434343433356995D0D3601AC8CB20F2248A7C529A066AC34B3E|
tid:
expires: 1455101549265
executes: 0
fullUsages: 1
unusable: 1
orphaned: 20
state: com.sap.b1i.adapter.dia.InitialState
callee: DIJCO: com.sap.b1.diapi
constructError:
com.sap.smb.sbo.wrapper.com.ComFailException: Can't find moniker
feb 10, 2016 11:42:29 FM com.sap.b1i.adapter.dia.DIJCOWrapper mustDestroy
SEVERE: java.lang.NullPointerException: while trying to invoke the method com.sap.b1i.adapter.dia.JCOContext.releaseCompany() of an object loaded from field com.sap.b1i.adapter.dia.ConcreteDIJCO.jcoCtx of an object loaded from local variable 'this'
feb 10, 2016 11:42:29 FM com.sap.b1i.adapter.dia.FunctionCaller doDestroy
INFO: FunctionCaller does destroy:
lkey: C:\Program Files\SAP\SAP Business One DI API\JCO\LIB|jcov2005|HEMFRID2|HEMFRID3:30000|SBOHemfrid|6|sa|***|B1i|***|3|false|com.sap.b1.diapi|5645523035534150303030303030373035313A43313331313434343433356995D0D3601AC8CB20F2248A7C529A066AC34B3E|
tid:
expires: 1455101549265
executes: 0
fullUsages: 1
unusable: 2
orphaned: 20
state: com.sap.b1i.adapter.dia.InitialState
callee: ---
feb 10, 2016 11:42:29 FM com.sap.b1i.adapter.dia.CallStateLogger after
INFO: cid:
cip:
tid:
fic:
sid: 160210114213872000010A7811D39A2F
version: 4.2.2
oldState: com.sap.b1i.adapter.dia.InitialState, 0, 0, 0, 160210112824107027280A7811D3CFFB 160210112824107027280A7811D3CFFB
newState:
throwException: true
serializedObject (size): 20
dbType: 6
b1Server: HEMFRID2
DIJCO: com.sap.b1.diapi
b1di.info: com.sap.smb.sbo.wrapper.com.ComFailException: Can't find moniker
language: 3
jcoVersion: jcov2005
isTrust: false
jcoPath: C:\Program Files\SAP\SAP Business One DI API\JCO\LIB
licenseServer: HEMFRID3:30000
company: SBOHemfrid
userName: B1i
addonIdentifier: ???
b1di.cmd: b1di.ping
password: ???
b1di.return: false
dbUser: sa
dbPassword: ???
Regards
Lars