Using the App Server DAS to access "my" MBeans on cluster servers

I am wanting to use JMX to access some custom MBeans that are on server instances that are participating in app server clusters. I figured the way to do this is by connecting to the DAS, but the service groups don't show within the DAS (like when using JConsole), I can access other AMX services, but not my custom ones. I can access my MBeans if I directly connect to the app servers.
Any ideas? I am trying to keep my jmx client from having to know physical location of the clustered servers, and only knowing about the DAS.
Thanks,
Scott

Hi,
I am not an Application Server expert so I won't be able to answer your question
directly - but maybe the article 'Managing and Monitoring Web Services in
Project GlassFish' could be of help:
http://developers.sun.com/prodtech/appserver/reference/techart/ws_mgmt.html
There's also the doc on docs.sun.com which you may already know:
Chapter 20 Using the Application Server Management Extensions
http://docs.sun.com/app/docs/doc/819-3659/6n5s6m5ck?a=view
If you still don't get your answer - you may also want to visit the glassfish project:
https://glassfish.dev.java.net/ (perhaps join its user's mailing list?)
or The Aquarium: http://blogs.sun.com/theaquarium which has lots of interesting
tips and articles.
Hope this helps,
-- daniel
JMX, SNMP, Java, etc...
http://blogs.sun.com/roller/page/jmxetc

