Is it possible to change file name policy in the JRE cache folder?

We are getting calls from our clients complaining of slowdowns in loading our Java applet. The reason is a virusscanner. If a virusscanner is in the middle, it can drastically slow down the download process, and therefore cause some high delay before the user can work on the our product as expected.
On this csutomer's side, it may take up to 10 min (the first time it is ran) instead of 1 min. JRE 1.6 is in use.
They dont want to exclude from antivirus scan all files from Sun\Java\Deployment\cache folder.
Question:
Is it possible to change file name policy in the JRE cache to make it less unique?
Thanks,
-Dima

dgomel wrote:
We are getting calls from our clients complaining of slowdowns in loading our Java applet. The reason is a virusscanner. If a virusscanner is in the middle, it can drastically slow down the download process, and therefore cause some high delay before the user can work on the our product as expected.
On this csutomer's side, it may take up to 10 min (the first time it is ran) instead of 1 min. JRE 1.6 is in use.
They dont want to exclude from antivirus scan all files from Sun\Java\Deployment\cache folder.
Question:
Is it possible to change file name policy in the JRE cache to make it less unique?
I suggest you solve the real problem - big files.
There are two scenarios
1. Initial download
2. Updates.
The first takes as long as it takes. No way around it.
The second means that you can't use one jar. Otherwise every single update requires downloading the entire application every time. Multiple jars means only the one that changed is downloaded.

