You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by "jleroux@apache.org" <jl...@apache.org> on 2015/07/07 12:44:44 UTC

Re: Comment: Apache OFBiz new blog

Hi Amit,

Please don't use the blog to ask your questions in comments but rather use the user ML see http://ofbiz.apache.org/mailing-lists.html

Thanks

Jacques

Le 07/07/2015 12:32, private@ofbiz.apache.org a écrit :
> This comment failed validation for these reasons:
>
> Comment has more than 1000 characters
>
>
>
> Amit Sahani (asahani@professionalaccess.com) wrote:
>
> I have made following changes to my config files in the OfBiz code to configure Queue listeners. I have also mapped the jar containing the ActiveMQInitialContextFactory class,
> But still after many tries to build and host the application the server doesn’t starts.
>
> It keeps giving me that : Cannot instantiate class: org.apache.activemq.jndi.ActiveMQInitialContextFactory
>
>
> Jndi.properties
>
> java.naming.factory.initial=org.apache.activemq.jndi.ActiveMQInitialContextFactory
> java.naming.provider.url=tcp://127.0.0.1:61616
> # register some queues in JNDI using the form
> # queue.[jndiName] = [physicalName]
> queue.ofbizServiceInbound = ofbizServiceInbound
> queue.ofbizServiceOutbound = ofbizServiceOutbound
>
>
> services.xml   - in order
>
> &lt;service name=&quot;updateOrderPaymentPreference&quot; engine=&quot;jms&quot;  auth=&quot;true&quot; default-entity-name=&quot;OrderPaymentPreference&quot;
>              location=&quot;outputChannel&quot; invoke=&quot;updateOrderPaymentPreference&quot; export=&quot;true&quot;&gt;
>          &lt;auto-attributes mode=&quot;INOUT&quot; include=&quot;pk&quot; optional=&quot;false&quot;/&gt;
>          &lt;auto-attributes mode=&quot;IN&quot; include=&quot;nonpk&quot; optional=&quot;true&quot;/&gt;
>          &lt;attribute name=&quot;checkOutPaymentId&quot; type=&quot;String&quot; mode=&quot;IN&quot; optional=&quot;true&quot;/&gt;
>      &lt;/service&gt;
>
>
> Serviceengine.xml
>
> &lt;jms-service name=&quot;outputChannel&quot; send-mode=&quot;all&quot;&gt;
>     &lt;server jndi-server-name=&quot;default&quot; jndi-name=&quot;ConnectionFactory&quot;
>             topic-queue=&quot;ofbizServiceOutbound&quot; type=&quot;queue&quot;
>             username=&quot;admin&quot; password=&quot;admin&quot; listen=&quot;false&quot;/&gt;
> &lt;/jms-service&gt;
>
>
>
> ----
> Respond to this comment at:
> https://blogs.apache.org/ofbiz/entry/apache_ofbiz_new_blog1#comments
>
> ----
> Link to comment management page:
> https://blogs.apache.org/roller-ui/authoring/comments.rol?bean.entryId=5c665990-773c-41dc-ae39-10d59d851e8a&weblog=ofbiz
>
>


Re: Comment: Apache OFBiz new blog

Posted by Ron Wheeler <rw...@artifact-software.com>.
If you prefer a blog environment, you could start a discussion on the 
linkedIn groups
  https://www.linkedin.com/grp/home?gid=165695 or 
https://www.linkedin.com/grp/home?gid=1233197
but these are more frequently used for marketing than technical questions.

For technical questions, the mailing list is going to get you better 
answers, faster.

Ron

On 07/07/2015 6:44 AM, jleroux@apache.org wrote:
> Hi Amit,
>
> Please don't use the blog to ask your questions in comments but rather 
> use the user ML see http://ofbiz.apache.org/mailing-lists.html
>
> Thanks
>
> Jacques
>
> Le 07/07/2015 12:32, private@ofbiz.apache.org a écrit :
>> This comment failed validation for these reasons:
>>
>> Comment has more than 1000 characters
>>
>>
>>
>> Amit Sahani (asahani@professionalaccess.com) wrote:
>>
>> I have made following changes to my config files in the OfBiz code to 
>> configure Queue listeners. I have also mapped the jar containing the 
>> ActiveMQInitialContextFactory class,
>> But still after many tries to build and host the application the 
>> server doesn’t starts.
>>
>> It keeps giving me that : Cannot instantiate class: 
>> org.apache.activemq.jndi.ActiveMQInitialContextFactory
>>
>>
>> Jndi.properties
>>
>> java.naming.factory.initial=org.apache.activemq.jndi.ActiveMQInitialContextFactory 
>>
>> java.naming.provider.url=tcp://127.0.0.1:61616
>> # register some queues in JNDI using the form
>> # queue.[jndiName] = [physicalName]
>> queue.ofbizServiceInbound = ofbizServiceInbound
>> queue.ofbizServiceOutbound = ofbizServiceOutbound
>>
>>
>> services.xml   - in order
>>
>> &lt;service name=&quot;updateOrderPaymentPreference&quot; 
>> engine=&quot;jms&quot;  auth=&quot;true&quot; 
>> default-entity-name=&quot;OrderPaymentPreference&quot;
>>              location=&quot;outputChannel&quot; 
>> invoke=&quot;updateOrderPaymentPreference&quot; 
>> export=&quot;true&quot;&gt;
>>          &lt;auto-attributes mode=&quot;INOUT&quot; 
>> include=&quot;pk&quot; optional=&quot;false&quot;/&gt;
>>          &lt;auto-attributes mode=&quot;IN&quot; 
>> include=&quot;nonpk&quot; optional=&quot;true&quot;/&gt;
>>          &lt;attribute name=&quot;checkOutPaymentId&quot; 
>> type=&quot;String&quot; mode=&quot;IN&quot; 
>> optional=&quot;true&quot;/&gt;
>>      &lt;/service&gt;
>>
>>
>> Serviceengine.xml
>>
>> &lt;jms-service name=&quot;outputChannel&quot; 
>> send-mode=&quot;all&quot;&gt;
>>     &lt;server jndi-server-name=&quot;default&quot; 
>> jndi-name=&quot;ConnectionFactory&quot;
>>             topic-queue=&quot;ofbizServiceOutbound&quot; 
>> type=&quot;queue&quot;
>>             username=&quot;admin&quot; password=&quot;admin&quot; 
>> listen=&quot;false&quot;/&gt;
>> &lt;/jms-service&gt;
>>
>>
>>
>> ----
>> Respond to this comment at:
>> https://blogs.apache.org/ofbiz/entry/apache_ofbiz_new_blog1#comments
>>
>> ----
>> Link to comment management page:
>> https://blogs.apache.org/roller-ui/authoring/comments.rol?bean.entryId=5c665990-773c-41dc-ae39-10d59d851e8a&weblog=ofbiz 
>>
>>
>>
>
>


-- 
Ron Wheeler
President
Artifact Software Inc
email: rwheeler@artifact-software.com
skype: ronaldmwheeler
phone: 866-970-2435, ext 102