RegEx help requested.

Hello, All.
I am new to Java and I am not much familiar with Java regExp package as well. I am looking into it though. I have a specific question related to Reg Exp creation.
We are in need of parsing a string like "XXX > 6 && YYY> 10" [Meaning variable XXX is greater than 6 and variable YYY is greater than 10 ] please note that this string/condition is dynamic and we need to support the normal operators and AND and OR operator for clubbing the condition.
We are just thinking that whether regex will solve our problem? if so how it can be recommended used and what would be the sample of regex grammer?
Thanks a lot in advance for your help.
Best Regards,
Prasanna.

novice_questions wrote:
Thanks for your reply. It may not have brackets in side the expression.
LHS = will contain alphabets/digits and . [xxx.a1]
RHS = [0-9]
Operator can be [>,<]
But this expression can be combined [AND,OR]
like [exp]+[AND,OR][exp] ..some thing like this.
Thanks,
Prasanna.As already mentioned: you can't use regex for this. You either have to write your own parser or, if the expression stay as simple as you posted, use the existing script engine from Java 1.6.
Here's a small demo:
import javax.script.*;
public class Test {
    public static void main(String[] args) throws Exception {
        ScriptEngine engine = new ScriptEngineManager().getEngineByName("js");
        String expression = "a > 2 && b < 2";
        engine.put("a", 3);
        engine.put("b", 1);
        System.out.println(engine.eval(expression));
}

Similar Messages

  • AT selection-screen on ON HELP-REQUEST

    Hi
    What is normally done in the Selection Screen event :
    AT selection-screen on ON HELP-REQUEST.
    Normally pressing F1 helps gives Documentation present in Data Element assoicated with the field. Exactly in what cases would we be needing to use this event.

    Hi,
    That event is used for search.
    at selection-screen on value-request for p_file.
      call function 'F4_FILENAME'
           exporting
                field_name = 'p_file'
           importing
                file_name  = p_file.
    If you code in the same manner in the selection screen you will able to search and select a file from your work station, so that it will be uploaded in SAP.
    I hope this will help you, if not plzzz be back.
    CHEERS
    If your problem is solved award points and close the thread.

  • PROCESS ON HELP-REQUEST

    Hi
    wat is importance of POH. what If there is no PROCESS ON HELP-REQUEST ?
    Thanks and regards
    - Puneet Sharma.

    To display data element supplement documentation, you must code the following screen flow logic in the POH event:
    PROCESS ON HELP-REQUEST.
      FIELD <f> [MODULE <mod>] WITH <num>.
    After PROCESS ON HELP-REQUEST, you can only use FIELD statements. If there is no PROCESS ON HELP-REQUEST keyword in the flow logic of the screen, the data element documentation for the current field, or no help at all is displayed when the user chooses F1. Otherwise, the next FIELD statement containing the current field <f> is executed.
    If there is screen-specific data element supplement documentation for the field <f>, you can display it by specifying its number <num>. The number <num> can be a literal or a variable. The variable must be declared and filled in the corresponding ABAP program.
    You can fill the variables, for example, by calling the module <mod> before the help is displayed. However, the FIELD statement does not transport the contents of the screen field <f> to the ABAP program in the PROCESS ON HELP-REQUEST event.

  • Process on Help request and Process on value request events examples

    HI All,
               Can anybody please give me some examples of Process on Help request and Process on value request events.
    Thanks in advance

    HI,
    Check programs
    <b>demo_selection_screen_f1</b>.
    <b>demo_selection_screen_f4.</b>
    Regards,
    Sesh

  • Regex help for SQL update statement

