0 Replies Latest reply: Jan 9, 2013 2:30 PM by 969358 RSS

    Can't get credentials associated with foreign jmsconnection factory

    969358
      I followed a blog which shows how develop SOAP over JMS and I got stuck at this error while running the test client: "Can't get credentials associated with foreign jmsconnection factory: javax.naming.NameNotFoundException: Unable to resolve 'jms.CF". How can I know if the Connection Factory and JMS Queue under Sub Deployment I have created are both ok? Where should both apear in JNDI Tree Structure (http://localhost:7001/console/consolejndi.portal)?

      The blog is:
      http://biemond.blogspot.com.br/2010/08/soap-over-jms-with-weblogic.html

      The complete error message is:
      C:\Oracle\Middleware\JDev11g\jdk160_24\bin\javaw.exe -client -classpath C:\@d\Laboratorio\20130109\SoapOverJMS\SoapOverJMS\.adf;C:\@d\Laboratorio\20130109\SoapOverJMS\SoapOverJMS\SoapOverJMS\classes;C:\Oracle\Middleware\JDev11g\oracle_common\modules\oracle.webservices_11.1.1\wsclient.jar;C:\Oracle\Middleware\JDev11g\wlserver_10.3\server\lib\weblogic.jar -Djavax.net.ssl.trustStore=C:\Oracle\Middleware\JDev11g\wlserver_10.3\server\lib\DemoTrust.jks -Dhttp.proxyHost=br-lihi-proxy -Dhttp.proxyPort=8080 -Dhttp.nonProxyHosts=10.56.*|10.55.*|*.br-lihi.libertyinternational.com|*.indiananet.com.br|*.indiana.com.br|intranet.indiana.com.br|localhost|localhost.localdomain|127.0.0.1|::1|SISTEMA026.br-lihi.libertyinternational.com|SISTEMA026 -Dhttps.proxyHost=br-lihi-proxy -Dhttps.proxyPort=8080 -Dhttps.nonProxyHosts=10.56.*|10.55.*|*.br-lihi.libertyinternational.com|*.indiananet.com.br|*.indiana.com.br|intranet.indiana.com.br|localhost|localhost.localdomain|127.0.0.1|::1|SISTEMA026.br-lihi.libertyinternational.com|SISTEMA026 nl.whitehorses.client.jms.TestService
      <WSEE:1>Can't get credentials associated with foreign jmsconnection factory: javax.naming.NameNotFoundException: Unable to resolve 'jms.CF'. Resolved 'jms' [Root exception is javax.naming.NameNotFoundException: Unable to resolve 'jms.CF'. Resolved 'jms']; remaining name 'CF'<TransportUtil.getForeignCredentials:133>
      java.rmi.RemoteException: SOAPFaultException - FaultCode [{http://schemas.xmlsoap.org/soap/envelope/}Server] FaultString [Failed to send message using connection:(SoapClientConnection@30039545 <transport=weblogic.wsee.connection.transport.jms.JmsTransport@df9095>)
      -> Failed to lookup jms connection
      ] FaultActor [null] Detail [<detail><bea_fault:stacktrace xmlns:bea_fault="http://www.bea.com/servers/wls70/webservice/fault/1.0.0">weblogic.wsee.connection.ConnectionException: Failed to lookup jms connection
           at weblogic.wsee.connection.transport.jms.JmsTransport.send(JmsTransport.java:282)