Tweaking regexp

Greetings all...
After carefully searching the forums back and forth, I have been able to eliminate many of my problems - So thank you all
There is one issue I have not been able to resolve, however... It is regarding a regular expression top validate an E-mail address - The user can enter numbers in the field and nothing else - not even the '@' or a separating '.' and it is validated as a correct entry
The validation script is placed on a checkbox which the user must check in order to confirm the E-mail address.
This is the regular expression I am using:
/^[a-zA-Z][\w\.-]*[a-zA-Z0-9]@[a-zA-Z0-9][\w\.-]*[a-zA-Z0-9]\.[a-zA-Z][a-zA-Z\. ]*[a-zA-Z]$/´
Thank you ín advance
/Morten

I am terribly sorry, but that character is a typing error on my part - It is not included in the original script
var re = /^[a-zA-Z][\w\.-]*[a-zA-Z0-9]@[a-zA-Z0-9][\w\.-]*[a-zA-Z0-9]\.[a-zA-Z][a-zA-Z\. ]*[a-zA-Z]$/
var t1 = this.getField("curr_addr").value;
var t2 = this.getField("new_addr").value;
if (t2 == "" || t2 == t1) {
    app.alert("Hvis du ikke har ændringer til din e-mail adresse skal du ikke markere dette felt");
    this.resetForm("new_addr_validate");
} else {
    if (t2.length >= 0) {
        if (re.test(t2)) {
            //Field is valid
        } else {
            app.alert ("Den indtastede Email adresse er ikke gyldig - Indtast venligst en korrekt formateret Email adresse som f.eks. '[email protected]'");
            this.resetForm("new_addr");
            this.resetForm("new_addr_validate");

Similar Messages

  • [svn:bz-trunk] 11030: Tweak the deserialization of ASObjects to treat an empty string for the type of an object as null .

    Revision: 11030
    Author:   [email protected]
    Date:     2009-10-20 11:35:02 -0700 (Tue, 20 Oct 2009)
    Log Message:
    Tweak the deserialization of ASObjects to treat an empty string for the type of an object as null. It appears that there is some logic in the LC remoting code that relies on a non-null class name to always exist. This change reverts to the old behavior of not allowing empty string as a value for the ASObject.namedType.
    This should fix bug 2448442 and its duplicates caused by the recent serialization changes.
    I don't think this is the perfect fix. Pending further investigation, a better fix would be either:
    a. If it's OK to assume that empty string should always mean null for the type of the ASObject, the code that enforces it should be in the setter/getter inside ASObject and not in the deserializer.
    b. ASObject doesn't guarantee that a named type exists or is valid. In that sense an empty string is as bad as some random characters that cannot be a valid class name in java, so depending on how disruptive it may be, the fix should be in any logic that uses ASObject.getType().
    Modified Paths:
        blazeds/trunk/modules/core/src/flex/messaging/io/amf/AbstractAmfInput.java

    Hi Pavan,
    "In your payload there is no namespace prefix for the elements under PayloadHeader element."
    Yes, you are right - but this message is standard AQ Adapter Header message - it's not defined by me. I just used message which was automatically added to my project when I have defined AQ Adapter.
    "In your process is the default namespace is same as namespace value of tns ??"
    Do you mean targetNamespace? If yes it's different as it points to process "targetNamespace="http://xmlns.oracle.com/PF_SOA_jws/PF_APPS/APPS_PROCESS" (names of application and process have changed as I try different ways to do that)
    ns1 is: xmlns:ns1="http://xmlns.oracle.com/pcbpel/adapter/aq/PF_SOA/PF_APPS/PO_AQ"
    "another thing is tns and ns1 should have same values.."
    When I create a variable of header type, namespace ns1 is automatically created for it. I set it as property of receive activity. When process is instantiated on the serwer I get the error in which you can see that namespace is tns.
    Maybe I'm doing something wrong but I don't see how I could fix this in my process.
    You can see that the message I get on the server has nothing in common with the application/project/process names. Is it possible to define such variable?
    Regards
    Pawel
    PS:
    In Transformation xsl file, both variables (source and target) has tns namespace for Header and PayloadHeader, and no namespace for subfields.
    Edited by: pawel.fidelus on 2010-01-05 02:37

  • I don't want to fix, tweak, adjust, or God forbid, REINSTALL anything.

    I bought Adobe Premier Elements 7 with a new Dell XPS Studio with MS Vista, 12 GB RAM, 1 TB of disk space, and 1GB of video RAM. It came pre-installed. PE7 barely runs. Most times, I do not get to the "Share" phase because PE7 says there is an unexpected error and shuts down. I even get MS Visual Studio C++ Runtime errors. The dialog says MS is looking for a "solution", but it never responds that one was found. Other times, the Open Project fails, so that I cannot even open a saved project. Very frustrating. Normal (i.e. non-esoteric) program usage like adding scene transitions, or merely clicking on the scene scroll bar also causes the program to crash, but even that is not the worst. The worst comes after three hours of video crunching, the disk write fails causing all that time to be lost.
    Even with my powerful PC, I've taken all the normal precautions-- I run nothing else concurrently, only on a fresh startup or re-boot etc., but none of this seems to have any effect.
    I cannot imagine how or why a company like Adobe would release a program like this that is so not ready for prime time.
    UPDATE: After hours of re-doing yet another project, the program failed while processing the video during pre-burn processing. After walking away from the computer, I returned to find it re-booted and now although Premier Elements itself will start, that project will no longer load, causing a fatal error that causes the program to close. I've once again lost hours.
    Frankly, I'm not in the mood for yet another lame "fix."  The program (pre-installed by Dell) does not work on a brand new, top-of-the-line Dell. I don't want to fix, tweak, adjust, or God forbid, REINSTALL anything. How can I get my money back?

    Venting and a loud rant is good for the body, the mind, and the soul.
    We've all been there.
    After all the rants, the sad part is that nothing has changed to enhance your video editing experience.
    That being said, it might be something as simple as the source of your video assets, Project Presets, or exceeding the limitations of the application.
    If you decide to post some additional details, you may be pleasantly surprised at the help available on this Forum to get you to the primised land...

  • How to configure and tweak Safari settings on iPad Mini?

    Using my wife's iPad mini, it seems there are no setttings or ability to tweak or change the look and feel and especially the font size for the browser. I am not talking about the website text that shows up on any site visited but the text at the top of the browser, the names of bookmarked sites and so forth, the icons as well.
    Also, there is no HOME icon, no TABS icon to open a new tab,there is no History icon or option, same as View, Edit or File or even a Help link or icon/option. Safari settings on a laptop include a bookmark bar, menu bar and status bar you can include or disable, but on the iPad mini there are no such options. I just looked at the email program or app on the iPad and the time is showing at the very top center and it is so tiny even with reading glasses it still looks small.
    It's a shame, that I might have to download something to get this looking the way I need it.
    Thanks for any helpful suggestions!
    Jeff

    This is a rather unorthodox suggestion, but if the UI itself is physically too small and your iPad mini is a recent purchase, you might consider exchanging it for an iPad Air (or iPad 2).  The UI will be bigger, which may be enough to make the browsing experience more usable.
    I think you'll find that buttons will be smaller across most (if not nearly all) apps on iPad mini compared to iPad Air (or previous full-size iPads), so you may run into similar issues in other apps.
    Regarding a Home button in Safari, in addition to Meg's suggestions:
    1. You may enable the Favorites toolbar in Settings > Safari by changing the Show Favorites Bar setting to ON.  The list of sites is managed through a special folder in Bookmarks in Safari.
    2. There is also a list of Favorites when opening a new tab (the grid of icons that appears in a new tab).  This is also managed by a special folder in Bookmarks in Safari, but a separate folder from the toolbar folder.
    Good luck!

  • Search and Replace String throwing the wrong error message with regexp?

    This came up in a LAVA thread, and I'm not sure if there's a bug here or not. When using Search and Replace string, and using a regular expression of [(G[b|i])], LabVIEW throws error -4622, "There is an unmatched parenthesis in a regular expression."  There are obviously no unmatched parenthesis in that expression, so it seems to me that the wrong error is being thrown. I'm just not sure if that's a syntactically valid regexp. The problem seems to be with nesting [ ]'s inside ( )'s inside [ ]'s. I've tried a couple of regexp resources on the Web, and one suggests it's valid, while the other seems to think it isn't.
    Message Edited by eaolson on 03-13-2007 10:33 AM
    Attachments:
    ATML_StandardUnit2.vi ‏10 KB
    regexp.png ‏5 KB

    adambrewster wrote:
    I think your regexp is invalid.
    In regexps, brackets are not the same as parentheses.  Parens are for grouping, while brackets are for matching one of a class of characters.  Brackets can not be nested.
    If the regexp is replaced with [G[bi]], there is no error, so it's not a matter of nested brackets. I couldn't find anything on the PCRE man page that forbids nested brackets specifically, but it makes sense.
    Your expression "[(G[bi])]", therefore parses as a character class which matches '(', 'G', '[', 'b', or 'i' followed by an unmatched paren, and an unmatched bracket.
    I don't believe that's the case. Replace the regexp with [(Gbi)], and the error goes away. So it's not a matter of the '(' being literal, and then encountering a ')' without a matching '('.
    daveTW wrote:
    what string exactly you want to replace? I think the round braces are not right in this case, since they mark partial matches which are given back by "match regular expression". But you don't want to extract parts of the string, you want to replace them (or delete, with empty <replace string>). So if you leave the outer [( ... )] then your RegEx means all strings with either "Gb" or "Gi".
    It's not my regular expression. A poster at LAVA was having problems with one of his (a truly frightening one), and this seemed to be the element that was causing the problem. I'm pretty sure that the originator of the regexp meant to use G(b|i), which seems like a complicated way of matching "Gb" or "Gi", if you ask me.

  • For itunes 11: movie that are not purchased via itunes are loaded into and catagorized as "home videos". I want all of my movies in one spot under Movies as they always were. How can i tweak this?

    for itunes 11: movie that are not purchased via itunes are now loaded into and catagorized as "home videos". I want all of my movies in one spot under Movies as they always were. How can i tweak/resolve this?

    Cdaver wrote:
    I have this issue too and want the same result, another feed suggests selecting the movie, going to get info, and changing this under options, but I suppose you have to do that movie by movie.
    You can select all the movies you want and change them at once.

  • RegExp not working like it should

    Maybe I just need another pair of eyes looking at this, but I have a RegExp instance that should work according to multiple tools on the web but it's not matching when it should in my application.  The expression should match if there isn't any leading or trailing spaces.  Here's a code snippet:
    var regexp:RegExp = new RegExp("^\S.*\S$|^\S(?!.)", "s");
    if(regexp.exec("Hello World") == null)
         trace("NO MATCH");
    Using tools such as Grant Skinners RegExr (http://gskinner.com/RegExr/) it appears that the previous code should get a match.  Does anyone see an issue or know why it isn't working?

    Hi All,
    while assigning value to a RegEx in constructor itself, we can either specify pattern (for which we need not  escape already escaped character)
    like
    var regexp:RegExp = new RegExp(/^\S.*\S$|^\S(?!.)/s)
    or we can specify a string (for which we need to escape already escaped characters)
    like
    var regexp:RegExp = new RegExp("^\\S.*\\S$|^\S(?!.)","s")
    Regards,
    Abihshek Chaudhary

  • Hp 550 upgrade of memory and cpu with possible unconventi​onal tweaks. not ideal, but no other choice

    HI guys, I hope you can help or at least give a point in the right direction.I'm a freelance photographer using much of the Adobe CS6 creative suite. After a disaster of a week I came home to find that the mother board on my editing workstation somehow is fried. I have no idea what happened though i wouldn't put it past my roommates carelessness.
    I'm desperate. I need to finish my current job before I am able to afford to buy a replacement. So I am forced to rely on stopgap measures, out of desperation to finish my project, which are less than ideal, but so far are faring better than I'd hoped.
    Im a photographer, Capture One, Adobe Photoshop Lightroom, Adobe Photoshop and Premiere Pro are the go to workhorse applications i need to work. without them i have no income. in order to have this machine run these apps,
    the machine i have left is an old hp 550 which was gathering dust in the closet. It was built for 32 bit Win XP and in no way is intended to run the power hog adobe products I use, especially Lightroom.
    Unfortunately Lightroom PS, and Premiere are 64 bit programs and LR and Premiere are hyper threaded. so I did research, and with the help of the windows 7 upgrade adviser utility's list of instructions I was able to get windows 7 Pro 64 bit to install and run.
    I know this isnt the ideal machine or situation but for a few weeks, i need to make it work.
    I really just have 2 simple questions. I had first gone to HP tech support. but they were not helpful. since the Laptop's warranty is long gone, they wouldnt even be polite and basically told me to shove off. Then on another forum, I argued back and forth with a know it all who consistently insisted that there was no way no how this pc could run 64 bit win 7, to which i thought what am i seeing things? its been running fine for 3 months. so i decided to come to you. your forums have been helpful on many occassions.
    basically I need this machine to be able to run these programs for the next month or so, until i can purchase a new machine.
    essentially, what I would like to know is will the motherboard support an upgrade of the processor? and if it will, what would you suggest as a replacement, considering my needs? The Core 2 duo is the barest minimum of what i can limp along with as photo/video rendering times are excessively slow.
    next I was talking to the crucial tech support staff about memory upgrades. and possibly tweaking the bios to force it to run 8 gigs of ram. they said they cold find no version of bios that would make that possible, but that by already forcing it to run 64 bit, that already allowed the pc to utilize the full 4 gigs of ram, which had been impossible in the 32 bit format. He then suggested that i buy 2 4 gig modules such as 4GB DDR2 PC2-5300 Unbuffered NON-ECC 1.8V 512Meg x 64 which can be seen at http://www.crucial.com/usa/en/memory/ct51264ac667 and try installing the full 8 gigs and see what would happened, saying he had a feeling i could get lucky. his logic being that the 64 bit system already opened up the ram limitations and who knows, you cant make an omelette without cracking some egg shells! he seemed very optimistic. So what do you think? does this seem likely to you because i would love it to work. or do you think the guy was a quack? and this whole endeaver is a waste of time and money?
    also any other suggestions about how to weather this month long storm that dont involve suggestions of buying new machines would be appreciated!
    so that you have exact details below are my system specs.
    Hewlett-Packard HP 550 F.05
    System Serial Number: CNU90716GN
    Asset Tag: CNU90716GN
    Chassis Serial Number: CNU90716GN
    Enclosure Type: Notebook
    Windows 7 Professional (x64) Service Pack 1 (build 7601)
    Install Language: English (United States)
    System Locale: English (United States)
    Installed: 8/4/2014 6:21:11 PM
    Boot Mode: BIOS (Secure Boot not supported)
    Processor a Main Circuit Board b
    1.80 gigahertz Intel Core2 Duo
    64 kilobyte primary memory cache
    2048 kilobyte secondary memory cache
    64-bit ready
    Multi-core (2 total)
    Not hyper-threaded Board: Hewlett-Packard 3618 KBC Version xx.xx
    Bus Clock: 200 megahertz
    BIOS: Hewlett-Packard 68MVU Ver. F.05 01/19/2009
    Drives Memory Modules c,d
    2320.47 Gigabytes Usable Hard Drive Capacity
    959.16 Gigabytes Hard Drive Free Space
    HL-DT-ST DVDRAM GSA-T50L ATA Device [Optical drive]
    Hitachi HTS543216L9A300 [Hard drive] (160.04 GB) -- drive 0, s/n 090108FB0200VCCPYM3B, rev FB2OC40F, SMART Status: Healthy
    ST1000LM 024 HN-M101MBB USB Device [Hard drive] (1000.20 GB) -- drive 3
    ST310005 28AS USB Device [Hard drive] -- drive 1
    WD 1600JS External USB Device [Hard drive] (160.04 GB) -- drive 2, s/n WD-WCANM2342148 4088 Megabytes Usable Installed Memory
    Slot 'DIMM #1' has 2048 MB (serial number 0000202A)
    Slot 'DIMM #2' has 2048 MB (serial number 00004042)
    thanks friends! i look forward to reading your advice!
    jodie
    This question was solved.
    View Solution.

    Here is the Manual:
    Service Manual
    Unfortunately the maximum configuration is a T5670 processor 1.8 ghz and 4 gigs of DDR2-667 memory which you already have. The CPU includes the 64 bit instruction set so it is not surprising it can run 64 bit Windows 7. My best advice is to save your money for when you can get a real working machine. The only other upgrade likely to help at all is a solid state drive, which you could use in the laptop and then also use in the new computer you are going to buy. 
    If this is "the Answer" please click "Accept as Solution" to help others find it.

  • Is this a RegExp bug??? Matching double letters inside words...

    I'm trying to match double letters inside words, excluding ones that begin or end a word.  I'm running into a problem matching \B at the end of a line.
    example:
    My RegExp is /\Bdd\B/gi
    String is "dda adda add add"
    This will match twice, the dd in the 2nd word, and the dd in the 4th word.  Why is it matching the 4th word??

    It matches only once. Make sure there are no other characters in the end of your string.

  • A64 Tweaker and Improving Performance

    I noticed a little utility called "A64 Tweaker" being mentioned in an increasing number of posts, so I decided to track down a copy and try it out...basically, it's a memory tweaking tool, and it actually is possible to get a decent (though not earth-shattering by any means) performance boost with it.  It also lacks any real documentation as far as I can find, so I decided to make a guide type thing to help out users who would otherwise just not bother with it.
    Anyways, first things first, you can get a copy of A64 Tweaker here:  http://www.akiba-pc.com/download.php?view.40
    Now that that's out of the way, I'll walk through all of the important settings, minus Tcl, Tras, Trcd, and Trp, as these are the typical RAM settings that everyone is always referring to when they go "CL2.5-3-3-7", so information on them is widely available, and everyone knows that for these settings, lower always = better.  Note that for each setting, I will list the measured cange in my SiSoft Sandra memory bandwidth score over the default setting.  If a setting produces a change of < 10 MB/sec, its effects will be listed as "negligible" (though note that it still adds up, and a setting that has a negligible impact on throughput may still have an important impact on memory latency, which is just as important).  As for the rest of the settings (I'll do the important things on the left hand side first, then the things on the right hand side...the things at the bottom are HTT settings that I'm not going to muck with):
    Tref - I found this setting to have the largest impact on performance out of all the available settings.  In a nutshell, this setting controls how your RAM refreshes are timed...basically, RAM can be thought of as a vast series of leaky buckets (except in the case of RAM, the buckets hold electrons and not water), where a bucket filled beyond a certain point registers as a '1' while a bucket with less than that registers as a '0', so in order for a '1' bucket to stay a '1', it must be periodically refilled (i.e. "refreshed").  The way I understand this setting, the frequency (100 MHz, 133 MHz, etc.) controls how often the refreshes happen, while the time parameter (3.9 microsecs, 1.95 microsecs, etc.) controls how long the refresh cycle lasts (i.e. how long new electrons are pumped into the buckets).  This is important because while the RAM is being refreshed, other requests must wait.  Therefore, intuitively it would seem that what we want are short, infrequent refreshes (the 100 MHz, 1.95 microsec option).  Experimentation almost confirms this, as my sweet spot was 133 MHz, 1.95 microsecs...I don't know why I had better performance with this setting, but I did.  Benchmark change from default setting of 166 MHz, 3.9 microsecs: + 50 MB/sec
    Trfc - This setting offered the next largest improvement...I'm not sure exactly what this setting controls, but it is doubtless similar to the above setting.  Again, lower would seem to be better, but although I was stable down to '12' for the setting, the sweet spot here for my RAM was '18'.  Selecting '10' caused a spontaneous reboot.  Benchmark change from the default setting of 24:  +50 MB/sec
    Trtw - This setting specifies how long the system must wait after it reads a value before it tries to overwrite the value.  This is necessary due to various technical aspects related to the fact that we run superscalar, multiple-issues CPU's that I don't feel like getting into, but basically, smaller numbers are better here.  I was stable at '2', selecting '1' resulted in a spontaneou reboot.  Benchmark change from default setting of 4:  +10 MB/sec
    Twr - This specifies how much delay is applied after a write occurs before the new information can be accessed.  Again, lower is better.  I could run as low as 2, but didn't see a huge change in benchmark scores as a result.  It is also not too likely that this setting affects memory latency in an appreciable way.  Benchmark change from default setting of 3:  negligible
    Trrd - This controls the delay between a row address strobe (RAS) and a seccond row address strobe.  Basically, think of memory as a two-dimensional grid...to access a location in a grid, you need both a row and column number.  The way memory accesses work is that the system first asserts the column that is wants (the column address strobe, or CAS), and then asserts the row that it wants (row address strobe).  Because of a number of factors (prefetching, block addressing, the way data gets laid out in memory), the system will often access multiple rows from the same column at once to improve performance (so you get one CAS, followed by several RAS strobes).  I was able to run stably with a setting of 1 for this value, although I didn't get an appreciable increase in throughput.  It is likely however that this setting has a significant impact on latency.  Benchmark change from default setting of 2:  negligible
    Trc - I'm not completely sure what this setting controls, although I found it had very little impact on my benchmark score regardless of what values I specified.  I would assume that lower is better, and I was stable down to 8 (lower than this caused a spontaneous reboot), and I was also stable at the max possible setting.  It is possible that this setting has an effect on memory latency even though it doesn't seem to impact throughput.  Benchmark change from default setting of 12:  negligible
    Dynamic Idle Cycle Counter - I'm not sure what this is, and although it sounds like a good thing, I actually post a better score when running with it disabled.  No impact on stability either way.  Benchmark change from default setting of enabled:  +10 MB/sec
    Idle Cycle Limit - Again, not sure exactly what this is, but testing showed that both extremely high and extremely low settings degrade performance by about 20 MB/sec.  Values in the middle offer the best performance.  I settled on 32 clks as my optimal setting, although the difference was fairly minimal over the default setting.  This setting had no impact on stability.  Benchmark change from default setting of 16 clks:  negligible
    Read Preamble - As I understand it, this is basically how much of a "grace period" is given to the RAM when a read is asserted before the results are expected.  As such, lower values should offer better performance.  I was stable down to 3.5 ns, lower than that and I would get freezes/crashes.  This did not change my benchmark scores much, though in theory it should have a significant impact on latency.  Benchmark change from default setting of 6.0 ns:  negligible
    Read Write Queue Bypass - Not sure what it does, although there are slight performance increases as the value gets higher.  I was stable at 16x, though the change over the 8x default was small.  It is possible, though I think unlikely, that this improves latency as well.  Benchmark change from default setting of 8x:  negligible
    Bypass Max - Again not sure what this does, but as with the above setting, higher values perform slightly better.  Again I feel that it is possible, though not likely, that this improves latency as well.  I was stable at the max of 7x.  Benchmark change from the default setting of 4x:  negligible
    Asynch latency - A complete mystery.  Trying to run *any* setting other than default results in a spontaneous reboot for me.  No idea how it affects anything, though presumably lower would be better, if you can select lower values without crashing.
    ...and there you have it.  With the tweaks mentioned above, I was able to gain +160 MB/sec on my Sandra score, +50 on my PCMark score, and +400 on my 3dMark 2001 SE score.  Like I said, not earth-shattering, but a solid performance boost, and it's free to boot.  Settings what I felt had no use in tweaking the RAM for added performance, or which are self-explanatory, have been left out.  The above tests were performed on Corsair XMS PC4000 RAM @ 264 MHz, CL2.5-3-4-6 1T.     

    Quote
    Hm...I wonder which one is telling the truth, the BIOS or A64 tweaker.
    I've wondered this myself.  From my understanding it the next logic step from the WCREDIT programs.  I understand how clock gen can misreport frequency because it's probably not measuring frequency itself but rather a mathmatical representation of a few numbers it's gathered and one clk frequency(HTT maybe?), and the non supported dividers messes up the math...but I think the tweaker just extracts hex values strait from the registers and displays in "English", I mean it could be wrong, but seeing how I watch the BIOS on The SLI Plat change the memory timings in the POST screen to values other then SPD when it Auto with agressive timings in disabled, I actually want to side with the A64 tweaker in this case.
    Hey anyone know what Tref in A64 relates to in the BIOS.  i.e 200 1.95us = what in the BIOS.  1x4028, 1x4000, I'm just making up numbers here but it's different then 200 1.95, last time I searched I didn't find anything.  Well I found ALOT but not waht I wanted..

  • Admin Console does not appear even when tweak applied (SJSAS 9.1 Update 1

    Sun Java SystemApplication
    Server 9.1 Update 1
    Using the �Start� menu in Windows. This starts Firefox with the request �http://localhost:4848�.
    This changes to : http://localhost:4848/asadmin/admingui/TopFrameset which gives a response of :
    HTTP Status 404 -
    description The requested resource () is not available.
    TWEAK
    Somehow I found I had the following request which I tried: http://localhost:4848/login.jsf
    This gives the login screen but when I enter the admin user name and password I get the requested () resource is not available. Invalid usernames and passwords get rejected.
    I have changed the asadmin password just to make sure that I know the correct username and password.
    Ports are all correct. I can deploy and run a �war� file.
    I have followed the following instructions in the release notes:
    Description
    On Windows, immediately after installing Application Server Enterprise Edition, theMessage
    Queue broker fails on startup with a message saying the directory
    drive:\as\domains\domain1\imq does not exist.
    Note that if the broker is started after starting domain1, the directory will be created by the
    Application Server and the problem will not occur.
    Solution
    1. Create the var_home_dir_location before creating the broker:
    $imqbrokerd -varhome var_home_dir_location
    For example:
    $imqbrokerd -varhome D:\as\domains\domain1\imq
    Any help would be appreciated.
    Edited by: jdraven on Feb 27, 2008 11:08 PM

    Hi,
    That was the TWEAK I mentioned. It did not work for me. However I have no added a second hard disk and prompted by your post gave Glassfish another chance. Lo and behold it busrt into life. So thanks for your interest.
    Cheers,
    JohnR

  • Tweaking the performance of the PC

    Hello i am a school student (in my final year) and i have some knowledge on tweaking the performance of the PC so i hope my way helps
    Solution to Blue screen with error:
    Hi that error is quite a rare error for windows 8.1 users who have their drivers up to date the most common cause is corrupted files in your hdd 
    if you have a backup of all your files and folders then it is recommended to do a full reinstallation of windows 8.1 and make sure u delete all your partitions including the system and recovery partition when you reinstall
    once you have reinstalled download the latest drivers using Toshiba support page and also install latest windows updates as soon as possible once you have completely recovered your pc make sure to create a recovery media using the win 8.1 installation disk
    and save that media then create a system image backup for the future
    How to create system image backup: please follow this guide for images and videos 
    http://www.avoiderrors.net/create-system-image-backups-of-windows-8-1-and-restore-from-it/
    and then once you have done that you should have a installation media and a system image backup then you can move to increasing the PC performance 
    PC performance boost tips:
    Ok step one: creating a system restore point
    (i): open your search tab in windows 8.1 desktop and type "create system restore point"(no quote marks) and select the system restore point option.
    (ii): when the system properties tab open click on the button called create on the bottom on the tab 
    (iii): another tab will ask you to name the system restore point so you can identify it so type a name of your choice and click create
    an thats all 
    Ok step two : remove unnecessary antivirus software (if you have any)
    normally on a new PC you get a bunch of junk software along with a trail pack of an antivirus software usually it's McAfee so uninstall that and uninstall the other useless junk software if you have any problems with uninstallating then use Revo uninstaller
    app to uninstall 
    since you did a reinstall of windows you will not have any of those so skip step two
    Step three: Installing a good antivirus software
    now the most recommended would be either Norton or Kaspersky but if you feel like going for free ones then i suggest 
    Avira or Avast as a good antivirus software also the renowned Malawarebytes is also quite good 
    i personally use malwarebytes free version since i can run it along side my main antivirus software without it conflicting with each other
    once you have installed the software on your pc make sure you run a full scan for your first time
    and move to step four.
    Step four: System registry errors
    to fix registry error you will need a third party software my personal recommendation is ccleaner and glary utilities 
    http://www.glarysoft.com/
    http://www.piriform.com/
    install either one and then run a maintenance on your PC the UI for both is quite user friendly so you won't have any problems 
    for glary utilities do the 1 click maintenance and for ccleaner do the cleaner option and then do the registry option
    just analyze and click repair or fix error thats all once it does a repair do another analysis and if it shows 0 errors then your PC is clean if it shows errors then click repair again and repeat the process till you get 0 errors
    then move to step five.
    Step five: Startup speed
    to speed up your start up just open glary utilities or ccleaner
    for ccleaner click tools box and click on the "Startup"  option then click on the programs that you feel are not needed on startup and click disable this option will not allow the programs to startup along with windows they will instead will
    start up when you start them up 
    for glary click on the advanced tab and under the system control menu you will find the "Startup items" option disable the programs you feel are not needed during startup the bonus of glary is that it shows whether  the program holds any relevance
    to your PC if it is on startup or not so you will know whether it is needed or not once you disable your unwanted startup programs move to step six.
    Step six: How to optimize your windows 8.1 paging file
    watch this video and follow it's steps
    https://www.youtube.com/watch?v=rQ98T4Qt42M
    once you have finished step six then move to step seven 
    Step seven: How to enable windows 8.1 Hard Drive Write Caching
    watch this video and follow it's steps carefully 
    https://www.youtube.com/watch?v=4gye7Odj-Io
    once you have finished this then time to tweak your visual effects which is the last step
    Step eight: Adjust visual effects
    ok this is the last step 
    (i): open search bar and type 
    "Adjust the appearance and performance of Windows" (copy paste without quotes if you like)
    and the performance tab will open
    (ii): now click on the option "Adjust for best performance" and this will remove all your visual effects now i know it can look a little bad but the more options you have the more resource your PC is going to use but since the fonts look bad click
    on the checkbox in the custom tab that says "smooth edges of screen fonts" this should give your pc a good look while using the least amount of resource and that is all.
    Ok that all for performance tweak i hope your PC speeds up a bit please tell me if you have any problems
    PS:
    i do not own the videos in the video links i merely recommended them since the steps in the video are quite easy to follow even for a complete amateur.

    Hi,
    Thank you for sharing the solutions here. It will be very beneficial for other community members who have similar questions.
    Regards.
    Yolanda Zhu
    TechNet Community Support

  • [OT] Need Help Tweaking Photos in Photoshop

    Although I know Photoshop fairly well, I am a novice in this general area of tweaking photos ... and could use some help.
    I have some inferior photos that I would like to do my best to fix up in Photoshop CS2. Many of them somehow turned out quite faded ... I am not sure why.
    I have posted one of these photos as an example on the Web. I would be interested in finding out the best quick way to tweak these pictures and make them more presentable. Feel free to just take a look or, if you would like, download the photo into Photoshop and let me know the best way to proceed.
    Location:
    http://www.brainbeast.com/pic/
    - I have fooled with :
    Image - adjustments - levels ... and moved the left and right arrows to the edge of the data areas and that seems to help ... however I'm not sure what to do with the Middle arrow - etc...
    - Also - I fooled around with the exposure adjustment and also the shadow/highlight adjustment ... however from my limited knowledge - they all sort of seem to do the same thing - and I'm not sure which method or combination of techniques is best.
    Q: Can someone help give me some suggestions as to how to proceed?
    Any help would be greatly appreciated - RevDave

    I find that using the Levels control (Command-L) is a little more intuitive than the Curves. I would seem to have problems with dragging the right direction but that's my issue. The Levels has an auto button that will get you very close to what mebs produced. You can then move the sliders to fine tune it.
    Both ways will clean up the photo. It's just which way you're more comfortable with. Good luck.
    Do you Twango?
    TIP: For insurance against the iPhoto database corruption that many users have experienced I recommend making a backup copy of the Library6.iPhoto database file and keep it current. If problems crop up where iPhoto suddenly can't see any photos or thinks there are no photos in the library, replacing the working Library6.iPhoto file with the backup will often get the library back. By keeping it current I mean backup after each import and/or any serious editing or work on books, slideshows, calendars, cards, etc. That insures that if a problem pops up and you do need to replace the database file, you'll retain all those efforts. It doesn't take long to make the backup and it's good insurance.

  • My story as an AMD fanboy and the GX60 3BE (The Truth) / Tweak Guide

    So uh, first of all I gotta be honest with you, this is my first thread in the Dragon Army forums and well, I hope I'll be helpful for some folks out there from now on.
    So as the title says, 2 months ago I decided to purchase a new AMD based laptop and after reading tons of info I decided to go with this baby, now being honest with you folks this computer will bottleneck the $h1t out of your games (In my case it was Bf4 what I wanted to play the most) out of the box. So what did I do? Welp! I managed to tweak some things and now I can play the game at 1080p all ultra except post processing which is off and 50% blur with no bottlenecks nor lag. Runs smoothly even duplicated in my FHDTV.
    So I wanted to share this with all my AMD comrades, this laptop worths it, I can play my music, play the game, minimize it and multitask while on Skype with no problems at all.
    Now you may be asking, how did I "fixed" those issues?
    1) Removed all that trashy software that came preinstalled with it.
    2) Uninstalled all the drivers. Reinstalled updated versions found in the website.
    3) Used the Amd clean up tool to remove all the amd drivers/leftover files.
    4) Installed the CCC 14.6 RC, had to wait till june for it.
    5) Installed process lasso, now this application will manage how your computer uses the resources real time and you can set even priority rules so apps will start with Above Normal priority automatically for example. I set bf4 to change the power plan to gaming whenever it starts and it also starts with Above Normal priority automatically.
    6) Installed MSI AfterBurner and overclocked the GPU from 950mhz/1250mhz (core clock/memory clock) to 1053mhz/1352mhz (core clock/memory clock).
    7) Installed the Amd Gaming Evolved app, it's specially designed for amd computers to enhance videogames performance, dunno how it works but it increased my FPS on ultra settings.
    Now what makes the computer run a lot better (at least in my case) is that 100mhz boost achieved by overclocking, with mantle it reduces almost all the CPU load to the A10- 5750M.
    And my temperatures? Well, I also purchased a CoolerMaster Notepal X3  so, with the cooling boost it always stays at 73. It reaches 80C sometimes but it's only warm below the computer so it must be the chipset  real temperature.
    So thats it folks, hope I've helped some people with this that took me couple of months to figure out.
    Sorry 'bout my english and yall take care. GO AMD!!

    This is actually a really nice share to those people whom is suffering from the game performance.

  • Advice on tweaking settings

    Hi there,
    As I learn more about Logic (thanks in great part to these forums) I am starting to record songs with more and more tracks and adding more plug ins and even venturing into the world of soft synths via the music editor.
    I am looking for ideas opinions and advice, on tweaking my settings for best performance for my set up.
    I was using a buffer size of 64 but started to get random pops and clicks, I switched to 512 and the pops and clicks are gone but now the latency is back.
    I am using an M Audio Mobile pre (usb) which has served me well, but I am thinking of getting a alesis multimix 8 fire wire mixer, do you think this will help. I am thinking that at least I could switch off software monitoring and use the onboard FX of the mixer.
    I am using a G4 PwoerBook with 768 megs of ram. Recording to an external 7200 HD
    I have been very happy with my system and the performance I have been getting, until these random pops and clicks started, so upping the buffer worked but now the latency rears its ugly head.
    I know more ram would be good, but I would like any pointers of preference settings to tweak my set up as much as possible beforehand.
    Thanks,
    Peace and good mixes to all,
    NoteFarm

    Hi there,
    I am definatley going to upgrade to a firewire audio interface, but as I shop, I would like to make sure that it is definatly the interface causing the clicks. The only reason I say this is that it only started happening a couple of days ago. Up untill then I have had no problems. I tried using just the audio in of the PowerBook and noticed a couple of random clicks.
    The clicks happen regardless of buffer size, and even in a new session, just one guitar, and I have tested, just with a track armed, not recording, and I hear the intermitant clicks. It dosent happen with iTunes, or during playback of material beffore the clicks started to ocur, now the clicks are recroded and are grinding to a halt.
    Please help, I think it is some setting in logic causing this.
    Thanks
    Peace and good mixes to all
    NoteFarm

Maybe you are looking for

  • Help!  Windows configures itunes

    This is what is starts to download when I go into itunes. I've never had this problem before and I've had the ipod nano for half a year. So I wait and it starts to configure, but halfway through it comes up with an error: error writing to file (the i

  • Oracle Problem!!

    I tried installing Oracle 8i on my machine running Windows XP Home Edition.But the installation stopped with the message that Sun Java's JVM version 1.1.7 or higher is needed for installation.So I downloaded and installed Java 2 Runtime Environment w

  • Problems with Acrobat 5.0.0 3/22/2001

    I have been experiencing more and more problems opening PDF files and I am getting this message; "There was an error opening this document.  The file is damaged and could not be repaired."  If I go to another computer and use Adobe reader I can see t

  • MAINTENANCE OPTIMIZER CONFIGRATION

    Hi all         We just completed solution manager 4 .0 installation successfully . What is the next step had be done for maintenance optimzer configuration . kindly let me know the step by step configuration of maintenance optimzer . Regads Selvan

  • Change corner radius of rounded rectangles after drawing them

    It is great that vector shapes feel even "smarter" in CS6, allowing you to change the stroke width and color after drawing them. Designing user interfaces, I use a lot of rounded rectangles, and I often have to change the corner radius of a rounded r