Help me to sort out the problem in this Simple Client - Server problem

Hi all,
I have just started Network programming in java . I tried to write simple Client and Server program which follows
MyServer :
package connection;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.net.ServerSocket;
import java.net.Socket;
public class MyServer {
      * @param args
     public static void main(String[] args) {
          String ss ="";
          try {
               ServerSocket sockServer = new ServerSocket(6000);
               Socket clientLink = sockServer.accept();
               System.out.println("Connection Established");
               InputStreamReader isr = new InputStreamReader(clientLink.getInputStream());
               BufferedReader bufReader = new BufferedReader(isr);
               System.out.println("buf "+bufReader.readLine());
               try {
                    while ((ss=bufReader.readLine())!=null) {
                         ss+=ss;
                    System.out.println("client message "+ss);
               } catch (IOException e) {
                    System.out.println("while reading");
                    e.printStackTrace();
          } catch (IOException e) {
               System.out.println("Can't able to connect");
               e.printStackTrace();
}MyClient:
package connection;
import java.io.IOException;
import java.io.OutputStreamWriter;
import java.io.PrintWriter;
import java.net.Socket;
public class MyClient {
      * @param args
     public static void main(String[] args) {
          try {
               Socket client = new Socket("127.0.0.1",6000);
               OutputStreamWriter osw = new OutputStreamWriter(client.getOutputStream());
               PrintWriter pw = new PrintWriter(osw);
               pw.write("hello");
          } catch (IOException e) {
               System.out.println("Failed to connect");
               e.printStackTrace();
}I got this error message when I start my client program .
Error message :
Connection Established
java.net.SocketException: Connection reset
     at java.net.SocketInputStream.read(Unknown Source)
     at sun.nio.cs.StreamDecoder.readBytes(Unknown Source)
     at sun.nio.cs.StreamDecoder.implRead(Unknown Source)
     at sun.nio.cs.StreamDecoder.read(Unknown Source)
     at java.io.InputStreamReader.read(Unknown Source)
Can't able to connect
     at java.io.BufferedReader.fill(Unknown Source)
     at java.io.BufferedReader.readLine(Unknown Source)
     at java.io.BufferedReader.readLine(Unknown Source)
     at connection.MyServer.main(MyServer.java:27)I think this is very simple one but can't able to find this even after many times . please help me to sort out this to get start my network programming .
Thanks in advance.

               System.out.println("buf "+bufReader.readLine());Here you are reading a line from the client and printing it.
               try {
                    while ((ss=bufReader.readLine())!=null) {
                         ss+=ss;
                    }Here you are reading more lines from the client and adding it to itself then throwing it away next time around the loop.
                    System.out.println("client message "+ss);... so this can't print anything except 'null'.
               pw.write("hello");Here you are printing one line to the server. So the server won't ever do anything in the readLine() loop above. Then you are exiting the client without closing the socket or its output stream so the server gets a 'connection reset'.

Similar Messages

  • Help needed to sort out the FCP numbers minefield - older G5

    Hi people-who-can-help
    I am incredibly new to Mac computers and I have to say my experience up to yet has been anything but fun! It has been a time of confusion, great expense and constantly incorrect advice. So I do hope someone within these discussion groups can help me not throw this old G5 out of the window!!
    This G5 arrived with OS 10.3 Panther loaded (including installation discs). I wanted to buy and learn to use Final Cut Pro and knew that only an older version would be suitable for this G5. I upgraded the RAM too so it now has the maximum it can handle. Not being hugely wealthy, I tried to find a copy of FCP 3 as I was told that was absolutely the latest version my G5 could handle, even with my 'new' OS 10.4 Tiger that I bought and successfully loaded.
    I could not easily find an old FCP 3 for some time, them managed to buy one, but although I had asked if all serial numbers etc were present and told that they were, it has been impossible to load. The CD must be in the drive which is not a problem - as this is an Academic version there are several discs with it, so I assume it was used in a school ICT suite. The fact that I wouldn't be able to upgrade was not a problem as I simply wanted to learn the software and maybe buy a more up to date Mac and software later when funds permitted.
    So I have this G5, two OS versions, a copy of FCP 3 Academic which I cannot load and people advising that I should buy Final Cut Suite as then I could use the FCP 6 and everything would be fine. One man even told me that it was clear to him that I had bought not FCP 3 but FCS 3!!
    Please help. What version of Final Cut Pro can I run on this machine (PPC processors, NOT Intel) with the OS that I have? Or shall I simply launch the Mac through the window with me following after it?!

    Hi Dave, & welcome to the forums!
    It looks like FCP5 will work...
    Macintosh computer with 500MHz or faster PowerPC G4 or G5 processor or any dual G4 or G5 processors,                         512MB of RAM, and AGP Quartz Extreme graphics card;                         HD editing requires a 1GHz or faster PowerPC G4 or G5 and 1GB of RAM
    Mac OS X v10.3.9 or later
    QuickTime 7 or later
    DVD drive for installation
    http://support.apple.com/kb/TA23208?viewlocale=en_US
    Free trial???
    http://www.bestshareware.net/finalcutpro-mac.htm
    Yet I bet there's some real pros over in the FCP forum that could be of better help...
    Hmmm, they've changed a bunch, not sure now where would be best...
    https://discussions.apple.com/community/professional_applications?view=overview

  • Help me to sort out the strings.(novice java user)

    Hi,
    I was wondering if someone can help me out of this problem.
    My program :
    -> it has to create an array of strings.
    -> then create an aray of integers.
    -> then if there are similar strings then i need to group them under the same name and display the output.
    for example if the input is like try, try, hard,mad, try for strings and the corresponing int values are 1,2,3,4,5 .... then.... i need to giv ethe o/p as try = 8
    hard = 3
    mad = g.

    I don't post here often, but I attempted to solve your problem. I noticed you weren't using any Maps (assumed you didn't know what they were)
    I would probably recommend using Maps for a problem like this, but I attempted it by glancing at your code and trying to understand what you were doing.
    (Still unsure if I do understand what you are doing :P)
    //     Program
    //          Created
    //               By
    //                    Lethalwire
    import java.util.*;
    import java.io.*;
    public class Expenses {
         public static void main(String[] args) {
              Scanner in = new Scanner(System.in);     //Reads data from user
              **     -expenses = Number of Categories
              **     -myCats = Array of Category objects
              **     -keepGoing = if true, program keeps running
              int expenses;
              Category[] myCats;
              boolean keepGoing = true;;
              **     Ask user for the number of categories
              System.out.println("Enter Amt. of expenses:  ");
              expenses = in.nextInt();
              **     initialize the Category array to the correct number of Categories
              myCats = new Category[expenses];
              **     Iterate through the myCats array and get names for each of the objects.
              for(int i = 0; i < myCats.length; i++) {
                   String tempName;
                   System.out.println("Enter name of category: ");
                   tempName = in.next();
                   myCats[i] = new Category(tempName);
              **     while loop tests keepGoing
              **     creates temporary variables :
              **          -tempCatName = takes the user's selected category
              **          -myTempCost = takes the current cost that needs to be added to the selected Category
              **          -exists = Checks to see if tempCatName exists in our array
              **               if !exists, error println is displayed
              **          -tempChar = takes the value of 'y' or 'n' to determine if the program continues
              System.out.println("-----------------------");
              while(keepGoing) {
                   String tempCatName;
                   double myTempCost;
                   boolean exists = false;
                   String tempChar;
                   System.out.println("Type a category name to add a value to.");
                   tempCatName = in.next();
                   System.out.println("What is the value you would like to add?");
                   myTempCost = in.nextDouble();
                   **     Iterate through the array and try to find the correctly matched object's name.
                   **      If object isn't found, error println is displayed
                   for(int i = 0; i < myCats.length; i++)
                        if( myCats.getName().equalsIgnoreCase(tempCatName) ) {
                             myCats[i].addCost(myTempCost);
                             exists = true;
                        if (!exists)
                             System.out.println("Category doesn't exist. (mispelled?");
                   **     Prompts the user to continue or not
                   **     Stores value in tempChar
                   **     if tempChar is yes, then program continues
                   **      if tempChar is no, keepGoing is set to false, then the while loop terminates
                   System.out.println("Continue? Enter 'y' for yes, 'n' for no.");
                   tempChar = in.next();
                        if( !tempChar.equalsIgnoreCase("y") )
                             keepGoing = false;
              System.out.println("-----------------------");
              **     Iterates through the array and gathers the current object's name, and total.
              **     They are then displayed
              System.out.println("Totals");
              for(int i = 0; i < myCats.length; i++)
                   System.out.println( myCats[i].getName() + ":\t\t\t$" + myCats[i].getTotal() );
    **     Cateogry class
    **     Holds an objects name and an ArrayList of double values
    class Category {
         **     -name = variable that keeps track of the current object's name
         **     -prices = ArrayList that adds double values when called for
         private String name;
         private ArrayList<Double> prices;
         **     Constructor takes 1 parameter
         **     Initializes prices
         Category(String n) {
              name = n;
              prices = new ArrayList<Double>();
         **     Returns the current objects name;
         String getName() {
              return name;
         **     Adds val to prices.
         void addCost(double val) {
              prices.add(val);
         **     Iterates through the prices arraylist and adds the values up storing them in total
         **     Method returns the total price;
         double getTotal() {
              double total = 0.0;
              for(Double d: prices)
                   total += d;
              return total;

  • Help me to sort out the error

    import java.awt.*;
    import java.awt.event.*;
    import java.awt.image.*;
    class Image01 extends Frame{ //controlling class
    Image rawImage; //ref to raw image file fetched from disk
    Image modImage; //ref to modified image
    int rawWidth;
    int rawHeight;
    int[][][] threeDPix;
    int[][][] threeDPixMod;
    int[] oneDPix;
    int inTop; //Inset values for the container object
    int inLeft;
    double slope;//Controls the slope of the line
    String inputData;//Obtained via the TextField
    TextField inputField;//Reference to TextField
    ImgIntfc02 imageProcessingObject;
    //=====================================================//
    public static void main(String[] args)
         Image01 obj = new Image01(); //instantiate this object
    obj.repaint(); //render the image
         } //end main
    //=====================================================//
    public Image01()
    {                                          //constructor
    //Get an image from the specified file in the current
    Label instructions = new Label(
    "Type a slope value and Replot.");
    add(instructions);
    inputField = new TextField("1.0",5);
    add(inputField);
    // directory on the local hard disk.
    rawImage =
    Toolkit.getDefaultToolkit().getImage("myco.jpeg");
    //Use a MediaTracker object to block until the image
    // is loaded or ten seconds has elapsed.
    MediaTracker tracker = new MediaTracker(this);
    tracker.addImage(rawImage,1);
    try
    {                                         //because waitForID throws InterruptedException
    if(!tracker.waitForID(1,10000))
    System.out.println("Load error.");
    System.exit(1);
    //end if
    catch(InterruptedException e)
    System.out.println(e);
    this.setVisible(true);//make the Frame visible
    rawWidth = rawImage.getWidth(this); //Raw image has been loaded. Establish width and
    rawHeight = rawImage.getHeight(this); // height of the raw image.
    inTop = this.getInsets().top; //Get and store inset data for the Frame object so
    inLeft = this.getInsets().left; // that it can be easily avoided.
    this.setSize(800,800);
    //this.setSize(inLeft+rawWidth,inTop+2*rawHeight); //Use the insets and the size of the raw image to
    this.setTitle("Copyright 1997, Baldwin"); // establish the overall size of the Frame object.
    this.setBackground(Color.yellow); //Make the Frame object twice the height of the
    // image so that the raw image and the modified image
    // can both be rendered on the Frame object.
    int[] oneDPix = new int[rawWidth * rawHeight]; //Declare an array object to receive the pixel
         // representation of the image
    //Convert the rawImage to numeric pixel representation
    try
    //because grapPixels() throws InterruptedException
    //Instantiate a PixelGrabber object specifying
    // pix as the array in which to put the numeric
    // pixel data.
    PixelGrabber pgObj = new PixelGrabber(rawImage,0,0,rawWidth,rawHeight,oneDPix,0,rawWidth);
    //Invoke the grabPixels() method on the PixelGrabber
    // object to actually convert the image to an array
    // of numeric pixel data stored in pix. Also test
    // for success in the process.
         if(pgObj.grabPixels() && ((pgObj.getStatus() & ImageObserver.ALLBITS) != 0))
              for(int cnt = 0; cnt < (rawWidth*rawHeight);cnt++)
                   oneDPix[cnt] = oneDPix[cnt];
    } //end for loop
                   threeDPix = convertToThreeDim(oneDPix,imgCols,imgRows);
                   int[][][] convertToThreeDim(int[] oneDPix,int imgCols,int imgRows)
    //Create the new 3D array to be populated
    // with color data.
    int[][][] data =
    new int[imgRows][imgCols][4];
    for(int row = 0;row < imgRows;row++){
    //Extract a row of pixel data into a
    // temporary array of ints
    int[] aRow = new int[imgCols];
    for(int col = 0; col < imgCols;col++){
    int element = row * imgCols + col;
    aRow[col] = oneDPix[element];
    }//end for loop on col
    //Move the data into the 3D array. Note
    // the use of bitwise AND and bitwise right
    // shift operations to mask all but the
    // correct set of eight bits.
    for(int col = 0;col < imgCols;col++){
    //Alpha data
    data[row][col][0] = (aRow[col] >> 24)
    & 0xFF;
    //System.out.println(data[row][col][0]);
    //Red data
    data[row][col][1] = (aRow[col] >> 16)
    & 0xFF;
    //Green data
    data[row][col][2] = (aRow[col] >> 8)
    & 0xFF;
    //Blue data
    data[row][col][3] = (aRow[col])
    & 0xFF;
    }//end for loop on col
    }//end for loop on row
    return data;
    }//end convertToThreeDim
    threeDPixMod =imageProcessingObject.processImg(threeDPix,imgRows,imgCols);
    public int[][][] processImg(
    int[][][] threeDPix,
    int imgRows,
    int imgCols){
    //Display some interesting information
    System.out.println("Program test");
    System.out.println("Width = " + imgCols);
    System.out.println("Height = " + imgRows);
    //Make a working copy of the 3D array to
    // avoid making permanent changes to the
    // image data.
    int[][][] temp3D =
    new int[imgRows][imgCols][4];
    for(int row = 0;row < imgRows;row++){
    for(int col = 0;col < imgCols;col++){
    temp3D[row][col][0] =
    threeDPix[row][col][0];
    temp3D[row][col][1] =
    threeDPix[row][col][1];
    temp3D[row][col][2] =
    threeDPix[row][col][2];
    temp3D[row][col][3] =
    threeDPix[row][col][3];
    }//end inner loop
    }//end outer loop
    //Get slope value from the TextField
    slope = Double.parseDouble(
    inputField.getText());
    //Draw a white diagonal line on the image
    for(int col = 0;col < imgCols;col++){
    int row = (int)(slope*col);
    if(row > imgRows -1)break;
    //Set values for alpha, red, green, and
    // blue colors.
    temp3D[row][col][0] = (byte)0xff;
    temp3D[row][col][1] = (byte)0xff;
    temp3D[row][col][2] = (byte)0xff;
    temp3D[row][col][3] = (byte)0xff;
    }//end for loop
    //Return the modified array of image data.
    return temp3D;
    }//end processImg
    oneDPix = convertToOneDim(
    threeDPixMod,imgCols,imgRows);
    int[] convertToOneDim( int[][][] data,int imgCols,int imgRows){
    //Create the 1D array of type int to be
    // populated with pixel data, one int value
    // per pixel, with four color and alpha bytes
    // per int value.
    int[] oneDPix = new int[
    imgCols * imgRows * 4];
    //Move the data into the 1D array. Note the
    // use of the bitwise OR operator and the
    // bitwise left-shift operators to put the
    // four 8-bit bytes into each int.
    for(int row = 0,cnt = 0;row < imgRows;row++){
    for(int col = 0;col < imgCols;col++){
    oneDPix[cnt] = ((data[row][col][0] << 24)
    & 0xFF000000)
    | ((data[row][col][1] << 16)
    & 0x00FF0000)
    | ((data[row][col][2] << 8)
    & 0x0000FF00)
    | ((data[row][col][3])
    & 0x000000FF);
    cnt++;
    }//end for loop on col
    }//end for loop on row
    return oneDPix;
    }//end convertToOneDim
    modImg = createImage(
    new MemoryImageSource(
    imgCols,imgRows,oneDPix,0,imgCols));
    //end if statement
         else System.out.println("Pixel grab not successful");
    catch(InterruptedException e)
    System.out.println(e);
    modImage = this.createImage(new MemoryImageSource(rawWidth,rawHeight,pix,0,rawWidth)); //Use the createImage() method to create a new image
    // from the array of pixel values.s
    this.addWindowListener(new WindowAdapter() //Anonymous inner-class listener to terminate program
              //anonymous class definition
              public void windowClosing(WindowEvent e)
         System.exit(0);                                              //terminate the program
              }//end windowClosing()
    } //end WindowAdapter
    );//end addWindowListener
    }//end constructor
    //=======================================================//
    //Override the paint method to display both the rawImage
    // and the modImage on the same Frame object.
    public void paint(Graphics g)
              if(modImage != null)
                   g.drawImage(rawImage,inLeft+50,inTop+50,this);
                   g.drawImage(modImage,inLeft+50,inTop+rawHeight+100,this);
              }//end if
         }//end paint()
    }//end Image05 class
    //=======================================================//

    You won't get much help with a post like this: no context, no stack trace, no code formatting...

  • Pls find out the exception in this simple program...

    Pls tell me wots the reason of the exception in this program since im getting an exception like this..
    Exception is thread "main" java.lang.NoClassDefFoundError: derived
    Program is the following:-
    class base {
    public base() {
    System.out.println("BASE CLASS DEFAULT CONSTRUCTOR");
    public base(int i) {
    System.out.println("inside base i");
    public class derived extends base {
    public static void main(String args[]) {
    derived obj=new derived();
    derived() {
    System.out.println("Derived class constructor");
    derived(int i) {
    System.out.println("inside derived i");
    Pls help me...

    Javapedia: Classpath
    How Classes are Found
    Setting the class path (Windows)
    Setting the class path (Solaris/Linux)
    Understanding the Java ClassLoader
    java -cp .;<any other directories or jars> YourClassNameYou get a NoClassDefFoundError message because the JVM (Java Virtual Machine) can't find your class. The way to remedy this is to ensure that your class is included in the classpath. The example assumes that you are in the same directory as the class you're trying to run.
    javac -classpath .;<any additional jar files or directories> YourClassName.javaYou get a "cannot resolve symbol" message because the compiler can't find your class. The way to remedy this is to ensure that your class is included in the classpath. The example assumes that you are in the same directory as the class you're trying to run.

  • When are Apple going to sort out the Final Cut Pro X Key Frame problem

    Hello,
    I’m trying to move three custom text clips to different locations on the screen & change the text size. The text clips drift around between two key frames with the same values. (“linear” is set on the red wire frame movement indicator) I know you can stop the drift by going to the first key frame, move forward one frame, add a key frame, wait for the rendering to complete then delete the key frame, then move to the next key frame, go back one frame, add a key frame, wait for the rendering to complete then delete the key frame. All this takes a considerable time. Does anyone know when Apple plan to fix this Key Frame bug? Or an easier way to stop the drift between key frames?
    Thanks
    JohnH

    Yep, I hope KFs get a little bit of love in the next update too.
    To make my KFs linear, I always do the move, then drop a dummy keyframe inbetween them and add/delete that KF until the Motion path stops showing a change. Linear interpolation will follow!
    Pain but quite quick!!

  • Help me sort out the problems with Java 2 SDK SE

    I install Java SDK 2 standard Eddition version 1.4 in my computer (Window NT4). When I test the installation by typing in "java -version", it displays the following message.
    C:\JavaPractice>java -version
    java version "1.4.0"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-b92)
    Java HotSpot(TM) Client VM (build 1.4.0-b92, mixed mode)
    But, When I compile a simple programme, it doesn't work and displays the following message.
    C:\JavaPractice>javac HelloDan.java
    The name specified is not recognized as an
    internal or external command, operable program or batch file.
    Could anybody help me sort out the problem, Please?

    i might guess that you have j2sdk1.4.0\jre\bin on your PATH, but not j2sdk1.4.0\bin ...
    Larry

  • HT202159 I am unable to download and always asking password after entering the password  also asking same question please help  me to sort out  this problem.

    I am unable to download and always asking the password it's ok for the once and it's asking more and no results only repeating the same so I am unable to download please help me to sort out this problem and my request please sort out from your side  or let me guide .

    Thanks Eric for responding.
    I checked and it does not appear in the Applications folder.
    I tried yesterday on an ethernet connection with a download speed of 2 Mbps but, unfortunately the connection died(It happened from the ISP end, which is out of my control) in between after which there was no trace of the download that happened for so long(till the internet connection death). 
    One more serious query which I am unable to understand. If the internet connection, dies in the midst of the download is in progress why is it so that the state does not persist and one has to restart the entire process again. Is there no solution for this?
    I tried so many times and its the same case after some amount of download it vanishes. So many unsuccessful attempts. I am ****** off now. Is it not possible to see Mavericks? Why does different machines of Apple behave differently? Somewhere it goes smoothly and somewhere like my mine. Why did not Apple release a non apple store version? Is this not a bad sign of letting the users struggle when something is being offered for free?
    The reason I asked as whether we can download the .app of Mavericks is that, there are so many applications that I have downloaded web and have installed. All that works fine. Can't we do the same here? You download a copy of Mavericks installer application and upload it for me in Google drive or like online storage places which can be downloaded and used by me? Help me understand.
    Thanks again.

  • NI have a Braun Photo Technik slidescan 3600 and it canot make it work with Lion: Is there anybody who sorted out the same problem? thanks

    I have a Braun Photo Technik slidescan 3600 and I cannot make it work with Lion. Is there anybody who sorted out the same problem? thanks

    We sure do have a problem - this is strictly a user to user assistance forum with users helping other users use the iPhoto program as it is - no one here has any ability to change or influnence the desigh or implementation of iPhoto
    try the iPhoto menu ==> provide iPhoto feedback
    LN

  • Apple Please sort out the V 11.1.4 problems as I cant get iTunes to work now. You need to have a new version asap

    Please sort out the V 11.1.4 problems as I cant get iTunes to work now. You need to have a new version asap

    Go to Control Panel > Add or Remove Programs (Win XP) or Programs and Features (later)
    Remove all of these items in the following order:
    iTunes
    Apple Software Update
    Apple Mobile Device Support (if this won't uninstall move on to the next item)
    Bonjour
    Apple Application Support
    Reboot, download iTunes, then reinstall, either using an account with administrative rights, or right-clicking the downloaded installer and selecting Run as Administrator.
    The uninstall and reinstall process will preserve your iTunes library and settings, but ideally you would back up the library and your other important personal documents and data on a regular basis. See this user tip for a suggested technique.
    Please note:
    Some users may need to follow all the steps in whichever of the following support documents applies to their system. These include some additional manual file and folder deletions not mentioned above.
    HT1925: Removing and Reinstalling iTunes for Windows XP
    HT1923: Removing and reinstalling iTunes for Windows Vista, Windows 7, or Windows 8
    tt2

  • It is 2013 and has apple sorted out the tax problem for UK residents? Do we still have to have anEIN to publish on ibooksauthor?

    It is 2013 and has Apple sorted out the tax problem for Non US residents publishing on iBooks? Do I still have to get an EIN when I will be selling in UK?

    LaraBland wrote:
    ...  but it continues to tell us we need to enter the passcode.
    See Here  >  http://support.apple.com/kb/HT1808
    You may need to try this More than Once...  Be sure to Follow ALL the Steps..

  • HT201413 i tried to resore my iphone 3GS with itunes but it is showing an error 29 , can anyone help me to sort out this problem?

    i tried to resore my iphone 3GS with itunes but it is showing an error 29 , can anyone help me to sort out this problem

    Try to restore get a error 29 - iPhone 3GS - iFixit
    See if this helps.

  • How do I sort out the troubles on the console?

    Gmail - [#SAM-621717]: Trial of home intego          15/03/13 10:59 PM
    [#SAM-621717]: Trial of home intego
    2 messages
    Intego Support <[email protected]> Reply-To: [email protected] To: mlkessell@**** Cc: monicakessell02@****
    Hello Monica,
    Fri, Mar 15, 2013 at 3:52 AM
    If the accounts are on the same computer, you should not have to use a different e-mail address. If your son's account is not an Administrator account, this may be the issue. Are you able to launch VirusBarrier from your son's account from Applications>Intego?
    Kind Regards,
    John Intego Support Team
    ____________________________________________________________________ Intego Technical Support          http://www.intego.com/support
    User manuals are available from the 'Help' menu in all Intego software. Keep up-to-date with the latest Mac security information.
    Visit the Intego Mac Security Blog: http://www.intego.com/mac-security-blog/ Follow us on Twitter: @IntegoSecurity
    Facebook: http://www.fa****.com/Intego ____________________________________________________________________
    Monica Kessell <monicakessell02@****>          Fri, Mar 15, 2013 at 10:55 PM To: [email protected]
    Yes I am able to do that and the issue that we were having seems to have settled down after the computer crashed and I restarted it by resetting PRAM and repairing the disk. Can you help me understand what to do about the issues that the console in utilities is logging frequently? both before and since the crash yesterday; (see below)
    First issue; An instance 0x10062c110 of class CBX5KeyboardObservationController was deallocated while key value observers were still registered with it. Observation info was leaked, and may even become mistakenly attacked to some other object. set a breakpoint on NSKVODeallocateBreak to stop here in the debugger. Here's the current observation info: .......
    (lots of stuff I don't understand)
    Monica Kessell <monicakessell02@****>
    Gmail - [#SAM-621717]: Trial of home intego          15/03/13 10:59 PM
    Second Issue; barrier.daemon[51] launcht l: Error unloading:com.intego.virusbarrier.bm_controller barrier.daemon[51] launcht l: Error unloading:com.intego.virusbarrier.bm_injector_32 barrier.daemon[51] launcht l: Error unloading:com.intego.virusbarrier.bm_injector_64 com.apple.launchd[1] (com.apple.xprotectupdater[25]Exited with exit code:252 e.WindowServer[95]Fri Mar 15 21:54;39 monica-kessellsimac. local WindowSever[95] <Error>: kCGErrorFailure: set a breakpoint @ CGErrorBreakpoint() to catcherrors as they are logged. d.peruser .501[146] (com.apple.ReportCrash) Falling back to default Mach exception handler. Could not find: com.apple ReportCrash.Self d.peruser .501[146]          (com.apple.mrt.uiagent[178])Exited with exit code 255 tions.enabled[186] launchct l : CFURLWriteDataAndPropertiesToResource(/var/db/launchd.db/ com.apple.launchd.peruser.501/overides.plist) failed:-10 d.peruser.501[146] (com.apple.Kerberos.renew.plist[179]) Exited with exit code: 1 tions.enabled[186] launchct l : CFURLWriteDataAndPropertiesToResource(/var/db/launchd.db/ com.apple.launchd.peruser.501/overides.plist) failed:-10 es.integomenu[185] objc[185]:ClassIFCrossCompatibleUnicodeString is implemented in both /Library/Intego/Family Protector.bundle/Contents/MacOS/Family Protector Daemon.app/Contents/ Frameworks/Family Protector Foundation.framework/Versions/A/Family ProtectorFoundation and /Library/Intego/ personalbackupd.bundle/Contents/MacOS/Personal BackupDaemon.app/Contents/ Frameworkds/PersonalBackup.framework/Versions/A/PersonalBackup. One of the two will be used. Which one is undefined
    and there are more messages like this regarding the Class IFTimeIntervalManager and the Class IFUUID and the Class IFMessanger and the Class IFMessangerClient and the class IFMessangerLion and the class IFMDelayed Messange and the Class IFSnowReply and the Class IFMessagerSnow and the Class IFMessanger and the Class IFMLionReply
    and on and on the messages go
    Can you shed some light on the subject and help me sort out the computer?
    regards
    Monica Kessell
    <Emails Edited By Host>

    Here's my latest list of complaints to Intego regarding Family Protector. I thought it should be shared:
    I have been using Family Barrier for a couple of years now, and may I say, it has so many problems that as soon as I can find a better alternative, I'm gone. Until that day, however, I expect some solutions.
    Issue #1: The application is 100% unreliable. The chances of it doing its job on any given day are seriously 50/50. Or worse. This alone renders the program useless. But that's not all.
    Issue #2: It's unbelievably easy to override. Are you seriously unaware that all one has to do is change the date on the computer to one before Family Barrier was installed, it will 100% not do its job. Awesome. This is straight out of Hacking 101, and any program should be able to defend against it. Otherwise, any demo I try download can be made to work forever. While some are, most are not. Get it together, People.
    Of course, making time changes impossible can be done from my end by the keeping admin password unknown to the protected user, but what if the protected user needs admin access? That happens to be my case. Nonetheless, I was willing to block admin access to fix the problem until you could tell me that YOU'VE done your job and taken care of it (you will tell me that, right?). But then I was left with Issue #1 (remember? the one where it only works 50% of the time at best?), so what's the point?
    I thought I'd try reinstalling it again, just for fun. I've done this before and it's worked TEMPORARILY (tell me the truth, would you pay for an application that constantly had to be re-installed so that it would work for a while? the truth, now). Why am I not surprised that now even that simple process is f'ing up. I punch in my name and serial and it won't accept it. Is there no end to the awesomeness? Somehow, I think that there is not.
    It's especially frustrating that there is no support number for me to call, forcing me to have to go through THIS process, which makes your job so much easier and is so much less helpful for your customers) just to get any answers... eventually.

  • Sort out the invoices based on Sales Org, Dist Channel, Div while printing

    Hi all,
    My User required to run the program - RV60SBAT
    for creating batch job : FR_INVOICING.
    When we check the steps in the job FR_INVOICING we could find 10 steps with different variants.
    On running this job, system will provide the printing of Invoices for different Sales Organizations, Distribution Channel, Division and Invoice Numbers. However this out put is not generating in a sorted manner currently.
    User requirement is to sort out the invoices based on Sales Organizations, Distribution Channel, Division and Invoice Numbers.
    Kindly look into this and help me  how to address/approach this problem.
    Thanking you in advance
    Best Regards
    TRS GUPTA

    Assign fields KOMKBV3-VKORG KOMKBV3-VTWEG KOMKBV3-SPART to output type config sort order fields sort field1, sort field2, sort field3 respectively.
    Use user exit include RSNASTZZ and add the following code
    under when '50'.
      insert NAST-SORT1 NAST-SORT2 NAST-SORT3 NAST-OBJKY  INTO HEADER.
    Change RSNAST00 job step variant to incluce 50 in the sort field.
    Regards
    Sridhar
    Message was edited by: Sridhar K

  • Please help me to sort out this issue

    Hi,
    I have two user MAIN_USER and TMP_USER both have DBA,CONNECT,RESOURCE privileges.
    While I am creating the below procedure in MAIN_USER, I am getting the error ‘ORA-00942: table or view does not exist’ in the insert statement line FROM TMP_USER.PROD_MASTER.
    CREATE OR REPLACE PROCEDURE MAST_UPLOAD IS
    BEGIN
    INSERT INTO PROD_MAST
              (SELECT *
              FROM     TMP_USER.PROD_MASTER);
    END;
    Please help me to sort out this issue.
    Thanks,
    Jen.

    If the code works for TMP_USER but not for MAIN_USER, then the privileges are not the same. I'm assuming DBA,CONNECT,RESOURCE are roles. Roles are not the only thing that can be assigned to users. Users can have the same roles, but access to different objects. In this case, it looks like one user has access to the table, and the other doesn't.

Maybe you are looking for