From 4c4a2a3ead0637976b2c031494078d17a62b7c8c Mon Sep 17 00:00:00 2001 From: zoomk Date: Tue, 28 Oct 2025 17:45:08 +0900 Subject: [PATCH] =?UTF-8?q?=EC=9B=90=EB=B3=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/com/eactive/eai/common/util/ServiceLocator.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/com/eactive/eai/common/util/ServiceLocator.java b/src/com/eactive/eai/common/util/ServiceLocator.java index 245a1da..f5f8d23 100644 --- a/src/com/eactive/eai/common/util/ServiceLocator.java +++ b/src/com/eactive/eai/common/util/ServiceLocator.java @@ -193,10 +193,10 @@ public class ServiceLocator { if (cache.containsKey(qConnFactoryName)) { factory = (QueueConnectionFactory) cache.get(qConnFactoryName); } else { -// factory = (QueueConnectionFactory) initial.lookup(qConnFactoryName); -// cache.put(qConnFactoryName, factory); + factory = (QueueConnectionFactory) initial.lookup(qConnFactoryName); + cache.put(qConnFactoryName, factory); - Hashtable env = new Hashtable<>(); + /*Hashtable env = new Hashtable<>(); env.put(Context.INITIAL_CONTEXT_FACTORY, WEBLOGIC_INITIAL_CONTEXT_FACTORY); // Admin Server 포트를 사용하는 것이 안전 @@ -206,7 +206,7 @@ public class ServiceLocator { factory = (QueueConnectionFactory) initial.lookup(qConnFactoryName); - cache.put(qConnFactoryName, factory); + cache.put(qConnFactoryName, factory);*/ } } catch (NamingException ne) { //throw new ServiceLocatorException(ne);