Servlet/Applet communication, data limit?

I have an applet that uses a servlet as a proxy to load/retrieve images from an Oracle database. I have a problem when trying to retrieve images larger than 9-10kb from the database. When using JDBC from a Java Application I don't have any probelms but through the Applet-Servlet configuration I do.
I use the following code in the Applet:
URL url =new URL("http","myserver",myport,"/servlet/MyServlet");
HttpURLConnection imageServletConn = (HttpURLConnection)url.openConnection();
imageServletConn.setDoInput(true);
          imageServletConn.setDoOutput(true);
          imageServletConn.setUseCaches(false);
imageServletConn.setDefaultUseCaches (false);
imageServletConn.setRequestMethod("GET");
byte buf[] = new byte[imageServletConn.getContentLength()];
BufferedInputStream instr = new BufferedInputStream(imageServletConn.getInputStream());
instr.read(buf);
Image image = Toolkit.getDefaultToolkit().createImage(buf);
// then code to display the image
And the following for the Servlet:
public void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
response.setContentType("image/gif");
byte[] buff = loadImage(); // this method returns a byte array representing the image.
response.setContentLength(contentLength);//contentLength is the size of the image
OutputStream os = response.getOutputStream();
os.write(buff);
os.close();
thanks in advance!

thanks for your replay,
I tried your suggestion but whatever I do it seems that tha applet only brings the first 5-10k of the image from the servlet. This is the value I get from instr.read() or any other type of read method. The value of bytes is not always the same.
Now I also have something new. For images greater than 100k or so I get this error:
java.io.IOException: Broken pipe
     at java.net.SocketOutputStream.socketWrite(Native Method)
     at java.net.SocketOutputStream.socketWrite(Compiled Code)
     at java.net.SocketOutputStream.write(Compiled Code)
     at java.io.BufferedOutputStream.write(Compiled Code)
     at org.apache.jserv.JServConnection$JServOutputStream.write(Compiled Code)
     at java.io.BufferedOutputStream.write(Compiled Code)
     at java.io.FilterOutputStream.write(Compiled Code)
     at interorient.DBProxyServlet.doGet(Compiled Code)
     at javax.servlet.http.HttpServlet.service(Compiled Code)
     at javax.servlet.http.HttpServlet.service(Compiled Code)
     at org.apache.jserv.JServConnection.processRequest(Compiled Code)
     at org.apache.jserv.JServConnection.run(Compiled Code)
     at java.lang.Thread.run(Compiled Code)
I am using the Oracle Internet application server (ias 9i) which actualy uses the apache web listener.
It seems that this servlet-applet communication is really unstable. If you have anything that may help me it will be greatly appriciated. You can even e-mail me at [email protected]
thanks!

