s******e 发帖数: 63 | 1 我们PRODUCTION SERVER(RESIN server/servlet container)要向CLIENT的
WEB SERVICE POST DATA,一直RUN得好好的(已经运行大半年了),
前次RELEASE就不行了,死在第一行的SERVICE LOCATOR INITILIZATION上不往下
走,没有EXCEPTION也没有ERROR.运行在DEVELOPMENT SERVER上可以往下走,而且
在PRODUCTION SERVER那台机器上从COMMAND LINE运行没有问题.那会是什么原因
呢?怎么查?谢了.SERVICE LOCATOR等其他CLASSES都是AXIS从WSDL生成的.这些
相关的CLASSES跟JAR都一直没动过. | m******t 发帖数: 2416 | 2
How long did you wait before concluding it was hanging forever?
【在 s******e 的大作中提到】 : 我们PRODUCTION SERVER(RESIN server/servlet container)要向CLIENT的 : WEB SERVICE POST DATA,一直RUN得好好的(已经运行大半年了), : 前次RELEASE就不行了,死在第一行的SERVICE LOCATOR INITILIZATION上不往下 : 走,没有EXCEPTION也没有ERROR.运行在DEVELOPMENT SERVER上可以往下走,而且 : 在PRODUCTION SERVER那台机器上从COMMAND LINE运行没有问题.那会是什么原因 : 呢?怎么查?谢了.SERVICE LOCATOR等其他CLASSES都是AXIS从WSDL生成的.这些 : 相关的CLASSES跟JAR都一直没动过.
| s******e 发帖数: 63 | 3 那个SOAP CALL分三步,我在每步前加个打印,第二个打印从来没进LOG FILE啊.
(第一步是SERVICE LOCATOR的INITIALIZATION)
看过一次THREAD DUMP,没看到有关的.也没敢多试,因为每次要重起SERVER,都会亏钱
的.
【在 m******t 的大作中提到】 : : How long did you wait before concluding it was hanging forever?
| m******t 发帖数: 2416 | 4 I have never looked into the service locator source code. Does it try to
establish a connection to the remote server? Maybe somewhere between you and
the server you are trying to post to there is a new firewall policy or
something like that. (For the record, that was sheer speculation and I don't
really know what I'm talking about 8-) )
【在 s******e 的大作中提到】 : 那个SOAP CALL分三步,我在每步前加个打印,第二个打印从来没进LOG FILE啊. : (第一步是SERVICE LOCATOR的INITIALIZATION) : 看过一次THREAD DUMP,没看到有关的.也没敢多试,因为每次要重起SERVER,都会亏钱 : 的.
| g*****g 发帖数: 34805 | 5 Maybe a firewall issue? Check the difference between
Dev and Product servers in your network settings.
【在 s******e 的大作中提到】 : 我们PRODUCTION SERVER(RESIN server/servlet container)要向CLIENT的 : WEB SERVICE POST DATA,一直RUN得好好的(已经运行大半年了), : 前次RELEASE就不行了,死在第一行的SERVICE LOCATOR INITILIZATION上不往下 : 走,没有EXCEPTION也没有ERROR.运行在DEVELOPMENT SERVER上可以往下走,而且 : 在PRODUCTION SERVER那台机器上从COMMAND LINE运行没有问题.那会是什么原因 : 呢?怎么查?谢了.SERVICE LOCATOR等其他CLASSES都是AXIS从WSDL生成的.这些 : 相关的CLASSES跟JAR都一直没动过.
| s******e 发帖数: 63 | 6 这个FIREWALL ISSUE不影响从COMMAND LINE运行吗?除了这个CLIENT,我们SERVER还向
别的CLIENTS' SERVER用HTTP POST穿DATA都没问题.SOAP本质上就是HTTP CONNECTION
吧?最奇怪的是一RELEASE就不行了(WEEKLY RELEASE,哪天下午测试完就RELEASE)
,FIREWALL POLICY要改应该没那么碰巧啊.先谢了.
【在 g*****g 的大作中提到】 : Maybe a firewall issue? Check the difference between : Dev and Product servers in your network settings.
| s******e 发帖数: 63 | 7 应该不ESTABLISH CONNECTION吧.这个WEB SERVICE是IP AUTHENTICATED的.因为
PRODUCTION对外的IP太多,DEV SERVER的IP没能加到那个IP AUTHENTICATION LIST上.
从DEV SERVER上运行,前两步过了,第三步THROW CONNECTION TIMEOUT EXCEPTION(因为
IP的原因).
and
't
【在 m******t 的大作中提到】 : I have never looked into the service locator source code. Does it try to : establish a connection to the remote server? Maybe somewhere between you and : the server you are trying to post to there is a new firewall policy or : something like that. (For the record, that was sheer speculation and I don't : really know what I'm talking about 8-) )
|
|