원복
This commit is contained in:
@@ -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<String, Object> env = new Hashtable<>();
|
||||
/*Hashtable<String, Object> 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);
|
||||
|
||||
Reference in New Issue
Block a user