You are not logged in or you do not have permission to access this page. This could be due to one of several reasons:
1.You are not logged in. Fill in the form at the bottom of this page and try again.
2.You may not have sufficient privileges to access this page. Are you trying to edit someone else's post, access administrative features or some other privileged system?
3.If you are trying to post, the administrator may have disabled your account, or it may be awaiting activation.
Welcome, Guest

[BRN.118.1022] Broker Storage Read Error: Unable to load context WmJmsNamingContext from: Broker::JmsNaming::WmJmsNamingContext.
(1 viewing) (1) Guest




















































  • Page:
  • 1

TOPIC: [BRN.118.1022] Broker Storage Read Error: Unable to load context WmJmsNamingContext from: Broker::JmsNaming::WmJmsNamingContext.

08-22-2012 18:18 #1

  • OFFLINE
    Senior Boarder
  • Join Date: 21-08-2012
    Posts: 49
    Points: 311
Hi,

I am getting the below exception while trying to create a JMS Connection at IS Admin -> Settings > Messaging > JMS Settings, could any one show some steps to resolve it ?

[BRN.118.1022] Broker Storage Read Error: Unable to load context WmJmsNamingContext from: Broker::JmsNaming::WmJmsNamingContext. Broker Exception: Could not create client. Client group 'WmJmsNamingReader' was not found on the Broker.

Thanks

08-23-2012 15:22 #2

  • OFFLINE
    Senior Boarder
  • Join Date: 20-12-2011
    Posts: 68
    Points: 437
Even i am getting the same at Portal

Broker Storage Read Error: Unable to load context WmJmsNamingContext from: Broker::JmsNaming::WmJmsNamingContext.

Portal error - Unable to start service. [BRN.118.1022]

2012-08-21 18:39:34 CET (messaging : FATAL) - JMSProvider.onStartup() : Unable to start service. [BRN.118.1022] Broker Storage Read Error: Unable to load context WmJmsNamingContext from: Broker::JmsNaming::WmJmsNamingContext. Broker Exception: The host '<hostname>' was found, but no Broker Server is running on port <port> of that host.; class com.webmethods.rtl.msg.jms.broker.BrokerProvider, role master=true
javax.naming.CommunicationException: [BRN.118.1022] Broker Storage Read Error: Unable to load context WmJmsNamingContext from: Broker::JmsNaming::WmJmsNamingContext. Broker Exception: The host '<hostname>' was found, but no Broker Server is running on port <port> of that host. [Root exception is Broker Not Running (101-1020): The host '<hostname>' was found, but no Broker Server is running on port <port> of that host.
]
at com.webmethods.jms.naming.BrokerContextStore.loadBindings(BrokerContextStore.java:310)
at com.webmethods.jms.naming.WmJmsNamingContext.<init>(WmJmsNamingContext.java:81)
at com.webmethods.jms.naming.WmJmsNamingCtxFactory.getInitialContext(WmJmsNamingCtxFactory.java:34)
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:662)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:243)
at javax.naming.InitialContext.init(InitialContext.java:219)

Caused by: Broker Not Running (101-1020): The host '<hostname>' was found, but no Broker Server is running on port <port> of that host.
at COM.activesw.api.client.BrokerConnection.init(BrokerConnection.java:469)
at COM.activesw.api.client.BrokerConnection.getConnection(BrokerConnection.java:737)
at COM.activesw.api.client.BrokerClient.initClient(BrokerClient.java:9510)
at COM.activesw.api.client.BrokerClient.<init>(BrokerClient.java:505)
at com.webmethods.jms.naming.BrokerConnection.connectToBroker(BrokerConnection.java:110)
at com.webmethods.jms.naming.BrokerContextStore.loadBindings(BrokerContextStore.java:111)

2012-08-21 18:40:05 CET (eventService : WARN) - Error obtaining service for JMS topic com.webmethods.nis.events, exception :[POP.011.0044] Error obtaining JMS topic for name: "com.webmethods.nis.events"
com.webmethods.portal.system.PortalRuntimeException: [POP.011.0044] Error obtaining JMS topic for name: "com.webmethods.nis.events"
at com.webmethods.rtl.msg.jms.JMSTopic.<init>(JMSTopic.java:116)
at com.webmethods.rtl.msg.jms.JMSTopic.<init>(JMSTopic.java:94)
at com.webmethods.rtl.event.RemoteDeliverer.initJMS(RemoteDeliverer.java:129)

