Hi,
I'm new to neuron ESB and this is my first post.
I created a Topic with MSMQ and created a subscriber and a publisher.
Trying to do some programming around API. I managed to create connections to publisher and subscriber using API and it runs fine when ran on the ESB server machine.
But when I try to run the same clients on my development machine I get a PratyConnectExceptions and the Exceptiong.Message is
"Failed to connect to channel. An error occurred attempting to create the MSMQ Messaging Channel for the Party to communicate with the Topic
Topic: [My Topic]
Party ID:[My Publisher]
MSMQ Queue Server: [ESB Server Name]
MSMQ Queue Path: msmq.formatname:Direct=OS:[ESB Server Name]\private$\[My Publisher]_[My Topic]_req
Exception: There was an error opening the queue. Ensure that MSMQ is installed and running, the queue exists and has proper authorization to be read from. The inner exception may contain additional information."
Digging into inner exceptions, I get error saying
"An error occurred while opening the queue: Unrecognized error -10728242215 (0xc00e0069). The message cannot be sent or received from the queue. Ensure that MSMQ is installed and running. Also ensure that the queue is available to open with the required access mode and authorization."
When running the same code inside the server machine doesn't throw this error.
The firewalls on both machines (Server and Dev) are off.
ESB version 3.5.2.28
Any help will be appreciated.
Cheers,
Gihan.
Tags:
the relevant error code is 0xc00e0069. This is telling us that the remote machine is not available. First, check to ensure that the msmq service is installed and running on the box that you are running Neuron on, as well as the box you are running the Party API on.
After that, look at the machine name located in the machine tab of the active deployment group on the Neuron Server, within the Neuron Explorer. Make sure that the machine name is the actual machine name and NOT "localhost". When you connect to the server using the party api remotely, it gets the neuron esb machine name through that configuration. Also make sure that the MSMQ server is checked for the machine name.
Lastly, go to the topic, and set Transactions to false. This way you can eliminate MSDTC issues. Remote transactions using MSMQ requires the MSDTC...which also means that needs to be configured on both machines to allow remote transactions. you can find plenty of literature on the web in regards to configuring it to allow remote transactions.
once you do all that...test the connection using the Party API
Hi Marty,
Thanks for your reply. I tried your path.
Made sure Message Queuing is installed and running on the client machine.
Changed the machine name to IP address of the actual machine.
Set Transactional to False under Networking tab on Topic.
Applied and Saved changes.
Still getting the same error but with different number this time.
"An error occurred while opening the queue: Unrecognized error -1072824290 (0xc00e001e). The message cannot be sent or received from the queue. Ensure that MSMQ is installed and running. Also ensure that the queue is available to open with the required access mode and authorization."
That means it is a different error? and how do I resolve this?
Cheers,
Gihan
don't use an IP address. use the actual machine name.
Also, I'm assuming both the neuron/msmq box and the remote box that you're using the API on are all members of the same domain. Is that true?
I managed to resolve this today using the machine name. Yes the domains are different, so I had to use fully qualified name and also modify the host file on the Dev box to map the IP address as my DNS couldn't resolve the name.
Thanks for your help.
Cheers,
Gihan.
by the way, who are you doing the Neuron ESB work for?
Neuron ESB Product Support Forums and Communities
© 2024 Created by Neuron Admin. Powered by