Similar Messages

  • Accessing txt files in the App server from web application

    Hi All,
    We have a use case, where we need to access txt files from the ADF web application.
    We will display to the user the path of the file and whenever he/she clicks, it should be downloaded automatically to the users machine.
    Environments we need to develop: JDeveloper 10.1.3.4 and Oracle App Server 10.1.3.1
    And our server has credentials and only those who have access to the server can access the files.
    Point me or suggest me a good solution to this use case.
    Regards,
    Naga.

    Hi Joonas,
    i was able to download the files, thanks a lot for your guidance. i will mark your answer as correct.
    Can you let me know how to achieve the following usecase.
    1. there will be multiple text files in the server i.e., out of our web application context like in some folder
    2. And we need to give user a http link and if he clicks on the link that file should be downloaded automatically to his machine.
    and we are using oracle app server 10.1.3.4, please point me to some document or example.
    thank you.
    naga.

  • SSO using WebLogic app server and AD as the auth source

    Hi All,
    I am trying to setup SSO on 10gR3 using MS Active Directory as the auth source and WebLogic as the app server.
    Do I have to create a custom SSO or can this setup be configured using the basic SSO and config changes?
    Any help or guidance will be appreciated.
    Cheers
    Bob

    There are many ways. The generic answer is federation via SAML, look at the docs for Oracle Identity Federation.

  • HT203071 How does the clients (iOS devices) to configure/use the caching server to download apps from local caching server instead of App store?

    Hi ... How does the clients (iOS devices) to configure/use the caching server to download apps from local caching server instead of App store?

    Hi,
    If you want to restore a reomoved app,you need to use
    Add-AppxPackage to add a signed app package (.appx) to a user account.
    But we cannot extract them from the ISO.
    The behavior is by design.And this is a software protection regime.
    Thanks for your understanding.
    Regards,
    Kelvin Xu
    TechNet Community Support

  • BPC 7M SP04 - app. server need SAN access?

    For PRD, we intend to split up our BPC 7M SP04 configuration into 2 servers - DB and App. server
    Will the app. server need access to the SAN? ( what data does it store, and is it big )?
    Are these assumptions valid?
    App. server needs to be 32 bit OS
    DB server can be 64 bit OS
    For DEV, we will have one server for all components. We assume this needs to be 32 bit OS with /PAE switch confitured?
    Thanks in advance .. Sanket

    Hi,
    Having a SAN access for your Application Server is not mandatory but could be used to store the BPC Data folder (the one containing Webfolder directory which stores Excel template and logic file).
    DB in 64 bits and APP in 32 bits is fine. Just check where you want to install SSRS component (on DB or App server).

  • How do I use the App store with macbook pro and mac pro

    I currently use the app store with the mac book, but want to buy (share?) apps and music with the mac pro.
    I can't find anything that specifically outlines how this works.
    I use SplashID with the macbook and an iPhone, and want to use it (and sync it) on the mac pro as well.
    If you buy apps for a macbook, can you use them on a second machine, or do you need to buy it a second time?

    Your license from the MAS allows you to download and install the apps on as many Macs as you own or have under your control (institutional or employer supplied Macs.) The Mac should to be running Mac OS X 10.6.8 Snow Leopard or Mac OS X 10.7.2 Lion. Open the MAS app on the Mac Pro and sign into your account to have access to download all of your previous purchases in the Purchased pane.
    Simple apps can also be dragged & dropped over a network connection from the MacBook to the Mac Pro.

  • Create attachment of  a file stored on the app server for mail

    Hello All:
    I am working on sending a mail with attachemnts (file from the app server), i am aware of numerous solutions posted on the forum ....i am  able to create an attachment and send mail. the problem i am facing is the attachment is corrupted . can some one guide me as what i am ding wrong . here's the code
    DATA: REC(80) TYPE C.
        DATA: L_SIZE TYPE DRAO-ORLN.
        DATA: L_LINES TYPE I.
        DATA: L_DATA_TAB TYPE TABLE OF RCGREPFILE.
        DATA: L_DATA_TAB1 TYPE TABLE OF RCGREPFILE.
        DATA: L_DATA_WA TYPE RCGREPFILE.
        DATA: N_FILE TYPE RCGIEDIAL-IEFILE.
        P_FILE = '/usr/sap/MIE/SYS/global/PDFSpools/30978.pdf'.
        N_FILE = P_FILE.
        CONCATENATE 'C:temp' RQ2NAME '.pdf' INTO ELPATH.
    *   Read Data from the App server
        OPEN DATASET  P_FILE FOR INPUT IN BINARY MODE .
        DO.
          READ DATASET P_FILE INTO REC.
          IF SY-SUBRC NE 0.
            EXIT.
          ELSE.
            L_ANN = REC.
            APPEND  L_ANN TO T_PDF .
          ENDIF.
        ENDDO.
        CLOSE DATASET P_FILE.
    *   How do i get the filesize ?
        CLEAR L_ANN.
        DESCRIBE TABLE T_PDF LINES LIN_TEXT.
        LOOP AT T_PDF INTO L_ANN.
          APPEND L_ANN TO T_ANN.
        ENDLOOP.
    *    Using this i get the file size
    *    CALL FUNCTION 'C13Z_RAWDATA_READ'
    *      EXPORTING
    *        I_FILE           = N_FILE
    *      IMPORTING
    *        E_FILE_SIZE      = L_SIZE
    *        E_LINES          = L_LINES
    *      TABLES
    *        E_RCGREPFILE_TAB = L_DATA_TAB
    *      EXCEPTIONS
    *        NO_PERMISSION    = 1
    *        OPEN_FAILED      = 2
    *        OTHERS           = 3.
    *    CLEAR L_ANN.
    *    DESCRIBE TABLE L_DATA_TAB LINES LIN_TEXT.
    *    LOOP AT L_DATA_TAB INTO L_DATA_WA.
    *      L_ANN-LINE = L_DATA_WA-ORBLK.
    *      APPEND L_ANN TO T_ANN.
    *    ENDLOOP.
        DOC_CHNG-OBJ_NAME   = 'URGENT'.
        DOC_CHNG-EXPIRY_DAT = SY-DATUM + 10.
        DOC_CHNG-OBJ_DESCR  = TEXTS.
        DOC_CHNG-SENSITIVTY = 'O'.
    *   DOC_CHNG-DOC_SIZE   = LIN_TEXT * 255.
        CLEAR OBJPACK-TRANSF_BIN.
        OBJPACK-HEAD_START = 1.
        OBJPACK-HEAD_NUM   = 0.
        OBJPACK-BODY_START = 1.
    *   OBJPACK-BODY_NUM   = LIN_TEXT.
        OBJPACK-DOC_TYPE   = 'RAW'.
        APPEND OBJPACK.
        NOMFITXER = ELPATH.
        CALL FUNCTION 'SPLIT_FILENAME'
          EXPORTING
            LONG_FILENAME  = NOMFITXER
          IMPORTING
            PURE_EXTENSION = EXTENSIO.
        OBJPACK-TRANSF_BIN = 'X'.
        OBJPACK-HEAD_START = 1.
        OBJPACK-HEAD_NUM   = 1.
        OBJPACK-BODY_START = 1.
        OBJPACK-BODY_NUM   = LIN_TEXT.
        OBJPACK-DOC_TYPE   = EXTENSIO.
        OBJPACK-OBJ_NAME   = RQ2NAME.
        CONCATENATE RQ2NAME EXTENSIO
          INTO NOMFITXER SEPARATED BY '.'.
        OBJPACK-OBJ_DESCR = NOMFITXER.
        OBJPACK-DOC_SIZE  = L_SIZE * 255.
        APPEND OBJPACK.
        CALL FUNCTION 'BAPI_USER_GET_DETAIL'
          EXPORTING
            USERNAME = SY-UNAME
          TABLES
            RETURN   = BAPIRETUR
            ADDSMTP  = DADESUSER.
        READ TABLE BAPIRETUR WITH KEY TYPE = 'E'.
        IF SY-SUBRC NE 4.
        ELSE.
          READ TABLE DADESUSER INDEX 1.
    *     REMITENT = DADESUSER-E_MAIL.
          REMITENT = SY-UNAME.
        ENDIF.
        TEXTS = 'TEST MAIL'.
        APPEND TEXTS.
        DESTINATARIS-RECEIVER   = SY-UNAME.
        DESTINATARIS-REC_TYPE   = 'B'.
        DESTINATARIS-EXPRESS    = 'X'.
    *   DESTINATARIS-COM_TYPE   = 'INT'.
    *   DESTINATARIS-NOTIF_DEL  = 'X'.
    *   DESTINATARIS-NOTIF_NDEL = 'X'.
        APPEND DESTINATARIS.
        CALL FUNCTION 'SO_DOCUMENT_SEND_API1'
           EXPORTING
             DOCUMENT_DATA                    = DOC_CHNG
             PUT_IN_OUTBOX                    = 'X'
             SENDER_ADDRESS                   = REMITENT
    *        SENDER_ADDRESS_TYPE              = 'SMTP'
             COMMIT_WORK                      = ' '
           IMPORTING
             SENT_TO_ALL                      = ENVIAT
    *        NEW_OBJECT_ID                    =
    *        SENDER_ID                        =
           TABLES
             PACKING_LIST                     = OBJPACK
    *        OBJECT_HEADER                    =
             CONTENTS_BIN                     = T_ANN
             CONTENTS_TXT                     = TEXTS
    *        CONTENTS_HEX                     =
    *        OBJECT_PARA                      =
    *        OBJECT_PARB                      =
            RECEIVERS                        = DESTINATARIS
          EXCEPTIONS
            TOO_MANY_RECEIVERS               = 1
            DOCUMENT_NOT_SENT                = 2
            DOCUMENT_TYPE_NOT_EXIST          = 3
            OPERATION_NO_AUTHORIZATION       = 4
            PARAMETER_ERROR                  = 5
            X_ERROR                          = 6
            ENQUEUE_ERROR                    = 7
            OTHERS                           = 8.
    Message was edited by: Poornanand Mandalika. Code was formatted using the <b>Code</b> button!!

    Assuming you are using Apache?
    You could place your Word docs in the same folder as your current Apex images directory (or a sub-directory off it) then reference them with a URL of the form http://yourserver/i/sample_word_file.doc. Alternatively you could add a new Alias entry to your dads.conf file (found in your Apache/modplsql/conf directory) to expose the folder on your webserver that contains your Word files via a URL such as http://yourserver/word_docs/
    E.g.
    Alias /word_docs/ "c:\my_docs\technical_word_docs/"
    Andy

  • Insert data 32K into a column of type LONG using the oracle server side jdbc driver

    Hi,
    I need to insert data of more than 32k into a
    column of type LONG.
    I use the following code:
    String s = "larger then 32K";
    PreparedStatement pstmt = dbcon.prepareStatement(
    "INSERT INTO TEST (LO) VALUES (?)");
    pstmt.setCharacterStream(1, new StringReader(s), s.length());
    pstmt.executeUpdate();
    dbcon.commit();
    If I use the "standard" oracle thin client driver from classes_12.zip ("jdbc:oracle:thin:@kn7:1521:kn7a") every thing is working fine. But if I use the oracle server side jdbc driver ("jdbc:default:connection:") I get the exception java.sql.SQLException:
    Datasize larger then max. datasize for this type: oracle.jdbc.kprb.KprbDBStatement@50f4f46c
    even if the string s exceeds a length of 32767 bytes.
    I'm afraid it has something to do with the 32K limitation in PL/SQL but in fact we do not use any PL/SQL code in this case.
    What can we do? Using LOB's is not an option because we have client software written in 3rd party 4gl language that is unable to handle LOB's.
    Any idea would be appreciated.
    Thomas Stiegler
    null

    In rdbms 8.1.7 "relnotes" folder, there is a "Readme_JDBC.txt" file (on win nt) stating
    Known Problems/Limitations In This Release
    <entries 1 through 3 omiited for brevity >
    4. The Server-side Internal Driver has the following limitation:
    - Data access for LONG and LONG RAW types is limited to 32K of
    data.

  • Is anybody else still not able to use the App Store? I can't download nor update any apps. I have an IPhone 5 device not currently updated to iOS 7 as my partner also has an iPhone 5 running iOS 7 and it seems to have some issues at the moment.

    Is anybody else still not able to use the App Store? I can't download nor update any apps. I have an IPhone 5 device not currently updated to iOS 7 as my partner also has an iPhone 5 running iOS 7 and it seems to have some issues at the moment.

    Hi Tech5Apple,
    Thanks for visiting Apple Support Communities.
    If you continue to see unexpected behavior when accessing the iTunes Store, the troubleshooting steps in this article can help:
    Can't connect to the iTunes Store
    http://support.apple.com/kb/ts1368
    All the best,
    Jeremy

  • Adobe LiveCycle ES 8.2 Installation Error can't configure the App Server from Config Manager

    Hello All-
    We are trying to install the Adobe LiveCycle ES 8.2 SP2 and we are getting some issues while configuring the Application Server from the Config Manager, not sure why are those showing up, we never had these issues before when we installed 8.0, please look at the lcm log and the screenshot I provided for the errors which we are getting.
    We are trying to configure the remote Application Server WebSphere on Linux from my machine which is on Windows and i made the target Application Server as WebSphere and target platform as linux when i initially installed the livecycle media.
    The LCM logs say it failed to run the jacl scripts in the LiveCycle root directory and we wonder why is it pointing for the target Application Server to the Application Server which resides on my machine rather than it should point to the one on server. I am not sure what's going on and we did exactly what we did for 8.0.
    Below are the environment details where we are trying to install.
    Adobe LiveCycle ES: 8.2 SP2
    Database: IBM DB2 9.1 FP4.
    JVM Version and Vendor: 1.5.0 IBM Corporation
    Application server: IBM WebSphere Application Server/6.1.0.19
    Operating System: Linux
    Hardware: x86 .
    Any help will be appreciated!
    Thanks-
    Karthik.

    Hi All,
    Even i was facing the same issue but i was able to resolve it.
    Although the earlier reply from karthik_chowdary was sent way back in 2008 and i think would have got resolved till now, but still the resolution which i have found is
    The port i was using on the app server conf screen was that of application server HTTP Port.
    But here in case of WebSphere ND, we need to use port specified in WAS UI > System administrator > Deployment manager > Ports
    Try using that by default it is 8879.
    And this resolved the issue.
    ~Hkin

  • An update for an app is not loading, but I need to use the app even without the update. How do I cancel the update? Right now is on hold.

    I use an app, today there is an update, so I push it to update. Is giving some error, not possible to upload,.. May the server is too busy?,.. So the app is on hold,.. Waiting...
    In any case, I need to to use the app... But I can not get it to open ....how do I go about canceling the update?

    If there's no important data, delete and re-install.

  • Can I use Oracle app server with mysql

    Can I use Oracle app server with mysql. I seem to have the following error when trying to create a datastore. I have mysql.jar in my classpath. Can any one tell me what's wrong.
    Error initializing data-source 'jdbc/topup': DriverManagerDataSource driver 'org.gjt.mm.mysql.Driver' not found

    Yes you can forward requests from your own apache to the iAS. This can be done using mod_proxy. Some hints about how to do this are availlable on this forum.
    mod_oc4j is not a standard apache module, and therefore is not availlable when you download apache. There is no apparent reason to use mod_oc4j on a "regular" webserver (unless you want to build your own iAS). Also there might be some licenseing issues with using mod_oc4j module on a standard apache.
    You can encrypt data that is passed from a random Apache to you iAS.

  • Running the App Server as a user other than root

    We used to use iPlanet Web Server which during installation allowed you to specify which user you wanted to run the Web Server. This was very good for security. How do you do this with the App server ?
    Thanks
    PS We are running it on Solaris 9.

    Application Server 7 expands on the flexibility offered in the web server.
    The most basic means to define app server instances with non-root users is to create an administrative domain (basically, an admin server instance) using the user ID of interest. As you create new application server instances in the admin domain, you can assign the same user ID to the instances.
    (There is an admin domain that is initially configured as part of the app server installation. If you installed the product as root, then the admin server and the initially configured app server instance are owned by root. If you do not want these instances to be owned by root, you should remove this admin domain and create a new one that is owned by a non-root user.)
    For example, with the following command, I've created a new app server config (an administrative domain) containing an admin server owned by user "ckamps":
    root@canteloupe-{}: asadmin create-domain sysuser ckamps adminuser admin adminpassword password adminport 5050 ckamps.domain3
    Created Domain ckamps.domain3 successfully
    root@canteloupe-{}:
    Then I create an app server instance within this admin domain:
    root@canteloupe-{}: asadmin create-instance domain ckamps.domain3 sysuser ckamps --instanceport 80 instance1
    Created Instance instance1 successfully
    Note the use of the "--sysuser" option to specify the user that owns both the admin domain as well as the app server instance.
    You can either use root to define the admin domain and the instances (in which case you need to specify the sysuser option to force a non-root ownership) or you can use a non-root user to define the admin domain and app server instances.  In the latter case, specification of the sysuser is not required.
    Since my instance is defined to listen on a privileged port, I'll need to set the "run as user" in the <instance-dir>/config/init.conf file (similar to magnus.conf in Sun ONE Web Server 6) AND ensure that I start the instance as root. Once the server instance starts up as root, it will automatically switch to the run as user.
    The "User" setting below is the "run as user" specified in the admin console's "Create new instance" wizard.
    <snip of init.conf>
    NetsiteRoot /usr/appserver
    ServerID instance3
    ServerName canteloupe
    PidLog /var/appserver/domains/ckamps.domain3/instance3/logs/pid
    User ckamps
    DNS off
    </snip>
    Alternatively, you can start up the newly defined admin server and create the new app server instance through the admin console.
    Hope this helps,
    Chris

  • What's consuming the app server heap memory?

    Dear all,
    I keep getting the "java.lang.OutOfMemoryError: Java heap space" error in our environment, I tried to remove the BAM from the Jboss, and the error disappear for some times, but it appear again recently, while we only changed one line of script in one of the form. (i.e. I don't think the error is caused by changing code)
    So, I would like to know where can I find some information about how the memory is consumed in ALC? Because we only have 2 workflow running, although one of them is heavily used.
    Here some information about my environment.
    - ALC 8.2.1 with no sp
    - Using the default Jboss as app server
    - Using the default MySQL as Database
    - Only 2 workflow running
      - While 1 of them have around 4 - 8 request pre week
      - And the others will have around 60 - 80 request pre day (i.e. around 490 pre week)
    Here listed some points I think may affect the memory and I want to know for sure:
    1) Number of variable used in long-live process (i.e. More variable = more Memory used)
    2) Number of operation used in long-live process (i.e. More operation = more memory used)
    3) Number of track record of long-live process (i.e. More track record = more memory used)
    4) Long-lived process vs Short-lived process (i.e. Only long-lived process will keep consume memory because short-lived process will only load on call?)
    5) Number of long-lived process still running (i.e. If we send a assign task to notify the user the workflow have been approved, and the user never dismiss it, it will turn out to consume the app server memory because it is still in the running stage)
    6) Old version of the same long-lived process will use memory even no active workflow? (i.e. Because active long-live process will load up into memory?)
    Thanks in advance
    Regards
    Bill

    Did you tried to increase your heap size in jboss server . try this  and i think it will  help you in solving this problem .
    if u want  to know how to increase the heap size:
    go to bath of ur JBoss    "D:\Adobe\Adobe LiveCycle ES2\jboss\bin" as example.
    scond find the Run file and  open it in  Text File
    find a line  which is responsible for   heap size ==>>"set JAVA_HEAP_ARGS=-XX:PermSize=128m -XX:MaxPermSize=192m -Xms1024m -Xmx1024m"
    close it and restart the server again and test your problem.
    put ur line to be like what i wrote 1024 means that 1 giga for heap of jboss.
    if the problem still appear for  you then your Memory doesnot of because memory heap size

  • TS1424 I can not login in to my inbox for Apple ID email so i am unable to verify my account, which means i can't use icloud or use the app store.

    I cannot login into my inbox for Apple ID email so i am unable to verify my account, which means i can't use icloud or use the app store.

    For all Users...I just fixed mine and am now able to log on.
    Yesterday there was a Quick Time update to 7.3.1 that fixed a security issue that was allowing access to your computers. I thought that my auto update would install this and it didn't. I had to manually download from apple and install the update.
    http://www.apple.com/quicktime/download/
    I used the "with iTunes" version and now I can log into my account with out the "null" error appearing.
    This was pointed out to my by QuickDraw so he gets all of the credit.

Maybe you are looking for

  • How do I install Photoshop on a 3rd computer?

    I have Photoshop, and when I bought it the permission was for 2 computers.  I only want it on a maximum of 2 computers, but how do I transfer the 'approval' to a new computer?  Do I uninstall the program from the computer no longer being used or do I

  • Problem with Notification update from backend (local notif)

    Hi all I created a Local notification and uploaded the same to the server. I found the same notification in the backend and made some changes to it and then tried to sync the data to the MAM application but I got the following error message “Exceptio

  • How to upload videos

    When I put in a regular CD that I bought, I can easily upload it onto iTunes for me to listen to on my iPod. But when I put in a DVD into my computer, nothing happens. How do I upload a movie onto my computer, just like I would a regular CD?

  • Update million of rows

    Dear all, DB : 10.2.0.4. OS : Solaris 5.10 I have a partitioned table with million of rows and am updating a filed like update table test set amount=amount*10 where update='Y'; when I run this query it generates many archive logs as it doesn't commit

  • Please solve the code

    class Horseradish //insert code here protected HorseRadish(int x) System.out.println("bok choy"); class Washabi extends HorseRadish{ public static void main(String[] args) Wasabi w=new Wasabi(); which two,inserted independently at line 2,will allow t