Stopping the player at the client machine independent of the server playing

can anyone help me i need to allow the client to stop a player independent of the server transmitting the movie. can anyone help me plz!!
here are rhe codes for the client and the client gui
import javax.swing.*;
import javax.swing.UIManager;
import java.awt.*;
import java.awt.event.*;
public class ClientChoice
     public static void main(String args[])
          try
                         UIManager.setLookAndFeel(UIManager.getCrossPlatformLookAndFeelClassName());
                    catch(Exception e)
     }//main
     JFrame frame=new JFrame("--- New Line Movie ---");
     //Create the menu bar
     JMenuBar menuBar;
     JMenu menu;
     menuBar = new JMenuBar();
     //Build the file menu in the menu bar
     menu = new JMenu("File");
     menu.setMnemonic(KeyEvent.VK_F);
     menuBar.add(menu);
     JMenuItem menuItem= new JMenuItem("Exit",KeyEvent.VK_X);
     menuItem.addActionListener(new ActionListener()
          public void actionPerformed(ActionEvent e)
                    System.exit(0);
     menu.add(menuItem);
     //Build help menu in the menu bar.
     menu = new JMenu("Help");
     menu.setMnemonic(KeyEvent.VK_H);
     menuBar.add(menu);
     JMenuItem help_item=new JMenuItem("Help Topics",KeyEvent.VK_T);
     menu.add(help_item);
     JMenuItem about_item=new JMenuItem("About Us");
     menu.add(about_item);
     frame.setJMenuBar(menuBar);
          ImageIcon icon=new ImageIcon("images/potter.jpg","");
          JButton clickmovie=new JButton(icon);
          //final JLabel latest=new JLabel("<html><caption>Harry Potter</caption></html>");
          //clickmovie.add(latest);
          final JLabel welcome1=new JLabel("<html><font color=blue face=arial size=3><strong>New Line Movie</strong> gives you the possibility to view your favorite movies.<br>You can choose your category of movies below and click on any movie to get more information about it. <br>Latest News about new movies are also available. ENJOY!!!</font></html>");
          frame.getContentPane().add(welcome1,BorderLayout.EAST);
          final JLabel copyright=new JLabel("<html><font color=blue face=arial size=3><p align=center>&copy Copyright 2004</p></font></html>");
          //frame.getContentPane().add(copyright,BorderLayout.EAST);
          JPanel actionPanel=new JPanel();
          JPanel cartoonPanel=new JPanel();
          JPanel comedyPanel=new JPanel();
          JPanel fictionPanel=new JPanel();
          JPanel mainPanel=new JPanel();
          mainPanel.setLayout(new GridLayout(2,1,5,5));
          mainPanel.setBorder(BorderFactory.createEmptyBorder(5,5,5,5));
          mainPanel.add(actionPanel);
          mainPanel.add(cartoonPanel);
          mainPanel.add(comedyPanel);
          mainPanel.add(fictionPanel);
          //mainPanel.add(copyright);
          actionPanel.setBorder(BorderFactory.createCompoundBorder(BorderFactory.createTitledBorder("Action"),BorderFactory.createEmptyBorder(5,5,5,5)));
          cartoonPanel.setBorder(BorderFactory.createCompoundBorder(BorderFactory.createTitledBorder("Cartoon"),BorderFactory.createEmptyBorder(5,5,5,5)));
          comedyPanel.setBorder(BorderFactory.createCompoundBorder(BorderFactory.createTitledBorder("Comedy"),BorderFactory.createEmptyBorder(5,5,5,5)));
          fictionPanel.setBorder(BorderFactory.createCompoundBorder(BorderFactory.createTitledBorder("Science Fiction"),BorderFactory.createEmptyBorder(5,5,5,5)));
          frame.getContentPane().add(mainPanel,BorderLayout.SOUTH);
          frame.getContentPane().add(clickmovie,BorderLayout.WEST);
          // Create combo box with action movies choices
          final JComboBox actionChoices;
          String[] actionmovie={"-Select a movie-","X-Men","Spiderman"};
          actionChoices=new JComboBox(actionmovie);
          actionChoices.setSelectedIndex(0);
          actionPanel.add(actionChoices);
          actionChoices.addActionListener(new ActionListener()
               public void actionPerformed(ActionEvent e)
                    JComboBox cb = (JComboBox)e.getSource();
                    String act = (String)cb.getSelectedItem();
                    if(act=="X-Men")
                         JFrame action_xmen= new JFrame("--- New Line Movie: X-Men --- ");
               action_xmen.setSize(400,350);
               JPanel main=new JPanel();
               main.setLayout(new GridLayout(2,1,5,5));
                         main.setBorder(BorderFactory.createEmptyBorder(5,5,5,5));
                         ImageIcon icon_men=new ImageIcon("images/x-men.jpg","");
               JButton clickmovie_men=new JButton(icon_men);
               final JLabel xmen_overview=new JLabel("<html><font color=blue face=arial size=3><b>Title:</b></font> <font color=black><strong>X-Men 2 </strong></font> <br><br><font color=blue face=arial size=3><b>Starring:</b> Hugh JACKMAN and Halle BARRY<br><br><b>Story:</b> The time has come for those who are different to stand united. <br><br>A military officer with a link to Wolverine's mysterious past conspires <br><br>to eradicate the mutant population for once and all. In order to defeat <br><br>this new menace, the X-men will be forced to join forces with Magneto. <br><br><b>Duration:</b> 1hr45min </font></html>");
               final JLabel copyright=new JLabel("<html><font color=blue face=arial size=3><p align=center>&copy Copyright 2004</p></font></html>");
                         action_xmen.getContentPane().add(copyright,BorderLayout.SOUTH);
               JButton view=new JButton("View");
               view.setLayout(new BoxLayout(view,BoxLayout.X_AXIS));
                                        view.add(Box.createHorizontalGlue());
                         view.add(Box.createRigidArea(new Dimension(30,0)));
               view.setMinimumSize(new Dimension(20,100));
               view.setPreferredSize(new Dimension(20,100));
               view.setMaximumSize(new Dimension(Short.MAX_VALUE,Short.MAX_VALUE));
               view.setMnemonic('v');
               view.addActionListener(new ActionListener()
                              public void actionPerformed(ActionEvent e)
                                        String a="172.22.45.44/42050";
                                        String b="172.22.45.44/42052";
                                        String argv=a+b;
                                        Client cl= new Client(a,b);
                                        String[] c={a,b};
                                        cl.mainCl(c);
                                        //this is the code i added so that on clicking the view button
                                        //the client is automatically connected to the server and the player
                                        //plays on the current machine
               main.add(clickmovie_men);
                         main.add(view);
                         //action_xmen.getContentPane().add(view,BorderLayout.SOUTH);
               action_xmen.getContentPane().add(main,BorderLayout.WEST);
               action_xmen.getContentPane().add(xmen_overview,BorderLayout.EAST);
               action_xmen.show();
                    else if(act=="Spiderman")
                         JFrame action_spider= new JFrame("--- New Line Movie: Spiderman --- ");
                         action_spider.setSize(400,350);
               action_spider.show();
          //Create combo box with cartoon movies choices
          JComboBox cartoonChoices=null;
          String[] cartoonmovie={"-Select a movie-","Le Roi Lion"};
          cartoonChoices=new JComboBox(cartoonmovie);
          cartoonChoices.setSelectedIndex(0);
          cartoonPanel.add(cartoonChoices);
          //cartoonChoices.addActionListener();
          //Create combo box with comedy movies choices
          JComboBox comedyChoices=null;
          String[] comedymovie={"-Select a movie-"};
          comedyChoices=new JComboBox(comedymovie);
          comedyChoices.setSelectedIndex(0);
          comedyPanel.add(comedyChoices);
          //comedyChoices.addActionListener();
          //Create combo box with fiction movies choices
          JComboBox fictionChoices=null;
          String[] fictionmovie={"-Select a movie-","ET"};
          fictionChoices=new JComboBox(fictionmovie);
          fictionChoices.setSelectedIndex(0);
          fictionPanel.add(fictionChoices);
          //fictionChoices.addActionListener();
          frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
          frame.pack();
          frame.setVisible(true);
//Implement player function here
import java.io.*;
import java.awt.*;
import java.net.*;
import java.awt.event.*;
import java.util.Vector;
import javax.media.*;
import javax.media.rtp.*;
import javax.media.rtp.event.*;
import javax.media.rtp.rtcp.*;
import javax.media.protocol.*;
import javax.media.protocol.DataSource;
import javax.media.format.AudioFormat;
import javax.media.format.VideoFormat;
import javax.media.Format;
import javax.media.format.FormatChangeEvent;
import javax.media.control.BufferControl;
* Client to receive RTP transmission using the RTPConnector.
public class Client implements ReceiveStreamListener, SessionListener,
     ControllerListener
String sessions[] = null;
RTPManager mgrs[] = null;
Vector playerWindows = null;
boolean dataReceived = false;
Object dataSync = new Object();
public Client(String sessions[]) {
     this.sessions = sessions;
public Client(String a, String b)
     }//constructor
protected boolean initialize() {
try {
     mgrs = new RTPManager[sessions.length];
     playerWindows = new Vector();
     SessionLabel session;
     // Open the RTP sessions.
     for (int i = 0; i < sessions.length; i++) {
          // Parse the session addresses.
          try {
          session = new SessionLabel(sessions);
          } catch (IllegalArgumentException e) {
          System.err.println("Failed to parse the session address given: " + sessions[i]);
          return false;
          System.err.println(" - Open RTP session for: addr: " + session.addr + " port: " + session.port + " ttl: " + session.ttl);
          mgrs[i] = (RTPManager) RTPManager.newInstance();
          mgrs[i].addSessionListener(this);
          mgrs[i].addReceiveStreamListener(this);
          // Initialize the RTPManager with the RTPSocketAdapter
          mgrs[i].initialize(new RTPSocketAdapter(
                         InetAddress.getByName(session.addr),
                         session.port, session.ttl));
          // You can try out some other buffer size to see
          // if you can get better smoothness.
          BufferControl bc = (BufferControl)mgrs[i].getControl("javax.media.control.BufferControl");
          if (bc != null)
          bc.setBufferLength(350);
} catch (Exception e){
System.err.println("Cannot create the RTP Session: " + e.getMessage());
return false;
     // Wait for data to arrive before moving on.
     long then = System.currentTimeMillis();
     long waitingPeriod = 30000; // wait for a maximum of 30 secs.
     try{
     synchronized (dataSync) {
          while (!dataReceived &&
               System.currentTimeMillis() - then < waitingPeriod) {
          if (!dataReceived)
               System.err.println(" - Waiting for RTP data to arrive...");
          dataSync.wait(1000);
     } catch (Exception e) {}
     if (!dataReceived) {
     System.err.println("No RTP data was received.");
     close();
     return false;
return true;
public boolean isDone() {
     return playerWindows.size() == 0;
* Close the players and the session managers.
protected void close() {
     for (int i = 0; i < playerWindows.size(); i++) {
     try {
          ((PlayerWindow)playerWindows.elementAt(i)).close();
     } catch (Exception e) {}
     playerWindows.removeAllElements();
     // close the RTP session.
     for (int i = 0; i < mgrs.length; i++) {
     if (mgrs[i] != null) {
mgrs[i].removeTargets( "Closing session from AVReceive3");
mgrs[i].dispose();
          mgrs[i] = null;
PlayerWindow find(Player p) {
     for (int i = 0; i < playerWindows.size(); i++) {
     PlayerWindow pw = (PlayerWindow)playerWindows.elementAt(i);
     if (pw.player == p)
          return pw;
     return null;
PlayerWindow find(ReceiveStream strm) {
     for (int i = 0; i < playerWindows.size(); i++) {
     PlayerWindow pw = (PlayerWindow)playerWindows.elementAt(i);
     if (pw.stream == strm)
          return pw;
     return null;
* SessionListener.
public synchronized void update(SessionEvent evt) {
     if (evt instanceof NewParticipantEvent) {
     Participant p = ((NewParticipantEvent)evt).getParticipant();
     System.err.println(" - A new participant had just joined: " + p.getCNAME());
* ReceiveStreamListener
public synchronized void update( ReceiveStreamEvent evt) {
     RTPManager mgr = (RTPManager)evt.getSource();
     Participant participant = evt.getParticipant();     // could be null.
     ReceiveStream stream = evt.getReceiveStream(); // could be null.
     if (evt instanceof RemotePayloadChangeEvent) {
     System.err.println(" - Received an RTP PayloadChangeEvent.");
     System.err.println("Sorry, cannot handle payload change.");
     System.exit(0);
     else if (evt instanceof NewReceiveStreamEvent) {
     try {
          stream = ((NewReceiveStreamEvent)evt).getReceiveStream();
          DataSource ds = stream.getDataSource();
          // Find out the formats.
          RTPControl ctl = (RTPControl)ds.getControl("javax.media.rtp.RTPControl");
          if (ctl != null){
          System.err.println(" - Recevied new RTP stream: " + ctl.getFormat());
          } else
          System.err.println(" - Recevied new RTP stream");
          if (participant == null)
          System.err.println(" The sender of this stream had yet to be identified.");
          else {
          System.err.println(" The stream comes from: " + participant.getCNAME());
          // create a player by passing datasource to the Media Manager
          Player p = javax.media.Manager.createPlayer(ds);
          if (p == null)
          return;
          p.addControllerListener(this);
          p.realize();
          PlayerWindow pw = new PlayerWindow(p, stream);
          playerWindows.addElement(pw);
          // Notify intialize() that a new stream had arrived.
          synchronized (dataSync) {
          dataReceived = true;
          dataSync.notifyAll();
     } catch (Exception e) {
          System.err.println("NewReceiveStreamEvent exception " + e.getMessage());
          return;
     else if (evt instanceof StreamMappedEvent) {
     if (stream != null && stream.getDataSource() != null) {
          DataSource ds = stream.getDataSource();
          // Find out the formats.
          RTPControl ctl = (RTPControl)ds.getControl("javax.media.rtp.RTPControl");
          System.err.println(" - The previously unidentified stream ");
          if (ctl != null)
          System.err.println(" " + ctl.getFormat());
          System.err.println(" had now been identified as sent by: " + participant.getCNAME());
     else if (evt instanceof ByeEvent) {
     System.err.println(" - Got \"bye\" from: " + participant.getCNAME());
     PlayerWindow pw = find(stream);
     if (pw != null) {
          pw.close();
          playerWindows.removeElement(pw);
* ControllerListener for the Players.
public synchronized void controllerUpdate(ControllerEvent ce) {
     Player p = (Player)ce.getSourceController();
     if (p == null)
     return;
     // Get this when the internal players are realized.
     if (ce instanceof RealizeCompleteEvent) {
     PlayerWindow pw = find(p);
     if (pw == null) {
          // Some strange happened.
          System.err.println("Internal error!");
          System.exit(-1);
     pw.initialize();
     pw.setVisible(true);
     p.start();
     if (ce instanceof ControllerErrorEvent) {
     p.removeControllerListener(this);
     PlayerWindow pw = find(p);
     if (pw != null) {
          pw.close();
          playerWindows.removeElement(pw);
          //p.close(); //i added to know if player close when click
     System.err.println("Client internal error: " + ce);
* A utility class to parse the session addresses.
class SessionLabel {
     public String addr = null;
     public int port;
     public int ttl = 1;
     SessionLabel(String session) throws IllegalArgumentException {
     int off;
     String portStr = null, ttlStr = null;
     if (session != null && session.length() > 0) {
          while (session.length() > 1 && session.charAt(0) == '/')
          session = session.substring(1);
          // Now see if there's a addr specified.
          off = session.indexOf('/');
          if (off == -1) {
          if (!session.equals(""))
               addr = session;
          } else {
          addr = session.substring(0, off);
          session = session.substring(off + 1);
          // Now see if there's a port specified
          off = session.indexOf('/');
          if (off == -1) {
               if (!session.equals(""))
               portStr = session;
          } else {
               portStr = session.substring(0, off);
               session = session.substring(off + 1);
               // Now see if there's a ttl specified
               off = session.indexOf('/');
               if (off == -1) {
               if (!session.equals(""))
                    ttlStr = session;
               } else {
               ttlStr = session.substring(0, off);
     if (addr == null)
          throw new IllegalArgumentException();
     if (portStr != null) {
          try {
          Integer integer = Integer.valueOf(portStr);
          if (integer != null)
               port = integer.intValue();
          } catch (Throwable t) {
          throw new IllegalArgumentException();
     } else
          throw new IllegalArgumentException();
     if (ttlStr != null) {
          try {
          Integer integer = Integer.valueOf(ttlStr);
          if (integer != null)
               ttl = integer.intValue();
          } catch (Throwable t) {
          throw new IllegalArgumentException();
* GUI classes for the Player.
class PlayerWindow extends Frame {
     Player player;
     ReceiveStream stream;
     PlayerWindow(Player p, ReceiveStream strm) {
     player = p;
     stream = strm;
     public void initialize() {
     add(new PlayerPanel(player));
     public void close() {
     player.close();
     setVisible(false);
     dispose();
     public void addNotify() {
     super.addNotify();
     pack();
* GUI classes for the Player.
class PlayerPanel extends Panel {
     Component vc, cc;
     PlayerPanel(Player p) {
     setLayout(new BorderLayout());
     if ((vc = p.getVisualComponent()) != null)
          add("Center", vc);
     if ((cc = p.getControlPanelComponent()) != null)
          add("South", cc);
     public Dimension getPreferredSize() {
     int w = 0, h = 0;
     if (vc != null) {
          Dimension size = vc.getPreferredSize();
          w = size.width;
          h = size.height;
     if (cc != null) {
          Dimension size = cc.getPreferredSize();
          if (w == 0)
          w = size.width;
          h += size.height;
     if (w < 160)
          w = 160;
     return new Dimension(w, h);
public static void mainCl(String argv[])
     if (argv.length == 0)
     prUsage();
     Client avReceive = new Client(argv);
     if (!avReceive.initialize()) {
     System.err.println("Failed to initialize the sessions.");
     System.exit(-1);
     // Check to see if Client is done.
     try {
     while (!avReceive.isDone())
          Thread.sleep(1000);
     } catch (Exception e) {}
     System.err.println("Exiting Client");
static void prUsage() {
     System.err.println("Usage: Client <session> <session> ...");
     System.err.println(" <session>: <address>/<port>/<ttl>");
     System.exit(0);
}// end of Client

hi,
i have try compile your source code...anyway, there is 28 errors..I m not sure where is the errors come from. Currently , i m working on the same project as you. Trying to play the media at client machine, but stil can't manage to do so. Can i have your email address? I want to consult you a bit about my project .Is it ok? Thanks =).

Similar Messages

  • Error "Test Agent could not connect to the test controller" while configuring the Test Agent on Client machine

    Hi,
    I am getting an Error “Test Agent could not connect to the test controller”
     while configuring The Test Agent on Client machine.
    Pre-requisite used:  
    VS2012 update 4, Test agent & Test controller of same version used
    User has TFS admin access.
    Same user id used for configuring Test Agent.
    Description:
    Test controller is installed on server A. I want to install test agent on client machine B.
    Windows Fire wall is OFF on both Machines A & B. While configuring Test Agent below error is occurred:
    “Test Agent could not connect to the test controller”
    In log file error was “I, 2015/04/02, 15:32:21.723, Could not get the status from the test agent. Exception: Failed to connect to an IPC Port: The system cannot find the file specified.”
    In Event viewer below error details given:
    Unable to connect to the controller on ‘My Server: 6901’. The agent can connect to the controller but the controller cannot connect to the agent because of following reason: The requested name is valid, but no data of the requested type was found.
    Make sure that the firewall on the test agent machine is not blocking the connection.
    Could you please help me to find solution?
    Thanks in advance!
    Kanchan M
    Kanchan

    Hi Kanchan,
    So on each computer, you create a local user account that is a member of the Administrators group, and use the same account and password on each machine(controller and Agent), am I right?
    Could you enable the detailed log message?
    http://blogs.msdn.com/b/aseemb/archive/2010/03/07/how-to-enable-test-agent-logs.aspx
    http://blogs.msdn.com/b/aseemb/archive/2009/11/28/how-to-enable-test-controller-logs.aspx
    >>In log file error was “I, 2015/04/02, 15:32:21.723, Could not get the status from the test agent. Exception: Failed to connect to an IPC Port: The system cannot find the file specified.”I
    met a similar issue before which was related to the Firewall exceptions, maybe you could refer to it here:
    http://stackoverflow.com/questions/12249093/test-agent-could-not-connect-to-the-test-controller-vs2012-agents
    Best Regards,
    Jack
    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.

  • How to list printers on the client machine to print the documents in ADF

    Hi,
    I have a requirement to print multiple documents stored on the server. I am trying to find out how to list the printers or get a default printer on the client machine and print the documents using ADF.
    Thanks
    Sukarna

    I tried that solution. but I am not getting any printer list.
    public void printDocument(ActionEvent actionEvent){
    BindingContainer bindings =
    BindingContext.getCurrent().getCurrentBindingsEntry();
    PrintService[] service = PrintServiceLookup.lookupPrintServices(null, null);
    if (service.length == 0){
    JOptionPane.showMessageDialog(null, "No Printer Selected");
    The printer Service is not returing any data.
    Thanks
    Sukarna
    Edited by: 911653 on Oct 5, 2012 9:01 AM

  • Copying client machine files into the Server BY Using APPLET

    Hi there,
    I created an applet which is DRAG and DROP enabled. In this applet content page i am dropping some file and trying to copy the same files in to the server. But when i am trying to save the files my code is saving the files in clients machine.
    I thought we are embedding the applet in a browser and the applet is running in clients machine, so for the applet SERVER is the local machine and if we create any files then they will be created in SERVER machine.
    But here the files are going to be saved in clients machine.
    I SIGNED THE APPLET TO ACCESS THE CLIENT MACHINE FILES TO DRAG AND DROP INTO MY APPLET. THAT IS NOT A PROBLEM , BUT COPYING THE FILES FROM CLIENT MACHINE TO SERVER HAS BECOME A BIG PROBLEM
    please any body can help in this regards?
    THANKS IN ADVANCE.
    batta

    I cannot see how you will copy files From the Applet to the Server.
    The only method I know to transfer data from a Java-Applet-Client to a Server and back is with the named method "HTTP-Tunneling".
    This means your, your applet made a connection e.q with a Java-Servlet wich resides on a Web-Server.
    This Servlet than can write to the Server-Filesystem and respond to the Applet.
    May be you can reach a Server with PHP, but I have not yet experience with this (I did not found anything about Servlet-Response to the Applet).
    Regards Dieter

  • I am running IE 11 on Windows 7 Home Premium 64 Bit Service Pack 1. When I attempt to install Flash Player, it goes through all of the steps, tells me the player is installed, and welcomes me. I cannot open the player and it does not appear in the Start M

    I am running IE 11 on Windows 7 Home Premium 64 Bit Service Pack 1. When I attempt to install Flash Player, it goes through all of the steps, tells me the player is installed, and welcomes me. I cannot open the player and it does not appear in the Start Menu, Task Manager, System Tray, or anywhere else. When I try to open a file, the site tells me Flash player is not installed. I have even downloaded it to a separate folder and ran the install with IE shut down completely. And Shockwave in ENABLED but in 32 bit .I have been trying to get this to work for about 3 weeks now.  HELP!!!

    Flash Player is a browser add-on, not an executable program.
    If you need to open a local SWF file you will need the standalone player (Projector) from http://www.adobe.com/support/flashplayer/downloads.html
    Note that the download is the player, not an installer, so you will need to make the file association manually.

  • HT1578 I have found that I can't access the contents of the encrypted disk in time machine backups.  The Finder window displays a grayed-out icon representing the disk.  Can this be remedied?

    I have found that I can't access the contents of the encrypted disk in time machine backups.  The Finder window displays a grayed-out icon representing the disk.  Can this be remedied?

    Time Machine error: Apple Support Communities
    OSStatus 5 when trying to use Lion...: Apple Support Communities

  • Running Reports from Client Machines in which the reports are residing on t

    Hi Folks,
    I'm using Developer 6i with Oracle 9i. I can run forms from the clients so that the FMX file is residing on a shared drive on the server, but when I try to run reports which also reside on the shared drive of server, I get error that unable to find the report. Do I need to install report server on the client machine/server or am I missing some basic step here?
    TIA
    Hassan

    Hi,
    There's a whitepaper on the topic of Forms/Reports integration for the web called "Oracle9iAS Forms Services and Reports Services Integration". This should give you the information you are seeking.
    regards,
    Stewart

  • How is called the Services "OpsMgr Health Service" in the SCOM 2012 and Client machine?

    Hi,
    Can anybody tell me how is called the Services of OpsMgr Health Service in the SCOM 2012?
    I have installed the agent of scom2012 on my client computer. But I dont find any agent called "OpsMgr Health Service" on the Client machine?
    Regards

    Hi
    If you look in the services.msc window then it is listed as the System Center Management Service. This is the display name.
    The actual service name is HealthService
    Cheers
    Graham
    Regards Graham New System Center 2012 Blog! -
    http://www.systemcentersolutions.co.uk
    View OpsMgr tips and tricks at
    http://systemcentersolutions.wordpress.com/
    The Ayman answer is god, It is called "Microsoft Monitoring Agent"

  • Unable to use the OCWST or Web Client to connect to the calendar Server

    While trying to log into the calendar using the web client i am getting the error :
    An error occurred during processinig
    Information: Cannot retrieve node information
    While connecting using the OCWST i am getting the error; I am using WSAD to do the coding. and i have coppied the soap.jar given by apache.
    at org.apache.soap.rpc.Call.getEnvelopeString(Call.java:208)
         at org.apache.soap.messaging.Message.receiveEnvelope(Message.java:144)
         at oracle.calendar.soap.client.Calendarlet._$4978(Calendarlet.java:277)
         at oracle.calendar.soap.client.Calendarlet.Search(Calendarlet.java:149)
         at com.altexia.ocal.test.OCalPimTest.main(OCalPimTest.java:76)
    Please help!!!!!!!
    Joyce

    The full error message while calling
    CalendaringResponse response = cws.Search(search.getElement());
    is>>>>>>>>>>
    [SOAPException: faultCode=SOAP-ENV:Protocol; msg=Unsupported response content type &quot;text/html; charset=iso-8859-1&quot;, must be: &quot;text/xml&quot;. Response was:
    &lt;!DOCTYPE HTML PUBLIC &quot;-//IETF//DTD HTML 2.0//EN&quot;&gt;
    &lt;HTML&gt;&lt;HEAD&gt;
    &lt;TITLE&gt;500 Internal Server Error&lt;/TITLE&gt;
    &lt;/HEAD&gt;&lt;BODY&gt;
    &lt;H1&gt;Internal Server Error&lt;/H1&gt;
    The server encountered an internal error or
    misconfiguration and was unable to complete
    your request.&lt;P&gt;
    Please contact the server administrator,
    [email protected] and inform them of the time the error occurred,
    and anything you might have done that may have
    caused the error.&lt;P&gt;
    More information about this error may be available
    in the server error log.&lt;P&gt;
    &lt;HR&gt;
    &lt;ADDRESS&gt;Oracle HTTP Server/1.3.22 Server at 192.168.10.128 Port 7777&lt;/ADDRESS&gt;
    &lt;/BODY&gt;&lt;/HTML&gt;
         at org.apache.soap.rpc.Call.getEnvelopeString(Call.java:208)
         at org.apache.soap.messaging.Message.receiveEnvelope(Message.java:144)
         at oracle.calendar.soap.client.Calendarlet._$4978(Calendarlet.java:277)
         at oracle.calendar.soap.client.Calendarlet.Search(Calendarlet.java:149)
         at com.altexia.ocal.test.OCalPimTest.main(OCalPimTest.java:76)

  • HT201250 (1) Where is the "Time Machine menu" and the choice to "Enter Time Machine" (mentioned in the "Restoring data from Time Machine backups" section)?

    1) Where do I find the "Time Machine menu" and the choice to "Enter Time Machine" (as mentioned in the "Restoring data from Time Machine backups" section in the Mac Support article "Mac Basics: Time Machine")?
    2) How would I restore e.g. a particular photo from a backup I made with Time Machine? I can see how this is done with Word documents, but can't see how to do it with photos?

    Welcome to Apple Support Communities
    1. The Time Machine icon is on the menu bar.
    2. If you want to do that with individual photos, it's the same way as for documents. If you want to do it with iPhoto, you have to restore the whole iPhoto library, not only one photo

  • Copy file from client machine to unix db server

    Dear all,
    I have oracle form 10g, and data base server using 10 r 2,
    I have an oracle for to browse client XML file and return the name of the file including the path to TEXT item what I want to do after that is to copy the seelcted file from the client to DB server (hint this server over Unix operating system)
    I tried
    V_Cpy_Result := Webutil_File.Copy_File ('C:\File_Name.Xml', '/u01/oradata/odsuat/ssr_xml_dir/Outbound/File_Name.Xml');
    but this does't work, please provide me with the way or the command that I can copy the selected file from client to Unix DB server...

    Hello,
    If you want to transfer files between client machine and A.S. or database machine, use the Webutil file_transfer package's functions.
    Francois

  • How to upload file from client machine to  database in server machine?

    I am developing a web application. this application is suppose to take file from client machine and store that to database in the server side.
    My jsp form is of multi part type. but I am confused about what to write in servlet.
    Can any one help me ?
    Edited by: chinmaya_mishra on Feb 16, 2009 2:55 AM
    Edited by: chinmaya_mishra on Feb 16, 2009 2:58 AM

    http://www.google.com/search?q=jdbc+blob
    Blob processing varies between databases; see also examples for whatever database you are using, e.g.
    http://www.google.com/search?q=jdbc+blob+oracle
    If you are storing text data instead of binary data, replace "blob" by "clob" in the searches.

  • Intermittant disconnection of Shared Drives on Windows 7 Client machines hosted in WIndows Server 2008 Standard Edition

    The environment - Windows Server 2008 Standard/Windows 7 32 bit Client machine.
    Share - It is not a DFS share.
    Antivirus - McAfee
    The issue - 1 user is unable to connect to a particular shared drive hosted from within the Windows Server 2008 Standard file server.  This drive is one of the multiple drives which are supposed to be connected to the user machine during logon using
    the logon script.  All the other drives mentioned in the logon script gets mapped fine but one particular drive does not.  The user uses a laptop and we have checked his connections while in LAN, Wireless, VPN.  Everything seems to be working
    fine apart from this one shared drive.  Rest of the users within that office gets the drive fine but just not this one user.  Since we are not domain admins so we do not have a visibility of the group policies linked to this particular drive and
    hence RSOP as well does not help.  We have not seen the user getting logged into the machine using a TEMP profile as well for us to ascertain that the issue may be with a TEMP profile logon. 
    Please note that the drive does get connected at times and at times the connection just drops off!  As an interim measure the local IT has created a batch file and given it to the user which maps the drive for the user. 
    Any help in resolving this long impending issue would be much appreciated!
    Suman

    Hi Suman,
    You could keep the session always active to workaround this issue. Please open Control Panel -> Administrative tools -> Local Security Policy -> Local Policy -> Security Options and set the value of the policy Microsoft Network Server:Amount
    of idle time required before suspending a session to 99999 and see how it works.
    This security setting determines the amount of continuous idle time that must pass in a Server Message Block (SMB) session before the session is suspended due to inactivity. Administrators can use this policy to control when a computer suspends an inactive
    SMB session. If client activity resumes, the session is automatically reestablished. For this policy setting, a value of 0 means to disconnect an idle session as quickly as is reasonably possible. The maximum value is 99999, which is 208 days; in effect, this
    value disables the policy.
    For more detailed information, please refer to the thread below:
    Loss of mapped drive, networked drive disconnects
    http://social.technet.microsoft.com/Forums/windows/en-US/c6da707b-5224-40f5-8d0e-e8985453221d/loss-of-mapped-drive-networked-drive-disconnects
    You could also refer to the article below to troubleshoot the issue:
    Mapped Drive Connection to Network Share May Be Lost
    http://support.microsoft.com/kb/297684
    Regards,
    Mandy
    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.

  • UPD driver (PCL6) for Windows 7 x64 client machines installed on a Server 2003 x32 server.

    Hi,
    We have CP1515 LaserJet printers run over TCP/IP from our Servers which run Server 2003 (32 bit).
    We have recently bought some new PCs running Windows 7 Pro 64 bit edition.
    How do I get the Win 7 x64 machines to use the printers served via the Server 2003 x32 machine ?
    All my attempts to install the software (pcl6-x??-5.3.1.10527) on either the Server2003 or Win 7 x64 machine fails.
    The EXE (pcl6-x64-5.3.1.10527) file won't run on Server2003 - I'm guessing because it expects an x64 operating system.
    The EXE (pcl6-x32-5.3.1.10527) file runs on Server2003, but doesn't seem to do anything - I'm guessing because there is already an x32 driver.
    When I use the ‘Additional Drivers’ option in the printer properties to an x64 driver, none of the supplied .INF files inside the expanded EXE are considered suitable.
    The EXE (pcl6-x64-5.3.1.10527) runs on Win7 x64 machine, but when I select the existing printer on Server2003, it says it can't find the driver - which is ridiculous as I'm installing the driver!
    I can get the EXE pcl6-x64-5.3.1.10527 to complete on the Win 7 machine if specifying a completely new printer queue (by supplying the IP address).  However not only is this not satisfactory as it bypasses the required security and defaults on the server queue, but also it frustratingly then 'forgets' it had a perfectly good driver when I try and subsequently add the server printer queue.
    I’ve run out of ideas.  Can anyone help ?
    Thanks,
         Stuart Poore

    Hi
    I had this trobule too.  Below is the instructions to install driver.  Disconnect your printer. In printers select add printer.  Then click windows update (need internet) allow them to update and then select 1220c printer to install leaving as standard old port.  Once installed go into printer properites and update to USB port.
    Bingo it works!
    Refer to the below link for full instructions.
    http://h10025.www1.hp.com/ewfrf/wc/document?docname=c01796821&tmp_track_link=ot_recdoc/c01874792/en_...
    Good luck
    RB

  • How to setup the MSTSC (remote desktop client) NOT to remember last server/wks IP info..

    Just similar to setup the Local/Group policy 'Don't remember last login information'
    Please advise
    Thanks in advance ... 

    Hi,
    The default server and the server lists are written by design in Windows, which is located in registry at:
    HKEY_CURRENT_USER\Software\Microsoft\Terminal Server Client\Default
    You can delete them manually but this effect won’t persist after next remote desktop logon. The key will be recreated and save your choices of remote servers. Therefore, I’m afraid there is no policy or method to disable this feature. A possible workaround
    is to save an empty .RDP file and deploy it to all the client sides, then let all the users use this one in order to avoid remote server being saved.
    For more information on this behavior, please refer to:
    How to Remove Entries from the Remote Desktop Connection Computer Box
    http://support.microsoft.com/kb/312169
    Remote Desktops always remembers “last server accessed”
    http://social.technet.microsoft.com/Forums/en-US/w7itproui/thread/e608a423-ccfa-4207-b5d0-ff9605337f6c/
    Regards,
    Miya
    Miya Yao
    TechNet Community Support

Maybe you are looking for

  • Ipod 5th Generation - Post IoS update No Siri

    Hello, I have only seen one post on here and it was regarding a 4th generation ipod and Siri. I was really excited to see the new update and was hoping to get Siri for my ipod touch 5th g but it didnt come on my ipod? Can someone tell me if there is

  • Signatures in iOS6 not working

    I have updated my iPhone4 to iOS6 and i have problem with signatures. I have 9 different accounts for business, and i need 9 diferent signatures. So, i have entered all of them and now i have problem: 1. When I want to write new mail, there is no sig

  • VL06O additional field

    Dear experts, We have a requirement of adding Shipping Instruction field to VL06O reports Pls let me know what is the field name for shipping instruction and from which table i can fetch this information ? Regards, -shetty123s

  • Width and Client width of form

    Hi All, Anybody please let me know the difference between Width and Client Width of a form. Thanks Jisha

  • Documentation Missing from CS3

    Has anyone checked the help files throughout the CS3 product suite. There seems to be User Guides - nothing else??? In comparison to Studio 8, I'm very disappointed. Unless, the product I received was incomplete. Can anyone else post their opinion on