Similar Messages

  • Need to re-burn a DVD, but some source files are missing. But Media Cache folder has them all.

    hi all. I have PE3 and the issue is this: I needed a DVD of a project I'd completed a year ago, and I didn't have an old copy of the DVD. So I decided to re-burn it. But on opening the project, it seems some of the source files have been misplaced on my computer, so it says 'media offline'.
    I figured I'd still be able to burn it though, because the Media Cache folder contained all the required files...
    However it starts to burn the DVD and then stops at 49% saying transcoding error.
    Q1: can you still burn a DVD if it says 'media offline' but you know all the source files are present in the Media Cache folder?
    Q2: what's the transcoding error?
    thx

    The Media Cache folder contains files that are only of use to PE during internal editing and will NOT solve your lost video problem.
    Once a Project is completed, that have no outside value.
    The contents are CFA and PEK files, which is the Conformed Audio and Waveform Display, respectively (no video here to my knowledge).
    And I'm not aware of any way to make them useful (outside of PE).
    If you happen to have your Project and source video/audio files intact, and then delete the contents of the Media Cache folder, upon re-opening the Project, PE will regenerate the CFA and PEK files. Again this is only if you have the Project and all the source files (Assets)...

  • Change file name with oreilly servlet

    I am using oreilly servlet package and I want to change the file name to the file I am uploading, is this possible ?
    How ?
    Thanks.
    here I post the servlet code:
    package com.reducativa.sitio.servlets;
    * DemoParserUploadServlet.java
    * Example servlet to handle file uploads using MultipartParser for
    * decoding the incoming multipart/form-data stream
    import javax.servlet.*;
    import javax.servlet.http.*;
    import java.io.*;
    import com.oreilly.servlet.multipart.*;
    public class DemoParserUploadServlet extends HttpServlet {
    public void doPost(HttpServletRequest request, HttpServletResponse response)
    throws ServletException, IOException {
    PrintWriter out = response.getWriter();
    response.setContentType("text/plain");
    out.println("Demo Parser Upload Servlet");
    File dir = new File("f:/");
    if (! dir.isDirectory()) {
    throw new ServletException("Supplied uploadDir " + "f:/ " +
    " is invalid");
    try {
    MultipartParser mp = new MultipartParser(request, 10*1024*1024); // 10MB
    Part part;
    while ((part = mp.readNextPart()) != null) {
    String name = part.getName();
    if (part.isParam()) {
    // it's a parameter part
    ParamPart paramPart = (ParamPart) part;
    String value = paramPart.getStringValue();
    out.println("param; name=" + name + ", value=" + value);
    else if (part.isFile()) {
    // it's a file part
    FilePart filePart = (FilePart) part;
    String fileName = filePart.getFileName();
    if (fileName != null) {
    // the part actually contained a file
    long size = filePart.writeTo(dir);
    out.println("file; name=" + name + "; filename=" + fileName +
    ", filePath=" + filePart.getFilePath() +
    ", content type=" + filePart.getContentType() +
    ", size=" + size);
    else {
    // the field did not contain a file
    out.println("file; name=" + name + "; EMPTY");
    out.flush();
    catch (IOException lEx) {
    this.getServletContext().log("error reading or saving file");
    }

    Hi there,
    I am facing the same problem that you have stated in your Feb 26, 2002 10:28 AM message regarding "change file name with oreilly servlet", I would like to change the file name to include a unique identifier upon upload, did you ever find a solution to your problem?
    Thanks!
    Todd
    [email protected]

  • Changing file name and directory structure for use outside of iPhoto

    Hi,
    I was wondering if its possible to get iPhoto to name the files from my library to reflect the names that I've given the files in iPhoto. I'm thinking along the lines of iTunes, where its possible to chose in the preferences how the files are named, and there is some logical directory structure, such as "Artist/Album/01 - Track 1.mp3". These file names are updated to reflect any changes made in iTunes.
    I've heard the argument that I shouldn't ever want to do anything with the files themselves because iPhoto can do everything I would ever want to do, but I want to organize the files so that not all of my organizational work is lost if I decide to stop using iPhoto and transition to a different system. Any suggestions would be appreciated.
    Thanks,
    Adrian

    Adrian
    No it's not possible.
    You can rename the files before bringing them into iPhoto, you can rename them with the titles on Export (Use the File -> Export command, it gives you the option to use the title and filename) but when it's inside iPhoto you cannot rename the files.
    However, all is not entirely lost. Using Film Rolls (View -> Film Rolls) you can move pics between rolls, name rolls, create rolls and so on, as long as you do this in the iPhoto Window, and these changes will be reflected in the iPhoto Library Folder.
    If at some point you decide to chuck iPhoto then (if the new app won't read iPhoto database files) you can simply export each album you've created to a Folder (using the File -> Export command as I suggest above), this, along with exporting slideshows will preserve your organisational efforts.
    The iTunes database has a rather simple job to do: track a file and it's assorted metadata. iPhoto, on the other hand, tracks a file and it's assorted metadata, plus a Modified version, plus a thumbnail. If you consider what happens when you edit a pic, for instance - Copy Original, perform edit, save modified version, remove Original Thumbnail and then create new one - you can see it's a rather more complex job.
    Finally, the standard warning: It is strongly advised that you do not move, change or in anyway alter things in the iPhoto Library Folder as this can cause the application to fail and even lead to data loss. Any changes you make must be made in the iPhoto Window.
    Need more info? by all means post again.
    Regards
    TD

  • Unable to change file name in Metadata pane - Lightroom 2

    I can't seem to activate the file name area in the Metadata pane in the Library module. It is solid gray and I cannot make the area active. With the correct folder active, the files seem to be normal in all visible ways, but the ability to change the name is not available. This is true in Grid or Loupe views. It is true with only one Active image. Any thoughts?

    Are the images on-line? Though that shouldn't make a difference. You should still get a non-grayed out filename and get a warning dialog, instead if you try to set a name change.
    Don

  • Changing file name schema

    In my receiver adapter the file name schema is intern_pay%var1%.dat and in variable substitution var1 is defined as message:message_id_hex.According to this i can see the file in the target directory as intern_payb0ba03a0904711dbbb9e00000e252c96.dat
    Can any one please help me out to change the format of the file in the target directory to intern_pay_yyyymmdd.dat
    Briefly, can any one please explain me how to change the file name schema in the receiver adapter.
    Many Thanks,
    Smith.

    Hi Paul,
    You can use DynamicConfiguration in a user defined function to achieve this.
    Go thro these threads, they will provide you the solution.
    Dynamic Directory and File Naming in Receiver Adapter
    In the above thread look at the post that answered the question. It will certainly help you.
    And go thro this also.
    Dynamic  File Name for Receiver File Adapter
    Regards,
    P.Venkat

  • How to change file names for .icc profiles in CS4?

    I recently downloaded several photo paper profiles to my Mac (OS 10.5.8) and installed them in the Library > ColorSync > Profiles folder. I edited the rather cryptic file names slightly so I could better determine which paper each profile was for.
    But when I check the drop-down list of profiles available in the Print dialogue for CS4, the file names are still the original ones that were initially downloaded. I rebooted my OS and relaunched PS, but no change.
    Are these .icc files being kept somewhere else on my System HD by PS? Is this not a good thing to even try doing, or can I just change the .icc  file names in the location that PS is accessing them? Thanks.

    Thanks Chris and c. Under Description I'm presented with three Names for the profile: ASCII, UniCode and Mac Script. ASCII and Mac Script are the same name for the profile, with nothing being in the UniCode Name box. Which do I change -- both?
    Am I going to screw things up in Photoshop if I change these names to something I can comprehend? Looks like I may just have to make a sticky-note list of the cryptic profile names with my own descriptive name as a reference. Thanks.

  • When bates numbering a .pdf in XI, how can I change the file name to include the bates number AND its name?  I know under file output, there is an option for either/or.  I want both.  Thank you.

    when bates numbering a .pdf in XI, how can I change the file name to include the bates number and the file name?  I know under "file output: it's either/or.  I need both.  Thanks!

    Long ago I wrote a little demo using the touch command. Check out the following thread:
    http://forums.ni.com/ni/board/message?board.id=170&message.id=25128#M25128
    LabVIEW Champion . Do more with less code and in less time .

  • Changing file Name

    Hello,
    I need to change the file name for images I am using in a website I am building with iWeb. The file names for the images cannot include any special characters. I have tried to change the file name as suggested through iPhoto Help. It seems to work but when I use the image in my site, the file information is still the old file name. I have also tried dragging the image to my desktop, then changing the file name through the file's information page, then importing it back into iPhoto and or just dragging it onto the web page I am creating and every time the file name reverts back to the original. Help please

    I painstakingly renamed a group of photo files in iPhoto9, changing titles on each of the 85 images to a numeric string (001 thru 085), to get them to display consecutively.
    Never noticed the Photos -> Batch Change command?
    EVERY time I burn to a disk, POOF!, each individual image reverts to its original file name (either the original name created in the camera, or the original names on images a colleague e-mailed).
    It doesn't "revert". A title is not a filename.
    What you need to do is select the pics in the iPhoto Window and the go File -> Export. IN the resulting dialogue look at the bottom and note the File Name option: from the dropdown select 'Use Title'
    That'll do what you want.
    Regards
    TD

  • Is it possible to change domain name

    OS: SuSE Linux Enterprise Server 8
    Oracle Version: 10.1.0.2.0
    I have Oracle Database installed on SLES 8.
    Is it possible to change domain name after database is running?
    (Not in live production yet)
    If yes where I need to make changes?
    Regards,
    D

    for the database, the dns domain is of no interrest. the parameter db_domain could be change dynamically, but it does not have to match the dns domain. In your sqlnet.ora, you can also define NAMES.DEFAULT_DOMAIN and the domain name in tnsnames.ora. But it does not have to match the dns domain.
    HTH
    Laurent

  • How do I reconnect media after changing file name?

    The original file name is 1001.WAV I changed it to Take1 . How do I relocate the files? I use Pluraleyes to sync all my files.
    Cheers, Greg

    Change it back.  NEVER change file names in the Finder level if the media is in an FCP project.  Change it BEFORE you import it into FCP...or change the name IN FCP.  What you did was bad bad wrong wrong. Expecially since you already did things like sync it up with pluraleyes.
    Change it back.  Then change the name in FCP.

  • ADE changes file names

    The book I downloaded has each chapter as a seperate .pdf, each with it's own unique filename. ADE has retitled every chapter (.pdf) to the name of the book. Now that all the chapters have the same name, I can't transfer them to my Kobo. How do I change titles or get ADE to stop changing file names?
    Thanks

    Dimitri,
              As usual, thanks for the simple but informative explanation!
              Jason
              "Dimitri Rakitine" <[email protected]> wrote in message news:[email protected]..
              > I think your theory is correct - java classes cannot contain '-' in
              > the name and 45 is ascii decimal for '-'. 46 is '.'.
              >
              > Jason Rosenberg <[email protected]> wrote:
              > > I have been working with using jspc.
              >
              > > I have noticed in a few cases it changes file names.
              >
              > > For instance, when I compile the file: '6-12adrworld_090700.jsp',
              > > it produces: '_6_45_12adrworld_090700.class'
              >
              > > Where does the '_45_' come from? I am trying to work with the
              > > theory that '-' becomes '_45_'....
              >
              > > Also, in another case, I noticed a '_46_' was inserted.
              >
              > > Any ideas? Is this documented anywhere?
              >
              > > Jason
              >
              >
              >
              > --
              > Dimitri
              

  • Is it possibly to change file attributes for files in the Program Files directory?

    Hi,
    I wonder if it is possible to change file time atributes for a file that is in the same folder as the exe file inside the Program File folder. I have the following code that gives System Error Code 5.
    SHGetFolderPath(0, CSIDL_PROGRAM_FILES, 0, SHGFP_TYPE_CURRENT, programpath);
    PathAppend (programpath, TEXT("Testprogram/gnsh.dat"));
    hFile = CreateFile(programpath, GENERIC_READ | GENERIC_WRITE, FILE_SHARE_READ | FILE_SHARE_WRITE, NULL, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, NULL);
    If this had worked, I would for instance have done like this
    GetSystemTime(&st); SystemTimeToFileTime(&st, &ft);
    timeresult = SetFileTime(hFile2, NULL, NULL, &ft);
    I am programming in C with WIndows Api.
    Thanks in advance for answer.
    Best regards

    Hi Vahmat,
    System error code 5 :
    ERROR_ACCESS_DENIED
    5 (0x5)
    Access is denied.
    I have tested your code on my side, it will get a error code 5 if you have no permission to access a file. Please try to run VS as a administrator and rebuild your project, after this , you code works well on my side.
    Best regards,
    Shu Hu
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Changing File Names in foreign languages

    I have a problem with some folder names and file names that have the text wrongly encoded. I need to find a way to re-encode them.
    Here is an illustration of the problem:
    This is a file name "ÄéÜöïñïé".
    Copy this into text edit and change to a greek font
    The folder name is changed correctly.
    Copy this name back to the original file and it reverts to the corrupted name.
    Is there a utility to specify finder fonts?
    email me offline and I'll send a greek font .
    Thanks for any help.
    David

    I have a problem with some folder names and file
    names that have the text wrongly encoded. I need to
    find a way to re-encode them.
    Here is an illustration of the problem:
    This is a file name "ÄéÜöïñïé".
    Copy this into text edit and change to a greek font
    The FILE name is changed correctly.
    Copy this name back to the original file and it
    reverts to the corrupted name.
    Is there a utility to specify finder fonts?
    No. Your file name is presumably in one of the pre-Unicode Greek encodings and thus you can only get it to display by forcing some app to use a non-Unicode Greek font. However OS X itself cannot use such fonts. Instead you must change the encoding of your file names to Unicode. One way, if you only have a few, is to retype the name using the Greek keyboard layout in system prefs/international/input menu.

  • Changing File Names in iPhoto

    I changed the name of several pictures in iphoto, and when I uploaded the pictures to a website to print, I was very frustrated that the file names were the same and I could not see which photos I had marked.  So I went to each picture and changed the actual file name.  Now those pictures do not show up in iphoto (although I can open them if I click on show original file), but what's worse, they won't upload to a website, which was my whole purpose in doing this in the first place.  I can't even click on the original file to upload.  So I guess I'm wondering how I can undo the file name changes and go back to the original file names so I can upload these pictures.  I greatly appreciate any help!

    iPhoto is a SQL database and you can not change the files names within iPhoto
    I changed the name of several pictures in iphoto
    That does not affect the file name - that is the title only used for display within iPhoto or when you export -
    You can do it when you export - select the photos and export (file menu ==> export)  and select the use title as file name option
    So I went to each picture and changed the actual file name. Now those pictures do not show up in iphoto
    Right you have corrupted your SQL database by making change to it - the first rule of iPhoto (and all database maangement systems) is to NEVER make any changes directly to the structure or content of the database - all changes MUST be made using iPhoto only. This is why the iPhoto library is a package and you ae to take special steps to get into it - there are no user servicable parts in the iPhoto library
    So I guess I'm wondering how I can undo the file name changes and go back to the original file names so I can upload these pictures.
    best way is to load your backup from before you destroyed your library
    only other choices are to restore the file names to exactly what they were prior to your error or creating a totally new iPhoto library from your original photos losing all edits, metadata changes, etc.
    LN

Maybe you are looking for