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
>
> <service name="updateOrderPaymentPreference" engine="jms" auth="true" default-entity-name="OrderPaymentPreference"
> location="outputChannel" invoke="updateOrderPaymentPreference" export="true">
> <auto-attributes mode="INOUT" include="pk" optional="false"/>
> <auto-attributes mode="IN" include="nonpk" optional="true"/>
> <attribute name="checkOutPaymentId" type="String" mode="IN" optional="true"/>
> </service>
>
>
> Serviceengine.xml
>
> <jms-service name="outputChannel" send-mode="all">
> <server jndi-server-name="default" jndi-name="ConnectionFactory"
> topic-queue="ofbizServiceOutbound" type="queue"
> username="admin" password="admin" listen="false"/>
> </jms-service>
>
>
>
> ----
> 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
>>
>> <service name="updateOrderPaymentPreference"
>> engine="jms" auth="true"
>> default-entity-name="OrderPaymentPreference"
>> location="outputChannel"
>> invoke="updateOrderPaymentPreference"
>> export="true">
>> <auto-attributes mode="INOUT"
>> include="pk" optional="false"/>
>> <auto-attributes mode="IN"
>> include="nonpk" optional="true"/>
>> <attribute name="checkOutPaymentId"
>> type="String" mode="IN"
>> optional="true"/>
>> </service>
>>
>>
>> Serviceengine.xml
>>
>> <jms-service name="outputChannel"
>> send-mode="all">
>> <server jndi-server-name="default"
>> jndi-name="ConnectionFactory"
>> topic-queue="ofbizServiceOutbound"
>> type="queue"
>> username="admin" password="admin"
>> listen="false"/>
>> </jms-service>
>>
>>
>>
>> ----
>> 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