File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Oracle/OAS and the fly likes JMX support Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Oracle/OAS
Bookmark "JMX support" Watch "JMX support" New topic
Author

JMX support

Marilyn de Queiroz
Sheriff

Joined: Jul 22, 2000
Posts: 9044
    
  10
I heard that the interface to view JMS queues is better in the newest (10g) OAS but I wonder if JMX is supported in this version.


JavaBeginnersFaq
"Yesterday is history, tomorrow is a mystery, and today is a gift; that's why they call it the present." Eleanor Roosevelt
Pradeep bhatt
Ranch Hand

Joined: Feb 27, 2002
Posts: 8904

Copied from OTN
Oracle is involved in JSR-77, which defines the way a Java 2 Platform, Enterprise Edition (J2EE) application server is managed via JMX. Oracle Application Server will expose a JMX Agent, and Oracle Enterprise Manager will provide a generic MBean browser that will allow customers to manage custom MBeans.

The OC4J 10.0.3 Developer Preview�available on Oracle Technology Network (OTN)�provides an early look at this support. If you install OC4J on your local machine, you can access its JMX console by entering http://localhost:8888/ adminoc4j in your browser


http://www.oracle.com/technology/tech/java/oc4j/1003/how_to/jmx-enabled-demo.html


Groovy
Nicholas Cheung
Ranch Hand

Joined: Nov 07, 2003
Posts: 4982
In fact, are there any real benefits for using JMX for management?

Nick


SCJP 1.2, OCP 9i DBA, SCWCD 1.3, SCJP 1.4 (SAI), SCJD 1.4, SCWCD 1.4 (Beta), ICED (IBM 287, IBM 484, IBM 486), SCMAD 1.0 (Beta), SCBCD 1.3, ICSD (IBM 288), ICDBA (IBM 700, IBM 701), SCDJWS, ICSD (IBM 348), OCP 10g DBA (Beta), SCJP 5.0 (Beta), SCJA 1.0 (Beta), MCP(70-270), SCBCD 5.0 (Beta), SCJP 6.0, SCEA for JEE5 (in progress)
Pradeep bhatt
Ranch Hand

Joined: Feb 27, 2002
Posts: 8904

Nick,
JMX article
www.oracle.com/technology/ oramag/oracle/04-may/o34dev_trends.html

JMX code samples here
http://www.oracle.com/technology/tech/java/oc4j/1003/how_to.html
Nicholas Cheung
Ranch Hand

Joined: Nov 07, 2003
Posts: 4982
Thanks Pradeep.

Nick
Erin Mulder
author
Greenhorn

Joined: Nov 02, 2004
Posts: 5
One of the nice effects of JMX and JSR-77 support is that you can use a variety of third-party tools to configure and monitor application servers.

Check out MC4J for an example:
http://mc4j.sourceforge.net/

Here's a screenshot of MC4J with an OC4J connection open:
http://mc4j.sourceforge.net/ss/ss12_large.png


Co-Author of <a href="http://www.amazon.com/exec/obidos/ASIN/1590592352/ref=jranch-20" target="_blank" rel="nofollow">Oracle Application Server 10g: J2EE Deployment and Administration</a>
Erin Mulder
author
Greenhorn

Joined: Nov 02, 2004
Posts: 5
Just noticed this page specifically about running MC4J with OC4J:

http://mc4j.sourceforge.net/usageOC4J.html

Note: It supports 10.0.3, but not 9.x.
Nicholas Cheung
Ranch Hand

Joined: Nov 07, 2003
Posts: 4982
Erin,


third-party tools to configure and monitor application servers

Why we need the third party to monitor OAS, instead of using its own tools?

Nick
Marilyn de Queiroz
Sheriff

Joined: Jul 22, 2000
Posts: 9044
    
  10
"Oracle is involved in JSR-77, which defines the way a Java 2 Platform, Enterprise Edition (J2EE) application server is managed via JMX. Oracle Application Server will expose a JMX Agent, and Oracle Enterprise Manager will provide a generic MBean browser that will allow customers to manage custom MBeans. "

When will they expose it? in OAS 10g?

"The OC4J 10.0.3 Developer Preview�available on Oracle Technology Network (OTN)�provides an early look at this support. If you install OC4J on your local machine, you can access its JMX console by entering http://localhost:8888/ adminoc4j in your browser"

We are using OC4J 10.0.4 for development. However it is quite different from the OAS we are currently using.
[ November 06, 2004: Message edited by: Marilyn de Queiroz ]
Nicholas Cheung
Ranch Hand

Joined: Nov 07, 2003
Posts: 4982
We are using OC4J 10.0.4 for development. However it is quite different from the OAS we are currently using.

Thus, does the migration/upgrade effort being very large? If so, do you still recommended for upgrading from Oracle9i AS to Oracle10g AS?

Nick
Pradeep bhatt
Ranch Hand

Joined: Feb 27, 2002
Posts: 8904

When will they expose it? in OAS 10g?


I serached the oracle docs and did not find any mention of JMX.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JMX support
 
Similar Threads
Does JMX will be included in Part I ?
NameNotFoundException with topic name not bound message
JMX
How to configure secure JMX console access?
Monitoring connection pool