We run WebMethods B2B 4.0.1 and Enterprise Server 4.1.1 on Solaris 2.8 environment. We run the WmEnterprise Package vers. 2.0 along with the B2BServerBridge Enterprise Adapter to link B2B and Enterprise, but we use it in a unique way.
Our Canonical document structures are based on OAG 7.1 XML messages defined from the DTD’s imported into B2B. These are the Documents we publish from B2B to Enterprise Broker Server. WM Professional Services built a custom wrapper JAVA service for the WmEnterprise package that dynamically renames elements of our B2B record structure (changing special characters like @,*, . ) in the names to match the Enterprise Document names, then directly calls wm.enterprise.Admin.PublishDocument to publish the modified document to the Broker Server. The WmEnterprise package was not used to create any Flows, only to define the broker alias. So, if you list the Flows or documents for a given Alias, there are none displayed.
In all our development/test environments, B2B and Etnerprise servers live on the same host and the performance of publishing a document from B2B to Enterprise is only a couple of seconds.
However, in our production environment, B2B Server 4.0.1 lives on a different host than Enterprise Server. In this production environment we consistently (always) see performance of 60 seconds to publish a document to Enterprise and can’t seem to find the reason why.
We have had this problem for quite a while but volume of documents published has increased to the point that this performance (poor throughput) is killing us.
Initial attempts to resolve this difference have centered around the difference between test and production, i.e. the separate server. Tests have shown that TCP connections between these hosts is subsecond, simillarly packet round trip time with ping is almost nothing. We eliminated DNS name resolution by plugging in the IP address of the Broker Server directly instead of using broker host name.
To me 60 seconds is a long time and must be some timeout, not actually processing or network time.
The broker names and Alias names are different in every environment . However in all environments min Clients in the pool is set to 1 and max is 10.
We are trying to publish to the Bridge, not use request reply. In the calls to wm.enterprise.Admin.PublishDocument we pass in a BROKERID (alias name), REQUESTDOCNAME, our document to be published in the “inRec” structure and a TIMEOUT=60000 . REPLYDOCNAME is left “null” and the publish always succeeds , never get an error back or exception thrown, but it always takes 60 seconds.
Any help, suggestions , etc. are appreciated.