logging
This commit is contained in:
@@ -193,13 +193,13 @@ public class ServiceLocator {
|
|||||||
if (cache.containsKey(qConnFactoryName)) {
|
if (cache.containsKey(qConnFactoryName)) {
|
||||||
factory = (QueueConnectionFactory) cache.get(qConnFactoryName);
|
factory = (QueueConnectionFactory) cache.get(qConnFactoryName);
|
||||||
} else {
|
} else {
|
||||||
try {
|
|
||||||
factory = (QueueConnectionFactory) initial.lookup(qConnFactoryName);
|
// factory = (QueueConnectionFactory) initial.lookup(qConnFactoryName);
|
||||||
cache.put(qConnFactoryName, factory);
|
// cache.put(qConnFactoryName, factory);
|
||||||
}catch(Exception e) {
|
|
||||||
Hashtable<String, Object> env = new Hashtable<>();
|
Hashtable<String, Object> env = new Hashtable<>();
|
||||||
env.put(Context.INITIAL_CONTEXT_FACTORY, WEBLOGIC_INITIAL_CONTEXT_FACTORY);
|
env.put(Context.INITIAL_CONTEXT_FACTORY, WEBLOGIC_INITIAL_CONTEXT_FACTORY);
|
||||||
|
System.out.println("========="+com.eactive.eai.common.dao.Keys.PROVIDER_URL);
|
||||||
// Admin Server 포트를 사용하는 것이 안전
|
// Admin Server 포트를 사용하는 것이 안전
|
||||||
env.put(Context.PROVIDER_URL, com.eactive.eai.common.dao.Keys.PROVIDER_URL);
|
env.put(Context.PROVIDER_URL, com.eactive.eai.common.dao.Keys.PROVIDER_URL);
|
||||||
|
|
||||||
@@ -208,7 +208,7 @@ public class ServiceLocator {
|
|||||||
factory =
|
factory =
|
||||||
(QueueConnectionFactory) initial.lookup(qConnFactoryName);
|
(QueueConnectionFactory) initial.lookup(qConnFactoryName);
|
||||||
cache.put(qConnFactoryName, factory);
|
cache.put(qConnFactoryName, factory);
|
||||||
}
|
|
||||||
}
|
}
|
||||||
} catch (NamingException ne) {
|
} catch (NamingException ne) {
|
||||||
//throw new ServiceLocatorException(ne);
|
//throw new ServiceLocatorException(ne);
|
||||||
|
|||||||
Reference in New Issue
Block a user