Infobus applet and temporary files

Hi,
I have made an infobus applet and deploy it with the OAS407.
Now I have seen, that each time I load the applet from the
OAS407 the applet create 15 files in my temp-folder with the
prefix jar_cache (for example: jar_cache40989.tmp).
There is no problem with creating but there is a problem with
deleting because there is no mechanism for automatic deleting.
So I have to delete these files manually but I think that this
is unuseable for end-user.
Does anybody know how to bypass this problem ?
Thanks.
Nils
null

<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Nils Buering ([email protected]):
I ran into the same problem when I built an applet that uses DAC and runs the app module in the downloaded applet. The Java plugin 1.2.2 is creating these files in TEMP and these files are equal in size to the support jar and zip files downloaded to the browser. You can easily verify this by comparing file sizes (use the Properties facility when you right click a Windows file sname to see its exact size in bytes). The plugin does not delete these files when you exit the browser and thus re-creates them every time you restart the browser and access the applet from the web server potentially filling the user's disk.
SUN has fixed this problem with the 1.3 plugin. Ater downloading and installing the 1.3 plugin, you must edit the applet's HTML file to add two new PARAM options: "cache_option" and "cache_archive". See http://java.sun.com/j2se/1.3/docs/guide/misc/appletcaching.html for instructions (a document titled "Applet caching in Java Plug-in") on doing this. This basically tells the plugin to use its own caching, instead of the browser's and doing this, the jar files created in the user's TEMP directory are deleted when you kill the browser.
However, since Jdeveloper is not certified with Java 2 v1.3, I ran into problems with code that works under the 1.2.2 plugin. The applet no longer runs once its been downloaded: I get a permissions error in jbo.logging.show and jbo.logging.trace; to wit: (java.lang.ExceptionInInitializerError: java.security.AccessControlException: access denied (java.sql.SQLPermission setLog). So switching to the 1.3 plugin will fix the buildup of jar files in TEMP problem; but your applets may no longer work! Best to wait until Jdeveloper is certified with 1.3 then you can run the 1.3 plugin successfully.
Hi,
I have made an infobus applet and deploy it with the OAS407.
Now I have seen, that each time I load the applet from the
OAS407 the applet create 15 files in my temp-folder with the
prefix jar_cache (for example: jar_cache40989.tmp).
There is no problem with creating but there is a problem with
deleting because there is no mechanism for automatic deleting.
So I have to delete these files manually but I think that this
is unuseable for end-user.
Does anybody know how to bypass this problem ?
Thanks.
Nils<HR></BLOCKQUOTE>
null

Similar Messages

  • Which caches and temporary files can I remove

    Using Drive Genius 3 I have identified lots of cache and temporary files they say I can delete. Is there any concern with removing them?

    No, go right ahead.

  • Import failure and temporary files

    Hi, I'm trying to import my photos from my iPhone into Aperture using the Import function. During the import process, it creates a temporary file, like "..importing.IMG1721.JPG" onto my photo folder, and then continues to say "Importing" indefinitely, so I need to do a force quit on the application. So now two problems:
    1) how can I remove these temporary files Aperture has created? When I do a Get Info on them, the permissons say Unknown Access. I can't drag them to Trash or rename these files either?
    2) is the iPhone importing a known bug? Note my setup is as follows:
    - my files in Aperture are referenced instead of managed
    - my photo files are stored on an external drive connected thru my Airport Extreme
    - I have no problem importing photos from an SD card to my external drive using Aperture's Import
    - as a workaround, I can tell Aperture to import the photos from the iPhone to a local folder, then manually copy the files from the local folder to my external drive and then do a "reconnect all" in Aperture, though this process is time-consuming and something I want to avoid.
    Any help is much appreciated.
    Thanks,
    Tim

    The m4v can be converted using Compressor. The Unix file is more of a problem. See if you can fnd something that opens it. Try the QT player first. If not you'll need to get it in a proper video format.
    Can't tell you what to convert it to without knowing complete and exact specifications of the media.

  • Font.createFont() and temporary files

    Hi,
    I have a servlet which uses the Font createFont(int, InputStream) method to overlay text on an image, which is sent to the client.
    However, each time this method is invoked, a copy of the font as a temporary file is stored in c:\windows\temp. Closing the input stream has no effect, and the files only seem to disappear once JBoss/Tomcat is shut down.
    Once the font is read and rendered, it is no longer required; how does one signal that this temporary file should be removed? I cannot believe that there is no mechanism designed to programmatically remove these.
    (as a possibly amusing sidenote - I recently went on holiday for two weeks and had temporarily commented out the lines to cache already-generated images. I came back to find 6Gb of temporary files, all of them being copies of Verdana.ttf!)
    Thanks,
    Matt
    PS. Yes, I realise that it's inefficient to be reading the font file every time I invoke the servlet - I will change this, but I still dislike the thought of having useless temporary files floating around.

    Thank you both so much for your help; I've upgraded from 1.5.0_06 to 1.5.0_08 and the temporary files are now correctly garbage collected.
    There are several reasons why I am using an InputStream for loading the Verdana font; firstly, I believe it is best practice to write code that is platform-agnostic where possible. Secondly, I prefer to bundle dependent resources in the software itself rather than rely - or hope - on the target system having what the software is after (within reason, of course).
    However, the pragmatic answer is that since Java's font kerning capabilities are less-than-desired (non-existant, even?), I am using iText to calculate font kerning. iText reads the ttf file itself, so rather than have a hard-coded reference to c:\windows\fonts\verdana.ttf (ick!) I decided to bundle the font with the software.

  • Applets and accessing files confusion

    Hi
    I am confused about applets and their abilty to access files.
    I know that applets cannot access files on a users hard drive until given pemission but if i design an applet that needs access to files on the server where it is running will it be able to read and write those files in the same location as the applet without the need to set permissions?
    Any feedback would be great
    Neil

    The applet is very much able to read files from the server. This is easiest done by creating a URL and opening a stream to it:
    URL url = new URL(getCodeBase(), "file.dat");
    InputStream in = url.openStream();
    // read from the stream...
    in.close();
    Saving files to the server is also possible without setting permissions but it's a bit harder. In short, you need some sort of server that accepts a connection and saves what you send it to disk. The server can be eg. a servlet, a database or a FTP server.

  • Ldapsearch -t option and "temporary files"

    The MAN page shows
    "A single -t writes retrieved non-printable values to a set of temporary files."
    I am using a single -t and the attribute I am returning shows like "cACertificate::" where the :: implies it is binary.
    But I can NEVER find where the file for the "temporary files" is created.
    Normally on Linux/Unix I would expect to find these it /tmp.
    Any ideas?
    Thanks -jim

    Ok, mkstemp (which is the C call being used underneath the ldapsearch -t and -tt switches) returns a "safe" temporary file path, which means the man page is +way wrong+ here.
    The temporary files are logged under +/var/folders/{random stuff expunged}/ldapsearch-objectClass-XXXXXX+ and which means (if you want this to go somewhere else) then you'll want to use -T /var/tmp or whatever.
    The target file locations for the various chunks are displayed when the following syntax is used:
    ldapsearch -LLL -x -h ldap.example.com -b "dc=ldap,dc=example,dc=com" -tt
    Related commands (and useful Google search targets) include:
    $ getconf DARWINUSER_CACHEDIR
    $ getconf DARWINUSER_TEMPDIR
    Whether logging a radar against the documentation is in your future or mine is an open question.

  • Downloading music and temporary files

    When downloading a song from the internet... it goes to a temporary folder and then it dissapears from itunes after a few days, is there a setting that I can change to modify this behavior??
    Thanks

    No, but I'm surprised it takes a few days to disappear.
    Many programs use this method - create a temp file to make sure the whole thing gets downloaded, then move it to the final location, and finally delete the temp file.

  • Java Applets and Executing Files

    Hi I have written an applet that pops up when accessing a URL. I am trying to run an executable file from a button press in the applet. The executable is stored localy on my machine but I can not seem to acceess the executable.
    Any Ideas??
    Cheers JJ

    http://java.sun.com/j2se/1.4.2/docs/api/java/awt/Robot.html

  • APPLETS and ACESSING FILES

    The following is my code. I want to be able to search the flat text data file for inputed query. I have managed to do it one way with out applet wise, but I had to use URL. I creates the URL but get stuck on the BufferReader more specifically the openStream method I think. Now the file I am trying to access is on the server which is behind a firewall.
    any good suggestions or even new aproaches are welcomed
    import java.awt.*;
    import java.applet.*;
    import java.lang.*;
    import java.lang.Object;
    import java.io.*;
    import java.net.URL;
    public class Goin extends Applet {
         Font f = new Font("Georgia",Font.BOLD,36);
         public void init() {
                   try{
                             System.out.println("we are in");
                             URL yahoo = new URL("http://www.nj.gov/military/test/testme.txt");
                             System.out.println("assigned url");
                        BufferedReader in = new BufferedReader(new InputStreamReader(yahoo.openStream()));
                        System.out.println("created buffer");
                        String line = in.readLine();
                        System.out.println("we read one line");
                        while ( line != null )
                             System.out.println("we are in for a while");
                             line = in.readLine();
                             int index = line.indexOf("t");
                             if ( index != -1)
                                  System.out.println("we are in if");
                                  System.out.println(line);
                                  System.out.println("we are out if");
                             System.out.println("we are out for a while");
                        in.close();      
                        }catch (IOException e)
                        {System.out.println("Error -- " + e.toString());}     
                        System.out.println("we are finishing");}

    they do but you have to use what i have except you may have to specify other things. Actually I just found out that the url I used is down so that may be the problem.

  • Infobus applet and BC4J

    Hi All,
    I have developed a few applets using infoswing components. Right now I am deploying them using the local mode. Now I'd like to deploy the business components in the middle tier. Can I deploy them as EJB in OAS or in 8i. What is the most suitable method for deploying an application of this kind.
    Thanks in advance for any help.
    Susan
    null

    Hi All,
    I have developed a few applets using infoswing components. Right now I am deploying them using the local mode. Now I'd like to deploy the business components in the middle tier. Can I deploy them as EJB in OAS or in 8i. What is the most suitable method for deploying an application of this kind.
    Thanks in advance for any help.
    Susan
    null

  • Loading A Blank InfoBus Applet

    I have created an InfoBus Applet and am wondering if there is any way to load it blank(no data on sreen). By default, it executes the master query and brings the results to screen when the applet loads. Is there a property on the master rowset that needs to be set? What functions are available to rowset or sessionInfo which will allow the applet to load blank, and only execute the master query when the user queries via find dialog? Any help would be greatly appreciated.

    Hi,
      This could be a combination of numerous things, check the following
    - Flash Player version used
    - Internet Explorer (IE) version
    - How big is the flash file you trying to load. Try using a smaller version and see if it works. That way we can elimiate flash memory related.
        Make sure all are in the supported platform for Xcelsius 2008 (What Service Pack are you on?).
    Regards,
    Ken

  • Problems with creation of catalogue XPGrpwise and temporary

    Problems with creation of catalogue XPGrpwise and temporary files.
    I use GroupWise 8.01 and WinXP (SP2), OpenOffice 3.1.
    Why at opening files in Library, temporary files are not created in catalogue C:\Documents and Settings\Jon Smith\Local Settings\Temp\XPGrpwise, and created in catalogue C:\Documents and Settings\Jon Smith\My Documents. That causes problems. How to change a situation that worked as it is necessary.
    Catalogue XPGrpWise is created and leaves duly in catalogue C:\Documents and Settings\Jon Smith\Local Settings\Temp\.

    Cvetaev,
    It appears that in the past few days you have not received a response to your
    posting. That concerns us, and has triggered this automated reply.
    Has your problem been resolved? If not, you might try one of the following options:
    - Visit http://support.novell.com and search the knowledgebase and/or check all
    the other self support options and support programs available.
    - You could also try posting your message again. Make sure it is posted in the
    correct newsgroup. (http://forums.novell.com)
    Be sure to read the forum FAQ about what to expect in the way of responses:
    http://forums.novell.com/faq.php
    If this is a reply to a duplicate posting, please ignore and accept our apologies
    and rest assured we will issue a stern reprimand to our posting bot.
    Good luck!
    Your Novell Product Support Forums Team
    http://support.novell.com/forums/

  • How can I delete temporary files in FF. This is very simple in IE but feature cannot be found in FF

    IE has a simple means to delete both cookies and temporary files. I can delete cookies in FF but there is no way found to delete temporary files. This is a design feature flaw I assume since I cannot imagine this feature is not in the design..just can't be found. I have no idea about the educated guess of "installed plugins". My use of Firefox is just plain vanilla. I've never added any plugins to it.
    Any help appreciated.

    See:<br />
    - https://support.mozilla.com/en-US/kb/Clearing+private+data<br />
    - https://support.mozilla.com/en-US/kb/How+to+clear+the+cache
    Also see: https://support.mozilla.com/en-US/kb/Options+window+-+Privacy+panel<br />
    Tools > Options > Privacy > "Clear history when Firefox closes" > Settings
    <br />
    The information submitted with your question indicates that you have out of date plugins with known security issues that should be updated. To see the plugins submitted with your question, click "More system details..." to the right of your original question post.
    * Adobe Shockwave for Director Netscape plug-in, version 11.0
    * Adobe PDF Plug-In For Firefox and Netscape 8.2.5
    * Next Generation Java Plug-in 1.6.0_21 for Mozilla browsers
    #'''Check your plugin versions''': http://www.mozilla.com/en-US/plugincheck/
    #*'''Note: plugin check page does not have information on all plugin versions'''
    #'''Update Shockwave for Director'''
    #*NOTE: this is not the same as Shockwave Flash; this installs the Shockwave Player.
    #*Use Firefox to download and SAVE the installer to your hard drive from the link in the article below (Desktop is a good place so you can find it).
    #*When the download is complete, exit Firefox (File > Exit)
    #*locate and double-click in the installer you just downloaded, let the install complete.
    #*Restart Firefox and check your plugins again.
    #*'''<u>Download link and more information</u>''': http://support.mozilla.com/en-US/kb/Using+the+Shockwave+plugin+with+Firefox
    #'''Update Adobe Reader (PDF plugin):'''
    #*From within your existing Adobe Reader ('''<u>if you have it already installed</u>'''):
    #**Open the Adobe Reader program from your Programs list
    #**Click Help > Check for Updates
    #**Follow the prompts for updating
    #**If this method works for you, skip the "Download complete installer" section below and proceed to "After the installation" below
    #*Download complete installer ('''if you do <u>NOT</u> have Adobe Reader installed'''):
    #**Use Firefox to download and SAVE the installer to your hard drive from the link in the article below
    #**On the Adobe page, un-check any extra items (i.e. Free McAfee® Security Scan Plus) then click Download button
    #**If you see message just under tabs, DO NOT click the Allow button, instead click below that where it says "click here to download".
    #**Click "Save to File"; save to your Desktop (so you can find it)
    #**After download completes, close Firefox
    #**Click the installer you just downloaded and allow the install to continue
    #***Note: Vista and Win7 users may need to right-click the installer and choose "Run as Administrator"
    #**'''<u>Download link and more information</u>''': https://support.mozilla.com/en-US/kb/Using+the+Adobe+Reader+plugin+with+Firefox#Installing_and_updating_Adobe_Reader
    #*After the installation, start Firefox and check your version again.
    #'''Update Java:'''
    #* Download and update instructions: https://support.mozilla.com/en-US/kb/Using+the+Java+plugin+with+Firefox
    #* Removing old versions (if needed): http://www.java.com/en/download/faq/remove_olderversions.xml
    #* Remove multiple Java Console extensions (if needed): http://kb.mozillazine.org/Java#Multiple_Java_Console_extensions
    #* After the installation, start Firefox and check your version again.

  • Tmp file locations and Log file locations

     

    I have been having a real headache too trying to get WebLogic to put all its
    log files and temporary files in directories that I specify. It seems that
    WebLogic has a mind of its own as files get created all over the place.
    Trying to configure these really basic settings has proved extremely
    awkward. Why is it such a nightmare to do?
    "Scott Jones" <[email protected]> wrote in message
    news:3af0179d$[email protected]..
    OK, I changed the relative path for the log files.
    1. I am still getting app-startip.log
    app0000.tlog
    in the root directory and not in the ./logs directory. Any other
    settings?
    2. I sill do not know how to redirect the tmp_ejbdomain.port directory.
    Any suggestions?
    Scott
    "Sanjeev Chopra" <[email protected]> wrote in message
    news:3aef0a42$[email protected]..
    "Scott Jones" <[email protected]> wrote in message
    news:3aef05be$[email protected]..
    I a domain configured and running with two applications. WLS 6 is
    placing
    the following logs for each application at the same dir level as
    config
    dir. It is also creating tmp_ejb directory at the same level.
    1. How do I tell WLS 6 to place log files in a diff directoryIn Admin Console: modify the property Server -> Configuration ->Logging ->
    FileName
    In config.xml: the 'FileName' attr can be set to an absolute path OR apath
    relative to Server.RootDirectory
    <Server EnabledForDomainLog="true" ListenAddress="localhost"
    ListenPort="7701" Name="managed"
    StdoutDebugEnabled="true" ThreadPoolSize="15">
    <Log FileCount="10" FileMinSize="50" FileName="managed.log"
    Name="managed" NumberOfFilesLimited="true"
    RotationType="bySize"/>
    </Server>
    2. How do I tell WLS 6 to place tmp_ejb directories in a diff
    directory
    >>>
    Thanks,
    Scott

  • Temporary files are not getting deleted

    Hi All,
    I am using informix database and my code is reading BLOB from database and writing the image to different storage media. The program has to run for number of images. It is writing to media successfully but not exiting even after printing the last statement in program. it is generating some temporary files ifxb_* . If I use System.exit() garbage collection is not happeneing and temporary files not getting deleted.
    I am storing BLOB to an InputStream. and closing all the Connections and ResultSet before exit.
    Can anyone please tell why program is not exiting normally?

    gtRpr wrote:
    It doesn't make much sense to me to go through extra work to make code insecure, when doing things the right way is easier and more secure.@yawmark - I get it, relax.
    I never used them last year because I only found out about there existance about 4 Months ago.
    And guess what I have never used normal statements for something like that again.
    Only time I use a normal Statement is when I run that query only once, and no the entire query is hardcoded so no need for any worries due to security.Um ... D'you post this to the wrong forum/topic?
    Anyway, OP ... I don't know a thing about informix, so perhaps a trip over to IBM would help ... they have lots of information on their site. You might want to try a different forum right here at java.sun.com as well.
    About those closing of Connections and Resultsets ... are they in finally clauses? They should be.
    ~Bill

Maybe you are looking for

  • Why doesn't pop-up window for serial number open?

    My mother has bought the Lightroom 5 CD and is installing it but for some reason when she clicks ther installed Lr icon as told in your instruction, the serial number is not requested. The whole window with the empty boxes for serial number does not

  • Creative Vision:M Driver Softw

    Greetings, I have recently purchased the Creative Vision:M mp3 player. Unfortunetly, I am unable to install the software as my CD-ROM dri've on my computer is not working. I am wondering if there is any other way I can get the software, perhaps throu

  • Calculating MAP at a point in time

    Hi, I need to find the MAP for a list of materials as of 06-30-2009.  Which table do I use?  MBEW, MBEWH or both? If I have to use both, please explain SIMPLY and CONCISELY how to do it.  Looking at these tables is confusing.  It seems that both have

  • I'm getting this error: We're sorry, we cannot complete your request on the iTunes store at this time.

    Is there a place to see if there is service or maintenance happening right now?  Haven't been able to connect to the iTunes Store via Computer or Ipod for more than an hour?  I've seen other posts about this same issue with no resolution listed, is t

  • Update xfree 4.3 and gtk problem

    I have 2 problem after update from pacman -Syu: 1. the font in the gtk application is disappeared. gftp, rox, xchat and more     see example: http://web.ntrade.it/shot/gftp.jpg     and gnome 2.2 d'ont work. 2. The vmware start error: $ vmware XIO:  f