Help-- build a Thread to manage Client

Login: it sends to Server a string= "CONNECTING" and Server will send a string = "CONNECTED" then EchoClient (is a thread which manage a connection from the outside) will call a new thread(ManageClient) with a new port to make a seperate connection.
Problem... while running Login and click the button after run EchoClient, there is no respond
Maybe it's too long.. Sorry and thanks for running my code and helping me
Login class
import java.awt.FlowLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.io.PrintWriter;
import java.net.Socket;
import javax.swing.JButton;
import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.JTextArea;
public class Login extends JFrame {
     public ChatFrame chatFrame;
     private final int CONNECTED = 1;
     private final int CONNECTING = 11;
     private Socket connectSocket = null;
     BufferedReader in = null;
     PrintWriter out = null;
      * @param args
     public Login() {
          // TODO Auto-generated method stub
          setSize(50, 150);
          JButton loginButton = new JButton("Login");
          JPanel p = new JPanel();
          p.setLayout(new FlowLayout());
          p.add(loginButton);
          add(p);
//Wait and listen the line from server
          Thread t = new Thread() {
               public void run() {
                    try {
                         Socket connectSocket = new Socket("localhost", 903);
                         in = new BufferedReader(new InputStreamReader(connectSocket
                                   .getInputStream()));
                         out = new PrintWriter(connectSocket.getOutputStream());
                         String stringLine = in.readLine();
                         if (stringLine == "CONNECTED") {
                              int port = in.read();
                              chatFrame = new ChatFrame(port);
                              chatFrame
                                        .setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
                              chatFrame.show();
                              connectSocket.close();
                    } catch (Exception e) {
          t.start();
          //click Login button and send "CONNECTING"
          loginButton.addActionListener(new ActionListener() {
               @Override
               public void actionPerformed(ActionEvent e) {
                    try {                         
                         out.print("CONNECTING");
                         System.out.print("send ");
                    } catch (Exception exp) {
                         exp.printStackTrace();
     public static void main(String[] args) {
          Login login = new Login();
          login.show();
          login.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
EchoClient class
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.io.PrintWriter;
import java.net.ServerSocket;
import java.net.Socket;
import java.util.Random;
public class EchoClient extends Thread {
     private ServerSocket listenSocket = null;
     private Socket manageSocket = null;
     private int[] port = new int[9999];
     private BufferedReader in;
     private PrintWriter out;
     private int line;
     private int count;
     //private ClientNode[] clientArray = new ClientNode[9999];
     private ManageClient[] manageClient;
     private final int CONNECTED = 1;
     private final int CONNECTING = 11;
     private final int DISCONECTED = 2;
     public void run() {
          try {
               //manageClient = new ManageClient[9999];
               listenSocket = new ServerSocket(903);
               manageSocket = listenSocket.accept();
               while (true) {
                    in = new BufferedReader(new InputStreamReader(manageSocket
                              .getInputStream()));
                    out = new PrintWriter(manageSocket.getOutputStream());
                    String stringLine = in.readLine();
                    System.out.print(in.readLine());
//wait and listen from client
                    if (stringLine != null) {
                         //if recieve a string send "CONNECTED"
                         out.print("CONNECTED");
//"Creat a port for ChatFrame"
                         port[count] = (int) Math.ceil(Math.random() * 9999);
                         manageClient[count] = new ManageClient(port[count]);
                         manageClient[count].start();
                         out.print(port[count]);
                         count++;
                         listenSocket.close();
          } catch (Exception e) {
               e.printStackTrace();
     public static void main(String[] args) {
          EchoClient e = new EchoClient();
          e.start();
ManageClient class
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.io.PrintWriter;
import java.net.ServerSocket;
import java.net.Socket;
public class ManageClient extends Thread {
     private ServerSocket ssClient;
     private Socket sClient;
     private int port;
     public ManageClient(int port) {
          this.port = port;
     public int getPort() {
          return port;
     public void run() {
          try {
               ssClient = new ServerSocket(getPort());
               sClient = ssClient.accept();
               while (true) {
                    BufferedReader in = new BufferedReader(new InputStreamReader(
                              sClient.getInputStream()));
                    PrintWriter out = new PrintWriter(sClient.getOutputStream());
                    String s = in.readLine();
                    if (s != null)
                         out.print("have recieved");
          } catch (Exception e) {
               e.printStackTrace();
ChatFrame class need for running
import java.awt.BorderLayout;
import java.awt.FlowLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.io.PrintWriter;
import java.net.Socket;
import javax.swing.JButton;
import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.JScrollPane;
import javax.swing.JSplitPane;
import javax.swing.JTabbedPane;
import javax.swing.JTextArea;
import javax.swing.JTextField;
import javax.swing.JTree;
import javax.swing.tree.DefaultMutableTreeNode;
public class ChatFrame extends JFrame {
     private JTree tree = null;
     private ClientNode[] clientArray = new ClientNode[9999];
     private JTextArea textChat = null;
     private JTextField[] textBox = new JTextField[9999];
     private Socket connection = null;
     private BufferedReader in = null;
     private PrintWriter out = null;
     private int port;
     private JTabbedPane communicationTab;
     private JButton sendButton;
     public ChatFrame(int port) {
          setSize(300, 300);
          this.port = port;
          DefaultMutableTreeNode user = new DefaultMutableTreeNode(
                    "Another users");
          DefaultMutableTreeNode Client1 = new DefaultMutableTreeNode("Client 1");
          user.add(Client1);
          tree = new JTree(user);
          JScrollPane treeScrollPane = new JScrollPane(tree);
          JPanel p = new JPanel();
          p.add(treeScrollPane);
          communicationTab = new JTabbedPane();
          JSplitPane upperSplitPane = new JSplitPane(JSplitPane.HORIZONTAL_SPLIT,
                    communicationTab, p);
          upperSplitPane.setContinuousLayout(true);
          upperSplitPane.setOneTouchExpandable(true);
          upperSplitPane.setResizeWeight(1);
          textChat = new JTextArea();
          textChat.setLineWrap(true);
          textChat.setWrapStyleWord(true);
          JScrollPane scroll = new JScrollPane(textChat);
          JPanel q = new JPanel();
          sendButton = new JButton("Send");
          sendButton.setSize(2, 2);
          q.setLayout(new FlowLayout());
          q.add(sendButton);
          JPanel tc = new JPanel();
          tc.setLayout(new BorderLayout());
          tc.add(scroll, BorderLayout.CENTER);
          tc.add(q, BorderLayout.EAST);
          JSplitPane underSplitPane = new JSplitPane(JSplitPane.VERTICAL_SPLIT,
                    upperSplitPane, tc);
          underSplitPane.setLastDividerLocation(1);
          underSplitPane.setResizeWeight(1);
          connectToServer();
          getContentPane().add(underSplitPane, "Center");
          sendButton.addActionListener(new ActionListener() {
               @Override
               public void actionPerformed(ActionEvent arg0) {
                    // TODO Auto-generated method stub
                    if (textChat.getText() != "")
                         send(textChat.getText());
                    textChat.setText("");
     public void connectToServer() {
          try {
               connection = new Socket("serverName", getPort());
               while (true) {
                    in = new BufferedReader(new InputStreamReader(connection
                              .getInputStream()));
                    out = new PrintWriter(connection.getOutputStream());
                    String s = in.readLine();
                    if (s != null) {
                         textChat.append(s);
          } catch (Exception e) {
     public int getPort() {
          return port;
     public static void main(String[] args) {
          ChatFrame c = new ChatFrame(903);
          c.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
          c.show();
     public void send(String s) {
          try {
               out.print(s);
               out.print("\r\n");
               out.flush();
          } catch (Exception e) {
               e.printStackTrace();
}Edited by: rockfanskid on Oct 17, 2007 9:47 AM

I agree with DrClap.
Another thing: do NOT compare Strings with == unless you want to check for identity equals (as in the same object). Use String.equals() instead for equality.
Example:
String a = "test";
String b = "test";
String c = new String("test".getBytes());
System.out.println(a.equals(b)); // true
System.out.println(a == b); // true
System.out.println(b.equals(c)); // true
System.out.println(b == c); // falseThis is just a trick from Sun to confuse you ;) String's are internally pooled by the String class. Look at the javadoc of String.intern() for instance for more information. But use String.equals() in your code...

Similar Messages

  • Business Catalyst Help | Using consolidated billing to manage client invoices

    This question was posted in response to the following article: http://helpx.adobe.com/business-catalyst/partner-portal/using-consolidated-billing-client- invoices.html

    A lot of the images are not rendering on this page.
    Tried it in Safari and Chrome on a Mac.

  • ICal managed client with SSL

    Hi folks,
    I already crawled the forum, inet and other sources but I still got no solution nor feasible workaround for a managed client to use iCal with SSL.
    My mac mini is on SL server 10.6.7 and I configure iCal in server admin to use SSL on port 8443 with a self-signed certificate.
    For address book this approach is working fine unfortunately it doesn't help with iCal.
    My managed client is setup after binding to the server with address book on SSL and iCal without SSL on port 8008.
    What the heck do I need to configure in order to get my managed clients setup automatically to iCal SSL?
    Please help me. I'm really desperate.
    Thanks,
    Manolo

    Can someone provide me with a hint?
    Always if I connect my network account to the SL server iCal is setup to use http on port 8008.
    thanks

  • Build and Capture TS fails in "Prepare Configuration Manager Client" task

    I have a ConfigMgr 2012 R2 + CU1 I use for Windows 7 deployment.
    I have made a "build and Capture" TS in ConfigMgr that I use to build my reference image.
    When I run the TS it fails at the "Prepare Configuration Manager Client" step where I get the following error:
    The task sequence execution engine failed executing the action (Prepare Configuration Manager Client) in the group (Capture the Reference Machine) with the error code 2147749938
    Action output: ... 1 instance(s) of 'SMS_MaintenanceTaskRequests' successful
    Successfully reset Registration status flag to "not registered"
    Successfully disabled provisioning mode.
    Start to cleanup TS policy
    getPointer()->ExecQuery( BString(L"WQL"), BString(pszQuery), lFlags, pContext, ppEnum ), HRESULT=80041032 (e:\nts_sccm_release\sms\framework\core\ccmcore\wminamespace.cpp,463)
    ns.Query(sQuery, &spEnum), HRESULT=80041032 (e:\qfe\nts\sms\framework\tscore\utils.cpp,3666)
    End TS policy cleanup
    TS::Utility::CleanupPolicyEx(false), HRESULT=80041032 (e:\nts_sccm_release\sms\client\osdeployment\preparesmsclient\preparesmsclient.cpp,564)
    pCmd->Execute(), HRESULT=80041032 (e:\nts_sccm_release\sms\client\osdeployment\preparesmsclient\main.cpp,136)
    Wmi query 'select *from CCM_Policy where PolicySource = 'CcmTaskSequence'' failed, hr=0x80041032
    Failed to delete policies compiled by TaskSequence (0x80041032)
    Failed to prepare SMS Client for capture, hr=80041032
    Failed to prepare SMS Client for capture, hr=80041032. The operating system reported error 2147942402: The system cannot find the file specified.
    If I disable the "Install Software Updates" part of my TS it will run without probems. It installs 154 updates during the build.
    I have seen another reference to this problem on this forum but why should the large number of the updates be the reason why the task sequcens cannot prepare the SCCM client for capture.
    Sounds to me that it's a BUG :-(
    Thomas Forsmark Soerensen

    I'm glad I'm not the only one running into this.  I've been racking my brain for the past few days trying to figure out where I went wrong. 
    SCCM 2012 R2 CU1
    Installation properties in TS: SMSMP=mp.f.q.d.n FSP=mp.f.q.d.n DNSSUFFIX=f.q.d.n PATCH="%_SMSTSMDataPath%\Packages\AP200003\hotfix\KB2882125\Client\x64\configmgr2012ac-sp1-kb2882125-x64.msp;%_SMSTSMDataPath%\Packages\AP200003\hotfix\KB2905002\Client\x64\configmgr2012ac-r2-kb2905002-x64.msp;%_SMSTSMDataPath%\Packages\AP200003\hotfix\KB2938441\Client\x64\configmgr2012ac-r2-kb2938441-x64.msp"
    Drop Windows 7 WIM that has all the updates Schedule Updates (offline servicing) installed (169 of 277)
    Apply several updates offline (the dual-reboot Windows 7 updates among others)
    Run Windows Updates more than once to be sure I get everything
    Breaks at the preparing client for capture step
    Is this:
    a bug?
    a known issue
    something that's just frowned upon for no technical reason?
    I'd love to hear from an SCCM guru [at Microsoft] on what the heck is going on here.

  • Building a simple J2ME chat client (for own J2SE-based server) Threading Qs

    Hi!
    I am making my own simple chat / messenger service to use between a couple of friends over GPRS.
    On the server side i have made a multi threaded TCP server that opens a new thread for each connecting client and stores these socket connections in a hashtable for access to send data between each thread.
    So when a client logs on to the server, the server sends a printwriter message to all other clients informing them of what client connected, and the clients can put the username in its out-database. then the clients can send messages to each others using a simple, self build protocol.
    All connection between clients/server happens over a simple printwriter on in/out streams.
    Problem is: it works perfectly most of the time.... However, sometimes a message is mysteriously lost when transferred from the server to a client. Transfer from client to server works flawlessly. I am thinking that it might have something to do with the client side threading, or slow network transfer casuing a TCP read error.
    Client structure is as following:
    start-> Midlet class -> (press connect to server) -> new Client class (impl runnable) -> new thread(this) -> void run() sets up all connections and writers, waits in a while loop for messages from server and takes action according to message type. -> Button(send) uses output stream to send a message to server.
    Do anyone have any suggestions on what I must consider when making a client that will simultaniously be able to listen for data from server as well as send data to server over 1 socket and slow mobile connection without causing any trouble?
    More info can be provided if necessary.
    Thank you!

    Building a simple J2ME chat client (for own J2SE-based server)a. i would like to say that this is a bl00dy brilliant idea. i mean ~ its been done before but building one yourself is quite thrilling.
    b. are u using java 4 or java 5. ?
    sometimes a message is mysteriously lost when transferred from the server to a client. Transfer from client to server works flawlessly.are you using push registry to recieve incoming connections.
    i recommend using a StreamConnectionNotifier connection instead of just a socket connection. you could send your data (xml/plain text) just like a stream (tcp ofcourse). if you want to know how to use a StreamConnectionNotifier connection, here's how
    try{
    // listen at local port 789
    StreamConnectionNotifier notify = (StreamConnectionNotifier) Connector.open(“http://:789”);
    // infinite loop to get incoming connections
    for(;;)
    StreamConnection stream = notify.acceptandOpen();  // return a stream connection when a connection is made
    InputStrean mystream = stream.openInputStream();
    while(mystream!=-1)
    mystream.read();
    ....cheers

  • Help! Can't add MacBook Air as managed client

    Hi,
    Running 10.6.8 Server, with just a few managed clients, all of them running Lion now.  I manage things like TimeMachine, Printer settings, and Software Update.  Managed computers include a 2009 MacBook Air and a 2009 Mac Mini.  Works nice.
    We just bought a brand new MacBook Air and when I try to add it to the ComputerGroup that is managed, it won't boot. I identify it by its MAC address as a Computer.  It gets stuck during bootup and doesn't get it out of that mode.
    I need to force it to shut down, remove it as a member of the managed ComputerGroup, then restart it.
    Why would my others boot up OK and not this machine?
    Thanks
    Alain

    I haven't trained on Lion Server yet, but I do know that they've changed the way computers handle profiles and management in Lion.  Both client and server.  It wouldn't surprise me if that's part of the problem. 
    That said, I'd weed out hardware failure as well.  Boot the Macbook Air with the Command and R key pressed.  Run the disk utility and check if the hard drive is working properly.  Do a disk first aid check etc.
    If all checks out, then likely it's a problem with the managed prefs.  Try and reformat the main drive on the Macbook Air and try to duplicate the problem with the same result.  In otherwords, from a fresh install, bind the computer to the server and try to set up the managed prefs agian.  If the problem is duplicated, then it's indeed a compatibility issue with Lion Client and SL Server. 
    -Graham

  • SCCM 2012 R2 Configuration Manager Client Package - stuck "In Progress"

    Hi Team; I’m having 2 issues with SCCM 2012 R2:
    Issue 1: I'm having a strange issue with the default XXX00002 package - "Configuration Manager Client Package",
    it will not deploy to the Secondary Site DP. The console is saying "In Progress" - below is the output from the
    distmgr.log file.
    ~Package BDC00002 does not have a preferred sender. 
    $$<SMS_DISTRIBUTION_MANAGER><03-17-2014 16:00:23.443+240><thread=6032 (0x1790)>
    ~CDistributionSrcSQL::UpdateAvailableVersion PackageID=BDC00002, Version=1, Status=2301 
    $$<SMS_DISTRIBUTION_MANAGER><03-17-2014 16:00:23.444+240><thread=6032 (0x1790)>
    ~StoredPkgVersion (1) of package BDC00002. StoredPkgVersion in database is 1. 
    $$<SMS_DISTRIBUTION_MANAGER><03-17-2014 16:00:23.462+240><thread=6032 (0x1790)>
    ~SourceVersion (1) of package BDC00002. SourceVersion in database is 1. 
    $$<SMS_DISTRIBUTION_MANAGER><03-17-2014 16:00:23.462+240><thread=6032 (0x1790)>
    ~Package BDC00003 does not have a preferred sender. 
    $$<SMS_DISTRIBUTION_MANAGER><03-17-2014 16:00:23.443+240><thread=6092 (0x17CC)>
    ~CDistributionSrcSQL::UpdateAvailableVersion PackageID=BDC00003, Version=1, Status=2301 
    $$<SMS_DISTRIBUTION_MANAGER><03-17-2014 16:00:23.464+240><thread=6092 (0x17CC)>
    STATMSG: ID=2301 SEV=I LEV=M SOURCE="SMS Server" COMP="SMS_DISTRIBUTION_MANAGER" SYS=BBK-SCCM-PRI.bbk2310.com SITE=PRI PID=2768 TID=6032 GMTDATE=Mon Mar 17 20:00:23.476 2014
    ISTR0="Configuration Manager Client Package" ISTR1="BDC00002" ISTR2="" ISTR3="" ISTR4="" ISTR5="" ISTR6="" ISTR7="" ISTR8="" ISTR9="" NUMATTRS=1 AID0=400 AVAL0="BDC00002" 
    $$<SMS_DISTRIBUTION_MANAGER><03-17-2014 16:00:23.477+240><thread=6032 (0x1790)>
    StateTable::CState::Handle - (2301:1 2014-03-17 20:00:23.476+00:00) >> (0:0 2014-02-28 16:33:45.383+00:00) 
    $$<SMS_DISTRIBUTION_MANAGER><03-17-2014 16:00:23.484+240><thread=6032 (0x1790)>
    CStateMsgReporter::DeliverMessages - Queued message: TT=1401 TIDT=0 TID='8ACCAE01-5079-4FCD-A988-C1CD3004B698' SID=2301 MUF=0 PCNT=2, P1='PRI' P2='2014-03-17 20:00:23.476+00:00' P3='' P4=''
    P5=''  $$<SMS_DISTRIBUTION_MANAGER><03-17-2014 16:00:23.495+240><thread=6032 (0x1790)>
    ~StoredPkgVersion (1) of package BDC00003. StoredPkgVersion in database is 1. 
    $$<SMS_DISTRIBUTION_MANAGER><03-17-2014 16:00:23.496+240><thread=6092 (0x17CC)>
    ~SourceVersion (1) of package BDC00003. SourceVersion in database is 1. 
    $$<SMS_DISTRIBUTION_MANAGER><03-17-2014 16:00:23.497+240><thread=6092 (0x17CC)>
    STATMSG: ID=2301 SEV=I LEV=M SOURCE="SMS Server" COMP="SMS_DISTRIBUTION_MANAGER" SYS=BBK-SCCM-PRI.bbk2310.com SITE=PRI PID=2768 TID=6092 GMTDATE=Mon Mar 17 20:00:23.510 2014
    ISTR0="Configuration Manager Client Upgrade Package" ISTR1="BDC00003" ISTR2="" ISTR3="" ISTR4="" ISTR5="" ISTR6="" ISTR7="" ISTR8="" ISTR9="" NUMATTRS=1 AID0=400
    AVAL0="BDC00003"  $$<SMS_DISTRIBUTION_MANAGER><03-17-2014 16:00:23.510+240><thread=6092 (0x17CC)>
    StateTable::CState::Handle - (2301:1 2014-03-17 20:00:23.510+00:00) >> (0:0 2014-02-28 16:33:45.383+00:00)
     $$<SMS_DISTRIBUTION_MANAGER><03-17-2014 16:00:23.515+240><thread=6092 (0x17CC)>
    CStateMsgReporter::DeliverMessages - Queued message: TT=1401 TIDT=0 TID='8ACCAE01-5079-4FCD-A988-C1CD3004B698' SID=2301 MUF=0 PCNT=2, P1='PRI' P2='2014-03-17 20:00:23.510+00:00' P3='' P4=''
    P5=''  $$<SMS_DISTRIBUTION_MANAGER><03-17-2014 16:00:23.526+240><thread=6092 (0x17CC)>
    CStateMsgReporter::DeliverMessages - Created state message file: D:\Program Files\Microsoft Configuration Manager\inboxes\auth\statesys.box\incoming\1sfb1dbj.SMX  
    $$<SMS_DISTRIBUTION_MANAGER><03-17-2014 16:00:23.571+240><thread=6032 (0x1790)>
    Successfully send state change notification 8ACCAE01-5079-4FCD-A988-C1CD3004B698 
    $$<SMS_DISTRIBUTION_MANAGER><03-17-2014 16:00:23.572+240><thread=6032 (0x1790)>
    ~Exiting package processing thread. 
    $$<SMS_DISTRIBUTION_MANAGER><03-17-2014 16:00:23.574+240><thread=6032 (0x1790)>
    CStateMsgReporter::DeliverMessages - Created state message file: D:\Program Files\Microsoft Configuration Manager\inboxes\auth\statesys.box\incoming\abaibh8y.SMX  
    $$<SMS_DISTRIBUTION_MANAGER><03-17-2014 16:00:23.637+240><thread=6092 (0x17CC)>
    Successfully send state change notification 8ACCAE01-5079-4FCD-A988-C1CD3004B698 
    $$<SMS_DISTRIBUTION_MANAGER><03-17-2014 16:00:23.683+240><thread=6092 (0x17CC)>
    ~Exiting package processing thread. 
    $$<SMS_DISTRIBUTION_MANAGER><03-17-2014 16:00:23.685+240><thread=6092 (0x17CC)>
    Sleep 30 minutes... 
    $$<SMS_DISTRIBUTION_MANAGER><03-17-2014 16:00:26.886+240><thread=2936 (0xB78)>
    ~Used 0 out of 3 allowed processing threads. 
    $$<SMS_DISTRIBUTION_MANAGER><03-17-2014 16:00:27.948+240><thread=4900 (0x1324)>
    ~Sleep 3600 seconds... 
    $$<SMS_DISTRIBUTION_MANAGER><03-17-2014 16:00:27.950+240><thread=4900 (0x1324)>
    Sleep 30 minutes... 
    $$<SMS_DISTRIBUTION_MANAGER><03-17-2014 16:00:31.934+240><thread=2936 (0xB78)>
    ~Used 0 out of 3 allowed processing threads. 
    $$<SMS_DISTRIBUTION_MANAGER><03-17-2014 16:00:33.021+240><thread=4900 (0x1324)>
    ~Sleep 3600 seconds... 
    $$<SMS_DISTRIBUTION_MANAGER><03-17-2014 16:00:33.023+240><thread=4900 (0x1324)>
    ~Used 0 out of 3 allowed processing threads. 
    $$<SMS_DISTRIBUTION_MANAGER><03-17-2014 16:00:38.108+240><thread=4900 (0x1324)>
    ~Sleep 3600 seconds... 
    $$<SMS_DISTRIBUTION_MANAGER><03-17-2014 16:00:38.111+240><thread=4900 (0x1324)>
    Sleeping for 60 minutes before content cleanup task starts.~ 
    $$<SMS_DISTRIBUTION_MANAGER><03-17-2014 16:06:28.094+240><thread=4968 (0x1368)>
    Sleep 30 minutes... 
    $$<SMS_DISTRIBUTION_MANAGER><03-17-2014 16:30:52.271+240><thread=2936 (0xB78)>
    Sleep 30 minutes... 
    $$<SMS_DISTRIBUTION_MANAGER><03-17-2014 17:01:10.002+240><thread=2936 (0xB78)>
    ~Used 0 out of 3 allowed processing threads. 
    $$<SMS_DISTRIBUTION_MANAGER><03-17-2014 17:01:10.977+240><thread=4900 (0x1324)>
    ~Sleep 3600 seconds... 
    $$<SMS_DISTRIBUTION_MANAGER><03-17-2014 17:01:10.979+240><thread=4900 (0x1324)>
    Sleeping for 60 minutes before content cleanup task starts.~ 
    $$<SMS_DISTRIBUTION_MANAGER><03-17-2014 17:06:55.337+240><thread=4968 (0x1368)>
    Issue 2: I'm trying to deploy a couple of Packages/Applications using SCCM 2012 R2 running on Win2K8 R2 with no luck, knowing that I could install the packages
    on a test VM “in the DataCenter site”, but when trying to deploy the packages to production PC “in the Office Site”,
     the status is packages deployment compliance stuck at 0%
    Infrastructure:
    3 SCCM servers: CAS, PRI & SEC. Both CAS and PRI are in the DataCenter site, and SEC is in the Office site. The office site has several IP subnets.
    Boundaries are configured through Forest Discovery “IP Ranges and AD Sites” since that the AD site should contain all the IP subnets that the AD site contains, Boundaries groups are also configured and a site reference
    server is configured for each group respectively.
    A OU based Collection has been configured that contains 13 PC "the collection contains the PCs that the packages should be installed.
    Packages/Applications are configured correctly since that I could successfully deploy the packages to the test VM which is on the same subnet as the CAS and the PRI servers "the DataCenter subnet". The issue
    is that I can't deploy the packages to production PCs in the Office subnet!
    Firewall rules are configured and applied via GP, and I even turned Windows Firewall off, and still nothing! I tried to manually initiate Computer Policy download via the SCCM GUI and via a script, still no luck!
    I tried configuring IP Subnet Boundaries, still no luck!!
    Here are the last 2 lines in the LocationServices.log of a client PC at the Office Site:
    <![LOG[MPLIST requests are throttled for 00:00:44]LOG]!><time="14:47:00.766+240" date="03-17-2014" component="LocationServices" context="" type="2" thread="5776"
    file="lssecurity.cpp:4528"> <![LOG[Current AD site of machine is Default-First-Site-Name]LOG]!><time="14:47:00.777+240" date="03-17-2014" component="LocationServices" context="" type="1"
    thread="4884" file="lsad.cpp:770">
    And here are the last 4 lines in the ClientLocation.log
    <![LOG[Rotating assigned management point, new management point [1] is: BBK-SCCM-PRI.bbk2310.com (7958) with capabilities: <Capabilities SchemaVersion="1.0"><Property Name="SSLState"
    Value="0"/></Capabilities>]LOG]!><time="14:49:04.880+240" date="03-17-2014" component="ClientLocation" context="" type="1" thread="3600" file="lsad.cpp:6311">
    <![LOG[Assigned MP changed from <BBK-SCCM-PRI.bbk2310.com> to <BBK-SCCM-PRI.bbk2310.com>.]LOG]!><time="14:49:04.891+240" date="03-17-2014" component="ClientLocation" context="" type="1"
    thread="3600" file="lsad.cpp:1532"> <![LOG[Rotating proxy management point, new management point [1] is: BBK-SCCM-SEC.bbk2310.com (7958) with capabilities: <Capabilities SchemaVersion="1.0"><Property Name="SSLState"
    Value="0"/></Capabilities>]LOG]!><time="14:49:05.345+240" date="03-17-2014" component="ClientLocation" context="" type="1" thread="3600" file="lsad.cpp:6374">
    <![LOG[Rotating local management point, new management point [1] is: BBK-SCCM-SEC.bbk2310.com (7958) with capabilities: <Capabilities SchemaVersion="1.0"><Property Name="SSLState" Value="0"/></Capabilities>]LOG]!><time="14:49:05.786+240"
    date="03-17-2014" component="ClientLocation" context="" type="1" thread="3600" file="lsad.cpp:6436">
    It looks like clients in the Office Site can’t connect to the DP/MP of the Secondary Site server which is also a DP.
    While on the PC that the application was installed on I see the folowing in the LocationService.log:
    <![LOG[Distribution Point='http://BBK-SCCM-PRI.bbk2310.com/SMS_DP_SMSPKG$/Content_69547d2a-339f-4ac4-9523-238c79ff8a52.1', Locality='LOCAL', DPType='SERVER', Version='7958', Capabilities='<Capabilities SchemaVersion="1.0"><Property
    Name="SSLState" Value="0"/></Capabilities>', Signature='http://BBK-SCCM-PRI.bbk2310.com/SMS_DP_SMSSIG$/Content_69547d2a-339f-4ac4-9523-238c79ff8a52.1.tar', ForestTrust='TRUE',]LOG]!><time="14:42:59.506+240"
    date="03-17-2014" component="LocationServices" context="" type="1" thread="224" file="lsutils.cpp:415"> <![LOG[Calling back with locations for location request {144620BC-4BF0-4878-9554-F67D305ECCF8}]LOG]!><time="14:42:59.522+240"
    date="03-17-2014" component="LocationServices" context="" type="1" thread="224" file="replylocationsendpoint.cpp:220">
    Is there something wrong with the Distribution point on the Secondary Site server?
    Please help…
    Thanks..

    Update:
    I fixed the issue with the default XXX00002 package - "Configuration Manager Client Package", it will not deploy to the Secondary Site DP. I did that through "Update Distribution Points" option, and after a while the status was 100%.
    However; the second issue is still unsolved...
    Please help..

  • Config manager client deployment script states the user is not a local admin

    Guys I posted here a while back in regards to deploying config manager clients in a wan environment.One of the suggestions was to use Jason Sandy's script. I finally got around to playing around with the script however I ran into some strange problems
    while testing.I am deploying this via the user side of group policy not the computer side. The script goes out and installs the client the problem is when our users click on any Citrix application the script pops up a message box stating "the user is
    not a local admin". I don't see how that's the case because this group of users all have local admin rights on there systems. If I run this script as a domain admin or under the system account everything works smoothly. Citrix is the only application
    that's doing this however this is a big deal because we deliver all of our enterprise apps using Citrix. So has anyone here ran into this before?

    Hi,
    As this thread has been quiet for a while, we assume that the issue has been resolved. At this time, we will mark it as "Answered" as the previous steps should be helpful for many similar scenarios.
    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.

  • Data Protection Manager Client

    Hello collegues,
    is there an option to install Data Protection Manager Client (not the agent itself) for DPM 2012/2012 R2? We need an option for clients to backup/restore their's data on demand with GUI interface. I saw such an application in DPM 2010, but can't
    see it in 2012 options fo installation.
    Regards

    Hi,
    Please see the below links that may assist you.
    https://technet.microsoft.com/en-us/library/jj628055.aspx      
    Note if needed:
    The administrator of a client computer must set the name of non-admin users who have to have permissions to perform end-user recovery of protected data of a client computer. You only need to add the registry entries on
    the client machines same as on DPM 2010.  The DPM 2012 DPMRA Agent should still honor the keys.
    To do this, the administrator must add the following registry key and value for each of these non-admin users. This is single key that contains a comma-separated
    list of client users. You do not have to add this key separately for each non-admin user. 
    Registry key:
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft Data Protection Manager\Agent\ClientProtection
    REG_SZ: ClientOwners
    Value: Names of non-admin users. This should be a comma-separated list of user names without any leading or trailing spaces, as in the following example: domain1\user1,domain1\user2,domain1\user3 (and so on)
    Following blog provides detailed steps to configure DPM recovery permissions for users that are not members of the local administrators
    group:
    http://blogs.technet.com/b/dpm/archive/2011/05/10/how-to-configure-the-dpm-client-to-allow-non-admin-users-to-perform-end-user-recovery-of-dpm-protected-data.aspx
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to
    other community members reading the thread. Regards, Dwayne Jackson II. [MSFT] This posting is provided "AS IS" with no warranties, and confers no rights."

  • Fail on windowsupdate because of Configuration Manager Client

    Hello everbody,
    I have setup a Build and Capture task and this works ok until i enable the windowsupdate post application installation.
    It looks good but it then stumbles on installing the Configuration Manager Client. Our WSUS server is also our SCCM server.
    Googled arround but not much to be found other then one suggestion to exclude it using the KB number.
    This is what the log is saying:
    <![LOG[Scan complete, ready to install updates. Count = 1]LOG]!><time="11:05:51.000+000" date="02-05-2015" component="ZTIWindowsUpdate" context="" type="1" thread="" file="ZTIWindowsUpdate">
    <![LOG[Begin Downloading...]LOG]!><time="11:05:51.000+000" date="02-05-2015" component="ZTIWindowsUpdate" context="" type="1" thread="" file="ZTIWindowsUpdate">
    <![LOG[Begin Installation...]LOG]!><time="11:06:06.000+000" date="02-05-2015" component="ZTIWindowsUpdate" context="" type="1" thread="" file="ZTIWindowsUpdate">
    <![LOG[    8427071a-da80-48c3-97de-c9c528f73a2d  result(4 / HR = 80070643 ) : Configuration Manager Client (5.00.7958.1000)]LOG]!><time="11:06:07.000+000" date="02-05-2015" component="ZTIWindowsUpdate"
    context="" type="1" thread="" file="ZTIWindowsUpdate">
    <![LOG[Failure, Please run again!]LOG]!><time="11:06:07.000+000" date="02-05-2015" component="ZTIWindowsUpdate" context="" type="1" thread="" file="ZTIWindowsUpdate">
    Regards,
    Francis

    Hi Nick,
    No it does not have to be into the image, i just wanted to use the WSUS to update more quickly instead of downloading it using the internet.
    Small update, i excluded the Configuration manager client to install during update, that works but no othe updates gets installed. It is finishing the deployment succesfuly without any update installed.
    Somehow i thing it needs Configuration Manager Client to be installed to install other updates.....
    When i do not point the deployment to the wsus server (i comment out the wsus server in customsettings) it start downloading and installing updates as it should.
    Regards,
    Francis

  • Release Management Update 4-Errors while loading releases in Release Managment Client Interface.

    Hi Team,
    We are using Release Management from last 8 months and we upgraded to Release Management Update 4 and using it from last 4 months. Currently we are creating around 50-60 releases daily, but we are facing below issues from last few days with
    Releases tab and no issues with other tabs (Administration, Inventory, Configure Paths and Configure Apps)
    Release Management Client interface is taking long time when we are opening it.
    Throwing error when we are clicking on Releases link in Releases tab.
    Throwing error when we are creating new releases.
    Please find the error log below:
    Timestamp: 3/27/2015 6:49:44 PM
    Message: Error thrown while executing the stored procedure ReleaseV2_List with parameters , @FilterXml:<Filter StatusId="0" DateStatusId="1" ApplicationVersionId="0" StageId="0" IsDeferred="0" UserId="9002"
    />, @PartitionId:1.
    Timestamp: 3/27/2015 6:49:44 PM
    Message: Timeout expired.  The timeout period elapsed prior to completion of the operation or the server is not responding.: \r\n\r\n   at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
       at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
       at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
       at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
       at System.Data.SqlClient.SqlDataReader.TryConsumeMetaData()
       at System.Data.SqlClient.SqlDataReader.get_MetaData()
       at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)
       at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, SqlDataReader ds)
       at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean asyncWrite)
       at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)
       at System.Data.SqlClient.SqlCommand.ExecuteXmlReader()
       at Microsoft.TeamFoundation.Release.Sql.OnPrem.OnPremDbAccessor.ExecuteXmlStoredProcedure(String storedProcedureName, Hashtable xmlParameters, String rootElementName, Boolean addRequestorParameter)
    Timestamp: 3/27/2015 6:49:44 PM
    Message: The wait operation timed out: \r\n\r\n
    Timestamp: 3/27/2015 6:49:44 PM
    Message: Exception has been thrown by the target of an invocation.: \r\n\r\n   at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean&
    bNeedSecurityCheck)
       at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
       at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
       at System.Activator.CreateInstance[T]()
       at Microsoft.VisualStudio.Release.ViewModel.ViewModels.WorkspaceTabViewModel`1.get_DefaultViewModel()
    Timestamp: 3/27/2015 6:49:44 PM
    Message: The remote server returned an error: (500) Internal Server Error.: \r\n\r\n   at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
       at Microsoft.TeamFoundation.Release.Data.WebRequest.PlatformHttpClient.EndGetResponse(IAsyncResult asyncResult)
       at Microsoft.TeamFoundation.Release.Data.WebRequest.RestClientResponseRetriever.EndGetAsyncMemoryStreamFromResponse(IAsyncResult asyncResult, IPlatformHttpClient platformHttpClient)
       at Microsoft.TeamFoundation.Release.Data.WebRequest.RestClientResponseRetriever.EndDownloadString(IAsyncResult asyncResult, IPlatformHttpClient platformHttpClient)
       at Microsoft.TeamFoundation.Release.Data.WebRequest.RestClient.EndPost(IAsyncResult asyncResult)
       at Microsoft.TeamFoundation.Release.Data.Proxy.RestProxy.HttpRequestor.<>c__DisplayClass1.<GetPostCaller>b__0(String url, String body)
       at Microsoft.TeamFoundation.Release.Data.Proxy.RestProxy.BaseReleaseV2ServiceProxy.ListReleases(String filterXml)
       at Microsoft.TeamFoundation.Release.Data.Model.ReleaseV2.LoadListXml(String filterXml)
       at Microsoft.TeamFoundation.Release.Data.Model.ModelFactory.LoadListElements[T](String filterXml)
       at Microsoft.VisualStudio.Release.ViewModel.ViewModels.ReleasesViewModel.LoadElements(String filterXml)
       at Microsoft.VisualStudio.Release.ViewModel.DataAccess.ElementRepository.LoadElements(String filterXml)
       at Microsoft.VisualStudio.Release.ViewModel.ViewModels.ListWorkspaceViewModel.Initialize()
       at Microsoft.VisualStudio.Release.ViewModel.ViewModels.ReleasesViewModel..ctor()
    Timestamp: 3/27/2015 6:49:44 PM
    Message: The remote server returned an error: (500) Internal Server Error.: \r\n\r\n   at Microsoft.TeamFoundation.Release.Common.Presentation.Binding.OnDatabindingException(Object bindingExpression, Exception exception)
       at System.Windows.Data.Binding.DoFilterException(Object bindExpr, Exception exception)
       at System.Windows.Data.BindingExpression.CallDoFilterException(Exception ex)
       at System.Windows.Data.BindingExpression.ProcessException(Exception ex, Boolean validate)
       at System.Windows.Data.BindingExpression.UpdateSource(Object value)
       at System.Windows.Data.BindingExpressionBase.UpdateValue()
       at System.Windows.Data.BindingExpression.UpdateOverride()
       at System.Windows.Data.BindingExpressionBase.Update()
       at System.Windows.Data.BindingExpressionBase.ProcessDirty()
       at System.Windows.Data.BindingExpressionBase.Dirty()
       at System.Windows.Data.BindingExpressionBase.SetValue(DependencyObject d, DependencyProperty dp, Object value)
       at System.Windows.DependencyObject.SetValueCommon(DependencyProperty dp, Object value, PropertyMetadata metadata, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType, Boolean isInternal)
       at System.Windows.DependencyObject.SetCurrentValueInternal(DependencyProperty dp, Object value)
       at System.Windows.Controls.Primitives.Selector.UpdatePublicSelectionProperties()
       at System.Windows.Controls.Primitives.Selector.SelectionChanger.End()
       at System.Windows.Controls.Primitives.Selector.SetSelectedHelper(Object item, FrameworkElement UI, Boolean selected)
       at System.Windows.Controls.Primitives.Selector.NotifyIsSelectedChanged(FrameworkElement container, Boolean selected, RoutedEventArgs e)
       at System.Windows.Controls.Primitives.Selector.OnSelected(Object sender, RoutedEventArgs e)
       at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
       at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
       at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
       at System.Windows.UIElement.RaiseEvent(RoutedEventArgs e)
       at System.Windows.Controls.TabItem.OnSelected(RoutedEventArgs e)
       at System.Windows.Controls.TabItem.OnIsSelectedChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
       at System.Windows.FrameworkElement.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs args)
       at System.Windows.DependencyObject.UpdateEffectiveValue(EntryIndex entryIndex, DependencyProperty dp, PropertyMetadata metadata, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue,
    OperationType operationType)
       at System.Windows.DependencyObject.SetValueCommon(DependencyProperty dp, Object value, PropertyMetadata metadata, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType, Boolean isInternal)
       at System.Windows.DependencyObject.SetCurrentValueInternal(DependencyProperty dp, Object value)
       at System.Windows.Controls.TabItem.OnPreviewGotKeyboardFocus(KeyboardFocusChangedEventArgs e)
       at System.Windows.UIElement.OnPreviewGotKeyboardFocusThunk(Object sender, KeyboardFocusChangedEventArgs e)
       at System.Windows.Input.KeyboardFocusChangedEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
       at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
       at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
       at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
       at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
       at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
       at System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted)
       at System.Windows.Input.InputManager.ProcessStagingArea()
       at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
       at System.Windows.Input.KeyboardDevice.TryChangeFocus(DependencyObject newFocus, IKeyboardInputProvider keyboardInputProvider, Boolean askOld, Boolean askNew, Boolean forceToNullIfFailed)
       at System.Windows.Input.KeyboardDevice.Focus(DependencyObject focus, Boolean askOld, Boolean askNew, Boolean forceToNullIfFailed)
       at System.Windows.Input.KeyboardDevice.Focus(IInputElement element)
       at System.Windows.UIElement.Focus()
       at System.Windows.Controls.TabItem.SetFocus()
       at System.Windows.Controls.TabItem.OnMouseLeftButtonDown(MouseButtonEventArgs e)
       at System.Windows.UIElement.OnMouseLeftButtonDownThunk(Object sender, MouseButtonEventArgs e)
       at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
       at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
       at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
       at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
       at System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)
       at System.Windows.UIElement.OnMouseDownThunk(Object sender, MouseButtonEventArgs e)
       at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
       at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
       at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
       at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
       at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
       at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
       at System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted)
       at System.Windows.Input.InputManager.ProcessStagingArea()
       at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
       at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
       at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
       at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
       at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
       at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
       at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
       at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
       at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
    Please help us.
    Thanks & Regards,
    Ramakrushna Parupalli

    Hi Ramakrushna,
    For the situation, you can connect to the database of Release Management, and check whether you can execute stored procedure ReleaseV2_List manually.
    You can also try to clean some of releases records if possible to check if the timeout issue can be resolved. Or you can set the timeout configuration of Release Management to a larger value. Refer to this
    thread for more information.
    Another option is check event logs to see if there any useful informaiton, and repair Release Management on your server machine if possible. If the problem still exist after taking the methods I mentioned above, please elaborate more details about your scenario.
    Best regards,
    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.

  • 10.5.6 update + Managed Client + MS Office

    This is a description of what I have found that works when managing clients using Workgroup Manager on a Leopard Server. Maybe it will help others with a similar issue.
    The problem:
    When users log into the Leopard server with network home directories and work on MS Word (2004) log out, their workstations (also running Leopard - 10.5.6) display the kernel panic, and have to be restarted.
    Note:
    The same machines logging into the same Leopard server do not go into KP when users log out after using AppleWorks.
    The solution:
    Archive and install the workstations back to 10.5.5 - problem is completely solved - no KP's after 95 student logouts after working on MS Word.
    I don't know what the explanation is, and I'm too busy with teaching classes to do more investigation, but maybe someone else can add to this thread, possibly with other, better solutions.
    Cheers,
    Peter

    Will do, although I did send the reports (from each machine) to Apple when asked after the reboot - would this contain the same information?

  • Help me configure Change request management !!!

    Dear friends,
    I am Going to Configure Change request Management, so just to ensure that the configuration is not erronous, i would need Expert advise..
    Just want to know Clear few things before i proceed..
    I am also refering SPRO and related notes
    Scenario :
    I have two SYSTEMS SAP ECC 6.0 with System id R03 and Soluiton manager with SYSTEM id SOL,
    R03 has 3 clients, 300 600 700..
    In R03 300 is the development client, 600 is quality client, 700 is the production client.
    SOL has 2 clients, 100, 200
    With 200 as the production client.
    Q.1) <b>Do i have to configure CHARM in both the client (100 and 200 of SOLMAN).</b>
    Q.2) Initially I had tried to set CHARM in client 100 of solman, but later on realized that it has to be set up in client 200.
    When i logon to client 200 and  Execute IMG activity Spro-> sap soltion manger->basic settings-> sap solution manager system->activate integration with change request management.
    Then by default it take the previous client ( client 100) as the change request management client.
    ( as we know there are three steps in the above activity ), the other activity are executed properly, only prblem being that the default client is always set to 100, which should not be the case).
    I do get the prompt saying ( "The change request clent is set to clent 100, do u want to change to client 200, on clicking yes, still it is always set the same client 100 as charm client ")
    <b>Plz let me know what do i do to set the change request client to 200??</b>
    Q.3) Regarding TMS, we have local domain controller in solman and local domain in R3.
    We are planing to establish domain links between the two systems( ie both the domain controllers) ??
    Is this the right strategy ??
    <b>Any other method that u can recommend  ??</b>
    Q.4)One of the IMG activity says, Generate Destinations to client 000 of all the domain controllers..
    Whenever i do this these, destinations are created with errors, i am not able to create trusted RFC destinations without errors.
    When i logon to satellite domain controler and excecute sm59 there are 2 destinations created Trusted and BACK.
    These destinations works well,
    but when i logon to Solman, got to sm59 , when i test the TMW and TRUSTED rfc destinations  i test these destinations using Remote Logon i get error,
    " no authorization to logon as trusted system"
    I went thru one note which recomended Kernel upgrades to solve the problem,
    I r3 my kernel relaese is 700 with patch level 56, the note recomends to apply patch 80, did u have these problems??
    <b>what is your kernel patch levels in sateliite and solman systems.</b>
    Q.5) TO be able to raise tickets from R3 to solman we create RFC destinations.
    We also create RFC destinations to client 000 of all the sateliite system,
    <b>dont u think these RFC destinations might interfere with each other??</b>
    Q.6) Is there anyone who has successfully configured CHARM. Can you plz share the  configuration documents with me..
    Please note :
    <b>All the contributors would be handesomely rewarded with points .</b>

    Hi,
    Check this
    Note 128447 - Trusted/Trusting Systems
    For your Q4.
    Q3.)
    Establishing Domain link - That's the right way. Go ahead.
    These are the steps.
    <b>1.Define Transport Routes for System Landscape</b>
    assign exactly one development system to a production system, and that these two systems are connected by exactly one unique transport track. If a development system and a production system are connected by more than one transport track, this may lead to inconsistencies within the transport distribution. This type of transport configuration cannot be supported by Change Request Management, and may cause inconsistencies within the tools involved.
    <b>2. Activate Extended Transport Control</b>
    The CTC parameter should be '1'
    <b>3.Configure Transport Strategy</b>
    Deactivate the QA Approval.
    <b>4. Activate Trusted Services.</b>
    5.Activate Domain Links.
    You have to activate domain link between systems.
    6. Generate RFC Destinations to Client 000
    Hope this helps.
    feel free to revert back.
    --Ragu

  • Unable to generate Bean Managed Client project

    Hello,
    I am using JDeveloper 9.0.3 Production (build 1035).
    For each of our Business Components projects, we create a deployment profile - BC EJB Session Bean, Session Facade (BMT).
    Because of the way our application is organized, the default folder proposed for the BMC (Bean Managed Client) project is not suitable.
    As it is not possible to modify the BMC project folder or name once generated (maybe here is a slight problem?), we decided to find a different modus operandi to get the same final result.
    But, it seems that the only way to create the BMC project is from the very beginning, when the deployment profile is created, and with the default names generated by JDeveloper.
    Maybe I am missing something.
    Here are the steps I perform:
    1. Specify an Application Server Connection (Standalone OC4J) to our development OC4J server.
    2. For the BC project, create a Deployment Profile / Business Components EJB Session Bean.
    3. For this deployment profile, choose to deploy to Oracle 9iAS EJB Container, using the previously created connection.
    4. In the AppModules section of the profile, carefully reset the option "Create AppModule Configurations" after having selected the one AppModule defined in the BC project.
    5. In the properties of our AppModule, in the Remote section, I activate now the option "Remotable Application Module" and I select Session Facade (BMT) configuration.
    6. In the Target Platform section, I update the Client Project entry to fit our project's organization and press OK.
    7. I return to the deployment profile settings and set the option "Create AppModule Configurations".
    For my surprise, at this moment the BMC project is not created. Nor if I compile the BC project, or modify again the AppModule, or the configurations, or the deployment profile...
    I even tried to quit JDeveloper, re-enter and re-do the same attempts, but useless...
    Is there a way to create the BMC project for a BMT Session Facade configuration after having created the deployment profile?
    TIA,
    Adrian

    Sorry, I think I over-reacted. In fact, the only real problem I have is that I cannot move the BMC project from the default project to another.
    I already have some projects for my application (which I tested until now in local config) and I want now to make them remotable. The problem with the project that did not want to create the BMC-pair was that it had nothing to remote - no exposed method, nor for AM, nor for VO's ;o)
    For a project that already has some remotable methods, the steps to perform are very strict when you want to make it remotable. You are right, if I first make my AM remotable and properly define there the path and name for the client project, I get the good results.
    But, even in this case, I did not see any integrated way of moving this project (completely generated by JDev) to another folder. What I do is modify the project in the configuration properties, quit JDev and move the folder manually.
    Thank you,
    Adrian

  • Unable to copy hidden package "Configuration Manager Client Package" to local DP

    Content status lists it as successfully distributed to all DPs (including the local site server)
    However, component status for SMS_DISTRIBUTION_MANAGER continually logs these events:
    Distribution Manager failed to process package "Configuration Manager Client Package" (package ID = CDW00001).
    Possible cause: Distribution manager does not have access to either the package source directory or the distribution point.
    Solution: Verify that distribution manager can access the package source directory/distribution point.
    Possible cause: The package source directory contains files with long file names and the total length of the path exceeds the maximum length supported by the operating system.
    Solution: Reduce the number of folders defined for the package, shorten the filename, or consider bundling the files using a compression utility.
    Possible cause: There is not enough disk space available on the site server computer or the distribution point.
    Solution: Verify that there is enough free disk space available on the site server computer and on the distribution point.
    Possible cause: The package source directory contains files that might be in use by an active process.
    Solution: Close any processes that maybe using files in the source directory. If this failure persists, create an alternate copy of the source directory and update the package source to point to it.
    NOTE: It appears to not be any of these causes.
    If I look at the smsdpmon.log on the server in question, the following is logged every half hour:
    Intializing DP Monitoring Manager...    SMS_Distribution_Point_Monitoring 1/2/2013 1:29:45 PM 2840 (0x0B18)
    Getting monitoring thread priority SMS_Distribution_Point_Monitoring 1/2/2013 1:29:45 PM 2840 (0x0B18)
    Getting content library root path SMS_Distribution_Point_Monitoring 1/2/2013 1:29:45 PM 2840 (0x0B18)
    Getting site code SMS_Distribution_Point_Monitoring 1/2/2013 1:29:45 PM 2840 (0x0B18)
    Getting algorithm ID SMS_Distribution_Point_Monitoring 1/2/2013 1:29:45 PM 2840 (0x0B18)
    Failed to find algorighm ID from registry. Use default algorithm. SMS_Distribution_Point_Monitoring 1/2/2013 1:29:45 PM 2840 (0x0B18)
    Getting DP Cert Type SMS_Distribution_Point_Monitoring 1/2/2013 1:29:45 PM 2840 (0x0B18)
    Failed to find DP cert type from registry. Use default type. SMS_Distribution_Point_Monitoring 1/2/2013 1:29:45 PM 2840 (0x0B18)
    Getting this DP NALPath SMS_Distribution_Point_Monitoring 1/2/2013 1:29:45 PM 2840 (0x0B18)
    Failed to create certificate store from encoded certificate..
    An error occurred during encode or decode operation. (Error: 80092002; Source: Windows) SMS_Distribution_Point_Monitoring 1/2/2013 1:29:45 PM 2840 (0x0B18)
    Failed to initialize DP monitoring object. Error code: 0x80092002 SMS_Distribution_Point_Monitoring 1/2/2013 1:29:45 PM 2840 (0x0B18)
    distmgr.log shows the following:
    STATMSG: ID=2304 SEV=I LEV=M SOURCE="SMS Server" COMP="SMS_DISTRIBUTION_MANAGER" SYS=BRICK-CONFIGMGR.corp.COMPANY.com SITE=CDW PID=2212 TID=2124 GMTDATE=Wed Jan 02 19:29:45.109 2013 ISTR0="CDW00001" ISTR1="" ISTR2="" ISTR3="" ISTR4="" ISTR5="" ISTR6="" ISTR7="" ISTR8="" ISTR9="" NUMATTRS=1 AID0=400 AVAL0="CDW00001"    SMS_DISTRIBUTION_MANAGER    1/2/2013 1:29:45 PM    2124 (0x084C)
    Retrying package CDW00001    SMS_DISTRIBUTION_MANAGER    1/2/2013 1:29:45 PM    2124 (0x084C)
    No action specified for the package CDW00001.    SMS_DISTRIBUTION_MANAGER    1/2/2013 1:29:45 PM    2124 (0x084C)
    Start validating package CDW00001 on server ["Display=\\BRICK-CONFIGMGR.corp.COMPANY.com\"]MSWNET:["SMS_SITE=CDW"]\\BRICK-CONFIGMGR.corp.COMPANYNAME.com\...    SMS_DISTRIBUTION_MANAGER    1/2/2013 1:29:45 PM    2124 (0x084C)
    Failed to start DP health monitoring task for package 'CDW00001'. Error code: -1    SMS_DISTRIBUTION_MANAGER    1/2/2013 1:29:45 PM    2124 (0x084C)
    Updating package info for package CDW00001    SMS_DISTRIBUTION_MANAGER    1/2/2013 1:29:45 PM    2124 (0x084C)
    Only retrying local DP update for package CDW00001, no need to replicate package definition to child sites or DP info to parent site.    SMS_DISTRIBUTION_MANAGER    1/2/2013 1:29:45 PM    2124 (0x084C)
    StoredPkgVersion (2) of package CDW00001. StoredPkgVersion in database is 2.    SMS_DISTRIBUTION_MANAGER    1/2/2013 1:29:45 PM    2124 (0x084C)
    SourceVersion (2) of package CDW00001. SourceVersion in database is 2.    SMS_DISTRIBUTION_MANAGER    1/2/2013 1:29:45 PM    2124 (0x084C)
    STATMSG: ID=2302 SEV=E LEV=M SOURCE="SMS Server" COMP="SMS_DISTRIBUTION_MANAGER" SYS=BRICK-CONFIGMGR.corp.COMPANYNAME.com SITE=CDW PID=2212 TID=2124 GMTDATE=Wed Jan 02 19:29:45.213 2013 ISTR0="Configuration Manager Client Package" ISTR1="CDW00001" ISTR2="" ISTR3="" ISTR4="" ISTR5="" ISTR6="" ISTR7="" ISTR8="" ISTR9="" NUMATTRS=1 AID0=400 AVAL0="CDW00001"    SMS_DISTRIBUTION_MANAGER    1/2/2013 1:29:45 PM    2124 (0x084C)
    Failed to process package CDW00001 after 41 retries, will retry 59 more times    SMS_DISTRIBUTION_MANAGER    1/2/2013 1:29:45 PM    2124 (0x084C)
    Exiting package processing thread.    SMS_DISTRIBUTION_MANAGER    1/2/2013 1:29:45 PM    2124 (0x084C)
    Used 0 out of 3 allowed processing threads.    SMS_DISTRIBUTION_MANAGER    1/2/2013 1:29:50 PM    3784 (0x0EC8)
    Sleep 1825 seconds...    SMS_DISTRIBUTION_MANAGER    1/2/2013 1:29:50 PM    3784 (0x0EC8)

    Both errors are certificate related. Is there anything special about your configuration such as special ACLs on the certificate store or FIPS compliance mode (see
    http://support.microsoft.com/kb/811833) being enabled?
    Nothing special with certificates; I've used the basic stuff for intranet management of clients.
    The only related thing I can think of that may have affected this, is that I discovered earlier today that my MP installation got hosed (error 500) due to a broken client install on the site server itself. I uninstalled the client manually and the server
    (as indicated by the component status views) appears to have repaired the MP install. Perhaps it didn't repair it completely? Would a site reset do me any good?

Maybe you are looking for