You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by ingorfano <in...@hotmail.com> on 2010/06/01 09:49:53 UTC

Re: SIEBEL JMS Transport business Service and ActiveMQ

Hi aswad sorry for the delay.

have u included the file activemq-all-5.3.1-fuse-00-00.jar in the classpath?
what i did was to copy this library into Siebelsrv\class folder and of
course refence it into the JVM classpath.

this is my classpath:
D:\sia80\siebsrvr\CLASSES;D:\sia80\siebsrvr\CLASSES\Siebel.jar;D:\sia80\siebsrvr\CLASSES\SiebelJI_enu.jar;D:\sia80\siebsrvr\CLASSES\activemq-all-5.3.1-fuse-00-00.jar;.

in the JAVA JVMSubSys

let me know ciao :)


aswad wrote:
> 
> Hi,
> 
> Please find log file :
> 12:30:47.078 AM Sat May 29:
> --------------------------------------------------------------------------
> 12:30:47.078 AM Sat May 29: Invoking method Send
> 12:30:47.078 AM Sat May 29: >ConnectionFactory=connectionFactory
> 12:30:47.078 AM Sat May 29: >ConnectionUsername=system
> 12:30:47.078 AM Sat May 29: >ConnectionPassword=*
> 12:30:47.078 AM Sat May 29: >SendQueue=Q1
> 12:30:47.078 AM Sat May 29: >SendUsername=
> 12:30:47.078 AM Sat May 29: >SendPassword=*
> 12:30:47.078 AM Sat May 29: >ReceiveUsername=
> 12:30:47.078 AM Sat May 29: >ReceivePassword=*
> 12:30:47.078 AM Sat May 29: >TopicUsername=
> 12:30:47.078 AM Sat May 29: >TopicPassword=*
> 12:30:47.078 AM Sat May 29: No cached connection found
> 12:30:47.078 AM Sat May 29: jndi object caching : false
> 12:30:47.078 AM Sat May 29: Send failed.
> 12:30:47.078 AM Sat May 29: Error invoking Send -- 
> 
> SiebelJMSException errorSubtype=LOOKING_UP_CONNECTION_FACTORY (wrapped
> exception = javax.naming.NoInitialContextException: Need to specify class
> name in environment or system property, or as an applet parameter, or in
> an application resource file:  java.naming.factory.initial)
> 	at
> com.siebel.eai.jms.SiebelJNDIContext.getObject(SiebelJNDIContext.java:80)
> 	at
> com.siebel.eai.jms.SiebelJNDIContext.getFactory(SiebelJNDIContext.java:61)
> 	at
> com.siebel.eai.jms.JMSBusinessService.createConnection(JMSBusinessService.java:992)
> 	at
> com.siebel.eai.jms.JMSBusinessService.doInvokeMethodWithExceptions(JMSBusinessService.java:202)
> 	at
> com.siebel.eai.jms.JMSBusinessService.doInvokeMethod(JMSBusinessService.java:102)
> 	at
> com.siebel.eai.SiebelBusinessService.invokeMethod(SiebelBusinessService.java:9)
> 
> 12:30:47.078 AM Sat May 29: Threw SiebelBusinessServiceException with 
> ErrorCode = JNDI_ERROR
> ErrorMessage = Exception: javax.naming.NoInitialContextException: Need to
> specify class name in environment or system property, or as an applet
> parameter, or in an application resource file: 
> java.naming.factory.initial; Message: Need to specify class name in
> environment or system property, or as an applet parameter, or in an
> application resource file:  java.naming.factory.initial
> StackTrace = javax.naming.NoInitialContextException: Need to specify class
> name in environment or system property, or as an applet parameter, or in
> an application resource file:  java.naming.factory.initial
> 	at
> javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:645)
> 	at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288)
> 	at
> javax.naming.InitialContext.getURLOrDefaultInitCtx(InitialContext.java:325)
> 	at javax.naming.InitialContext.lookup(InitialContext.java:392)
> 	at
> com.siebel.eai.jms.SiebelJNDIContext.getObject(SiebelJNDIContext.java:117)
> 	at
> com.siebel.eai.jms.SiebelJNDIContext.getObject(SiebelJNDIContext.java:78)
> 	at
> com.siebel.eai.jms.SiebelJNDIContext.getFactory(SiebelJNDIContext.java:61)
> 	at
> com.siebel.eai.jms.JMSBusinessService.createConnection(JMSBusinessService.java:992)
> 	at
> com.siebel.eai.jms.JMSBusinessService.doInvokeMethodWithExceptions(JMSBusinessService.java:202)
> 	at
> com.siebel.eai.jms.JMSBusinessService.doInvokeMethod(JMSBusinessService.java:102)
> 	at
> com.siebel.eai.SiebelBusinessService.invokeMethod(SiebelBusinessService.java:9)
> 
> 
> Regards,
> Aswad
> 
> aswad wrote:
>> 
>> Hi,
>> 
>> Can you please list down step by step approach and configuration if
>> available for Siebel integration with ActiveMQ.Because now I am
>> struggling with integration of Siebel with ActiveMQ.
>> 
>> As per my understanding following needs to be done :-
>> 
>> 1.We need to configure profile on siebel server for JVMSubSys.
>> 2.Create workflow which uses EAI JMS Transport BS.
>> 3.I am using Hermes JMS GUI for creation of Queues.(This part is
>> successfully completed and tested.)
>> 
>> Your help would be highly appreciated.
>> 
>> I am using Siebel 8.1 and ActiveMQ5.2 on windows server 2008.
>> 
>> Regards,
>> Aswad
>> 
>> 
>> ingorfano wrote:
>>> 
>>> Yes i could  :)))
>>> 
>>> vo
>>> 
>>> aswad wrote:
>>>> 
>>>> Hi,
>>>> 
>>>> Could you solve problem?
>>>> 
>>>> Regards,
>>>> Aswad
>>>> 
>>>> ingorfano wrote:
>>>>> 
>>>>> I forgot to say that for now i just want to send message from siebel
>>>>> to the activemq topic and not receive ;)
>>>>> 
>>>>> any help is higly appreciated
>>>>> 
>>>>> ciao valerio
>>>>> 
>>>>> 
>>>>> ingorfano wrote:
>>>>>> 
>>>>>> Hi folks
>>>>>> 
>>>>>> i m struggiling to integrate Siebel CRM 8.0 with ActiveMq 5.3 using
>>>>>> the Siebel JMS Transport business Service with no success. Can u help
>>>>>> me out?
>>>>>> 
>>>>>> THis is my jndi.properties:
>>>>>> 
>>>>>> java.naming.factory.initial =
>>>>>> org.apache.activemq.jndi.ActiveMQInitialContextFactory
>>>>>> java.naming.provider.url = vm://localhost
>>>>>> connectionFactoryNames = ConnectionFactory, queueConnectionFactory,
>>>>>> topicConnectionFactry
>>>>>> topic.MyTopic = ActiveMQ.Advisory.Topic
>>>>>> 
>>>>>> Topic is an exisitng Topic. I pass on to the siebel JMS Transport bs
>>>>>> the following parameters:
>>>>>> 
>>>>>> <Value>    = XMLPropertySet
>>>>>> Topic       = MyTopic
>>>>>> ConnectionFactory = ConnectionFactory
>>>>>> 
>>>>>> That's all. I don't receive any error but i don't see the message
>>>>>> enqued into "ActiveMQ.Advisory.Topic".
>>>>>> 
>>>>>> Can siebel be integrated with activemq using siebel jms transport bs?
>>>>>> 
>>>>>> 
>>>>> 
>>>>> 
>>>> 
>>>> 
>>> 
>>> 
>> 
>> 
> 
> 