    Hello,
    need help from IPS regex guru - trying to build the signature to detect SQL update statement in HTTP requests.
    1) Am I correct with regex below specified as Request-Regex?
    [Uu][Pp][Dd][Aa][Tt][Ee]([%]20|[+])[\x20-\x7e]+[Ss][Ee][Tt]([%]20|[+])[\x20-\x7e]+=
    2) How do I make sure that it detects 'Update' in URI and Arguments only and not in the body on entire webserver response (currently looks like the case)?

    1) It looks correct to me
    2) Typically, the "service HTTP" engine is used to inspect requests and the "TCP string" engine is used to inspect HTTP server responses. If you only want to inspect requests, use the service HTTP engine.

  • Find and Replace Issue Help Requested.

    Hi all. I've been digging around for a couple of days and
    can't seem to figure this one out. For starters, I have already
    looked at the Regular Expression syntax and tried the MS word
    clean-up option, but no luck. We have about 1,500 pages of content.
    They are in DNN, so the pages are created dynamically.
    Unfortunately, the page content was written in Word and then dumped
    in DNN. We are trying to clean up the pages. We are grabbing the
    content from Dot Net Nuke and putting it into Dreamweaver 8.0.2.
    Then we are manually cleaning out things like:
    <?xml:namespace prefix = o ns =
    "urn:schemas-microsoft-com:office:office" />
    and
    <P class=MsoNormal style="MARGIN: 0in 0in 0pt"
    align=left>
    We are using the Find and Replace funtion in Dreamweaver to
    clean out these commands, but I know from the documentation, there
    is an easier way to clean these pages.
    Bottom Line: Since the pages are dynamically built, I know I
    have to grab the page content and put it in Dreamweaver manually
    and then put it back in DNN, but I am trying to find a way (using
    Regular Expressions or something) to look for all the little
    variances of MSO, <?XML, etc. in a straight shot. I would like
    to find a way to use a wild card to look for all tags that have MSO
    or Microsoft or ?XML in them and then replace them with a null
    value. From what I can tell, the Find would have to use a wildcard
    because the advanced find features don't carry what I am looking
    for. Something like Find \<?xml * [<-wildcard] to \> to
    grab the entire tag. The Find tag command doesn't work because the
    tags I need aren't listed. Also, because the content is dynamic, I
    can't do a Fins and Replace against the entire site for these
    commands, but it would be nice to "Find" all of these items with a
    single pass since the "Replace" value is always null.
    The wildcard syntax and multiple Find instances are the main
    questions. The wildcards seem to be character or space specific.
    Sorry for the long explanation - I just don't want to waste
    anyone's time typing responses to things I've already tried to do.
    Thanks in advance for any help. This is my first time back in
    the forums in about 4 years.

    sadamec1 wrote:
    > Well David, you Findmaster - it worked! (At least it
    found and highlighted the
    > code). Now, I need to dig through what you sent me and
    compare it against my
    > regular expression definitions to find out how to grab
    the rest of these
    > phrases. You're the best. Thank you!
    Glad that it did the trick. Just to help you understand what
    I did,
    there are two main sections, as follows:
    <\?xml[^>]+>
    and
    <[^>]+(?=class=Mso)[^>]+>
    They are separated by a vertical pipe (|), so they simply act
    as
    alternatives.
    The first one searches for <?xml followed by anything
    except a closing
    bracket until it reaches the first closing bracket.
    The second one is more complex. It begins with this:
    <[^>]+
    This simply looks for an opening bracket followed by anything
    other than
    a closing bracket. What makes it more intelligent is the next
    bit:
    (?=class=Mso)
    This does a forward search for "class=Mso". It's then
    followed by this
    again:
    [^>]+>
    That finds anything except a closing bracket followed by a
    closing bracket.
    The bit that you need to experiment with is (?=...). It's
    technically
    called a "forward lookaround". The effect is that the second
    half of the
    regex finds <....class=Mso....>.
    David Powers
    Adobe Community Expert
    Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
    http://foundationphp.com/

  • I know, another Time Machine help request

    I get the Time Machine back up error.  I recently purchased a Seagate GoFlex Desk external drive.  Time Machine seemed to recognize it right away.  The following morning I found the dreaded "Time Machine could not complete the backup.  Unable to complete backup. An error occurred while creating the backup folder." 
    I have formatted the external drive per Pondini's step by step; MAC OS Extended (Journaled).  No luck.  Then I downloaded Time Machine Buddy Widget.  I don't know how to copy the error messages in the pop-up.  Apparently it is having an issue with a movie that was downloaded from Itunes. I proceeded to exclude it (band-aid).  However, I will run Time Machine again and it will have a problem with another file.  The error code is consistent; Error (-36)
    Starting standard backup
    Backing up to: /Volumes/TM Backups/Backups.backupsdb
    Event store UUIDs don't match for volume
    No pre-backup thinning needed 135.88 GB requested (including padding), 1.80 TB available
    Your help will be greatly appreciated!

    kenfromlo wrote:
    I get the Time Machine back up error.  I recently purchased a Seagate GoFlex Desk external drive.  Time Machine seemed to recognize it right away.  The following morning I found the dreaded "Time Machine could not complete the backup.  Unable to complete backup. An error occurred while creating the backup folder."
    See #C10 in Time Machine - Troubleshooting (but see the next item first).
    I have formatted the external drive per Pondini's step by step; MAC OS Extended (Journaled).
    Did you select the GUID Partition Map Scheme?  If not, reformat it that way.
    Then I downloaded Time Machine Buddy Widget.  I don't know how to copy the error messages in the pop-up. 
    Click in the message area, select Cmd+A (to select All), then Cmd+C to copy.
    (Or, if you mean the TM failure message, a screen print is fine.)
    Apparently it is having an issue with a movie that was downloaded from Itunes. I proceeded to exclude it (band-aid).  However, I will run Time Machine again and it will have a problem with another file.  The error code is consistent; Error (-36)
    See the pink box in #C3 of Time Machine - Troubleshooting.

  • [regex help]Find EXACT characters in a String.

    Ok, i got this so far ...
    import java.util.regex.Matcher;
    import java.util.regex.Pattern;
    public class Testing2 {
        public static void main(String[] args) {
            Pattern p = Pattern.compile("[wati]");
            String text = "water";
            Matcher m = p.matcher(text);
            if (m.find()) {
                System.out.print("Found !");
    }With that code i got a match, but i ONLY want to find a match if the String matches the EXACTS characters in the Pattern ...
    in this case i got, 'w' 'a' 't' 'i', 'w' 'a' 't', are in water, but 'i' NOT, so i don't want to have a match !
    i don't know how to acomplish this :(
    hope you can help me, thanks in advance :D

    Username7260 wrote:
    Ok, i got this so far ...
    import java.util.regex.Matcher;
    import java.util.regex.Pattern;
    public class Testing2 {
    public static void main(String[] args) {
    Pattern p = Pattern.compile("[wati]");
    String text = "water";
    Matcher m = p.matcher(text);
    if (m.find()) {
    System.out.print("Found !");
    }With that code i got a match, but i ONLY want to find a match if the String matches the EXACTS characters in the Pattern ...
    in this case i got, 'w' 'a' 't' 'i', 'w' 'a' 't', are in water, but 'i' NOT, so i don't want to have a match !
    i don't know how to acomplish this :(AFAIK there's no syntax in regular expressions to accomplish this. Try turning your string into a character array, sorting it, and then do a simple comparison.

  • WLC2106 + LAP1131AG configuration help request

    Greetings Everyone.
    One of my customers asked me to configure a WLC 2106 and 2 LAP 1131AG (lightweight) for corporate/guest Wifi.
    Basicly they want to implement a good wifi connection for internal use and a guest one with different QoS. The two lans
    should both have dhcp but they must bet kept segregated so that none from the Guest wifi can access corporate resources.
    Since i've never configured a WLC from scrath i lightly supposed it would be quite straigh forward as routers and switches from Cisco.
    Unfortunately i was totally wrong.
    I've downloaded the "Cisco Wireless LAN ControllerConfiguration Guide" (Soft.Release 6.0 June 2009) and after i red it i made up this workflow
    for the configurations:
    1) Configure Controller: (via serial)
         -     Set Management Interface parameters (IP- SM - Def GW - Dhcp server IP)
         -     Set Ap-Manager Interface  parameters
         -     Virtual Interface parameters
         -     Set Admin Credentials
         -     Dhcp Configuration (internal and/or external)
    2) Ap registration on the controller
         -     Configure vlan with dhcp request redirection to the dhcp server
    3) Configure Wlan following customer's requests.
         -     Configure Wlan Auth for Corporate/Guest Wifi
         -     Configure QoS for both Wlans
    Unfortunately i'm experiencing issue while trying joining the AP to the WLC.
    It appers that the IT guy of my customer tried to configure one of the Ap.
    In that Ap's flash i find files referring to a "mesh" configuration like:
    mesh_cfg.txt - mesh_port_cfg.txt
    which are not present on the other Ap.
    I've tried to register both the Ap using:
    1) Internal DHCP
    2) External DHCP (microsoft W2k8 R2) 
    3) External DHCP (non cisco router)
    But as a matter of fact they got the ip from dhcp but they don't show up in the WLC GUI.
    So, resuming my issues sounds like:
    1) Can't make Ap join the WLC
    2) There are configuratin file on one Ap that i can't clear
    3) DHCP configuration is probably wrong.
    Since i'm quite lost, i'm ready to learn from anyone who could spare some time helping me out.
    Thank you in advance!
    Regards
    Alessio
    P.S.
    Ap version is the following:
    Cisco IOS Software, C1130 Software (C1130-K9W8-M), Version 12.4(21a)JHB1, RELEASE SOFTWARE (fc1)
    Technical Support: http://www.cisco.com/techsupport
    Copyright (c) 1986-2010 by Cisco Systems, Inc.
    Compiled Wed 11-Aug-10 15:39 by prod_rel_team
    ROM: Bootstrap program is C1130 boot loader
    BOOTLDR: C1130 Boot Loader (C1130-BOOT-M) Version 12.3(8)JEA, RELEASE SOFTWARE (fc2)

    Good Day Everyone.
    After a long fight, the insights of Stephen and Scott  and:
    https://supportforums.cisco.com/docs/DOC-13960  and
    https://supportforums.cisco.com/thread/2003153
    I finally managed to wipe the old configuration and to configure a LAP 1131 attached to one of the POE of the controller.
    After having configured a Wlan and having set the correct DHCP redirection i'm able to connect and get an ip! (WHOA!)
    I've had to set a manual ip address on the AP (let's call AP1 from now on) and to manually point it to the controller.
    I was thinking about using this configuration at the customer's site getting ips from the internal DHCP and thus letting employees using the internal resources of the company.
    With the same idea, i started to configure the second AP (AP2 from now on).
    So i set up a dynamic interface, always on physical port 1 of the controller, gave it an ip address on another class.
    Got into the antenna via console and set an ip accordingly.
    I expected the controller and the antenna to communicate immediately as the AP1 did before BUT:
    LWAPP_CLIENT_ERROR_DEBUG: spamHandleJoinTimer: Did not recieve the Join response
    LWAPP_CLIENT_ERROR_DEBUG: No more AP manager IP addresses remain.
    %SYS-5-RELOAD: Reload requested by LWAPP CLIENT. Reload Reason: DID NOT GET JOIN RESPONSE.
    %LWAPP-5-CHANGED: LWAPP changed state to DOWNXmodem file system is available.
    And keep reloading itself on, and on, and guess? Yes, on.
    I'm sure i took a wrong step somewhere, could someone be so kind to enlighten me about it?
    Thanks in advance!
    Alessio

  • Help Requested - Creating Solaris 10 x64 Virtual Machine on an ESX Server

    Hi All,
    I have been trying to create a Solaris 10 64 bit Virtual Machine on ESX and VMWare server Virtualization Platform.
    One of the forum entries said - The installer doesn't really care. At every boot, the processor type will be determined and a 32-bit or a 64-bit kernel will be run (unless you override it)
    I hence downloaded the iso from http://www.sun.com/software/solaris/get.jsp and I installed it. When I run uname -a command on the terminal, this is what is displayed -
    SunOS unknown 5.10 Generic_127128-11 i86pc i386 i86pc
    This indicates that the kernel is 32 bit right?
    Please help me create the 64 bit VM.
    Thanks in Advance,
    Raj.

    Hi,
    I am having lots of trouble doing a jumpstart
    installation of Solaris 10
    on a T1000 Server.
    My setup
    Using Debian Sarge as the Jumpstart Server ( I have
    used this machine to install Sol 8 and 9 on Sun
    V240/210. Running TFTP Server, RARPD,
    BOOTPARAMD,NFS.
    T1000 - No OS installed.
    Attempted an Install by doing - boot net -v install
    Below is the screen output.
    Rebooting with command: boot net -v install
    Boot device: /pci@7c0/pci@0/network@4 File and args:
    -v install
    100 Mbps FDX Link up
    Requesting Internet Address for 0:14:4f:21:b9:c4
    Requesting Internet Address for 0:14:4f:21:b9:c4
    100 Mbps FDX Link up
    Using RARP/BOOTPARAMS...
    Internet address is: 192.168.2.35
    hostname: sun-server
    domainname: milky
    Found 192.168.2.1 @ 0:20:e0:65:48:3d
    root server: 192.168.2.1 (192.168.2.1)
    root directory:
    /jumpstart/2.10/Solaris_10/Tools/Boot
    Found 192.168.5 @ 0:d:56:10:13:28Don't see any problem here.
    boot: cannot open kernel/sparcv9/unix
    Enter filename [kernel/sparcv9/unix]:
    Do it a favour. Go Sarge box and goto /jumpstart/2.10/Solaris_10/Tools/Boot
    and check do you have required kernel (kernel/sparcv9/unix)
    also check your privilege for the file please.
    I think it is possibly not mounting the nfs share. I
    have already changed the NFS_client variable to 3
    under etc/default/nfs in the Boot directory.
    I would appreciate any help or suggestions.

  • Urgent help requested- MSS

    Hello people,
    consider the following scenario
    work flow is getting triggered to the Line manager (chief) and so on to next agents
    How can we make use of substitution in following scenarios
    scenario1- planned leave by Line manager (I think this can be done using substitution in MSS)
    Scenario 2- Unplanned leave by Line manager
    scenario 3- position of Line manager is vacant
    The workflow i am using is not a standard woprkflow.
    The above scenarios are applicable in case of leave approval and trip request approval.
    Urgent help appreciated.
    Thx

    Forgive if the terms are not excact - my system is not in English.
    For scenario 1: Use substitution rule "receives my tasks" when setting up substitutions in the uWL
    For scenario 2: All managers should have a substitution rule "is my substitute".  Then the substitute can go into the substitution rule and take over the tasks.  This can then be discontinued when manager is back
    For scenario 3: Switch WFLOW VAPOS = X  determines the behaviour when manager position is empty. .  For some reason the switch is not there in standard - but we set it just for this scenario. The Workflow then checks up the hierachy and finds the next manager.
    /Kirsten

  • Help requested with White Balance

    This may come as a surprise to many, but here I am requesting your help, instead of giving it.
    I have filled out a feature request with the following content, already some time ago:
    Would it not be nice to be able to extract the WB settings in K  from the metadata and be able in post to change it to what you should have done during the shoot.
    Say your WB is set to 5600 K, you can extract that from the metadata and with the White Balance effect you can enter a desired setting of say 6100 K. During the shoot you can do that with the Canon XF series, but if you have forgotten to use a warm card instead of the white balance card, this would be a great effect to have. Or in the situation where you simply want a shot to be slightly cooler or warmer, this would be a great feature.
    Interface similar to the scale slider and fully keyframeable. The program monitor should reflect changes in color temperature immediately. Simple, easy to understand, like using a set of Warm Cards after the shoot.
    Retrieval of the color temperatures should not be difficult. It is contained in the metadata:
    It works both with AWB and manual for the XF series. If the camera does not record these data, the effect should be greyed out.
    I request your help to get this feature implemented, since it is pretty simple to implement, is a great help to have when doing multicam work, to fine tune different cameras or to change the atmosphere of a shot. It is far easier than the color correction effects we already have.
    If you agree with me, please fill out a similar feature request. The more requests made, the greater the chance of it being implemented.
    See Feature Request Form

    Harm, I've seen instances of multi-cam shoot cameras that were identical models, using a clone of the settings which still resulted in differences in color.  I've seen this blamed on the chips and the chip manufacturing process.  I've also seen multicam footage from analog cameras that were supposedly balanced before shooting that resulted in shifts.  And then, you have a situation where the atmospherics can alter the color, such as when one camera is close to the action, and the distant camera is shooting through fog or haze that has light shooting through it.
    So again, while you can get in the ballpark with certain regimes, when it comes time to finish, you have to trust your eyes.
    So, for my situation, it's not something that rises to the level of something I'd use enough to warrant a feature request.
    My biggest issue today is that I'd love to see Pr offering bottom-up rendering, the way Avid MC offers it with its Render All option vs. Smart Rendering, which is top down.  I don't like that I have to re-render entire sequences just because I made a little change to an upper layer clip.  That, to me, warrants a concerted campaign or pitchfork mob.
    But, I'll make a pact with you.  If you'll request bottom up rendering, I'll request WB metadata support, OK?

  • In need of Regex help

    Hi,
    I've never used Regex before, and since I currently need to use it for a command-line parser in my server application I thought that I should try to see if anyone feels kind enough to take a couple of minutes and help me out (The regex tutorial is way complicated to get down and study for this tiny purpose).
    I need a regex that will be used with String.split to chop up an input string.
    If the string looks like: get 2.worm from bag
    the result should be:
    get
    2.worm
    from
    bag
    If the string looks like: cast "magic missile" 3.turtle
    the result should look like:
    cast
    magic missile
    3.turtle
    In short, it should never return any whitespace if it is not delimitered with ":s.
    Does it make any sense?
    Grateful for any help I can get.
    Sincerely
    /Viktor Klang

    Try this:
    import java.io.IOException;
    import java.util.Iterator;
    import java.util.LinkedList;
    import java.util.List;
    import java.util.regex.Matcher;
    import java.util.regex.Pattern;
    public class Parser {     
         private static String REGEX          = "([^\\s\"]+)|(\"[^\"]+\")";
        private static String INPUT          = "cast \"magic missile\" 3.turtle";
        private Pattern pattern;
        private Matcher matcher;
        private List lineParts = new LinkedList();
         public void processString(String input) {
            String token = null;
              Integer value = null;
            while ( matcher.find() ) {
                 token = input.substring( matcher.start(), matcher.end() );
                 token = token.replaceAll( "\"", "" );
                 lineParts.add( token );
         public void printResults() {
              Object token = null;
              Integer value = null;
              for (Iterator iter = lineParts.iterator(); iter.hasNext();) {
                   String element = (String) iter.next();
                   System.out.println( element );
         public void doIt() throws IOException {
              pattern = Pattern.compile( REGEX );          
              matcher = pattern.matcher( INPUT );
              processString( INPUT );
              printResults();
         public static void main(String[] args) throws IOException {
              Parser parser = new Parser();
              parser.doIt();
    }

  • Flex Regex Help

    Hi there,
    I have a regular expression that is used to validate names in my application. It's intended to only allow alphanumeric names and spaces. My trouble started when I tried to modify it to also accept other unicode characters (umlauts and whatnot) On the java side of my app the following regex works great:
    "^(\\p{L}+\\p{M}*|\\d+)+\\s*((\\s+\\p{L}+\\p{M}*)*|(\\s+\\d+))*$"
    But due to, I'm guessing, lack of support for \p in AS3's regex engine this doesn't work. Does anyone know how to modify this regular expression to allow flex to recognize valid unicode characters?
    Here's one that I also thought would work but didn't maybe this will be helpful as a starting point.
    "^(\\w+|\\d+|[\\x00-\\x80]+)+\\s*((\\s+\\w+)*|(\\s+\\d+)|(\\s+[\\x00-\\x80]+)*)*$"
    Thanks in advance for any help.

    http://examples.adobe.com/flex3/componentexplorer/explorer.html
    http://examples.adobe.com/flex3/consulting/styleexplorer/Flex3StyleExplorer.html#

  • Help Requested - Agents/Scheduler/Bursting Mode/

    Hello,
    I have OBIEE 11G.
    I have an automated email bursting requirement.
    The details are -
    I have one Table of people's names, address, email id and personal details. These people are not intended to be OBIEE users.
    It is a table with people's names and email id.
    Using each person's id(Pri key), I want to create a personalized email message and send it out to the intended email.
    Sample rows-
    Name: Vikram, Address: 123 abc st, Email: [email protected]
    Name: Ram, Address: 345 xyz st, Email: [email protected]
    message would be
    Hello <vikram>
    <Addr: 123 abc st>
    Welcome!
    Thanks
    And it has to be sent to the email [email protected]
    (( I'm researching more on using the SA system table .. but I really do not want to create them as OBIEE users.))
    I want help in terms of what would be the best way to do that. I need direction to look into.
    Further action:
    Each time a new user is added to the table - the personalized email should be sent to that member. ((Maybe use flags??)
    (I was thinking in terms of Triggers - & is there a way to use scripting for scheduling agents? command line?)
    Please ask more details and I can answer them for help.
    Thanks
    Vikram

    Hi! Thanks for the reply,
    After much googling we've finally found a stable configuration.
    java.args=-server -Xmx768m -Xss64k -Dsun.io.useCanonCaches=false -XX:MaxPermSize=512m -XX:+UseParallelGC -Dcoldfusion.rootDir={application.home}/ -verbose:gc -Xloggc:c:/Jrun4/logs/gc/gcInstance1b.log
    I tried playing with the survivor ratio but came back to the default when I didn't notice much improvement.  In the end what did it (pretty sure) is -Xss to reduce the requests size living on the stack.  Our large initial heap, perm + overhead combined with the default request size was causing the JVM to go over and blow up I think.
    We've been stable for over a month now, the next step for us is to reduce the MaxPermSize a little at a time to find our optimal range.

Maybe you are looking for

  • About ad hoc query in DSP?

    in the edocs of dsp,i read these: An ad hoc query is an XQuery function that is not stored in a data service, but is instead defined by the client application. You can use an ad hoc query to execute any XQuery function, possibly against a data source

  • WLAN Assignment Over Multiple Floors

    Greetings, i have a client who has a number of laptops that will be used across several floors in the same building. The client laptops will physically move location each time they are used but dont need to roam between floors. Im having to use WPA2

  • Webdynpro settings in abap

    Hi All, I worked webdynpro appliction by using net viewer devopler studio for java. I wants to work webdynpro applictions by using abap. for that what can i add in my system .at present R/3 SYSTEM (SAP ERP Central Component 5.0). Thanks, Ram

  • External Editor and File Names

    When I am in Aperture, I do the Open in External Editor to open Photoshop. I then make my changes to the image, and press save then close the file in Photoshop. Now back in Aperture the new image shows up, but it has a new name! I need to keep the sa

  • How can I make insepctor stay on top?

    Is there any way to make the inspector stay on top when I switch between applications? I like to work on Pages and Firefox side by side (dragging text from one to the other ect) but when I click on Firefox, inspector disappears. It's very annoying. T