Custom jmx client and jconole

hi,
i have a problem with a custom jmx client. i am connecting to activemq running under camel.
this is the business part of the client :
url = new JMXServiceURL("service:jmx:rmi:///jndi/rmi://sandbox:1099/jmxrmi");
jmxc = JMXConnectorFactory.connect(url, null);
mbsc = jmxc.getMBeanServerConnection();
Set<ObjectName> beanNames = mbsc.queryNames(new ObjectName(
"org.apache.activemq:BrokerName=localhost,Type=Topic,Destination=ActiveMQ.Advisory.Consumer.Queue.a"), null);
MBeanAttributeInfo[] mBeanAttrInfo = mbsc
                              .getMBeanInfo(beanName).getAttributes();
MBeanOperationInfo[] mBeanOpInfo = mbsc.getMBeanInfo(beanName)
                              .getOperations();
                    for (int i = 0; i < mBeanAttrInfo.length; i++) {
                         MBeanAttributeInfo attInfo = mBeanAttrInfo;
                         echo("Attribute : " + attInfo.getName() + " Value : "
                                   +mbsc.getAttribute(beanName, attInfo.getName()));
so, i make the connection, retrieve the attributes and display them.
the problem is that, for the same address "service:jmx:rmi:///jndi/rmi://sandbox:1099/jmxrmi"
jconsole shows me attributes with a different value then my client. Not to mention that
the operations don't return anything.
any ideas on why the value of the attributes will be different between jconsole and my custom client ?
thanks

hi,
i have a problem with a custom jmx client. i am connecting to activemq running under camel.
this is the business part of the client :
url = new JMXServiceURL("service:jmx:rmi:///jndi/rmi://sandbox:1099/jmxrmi");
jmxc = JMXConnectorFactory.connect(url, null);
mbsc = jmxc.getMBeanServerConnection();
Set<ObjectName> beanNames = mbsc.queryNames(new ObjectName(
"org.apache.activemq:BrokerName=localhost,Type=Topic,Destination=ActiveMQ.Advisory.Consumer.Queue.a"), null);
MBeanAttributeInfo[] mBeanAttrInfo = mbsc
                              .getMBeanInfo(beanName).getAttributes();
MBeanOperationInfo[] mBeanOpInfo = mbsc.getMBeanInfo(beanName)
                              .getOperations();
                    for (int i = 0; i < mBeanAttrInfo.length; i++) {
                         MBeanAttributeInfo attInfo = mBeanAttrInfo;
                         echo("Attribute : " + attInfo.getName() + " Value : "
                                   +mbsc.getAttribute(beanName, attInfo.getName()));
so, i make the connection, retrieve the attributes and display them.
the problem is that, for the same address "service:jmx:rmi:///jndi/rmi://sandbox:1099/jmxrmi"
jconsole shows me attributes with a different value then my client. Not to mention that
the operations don't return anything.
any ideas on why the value of the attributes will be different between jconsole and my custom client ?
thanks

Similar Messages

  • Custom JMX MBeans not showing JRMC under Weblogic 10.3.1

    Hi,
    I have created some custom JMX MBeans and registered them with the Runtime MBean Server as described in the documentation in a ApplicationLifecycleListener. Even though the ObjectInstances I get back from the MBeanServer indicate that the MBean is registered, when I connect to the server using JRockit Mission Control I only see the standard Weblogic MBeans and my custom MBeans do not show.
    Side note, when I deploy my application in Weblogic 9.2.3 my custom MBeans do show in JRMC? Weird!!!! Both servers are in development mode and both are using JRockit as the JVM.
    Regards,
    Mark P Ashworth

    You should be able define a remote connection to the WLS MBean server in the JRMC Console in the same fashion as in JConsole. You will however loose a lot of functionality, since (I assume) the JVM MBeans in the platform MBean server will not be avilable from the WLS specific MBean server. Pretty much the only remaining tabs of interest will be MBean browser and the trigger tabs. I guess you could also redefine the other tabs to show WLS specific attributes of interest.
    If you wish to monitor the JVM MBeans in the platform MBean server together with the WLS MBeans, then you need to make WLS use the platform MBean server instead of its own, just like the previous entry suggested.

  • Can I run a Unique Clients and Users Summary report customized by both floor area and SSID?

    In Cisco Prime, can I run a Unique Clients and Users Summary report customized by both floor area and SSID?

    Allright guys. I appreciate the quick responses. I've worked a lot in CR however i am not understanding the solution so I'd appreciate if you can dumb it down for me. If i understand it correctly you guys are suggesting to make a formula, that either return my group by string (which is a formula in my report) or the Quantity. I tried writing a formula like this
    if ({@param} = 1 then
    GroupName ({@GroupBy})
    else
    {NetPNL.GrossAfterAdj}
    but it seems like CR does not allow you to return 2 different data types. Even if it had worked i would not know what to do from there. Can anyone please dumb it down for me. To make my situation more clear below is an example of how my data is..
    MN 100
    MN 200
    MN 50
    CA 300
    CA 500
    when the data shows in the report, its grouped by state, so it comes out like
    MN 350
    CA 800
    I want the users to decide whether they want it sorted by state  (ascending)
    CA 800
    MN 350
    or Total quantity (asc)
    MN 350
    CA 800

  • If custom programs, reports and FM are client independent

    Hi,
    If custom programs, reports and FM are client independent why we need to transport them and why they are not visible in other clients............
    Thanks,
    Tanmaya

    Yes Tanmaya you are right,
    Say You DI2 system & you have 410, 420 ,430 clients in it, then these objects will be visible in all these clients.
    say you have DI4 system 410, 420, 430 clients so you have to transport them to DI4 & to other sytems also like QD1, PD1 etc.
    Hope this clears your doubt.
    Close the thread if this solves your query.
    Regards
    Abhii

  • SSO between custom C++ application and web browser

    Hello.
    I have a bit of problems figuring out how to do SSO functionality between a Browser and a custom client (custom protocol over HTTP).
    I want it to work as follows: If the user logs in in the HTTP client, the user is already logged in in the custom client, and vice versa.
    I thought this could be implemented my reading and writing cookie values from the browser in my custom client, but it seems like the cookies set are all without expiration. IE handles these cookies private in a process, and so I can't get a hold of it.
    How do I implement SSO between clients if I can't base it on cookie values?
    Regards
    Kyrre.

    Any comment?

  • Async tcp client and server. How can I determine that the client or the server is no longer available?

    Hello. I would like to write async tcp client and server. I wrote this code but a have a problem, when I call the disconnect method on client or stop method on server. I can't identify that the client or the server is no longer connected.
    I thought I will get an exception if the client or the server is not available but this is not happening.
    private async void Process()
    try
    while (true)
    var data = await this.Receive();
    this.NewMessage.SafeInvoke(Encoding.ASCII.GetString(data));
    catch (Exception exception)
    How can I determine that the client or the server is no longer available?
    Server
    public class Server
    private readonly Dictionary<IPEndPoint, TcpClient> clients = new Dictionary<IPEndPoint, TcpClient>();
    private readonly List<CancellationTokenSource> cancellationTokens = new List<CancellationTokenSource>();
    private TcpListener tcpListener;
    private bool isStarted;
    public event Action<string> NewMessage;
    public async Task Start(int port)
    this.tcpListener = TcpListener.Create(port);
    this.tcpListener.Start();
    this.isStarted = true;
    while (this.isStarted)
    var tcpClient = await this.tcpListener.AcceptTcpClientAsync();
    var cts = new CancellationTokenSource();
    this.cancellationTokens.Add(cts);
    await Task.Factory.StartNew(() => this.Process(cts.Token, tcpClient), cts.Token, TaskCreationOptions.LongRunning, TaskScheduler.Default);
    public void Stop()
    this.isStarted = false;
    foreach (var cancellationTokenSource in this.cancellationTokens)
    cancellationTokenSource.Cancel();
    foreach (var tcpClient in this.clients.Values)
    tcpClient.GetStream().Close();
    tcpClient.Close();
    this.clients.Clear();
    public async Task SendMessage(string message, IPEndPoint endPoint)
    try
    var tcpClient = this.clients[endPoint];
    await this.Send(tcpClient.GetStream(), Encoding.ASCII.GetBytes(message));
    catch (Exception exception)
    private async Task Process(CancellationToken cancellationToken, TcpClient tcpClient)
    try
    var stream = tcpClient.GetStream();
    this.clients.Add((IPEndPoint)tcpClient.Client.RemoteEndPoint, tcpClient);
    while (!cancellationToken.IsCancellationRequested)
    var data = await this.Receive(stream);
    this.NewMessage.SafeInvoke(Encoding.ASCII.GetString(data));
    catch (Exception exception)
    private async Task Send(NetworkStream stream, byte[] buf)
    await stream.WriteAsync(BitConverter.GetBytes(buf.Length), 0, 4);
    await stream.WriteAsync(buf, 0, buf.Length);
    private async Task<byte[]> Receive(NetworkStream stream)
    var lengthBytes = new byte[4];
    await stream.ReadAsync(lengthBytes, 0, 4);
    var length = BitConverter.ToInt32(lengthBytes, 0);
    var buf = new byte[length];
    await stream.ReadAsync(buf, 0, buf.Length);
    return buf;
    Client
    public class Client
    private TcpClient tcpClient;
    private NetworkStream stream;
    public event Action<string> NewMessage;
    public async void Connect(string host, int port)
    try
    this.tcpClient = new TcpClient();
    await this.tcpClient.ConnectAsync(host, port);
    this.stream = this.tcpClient.GetStream();
    this.Process();
    catch (Exception exception)
    public void Disconnect()
    try
    this.stream.Close();
    this.tcpClient.Close();
    catch (Exception exception)
    public async void SendMessage(string message)
    try
    await this.Send(Encoding.ASCII.GetBytes(message));
    catch (Exception exception)
    private async void Process()
    try
    while (true)
    var data = await this.Receive();
    this.NewMessage.SafeInvoke(Encoding.ASCII.GetString(data));
    catch (Exception exception)
    private async Task Send(byte[] buf)
    await this.stream.WriteAsync(BitConverter.GetBytes(buf.Length), 0, 4);
    await this.stream.WriteAsync(buf, 0, buf.Length);
    private async Task<byte[]> Receive()
    var lengthBytes = new byte[4];
    await this.stream.ReadAsync(lengthBytes, 0, 4);
    var length = BitConverter.ToInt32(lengthBytes, 0);
    var buf = new byte[length];
    await this.stream.ReadAsync(buf, 0, buf.Length);
    return buf;

    Hi,
    Have you debug these two applications? Does it go into the catch exception block when you close the client or the server?
    According to my test, it will throw an exception when the client or the server is closed, just log the exception message in the catch block and then you'll get it:
    private async void Process()
    try
    while (true)
    var data = await this.Receive();
    this.NewMessage.Invoke(Encoding.ASCII.GetString(data));
    catch (Exception exception)
    Console.WriteLine(exception.Message);
    Unable to read data from the transport connection: An existing   connection was forcibly closed by the remote host.
    By the way, I don't know what the SafeInvoke method is, it may be an extension method, right? I used Invoke instead to test it.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Sequencing multiple versions of the VMWare vSphere client (and reducing the size of the final sequence)

    Application Name:  vSphere client
    Application Version:  4.1, 5.0, and 5.5 (all in one package)
    Company Name:  VMWare
    Sequencer Version:  5.0 SP1 or SP2
    App-V Client Version Tested On:  5.0, 5.0 SP1, 5.0 SP2
    Operating System Sequenced On:  Windows 7 (64bit)
    Pre-requisites:  Orca
    Client Operating Systems Successfully Deployed To:  Windows 7 (64bit), Windows Server 2008 (64bit)
    *Posted by non-Microsoft Employee:  Cody Lambert (a Fortune 100 company)
    If Posted by Microsoft Employee, the Corresponding KB Article Reference: 
    N/A
    Steps to Prepare and Sequence the Application:
    Phase 1:  Prepare vSphere install to be used in your sequence (to be performed prior to sequencing)
    Clear %TEMP% directory on machine you are using to prepare the install
    Create a folder that will be referred to as "vSphereInstDir"
    that install files are copied to
    Download the vSphere 5.5 client from your vSphere management server
    Run the installer for the vSphere Client
    Once at the Language Selection portion of the installer,
    using windows explorer browse to the %temp% directory and copy the files that were just created when the vSphere installer extracted to a directory (name it vSphereInstDir)
    Kill the installer
    Find VMware-viclient.exe in the files you just copied
    and run it
    Once at the "Welcome to the installation
    wizard" stage of the installer, using windows explorer browse to the %temp% directory and copy the files that were just created into the vSphereInstDir
    Kill the installer
    Find the VMware vSphere Client 5.5.msi in the vSphereInstDir,
    in the second set of files you copied over
    Using Orca, open the VMware vSphere Client 5.5.msi
    Drop the following rows from the msi (some of the rows may have additional text at the end of the names) (InstallExecuteSequence/VM_InstallHcmon,
    InstallExecuteSequence/VM_InstallHcmon_SetData,
    InstallExecuteSequence/VM_InstallUSB,
    InstallExecuteSequence/VM_InstallUSB_SetData,
    InstallExecuteSequence/VM_InstallUSBArbritrator,
    InstallExecuteSequence/VM_InstallUSBArbritratorSetData,
    InstallExecuteSequence/VM_StartUSBArbSvc) 
    Save the VMware vSphere 5.5.msi in place
    Copy the vSphereInstDir to a network location that
    can be used during sequencing on your Sequencer
    Phase 2:  Sequence the vSphere Client
    Pre-requisites:  All of the latest available VC++ redist (x64 and x86) are installed on the Sequencer VM
    Copy vSphereInstDir to your temporary install directory on your Sequencer (mine is C:\temp)
    Start up the Sequencer
    Click Create a New Virtual Application Package
    Click Next with Create Package (default) selected
    Click Next on the Prepare Computer screen, taking
    note of any findings
    Click Next with Standard Application (default) selected
    Choose Perform a custom installation, then click Next
    Input the Virtual Application name (vSphere Client
    5.5 for example)
    Enter the Primary Virtual Application Directory (C:\vSphere55
    for example) and click Next
    Using Windows Explorer find the Visual J# install (vjredist64.exe) in the vSphereInstDir you copied over.  Install using defaults
    Using Windows Explorer, find and install the vSphere client using the VMware vSphere Client 5.0.msi located in the vSphereInstDir you copied over. 
    Change the installation directory to use the Primary Virtual Application Directory you configured above (C:\vSphere55 for example).  Install using
    defaults
    While the sequencer is still monitoring changes connect to the 4.1 environment to get the files needed.  To do this, launch the vSphere client and connect
    to your 4.1 environment.  When prompted, choose RUN to install the files needed for the 4.1 environment.
    While the sequencer is still monitoring changes connect to the 5.0 environment to get the files needed.  To do this, launch the vSphere client and
    connect to your 5.0 environment.  When prompted, choose RUN to install the files needed for the 5.0 environment.
    With the sequencer still monitoring changes, after the additional environments have been installed, delete all of the language folders from the install locations
    that are not required.  You will find that there are language folders in each of the different modules that are installed.  Make sure look in every folder.  This will free up approximately 300mb from the package.
    When done, check the box to finish the sequence and continue cleaning up the sequenced application.
    Known Issues/Limitations: 
    Functions that require the USB Arbritration Service will not work
    Approximate Sequencing Time: 
    20 minutes
    Descriptive Tags: 
    App-V, 5.0, VMWare, vSphere, Recipe, Guidance
    Credit Due:  Thanks to Rorymon and Aaron Parker for accurate information that allowed for me to put together this recipe.

    Can you double check the that the following were removed from the MSI:
    InstallExecuteSequence/VM_InstallHcmon
    InstallExecuteSequence/VM_InstallHcmon_SetData
    InstallExecuteSequence/VM_InstallUSB
    InstallExecuteSequence/VM_InstallUSB_SetData
    InstallExecuteSequence/VM_InstallUSBArbritrator
    InstallExecuteSequence/VM_InstallUSBArbritratorSetData
    InstallExecuteSequence/VM_StartUSBArbSvc

  • I cannot route to remote subnets from cisco vpn client and pptp client

    Hi guys,
    I've a big problem, I configured a 877 cisco router as a cisco vpn server (the customer use it to connect to his network from pc) and a pptp vpn server (he use it to connet to the network from a smartphone).
    In this router I created 2 vlan, one for wired network (192.168.10.0/24) and the second one (10.0.0.0/24) for wireless clients and I use fastethernet 3 port to connect these to the router.
    this is the issue, when the customer try to connect to a wireless network from both of vpn clients he cannot do this, but if he try to connect to a wired network client all working fine.
    following the addresses taken from the router.
    - encrypted vpn client -
    ip address. 192.168.10.20
    netmask 255.255.255.0
    Default Gateway. none (blank)
    - pptp vpn client -
    ip address. 192.168.10.21
    netmask. 255.255.255.255
    Default Gateway. 192.168.10.21
    Is possible that I cannot reach the remote subnet because the clients doesn't receive a gateway (in the first case) or receive the wrong subnet/gateway (in the second one)..?
    There is anyone can help me..?
    Thank you very much.
    Many Kisses and Kindly Regards..
    Ilaria

    The default gateway on your PC is not the problem, it will always show as the same IP address (this is no different when you dial up to an ISP, your DG will again be set to your negotiated IP address).
    The issue will be routing within the campus network and more importantly on the PIX itself. The campus network needs a route to the VPN pool of addresses that eventually points back to the PIX.
    The issue here is that the PIX will have a default gateway pointing back out towards your laptop. When you establish a VPN and try and go to an Internet address, the PIX is going to route this packet according to its routing table and send it back out the interface it came in on. The PIX won't do this, and the packet will be dropped. Unless you can set the PIX's routing table to forward Internet packets to the campus network, there's no way around this. Of course if you do that then you'll break connectivity thru the PIX for all the internal users.
    The only way to do this is to configure split tunnelling on the PIX, so that packets destined for the Internet are sent directly from your laptop in the clear just like normal, and any packet destined for the campus network is encrypted and sent over the tunnel.
    Here's the format of the command:
    http://www.cisco.com/univercd/cc/td/doc/product/iaabu/pix/pix_62/cmdref/tz.htm#1048524

  • Cisco VPN Client and Border Manager

    Don't know if this is the correct spot, but here goes. We are using BM 3.8sp4 using proxy, and NAT. We have a contractor that needs to access his company network using a Cisco VPN Client Ver 5. They have Enable Transparent Tunneling checked in the client and IPSec over TCP port 1000.
    Is this a filter exception to let it out or something else I need to set up?

    Port 1000, or 10000? (10,000 is something I've seen in the past, and
    is what I used for the example in my BMgr filtering book. See URL
    below).
    You would probably need to open two ports up, in FILTCFG, from private
    to public interfaces. First, IKE-st (UDP 500). Next, make a custom
    stateful one for port 1000 (or whatever), probably UDP.
    The last Cisco IPSec VPN client I used through BMgr needed UDP 500 and
    UDP 4500 opened, just like the Novell IPSec VPN client. So I was able
    to use the definitions supplied by Novell in FILTCFG. In your case,
    you will probably have to add at least one custom exception.
    Filter debug will tell you what is being filtered, if you know how to
    use it. Or get PKTSCAN.NLM from download.novell.com, load it on the
    server, and capture packets. Look at them on the server, or use
    Wireshark, and you will see what protocol/ports are being sent from the
    client IP address.
    Craig Johnson
    Novell Support Connection SysOp
    *** For a current patch list, tips, handy files and books on
    BorderManager, go to http://www.craigjconsulting.com ***

  • SBO Client and Windows Vista in workgroup Licence error

    Hi!
    My customer runs B1 2004C. Network structure is workgroup. Client and server are in the same workgroup. XP users connect successfully, but new Vista user gets the licence error: "-2147024891 Access denied". DCOM and other customizations on the licence server are done like in SAP Notes. It doesn't help.
    I know Vista is not officially supported by 2004C B1, but i have several Vista users running SBO fine in domain structure. I think the trouble is in the workgroup.
    Thanks a lot!
    David.

    Hi David,
    some of the SAP Notes addressing DCOM access denied problem of 2004 releases.
    <b>Note 833798 - After Upgrade W2003 to SP1: Access denied -2147024891</b>
    Symptom
    After upgrading Windows 2003 server to SP1 you get the access denied error -2147024891
    Other terms
    license server, error -2147024891
    Reason and Prerequisites
    Upgrade to Windows 2003 server changes security settings
    Solution
    The problem is caused by SP1 for W2003 Server. You have to change the
    default configuration of the DCOM to enable clients to access license
    server again:
    1. go to "Start/run", type in "Dcomcnfg" and the Dcom configuration will open
    2. expand "Component Services"
    3. right click on "my computer", open "Properties"
    4. go to tab "Com Security"
    5. in "launch and activation permission" go to "edit limits" this
    button is new since SP1
    6. tick the boxes "remote launch" and "remote activation" for user
    "everyone"
    After that the clients can access the license server again, if all nescessary rights are give in the DCOM as well. When the changes described above did not take effect, please check this additionally:
    1. go to "Start/run", type in "Dcomcnfg" and the Dcom configuration will open
    2. expand "Component Services"
    3. Go to "SBOLicense", open "Properties" by right-clicking the mouse
    4. On register tab "Security" customize all permissions. Add all nescessary User accounts there. If you add i.e. User Group "Everyone" there, you will not have access right problems any longer, as every user belongs by default to this group.
    If that change does not take effect immediately, reboot the server.
    This note is permanently updated. If you have any comments or proposals tho improve it, please contact the SAP Business One Hotline and let us know.
    <b>Note 824976 - error -2147024891, access denied to license server</b>
    Symptom
    error -2147024891 when trying to connect with B1 client to license server on another computer The License mechanism needs a properly set up license server which is available over the network via DCOM interface to client computers. The necessary windows user rights must be assigned to client and server.
    Other terms
    Access denied, SAP Business One, License server
    Reason and Prerequisites
    Functionality description
    Solution
    1. Is the license server up and running?
    The B1 client on the license server computer should be started and logged into to ensure that there are no problems withs the license server itself. The B1 Server tools should be opened and the settings of the License Manager should be checked so that it is possible to connect by pressing the Connect button.
    2. Is the network connection between client and license server working?
    The server should be pinged via its IP-address for a response. Any firewalls should be disabled between client and license server for troubleshooting reasons as they can effectively block data packets which are needed for license mechanism. If a VPN is used between client and license server all ports should be available.
    3. Are necessary windows user rights in the domain given?
    We highly recommend to use B1 in a windows domain, as this is the only way to manage user accounts effectively. Domain user accounts have to be configured on the domain controller computer only. For troubleshooting reasons log in at the client with the windows domain administrator account, that should prevent the user from being blocked due to a lack windows user rights. According to our recommendations the users should be Power Users on the local computer.
    4. Are necessary windows user rights in a workgroup given?
    If the user is in a windows workgroup, the same user account should be configured with the same password on the license server and on each client computer as well. For troubleshooting reasons a local admin account should be configured on each of these computers. As account information is stored locally on each computer, username and password must be exactly the same on each of the machines. Login with this local administrator account. According to our recommendations the users should be Power Users on the local computer.
    5. Is DCOM installed and configured correctly?
    On the license server DCOM interface should to be installed and configured correctly. It is located under Control panel\administrative tools\ component service. Expand and in My Computer you will find DCOM Config\SBO License. Open its Properties and check configurations in Security tab. Add user accounts there, if needed.
    DCOM should be enabled on the Client machines and on the server(s). In the Component Services expand to My Computer and right click to open the Properties for My Computer. Go to the Default Properties tab and make sure that 'Enable Distributed COM on this computer' is ticked. If these settings are modifed a restart of the computer is needed for the changes to take effect.
    Br,
    Chris

  • Installation of SAP Business One client and required administration rights

    Dear community,
    I would like to kindly ask you for your feedback on the installation of SAP Business One client and its patches on end-user computers.
    The pain points I have heard so far are the following:
    - The installation of SAP Business One client and its patches has to be started by a user with administrator rights.  As far as I know (and please correct me if I am wrong), this is also required in case of installation of any other software.
    - End users usually do not have administrator rights and therefore the SAP Business One clients have to be manually upgraded by administrator.  This is time consuming (and therefore costly) activity.
    We are considering to design a new solution which would overcome the above limitations.
    I would like to confirm with you if my understanding is correct:
    Question 1:
    Is it a common situation that the end-users of SAP Business One client do not have administrator rights and therefore cannot install the patches of SAP Business One client by themselves?
    If yes, how do you resolve this currently?
    Question 2:
    Do you use Microsoft System Center Configuration Manager or Active Directory (or any other 3rd party solution) to automatically distribute software packages and updates to client PCs at your customers?
    Question 3:
    If the SAP Business One client installation (and its patches) is delivered as MSI package with silent installation capability, would you be able to automate the deployment of B1 client updates to client PC using the abovementioned technologies? Or can you still see some obstacles?
    Thank you
    Best regards
    Jan Ruzarovsky
    SAP Business One Product Management

    Dear all,
    Thank you very much for your comments, very helpful!
    @Marco - SAP Business One 8.8 client currently does not support the silent installation / upgrade. However we are currently considering this requirement and we would like to deliver it as soon as possible.
    We are currently considering several possible designs. One of them is as follows:
    1. A new SAP Business One Updater Service will be installed on each client workstation.
    It will be a windows service installed and running under a local system account.
    2. The updater service will check regularly if there are any new patches of SAP Business One client or add-ons uploaded to a configured shared directory.
    3. If a new patch is found in the shared directory, the updater service will SILENTLY install the new patch (add-ons, SAP Business One) on the client workstation.
    The service would be able to install patches even if nobody is logged in.
    Questions:
    If we consider the above design, there are a few open topics:
    1. During the upgrade of the SAP Business One server, the client patches (and SAP add-on patches, partner add-ons) would be placed to a SHARED directory instead of into SBO-Common (as it is implemented currently).
    - Does this have any impact on your tools, processes or add-ons?
    2. SAP Business One upgrade wizard will put the latest patch of SAP Business One client into a configured shared directory. The shared directory will have to be read-only for everybody in the network to avoid that the valid installation files are replaced by malware or virus infected files
    - Can you configure such a shared directory? 
    From customer perspective, if a new patch is put into the shared directory, the updater service can behave as follows:
    1. Manually initiated upgrade of the client
    Example: Customer starts the old (not upgraded) SAP Business One client. The client will inform him/her that a new patch has been found and it has to be installed in order to continue working with the client. After customer clicks "Yes", the upgrader service starts the silent installation of the client and informs customer about the progress. Once the upgrade is finished, the upgraded SAP Business One client will be started automatically.
    2. Automatic update:
       - Update the client automatically (e.g. overnight) if customer is not working with SAP Business One
       - If SAP Business One client is running, ask customer if he/she wishes to upgrade the client now or to delay the upgrade by X minutes.
    Question: Which of the above two scenarios would you and your customers prefer?
    If the upgrade is fully silent, automated and handled by the upgrader service, Is it acceptable for customers to trigger the installation manually and wait till the client is upgraded? Or would they prefer to have the client updated for them e.g. overnight so they can immediately start to work?
    Best regards
    Jan
    Edited by: Jan Ruzarovsky on Sep 29, 2010 9:37 AM

  • Is there an example of a confirmation order email that is sent to the client and also an example of an invoice that is sent to the client?

    Can there be an FAQ created by which it gives information to the client on the order process.  Example:  Client make purchase over the phone:
    1.  Confirmation email sent to the client with the order number that Adobe Direct Sales or Customer Service has communicated to the client -->Example of the order confirmation email in the FAQ
    2.  Example of an official invoice that is sent to the client.

    Thanks for your reply Olivia.
    I looked at the ActiveX Event Callback for Excel.vi and the subvi NewWorkbookCallback.vi in detail.
    I have a few questions/observations about it:
    1. The main program appears to open Excel so that LabVIEW is the ActiveX client and Excel is the ActiveX server. Is this correct?
    2. When the user opens a new Excel workbook, LabVIEW fills some cells. Again LabVIEW is the client and Excel is the server. Is this correct?
    I want to create a LabVIEW ActiveX server that receives and displays an array of booleans. Can anyone help me with this?

  • Custom process code and FM for custom IDoc...

    Hello Experts,
    I created a custom IDoc based from ARTMAS05 IDoc. This is because we only need 3 segments and
    the standard idoc(Artmas05) contains so many segments that we need.
    Now, will I create a custom process code and FM for this? how do I go about this?
    Thank you guys and take care!

    Hello,
                 Here are the Steps that we need to be following while creating a Custom Process Code with Custom Function Module. ( Since the Segments to be handled are very Less, I am recommending that you go for a Custom Function Module).
    1. Go to SE37 Create a Function Module. Please ensure to Create it with the IMPORT / EXPORT /TABLES parameters exactly in the way that they exist in any Standard SAP Inbound FM (Refer to IDOC_INPUT_ORDERS for example).
    2. Once our FM is Ready (Need not be Complete with the Code to go ahead with the Process Code Creation) and Active, the next Step is to Create an Entry in the Transaction Code BD51 where we will register the Function Module.
    3. Next, we'll have to go to T-Code WE57 where we'll have to make an entry for the Function Module with the IDoc Type & Message Type.
    4. Finally, go to WE42 and Create a New Process Code and assign the Function Module and the Message Type.
    NOTE 1 : The Process Code is, as we know, Client Dependent. So, once you create a Process Code, we need to have it migrated to the Testing Environment to Start & Carry Out Testing.
    NOTE 2: If Step 2 & 3 are missing, then we'll not be able to assign the Function Module in WE42 while Creating Process Code.
    Hope it was helpful.
    Thanks and Regards,
    Venkata Phani Prasad K

  • 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
    javax.management.RuntimeErrorException: 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 javax.management.remote.rmi.RMIConnectionImpl.doOperation(Unknown Source)
         at javax.management.remote.rmi.RMIConnectionImpl.access$100(Unknown Source)
         at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(Unknown Source)
         at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(Unknown Source)
         at javax.management.remote.rmi.RMIConnectionImpl.invoke(Unknown 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$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at sun.rmi.transport.Transport.serviceCall(Unknown Source)
         at sun.rmi.transport.tcp.TCPTransport.handleMessages(Unknown Source)
         at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
         at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:247)
         at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:223)
         at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:126)
         at com.sun.jmx.remote.internal.PRef.invoke(Unknown Source)
         at javax.management.remote.rmi.RMIConnectionImpl_Stub.invoke(Unknown Source)
         at javax.management.remote.rmi.RMIConnector$RemoteMBeanServerConnection.invoke(RMIConnector.java:972)
         at br.com.flexvision.mq.FlexJMXClient.connectMBClient(FlexJMXClient.java:67)
         at br.com.flexvision.mq.FlexJMXClient.main(FlexJMXClient.java:101)
    Caused by: java.lang.NoClassDefFoundError: com/ibm/mq/constants/MQConstants
         at br.com.flexvision.mq.beans.FlexMQStatistics.processFieldsTypes(FlexMQStatistics.java:209)
         at br.com.flexvision.mq.beans.FlexMQStatistics.execute(FlexMQStatistics.java:30)
         at br.com.flexvision.mq.beans.FlexMQStatistics.execute(FlexMQStatistics.java:25)
         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 javax.management.remote.rmi.RMIConnectionImpl.doOperation(Unknown Source)
         at javax.management.remote.rmi.RMIConnectionImpl.access$100(Unknown Source)
         at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(Unknown Source)
         at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(Unknown Source)
         at javax.management.remote.rmi.RMIConnectionImpl.invoke(Unknown 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$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at sun.rmi.transport.Transport.serviceCall(Unknown Source)
         at sun.rmi.transport.tcp.TCPTransport.handleMessages(Unknown Source)
         at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(Unknown Source)
         at java.lang.Thread.run(Unknown 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?

  • Custom Afaria Client not getting installed on IOS devices

    Hello,
    I am using Afaria SP4 in my organization with no hotfix applied
    I have created a custom Afaria Client App for IOS devices.
    I am succesfully able to enroll my IOS devices and install the custom app during enrollment,when i am trying to hit the system tenant.
    However,when i am trying to hit manually created tenants,enrollment is
    done and also the device is under MDM control,but custom Afaria client app is not getting installed during enrollment.
    I have attached the screenshot of the page where i have uploaded the ios afaria application in Afaria console.
    The error that i can see in the icu logs while enrolling ios device in manually created tenant is as follows-
    "The manifest for the app at
    http://65.240.141.130:23003/ps2/ps.svc/Package/Content/0435A04B083AB0E663FE410BBFE7238D31E6B113/7de2f89d-6cdf-458d-a68c-0bb72e616c68/3/Virt.Def.App.plist
    could not be validated"
    Please guide to resolve the issue.
    thanks and regards,
    Jigar Salecha

    I'm quite sure you need to set this up per tenant. Have you tried to upload the custom client to each tenant ?
    BR
    Peter

Maybe you are looking for