Java.io.EOFException in Object file transfer

Greetings,
I am having a problem sending a file across a network. At one point it was working, however I am not sure where along the way it became broken.
Stack Trace:
java.io.EOFException
at java.io.ObjectInputStream$PeekInputStream.readFully(Unknown Source)
at java.io.ObjectInputStream$BlockDataInputStream.readShort(Unknown Sour
ce)
at java.io.ObjectInputStream.readStreamHeader(Unknown Source)
at java.io.ObjectInputStream.<init>(Unknown Source)
at WBServer.unpackVectors(WBServer.java:283)
at fileListener.run(WBServer.java:374)
    public void getWBContent(String hid) throws java.rmi.RemoteException //<- Send all object vectors and relevant integers...
        setPageNum(pageCount-1);
        HID=hid;
        packVectors(null);
        new Thread() {
            public void run(){
               try{javax.swing.SwingUtilities.invokeLater(
               new Runnable(){
                   public void run(){
                        try{ //Yes...
                            java.net.Socket s = new java.net.Socket(HID, 1113); //<- Make a network port
                            java.io.BufferedWriter sos = new java.io.BufferedWriter(new java.io.OutputStreamWriter(s.getOutputStream())); //<-Open a stream
                            sos.write("vectordata.dat"); //<-Send the name of the file
                            sos.close(); //<- Close the stream
                            s.close(); //<- Close the port
                            String anchor = getClass().getResource("WBServer.class").getPath();
                            java.net.Socket ns = new java.net.Socket(HID, 1113); //<- Open a new port to the same place
                            java.io.FileInputStream fio = new java.io.FileInputStream(anchor.substring(0, anchor.lastIndexOf('/')+1)+"vectordata.dat"); //<- Open the file to stream
                            //java.io.DataInputStream dia = new java.io.DataInputStream(fio); //<- Open the stream to read
                            java.io.BufferedInputStream bia = new java.io.BufferedInputStream(fio);
                            java.io.BufferedOutputStream boa = new java.io.BufferedOutputStream(ns.getOutputStream());//<- Open the data stream for the port
                            int read=0; //<- Byte Read Counter
                            byte[] fbuffer = new byte[1024]; //<- Byte Read Buffer
                            boolean EOF=false;
                            while(!EOF){ //<- Until we reach the end of the stream...
                                try{read=bia.read(fbuffer);
                                boa.write(fbuffer, 0, read);} //<- ...send the number of bytes stored in the buffer at the time.
                                catch(java.io.EOFException e){ EOF=true;}
                            boa.flush(); //<- Make sure the stream is cleared
                            boa.close(); //<- Close the port's stream
                            bia.close(); //<- Close the reading stream
                            fio.close(); //<- Close the file's stream
                            ns.close(); //<- Close the port...
                        catch(Exception e)
                        {SimpleFormatter sf = new SimpleFormatter();
                         LogRecord tempLog = new LogRecord(Level.WARNING, "File Send Error: "+e.toString());
                         sf.format(tempLog);
                         logFile.publish(tempLog);}
                catch(Exception e)
                {SimpleFormatter sf = new SimpleFormatter();
                 LogRecord tempLog = new LogRecord(Level.WARNING, "Error running getWBContent() send file thread: "+e.toString());
                 sf.format(tempLog);
                 logFile.publish(tempLog);}
            }}.start();
    public void packVectors(String filePath) {   //This function writes all the objects in memory to a file for transport.
        String anchor = getClass().getResource("WBServer.class").getPath();
        if(filePath==null){filePath=anchor.substring(0, anchor.lastIndexOf('/')+1)+"data/vectordata.dat";}
        System.out.println("From packVectors(): "+filePath);
        java.io.File ovFile = new java.io.File(filePath); //Setup out data file
        try{if(!ovFile.exists()){ovFile.createNewFile();}else{ovFile.delete(); ovFile.createNewFile();} //If it's not there...make one. If it is, delete it and make a new one.
        java.io.ObjectOutputStream oojStream = new java.io.ObjectOutputStream(new java.io.FileOutputStream(ovFile)); //Ready the writer for writingness.
        oojStream.writeObject(PageHolder); //Pages to file...
        oojStream.writeObject(ImgPage); //Images for the Pages to file...
        oojStream.writeObject(WBStack); //Current object stack to file...
        oojStream.writeInt(objCount); //Current object count to file...
        oojStream.writeInt(pageCount); //Current page count to file...
        oojStream.writeInt(pageCount-1); //Current page number to file...
        oojStream.flush(); //<-Commit final write operations...
        oojStream.close();} //<- Close the file...
        catch(Exception e)
        {SimpleFormatter s = new SimpleFormatter();
         LogRecord tempLog = new LogRecord(Level.WARNING, "Persistence save error: "+e.toString());
         s.format(tempLog);
         e.printStackTrace();
         logFile.publish(tempLog);}
    public void unpackVectors(String filePath) {   //This function reads objects from a file that was previously written by packVectors().
        String anchor = getClass().getResource("WBServer.class").getPath();
        if(filePath==null){filePath=anchor.substring(0, anchor.lastIndexOf('/')+1)+"data/vectordata.dat";}
        System.out.println("From unpackVectors(): "+filePath);
        java.io.File ivFile = new java.io.File(filePath); //Setup the file to read from.
        try{if(!ivFile.exists()){ //If the file doesn't exist, we're screwed...
            SimpleFormatter s = new SimpleFormatter();
            LogRecord tempLog = new LogRecord(Level.WARNING, "Persistence load error: File vectordata.dat does not exist!");
            s.format(tempLog);
            logFile.publish(tempLog);
        }else{
            java.io.ObjectInputStream iojStream = new java.io.ObjectInputStream(new java.io.FileInputStream(ivFile)); //Ready the reader for readingness...
            PageHolder = (java.util.Vector)iojStream.readObject(); //Pages from file...
            ImgPage = (java.util.Vector)iojStream.readObject(); //images for Pages from file...
            WBStack = (java.util.Vector)iojStream.readObject(); //Current object stack from file...
            objCount = iojStream.readInt(); //Current object count from file...
            pageCount = iojStream.readInt(); //Current number of pages from file...
            pageNum = iojStream.readInt();//iojStream.readInt(); //Current page number from file...
            iojStream.close();}} //Close the file...
        catch(Exception e)// We screwed up somewhere.....
        {SimpleFormatter s = new SimpleFormatter();
         LogRecord tempLog = new LogRecord(Level.WARNING, "Persistence load error: "+e.toString());
         s.format(tempLog);
         e.printStackTrace();
         logFile.publish(tempLog);}
class fileListener extends Thread {
    public fileListener(WBServer wb) //<-Constructor
        try{ms = new java.net.ServerSocket(1113);} //<- Listener socket
        catch(Exception e){e.toString();}
        server = wb; //<- Referencial variable back to the server
    public fileListener(WBServer wb, int port) //<- Constructor with port
        try{ms = new java.net.ServerSocket(port);} //<- Listener socket
        catch(Exception e){e.toString();}
        server = wb; //<- Referencial variable back to the server
    public void run() {
        String filepath; //<- Holder for file path operations...
        while(!disconnect) {
            try{java.net.Socket cs = ms.accept(); //<- Accept incoming request.
            server.fileStat = 1;
            java.io.BufferedReader str = new java.io.BufferedReader(new java.io.InputStreamReader(cs.getInputStream())); //<- Open communications with client
            String checkStr = str.readLine(); //<- Grab the file name from the client
            System.out.println(checkStr);
            String anchor = getClass().getResource("fileListener.class").getPath();
            if(checkStr.equalsIgnoreCase("vectordata.dat"))
            {filepath=anchor.substring(0, anchor.lastIndexOf('/')+1)+"data/"+checkStr;}
            else{filepath=anchor.substring(0, anchor.lastIndexOf('/')+1)+"scans/"+checkStr;}
            System.out.println(filepath);
            str.close(); //<- Close communications with client
            cs.close(); //<- Close socket
            //System.out.println("Recieved File Name: "+filepath);//Debugging
            java.io.File inFile = new java.io.File(filepath); //<- Make a file in memory on the host computer with the specified name.
            inFile.createNewFile(); //<- Create an empty file of that name within the local file system
            java.net.Socket ds = ms.accept(); //<- Accept incoming request
            java.io.FileOutputStream fos = new java.io.FileOutputStream(inFile); //<- Open file stream for writing...
            java.io.BufferedInputStream bis = new java.io.BufferedInputStream(ds.getInputStream()); //<- Open communications with client for data/
            byte[] fbuffer = new byte[1024]; //<- Byte read buffer
            int read=0; //<- Byte read counter
            server.fileStat = 2;
            while((read=bis.read(fbuffer))!=-1){ //<-Until we reach the end of the stream...
                fos.write(fbuffer, 0, read); System.out.print(read+":");}// <- ...write the buffer to the file.
            fos.flush(); //<- Clear the file stream
            fos.close(); //<- Close the file stream
            bis.close(); //<- Close the data stream from the client
            if(checkStr.equalsIgnoreCase("vectordata.dat"))
            {server.fileStat = 3; // ...otherwise, we show loading...
             server.unpackVectors(null);
             server.sendRefresh(true);
             server.fileStat=0;}
            else //If it's the sych data, unpack it and load the data
            {server.fileStat = 3; // ...otherwise, we show loading...
             server.passImage(inFile); //<-Load the file into the image vector...
             server.sendRefresh(true); //<- Ensure that the client updates properly
             server.fileStat=0;}
            ds.close(); //<- Close the client socket
            catch(Exception e){e.toString();}
        //System.out.println("Listener Shutdown");//Debugging
        try{ms.close();} catch(Exception e){e.toString();} //<- Close the listening socket
    public boolean disconnect = false; //<- Flag for killing the "file server" prematurely
    private static WBServer server; //<- Referencial variable to the whiteboard server
    private java.net.ServerSocket ms; //<- Listener socket
}I'm stumped as to where it is going wrong. I know that packVectors() and unpackVectors() both work, as they are used in a local save function. I suspect the problem lies between the getWBContent(String hid) and the fileListener class, but I am not certain where. Any help would be appreciated.

First, you are expecting read(buffer,offset,count) to throw an EOFException. It doesn't, it returns -1 at EOF.
Second, you are using a Writer to write binary data (resulting from serialization). This will corrupt it. Use an OutputStream.
Third, what I really don't get is why would you (i) write local data to a file and (ii) start a new thread to (iii) read it back and (iv) send it over not one but two sockets, when you could just return the data as the result of the remote method without the file, the thread, or the Sockets.
And in any case this sort of thing is most definitely not what SwingtUtilites.invokeLater() is for. (What it is for is updating Swing components and ensuring it all happens in the Swing thread, being the only correct way to write Swing code as Swing is not thread-safe by design.) If your server has a Swing GUI, which doesn't seem likely, it will stall for the duration of all this I/O. If it doesn't, why start the Swing thread at all?
Just define a serializable object that contains all the data you are passing to writeObject()/writeInt() and return it as the result of the remote method.
You will save yourself a lot of latency and code in the process, and you could reduce all this to about six lines of code, something like:
return new WBContent(
PageHolder, //Pages to file...
ImgPage, //Images for the Pages to file...
WBStack, //Current object stack to file...
objCount, //Current object count to file...
pageCount, //Current page count to file...
pageCount-1 //Current page number to file...
); where WBContent is a serializable class with the appropriate members and constructor, and is the return type of getWBContent().

Similar Messages

  • Cannot append in a object file

    I try to write an Object file, for Workers, this class is a bean that encapsulates information like name, phone, etc.
    When I write the file it works fine, and it writes all objects ok!!.
    But the problems comes when I re-open the file, to append more Workers, and when I try to read the file, a StreamCorruptedException is thrown from the ObjectInputStream.
    Could any body tell me why?
    Or if it is possible in Java append in an Object file..
    Thanks a lot..
    Cano

    Thanks for your replay but the answer that I was looking for is in the Question of the Week No. 98. And it is because when write object streams, the ObjectOutputStream writes headers of files each time you reopen and append in that file. Thanks again, but I already know, that I need to set append when open the file.
    Best Regards
    Cano
    sorry for my english..

  • JAVA file transfer

    Hello,
    I am currently working on an application that is to create a multipart response to the client.
    The first part of this response is to send an xml descriptor file, and the second part of this response is to send a content object (audio or image).
    The xml descriptor file needs to be generated dynamically according to the http headers received from the client and then sent to the client. How should I go about doing this? Just write everything I would in the xml file in a String, convert the String into bytes [] and write it to the response output stream? or create an actual temporary file on the hard disk, and then send that file to the output stream? I am new to JAVA so, really do not know the best approach to take.
    Note: I am prohibited due to some company policies to generate XML files using JAVAX or similar technologies.
    Any help would be appreciated.
    Thanks,
    Saurabh

    so r u saying that i can implement File transfer using only client APIs?
    but cudnt find it.. so plz explain a little. http://www.catb.org/~esr/faqs/smart-questions.html
    How To Ask Questions The Smart Way
    Eric Steven Raymond
    Thyrsus Enterprises
    Copyright © 2001,2006 Eric S. Raymond, Rick Moen
    Write in clear, grammatical, correctly-spelled language
    We've found by experience that people who are careless and sloppy writers are usually also careless and sloppy at thinking and coding (often enough to bet on, anyway). Answering questions for careless and sloppy thinkers is not rewarding; we'd rather spend our time elsewhere.
    So expressing your question clearly and well is important. If you can't be bothered to do that, we can't be bothered to pay attention. Spend the extra effort to polish your language. It doesn't have to be stiff or formal — in fact, hacker culture values informal, slangy and humorous language used with precision. But it has to be precise; there has to be some indication that you're thinking and paying attention.
    Spell, punctuate, and capitalize correctly. Don't confuse “its” with “it's”, “loose” with “lose”, or “discrete” with “discreet”. Don't TYPE IN ALL CAPS; this is read as shouting and considered rude. (All-smalls is only slightly less annoying, as it's difficult to read. Alan Cox can get away with it, but you can't.)
    More generally, if you write like a semi-literate b o o b you will very likely be ignored. So don't use instant-messaging shortcuts. Spelling "you" as "u" makes you look like a semi-literate b o o b to save two entire keystrokes. Worse: writing like a l33t script kiddie hax0r is the absolute kiss of death and guarantees you will receive nothing but stony silence (or, at best, a heaping helping of scorn and sarcasm) in return.

  • Getting "java.io.EOFException" while reading a file

    I am getting this error when trying to upload a file through the html form to the server.
    I am using Struts form and the FormFile to get the file contents. After getting the file contents I write to a file in the server path. This works perfectly with WebSphere4.0.
    When I deploy my application in Websphere 6.0 cluster environment I get the following error.
    java.io.EOFException
         at java.io.DataInputStream.readFully(DataInputStream.java(Compiled Code))
         at java.io.DataInputStream.readInt(DataInputStream.java(Compiled Code))
         at java.io.ObjectInputStream$BlockDataInputStream.readInt(ObjectInputStream.java(Inlined Compiled Code))
         at java.io.ObjectInputStream.readInt(ObjectInputStream.java(Compiled Code))
         at com.ibm.ws.webcontainer.httpsession.HttpSessDRSBuffWrapper.readExternal(HttpSessDRSBuffWrapper.java(Compiled Code))
         at java.io.ObjectInputStream.readExternalData(ObjectInputStream.java(Compiled Code))
         at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java(Compiled Code))
         at java.io.ObjectInputStream.readObject0(ObjectInputStream.java(Compiled Code))
         at java.io.ObjectInputStream.readObject(ObjectInputStream.java(Compiled Code))
         at java.util.Hashtable.readObject(Hashtable.java(Compiled Code))
         at sun.reflect.GeneratedMethodAccessor1637.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java(Compiled Code))
         at java.lang.reflect.Method.invoke(Method.java(Compiled Code))
         at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java(Compiled Code))
         at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java(Compiled Code))
         at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java(Compiled Code))
         at java.io.ObjectInputStream.readObject0(ObjectInputStream.java(Compiled Code))
         at java.io.ObjectInputStream.readObject(ObjectInputStream.java(Compiled Code))
         at com.ibm.ws.drs.message.DRSCacheMsgImpl.readExternal(DRSCacheMsgImpl.java(Compiled Code))
         at java.io.ObjectInputStream.readExternalData(ObjectInputStream.java(Compiled Code))
         at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java(Compiled Code))
         at java.io.ObjectInputStream.readObject0(ObjectInputStream.java(Compiled Code))
         at java.io.ObjectInputStream.readObject(ObjectInputStream.java(Compiled Code))
         at com.ibm.ws.drs.message.DRSMessageHelper.extractDCM(DRSMessageHelper.java(Compiled Code))
         at com.ibm.ws.drs.ha.DRSAgentClassEvents$2.run(DRSAgentClassEvents.java(Compiled Code))
         at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java(Compiled Code))
    Any help is appreciated.
    Thanks
    Ganesh...

    while((obj=input.readObject())!=null)and what's this test for? Where does it say that readObject() can return null? Is it really the correct test for what you're testing for?

  • Java.IO file transfer

    Hi all,
    I have been trying to transfer the file from one server to another using java code. Using the api in the java.IO and the code from the following site http://www.roseindia.net/java/example/java/io/CopyDirectory.shtml
    First i shared the folder to be transfered, then at the receiving end, i map the network drive.. Using the code as in the site, i can transfer the file over.
    But i found that if the connection break in the mapping of the network drive, the code cannot resume the file transfer from where it left behind.
    Actually, my requiremnts is to able to transfer the file and able to resume from where it stop when the connection break and not to overwrite any files.. and it able to check the sending server if there is any new files added to the folder, if yes then it will transfer over the receiving server.
    Thanks
    cheng

    Using ... the code from the following site http://www.roseindia.net/java/example/java/io/CopyDirectory.shtml
    That was your first mistake. That site is a notorious source of complete rubbish. In this case, unusually, the code looks not too bad apart from not calling mkdirs() as well as mkdir().
    But i found that if the connection break in the mapping of the network drive, the code cannot resume the file transfer from where it left behind.Correct. It doesn't do that. So you need to modify it to do so. If it finds that the target file exists and has a non-zero length, it needs to open it for append and skip to that offset in the source file before starting the copy loop. If it finds that the target file exists and has the same length as the source file and the same date it can skip the file completely. That should cover both your requirements.

  • Data loss in the secure file transfer using java

    Hi,
    My java Appllication uses the sftp(secure file transfer protocol) for file transferring. when the load is high like 150 GB , data loss occuring for some files especially last chunk of data is missing.
    Core file transfer code
    while (true)
    int read = bis.read(buffer); //Reading bytes into the byte array (buffer) from network stream (bis).
    if (read==-1) {
    break; //Break the loop, if there are no more bytes available in the InputStream.
    bos.write(buffer,0,read); //Writing the same number of bytes what we read into buffer byte array into OutputStream
    complete.update(buffer,0,read); //Giving the same number of bytes what we read above to the checksum calculation.
    bytesSoFar += read; //Incrementing the bytes that we have read from the source.
    //if the bytes transferred are equal to the source file size
    If (bytesSoFar == fileInfo.getFileSize().intValue())
    // Calculate the file checksum.
    // Update DbAuditLog with checksum and no. of bytes read
    else
    // Update DbAuditLog with no. of bytes read
    bos.flush();
    Please help , why the data loss is happening when the big size files transfer
    Note:
    1.150 gb not a single file multiple files.
    2.SFTP no java specific API, So connection is happening through java .io.sockect connection

    so, if you are not getting any exceptions, yet the data is incorrect, it sounds like you are having actual network issues. i'd start looking at things like the actual network cards in the computer as well other equipment involved in the transfer. since you are not getting exceptions, the network stack obviously thinks nothing was lost over the wire, so either the actual hardware has issues, or the network stack, or the issue is on the sending end. the last possibility is that the client is somehow munging the data it is sending. do you control the client code? if so, i'd start checking the client side code for bugs (and/or post it here).
    also, i'm assuming that all of the variables included in your original code are thread local (you aren't sharing any of those buffers/streams/etc between multiple threads).

  • Java - object file access

    how can I access randon to java object file
    thanks

    Can you clarify this question?
    I'm going to give an initial answer, based on a guess as to what you meant:
    BCEL lets you access the internals of a compiled Java class file (aka, the bytecode, aka the object code).

  • Java.io.EOFException when deploying Oc4jDcmServlet.ear file

    Upon entering the following...
    java -jar c:/JDev9.0.3/j2ee/home/admin.jar ormi://servername:1811 ias_admin password -deploy -file Oc4jDcmServlet.ear -deploymentName Oc4jDcmServlet
    ... I receive a java.io.EOFException: Disconnected error
    any ideas?
    Thanks,
    Ora M Team

    Try to resolve the class first.
    The iasdeploy is refering the class in its full path , when you assemble the pack, you need to resolve the path of all classes.
    Hope that works,
    Fernando
    [email protected]

  • Java.io.EOFException while returning a large object using RMI

    Hello
    I am having an issue with RMI which seems to be quite common (given the given the amount of matches in Google) but for which I can find a way out.
    In my application there 2 RMI objects , say OBJECT1 and OBJECT2. For OBJECT1 to get stuff from the database it gives a call to OBJECT2, which in turn fetches it from the DB and provides it back to OBJECT1.
    It is in such a call from OBJECT1 that i get the following exception.
    Caused by: java.rmi.UnmarshalException: error unmarshalling return; nested exception is:
    java.io.EOFException
    at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:164)
    at CALL FROM OBJECT1
    ... 13 more
    Caused by: java.io.EOFException
    at java.io.ObjectInputStream$BlockDataInputStream.readFully(ObjectInputStream.java:2571)
    at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1824)
    at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1759)
    at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1646)
    at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
    at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1603)
    at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1271)
    at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1603)
    at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1271)
    at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1835)
    at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1759)
    at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1646)
    at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:322)
    at sun.rmi.server.UnicastRef.unmarshalValue(UnicastRef.java:297)
    at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:146)
    ... 15 more
    The rows retrieved from the DB are stored in a user-defined array (serializable incl. all the subcomponents except for the primitive data fields) and the same is return back from OBJECT2.
    Interesting thing is that this exception occurs only when the number of rows retrieved by OBJECT2 is exceeds a certain limit, i.e. when the no. of rows are less the application works perfectly.
    Tried the following based on what was mentioned in different posts: Added following parameters to the JVM startup call.
    -Dsun.rmi.server.exceptionTrace=true - did not get any pointers
    -Dsun.rmi.log.debug=true
    -Dsun.rmi.transport.connectionTimeout=600000 - cause the time for the DB query was above the default time of 15 sec
    I am using Sun j2sdk1.4.2_13 for the application.
    Any pointers to resolve this issue would be greatly appreciated.

    ronpg wrote:
    The issue is solved by increasing the VM max. memory parameters!if you want to avoid issues like this in the future, check out RMIIO. it provides an api for a "streaming remote iterator" over rmi, so you wouldn't have too read all this data into memory at once (causing memory exhaustion issues).

  • File to file transfer

    hai
      i need the steps to be done for the scenerio file to file transfer,
      as if i am transfering a file from one R/3 to another R/3 system.
    what are the configuarion that is to be done for it?
    plz send me the detail steps.
    thx in advance. its urgent.

    Following are the links to weblogs which will help to develop the basic scenarios.
    /people/prateek.shah/blog/2005/06/08/introduction-to-idoc-xi-file-scenario-and-complete-walk-through-for-starters - IDoc to File
    /people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy - ABAP Proxy to File
    /people/sap.user72/blog/2005/06/01/file-to-jdbc-adapter-using-sap-xi-30 - File to JDBC
    /people/prateek.shah/blog/2005/06/14/file-to-r3-via-abap-proxy - File to ABAP Proxy
    /people/venkat.donela/blog/2005/03/02/introduction-to-simplefile-xi-filescenario-and-complete-walk-through-for-starterspart1 - File to File Part 1
    /people/venkat.donela/blog/2005/03/03/introduction-to-simple-file-xi-filescenario-and-complete-walk-through-for-starterspart2 - File to File Part 2
    /people/ravikumar.allampallam/blog/2005/06/24/convert-any-flat-file-to-any-idoc-java-mapping - Any flat file to any Idoc
    /people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit - File to RFC
    https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1685 [original link is broken] [original link is broken] [original link is broken] [original link is broken] - File to Mail
    /people/jayakrishnan.nair/blog/2005/06/20/dynamic-file-name-using-xi-30-sp12-part--i - Dynamic File Name Part 1
    /people/jayakrishnan.nair/blog/2005/06/28/dynamic-file-namexslt-mapping-with-java-enhancement-using-xi-30-sp12-part-ii - Dynamic File Name Part 2
    /people/michal.krawczyk2/blog/2005/03/07/mail-adapter-xi--how-to-implement-dynamic-mail-address - Dynamic Mail Address
    /people/siva.maranani/blog/2005/05/25/understanding-message-flow-in-xi - Message Flow in XI
    /people/krishna.moorthyp/blog/2005/06/09/walkthrough-with-bpm - Walk through BPM
    /people/siva.maranani/blog/2005/05/22/schedule-your-bpm - Schedule BPM
    /people/sriram.vasudevan3/blog/2005/01/11/demonstrating-use-of-synchronous-asynchronous-bridge-to-integrate-synchronous-and-asynchronous-systems-using-ccbpm-in-sap-xi - Use of Synch - Asynch bridge in ccBPM
    https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1403 [original link is broken] [original link is broken] [original link is broken] [original link is broken] - Use of Synch - Asynch bridge in ccBPM
    /people/michal.krawczyk2/blog/2005/08/22/xi-maintain-rfc-destinations-centrally - Maintain RFC destination centrally
    /people/sravya.talanki2/blog/2005/08/18/triggering-e-mails-to-shared-folders-of-sap-is-u - Triggering Email from folder
    /people/sravya.talanki2/blog/2005/08/17/outbound-idocs--work-around-using-party - Handling different partners for IDoc
    /people/siva.maranani/blog/2005/08/27/modeling-integration-scenario146s-in-xi - Modeling Integration Scenario in XI
    /people/michal.krawczyk2/blog/2005/08/25/xi-sending-a-message-without-the-use-of-an-adapter-not-possible - Testing of integration process
    /people/michal.krawczyk2/blog/2005/05/25/xi-how-to-add-authorizations-to-repository-objects - Authorization in XI
    http://help.sap.com/saphelp_nw04/helpdata/en/58/d22940cbf2195de10000000a1550b0/content.htm - Authorization in XI
    /people/michal.krawczyk2/blog/2005/09/09/xi-alerts--step-by-step - Alert Configuration
    /people/michal.krawczyk2/blog/2005/09/09/xi-alerts--troubleshooting-guide - Trouble shoot alert config
    /people/sameer.shadab/blog/2005/09/21/executing-unix-shell-script-using-operating-system-command-in-xi - Call UNIX Shell Script
    /people/sravya.talanki2/blog/2005/11/02/overview-of-transition-from-dev-to-qa-in-xi - Transport in XI
    /people/r.eijpe/blog/2005/11/04/using-abap-xslt-extensions-for-xi-mapping - Using ABAP XSLT Extensions for XI Mapping
    /people/prasad.ulagappan2/blog/2005/06/07/mail-adapter-scenarios-150-sap-exchange-infrastructure - Mail Adaptor options
    /people/pooja.pandey/blog/2005/07/27/idocs-multiple-types-collection-in-bpm - Collection of IDoc to Single File

  • Applet can not read from servlet because of java.io.EOFException

    Hi all,
    i try to communicate my applet with a servlet. i examine lots of codes from internet and i did lots of things to get a working sample but i couldn't sucess on this work for 2 days so if anyone can help me i will be very happy.
    Anyway, here is the code snippets :
    1- Applet side code to send data (serializabed object) to servlet :
       // Opening connection...
       URL urlServlet = new URL("http", "81.214.190.3", 8080, "/pwta/pwtax");
       URLConnection connection = urlServlet.openConnection();
       // Setting attributes...
       connection.setDoInput(true);
       connection.setDoOutput(true);
       connection.setUseCaches(false);
       connection.setDefaultUseCaches(false);
       connection.setRequestProperty("Content-Type",
                                                                  "application/octet-stream");
       OutputStream outputStream = connection.getOutputStream();
       ObjectOutputStream objectOutputStream = new ObjectOutputStream (outputStream);
       objectOutputStream.writeObject(islem);
       objectOutputStream.flush();
       objectOutputStream.close();
       // Receiving result from servlet...
      // Exception is thrown at line 71! Detail is written at bottom of message!
      InputStream inputStream = con.getInputStream(); // line 71 is here!!!
      ObjectInputStream objectInputStream = new ObjectInputStream(inputStream);
      returnValue = (Sonuc) objectInputStream.readObject();
      objectInputStream.close();
      inputStream.close();
    2- Server side code which read data and sendit after processing  to   applet  :
    // Reading requirement... Implementation is done in doPost() method!
        InputStream in = request.getInputStream();
        ObjectInputStream inputFromApplet = new ObjectInputStream(in);
        Islem islem = (Islem) inputFromApplet.readObject();
        inputFromApplet.close();
        // Doing the required job!
       setMapperAndDoTheJob(islem);
       // Writing the result to user...
       OutputStream outstr = response.getOutputStream();
       ObjectOutputStream oos = new ObjectOutputStream(outstr);
       oos.writeObject(sonuc);
       oos.flush();
       oos.close();
    //  *************************************************************************When i run my applet the following exception is thrown :
    java.io.EOFException
    at java.io.ObjectInputStream$PeekInputStream.readFully(Unknown Source)
    at java.io.ObjectInputStream$BlockDataInputStream.readShort(Unknown Source)
    at java.io.ObjectInputStream.readStreamHeader(Unknown Source)
    at java.io.ObjectInputStream.<init>(Unknown Source)
    at tr.com.proksis.pwta.domain.PWTAProcessor.transferProcess(PWTAProcessor.java:71)
    Best Regards,
    eRoHaN

    get it working using a text transfer before you use and object transfer

  • Using Applets and RMI on WL6 - Error marshaling transport header; nested exception is:  - java.io.EOFException

    I have a project that I am porting from WL5.1 to WL6. It was working fine
    in WL5.1
    but cannot get it working in WL6. So, I went back to the HelloWorld
    example to
    see if I could get it working. The problem I am having is basically getting
    applet to
    talk to a server via RMI. The applet works fine alone and RMI works fine
    alone.
    I can't get the applet to talk to the server via RMI.
    I am trying to get the "HelloWorld" applet example in WL6 working with RMI.
    I previously had the same app working in WL5.1 with SP9 but cannot get it
    working in WL6.
    I am running WebLogic Server 6.0 with SP2.
    I have registered a startup class in the WebLogic console
    named "HelloServer". When starting up the server, it states
    that the HelloImpl class has been registered as "HelloServer".
    When starting up the client applet I get the following error:
    java.rmi.MarshalException: Error marshaling transport header; nested
    exception is:
    java.io.EOFException
    These are two different methods of looking up the same object.
    The exception occurs at the "lookup" method call in both cases.
    "myserver" is the name of my machine that WL is running on.
    7001 is the port that WL is using.
    Registry reg = LocateRegistry.getRegistry("myserver", 7001);
    obj = (Hello)reg.lookup("HelloServer");
    or...
    obj = (Hello)weblogic.rmi.Naming.lookup("rmi://" +
    getCodeBase().getHost() + ':' + port + "/HelloServer");
    I previously ran this same program under WL5.1 SP9 and everything works
    fine.
    I defined the startupClass in the weblogic.properties file in WL5.1
    Can anyone tell my what is causing this exception and how to correct the
    problem?
    Thanks
    Terry Antle

    "Terry Antle" <[email protected]> writes:
    These are two different methods of looking up the same object.
    The exception occurs at the "lookup" method call in both cases.
    "myserver" is the name of my machine that WL is running on.
    7001 is the port that WL is using.
    Registry reg = LocateRegistry.getRegistry("myserver", 7001);
    obj = (Hello)reg.lookup("HelloServer");
    or...
    obj = (Hello)weblogic.rmi.Naming.lookup("rmi://" +
    getCodeBase().getHost() + ':' + port + "/HelloServer");
    I previously ran this same program under WL5.1 SP9 and everything works
    fine.
    I defined the startupClass in the weblogic.properties file in WL5.1
    Can anyone tell my what is causing this exception and how to correct the
    problem?I don't know what the problem is but you shouldn't be using either of
    these methods for looking up RMI objects - you should use JNDI instead.
    Thanks
    andy

  • Lotus Domino - java.io.EOFException

    I have configured a Domino resource adapter. When I try to "Test Configuration", everything is fine, but when I create a user and set a couple of attributes I receive an java.io.EOFException. From my experience as a JAVA programmer, I know this error has something to do with end of file or end of stream has been reached unexpectedly during input, but I do not see any strange values during user creation.
    Could anyone point me in the correct direction, so I can solve the problem?
    If you need more information, plz let me know?

    Nobody has ever had this exception?
    Maybe I need to give some details about the configuration:
    - Sun IdM version 7.1
    - Sun Gateway version 7.1 ( and working, because eveything works fine up to the creation of a user. Based on the logging of the gateway )
    - Lotus Domino Server version 8.0
    - Lotus Notes Client version 6.5.5
    When I try to create the following account:
    Xena Warrior/Teun on Domino User Registry
    password:      ********
    lastname:      Warrior
    division:      Ede
    MailFile:      mail\XWarrior
    shortName:      XWarrior
    idFile:      D:\Notes\IDs\XWarrior.id
    MailServer: IDMTEST/Teun
    firstname:      Xena
    MailDomain: Teun
    MailTemplate: C:\Lotus\Domino\data\mail8.ntf
    CertifierOrgHierarchy: /Teun
    When I look at the Sun Gateway server, I see a Lotus Notes Exception handler window. This window is collecting information about the exception, and then closes. I do not know what kind of information it was gathering and where it is stored!?
    Sun Gateway trace file, user creation:
    06/17/2008 10.11.34.145000 [4208] (../../../../src/wps/agent/logging/WSTrace.cpp,150): trace active, level: 4, file: C:\Program Files\lotus\Notes_Gateway.log, maxSize: 10000 KB
    06/17/2008 10.11.34.145000 [4208] (../../../../src/wps/agent/logging/WSTrace.cpp,108): In WSTrace::init()
    06/17/2008 10.11.34.145000 [4208] (../../../../src/wps/agent/logging/WSTrace.cpp,109): Gateway version: 'Sun Java System Identity Manager 7.1'
    06/17/2008 10.11.34.145000 [4208] (../../../../src/wps/agent/logging/WSTrace.cpp,110): OS version: 'Windows Server 2003 Family Service Pack 2 (Build 3790)'
    06/17/2008 10.11.34.145000 [4208] (../../../../src/wps/agent/logging/WSTrace.cpp,182): Setting trace file to 'C:\Program Files\lotus\Notes_Gateway.log'
    06/17/2008 10.11.34.161000 [4208] (../../../../src/wps/agent/logging/WSTrace.cpp,150): trace active, level: 4, file: C:\Program Files\lotus\Notes_Gateway.log, maxSize: 10000 KB
    06/17/2008 10.11.34.161000 [4208] (../../../../src/wps/agent/logging/WSTrace.cpp,205): Trace file set to 'C:\Program Files\lotus\Notes_Gateway.log'
    06/17/2008 10.11.34.161000 [4208] (../../../../src/wps/agent/logging/WSTrace.cpp,253): Trace level set to '4'
    06/17/2008 10.11.34.161000 [4208] (../../../../src/wps/agent/connect/main.cpp,247): Enter: doDominoInitialization
    06/17/2008 10.11.34.161000 [4208] (../../../../src/wps/agent/connect/main.cpp,271): NotesIniFileDir: D:\2Install\IDM_gateway\Notes_gateway\notes.ini
    06/17/2008 10.11.34.161000 [4208] (../../../../src/wps/agent/connect/main.cpp,279): NotesInstallDir: C:\Program Files\lotus\notes\
    06/17/2008 10.11.34.161000 [4208] (../../../../src/wps/agent/connect/main.cpp,291): Domino Enabled
    06/17/2008 10.11.34.161000 [4208] (../../../../src/wps/agent/connect/main.cpp,303): Updated PATH: C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\lotus\notes\;
    06/17/2008 10.11.34.301000 [4208] (../../../../src/wps/agent/connect/main.cpp,327): Exit: doDominoInitialization
    06/17/2008 10.11.34.301000 [4208] (../../../../src/wps/agent/connect/ntsvc.cpp,95): Service::svc
    06/17/2008 10.11.34.364000 [4208] (../../../../src/wps/agent/connect/server.cpp,269): starting up server daemon PORT 9279
    06/17/2008 10.12.25.162000 [4208] (../../../../src/wps/agent/connect/RAEncryptor.cpp,128): Error reading encrpytion key from registry. Using default.
    06/17/2008 10.12.25.162000 [4208] (../../../../src/wps/agent/connect/RASecureConnection.cpp,64): RASecureConnection: new connection handler
    06/17/2008 10.12.25.178000 [4200] (../../../../src/wps/agent/connect/client_handler.cpp,344): got 60 bytes
    06/17/2008 10.12.25.178000 [4200] (../../../../src/wps/agent/connect/RASecureConnection.cpp,264): ReceivePrivate: count: 42, 56 wrapped up rawlength 58
    06/17/2008 10.12.25.178000 [4200] (../../../../src/wps/agent/connect/RASecureConnection.cpp,273): Rightbefore decrypt:
    06/17/2008 10.12.25.178000 [4200] (../../../../src/wps/agent/connect/RAEncryptor.cpp,69): RAEncryptor::Decrypt3DES: input length (48) moded to 6
    06/17/2008 10.12.25.178000 [4200] (../../../../src/wps/agent/connect/RASecureConnection.cpp,114): SendPrivate: count: 0 pad: 4
    06/17/2008 10.12.25.178000 [4200] (../../../../src/wps/agent/connect/RASecureConnection.cpp,422): Enter: MakeChallengeResponse
    06/17/2008 10.12.25.178000 [4200] (../../../../src/wps/agent/connect/RASecureConnection.cpp,474): MakeChallengeResponse(in,out):
    (54,1D) (00,DD)
    06/17/2008 10.12.25.178000 [4200] (../../../../src/wps/agent/connect/RASecureConnection.cpp,476):  (EB,59) (8B,DF)
    06/17/2008 10.12.25.178000 [4200] (../../../../src/wps/agent/connect/RAEncryptor.cpp,128): Error reading encrpytion key from registry. Using default.
    06/17/2008 10.12.25.178000 [4200] (../../../../src/wps/agent/connect/RASecureConnection.cpp,497): MakeChallengeResponse Key:
    06/17/2008 10.12.25.178000 [4200] (../../../../src/wps/agent/connect/RASecureConnection.cpp,507): Exit: MakeChallengeResponse
    06/17/2008 10.12.25.178000 [4200] (../../../../src/wps/agent/connect/RASecureConnection.cpp,114): SendPrivate: count: 16 pad: 4
    06/17/2008 10.12.25.193000 [4200] (../../../../src/wps/agent/connect/client_handler.cpp,344): got 36 bytes
    06/17/2008 10.12.25.209000 [4200] (../../../../src/wps/agent/connect/RASecureConnection.cpp,264): ReceivePrivate: count: 16, 32 wrapped up rawlength 32
    06/17/2008 10.12.25.209000 [4200] (../../../../src/wps/agent/connect/RASecureConnection.cpp,273): Rightbefore decrypt:
    06/17/2008 10.12.25.209000 [4200] (../../../../src/wps/agent/connect/RAEncryptor.cpp,69): RAEncryptor::Decrypt3DES: input length (24) moded to 3
    06/17/2008 10.12.25.209000 [4200] (../../../../src/wps/agent/connect/RASecureConnection.cpp,114): SendPrivate: count: 0 pad: 4
    06/17/2008 10.12.25.209000 [4200] (../../../../src/wps/agent/connect/RAEncryptor.cpp,128): Error reading encrpytion key from registry. Using default.
    06/17/2008 10.12.25.209000 [4200] (../../../../src/wps/agent/connect/RASecureConnection.cpp,571): Session key :
    06/17/2008 10.12.25.224000 [4200] (../../../../src/wps/agent/connect/client_handler.cpp,344): got 13732 bytes
    06/17/2008 10.12.25.224000 [4200] (../../../../src/wps/agent/connect/RASecureConnection.cpp,264): ReceivePrivate: count: 13714, 13728 wrapped up rawlength 13730
    06/17/2008 10.12.25.224000 [4200] (../../../../src/wps/agent/connect/RASecureConnection.cpp,273): Rightbefore decrypt:
    06/17/2008 10.12.25.224000 [4200] (../../../../src/wps/agent/connect/RAEncryptor.cpp,69): RAEncryptor::Decrypt3DES: input length (13720) moded to 1715
    06/17/2008 10.12.25.240000 [4200] (../../../../src/wps/agent/connect/RASecureConnection.cpp,114): SendPrivate: count: 0 pad: 4
    06/17/2008 10.12.25.240000 [4200] (../../../../src/wps/agent/object/RequestHandler.cpp,567): Enter: handleRequest
    06/17/2008 10.12.25.240000 [4200] (../../../../src/wps/agent/object/RequestHandler.cpp,587): Received buffer:
    06/17/2008 10.12.25.240000 [4200] (../../../../src/wps/agent/object/RequestHandler.cpp,68): <?xml version='1.0' encoding='UTF-16'?>
    06/17/2008 10.12.25.240000 [4200] (../../../../src/wps/agent/object/RequestHandler.cpp,68): <Request encrypted='true'>
    06/17/2008 10.12.25.240000 [4200] (../../../../src/wps/agent/object/RequestHandler.cpp,68):   <cmd>get info</cmd>
    06/17/2008 10.12.25.240000 [4200] (../../../../src/wps/agent/object/RequestHandler.cpp,68):   <Resource name='Domino User Registry' class='com.waveset.adapter.DominoResourceAdapter'>
    06/17/2008 10.12.25.240000 [4200] (../../../../src/wps/agent/object/RequestHandler.cpp,68): <Attributes>
    06/17/2008 10.12.25.240000 [4200] (../../../../src/wps/agent/object/RequestHandler.cpp,68):   <Attribute name='Certifier Log Database' type='string' value='certlog.nsf'/>
    06/17/2008 10.12.25.240000 [4200] (../../../../src/wps/agent/object/RequestHandler.cpp,68):   <Attribute name='Continue on errors' type='string' value='FALSE'/>
    06/17/2008 10.12.25.240000 [4200] (../../../../src/wps/agent/object/RequestHandler.cpp,68):   <Attribute name='Host' type='string' value='dxlvsede18.delixl.local'/>
    06/17/2008 10.12.25.240000 [4200] (../../../../src/wps/agent/object/RequestHandler.cpp,68):   <Attribute name='Input Form' type='string'>
    06/17/2008 10.12.25.240000 [4200] (../../../../src/wps/agent/object/RequestHandler.cpp,68):   </Attribute>
    06/17/2008 10.12.25.240000 [4200] (../../../../src/wps/agent/object/RequestHandler.cpp,68):   <Attribute name='Log File Path' type='string'>
    06/17/2008 10.12.25.240000 [4200] (../../../../src/wps/agent/object/RequestHandler.cpp,68):   </Attribute>
    06/17/2008 10.12.25.240000 [4200] (../../../../src/wps/agent/object/RequestHandler.cpp,68):   <Attribute name='Log Level' type='string' value='2'/>
    06/17/2008 10.12.25.240000 [4200] (../../../../src/wps/agent/object/RequestHandler.cpp,68):   <Attribute name='MailServer' type='string' value='IDMTEST/Teun'/>
    06/17/2008 10.12.25.240000 [4200] (../../../../src/wps/agent/object/RequestHandler.cpp,68):   <Attribute name='Maximum Age Length' type='string'>
    06/17/2008 10.12.25.240000 [4200] (../../../../src/wps/agent/object/RequestHandler.cpp,68):   </Attribute>
    06/17/2008 10.12.25.240000 [4200] (../../../../src/wps/agent/object/RequestHandler.cpp,68):   <Attribute name='Maximum Age Unit' type='string'>
    06/17/2008 10.12.25.240000 [4200] (../../../../src/wps/agent/object/RequestHandler.cpp,68):   </Attribute>
    06/17/2008 10.12.25.240000 [4200] (../../../../src/wps/agent/object/RequestHandler.cpp,68):   <Attribute name='Maximum Archives' type='string' value='3'/>
    06/17/2008 10.12.25.240000 [4200] (../../../../src/wps/agent/object/RequestHandler.cpp,68):   <Attribute name='Maximum Log File Size' type='string'>
    06/17/2008 10.12.25.240000 [4200] (../../../../src/wps/agent/object/RequestHandler.cpp,68):   </Attribute>
    06/17/2008 10.12.25.240000 [4200] (../../../../src/wps/agent/object/RequestHandler.cpp,68):   <Attribute name='Object Class' type='string' value='People'/>
    06/17/2008 10.12.25.240000 [4200] (../../../../src/wps/agent/object/RequestHandler.cpp,68):   <Attribute name='Policy' type='string'>
    06/17/2008 10.12.25.240000 [4200] (../../../../src/wps/agent/object/RequestHandler.cpp,68):   </Attribute>
    06/17/2008 10.12.25.240000 [4200] (../../../../src/wps/agent/object/RequestHandler.cpp,68):   <Attribute name='Poll Every' type='string'>
    06/17/2008 10.12.25.240000 [4200] (../../../../src/wps/agent/object/RequestHandler.cpp,68):   </Attribute>
    06/17/2008 10.12.25.240000 [4200] (../../../../src/wps/agent/object/RequestHandler.cpp,68):   <Attribute name='Polling Start Date' type='string'>
    06/17/2008 10.12.25.240000 [4200] (../../../../src/wps/agent/object/RequestHandler.cpp,68):   </Attribute>
    06/17/2008 10.12.25.240000 [4200] (../../../../src/wps/agent/object/RequestHandler.cpp,68):   <Attribute name='Polling Start Time' type='string'>
    06/17/2008 10.12.25.240000 [4200] (../../../../src/wps/agent/object/RequestHandler.cpp,68):   </Attribute>
    06/17/2008 10.12.25.240000 [4200] (../../../../src/wps/agent/object/RequestHandler.cpp,68):   <Attribute name='Post-Poll Workflow' type='string'>
    06/17/2008 10.12.25.240000 [4200] (../../../../src/wps/agent/object/RequestHandler.cpp,68):   </Attribute>
    06/17/2008 10.12.25.240000 [4200] (../../../../src/wps/agent/object/RequestHandler.cpp,68):   <Attribute name='Pre-Poll Workflow' type='string'>
    06/17/2008 10.12.25.240000 [4200] (../../../../src/wps/agent/object/RequestHandler.cpp,68):   </Attribute>
    06/17/2008 10.12.25.240000 [4200] (../../../../src/wps/agent/object/RequestHandler.cpp,68):   <Attribute name='Proxy Administrator' type='string' value='Configurator'/>
    06/17/2008 10.12.25.240000 [4200] (../../../../src/wps/agent/object/RequestHandler.cpp,68):   <Attribute name='RoamCleanPer' type='int'>
    06/17/2008 10.12.25.240000 [4200] (../../../../src/wps/agent/object/RequestHandler.cpp,68):   </Attribute>
    06/17/2008 10.12.25.240000 [4200] (../../../../src/wps/agent/object/RequestHandler.cpp,68):   <Attribute name='RoamCleanSetting' type='string'>
    06/17/2008 10.12.25.240000 [4200] (../../../../src/wps/agent/object/RequestHandler.cpp,68):   </Attribute>
    06/17/2008 10.12.25.240000 [4200] (../../../../src/wps/agent/object/RequestHandler.cpp,68):   <Attribute name='RoamRplSrvrs' type='string'>
    06/17/2008 10.12.25.240000 [4200] (../../../../src/wps/agent/object/RequestHandler.cpp,68):   </Attribute>
    06/17/2008 10.12.25.240000 [4200] (../../../../src/wps/agent/object/RequestHandler.cpp,68):   <Attribute name='RoamSrvr' type='string'>
    06/17/2008 10.12.25.240000 [4200] (../../../../src/wps/agent/object/RequestHandler.cpp,68):   </Attribute>
    06/17/2008 10.12.25.240000 [4200] (../../../../src/wps/agent/object/RequestHandler.cpp,68):   <Attribute name='Scheduling Interval' type='string'>
    06/17/2008 10.12.25.240000 [4200] (../../../../src/wps/agent/object/RequestHandler.cpp,68):   </Attribute>
    06/17/2008 10.12.25.256000 [4200] (../../../../src/wps/agent/object/RequestHandler.cpp,68):   <Attribute name='TCP Port' type='string' value='9279'/>
    06/17/2008 10.12.25.256000 [4200] (../../../../src/wps/agent/object/RequestHandler.cpp,68):   <Attribute name='User Provides Password On Change' type='string' value='1'/>
    06/17/2008 10.12.25.256000 [4200] (../../../../src/wps/agent/object/RequestHandler.cpp,68):   <Attribute name='When reset, ignore past changes' type='string' value='1'/>
    06/17/2008 10.12.25.256000 [4200] (../../../../src/wps/agent/object/RequestHandler.cpp,68):   <Attribute name='activeSyncConfigMode' type='string' value='basic'/>
    06/17/2008 10.12.25.256000 [4200] (../../../../src/wps/agent/object/RequestHandler.cpp,68):   <Attribute name='activeSyncPostProcessForm' type='string'>
    06/17/2008 10.12.25.256000 [4200] (../../../../src/wps/agent/object/RequestHandler.cpp,68):   </Attribute>
    06/17/2008 10.12.25.256000 [4200] (../../../../src/wps/agent/object/RequestHandler.cpp,68):   <Attribute name='addShortName' type='string' value='FALSE'/>
    06/17/2008 10.12.25.256000 [4200] (../../../../src/wps/agent/object/RequestHandler.cpp,68):   <Attribute name='adminAcct' type='string' value='C:\Program Files\lotus\notes\data\ttimmer.id'/>
    06/17/2008 10.12.25.256000 [4200] (../../../../src/wps/agent/object/RequestHandler.cpp,68):   <Attribute name='adminDatabase' type='string' value='admin4.nsf'/>
    06/17/2008 10.12.25.256000 [4200] (../../../../src/wps/agent/object/RequestHandler.cpp,68):   <Attribute name='assignSourceOnCreate' type='boolean' value='true'/>
    06/17/2008 10.12.25.256000 [4200] (../../../../src/wps/agent/object/RequestHandler.cpp,68):   <Attribute name='blockCount' type='string' value='100'/>
    06/17/2008 10.12.25.256000 [4200] (../../../../src/wps/agent/object/RequestHandler.cpp,68):   <Attribute name='certifierIDFile' type='string' value='C:\Program Files\lotus\notes\data\certteun.id'/>
    06/17/2008 10.12.25.256000 [4200] (../../../../src/wps/agent/object/RequestHandler.cpp,68):   <Attribute name='confirmationRule' type='string' value='CONFIRMATION_RULE_NONE'/>
    06/17/2008 10.12.25.256000 [4200] (../../../../src/wps/agent/object/RequestHandler.cpp,68):   <Attribute name='connectionLimit' type='string' value='10'/>
    06/17/2008 10.12.25.256000 [4200] (../../../../src/wps/agent/object/RequestHandler.cpp,68):   <Attribute name='correlationRule' type='string' value='CORRELATION_RULE_NONE'/>
    06/17/2008 10.12.25.256000 [4200] (../../../../src/wps/agent/object/RequestHandler.cpp,68):   <Attribute name='createDesktopClient' type='string' value='TRUE'/>
    06/17/2008 10.12.25.256000 [4200] (../../../../src/wps/agent/object/RequestHandler.cpp,68):   <Attribute name='createIDfile' type='string' value='TRUE'/>
    06/17/2008 10.12.25.256000 [4200] (../../../../src/wps/agent/object/RequestHandler.cpp,68):   <Attribute name='createMailDB' type='string' value='TRUE'/>
    06/17/2008 10.12.25.256000 [4200] (../../../../src/wps/agent/object/RequestHandler.cpp,68):   <Attribute name='createUnmatched' type='string' value='true'/>
    06/17/2008 10.12.25.256000 [4200] (../../../../src/wps/agent/object/RequestHandler.cpp,68):   <Attribute name='credentials' type='encrypted' value='lGgBc4losWA='/>
    06/17/2008 10.12.25.256000 [4200] (../../../../src/wps/agent/object/RequestHandler.cpp,68):   <Attribute name='defaultPasswordExp' type='string' value='720'/>
    06/17/2008 10.12.25.256000 [4200] (../../../../src/wps/agent/object/RequestHandler.cpp,68):   <Attribute name='deleteMailFileOption' type='string' value='2'/>
    06/17/2008 10.12.25.256000 [4200] (../../../../src/wps/agent/object/RequestHandler.cpp,68):   <Attribute name='deleteRule' type='string'>
    06/17/2008 10.12.25.256000 [4200] (../../../../src/wps/agent/object/RequestHandler.cpp,68):   </Attribute>
    06/17/2008 10.12.25.256000 [4200] (../../../../src/wps/agent/object/RequestHandler.cpp,68):   <Attribute name='idType' type='string' value='1'/>
    06/17/2008 10.12.25.256000 [4200] (../../../../src/wps/agent/object/RequestHandler.cpp,68):   <Attribute name='isNorthAmerican' type='string' value='FALSE'/>
    06/17/2008 10.12.25.256000 [4200] (../../../../src/wps/agent/object/RequestHandler.cpp,68):   <Attribute name='mailSystem' type='string' value='0'/>
    06/17/2008 10.12.25.256000 [4200] (../../../../src/wps/agent/object/RequestHandler.cpp,68):   <Attribute name='maxThreads' type='string' value='10'/>
    06/17/2008 10.12.25.256000 [4200] (../../../../src/wps/agent/object/RequestHandler.cpp,68):   <Attribute name='minPWLength' type='string' value='6'/>
    06/17/2008 10.12.25.256000 [4200] (../../../../src/wps/agent/object/RequestHandler.cpp,68):   <Attribute name='namesDatabase' type='string' value='names.nsf'/>
    06/17/2008 10.12.25.256000 [4200] (../../../../src/wps/agent/object/RequestHandler.cpp,68):   <Attribute name='parameterizedInputForm' type='string'>
    06/17/2008 10.12.25.256000 [4200] (../../../../src/wps/agent/object/RequestHandler.cpp,68):   </Attribute>
    06/17/2008 10.12.25.256000 [4200] (../../../../src/wps/agent/object/RequestHandler.cpp,68):   <Attribute name='password' type='encrypted' value='lGgBc4losWA='/>
    06/17/2008 10.12.25.256000 [4200] (../../../../src/wps/agent/object/RequestHandler.cpp,68):   <Attribute name='populateGlobal' type='string' value='false'/>
    06/17/2008 10.12.25.256000 [4200] (../../../../src/wps/agent/object/RequestHandler.cpp,68):   <Attribute name='processRule' type='string'>
    06/17/2008 10.12.25.256000 [4200] (../../../../src/wps/agent/object/RequestHandler.cpp,68):   </Attribute>
    06/17/2008 10.12.25.256000 [4200] (../../../../src/wps/agent/object/RequestHandler.cpp,68):   <Attribute name='registrationServerMachine' type='string' value='IDMTEST/Teun'/>
    06/17/2008 10.12.25.256000 [4200] (../../../../src/wps/agent/object/RequestHandler.cpp,68):   <Attribute name='removeDenyGroupsDuringDelete' type='string' value='false'/>
    06/17/2008 10.12.25.256000 [4200] (../../../../src/wps/agent/object/RequestHandler.cpp,68):   <Attribute name='resolveProcessRule' type='string'>
    06/17/2008 10.12.25.256000 [4200] (../../../../src/wps/agent/object/RequestHandler.cpp,68):   </Attribute>
    06/17/2008 10.12.25.256000 [4200] (../../../../src/wps/agent/object/RequestHandler.cpp,68):   <Attribute name='setInternetPass' type='string' value='TRUE'/>
    06/17/2008 10.12.25.256000 [4200] (../../../../src/wps/agent/object/RequestHandler.cpp,68):   <Attribute name='storeIDInAddrBook' type='string' value='TRUE'/>
    06/17/2008 10.12.25.256000 [4200] (../../../../src/wps/agent/object/RequestHandler.cpp,68):   <Attribute name='storeIdInFile' type='string' value='TRUE'/>
    06/17/2008 10.12.25.256000 [4200] (../../../../src/wps/agent/object/RequestHandler.cpp,68):   <Attribute name='updateAddrBook' type='string'>
    06/17/2008 10.12.25.256000 [4200] (../../../../src/wps/agent/object/RequestHandler.cpp,68):   </Attribute>
    06/17/2008 10.12.25.271000 [4200] (../../../../src/wps/agent/object/RequestHandler.cpp,68):   <Attribute name='useInputForm' type='boolean' value='true'/>
    06/17/2008 10.12.25.271000 [4200] (../../../../src/wps/agent/object/RequestHandler.cpp,68): </Attributes>
    06/17/2008 10.12.25.271000 [4200] (../../../../src/wps/agent/object/RequestHandler.cpp,68):   </Resource>
    06/17/2008 10.12.25.271000 [4200] (../../../../src/wps/agent/object/RequestHandler.cpp,68):     <obj>
    06/17/2008 10.12.25.271000 [4200] (../../../../src/wps/agent/object/RequestHandler.cpp,68): <Attributes>
    06/17/2008 10.12.25.271000 [4200] (../../../../src/wps/agent/object/RequestHandler.cpp,68):   <Attribute name='AltFullName' type='string'>
    06/17/2008 10.12.25.271000 [4200] (../../../../src/wps/agent/object/RequestHandler.cpp,68):   </Attribute>
    06/17/2008 10.12.25.271000 [4200] (../../../../src/wps/agent/object/RequestHandler.cpp,68):   <Attribute name='AltFullNameLanguage' type='string'>
    06/17/2008 10.12.25.271000 [4200] (../../../../src/wps/agent/object/RequestHandler.cpp,68):   </Attribute>
    06/17/2008 10.12.25.271000 [4200] (../../../../src/wps/agent/object/RequestHandler.cpp,68):   <Attribute name='AlternateOrgUnit' type='string'>
    06/17/2008 10.12.25.271000 [4200] (../../../../src/wps/agent/object/RequestHandler.cpp,68):   </Attribute>
    06/17/2008 10.12.25.271000 [4200] (../../../../src/wps/agent/object/RequestHandler.cpp,68):   <Attribute name='CertifierOrgHierarchy' type='string'>
    06/17/2008 10.12.25.271000 [4200] (../../../../src/wps/agent/object/RequestHandler.cpp,68):   </Attribute>
    06/17/2008 10.12.25.271000 [4200] (../../../../src/wps/agent/object/RequestHandler.cpp,68):   <Attribute name='CheckPassword' type='string'>
    06/17/2008 10.12.25.271000 [4200] (../../../../src/wps/agent/object/RequestHandler.cpp,68):   </Attribute>
    06/17/2008 10.12.25.271000 [4200] (../../../../src/wps/agent/object/RequestHandler.cpp,68):   <Attribute name='CompanyName' type='string'>
    06/17/2008 10.12.25.271000 [4200] (../../../../src/wps/agent/object/RequestHandler.cpp,68):   </Attribute>
    06/17/2008 10.12.25.271000 [4200] (../../../../src/wps/agent/object/RequestHandler.cpp,68):   <Attribute name='Department' type='string'>
    06/17/2008 10.12.25.271000 [4200] (../../../../src/wps/agent/object/RequestHandler.cpp,68):   </Attribute>
    06/17/2008 10.12.25.271000 [4200] (../../../../src/wps/agent/object/RequestHandler.cpp,68):   <Attribute name='DisplayName' type='string'>
    06/17/2008 10.12.25.271000 [4200] (../../../../src/wps/agent/object/RequestHandler.cpp,68):   </Attribute>
    06/17/2008 10.12.25.271000 [4200] (../../../../src/wps/agent/object/RequestHandler.cpp,68):   <Attribute name='HTTPPassword' type='encrypted'>
    06/17/2008 10.12.25.271000 [4200] (../../../../src/wps/agent/object/RequestHandler.cpp,68):   </Attribute>
    06/17/2008 10.12.25.271000 [4200] (../../../../src/wps/agent/object/RequestHandler.cpp,68):   <Attribute name='InternetAddress' type='string'>
    06/17/2008 10.12.25.271000 [4200] (../../../../src/wps/agent/object/RequestHandler.cpp,68):   </Attribute>
    06/17/2008 10.12.25.271000 [4200] (../../../../src/wps/agent/object/RequestHandler.cpp,68):   <Attribute name='Location' type='string'>
    06/17/2008 10.12.25.271000 [4200] (../../../../src/wps/agent/object/RequestHandler.cpp,68):   </Attribute>
    06/17/2008 10.12.25.271000 [4200] (../../../../src/wps/agent/object/RequestHandler.cpp,68):   <Attribute name='MailAddress' type='string'>
    06/17/2008 10.12.25.271000 [4200] (../../../../src/wps/agent/object/RequestHandler.cpp,68):   </Attribute>
    06/17/2008 10.12.25.271000 [4200] (../../../../src/wps/agent/object/RequestHandler.cpp,68):   <Attribute name='MailDomain' type='string'>
    06/17/2008 10.12.25.271000 [4200] (../../../../src/wps/agent/object/RequestHandler.cpp,68):   </Attribute>
    06/17/2008 10.12.25.271000 [4200] (../../../../src/wps/agent/object/RequestHandler.cpp,68):   <Attribute name='MailFile' type='string'>
    06/17/2008 10.12.25.271000 [4200] (../../../../src/wps/agent/object/RequestHandler.cpp,68):   </Attribute>
    06/17/2008 10.12.25.271000 [4200] (../../../../src/wps/agent/object/RequestHandler.cpp,68):   <Attribute name='MailServer' type='string'>
    06/17/2008 10.12.25.271000 [4200] (../../../../src/wps/agent/object/RequestHandler.cpp,68):   </Attribute>
    06/17/2008 10.12.25.271000 [4200] (../../../../src/wps/agent/object/RequestHandler.cpp,68):   <Attribute name='MailTemplate' type='string'>
    06/17/2008 10.12.25.271000 [4200] (../../../../src/wps/agent/object/RequestHandler.cpp,68):   </Attribute>
    06/17/2008 10.12.25.271000 [4200] (../../../../src/wps/agent/object/RequestHandler.cpp,68):   <Attribute name='Manager' type='string'>
    06/17/2008 10.12.25.271000 [4200] (../../../../src/wps/agent/object/RequestHandler.cpp,68):   </Attribute>
    06/17/2008 10.12.25.271000 [4200] (../../../../src/wps/agent/object/RequestHandler.cpp,68):   <Attribute name='PasswordChangeInterval' type='int'>
    06/17/2008 10.12.25.271000 [4200] (../../../../src/wps/agent/object/RequestHandler.cpp,68):   </Attribute>
    06/17/2008 10.12.25.271000 [4200] (../../../../src/wps/agent/object/RequestHandler.cpp,68):   <Attribute name='PasswordGracePeriod' type='int'>
    06/17/2008 10.12.25.271000 [4200] (../../../../src/wps/agent/object/RequestHandler.cpp,68):   </Attribute>
    06/17/2008 10.12.25.271000 [4200] (../../../../src/wps/agent/object/RequestHandler.cpp,68):   <Attribute name='Policy' type='string'>
    06/17/2008 10.12.25.271000 [4200] (../../../../src/wps/agent/object/RequestHandler.cpp,68):   </Attribute>
    06/17/2008 10.12.25.271000 [4200] (../../../../src/wps/agent/object/RequestHandler.cpp,68):   <Attribute name='Recertify' type='boolean'>
    06/17/2008 10.12.25.271000 [4200] (../../../../src/wps/agent/object/RequestHandler.cpp,68):   </Attribute>
    06/17/2008 10.12.25.271000 [4200] (../../../../src/wps/agent/object/RequestHandler.cpp,68):   <Attribute name='SametimeServer' type='string'>
    06/17/2008 10.12.25.271000 [4200] (../../../../src/wps/agent/object/RequestHandler.cpp,68):   </Attribute>
    06/17/2008 10.12.25.271000 [4200] (../../../../src/wps/agent/object/RequestHandler.cpp,68):   <Attribute name='ShortName' type='string'>
    06/17/2008 10.12.25.271000 [4200] (../../../../src/wps/agent/object/RequestHandler.cpp,68):   </Attribute>
    06/17/2008 10.12.25.271000 [4200] (../../../../src/wps/agent/object/RequestHandler.cpp,68):   <Attribute name='WS_USER_PASSWORD' type='encrypted'>
    06/17/2008 10.12.25.271000 [4200] (../../../../src/wps/agent/object/RequestHandler.cpp,68):   </Attribute>
    06/17/2008 10.12.25.271000 [4200] (../../../../src/wps/agent/object/RequestHandler.cpp,68):   <Attribute name='certifierIDFile' type='string'>
    06/17/2008 10.12.25.271000 [4200] (../../../../src/wps/agent/object/RequestHandler.cpp,68):   </Attribute>
    06/17/2008 10.12.25.271000 [4200] (../../../../src/wps/agent/object/RequestHandler.cpp,68):   <Attribute name='credentials' type='encrypted'>
    06/17/2008 10.12.25.271000 [4200] (../../../../src/wps/agent/object/RequestHandler.cpp,68):   </Attribute>
    06/17/2008 10.12.25.271000 [4200] (../../../../src/wps/agent/object/RequestHandler.cpp,68):   <Attribute name='defaultPasswordExp' type='string'>
    06/17/2008 10.12.25.271000 [4200] (../../../../src/wps/agent/object/RequestHandler.cpp,68):   </Attribute>
    06/17/2008 10.12.25.271000 [4200] (../../../../src/wps/agent/object/RequestHandler.cpp,68):   <Attribute name='deleteMailFileOption' type='string'>
    06/17/2008 10.12.25.271000 [4200] (../../../../src/wps/agent/object/RequestHandler.cpp,68):   </Attribute>
    06/17/2008 10.12.25.271000 [4200] (../../../../src/wps/agent/object/RequestHandler.cpp,68):   <Attribute name='firstname' type='string'>
    06/17/2008 10.12.25.271000 [4200] (../../../../src/wps/agent/object/RequestHandler.cpp,68):   </Attribute>
    06/17/2008 10.12.25.271000 [4200] (../../../../src/wps/agent/object/RequestHandler.cpp,68):   <Attribute name='idFile' type='string'>
    06/17/2008 10.12.25.271000 [4200] (../../../../src/wps/agent/object/RequestHandler.cpp,68):   </Attribute>
    06/17/2008 10.12.25.271000 [4200] (../../../../src/wps/agent/object/RequestHandler.cpp,68):   <Attribute name='lastModified' type='string'>
    06/17/2008 10.12.25.271000 [4200] (../../../../src/wps/agent/object/RequestHandler.cpp,68):   </Attribute>
    06/17/2008 10.12.25.271000 [4200] (../../../../src/wps/agent/object/RequestHandler.cpp,68):   <Attribute name='lastname' type='string'>
    06/17/2008 10.12.25.271000 [4200] (../../../../src/wps/agent/object/RequestHandler.cpp,68):   </Attribute>
    06/17/2008 10.12.25.271000 [4200] (../../../../src/wps/agent/object/RequestHandler.cpp,68):   <Attribute name='objectGUID' type='string'>
    06/17/2008 10.12.25.271000 [4200] (../../../../src/wps/agent/object/RequestHandler.cpp,68):   </Attribute>
    06/17/2008 10.12.25.271000 [4200] (../../../../src/wps/agent/object/RequestHandler.cpp,68):   <Attribute name='orgUnit' type='string'>
    06/17/2008 10.12.25.271000 [4200] (../../../../src/wps/agent/object/RequestHandler.cpp,68):   </Attribute>
    06/17/2008 10.12.25.271000 [4200] (../../../../src/wps/agent/object/RequestHandler.cpp,68):   <Attribute name='password' type='encrypted'>
    06/17/2008 10.12.25.271000 [4200] (../../../../src/wps/agent/object/RequestHandler.cpp,68):   </Attribute>
    06/17/2008 10.12.25.271000 [4200] (../../../../src/wps/agent/object/RequestHandler.cpp,68): </Attributes>
    06/17/2008 10.12.25.271000 [4200] (../../../../src/wps/agent/object/RequestHandler.cpp,68):     </obj>
    06/17/2008 10.12.25.271000 [4200] (../../../../src/wps/agent/object/RequestHandler.cpp,68): </Request>
    06/17/2008 10.12.25.287000 [4200] (../../../../src/wps/agent/object/RequestHandler.cpp,636):   command='get info'
    06/17/2008 10.12.25.287000 [4200] (../../../../src/wps/agent/object/RequestHandler.cpp,467): Enter: ProcessCommand
    06/17/2008 10.12.25.287000 [4200] (../../../../src/wps/agent/object/RequestHandler.cpp,76): Enter: sendBuffer
    06/17/2008 10.12.25.287000 [4200] (../../../../src/wps/agent/object/RequestHandler.cpp,90): Sending buffer:
    06/17/2008 10.12.25.287000 [4200] (../../../../src/wps/agent/object/RequestHandler.cpp,68): <?xml version='1.0' encoding='UTF-16'?>
    06/17/2008 10.12.25.287000 [4200] (../../../../src/wps/agent/object/RequestHandler.cpp,68): <Response>
    06/17/2008 10.12.25.287000 [4200] (../../../../src/wps/agent/object/RequestHandler.cpp,68):   <Result status='ok'/>
    06/17/2008 10.12.25.287000 [4200] (../../../                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        

  • Servlet to Remote Servlet File Transfer

    Hey there, this is my very first post :)
    I've been surfing the forum for a solution to my problem but have had no luck so far.
    The problem is:
    I want a client to upload a file to a servlet. (easy part)
    And then i want to that servlet to upload that file to another servlet on a different server. (hard part)
    Why?
    Because we have many backup servers and test servers that have to be the same i.e contain the same images,html pages,files etc.
    And we want an easier why to synchronise them other than doing it via copy paste methods for each server... very time consuming.
    Just wondering if anyone has tried to do this?
    and
    If anyone knows of a way to transfer a file from a servlet to another servlet on a different server?
    or
    If you know an easier way to do this then servlet to servlet file transfer, your insight would be much appreciated.
    Code examples would be very helpful or relevant links.
    Thanks for you time
    dudz_josh

    use HttpUrlConnection in 1 servlet to get a connection to
    the 2 servlet.
    then 1 get OutPutStream and write file.
    in 2 get InputStream and read file
    or
    add the file object/stream to the request and forward it
    too the other servlet.
    the file is just a java object

  • XML file transfer between ASP & JSP

    Hi !
    Actually the requirement is to provide an interface between an ASP application and a JSP application.
    What i could understand is that commonly used way is transfering XML files using SOAP.
    But, i have no idea on SOAP and need few clarifications.
    1. What are the roles of SOAP, WSDL and UDDI ? and does SOAP needs WSDL or UDDI and web services?
    2. Do i need to use web services just to transfer XML file from ASP to JSP ?
    3. is HttpURLConnection also used in this approach ?
    actually what my purpose is to know that to implement SOAP for XML file transfer what all i need to do ?

    Hi !
    Actually the requirement is to provide an interface
    between an ASP application and a JSP application.
    What i could understand is that commonly used way is
    transfering XML files using SOAP.
    But, i have no idea on SOAP and need few
    clarifications.
    1. What are the roles of SOAP, WSDL and UDDI ? and
    does SOAP needs WSDL or UDDI and web services?SOAP is a transfer protocol for exchanging structured and typed information : go to the w3 web site to understand better.
    WSDL are files to describe a web service : you will find inside an access point and signatures from your methods; if you want it's a little bit like an interface in java but with more informations. You don't need wsdl for soap.
    Last uddi is a repository for web services. You need to publish your service inside a Uddi registry and it's associated access point and tmodel (go to oasis web site for more informations). It's a little bit like yellow pages. You need to use Uddi only if you want to discover serviecs dynamically.
    Usually you use SOAP by calling a web services, as a web service is over the SOAP layer. The advantages of using SOAP is that it describes your data too. In fact if you have complex types to transfer between your two applications the partners have to know how to understand these data.
    2. Do i need to use web services just to transfer XML
    file from ASP to JSP ?Well, what do you want to transfer exactly between your applications. If this is just a text stream you can simply send your file by opening a socket. But if you want to work with your informations, to use them (that means you have to build the corresponding object) you could use web services as your informations are explicitely defined : what do you want to do exactly ? Last but not least if you have already XML file you can get your info directly and parse ir or ????
    3. is HttpURLConnection also used in this approach ?Yes you could call a servlet or something like that to transmit your informations
    actually what my purpose is to know that to implement
    SOAP for XML file transfer what all i need to do ?you have to be more precise with what you want to do with the info; simply display it or ???
    PA
    http://www.doffoel.com

Maybe you are looking for

  • IPod doesn't show up in "computer" but shows up in iTunes

    I recently got a new computer for university, and it (unfortunately) has Vista. My iPod is currently synced to another computer in the house that is running XP. I have followed Apple's instructions on how to use my iPod as a storage device to transfe

  • Alert Message displayed according to WebService response

    I've created and used a Web Service in my VC application which simply send a mail. This Web Service returns a boolean response which indicates if the mail has been correctly sent. I want to inform the user accordingly with an alert message. If the re

  • 'Save for Web & Devices' selects multiple artboards - AI CS4

    I have a simple, two-artboard document (like the old FreeHand days!) but, when I go to 'Save for Web & Devices' to optimise it, the graphic from both pages appear as one optimised image. How can I get it to select only the artboard I am viewing? Many

  • Error in request oracle

    Hello I have a oracle database, and I have using netbeans to do a request to DB my sintax is the following: import java.sql.*; import java.sql.Connection; import java.sql.DriverManager; import java.sql.SQLException; public class Main static String us

  • Lightroom not recognizing files

    I have files in a folder on my desktop.  I have tried synchronizing the folder, but LR still does not show them.  I can see them in Finder.  Also, when I try to import them from the folder, I can see them, but they are greyed out.  I have tried exiti