Reputation: 21
I am new to web-logic server and I have created a coherence server in web-logic. I connected to that server with JMX port but I am not getting any m-beans. Can any body explain how to configure coherence server in web-logic and also give me sample application that uses coherence.
Upvotes: 1
Views: 775
Reputation: 6317
The answer depends on what version of WebLogic server you are using. I would STRONGLY recommend using WebLogic 12.1.2 because it has integrated Coherence applications support. If you want an overview of the Managed Coherence Servers (aka Coherence Container) feature in WebLogic, there is a also a youtube video.
If you install WebLogic 12.1.2 with examples, they contain a Coherence example with full WebLogic configuration. Tim Middleton has an excellent blog post that walks you through the example.
Finally, the Coherence MBeans by default will be registered with the domain runtime MBean server, so you will see them on the Admin server. There are also new WebLogic configuration MBeans for configuring Managed Coherence Servers.
Upvotes: 1
Reputation: 4963
Try connecting to the admin server, not the coherence server. It becomes a little clearer when you use WLST to query MBeans, but most of the JMX data you want will be served from the admin server.
This is a sample Coherence application that runs on Glassfish. Oracle have made it quite easy to port Glassfish webapps over to Weblogic, but if you really want to learn how coherence works, I would suggest you take a look at the code and try to write your own application from scratch, using it as an example.
Upvotes: 0