Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6007541
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T01:41:44+00:00 2026-05-23T01:41:44+00:00

I am getting an exception (an error in the Application Log) when enabling a

  • 0

I am getting an exception (an error in the Application Log) when enabling a receive location as follows:

The Messaging Engine failed to add a receive location “My-Receive-Location” with
URL “jms://TestServer:1099/Queue/testQueue/TestClientId/receive/Text” to the
adapter “JNBridge JMS”. Reason: “The type initializer
for ‘com.jnbridge.jnbcore.ObjectWrapper’ threw an exception.”.

My research into the JNBridge JMS adapter suggests that com.jnbridge.jnbcore.ObjectWrapper often wraps a more informative InnerException.

However, there does not seem to be any way for me to catch this Exception when it is thrown.

My best try so far is to enable the Receive Location in code as follows (from http://msdn.microsoft.com/en-us/library/microsoft.biztalk.explorerom.receivelocation(v=bts.20).aspx):

private static void EnumerateReceiveLocations()
{
    BtsCatalogExplorer root = new BtsCatalogExplorer();
    try
    {
        root.ConnectionString = "Server=.;Initial Catalog=BizTalkMgmtDb;Integrated Security=SSPI;";

        //Enumerate the receive locations in each of the receive ports.
        foreach (ReceivePort receivePort in root.ReceivePorts)
        {
            Console.Out.WriteLine(receivePort.Name);
            //Enumerate the receive locations.
            foreach (ReceiveLocation location in
               receivePort.ReceiveLocations)
            {
                Console.Out.WriteLine(location.Name);
                if (location.Name == "My-Receive-Location")
                {
                    location.Enable = true;
                    root.SaveChanges();
                }
            }
        }
        Console.Read();
    }
    catch (Exception e)//If it fails, roll-back all changes.
    {
        throw e;
    }
}

However, this does not throw any exception during execution, and simply raises that same error in the Windows Application Log.

As such, is there any way for me to get further information about an exception thrown during BizTalk receive location enabling?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T01:41:45+00:00Added an answer on May 23, 2026 at 1:41 am

    How about enabling error logging in the adapter’s transport handlers? You can specify a log file name/location and toggle error logging on and off as needed. The error log will contain all nested inner exceptions where you’ll find the root cause. Check out the Users’ Guide, pg 16 version 2.1. If you are using both send and receive sides of the adapter, configure the error logging in the send and receive transport handlers to point to the same file.

    William

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

in my application I am getting an exception: MyApp(38431,0xa004ffa0) malloc: *** error for object
i'm getting exception on Transformer transformer = tFactory.newTransformer(StreamXSL); but the error below is not
I am getting a Method not found: 'Boolean MyCompany.LibraryAssembly.SomeFunction(System.String)' exception/error when running a VB.NET
I am getting the error Format Exception was unhandled at Do While objectReader.Peek <>
Am getting following error message on calling WCF service: The formatter threw an exception
I keep getting this error message when trying to write to the Event log
I'm getting an exception in Eclipse. I am trying to create web application project
I am getting a fatal error in an application that I have been working
Hi i'm new bee to android. while executing my application I'm getting nullpoint exception
I am getting WatiN.Core.Exceptions.TimeoutException : Timeout while Internet Explorer busy error while executing my

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.