Changing the JWS Cache Folder

hi folks,
I have a question: is there any way to change the JWS Cache Folder (and launch the application offline)?
I've heard about a file called javaws.cfg, but as far as I understood this file is no longer used in JREs neewer than 1.4.2.
let me explain my problem: I want to distribute (is deploy the right word?) a desktop application (I've already putted the pictures and jaspers inside the .jar), but i need to use an external config file to store the address of the server (just the ip of the postgres server with the database)...
can I use JWS to make something like this:
+C:\MY_APP\
- MY_APP.jar
- MY_APP.ini
so the user are also able to run the aplication from a desktop shortcut (to MY_APP.jar)?
thanks in advance and sorry about my bad english!

mendonca_ime wrote:
..is there any way to change the JWS Cache Folder...?The end user or their system administrator can move the location of the cache. It is no business of JWS apps. to either move it or know the location.
...I want to distribute (is deploy the right word?) a desktop application (I've already putted the pictures and jaspers inside the .jar), but i need to use an external config file to store the address of the server...An external file is not necessary for that. Supply a default file within a Jar. If the user changes the location, store it using the PersistenceService. Here is a small [demo of the PersistenceService|http://pscode.org/jws/api.html#ps] *(<- link).*

Similar Messages

  • I just installed iTunes on my computer, where I already have all my music. I went to Edit Preferences Advanced, and changed the iTunes Media Folder Location to where I have all my music, in the "Local Disk." But iTunes wont import all my music. Help?

    I just installed iTunes on my computer, where I already have all my music. I went to Edit > Preferences > Advanced, and changed the iTunes Media Folder Location to where I have all my music, in the "Local Disk." But iTunes wont import all my music. Help?

    Have you looked in the Music App on your iPhone? On the iPhone music is played by the Music App not iTunes.

  • How can I delete the contents in Cache.Trash folder (not the normal Cache folder)?

    Recently, I keep receiving notice of "Hard Disk is Full - You have run out of disk space on drive C. To free space on this drive by deleting old or unnecessary files, click Disk Clean-up". But after I removed a substantial sizes of files to another drive, in a short while, the notice reappear again. I was puzzled and take a check on the files and folders in drive C and realized the problem came from those unknown files in the folder named Cache.Trash (not the normal Cache folder although they are located side by side). Some files sizes are shockingly large ranging from 2GB to 5GB. They have strange and difficult to identify File Name and File Types. When I checked the Properties of those files, they have unknown MS-DOS name, Created, Modified and Accessed dates. When I tried to delete those files directly, a notice of "Error Deleting File: Cannot delete file: File system error (1026)" appeared. Note: There are still many Free Space available in other disk drives. Any idea please?

    There is no session crash here. On others start, the Cache.Trash folder and its contents still there. When a ScanDisk program is performed, after some time, a notice appeared, "ScanDisk has restarted 10 times because Windows or another program has been writing to this drive. Quitting some running programs may enable ScanDisk to finish sooner. Do you want to continue receiving this warning?" So I closed any other running application and program and restart the ScanDisk program again. After some time, the notice appeared again. I clicked No to indicate do not want to continue receiving this warning and the program keep repeating running.....how long will the program take?

  • Could I change the default temp folder(C:\Windows\Temp)?

    Post Author: h1i9k7o2
    CA Forum: Crystal Reports
    Hi All:
    My web server is IIS 6. Sometimes the temp crystal report objects could not dispose when I close IE. I have some codes to control the evnet(colse IE to dispose CR objects) but the result is not good. Could I change the default temp folder(C:\Windows\Temp)? Because I want to delete the temp files by schedule. If the temp folder in C:\Windows\Temp, there maybe have anohter .tmp files in this folder and I want to avoid to delete them. Thank you very much.

    Post Author: h1i9k7o2
    CA Forum: Crystal Reports
    Thank you very much. But this is not my solution. I prefer to set the temp folder by a method or attribute to set the physical path, or to change the register. On the other way, Can I set the Environment Variables like %BOE_TEMP% for the default temp folder. Because there maybe some other systems also used the same environment variables(%TEMP%). When I delete the temp file in %BOE_TEMP% folder, I will never to delete temp files of the other systems. Could I?

  • Gmail stops working until i delete the offline cache folder. why?

    Using the Apple Mail Client, my G-Mail account stops updating every couple weeks.  I found through forums that if I delete the offline cache folder (it's hidden, library-mail-account) everything goes back to normal.  Why is this happening and why hasn't it been fixed?  I'd appreciate any insight!

    Hi Eric,
    Since it doesn't happen to gMail on several Macs & OSX versions from 10.4.5 to 10.7.4 & beyond, I suspect Disc corruption, or possibly RAM, have you checked either?

  • Changing the default open folder

    Does anyone know how I can change the default open folder in Illustrator? It keeps going to the Documents folder when I try to open a file and I'd like to change it to another folder.

    Cohek wrote:
    Does anyone know how I can change the default open folder in Illustrator? It keeps going to the Documents folder when I try to open a file and I'd like to change it to another folder.
    Illy defaults to / recognises the *last* opened folder unless that's been shifted or some kind of housekeeping (such as clear all history) has been undertaken. In which case, and on first opening, it will open the default folder which will be 'My Documents' .

  • Change the default "Build" folder in LabVIEW

    Hi -
    Is there anyway to change the default build folder in LabVIEW?  Currently, when I create a new build it defaults the target folder to "..\builds" relative to my current project folder.  I would prefer if it would default to "C:\Users\Nic\LabVIEW Builds\".

    Hello Nickerbocker,
    Beginning in LabVIEW 2011, the default build directory is absolute (e.g. I just checked in 2012 it was C:\Users\<name>\builds\<project name>\My Application); however, as you have indicated, in previous versions of LabVIEW the directory was relative. There have been many discussions as to the advantages and disadvantages of using relative vs absolute paths, and subsequently starting from 2011 the default save directory has been implemented with absolute paths. Unfortunately, there is no method for toggling between relative and absolute paths when creating a new build. 
    Doug W
    Applications Engineer
    National Instruments

  • 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.

  • Trying to move the Media Cache Folder

    I have the current version of Premiere Pro CC on OSX 10.9.4. I want to move my media cache files and media cache database folder from the default, USERS/LIBRARY/APPLICATION SUPPORT/ADOBE/COMMON to my external media scratch drive. I have changed this in my settings, and I can see cache files building up in the new directory. However, somehow, new media cache files are still being put in the old cache files and database folders. It is as if some are going to the new, some are going to to old. Any reason fro this and any way to chance it? I want no caching to happen on my internal system drive, I want all to be external.
    Just found something odd - I tried making a brand new media cache directory on my scratch drive after resetting the premiere pro prefs. Now, premiere is putting cache files in this new one, the previous one I created on my media drive, and on my system folder. Is this a bug?

    Just curious, are you still having this issue?

  • How do I change the preview cache disk?

    I keep seeing statements such as "there is nothing to stop
    you from locating the preview cache on another disk". Um.. there is a problem.
    I find no option to do it anywhere. In catalog settings it only "Shows" the location and does not allow changing it.  Am I missing something? I have looked and looked and the process is described nowhere. It is very frustrating because I can find these things on my own quite readily and in LR its totally buried if its possible at all.
    Also;
    How can I change the default camera calibration from the ACR 4.4 to Adobe standard ?  The first thing I have to do after every import is go back and sync to a different camera profile.
    Thanks in advance for any help

    In order that you can change the camera default profile you must be in the Develop module then change the profile to Adobe Standard. Next, choose Default Settings from Develop module. When the dialog appears you should click on Update to Current Settings...
    It's not possible to change the location of the library preview cache because it must be in the same folder as the catalog. However, changing the Camera Raw preview cache (used by Develop module) location is done through Preferences. The following screen shot shows you where to make the change.

  • How can I change the default save folder in MP Navigator for saved scans?

    I am using MP Naqvigator with my Canon MP600 multifunction device and saving to an external drive is clunky because each time I save a document I have to browse to the device and the destination folder. I have tried to find a way of setting the default save folder from /users/myname/pictures/mpnavigator to volumes/drivename/foldername so that it speeds up the process. I've looked at all of the preferences files for the MP600 in the application and support libraries but can't see any reference to that default path. I'd be very grateful for any solutions from other Canon users.

    It should still work the same way. I changed mine in either Snow Leopard or Lion and it remains the way i Changed it in Mountain Lion.
    bob[07:25]~>defaults read com.apple.screencapture location
    /Users/bob/Documents/ScreenCaptures/
    to change it I had entered:
    defaults write com.apple.screencapture location /Users/bob/Documents/ScreenCaptures/

  • How do I change the iTunes media folder Location and save it?

    I have a seagate drive where I store my music and have it shared as "M".  Each time iTunes starts up, it defaults back to C:\...... and if there is a device connnected, it transfers the purchases from that device to this directory.
    I need to manually go in and change the location each time iTunes starts.  Is there a way to save this location as the default?  I am on Version 10.
    thanks in advance

    If iTunes starts up and it can't get access to the location that you have declared as the media folder it will revert to the default subfolder of the library folder. Any downloads or rips will be put in that location until you correct the media folder location via Edit > Preferences > Advanced.
    Either make absolutely certain the drive is active and available before starting iTunes or place the library folder on the other drive as well (see this post)  so that iTunes either opens normally or warns that it cannot find the library. Note if this is a networked drive rather than locally connected USB/SATA there may be noticeable performance issues with the latter solution.
    tt2

  • Changing the user name folder of administrator

    I got married and changed my last name.  I have a personal use macbook pro and I am the only account/administrator for my laptop.  I have read many instructions involving creating a new administrator account and deletign the old one, but I wanted to know if there was any other way to change the name on the User directory folder.  I changed my long and short name, and every other name on my accounts last year, but I have been unable to change the name on the directory.  I have tried the chown -R /Users/old name /Users/new name in Terminal, but nothing happens after I enter my password.  Can someone help?  Thank you.

    Hi ami6580,
    I see I have sent you a link to a very old post.
    Sorry, no idea about net info manager, but I found a better link now  http://support.apple.com/kb/HT1428
    Sorry for the inconvenience
    Walter

  • Possible to Change the Plug-Ins Folder Used by Safari?

    I'm trying to set up Firefox with no plug-ins and Safari with plugins, to switch back and forth as needed.
    Both want to use the same Library/Internet Plugins folder.
    Any way to alter the plug-ins directory for either of them?
    Is a Unix command going to come to my rescue to set Safari's plug-ins path?

    I would expect both applications to call the same system command to locate the plugins directory. It's not going to be as straightforward as a string of text in a preference file.
    The only way I can see this working is to move the plugins in/out of the plugins direcotory before you launch each app. Of course, that may be problematic if you want to run both browsers at the same time.
    If you want to run both browsers at once, one thing that might work is changing the plugins directory mid-stream. Most apps will only check for plugins during startup (which is why you usually need to reboot to activate new plugins). Therefore you may be able to move your plugins out of the directory, launch FireFox, move the plugins back and launch Safari.
    In this setup Firefox should see no plugins and Safari sees them all. A script could automate this process if it works for you.

  • Is it possible to change the Presets Scripts Folder Location?

    Hi,
    I work with Photoshop on a daily basis for my job, but my company has the C:\Program Files\Adobe\Adobe Photoshop CS6 (64 Bit)\Presets\Scripts folder admin-locked (due to it's location in the Program Files folder. I've already asked IT, but they told me that they are unfortunately unable to give me access to that folder because my user profile can't be given admin-rights (due to company policy). I'd really like to change the location of the scripts folder so that I can add some scripts of my own to be able to use in Photoshop.
    Is this possible or is there any sort of workaround?
    Thank you all in advance!

    You can always use browse to go to a different location - I know it's not ideal, but it does tend to remember that folder once you navigate to it.  I would push your IT people about getting you access to that folder.  I also work in for a company that severely limits access to program files, but I made my case that I need to have access to the Photoshop subfolders to do my job.  They should be able to grant you access to just that folder.

Maybe you are looking for

  • Plz help me on this

    1) What is logical file and physical file 2)what is logical file path and physical file path 3) what is the use of tcode 'File' 4) what is the screen resolution in bdc 5)IN OPEN DATASET FOR < IN/OUT/APPENDING> IN <TEXT-MODE/BINARY MODE> ENCODING DEFA

  • ADFS error 111 and 364

    we have a windows azure server with active directory and adfs (icw Office 365) this has worked in the past since yesterday the services stoped working i checked and saw it wasn't pointing to itself for dns (instead a other dc) and in the eventlog the

  • Urgent in reports (High points r awarded)

    Hi Experts, Could u please answer my question. when v click on material no on selection screen after getting the output it has to call the t.code MM03 . m getting this MM03 t.code but in this t.code after selecting v ill get pop up for plant details,

  • Supressing  Issue based on grouping

    Our report has been grouped based on few columns, say(Title, Jobcode, Job Name, Job Description and Status). The set of output for this group would contain these columns say(Rev No#, Job Comments, effectivedate) Our requirement is to suppress the col

  • Siebel JMX monitoring using JRuby

    Hi, I am trying to use JRuby to monitor the performance of a Siebel adapter using JRuby. Whist I am able to read the mbean data from the server I am unable to successfully submit the command "reset = conn.invoke(name, 'Reset', '', '' )" The error mes