-- 
View this message in context: http://old.nabble.com/SIEBEL-JMS-Transport-business-Service-and-ActiveMQ-tp27804511p28738697.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Re: SIEBEL JMS Transport business Service and ActiveMQ

Posted by aswad <as...@gmail.com>.
Hi,

Where is your jndi.properties file in classpath?
Have you configured receiver as well?

Regards,
Aswad


ingorfano wrote:
> 
> Hi aswad sorry for the delay.
> 
> have u included the file activemq-all-5.3.1-fuse-00-00.jar in the
> classpath? what i did was to copy this library into Siebelsrv\class folder
> and of course refence it into the JVM classpath.
> 
> this is my classpath:
> D:\sia80\siebsrvr\CLASSES;D:\sia80\siebsrvr\CLASSES\Siebel.jar;D:\sia80\siebsrvr\CLASSES\SiebelJI_enu.jar;D:\sia80\siebsrvr\CLASSES\activemq-all-5.3.1-fuse-00-00.jar;.
> 
> in the JAVA JVMSubSys
> 
> let me know ciao :)
> 
> 
> aswad wrote:
>> 
>> Hi,
>> 
>> Please find log file :
>> 12:30:47.078 AM Sat May 29:
>> --------------------------------------------------------------------------
>> 12:30:47.078 AM Sat May 29: Invoking method Send
>> 12:30:47.078 AM Sat May 29: >ConnectionFactory=connectionFactory
>> 12:30:47.078 AM Sat May 29: >ConnectionUsername=system
>> 12:30:47.078 AM Sat May 29: >ConnectionPassword=*
>> 12:30:47.078 AM Sat May 29: >SendQueue=Q1
>> 12:30:47.078 AM Sat May 29: >SendUsername=
>> 12:30:47.078 AM Sat May 29: >SendPassword=*
>> 12:30:47.078 AM Sat May 29: >ReceiveUsername=
>> 12:30:47.078 AM Sat May 29: >ReceivePassword=*
>> 12:30:47.078 AM Sat May 29: >TopicUsername=
>> 12:30:47.078 AM Sat May 29: >TopicPassword=*
>> 12:30:47.078 AM Sat May 29: No cached connection found
>> 12:30:47.078 AM Sat May 29: jndi object caching : false
>> 12:30:47.078 AM Sat May 29: Send failed.
>> 12:30:47.078 AM Sat May 29: Error invoking Send -- 
>> 
>> SiebelJMSException errorSubtype=LOOKING_UP_CONNECTION_FACTORY (wrapped
>> exception = javax.naming.NoInitialContextException: Need to specify class
>> name in environment or system property, or as an applet parameter, or in
>> an application resource file:  java.naming.factory.initial)
>> 	at
>> com.siebel.eai.jms.SiebelJNDIContext.getObject(SiebelJNDIContext.java:80)
>> 	at
>> com.siebel.eai.jms.SiebelJNDIContext.getFactory(SiebelJNDIContext.java:61)
>> 	at
>> com.siebel.eai.jms.JMSBusinessService.createConnection(JMSBusinessService.java:992)
>> 	at
>> com.siebel.eai.jms.JMSBusinessService.doInvokeMethodWithExceptions(JMSBusinessService.java:202)
>> 	at
>> com.siebel.eai.jms.JMSBusinessService.doInvokeMethod(JMSBusinessService.java:102)
>> 	at
>> com.siebel.eai.SiebelBusinessService.invokeMethod(SiebelBusinessService.java:9)
>> 
>> 12:30:47.078 AM Sat May 29: Threw SiebelBusinessServiceException with 
>> ErrorCode = JNDI_ERROR
>> ErrorMessage = Exception: javax.naming.NoInitialContextException: Need to
>> specify class name in environment or system property, or as an applet
>> parameter, or in an application resource file: 
>> java.naming.factory.initial; Message: Need to specify class name in
>> environment or system property, or as an applet parameter, or in an
>> application resource file:  java.naming.factory.initial
>> StackTrace = javax.naming.NoInitialContextException: Need to specify
>> class name in environment or system property, or as an applet parameter,
>> or in an application resource file:  java.naming.factory.initial
>> 	at
>> javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:645)
>> 	at
>> javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288)
>> 	at
>> javax.naming.InitialContext.getURLOrDefaultInitCtx(InitialContext.java:325)
>> 	at javax.naming.InitialContext.lookup(InitialContext.java:392)
>> 	at
>> com.siebel.eai.jms.SiebelJNDIContext.getObject(SiebelJNDIContext.java:117)
>> 	at
>> com.siebel.eai.jms.SiebelJNDIContext.getObject(SiebelJNDIContext.java:78)
>> 	at
>> com.siebel.eai.jms.SiebelJNDIContext.getFactory(SiebelJNDIContext.java:61)
>> 	at
>> com.siebel.eai.jms.JMSBusinessService.createConnection(JMSBusinessService.java:992)
>> 	at
>> com.siebel.eai.jms.JMSBusinessService.doInvokeMethodWithExceptions(JMSBusinessService.java:202)
>> 	at
>> com.siebel.eai.jms.JMSBusinessService.doInvokeMethod(JMSBusinessService.java:102)
>> 	at
>> com.siebel.eai.SiebelBusinessService.invokeMethod(SiebelBusinessService.java:9)
>> 
>> 
>> Regards,
>> Aswad
>> 
>> aswad wrote:
>>> 
>>> Hi,
>>> 
>>> Can you please list down step by step approach and configuration if
>>> available for Siebel integration with ActiveMQ.Because now I am
>>> struggling with integration of Siebel with ActiveMQ.
>>> 
>>> As per my understanding following needs to be done :-
>>> 
>>> 1.We need to configure profile on siebel server for JVMSubSys.
>>> 2.Create workflow which uses EAI JMS Transport BS.
>>> 3.I am using Hermes JMS GUI for creation of Queues.(This part is
>>> successfully completed and tested.)
>>> 
>>> Your help would be highly appreciated.
>>> 
>>> I am using Siebel 8.1 and ActiveMQ5.2 on windows server 2008.
>>> 
>>> Regards,
>>> Aswad
>>> 
>>> 
>>> ingorfano wrote:
>>>> 
>>>> Yes i could  :)))
>>>> 
>>>> vo
>>>> 
>>>> aswad wrote:
>>>>> 
>>>>> Hi,
>>>>> 
>>>>> Could you solve problem?
>>>>> 
>>>>> Regards,
>>>>> Aswad
>>>>> 
>>>>> ingorfano wrote:
>>>>>> 
>>>>>> I forgot to say that for now i just want to send message from siebel
>>>>>> to the activemq topic and not receive ;)
>>>>>> 
>>>>>> any help is higly appreciated
>>>>>> 
>>>>>> ciao valerio
>>>>>> 
>>>>>> 
>>>>>> ingorfano wrote:
>>>>>>> 
>>>>>>> Hi folks
>>>>>>> 
>>>>>>> i m struggiling to integrate Siebel CRM 8.0 with ActiveMq 5.3 using
>>>>>>> the Siebel JMS Transport business Service with no success. Can u
>>>>>>> help me out?
>>>>>>> 
>>>>>>> THis is my jndi.properties:
>>>>>>> 
>>>>>>> java.naming.factory.initial =
>>>>>>> org.apache.activemq.jndi.ActiveMQInitialContextFactory
>>>>>>> java.naming.provider.url = vm://localhost
>>>>>>> connectionFactoryNames = ConnectionFactory, queueConnectionFactory,
>>>>>>> topicConnectionFactry
>>>>>>> topic.MyTopic = ActiveMQ.Advisory.Topic
>>>>>>> 
>>>>>>> Topic is an exisitng Topic. I pass on to the siebel JMS Transport bs
>>>>>>> the following parameters:
>>>>>>> 
>>>>>>> <Value>    = XMLPropertySet
>>>>>>> Topic       = MyTopic
>>>>>>> ConnectionFactory = ConnectionFactory
>>>>>>> 
>>>>>>> That's all. I don't receive any error but i don't see the message
>>>>>>> enqued into "ActiveMQ.Advisory.Topic".
>>>>>>> 
>>>>>>> Can siebel be integrated with activemq using siebel jms transport
>>>>>>> bs?
>>>>>>> 
>>>>>>> 
>>>>>> 
>>>>>> 
>>>>> 
>>>>> 
>>>> 
>>>> 
>>> 
>>> 
>> 
>> 
> 
> 

-- 
View this message in context: http://old.nabble.com/SIEBEL-JMS-Transport-business-Service-and-ActiveMQ-tp27804511p28738746.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.