How many bytes are transferred for a SQL statement?

Hello!
I switched on a buffer trace.
Where can I see how many BYTES were transferred for an executed SQL stmt (if the bufferd table had to be accessed on the database in cause of an invalidation)?
What I can see is the duration...
Thanks very much,
Holger

Hello!
I switched on a buffer trace.
Where can I see how many BYTES were transferred for an executed SQL stmt (if the bufferd table had to be accessed on the database in cause of an invalidation)?
What I can see is the duration...
Thanks very much,
Holger

Similar Messages

  • How many bytes are received?? for experts!!

    hi,
    how can i detect/write out how many bytes are received when i use readObject() from class ObjectInputStream ...?
    i must do this for a progressbar ...
    when i write this function to receive only 1 byte, then the next, the next, ...,, it is very, very slow ... :(
    thanx !! :)
    - smat

    hi,
    now i have CountingInputStream extended to read only 11k ...
    here is the code, can you please correct it...?
    import java.io.*;
    public class CountingInputStream extends FilterInputStream {
        private int count, tmp0, tmp1;
        private byte[] buffer0 = new byte[11264], buffer1 = new byte[11264];
        public int getCount() {
            return count;
        public CountingInputStream(InputStream is) {
            super(is);
            count = 0;
        public int read(byte[] b, int off, int len) throws IOException {
            int n = 0;
            tmp1 = len;
            if(len < 11264) {
                n += super.read(b, off, len);
                if(n > 0)
                    count += n;
            } else {
                while(tmp1 > 0) {
                    tmp1 -= 11264;
                    n += super.read(buffer1);//b, off, len);
                    if(n > 0)
                        count += n;
                    int ccc = 0;
                    for(int y = off; y <= ((y+len)-1); y++) {
                        b[y] = buffer1[ccc];
                        ccc++;
                    off += n;
            return n;
        public int read(byte[] b) throws IOException {
            int n = 0, off = 0;
            tmp0 = b.length;
            if(tmp0 < 11264) {
                byte[] tmpBuffer = new byte[tmp0];
                n += super.read(tmpBuffer);
                if(n > 0)
                    count += n;
                b = tmpBuffer;
            } else {
                while(tmp0 > 0) {
                    tmp0 -= 11264;
                    n += super.read(buffer0);
                    if(n > 0)
                        count += n;
                    int ccc = 0;
                    for(int y = off; y < n; y++) {
                        b[y] = buffer1[ccc];
                        ccc++;
                    off += n;
            return n;
        public int read() throws IOException {
            int n = super.read();
            if(n >= 0)
                ++count;
            return n;
    }

  • Having issues finding out how many bytes are sent/recieved from a socket.

    Hello everyone.
    I've searched the forums and also google and it seems I can't find a way to figure out how many bytes are sent from a socket and then how many bytes are read in from a socket.
    My server program accepts a string (an event) and I parse that string up, gathering the relevant information and I need to send it to another server for more processing.
    Inside my server program after receiving the data ( a string) I then open another port and send it off to the other server. But I would like to know how many bytes I send from my server to the other server via the client socket.
    So at the end of the connection I can compare the lengths to make sure, I sent as many bytes as the server on the other end received.
    Here's my run() function in my server program (my server is multi threaded, so on each new client connection it spawns a new thread and does the following):
    NOTE: this line is where it sends the string to the other server:
    //sending the string version of the message object to the
                        //output server
                        out.println(msg.toString());
    //SERVER
    public class MultiThreadServer implements Runnable {
         Socket csocket;
         MultiThreadServer(Socket csocket) {
              this.csocket = csocket;
         public void run() {
              //setting up sockets
              Socket outputServ = null;
              //create a message database to store events
              MessageDB testDB = new MessageDB();
              try {
                   //setting up channel to recieve events from the omnibus server
                   BufferedReader in = new BufferedReader(new InputStreamReader(
                             csocket.getInputStream()));
                   //This socket will be used to send events to the z/OS reciever
                   //we will need a new socket each time because this is a multi-threaded
                   //server thus, the  z/OS reciever (outputServ) will need to be
                   //multi threaded to handle all the output.
                   outputServ = new Socket("localhost", 1234);
                   //Setting up channel to send data to outputserv
                   PrintWriter out = new PrintWriter(new OutputStreamWriter(outputServ
                             .getOutputStream()));
                   String input;
                   //accepting events from omnibus server and storing them
                   //in a string for later processing.
                   while ((input = in.readLine()) != null) {
                        //accepting and printing out events from omnibus server
                        //also printing out connected client information
                        System.out.println("Event from: "
                                  + csocket.getInetAddress().getHostName() + "-> "
                                  + input + "\n");
                        System.out.println("Waiting for data...");
                        //---------putting string into a message object-------------///
                        // creating a scanner to parse
                        Scanner scanner = new Scanner(input);
                        Scanner scannerPop = new Scanner(input);
                        //Creating a new message to hold information
                        Message msg = new Message();                    
                        //place Scanner object here:
                        MessageParser.printTokens(scanner);
                        MessageParser.populateMessage(scannerPop, msg, input);
                        //calculating the length of the message once its populated with data
                        int length = msg.toString().length();
                        msg.SizeOfPacket = length;
                        //Printing test message
                        System.out.println("-------PRINTING MESSAGE BEFORE INSERT IN DB------\n");
                        System.out.println(msg.toString());
                        System.out.println("----------END PRINT----------\n");
                        //adding message to database
                        testDB.add(msg);
                        System.out.println("-------Accessing data from Map----\n");
                        testDB.print();
                        //---------------End of putting string into a message object----//
                        //sending the string version of the message object to the
                        //output server
                        out.println(msg.toString());
                        System.out.println("Waiting for data...");
                        out.flush();
                   //cleaning up
                   System.out.println("Connection closed by client.");
                   in.close();
                   out.close();
                   outputServ.close();
                   csocket.close();
              catch (SocketException e) {
                   System.err.println("Socket error: " + e);
              catch (UnknownHostException e) {
                   System.out.println("Unknown host: " + e);
              } catch (IOException e) {
                   System.out.println("IOException: " + e);
    }Heres the other server that is accepting the string:
    public class MultiThreadServer implements Runnable {
         Socket csocket;
         MultiThreadServer(Socket csocket) {
              this.csocket = csocket;
         public void run() {
              try {
                   //setting up channel to recieve events from the parser server
                   BufferedReader in = new BufferedReader(new InputStreamReader(
                             csocket.getInputStream()));
                   String input;
                   while ((input = in.readLine()) != null) {
                        //accepting and printing out events from omnibus server
                        //also printing out connected client information
                        System.out.println("Event from: "
                                  + csocket.getInetAddress().getHostName() + "-> "
                                  + input + "\n");
    System.out.println("Lenght of the string was: " + input.length());
                        System.out.println("Waiting for data...");
                   //cleaning up
                   System.out.println("Connection closed by client.");
                   in.close();
                   csocket.close();
              } catch (IOException e) {
                   System.out.println(e);
                   e.printStackTrace();
    }Here's an example of the program works right now:
    Someone sends me a string such as this:
    Enter port to run server on:
    5656
    Listening on : ServerSocket[addr=0.0.0.0/0.0.0.0,port=0,localport=5656]
    Waiting for client connection...
    Socket[addr=/127.0.0.1,port=4919,localport=5656] connected.
    hostname: localhost
    Ip address: 127.0.0.1:5656
    Waiting for data...
    Event from: localhost-> UPDATE: "@busch2.raleigh.ibm.com->NmosPingFail1",424,"9.27.132.139","","Omnibus","Precision Monitor Probe","Precision Monitor","@busch2.raleigh.ibm.com->NmosPingFail",5,"Ping fail for 9.27.132.139: ICMP reply timed out",07/05/07 12:29:12,07/03/07 18:02:31,07/05/07 12:29:09,07/05/07 12:29:09,0,1,194,8000,0,"",65534,0,0,0,"NmosPingFail",0,0,0,"","",0,0,"",0,"0",120,1,"9.27.132.139","","","","dyn9027132107.raleigh.ibm.com","","","",0,0,"","","NCOMS",424,""
    Now my program makes it all nice and filters out the junk and resends the new string to the other server running here:
    Enter port to run server on:
    1234
    Listening on : ServerSocket[addr=0.0.0.0/0.0.0.0,port=0,localport=1234]
    Waiting for client connection...
    Socket[addr=/127.0.0.1,port=4920,localport=1234] connected.
    Parser client connected.
    hostname: localhost
    Ip address: 127.0.0.1:1234
    Event from: localhost-> PacketType: UPDATE , SizeOfPacket: 577 , PacketID: 1, Identifer: UPDATE: "@busch2.raleigh.ibm.com->NmosPingFail1" , Serial: 424 , Node: "9.27.132.139" , NodeAlias: "" , Manager: "Omnibus" , Agent: "Precision Monitor Probe" , AlertGroup: "Precision Monitor" , AlertKey: "@busch2.raleigh.ibm.com->NmosPingFail" , Severity: 5 , Summary: "Ping fail for 9.27.132.139: ICMP reply timed out",StateChange: 07/05/07 12:29:12 , FirstOccurance: 07/03/07 18:02:31 , LastOccurance: 07/05/07 12:29:09 , InternalLast: 07/05/07 12:29:09 , EventId: "NmosPingFail" , LocalNodeAlias: "9.27.132.139"
    Lenght of the string was: 579
    The length of the final string I sent is 577 by using the string.length() function, but when I re-read the length after the send 2 more bytes got added, and now the length is 579.
    I tested it for several cases and in all cases its adding 2 extra bytes.
    Anyways, I think this is a bad solution to my problem but is the only one I could think of.
    Any help would be great!

    (a) You are counting characters, not bytes, and you aren't counting the line terminators that are appended by println() and removed by readLine().
    (b) You don't need to do any of this. TCP doesn't lose data. If the receiver manages get as far as reading the line terminator when reading a line, the line will be complete. Otherwise it will get an exception.
    (c) You are assuming that the original input and the result of message.toString() after constructing a Message from 'input' are the same but there is no evidence to this effect in the code you've posted. Clearly this assumption is what is at fault.
    (d) If you really want to count bytes, write yourself a FilterInputStream and a FilterOutputStream and wrap them around the socket streams before decorating them with the readers you are using. Have these classes count the bytes going past.
    (e) Don't use PrintWriter or PrintStream on socket streams unless you like exceptions being ignored. Judging by your desire to count characters, you shouldn't like this at all. Use BufferedWriter's methods to write strings and line terminators.

  • How to find how many cursors are opend for application user

    Hi all,
    how to find out how many cursors are opend for application user and how many are opend for database user
    Regards,
    RM

    Oracle does not know the difference between an "application user" and a "database user".
    Oracle deals with a session. This session services a client. The client can be a J2EE application. It can be a Delphi client. It can be a SQL*Plus command line tool. It can be TOAD. Etc.
    Oracle does not care who/what/where the client is when dealing with cursors and SQL. It deals with the session that services that client.
    How many cursors does a session have opened?
    Refer to V$OPEN_CUSOR in [url http://download.oracle.com/docs/cd/B19306_01/server.102/b14237/dynviews_2008.htm#sthref3807]Oracle® Database Reference.
    A select count on V$OPEN_CURSOR for a specific SID (Session ID) will return the number of open cursor handles in that session.

  • How many GB are recommended for downloading and watching movies on an ipad?

    how many GB are recommended for downloading and watching movies on an ipad?

    I agree. With a 16 gig you'll find that you only have room for a couple of movies once the operating system and any other apps take up their space.
    The other alternative would be to look into something like a wireless harddrive, where you can store your movies and stream them to your iPad via an app. However if you're purchasing content from iTunes that may/may not work. So if you consider that you may want to dig a little deeper and make sure it'll do what you want it to do.

  • Vodafone tell me that is be waiting for unlock by IMEI by Apple, how many days are necesary for it?

    I called vodafone to unlock my iphone 4 by IMEI, they told me that now they are waiting the password from Apple, how many days are necesary for it? thanks

    You don't say where you are but process is
    Carrier approves your request to unlock ?
    they instruct Apple to update their servers to release the lock which is activated via iTunes
    Depends on how fast Vodafone work and how fast Apple update their servers
    For you to activate you need to insert a non Vodafone sim  and connect to iTunes
    When Apple have updated you will get a message
    "congratulations your iPhone is now unlocked "

  • OutputStream: How many bytes are sent?

    Dear Friends,
    I use the following code to upload a file.
    byte[] buf = new byte[5000];
            int nread;
            int navailable;
          synchronized (in) {
              while((nread = in.read(buf, 0, buf.length)) >= 0) {
                    //Transfer
                    out.flush();
                    out.write(buf, 0, nread);
                    out.flush();
            buf = null;But how can I know how many bytes already are sent?
    Is there a good way to do that?
    Thank you!
    With best regards
    Inno

    OK, but don't be scared ;-)
    EDIT: Does someone know why?
    Do you need more information?
    Only the function connect(), pipe() and the declarations are important.
    Ignore all the other ones, please. :-)
    import java.applet.Applet;
    import java.io.OutputStream;
    import java.net.URLConnection;
    import java.net.URL;
    import java.io.IOException;
    import java.text.SimpleDateFormat;
    import java.util.Date;
    import java.util.HashMap;
    import java.util.Map;
    import java.io.File;
    import java.io.InputStream;
    import java.util.Random;
    import java.io.FileInputStream;
    import java.util.Iterator;
    import javax.swing.JProgressBar;
    * <p>Title: Client HTTP Request class</p>
    * <p>Description: this class helps to send POST HTTP requests with various form data,
    * including files. Cookies can be added to be included in the request.</p>
    * @author Vlad Patryshev
    * @version 1.0
    public class ClientHttpRequest  extends Thread {
        URLConnection connection;
        OutputStream os = null;
        Map cookies = new HashMap();
         long filesize;
        private OutputStream osw=null;
        protected void connect() throws IOException {
            if (os == null)os = connection.getOutputStream();
        protected void write(char c) throws IOException {
            connect();
            os.write(c);
        protected void write(String s) throws IOException {
            connect();
            os.write(s.getBytes());
        protected void newline() throws IOException {
            connect();
            write("\r\n");
        protected void writeln(String s) throws IOException {
            connect();
            write(s);
            newline();
        private  Random random = new Random();
        protected  String randomString() {
            return Long.toString(random.nextLong(), 36);
        String boundary = "---------------------------" + randomString() + randomString() + randomString();
        private void boundary() throws IOException {
            write("--");
            write(boundary);
         * Creates a new multipart POST HTTP request on a freshly opened URLConnection
         * @param connection an already open URL connection
         * @throws IOException
        public ClientHttpRequest(URLConnection connection) throws IOException {
            this.connection = connection;
            connection.setDoOutput(true);
            connection.setRequestProperty("Content-Type",
                    "multipart/form-data; boundary=" + boundary);
            connection.addRequestProperty("Accept-Encoding", "gzip,deflate"); //Bugfix by AS: needed for PHP.
            connection.setUseCaches(true);
         * Creates a new multipart POST HTTP request for a specified URL
         * @param url the URL to send request to
         * @throws IOException
        public ClientHttpRequest(URL url) throws IOException {
            this(url.openConnection());
        public ClientHttpRequest() throws IOException {
         * Creates a new multipart POST HTTP request for a specified URL string
         * @param urlString the string representation of the URL to send request to
         * @throws IOException
        public ClientHttpRequest(String urlString) throws IOException {
            this(new URL(urlString));
        private void postCookies() {
            StringBuffer cookieList = new StringBuffer();
            for (Iterator i = cookies.entrySet().iterator(); i.hasNext();) {
                Map.Entry entry = (Map.Entry)(i.next());
                cookieList.append(entry.getKey().toString() + "=" + entry.getValue());
                if (i.hasNext()) {
                    cookieList.append("; ");
            if (cookieList.length() > 0) {
                connection.setRequestProperty("Cookie", cookieList.toString());
         * adds a cookie to the requst
         * @param name cookie name
         * @param value cookie value
         * @throws IOException
        public void setCookie(String name, String value) throws IOException {
            cookies.put(name, value);
         * adds cookies to the request
         * @param cookies the cookie "name-to-value" map
         * @throws IOException
        public void setCookies(Map cookies) throws IOException {
            if (cookies == null) return;
            this.cookies.putAll(cookies);
         * adds cookies to the request
         * @param cookies array of cookie names and values (cookies[2*i] is a name, cookies[2*i + 1] is a value)
         * @throws IOException
        public void setCookies(String[] cookies) throws IOException {
            if (cookies == null) return;
            for (int i = 0; i < cookies.length - 1; i+=2) {
                setCookie(cookies, cookies[i+1]);
    private void writeName(String name) throws IOException {
    newline();
    write("Content-Disposition: form-data; name=\"");
    write(name);
    write('"');
    * adds a string parameter to the request
    * @param name parameter name
    * @param value parameter value
    * @throws IOException
    public void setParameter(String name, String value) throws IOException {
    boundary();
    writeName(name);
    newline(); newline();
    writeln(value);
    private void pipe(InputStream in, OutputStream out) throws IOException {
    //System.out.println("Output: "+out);
    byte[] buf = new byte[5000];
    int nread;
    int navailable;
    long total = 0; //Menge an Bytes bisher gesendet
    int percentage = 0; //Percent done...
    int oldpercent = 0;
    synchronized (in) {
    while((nread = in.read(buf, 0, buf.length)) >= 0) {
    //Transfer
    out.flush();
    out.write(buf, 0, nread);
    out.flush();
    total += nread; //Wieviel bereits gesendet?
    percentage = (int)( ( total * 100.0 ) / filesize );
    //System.out.println("STAT_ sent: "+total+" total: "+filesize);
    if(oldpercent < percentage){
    //System.out.println("%: " + percentage);
    SimpleDateFormat sdf = new SimpleDateFormat("HH:mm:ss");
    String uhrzeit = sdf.format(new Date());
    System.out.println(uhrzeit+": Bytes sent: "+total);
    //listener.setProgressStatus(percentage);
    oldpercent = percentage;
    buf = null;
    * adds a file parameter to the request
    * @param name parameter name
    * @param filename the name of the file
    * @param is input stream to read the contents of the file from
    * @throws IOException
    public void setParameter(String name, String filename, InputStream is) throws IOException {
    boundary();
    writeName(name);
    write("; filename=\"");
    write(filename);
    write('"');
    newline();
    write("Content-Type: ");
    String type = connection.guessContentTypeFromName(filename);
    if (type == null) type = "application/octet-stream";
    writeln(type);
    newline();
    pipe(is, os);
    newline();
    * adds a file parameter to the request
    * @param name parameter name
    * @param file the file to upload
    * @throws IOException
    public void setParameter(String name, File file) throws IOException {
    filesize = file.length();
    setParameter(name, file.getPath(), new FileInputStream(file));
    * adds a parameter to the request; if the parameter is a File, the file is uploaded, otherwise the string value of the parameter is passed in the request
    * @param name parameter name
    * @param object parameter value, a File or anything else that can be stringified
    * @throws IOException
    public void setParameter(String name, Object object) throws IOException {
    if (object instanceof File) {
    setParameter(name, (File) object);
    } else {
    setParameter(name, object.toString());
    * adds parameters to the request
    * @param parameters "name-to-value" map of parameters; if a value is a file, the file is uploaded, otherwise it is stringified and sent in the request
    * @throws IOException
    public void setParameters(Map parameters) throws IOException {
    if (parameters == null) return;
    for (Iterator i = parameters.entrySet().iterator(); i.hasNext();) {
    Map.Entry entry = (Map.Entry)i.next();
    setParameter(entry.getKey().toString(), entry.getValue());
    * adds parameters to the request
    * @param parameters array of parameter names and values (parameters[2*i] is a name, parameters[2*i + 1] is a value); if a value is a file, the file is uploaded, otherwise it is stringified and sent in the request
    * @throws IOException
    public void setParameters(Object[] parameters) throws IOException {
    if (parameters == null) return;
    for (int i = 0; i < parameters.length - 1; i+=2) {
    setParameter(parameters[i].toString(), parameters[i+1]);
    * posts the requests to the server, with all the cookies and parameters that were added
    * @return input stream with the server response
    * @throws IOException
    public InputStream post() throws IOException {
    boundary();
    writeln("--");
    os.close();
    return connection.getInputStream();
    * posts the requests to the server, with all the cookies and parameters that were added before (if any), and with parameters that are passed in the argument
    * @param parameters request parameters
    * @return input stream with the server response
    * @throws IOException
    * @see setParameters
    public InputStream post(Map parameters) throws IOException {
    setParameters(parameters);
    return post();
    * posts the requests to the server, with all the cookies and parameters that were added before (if any), and with parameters that are passed in the argument
    * @param parameters request parameters
    * @return input stream with the server response
    * @throws IOException
    * @see setParameters
    public InputStream post(Object[] parameters) throws IOException {
    setParameters(parameters);
    return post();
    * posts the requests to the server, with all the cookies and parameters that were added before (if any), and with cookies and parameters that are passed in the arguments
    * @param cookies request cookies
    * @param parameters request parameters
    * @return input stream with the server response
    * @throws IOException
    * @see setParameters
    * @see setCookies
    public InputStream post(Map cookies, Map parameters) throws IOException {
    setCookies(cookies);
    setParameters(parameters);
    return post();
    * posts the requests to the server, with all the cookies and parameters that were added before (if any), and with cookies and parameters that are passed in the arguments
    * @param cookies request cookies
    * @param parameters request parameters
    * @return input stream with the server response
    * @throws IOException
    * @see setParameters
    * @see setCookies
    public InputStream post(String[] cookies, Object[] parameters) throws IOException {
    setCookies(cookies);
    setParameters(parameters);
    return post();
    * post the POST request to the server, with the specified parameter
    * @param name parameter name
    * @param value parameter value
    * @return input stream with the server response
    * @throws IOException
    * @see setParameter
    public InputStream post(String name, Object value) throws IOException {
    setParameter(name, value);
    return post();
    * post the POST request to the server, with the specified parameters
    * @param name1 first parameter name
    * @param value1 first parameter value
    * @param name2 second parameter name
    * @param value2 second parameter value
    * @return input stream with the server response
    * @throws IOException
    * @see setParameter
    public InputStream post(String name1, Object value1, String name2, Object value2) throws IOException {
    setParameter(name1, value1);
    return post(name2, value2);
    * post the POST request to the server, with the specified parameters
    * @param name1 first parameter name
    * @param value1 first parameter value
    * @param name2 second parameter name
    * @param value2 second parameter value
    * @param name3 third parameter name
    * @param value3 third parameter value
    * @return input stream with the server response
    * @throws IOException
    * @see setParameter
    public InputStream post(String name1, Object value1, String name2, Object value2, String name3, Object value3) throws IOException {
    setParameter(name1, value1);
    return post(name2, value2, name3, value3);
    * post the POST request to the server, with the specified parameters
    * @param name1 first parameter name
    * @param value1 first parameter value
    * @param name2 second parameter name
    * @param value2 second parameter value
    * @param name3 third parameter name
    * @param value3 third parameter value
    * @param name4 fourth parameter name
    * @param value4 fourth parameter value
    * @return input stream with the server response
    * @throws IOException
    * @see setParameter
    public InputStream post(String name1, Object value1, String name2, Object value2, String name3, Object value3, String name4, Object value4) throws IOException {
    setParameter(name1, value1);
    return post(name2, value2, name3, value3, name4, value4);
    * posts a new request to specified URL, with parameters that are passed in the argument
    * @param parameters request parameters
    * @return input stream with the server response
    * @throws IOException
    * @see setParameters
    public InputStream post(URL url, Map parameters) throws IOException {
    return new ClientHttpRequest(url).post(parameters);
    * posts a new request to specified URL, with parameters that are passed in the argument
    * @param parameters request parameters
    * @return input stream with the server response
    * @throws IOException
    * @see setParameters
    public InputStream post(URL url, Object[] parameters) throws IOException {
    return new ClientHttpRequest(url).post(parameters);
    * posts a new request to specified URL, with cookies and parameters that are passed in the argument
    * @param cookies request cookies
    * @param parameters request parameters
    * @return input stream with the server response
    * @throws IOException
    * @see setCookies
    * @see setParameters
    public InputStream post(URL url, Map cookies, Map parameters) throws IOException {
    return new ClientHttpRequest(url).post(cookies, parameters);
    * posts a new request to specified URL, with cookies and parameters that are passed in the argument
    * @param cookies request cookies
    * @param parameters request parameters
    * @return input stream with the server response
    * @throws IOException
    * @see setCookies
    * @see setParameters
    public InputStream post(URL url, String[] cookies, Object[] parameters) throws IOException {
    return new ClientHttpRequest(url).post(cookies, parameters);
    * post the POST request specified URL, with the specified parameter
    * @param name parameter name
    * @param value parameter value
    * @return input stream with the server response
    * @throws IOException
    * @see setParameter
    public InputStream post(URL url, String name1, Object value1) throws IOException {
    return new ClientHttpRequest(url).post(name1, value1);
    * post the POST request to specified URL, with the specified parameters
    * @param name1 first parameter name
    * @param value1 first parameter value
    * @param name2 second parameter name
    * @param value2 second parameter value
    * @return input stream with the server response
    * @throws IOException
    * @see setParameter
    public InputStream post(URL url, String name1, Object value1, String name2, Object value2) throws IOException {
    return new ClientHttpRequest(url).post(name1, value1, name2, value2);
    * post the POST request to specified URL, with the specified parameters
    * @param name1 first parameter name
    * @param value1 first parameter value
    * @param name2 second parameter name
    * @param value2 second parameter value
    * @param name3 third parameter name
    * @param value3 third parameter value
    * @return input stream with the server response
    * @throws IOException
    * @see setParameter
    public InputStream post(URL url, String name1, Object value1, String name2, Object value2, String name3, Object value3) throws IOException {
    return new ClientHttpRequest(url).post(name1, value1, name2, value2, name3, value3);
    * post the POST request to specified URL, with the specified parameters
    * @param name1 first parameter name
    * @param value1 first parameter value
    * @param name2 second parameter name
    * @param value2 second parameter value
    * @param name3 third parameter name
    * @param value3 third parameter value
    * @param name4 fourth parameter name
    * @param value4 fourth parameter value
    * @return input stream with the server response
    * @throws IOException
    * @see setParameter
    public InputStream post(URL url, String name1, Object value1, String name2, Object value2, String name3, Object value3, String name4, Object value4) throws IOException {
    return new ClientHttpRequest(url).post(name1, value1, name2, value2, name3, value3, name4, value4);
    With best regards!
    MfG
    Inno
    Message was edited by:
    Innocentus

  • HT1420 how many computers are autherized for my account?

    how many computers are autherized to my account and how can closed some of it that i dont use it anymore

    You can check here:
    Launch iTunes and go to iTunes Store > Account (Quick Links section on the right) > Computer Authorizations
    Each individual computer has to be deauthorized from iTunes on that computer: iTunes Store: About authorization and deauthorization
    If you no longer have the computers, you can deauthorize all by clicking the Deauthorize All button to the right in the Accounts section mentioned above. Then simply re-authorize the computers you are currently using.
    *Apple limits this option to once every 12 months.

  • How many users are registered for using the firefox sync server?

    I'm working on a german wikipedia article about "Firefox Sync" and I need more information about the current usage and the historical development of this feature - number of registered users for the Sync Server at Mozilla - would be nice to have numbers for 2011, 2012, and current usage.
    If possible, it would be also useful to know how many german speaking users are using the sync service.
    Where are your Sync Servers located (US, Europe, Asia)?
    What kind of systems and platforms are supported?
    Is there a current documentation about the importance of the Firefox Sync Service, that I may reference?

    thanks for your fast reply,
    your URL to the page with the ideas of the new PiCL service shows in the remark about the usability of the "Firefox Sync" some hints about the usage of the current sync service "only 1% of our users have actually done so" - so I will use that as reference.
    But it would be nicer to have some public message - for example: a mozilla blog entry - from the mozilla services group about the number of registered Sync Server User - and also about performance and reliabilty.
    But if that is private information only, you can close this problem.

  • How can I know how many views are maintained for specific or group material

    Hello, All,
    How can I get know how many views which are already maintained in the material master for one specific or one group material? And which views? Is there any T-code or table to get those views list for material?
    Thank you very much

    Hi,
      You can check in table MARA, field VPSTA details as given below
    User department     Maintenance status
    Work scheduling           A
    Accounting                                 B
    Classification                            C
    MRP                                 D
    Purchasing                                  E
    Production resources/tools       F
    Costing                                  G
    Basic data                                  K
    Storage                                  L
    Forecasting                              P
    Quality management           Q
    Warehouse managemen          S
    sales                                        V
    Plant stocks                                 X
    Storage location stocks            Z
    regards,
    zafar

  • HOW MANY ROLES ARE ELGIBLE FOR THE USER

    hello gurus,
    how many roles can we assign to the user... what is the maximum limit of the roles  and profiles for the user.
    thanks in advance!
    sri

    Dear Srinivas,
    About roles it's indeed not to easy to tell..just imagine the scenario:
    1. Maximum number of profile is 312 ... (however due to some known bug system reads about 300). So, let's say 300 profile maximum can be assigned to an user
    2. Now you can have single ABAP role which generally one-to-one to profile. So, this theory says if you are only assigning single ABAP roles, you can assign maximum 312 (or 300) roles.
    3. But, you might also have Composite ABAP role. A composite ABAP role can have one or more Single/Composite ABAP role. So, one Composite ABAP role can correspond to any number of Profile which is determined by number of individual Single roles under than composite role. So, when you are assiging Composite ABAP role, you have to take care underlying number of profiles and make sure total does not exceed 312 (or 300 without note correction)
    4. Now, last part of complication (and my favourite one). Sometimes, there is an empty Role which does not have any ABAP authorization assigned to it. But, this type of roles are used to map a authorization role in JAVA system. These roles does not have any Profile (as it does not have any ABAP authorization). Now, that brings my confusion ..What happens you assign 300 ABAP profiles via ABAP Roles and another 20 empty role for JAVA system without profile. You see my point
    Hope this clarifies a bit
    Cheers !!
    Satya.

  • How Many Chars are allowed for wpa2 Key?

    Hi,
    I'm using a linksys wrt54gl and a ipad2. Normally my wpa2 Key has 63 Chars, but my iPad cant connect to the Router. If i reduce to e.g. 8 Chars It Works. How Many Chars can Be used  max on the ipad2 for the wpa2 Key?

    Six

  • How many pages are recommended for a book?

    Hi,
    I'm planning on ordering a book from Apple's iPhoto program but am not sure how many pages will fit perfectly? I'm buying a small softcover book and don't want it to be too thick or awkward looking. I have a total of 34 pages (or about 17 sheets) Do you think that the final book will look ok, or is that too much?
    Thx!
    Daniel

    I don't think that this will be a problem. The minimum number of pages is 20, and your book really doesn't exceed that by much.

  • How many channels are required for one G711 Call on T1 PRI

    Hi Everyone,
    Just have a basic question.
    Lets say i want to make one G711 call which is compressed. below will be the bandwidth required.
    Calculation:
    Total packet size (bytes) = (Layer 2 Ethernet header 6 bytes) + ( compressed IP/UDP/RTP header of 2 bytes) + (voice payload of 20 bytes) = 28 bytes. Total packet size (bits) = (28 bytes) * 8 bits per byte = 224 bits
    PPS = (64 Kbps codec bit rate) / (160 bits) = 409 pps
    Bandwidth per call = voice packet size (224 bits) * 409 pps = 90 Kbps
    From what i know, 1 channel on a T1 has a bandwidth of 64kbps.
    Question:
    Does this call require two channels to start the conversation?
    Will this call be successful?
    How will one channel accommodate this call?

    No, 64 kbps basically matches the payload, and the TDM T1 trunk needs no IP header overhead, so it matches, even if it did not you are trying to compare apples and oranges as when you send the call to channelized T1 circuit it's TDM based (bandwidth is irrelevant), if by T1 you meant data T1 then the circuit would not be channelized and would provide total 1.544 mbps.
    Chris

  • How many bays are available for ram

    I heard that the imac G5 has 512 built in and only one RAM slot. can someone confirm this.
    this is for the 2.1 20" imac G5
    thanks

    That iMac G5 iSight only has 1 slot. The previous models of the iMac G5 have 2 slots.
    KB 301724, How to identify your iMac

Maybe you are looking for

  • ITunes 7 playing only from left and right channels with 5.1 speakers

    I have an SB Audigy 1 sound card with Creative Inspire 5200 digital 5.1 speakers, and iTunes only plays audio from the left and right speakers, and the subwoofer. The other 3 speakers work; I've tested them.

  • RFC Exception handling in BPM

    Hi All, I currently have a scenario where I receive an IDoc, then need to make an RFC call to another R/3 system to get some additional data, and then transform and send the resulting message out to another system.  There is a possible case where the

  • Lm sensors

    i've used sensors-detect and it gave me: Now follows a summary of the probes I have just done. Just press ENTER to continue: Driver `coretemp': * Chip `Intel Core family thermal sensor' (confidence: 9) Do you want to overwrite /etc/conf.d/lm_sensors?

  • Error: java.sql.SQLException: [Microsoft][ODBC Microsoft Access Driver] Too

    Error: java.sql.SQLException: [Microsoft][ODBC Microsoft Access Driver] Too few parameters. Expected 1. I am getting above error in my sql to access database. The program works fine if I remove where clause. But I need where clause for my prgoram. Ac

  • HT1349 locked up and can't restart an I-phones 4s

    Phone is locked up and can't restart it.