Best Practices from Oracle Development's A‑Team

Oracle Service Bus JMS Deployments Utility

Mike Muller
Cloud Solution Architect

For proxy services utilizing the JMS transport, OSB receives messages from destinations by using an MDB.  These MDBs get generated and deployed during activation of the service configuration.  OSB creates a random, unique name for the J2EE application that gets deployed to WLS.  The name starts with “_ALSB_” and ends in a unique series of digits.  The EAR files are written to the sbgen subdirectory of the domain home directory.  You will see these applications on the WLS console page for “Deployments”.

For various operational reasons, there are times when the application name for a given proxy service needs to be determined.  Since the generated name of the application doesn’t reflect the name of the service, it becomes difficult to determine the relationship between the service and its EAR file.  In fact, it can not be discerned from either the OSB or WLS consoles.

The only way to determine the association between proxy service and EAR is to examine the EAR file contents.  In order to simplify this task, I have created a Java utility application to read the contents of the sbgen directory and extract this data.  The utility will also read the domain configuration file to extract the targeting information for each EAR.

The output of the utility is in CSV format with each line containing the following:

  • The EAR file name

  • The Proxy service reference

  • The name of the JMS destination it reads from

  • The target of the EAR deployment


You can access the utility here: OSBUtils12c

Join the discussion

Comments ( 1 )
  • Paul Baker Tuesday, May 14, 2019
    Just what I was looking for. The text appears to be for 11g and earlier versions. I assume the text applies to both 11g/12c except the ear prefix has changed. Please consider updating the text in the future.

    I see the the utility code has been updated to support both 11g/12c code. Thanks..
Please enter your name.Please provide a valid email address.Please enter a comment.CAPTCHA challenge response provided was incorrect. Please try again.Captcha

Recent Content