Client-server with  JMX

I looking for google many time but I dont find an example of solution for my problem. I try to build a server who can exposed a MBean for some clients. For this part it's correct, but when I try to serialize the subclass of my Mbean and I try client-side to chatch them that doesnt work.Do you know how to make that ?
here un example... but it's my structure is correct to support serializable ? ... and how to set server-side to exposed the Child Class to client ?.. i know for the mbean its correct.. but the subclass..
public class helloMBean extends Remote{
public List<Child> getListChild();
public class hello implement HelloMBean{
List<Child> lstChild;
String NameParent;
lstChild = new ArrayList<Child>();
public List<Child> getListChild(){
return lstChild;
public String getParent()
return NameParent;
public void setParent(String name)
NameParent = name;
public class Child implements Serializable{
String Name;
public Child()
Edited by: user10365284 on 8 nov. 2012 17:29

I checked class AuthenticatedUser which does implements through interface UserInfo.
// Compiled from (version 1.4 : 48.0, super bit)
public class implements {
// Field descriptor #50 J
private static final long serialVersionUID = 6699361079932480379L;
// Field descriptor #55 Ljava/lang/String;
public static final java.lang.String REALM_NAME = "wl_realm";
// Field descriptor #50 J
private long timeStamp;
// Field descriptor #55 Ljava/lang/String;
private java.lang.String name;
// Field descriptor #59 [B
private byte[] signature;
// Field descriptor #61 B
private byte qos;
// Field descriptor #63 Ljava/net/InetAddress;
private inetAddress;
// Field descriptor #63 Ljava/net/InetAddress;
private localAddress;
// Field descriptor #66 I
private int localPort;
// Field descriptor #68 Ljava/lang/Object;
private transient java.lang.Object sslCertificate;
// Field descriptor #70 Ljava/lang/Class;
static synthetic java.lang.Class class$weblogic$security$acl$internal$AuthenticatedSubject;
// Field descriptor #70 Ljava/lang/Class;
static synthetic java.lang.Class class$weblogic$security$acl$internal$AuthenticatedUser;

Similar Messages

  • VPN Site-to-Site or VPN Client Server with Cisco IP Phone 8941 and 8945

    Hi everyone,
    I decide to deploy a CUCM (BE6K platform), SX20, and IP Phone 8941/8945 on Head Office and Cisco SX10 and IP Phone 8941/8945 for branch offices (actually 9 branch offices).
    The connection will use internet connection for HO and each branch offices.
    And the IT guy want to use kind a VPN client server or VPN site-to-site for the connection through internet,
    what kind of VPN client server or VPN site-to-site that recommended for this deployment?
    and what type of Cisco router that support that kind of VPN (the cheapest one will be great)?
    So the SX10 and IP Phone 8941/8945 in branch offices can work properly through internet connection?
    please advise

    Hi Leo,
    technically, the ipsec users will not use up any premium license seats, so if you have 10 ipsec users connecting first, the premium seats are still free and so you can then still have 10 phones/anyconnect users connect.
    However, the 250 you mention is the global platform limit, so it refers to the sum of premium and non-premium connections. Or in other words, you can have 240 ipsec users and 10 phones,  but not 250 ipsec users and 10 phones.
    If 250 ipsec users and 10 phones would try to connect, it would be first-in, first-served, e.g. you could have 248 ipsec users and 2 phones connected.
    Note: since you have Essentials disabled I'm assuming you are referring to the legacy "Cisco vpnclient" (IKEv1 client) which does not require any license on the ASA. But for the benefit of others reading this thread: if  you do have Anyconnect clients (using SSL or IPsec/IKEv2) for which you currently have an Essentials license, then note that the Essentials and Premium license cannot co-exist. So for e.g. 240 Anyconnect users and no phones, you can use Essentials. For 240 Anyconnect users and 10 phones, you need a 250-seat Premium license (and a vpn phone license).

  • How to connect to remote server with jmx from jvisualvm

    I have a WL 10.3.2 domain running on a single box. The adminserver and managed server are running on the same box, on different ports (7001 and 8001, respectively).
    I have a Spring application deployed to the managed server and I've configured it to register a Spring bean as a JMX mbean.
    When I run this entire configuration on my laptop, I can run jvisualvm and connect to my server and see and manipulate my registered mbean.
    I'm having trouble figuring out how to get a remote connection working, however. I want to run jvisualvm on my laptop and connect to the remote server.
    I first did "Add Remote Host", where I specified the IP address. It appears that this was created successfully, and it apparently was able to determine the DNS name for it.
    I then tried to add a JMX connection. In the "Connection" field, I just entered the IP address followed by a colon and 8001 (managed server port number).
    In the "Use security credentials" section, I entered the weblogic admin principal and credentials.
    When I click OK, it chugs for a while and eventually gives up, saying:
    Cannot connect to [email protected]:8001 using
    What might I be missing?

    I've resolved this. At least I was able to configure an authenticated connection. It doesn't use SSL yet, but I'm ok with that for a while.
    Resolving this only required changing the command line parameters for the managed server, and being aware of the "jmxremote.access" and jmxremote.password" files. The following blog article helped a lot: [] .
    I'm now passing the following command-line parameters:
    The default "role" configured in "jmxremote.access" is "controlRole", and the "jmxremote.password" file specifies the credentials for that principal. I simply used that principal and credential in JVisualVM, and the connection succeeded.
    And I just used the "host:port" form, not the protocol form.
    Edited by: david.karr on Feb 4, 2011 12:47 PM

  • Sending object between client server with some class without serializable

    Hi friend,
    I need to send the object from server to client via ObjectInputStream and ObjectOutputStream, however, in these objects, some are implements by others, no source code provided, which haven't implement serizlizable, so does anyone can tell me what I can do?
    Thanks your concern.

    Anyone can help? It is urgent!

  • Client-Server with LabVIEW

    I have the following Situation , I want to Setup the Labview College License at a Server and make some Clients (the Students) fully accessing the labview on this server Simultaneously, How can i do this? 

    Hello Ahmed,
    There are two ways to increase the number of licenses available in VLM.
    1.) Obtain a new license file from National Instruments.  In addition to the information specified in the linked KB, also include the changes you want to make to you license (add X number of seats).  Then you install this new license file and you will be able to check out more licenses.
    2) Enable Overdraft in Volume License Manager. Go to Options»Preferences»Policies, and enable the overdraft policy for VLM.  This will allow you to check out more licenses than you have, but you will have to pay for all of the extra usage when you send in your activity log at the end of the yearly contract period.
    Also in relation to the previous question you asked about the installation of LabVIEW.  I would recommend looking at this article on Volume License Installers, which gives you a nice way to install software from a central location (network) and ensure that the clients who install it will automatically begin checking out their licenses from the VLM server.
    John B.
    Applications Engineer
    National Instruments

  • Problem client/server with GUI

    I have a problem with a project im working on. I have a main method that has an infinite loop but before it enters the loop, i draw the GUI. I put a simple print statement and found that it goes through the loop once. Can someone help me to figure out why the file does not send. I tried running this code without the GUI and the file sends.
    here is the code:
    public static void main(String[] args) {
              final String PATH = "/home/dford/Desktop/";
              ClientGUI display = new ClientGUI();
                   Download[] download = new Download[5];
                   int downloadIndex = 0;
                   ServerSocket welcomeSocket = new ServerSocket(9876);
                             Socket connectionSocket = welcomeSocket.accept();
                             if(downloadIndex < 5)
                                  download[downloadIndex++] = new Download(connectionSocket,
                                                                                     PATH + "snake.c");
                        catch(Exception e){}
                        System.out.println("Got here");
                        for(int i=0; i<downloadIndex; i++){
              catch(Exception e){
         }**And im trieing not to use Threads, but if i have to please let me know.
    Edited by: dford425 on Mar 18, 2008 8:03 PM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    nevermind, i figured it out

  • Monitoring J2EE1.4-dr with JMX

    how do I monitor the J2EE1.4-dr server with JMX ?
    Do I have to add a jmx-connector in the domain.xml ?
    How does this entry have to look ?
    This one seems to need a JSR160 JMX server.
    I think that I'm more looking for a JSR77 enabled client.
    Does the J2EE1.4-dr server support this ?
    Is there a HTTP-client available for this ?
    Best regards,

    For J2EE1.4-dr, mbeans are not exposed programatically through jmx. It is being considered for the next release.
    You can, however, use CLI asadmin command to monitor the server.
    Here is an example of how to use CLI asadmin:
    step 1: list supported modules for monitoring
    asadmin get server.monitoring-service.module-monitoring-levels.\*
    step 2: enable specific modules
    asadmin set server.monitoring-service.module-monitoring-levels.http_service=HIGH
    step 3: list monitoring modules
    asadmin list -m server\*
    step 4: access the stats
    asadmin get -m server.http-service.server.http-listener-1.\*

  • Why timesten is slow in client/server mode

    i am testing Timesten client/server mode and find that
    it is to slow.
    when using dircet mode, timesten can precoss about 40000 query pre second
    but when change to client/ server mode
    it can only process 1500 query pre second.
    here is my config and test sql.
    A1 number NOT NULL PRIMARY KEY ,
    A2 number,
    A3 number
    network card is 1000m,
    query code:
    PreparedStatement pSel = dbConn.prepareStatement("select a1,a2 from TEST999 where a1=?");
    rs = null;
    int a1=0;
    int a2=0;
    for(int i=0;i<80000 ;i++)
         pSel.setInt(1,i );
    rs=pSel.executeQuery( );
    if ( {
         a1 = rs.getInt(1);
         a2 = rs.getInt(2);
         if( i%8000==0) {
         System.out.println("select "+ i +" res="+a1 +" time " + getTime_v2());
    direct mode time : 80000 query is 2 second
    client/server mode in the same machine : 80000 query is 12 second
    client/server mode in the different machine : 80000 query is 54 second
    any one have idea about this?
    is it the jdbc driver 's promble?

    it is to be expected that there will be a big difference in performance between direct mode and client/server due to much greater overhead in client/server, especially if the client is on a different machine. However, the differences you are seeing here are larger than I would normally expect.
    You say (I think) that the network is 1 GB, correct? What is the hardware spec of the test machine(s)? Have you tuned the O/S network stack for optimal performance?
    Typically, for local client/server using the fastest IPC mode (shmipc) I expect performance of around 20-30% of direct mode and for remote client/server with a GB LAN I would expect performance of around 10-20% of direct mode.

  • How to control one server with multiple clients via TCP/IP

    I am wanting to control a single server with multiple clients.  Only one client would be active at a time, so there would be no conflict.  I want to use TCP/IP.  So far, I have programmed a cluster that passes data back to the server with no problems.  The challenge come in when a second client is added to the mix.  I have't been able to figure out how to turn each client on and send the appropriate data and then turn it off so it doesn't keep sending the same data to the server. 
    Here are the things that I have considered and did some preliminary testing, but don't really know how to impliment:
    1.  Send a numeric on the front of the cluster packet that tells the server that data is on the way.
    2.  Send a boolean on the front of the cluster packet to somehow turn the server TCP/IP on.
    The problem I have found is that LabVIEW TCP/IP doesn't like to be turned on and off.  If it doesn't get the data it expects, it goes into a reset mode and that kills the response time.
    Any help?

    You should consider implementing a set of simple one-byte commands that can be sent back and forth between the Server and the Clients. You can base all of these ideas off the example in the Example Finder under Networking >> TCP and UDP called Multiple Connections - Server.
    You will have two loops in the server VI: one to wait for new connections, and one to send and receive data from the existing connections. For instance, after one of the clients connects, it can request control of the server to send data to it by sending the character "R" for request. Every time the send/receive loop of the Server executes, the first thing it can do is to check all the existing connections to see if any of the clients have sent a control request ("R"). If so, it will create a buffer (array) of control requests. This could be in the form of Connection IDs or indexes in the array for a particular Connection ID. Your choice.
    After the Server receives a request for contol, if it is not already under control by another client, then it can send a response to the first client on the control request list. For instance, the server could send the first client a "S" command for send. Note that after the clients send their control request, they should execute a TCP Read and wait indefinitely for the server to respond with the one-byte "S" command. Then, once the client in control is finished sending data to the server, it could send the character "X" telling the Server to release it from control.
    The example I mentioned above already does a similar thing. Note how when a client wants to disconnect, they send the letter "Q". You can see this in the Multiple Connections - Client VI. The Server then checks each individual connection to see if it's received this one-byte command, and if it has, it closes the connection to the client. This is what you would want to implement, but instead of having just one command, you'll have to distinguish between a few and build up a buffer of control requests.
    Finally, if a client does decide to disconnect in your application, they could send the command "Q" just like the example above. At this point, close the connection and remove that Connection ID from the array of connections. You will also have to handle the case that this client was in the request control waiting line when it disconnected, in which case you need to delete it from that array as well.
    This will definitely work for you, but it will take some work. Best of luck!
    Jarrod S.
    National Instruments

  • Help with installing a CHAT CLIENT/SERVER

    i cant seem to get my chatclient or chatserver to successfully connect to my server. even if i do a local host thing it STILL says that it cannot connect.
    the server is a stand alone.
    is there a general place to install the compiled files?
    im SO frustrated right now.
    im writing a card game. it is done but now i need to implement the networking. so im starting with a simple chat server and i cant even get THAT to work.

    I'm actually working on a card game (client/server if I can) as well, when I spotted this message. Card games work for me because they're simple, they're relatively fun and easy to figure out, and they aren't real-time or heavy on animation/sprites/hardware acceleration. is a java based card game that has some excellent examples of how to conceptualize a 'card' object and a 'deck' of cards.
    good luck, can try emailing me if you want to toss around ideas about our respective card games.

  • Running reports created with Reports 9i in client-server configuration

    I need to have users run reports created with Oracle Reports 9i on workstations without any Oracle products installed on it, (in a client-server configuration as opposed to Web based) . I am looking for a step-by-step approach to accomplish this. I looked through the installation documents in OTN and I did not see one that addressed this.
    BTW, I saw an earlier post in this form which disscussed this,indirectly, for Reports 6i but I don't think these steps will work for 9i rpeorts
    ** Earlier post
    I have an application in Oracle 8i, Forms 6i, Reports 6i. Now I want to make executable CD which will be installable in nature. I don't know how to make it or what tools to be used for this . Kindly help me out.
    You can write a .bat file for installation.....
    This file should do following things.
    1. Oracle8 Personal Setup
    Install only Database (no tools)
    2. Oracle Developer200 Setup
    Install only Forms Runtime
    Reports Runtime
    Graphics Runtime
    3. Use imp/exp to put the desired database...
    4. Copy exexutables in some directory and place shortcuts in programs and destkop
    5. Make new file-types in start->setting ->folder options-> file-types
    and specify that in which runtime-application you want to open your executables....
    Thanks in advance,
    Audrey Watson

    hi audrey,
    there is no client/server runtime available for reports9i. what
    you can do is to use the rwclient executable shipped with IDS
    to submit jobs to the reports server.
    there are plans to provide a stand alone thin client in the
    future but this is not available yet.

  • JMX Client/Server Classpath error

    Good morning,
    I have some aplication thats monitoring Websphere MQ queues.
    For this i'm use some MQ Jars, but its work fine.
    I have JMX Client/Server, for connect into MQ Server, my aplication use the MQ class MQConstants.
    My JMX connection work fine to. So, my problem is.
    When I try to invoke my aplication method
    mbsc.invoke(objectName, "execute", params, sig);
    ....the fallow errors appears Error thrown in operation execute
         at com.sun.jmx.mbeanserver.StandardMetaDataImpl.invoke(Unknown Source)
         at com.sun.jmx.mbeanserver.MetaDataImpl.invoke(Unknown Source)
         at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(Unknown Source)
         at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(Unknown Source)
         at Source)
         at$100(Unknown Source)
         at$ Source)
         at Source)
         at Source)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at sun.rmi.server.UnicastServerRef.dispatch(Unknown Source)
         at sun.rmi.transport.Transport$ Source)
         at Method)
         at sun.rmi.transport.Transport.serviceCall(Unknown Source)
         at sun.rmi.transport.tcp.TCPTransport.handleMessages(Unknown Source)
         at sun.rmi.transport.tcp.TCPTransport$ Source)
         at Source)
         at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(
         at sun.rmi.transport.StreamRemoteCall.executeCall(
         at sun.rmi.server.UnicastRef.invoke(
         at com.sun.jmx.remote.internal.PRef.invoke(Unknown Source)
         at Source)
    Caused by: java.lang.NoClassDefFoundError: com/ibm/mq/constants/MQConstants
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at com.sun.jmx.mbeanserver.StandardMetaDataImpl.invoke(Unknown Source)
         at com.sun.jmx.mbeanserver.MetaDataImpl.invoke(Unknown Source)
         at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(Unknown Source)
         at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(Unknown Source)
         at Source)
         at$100(Unknown Source)
         at$ Source)
         at Source)
         at Source)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at sun.rmi.server.UnicastServerRef.dispatch(Unknown Source)
         at sun.rmi.transport.Transport$ Source)
         at Method)
         at sun.rmi.transport.Transport.serviceCall(Unknown Source)
         at sun.rmi.transport.tcp.TCPTransport.handleMessages(Unknown Source)
         at sun.rmi.transport.tcp.TCPTransport$ Source)
         at Source)The most important line in this error is:
    Caused by: java.lang.NoClassDefFoundError: com/ibm/mq/constants/MQConstants
    Because this is de MQ jar that i need.
    I try to set this into server class path, but doesn't work.
    Somebody knows how i fix this?

    And your server has this FileObject class on its classpath, does it?

  • WLS :: Will Vista web client work with Weblogic Server 8.1.6 over SSL?

    I have installed 51-2 bit SSL cert on weblogic 7 and found that the secure site doesn't work on Vista web client.
    Weblogic gives error in handshaking and says algorithm is not supported.
    Vista web client uses some algorithms which were not supported by weblogic 7.
    So would like to know if would Vista web client work with Weblogic Server 8.1.6 over SSL?
    Any information in this regard would be helpful.
    Thanks in Advance.

    can you use the following debug flags in the weblogic server as java_options and paste the complete ssl handshake exception here.

  • Client Server Application with images or icons

    I made a Client Server application with JFrames, but I put a jLabel with an icon, and I can't run the Client.
    It says java.lang.NullPointerException
    Do you know why I can't see the icon in the JLabel? It isn't an applet, it's an application with JFrames.

    You have to explain the problem better if you want some help. Also show the code which is giving you the nullpointerexception(Do not forget codetags!).

  • Can we run oracle Forms 5 Application with 10G in Client/Server?

    Hi All,
    Can we run oracle Forms 5 Application with 10G in Client/Server

    In theory you can run it 2 tier - which means that you have the client (the machine the user is sitting at) being the same machine in which the forms application server is running. So yes. But specifically, we don't support a client server runtime anymore. 6i was the last version.
    With 10g you will be running through a browser.

Maybe you are looking for