You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are running two Web Application from a single Tomcat Server. Both applications have dependency on Cybersource SDK for payment processing. Calling cybersource api works from only first application. When 2nd application tries to access the API, we get following error:
com.cybersource.ws.client.ClientException: error constructing MAC: java.security.InvalidAlgorithmParameterException: unknown parameter type. at com.cybersource.ws.client.Client.runTransaction(Client.java:174) ~[cybersource-sdk-java-6.2.6.jar:?] at com.cybersource.ws.client.Client.runTransaction(Client.java:76) ~[cybersource-sdk-java-6.2.6.jar:?]
If we restart server, call second application first, that will work and other application will give error.
We have tried multiple environment as follows, but it still gives error:
JRE 8, Tomcat 8, Cybersource SDK 6.2.4
JRE 10, Tomcat 9, Cybersource SDK 6.2.6
The only workaround right now is to put cybersource SDK jar and all dependent Jar in tomcat library so that classes are loaded by the server class loader. This causes issue of distributing the application that we have, because we have to manage the cybersource related dependencies separately.
The text was updated successfully, but these errors were encountered:
We are running two Web Application from a single Tomcat Server. Both applications have dependency on Cybersource SDK for payment processing. Calling cybersource api works from only first application. When 2nd application tries to access the API, we get following error:
com.cybersource.ws.client.ClientException: error constructing MAC: java.security.InvalidAlgorithmParameterException: unknown parameter type. at com.cybersource.ws.client.Client.runTransaction(Client.java:174) ~[cybersource-sdk-java-6.2.6.jar:?] at com.cybersource.ws.client.Client.runTransaction(Client.java:76) ~[cybersource-sdk-java-6.2.6.jar:?]
If we restart server, call second application first, that will work and other application will give error.
We have tried multiple environment as follows, but it still gives error:
The only workaround right now is to put cybersource SDK jar and all dependent Jar in tomcat library so that classes are loaded by the server class loader. This causes issue of distributing the application that we have, because we have to manage the cybersource related dependencies separately.
The text was updated successfully, but these errors were encountered: