2017-05-14 5 views
0

wso2carbon.log에서 다음 stacktrace가 계속 나타납니다. WSO2 신원 확인 서버와 WSO2 API 관리자 togother.And의 조합을 사용하고 있으며이 두 가지에 대해 사용자 정의 도메인 이름을 구성했습니다. 그러나 이제 오류가 인쇄되고 있습니다. 그것은 마치 JMS 대신 localhost 대신 사용자 정의 도메인 이름을 업데이트해야합니까?WSO2 API 관리자 JMS 오류

TID: [-1] [] [2017-05-14 06:22:19,469] INFO {org.wso2.andes.client.AMQConnection} - Unable to connect to broker at tcp://localhost:5672 {org.wso2.andes.client.AMQConnection} 
org.wso2.andes.transport.TransportException: Could not open connection 
    at org.wso2.andes.transport.network.mina.MinaNetworkTransport$IoConnectorCreator.connect(MinaNetworkTransport.java:216) 
    at org.wso2.andes.transport.network.mina.MinaNetworkTransport.connect(MinaNetworkTransport.java:74) 
    at org.wso2.andes.client.AMQConnectionDelegate_8_0.makeBrokerConnection(AMQConnectionDelegate_8_0.java:130) 
    at org.wso2.andes.client.AMQConnection$2.run(AMQConnection.java:631) 
    at org.wso2.andes.client.AMQConnection$2.run(AMQConnection.java:628) 
    at java.security.AccessController.doPrivileged(Native Method) 
    at org.wso2.andes.client.AMQConnection.makeBrokerConnection(AMQConnection.java:628) 
    at org.wso2.andes.client.AMQConnection.<init>(AMQConnection.java:409) 
    at org.wso2.andes.client.AMQConnectionFactory.createConnection(AMQConnectionFactory.java:351) 
    at org.wso2.andes.client.AMQConnectionFactory.createConnection(AMQConnectionFactory.java:40) 
    at org.wso2.carbon.event.output.adapter.jms.internal.util.JMSUtils.createConnection(JMSUtils.java:387) 
    at org.wso2.carbon.event.output.adapter.jms.internal.util.JMSConnectionFactory.createConnection(JMSConnectionFactory.java:268) 
    at org.wso2.carbon.event.output.adapter.jms.internal.util.JMSConnectionFactory$PoolableJMSConnectionFactory.makeObject(JMSConnectionFactory.java:356) 
    at org.apache.commons.pool.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:1181) 
    at org.wso2.carbon.event.output.adapter.jms.internal.util.JMSConnectionFactory.getConnectionFromPool(JMSConnectionFactory.java:286) 
    at org.wso2.carbon.event.output.adapter.jms.internal.util.JMSMessageSender.send(JMSMessageSender.java:86) 
    at org.wso2.carbon.event.output.adapter.jms.JMSEventAdapter$JMSSender.run(JMSEventAdapter.java:248) 
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) 
    at java.util.concurrent.FutureTask.run(FutureTask.java:266) 
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) 
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) 
    at java.lang.Thread.run(Thread.java:745) 
TID: [-1] [] [2017-05-14 06:22:19,471] ERROR {org.wso2.carbon.event.output.adapter.jms.internal.util.JMSConnectionFactory} - Error acquiring a Connection from the JMS CF : jmsEventPublisher using properties : {transport.jms.ConcurrentPublishers=allow, java.naming.provider.url=repository/conf/jndi.properties, java.naming.factory.initial=org.wso2.andes.jndi.PropertiesFileInitialContextFactory, transport.jms.DestinationType=topic, transport.jms.ConnectionFactoryJNDIName=TopicConnectionFactory, transport.jms.Destination=throttleData} {org.wso2.carbon.event.output.adapter.jms.internal.util.JMSConnectionFactory} 
javax.jms.JMSException: Error creating connection: Could not open connection 
    at org.wso2.andes.client.AMQConnectionFactory.createConnection(AMQConnectionFactory.java:361) 
    at org.wso2.andes.client.AMQConnectionFactory.createConnection(AMQConnectionFactory.java:40) 
    at org.wso2.carbon.event.output.adapter.jms.internal.util.JMSUtils.createConnection(JMSUtils.java:387) 
    at org.wso2.carbon.event.output.adapter.jms.internal.util.JMSConnectionFactory.createConnection(JMSConnectionFactory.java:268) 
    at org.wso2.carbon.event.output.adapter.jms.internal.util.JMSConnectionFactory$PoolableJMSConnectionFactory.makeObject(JMSConnectionFactory.java:356) 
    at org.apache.commons.pool.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:1181) 
    at org.wso2.carbon.event.output.adapter.jms.internal.util.JMSConnectionFactory.getConnectionFromPool(JMSConnectionFactory.java:286) 
    at org.wso2.carbon.event.output.adapter.jms.internal.util.JMSMessageSender.send(JMSMessageSender.java:86) 
    at org.wso2.carbon.event.output.adapter.jms.JMSEventAdapter$JMSSender.run(JMSEventAdapter.java:248) 
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) 
    at java.util.concurrent.FutureTask.run(FutureTask.java:266) 
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) 
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) 
    at java.lang.Thread.run(Thread.java:745) 
Caused by: org.wso2.andes.AMQConnectionFailureException: Could not open connection 
    at org.wso2.andes.client.AMQConnection.<init>(AMQConnection.java:486) 
    at org.wso2.andes.client.AMQConnectionFactory.createConnection(AMQConnectionFactory.java:351) 

어떤 이유 일 수 있습니까?

답변

0

오류 자체에서 언급 한 바와 같이, 당신은 repository/conf/jndi.properties

+0

를 업데이트해야 내가 정의 도메인이있는 경우, 내가 찾기를 사용하여 뭔가를하고 모든 .. – Jocket

+0

더 나은 대체 할 수 있습니다? 내 사용자 지정 도메인 로컬 호스트 한 모든 장소를 변경해야 그렇게. 그렇지 않으면 호스트 이름 유효성 검사 오류와 포트가 다른 네트워크 인터페이스에 바인딩 될 수 있습니다. – Bee