Similar Messages

  • Servlet applet communication

    I'm having a problem getting a servlet to answer a call from an applet...in the applet I do something like:
    String servlet = "http://192.168.123.148/root/MyServlet.class";
    url= new URL(servlet);
    conn = url.openConnection();
    conn.setUseCaches(false);
    in = conn.getContentLength();
    String contype = conn.getContentType();
    And in the servlet:
    java.io.PrintWriter out = response.getWriter();
    response.setContentType("text/html");
    response.setHeader("segment",Integer.toString(99));
    out.flush();
    The problem is I don't get my header back in the applet...and when I look at the content type, its "application/java-vm"...not " text/html"...as I set in the servlet...???

         InputStream urlInput = null;
         HttpURLConnection urlConn =  null;
         URL url = new URL(urlStr);
         urlConn = (HttpURLConnection)url.openConnection();
         urlConn.setDoInput(true);
         urlConn.setDoOutput(true);
         urlConn.setUseCaches(false);
         urlConn.setRequestMethod("POST");
         urlConn.setRequestProperty("Accept-Language", "en");
         urlConn.setRequestProperty("content-type", "text/xml");
         urlInput = urlConn.getInputStream();

  • Servlet/Applet Communication and JRE Version

    Hey all,
    I have an applet that sends objects back and forth to a servlet. I have heard that there can be issues if the applet and servlet are run under different versions of java, and right now, the applet works from some machines but not others (I've only tested on PCs so far). I posted a question similar to this a month or two ago, and someone suggested I use UIDs. Can anyone give me some detailed information on how I would do this, or something similar to ensure that any version of Java on someone's machine will work ok, or a link to some helpful info? Thanks.

    Thanks mchan0! I think this will be very helpful.

  • Servlet Applet object communication problem???!!!

    Hy folks,
    I need to validate the ability of complex Servlet Applet communication an run into my first pb right at the beginning of my tests. I need to have around 200 Applet clients connect to my servlet and communicate by ObjectInput and ObjectOutput streams. So I wrote a simple Servlet accepting HTTP POST connections that return a Java object. When the java Applet get instantiated, the Object Stream communication workes fine. But when the Applet tries to communicate with the servlet after that, I can not create another communication session with that Servlet, instead I get a 405 Method not allowed exception.
    Summarized:
    - Applet init() instantiate URLConnection with Servlet and request Java object (opening ObjectInput and Output Stream, after receaving object, cloasing streams).
    - When I press a "get More" button on my Applet, I am not able to instantiate a new URLConnection with my servler because of that 405 exception, WHY???
    Here my Servlet code:
    public void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException{
             ObjectInputStream inputFromApplet = null;
             ArrayList transmitContent = null;       
             PrintWriter out = null;
             BufferedReader inTest = null;
             try{               
                   inputFromApplet = new ObjectInputStream(request.getInputStream());           
                     transmitContent = (ArrayList) inputFromApplet.readObject();       
                     inputFromApplet.close();
                     ArrayList toReturn = new ArrayList();                 
                     toReturn.add("One");
                     toReturn.add("Two");
                     toReturn.add("Three");
                     sendAnsweredList(response, toReturn);                 
             catch(Exception e){}        
         public void sendAnsweredList(HttpServletResponse response, ArrayList returnObject){
             ObjectOutputStream outputToApplet;    
              try{
                  outputToApplet = new ObjectOutputStream(response.getOutputStream());          
                  outputToApplet.writeObject(returnObject);
                  outputToApplet.flush();           
                  outputToApplet.close();              
              catch (IOException e){
                     e.printStackTrace();
    }Here my Applet code:
    public void init() {         
             moreStuff.addActionListener(new ActionListener(){
                  public void actionPerformed(ActionEvent e){
                       requestMore();
             try{
                  studentDBservlet = new URL("http://localhost/DBHandlerServlet");              
                  servletConnection = studentDBservlet.openConnection();      
                   servletConnection.setUseCaches (false);
                   servletConnection.setDefaultUseCaches(false);
                   servletConnection.setDoOutput(true);
                   servletConnection.setDoInput(true);
                   ObjectOutputStream outputToApplet;
                 outputToApplet = new ObjectOutputStream(servletConnection.getOutputStream());          
                 outputToApplet.writeObject(new ArrayList());
                 outputToApplet.flush();           
                 outputToApplet.close(); 
                   ObjectInputStream inputFromServlet = new ObjectInputStream(servletConnection.getInputStream());
                   ArrayList studentVector = (ArrayList) inputFromServlet.readObject();
                   area.setText("Success!\n");
                   for (int i = 0; i<studentVector.size(); i++) {
                        area.append(studentVector.get(i).toString()+"\n");
                  inputFromServlet.close();
                  outputToApplet.close();             
              catch(Exception e){
                   area = new JTextArea();
                   area.setText("An error occured!!!\n");
                   area.append(e.getMessage());
            getContentPane().add(new JScrollPane(area), BorderLayout.CENTER);
            getContentPane().add(moreStuff, BorderLayout.SOUTH);
        private void requestMore(){
             try{              
                  studentDBservlet = new URL("http://localhost/DBHandlerServlet");                             
                  servletConnection = studentDBservlet.openConnection(); 
                   ObjectInputStream inputFromServlet = new ObjectInputStream(servletConnection.getInputStream());
                   ArrayList studentVector = (ArrayList) inputFromServlet.readObject();
                   area.setText("Success2!\n");
                   for (int i = 0; i<studentVector.size(); i++) {
                        area.append(studentVector.get(i).toString()+"\n");
              catch(Exception e){               
                   area.setText("An error occured2!!!\n");
                   area.append(e.getMessage());
        }Can someone help me solv this issue please, this is my first Applet Servlet work so far so I have no idea on how to solve this issue.

    Sorry folks, just found my error. Forgot about the ObjectInputStream waiting on the Servlet side, so of course had a dead look...
    Sorry!

  • How can I use URLConnection to use applet communication with servlet?

    I want to send a String to a servlet in applet.I now use URLConnection to communicat between applet and servlet.
    ====================the applet code below=========================
    import java.io.*;
    import java.applet.Applet;
    import java.awt.*;
    import java.net.*;
    //I have tested that in applet get data from servlet is OK!
    //Still I will change to test in applet post data to a servlet.
    public class TestDataStreamApplet extends Applet
    String response;
    String baseurl;
    double percentUsed;
    String total;
    public void init()
    try
    java.net.URL url = new java.net.URL(getDocumentBase(),"/servlet/dataStreamEcho");
    //String currenturl=new String("http://lib.nju.edu.cn");
    java.net.URLConnection con = url.openConnection();
    //URL currentPage=getCodeBase();
    // String protocol=currentPage.getProtocol();
    // String host=currentPage.getHost();
    //int port=currentPage.getPort();
    // String urlSuffix="/servlet/dataStreamEcho";
    // URL url=new URL(protocol,host,port,urlSuffix);
    // URLConnection con=url.openConnection();
    con.setUseCaches(false);
    con.setDoOutput(true);
    con.setDoInput(true);
    ByteArrayOutputStream byteout = new ByteArrayOutputStream();
    PrintWriter out=new PrintWriter(byteout,true);
    String currenturl=new String("http://lib.nju.edu.cn");
    String var1=this.encodedValue(currenturl); //encode the data
    String data="currenturl="+var1;
    out.print(data);
    out.flush();
    con.setRequestProperty("Content-Length",String.valueOf(byteout.size()));
    con.setRequestProperty("Content-Type","application/x-www-form-urlencoded");
    byteout.writeTo(con.getOutputStream());
    BufferedReader in=new BufferedReader(new InputStreamReader(con.getInputStream()));
    String line;
    while((line=in.readLine())!=null)
         System.out.println(line);
    catch (Exception e)
    e.printStackTrace();
    private String encodedValue(String rawValue)
         return(URLEncoder.encode(rawValue));
    =========================The servlet code below=====================
    import javax.servlet.*;
    import javax.servlet.http.*;
    import java.io.*;
    public class DataStreamEcho extends HttpServlet
    {public void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException
          res.setContentType("text/plain");
          PrintWriter out = res.getWriter();
          Runtime rt = Runtime.getRuntime();
          out.println(rt.freeMemory());
          out.println(rt.totalMemory());
          response.setContentType("text/html; charset=GBK");     
          request.setCharacterEncoding("GBK");
          PrintWriter out = response.getWriter();
          HttpSession session=request.getSession();
          ServletContext application=this.getServletContext();
          String currenturl=(String)session.getAttribute("currenturl");
          out.print(currenturl);
    =============================================================
    I have done up,but I found the program don't run as I have thought.
    Can you help me to find where is wrong?Very thank!

    You are trying to pass the current URL to the servlet
    from the applet, right?
    Well, what I put was correct. Your servlet code is
    trying to read some information from session data.
    request.getInputStream() is not the IP address of
    anything...see
    http://java.sun.com/products/servlet/2.2/javadoc/javax
    servlet/ServletRequest.html#getInputStream()
    Please read
    http://www.j-nine.com/pubs/applet2servlet/Applet2Servle
    .htmlNo,you all don't understand I.
    I want to send an Object to the server from a applet on a client.not url only.I maybe want to send a JPEG file instead.
    All I want is how to communicate with a servlet from an applet,send message to servlet from client's applet.
    for example,Now I have a method get the desktop picture of my client .and I want to send it to a server with a servlet to done it.How can I write the applet and servlet program?
    Now my program is down,But can only do string,can't not done Object yet.Can anyone help me?
    =======================applet=============================
    public void init()
    try
    java.net.URL url = new java.net.URL(getDocumentBase(),"/servlet/dataStreamEcho");
    //String currenturl=new String("http://lib.nju.edu.cn");
    java.net.URLConnection con = url.openConnection();
    //URL currentPage=getCodeBase();
    // String protocol=currentPage.getProtocol();
    // String host=currentPage.getHost();
    //int port=currentPage.getPort();
    // String urlSuffix="/servlet/dataStreamEcho";
    // URL url=new URL(protocol,host,port,urlSuffix);
    // URLConnection con=url.openConnection();
    con.setUseCaches(false);
    con.setDoOutput(true);
    con.setDoInput(true);
    ByteArrayOutputStream byteout = new ByteArrayOutputStream();
    PrintWriter out=new PrintWriter(byteout,true);
    String currenturl=new String("http://lib.nju.edu.cn");
    String var1=this.encodedValue(currenturl); //encode the data
    String data="currenturl="+var1;
    out.print(data);
    out.flush();
    con.setRequestProperty("Content-Length",String.valueOf(byteout.size()));
    con.setRequestProperty("Content-Type","application/x-www-form-urlencoded");
    byteout.writeTo(con.getOutputStream());
    con.connect();
    BufferedReader in=new BufferedReader(new InputStreamReader(con.getInputStream()));
    String line;
    while((line=in.readLine())!=null)
         System.out.println(line);
    catch (Exception e)
    e.printStackTrace();
    =======================servlet=============================
    public void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException
         response.setContentType("text/html; charset=GBK");
    //request.setCharacterEncoding("GBK");
    PrintWriter out = response.getWriter();
    HttpSession session=request.getSession();
    ServletContext application=this.getServletContext();
    //String currenturl=(String)session.getAttribute("currenturl");
    String currenturl=(String)request.getParameter("currenturl");
    out.print(currenturl);
    File fileName=new File("c:\\noname.txt");
    fileName.createNewFile();
    FileOutputStream f=new FileOutputStream(fileName); //I just write the String data get from
    //applet to a file for a test.
    byte[] b=currenturl.getBytes();
    f.write(b);
    f.close();
    }

  • Servlet-Applet project. Architectural problem.

    Hello, everybody!
    I'm to make client-server web project, client works with different databases via server (using servlet). The protocol of the project is as follows:
    - Client requests to �erver and gets applet.
    - All communications between client and server are to be made via applet-servlet. So, client makes some operations using applet, then sends data to server. After the data being processed on the server side, client gets the possibilities to make further operations.
    The problem is choosing the proper architecture. Having sigle applet and processing communications with single applet-servlet is not good, because I need to get client the possibility to choose database, then choose table, edit records and so on. I want to have applets for every type of operations. I mean, after client gets start applet, he sends the request to server, which processes it and gets another applet for database choosing and so on.
    The question is: is it possible to build such architecture with many applets and data transfers between them?

    Why does it need to be through applet?
    Why can't the same applet take care of most (all?) your database chores?

  • Asp-applet communication(URGENT!!)

    hi,
    i am facing a problem on asp-applet communication. i would like to ask how to pass applet parameters to asp page?my code below doesnt seem to work..
    smsClient.java
    public class smsClient {
    private JOptionPane jOptionPanel = new JOptionPane();
    private dialog dd;
    String str;
    public void executeSend(String smsno, String smsMessage,String user_id){
    String qrysmsno=smsno;
    String qrysmsMessage=smsMessage;
    String qryUserId=user_id;
    try{
    String qry=URLEncoder.encode("smsno")+ "=" + URLEncoder.encode(qrysmsno) + "&";
    qry= qry + URLEncoder.encode("smsMessage")+ "=" + URLEncoder.encode(qrysmsMessage);
    //qry= qry + URLEncoder.encode("user_id")+ "=" + URLEncoder.encode(qryUserId);
    URL url=new URL("http://172.20.34.116:8081/3dcommunity/sendsms.asp?"+qry);
    dialog dd=new dialog();
    //dd.showDialog(qry, "Alert!", JOptionPane.WARNING_MESSAGE);
              URLConnection uc = url.openConnection();
              uc.setDoOutput(true);
              uc.setRequestProperty("Content-Type","application/x-www-form-urlencoded");
              PrintWriter pw = new PrintWriter(uc.getOutputStream());
              pw.println(str);
              pw.close();
              BufferedReader in = new BufferedReader(new InputStreamReader(uc.getInputStream()));
              String res = in.readLine();
              dd.showDialog(res, "Alert!", JOptionPane.WARNING_MESSAGE);
              in.close();
    /*HttpURLConnection http = (HttpURLConnection)url.openConnection();
         http.setRequestMethod("GET");
         InputStream iStrm = null;
         if (http.getResponseCode() == HttpURLConnection.HTTP_OK) {
         iStrm = http.getInputStream();
         int length = (int) http.getContentLength();
         if (length > 0) {
         byte servletData[] = new byte[length];
         iStrm.read(servletData);
         String resultString = new String(servletData);
    dd.showDialog(res, "Alert!", JOptionPane.WARNING_MESSAGE);
         iStrm.close();*/
         catch(MalformedURLException e){
         System.err.println(e);
    dd.showDialog("MalformedURLException", "Alert!", JOptionPane.ERROR_MESSAGE);
         catch(IOException e){
         System.err.println(e);
    dd.showDialog("IOException", "Alert!", JOptionPane.ERROR_MESSAGE);
    sendsms.asp
    <%
         set mySMS = Server.CreateObject("SCSMS.SMS")
         mySMS.Port = "COM3"
    %>
    <%
              mfg = mySMS.Manufacturer
              mdl = mySMS.Model
              if mySMS.Error then
                   response.write mySMS.ErrorMsg
              else
                   response.write "Manufacturer : " & mfg & "<br>"
                   response.write "Model : " & mdl & "<br><br>"
              end if
              smsno=request.queryString("smsno")
              smsMessage=request.queryString("smsMessage")
         mySMS.sendsms smsno, smsMessage
         if mySMS.Error <> 0 then
              'response.write "Failed" & mySMS.ErrorMsg
         else
              response.write "Success"
         end if
    %>

    use the following class for applet to any web site connection (it can be asp, jsp, cgi etc)
    package com.oreilly.servlet;
    import java.io.*;
    import java.net.*;
    import java.util.*;
    * A class to simplify HTTP applet-server communication. It abstracts
    * the communication into messages, which can be either GET or POST.
    * <p>
    * It can be used like this:
    * <blockquote><pre>
    * URL url = new URL(getCodeBase(), "/servlet/ServletName");
    * HttpMessage msg = new HttpMessage(url);
    * // Parameters may optionally be set using java.util.Properties
    * Properties props = new Properties();
    * props.put("name", "value");
    * // Headers, cookies, and authorization may be set as well
    * msg.setHeader("Accept", "image/png"); // optional
    * msg.setCookie("JSESSIONID", "9585155923883872"); // optional
    * msg.setAuthorization("guest", "try2gueSS"); // optional
    * InputStream in = msg.sendGetMessage(props);
    * </pre></blockquote>
    * <p>
    * This class is loosely modeled after the ServletMessage class written
    * by Rod McChesney of JavaSoft.
    * @author <b>Jason Hunter</b>, Copyright &#169; 1998
    * @version 1.3, 2000/10/24, fixed headers NPE bug
    * @version 1.2, 2000/10/15, changed uploaded object MIME type to
    * application/x-java-serialized-object
    * @version 1.1, 2000/06/11, added ability to set headers, cookies,
    and authorization
    * @version 1.0, 1998/09/18
    public class HttpMessage {
    URL servlet = null;
    Hashtable headers = null;
    * Constructs a new HttpMessage that can be used to communicate with the
    * servlet at the specified URL.
    * @param servlet the server resource (typically a servlet) with which
    * to communicate
    public HttpMessage(URL servlet) {
    this.servlet = servlet;
    * Performs a GET request to the servlet, with no query string.
    * @return an InputStream to read the response
    * @exception IOException if an I/O error occurs
    public InputStream sendGetMessage() throws IOException {
    return sendGetMessage(null);
    * Performs a GET request to the servlet, building
    * a query string from the supplied properties list.
    * @param args the properties list from which to build a query string
    * @return an InputStream to read the response
    * @exception IOException if an I/O error occurs
    public InputStream sendGetMessage(Properties args) throws IOException {
    String argString = ""; // default
    if (args != null) {
    argString = "?" + toEncodedString(args);
    URL url = new URL(servlet.toExternalForm() + argString);
    // Turn off caching
    URLConnection con = url.openConnection();
    con.setUseCaches(false);
    // Send headers
    sendHeaders(con);
    return con.getInputStream();
    * Performs a POST request to the servlet, with no query string.
    * @return an InputStream to read the response
    * @exception IOException if an I/O error occurs
    public InputStream sendPostMessage() throws IOException {
    return sendPostMessage(null);
    * Performs a POST request to the servlet, building
    * post data from the supplied properties list.
    * @param args the properties list from which to build the post data
    * @return an InputStream to read the response
    * @exception IOException if an I/O error occurs
    public InputStream sendPostMessage(Properties args) throws IOException {
    String argString = ""; // default
    if (args != null) {
    argString = toEncodedString(args); // notice no "?"
    URLConnection con = servlet.openConnection();
    // Prepare for both input and output
    con.setDoInput(true);
    con.setDoOutput(true);
    // Turn off caching
    con.setUseCaches(false);
    // Work around a Netscape bug
    con.setRequestProperty("Content-Type",
    "application/x-www-form-urlencoded");
    // Send headers
    sendHeaders(con);
    // Write the arguments as post data
    DataOutputStream out = new DataOutputStream(con.getOutputStream());
    out.writeBytes(argString);
    out.flush();
    out.close();
    return con.getInputStream();
    * Performs a POST request to the servlet, uploading a serialized object.
    * <p>
    * The servlet can receive the object in its <tt>doPost()</tt> method
    * like this:
    * <pre>
    * ObjectInputStream objin =
    * new ObjectInputStream(req.getInputStream());
    * Object obj = objin.readObject();
    * </pre>
    * The type of the uploaded object can be determined through introspection.
    * @param obj the serializable object to upload
    * @return an InputStream to read the response
    * @exception IOException if an I/O error occurs
    public InputStream sendPostMessage(Serializable obj) throws IOException {
    URLConnection con = servlet.openConnection();
    // Prepare for both input and output
    con.setDoInput(true);
    con.setDoOutput(true);
    // Turn off caching
    con.setUseCaches(false);
    // Set the content type to be application/x-java-serialized-object
    con.setRequestProperty("Content-Type",
    "application/x-java-serialized-object");
    // Send headers
    sendHeaders(con);
    // Write the serialized object as post data
    ObjectOutputStream out = new ObjectOutputStream(con.getOutputStream());
    out.writeObject(obj);
    out.flush();
    out.close();
    return con.getInputStream();
    * Sets a request header with the given name and value. The header
    * persists across multiple requests. The caller is responsible for
    * ensuring there are no illegal characters in the name and value.
    * @param name the header name
    * @param value the header value
    public void setHeader(String name, String value) {
    if (headers == null) {
    headers = new Hashtable();
    headers.put(name, value);
    // Send the contents of the headers hashtable to the server
    private void sendHeaders(URLConnection con) {
    if (headers != null) {
    Enumeration enum = headers.keys();
    while (enum.hasMoreElements()) {
    String name = (String) enum.nextElement();
    String value = (String) headers.get(name);
    con.setRequestProperty(name, value);
    * Sets a request cookie with the given name and value. The cookie
    * persists across multiple requests. The caller is responsible for
    * ensuring there are no illegal characters in the name and value.
    * @param name the header name
    * @param value the header value
    public void setCookie(String name, String value) {
    if (headers == null) {
    headers = new Hashtable();
    String existingCookies = (String) headers.get("Cookie");
    if (existingCookies == null) {
    setHeader("Cookie", name + "=" + value);
    else {
    setHeader("Cookie", existingCookies + "; " + name + "=" + value);
    * Sets the authorization information for the request (using BASIC
    * authentication via the HTTP Authorization header). The authorization
    * persists across multiple requests.
    * @param name the user name
    * @param name the user password
    public void setAuthorization(String name, String password) {
    String authorization = Base64Encoder.encode(name + ":" + password);
    setHeader("Authorization", "Basic " + authorization);
    * Converts a properties list to a URL-encoded query string
    private String toEncodedString(Properties args) {
    StringBuffer buf = new StringBuffer();
    Enumeration names = args.propertyNames();
    while (names.hasMoreElements()) {
    String name = (String) names.nextElement();
    String value = args.getProperty(name);
    buf.append(URLEncoder.encode(name) + "=" + URLEncoder.encode(value));
    if (names.hasMoreElements()) buf.append("&");
    return buf.toString();
    }

  • Inconsistent Stream responses b/w servlet & applet

    Hi all,
    I am facing problem with my servle/applet communication .I am using serialized object transport b/w the two. I am able to send my object using a URL connection class successfully to the server .
    However having problems while reading the response on the applet .
    It's been so incosistent that I sometimes think of switching over to some activex control instead of an applet .
    I have been struggling with this one for quite sometime . Somebody help to fix this out!
    First to the problem faced by me
    Some times I get StreamCorruptedException saying Input stream does not contain serialized object .
    Some times I get EOFException saying Invalid Header-1.
    Why so much inconsistency when I am passing the same serialzed object CStreamData? Anyone's valueable input is highly appreciated.
    My part of code that reads the object sent from the servlet.
    public CStreamData ReadResObj(CServerRequest oRequest)
    CStreamData objResponse = null;
    isServerRunning = true;
    try {
    URL url = new URL( "http://localhost:8080"+
    "/apps/servlet/MWServer");
    URLConnection con = url.openConnection();
    con.setUseCaches(false);
    con.setRequestProperty("CONTENT_TYPE","application/octet-stream");
    con.setDoInput(true);
    con.setDoOutput(true);
    ObjectOutputStream out = new ObjectOutputStream(con.getOutputStream());
    out.writeObject(oRequest);
    out.flush();
    out.close();
    ObjectInputStream ois = new ObjectInputStream(con.getInputStream());
    //The exception is thrown here while reading...
    objResponse = (CStreamData)ois.readObject();
    ois.close();
    }catch (Exception e)
    isServerRunning = false;
    return (CStreamData)objResponse;
    return (CStreamData)objResponse;
    }//End of readResObj
    Best rgds,
    prithvi

    It would be interesting to see what's the response of your servlet.
    Mybe the response of your servlet is an error html page
    which of course can't be converted into Object of Type CStreamData.
    You should think about doing some error handling before you try read from the ObjectInputStream an before you think about using ActiveX components.
    for example
    URLConnection con = url.openConnection();
    HttpURLConnection httpConnection;
    try
      URL url = new URL( "http://localhost:8080"+"/apps/servlet/MWServer");
      URLConnection con = url.openConnection();
      httpConnection = (HttpURLConnection)con;
      out.close();
      if(  httpConnection.getResposeCode() == HttpURLConnection.HTTP_OK )
         ObjectInputStream ois = new ObjectInputStream(con.getInputStream());
         objResponse = (CStreamData)ois.readObject();
         ois.close();
    }If you still have problems dump the content of your servlet response
    to the console and tell what you see or post parts of the response.

  • Applet - Servlet - Database - Servlet- Applet

    Hi All,
    I am using Oracle8i and IE 5.0. I am trying to retrieve the data from a db table and display it.
    Sequence is as following:
    1. Query passed to the applet.
    2. Servlet excutes this query using JDBC and returns the resultset to applet.
    3. Applet displaysthe results.
    Is there anybody who has a code sample to do this, my id is [email protected] ? I am totally new to java and servlets. I would really appreciate any help.
    Thanks a lot.
    Manuriti
    [email protected]

    I've never dealt with the code to handle the applet portion of what you're trying to do, but I can help you with the servlet stuff.
    Your servlet should contain code to accomplish the following steps:
    1. Load an Oracle JDBC driver into memory.
    2. Open a JDBC connection to the Oracle database.
    3. Create a JDBC Statement object which contains the appropriate Oracle SQL code.
    4. Execute the Statement object, which will return a ResultSet.
    5. Read the ResultSet data.
    6. Pool or close the Statement and Connection objects.
    All of these steps are simple. Here's what they might look like in practice:
    // load the Oracle driver
    Class.forName("oracle.jdbc.driver.OracleDriver");
    // open the connection
    String cs = "jdbc:oracle:[email protected]:1521:DBNAME"; // connection string
    String userName = "scott";
    String password = "tiger";
    Connection con = DriverManager.getConnection(cs, userName, password);
    // create a Statement object
    Statement stmt = con.createStatement();
    // create a ResultSet object
    ResultSet rs = stmt.executeQuery("select * from DUAL"); // your SQL here
    // INSERT CODE HERE TO READ DATA FROM THE RESULTSET
    // close the Statement object
    stmt.close();
    // close the Connection object
    con.close();
    So that's how you get data from your Oracle database. Now, how do you pass it to your applet? Well, this is hardly trivial. Typically, servlets return an HTML-formatted text stream. It is possible to have an applet communicate with a servlet, but that raises security issues that I don't fully understand. I believe you would have to have your user's browsers set to the lowest possible security settings, otherwise the browser won't let the applet open a socket to a foreign IP, but again, I'm shaky on that one.
    Anywho, let me know if this was of help and if you have more questions on the servlet/applet stuff. I can probably help you with more specific questions,.

  • ESS - Change Communication Data Error

    Hello,
    I'm running EP 7.0 with BP ESS 60.2 and when I run "Change Communication Data Error" in ESS » Employee Search, I get the following error, but ONLY when someone types values in the "Extension" or "E-mail" fields:
    com.sap.pcuigp.xssfpm.java.FPMRuntimeException: System error when saving
    Anyone has a clue?
    Thanks
    Antonio

    Sure. This is what I get from Default.trc:
    Category:  /Applications/Xss
    Location:  com.sap.tc.webdynpro.progmodel.generation.DelegatingComponent
    Application:  sap.com/tcwddispwda
    Thread:  SAPEngine_Application_Thread[impl:3]_29
    Data Source:  ..\JC01\j2ee\cluster\server0\log\defaultTrace.trc
    Argument Objects:  com.sap.pcuigp.xssfpm.java.FPMRuntimeException: System error when saving
    at com.sap.pcuigp.xssfpm.java.MessageManager.raiseException(MessageManager.java:111)
    at com.sap.pcuigp.xssfpm.java.MessageManager.raiseException(MessageManager.java:121)
    at com.sap.xss.hr.cod.FcCodBusinessLogicComp.callRFCSaveDetails(FcCodBusinessLogicComp.java:379)
    at com.sap.xss.hr.cod.FcCodBusinessLogicComp.saveEmployeeData(FcCodBusinessLogicComp.java:235)
    at com.sap.xss.hr.cod.wdp.InternalFcCodBusinessLogicComp.saveEmployeeData(InternalFcCodBusinessLogicComp.java:366)
    at com.sap.xss.hr.cod.FcCodBusinessLogicCompInterface.saveEmployeeData(FcCodBusinessLogicCompInterface.java:146)
    at com.sap.xss.hr.cod.wdp.InternalFcCodBusinessLogicCompInterface.saveEmployeeData(InternalFcCodBusinessLogicCompInterface.java:158)
    at com.sap.xss.hr.cod.wdp.InternalFcCodBusinessLogicCompInterface$External.saveEmployeeData(InternalFcCodBusinessLogicCompInterface.java:226)
    at com.sap.xss.hr.cod.displaynavigation.VcCodDisplayNavigationComp.onEvent(VcCodDisplayNavigationComp.java:235)
    at com.sap.xss.hr.cod.displaynavigation.wdp.InternalVcCodDisplayNavigationComp.onEvent(InternalVcCodDisplayNavigationComp.java:169)
    at com.sap.xss.hr.cod.displaynavigation.VcCodDisplayNavigationCompInterface.onEvent(VcCodDisplayNavigationCompInterface.java:115)
    at com.sap.xss.hr.cod.displaynavigation.wdp.InternalVcCodDisplayNavigationCompInterface.onEvent(InternalVcCodDisplayNavigationCompInterface.java:124)
    at com.sap.xss.hr.cod.displaynavigation.wdp.InternalVcCodDisplayNavigationCompInterface$External.onEvent(InternalVcCodDisplayNavigationCompInterface.java:200)
    at com.sap.pcuigp.xssfpm.wd.FPMComponent.doProcessEvent(FPMComponent.java:439)
    at com.sap.pcuigp.xssfpm.wd.FPMComponent.doEventLoop(FPMComponent.java:354)
    at com.sap.pcuigp.xssfpm.wd.FPMComponent.access$1300(FPMComponent.java:71)
    at com.sap.pcuigp.xssfpm.wd.FPMComponent$FPM.raiseSaveEvent(FPMComponent.java:805)
    at com.sap.xss.hr.cod.displaynavigation.VcCodDisplayNavigationComp.toSave(VcCodDisplayNavigationComp.java:270)
    at com.sap.xss.hr.cod.displaynavigation.wdp.InternalVcCodDisplayNavigationComp.toSave(InternalVcCodDisplayNavigationComp.java:181)
    at com.sap.xss.hr.cod.displaynavigation.DisplayNavigationView.onActionSave(DisplayNavigationView.java:153)
    at com.sap.xss.hr.cod.displaynavigation.wdp.InternalDisplayNavigationView.wdInvokeEventHandler(InternalDisplayNavigationView.java:182)
    at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.invokeEventHandler(DelegatingView.java:87)
    at com.sap.tc.webdynpro.progmodel.controller.Action.fire(Action.java:67)
    at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doHandleActionEvent(WindowPhaseModel.java:420)
    at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:132)
    at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:330)
    at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:143)
    at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:299)
    at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:707)
    at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:661)
    at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:229)
    at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:152)
    at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)
    at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:53)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
    at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
    at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
    at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
    at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
    at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
    at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    Arguments:  com.sap.pcuigp.xssfpm.java.FPMRuntimeException: System error when saving
    at com.sap.pcuigp.xssfpm.java.MessageManager.raiseException(MessageManager.java:111)
    at com.sap.pcuigp.xssfpm.java.MessageManager.raiseException(MessageManager.java:121)
    at com.sap.xss.hr.cod.FcCodBusinessLogicComp.callRFCSaveDetails(FcCodBusinessLogicComp.java:379)
    at com.sap.xss.hr.cod.FcCodBusinessLogicComp.saveEmployeeData(FcCodBusinessLogicComp.java:235)
    at com.sap.xss.hr.cod.wdp.InternalFcCodBusinessLogicComp.saveEmployeeData(InternalFcCodBusinessLogicComp.java:366)
    at com.sap.xss.hr.cod.FcCodBusinessLogicCompInterface.saveEmployeeData(FcCodBusinessLogicCompInterface.java:146)
    at com.sap.xss.hr.cod.wdp.InternalFcCodBusinessLogicCompInterface.saveEmployeeData(InternalFcCodBusinessLogicCompInterface.java:158)
    at com.sap.xss.hr.cod.wdp.InternalFcCodBusinessLogicCompInterface$External.saveEmployeeData(InternalFcCodBusinessLogicCompInterface.java:226)
    at com.sap.xss.hr.cod.displaynavigation.VcCodDisplayNavigationComp.onEvent(VcCodDisplayNavigationComp.java:235)
    at com.sap.xss.hr.cod.displaynavigation.wdp.InternalVcCodDisplayNavigationComp.onEvent(InternalVcCodDisplayNavigationComp.java:169)
    at com.sap.xss.hr.cod.displaynavigation.VcCodDisplayNavigationCompInterface.onEvent(VcCodDisplayNavigationCompInterface.java:115)
    at com.sap.xss.hr.cod.displaynavigation.wdp.InternalVcCodDisplayNavigationCompInterface.onEvent(InternalVcCodDisplayNavigationCompInterface.java:124)
    at com.sap.xss.hr.cod.displaynavigation.wdp.InternalVcCodDisplayNavigationCompInterface$External.onEvent(InternalVcCodDisplayNavigationCompInterface.java:200)
    at com.sap.pcuigp.xssfpm.wd.FPMComponent.doProcessEvent(FPMComponent.java:439)
    at com.sap.pcuigp.xssfpm.wd.FPMComponent.doEventLoop(FPMComponent.java:354)
    at com.sap.pcuigp.xssfpm.wd.FPMComponent.access$1300(FPMComponent.java:71)
    at com.sap.pcuigp.xssfpm.wd.FPMComponent$FPM.raiseSaveEvent(FPMComponent.java:805)
    at com.sap.xss.hr.cod.displaynavigation.VcCodDisplayNavigationComp.toSave(VcCodDisplayNavigationComp.java:270)
    at com.sap.xss.hr.cod.displaynavigation.wdp.InternalVcCodDisplayNavigationComp.toSave(InternalVcCodDisplayNavigationComp.java:181)
    at com.sap.xss.hr.cod.displaynavigation.DisplayNavigationView.onActionSave(DisplayNavigationView.java:153)
    at com.sap.xss.hr.cod.displaynavigation.wdp.InternalDisplayNavigationView.wdInvokeEventHandler(InternalDisplayNavigationView.java:182)
    at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.invokeEventHandler(DelegatingView.java:87)
    at com.sap.tc.webdynpro.progmodel.controller.Action.fire(Action.java:67)
    at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doHandleActionEvent(WindowPhaseModel.java:420)
    at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:132)
    at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:330)
    at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:143)
    at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:299)
    at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:707)
    at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:661)
    at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:229)
    at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:152)
    at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)
    at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:53)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
    at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
    at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
    at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
    at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
    at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
    at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    DSR Component:  SAPEPDEV01_EPD_17610050
    DSR Transaction:  14aaf770bab411dbac350017a4a76362
    DSR User:  employee
    Message Code:  n/a
    Session:  6007
    Transaction:  n/a
    User:  employee
    Host:  SAPEPDEV01
    System:  EPD
    Instance:  01
    Node:  Server 0 1_76100

  • Servlet-JApplet communication

    Hi !
              I am trying to make an application which has to do the following :- An applet( rather a JApplet) has to send a request to servlet to read data from a distant machine using JDBC and then this data should be sent to the JApplet which has to display it in a JTable.
              Please suggest how should I go ahead with this.
              Thanks a lot,
              Charu
              

    tks for your answer,
    but i have not good understood,very much
    so if it's a problem of configuration of server,
    why it run in cas of (doget()),so what's a right configuration ?
    it's not very clear
    u make me pleaser ,if u explain me other one
    tks

  • Office & Communication data ESS

    Hello Experts,
    When I maintain and save ' office & communication ' data in the area page 'Employee search' I am getting following error.
    Please suggest me what I should be missing. ECC 5.0.
    Thanks.
    System error when saving   
      System error when savingcom.sap.pcuigp.xssfpm.java.FPMRuntimeException: System error when saving
         at com.sap.pcuigp.xssfpm.java.MessageManager.raiseException(MessageManager.java(Compiled Code))
         at com.sap.pcuigp.xssfpm.java.MessageManager.raiseException(MessageManager.java:121)
         at com.sap.xss.hr.cod.FcCodBusinessLogicComp.callRFCSaveDetails(FcCodBusinessLogicComp.java:379)
         at com.sap.xss.hr.cod.FcCodBusinessLogicComp.saveEmployeeData(FcCodBusinessLogicComp.java:235)
         at com.sap.xss.hr.cod.wdp.InternalFcCodBusinessLogicComp.saveEmployeeData(InternalFcCodBusinessLogicComp.java:366)
         at com.sap.xss.hr.cod.FcCodBusinessLogicCompInterface.saveEmployeeData(FcCodBusinessLogicCompInterface.java:146)
         at com.sap.xss.hr.cod.wdp.InternalFcCodBusinessLogicCompInterface.saveEmployeeData(InternalFcCodBusinessLogicCompInterface.java:158)
         at com.sap.xss.hr.cod.wdp.InternalFcCodBusinessLogicCompInterface$External.saveEmployeeData(InternalFcCodBusinessLogicCompInterface.java:226)
         at com.sap.xss.hr.cod.displaynavigation.VcCodDisplayNavigationComp.onEvent(VcCodDisplayNavigationComp.java:235)
         at com.sap.xss.hr.cod.displaynavigation.wdp.InternalVcCodDisplayNavigationComp.onEvent(InternalVcCodDisplayNavigationComp.java:169)
         at com.sap.xss.hr.cod.displaynavigation.VcCodDisplayNavigationCompInterface.onEvent(VcCodDisplayNavigationCompInterface.java:115)
         at com.sap.xss.hr.cod.displaynavigation.wdp.InternalVcCodDisplayNavigationCompInterface.onEvent(InternalVcCodDisplayNavigationCompInterface.java:124)
         at com.sap.xss.hr.cod.displaynavigation.wdp.InternalVcCodDisplayNavigationCompInterface$External.onEvent(InternalVcCodDisplayNavigationCompInterface.java:200)
         at com.sap.pcuigp.xssfpm.wd.FPMComponent.doProcessEvent(FPMComponent.java(Compiled Code))
         at com.sap.pcuigp.xssfpm.wd.FPMComponent.doEventLoop(FPMComponent.java(Compiled Code))
         at com.sap.pcuigp.xssfpm.wd.FPMComponent.access$1300(FPMComponent.java:71)
         at com.sap.pcuigp.xssfpm.wd.FPMComponent$FPM.raiseSaveEvent(FPMComponent.java:805)
         at com.sap.xss.hr.cod.displaynavigation.VcCodDisplayNavigationComp.toSave(VcCodDisplayNavigationComp.java:270)
         at com.sap.xss.hr.cod.displaynavigation.wdp.InternalVcCodDisplayNavigationComp.toSave(InternalVcCodDisplayNavigationComp.java:181)
         at com.sap.xss.hr.cod.displaynavigation.DisplayNavigationView.onActionSave(DisplayNavigationView.java:154)
         at com.sap.xss.hr.cod.displaynavigation.wdp.InternalDisplayNavigationView.wdInvokeEventHandler(InternalDisplayNavigationView.java:182)
         at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.invokeEventHandler(DelegatingView.java(Compiled Code))
         at com.sap.tc.webdynpro.progmodel.controller.Action.fire(Action.java:67)
         at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.handleAction(WebDynproMainTask.java(Inlined Compiled Code))
         at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.handleActionEvent(WebDynproMainTask.java(Compiled Code))
         at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.execute(WebDynproMainTask.java(Compiled Code))
         at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java(Compiled Code))
         at com.sap.tc.webdynpro.clientserver.cal.ClientManager.doProcessing(ClientManager.java(Compiled Code))
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doWebDynproProcessing(DispatcherServlet.java(Compiled Code))
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java(Compiled Code))
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:55)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code))
         at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code))
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java(Compiled Code))
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java(Compiled Code))
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java(Inlined Compiled Code))
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java(Compiled Code))
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java(Compiled Code))
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java(Compiled Code))
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java(Inlined Compiled Code))
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java(Compiled Code))
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java(Compiled Code))
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java(Compiled Code))
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java(Compiled Code))
         at java.security.AccessController.doPrivileged1(Native Method)
         at java.security.AccessController.doPrivileged(AccessController.java(Compiled Code))
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java(Compiled Code))
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java(Compiled Code))

    Hi,
    Could you please tell your Basis guy to check the patch level.
    Good Luck.
    Om

  • Is it possible to set a daily data limit on a Linksys Router?

    Okay, let me give a bit of back-story.
    Recently me and those living with me moved out to a rather remote little house in the wilderness. As such our internet options are limited. Our only options were DSL that was "only slightly faster than dial-up" (that's exactly what we were told) or satellite (let's not even consider dial-up).
    After a few months of deciding we finally picked the best bad apple out of the bucket of rotting apples and got hughesnet. Of course we are forced into a one year contract and all that business.
    Alright, let's not waste anymore time and get to the meat of my post.
    So we have a total data limit. (up to 500 mb) but a few of my roommates either forget to check their data use or don't care enough to keep track. As a result I get on the computer only to find the data limit at either a really low percentage of the total or completely used. And recently Hughesnet has been throttling us hard when the limit has been met. So much so as that we can't even browse but one web page at a time. Assuming only one person is using internet.
    So now you know the problem, and here's what I'd like to know:
    Is there any FREE way to cap internet usage per IP or connection to the router (they are really paranoid and some of them won't even let me on to find their MAC address) to, say, 100 mb used total in a day, and then completely cutting them off from the internet until the next day? (our data limit gets refreshed every day) I don't care if it's third-party software or not. I have talked to them about it many times and they all agree to only using a certain amount and then use over that amount anyway.
    There is also a time during the night that internet usage is no longer capped and you get free internet until it ends. So I would also need to know how to unlock this cap at a specified time and then have the cap resume once more afterward.
    (if this is not possible, don't worry, I can do it manually as I tend to be on the computer during this time. It would just be nice to have it done automatically.)
    Finally, if this is possible and ONLY as a bonus, is there any way to allow them BACK onto the internet after the full 500 mbs have been used (or so) so that they can at least enjoy what little internet is left after that point? This would be awesome to have but not at all necessary.
    So, any ideas?
    Solved!
    Go to Solution.

    You could connect a bunch of 3700s to each computer and do this . 
    Or...since you're the one who monitors the monthly limit, you could restrict an individual's internet access once you see that you guys are coming too close to the cap. 
    I don't work for Cisco. I'm just here to help.

  • How to get communication data in CRM 7.0

    In CRM 7.0 with CCS active.
    How to get communication data (Current phone #) that is presently active while creating Interaction Record or during account confirmation.
    Thanks,
    Nilesh P.

    Hi,
    This problem is related to IC and not related to Marketing Campaign.
    At this movement I hv resolved this problem by storing phone # in memory variable by some other way.
    But I would be more interested to know Communication Data in 'Context area' of IC.
    Thanks & Regards,
    Nilesh P.

  • Problem in Change Office and communication Data

    Hi all,
    In ESS, where we have the Employee search, there is Who's Who and Change office and Communication Data.
    We have added a new field "Mobile Telephone " in who's who list.But when we want to Change/Modify the Mobile number by goin to Change Office and Communication data , we are not getting that field there. How  can we make the changes?
    Need help on this ..
    Thnks in advance.
    NR

    Hi,
    Did u get a solution for this. I am also having a similar problem.

Maybe you are looking for

  • Lock-Ups and Restarts with Geforce4 Ti4400

    Hi, I've been having this problem for quite a while now during 3d games. My setup is: Gigabyte GA7VRXP AMD Athlon 2000+ MSI Geforce4 Ti4400 I guess the rest is irrelevant. Please help, Thanks, Eyal Ben David

  • L215p - better than T410s screen? Good enough for photo editing work?

    I never had set up an external monitor with a laptop, so just have 3 questions regarding the L215p monitor. 1) The T410s outputs screen resolution with an aspect of 16:10.  A monitor like the L215p (most new wide monitors for that matter) display an

  • Custom logon module not called by the portal

    Hi, all. I need some help urgently on this new portal requirement. There are some sensitive ESS/MSS iviews that we need to give the users an additional logon challenge. The normal ESS/MSS iviews will be using SSO. This one will still use SSO, but hav

  • Is there any way to generate random number in CPO

    Requirement : - > I want  to generate a random number from set of 1-9 numbers .is there any way in cpo ? Thanks Siva

  • Size for XMLType only 4000 Bytes???

    Hello, it seems, that the XMLType can only store up to 4000 bytes of data. When I enter a document larger than 4000 bytes the end is truncated and the "extract"-method doesn't work anymore. I have to store sizes of about 30-50 Kilobytes. So, is there