Title:
Bug 86032:We are in the testing phase of a webservice client deployment with a major telecom carrier
| View in TrackerStatus/Resolution/Reason: Closed/Withdrawn/
Reporter/Name(from Bugbase): Nick Walters / Nick Walters (fedsol)
Created: 01/27/2011
Components: Web Services
Versions: 9.0
Failure Type: Unspecified
Found In Build/Fixed In Build: 0000 /
Priority/Frequency: Trivial / Some users will encounter
Locale/System: English / Win All
Vote Count: 1
Problem:
We are in the testing phase of a webservice client deployment with a major telecom carrier. They require the SOAP messages to be signed, which is not anything we haven't done 10 times before, and works perfectly fine on our CF8 dev server. However, on the CF9 "new prod" server (not yet in production, thankfully), this webservice invocation literally forces a JRun restart. The error thrown is java.lang.NoSuchMethodError: org.apache.xpath.compiler.FunctionTable.installFunction(Ljava/lang/St ring;Lorg/apache/xpath/Expression;)I at org.apache.xml.security.Init.registerHereFunction(Init.java:417) at org.apache.xml.security.Init.init(Init.java:124) The error occurs in the Axis layer when running a handler. Both servers are running CF Enterprise standalone. The working one is 32-bit Win2K and the new one is 64-bit Win2008. Old server is CF 8.0.1, new server is CF 9.0.1, both current on hotfixes.
Method:
Create an Axis web service client and WSDD, referencing a requestFlow handler. In the handler, run org.apache.xml.security.Init.init(). Page will come back empty, error will be thrown (visible in coldfusion-out.log only), then JRun will choke, and it will restart itself on next page request.
Result:
We are in the testing phase of a webservice client deployment with a major telecom carrier. They require the SOAP messages to be signed, which is not anything we haven't done 10 times before, and works perfectly fine on our CF8 dev server. However, on the CF9 "new prod" server (not yet in production, thankfully), this webservice invocation literally forces a JRun restart. The error thrown isjava.lang.NoSuchMethodError: org.apache.xpath.compiler.FunctionTable.installFunction(Ljava/lang/St ring;Lorg/apache/xpath/Expression;)I at org.apache.xml.security.Init.registerHereFunction(Init.java:417) at org.apache.xml.security.Init.init(Init.java:124)The error occurs in the Axis layer when running a handler. Both servers are running CF Enterprise standalone. The working one is 32-bit Win2K and the new one is 64-bit Win2008. Old server is CF 8.0.1, new server is CF 9.0.1, both current on hotfixes. The workaround for this is to -downgrade- Xalan from 2.7.1 to 2.5.1. This is accomplished by copying the Xalan jar from CF8/lib to CF9/lib. I can't imagine that this is correct - CF8 did WS-Security easily right out of the box, why would CF9 not?
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3043207
External Customer Info:
External Company:
External Customer Name: Nick Walters
External Customer Email: 1C5635454BC770C30A04B833
External Test Config: 01/27/2011
Attachments:
Comments: