Hello,
Has any one tried WSIF/JMS with Soniq MQ ?
<service name="CheckServiceAvailability">
<port name="CheckAvailabilityPort" binding="tns:CheckAvailabilityJMSBinding">
<!-- vendor-specific deployment information needs to be entered here -->
<jms:address destinationStyle="queue" jndiDestinationName="myqueue" jndiConnectionFactoryName="ConnectionFactory" initialContextFactory="progress.message.jclient.QueueConnectionFactory" jndiProviderURL="tcp://bnorrish04:2506"/>
</port>
</service>
When I tried to run the Run.java sample I got this error :
- WSIF0005E: An error occurred when invoking the method 'checkAvailability'. ('Jms')
Error while executing sample, received an exception from WSIF; details:
org.apache.wsif.WSIFException: [EMAIL PROTECTED] : Could not invoke 'checkAvailability'; nested exception is:
org.apache.wsif.WSIFException: WSIFJMSFinderForJndi caught 'javax.naming.NoInitialContextException: Cannot instantiate class: progress.message.jclient.ConnectionFactory [Root exception is java.lang.ClassCastException: progress.message.jclient.ConnectionFactory]'. InitialContextFactory was 'progress.message.jclient.ConnectionFactory' ProviderUrl was 'tcp://bnorrish04:2506'. Port=CheckAvailabilityPort
at org.apache.wsif.providers.jms.WSIFOperation_Jms.executeRequestResponseOperation(Unknown Source)
at org.apache.wsif.base.WSIFClientProxy.invoke(Unknown Source)
at $Proxy0.checkAvailability(Unknown Source)
at com.expedia.ecommerce.Run.main(Run.java:58)
Caused by: org.apache.wsif.WSIFException: WSIFJMSFinderForJndi caught 'javax.naming.NoInitialContextException: Cannot instantiate class: progress.message.jclient.ConnectionFactory [Root exception is java.lang.ClassCastException: progress.message.jclient.ConnectionFactory]'. InitialContextFactory was 'progress.message.jclient.ConnectionFactory' ProviderUrl was 'tcp://bnorrish04:2506'. Port=CheckAvailabilityPorttest
at org.apache.wsif.util.jms.WSIFJMSFinderForJndi.<init>(Unknown Source)
at org.apache.wsif.util.jms.WSIFJMSFinder.newFinder(Unknown Source)
at org.apache.wsif.providers.jms.WSIFPort_Jms.getJmsDestination(Unknown Source)
at org.apache.wsif.providers.jms.WSIFOperation_Jms.sendJmsMessage(Unknown Source)
... 4 more
Please help if you know why?
Thanks.
