我们在进行远程管道调试时遇到问题。
设置如下(测试运行系统)-3个节点(在同一主机上2个,在另一个主机上1个),在主机本身上安装webadapter。在RedHat linux虚拟机上完成设置。 在Windows 10上运行的Intershop Studio 4.9.0.9(当前最新)。
在连接到远程系统之前定义了单个断点。连接后,几乎没有消息通过SOAP接口交换(首先定位SessionMgmtService,DomainService,UserMgmtService,然后定位PXIService URL)。
异常之前的最后一条消息如下:
请求:
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance">
<SOAP-ENV:Body>
<m:setBreakOnException xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:m="http://enfinity.intershop.com/namespaces/soap/com/intershop/beehive/core/internal/bos/pxi">
<clientId xsi:type="SOAP-ENC:base64">rO0ABXcEAAAAAQ==</clientId>
<flag xsi:type="SOAP-ENC:base64">rO0ABXcBAQ==</flag>
</m:setBreakOnException>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
响应:
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance">
<SOAP-ENV:Header>
<enfinity:SessionID xmlns:enfinity="http://enfinity.intershop.com/namespaces/soap" value="VIuTJ5Xq6UyXJ8mc2TjiDmjgK79taeha4jnsE2uk"/>
</SOAP-ENV:Header>
<SOAP-ENV:Body>
<m:setBreakOnExceptionResponse xmlns:m="http://enfinity.intershop.com/namespaces/soap/com/intershop/beehive/core/internal/bos/pxi">
<result/>
</m:setBreakOnExceptionResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
下一条消息包含错误:
请求:
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance">
<SOAP-ENV:Body>
<m:clearAllBreakpoints xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:m="http://enfinity.intershop.com/namespaces/soap/com/intershop/beehive/core/internal/bos/pxi">
<clientId xsi:type="SOAP-ENC:base64">rO0ABXcEAAAAAQ==</clientId>
</m:clearAllBreakpoints>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
响应:
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance">
<SOAP-ENV:Header>
<enfinity:SessionID xmlns:enfinity="http://enfinity.intershop.com/namespaces/soap" value="x-OadAF9eiSfdF0LSlDrXfx3uNdkOnzNcVHnxLfP"/>
</SOAP-ENV:Header>
<SOAP-ENV:Body>
<SOAP-ENV:Fault>
<faultcode>SOAP-ENV:Server</faultcode>
<faultstring>PXIService::clearAllBreakpoints(): exception occured during method invocation; nested exception is:
com.intershop.beehive.core.internal.bos.pxi.PXIBORegisterException: Client is not registered</faultstring>
<detail>
<enfinity:Exception xmlns:enfinity="http://enfinity.intershop.com/namespaces/soap">
<message>Client is not registered</message>
<type>com.intershop.beehive.core.internal.bos.pxi.PXIBORegisterException</type>
</enfinity:Exception>
</detail>
</SOAP-ENV:Fault>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
这里只是消息:
PXIService :: clearAllBreakpoints():方法调用期间发生异常;嵌套的异常是: com.intershop.beehive.core.internal.bos.pxi.PXIBORegisterException:客户端未注册
下一次连接尝试将导致与上述消息相同或与此消息相同:
PXIService :: setBreakOnException():方法调用期间发生异常;嵌套的异常是: com.intershop.beehive.core.internal.bos.pxi.PXIBOHandlingException:只有一个客户端可以注册“异常中断”。
我们之前使用过Intershop 6.4,并且在服务器重新启动后进行初始连接尝试时未遇到此类问题-调试器可能偶尔会中断bot,而不会像版本7中那样发生这种情况。
通常可以进行本地管道调试,但是如果对断点执行快速操作(例如再次启用和禁用它们),它也可能会中断。
对于这种情况是否存在任何类型的配置或解决方法? (我没有安装7.9来验证旧版7.x上的行为。)
任何建议都值得赞赏。