2016-08-01 38 views
1
Caused by: com.solacesystems.jms.ConfigurationException: Invalid scheme "null" in host "null://x.x.x.x:x" 
    at com.solacesystems.jms.SolConnection.<init>(SolConnection.java:142) 
    at com.solacesystems.jms.SolConnection.<init>(SolConnection.java:79) 
    at com.solacesystems.jms.SolXAConnection.<init>(SolXAConnection.java:20) 
    at com.solacesystems.jms.SolXAConnectionFactoryImpl.createXAConnection(SolXAConnectionFactoryImpl.java:25) 
    at com.atomikos.jms.AtomikosJmsXAConnectionFactory.createPooledConnection(AtomikosJmsXAConnectionFactory.java:58) 

Wie ein gültiges Schema erstellen?com.solacesystems.jms.ConfigurationException: Ungültiges Schema "null" im Host "null: //x.x.x.x: x"

+0

Das Problem war mit ungültiger Konfiguration von SolXAConnectionFactory verbunden. Ich habe es mit dem vorgeschlagenen Beispiel in http://stackoverflow.com/questions/38656069/is-there-any-example-of-jms-implementa-ion-with-xa-transactions-with-solace gelöst – NameAlex

Antwort

1

"null: //x.x.x.x: x" ist keine gültige URL.

Gültige URLs für Solace JMS sind:

smf[s]://host:port 

wo die optionalen s SSL verwendet/TLS als gesicherten Transport. Wenn :port nicht angegeben wird, verwendet das Protokoll smf Port 55555 und smfs verwendet Port 55443.