开发者

Why are my WebLogic clustered MDB app deployments in warning state?

开发者 https://www.devze.com 2022-12-28 17:57 出处:网络
I have a WebLogic cluster on which I\'ve deployed numerous topics and applications that use them. My applications uniformly show themselves in a Warning status. Looking at Monitoring on the deployment

I have a WebLogic cluster on which I've deployed numerous topics and applications that use them. My applications uniformly show themselves in a Warning status. Looking at Monitoring on the deployment, I see the MDB application connects to Server #1, but on server 开发者_如何学JAVA#2 it shows this:

MDB application appName is NOT connected to messaging system.

My JMS Server is targetted to a migratable target, which is in turn targetted to the #1 server and has a cluster identified. And messages sent to either server all flow as expected. I just don't know why these deployments show in a Warning state.

WebLogic 11g


This can be avoided by using the parameter below

<start-mdbs-with-application>false</start-mdbs-with-application>

In the weblogic-application.xml, Setting start-mdbs-with-application to false forces MDBs to defer starting until after the server instance opens its listen port, near the end of the server boot up process.

If you want to perform startup tasks after JMS and JDBC services are available, but before applications and modules have been activated, you can select the Run Before Application Deployments option in the Administration Console (or set the StartupClassMBean’s LoadBeforeAppActivation attribute to “true”).

If you want to perform startup tasks before JMS and JDBC services are available, you can select the Run Before Application Activations option in the Administration Console (or set the StartupClassMBean’s LoadBeforeAppDeployments attribute to “true”).

Refer :http://docs.oracle.com/cd/E13222_01/wls/docs81/ejb/message_beans.html this is applicable for the versions till 12c and later


I don't like unanswered questions, so I'm going to answer this one.

The problem is resolved, though I was not involved in its resolution. At present the problem only exists for the length of time it takes the JMS subsystem to fully initialize. During that period (with many queues, it can take a while) the JNDI system throws errors and the apps are truly in warning state. Once the JMS is fully initialized, everything goes green.

My belief is that someone corrected something in the JMS Server / Cluster config. I'll never know what it was.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号