Unable to get Main.openPopup to work correctly

Hi,
I have a cross browser issue. In Mozilla the button which uses this opens up the new window fine but in IE the new window refuses to open.
function goToDetectiv()
               var frm = document.forms[formId];
var numChecked = Forms.numChecked(frm);
               var checkedBoxes = Forms.getMyChecked(frm);
if (numChecked == 0)
                    alert('Please select at least one item in the list');
                    return;
               else
var cB = checkedBoxes.length-1;
checkedBoxes = checkedBoxes.substr(0, cB);
Main.openPopup('/cgi-bin/fileTransfer.cgi?baseRedirectFiles=true&<%="baseID=" + user.getEmail() + "," + user.getName() + "&" + fillText.toString()%>&checked='+checkedBoxes, 'DetectiV Analysis', 1024, 600, options='toolbar=yes, menubar=yes, scrollbars=yes, resizable=yes, location=yes, directories=yes');
Is there some reason why this is not working in IE?
Thanks
Tory

Support - Audio-Technica

Similar Messages

  • I can't get volume on Main Output to work correctly with controllers on my keyboard. It's either all on or all off. Works fine for individual instruments (thought it lumps them all together) but not for main volume output on concert. Thanks for any help.

    I can't get volume on Main Output to work correctly with controllers on my keyboard. It's either all on or all off. Works fine for individual instruments (thought it lumps them all together) but not for main volume output on concert. Thanks for any help.

    Hi
    frodojon wrote:
    I either didn't do the correct mapping sequence before or I'm starting to wonder if it has something to do with my keyboard which has the expression pedal set to the same volume control as the mod wheel.
    All this sounds like you are confused about the general nature of MIDI Continuous Controllers (MIDI CC). The MIDI specification allows for 128 different CC's: CC0 to CC127. Some are typically "preallocated" to 'standard functions: CC1= Modulation, CC7=Volume, CC10+Pan, CC11= 'Expression'. Some act as switches such as 'Sustain' CC64.
    frodojon wrote:
    Everything appears to be scaled from -63 to +64 if that's what you mean by scaling?  What do you mean by MIDI CC7?
    Mainstage works with MIDI CC's generally in a number of ways:
    Some standard ones are automatically passed through to all MIDI/Instrument channels unless you specifically block them. Others are not passed through unless you specifically map them to something.
    This mapping can be done basically two ways (with MS 2.2):
    a) Make a Screen Control in Layout mode, and assign it to a particular incoming MIDI CC message. Then, you can map this Screeen Control to a variety of parameters such as the volume of a particular channel strip.
    b) With MS 2.2, you can do the above Assign and Mapping directly, without the need for Screen Controls as an 'intermediary'.
    frodojon wrote:
    something to do with my keyboard which has the expression pedal set to the same volume control as the mod wheel.  I
    Yes.
    It sounds to me like you have an issue where you have several hardware controls on your Keyboard set up to transmit the same MIDI CC. This is probably not a good idea, and it would be much better if you assigned them to transmit different CC messages (CC1 for Modulation and probably CC11 for the Expression (though you may want to set the pedal to some other number instead.
    Once you are transmitting different CC messages, you will be able to Assign and Map much more flexibly:
    for example, you could one to control the overall output volume at Concert Level in MS, whilst the other controls the volume of a specific channel within a Patch.
    Your issue of layered patches is one of "Scaling": one Screen Control (assigned to an incoming MIDI CC message) needs to alter the ranges of different channel strips to different amounts. You can set this up by using multiple mappings for one Control, each set to work over a particular range (for example a goes from -20 to 0 whilst b goes from -30 to -20 etc.).
    hth
    CCT

  • I am unable to get Lightroom Mobile to work on my home network. The Ipad says "There are no collections to sync, enable lightroom mobile on your computer", but it is enabled.  I got it to work one time on another network but not at home where I use Lightr

    I am unable to get Lightroom Mobile to work on my home network. The Ipad says "There are no collections to sync, enable lightroom mobile on your computer", but it is enabled.  I got it to work one time on another network but not at home where I use Lightroom.

    Hi,
    could you please give us some info on what kind of network you have?
    Can other application communicate with the web?
    Thanks,
    Ignacio

  • How do I get my Internet to work correctly?

    I recently purchased an iPhone 4 and all of my apps that require Internet will only work if I have wifi. How do I get my Internet to work correctly without wifi?

    Read https://discussions.apple.com/thread/3940924?start=0&tstart=0

  • 11gr2 Dataguard Active Standby - Unable to get Real-Time apply working

    As above, I am unable to get real time apply to work WITHOUT it switching my standby back to MOUNT state. There does not seem to be anyting obvious from the broker, or alert logs.
    On the Standby:
    SQL> alter database recover managed standby database cancel;
    Database altered.
    SQL> alter database open read only;
    Database altered.
    SQL> select open_mode from v$database;
    OPEN_MODE
    READ ONLY
    SQL> alter database recover managed standby database using current logfile disconnect;
    Database altered.
    SQL> select open_mode from v$database;
    OPEN_MODE
    MOUNTED
    Primary:-
    SQL> SELECT status, recovery_mode FROM v$archive_dest_status where dest_name = 'LOG_ARCHIVE_DEST_2';
    STATUS RECOVERY_MODE
    VALID MANAGED REAL TIME APPLY
    Edited by: Imran on Apr 17, 2012 10:56 PM

    Hello;
    This is expected.
    Works the same exact way on my system. How Redo Data is applied is set when the database is MOUNTED.
    See - 6 Redo Apply Services
    Data Guard Concepts and Administration 11g Release 2 (11.2) E10700-0
    The document is vague on this at best, but think about the error you get if you try to start apply twice.
    Data Guard Real-Time Apply FAQ [ID 828274.1]
    Best Regards
    mseberg
    Edited by: mseberg on Apr 17, 2012 10:04 AM
    h1. Test
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SQL> alter database recover managed standby database cancel;
    Database altered.
    SQL> alter database open read only;
    Database altered.
    SQL> alter database recover managed standby database using current logfile disconnect;
    Database altered.
    SQL> select open_mode from v$database;
    OPEN_MODE
    READ ONLY WITH APPLY
    SQL> So I get different results ??
    Edited by: mseberg on Apr 17, 2012 10:40 AM
    h2. Still more
    I would like to change my answer. Based on my test and queries as shown below I believe REAL TIME apply is working. Note the last log says NO because its in progress.
    Checking last sequence in v$archived_log
    STANDBY               SEQUENCE# APPLIED    COMPLETIO                                               
    STANDBY                     343 YES        16-APR-12                                               
    STANDBY                     344 YES        16-APR-12                                               
    STANDBY                     345 YES        16-APR-12                                               
    STANDBY                     346 YES        16-APR-12                                               
    STANDBY                     347 YES        17-APR-12                                               
    STANDBY                     348 NO         17-APR-12                                               
    6 rows selected.
    ----------------Last log on Primary--------------------------------------|
    MAX(SEQUENCE#)                                                                                     
               348                                                                                     
    1 row selected.Yes, I doubled check and it works on mine. I guess I read what I wanted to read.
    All my Standby redo are setup correctly ( size and numbers )
    READ ONLY WITH APPLYYour answer my be the Uwe answer at the end of this thread :
    Enabling the Active Dataguard and Real Time Apply
    Best Regards
    mseberg
    Edited by: mseberg on Apr 17, 2012 10:50 AM

  • 'Get Variant' button not working correctly for report

    Hi,
    I have created an internet service for a custom report.  For some reason, when I click the 'Get Variant' button I get a popup, but it does not have any entries to choose from.  It is blank.  In SE80, the button works correctly.  Any ideas?

    I figured it out myself.  I didn't have the parameter ~webgui set.

  • Can't seem to figure out how to get the signature to work correctly

    I am having trouble getting Digital Signatures to work on a PDF. This is the first time that I have ever tried to use them, and the first time that I used Lifecycle to convert a form instead of just building it one field at a time in Acrobat Pro.
    In the past, I have gotten several PDF's that required signing. It seemed like an easy process, I clicked on the signature to sign it and then the email button to submit. The first time I did it before I had a signature, it walked me through the process of getting one set up, that was easy too.
    Now, I need one, and all of the sudden, it doesn't seem so easy any more.
    I have the CS3 Design suite with Acrobat Pro 8.0
    I did the layout in InDesign, and the form conversion in Lifecycle. The signature fields were added there automatically, all looked good so far.
    I open the file in Reader 9.0 and am unable to add a signature. I made sure that Reader 9.0 knew where my signature file was, but no matter what I do the document sign options are all greyed out.
    I opened the form in Acrobat 8 and it will let me sign, but I have to immediately save/as or the signature doesn't take. I have to save it save/as twice because there are two signatures.
    I figured there was some rights setting wrong, but can't find it. I have searched for signature, but can't seem to find a post that applies to my problem.
    This is driving me crazy. This shouldn't be that difficult. I am missing something here.
    Can anybody here shed some light on this?
    Thanks,
    Kirk

    To enable the form to be signed in Reader you will need to open the form in Acrobat; goto Advanced>Enable Usage Rights and then save this copy of the form for sending out to the users.
    The user should then be able to edit and digitally sign the form. They can then email the signed/saved pdf as a browsed for attachment or via the email icon in the toolbar. Note - if you have created an email submit button on the form, then unless they have Acrobat they could only return an xml file.
    The other way to do this however is to create a dataset by 'distributing' the form. This time the Email Return button will send back a full version of the form. During the distribution setup you will have the option to email the form directly or to save it and send it later,so you can send to users as and when or even post it to a website or intranet.
    When you receive and open the returned form it will ask whether you want to add it to the predetermined dataset (or if you want to categorise the returns into geographical areas for example, you could create new additional datasets at this point). If the form is data heavy however, the dataset will become very large and unwieldy pretty quickly, but you can export the data from it (including signatures) in xml format and import this into an Excel spreadsheet.
    To simplify the Excel xml import process I'd recommend you carefully structure your form in the hierarchy (LiveCycle) into the order you would want the data items to appear in your spreadsheet and switch off those data items that you will not need by setting the default binding for the irrelevant fields to "None".
    Clear as mud? Hope this helps.

  • Unable to get Bluetooth Headset Profile working with mic on Toshiba BT Stac

    Hi.
    I am having problems using my Motorola HT-820 Stereo headset, with the Toshiba Bluetooth Stack installed on Vista Home Premium 32bit laptop.
    I am unable to get the mic to function at all, so cannot use it for Skype / VOIP calls etc. Features such as the A2DP and AVRCP work fine, and I can listen to music via media player without issues.
    I have read in a FAQ on this site, to make sure I use the Custom Setup option rather than Express Setup when adding the device, but it doesnt seem to make any difference, am I missing a step here?
    In the Windows Recording device properties, I can see the option listed for Bluetooth Mic, but even setting it as the default device doesnt work.
    I know from connecting my headset to my Desktop PC which uses the Widdcom bluetooth stack, that i can use the Headset/mic function, but this stack seems to work differently, as in I can select the headset option within the bluetooth settings, but I cannot see such an option withing the Toshiba stack - and i think this is where the problem is.
    I have updated to the latest Toshiba stack from this web site, but this has not helped any.
    Any help here would be appreciated.
    Regards
    Matt
    Message was edited by: Toxyturvy - Bad spelling

    Hello Matt
    Unfortunately I can not help you with this but if I am remembering well here on BT section someone already asked something similar. Please take a little bit time and check BT section on this forum.
    You can also visit FAQ section on http://aps2.toshiba-tro.de/bluetooth/
    Maybe will find something there.
    Good luck!

  • Unable to get listeners on server working

    I have 2 listeners (listener_ss01 & listener_ss02) for 2 database instances in the same Linux 6.1 server.
    Below is my configuration in the listener.ora file.
    I am unable to get both listeners up together.
    If I use 'lsnrctl start listener_ss01', there is no service handler assigned to it. And starting the 2nd listener, I will be told that is already started. As there is no service handler assigned to it, I am not able to connect to either databases.
    However, if I only have one listener configuration in the file, it will work properly under the listener name LISTENER.
    Please help me.
    Thank you.
    LISTENER.ORA
    # Installation Generated Net8 Configuration
    # Version Date: Jun-17-97
    # Filename: Listener.ora
    LISTENER_ss01 =
    (ADDRESS_LIST =
    (ADDRESS= (PROTOCOL= IPC)(KEY=ss01))
    (ADDRESS= (PROTOCOL= IPC)(KEY= PNPKEY))
    (ADDRESS= (PROTOCOL= TCP)(Host= oracle)(Port= 1521))
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (GLOBAL_DBNAME=oracle.)
    (ORACLE_HOME=/u01/app/oracle/product/8.0.5)
    (SID_NAME =ss01)
    (SID_DESC =
    (SID_NAME = extproc)
    (ORACLE_HOME = /u01/app/oracle/product/8.0.5)
    (PROGRAM = extproc)
    STARTUP_WAIT_TIME_LISTENER_ss01 = 0
    CONNECT_TIMEOUT_LISTENER_ss01 = 10
    TRACE_LEVEL_LISTENER_ss01 = OFF
    LISTENER_ss02 =
    (ADDRESS_LIST =
    (ADDRESS= (PROTOCOL= IPC)(KEY=ss02))
    (ADDRESS= (PROTOCOL= IPC)(KEY=PNPKEY))
    (ADDRESS= (PROTOCOL= TCP)(Host=oracle)(Port= 1521))
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (GLOBAL_DBNAME= oracle.)
    (ORACLE_HOME= /u01/app/oracle/product/8.0.5)
    (SID_NAME = ss02)
    (SID_DESC =
    (SID_NAME = extproc)
    (ORACLE_HOME = /u01/app/oracle/product/8.0.5)
    (PROGRAM = extproc)
    STARTUP_WAIT_TIME_LISTENER_ss02 = 0
    CONNECT_TIMEOUT_LISTENER_ss02 = 10
    TRACE_LEVEL_LISTENER_ss02 = OFF
    null

    Thank you for your reply, Ravi.
    I did the modification (as you have advised) but I am only able to get one listener running at a time.
    When I use "lsnrctl start listener_ss01",
    listener_ss01 gets started and is assigned a service handler.
    However, when I next enter "lsnrctl start listener_ss02", I get the message informing that the listener has been started using listener_ss01. I am thus only able to connect to database ss01 and not ss02.
    Will appreciate if you could help me further. Thanks.
    Regards.
    LISTENER.ORA (modified)
    # Installation Generated Net8 Configuration
    # Version Date: Jun-17-97
    # Filename: Listener.ora
    LISTENER_ss01 =
    (ADDRESS_LIST =
    (ADDRESS= (PROTOCOL= IPC)(KEY=ss01))
    (ADDRESS= (PROTOCOL= IPC)(KEY= PNPKEY))
    (ADDRESS= (PROTOCOL= TCP)(Host= oracle)(Port= 1521))
    STARTUP_WAIT_TIME_LISTENER_ss01 = 0
    CONNECT_TIMEOUT_LISTENER_ss01 = 10
    SID_LIST_LISTENER_ss01 =
    (SID_LIST =
    (SID_DESC =
    (GLOBAL_DBNAME=oracle.)
    (ORACLE_HOME=/u01/app/oracle/product/8.0.5)
    (SID_NAME =ss01)
    (SID_DESC =
    (SID_NAME = extproc)
    (ORACLE_HOME = /u01/app/oracle/product/8.0.5)
    (PROGRAM = extproc)
    TRACE_LEVEL_LISTENER_ss01 = OFF
    LISTENER_ss02 =
    (ADDRESS_LIST =
    (ADDRESS= (PROTOCOL= IPC)(KEY=ss02))
    (ADDRESS= (PROTOCOL= IPC)(KEY=PNPKEY))
    (ADDRESS= (PROTOCOL= TCP)(Host=oracle)(Port= 1521))
    STARTUP_WAIT_TIME_LISTENER_ss02 = 0
    CONNECT_TIMEOUT_LISTENER_ss02 = 10
    SID_LIST_LISTENER_ss02 =
    (SID_LIST =
    (SID_DESC =
    (GLOBAL_DBNAME= oracle.)
    (ORACLE_HOME= /u01/app/oracle/product/8.0.5)
    (SID_NAME = ss02)
    (SID_DESC =
    (SID_NAME = extproc)
    (ORACLE_HOME = /u01/app/oracle/product/8.0.5)
    (PROGRAM = extproc)
    TRACE_LEVEL_LISTENER_ss02 = OFF
    null

  • How do I get Application Manager to work correctly?

    Sunday after totally reloading Master Suite CS6 because of problems with Spry tools not working in a new program, used only one week.   Later,I received a application icon and it was going to update the Application program and most other program updates. After hours of watching the box do nothing I opened task manager and found that the Application manager was for the cloud version and not my desktop version that I bought. ( Nice going Adobe People) Here I am 5 days later and the same icon shows up so I choose everything and hit install. Everything downloads and installs fine and this time magically the Application manager is for my desktop version in task manager. After installing I reboot as suggested and programs open up fine, except the Application manager tries to install upon opening the icon but fails to install. (It says it failed to install)  After paying a small fortune for this I am disappointed that I have to waste my time trying to get Adobe software to work properly. Is this not what they have developers for so they can get the bugs out before they release something? Anyway, Is ther some magically way I can get this to work or do I have to wait, hoping the little Application icon comes my way again.

    Read https://discussions.apple.com/thread/3940924?start=0&tstart=0

  • I restored my computer to factory and now I am unable to get flash player to work.

    How do I get flash player to work.  I have trouble shooted it.  It appears to be there - passes test that indicates it is installed.  however when I go to a site where I had crearted a special DVD that I need for cousin's funeral tomorrow, it says I need to update flash player.   ????   I'm am stumped and frustrated.

    What OS?
    What browser?

  • I can not get my mouse to work correctly when using firefox. Works fine on IE

    When I try to use the search bar on home page, my mouse will not click on it. Have same problem with facebook when I try to go back to homepage-it will not click. I do not have this problem when using IE so I know my mouse is working correctly.

    Quit the Mail app.
    Go to the Home screen and double click the Home button. That will reveal the row of recently used apps at the bottom of the screen. Tap and hold on the app in question until it wiggles and displays a minus sign. Tap the minus sign to actually quit the app. Then tap anywhere on the screen above that bottom row to return the screen to normal. Then restart the app and see if it works normally.

  • Need help getting Main method to work...

    Hello everyone, I have a problem, I have a GUI that I need to run (it compiles fine, but will not run.) I am very new to Java and programing in general so go easy on me. I think I am just missing something simple here. I am going to post the basic code and see if you all can help...the issue is in written in red to help you identify my problem...
    public class LagersGUI extends JFrame implements ActionListener,Serializable
    {color:#0000ff}private {color}JTextArea {color:#339966}textArea{color};
    {color:#0000ff}private {color}JButton {color:#339966}start,
    next,
    previous,
    last;{color}
    JLabel {color:#339966}imageLabel{color};
    {color:#0000ff}private static{color} LagersAddInfo {color:#339966}inv{color} = {color:#0000ff}new {color}LagersAddInfo();
    {color:#808080} /**
    * @param arg0
    * @throws HeadlessException
    */{color}
    {color:#0000ff}public {color}LagersGUI( String arg0 ) {color:#0000ff}throws {color}HeadlessException
    {color:#0000ff}super{color}( {color:#ff9900}"Inventory GUI" {color});
    {color:#339966}textArea{color} = {color:#0000ff}new {color}JTextArea( 800,800 );
    JScrollPane scrollPane = new JScrollPane( {color:#339966}textArea{color} );
    textArea.setEditable( {color:#0000ff}false {color});
    scrollPane.setVerticalScrollBarPolicy( JScrollPane.VERTICAL_SCROLLBAR_ALWAYS );
    scrollPane.setPreferredSize( new Dimension( 600, 100 ) );
    JPanel cp = new JPanel();
    cp.setSize( 400, 100 );
    cp.setLayout( new BorderLayout() );
    cp.add( scrollPane,BorderLayout.{color:#339966}CENTER{color} );
    JPanel buttonPanel = new JPanel();
    JPanel buttonPanel1 = new JPanel();
    {color:#339966}start{color} = new JButton( {color:#ff9900}"Start"{color} );
    {color:#339966}start{color}.addActionListener( {color:#0000ff}this {color});
    {color:#339966} next{color} = new JButton( {color:#ff9900}"Next" {color});
    {color:#339966} next{color}.addActionListener( {color:#0000ff}this {color});
    {color:#339966}previous{color} = new JButton( {color:#ff9900}"Previous"{color} );
    {color:#339966} previous{color}.addActionListener( {color:#0000ff}this {color});
    {color:#339966} last{color} = new JButton({color:#ff9900} "Last"{color} );
    {color:#339966} last{color}.addActionListener( {color:#0000ff}this {color});
    buttonPanel.add( {color:#339966}start {color});
    buttonPanel.add( {color:#339966}next {color});
    buttonPanel.add( {color:#339966}previous {color});
    buttonPanel.add( {color:#339966}last {color});
    cp.add( buttonPanel,BorderLayout.{color:#339966}SOUTH {color});
    cp.add( buttonPanel1,BorderLayout.{color:#339966}NORTH {color});{color:#999999}///NewInventory_Test/logo.gif{color}
    java.net.URL u = {color:#0000ff}this{color}.getClass().getClassLoader().getResource({color:#ff9900}"\\NewInventory_Test\\logo.gif"{color});
    ImageIcon icon = {color:#0000ff}new {color}ImageIcon(u);
    {color:#339966}imageLabel{color} = new JLabel( {color:#ff9900}"Inventory View"{color}, icon, JLabel.{color:#339966}CENTER {color});
    cp.add({color:#339966} imageLabel{color},BorderLayout.{color:#339966}WEST{color} );
    {color:#0000ff}this{color}.setContentPane( cp );
    {color:#0000ff}this{color}.setContentPane( cp );
    {color:#0000ff}this{color}.setTitle( "Inventory Program IT 215" );
    {color:#0000ff}this{color}.setDefaultCloseOperation( JFrame.{color:#339966}EXIT_ON_CLOSE{color} );
    {color:#0000ff} this{color}.{color:#339966}textArea{color}.setText({color:#339966}inv{color}.getStart());
    {color:#0000ff} this{color}.setSize(200, 200);
    {color:#0000ff}this{color}.pack();
    {color:#0000ff}this{color}.setVisible( {color:#0000ff}true {color});
    @Override
    {color:#0000ff}public void{color} actionPerformed( ActionEvent e )
    // TODO Auto-generated method stub
    {color:#0000ff} if {color}( e.getActionCommand().equals({color:#ff9900} "Start"{color} ) )
    textArea.setText( {color:#339966}inv{color}.getStart() );
    {color:#0000ff}if {color}( e.getActionCommand().equals( {color:#ff9900}"Next" {color}) )
    textArea.setText({color:#339966}inv{color}.getNext());
    {color:#0000ff}if{color} ( e.getActionCommand().equals( {color:#ff9900}"Previous" {color}) )
    textArea.setText( {color:#339966}inv{color}.getPrevious() );
    {color:#0000ff} if{color} ( e.getActionCommand().equals( {color:#ff9900}"Last"{color} ) )
    textArea.setText({color:#339966}inv{color}.getLast());
    {color:#0000ff}public static {color}LagersAddInfo getInv()
    {color:#0000ff}return{color:#339966} {color}{color}{color:#339966}inv{color};
    {color:#0000ff}public static void{color} setInv( LagersAddInfo inv )
    LagersGUI.{color:#339966}inv {color}= inv;
    {color:#808080} /**
    * @param args
    */{color}
    {color:#0000ff}public static void {color}main( String[] args )
    LagersGUI {color:#ff0000}_inventory_ {color}= {color:#0000ff}new {color}LagersGUI( {color:#ff9900}"Inventory"{color} );{color:#ff0000}//** here's the part I'm having trouble with...inventory is an * unused variable. What other way could I get {color:#000000}main{color} */ method to work?{color}
    }

    This forum can format your code for you and make it easier to read. Simply click the CODE button and two tags will appear. Then paste your code in between the tags. Important, copy code form your source not first post.                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Unable to get refresh-ahead functionality working

    We are attempting to implement a cache with a refresh ahead so that the calling code never experience any latency due to a synchronous load from the cache loader that happens if requesting an object that has expired (so just standard refresh ahead as documented). I can't seem to get the configuration to recognize the refresh ahead setting at all - it behaves the same way regardless of whether or not the <refresh-ahead-factor> setting is included, and never does an asynchronous load. All the other settings in the configuration work as expected. I have included the configuration and what I expect the behaviour to be and what it currently is.
    Is there anything else in other configuration files, etc that needs to set up to enable asynchronous loads via the refresh-ahead-factor? Note I have tried upping the worker threads via the thread-count in tangosol-coherence-override.xml (no difference).
    One thing I couldn't seem to find in the documents is when the asynchronous load will occur. I assume it is near real time after a triggering 'get' after the refresh-ahead-factor, but if not that could explain the behaviour. Is there some setting that controls this, or does it happen as soon as a worker thread gets to it?
    In my tests I am running a single cluster node on my local machine (version 3.3 Grid Edition in Development mode). Note the 20second expiry and .5 refresh-ahead factor is just for test purposes to see behaviour, in production it will be 12hours with a higher refresh factor such as .75.
    Current behaviour (appears to be standard read-through and ignore the refresh-ahead-factor):
    - request for an object that does not exist in cache blocks the calling code until it is loaded and put into the cahce via the cache loader
    - request for an object that exists before the exiry period has passed (before 20 seconds since load in this configuration) since it was loaded returns the object from cache.
    - request for an object that exists after the exiry period has passed (after 20 seconds since load in this configuration) blocks the calling code until it is loaded and put into the cahce via the cache loader.
    - No requests ever appear to trigger asynchronous loads via the cache loader
    Expected behaviour, given the .5 refresh-ahead-factor
    - request for an object that does not exist in cache blocks the calling code until it is loaded and put into the cahce via the cache loader (same as above)
    - request for an object that exists before the exiry period has passed (before 20 seconds since load in this configuration) since it was loaded returns the object from cache, and triggers an asynchronous reload of the object via the cache loader if requested after the refresh ahead factor. So in this example I would expect that if I requested an object out of the cache between 10 - 20 seconds after it was loaded, it would return it from cache immediately and trigger an asynchronous reload of this object via the cache loader.
    - request for an object that exists in cache but has not been requested during the 10-20second period blocks the calling code until it is loaded and put into the cahce via the cache loader.
    Here is the entry from our coherence-cache-config.xml
    <distributed-scheme>
    <scheme-name>rankedcategories-cache-all-scheme</scheme-name>
    <service-name>DistributedCache</service-name>
    <backing-map-scheme>
    <read-write-backing-map-scheme>
    <scheme-name>rankedcategoriesLoaderScheme</scheme-name>
    <internal-cache-scheme>
    <local-scheme>
    <scheme-ref>rankedcategories-eviction</scheme-ref>
    </local-scheme>
    </internal-cache-scheme>
    <cachestore-scheme>
    <class-scheme>
    <class-name>com.abe.cache.coherence.rankedcategories.RankedCategoryCacheLoader</class-name>
    </class-scheme>
    </cachestore-scheme>
    <refresh-ahead-factor>.5</refresh-ahead-factor>
    </read-write-backing-map-scheme>
    </backing-map-scheme>
    <autostart>true</autostart>
    </distributed-scheme>
    <local-scheme>
    <scheme-name>rankedcategories-eviction</scheme-name>
    <expiry-delay>20s</expiry-delay>
    </local-scheme>

    Hi Leonid,
    Yes, it works as expected. refresh-ahead works approximately like this :
    public Object get(Object oKey) {
    Entry entry = getEntry();
    if (entry != null and entry is about to expire) {
    schedule refresh();
    return entry.getValue();
    If you want to reload infrequently accessed entries you can do something like this (obviously this will not work if cache is size limited) :
    <?xml version="1.0"?>
    <!DOCTYPE cache-config SYSTEM "cache-config.dtd">
    <cache-config>
        <caching-scheme-mapping>
            <cache-mapping>
                <cache-name>fdg*</cache-name>
                <scheme-name>fdg-cache-all-scheme</scheme-name>
            </cache-mapping>
        </caching-scheme-mapping>
        <caching-schemes>
            <distributed-scheme>
                <scheme-name>fdg-cache-all-scheme</scheme-name>
                <service-name>DistributedCache</service-name>
                <backing-map-scheme>
                    <!--
                    Read-write-backing-map caching scheme.
                    -->
                    <read-write-backing-map-scheme>
                        <scheme-name>categoriesLoaderScheme</scheme-name>
                        <internal-cache-scheme>
                            <local-scheme>
                                <expiry-delay>10s</expiry-delay>
                                <flush-delay>2s</flush-delay>
                                <listener>
                                        <class-scheme>
                                            <class-name>com.sgcib.fundingplatform.coherence.ReloadListener</class-name>
                                            <init-params>
                                                <init-param>
                                                    <param-type>string</param-type>
                                                    <param-value>{cache-name}</param-value>
                                                </init-param>
                                                <init-param>
                                                    <param-type>com.tangosol.net.BackingMapManagerContext</param-type>
                                                    <param-value>{manager-context}</param-value>
                                                </init-param>
                                            </init-params>
                                        </class-scheme>
                                </listener>
                            </local-scheme>
                        </internal-cache-scheme>
                        <cachestore-scheme>
                            <class-scheme>
                                <class-name>com.sgcib.fundingplatform.coherence.DBCacheStore</class-name>
                            </class-scheme>
                        </cachestore-scheme>
                        <refresh-ahead-factor>0.5</refresh-ahead-factor>
                    </read-write-backing-map-scheme>
                </backing-map-scheme>
                <autostart>true</autostart>
            </distributed-scheme>
            <local-scheme>
                <scheme-name>categories-eviction</scheme-name>
                <expiry-delay>10s</expiry-delay>
                <flush-delay>2s</flush-delay>
            </local-scheme>
        </caching-schemes>
    </cache-config>
    package com.sgcib.fundingplatform.coherence;
    import com.tangosol.net.BackingMapManagerContext;
    import com.tangosol.net.DefaultConfigurableCacheFactory;
    import com.tangosol.net.cache.CacheEvent;
    import com.tangosol.util.MapEvent;
    import com.tangosol.util.MultiplexingMapListener;
    import java.util.Map;
    import java.util.concurrent.ExecutorService;
    import java.util.concurrent.Executors;
    import java.util.concurrent.ThreadFactory;
    * dimitri Nov 26, 2008
    public class ReloadListener extends MultiplexingMapListener
        String                                  m_sCacheName;
        DefaultConfigurableCacheFactory.Manager m_bmmManager;
        ExecutorService m_executorService = Executors.newSingleThreadExecutor(new ThreadFactory()
        public Thread newThread(Runnable runnable)
            Thread thread = new Thread(runnable);
            thread.setDaemon(true);
            return thread;
        public ReloadListener(String sCacheName, BackingMapManagerContext ctx)
            m_sCacheName = sCacheName;
            m_bmmManager =
                (DefaultConfigurableCacheFactory.Manager) ctx.getManager();
        protected void onMapEvent(MapEvent evt)
            if (evt.getId() == MapEvent.ENTRY_DELETED && ((CacheEvent) evt).isSynthetic())
                m_executorService.execute(
                    new ReloadRequest(m_bmmManager.getBackingMap(m_sCacheName), evt.getKey()));
        public void finalize()
            m_executorService.shutdownNow();
        class ReloadRequest implements Runnable
            Map    m_map;
            Object m_oKey;
            public ReloadRequest(Map map, Object oKey)
                m_map  = map;
                m_oKey = oKey;
            public void run()
                m_map.get(m_oKey);
    package com.sgcib.fundingplatform.coherence;
    import java.util.Collection;
    import java.util.Map;
    import java.util.Date;
    import com.tangosol.net.cache.CacheStore;
    import com.tangosol.net.CacheFactory;
    import com.tangosol.net.NamedCache;
    import com.tangosol.util.Base;
    public class DBCacheStore extends Base implements CacheStore
         * Return the value associated with the specified key, or null if the
         * key does not have an associated value in the underlying store.
         * @param oKey key whose associated value is to be returned
         * @return the value associated with the specified key, or
         *         null if no value is available for that key
        public Object load(Object key)
            CacheFactory.log("load(" + key + ") invoked on " + Thread.currentThread().getName(),
                CacheFactory.LOG_DEBUG);
            return new Date().toString();
         * Return the values associated with each the specified keys in the
         * passed collection. If a key does not have an associated value in
         * the underlying store, then the return map will not have an entry
         * for that key.
         * @param colKeys a collection of keys to load
         * @return a Map of keys to associated values for the specified keys
        public Map loadAll(Collection colKeys)
            throw new UnsupportedOperationException();
        public void erase(Object arg0)
    // TODO Auto-generated method stub
        public void eraseAll(Collection arg0)
    // TODO Auto-generated method stub
        public void store(Object arg0, Object arg1)
    // TODO Auto-generated method stub
        public void storeAll(Map arg0)
    // TODO Auto-generated method stub
        // Test harness
        public static void main(String[] asArg)
            try
                NamedCache cache = CacheFactory.getCache("fdg-test");
                cache.get("bar"); // this will not be requested and reloaded by the
                                  // listener
                while (true)
                    CacheFactory.log("foo= " + cache.get("foo"), CacheFactory.LOG_DEBUG);
                    Thread.sleep(1000l);
            catch (Throwable oops)
                err(oops);
            finally
                CacheFactory.shutdown();
        }Regards,
    Dimitri

  • Unable to get my webcam to work with Skype

    Bought a Logitech webcam chat and downloaded the driver from macam - it works fine (at least I can see myself in my monitor!), but cannot get it to work with Skype. In the Skype prefs there is no camera listed, and it shows a black screen.
    I have been in contact with Skype techs, and have had several goes at fixing the problem. The latest, and what prompted the request for help regarding library folders, was the suggestion to delete all Skype files and download the latest version and do a clean install. This was when I found out all the duplication of files in the various folders. I am the only user of this computer - do I really need this folder, the one that looks like a house titled with my name? BTW, desktop folder in my hard drive is empty - the desktop folder in the house has the desktop files!
    I'm confused
    Thanks for any advise

    Hi again, Dodger. YES, you certainly do need your Home folder! NEVER delete that! It contains everything that your computer knows about your user account. Without it, you would have no access to the computer or any of your music, pictures, movies, documents, passwords, etc.,
    You really need to stop looking for parts of OS X to do away with. OS X isn't like OS 9: you can't expect to understand what each of its hundreds of thousands of parts is for. If your hard drive is too small and you're trying to make more space on it, get a bigger drive instead.
    Sorry I can't help you with the main question — I know nothing about Skype or webcams.

Maybe you are looking for