Thanks for help!
Our out of the box functionality perform a jndi lookup. It is possible to create external java app which would be used by Siebel however now I'm trying to avoid unnecessary work.
I also asked one jave expert and he thinks that custom jndi provider won't be simple solution.
is used com.sun.jndi.fscontext.RefFSContextFactory as the intial context. Maybe you know could we also use RefFSContextFactory?
I tried to use RefFSContextFactory however I received error:
[SIEBEL ERROR] Thread[Thread-0,5,main] [6:01:28.403 PM Mon Jan 11: ] Error invoking Receive --
SiebelJMSException errorSubtype=LOOKING_UP_CONNECTION_FACTORY (wrapped exception = javax.naming.NameNotFoundException: RefFSContextFactory)
at com.siebel.eai.jms.SiebelJNDIContext.getObject(SiebelJNDIContext.java:183)
at com.siebel.eai.jms.SiebelJNDIContext.getFactory(SiebelJNDIContext.java:164)
at com.siebel.eai.jms.JMSBusinessService.createConnection(JMSBusinessService.java:1366)
at com.siebel.eai.jms.JMSBusinessService.doInvokeMethodWithExceptions(JMSBusinessService.java:429)
at com.siebel.eai.jms.JMSBusinessService.doInvokeMethod(JMSBusinessService.java:283)
at com.siebel.eai.SiebelBusinessService.invokeMethod(SiebelBusinessService.java:9)
[SIEBEL ERROR] Thread[Thread-0,5,main] [6:01:28.404 PM Mon Jan 11: ] Threw SiebelBusinessServiceException with
ErrorCode = JNDI_ERROR
ErrorMessage = Exception: javax.naming.NameNotFoundException: RefFSContextFactory; Message: RefFSContextFactory
StackTrace = javax.naming.NameNotFoundException: RefFSContextFactory
at com.sun.jndi.fscontext.RefFSContext.getObjectFromBindings(RefFSContext.java:400)
at com.sun.jndi.fscontext.RefFSContext.lookupObject(RefFSContext.java:327)
at com.sun.jndi.fscontext.RefFSContext.lookup(RefFSContext.java:146)
at com.sun.jndi.fscontext.FSContext.lookup(FSContext.java:127)
at javax.naming.InitialContext.lookup(Unknown Source)
at com.siebel.eai.jms.SiebelJNDIContext.getObject(SiebelJNDIContext.java:226)
at com.siebel.eai.jms.SiebelJNDIContext.getObject(SiebelJNDIContext.java:181)
at com.siebel.eai.jms.SiebelJNDIContext.getFactory(SiebelJNDIContext.java:164)
at com.siebel.eai.jms.JMSBusinessService.createConnection(JMSBusinessService.java:1366)
at com.siebel.eai.jms.JMSBusinessService.doInvokeMethodWithExceptions(JMSBusinessService.java:429)
at com.siebel.eai.jms.JMSBusinessService.doInvokeMethod(JMSBusinessService.java:283)
at com.siebel.eai.SiebelBusinessService.invokeMethod(SiebelBusinessService.java:9)
[SIEBEL DETAIL] Thread[Thread-0,5,main] [6:01:28.405 PM Mon Jan 11: ] Cumulative time = 60626