Neuron ESB User Network

The Service Bus for the Connected Business

Hi,

We are in process of migrating to Neuron 3.5, however we encountered issues with MSMQ endpoints.

It seems that all Publishing MSMQ endpoints have the same problem; they throw NullReferenceException when trying to read. I managed to isolate the problem with very simple configuration (attached). We tested it on a few of our development/test machines, all with same (error) result. Any ideas what may be wrong? Maybe we are missing some dependency installed on our machines?

Let me know should I provide more details.
Thanks,
Michał

Below is the endpoint log:

2015-11-24 12:56:43.325+01:00 [6] ALWAYS - ESB Trace Log - Machine: - Trace level: Error+Warning+Info+Verbose
2015-11-24 12:56:43.325+01:00 [6] INFO - Starting
2015-11-24 12:56:43.325+01:00 [6] INFO - Service Id = 4c27b038-fc59-4a96-a47e-d22c570b3332
2015-11-24 12:56:43.326+01:00 [6] INFO - Created proxy to control service
2015-11-24 12:56:43.326+01:00 [6] INFO - Retrieved configuration from control service
2015-11-24 12:56:43.330+01:00 [6] INFO - Starting heartbeat thread
2015-11-24 12:56:43.347+01:00 [Heartbeat] INFO - Heartbeat thread is waiting for initialization to complete
2015-11-24 12:56:43.347+01:00 [Heartbeat] INFO - Heartbeat thread is active
2015-11-24 12:56:43.372+01:00 [Heartbeat] INFO - Heatbeat: Creating master control service proxy for 'Endpoint1'
2015-11-24 12:56:43.385+01:00 [6] INFO - Adapter policy: Default
2015-11-24 12:56:43.392+01:00 [6] INFO - Setting up adapter endpoint Endpoint1
2015-11-24 12:56:43.392+01:00 [6] DEBUG - Running under service identity
2015-11-24 12:56:43.392+01:00 [6] INFO - Loading adapter msmq
2015-11-24 12:56:43.409+01:00 [6] INFO - Configuring adapter, mode=Publish
2015-11-24 12:56:43.433+01:00 [6] INFO - Property VerifyConnect = False
2015-11-24 12:56:43.433+01:00 [6] INFO - Property QueuePath = .\Private$\Test
2015-11-24 12:56:43.433+01:00 [6] INFO - Property Transactional = True
2015-11-24 12:56:43.433+01:00 [6] INFO - Property UseActiveXMessageFormatter = False
2015-11-24 12:56:43.433+01:00 [6] INFO - Property Recoverable = False
2015-11-24 12:56:43.433+01:00 [6] INFO - Property StreamMsgBody = True
2015-11-24 12:56:43.433+01:00 [6] INFO - Property ESBTopic = Topic1
2015-11-24 12:56:43.433+01:00 [6] INFO - Property LabelToTopic = False
2015-11-24 12:56:43.433+01:00 [6] INFO - Property IdToMessageId = False
2015-11-24 12:56:43.437+01:00 [6] INFO - Connecting party Publisher1
2015-11-24 12:56:45.278+01:00 [6] INFO - Connecting to adapter
2015-11-24 12:56:45.297+01:00 [17] ERROR - An exception occurred processing the message. Object reference not set to an instance of an object.
System.NullReferenceException: Object reference not set to an instance of an object.
at Neuron.Esb.Adapters.MsmqAdapter.transactionalRead(Boolean logMessageQueueException, TimeSpan ts)
at Neuron.Esb.Adapters.MsmqAdapter.ReceiveThreadRoutine()
2015-11-24 12:56:45.304+01:00 [17] ERROR - An exception occurred processing the message. Object reference not set to an instance of an object.
System.NullReferenceException: Object reference not set to an instance of an object.
at Neuron.Esb.Adapters.MsmqAdapter.transactionalRead(Boolean logMessageQueueException, TimeSpan ts)
at Neuron.Esb.Adapters.MsmqAdapter.ReceiveThreadRoutine()
2015-11-24 12:56:45.305+01:00 [17] ERROR - An exception occurred processing the message. Object reference not set to an instance of an object.
System.NullReferenceException: Object reference not set to an instance of an object.
at Neuron.Esb.Adapters.MsmqAdapter.transactionalRead(Boolean logMessageQueueException, TimeSpan ts)
at Neuron.Esb.Adapters.MsmqAdapter.ReceiveThreadRoutine()
2015-11-24 12:56:45.305+01:00 [17] ERROR - .....

Views: 335

Attachments:

Reply to This

Replies to This Discussion

can you send us all the Neuron ESB logs.  just zip and attach. 

Also, can you turn off transactions on the adapter and see if that works.  Also, provide information on your environment, i.e. what OS are you running, 64bit/32bit, etc..

Thanks

Hi,
It's the same (similar issue) issue with non transactional setting. The OSes are Windows 7 x64/Windows Server 2008R2 x64. Neuron is the latest one 3.5.3_382 (but we had same issues with slightly older 3.5.3+build.331.2703_x64). I'll send you logs in private message as I cannot attach it here.
Thanks,
Michał

you also send these to Neuron support.  just email neuronsupport@neudesic.com.  That will auto generate a support ticket

I'm assuming here that the MSMQ service is installed on all the operating systems 

For some reason I cannot edit my posts, so here are the links to log files:
http://s000.tinyupload.com/index.php?file_id=27319924486749947814 - transactional
http://s000.tinyupload.com/index.php?file_id=36605520208860928556 - non transactional
M
Yes, MSMQ is there, and works ok as a transport, just the publishing adapter is an issue.
M

ok...send the logs as an attachment to the email you send our support alias

RSS

Neuron ESB Product Support Forums and Communities

Latest Activity

Anupama Nair posted a discussion

Marketo Adapter Invalid Token

Hi,We are using the Marketo adapter to push account updates to Marketo. It works well for some time then starts failing with Invalid Token unless restarted. Is there a configuration that can be done so it can auto refresh the token when required?Thanks!See More
Nov 6, 2023
Sayantini Basak posted a discussion

Maximum payload size(REST API) for requests interfacing to NeuronESB

I am new to Neuron ESB and in our current scenario,We need to process batch transactions comprising of ~1000 records and send them to Neuron ESB for further processing. I would like to understand what is the maximum size of payload that can be transferred using REST interface to Neuron ESB.See More
Jul 22, 2022
Profile IconRobert E Dunie and Sayantini Basak joined Neuron ESB User Network
Apr 28, 2022
Profile IconDayanand, Frederic C, Steffen Greve-Oksfeldt and 1 more joined Neuron ESB User Network
Mar 16, 2022
Profile IconCam Vong and Mitja Luznar joined Neuron ESB User Network
Jan 27, 2022
Profile IconWill Hitzges, Chad Parsons, michael larsen and 4 more joined Neuron ESB User Network
Jun 11, 2021
Anupama Nair posted a discussion

ODBC stored proc polling with temporary tables

We have set up an ODBC adapter to poll a stored proc.We found that if the stored proc has a temporary table defined the rows returned are always 0.Any idea why this would be and what we can do to get around it?See More
Dec 14, 2020
Prasanth Kharade is now a member of Neuron ESB User Network
Dec 30, 2019

Badge

Loading…

© 2024   Created by Neuron Admin.   Powered by

Badges  |  Report an Issue  |  Terms of Service