Controlling the desktop through http

i would like to control the desktop through http. is this possible? i think the robot class can be used here but i do not know how can i connect from a different pc. i also think that i have to make a server for the pc that i want to control. can someone guide me through this? and can i view the desktop? e.g.: if a video is playing in the remote desktop, can i also see the video? thanks

anyone?

Similar Messages

  • I want to make a slideshow to view on my television with image's duration ranging from seconds to an hour or more and I want to use my iPhone or iPad mini to control the television through my Apple tv.  I've been unable to locate an app that will do this.

    I want to make a slideshow to view on my television with image's duration ranging from seconds to an hour or more and I want to use my iPhone or iPad mini to control the television through my Apple tv.
    I've been unable to locate an app that will do this.  The Photos app that comes with the phone or iPad has extremely limited duration controls.  PhotoStream seems to load everything from my phone or iPad not allowing me to just load up a set group of images.
    iPhoto for iPad is getting some terrible recent reviews.  I tried a couple other free apps but they don't use Airplay.
    I can do something like this with iPhoto and my MB Air, but it's kind of ugly to have the computer open in order to connect by Airplay to my Apple TV.  I've thought the iPad or iPhone would be a lower profile controller.
    Am I out of luck?

    Thanks for your help.  Since I'm uninterested in loading all my photos (the only option) into photostream, I won't be able to use the settings in ATV.  I guess I'm just stuck with using iPhoto on my MB Air.  Thanks again.
    paul

  • How can  we see the desktop through a java frame by using JNI?

    How to make a java frame transparent( so that we can see the desktop through it) by JNI? I have seen some code to take a snapshot of the desktop. But is there any code so that the desktop is fully or partially visible through a frame?
    laks

    Please take your time to write full words: "you" instead of "u", "your" instead of "ur". It makes your posts a lot easier to read, especially for those of us who don't have English as their native language.
    You can not really "modify" the behaviour of a method by using a proxy, but you can create a proxy, direct all but one method to the original method and provide a separate implementation for the target method.
    This way you'll have two objects with the same interface (not only in the Java sense, but all methods look the same), but differing behaviour: the original object and the proxy.
    Now if you pass around the proxy instead of the original object, then it'll look as if you changed the behaviour of your object.

  • I am looking to control a 4-way hydraulic solenoid valve. Do I need a PID control toolset, or can i control the system through my 16E4 daq card and scxi chasis

    I am looking to control a 4-way hydraulic solenoid valve. Do I need a PID control toolset, or can i control the system through my 16E4 daq card and scxi chasis

    I think you're asking 2 different questions.
    The PID control toolset is for using PID loops for control; it's just software.
    The DAQ card and scxi chassis are hardware. If you have the appropriate signal conditioning cards in your chassis to control/monitor your solenoid valve, then you can run a PID loop.
    I believe the simple answer is: the PID control toolset is the best way to do control, but there are simple PID VI's (even on this website) that you can download and use for simple control.
    Mark

  • Downloading the file through http.

    Had anyone tried to download the zip file through http. If anyone had, please help to approach this.Thanks in advance.
    Also the way to unzip the downloaded file.

    Thank u for reply.I am trying to download the content of the xml file and download using NSUrl and parse it using NSXmlParser.I would like to know is there any way to handle the huge amount to be downloaded.

  • Can you share the desktop through Apple TV

    Curious? What all can you push to the TV screen.  Can you push the desktop to the TV?

    No, you can't share the desktop.
    AppleTv does not mirror video content it actually decodes compatible media streams pushed/pulled to it or accessed via the internet.
    Check the AppleTV specs/write up.

  • I have a Mac Pro Mid 2010 and Mac Pro Mid 2012, both running OS 10.8.5. When working in Illustrator the Display starts to make my Document trasparent and I can see the desktop through my document. I have to toggle my display res back and forth to fix it?

    I have a Mac Pro Mid 2010 and 2012 both running OS 10.8.5. Both using ATI Radeon HD 5770 1052 MB vid cards.
    Using the standard Display that came with the Macs, everytime I'm working in Ilustrator CS5 or 6, the Document I am working on gets transparent, and I when I try to move a pallete or the Document itself, the pallet or doc leaves trails from where it was to where I moved it. The only way I can resolve it is to open the Display prefs, choose a lower res, then switch it back to the "Best for Display" option. This started happening on both machines after the 10.8.5 update. I have since gone through all the Pram and Board resets, even had Apple replace the Vid Card and nothing helps. Anybody have this issue. It only happens in Illustrator.

    Hi Marco@JustALittle,
    I really apologise for the inconvenience.
    I will have someone from the senior team reach out to you shortly.
    Can you please send a private message to me with your contact number and the best time to reach you.
    If you dont know how to do that refer : http://forums.adobe.com/thread/1184148

  • Control the desktop on which startup apps appear?

    I have three desktop spaces on each of two displays, for six desktops total.
    I see how to assign each app to it's own display, but is there also a way to designate which desktop?
    Thank you and have a lovely day.

    With your apps launched, go to each one and right-click on it's dock icon and select 'this desktop' under the options.

  • RMI Controlling the Ports

    How can i control the ports through firewall
    please help me by seeing the client and server class
    Server Class
    package common.server;
    import java.io.*;
    import java.rmi.*;
    import java.rmi.server.*;
    import java.rmi.registry.*;
    import java.util.*;
    import common.biz.user.*;
    import common.message.*;
    import common.resource.*;
    import common.util.*;
    import common.setup.*;
    import common.service.*;
    //import common.server.*;
    import common.database.*;
    import common.partner.*;
    import common.comms.*;
    import common.exception.*;
    import common.message.*;
    import corpln.utilclass.*;
    import custiden.biz.*;
    import logon.util.*;
    import logon.gui.*;
    public class MulticastServerImpl extends UnicastRemoteObject
         implements SvcMulticastServerIntf {
         Variables
         private boolean checkLogon = true;
         protected Environment environment;
         private SysComponentID serverComponentID;
         protected StdServerServices stdServerServices;
         protected DBResourceMgr dbResourceMgr; // database resources management e.g. DB connection management
         protected CommsMgr commsMgr ; // communications management
         protected ServerPartnerMgrIntf serverPartnerMgr; // manages list of partners with whom server communicates
         //protected Environment environment;
         private ErrMsg errMsg ;
         private static String SERVER_STARTUP_ERR_MSG_K =" Unable To start up server ";
         private static String CANNOT_LOCATE_REGISTRY_MSG_K =" Cannot locate registry";
         private ClientMonitor clientMonitor = null;
         protected CheckPassword checkPassword = null;
         protected AccessProfile accessProfile = null; // object to check access to trans from sec server
         private ParaTab _ParaTab      = null;
         int port=0;
         Constants
         private static int MAX_NO_OF_CLIENTS = 100;
         private int curMaxNoOfClients = 0;
         private static String UNABLE_TO_CONNECT_MSG_K = "Unable to Connect to ";
         private static String MAX_CLIENT_EXCEEDED_MSG_K = "Maximum number of users exceeded:";
         private static String UNABLE_TO_DISCONNECT_MSG_K = "Unable to disconnect";
    CustomRMIFactory mysoc;
         Constructors
         //not in use
         public MulticastServerImpl () throws RemoteException {} ;
         //not in use
         public MulticastServerImpl (String parameterFileName, SysComponentID _serverComponentID) throws RemoteException {
              serverComponentID = _serverComponentID;           
              RetnCd retnCd = initServer(parameterFileName,_serverComponentID,MAX_NO_OF_CLIENTS,true); //inits default server settings
              if (retnCd.isError()) {
                   System.out.println(SERVER_STARTUP_ERR_MSG_K + " "+ _serverComponentID.getSysName()+ retnCd.getMsg());
                   System.exit(0);}
         //Other servers that requires MQ e.g. CustProfileServerImpl
         public MulticastServerImpl (String parameterFileName,SysComponentID serverComponentID, int curMaxNoOfClients) throws RemoteException {
              serverComponentID = _serverComponentID;
              RetnCd retnCd = initServer(parameterFileName,_serverComponentID,_curMaxNoOfClients, true);
              if (retnCd.isError()){
              System.out.println(SERVER_STARTUP_ERR_MSG_K + " "+ _serverComponentID.getSysName() + retnCd.getMsg());
                   System.exit(0);
         //PrintServerImpl
         public MulticastServerImpl (String parameterFileName,SysComponentID serverComponentID, int curMaxNoOfClients, boolean initMQ) throws RemoteException {
              serverComponentID = _serverComponentID;
              RetnCd retnCd = initServer(parameterFileName,_serverComponentID,_curMaxNoOfClients, initMQ);
              if (retnCd.isError()){
              System.out.println(SERVER_STARTUP_ERR_MSG_K + " "+ _serverComponentID.getSysName() + retnCd.getMsg());
                   System.exit(0);
         private RetnCd initServer(String parameterFileName, SysComponentID serverComponentID, int curMaxNoOfClients, boolean initMQ){
              if (parameterFileName.equals("")) {
                   printConsoleMsg("Parameter file name not supplied. Server cannot be started");
              printConsoleMsg("Starting server");
              BillUtilities.setOutputToFile(_serverComponentID.getSysName());
              RetnCd retnCd = new RetnCd();
              _ParaTab = new ParaTab();
              try {
              //Environment.setProcStatusDate(new Date()); // to get from file
              Environment.setProcStatusDate(BillUtilities.convertStrToDate(_ParaTab.getProcStatusDate()));
              printConsoleMsg("Current logical date :"+ Environment.getProcStatusDate());
              stdServerServices = new StdServerServices(_serverComponentID,
                   _curMaxNoOfClients, initMQ);
              } catch (ServerStartupEx ex){
                   retnCd.setError(ex);
                   System.out.println(retnCd.getMsg());
                   return retnCd;
    } catch (Exception e){
                   retnCd.setError(e);
                   System.out.println(retnCd.getMsg());
                   return retnCd;
              } //catch
         dbResourceMgr = stdServerServices.getDBResourceMgr();
         printConsoleMsg("Database resource manager started");
         //check for MQ initialization
         if(initMQ)
         commsMgr = stdServerServices.getCommsMgr();
         printConsoleMsg("Communications resource manager started");
         serverPartnerMgr = stdServerServices.getPartnerMgr();
         //environment = new Environment();
         clientMonitor = new ClientMonitor(serverPartnerMgr);
         Environment.setOrgCd(Environment.getPara(ConfigResrcek.ORG_CD_K));
         clientMonitor.start();// start monitor to track number of logon clients
         printConsoleMsg("Client monitor started");
    printConsoleMsg("Attaching to security server");     
         retnCd = attachSecurityServer();
         printConsoleMsg(retnCd.getMsg());
         String xcheckLogon = Environment.getPara(ConfigResrcek.CHECK_LOGON_AT_SERVER_K);
         System.out.println(xcheckLogon);
         if (xcheckLogon.equals("false") )
              checkLogon = false;
         else
              checkLogon = true;
         printConsoleMsg("Logon is "+ checkLogon);
              return retnCd;
         }// initServer
         // manages list of partners with whom server communicates System.out.println("Server " + serverComponentID.getSysName()+ " started with " + curMaxNoOfClients + " clients" + environment.getSysDate().toString() );
         Common Server Methods implemented
    // connection from client
    // retnCd contains the client's PartnerToken session object
         public final RetnCd connect(ServerPartnerImpl _newServerPartner) throws RemoteException{
              printConsoleMsg("New Client detected ");
              RetnCd retnCd = new RetnCd();
              retnCd = checkValidToken( (PartnerTokenImpl)_newServerPartner );
              if (retnCd.isSuccess()){
              PartnerTokenImpl clientToken = new PartnerTokenImpl();
              String partnerID = "";
              // request partner manager to add
              try{
              retnCd = serverPartnerMgr.addPartner(_newServerPartner); // add new connection as partner
              if (retnCd.isSuccess()){
                   partnerID = ((String)retnCd.getObj()); // client's partner ID assigned by the server
              clientToken.setLogonProcDateTimeAtServer(Environment.getProcStatusDate());
              clientToken.setLogonSysDateTimeAtServer(Environment.getSysDate()); //set server logon date and time
              clientToken.setClientIDAtServer(partnerID); //set client partner ID assigned by server
              clientToken.setServerSysComponentID(serverComponentID); //set server ID in component
              _newServerPartner.getClientCallback().dispMsg("Connected as "+partnerID + " to "+ getServerName());
              retnCd.setObj(clientToken);
              } catch (TablFullException tex){
                   retnCd.setError(tex);
                   retnCd.setMsg(UNABLE_TO_CONNECT_MSG_K + getServerName() MAX_CLIENT_EXCEEDED_MSG_K
                        tex.getMaxUsers() );
                   return retnCd;
              }//tablFullException
              catch (Exception ex){
                   retnCd.setError(ex);
                   retnCd.setMsg(UNABLE_TO_CONNECT_MSG_K + getServerName());
                   return retnCd;
              } // exception
              } // retncd.isSuccess()
              printConsoleMsg(retnCd.getMsg());
              return (retnCd);
         public final RetnCd disconnect(PartnerTokenImpl _partnerToken) throws RemoteException {
              RetnCd retnCd = new RetnCd();
              try {
    retnCd = serverPartnerMgr.removePartner(_partnerToken); // request partner manager to remove partner
              } catch (ObjNotFound ex){
                   retnCd.setError(ex);
                   retnCd.setMsg(UNABLE_TO_DISCONNECT_MSG_K);
              } //catch
              return retnCd;
         } // disconnect
    public final RetnCd isServerActive() throws RemoteException{
         RetnCd retnCd = new RetnCd();
         retnCd.setSuccess();
         return retnCd;
    public final RetnCd shutDown() throws RemoteException{
         RetnCd retnCd = new RetnCd();
         System.out.println("MulticastServerImpl about to shutdown...");
         broadcastMsg("SERVER IS SHUTTING DOWN ........NOW");
         System.exit(0);
         retnCd.setSuccess();
         return retnCd;
    public final RetnCd prepareShutDown(int minutes) throws RemoteException{
         RetnCd retnCd = new RetnCd();
         broadcastMsg("SERVER IS SHUTTING DOWN ........IN "+minutes + " MINUTES");
         retnCd.setSuccess();
         return retnCd;
    private final void broadcastMsg(String msg) throws RemoteException{
              int x = 0;
              int numOfClient = 0;
              RetnCd retnCd ;
              StdTbl copyOfPartnerList = null;
              String partnerID;
              do{
              copyOfPartnerList = serverPartnerMgr.getPartnerListSnapshot();
              numOfClient = copyOfPartnerList.size();
              if ((numOfClient)>0){
                   copyOfPartnerList.goTop();
                   while (!copyOfPartnerList.isEOTbl()) {
                        try{
                        ServerPartnerImpl partner = ((ServerPartnerImpl)
                             (copyOfPartnerList.getCurrent()));
                        partnerID = partner.getClientPartnerID();
                   retnCd = sendMsg(partner,msg);
                        } catch (Exception ex){ex.printStackTrace(); break;};
                   copyOfPartnerList.skip();
                   } //while
                   copyOfPartnerList.endSeqProc();
                   //completed sending
                   break;               
              } //if
              else break;
              } while (true); //endless loop until interrupted
         }//broadcastMsg
    public final void sendMsgToClient(StdTbl usrList, String msg) throws RemoteException{
              usrList.goTop();
         while (!usrList.isEOTbl()) {
              try{
                   String usr = (String)usrList.getCurrent();
              sendMsgToClient(usr,msg);
    } catch (Exception ex){ex.printStackTrace(); break;};
                   usrList.skip();
              } //while
              usrList.endSeqProc();
              //completed sending
    private final void sendMsgToClient(String usr, String msg) throws RemoteException{
              int x = 0;
              int numOfClient = 0;
              RetnCd retnCd ;
              StdTbl copyOfPartnerList = null;
              String partnerID;
              do{
                   copyOfPartnerList = serverPartnerMgr.getPartnerListSnapshot();
              numOfClient = copyOfPartnerList.size();
              if ((numOfClient)>0){
              copyOfPartnerList.goTop();
              while (!copyOfPartnerList.isEOTbl()) {
                   try{
              ServerPartnerImpl partner = ((ServerPartnerImpl)
                   (copyOfPartnerList.getCurrent()));
                   //send for specific user
                   if(!partner.getClientSysComponentID().isSysClient()) {
                   if(((partner.getUser()).getLogonID()).equals(usr)){
                        partnerID = partner.getClientPartnerID();
                   retnCd = sendMsg(partner,msg);
                   }// end check that it is not a system client
              } catch (Exception ex){ex.printStackTrace(); break;};
              copyOfPartnerList.skip();
              } //while
              copyOfPartnerList.endSeqProc();
              //completed sending
              break;               
              } //if
              else break;
              } while (true); //endless loop until interrupted
         }//broadcastMsg
         private RetnCd sendMsg(ServerPartnerImpl _partner, String msg){
              RetnCd retnCd = new RetnCd();
              //send msg to application clients only
              if(!_partner.getClientSysComponentID().isSysClient()) {
              try {
                   System.out.print("Send Msg to " + _partner.getClientPartnerID());
              retnCd = _partner.getClientCallback().isClientUp();
              System.out.println("is active");
    partner.getClientCallback().dispMsg("Client:"+partner.getClientPartnerID()+" Message from Server:"+ serverPartnerMgr.getServerName() +" " +(new Date()).toString() + " "+msg);
              catch (Exception ex) {
                   System.out.println("is not active");
              retnCd.setError(ex);
              return retnCd;
         } //pollActiveClient
         public final String getServerName() throws RemoteException{ return serverComponentID.getSysName();}     
    public final Date getProcDate() throws RemoteException {
         return Environment.getProcStatusDate();
    public final Date getSysDate() throws RemoteException {
         return Environment.getSysDate();
         Supporting / utility methods for server setup
    protected final RetnCd rebindServer(SysComponentID serverComponentID,Remote _server){
         RetnCd retnCd = new RetnCd();
         try {
                   //if (port==0)
                   //     port=5000;
              //     if (port==5099)
              //          System.out.println("Users exceeded");
              //     }else
              //     port=port+1;     
              //     mysoc = new CustomRMIFactory ("localhost",port);
              //     System.out.println("PORT" +port);
              //     RMISocketFactory.setSocketFactory(mysoc);
         String RMIURL = Environment.getPara(ConfigResrcek.RMI_REGISTRY_CONF_K);
         Registry r = LocateRegistry.getRegistry(RMIURL);
              // Registry r = LocateRegistry.createRegistry(port,mysoc,mysoc);
         printConsoleMsg("Registry located at "+ RMIURL);
              //_server=new Remote(mysoc);
         //     UnicastRemoteObject.exportObject(_server,0,mysoc,mysoc);
         String componentName = serverComponentID.getSysName();
         r.rebind(componentName, _server);
         printConsoleMsg("Server Bound: " + componentName);
         String[] serverList = r.list();
         printServerList(serverList);
         retnCd.setSuccess();
         }catch (RemoteException rex){
              rex.printStackTrace();
              retnCd.setError(rex);
         }//RemoteException
         catch (Exception ex){
              ex.printStackTrace();
              retnCd.setError(ex);
         }//Exception
         return retnCd;
    } //rebindServer     
         protected void printHeader(String msg){
         printConsoleMsg("########################################################################");
         printConsoleMsg(msg);
    printConsoleMsg("########################################################################");
         protected void printHeader(String msg,RetnCdSQL ret){
         printConsoleMsg("########################################################################");
         printConsoleMsg(msg);
    printConsoleMsg("########################################################################");
    System.out.println(ret.isSuccess());
         protected void printConsoleMsg(String msg){
         String dateStr = new Date().toString();
         System.out.println(dateStr + serverComponentID.getSysName()+" --> " + msg);
         private void printServerList (String [] _serverList){
              System.out.println("List of objects in RMI Reg");
              for (int x = 0; x< _serverList.length; x++){
                   System.out.println(_serverList[x]);
              } //for
    private boolean isCheckLogon(){ return checkLogon;}
         private RetnCd attachSecurityServer(){
         checkPassword = new CheckPassword("",""); // no user id, password reqd as need to init object only, pwd reqd for initial connection
    RetnCd retnCd = checkPassword.connectToServer(); // connect to security server
         System.out.println("From MulticastServerImple" +retnCd);
         return retnCd; // connect to server
         protected synchronized RetnCd checkValidToken(PartnerTokenImpl partnerToken){
              // calls the security server to check if valid profile
              RetnCd retnCd = new RetnCd();
              if (isCheckLogon() && !partnerToken.getClientSysComponentID().isSysClient()){
              printConsoleMsg("Checking access for "+ partnerToken.getClientSysComponentID ().getSubComponentID() +" for "+ partnerToken.getUser().getLogonID());
              //RetnCd retnCd = accessProfile.checkAccess(partnerToken.getUser(),
              //     partnerToken.getClientSysComponentID ().getSubComponentID());
              retnCd =partnerToken.getUser().isValid();
    if (retnCd.isSuccess()){
         AccessProfile accessProfile = new AccessProfile(checkPassword.getAccessCSoc()); // this is the handle for security server access
    retnCd = accessProfile.checkAccess(checkPassword.getAccessCSoc(), partnerToken.getUser(),partnerToken.getClientSysComponentID ().getSubComponentID() );
              } else {retnCd.setSuccess();retnCd.setMsg("Logon check is disabled");}
              printConsoleMsg(retnCd.getMsg());
              return retnCd;
    /* methods defined in SvcUnicastServerIntf but need not be implemented here */
    public RetnCd retrCustIden(CustIden _CustIden)  throws RemoteException{ return null;}
    public RetnCd print (ArrayList list, PartnerTokenImpl partnerToken)
         throws RemoteException{ return null;}
    }//end-MulticastServerImpl
    Client class
    // Class : MulticastServerImpl.java
    package common.server;
    import java.io.*;
    import java.rmi.*;
    import java.rmi.server.*;
    import java.rmi.registry.*;
    import java.util.*;
    import common.biz.user.*;
    import common.message.*;
    import common.resource.*;
    import common.util.*;
    import common.setup.*;
    import common.service.*;
    //import common.server.*;
    import common.database.*;
    import common.partner.*;
    import common.comms.*;
    import common.exception.*;
    import common.message.*;
    import corpln.utilclass.*;
    import custiden.biz.*;
    import logon.util.*;
    import logon.gui.*;
    public class MulticastServerImpl extends UnicastRemoteObject
         implements SvcMulticastServerIntf {
         Variables
         private boolean checkLogon = true;
         protected Environment environment;
         private SysComponentID serverComponentID;
         protected StdServerServices stdServerServices;
         protected DBResourceMgr dbResourceMgr; // database resources management e.g. DB connection management
         protected CommsMgr commsMgr ; // communications management
         protected ServerPartnerMgrIntf serverPartnerMgr; // manages list of partners with whom server communicates
         //protected Environment environment;
         private ErrMsg errMsg ;
         private static String SERVER_STARTUP_ERR_MSG_K =" Unable To start up server ";
         private static String CANNOT_LOCATE_REGISTRY_MSG_K =" Cannot locate registry";
         private ClientMonitor clientMonitor = null;
         protected CheckPassword checkPassword = null;
         protected AccessProfile accessProfile = null; // object to check access to trans from sec server
         private ParaTab _ParaTab      = null;
         int port=0;
         Constants
         private static int MAX_NO_OF_CLIENTS = 100;
         private int curMaxNoOfClients = 0;
         private static String UNABLE_TO_CONNECT_MSG_K = "Unable to Connect to ";
         private static String MAX_CLIENT_EXCEEDED_MSG_K = "Maximum number of users exceeded:";
         private static String UNABLE_TO_DISCONNECT_MSG_K = "Unable to disconnect";
    CustomRMIFactory mysoc;
         Constructors
         //not in use
         public MulticastServerImpl () throws RemoteException {} ;
         //not in use
         public MulticastServerImpl (String parameterFileName, SysComponentID _serverComponentID) throws RemoteException {
              serverComponentID = _serverComponentID;           
              RetnCd retnCd = initServer(parameterFileName,_serverComponentID,MAX_NO_OF_CLIENTS,true); //inits default server settings
              if (retnCd.isError()) {
                   System.out.println(SERVER_STARTUP_ERR_MSG_K + " "+ _serverComponentID.getSysName()+ retnCd.getMsg());
                   System.exit(0);}
         //Other servers that requires MQ e.g. CustProfileServerImpl
         public MulticastServerImpl (String parameterFileName,SysComponentID serverComponentID, int curMaxNoOfClients) throws RemoteException {
              serverComponentID = _serverComponentID;
              RetnCd retnCd = initServer(parameterFileName,_serverComponentID,_curMaxNoOfClients, true);
              if (retnCd.isError()){
              System.out.println(SERVER_STARTUP_ERR_MSG_K + " "+ _serverComponentID.getSysName() + retnCd.getMsg());
                   System.exit(0);
         //PrintServerImpl
         public MulticastServerImpl (String parameterFileName,SysComponentID serverComponentID, int curMaxNoOfClients, boolean initMQ) throws RemoteException {
              serverComponentID = _serverComponentID;
              RetnCd retnCd = initServer(parameterFileName,_serverComponentID,_curMaxNoOfClients, initMQ);
              if (retnCd.isError()){
              System.out.println(SERVER_STARTUP_ERR_MSG_K + " "+ _serverComponentID.getSysName() + retnCd.getMsg());
                   System.exit(0);
         private RetnCd initServer(String parameterFileName, SysComponentID serverComponentID, int curMaxNoOfClients, boolean initMQ){
              if (parameterFileName.equals("")) {
                   printConsoleMsg("Parameter file name not supplied. Server cannot be started");
              printConsoleMsg("Starting server");
              BillUtilities.setOutputToFile(_serverComponentID.getSysName());
              RetnCd retnCd = new RetnCd();
              _ParaTab = new ParaTab();
              try {
              //Environment.setProcStatusDate(new Date()); // to get from file
              Environment.setProcStatusDate(BillUtilities.convertStrToDate(_ParaTab.getProcStatusDate()));
              printConsoleMsg("Current logical date :"+ Environment.getProcStatusDate());
              stdServerServices = new StdServerServices(_serverComponentID,
                   _curMaxNoOfClients, initMQ);
              } catch (ServerStartupEx ex){
                   retnCd.setError(ex);
                   System.out.println(retnCd.getMsg());
                   return retnCd;
    } catch (Exception e){
                   retnCd.setError(e);
                   System.out.println(retnCd.getMsg());
                   return retnCd;
              } //catch
         dbResourceMgr = stdServerServices.getDBResourceMgr();
         printConsoleMsg("Database resource manager started");
         //check for MQ initialization
         if(initMQ)
         commsMgr = stdServerServices.getCommsMgr();
         printConsoleMsg("Communications resource manager started");
         serverPartnerMgr = stdServerServices.getPartnerMgr();
         //environment = new Environment();
         clientMonitor = new ClientMonitor(serverPartnerMgr);
         Environment.setOrgCd(Environment.getPara(ConfigResrcek.ORG_CD_K));
         clientMonitor.start();// start monitor to track number of logon clients
         printConsoleMsg("Client monitor started");
    printConsoleMsg("Attaching to security server");     
         retnCd = attachSecurityServer();
         printConsoleMsg(retnCd.getMsg());
         String xcheckLogon = Environment.getPara(ConfigResrcek.CHECK_LOGON_AT_SERVER_K);
         System.out.println(xcheckLogon);
         if (xcheckLogon.equals("false") )
              checkLogon = false;
         else
              checkLogon = true;
         printConsoleMsg("Logon is "+ checkLogon);
              return retnCd;
         }// initServer
         // manages list of partners with whom server communicates System.out.println("Server " + serverComponentID.getSysName()+ " started with " + curMaxNoOfClients + " clients" + environment.getSysDate().toString() );
         Common Server Methods implemented
    // connection from client
    // retnCd contains the client's PartnerToken session object
         public final RetnCd connect(ServerPartnerImpl _newServerPartner) throws RemoteException{
              printConsoleMsg("New Client detected ");
              RetnCd retnCd = new RetnCd();
              retnCd = checkValidToken( (PartnerTokenImpl)_newServerPartner );
              if (retnCd.isSuccess()){
              PartnerTokenImpl clientToken = new PartnerTokenImpl();
              String partnerID = "";
              // request partner manager to add
              try{
              retnCd = serverPartnerMgr.addPartner(_newServerPartner); // add new connection as partner
              if (retnCd.isSuccess()){
                   partnerID = ((String)retnCd.getObj()); // client's partner ID assigned by the server
              clientToken.setLogonProcDateTimeAtServer(Environment.getProcStatusDate());
              clientToken.setLogonSysDateTimeAtServer(Environment.getSysDate()); //set server logon date and time
              clientToken.setClientIDAtServer(partnerID); //set client partner ID assigned by server
              clientToken.setServerSysComponentID(serverComponentID); //set server ID in component
              _newServerPartner.getClientCallback().dispMsg("Connected as "+partnerID + " to "+ getServerName());
              retnCd.setObj(clientToken);
              } catch (TablFullException tex){
                   retnCd.setError(tex);
                   retnCd.setMsg(UNABLE_TO_CONNECT_MSG_K + getServerName() MAX_CLIENT_EXCEEDED_MSG_K
                        tex.getMaxUsers() );
                   return retnCd;
              }//tablFullException
              catch (Exception ex){
                   retnCd.setError(ex);
                   retnCd.setMsg(UNABLE_TO_CONNECT_MSG_K + getServerName());
                   return retnCd;
              } // exception
              } // retncd.isSuccess()
              printConsoleMsg(retnCd.getMsg());
              return (retnCd);
         public final RetnCd disconnect(PartnerTokenImpl _partnerToken) throws RemoteException {
              RetnCd retnCd = new RetnCd();
              try {
    retnCd = serverPartnerMgr.removePartner(_partnerToken); // request partner manager to remove partner
              } catch (ObjNotFound ex){
                   retnCd.setError(ex);
                   retnCd.setMsg(UNABLE_TO_DISCONNECT_MSG_K);
              } //catch
              return retnCd;
         } // disconnect
    public final RetnCd isServerActive() throws RemoteException{
         RetnCd retnCd = new RetnCd();
         retnCd.setSuccess();
         return retnCd;
    public final RetnCd shutDown() throws RemoteException{
         RetnCd retnCd = new RetnCd();
         System.out.println("MulticastServerImpl about to shutdown...");
         broadcastMsg("SERVER IS SHUTTING DOWN ........NOW");
         System.exit(0);
         retnCd.setSuccess();
         return retnCd;
    public final RetnCd prepareShutDown(int minutes) throws RemoteException{
         RetnCd retnCd = new RetnCd();
         broadcastMsg("SERVER IS SHUTTING DOWN ........IN "+minutes + " MINUTES");
         retnCd.setSuccess();
         return retnCd;
    private final void broadcastMsg(String msg) throws RemoteException{
              int x = 0;
              int numOfClient = 0;
              RetnCd retnCd ;
              StdTbl copyOfPartnerList = null;
              String partnerID;
              do{
              copyOfPartnerList = serverPartnerM

    Hi,
    for firewall problems search this forum with keyword
    firewall.
    This thread seems to me very instructive:
    http://forum.java.sun.com/thread.jsp?forum=58&thread=151971
    Furthermore, search the forum with multihomed or multi-homed keywords, or even port.
    For port and interface control, this thread should be
    useful:
    http://forum.java.sun.com/thread.jsp?forum=58&thread=157864
    One solution is a custom socket factory.
    Btw, these are really FAQs ...
    Have fun,
    Klaus

  • Unattend.xml - 'creating' a file on the desktop

    I'm trying to create a very simple file on the desktop through unattend.xml.  This file will only open IE to a particular webpage.  For some reason it's being totally ignored.  I have verified that this works when run at a command prompt.
    This is running under oobeSystem pass under the Microsoft-Windows-Shell-Setup component.
    <FirstLogonCommands>
          <SynchronousCommand wcm:action="add">
            <CommandLine>CMD /C echo "C:\Program Files\Internet Explorer\iexplore.exe" "servername/page" > "%userprofile%\Desktop\Deploy.bat"</CommandLine>
            <Description>Initial imaging link</Description>
    <RequiresUserInput>false</RequiresUserInput>
            <Order>1</Order>
          </SynchronousCommand>
        </FirstLogonCommands>
    I've banged around with the command, tried dropping it in Public, some other things, but it just gets ignored regardless.  The rest of the oobeSystem pass is processed with no issues.
    Any idea what I am doing wrong?

    Hi,
    FirstLogonCommands specifies commands are run with elevated access privileges, if the users does not include administrative privileges, the commands may not be executed, pleaes see detailed information in the following link
    http://technet.microsoft.com/en-us/library/ff715886.aspx
    Yolanda Zhu
    TechNet Community Support

  • Does the desktop on the display match the desktop on the portable exactly?

    I just want to check before I go ahead and order the display and the new MBA whether the desktops of the two will match perfectly.
    The reason I am asking this is that I have been googling images of the display and in most of the pictures the display's desktop looks different to the desktop of the attached portable. This is also the case on Apple.com's site.
    In one display, the desktop looks the same but is missing the dock.
    I need to have the display showing the exact same desktop as my portable (Macbook Air 13 inch) including the dock. I know though the resolutions will be different so more of a web page will show up on the display. That is OK. That is the reason I am buying a display.
    Examples of how the desktops differ:
    http://www.thetechnologyblog.net/archives/category/mac-apple
    http://www.techfresh.net/http://www.techdigest.tv/computers/monitors/2.htmlapple -27-inch-led-cinema-display/
    http://www.macbookairreviews.com/category/macbook-pro/
    Thanks for clearing up any confusion over this.

    I need to have the display showing the exact same desktop as my portable (Macbook Air 13 inch) including the dock.
    Enable mirroring in the "Arrangement" tab of "Displays" system preference.
    I know though the resolutions will be different so more of a web page will show up on the display.
    No. With mirroring you will see only what is on the MacBook display. The screen will have black borders if its resolution is greater than the MacBooks's displau.

  • LXDE: managing folders on the desktop

    Hi,
    I've made a discovery: folders on the desktop are real folders, no 'labels'. If you delete them, they go, contents and all. On my brand new desktop there are two icons: 'My Documents' and 'KDE', the latter being the contents of my ~/Desktop directory.
    I understand that I can change 'KDE' permissions, but I'd prefer it just out of sight. Is there a way?

    Yes they are not shortcuts.  You can remove them by stopping pcmanfm from controlling the desktop.  It's an option chekbox within pcmanfm preferences.
    edit (assuming you are using pcmanfm that is..)
    Last edited by spoovy (2010-03-26 12:26:24)

  • Everything on the desktop has disappeared!

    Everything on my desktop has disappeared but you can still access the desktop through a new finder window. Does anyone know how I can make my items on my desktop including my hardrives to reappear?

    Certainly couldn't hurt to try Repairing Permissions.
    It's not guaranteed to solve your problems, but users here have seen RP fix many strange issues that normally wouldn't appear to be related to permissions.
    Open up Disk Utility, select your Hard Drive on the left side, and press the Repair Permissions button.
    Let that finish, then reboot your system and see if anything has improved.
    EDIT: You could also try trashing your Finder preferences altogether.
    Delete this file and reboot:
    HD > User > Library > Preferences > com.apple.finder.plist

  • Stop the softwares to capture the desktop

    hi
    is ther any way to stop the differnet software to capture the
    desktop through director
    i made the big application in the director and now i i want
    to make it secure so i wana to stop desktop capture
    is there any other language code whici i use in the director
    tell me how i will do this
    i m waiting for the response

    You will need to do a whole lot of research into each and
    every screen
    capture program in existence and find out from the
    manufacturer how to
    circumvent their product. So, basically, no. It is really
    naive to
    think that once a person has anything on their computer that
    they will
    not find a way to copy it or pieces of it if they want to. It
    is the
    reason that movie studios and record companies spend millions
    of dollars
    on copy protection when all it does is make the legitimate
    user's lives
    uncomfortable, and doesn't slow the pirates down at all. The
    best you
    can hope to do is block out the print screen button (as was
    answered in
    one of your numerous cross-posts) and thus block out the
    casual copier.
    Anyone who really wants to get a screenshot will be able to
    no matter
    what you try to do to prevent it.
    For instance, one could use a virtualization program like
    VMWare, open
    the program in the virtual machine, then take the screenshot
    from the
    host machine.
    Or one could open the program on one computer, then connect
    to it with a
    screen sharing program like NetMeeting and take a screenshot
    that way.
    You can remap the screen capture function of Windows to a
    different key
    combination.
    These are just off the top of my head. There are many other
    ways around
    it for someone who really wants to get around it.
    You can not stop it. Your best bet is to do your due
    diligence and
    prevent it from being too easy.

  • How can i control the I2C bus with Labview

    Hi
    How can i control the k8000 from http://www.velleman.be ( I2C bus) with
    Labview.
    all info is welcome.
    [email protected]

    if you are using Linux (and the Linux version of LabVIE W) it should be
    fairly easy to use the lm_sensors ( http://www.netroedge.com/~lm78/ )
    libraries and source code to control a device connected to a PC's I2C bus.
    Go here http://www.netroedge.com/~lm78/hardhack.html to see how to tap into
    the I2C bus of your PC. You may be able to apply info here to roll-your-own
    on a MS Windows 98 / 2000 OS.
    Chris
    "Wouters V" wrote in message
    news:39fff2de$0$4493$[email protected]..
    > Hi
    >
    > How can i control the k8000 from http://www.velleman.be ( I2C bus)
    with
    > Labview.
    > all info is welcome.
    >
    > [email protected]
    >
    >
    >
    >
    >

Maybe you are looking for

  • Loading Sales Org structure in to CRM

    Hi, If we copy the Org Units, Position, job and persons master data from HR then do we have to copy the sales structure again from SD? Should copied HR org structure be enough in CRM? Can you please explain at high level step-by-step on how to get an

  • PICEXPORT file type WMF

    Hi, I have problems using the following "PICEXPORT" sentence: Call PICEXPORT("C:\Test D9.WMF","WMF",1,768,1024) 1-  When saving a graphic in WMF format the resulting image dimensions are different than the requested on the sentence (768x1024) I'm doi

  • Use the Data Table of JSF, but only titles are display, not data show

    Hi, I create some simple example base on some of the tutorial online and modified myself to ensure no error. One of the tutorial that I refer is http://wiki.netbeans.org/DevelopJavaEE5App. I really wonder why my data never show in my jsp page, only s

  • [SOLVED]Presonus Audiobox USB - pops and crackles on sound output

    I've tried the suggestions at https://wiki.archlinux.org/index.php/Ad - SB_devices and http://askubuntu.com/a/206233 but it has made no difference at all. It happens fairly consistently, probably there are a few pops or crackles every 10 seconds or s

  • Portal down after upgrade from 10.1.2.2 to 10.1.2.3

    Hi Folks, The weekend we upgraded the infrastructure/mid-tier from 10.1.2.2 to 10.1.2.3 and did the same for the metadata repository. We noticed since then portal is down though OC4J_Portal is up. Any idea how the upgrade would cause this and how to