IllegalMonitorStateException on close brace

(package names shortened to make post prettier)
java.lang.IllegalMonitorStateException
at com...ThreadPool.finishedWork(ThreadPool.java:553)
at com...ThreadPool.access$1000(ThreadPool.java:27)
at com...ThreadPool$PoolThread.run(ThreadPool.java:752)
at java.lang.Thread.run(Unknown Source)
We get these type of errors in our product.. but we don't know why..:(
workingThreads is declared like this:
private TreeMap workingThreads = new TreeMap();
And is never assigned to a new object anywhere in the code.
private void finishedWork(Date timeToKill) {
synchronized(workingThreads) {
workingThreads.remove(timeToKill); // remove a thread
} <-------Exception thrown here
at com...ThreadPool.access$1000(ThreadPool.java:27)
This part of the stack trace isn't always present... but the exception occuring at the end of the synchronizes close brace always is. It doesn't always happen in this method... sometimes it happens in other classes that synchronize on member variables.
Ideas? questions? comments? help!!!?!?!

Maybe you could post all the code in a synchronized
block that gives you trouble and the full stack trace?
synchronized(  tpLock  ) {
                if( (objId != null) && (!objId.equals("")) ) {
                    SnmpContainer old = (SnmpContainer)goodOnes.put( m_ip, sc );
                    if( old == null  || !old.equals(sc) ) {
                        m_changedIps.add(m_ip);
                else {  // it's a bad ip
                    goodOnes.remove( m_ip );
                if (m_changedIps.contains(m_ip)) {
                    postEvent( sc );
                    m_changedIps.remove(m_ip);
            } <--- Exception hereDoing a search for tpLock shows that other then the declaration..it only appears as "synchronized (tpLock)"
postEvent isn't in the stackTrace... and has no .waits/.notifys
So this case... plus the first posting.. are very similar.. an exception being thrown on the close brace..:(
Any trees I should be barking up?

Similar Messages

  • Scriptlet close brace '}' unbalanced

    Hello,
              I am using Weblogic Server 6.1 SP 6 and I am getting the problem that is suposed to be fixed with my given service pack.
              Why am I getting this error if the problem is documented as fixed?
              Change Request: CR093014
              Java comments that start in one scriptlet and end in the next one cause an error:
              <22.07.2002 14:12:24 CEST> <Error> <HTTP>
              <[WebAppServletContext(7422744,DefaultWebApp,/DefaultWebApp)] Servlet failed with Exception weblogic.servlet.jsp.JspException: (line 12): scriptlet close brace '}' unbalanced at line 12 which breaks scope '_base_service_scope_' at ....
              The problem was solved by back-porting grammar from WebLogic Server 7.0 that caused the ScriptletScopeLexer to skip an entire Java comment.
              

    Mark wrote:
              > Hello,
              >
              > I am using Weblogic Server 6.1 SP 6 and I am getting the problem that is suposed to be fixed with my given service pack.
              >
              > Why am I getting this error if the problem is documented as fixed?
              >
              > Change Request: CR093014
              > Java comments that start in one scriptlet and end in the next one cause an error:
              >
              > <22.07.2002 14:12:24 CEST> <Error> <HTTP>
              >
              > <[WebAppServletContext(7422744,DefaultWebApp,/DefaultWebApp)] Servlet failed with Exception weblogic.servlet.jsp.JspException: (line 12): scriptlet close brace '}' unbalanced at line 12 which breaks scope '_base_service_scope_' at ....
              >
              > The problem was solved by back-porting grammar from WebLogic Server 7.0 that caused the ScriptletScopeLexer to skip an entire Java comment.
              Can you show us the jsp in question?
              -- Nagesh
              

  • "No brace at cursor to match" with MacOS X

    Hi there,
    I am having a problem with JDev code editor and MacOS X... it hapens in 9.0.3.x and 9.0.4.
    When trying to close braces [], I can never get the ] caracter as I always get the error "No brace at cursor to match".
    I am using spanish keyboard.
    Any ideas on how to disable this checking?
    Thanks,
    Ignacio

    Note: Do this First!
    In addition to other possible problems and hassles with the 10.6.5 to 10.6.6 Server update, this same issue with AFP you referenced in your previous update may happen again with 10.6.6.
    If shared folders are not appearing on client machines, be sure to stop, then start up, the AFP service in Server Admin before doing anything else. (Otherwise, you'll waste 4 valuable hours of your life like I did thinking that it was a permissions problem or some other complex issue possibly related to security changes and workgroup manager modifications).
    Like many others running this server update, I also encountered the issue with the "update already in progress, please wait" upon the first attempt to run it. After waiting 6 hours, I rebooted our server and then used software update again. This time the update installed properly, but, apparently, AFP needs to be shut down and then restarted after the required reboot following the update install.
    Thanks for posting previously otherwise I would have lost even more time!
    It's not 5 PM, but I think I need some gin is in order.

  • Regular Expressions - matching a brace

    I am a bit of a begginner when it comes to regular expressions - but I am trying to replace all curly braces - {} in a string with normal brackets - ().
    This is how I'm trying to do it -
    //replace any curly braces with normal brackets
    Pattern p = Pattern.compile("{");
    Matcher m = p.matcher(value);
    value = m.replaceAll("(");
    However, I get an exception when my code is run: "java.util.regex.PatternSyntaxException: Illegal repetition {"
    Any idea how to replace a brace character? Also, is there an easy way to replace both the open brace - { and close brace - } characters in one expression?
    Regards,
    Jake

    ..Also, is there an easy way to replace both the open brace - {
    and close brace - } characters in one expression?
      // only for paired curly braces
      while (target.matches(".*\\{(.*)\\}.*")) {
        target = target.replaceAll("\\{(.*)\\}", "($1)");

  • Error while validating a BPF

    Hi Everyone,
    I am trying to create BPF as per the How to Guide given on SDN. While I am validating the BPF, it gives me below error -
    BPF: Error reading master data
    Invalid attribute name (P_Owner) in dimension (P_ACCT)
    When I check for the dimension property of P_ACCT, I have added P_Owner there and have added master data as well for the records.
    Please help me in resolving this issue. Needless to say that I am new to BPC and just starting.
    Thanks in Advance.

    Hi,
    How you are maintaining master data in owner, is should be maintained as follows
    If single user it should be domain\user u2018s
    User should be valid user, who is existing in BPC.
    If you are using group of user then create team and give team name as follows
    [Team Name]
    i.e Open brace team name close brace 
    Hope this will help you u2026
    Thanks,
    Devi

  • Cron RSS Reader

    So I've been using newsbeuter like many people for over a year now. However, the one complaint I and many others have voiced on the forums is that: there exists no cron RSS reader. Sure you can run newsbeuter 24/7 with the auto-refresh feature enabled, but who wants that. So a week ago at the start of the holidays I wrote my own. Now after a week I have seen that it works and that it should be ready to release in beta. Please understand that this is designed in my favorite way; stupid simple. It is source edited and demands only two files: a history file, and the program. I wrote it in python because of the wonderful feedparser library and because this way you can edit your feeds on the fly without needing to recompile.
    For anyone who wishes, feel free to play around with this and give me your feedback.
    To get it working just run the following to ensure you have the deps:
    sudo pacman -Sy coreutils curl python3 python-feedparser youtube-dl
    Next put the following source in a file and chmod 700 it. Now you can ./rss or maybe put it in ~/bin and add that to your path so you can run it like any other binary. But wait! Now before you run it, you will more than likely want to edit the config unless you want all of my feeds and just happen to have a /home/keller/downloads folder you want all the stuff put in. To edit the urls just follow the examples I left in. They are in the style ("Name Of Feed", "http:\\example.com\rss\url.xml") where the first entry starts with and additional open brace and then each end in a comma if it is not the last feed entry or a additional close brace if it is. If you don't have anything for the particular category, just use (). Now give it a run by appending the --no-download option. If you don't, it's going to take a while and will work on every feed entry.
    To quote --help:
    Usage: rss [Options]
    This is a zero hassle RSS reader. It is designed to be source configured and
    run without a care in the world. Cron it, script it, just plain run it...
    Options:
    -h, --help Show me this message.
    --no-download Do not act on new entries.
    (Simply mark as old.)
    -q, --quiet Don't talk.
    -v, --say-something The opposite of -q.
    In terms of action, it will:
    First: Append new links to a file called links.html in the downloads folder that you can view with your browser of choice. This is the fastest so you can read your feeds while you wait on the downloads.
    Second: Download the attached image from Deviant Art
    Third: Download every youtube video at a max of 720p (To speed up the download and conserve bandwidth)
    Lastly: Download all of your podcasts
    I was debating adding twitter, but I don't use RSS for twitter (or twitter for that matter) so if there is a desire for it (or others) let me know.
    #!/usr/bin/python
    # Depends on:
    # * coreutils
    # * curl
    # * python3
    # * python-feedparser
    # * youtube-dl
    # - - - - - - - - - - - - - - Configuration and URLs - - - - - - - - - - - - - #
    be_quiet = False # True disables output (Good for cron)
    download_dir = "/home/keller/downloads/"
    history_file = "/home/keller/.rss_history"
    # Appends to links.html page in download directory
    link_urls = (("Extra Ordinary", "http://www.exocomics.com/feed"),
    ("Doghouse Diaries", "http://feeds2.feedburner.com/thedoghousediaries/feed"),
    ("Cyanide & Happiness", "http://feeds.feedburner.com/Explosm"),
    ("XKCD", "http://xkcd.com/rss.xml"),
    ("Scandinavia And The World", "http://feeds.feedburner.com/satwcomic?format=xml"),
    ("Surviving The World", "http://survivingtheworld.net/feed.xml"),
    ("Something Of That Ilk", "http://somethingofthatilk.com/rss/index.php"),
    ("Invisible Bread", "http://feeds.feedburner.com/InvisibleBread"),
    ("Happle Tea", "http://www.happletea.com/feed/"),
    ("Dilbert", "http://feed.dilbert.com/dilbert/daily_strip"),
    ("What-If", "http://what-if.xkcd.com/feed.atom"),
    ("Networking Nerd", "http://networkingnerd.net/feed/"),
    ("Fry Guy's Blog", "http://www.fryguy.net/feed/"),
    ("Ethereal Mind", "http://feeds.feedburner.com/etherealmind?format=xml"),
    ("Packet Pushers", "http://feeds.feedburner.com/PacketPushersBlogsOnly"),
    ("Lone SysAdmin", "http://lonesysadmin.net/feed/"),
    ("Arch Linux News", "http://www.archlinux.org/feeds/news/"),
    ("Schneier on Security", "http://feeds.feedburner.com/schneier/excerpts"))
    # Deviant Art RSS
    deviant_art_urls = (("Isbjorg's Main Gallery", "http://backend.deviantart.com/rss.xml?q=gallery%3Aisbjorg%2F9742889&type=deviation"))
    # Youtube RSS - Youtube Username Only
    youtube_users = (("Phillip DeFranco", "sxephil"),
    ("Freddie", "freddiew"),
    ("Freddie BTS", "freddiew2"),
    ("Corridor Digital", "corridordigital"),
    ("Corridor Digital BTS", "samandniko"),
    ("Jenna Marbles", "jennamarbles"),
    ("Source Fed", "sourcefed"),
    ("Minute Physics", "minutephysics"),
    ("VSauce", "vsauce"),
    ("Numberphile", "numberphile"),
    ("Veritasium", "1veritasium"),
    ("Sixty Symbols", "sixtysymbols"),
    ("Periodic Videos", "periodicvideos"))
    # Podcasts - Audio/Video linked content download
    podcast_urls = (("Security Now", "http://feeds.twit.tv/sn_video_large"),
    ("Ted Talks", "http://feeds.feedburner.com/tedtalks_video"),
    ("Scam School", "http://revision3.com/scamschool/feed/MP4-Large"),
    ("Hak 5", "http://feeds.feedburner.com/hak5hd?format=xml"),
    ("Film Riot", "http://revision3.com/filmriot/feed/MP4-hd30"),
    ("SANS News", "https://isc.sans.edu/dailypodcast.xml"),
    ("The Techie Geek", "http://feeds.feedburner.com/thetechiegeek/ogg?format=xml"))
    # - - - - - - - - - - - - No need to modify below here - - - - - - - - - - - - #
    from feedparser import parse
    from os import system
    from sys import argv
    import pickle
    # -- Argument Parse
    no_download = False
    if "--help" in argv or "-h" in argv:
    print("""Usage: rss [Options]
    This is a zero hassle RSS reader. It is designed to be source configured and
    run without a care in the world. Cron it, script it, just plain run it...
    Options:
    -h, --help Show me this message.
    --no-download Do not act on new entries.
    (Simply mark as old.)
    -q, --quiet Don't talk.
    -v, --say-something The opposite of -q.
    exit()
    if "--no-download" in argv:
    no_download = True
    if "--quiet" in argv or "-q" in argv:
    be_quiet = True
    if "--say-something" in argv or "-v" in argv:
    be_quiet = False
    # -- Unpickle History
    try:
    history = pickle.load(open(history_file, "rb"))
    except:
    tmp = open(history_file, "w")
    tmp.close()
    history = {"podcast" : [], "deviant_art" : [], "youtube" : [], "link" : []}
    current_links = [] # Holds all current links so we can prune ancient history
    # -- Link
    for url in link_urls:
    if not be_quiet : print("Checking", url[0] + "...")
    for entry in parse(url[1]).entries:
    current_links.append(entry.link)
    if entry.link not in history["link"]: # If is a new link
    if not be_quiet : print(" * New Content Found!")
    if no_download or system('echo "<a href=\"' + entry.link + '\">' + url[0] + ' : ' + entry.title + '</a><br />" >> ' + download_dir + 'links.html') == 0: # Append to file
    history["link"].append(entry.link)
    # -- Deviant Art
    for url in deviant_art_urls:
    if not be_quiet : print("Checking", url[0] + "...")
    for entry in parse(url[1]).entries:
    if entry.media_content[0]["url"][-4] == '.': # Check it's a file
    current_links.append(entry.media_content[0]["url"])
    if entry.media_content[0]["url"] not in history["deviant_art"]: # If is a new link
    if not be_quiet : print(" * Downloading:", entry.media_content[0]["url"][entry.media_content[0]["url"].rfind('/') + 1:])
    if no_download or system('curl -so "' + download_dir + entry.media_content[0]["url"][entry.media_content[0]["url"].rfind('/') + 1:] + '" "' + entry.media_content[0]["url"] + '"') == 0: # Download
    history["deviant_art"].append(entry.media_content[0]["url"])
    # -- Youtube
    for url in youtube_users:
    if not be_quiet : print("Checking", url[0] + "...")
    for entry in parse("https://gdata.youtube.com/feeds/api/users/" + url[1] + "/uploads").entries:
    current_links.append(entry.link)
    if entry.link not in history["youtube"]: # If is a new link
    if no_download or system('youtube-dl --max-quality 22 -o "' + download_dir + '%(title)s.%(ext)s" "' + entry.link + '"' + ['', ' -q'][be_quiet]) == 0: # Download
    history["youtube"].append(entry.link)
    # -- Podcast
    for url in podcast_urls:
    if not be_quiet : print("Checking", url[0] + "...")
    for entry in parse(url[1]).entries:
    for link in entry.links:
    if link.type[0:5] == "video" or link.type[0:5] == "audio": # If _IT_ describes itself as video or audio
    current_links.append(link.href)
    if link.href not in history["podcast"]: # If is a new link
    if not be_quiet : print(" * Downloading:", link.href[link.href.rfind('/') + 1:])
    if no_download or system('curl -#Lo "' + download_dir + link.href[link.href.rfind('/') + 1:] + '" "' + link.href + '"' + ['', ' -s'][be_quiet]) == 0: # Download
    history["podcast"].append(link.href)
    # -- History Dump
    for key in history:
    for link in history[key]:
    if link not in current_links:
    history[key].remove(link)
    # -- Pickle History
    pickle.dump(history, open(history_file, "wb"))
    That's all folks. If you do give it a try, please give feed back even if it's just that the whole thing sucks. I'd love to know what feeds don't work, if there is anything you want added, or if you just think it's swell.
    If there appears to be some interest I'll look at putting this in the AUR. Maybe with a mode for config files so that each user can have thier feeds all independantly checked with each run under cron. Though that'll take some work to get just right so I'm only doing so if people are sure they would like such a feature. So yeah, feel free to ask for the moon, I'll see what I can do in most cases.
    Lastly, I am humbly sorry that I suck at documenting how exactly it works here. If you have any questions at all, please feel free to post away and I will do my best to answer them.

    This is a shame that Apple doesnt (somehow) make this one of the cross-platform features.
    I mean come on, how many of us mac users actually have ALL our computer-using relatives on a mac? In a perfect world, all of us, but reality is, I'm the only one out of about 11 people on my and my wife's side of the family that we share pics of the kids with. Everyone else uses Winblows.
    I was pumped when I heard about photocasting. Alas, now that I've tried to make this work smoothly for the novice windows users who want to see pictures of our kids, I realize there is *zero chance* of me being able to use this. There is no way I can see myself sending my 63 year old mother an RSS feed link and having her figure out what to do with it (when she can barely figure out how to look at the pics I send in email he he). If she has to go install an RSS reader, forget it.
    Anyway, great mac only feature, but this would be a huge feather in Apple's cap if they could figure out how to serve this up to Windows end users just as effortlessly.
    eMac, PB17"   Mac OS X (10.4.4)  
    eMac   Mac OS X (10.2.x)  

  • JSP issue in weblogic

              We have A.jsp which on click of a button, points to B.jsp.
              This 2.jsp also has <@ include> which includes C.jsp
              The problem is the code works fine on our staging environmnet, but on our prod
              env when the button on A.jsp is clicked, the browser tries to load B.jsp but then
              gives a "page cannot be displayed error". In weblogic logs, we find the folowing
              error:
              got error: null
              java.security.PrivilegedActionException: java.security.PrivilegedActionException:
              weblogic.servlet.jsp.JspException: (line 480): scriptlet close brace '}' unbalanced
              at line 480 which breaks scope '_base_service_scope_'
                   at weblogic.servlet.jsp.ScriptletScopeLexer.mCLOSE_BRACE(ScriptletScopeLexer.java:527)
                   at weblogic.servlet.jsp.ScriptletScopeLexer.mTOKEN(ScriptletScopeLexer.java:232)
                   at weblogic.servlet.jsp.ScriptletScopeLexer.nextToken(ScriptletScopeLexer.java:159)
                   at weblogic.servlet.jsp.ScriptletScopeLexer.parse(ScriptletScopeLexer.java:119)
                   at weblogic.servlet.jsp.JspLexer.mSCRIPT(JspLexer.java:3948)
                   at weblogic.servlet.jsp.JspLexer.mSTANDARD_THING(JspLexer.java:2042)
                   at weblogic.servlet.jsp.JspLexer.mTOKEN(JspLexer.java:1850)
                   at weblogic.servlet.jsp.JspLexer.nextToken(JspLexer.java:1732)
                   at weblogic.servlet.jsp.JspLexer.parse(JspLexer.java:1015)
                   at weblogic.servlet.jsp.JspParser.doit(JspParser.java:78)
                   at weblogic.servlet.jsp.JspParser.parse(JspParser.java:181)
                   at weblogic.servlet.jsp.Jsp2Java.outputs(Jsp2Java.java:119)
                   at weblogic.utils.compiler.CodeGenerator.generate(CodeGenerator.java:255)
                   at weblogic.servlet.jsp.JspStub.compilePage(JspStub.java:325)
                   at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:189)
                   at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:154)
                   at weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:366)
                   at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:240)
                   at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:21)
                   at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
                   at com.netegrity.siteminder.weblogic.sixone.at.run([DashoPro-V1.2-120198])
                   at javax.security.auth.Subject.doAs(Subject.java:113)
                   at com.netegrity.siteminder.weblogic.sixone.WLS61ServletFilter.doFilter([DashoPro-V1.2-120198])
                   at com.netegrity.siteminder.java.servlet.bl.c([DashoPro-V1.2-120198])
                   at com.netegrity.siteminder.java.servlet.bl.onAccessAccept([DashoPro-V1.2-120198])
                   at com.netegrity.siteminder.java.servlet.bj.a([DashoPro-V1.2-120198])
                   at com.netegrity.siteminder.java.util.ay.b([DashoPro-V1.2-120198])
                   at com.netegrity.siteminder.java.servlet.bi.a([DashoPro-V1.2-120198])
                   at com.netegrity.siteminder.java.util.ay.b([DashoPro-V1.2-120198])
                   at com.netegrity.siteminder.java.servlet.a4.a([DashoPro-V1.2-120198])
                   at com.netegrity.siteminder.java.util.ay.b([DashoPro-V1.2-120198])
                   at com.netegrity.siteminder.java.servlet.a3.a([DashoPro-V1.2-120198])
                   at com.netegrity.siteminder.java.util.ay.b([DashoPro-V1.2-120198])
                   at com.netegrity.siteminder.java.servlet.a2.a([DashoPro-V1.2-120198])
                   at com.netegrity.siteminder.java.util.ay.b([DashoPro-V1.2-120198])
                   at com.netegrity.siteminder.java.servlet.a1.a([DashoPro-V1.2-120198])
                   at com.netegrity.siteminder.java.util.ay.b([DashoPro-V1.2-120198])
                   at com.netegrity.siteminder.java.servlet.a0.a([DashoPro-V1.2-120198])
                   at com.netegrity.siteminder.java.util.ay.b([DashoPro-V1.2-120198])
                   at com.netegrity.siteminder.java.servlet.az.a([DashoPro-V1.2-120198])
                   at com.netegrity.siteminder.java.util.ay.b([DashoPro-V1.2-120198])
                   at com.netegrity.siteminder.java.util.ax.a([DashoPro-V1.2-120198])
                   at com.netegrity.siteminder.java.util.ao.a([DashoPro-V1.2-120198])
                   at com.netegrity.siteminder.java.util.am.a([DashoPro-V1.2-120198])
                   at com.netegrity.siteminder.weblogic.sixone.WLS61ServletFilter.doFilter([DashoPro-V1.2-120198])
                   at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
                   at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:2398)
                   at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:1959)
                   at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
                   at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
              javax.servlet.ServletException
                   at com.netegrity.siteminder.weblogic.sixone.WLS61ServletFilter.doFilter([DashoPro-V1.2-120198])
                   at com.netegrity.siteminder.java.servlet.bl.c([DashoPro-V1.2-120198])
                   at com.netegrity.siteminder.java.servlet.bl.onAccessAccept([DashoPro-V1.2-120198])
                   at com.netegrity.siteminder.java.servlet.bj.a([DashoPro-V1.2-120198])
                   at com.netegrity.siteminder.java.util.ay.b([DashoPro-V1.2-120198])
                   at com.netegrity.siteminder.java.servlet.bi.a([DashoPro-V1.2-120198])
                   at com.netegrity.siteminder.java.util.ay.b([DashoPro-V1.2-120198])
                   at com.netegrity.siteminder.java.servlet.a4.a([DashoPro-V1.2-120198])
                   at com.netegrity.siteminder.java.util.ay.b([DashoPro-V1.2-120198])
                   at com.netegrity.siteminder.java.servlet.a3.a([DashoPro-V1.2-120198])
                   at com.netegrity.siteminder.java.util.ay.b([DashoPro-V1.2-120198])
                   at com.netegrity.siteminder.java.servlet.a2.a([DashoPro-V1.2-120198])
                   at com.netegrity.siteminder.java.util.ay.b([DashoPro-V1.2-120198])
                   at com.netegrity.siteminder.java.servlet.a1.a([DashoPro-V1.2-120198])
                   at com.netegrity.siteminder.java.util.ay.b([DashoPro-V1.2-120198])
                   at com.netegrity.siteminder.java.servlet.a0.a([DashoPro-V1.2-120198])
                   at com.netegrity.siteminder.java.util.ay.b([DashoPro-V1.2-120198])
                   at com.netegrity.siteminder.java.servlet.az.a([DashoPro-V1.2-120198])
                   at com.netegrity.siteminder.java.util.ay.b([DashoPro-V1.2-120198])
                   at com.netegrity.siteminder.java.util.ax.a([DashoPro-V1.2-120198])
                   at com.netegrity.siteminder.java.util.ao.a([DashoPro-V1.2-120198])
                   at com.netegrity.siteminder.java.util.am.a([DashoPro-V1.2-120198])
                   at com.netegrity.siteminder.weblogic.sixone.WLS61ServletFilter.doFilter([DashoPro-V1.2-120198])
                   at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
                   at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:2398)
                   at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:1959)
                   at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
                   at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
              javax.servlet.ServletException
                   at com.netegrity.siteminder.weblogic.sixone.WLS61ServletFilter.doFilter([DashoPro-V1.2-120198])
                   at com.netegrity.siteminder.java.servlet.bl.c([DashoPro-V1.2-120198])
                   at com.netegrity.siteminder.java.servlet.bl.onAccessAccept([DashoPro-V1.2-120198])
                   at com.netegrity.siteminder.java.servlet.bj.a([DashoPro-V1.2-120198])
                   at com.netegrity.siteminder.java.util.ay.b([DashoPro-V1.2-120198])
                   at com.netegrity.siteminder.java.servlet.bi.a([DashoPro-V1.2-120198])
                   at com.netegrity.siteminder.java.util.ay.b([DashoPro-V1.2-120198])
                   at com.netegrity.siteminder.java.servlet.a4.a([DashoPro-V1.2-120198])
                   at com.netegrity.siteminder.java.util.ay.b([DashoPro-V1.2-120198])
                   at com.netegrity.siteminder.java.servlet.a3.a([DashoPro-V1.2-120198])
                   at com.netegrity.siteminder.java.util.ay.b([DashoPro-V1.2-120198])
                   at com.netegrity.siteminder.java.servlet.a2.a([DashoPro-V1.2-120198])
                   at com.netegrity.siteminder.java.util.ay.b([DashoPro-V1.2-120198])
                   at com.netegrity.siteminder.java.servlet.a1.a([DashoPro-V1.2-120198])
                   at com.netegrity.siteminder.java.util.ay.b([DashoPro-V1.2-120198])
                   at com.netegrity.siteminder.java.servlet.a0.a([DashoPro-V1.2-120198])
                   at com.netegrity.siteminder.java.util.ay.b([DashoPro-V1.2-120198])
                   at com.netegrity.siteminder.java.servlet.az.a([DashoPro-V1.2-120198])
                   at com.netegrity.siteminder.java.util.ay.b([DashoPro-V1.2-120198])
                   at com.netegrity.siteminder.java.util.ax.a([DashoPro-V1.2-120198])
                   at com.netegrity.siteminder.java.util.ao.a([DashoPro-V1.2-120198])
                   at com.netegrity.siteminder.java.util.am.a([DashoPro-V1.2-120198])
                   at com.netegrity.siteminder.weblogic.sixone.WLS61ServletFilter.doFilter([DashoPro-V1.2-120198])
                   at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
                   at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:2398)
                   at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:1959)
                   at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
                   at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
              found internal error : null
              javax.servlet.ServletException
                   at com.netegrity.siteminder.weblogic.sixone.WLS61ServletFilter.doFilter([DashoPro-V1.2-120198])
                   at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
                   at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:2398)
                   at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:1959)
                   at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
                   at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
              <Jan 8, 2003 2:25:56 PM EST> <Error> <HTTP> <[WebAppServletContext(7173412,etollgate,/etollgate)]
              Servlet failed with Exception
              java.lang.IllegalStateException: response already committed
                   at weblogic.servlet.internal.ServletResponseImpl.sendError(ServletResponseImpl.java:358)
                   at weblogic.servlet.internal.ServletResponseImpl.sendError(ServletResponseImpl.java:349)
                   at com.netegrity.siteminder.weblogic.sixone.WLS61ServletFilter.doFilter([DashoPro-V1.2-120198])
                   at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
                   at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:2398)
                   at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:1959)
                   at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
                   at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
              >
              The same code works very well both in our staging and dev env, all of which have
              the same config. Any suggestions?
              

              Just an update: using wls 6.1 without any service packs
              "Vinay S" <[email protected]> wrote:
              >
              >We have A.jsp which on click of a button, points to B.jsp.
              >This 2.jsp also has <@ include> which includes C.jsp
              >The problem is the code works fine on our staging environmnet, but on
              >our prod
              >env when the button on A.jsp is clicked, the browser tries to load B.jsp
              >but then
              >gives a "page cannot be displayed error". In weblogic logs, we find the
              >folowing
              >error:
              >got error: null
              >java.security.PrivilegedActionException: java.security.PrivilegedActionException:
              >weblogic.servlet.jsp.JspException: (line 480): scriptlet close brace
              >'}' unbalanced
              >at line 480 which breaks scope '_base_service_scope_'
              >     at weblogic.servlet.jsp.ScriptletScopeLexer.mCLOSE_BRACE(ScriptletScopeLexer.java:527)
              >     at weblogic.servlet.jsp.ScriptletScopeLexer.mTOKEN(ScriptletScopeLexer.java:232)
              >     at weblogic.servlet.jsp.ScriptletScopeLexer.nextToken(ScriptletScopeLexer.java:159)
              >     at weblogic.servlet.jsp.ScriptletScopeLexer.parse(ScriptletScopeLexer.java:119)
              >     at weblogic.servlet.jsp.JspLexer.mSCRIPT(JspLexer.java:3948)
              >     at weblogic.servlet.jsp.JspLexer.mSTANDARD_THING(JspLexer.java:2042)
              >     at weblogic.servlet.jsp.JspLexer.mTOKEN(JspLexer.java:1850)
              >     at weblogic.servlet.jsp.JspLexer.nextToken(JspLexer.java:1732)
              >     at weblogic.servlet.jsp.JspLexer.parse(JspLexer.java:1015)
              >     at weblogic.servlet.jsp.JspParser.doit(JspParser.java:78)
              >     at weblogic.servlet.jsp.JspParser.parse(JspParser.java:181)
              >     at weblogic.servlet.jsp.Jsp2Java.outputs(Jsp2Java.java:119)
              >     at weblogic.utils.compiler.CodeGenerator.generate(CodeGenerator.java:255)
              >     at weblogic.servlet.jsp.JspStub.compilePage(JspStub.java:325)
              >     at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:189)
              >     at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:154)
              >     at weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:366)
              >     at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:240)
              >     at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:21)
              >     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
              >     at com.netegrity.siteminder.weblogic.sixone.at.run([DashoPro-V1.2-120198])
              >     at javax.security.auth.Subject.doAs(Subject.java:113)
              >     at com.netegrity.siteminder.weblogic.sixone.WLS61ServletFilter.doFilter([DashoPro-V1.2-120198])
              >     at com.netegrity.siteminder.java.servlet.bl.c([DashoPro-V1.2-120198])
              >     at com.netegrity.siteminder.java.servlet.bl.onAccessAccept([DashoPro-V1.2-120198])
              >     at com.netegrity.siteminder.java.servlet.bj.a([DashoPro-V1.2-120198])
              >     at com.netegrity.siteminder.java.util.ay.b([DashoPro-V1.2-120198])
              >     at com.netegrity.siteminder.java.servlet.bi.a([DashoPro-V1.2-120198])
              >     at com.netegrity.siteminder.java.util.ay.b([DashoPro-V1.2-120198])
              >     at com.netegrity.siteminder.java.servlet.a4.a([DashoPro-V1.2-120198])
              >     at com.netegrity.siteminder.java.util.ay.b([DashoPro-V1.2-120198])
              >     at com.netegrity.siteminder.java.servlet.a3.a([DashoPro-V1.2-120198])
              >     at com.netegrity.siteminder.java.util.ay.b([DashoPro-V1.2-120198])
              >     at com.netegrity.siteminder.java.servlet.a2.a([DashoPro-V1.2-120198])
              >     at com.netegrity.siteminder.java.util.ay.b([DashoPro-V1.2-120198])
              >     at com.netegrity.siteminder.java.servlet.a1.a([DashoPro-V1.2-120198])
              >     at com.netegrity.siteminder.java.util.ay.b([DashoPro-V1.2-120198])
              >     at com.netegrity.siteminder.java.servlet.a0.a([DashoPro-V1.2-120198])
              >     at com.netegrity.siteminder.java.util.ay.b([DashoPro-V1.2-120198])
              >     at com.netegrity.siteminder.java.servlet.az.a([DashoPro-V1.2-120198])
              >     at com.netegrity.siteminder.java.util.ay.b([DashoPro-V1.2-120198])
              >     at com.netegrity.siteminder.java.util.ax.a([DashoPro-V1.2-120198])
              >     at com.netegrity.siteminder.java.util.ao.a([DashoPro-V1.2-120198])
              >     at com.netegrity.siteminder.java.util.am.a([DashoPro-V1.2-120198])
              >     at com.netegrity.siteminder.weblogic.sixone.WLS61ServletFilter.doFilter([DashoPro-V1.2-120198])
              >     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
              >     at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:2398)
              >     at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:1959)
              >     at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
              >     at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
              >javax.servlet.ServletException
              >     at com.netegrity.siteminder.weblogic.sixone.WLS61ServletFilter.doFilter([DashoPro-V1.2-120198])
              >     at com.netegrity.siteminder.java.servlet.bl.c([DashoPro-V1.2-120198])
              >     at com.netegrity.siteminder.java.servlet.bl.onAccessAccept([DashoPro-V1.2-120198])
              >     at com.netegrity.siteminder.java.servlet.bj.a([DashoPro-V1.2-120198])
              >     at com.netegrity.siteminder.java.util.ay.b([DashoPro-V1.2-120198])
              >     at com.netegrity.siteminder.java.servlet.bi.a([DashoPro-V1.2-120198])
              >     at com.netegrity.siteminder.java.util.ay.b([DashoPro-V1.2-120198])
              >     at com.netegrity.siteminder.java.servlet.a4.a([DashoPro-V1.2-120198])
              >     at com.netegrity.siteminder.java.util.ay.b([DashoPro-V1.2-120198])
              >     at com.netegrity.siteminder.java.servlet.a3.a([DashoPro-V1.2-120198])
              >     at com.netegrity.siteminder.java.util.ay.b([DashoPro-V1.2-120198])
              >     at com.netegrity.siteminder.java.servlet.a2.a([DashoPro-V1.2-120198])
              >     at com.netegrity.siteminder.java.util.ay.b([DashoPro-V1.2-120198])
              >     at com.netegrity.siteminder.java.servlet.a1.a([DashoPro-V1.2-120198])
              >     at com.netegrity.siteminder.java.util.ay.b([DashoPro-V1.2-120198])
              >     at com.netegrity.siteminder.java.servlet.a0.a([DashoPro-V1.2-120198])
              >     at com.netegrity.siteminder.java.util.ay.b([DashoPro-V1.2-120198])
              >     at com.netegrity.siteminder.java.servlet.az.a([DashoPro-V1.2-120198])
              >     at com.netegrity.siteminder.java.util.ay.b([DashoPro-V1.2-120198])
              >     at com.netegrity.siteminder.java.util.ax.a([DashoPro-V1.2-120198])
              >     at com.netegrity.siteminder.java.util.ao.a([DashoPro-V1.2-120198])
              >     at com.netegrity.siteminder.java.util.am.a([DashoPro-V1.2-120198])
              >     at com.netegrity.siteminder.weblogic.sixone.WLS61ServletFilter.doFilter([DashoPro-V1.2-120198])
              >     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
              >     at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:2398)
              >     at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:1959)
              >     at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
              >     at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
              >javax.servlet.ServletException
              >     at com.netegrity.siteminder.weblogic.sixone.WLS61ServletFilter.doFilter([DashoPro-V1.2-120198])
              >     at com.netegrity.siteminder.java.servlet.bl.c([DashoPro-V1.2-120198])
              >     at com.netegrity.siteminder.java.servlet.bl.onAccessAccept([DashoPro-V1.2-120198])
              >     at com.netegrity.siteminder.java.servlet.bj.a([DashoPro-V1.2-120198])
              >     at com.netegrity.siteminder.java.util.ay.b([DashoPro-V1.2-120198])
              >     at com.netegrity.siteminder.java.servlet.bi.a([DashoPro-V1.2-120198])
              >     at com.netegrity.siteminder.java.util.ay.b([DashoPro-V1.2-120198])
              >     at com.netegrity.siteminder.java.servlet.a4.a([DashoPro-V1.2-120198])
              >     at com.netegrity.siteminder.java.util.ay.b([DashoPro-V1.2-120198])
              >     at com.netegrity.siteminder.java.servlet.a3.a([DashoPro-V1.2-120198])
              >     at com.netegrity.siteminder.java.util.ay.b([DashoPro-V1.2-120198])
              >     at com.netegrity.siteminder.java.servlet.a2.a([DashoPro-V1.2-120198])
              >     at com.netegrity.siteminder.java.util.ay.b([DashoPro-V1.2-120198])
              >     at com.netegrity.siteminder.java.servlet.a1.a([DashoPro-V1.2-120198])
              >     at com.netegrity.siteminder.java.util.ay.b([DashoPro-V1.2-120198])
              >     at com.netegrity.siteminder.java.servlet.a0.a([DashoPro-V1.2-120198])
              >     at com.netegrity.siteminder.java.util.ay.b([DashoPro-V1.2-120198])
              >     at com.netegrity.siteminder.java.servlet.az.a([DashoPro-V1.2-120198])
              >     at com.netegrity.siteminder.java.util.ay.b([DashoPro-V1.2-120198])
              >     at com.netegrity.siteminder.java.util.ax.a([DashoPro-V1.2-120198])
              >     at com.netegrity.siteminder.java.util.ao.a([DashoPro-V1.2-120198])
              >     at com.netegrity.siteminder.java.util.am.a([DashoPro-V1.2-120198])
              >     at com.netegrity.siteminder.weblogic.sixone.WLS61ServletFilter.doFilter([DashoPro-V1.2-120198])
              >     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
              >     at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:2398)
              >     at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:1959)
              >     at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
              >     at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
              >found internal error : null
              >javax.servlet.ServletException
              >     at com.netegrity.siteminder.weblogic.sixone.WLS61ServletFilter.doFilter([DashoPro-V1.2-120198])
              >     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
              >     at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:2398)
              >     at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:1959)
              >     at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
              >     at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
              ><Jan 8, 2003 2:25:56 PM EST> <Error> <HTTP> <[WebAppServletContext(7173412,etollgate,/etollgate)]
              >Servlet failed with Exception
              >java.lang.IllegalStateException: response already committed
              >     at weblogic.servlet.internal.ServletResponseImpl.sendError(ServletResponseImpl.java:358)
              >     at weblogic.servlet.internal.ServletResponseImpl.sendError(ServletResponseImpl.java:349)
              >     at com.netegrity.siteminder.weblogic.sixone.WLS61ServletFilter.doFilter([DashoPro-V1.2-120198])
              >     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
              >     at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:2398)
              >     at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:1959)
              >     at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
              >     at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
              >>
              >
              >
              >The same code works very well both in our staging and dev env, all of
              >which have
              >the same config. Any suggestions?
              

  • Urgent: JSP gives compilation error in one environment, but works OK in another. wls 6.1 on Solaris

              I have tried a lot searching for such issue, but cd not find any solution which
              cd help me.
              We have a jsp which compiles well in one enviroment, but does not compile in another.
              The enviroment in which it compiles is as follows:
              OS: Solaris 2.6, Patch level 32
              wls version: 6.1 with no service pak
              The enviroment in which it does not compile is as follows:
              OS: Solaris 8, Patch level 19
              wls version: 6.1 with no service pak
              In the second enviroment, it gives the folowing error, when invoked...
              //error start....
              /requisition/reqteamwiz.jsp(532): scriptlet close brace '}' unbalanced at line
              532 which breaks scope '_base_service_scope_'
              probably occurred due to an error in /requisition/reqteamwiz.jsp line 532:
              <strong><font face="Verdana" size="1"><input type="button" style="font-family:
              Verdana; font-size: 8pt" name="B1" value=" Submit " onClick="FrontPage_Form1_Validator(document.FrontPage_Form1,
              '<%= i%>')"></td></font></strong>
              //error end
              The line seems OK, and this works fine in the first enviroment.
              Cd anyone pls give any suggestions or references as to any known issues with the
              second enviroment.
              Thanks a lot...
              

              [email protected] (David M. Karr) wrote:
              >>>>>> "vinay" == vinay s <[email protected]> writes:
              >
              > vinay> I have tried a lot searching for such issue, but cd not find
              >any solution which
              > vinay> cd help me.
              > vinay> We have a jsp which compiles well in one enviroment, but does
              >not compile in another.
              > vinay> The enviroment in which it compiles is as follows:
              > vinay> OS: Solaris 2.6, Patch level 32
              > vinay> wls version: 6.1 with no service pak
              >
              > vinay> The enviroment in which it does not compile is as follows:
              > vinay> OS: Solaris 8, Patch level 19
              > vinay> wls version: 6.1 with no service pak
              >
              > vinay> In the second enviroment, it gives the folowing error, when
              >invoked...
              > vinay> //error start....
              > vinay> /requisition/reqteamwiz.jsp(532): scriptlet close brace '}'
              >unbalanced at line
              > vinay> 532 which breaks scope '_base_service_scope_'
              > vinay> probably occurred due to an error in /requisition/reqteamwiz.jsp
              >line 532:
              > vinay> <strong><font face="Verdana" size="1"><input type="button"
              >style="font-family:
              > vinay> Verdana; font-size: 8pt" name="B1" value=" Submit " onClick="FrontPage_Form1_Validator(document.FrontPage_Form1,
              > vinay> '<%= i%>')"></td></font></strong>
              > vinay> //error end
              >
              > vinay> The line seems OK, and this works fine in the first enviroment.
              > vinay> Cd anyone pls give any suggestions or references as to any
              >known issues with the
              > vinay> second enviroment.
              > vinay> Thanks a lot...
              >
              >If you use an expression scriptlet for an attribute value, it has to
              >be the
              >entire attribute value, not just a portion of it.
              >
              >--
              >===================================================================
              >David M. Karr ; Java/J2EE/XML/Unix/C++
              >[email protected] ; SCJP; SCWCD
              >
              >
              I am using the scriplet for entire value, seems the post got jumbled up.
              FrontPage_Form1_Validator is a javascript function which takes 2 parameters, one
              of which is provided by the expression scriplet.
              <strong><font face="Verdana" size="1"><input type="button" style="font-family:
              Verdana; font-size: 8pt" name="B1" value=" Submit " onClick="FrontPage_Form1_Validator(document.FrontPage_Form1,
              '<%= i%>')"></td></font></strong>
              

  • ADD_JOB_EMAIL_NOTIFICATION  failed

    Hi Oracle expert,
    I downloaded the job email notification and installed in our existing development DB oracle 10g.
    The installation was successfully.
    However when I tried to run the procedure it endup with errors as follows:
    SQL> exec add_job_email_notification('BACKUP_IDTAPPS.XXX.COM_000009','s
    [email protected]','JOB_FAILED');
    BEGIN add_job_email_notification('BACKUP_IDTAPPS.XXX.COM_000009','steve
    [email protected]','JOB_FAILED'); END;
    ERROR at line 1:
    ORA-00931: missing identifier
    ORA-06512: at "SYS.DBMS_UTILITY", line 125
    ORA-06512: at "SYS.DBMS_ISCHED", line 3559
    ORA-06512: at "SYS.DBMS_ISCHED", line 3532
    ORA-06512: at "SYS.ADD_JOB_EMAIL_NOTIFICATION", line 37
    ORA-06512: at line 1
    Any one have ideas?
    Below is the procedure code from Oracle.
    job_name IN VARCHAR2,
    recipient_address IN VARCHAR2,
    events IN VARCHAR2 DEFAULT
    'JOB_FAILED,JOB_BROKEN,JOB_SCH_LIM_REACHED,JOB_CHAIN_STALLED',
    sender_address IN VARCHAR2 DEFAULT '[email protected]',
    subject_prefix IN VARCHAR2 DEFAULT 'Oracle Scheduler Job Notification',
    email_server_host IN VARCHAR2 DEFAULT 'mail.XXX.com',
    email_server_port IN PLS_INTEGER DEFAULT 25
    ) AS
    events_on NUMBER := 0;
    job_object VARCHAR2(35);
    job_owner VARCHAR2(35);
    canon_job_name VARCHAR2(30);
    canon_job_owner VARCHAR2(30);
    caller VARCHAR2(30) := sys_context('USERENV','SESSION_USER');
    notifier_job_name VARCHAR2(80);
    new_raise_events NUMBER := 0;
    cur_raise_events VARCHAR2(200);
    priv_count NUMBER;
    event_condition VARCHAR2(4000);
    comments_text VARCHAR2(100) :=
    'Auto-generated job to send email alerts for job ';
    type event_name_list is table of varchar2(30);
    type event_number_list is table of number;
    event_names event_name_list := event_name_list('JOB_STARTED',
    'JOB_SUCCEEDED', 'JOB_FAILED', 'JOB_BROKEN', 'JOB_COMPLETED',
    'JOB_STOPPED', 'JOB_SCH_LIM_REACHED', 'JOB_DISABLED',
    'JOB_CHAIN_STALLED', 'JOB_OVER_MAX_DUR');
    event_numbers event_number_list :=
    event_number_list(1,2,4,8,16,32,64,128,256,512);
    event_found pls_integer := 0;
    event_10862 pls_integer := 0;
    begin
    -- get job name and owner
    sys.dbms_isched.resolve_name(job_name, job_object, job_owner, caller);
    -- canonicalize job name and owner
    dbms_utility.canonicalize(job_object, canon_job_name, 30);
    dbms_utility.canonicalize(job_owner, canon_job_owner, 30);
    comments_text := comments_text ||'"'||canon_job_owner ||'"."'||canon_job_name||'"' ;
    -- check if the caller has privileges on the job
    -- check if the caller is the job owner or 'SYS'
    IF canon_job_owner = caller or caller = 'SYS' THEN
    goto privilege_check_passed;
    END IF;
    -- check whether the caller has been granted ALTER on the job or
    -- CREATE ANY JOB or SCHEDULER_ADMIN or DBA directly
    select count(*) into priv_count from dba_sys_privs where grantee=caller and
    privilege='CREATE ANY JOB';
    IF priv_count > 0 THEN goto privilege_check_passed; END IF;
    select count(*) into priv_count from dba_role_privs where grantee=caller and
    granted_role='SCHEDULER_ADMIN';
    IF priv_count > 0 THEN goto privilege_check_passed; END IF;
    select count(*) into priv_count from dba_tab_privs where grantee=caller and
    owner=canon_job_owner and table_name=canon_job_name;
    IF priv_count > 0 THEN goto privilege_check_passed; END IF;
    -- recursive privileges check for CREATE ANY JOB system priv
    -- includes a recursive roles check so SCHEDULER_ADMIN will also work
    -- this is slow but all simple privilege checks have failed
    select count(*) into priv_count from (
    select grantee, granted from
    /* roles granted */
    select grantee, granted_role granted from dba_role_privs
    /* system privileges granted */
    union
    select grantee, privilege granted from dba_sys_privs
    start with grantee = caller connect by grantee = prior granted )
    where granted = 'CREATE ANY JOB';
    IF priv_count > 0 THEN goto privilege_check_passed; END IF;
    -- recursive privileges check whether the caller has object privileges on the job
    -- this is slow but all simple privilege checks have failed
    select count(*) into priv_count from (
    select * from
    /* object privileges granted */
    select table_name g1, owner g2, grantee obj, grantee own, privilege typ
    from dba_tab_privs
    /* role privileges granted */
    union
    select granted_role g1, granted_role g2, grantee, grantee, null
    from dba_role_privs
    start with g1 = canon_job_name and g2 = canon_Job_owner
    connect by g1 = prior obj and g2 = prior own)
    where obj=caller;
    IF priv_count > 0 THEN goto privilege_check_passed; END IF;
    -- no privileges, throw job_does_exist error
    dbms_sys_error.raise_system_error(-23308, canon_job_owner, canon_job_name,
    TRUE);
    <<privilege_check_passed>>
    -- retrieve current events turned on. cast NO_DATA_FOUND to job not found
    begin
    select raise_events into cur_raise_events from dba_scheduler_jobs where
    job_name=canon_job_name and owner=canon_job_owner ;
    exception when no_data_found then
    dbms_sys_error.raise_system_error(-23308, canon_job_owner, canon_job_name,
    TRUE);
    when others then raise;
    end;
    -- generate event_condition
    event_condition := 'tab.user_data.object_owner = '''||canon_job_owner||
    ''' AND tab.user_data.object_name = '''||canon_job_name|| '''';
    if instr(UPPER(events),'JOB_ALL_EVENTS')>0 then
    -- by default we have no events clause so all events will trigger an e-mail
    event_found := 1;
    else
    event_condition := event_condition ||' AND tab.user_data.event_type in (';
    for i in event_names.first..event_names.last loop
    if instr(UPPER(events),event_names(i))>0 then
    event_condition := event_condition || ''''||event_names(i)||''',';
    event_found := 1;
    end if;
    end loop;
    if instr(UPPER(events),'JOB_RUN_COMPLETED')>0 then
    event_condition := event_condition ||
    '''JOB_SUCCEEDED'',''JOB_FAILED'',''JOB_STOPPED'',';
    event_found := 1;
    end if;
    -- strip last comma and add close brace
    event_condition := regexp_replace(event_condition, ',$');
    event_condition := event_condition || ')';
    end if;
    -- if no events have been specified, throw an error
    if event_found = 0 then
    dbms_sys_error.raise_system_error(-24098, events, 'EVENTS',TRUE);
    end if;
    -- collect all events to turn on
    if cur_raise_events is null then
    cur_raise_events := UPPER(events) ;
    else
    cur_raise_events := UPPER(events) ||','||UPPER(cur_raise_events) ;
    end if;
    for i in event_names.first..event_names.last loop
    if instr(cur_raise_events,event_names(i))>0 then
    new_raise_events := new_raise_events + event_numbers(i);
    end if;
    end loop;
    if instr(cur_raise_events,'JOB_RUN_COMPLETED')>0 then
    new_raise_events := new_raise_events -
    bitand(new_raise_events,sys.dbms_scheduler.job_run_completed) +
    sys.dbms_scheduler.job_run_completed;
    end if;
    if instr(cur_raise_events,'JOB_ALL_EVENTS')>0 then
    new_raise_events := new_raise_events -
    bitand(new_raise_events,sys.dbms_scheduler.job_all_events) +
    sys.dbms_scheduler.job_all_events;
    end if;
    -- turn on events the user is interested in
    dbms_scheduler.set_attribute
    ( '"'||canon_job_owner||'"."'||canon_job_name||'"' , 'raise_events' ,
    new_raise_events);
    -- set event 10862 if not set so that we can add a subscriber
    -- this is necessary because if event 10862 is not set then AQ is in backward
    -- compatibility mode which checks the login user instead of the current user
    -- for privileges.
    dbms_system.read_ev(10862, event_10862);
    IF event_10862 = 0 THEN
    EXECUTE IMMEDIATE
    'ALTER SESSION SET EVENTS ''10862 TRACE NAME CONTEXT FOREVER, LEVEL 1''';
    END IF;
    -- add a new subscriber for this notification
    BEGIN
    dbms_aqadm.add_subscriber
    (queue_name => 'SYS.SCHEDULER$_EVENT_QUEUE',
    subscriber => sys.aq$_agent(canon_job_owner, NULL, NULL),
    rule => 'tab.user_data.object_owner = '''||canon_job_owner||'''');
    EXCEPTION WHEN others then
    -- unset event 10862, if we set it above
    IF event_10862 = 0 THEN
    EXECUTE IMMEDIATE 'ALTER SESSION SET EVENTS ' ||
    '''10862 TRACE NAME CONTEXT OFF''' ;
    END IF;
    if sqlcode = -24034 then NULL;
    else raise;
    end if;
    end;
    -- unset event 10862, if we set it above
    IF event_10862 = 0 THEN
    EXECUTE IMMEDIATE 'ALTER SESSION SET EVENTS ' ||
    '''10862 TRACE NAME CONTEXT OFF''' ;
    END IF;
    -- allow the job owner to access our events queue via this subscriber
    dbms_aqadm.enable_db_access(canon_job_owner,'"'||canon_job_owner||'"');
    -- if this procedure has been run already for this job, drop previously
    -- created email notification jobs. One of the parameters might have changed
    -- and existing email notification jobs might have been altered or broken.
    FOR old_notify_job IN
    ( SELECT '"'||owner||'"."'||job_name ||'"' name FROM dba_scheduler_jobs WHERE
    owner = canon_job_owner and job_name like substr(canon_job_name,1,10) || '_EMAILER%'
    and comments = comments_text and program_owner = 'SYS'
    and program_name = 'EMAIL_NOTIFICATION_PROGRAM'
    LOOP
    dbms_scheduler.drop_job(old_notify_job.name);
    END LOOP;
    -- now create a notifier job which waits on job events
    BEGIN
    -- try using a simple name without an added number suffix
    notifier_job_name := substr(canon_job_name,1,10) || '_EMAILER' ;
    notifier_job_name := '"' || canon_job_owner || '"."' || notifier_job_name ||'"' ;
    dbms_scheduler.create_job(notifier_job_name,
    program_name => 'sys.email_notification_program',
    event_condition => event_condition,
    queue_spec =>'sys.scheduler$_event_queue,"'
    || canon_job_owner||'"',
    comments => comments_text);
    EXCEPTION WHEN OTHERS THEN
    IF sqlcode != -27477 THEN RAISE; END IF;
    -- a job already exists using our simple name, add a numerical suffix
    notifier_job_name :=
    dbms_scheduler.generate_job_name( '"'||substr(canon_job_name,1,10)||'_EMAILER"');
    notifier_job_name := '"' || canon_job_owner || '"."' || notifier_job_name ||'"' ;
    dbms_scheduler.create_job(notifier_job_name,
    program_name => 'sys.email_notification_program',
    event_condition => event_condition,
    queue_spec =>'sys.scheduler$_event_queue,"'
    || canon_job_owner||'"',
    comments => comments_text);
    END;
    dbms_scheduler.set_job_argument_value(notifier_job_name,2,
    recipient_address);
    dbms_scheduler.set_job_argument_value(notifier_job_name,3,
    email_server_host);
    dbms_scheduler.set_job_argument_value(notifier_job_name,4,
    sender_address);
    dbms_scheduler.set_job_argument_value(notifier_job_name,5,
    subject_prefix);
    dbms_scheduler.set_job_argument_value(notifier_job_name,6,
    to_char(email_server_port));
    dbms_scheduler.enable(notifier_job_name);
    end;

    Hi,
    add_job_email_notification can only be used on jobs created with dbms_scheduler (or via the dbms_scheduler EM interface under the server tab, under Oracle Scheduler).
    This backup job may be a regular EM job (from the Jobs link on the EM front page) in which case you would have to setup EM job notification. I don't know how to configure this but the folks in the Grid Control forum would know.
    If this is a dbms_scheduler job then you should also specify the schema that the job is in. i.e. 'SCOTT.DAILYFULLBACKUP' . You can tell if this is a dbms_scheduler job by seeing if it is in the dba_scheduler_jobs view or checking the jobs under the server tab under Oracle Scheduler.
    Hope this helps,
    Ravi.

  • Parsing of JSP File failed

              I have many Jsp files already used at WLS51,
              when I move to WLS6.0 I get the following error:
              Parsing of JSP File '/Ticket/Reservation/ImmigrationSeqNbr.jsp' failed:
              /Ticket/Reservation/ImmigrationSeqNbr.jsp(353): scriptlet close brace '}' unbalanced
              at line 353 which breaks scope '_base_service_scope_'
              probably occurred due to an error in /Ticket/Reservation/ImmigrationSeqNbr.jsp
              line 353:
              finally{
              Can you help me what is the mean of the errro message?
              And how to solve that?
              Thx
              

              It's telling you there is a syntax error in your JSP. Which would be strange if
              it worked fine in 5.1. Please post the JSP.
              Mike
              "Samuel Pun" <[email protected]> wrote:
              >
              >I have many Jsp files already used at WLS51,
              >when I move to WLS6.0 I get the following error:
              >
              >Parsing of JSP File '/Ticket/Reservation/ImmigrationSeqNbr.jsp' failed:
              >--------------------------------------------------------------------------------
              > /Ticket/Reservation/ImmigrationSeqNbr.jsp(353): scriptlet close brace
              >'}' unbalanced
              >at line 353 which breaks scope '_base_service_scope_'
              >probably occurred due to an error in /Ticket/Reservation/ImmigrationSeqNbr.jsp
              >line 353:
              >finally{
              >
              >Can you help me what is the mean of the errro message?
              >And how to solve that?
              >Thx
              

  • What characters & symbols are supported in LinkSys WAPs?

    The IEEE 802.11i STD says WPA2 is 32 to 126 (decimal) and then I'm seeing the Wiki on it says only ASCII printable characters.  
    What characters/symbols are valid/legal for WPA2 Linksys WAPs security passphrase?
    So the above perspective on the standard includes the following list:
    [Space] Space 32
    ! Exclamation mark 33
    " Quotes 34
    # Hash 35
    $ Dollar 36
    % Percent 37
    & Ampersand 38
    ' Apostrophe 39
    ( Open bracket 40
    ) Close bracket 41
    * Asterisk 42
    + Plus 43
    , Comma 44
    - Dash 45
    : Colon 58
    ; Semi-colon 59
    < Less than 60
    = Equals 61
    > Greater than 62
    ? Question mark 63
    @ At 64
    [ Open square bracket 91
    \ Backslash 92
    ] Close square bracket 93
    ^ Caret / hat 94
    _ Underscore 95
    ` Grave accent 96
    { Open brace 123
    | Pipe 124
    } Close brace 125
    ~ Tilde 126

    I believe Linksys follows wireless standards. And yes, to avoid brute force, you will need a random password that long but if you're using the router for home use, it might be too much.

  • Where's the problem in my jsp including Chinese string in WL6.0sp1

              hi,
              my code and appear error as follows, pls help
              code:
              <HTML>
              <title>&#27880;&#20876;</title>
              <BODY BGCOLOR="#FFFFFF" >
              <%@ page language="java" contentType="text/html; charset=gb2312" import="java.util.*"
              %>
              <%
                   String temp="&#27979;&#35797;&#27979;&#35797;";
                   //String test="this is a test";
                   if (true) {
                        temp="333333333333333";
                        out.println("----------it's true----------");
                   } else {
                        out.println("----------it's false------");
              %>
              </BODY>
              </HTML>
              error
              Parsing of JSP File '/yjx_test/yangtestSubmit.jsp' failed:
              /yjx_test/yangtestSubmit.jsp(8): scriptlet close brace '}' unbalanced at line
              8 which breaks scope '_base_service_scope_'
              probably occurred due to an error in /yjx_test/yangtestSubmit.jsp line 8:
              //String test="this is a test";
              Wed May 02 10:34:17 CST 2001
              

              Just tested, Your JSP works fine on my Weblogic 6 SP1 server with W2K (English
              version), too.
              "Jinxia Yang" <[email protected]> wrote:
              >
              >yes, my code works fine in weblogic5.1 on my computer, my OS is W2k Chinese
              >version,
              >so i think may be there are bugs in wl6.0sp1.
              >thanks very much.
              >
              >"Xiang Rao" <[email protected]> wrote:
              >>
              >>I have copy-and-pasted your code to my machine. You code works fine
              >on
              >>my machine,
              >>with both Weblogic 6 (no sp1) and weblogic 5.1. My OS is W2k professional,
              >>English
              >>version.
              >>
              >>
              >>"Javaapple" <[email protected]> wrote:
              >>>
              >>>hi,
              >>>my code and appear error as follows, pls help
              >>>code:
              >>><HTML>
              >>><title>&#27880;&#20876;</title>
              >>><BODY BGCOLOR="#FFFFFF" >
              >>><%@ page language="java" contentType="text/html; charset=gb2312" import="java.util.*"
              >>>%>
              >>>
              >>><%
              >>>     String temp="&#27979;&#35797;&#27979;&#35797;";
              >>>     //String test="this is a test";
              >>>
              >>>     if (true) {
              >>>          temp="333333333333333";
              >>>          out.println("----------it's true----------");
              >>>     } else {
              >>>          out.println("----------it's false------");
              >>>     }
              >>>%>
              >>></BODY>
              >>></HTML>
              >>>
              >>>error
              >>>Parsing of JSP File '/yjx_test/yangtestSubmit.jsp' failed:
              >>>--------------------------------------------------------------------------------
              >>> /yjx_test/yangtestSubmit.jsp(8): scriptlet close brace '}' unbalanced
              >>>at line
              >>>8 which breaks scope '_base_service_scope_'
              >>>probably occurred due to an error in /yjx_test/yangtestSubmit.jsp line
              >>>8:
              >>>//String test="this is a test";
              >>>--------------------------------------------------------------------------------
              >>>Wed May 02 10:34:17 CST 2001
              >>
              >
              

  • Writing methods within JSP that have HTML

    Hi!
    I'm programming a jsp that has a script method which iterates a vector retrived from the session and buid a menu with links.
    The HTML code interrupts the script
    <%
    script...
    %>
    <a href= ...
    <%
    more script...
    %>
    I'm getting the error:
    scriptlet close brace '}' unbalanced at line 75 which breaks scope '_base_service_scope_'
    How can I correct this?
    It looks like the HTML interruption causes the server to loose track of the brackets. Is this possible?
    Thanks and best regards
    Carlos

    no just keep tabs with the java code...and make sure whenever you introduce html code u put in a %> before the html code and before u revert back to java u put a <% before it

  • How do I get what does the function does.

    Hello.
    I want to get what the function actually does like in
    javascript:
    object.onmouseout
    what has hot a result of this:
    function anonymus() {
    what ever the function does
    but in flash I tried to use this:
    object.onEnterFrame
    but I get this
    [type Function]
    Thanks

    I'm not sure I understand...but then I'm not entirely
    familiar with javascript... do you mean that you want to access the
    actionscript definition of the function? You can't do that (except
    maybe with a decompiler).
    to call a function and get the result you use the open and
    close braces, with arguments if required (for example):
    object.onEnterFrame()
    or
    object.doMyThing("with this argument")
    or just
    doMyThing()
    depending on where its defined and current scope.
    but if you do trace(doMyThing) or trace(object.doMyThing)
    it will trace: [type Function]
    this is normal. In the same way that an object's string
    output is [object Object] if you try to trace it. The difference
    with an object is that you can access its properties and method
    names (functions) without knowing them if they are not hidden by
    using a for in loop. But you can't (AFAIK) get anything related to
    the contents/definition of a function (or method) at runtime.

  • Beginning curly brance has to be separate from if stmt

              <% if (a) {%>
              html here...
              <% } %>
              will trigger error,
              but
              <% if (a) %>
              <% { %>
              html here...
              <% } %>
              will fix it?!
              trace here:
              <Nov 29, 2000 11:33:19 AM PST> <Error> <HTTP> <[WebAppServletContext(3931207,pub
              lic_html_DefaultWebServer)] Servlet failed with Exception
              weblogic.servlet.jsp.JspException: (line 220): scriptlet close brace '}' unbalan
              ced at line 220 which breaks scope '_base_service_scope_'
              at weblogic.servlet.jsp.ScriptletScopeLexer.mCLOSE_BRACE(ScriptletScopeL
              exer.java:331)
              at weblogic.servlet.jsp.ScriptletScopeLexer.mTOKEN(ScriptletScopeLexer.j
              ava:213)
              at weblogic.servlet.jsp.ScriptletScopeLexer.nextToken(ScriptletScopeLexe
              r.java:145)
              at weblogic.servlet.jsp.ScriptletScopeLexer.parse(ScriptletScopeLexer.ja
              va:107)
              at weblogic.servlet.jsp.JspLexer.mSCRIPT(JspLexer.java:3575)
              at weblogic.servlet.jsp.JspLexer.mSTANDARD_THING(JspLexer.java:1806)
              at weblogic.servlet.jsp.JspLexer.mTOKEN(JspLexer.java:1641)
              at weblogic.servlet.jsp.JspLexer.nextToken(JspLexer.java:1523)
              at weblogic.servlet.jsp.JspLexer.parse(JspLexer.java:877)
              at weblogic.servlet.jsp.JspParser.doit(JspParser.java:74)
              at weblogic.servlet.jsp.JspParser.parse(JspParser.java:121)
              at weblogic.servlet.jsp.Jsp2Java.outputs(Jsp2Java.java:100)
              at weblogic.utils.compiler.CodeGenerator.generate(CodeGenerator.java:254
              at weblogic.servlet.jsp.JspStub.compilePage(JspStub.java:258)
              at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:172)
              at weblogic.servlet.jsp.JspStub.checkForReload(JspStub.java:101)
              at weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.
              java:297)
              at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
              pl.java:200)
              at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppSe
              rvletContext.java:1107)
              at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestIm
              pl.java:1482)
              at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
              at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
              >
              

    Has the release date of GA set?
              Or, when it will be?
              Can you give us some hint?
              "Dave Brown" <[email protected]> wrote in message
              news:[email protected]...
              > Hi Dan,
              >
              > This indeed was a bug, that has been fixed for the
              > G.A. (final) version of the product, due out in
              > a week or two. We have made the JSP lexer smarter
              > about counting scope braces introduced in scriptlets,
              > and it will complain if they are found to be
              > unbalanced.
              >
              > -dave brown
              >
              > dan wrote:
              > >
              > > <% if (a) {%>
              > > html here...
              > > <% } %>
              > >
              > > will trigger error,
              > > but
              > > <% if (a) %>
              > > <% { %>
              > > html here...
              > > <% } %>
              > > will fix it?!
              > >
              > > trace here:
              > > <Nov 29, 2000 11:33:19 AM PST> <Error> <HTTP>
              <[WebAppServletContext(3931207,pub
              > > lic_html_DefaultWebServer)] Servlet failed with Exception
              > > weblogic.servlet.jsp.JspException: (line 220): scriptlet close brace '}'
              unbalan
              > > ced at line 220 which breaks scope '_base_service_scope_'
              > > at
              weblogic.servlet.jsp.ScriptletScopeLexer.mCLOSE_BRACE(ScriptletScopeL
              > > exer.java:331)
              > > at
              weblogic.servlet.jsp.ScriptletScopeLexer.mTOKEN(ScriptletScopeLexer.j
              > > ava:213)
              > > at
              weblogic.servlet.jsp.ScriptletScopeLexer.nextToken(ScriptletScopeLexe
              > > r.java:145)
              > > at
              weblogic.servlet.jsp.ScriptletScopeLexer.parse(ScriptletScopeLexer.ja
              > > va:107)
              > > at weblogic.servlet.jsp.JspLexer.mSCRIPT(JspLexer.java:3575)
              > > at
              weblogic.servlet.jsp.JspLexer.mSTANDARD_THING(JspLexer.java:1806)
              > > at weblogic.servlet.jsp.JspLexer.mTOKEN(JspLexer.java:1641)
              > > at weblogic.servlet.jsp.JspLexer.nextToken(JspLexer.java:1523)
              > > at weblogic.servlet.jsp.JspLexer.parse(JspLexer.java:877)
              > > at weblogic.servlet.jsp.JspParser.doit(JspParser.java:74)
              > > at weblogic.servlet.jsp.JspParser.parse(JspParser.java:121)
              > > at weblogic.servlet.jsp.Jsp2Java.outputs(Jsp2Java.java:100)
              > > at
              weblogic.utils.compiler.CodeGenerator.generate(CodeGenerator.java:254
              > > )
              > > at weblogic.servlet.jsp.JspStub.compilePage(JspStub.java:258)
              > > at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:172)
              > > at weblogic.servlet.jsp.JspStub.checkForReload(JspStub.java:101)
              > > at
              weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.
              > > java:297)
              > > at
              weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
              > > pl.java:200)
              > > at
              weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppSe
              > > rvletContext.java:1107)
              > > at
              weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestIm
              > > pl.java:1482)
              > > at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
              > > at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
              > > >
              

Maybe you are looking for