2012-08-21 18:40:06 CET (eventService : WARN) - Error obtaining service for JMS queue com.webmethods.nis.heartbeat.event.queue, exception :[POP.011.0053] Error obtaining JMS queue for name: "com.webmethods.nis.heartbeat.event.queue"
com.webmethods.portal.system.PortalRuntimeException: [POP.011.0053] Error obtaining JMS queue for name: "com.webmethods.nis.heartbeat.event.queue"
at com.webmethods.rtl.msg.jms.JMSQueue.<init>(JMSQueue.java:75)
at com.webmethods.rtl.event.QueueDeliverer$EventQueue.initJMS(QueueDeliverer.java:252)
at com.webmethods.rtl.event.QueueDeliverer$EventQueue.start(QueueDeliverer.java:209)
at com.webmethods.rtl.event.QueueDeliverer.start(QueueDeliverer.java:46)
at com.webmethods.rtl.event.DeliveryService.startRemoteDelivery(DeliveryS


Any replies or suggestions highly appreciated.

Thanks

08-23-2012 18:25 #3

  • OFFLINE
    Expert Boarder
  • Join Date: 20-12-2011
    Posts: 93
    Points: 906
Ensure brokerServer is up and running in its port (for e.g., 6159)
Ensure BrokerServer is configured properly in IntegrationServer
Navigate to file path mentioned below and follow below steps:

STOP THE PORTAL(MWS) SERVER

Please take a backup of the below file before editing brokerJMS.xml

<WM_HOME>/Portal/server/default/config/server.xml
<WM_HOME>/Portal/server/default

Edit brokerJMS.xml

Search for the following tag section:

<config>
<JNDI comment="RMI - provided by internal registry service">
<property name="java.naming.factory.initial" value="com.webmethods.jms.naming.WmJmsNamingCtxFactory" />
<property name="java.naming.provider.url" value="wmjmsnaming://<BrokerName>@<hostname>:<port>" />
</JNDI>

Check for BrokerName, hostname and port details
Verify and edit correct details
Save the file
Edit server.xml

Search the following tag section

<WizardPage pageNumber="4" class="com.webmethods.portal.tools.configurator.basic.BrokerJMSInfoWizardPage" >
<PerformServerInitialization type='boolean'>false</PerformServerInitialization>
<JMS_BROKER_NAME type='java.lang.String'>BrokerName</JMS_BROKER_NAME>
<JMS_HOST type='java.lang.String'>hostname</JMS_HOST>
<JMS_PORT type='int'>port</JMS_PORT>
</WizardPage>

Check for BrokerName, hostname and port details
Verify and edit correct details
Save the file

Restart the Portal Server

Check for the Portal logs progress. You should not get any errors related to Broker Connection with MWS.
Navigate to Messaging in MWSConsole
Check and confirm your brokerServer is connected and configured properly.

Hope this helps

08-24-2012 15:23 #4

  • OFFLINE
    Senior Boarder
  • Join Date: 14-12-2011
    Posts: 64
    Points: 700
Even i have a queue on a broker in another machine, while putting in the fields? I got this:

Initial Factory JNDI Context: com.sun.jndi.fscontext.RefFSContextFactory

JNDI Provider URL: file: /opt/softwareag/wm80_01/IntegrationServer/lib/jars/

QueueConnectionFactory JNDI Name:? what the name or where do I get it or referred to

or that is what I put on the field.

if I use:

Initial Factory JNDI Context: com.webmethods.jms.naming.WmJmsNamingCtxFactory

JNDI Provider URL:
wmjmsnaming: / / Broker # 1 @ remotehost: 6849

I get the following error message:

Can not connect to the JNDI Provider: "wmjmsnaming: / / Broker # 1 @ remotehost: 6849".

Broker Storage Read Error: Unable to load context WmJmsNamingContext from: Broker:: JmsNaming: WmJmsNamingContext. Broker Exception: Could not create client. Client group 'WmJmsNamingReader' was not found on the Broker.

Same exception as you people were getting, any links to this issue or information or suggestion highly appreciated.

01-24-2015 16:04 #5

  • OFFLINE
    Fresh Boarder
  • Join Date: 13-01-2015
    Posts: 3
    Points: 112
I get this error:

Error: Cannot communicate with the JNDI provider. [BRN.118.1022] Broker Storage Read Error: Unable to load context WmJmsNamingContext from: Broker::JmsNaming::WmJmsNamingContext. Broker Exception: Basic Authentication failed for user: Administrator

appreciate your help
  • Page:
  • 1