Accessing Large Files from a WebService

Hi!
I have developed a Repository Manager in Java for SAP NW04.
I have also created a WebServices CLIENT in the WebService Perspective by providing a WSDL file.
Then I built an EAR file and deployed it with SDM.
The Repository Manager then uses the web service client to access FILES exposed by the WebService.
It works but ...
When I tried to access a files of 14 MB:s and larger from the web service, the J2EE Engine goes down,
and restarts.
What should I do?
There is a setting in Visual Admin called "HTTP Tunneling" with the following setting:
MaxInputbufferSize = 10 485 760
Should I alter this setting, or is there a way to chunk up these files in some way?
Any ideas?
Is this the proper forum for my question?
Brgrds
Peter

see sample below:
package sample;
import java.util.jar.*;
import java.util.*;
import java.util.zip.*;
import java.io.*;
public class TestJar {
     public static void main(String args[]) throws Exception {
          JarFile jarFile = new JarFile(args[0]);
          for (Enumeration e=jarFile.entries(); e.hasMoreElements(); ) {
               ZipEntry entry = (ZipEntry)e.nextElement();
               if (entry.getName().equals("Test.java")) {
                    BufferedInputStream buf = new BufferedInputStream(jarFile.getInputStream(entry));
                    BufferedOutputStream out = new BufferedOutputStream(new FileOutputStream("gone.java"));
                    int ch = 0;
                    while ((ch = buf.read()) != -1) {
                         out.write(ch);
                    out.flush();
                    out.close();
                    buf.close();
}

Similar Messages

  • The circuit of my macbook is dead yet the hard drive is fine.  I need to access a file from the hard drive, how can i do this? is there a cable i can connect to another mac that will let me transfer the file?

    The circuit of my macbook is dead yet the hard drive is fine.  I need to access a file from the hard drive, how can i do this? The mac turns on the screen freezes as bright blue.  Is there a cable i can connect to another mac that will let me transfer the file?

    There is another option if the Macbook will start up in Target Disk Mode.
    Restart the computer while holding down the T key. If you see the firewire symbol moving around on the screen you can connect this one to another one in TDM. You will need a suitable cable to connect the two Macs.
    http://support.apple.com/kb/ht1661
    Firewire symbol:

  • If you delete a large file from the mac hard drive does it also remove it from time machine on external hard drive

    if you delete a large file from the mac hard drive does it also delete it from time machine on the external hard drive ?

    As the others say, no, the backup copy won't be deleted immediately, but it will eventually.
    If you want to delete all backups of a selected item, such as for space or security reasons, see #12 in Time Machine - Frequently Asked Questions.

  • How do I move large files from a Windows computer to my MacBook Pro? There are a lot of photos (tiffs

    How do I move large files from a Windows computer to my MacBook Pro? There are a lot of photos (tiffs, jpgs, some photoshopped files), iTunes library, word docs. Is there a particular type of external hard drive that can be used or am I limited to copying stuff onto z-drive and moving that way?

    If both computers are on the same network, you can share the files from the Windows host using SMB and mount the share on the Mac. Otherwise, the Mac should be able to read (not necessarily write) any storage device formatted in Windows.

  • I cannot access PDF files from my current BT Yahoo...

    Since downloading an updated version of Yahoo Mail a few months ago, I cannot now access PDF files from old e-mail messages which are located in the "Folders" section on the mail screen.  When trying to open them the message "Scanning Attachments" is displayed.  After about 60 seconds a Message is displayed "An Error Occurred whilst Downloading". This never used to happen with the previous version of Yahoo Mail.  I have tried to save the attachments to my laptop and the message reads "Scanning Attachments" which would signify that they had been saved due to no subsequent Error Message being displayed.  I have trawled all through my laptop and cannot find any of the alleged saved PDF files.
    I am an old chap and not very computer literate and am hoping you professionals can come up with an answer and fix to this problem, which I believe, was not of my own making.
    Whether this has any bearing on the matter, I changed about four months ago from BT Total BB to Infinity Opt1 which includes McAfee security built in as standard.  I have also, as an on-screen reminder, recently updated my Adobe Reader programme to version 11.  I cannot think of any other changes, apart from the new version of Yahoo Mail, that has made this problem come to light as it has. 
    Your help and assistance in this matter would be most welcome and appreciated.
    Thanks You
    Ian.

    Your problem is typical of the many problems reported with McAfee, and that may well be the cause. McAfee is free with Infinity but isn't built-in in the sense that you have to take it. Is your previous anti-virus still installed? If so, you should get rid of one of them anyway, and the usual advice here would be to ditch McAfee.
    Even if McAfee is the your only AV I would replace it. If your previous AV is no longer available there are plenty of free options, and Microsoft Security Essentials (MSE) is as good a choice as any. There's advice on uninstalling McAfee here.
    You can click the white star next to this message if you think it was helpful.

  • I have over 200 hours of HD video on 5 different TB Thunderbolt GRaid hard drives. I need to reorganize my projects, moving large files from one drive to another. Advice?

    I have over 200 hours of HD video on 5 different TB Thunderbolt GRaid hard drives. I need to reorganize my projects, moving large files from one drive to another. Advice?

    Do some testing to get your method working right with some less than important footage.
    Copy/paste files where you want then.
    Use the FCE Reconnect feature to tell FCE where the newly copied files reside.
    Make sure the new location and files are working as expected with your Projects.
    Delete the original files if no longer required.
    Al

  • I have LR2 but not able to access nef files from my Nikon D800

    Unable to access nef files from my Nikon D800.

    You need Lightroom 4.1 or later (the current version is 5.7.1 but will not run on Windows Vista or XP and certain Mac operating systems, if that's an issue)
    You could also download the FREE Adobe DNG Converter version 7.1 or later and convert your RAWs to DNG and import those into your Lightroom 2.

  • How can I access video file from sd card on ipad2?

    How can I access video file from sd card on ipad2?

    Your iPad 2 will see the video if:
    It's in a DCIM folder on the top level of the card (which is how most cameras do it)
    It's name is 8 characters, no more, no less (CKDI9483 for example)
    It's a format that the iPad will play
    I've made mp4's of things, folderized them right and named them 'right' and can transfer them to my iPad, so you can use a computer to make the files conform to what the iPad will see.

  • Access XML files from HTTP

    Hi,
    I need access XML file from HTTP. Server need parameters in the URL to generate XML files. For example, http://fileserver/xmlfile?orderid=123&custid=321.
    I created a XML Data Server in ODI 11g. The JDBC Url should be jdbc:snps:xml?f=<filename>&s=<schema>&d=<DTD>.
    However, it reports error when replaced the <filename> with "http://fileserver/xmlfile?orderid=123&custid=321".
    I found it's caused by ampersand of the HTTP Url. I guess ODI treat custid=321 as JDBC parameter rather than HTTP parameter.
    How to fill the JDBC Url in this situation?
    Thanks,

    i solved my problem by using the Socket object and controlling my file access by writing requests to the outputstream

  • If i create a partition for Windows 7, and boot up in Windows using Boot Camp, can I still access the files from the Mac partition (Photo's Music etc.)

    If i create a partition for Windows 7, and boot up in Windows using Boot Camp, can I still access the files from the Mac partition (Photo's Music etc.)

    JDFitch wrote:
    Ok Great,
    Will installing Boot Camp drivers allow me to both read and write to the OS X Volume from windows?
    This is important as if it will it means i can make the windows partition a lot smaller and keep all my files on the OS X partition which would be preferable.
    Jon
    No, OSX will be read only (from Windows) and vice versa. (you can install 3rd party utilities on either or both partitions, to make read/write possible)

  • Error code 8084 when copying large files from VNX servers

    Hi,
    We are experiencing problems when attempting to copy large files from our central VNX servers (EMC) using the connection format of smb://<host>/.  With Mavericks this will be SMB2, presumably.  Anything over a few MB in size fails with the error:
    The operation can’t be completed because an unexpected error occurred (error code -8084)
    Looking in the Console logs we see the following:
    kernel[0]: smb2_smb_read_write_fill: len got reduced, must be running low on credits
    If we attempt this on OS X Mountain Lion or below we have no problems.
    If, with Mavericks, we connect using the format cifs://<host>/ then file transfers work.
    Has anyone come across this before?  Thinking I should also post a bug...
    Cheers,
    Ian
    IT Infrastructure, Open University, UK

    Not helping but others are having the same problem...
    http://discussions.apple.com/thread.jspa?messageID=2564624

  • How to access PC files from iPad

    How can I access PC files from my iPad?

    Depends on what kind of files. You have to have an app on your ipad that can open those files and share them.
    You can download the icloud control panel and use that on your pc.
    http://www.apple.com/icloud/setup/
    itunes also supports file sharing:
    To transfer files from your computer to your iPod touch, iPhone, or iPad:
    Connect your iPod touch, iPhone, or iPad to your computer.
    In iTunes, select your device (below Devices), and click the Apps button.
    Below File Sharing, select an app from the list, and click Add.
    In the window that appears, select a file to transfer, and click Choose.
    The file is transferred to your device, and can be opened in the app you selected in step 3.

  • Clients Time-Out When Retrieving Large Files  From Our PureFTPd Server

    Hi, not sure if this is the right place to get help, but didn't know where else to look. And let me begin by saying I'm not a server admin by trade, but that is the role I've fell into at a design firm. So please bear with my lack of knowledge on some of the more technical details.
    We have OS X Server 10.4.11 running here with PureFTPd installed and managed through PureFTPd Manager application. It has been fairly reliable for us for the last 2-3 years once the initial setup craziness was complete.
    But lately we've had 2 clients say that they've had difficulty downloading larger files from us. They get a time-out or error message on their end. They are most likely using Windows Explorer on a PC to do the transfer, which has always been the easiest method for our clients.
    One client had no problem getting files up to 14MB or so. But when trying to download a certain file that was about 80MB, it would not work. I tried different things here, and she tried multiple times, but no luck. I tried zipping the file to see if that would help, but no luck.
    Then another client had a similar problem today with a file that was only 25MB.
    We don't send large files very often, so I'm not sure if this is a recent thing or not. It seems like we've received some large files recently though.
    In PureFTPd manager, I usually leave all of the fields in the Transfers tab empty for all users. I didn't see anywhere else that would seem to impart a file-size limitation.
    • Any ideas at all?
    • If not, any other forums that I could search for help on? It looks like the developers site for PureFTPd Manager hasn't been updated in a year or two.
    Thanks in advance!

    Some years back I had trouble at a customer that had a ADSL using PPPoE connection to their ISP.
    Their router/modem (Speedtouch) couldn't cope with the LAN MTU when they sent files out so I had to lower it on their computers (running Panther?) ethernet interface from 1500 to 1492 (PPPoE overhead was 8 byte). The communication used to stall at about 25MB but the MTU change helped resolving that.
    My guess is that the router had to fragment (split in two) all outgoing packets it recived from the LAN computers and it just couldn't cope after a while.
    In your case it can be other network related things too like maybe needing traffic prioritizing, if receiving a lot of traffic from Internet and trying to send at the same time.

  • Transferring large files from my mac to pc

    Hi guys, i'm trying to transfer a large file from my mac to my pc. Its over 7GB and my mac doesnt have a DL dvd burner so that's out of the question. I've tried transferring it over the network however the eta is 2 days which is a little too long. I've tried putting the file on my external HD but when its formatted into mac os extended my laptop does not recognise it and when the drive is formated in ms dos (fat) i am unable to put the file on to the drive (error code 0)
    I've run out of ideas what to do so was hoping someone on here could help
    Thanks

    Hi and welcome to Discussions,
    have a look at this little Windows program http://hem.bredband.net/catacombae/hfsx.html
    It enables Windows to read from HFS-formatted (OSX) harddisks.
    Might be the easiest and cheapest solution, as others are not free.
    MacDrive would be another option, but is not free (but has more features).
    Regards
    Stefan

  • How can I access my files from iCloud drive

    How can I access my files from iCloud drive from my iPhone? Is there someway to access the data like other cloud app as Google Drive nad Dropbox.

    You access them with the App responsible for the type of file.
    Read through this: iCloud Drive FAQ - Apple Support

Maybe you are looking for

  • I downloaded firefox in Finland and got a damn Finnish language version. How do I get Firefox in English so I can use it?

    Although I am a Finn I'm used to work in English. I hate it when tools have Finnish versions. I want to use English versions. So there must be a way to get an English version of Firefox even I happen to live in Finland. How do I get an English versio

  • [SOLVED] Partition "outside of disk"

    I got a new hard drive, with the intention of having an Arch Linux/Windows 7 dualboot. Somewhere along the line when I made all the partitions before installing anything, I screwed up the partition table, and now when I try to use cfdisk or parted it

  • Changing billing country

    I recently changed country associated with my itunes account. My music has stayed on my iphone but I am outraged to discover that when moving country and you change your bank details that your previous movie purchases seem to disappear. Is this corre

  • Reference Cursors

    I have a function that selects data from a table (Oracle 8i) into a reference cursor and returns the reference cursor. After I execute this function for the first time using SQL+, I notice that the number of open cursors has increaed. The number of o

  • Illustrator files will open on originating computer, but not on networked computers

    I have a small creative dept who uses Illustrator CS5.1 v15.1.0. Each system has its own registered version of software. Computer one will create a file, save it and can open it fine. However, computer 2 and computer 3 can not open the file. We can s