WebLogic Server 9.2/10 Remote MBean Access with Java

Hi -
I wrote a monitoring client for WebLogic 8.1 and it was easy to navigate through the MBeans by using the typed classes like "ClusterRunTimeMBean". I would like to update this code to work with WebLogic 10. After reading the docs online I am still confused as to how (if) I can create an instance of the actual ClusterRuntimeMBean or if I have to use the JMX MBeanServerConnection.getAttribute() and MBeanServerConnection.invoke() to get access to the things I want.
Is it possible to work with the MBeans in WebLogic 10 with instances of the MBean classes? If so, can someone please provide me an example of how to do it?
Thanks,
Jeff

Hi..
Checkout domain health http://sourceforge.net/projects/domainhealth
Since it's open source then you can get a lot of pointers..

Similar Messages

  • Remote VPN access with Windows 7, 64 bit

    Hey there,
    What do you guys suggest for Remote VPN access with Windows 7, 64 bit?

    Hi,
    You can configure a Remote access VPN with a  windows 7, 64 bit client. You wieall hav to download a IPsec VPN client  specially for a 64-bit machine. It should not give you much trouble.
    The  client is vpnclient-winx64-msi-5.0.07.0290-k9.exe. it is available on  cisco.com site.
    hope this helps.
    Regards,
    Anisha
    P.S.:  please mark this thread as resolved if you feel your query is resolved.  Do rate helpful posts.

  • Remote File accessing from java WebNFS

    Hi
    I am using java WebNFS package provided by sun to access the remote file system from java class. A class called com.sun.xfile.XFile does this functionality and it is almost similar to java.io.File. My issue is I am trying to lookup a Windows NT File Server through the XFile constructor and list out all the files in a particular directory. When I run the sample class from a Windows Machine it is working fine. But when I run the same class from a Linux machine, the XFile class couldnt resolve the path. Do those Linux server and the Windows NT File server should have been mounted ? Suggestions are welcome. Thx in advance.

    viswa07 wrote:
    Ya Darryl.Thanks for ur reply.Tell me now how to do that action..????What Darryl is pointing out is that no one is going to reply to you because you have a history of not replying to questions - think about it - if someone asked you a question and you asked them a question to help you understand what they were asking and they walked away, and then did that again - would you keep trying to help?

  • Remote Desktop Access with Mac and Asus Transformer Prime

    I have an E2000 router with the most current firmware. I have a Sony VAio laptop with Windows 7 Home Premium 64bit,a Macbook with 10.6.8, and a new Asus Transformer Prime with ICS.My work desktop is a Dell Optiplex 380 with Windows 7 Pro 32bit. I frequently work from home and have no issues remoting into to my work PC from by Sony laptop via VPN and RDP.However I have never been able to connect successfully to my work PC with my Macbook(using Remote Desktop Connection 2.1 for Mac OS) or Asus tablet(using WYSE Pocket Cloud RDP app for Android). I can however connect to the VPN itself on the Macbook and tablet without issue same as my Windows laptop. The other interesting part is I can connect via RDP when I am connected to a Mi-Fi 3g hotspot. So it is definitely something in the my Linksys E2000 blocking the connection for some reason. I have even set Port forwarding of 3389 with the ip's of both the Macbook and Asus tablet.I have also tried connecting via ethernet to the router with the same outcome. I cannot ping my work pc from either device as well.In addition the firewall on my work PC is completely disabled and all services related to Remote desktop access are enabled and running.Does anyone have any ideas?

    For my tablet its own ip assigned by the router. Same with the macbook.the Pocketcloud RDP app also uses 3389.I have port 3389 set for both internal and external port and protocol "both" under the Single Port Forwarding tab in the router config.

  • WebLogic Server 12c (12.1.1) start fail with null keystore name

    Hi, I just installed WebLogic server following the instruction at http://docs.oracle.com/cd/E22289_01/html/821-1274/installing-app-dev.html#scrolltoc but when I try to start it, I got "opening of file based keystore failed". I turn on debug with startWebLogic.sh -Djava.security.debug=jpspolicy and found the error "null keystore name".
    Can anybody tell me how to fix that?
    Thanks very much in advance
    Albert

    Hi,
    This community is to discuss Oracle Application Server specific issues, you can post this query in Oracle Weblogic for better response :-
    WebLogic Server - Management / Console / WLST / Configuration
    Regards,
    Prakash.

  • Connet to db2 failed with weblogic 5.1 under AIX 4.3.3 with Java 1.2.2  (java.lang.NullPointerException)

    Hi *, when I start the weblogic-server (on AIX 4.3.3) I observe the following entrie
    during the connect to a db2-database! I can connect the db2-database as user fmu
    and as user weblogic (with 'db2 connect to oe2000' from the command line)! Anyone
    an idea, where is the failure?
    Best regards,
    Frank
    Here is the log:
    Thu Nov 30 13:35:59 CET 2000:<I> <JDBC Pool> Creating connection pool igspool wi
    th:
    {poolName=igspool, maxCapacity=200, props=user=fmu;password=adrenalin, driver=CO
    M.ibm.db2.jdbc.app.DB2Driver, aclName=weblogic.jdbc.connectionPool.igspool, capa
    cityIncrement=1, initialCapacity=100, url=jdbc:db2:OE2000}
    Thu Nov 30 13:36:00 CET 2000:<I> <JDBC Pool> Sleeping in createResource()
    Thu Nov 30 13:36:01 CET 2000:<E> <JDBC Pool> Failed to create connection pool "i
    gspool"
    weblogic.common.ResourceException: weblogic.common.ResourceException:
    Could not create pool connection. The DBMS driver exception was:
    java.lang.NullPointerException
    at COM.ibm.db2.jdbc.app.DB2Driver.connect(DB2Driver.java:225)
    at weblogic.jdbc.common.internal.ConnectionEnvFactory.makeConnection(Con
    nectionEnvFactory.java(Compiled Code))

    Hi *, when I start the weblogic-server (on AIX 4.3.3) I observe the following entrie
    during the connect to a db2-database! I can connect the db2-database as user fmu
    and as user weblogic (with 'db2 connect to oe2000' from the command line)! Anyone
    an idea, where is the failure?
    Best regards,
    Frank
    Here is the log:
    Thu Nov 30 13:35:59 CET 2000:<I> <JDBC Pool> Creating connection pool igspool wi
    th:
    {poolName=igspool, maxCapacity=200, props=user=fmu;password=adrenalin, driver=CO
    M.ibm.db2.jdbc.app.DB2Driver, aclName=weblogic.jdbc.connectionPool.igspool, capa
    cityIncrement=1, initialCapacity=100, url=jdbc:db2:OE2000}
    Thu Nov 30 13:36:00 CET 2000:<I> <JDBC Pool> Sleeping in createResource()
    Thu Nov 30 13:36:01 CET 2000:<E> <JDBC Pool> Failed to create connection pool "i
    gspool"
    weblogic.common.ResourceException: weblogic.common.ResourceException:
    Could not create pool connection. The DBMS driver exception was:
    java.lang.NullPointerException
    at COM.ibm.db2.jdbc.app.DB2Driver.connect(DB2Driver.java:225)
    at weblogic.jdbc.common.internal.ConnectionEnvFactory.makeConnection(Con
    nectionEnvFactory.java(Compiled Code))

  • Answers access with Java (to enable more complex reports)?

    Hello and thanks for reading,
    I was wondering if there is a possibility to access BI Answers with Java (or an other procedural language) in order to realize more complex reports than what is possible with the graphical user interface.
    Is there an alternative way to access BI Answers in order to build reports, which provides one with a great flexibility in report design?
    Thanks for ideas
    Evgeny

    Are you trying to build more complex reports in OBIEE?
    If you need to customize the obiee you can do by editing the html files in BI server and data folders. You can add ur own html code and tags there. Also to achive more complex formating you can use OBIEE Publisher that will let you to create your own rtf or pdf templates and upload it to the dashboards
    Hope it helps
    Prash

  • How to read and parse a remote XML file with Java

    Hi.
    Using J2SE v1.4.2, I'd like to read and parse a remote file:
    http://foo.com/file.xml
    Is it possible with Java? I'd be extremely grateful if someone could provide me any webpage showing a very simple code.
    Thank you very much.

    How about the following?
         import java.io.InputStream;
         import java.net.URL;
         import javax.xml.parsers.DocumentBuilder;
         import javax.xml.parsers.DocumentBuilderFactory;
         import org.w3c.dom.Document;
         public static void main(String[] args) throws Exception {
              DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
              DocumentBuilder db = dbf.newDocumentBuilder();
              URL url = new URL("http://foo.com/file.xml");
              InputStream inputStream = url.openStream();
              Document document = db.parse(inputStream);
              inputStream.close();
         }-Blaise

  • Remote desktop access with VNC and KDE

    Hi,
    I want to access from my win machine the arch linux one with remote desktop the KDE graphic interface.
    I've installed xrdp and I can connect in the session :1 but not on the session :0 (the one one that allow you to control the real desktop)
    I do not think with xrdp I connet to the session :0, do you know how can I do it?
    thanks

    thanks for your answer,
    my need is very easy, I have my linux box in the living room and it is connected to the TV through HDMI.
    I want to control it from my laptop, (that is on my knees) what I see on the tv without need to go till there (i'm lazy and the sofa is very confortable), mainly I want to play/stop movies and browse internet for add torrents to ktorrent.
    And I would like to remove the keyboard and the mouse from the linux box (but this is not a must)
    if there is a better way to do that, please tell me
    thanks

  • How to make PC database like VB6+Access with java?

    I mean the application has its own database and can be installed everywhere without SQL server. How can i do it?

    If you're not tied to MS ACCESS, I would look at the FREE HSSQL database from sourceforge. It's easy to use from JDBC and doesn't requre any other software, so its ideal for a program that needs its own private database.

  • Database access with Jave Web Start

    Can a java application, that has been deployed by using Java Web Start, access information from a database that's located on the web server from where the application was deployed?

    Yes, if you use the type 4 (ie, thin) driver and include the driver's jar file as part of the app.
    Technically you can do it with a thick driver but then you have first install the driver on the client machine and I assume this isn't what you are looking for,

  • FTP access with java

    How can i program ftp details to access my web site to upload a single html file.
    ta.

    I remenber having a similar problem. I found some Sun classes for using FTP, but of the pieces that I understood (as there was no documentation) I found inadequate.
    I ended up writing my own code to talk to the FTP server at socket level. You'll find out how to do this by reading RFC 959. Basically, you open a socket to the server, and send commands in text (like telnet). You usually use port 21 (the control port) for this, I think. The RFC will tell you what commands you can send, and what to expect back from the server. These commands are a little different from what you may have seen on most FTP utility programs (the DOS 'ftp' command-line utility for instance). The server will usually send back a text line that starts with 3-digit code that indicates whether you were successful, or what error occurred.
    To upload a file, you'll have to tell the server to connect to a specific port on the host that has the file (probably the same host that you're sending the commands from) using the 'PORT' command, and also tell it in what format the file is in, using a different command again.
    Having sent these commands successfully, you then issue the command to do the send, and the server daemon should connect to the port you specified, and try to read the file data. You should have a separate thread that listens on that port, and then sends the file contents when the socket is opened. When all the data has been sent, the thread should just close the socket.
    You should finally receive a response on the control port from the server, telling you if it worked, and if not, why.
    If you don't want to re-invent the wheel like I did, you might have to look around for FTP-specific java packages that someone has already written. I am sure there is such a thing. I haven't found one, but then I haven't done a serious search for one.

  • 6680: Camera access with Java app

    I have no problem with Symbian apps accessing my 6680's camera. AgileMessenger and ShotCode are good examples of this.
    But Java apps, e.g. Shoot&Send and MXit just show a blank white screen when it's supposed to show what the camera is seeing. And when you press Shoot, the app will generate an error. Friends with a 6680 experience the same problem. Is this a known issue? Firmware: v4.04.07, 22-08-05, RM-36

    Hi
    I'm running Shoot&Send successfully on a 6680 with exactly the same firmware version as you have. Be sure that you installed the Series60 version of Shoot&Send.
    Best is you open http://wap.shootsend.com/ with the native phone browser (not Opera), and your device model will be detected correctly.
    Silvano

  • Exception accessing ADF application deployed on Oracle Weblogic Server

    Hi All,
    We have a web application developed using ADF Faces, Trinidad & BC4J. The application runs fine on Oracle JDeveloper 11g (11.1.2.1.0). When I deploy the same on to remote weblogic server 10.1.3 and I access the jspx page I get the below exception:
    javax.faces.el.EvaluationException: java.lang.NullPointerException
         at org.apache.myfaces.trinidad.component.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:51)
         at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)
         at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:190)
         at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:787)
         at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:1252)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._invokeApplication(LifecycleImpl.java:966)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:346)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:204)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:312)
    It looks like there is some issue with the datasource. I have created a datasource WebApplicationDS with JNDI name jdbc/WebApplicationDS on the weblogic server.In the application module I have changed the datasource from java:comp/env/jdbc/WebApplicationDS to jdbc/WebApplicationDS before deploying on to WLS. With the current setting if I run from JDeveloper I get the same error.
    Please let me know how to resolve this issue.
    Thanks in advance.
    Regards
    Navin

    Hi Frank,
    That is were the issue started, I have created the datasource with the name WebApplicationDS and JNDI name as jdbc/WebApplicationDS and when I acess the application I get the below error:
    javax.faces.el.EvaluationException: java.lang.NullPointerException
         at org.apache.myfaces.trinidad.component.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:51)
         at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)
         at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:190)
         at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:787)
         at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:1252)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._invokeApplication(LifecycleImpl.java:966)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:346)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:204)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:312)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:27)
    Thanks
    Navin

  • JoltConnectionPool can not start in weblogic server

    Hi
    I am trying to run the sample Tuxedo provided application which uses Servlets or Ejb.
    Now the Tuxedo Server has been configured and running properly.
    I have WebLogic Server installed and had created the JoltSessionPool with name "MAJoltConnectionPool" and had also defined the StartupClass & ShutdonClass.
    While defining the JoltSessionPool i had given min services as 1 and max services as 5 and others as default,
    and the JoltSessionPool's target is a weblogic managed server which named ct2.
    Then i tryed to start the ct2 server on command line such as:
    startManagedWebLogic.cmd ct2 http://localhost:7001
    I got an error in starting "MAJoltConnectionPool" but the server ct2 is starting normally.
    Anyone who can help me to find out the reason? Thanks a lot.
    The Command Line window shown following in the Log:
    Failed to invoke startup class "MAJoltPoolStart", java.lang.Exception: Errors in starting the following connection pools :
    com.bea:Name=MAJoltConnectionPool,Type=JoltConnectionPool :
    Access to sensitive attribute in clear text is not allowed due to the setting of ClearTextCredentialAccessEnabled attribute in SecurityConfigurationMBean. Attr: UserPassword, MBean name: com.bea:Name=MAJoltConnectionPool,Type=JoltConnectionPool
    The Entire Trace from the Log file is:
    ####<Mar 16, 2011 11:58:35 AM CST> <Notice> <Log Management> <HXU49> <ct2> <[STANDBY] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1300247915024> <BEA-170027> <The Server has established connection with the Domain level Diagnostic Service successfully.>
    ####<Mar 16, 2011 11:58:35 AM CST> <Info> <Diagnostics> <HXU49> <ct2> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1300247915070> <BEA-320077> <Initialized the Diagnostic Accessor Service.>
    ####<Mar 16, 2011 11:58:35 AM CST> <Info> <WebLogicServer> <HXU49> <ct2> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1300247915078> <BEA-000256> <Invoking bea.jolt.pool.servlet.weblogic.PoolManagerStartUp.main(null)>
    ####<Mar 16, 2011 11:58:35 AM CST> <Critical> <WebLogicServer> <HXU49> <ct2> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1300247915239> <BEA-000286> <Failed to invoke startup class "MAJoltPoolStart", java.lang.Exception: Errors in starting the following connection pools :
    com.bea:Name=MAJoltConnectionPool,Type=JoltConnectionPool : Access to sensitive attribute in clear text is not allowed due to the setting of ClearTextCredentialAccessEnabled attribute in SecurityConfigurationMBean. Attr: UserPassword, MBean name: com.bea:Name=MAJoltConnectionPool,Type=JoltConnectionPool
    java.lang.Exception: Errors in starting the following connection pools :
    com.bea:Name=MAJoltConnectionPool,Type=JoltConnectionPool : Access to sensitive attribute in clear text is not allowed due to the setting of ClearTextCredentialAccessEnabled attribute in SecurityConfigurationMBean. Attr: UserPassword, MBean name: com.bea:Name=MAJoltConnectionPool,Type=JoltConnectionPool
         at bea.jolt.pool.servlet.weblogic.impl.PoolManagerStartUpJMX.startup(PoolManagerStartUpJMX.java:216)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at bea.jolt.pool.servlet.weblogic.PoolManagerStartUp.main(PoolManagerStartUp.java:38)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at weblogic.management.deploy.classdeployment.ClassDeploymentManager.invokeMain(ClassDeploymentManager.java:362)
         at weblogic.management.deploy.classdeployment.ClassDeploymentManager.invokeClass(ClassDeploymentManager.java:272)
         at weblogic.management.deploy.classdeployment.ClassDeploymentManager.access$000(ClassDeploymentManager.java:54)
         at weblogic.management.deploy.classdeployment.ClassDeploymentManager$1.run(ClassDeploymentManager.java:214)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.management.deploy.classdeployment.ClassDeploymentManager.invokeClassDeployment(ClassDeploymentManager.java:207)
         at weblogic.management.deploy.classdeployment.ClassDeploymentManager.invokeClassDeployments(ClassDeploymentManager.java:186)
         at weblogic.management.deploy.classdeployment.ClassDeploymentManager.runStartupsAfterAppAdminState(ClassDeploymentManager.java:162)
         at weblogic.management.deploy.classdeployment.StartupClassPrelistenService.start(StartupClassPrelistenService.java:13)
         at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:176)
    >
    ####<Mar 16, 2011 11:58:35 AM CST> <Notice> <WebLogicServer> <HXU49> <ct2> <main> <<WLS Kernel>> <> <> <1300247915288> <BEA-000365> <Server state changed to ADMIN>
    ####<Mar 16, 2011 11:58:35 AM CST> <Notice> <WebLogicServer> <HXU49> <ct2> <main> <<WLS Kernel>> <> <> <1300247915313> <BEA-000365> <Server state changed to RESUMING>
    ####<Mar 16, 2011 11:58:36 AM CST> <Notice> <WebLogicServer> <HXU49> <ct2> <main> <<WLS Kernel>> <> <> <1300247916769> <BEA-000365> <Server state changed to RUNNING>
    ####<Mar 16, 2011 11:58:36 AM CST> <Notice> <WebLogicServer> <HXU49> <ct2> <main> <<WLS Kernel>> <> <> <1300247916770> <BEA-000360> <Server started in RUNNING mode>
    With Regards
    Han

    Hi
    To resolve this problem , you have 2 solutions:
    - modify the config.xml file to add in the tag <security-configuration> the following line :
    <clear-text-credential-access-enabled>true</clear-text-credential-access-enabled>
    or
    - check the checkbox "Clear Text Credential Access Enabled" in the settings for the domain / security / general / advanced
    restart the weblogic server to activate this change if necessary (Normaly, no restarts are necessary with weblogic server v10.3.5.0)
    Hope this reponse help you (if it's not too late ;-) )
    Laurent.

Maybe you are looking for

  • Where can I find Photoshop CS6 installer now?

    I purchased Adobe Photoshop CS6 in the past and I have been using it normally, however I just bought a new computer and I would like to install it on this new machine but I cannot find the installer anywhere. I only find the installer for Photoshop C

  • Multi phone syncs

    I have two iPhones and 1 new Windows phone 7. I have mobile me on my iPhone, my daughter doesn't. Wife's phone is new. I only have one Mac computer in the house, my iMac. If I create 2 Guest accounts for wife and daughter; can I sync their phones wit

  • Installing Muse from the cloud app manager

    I have the full latest version of Muse installed on my computer, but the adome app manager still has an install button next to that particular app. Should I install Muse again from within this app?have the full version of Muse not the Beta already in

  • IChat on 10.4.3 and Netgear DG834G

    Since 10.4.3 my iChat stopped working. During starting up the application would simply close down without any error message. On the discussion forum it was suggested to startup from terminal with debug switched on. This produced the following error:

  • Cost of 'Netbackup for SAP'

    Dear Concerned, Kindly let me know how much cost is involved in procuring 'Netbackup for SAP' software. Thanks, Sumit