Dummy (memory) variables

hello experts,
i am new to bpc & script logic.(sap nw 7.0 bpc). i need to use dummy variables to temporarly store values, i've tried to use the prefix ' # ' but not helping it. do you have any suggestions?
thanks in advance.
petercan

Peter,
I can confirm Dzimitry's answer. I did an extensive test of this functionality several months ago and it does not exist in the form you are looking for. Actually, I believe it is possible to assign values to temporary # members in BPC Netweaver MDX. However since there is no *GO statement in BPC Netweaver, it is impossible to read from these temporary members in any useful way.
In BPC MS, the *GO statement seems to write all temporary values into a buffer where they are merged with values on the database, so from the point of view of the script logic it appears that values are on the database itself and participate in roll-ups and other calculations. This was very useful for certain types of calculations. I've seen it used for currency conversion in multiple categories without actually copying LC data, for example. However, this is not possible in the NW version. On the other hand, the NW version does not suffer the same drawbacks from having large volumes of data resident on the database that the MS version does, so you can actually just create your "temporary" data in the application with very little performance impact.
Ethan

Similar Messages

  • Memory Variables

    Good Morning,
    I have need to include the Ticket Number and the contents of one of the form fields in the Subject Line of the "Email Notification" that gets sent when a user submits a form (I use the "Total Responses" number as a ticket number to keep track of support issues).
    I am very new to FormsCentral but I do have a strong programming background. Therefore, the only way I know of to acomplish this would be through the use of memory variables. Unfortunately, I see no way of using variables in FormsCentral. Can anyone here direct me as to how I could accomplish this?
    Thank you,
    Tom

    Hi,
    >>Would it not be possible to save the form, open it in Acrobat and create the variables that way?
    No. The 'Save as PDF Form' in FormsCentral allows you to save the FormsCentral web form in PDF format without the responses or the count of responses.
    >> ..Subject Line of the "Email Notification" that gets...
    The Subject line is a line of static text  with a default string, or a string that the form author types in, it cannot be customized.
    Thanks,
    Lucia

  • Exporting internal table to memory variable

    I need to extract some data within a program into an internal table. Then I need to export the internal table into a memory variable
    Then in another program i need to import this memory variable into another internal table
    How to do the import export into a memory variable

    See the simple example :
    REPORT  ZTEST_AMEM1.
    tables : lfa1.
    data : begin of i_lfa1 occurs 0 ,
           lifnr like lfa1-lifnr,
           name1 like lfa1-name1,
           land1 like lfa1-land1,
           end of i_lfa1.
    start-of-selection.
    select lifnr
           name1
           land1 from lfa1
           into table i_lfa1 up to 100 rows.
    Export
    export i_lfa1 to memory id 'SAP'.
    submit ztest_amem2 and return.
    write:/ 'hello'.
    *& Report  ZTEST_AMEM2
    REPORT  ZTEST_AMEM2.
    data : begin of j_lfa1 occurs 0,
           lifnr like lfa1-lifnr,
           name1 like lfa1-name1,
           land1 like lfa1-land1,
           end of j_lfa1.
    start-of-selection.
    import i_lfa1 to j_lfa1 from memory id 'SAP'.
    loop at j_lfa1.
    write:/ j_lfa1-lifnr,j_lfa1-name1,j_lfa1-land1.
    endloop.

  • Regarding passing memory variable to transaction

    Hi All,
      I have issue regarding passing memory variable to transaction CO02.
    Here i have to create a program in that i have to
    <b>1.</b> <b>Create a memory variable, ZPPI0601_SOL and set it to X</b>.
    2. <b>Then i need to call transaction CO02, here this transaction will hit one USER-EXIT. in that program
    i need to do following</b>
    3.<b>Activate the user exit for transaction CO01, CO07, CO10, CO40 and CO41 or if (memory variable, ZPPI0601_SOL = “X” and Transaction code  = CO02)</b>
    then some code will be there that will be processed.
    and then
    <b>4.If (memory variable, ZPPI0601_SOL = “X” and Transaction code  = CO02): SAP does not provide the values in the user-exit, so we need to get these from the tables:</b>
    <b>i)For RESB-RSNUM = HEADER_TABLE-RSNUM and RESB-XLOEK = “ “ and RESB-KZEAR = “ “ and RESB-BDMNG > 0, get RSPOS, MATNR and BDMNG (these are fields the user-exit gets which corresponds to C04 to C06 in the spreadsheet). Pass these fields thru the same routine as the user-exit (ex: to convert the MATNR to legacy part#).</b>
    Then after finishing USER-EXIT part as above i need to come back to my main program and do following.
    <b>5.After all records have been processed, set memory variable, ZPPI0601_SOL = “ “. Exit</b>
    Can any body tell me how can i do the above.
    Thanks in advance.
    Thanks & Regards,
    Rayeez.

    Hi Shaik,
    export Sy-TCODE TO MEMORY ID 'ZTCODE'.
    Then in use the following in the user exit.
    Data: ZTCODE type SY-TCODE.
    import ZTCODE  FROM MEMORY ID 'ZTCODE'.
    If you want to activate your user exit only in Change/Display mode.
    You can try
    IF T180-TRTYP <> 'H'.
    Endif.
    Lanka
    Message was edited by: Lanka Murthy

  • Call function starting new task - Issue with memory variables

    Hi All,
      From our OIL application we have a call to the core delivery update FM WS_DELIVERY_UPDATE starting new task.Before the call we are exporting a variable to memory and deep inside the FM we have an oil routine which checks the value of this variable to decide on further flow. But since the FM is called in new task the variable is not available here.
    We cannot use the SET GET parameter also as this value can be different for each session.
    Can anyone suggest how to set and get the parameter value in this flow.
    With regards,
    Usha

    Hi again,
    To check whether the FM is running in new task or not - This is what I have tried (this may not be the best way), but it works fine.
    1. The variable to check inside the called FM is SY-CPROG.
    2. This variable will have value.
    RS_TESTFRAME_CALL - If being checked from se37
    Z / Y program                - if called from the original z / y program (WITHOUT new task).
    SAPMSSY1  - if being called using NEW TASK (and no debugging)
    hope this helps.
    Regards,
    Amit Mittal.

  • Memory Variable

    Hello Everybody,
      I have a development server, with 6GB RAM,
    so Please suggest me How to configure the Memory parameter as Follows,
    what is the Base for the same?
    Is depend on Any calculations?
    tta/roll_first =
    ztta/roll_area =
    ztta/roll_extension =
    login/system_client =
    em/global_area_MB =
    zcsa/system_language = E
    em/initial_size_MB =
    em/blocksize_KB =
    em/stat_log_size_MB =
    em/stat_log_timeout =
    abap/heap_area_dia =
    abap/heap_area_nondia =
    abap/heap_area_total =
    abap/heaplimit =
    Thanks
    ganesh

    Hi,
    can you look at this
    [http://help.sap.com/saphelp_nw04/Helpdata/EN/02/96268c538111d1891b0000e8322f96/content.htm]
    [http://help.sap.com/saphelp_nw04/Helpdata/EN/02/96279d538111d1891b0000e8322f96/content.htm]
    Regards,
    Muralidhar

  • How do I create a variable video delay of a live stream...

    I have a live video feed from my webcam in my Flash Application. I have a second video window next to it that I want to place a variable delayed video of the live stream. Therefore, I need to save the video stream in memory/disk and create this variable delay, say 5-60 seconds. As well as, continue to capture the live stream. The camera I am using suppots H.264 encoding.
    How do I create a variable length queue or buffer to hold the video stream coming into the flash application. Do I create a memory variable or write this to disk ? I have been looking over the ActionScript 3.0 documentation and I can not figure out how to code this either way ( as a memory variable or write to disk queue ).
    I want to be able to change the delay, view the delay stream in slow motion and scrub through the delayed stream.
    I would like to do this with out having to use Flash Media Server.
    Thanks,
    Bob

    I am sure it is practically impossible to accomplish that on the client side. Although theoretically it is conceivable to use NetStream.appendBytes() but it requires an extremely complex implementation.
    I suggest you look into FMS DVR capacities:
    http://help.adobe.com/en_US/flashmediaserver/devguide/WS236AE81A-5319-4327-9E44-310A93CA09 C6Dev.html

  • Problem in ABAP memory

    Hi Experts,
    This is problem about ABAP memory.
    I have two programs. Program-A & Program-B
    Program-A sets value to variable and EXPORT command is used to set this variable in memory.
    EXPORT variable TO DATABASE indx(st) ID 'KEYVALUE'.
    Program-B gets variable using IMPORT command from memory.
    IMPORT variable FROM DATABASE indx(st) ID 'KEYVALUE'.
    User runs Program-A in SE38. Program-A calls Program-B using a button click event (SUBMIT).
    The scenario is..
    User1 executes the Program-A,
    which set the variable = User1 in memory.
    User2 executes the Program-A,
    which set the variable = User2 in memory.
    User2 clicks button to call Program-B,
    which imports variable = User2 from memory.
    User1 clicks button to call Program-B,
    which imports variable = User2 from memory.
    (But User1 expects the variable = User1).
    So User1 gets wrong variable value set by another User.
    How to handle this situation?. How to set memory variables user specific? I will appriciate all helpful answers.
    Thanks in advance
    Hari.

    What you are using is global memory, if you don't want other sessions to see it, then you have to use a memeory id instead.  This will work when submittin program b using the SUBMIT statement.
    export variable to memory id 'ZRICHTEST'.
    import variable from memory id 'ZRICHTEST'.
    Or you can simply make your KEYVALUE unique by giving the USERID as part of it.
    Regards,
    Rich Heilman

  • Export- Import to Memory Query

    Hello Everyone,
    I have 2 FMs where one exports variable to memory and other FM imports the same .
    FM A:
      DATA: id    TYPE c LENGTH 10 VALUE 'SWITCH_WO',
            id1   TYPE c LENGTH 10 VALUE 'SWITCH_OP'.
      EXPORT   g_workorder from g_workorder  TO MEMORY ID  id.
      EXPORT   g_operation from g_operation  TO MEMORY ID  id1.
    FM B:
    DATA: id    TYPE c LENGTH 10 VALUE 'SWITCH_WO',
            id1   TYPE c LENGTH 10 VALUE 'SWITCH_OP'.
      IMPORT g_workorder   FROM MEMORY ID  id.
      IMPORT g_operation   FROM MEMORY ID  id1.
    When it export Sy-subrc is 0 but when i import it is 4 , where  can i check memory variable in new debugger.
    Please let me know ,
    Regards,
    Raj

    Hello,
    You can use the Import and export to Memory Id only with the programs and FM which runs in the same session, because that memory is only available in the same session of the memory. Once you have imported say a internal table/work area to some memory id and the session ends the memory is cleared by the Garbage Collector.
    In your case you are using 2 FM each running in different session, Import and Export to memory id will not work for you (as said it works in a single session). Try to use concepts of Shared Memory Object or populate a table (Custom table) and try to retrieve the same from 2nd FM.
    Hope it helps.
    Thanks,
    Jayant

  • Export/Import from Memory

    Sometimes after I export from one program, user exit, etc., then I import in another program, user exit, etc. the field value does not show up. It is usually in two totally unrelated programs, or other, that are in different function groups, but sometimes it works? I need to capture a value in a PAI screen, that later  goes into another user exit. Has anyone had this issue with Import/Export? Is there another way I can tru to pass this parameter to the second program?
        Thank-You.

    Hi TMM,
    You have to consider that the Memory Variables from Program 1 will be released if the session is over and that's why maybe our Program 2 might not get them correctly. If that is the scenario you will need to save your data in maybe a table then use it in program 2.
    Regards,
    Gilberto Li

  • ORA-27102: out of memory Solaris 10 Oracle 11g Container

    Hi,
    I work with SPARCT3 32Gb Ram, Solaris 10. Trabajo con contenedores/zonas.
    I try to install some DB in the same container.
    The max-shm-memory variable set to 8G, 10G, 12G, 14G and 16G but its the same.
    The first installation its work, and i set the SGA to 2G, in the second installation with dbca, it showme the out of memory, i had to turn off the first installation to complete the second.
    When the second has install, i try to startup the first installation but it showme the out of memory.
    # prctl -n project.max-shm-memory -i project 100
    project: 100: pro.oracle
    NAME PRIVILEGE VALUE FLAG ACTION RECIPIENT
    project.max-shm-memory
    privileged 10.0GB - deny -
    system 16.0EB max deny -
    In the alert log only show me this:
    Wed Apr 18 13:03:42 2012
    Adjusting the default value of parameter parallel_max_servers
    from 1280 to 135 due to the value of parameter processes (150)
    Starting ORACLE instance (normal)
    Whe i install and i set the SGA to 2Gb, Oracle get this 2Gb or it wants more?
    Thanks.

    PVOWUSU wrote:
    Result of the command is below:
    [root@AGB-DC-12 ~]# find / -name alert_ghadb.log -print 2>/dev/nul
    /ORACLE/product/10.2.0/db_1/rdbms/log/alert_ghadb.log
    /ORACLE/admin/ghadb/bdump/alert_ghadb.log
    [root@AGB-DC-12 ~]#
    display from /ORACLE/product/10.2.0/db_1/rdbms/log/alert_ghadb.log
    [root@AGB-DC-12 ~]# vi /ORACLE/product/10.2.0/db_1/rdbms/log/alert_ghadb.log
    Tue Mar 20 00:02:21 2012
    Adjusting the default value of parameter parallel_max_servers
    from 1280 to 135 due to the value of parameter processes (150)
    Tue Mar 20 00:03:25 2012
    Shutting down instance (abort)
    Thanks.how many other Oracle DB are currently running on this system?
    who/what made spfile or pfile used to attempt starting this new DB?
    post results from following OS command
    ls -ltr $ORACLE_HOME/dbs/

  • Memory leak after upgrading to ColdFusion 10

    We recently upgraded from CF8 to CF10 and we're running into some issues.  We started off getting a lot of OutOfMemory errors with the default heap settings. Chaning them to 768MB/1280MB which has helped, but we're still running into occasional OOM issues.  We took a heapdump as the instance was having problems today with blocked threads and noticed the heap usage was near the max so it was probably going to run out of memory soon too.  Below is what the eclipse memory analyzer tool found as a possible leak suspect.  Does anyone have any suggestions on where to go from here?  Not sure if it's an issue with CF itself or something in the app.  Thanks
    Description
    One instance of "coldfusion.runtime.ClientScopeServiceImpl" loaded by "coldfusion.bootstrap.BootstrapClassLoader @ 0x120bbaf0" occupies 838,847,880 (88.33%) bytes. The memory is accumulated in one instance of "java.util.HashMap$Entry[]" loaded by "<system class loader>".
    Keywords
    coldfusion.runtime.ClientScopeServiceImpl
    java.util.HashMap$Entry[]
    coldfusion.bootstrap.BootstrapClassLoader @ 0x120bbaf0
    Shortest Paths To the Accumulation Point
    Class Name
    Shallow Heap
    Retained Heap
    java.util.HashMap$Entry[524288] @ 0x3b88e058
    2,097,168
    838,843,064
    table java.util.HashMap @ 0x1212d2f8
    48
    838,843,112
    sharedClientScopeMap coldfusion.runtime.ClientScopeServiceImpl @ 0x1212af08
    88
    838,847,880
    <Java Local> org.apache.tomcat.util.threads.TaskThread @ 0x100f16d8 ajp-bio-51010-exec-20 Thread
    112
    21,624
    <Java Local> org.apache.tomcat.util.threads.TaskThread @ 0x103df100 ajp-bio-51010-exec-36 Thread
    112
    19,552
    <Java Local> org.apache.tomcat.util.threads.TaskThread @ 0x1043f0e0 ajp-bio-51010-exec-72 Thread
    112
    19,392
    <Java Local> org.apache.tomcat.util.threads.TaskThread @ 0x10a8eec0 ajp-bio-51010-exec-83 Thread
    112
    22,288
    <Java Local> org.apache.tomcat.util.threads.TaskThread @ 0x10befce8 ajp-bio-51010-exec-54 Thread
    112
    18,256
    <Java Local> org.apache.tomcat.util.threads.TaskThread @ 0x11d35e18 ajp-bio-51010-exec-5 Thread
    112
    23,776
    <Java Local> org.apache.tomcat.util.threads.TaskThread @ 0x121b97e0 ajp-bio-51010-exec-68 Thread
    112
    18,160
    <Java Local> org.apache.tomcat.util.threads.TaskThread @ 0x123c4f88 ajp-bio-51010-exec-74 Thread
    112
    18,816
    <Java Local> org.apache.tomcat.util.threads.TaskThread @ 0x123c5078 ajp-bio-51010-exec-27 Thread
    112
    19,784
    <Java Local> org.apache.tomcat.util.threads.TaskThread @ 0x12693f30 ajp-bio-51010-exec-75 Thread
    112
    19,208
    <Java Local> org.apache.tomcat.util.threads.TaskThread @ 0x126e7ff8 ajp-bio-51010-exec-26 Thread
    112
    19,200
    <Java Local> org.apache.tomcat.util.threads.TaskThread @ 0x1297dd60 ajp-bio-51010-exec-78 Thread
    112
    20,592
    <Java Local> org.apache.tomcat.util.threads.TaskThread @ 0x12d3a818 ajp-bio-51010-exec-73 Thread
    112
    21,304
    service class coldfusion.runtime.AppHelper @ 0x12fae868 »
    112
    1,032
    clientScope class coldfusion.server.ServiceFactory @ 0x11047060 »
    96
    55,184
    Total: 15 entries
    Accumulated Objects
    Class Name
    Shallow Heap
    Retained Heap
    Percentage
    coldfusion.runtime.ClientScopeServiceImpl @ 0x1212af08
    88
    838,847,880
    88.33%
    java.util.HashMap @ 0x1212d2f8
    48
    838,843,112
    88.33%
    java.util.HashMap$Entry[524288] @ 0x3b88e058
    2,097,168
    838,843,064
    88.33%
    java.util.HashMap$Entry @ 0x25370040
    24
    51,409,128
    5.41%
    java.util.HashMap$Entry @ 0x1b878cf8
    24
    12,173,192
    1.28%
    java.util.HashMap$Entry @ 0x15d049c8
    24
    10,685,760
    1.13%
    java.util.HashMap$Entry @ 0x41af3d98
    24
    10,587,208
    1.11%
    java.util.HashMap$Entry @ 0x3ff95918
    24
    10,443,664
    1.10%
    java.util.HashMap$Entry @ 0x43c422b0
    24
    9,886,280
    1.04%
    java.util.HashMap$Entry @ 0x3eec68a8
    24
    9,723,216
    1.02%
    java.util.HashMap$Entry @ 0x230c3078
    24
    9,254,288
    0.97%
    java.util.HashMap$Entry @ 0x2e36cab8
    24
    6,494,488
    0.68%
    java.util.HashMap$Entry @ 0x45e499e8
    24
    6,178,320
    0.65%
    java.util.HashMap$Entry @ 0x2a91c258
    24
    4,008,048
    0.42%
    java.util.HashMap$Entry @ 0x4260ee28
    24
    3,542,552
    0.37%
    java.util.HashMap$Entry @ 0x3dfb9e98
    24
    3,503,072
    0.37%
    java.util.HashMap$Entry @ 0x43f354a0
    24
    2,908,120
    0.31%
    java.util.HashMap$Entry @ 0x1adfb600
    24
    2,197,056
    0.23%
    java.util.HashMap$Entry @ 0x4469eee0
    24
    2,050,528
    0.22%
    java.util.HashMap$Entry @ 0x4443dea8
    24
    2,034,224
    0.21%
    java.util.HashMap$Entry @ 0x41b79ff0
    24
    1,846,808
    0.19%
    java.util.HashMap$Entry @ 0x40931b50
    24
    1,846,784
    0.19%
    java.util.HashMap$Entry @ 0x40c62310
    24
    1,846,784
    0.19%
    Total: 20 entries
    480
    162,619,520
    0.171
    Accumulated Objects by Class
    Label
    Number of Objects
    Used Heap Size
    Retained Heap Size
    java.util.HashMap$Entry
    First 10 of 190,465 objects
    190,465
    4,571,160
    836,711,024
    java.lang.String
    First 10 of 253 objects
    253
    6,072
    26,408
    java.lang.reflect.Method
    First 10 of 57 objects
    57
    4,560
    4,560
    coldfusion.runtime.ClientScope
    All 1 objects
    1
    56
    2,632
    java.lang.Class[]
    First 10 of 73 objects
    73
    1,248
    1,248
    coldfusion.runtime.ClientScopeKey
    All 1 objects
    1
    24
    24
    java.lang.Class
    All 2 objects
    2
    0
    0
    Total: 7 entries
    190,852
    4,583,120
    836,745,896

    Hi Sharma,
    Here's the settings summary from the console.  The OOM issue is now happening about 1-2 times weekly after increasing the heap size.  Before that it was almost daily.  It seems we can go about 75-85 hours before we restart due to either OOM or blocked threads.
    Settings Summary
    Server Settings > Settings Summary
    Report generated on Sep 25, 2014 12:08 PM
    This report shows the status of all ColdFusion configuration settings. To display the area of the ColdFusion Administrator where you can edit the group settings, click any of the groups in the report.
    System Information
    Server Details
    Server Product ColdFusion
    Version ColdFusion 10,286680
    Edition Enterprise 
    Operating System Windows 2003 
    OS Version 5.2 
    Update Level /D:/ColdFusion10/cfusion/lib/updates/chf10000012.jar 
    Adobe Driver Version 4.1 (Build 0001) 
    JVM Details
    Java Version 1.7.0_15 
    Java Vendor Oracle Corporation 
    Java Vendor URL http://java.oracle.com/ 
    Java Home D:\ColdFusion10\jre 
    Java File Encoding Cp1252 
    Java Default Locale en_US 
    File Separator \ 
    Path Separator ; 
    Line Separator Chr(13) 
    User Name SYSTEM 
    User Home C:\Documents and Settings\Default User 
    User Dir D:\ColdFusion10\cfusion\bin 
    Java VM Specification Version 1.7 
    Java VM Specification Vendor Oracle Corporation 
    Java VM Specification Name Java Virtual Machine Specification 
    Java VM Version 23.7-b01 
    Java VM Vendor Oracle Corporation 
    Java VM Name Java HotSpot(TM) Server VM 
    Java Specification Version 1.7 
    Java Specification Vendor Oracle Corporation 
    Java Specification Name Java Platform API Specification 
    Java Class Version 51.0 
    CF Server Java Class Path ;D:/ColdFusion10/cfusion/lib/updates/chf10000012.jar;  D:/ColdFusion10/cfusion/lib/ant-launcher.jar;  D:/ColdFusion10/cfusion/lib/ant.jar;  D:/ColdFusion10/cfusion/lib/antlr-2.7.6.jar;  D:/ColdFusion10/cfusion/lib/apache-solr-core.jar;  D:/ColdFusion10/cfusion/lib/apache-solr-solrj.jar;  D:/ColdFusion10/cfusion/lib/asm-all-3.1.jar;  D:/ColdFusion10/cfusion/lib/asn1.jar;  D:/ColdFusion10/cfusion/lib/axis.jar;  D:/ColdFusion10/cfusion/lib/backport-util-concurrent.jar;  D:/ColdFusion10/cfusion/lib/bcel-5.1-jnbridge.jar;  D:/ColdFusion10/cfusion/lib/bcel.jar;  D:/ColdFusion10/cfusion/lib/bcmail-jdk14-139.jar;  D:/ColdFusion10/cfusion/lib/bcprov-jdk14-139.jar;  D:/ColdFusion10/cfusion/lib/cdo.jar;  D:/ColdFusion10/cfusion/lib/cdohost.jar;  D:/ColdFusion10/cfusion/lib/certj.jar;  D:/ColdFusion10/cfusion/lib/cf-acrobat.jar;  D:/ColdFusion10/cfusion/lib/cf-assembler.jar;  D:/ColdFusion10/cfusion/lib/cf-logging.jar;  D:/ColdFusion10/cfusion/lib/cf4was.jar;  D:/ColdFusion10/cfusion/lib/cf4was_ae.jar;  D:/ColdFusion10/cfusion/lib/cfusion-req.jar;  D:/ColdFusion10/cfusion/lib/cfusion.jar;  D:/ColdFusion10/cfusion/lib/chart.jar;  D:/ColdFusion10/cfusion/lib/clibwrapper_jiio.jar;  D:/ColdFusion10/cfusion/lib/commons-beanutils-1.8.0.jar;  D:/ColdFusion10/cfusion/lib/commons-codec-1.3.jar;  D:/ColdFusion10/cfusion/lib/commons-collections-3.2.1.jar;  D:/ColdFusion10/cfusion/lib/commons-compress-1.0.jar;  D:/ColdFusion10/cfusion/lib/commons-digester-2.0.jar;  D:/ColdFusion10/cfusion/lib/commons-discovery-0.4.jar;  D:/ColdFusion10/cfusion/lib/commons-httpclient-3.1.jar;  D:/ColdFusion10/cfusion/lib/commons-lang-2.4.jar;  D:/ColdFusion10/cfusion/lib/commons-logging-1.1.1.jar;  D:/ColdFusion10/cfusion/lib/commons-logging-api-1.1.1.jar;  D:/ColdFusion10/cfusion/lib/commons-net-3.0.1.jar;  D:/ColdFusion10/cfusion/lib/commons-vfs2-2.0.jar;  D:/ColdFusion10/cfusion/lib/crystal.jar;  D:/ColdFusion10/cfusion/lib/derby.jar;  D:/ColdFusion10/cfusion/lib/derbyclient.jar;  D:/ColdFusion10/cfusion/lib/derbynet.jar;  D:/ColdFusion10/cfusion/lib/derbyrun.jar;  D:/ColdFusion10/cfusion/lib/derbytools.jar;  D:/ColdFusion10/cfusion/lib/dom4j-1.6.1.jar;  D:/ColdFusion10/cfusion/lib/dpHibernate.jar;  D:/ColdFusion10/cfusion/lib/ehcache-core-2.5.1.jar;  D:/ColdFusion10/cfusion/lib/ehcache-web-2.0.4.jar;  D:/ColdFusion10/cfusion/lib/esapi-2.0.1.jar;  D:/ColdFusion10/cfusion/lib/EWSAPI-1.1.5.jar;  D:/ColdFusion10/cfusion/lib/FCSj.jar;  D:/ColdFusion10/cfusion/lib/flashgateway.jar;  D:/ColdFusion10/cfusion/lib/flex-messaging-common.jar;  D:/ColdFusion10/cfusion/lib/flex-messaging-core.jar;  D:/ColdFusion10/cfusion/lib/flex-messaging-opt.jar;  D:/ColdFusion10/cfusion/lib/flex-messaging-proxy.jar;  D:/ColdFusion10/cfusion/lib/flex-messaging-remoting.jar;  D:/ColdFusion10/cfusion/lib/flex-rds-server.jar;  D:/ColdFusion10/cfusion/lib/geronimo-stax-api_1.0_spec-1.0.1.jar;  D:/ColdFusion10/cfusion/lib/hibernate3.jar;  D:/ColdFusion10/cfusion/lib/httpclient-4.1.1.jar;  D:/ColdFusion10/cfusion/lib/httpclient-cache-4.1.1.jar;  D:/ColdFusion10/cfusion/lib/httpclient.jar;  D:/ColdFusion10/cfusion/lib/httpcore_4.1.2.jar;  D:/ColdFusion10/cfusion/lib/httpmime-4.1.1.jar;  D:/ColdFusion10/cfusion/lib/ib6addonpatch.jar;  D:/ColdFusion10/cfusion/lib/ib6core.jar;  D:/ColdFusion10/cfusion/lib/ib6http.jar;  D:/ColdFusion10/cfusion/lib/ib6swing.jar;  D:/ColdFusion10/cfusion/lib/ib6util.jar;  D:/ColdFusion10/cfusion/lib/im.jar;  D:/ColdFusion10/cfusion/lib/iText.jar;  D:/ColdFusion10/cfusion/lib/iTextAsian.jar;  D:/ColdFusion10/cfusion/lib/izmado.jar;  D:/ColdFusion10/cfusion/lib/jai_codec.jar;  D:/ColdFusion10/cfusion/lib/jai_core.jar;  D:/ColdFusion10/cfusion/lib/jai_imageio.jar;  D:/ColdFusion10/cfusion/lib/jakarta-oro-2.0.6.jar;  D:/ColdFusion10/cfusion/lib/jakarta-slide-webdavlib-2.1.jar;  D:/ColdFusion10/cfusion/lib/java-xmlbuilder-0.4.jar;  D:/ColdFusion10/cfusion/lib/javasysmon-0.3.3.jar;  D:/ColdFusion10/cfusion/lib/jax-qname.jar;  D:/ColdFusion10/cfusion/lib/jaxb-api.jar;  D:/ColdFusion10/cfusion/lib/jaxb-impl.jar;  D:/ColdFusion10/cfusion/lib/jaxb-libs.jar;  D:/ColdFusion10/cfusion/lib/jaxb-xjc.jar;  D:/ColdFusion10/cfusion/lib/jaxrpc.jar;  D:/ColdFusion10/cfusion/lib/jcifs-1.3.15.jar;  D:/ColdFusion10/cfusion/lib/jdom.jar;  D:/ColdFusion10/cfusion/lib/jeb.jar;  D:/ColdFusion10/cfusion/lib/jersey-core.jar;  D:/ColdFusion10/cfusion/lib/jersey-server.jar;  D:/ColdFusion10/cfusion/lib/jersey-servlet.jar;  D:/ColdFusion10/cfusion/lib/jets3t-0.8.1.jar;  D:/ColdFusion10/cfusion/lib/jetty-continuation-7.0.0.v20091005.jar;  D:/ColdFusion10/cfusion/lib/jetty-http-7.0.0.v20091005.jar;  D:/ColdFusion10/cfusion/lib/jetty-io-7.0.0.v20091005.jar;  D:/ColdFusion10/cfusion/lib/jetty-security-7.0.0.v20091005.jar;  D:/ColdFusion10/cfusion/lib/jetty-server-7.0.0.v20091005.jar;  D:/ColdFusion10/cfusion/lib/jetty-servlet-7.0.0.v20091005.jar;  D:/ColdFusion10/cfusion/lib/jetty-servlets-7.0.0.v20091005.jar;  D:/ColdFusion10/cfusion/lib/jetty-util-7.0.0.v20091005.jar;  D:/ColdFusion10/cfusion/lib/jetty-xml-7.0.0.v20091005.jar;  D:/ColdFusion10/cfusion/lib/jintegra.jar;  D:/ColdFusion10/cfusion/lib/jnbcore.jar;  D:/ColdFusion10/cfusion/lib/jpedal.jar;  D:/ColdFusion10/cfusion/lib/js.jar;  D:/ColdFusion10/cfusion/lib/jsch-0.1.44m.jar;  D:/ColdFusion10/cfusion/lib/jsr107cache.jar;  D:/ColdFusion10/cfusion/lib/jsr311-api-1.1.1.jar;  D:/ColdFusion10/cfusion/lib/jta.jar;  D:/ColdFusion10/cfusion/lib/jutf7-0.9.0.jar;  D:/ColdFusion10/cfusion/lib/ldap.jar;  D:/ColdFusion10/cfusion/lib/ldapbp.jar;  D:/ColdFusion10/cfusion/lib/log4j-1.2.15.jar;  D:/ColdFusion10/cfusion/lib/lucene-analyzers-3.4.0.jar;  D:/ColdFusion10/cfusion/lib/lucene-core-3.4.0.jar;  D:/ColdFusion10/cfusion/lib/lucene-highlighter-3.4.0.jar;  D:/ColdFusion10/cfusion/lib/lucene-memory-3.4.0.jar;  D:/ColdFusion10/cfusion/lib/lucenedemo.jar;  D:/ColdFusion10/cfusion/lib/macromedia_drivers.jar;  D:/ColdFusion10/cfusion/lib/mail.jar;  D:/ColdFusion10/cfusion/lib/metadata-extractor-2.4.0-beta-1.jar;  D:/ColdFusion10/cfusion/lib/mlibwrapper_jai.jar;  D:/ColdFusion10/cfusion/lib/msapps.jar;  D:/ColdFusion10/cfusion/lib/mysql-connector-java-commercial-5.1.17-bin.jar;  D:/ColdFusion10/cfusion/lib/namespace.jar;  D:/ColdFusion10/cfusion/lib/nekohtml.jar;  D:/ColdFusion10/cfusion/lib/netty-3.2.5.Final.jar;  D:/ColdFusion10/cfusion/lib/ooxml-schemas.jar;  D:/ColdFusion10/cfusion/lib/pdfencryption.jar;  D:/ColdFusion10/cfusion/lib/poi-contrib.jar;  D:/ColdFusion10/cfusion/lib/poi-ooxml-schemas.jar;  D:/ColdFusion10/cfusion/lib/poi-ooxml.jar;  D:/ColdFusion10/cfusion/lib/poi-scratchpad.jar;  D:/ColdFusion10/cfusion/lib/poi.jar;  D:/ColdFusion10/cfusion/lib/portlet_20.jar;  D:/ColdFusion10/cfusion/lib/postgresql-8.3-604.jdbc3.jar;  D:/ColdFusion10/cfusion/lib/quartz.jar;  D:/ColdFusion10/cfusion/lib/relaxngDatatype.jar;  D:/ColdFusion10/cfusion/lib/ri_generic.jar;  D:/ColdFusion10/cfusion/lib/rome-cf.jar;  D:/ColdFusion10/cfusion/lib/saaj.jar;  D:/ColdFusion10/cfusion/lib/saxon9he.jar;  D:/ColdFusion10/cfusion/lib/serializer.jar;  D:/ColdFusion10/cfusion/lib/slf4j-api-1.5.6.jar;  D:/ColdFusion10/cfusion/lib/slf4j-log4j12-1.5.6.jar;  D:/ColdFusion10/cfusion/lib/smack.jar;  D:/ColdFusion10/cfusion/lib/smpp.jar;  D:/ColdFusion10/cfusion/lib/STComm.jar;  D:/ColdFusion10/cfusion/lib/tagsoup-1.2.jar;  D:/ColdFusion10/cfusion/lib/tika-core-0.6.jar;  D:/ColdFusion10/cfusion/lib/tika-parsers-0.6.jar;  D:/ColdFusion10/cfusion/lib/tools.jar;  D:/ColdFusion10/cfusion/lib/tt-bytecode.jar;  D:/ColdFusion10/cfusion/lib/wc50.jar;  D:/ColdFusion10/cfusion/lib/webchartsJava2D.jar;  D:/ColdFusion10/cfusion/lib/wsdl4j-1.6.2.jar;  D:/ColdFusion10/cfusion/lib/wsrp4j-commons-0.5-SNAPSHOT.jar;  D:/ColdFusion10/cfusion/lib/wsrp4j-producer.jar;  D:/ColdFusion10/cfusion/lib/xalan.jar;  D:/ColdFusion10/cfusion/lib/xercesImpl.jar;  D:/ColdFusion10/cfusion/lib/xml-apis.jar;  D:/ColdFusion10/cfusion/lib/xmlbeans-2.3.0.jar;  D:/ColdFusion10/cfusion/lib/xmpcore.jar;  D:/ColdFusion10/cfusion/lib/xsdlib.jar;  D:/ColdFusion10/cfusion/lib/;  D:/ColdFusion10/cfusion/lib/axis2/axiom-api-1.2.13.jar;  D:/ColdFusion10/cfusion/lib/axis2/axiom-dom-1.2.13.jar;  D:/ColdFusion10/cfusion/lib/axis2/axiom-impl-1.2.13.jar;  D:/ColdFusion10/cfusion/lib/axis2/axis2-adb-1.7.0.jar;  D:/ColdFusion10/cfusion/lib/axis2/axis2-adb-codegen-1.7.0.jar;  D:/ColdFusion10/cfusion/lib/axis2/axis2-codegen-1.7.0.jar;  D:/ColdFusion10/cfusion/lib/axis2/axis2-jaxws-1.7.0.jar;  D:/ColdFusion10/cfusion/lib/axis2/axis2-kernel-1.7.0.jar;  D:/ColdFusion10/cfusion/lib/axis2/axis2-transport-http-1.7.0.jar;  D:/ColdFusion10/cfusion/lib/axis2/axis2-transport-local-1.7.0.jar;  D:/ColdFusion10/cfusion/lib/axis2/commons-fileupload-1.2.jar;  D:/ColdFusion10/cfusion/lib/axis2/commons-io-1.4.jar;  D:/ColdFusion10/cfusion/lib/axis2/geronimo-ws-metadata_2.0_spec-1.1.2.jar;  D:/ColdFusion10/cfusion/lib/axis2/httpcore-4.0.jar;  D:/ColdFusion10/cfusion/lib/axis2/neethi-3.0.2.jar;  D:/ColdFusion10/cfusion/lib/axis2/woden-api-1.0.jar;  D:/ColdFusion10/cfusion/lib/axis2/woden-impl-commons-1.0.jar;  D:/ColdFusion10/cfusion/lib/axis2/woden-impl-dom-1.0.jar;  D:/ColdFusion10/cfusion/lib/axis2/wsdl4j-1.6.2.jar;  D:/ColdFusion10/cfusion/lib/axis2/wstx-asl-3.2.9.jar;  D:/ColdFusion10/cfusion/lib/axis2/XmlSchema-1.4.8.jar;  D:/ColdFusion10/cfusion/lib/axis2/;  D:/ColdFusion10/cfusion/gateway/lib/examples.jar;  D:/ColdFusion10/cfusion/gateway/lib/;  D:/ColdFusion10/cfusion/wwwroot/WEB-INF/flex/jars/cfgatewayadapter.jar;  D:/ColdFusion10/cfusion/wwwroot/WEB-INF/flex/jars/concurrent.jar;  D:/ColdFusion10/cfusion/wwwroot/WEB-INF/flex/jars/;  D:/ColdFusion10/cfusion/wwwroot/WEB-INF/cfform/jars/batik-awt-util.jar;  D:/ColdFusion10/cfusion/wwwroot/WEB-INF/cfform/jars/batik-css.jar;  D:/ColdFusion10/cfusion/wwwroot/WEB-INF/cfform/jars/batik-ext.jar;  D:/ColdFusion10/cfusion/wwwroot/WEB-INF/cfform/jars/batik-transcoder.jar;  D:/ColdFusion10/cfusion/wwwroot/WEB-INF/cfform/jars/batik-util.jar;  D:/ColdFusion10/cfusion/wwwroot/WEB-INF/cfform/jars/commons-discovery.jar;  D:/ColdFusion10/cfusion/wwwroot/WEB-INF/cfform/jars/commons-logging.jar;  D:/ColdFusion10/cfusion/wwwroot/WEB-INF/cfform/jars/concurrent.jar;  D:/ColdFusion10/cfusion/wwwroot/WEB-INF/cfform/jars/flex.jar;  D:/ColdFusion10/cfusion/wwwroot/WEB-INF/cfform/jars/jakarta-oro-2.0.7.jar;  D:/ColdFusion10/cfusion/wwwroot/WEB-INF/cfform/jars/jcert.jar;  D:/ColdFusion10/cfusion/wwwroot/WEB-INF/cfform/jars/jnet.jar;  D:/ColdFusion10/cfusion/wwwroot/WEB-INF/cfform/jars/jsse.jar;  D:/ColdFusion10/cfusion/wwwroot/WEB-INF/cfform/jars/oscache.jar;  D:/ColdFusion10/cfusion/wwwroot/WEB-INF/cfform/jars/; 
    Java Class Path D:\\ColdFusion10\\cfusion\lib\oosdk\lib;
    D:\\ColdFusion10\\cfusion\lib\oosdk\classes;
    D:\ColdFusion10\cfusion\bin\..\runtime\bin\tomcat-juli.jar;
    D:\ColdFusion10\cfusion\bin\cf-bootstrap.jar 
    Java Ext Dirs D:\ColdFusion10\jre\lib\ext;C:\WINDOWS\Sun\Java\lib\ext 
    Printer Details
    Default Printer
    Printers
    Server Information
    General Settings
    Timeout requests Yes 
    Enable Per App Settings Yes 
    Request Time Limit 120 seconds
    Use UUID for CFToken Yes 
    Disable Service Factory No 
    Protect serialized JSON No 
    Protect Serialized JSON Prefix // 
    Missing Template Handler /404b.cfm 
    Site-wide Error Handler /errorCatch.cfm 
    Enable HTTP status codes Yes 
    Enable Global Script Protection Yes 
    ORMSearch Index Directory 
    Default CFForm ScriptSrc Directory /CFIDE/scripts/ 
    Google Map Key 
    Maximum size of post data 100 MB
    Request Throttle Threshold 4 MB
    Request Throttle Memory 200 MB
    Request Tuning
    Simultaneous request limit 20 
    Flash Remoting request limit 5 
    Web Service request limit 20 
    CFC request limit 20 
    CFThread Pool Size 10 
    Maximum number of report threads 8 
    Request Queue Timeout 120 seconds
    Request Queue Timeout Page 
    Caching
    Template cache size 150 templates
    Enable trusted cache No 
    Cached query limit 500
    Save Class Files Yes 
    Client Variable Settings
    Default client variable store ecom 
    Purge Interval 1 hours 7 minutes 
    Client Stores
    Registry 
    Type REGISTRY 
    Description System registry. 
    Purge data after time limit Yes 
    Time limit 90 days
    Disable global updates No 
    ecom 
    Type JDBC 
    Description 
    Purge data after time limit No 
    Time limit 2 days
    Disable global updates Yes 
    Cookie 
    Type COOKIE 
    Description Client based text file. 
    Purge data after time limit Yes 
    Time limit 10 days
    Disable global updates No 
    Memory Variables
    J2EE Sessions No 
    Application Variables
    Enable Application Variables Yes 
    Default Timeout 2,0,0,0 
    Maximum Timeout 2,0,0,0 
    Session Variables
    Enable session variables Yes 
    Default Timeout 0,0,20,0 
    Maximum Timeout 2,0,0,0 
    ColdFusion Mappings
    /gateway   D:\ColdFusion10\cfusion\gateway\cfc 
    /CFIDE   D:\ColdFusion10\cfusion\wwwroot\CFIDE 
    Mail Connection Settings
    Default Server Port 25 
    Connection Timeout 60 seconds
    Spool Interval 30 seconds
    Mail Delivery Threads 10 
    Maintain Connection to Mail Server Yes 
    Spool Messages To disk
    Max Messages Spooled to Memory 50000 
    Default CFMail Charset UTF-8 
    Use SSL Connection No 
    Use TLS No 
    Default Mail Server
    smtp.example.com
    Server smtp.example.com
    Port 25 
    Username 
    Password 
    Backup Mail Servers
    smtp-backup.example.com
    Server smtp-backup.example.com
    Port 25 
    Username 
    Password 
    Mail Logging Settings
    Log Severity warning 
    Log all E-mail messages sent by ColdFusion Yes 
    Charting
    Cache Type disk images
    Maximum number of images in cache 50 images
    Maximum number of charting threads 4 
    Disk cache location D:\ColdFusion10\cfusion\charting\cache 
    Data & Services
    Database Data Sources
    GES 
    CF data source name GES 
    Description 
    Driver MSSQLServer 
    JDBC URL jdbc:macromedia:sqlserver://MSSQL:1433;databaseName=GES;SelectMethod=direct;sendStringPar ametersAsUnicode=false;querytimeout=0;MaxPooledStatements=100
    Username sa 
    Login timeout 30 seconds
    Long text buffer size 64000 
    Timeout 1200 seconds 
    Maintain connections Yes 
    Interval 420 seconds
    Restricted SQL operations 
    Disable connections No 
    cfcodeexplorer 
    CF data source name cfcodeexplorer 
    Description 
    Driver Apache Derby Embedded 
    JDBC URL jdbc:derby:D:\ColdFusion10\cfusion\db\cfcodeexplorer;create=false 
    Username 
    Login timeout 30 seconds 
    Long text buffer size 64000 
    Timeout 1200 seconds
    Maintain connections Yes 
    Interval 420 seconds 
    Restricted SQL operations 
    Disable connections No 
    ecom 
    CF data source name ecom 
    Description 
    Driver 
    JDBC URL jdbc:macromedia:oracle://10.10.120.13:1521;serviceName=ecom;alternateServers=(10.10.120.1 4:1521);loadBalancing=true
    Username user 
    Login timeout 30 seconds
    Long text buffer size 64000 
    Timeout 1200 seconds 
    Maintain connections Yes 
    Interval 420 seconds
    Restricted SQL operations 
    Disable connections No 
    cfbookclub 
    CF data source name cfbookclub 
    Description 
    Driver Apache Derby Embedded 
    JDBC URL jdbc:derby:D:\ColdFusion10\cfusion\db\bookclub;create=false 
    Username 
    Login timeout 30 seconds 
    Long text buffer size 64000 
    Timeout 1200 seconds
    Maintain connections Yes 
    Interval 420 seconds 
    Restricted SQL operations 
    Disable connections No 
    ecomd 
    CF data source name ecomd 
    Description 
    Driver Oracle 
    JDBC URL jdbc:macromedia:oracle://ORACLE:1521;SID=ecomd;AuthenticationMethod=userIDPassword;sendSt ringParametersAsUnicode=false;querytimeout=0;MaxPooledStatements=100
    Username ges 
    Login timeout 30 seconds
    Long text buffer size 64000 
    Timeout 1200 seconds 
    Maintain connections Yes 
    Interval 420 seconds
    Restricted SQL operations 
    Disable connections No 
    GES_New 
    CF data source name GES 
    Description 
    Driver MSSQLServer 
    JDBC URL jdbc:macromedia:sqlserver://MSSQL\MSSQL:1433;databaseName=GES;SelectMethod=direct;sendStr ingParametersAsUnicode=false;querytimeout=0;MaxPooledStatements=100
    Username user 
    Login timeout 30 seconds 
    Long text buffer size 64000 
    Timeout 1200 seconds
    Maintain connections Yes 
    Interval 420 seconds 
    Restricted SQL operations 
    Disable connections No 
    E1_Oracle 
    CF data source name E1 
    Description 
    Driver Oracle 
    JDBC URL jdbc:macromedia:oracle://ORACLE:1516;SID=E1;AuthenticationMethod=userIDPassword;sendStrin gParametersAsUnicode=false;querytimeout=0;MaxPooledStatements=100
    Username user
    Login timeout 30 seconds
    Long text buffer size 64000 
    Timeout 1200 seconds 
    Maintain connections Yes 
    Interval 420 seconds
    Restricted SQL operations 
    Disable connections No 
    cfdocexamples 
    CF data source name cfdocexamples 
    Description 
    Driver Apache Derby Embedded 
    JDBC URL jdbc:derby:D:\ColdFusion10\cfusion\db\cfdocexamples;create=false 
    Username 
    Login timeout 30 seconds 
    Long text buffer size 64000 
    Timeout 1200 seconds
    Maintain connections Yes 
    Interval 420 seconds 
    Restricted SQL operations 
    Disable connections No 
    cfartgallery 
    CF data source name cfartgallery 
    Description 
    Driver Apache Derby Embedded 
    JDBC URL jdbc:derby:D:\ColdFusion10\cfusion\db\artgallery;create=false 
    Username 
    Login timeout 30 seconds
    Long text buffer size 64000 
    Timeout 1200 seconds 
    Maintain connections Yes 
    Interval 420 seconds
    Restricted SQL operations 
    Disable connections No 
    Web Services
    Debugging & Logging
    Debugging Settings
    Enable debugging No 
    Enable Robust Exception Information No 
    Display format classic.cfm 
    Execution times Yes 
    Execution time format summary 
    Execution time highlight threshold 250 ms
    Database activity Yes 
    Exception information Yes 
    Tracing information Yes 
    Timer Information No 
    Variables Yes 
    Variables
    Application Yes 
    CGI Yes 
    Client Yes 
    Cookie Yes 
    Form Yes 
    Request Yes 
    Server No 
    Session No 
    URL Yes 
    Debugging IP Addresses
    Debugging IP Address Restrictions 
    Line Debugger Settings
    Allow Line Debugging NO 
    Debugger Port 5005 
    Max Simultaneous Debugging Sessions 5 
    Logging Settings
    Log directory D:\ColdFusion10\cfusion\logs 
    Maximum file size 5000 KB
    Maximum number of archives 10 
    Log slow pages Yes 
    Slow page time limit 60 seconds
    Log CORBA calls No 
    Log scheduled tasks No 
    Schedule Tasks & Probes
    Scheduled Tasks
    Auto Replenish Notify S9 Order Min Levels Reached 
    Start Date 9/2/2014 
    End Date 
    Interval Daily 
    Start Time 2:05:00 AM 
    URL http://server1.example.com/index.cfm?fuseaction=rfid.SendReplenishEmails 
    Username 
    Timeout 
    Proxy Server 
    Proxy Port 80 
    Save output to file No 
    Publish path 
    Publish filename 
    Resolve URLs No 
    Auto Replenish Notify Customer Badge Replenishment 
    Start Date 9/2/2014 
    End Date 
    Interval Daily 
    Start Time 2:00:00 AM 
    URL http://server1.example.com/uri1/act_notifyUserBadge.cfm 
    Username 
    Timeout 
    Proxy Server 
    Proxy Port 80 
    Save output to file No 
    Publish path 
    Publish filename 
    Resolve URLs No 
    Auto Replenish 
    Start Date 9/2/2014 
    End Date 
    Interval Daily 
    Start Time 2:10:00 AM 
    URL http://server1.example.com/uri1/uri2/uri3/Replenish2.cfm 
    Username 
    Timeout 
    Proxy Server 
    Proxy Port 80 
    Save output to file No 
    Publish path 
    Publish filename 
    Resolve URLs No 
    Contact Updates and Registrations 
    Start Date 9/2/2014 
    End Date 
    Interval 65 
    Start Time 12:05:00 AM 
    URL http://server1.example.com/index.cfm?fuseaction=intCRM.sendCRMObjects 
    Username 
    Timeout 
    Proxy Server 
    Proxy Port 80 
    Save output to file No 
    Publish path 
    Publish filename 
    Resolve URLs No 
    System Probes
    Extensions
    Java Applets
    CFX Tags
    cfx_xml2cfx 
    Tag name cfx_xml2cfx 
    Description
    Type CPP 
    Server library c:\cfusion8\cfx\xml2cfx\cfx_xml2cfx.dll 
    Keep library loaded true 
    Procedure ProcessTagRequest 
    cfx_encrypt_aes 
    Tag name cfx_encrypt_aes 
    Description DB encryption library
    Type CPP 
    Server library C:\cfusion8\cfx\aes\cfx_encrypt_aes.dll 
    Keep library loaded true 
    Procedure ProcessTagRequest 
    cfx_exec 
    Tag name cfx_exec 
    Description
    Type CPP 
    Server library c:\CFusion8\cfx\exec\cfx_exec.dll 
    Keep library loaded true 
    Procedure ProcessTagRequest 
    Custom Tag Paths
    D:\web\app1\app2\app3\activedit3 
    D:\ColdFusion10\cfusion/CustomTags 
    D:\ColdFusion8\CustomTags 
    CORBA
    Selected connector [ none] 
    Connectors
    Event Gateways
    Settings
    Enable Event Gateway Yes 
    Thread Pool Size 10 
    Max Queue Size 25000 
    Gateway Types
    SMS 
    Description Handles SMS text messaging 
    Class coldfusion.eventgateway.sms.SMSGateway 
    Timeout 30 seconds 
    Kill On Timeout Yes 
    XMPP 
    Description Handles XMPP instant messaging 
    Class coldfusion.eventgateway.im.XMPPGateway 
    Timeout 30 seconds
    Kill On Timeout Yes 
    SAMETIME 
    Description Handles Lotus SAMETIME instant messaging 
    Class coldfusion.eventgateway.im.SAMETIMEGateway 
    Timeout 30 seconds 
    Kill On Timeout Yes 
    DirectoryWatcher 
    Description Watches a directory for file changes 
    Class examples.watcher.DirectoryWatcherGateway 
    Timeout 30 seconds
    Kill On Timeout Yes 
    Socket 
    Description Listens on a socket 
    Class examples.socket.SocketGateway 
    Timeout 30 seconds 
    Kill On Timeout Yes 
    CFML 
    Description Handles asynchronous events through CFCs 
    Class coldfusion.eventgateway.cfml.CfmlGateway 
    Timeout 30 seconds
    Kill On Timeout Yes 
    JMS 
    Description Handles Java Messaging Service messages 
    Class examples.JMS.JMSGateway 
    Timeout 30 seconds 
    Kill On Timeout Yes 
    ActiveMQ 
    Description Handles Apache ActiveMQ JMS messages 
    Class examples.ActiveMQ.JMSGateway 
    Timeout 30 seconds
    Kill On Timeout Yes 
    DataServicesMessaging 
    Description Handles Data Services Messaging messages 
    Class coldfusion.eventgateway.flex.FlexMessagingGateway 
    Timeout 30 seconds 
    Kill On Timeout No 
    FMS 
    Description Handles Flash Media Server shared objects 
    Class coldfusion.eventgateway.fms.FMSGateway 
    Timeout 30 seconds
    Kill On Timeout Yes 
    DataManagement 
    Description Notifies Data Management Services of data changes 
    Class coldfusion.eventgateway.flex.FlexDataManagementGateway 
    Timeout 30 seconds 
    Kill On Timeout Yes 
    Security
    CF Admin Authentication
    Enable authentication for the ColdFusion Administrator Yes 
    Allow access to ColdFusion Administrator with a Single password No 
    RDS Authentication
    Enable authentication for RDS access Yes 
    Allow access through RDS with Single password Yes 
    Security Sandboxes
    Enable ColdFusion Security No 
    jvm.config
    # VM configuration
    # Where to find JVM, if {java.home}/jre exists then that JVM is used
    # if not then it must be the path to the JRE itself
    java.home=D:\\ColdFusion10\\jre
    application.home=D:\\ColdFusion10\\cfusion
    # If no java.home is specified a VM is located by looking in these places in this
    # order:
    #  1) ../runtime/jre
    #  2) registry (windows only)
    #  3) JAVA_HOME env var plus jre (ie $JAVA_HOME/jre)
    #  4) java.exe in path
    # Arguments to VM
    java.args=-server  -Xms768m -Xmx1280m -XX:MaxPermSize=192m -XX:+UseParallelGC -Xbatch -Dcoldfusion.home={application.home} -Dcoldfusion.rootDir={application.home} -Dcoldfusion.libPath={application.home}/lib -Dorg.apache.coyote.USE_CUSTOM_STATUS_MSG_IN_HEADER=true -Dcoldfusion.jsafe.defaultalgo=FIPS186Random -Dges.config.serverEnvironment=prod2 -Dges.config.webServerHostName=server1.example.com -Dcom.sun.management.jmxremote.port=8880 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -Dcoldfusion.classPath={application.home}/lib/updates,{application.home}/lib,{application .home}/lib/axis2,{application.home}/gateway/lib/,{application.home}/wwwroot/WEB-INF/flex/j ars,{application.home}/wwwroot/WEB-INF/cfform/jars
    # Comma separated list of shared library path
    java.library.path={application.home}/lib,{application.home}/jintegra/bin,{application.home }/jintegra/bin/international,{application.home}/lib/oosdk/classes/win
    java.class.path={application.home}/lib/oosdk/lib,{application.home}/lib/oosdk/classes

  • Using session variables

    I use this session variable in an application.
    <CFSET Session.CPActive = True>
    I thought that the variable would be deleted when I close the
    browser.
    When I open a new browser window the Session.CPActive is
    still defined and True!!??
    Any comments on this?

    Found the answer herre
    http://livedocs.macromedia.com/coldfusion/7/htmldocs/wwhelp/wwhimpl/common/html/wwhelp.htm ?context=ColdFusion_Documentation&file=00001156.htm
    What is a session?
    A session refers to all the connections that a single client
    might make to a server in the course of viewing any pages
    associated with a given application. Sessions are specific to both
    the individual user and the application. As a result, every user of
    an application has a separate session and has access to a separate
    set of session variables.
    This logical view of a session begins with the first
    connection to an application by a client and ends after that
    client's last connection. However, because of the stateless nature
    of the web, it is not always possible to define a precise point at
    which a session ends. A session should end when the user finishes
    using an application. In most cases, however, a web application has
    no way of knowing if a user has finished or is just lingering over
    a page.
    Therefore, sessions always terminate after a time-out period
    of inactivity. If the user does not access a page of the
    application within this time-out period, ColdFusion interprets this
    as the end of the session and clears any variables associated with
    that session.
    The default time-out for session variables is 20 minutes. You
    can change the default time-out on the Memory Variables page in the
    Server Settings area in the ColdFusion MX Administrator.
    You can also set the time-out period for session variables
    inside a specific application (thereby overruling the Administrator
    default setting) by setting the Application.cfc This.sessionTimeout
    variable or by using the cfapplication tag sessionTimeout
    attribute. However, you cannot set a time-out value for that is
    greater than the maximum session time-out value set on the
    Administrator Memory Variables page.
    For detailed information on ending sessions and deleting
    session variables, see Ending a session.

  • Total memory calculation

    Search over internet and get one calculation on memory request:
    Total Memory =
    Dataserver Executable Size (in bytes) +
    Static Overhead of 1 Mb +
    User Connections x 40,960 bytes +
    Open Databases x 644 bytes +
    Locks x 32 bytes +
    Devices x 45,056 bytes
    Procedure Cache +
    Data Cache
    don't understand this in detail.
    Dataserver Executable Size (in bytes) +   ----how to get this ???
    Static Overhead of 1 Mb +                   ---how to calc this???
    User Connections x 40,960 bytes +     ---can get this from server param: number of user connections
    Open Databases x 644 bytes +           ---can get this from server param: number of worker processes
    Locks x 32 bytes +                            -----can get this from server param: number of locks???
    Devices x 45,056 bytes +                   ----number of devices???
    Procedure Cache +                            ---20% of data cache???
    Data Cache                                       --- decided by app???

    Hi Kent,
    > Dataserver Executable Size (in bytes) +   ----how to get this ???
    > Static Overhead of 1 Mb +                   ---how to calc this???
    Why do you need the exact size of the dataserver executable. This size will change which every new version of the binaries that you would use.
    The best way to check the size of the memory requirements for ASE is to set up the 'max memory' variable. This setting will set the upper limit for the memory allocation in ASE.
    The easiest way to check what is the current memory usage by running
    sp_configure 'total logical memory'
    More details are here:
    How much memory to configure
    All the other parameters are also set by sp_configure.
    When you add some memory to some functionality, the remaining memory from (max memory - total logical memory) will decrease.
    > Locks x 32 bytes +                            -----can get this from server param: number of locks???
    correct
    >Devices x 45,056 bytes +                   ----number of devices???
    correct
    > Procedure Cache +                            ---20% of data cache???
    incorrect
    The procedure cache is set up by 2k page size
    sp_configure 'procedure cache size'
    > Data Cache                                       --- decided by app???
    This is the sum of all your data cache:
    sp_cacheconfig will give you a summary
    HTH,
    Adam

  • Custom graphics in java.awt.ScrollPane

    Hi all,
    I have to draw a custom created image in a scroll pane. As the image is very large I want to display it in a scroll pane. As parts of the image may change within seconds, and drawing the whole image is very time consuming (several seconds) I want to draw only the part of the image that is currently visible to the user.
    My idea: creating a new class that extends from java.awt.ScrollPane, overwrite the paint(Graphics) method and do the drawings inside. Unfortunately, it does not work. The background of the scoll pane is blue, but it does not show the red box (the current viewport is not shown in red).
    Below please find the source code that I am using:
    package graphics;
    import java.awt.Color;
    import java.awt.Graphics;
    import java.awt.ScrollPane;
    import java.awt.event.AdjustmentEvent;
    public class CMyComponent extends ScrollPane {
         /** <p>Listener to force a component to repaint when a scroll bar changes its
          * position.</p>
         private final class ScrollBarAdjustmentListener implements java.awt.event.AdjustmentListener {
              /** <p>The component to force to repaint.</p> */
              private final Component m_Target;
              /** <p>Default constructor.</p>
               * @param Target The component to force to repaint.
              private ScrollBarAdjustmentListener(Component Target) { m_Target = Target; }
              /** <p>Forces to component to repaint upon adjustment of the scroll bar.</p>
               *  @see java.awt.event.AdjustmentListener#adjustmentValueChanged(java.awt.event.AdjustmentEvent)
              public void adjustmentValueChanged(AdjustmentEvent e) { m_Target.paint(m_Target.getGraphics()); }
         public CMyComponent() {
              // Ensure that the component repaints upon changing of the scroll bars
              ScrollBarAdjustmentListener sbal = new ScrollBarAdjustmentListener(this);
              getHAdjustable().addAdjustmentListener(sbal);
              getVAdjustable().addAdjustmentListener(sbal);
         public void paint(Graphics g) {
              setBackground(Color.BLUE);
              g.setColor(Color.RED);
              g.fillRect(getScrollPosition().x, getScrollPosition().y, getViewportSize().width, getViewportSize().height);
         public final static void main(String[] args) {
              java.awt.Frame f = new java.awt.Frame();
              f.add(new CMyComponent());
              f.pack();
              f.setVisible(true);
    }

    Dear all,
    I used the last days and tried several things. I think now I have a quite good working solution (just one bug remains) and it is very performant. To give others a chance to see what I have done I post the source code of the main class (a canvas drawing and implementing scrolling) here. As soon as the sourceforge project is accepted, I will publish the whole sources at there. Enjoy. And if you have some idea for my last bug in getElementAtPixel(Point), then please tell me.
    package internetrail.graphics.hexgrid;
    import java.awt.Canvas;
    import java.awt.Color;
    import java.awt.Graphics;
    import java.awt.Graphics2D;
    import java.awt.Image;
    import java.awt.Point;
    import java.awt.Polygon;
    import java.awt.event.ComponentEvent;
    import java.awt.event.ComponentListener;
    import java.awt.geom.Area;
    import java.awt.image.BufferedImage;
    import java.util.WeakHashMap;
    import java.util.Map;
    /** <p>Hex grid view.</p>
    * <p>Visualizes a {@link IHexGridModel}.</p>
    * @version 0.1, 03.06.2006
    * @author Bjoern Wuest, Germany
    public final class CHexGridView extends Canvas implements ComponentListener, IHexGridElementListener {
         /** <p>Serial version unique identifier.</p> */
         private static final long serialVersionUID = -965902826101261530L;
         /** <p>Instance-constant parameter for the width of a hex grid element.</p> */
         public final int CONST_Width;
         /** <p>Instance-constant parameter for 1/4 of the width of a hex grid element.</p> */
         public final int CONST_Width1fourth;
         /** <p>Instance-constant parameter for 3/4 of the width of a hex grid element.</p> */
         public final int CONST_Width3fourth;
         /** <p>Instance-constant parameter for 1.5 times of the width of a hex grid element.</p> */
         public final int CONST_Width1dot5;
         /** <p>Instance-constant parameter for 4 times of the width of a hex grid element.</p> */
         public final int CONST_Widthquad;
         /** <p>Instance-constant parameter for the height of a hex grid element.</p> */
         public final int CONST_Height;
         /** <p>Instance-constant parameter for 1/2 of the height of a hex grid element.</p> */
         public final int CONST_Heighthalf;
         /** <p>Instance-constant parameter for the double height of a hex grid element.</p> */
         public final int CONST_Heightdouble;
         /** <p>The steepness of a side of the hex grid element (calculated for the upper left arc).</p> */
         public final double CONST_Steepness;
         /** <p>The model of this hex grid </p> */
         private final IHexGridModel m_Model;
         /** <p>A cache for already created images of the hex map.</p> */
         private final Map<Point, Image> m_Cache = new WeakHashMap<Point, Image>();
         /** <p>The graphical area to draw the selection ring around a hex element.</p> */
         private final Area m_SelectionRing;
         /** <p>The image of the selection ring around a hex element.</p> */
         private final BufferedImage m_SelectionRingImage;
         /** <p>The current position of the hex grid in pixels (top left visible corner).</p> */
         private Point m_ScrollPosition = new Point(0, 0);
         /** <p>Flag to define if a grid is shown ({@code true}) or not ({@code false}).</p> */
         private boolean m_ShowGrid = true;
         /** <p>Flag to define if the selected hex grid element should be highlighted ({@code true}) or not ({@code false}).</p> */
         private boolean m_ShowSelected = true;
         /** <p>The offset of hex grid elements shown on the screen, measured in hex grid elements.</p> */
         private Point m_CurrentOffset = new Point(0, 0);
         /** <p>The offset of the image shown on the screen, measured in pixels.</p> */
         private Point m_PixelOffset = new Point(0, 0);
         /** <p>The index of the currently selected hex grid element.</p> */
         private Point m_CurrentSelected = new Point(0, 0);
         /** <p>The width of a buffered pre-calculated image in pixel.</p> */
         private int m_ImageWidth;
         /** <p>The height of a buffered pre-calculated image in pixel.</p> */
         private int m_ImageHeight;
         /** <p>The maximum number of columns of hex grid elements to be shown at once on the screen.</p> */
         private int m_MaxColumn;
         /** <p>The maximum number of rows of hex grid elements to be shown at once on the screen.</p> */
         private int m_MaxRow;
         /** <p>Create a new hex grid view.</p>
          * <p>The hex grid view is bound to a {@link IHexGridModel} and registers at
          * that model to listen for {@link IHexGridElement} updates.</p>
          * @param Model The model backing this view.
         public CHexGridView(IHexGridModel Model) {
              // Set the model
              m_Model = Model;
              CONST_Width = m_Model.getElementsWidth();
              CONST_Height = m_Model.getElementsHeight();
              CONST_Width1fourth = CONST_Width/4;
              CONST_Width3fourth = CONST_Width*3/4;
              CONST_Width1dot5 = CONST_Width*3/2;
              CONST_Heighthalf = CONST_Height/2;
              CONST_Widthquad = CONST_Width*4;
              CONST_Heightdouble = CONST_Height*2;
              CONST_Steepness = (double)CONST_Heighthalf / CONST_Width1fourth;
              m_ImageWidth = getSize().width+CONST_Widthquad;
              m_ImageHeight = getSize().height+CONST_Heightdouble;
              m_MaxColumn = m_ImageWidth / CONST_Width3fourth;
              m_MaxRow = m_ImageHeight / CONST_Height;
              // Register this canvas for various notifications
              m_Model.addElementListener(this);
              addComponentListener(this);
              // Create the selection ring to highlight hex grid elements
              m_SelectionRing = new Area(new Polygon(new int[]{-1, CONST_Width1fourth-1, CONST_Width3fourth+1, CONST_Width+1, CONST_Width3fourth+1, CONST_Width1fourth-1}, new int[]{CONST_Heighthalf, -1, -1, CONST_Heighthalf, CONST_Height+1, CONST_Height+1}, 6));
              m_SelectionRing.subtract(new Area(new Polygon(new int[]{2, CONST_Width1fourth+2, CONST_Width3fourth-2, CONST_Width-2, CONST_Width3fourth-2, CONST_Width1fourth+2}, new int[]{CONST_Heighthalf, 2, 2, CONST_Heighthalf, CONST_Height-2, CONST_Height-2}, 6)));
              m_SelectionRingImage = new BufferedImage(CONST_Width, CONST_Height, BufferedImage.TYPE_INT_ARGB);
              Graphics2D g = m_SelectionRingImage.createGraphics();
              g.setColor(Color.WHITE);
              g.fill(m_SelectionRing);
         @Override public synchronized void paint(Graphics g2) {
              // Caculate the offset of indexes to show
              int offsetX = 2 * (m_ScrollPosition.x / CONST_Width1dot5) - 2;
              int offsetY = (int)(Math.ceil(m_ScrollPosition.y / CONST_Height) - 1);
              m_CurrentOffset = new Point(offsetX, offsetY);
              // Check if the image is in the cache
              Image drawing = m_Cache.get(m_CurrentOffset);
              if (drawing == null) {
                   // The image is not cached, so draw it
                   drawing = new BufferedImage(m_ImageWidth, m_ImageHeight, BufferedImage.TYPE_INT_ARGB);
                   Graphics2D g = ((BufferedImage)drawing).createGraphics();
                   // Draw background
                   g.setColor(Color.BLACK);
                   g.fillRect(0, 0, m_ImageWidth, m_ImageHeight);
                   // Draw the hex grid
                   for (int column = 0; column <= m_MaxColumn; column += 2) {
                        for (int row = 0; row <= m_MaxRow; row++) {
                             // Draw even column
                             IHexGridElement element = m_Model.getElementAt(offsetX + column, offsetY + row);
                             if (element != null) { g.drawImage(element.getImage(m_ShowGrid), (int)(column*(CONST_Width3fourth-0.5)), CONST_Height*row, null); }
                             // Draw odd column
                             element = m_Model.getElementAt(offsetX + column+1, offsetY + row);
                             if (element!= null) { g.drawImage(element.getImage(m_ShowGrid), (int)(column*(CONST_Width3fourth-0.5)+CONST_Width3fourth), CONST_Heighthalf*(row*2+1), null); }
                   // Put the image into the cache
                   m_Cache.put(m_CurrentOffset, drawing);
              // Calculate the position of the image to show
              offsetX = CONST_Width1dot5 + (m_ScrollPosition.x % CONST_Width1dot5);
              offsetY = CONST_Height + (m_ScrollPosition.y % CONST_Height);
              m_PixelOffset = new Point(offsetX, offsetY);
              g2.drawImage(drawing, -offsetX, -offsetY, null);
              // If the selected element should he highlighted, then do so
              if (m_ShowSelected) {
                   // Check if the selected element is on screen
                   if (isElementOnScreen(m_CurrentSelected)) {
                        // Correct vertical offset for odd columns
                        if ((m_CurrentSelected.x % 2 == 1)) { offsetY -= CONST_Heighthalf; }
                        // Draw the selection circle
                        g2.drawImage(m_SelectionRingImage, (m_CurrentSelected.x - m_CurrentOffset.x) * CONST_Width3fourth - offsetX - ((m_CurrentSelected.x + 1) / 2), (m_CurrentSelected.y - m_CurrentOffset.y) * CONST_Height - offsetY, null);
         @Override public synchronized void update(Graphics g) { paint(g); }
         public synchronized void componentResized(ComponentEvent e) {
              // Upon resizing of the component, adjust several pre-calculated values
              m_ImageWidth = getSize().width+CONST_Widthquad;
              m_ImageHeight = getSize().height+CONST_Heightdouble;
              m_MaxColumn = m_ImageWidth / CONST_Width3fourth;
              m_MaxRow = m_ImageHeight / CONST_Height;
              // And flush the cache
              m_Cache.clear();
         public void componentMoved(ComponentEvent e) { /* do nothing */ }
         public void componentShown(ComponentEvent e) { /* do nothing */ }
         public void componentHidden(ComponentEvent e) { /* do nothing */ }
         public synchronized void elementUpdated(IHexGridElement Element) {
              // Clear cache where the element may be contained at
              for (Point p : m_Cache.keySet()) { if (isElementInScope(Element.getIndex(), p, new Point(p.x + m_MaxColumn, p.y + m_MaxRow))) { m_Cache.remove(p); } }
              // Update the currently shown image if the update element is shown, too
              if (isElementOnScreen(Element.getIndex())) { repaint(); }
         /** <p>Returns the model visualized by this grid view.</p>
          * @return The model visualized by this grid view.
         public IHexGridModel getModel() { return m_Model; }
         /** <p>Returns the current selected hex grid element.</p>
          * @return The current selected hex grid element.
         public IHexGridElement getSelected() { return m_Model.getElementAt(m_CurrentSelected.x, m_CurrentSelected.y); }
         /** <p>Sets the current selected hex grid element by its index.</p>
          * <p>If the selected hex grid element should be highlighted and is currently
          * shown on the screen, then this method will {@link #repaint() redraw} this
          * component automatically.</p>
          * @param Index The index of the hex grid element to become the selected one.
          * @throws IllegalArgumentException If the index refers to a non-existing hex
          * grid element.
         public synchronized void setSelected(Point Index) throws IllegalArgumentException {
              // Check that the index is valid
              if ((Index.x < 0) || (Index.y < 0) || (Index.x > m_Model.getXElements()) || (Index.y > m_Model.getYElements())) { throw new IllegalArgumentException("There is no hex grid element with such index."); }
              m_CurrentSelected = Index;
              // If the element is on screen and should be highlighted, then repaint
              if (m_ShowSelected && isElementOnScreen(m_CurrentSelected)) { repaint(); }
         /** <p>Moves the visible elements to the left by the number of pixels.</p>
          * <p>To move the visible elements to the left by one hex grid element, pass
          * {@link #CONST_Width3fourth} as the parameter. The component will
          * automatically {@link #repaint()}.</p>
          * @param Pixels The number of pixels to move to the left.
          * @return The number of pixels moved to the left. This is always between 0
          * and {@code abs(Pixels)}.
         public synchronized int moveLeft(int Pixels) {
              int delta = m_ScrollPosition.x - Math.max(0, m_ScrollPosition.x - Math.max(0, Pixels));
              if (delta != 0) {
                   m_ScrollPosition.x -= delta;
                   repaint();
              return delta;
         /** <p>Moves the visible elements up by the number of pixels.</p>
          * <p>To move the visible elements up by one hex grid element, pass {@link
          * #CONST_Height} as the parameter. The component will automatically {@link
          * #repaint()}.</p>
          * @param Pixels The number of pixels to move up.
          * @return The number of pixels moved up. This is always between 0 and {@code
          * abs(Pixels)}.
         public synchronized int moveUp(int Pixels) {
              int delta = m_ScrollPosition.y - Math.max(0, m_ScrollPosition.y - Math.max(0, Pixels));
              if (delta != 0) {
                   m_ScrollPosition.y -= delta;
                   repaint();
              return delta;
         /** <p>Moves the visible elements to the right by the number of pixels.</p>
          * <p>To move the visible elements to the right by one hex grid element, pass
          * {@link #CONST_Width3fourth} as the parameter. The component will
          * automatically {@link #repaint()}.</p>
          * @param Pixels The number of pixels to move to the right.
          * @return The number of pixels moved to the right. This is always between 0
          * and {@code abs(Pixels)}.
         public synchronized int moveRight(int Pixels) {
              int delta = Math.min(m_Model.getXElements() * CONST_Width3fourth + CONST_Width1fourth - getSize().width, m_ScrollPosition.x + Math.max(0, Pixels)) - m_ScrollPosition.x;
              if (delta != 0) {
                   m_ScrollPosition.x += delta;
                   repaint();
              return delta;
         /** <p>Moves the visible elements down by the number of pixels.</p>
          * <p>To move the visible elements down by one hex grid element, pass {@link
          * #CONST_Height} as the parameter. The component will automatically {@link
          * #repaint()}.</p>
          * @param Pixels The number of pixels to move down.
          * @return The number of pixels moved down. This is always between 0 and
          * {@code abs(Pixels)}.
         public synchronized int moveDown(int Pixels) {
              int delta = Math.min(m_Model.getYElements() * CONST_Height + CONST_Heighthalf - getSize().height, m_ScrollPosition.y + Math.max(0, Pixels)) - m_ScrollPosition.y;
              if (delta != 0) {
                   m_ScrollPosition.y += delta;
                   repaint();
              return delta;
         /** <p>Checks if the hex grid element of the given index is currently
          * displayed on the screen (even just one pixel).</p>
          * <p>The intention of this method is to check if a {@link #repaint()} is
          * necessary or not.</p>
          * @param ElementIndex The index of the element to check.
          * @return {@code true} if the hex grid element of the given index is
          * displayed on the screen, {@code false} if not.
         public synchronized boolean isElementOnScreen(Point ElementIndex) { return isElementInScope(ElementIndex, m_CurrentOffset, new Point(m_CurrentOffset.x + m_MaxColumn, m_CurrentOffset.y + m_MaxRow)); }
         /** <p>Checks if the hex grid element of the given index is within the given
          * indexes.</p>
          * <p>The intention of this method is to check if a {@link #repaint()} is
          * necessary or not.</p>
          * @param ElementIndex The index of the element to check.
          * @param ReferenceIndexLeftTop The left top index of the area to check.
          * @param ReferenceIndexRightBottom The right bottom index of the area to check.
          * @return {@code true} if the hex grid element of the given index is within
          * the given area, {@code false} if not.
         public synchronized boolean isElementInScope(Point ElementIndex, Point ReferenceIndexLeftTop, Point ReferenceIndexRightBottom) { if ((ElementIndex.x >= ReferenceIndexLeftTop.x) && (ElementIndex.x <= ReferenceIndexRightBottom.x) && (ElementIndex.y >= ReferenceIndexLeftTop.y) && (ElementIndex.y <= (ReferenceIndexRightBottom.y))) { return true; } else { return false; } }
         /** <p>Return the {@link IHexGridElement hex grid element} shown at the given
          * pixel on the screen.</p>
          * <p><b>Remark: There seems to be a bug in retrieving the proper element,
          * propably caused by rounding errors and unprecise pixel calculations.</p>
          * @param P The pixel on the screen.
          * @return The {@link IHexGridElement hex grid element} shown at the pixel.
         public synchronized IHexGridElement getElementAtPixel(Point P) {
              // @FIXME Here seems to be some bugs remaining
              int dummy = 0; // Variable for warning to indicate that there is something to do :)
              // Calculate the pixel on the image, not on the screen
              int px = P.x + m_PixelOffset.x;
              int py = P.y + m_PixelOffset.y;
              // Determine the x-index of the column (is maybe decreased by one)
              int x = px / CONST_Width3fourth + m_CurrentOffset.x;
              // If the column is odd, then shift the y-pixel by half element height
              if ((x % 2) == 1) { py -= CONST_Heighthalf; }
              // Determine the y-index of the row (is maybe decreased by one)
              int y = py / CONST_Height + m_CurrentOffset.y;
              // Normative coordinates to a single element
              px -= (x - m_CurrentOffset.x) * CONST_Width3fourth;
              py -= (y - m_CurrentOffset.y) * CONST_Height;
              // Check if the normative pixel is in the first quarter of a column
              if (px < CONST_Width1fourth) {
                   // Adjustments to the index may be necessary
                   if (py < CONST_Heighthalf) {
                        // We are in the upper half of a hex-element
                        double ty = CONST_Heighthalf - CONST_Steepness * px;
                        if (py < ty) { x--; }
                   } else {
                        // We are in the lower half of a hex-element
                        double ty = CONST_Heighthalf + CONST_Steepness * px;
                        if (py > ty) {
                             x--;
                             y++;
              return m_Model.getElementAt(x, y);
    }Ah, just to give you some idea: I use this component to visualize a hex grid map with more than 1 million grid elements. And it works, really fast, and requires less than 10 MByte of memory.

Maybe you are looking for

  • Proforma Invoice program ---delivery related with billing block on SO

    Hi, I need some help on Profoma Invoice--delivery related. I have created a Sales order with Billing block, then created delivery and picking,handling but no PGI. Now I am trying to create a Proforma invoice for delivery (before PGI ), I can  create

  • What is it with the new India Unlimited Plan?

    Today when i was checking the subscriptions to India i found that there is a new plan called India Unlimited for 19.99 USD/month. I want to know more about this plan. When i checked it in the list of unlimited world countries... India is not listed t

  • Can I connect two actiontec mI424wr via coax?

    I have a new addition in my home, with an home entertainment area with poor reception from my current actiontec router.   I have acquired a second Actiontec off eBay that I want to connect to my coax in the new addition so I can add some "wired" ethe

  • ALV display in report

    Hi All, I m trying to display ALV in report using classes but i m not able to do it. I have used following classes for alv display along with its method. 1. cl_gui_custom_container 2.  cl_gui_alv_grid and its method set_table_for_first_display I have

  • Display Weather in Portlet

    How can I display weather for specific cities in my portlet? null