Undefined relatedObject references

So I'm trying to do something which I think I should be able to do. I'm using two groups of 3 radio buttons, and calling a function when either group changes. I"m trying to get the function to see the value selected and what radio button group its in, then call an external function (addavalue) to send off a value pair to be saved. The first value is to be the radiobuttongroup name with the text "_write" tacked on the end, followed by the word "enabled" as the second pair.
My problem has nothing  to do with the external function call or the value pair but that i can't seem to reference the relatedObject class. I get the following compiler errors.
"Access of possibly undefined property index through a reference with a static type flash.events:Event." (POinting to the if statement in my radioChange function).
"Access of a possibily undefined property relatedObject through a reference with a static type flash.events:Event. (Pointing to the code in the if statement).
According to the debugger variable list, the values are there???
Any ideas?
<mx:Panel xmlns:mx="http://www.adobe.com/2006/mxml" borderStyle="solid"
   borderColor="#D4D4D4" dropShadowEnabled="true" dropShadowColor="#B3B3B3"
   shadowDirection="right" shadowDistance="10" >
<mx:Script>
<![CDATA[
   private function radioChange(event:Event):void
   if (event.relatedObject.value == "r") {
    parentDocument.addavalue(event.relatedObject.groupName + "_write","enabled");
<mx:VBox id="rights_table">
  <mx:HBox>
   <mx:Label text="Device Configuration Folder:"/>
   <mx:RadioButtonGroup id="device_cfg" itemClick="radioChange(event)" />
   <mx:RadioButton groupName="device_cfg" label="Read" value="r" />
   <mx:RadioButton groupName="device_cfg" label="Write" value="w" />
   <mx:RadioButton groupName="device_cfg" label="Read/Write" value="rw" />
  </mx:HBox>
  <mx:HBox>
   <mx:Label text="Console Configuration Folder:"/>
   <mx:RadioButtonGroup id="console_cfg" itemClick="radioChange(event)"/>
   <mx:RadioButton groupName="console_cfg" label="Read" value="r" />
   <mx:RadioButton groupName="console_cfg" label="Write" value="w" />
   <mx:RadioButton groupName="console_cfg" label="Read/Write" value="rw" />
  </mx:HBox>
</mx:VBox>

You got me close and on the right track! Thanks!  It wasn't actually a MouseEvent, but an ItemClickEvent that i didn't type or import.
Thanks!

Similar Messages

  • Weblogic server not getting started.(undefined mbean reference.)

    Hi ,
    I am using Weblogic server 7.0 in solaris and i have deployed web applications to the managed servers.
    When i am restarting my admin server , i am getting the following error:
    <May 22, 2009 12:08:23 PM IST> <Critical> <WebLogicServer> <000364> <Server failed during initialization. Exception:weblogic.management.configuration.ConfigurationException: undefined mbean reference: iciciprulife:Name=DefaultWebApp,Server=adminserver,Type=WebAppComponent
    weblogic.management.configuration.ConfigurationException: undefined mbean reference: iciciprulife:Name=DefaultWebApp,Server=adminserver,Type=WebAppComponent
    at weblogic.management.internal.xml.ConfigurationParser$ConfigurationHandler.resolveMBeanAttributes(ConfigurationParser.java:809)
    at weblogic.management.internal.xml.ConfigurationParser$ConfigurationHandler.endDocument(ConfigurationParser.java:337)
    at weblogic.apache.xerces.parsers.SAXParser.endDocument(SAXParser.java:1235)
    at weblogic.apache.xerces.validators.common.XMLValidator.callEndDocument(XMLValidator.java:1159)
    at weblogic.apache.xerces.framework.XMLDocumentScanner$EndOfInputDispatcher.dispatch(XMLDocumentScanner.java:1531)
    at weblogic.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.java:399)
    at weblogic.apache.xerces.framework.XMLParser.parse(XMLParser.java:1138)
    at weblogic.management.internal.xml.ConfigurationParser.parse(ConfigurationParser.java:227)
    at weblogic.management.internal.xml.XmlFileRepository.createOrLoadDomain(XmlFileRepository.java:483)
    at weblogic.management.internal.xml.XmlFileRepository.bootStrapAndLoadActiveDomain(XmlFileRepository.java:354)
    at weblogic.management.AdminServer.configureFromRepository(AdminServer.java:217)
    at weblogic.management.AdminServer.configureFromRepository(AdminServer.java:202)
    at weblogic.management.AdminServer.configure(AdminServer.java:196)
    at weblogic.management.AdminServerAdmin.initialize(AdminServerAdmin.java:111)
    at weblogic.t3.srvr.T3Srvr.initialize1(T3Srvr.java:664)
    at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:594)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:282)
    at weblogic.Server.main(Server.java:32)
    >
    The WebLogic Server did not start up properly.
    Exception raised:
    weblogic.management.configuration.ConfigurationException: undefined mbean reference: iciciprulife:Name=DefaultWebApp,Server=adminserver,Type=WebAppComponent
    at weblogic.management.internal.xml.ConfigurationParser$ConfigurationHandler.resolveMBeanAttributes(ConfigurationParser.java:809)
    at weblogic.management.internal.xml.ConfigurationParser$ConfigurationHandler.endDocument(ConfigurationParser.java:337)
    at weblogic.apache.xerces.parsers.SAXParser.endDocument(SAXParser.java:1235)
    at weblogic.apache.xerces.validators.common.XMLValidator.callEndDocument(XMLValidator.java:1159)
    at weblogic.apache.xerces.framework.XMLDocumentScanner$EndOfInputDispatcher.dispatch(XMLDocumentScanner.java:1531)
    at weblogic.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.java:399)
    at weblogic.apache.xerces.framework.XMLParser.parse(XMLParser.java:1138)
    at weblogic.management.internal.xml.ConfigurationParser.parse(ConfigurationParser.java:227)
    at weblogic.management.internal.xml.XmlFileRepository.createOrLoadDomain(XmlFileRepository.java:483)
    at weblogic.management.internal.xml.XmlFileRepository.bootStrapAndLoadActiveDomain(XmlFileRepository.java:354)
    at weblogic.management.AdminServer.configureFromRepository(AdminServer.java:217)
    at weblogic.management.AdminServer.configureFromRepository(AdminServer.java:202)
    at weblogic.management.AdminServer.configure(AdminServer.java:196)
    at weblogic.management.AdminServerAdmin.initialize(AdminServerAdmin.java:111)
    at weblogic.t3.srvr.T3Srvr.initialize1(T3Srvr.java:664)
    at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:594)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:282)
    at weblogic.Server.main(Server.java:32)
    Reason: Fatal initialization exception
    Throwable: weblogic.management.configuration.ConfigurationException: undefined mbean reference: iciciprulife:Name=DefaultWebApp,Server=adminserver,Type=WebAppComponent
    weblogic.management.configuration.ConfigurationException: undefined mbean reference: iciciprulife:Name=DefaultWebApp,Server=adminserver,Type=WebAppComponent
    at weblogic.management.internal.xml.ConfigurationParser$ConfigurationHandler.resolveMBeanAttributes(ConfigurationParser.java:809)
    at weblogic.management.internal.xml.ConfigurationParser$ConfigurationHandler.endDocument(ConfigurationParser.java:337)
    at weblogic.apache.xerces.parsers.SAXParser.endDocument(SAXParser.java:1235)
    at weblogic.apache.xerces.validators.common.XMLValidator.callEndDocument(XMLValidator.java:1159)
    at weblogic.apache.xerces.framework.XMLDocumentScanner$EndOfInputDispatcher.dispatch(XMLDocumentScanner.java:1531)
    at weblogic.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.java:399)
    at weblogic.apache.xerces.framework.XMLParser.parse(XMLParser.java:1138)
    at weblogic.management.internal.xml.ConfigurationParser.parse(ConfigurationParser.java:227)
    at weblogic.management.internal.xml.XmlFileRepository.createOrLoadDomain(XmlFileRepository.java:483)
    at weblogic.management.internal.xml.XmlFileRepository.bootStrapAndLoadActiveDomain(XmlFileRepository.java:354)
    at weblogic.management.AdminServer.configureFromRepository(AdminServer.java:217)
    at weblogic.management.AdminServer.configureFromRepository(AdminServer.java:202)
    at weblogic.management.AdminServer.configure(AdminServer.java:196)
    at weblogic.management.AdminServerAdmin.initialize(AdminServerAdmin.java:111)
    at weblogic.t3.srvr.T3Srvr.initialize1(T3Srvr.java:664)
    at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:594)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:282)
    at weblogic.Server.main(Server.java:32)
    + set +x
    Canany one please help me to rectify the above problem.
    Thanks in advance.
    Krikar

    Hi take a backup of config.xml file first and then replace it with config.xml.booted. This is the config file which ran successfully last time.
    Note : I am assuming this is not production server. If it is then I would suggest you to open a SR with support.
    Edited by: mchellap on May 22, 2009 3:43 PM

  • Spry Menu not working correctly

    Hopefully this is the right part of the forum to post this question, if not, I apologize.
    I have created a site in dreamweaver and am using a single Spry Menu Bar. I have read tons of forum postings about Drop down menus not working in IE, however, mine don't work in any browser or in the Live View either. I have a feeling it has something to do with either the div containing the menu bar or the sizing, but I can't tell.  Please help.
    ul.MenuBarHorizontal
              margin: 0;
              padding: 0;
              list-style-type: none;
              font-size:17px;
              font-family:Tahoma, Geneva, sans-serif;
              cursor: default;
              width: 100%;
    /* Set the active Menu Bar with this class, currently setting z-index to accomodate IE rendering bug: http://therealcrisp.xs4all.nl/meuk/IE-zindexbug.html */
    ul.MenuBarActive
              z-index: 1000;
    /* Menu item containers, position children relative to this container and are a fixed width */
    ul.MenuBarHorizontal li
              margin: 0;
              padding: 0;
              list-style-type: none;
              font-size:100%;
              position: relative;
              text-align: left;
              cursor: pointer;
              width:6.8em;
              height:3.5em;
              float: left;
    /* Submenus should appear below their parent (top: 0) with a higher z-index, but they are initially off the left side of the screen (-1000em) */
    ul.MenuBarHorizontal ul
              margin: 0;
              padding: 0;
              list-style-type: none;
              font-size:100%;
              z-index: 1020;
              cursor: default;
              width: 8.2em;
              position: absolute;
              left: -1000em;
    /* Submenu that is showing with class designation MenuBarSubmenuVisible, we set left to auto so it comes onto the screen below its parent menu item */
    ul.MenuBarHorizontal ul.MenuBarSubmenuVisible
              left: auto;
    /* Menu item containers are same fixed width as parent */
    ul.MenuBarHorizontal ul li
              width: 8.2em;
    /* Submenus should appear slightly overlapping to the right (95%) and up (-5%) */
    ul.MenuBarHorizontal ul ul
              position: absolute;
              margin: -5% 0 0 95%;
    /* Submenu that is showing with class designation MenuBarSubmenuVisible, we set left to 0 so it comes onto the screen */
    ul.MenuBarHorizontal ul.MenuBarSubmenuVisible ul.MenuBarSubmenuVisible
              left: auto;
              top: 0;
    DESIGN INFORMATION: describes color scheme, borders, fonts
    /* Submenu containers have borders on all sides */
    ul.MenuBarHorizontal ul
              border: 1px solid #CCC;
    /* Menu items are a light gray block with padding and no text decoration */
    ul.MenuBarHorizontal a
              display: block;
              cursor: pointer;
              background-color: #CCC;
              padding: 0.7em 0.5em;
              color: #333;
              text-decoration: none;
    /* Menu items that have mouse over or focus have a blue background and white text */
    ul.MenuBarHorizontal a:hover, ul.MenuBarHorizontal a:focus
              background-color: #33C;
              color: #FFF;
    /* Menu items that are open with submenus are set to MenuBarItemHover with a blue background and white text */
    ul.MenuBarHorizontal a.MenuBarItemHover, ul.MenuBarHorizontal a.MenuBarItemSubmenuHover, ul.MenuBarHorizontal a.MenuBarSubmenuVisible
              background-color: #33C;
              color: #FFF;
    SUBMENU INDICATION: styles if there is a submenu under a given menu item
    /* Menu items that have a submenu have the class designation MenuBarItemSubmenu and are set to use a background image positioned on the far left (95%) and centered vertically (50%) */
    ul.MenuBarHorizontal a.MenuBarItemSubmenu
              background-image: url(SpryMenuBarDown.gif);
              background-repeat: no-repeat;
              background-position: 95% 50%;
    /* Menu items that have a submenu have the class designation MenuBarItemSubmenu and are set to use a background image positioned on the far left (95%) and centered vertically (50%) */
    ul.MenuBarHorizontal ul a.MenuBarItemSubmenu
              background-image: url(SpryMenuBarRight.gif);
              background-repeat: no-repeat;
              background-position: 95% 50%;
    /* Menu items that are open with submenus have the class designation MenuBarItemSubmenuHover and are set to use a "hover" background image positioned on the far left (95%) and centered vertically (50%) */
    ul.MenuBarHorizontal a.MenuBarItemSubmenuHover
              background-image: url(SpryMenuBarDownHover.gif);
              background-repeat: no-repeat;
              background-position: 95% 50%;
    /* Menu items that are open with submenus have the class designation MenuBarItemSubmenuHover and are set to use a "hover" background image positioned on the far left (95%) and centered vertically (50%) */
    ul.MenuBarHorizontal ul a.MenuBarItemSubmenuHover
              background-image: url(SpryMenuBarRightHover.gif);
              background-repeat: no-repeat;
              background-position: 95% 50%;
    BROWSER HACKS: the hacks below should not be changed unless you are an expert
    /* HACK FOR IE: to make sure the sub menus show above form controls, we underlay each submenu with an iframe */
    ul.MenuBarHorizontal iframe
              position: absolute;
              z-index: 1010;
              filter:alpha(opacity:0.1);
    /* HACK FOR IE: to stabilize appearance of menu items; the slash in float is to keep IE 5.0 from parsing */
    @media screen, projection
              ul.MenuBarHorizontal li.MenuBarItemIE
                        display: inline;
                        float: left;
                        background: #FFF;
    Here is the code for the page
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <script language="javascript" type="text/javascript" src="http://www.onbile.com/websites/41ea989914d81eb7bd2e415141cd40fe"></script>
    <script src="SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>GuitarFusion.com - Play. Learn. Make Music</title>
    <link href="guitarfusionblogstyle.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript">
    function MM_swapImgRestore() { //v3.0
      var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
    function MM_preloadImages() { //v3.0
      var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
        var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
        if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
    function MM_findObj(n, d) { //v4.01
      var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
        d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
      if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
      for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
      if(!x && d.getElementById) x=d.getElementById(n); return x;
    function MM_swapImage() { //v3.0
      var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
       if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
    </script>
    <!--[if lt IE 7.]>
    <script defer type="text/javascript" src="pngfix.js"></script>
    <![endif]-->
    <script type="text/javascript">
      var _gaq = _gaq || [];
      _gaq.push(['_setAccount', 'UA-15280994-2']);
      _gaq.push(['_trackPageview']);
      (function() {
        var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
        ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
        var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
    </script>
    <link href="SpryAssets/SpryMenuBarHorizontal.css" rel="stylesheet" type="text/css" />
    </head>
    <body onload="MM_preloadImages('images/homeOver.jpg','images/BioOver.jpg','images/LearnOver.jpg ','images/LessonsOver.jpg','images/ContactOver.jpg')">
    <div id="wrapper">
    <div id="header">
    <div id="logo"></div>
    <div id="social"><a href="http://www.facebook.com/pages/Guitarfusion/208575872514732"><img src="../images/facebook_32.png" width="32" height="32" alt="Facebook" border="0"/></a><a href="http://www.linkedin.com/in/sammills"><img src="../images/linkedin_32.png" width="32" height="32" alt="Linkedin" border="0" /></a><a href="http://www.myspace.com/lucid77"><img src="../images/myspace_32.png" width="32" height="32" alt="Myspace" border="0" /></a><a href="http://twitter.com/#!/guitarfusion"><img src="../images/twitter_32.png" width="32" height="32" alt="Twitter" border="0"></a><a href="http://www.guitarfusion.com/blog"><img src="../images/wordpress_32.png" width="32" height="32" alt="Wordpress" border="0"/></a><a href="http://www.youtube.com/guitarfusiondotcom"><img src="../images/youtube_32.png" width="32" height="32" alt="Youtube" border="0" /></a></div>
    <!-- Old Nav
    <div id="nav"><a href="index.php" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Home','','images/homeOver.jpg',1)"><img src="images/home.jpg" alt="Home" name="Home" width="97" height="45" border="0" id="Home" /></a><a href="biography.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Bio','','images/BioOver.jpg',1)"><img src="images/Bio.jpg" alt="Biography" name="Bio" width="97" height="45" border="0" id="Bio" /></a><a href="learn.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Learn','','images/LearnOver.jpg',1)"><img src="images/Learn.jpg" alt="Learn Online" name="Learn" width="97" height="45" border="0" id="Learn" /></a>    <a href="lessons.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Lessons','','images/LessonsOver.jpg',1)"><img src="images/Lessons.jpg" alt="Lessons" name="Lessons" width="109" height="45" border="0" id="Lessons" /></a>    <a href="contact.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Contact','','images/ContactOver.jpg',1)"><img src="images/Contact.jpg" alt="Contact" name="Contact" width="126" height="45" border="0" id="Contact" /></a></div>
    End Old Nav -->
    <div id="navdropdown">
      <ul id="MenuBar1" class="MenuBarHorizontal">
        <li><a href="#">Home</a>      </li>
        <li><a href="#" class="MenuBarItemSubmenu">About Me</a>
          <ul>
            <li><a href="#" title="A little about myself.">Biography</a></li>
            <li><a href="#">Cirriculum Vitae</a></li>
            <li><a href="#" title="See me play or teach.">Mp3 &amp; Videos</a></li>
            <li><a href="#" title="Where am I am playing?">Performances</a></li>
            <li><a href="#" title="Want me to play your event or party?">Booking</a></li>
          </ul>
        </li>
        <li><a class="MenuBarItemSubmenu" href="#">Lessons</a>
          <ul>
            <li><a href="#" title="What will you learn?">Syllabus</a>          </li>
            <li><a href="#" title="How much does this cost?">Pricing</a></li>
            <li><a href="#" title="Where do lessons take place?">Locations</a></li>
            <li><a href="#" title="What books and supplies will you need?"> Books &amp; Supplies</a></li>
    </ul>
        </li>
        <li><a href="#" class="MenuBarItemSubmenu">Learn Online</a>
          <ul>
            <li><a href="#">Guitar</a></li>
            <li><a href="#">Bass</a></li>
          </ul>
        </li>
        <li><a href="#" class="MenuBarItemSubmenu">Contact</a>
          <ul>
            <li><a href="#">Email </a></li>
            <li><a href="#" title="Facebook, Twitter, Etc..">Social Media</a></li>
          </ul>
        </li>
      </ul>
    </div>
    </div>
    <div id="content">
      <div id="blog_header"></div>
    <div id="sidebar">
    <form method=post action="http://poll.pollcode.com/Vp1c"><table border=0 width=150 bgcolor="#ffffff" cellspacing=0 cellpadding=2><tr><td colspan=2><font face="Verdana" size=-1 color="teal"><center><b>Most useful video lesson topics:</b></center></font></td></tr><tr><td width=5><input type=radio name=answer value="1"></td><td><font face="Verdana" size=-1 color="000000">Open Chords</font></td></tr><tr><td width=5><input type=radio name=answer value="2"></td><td><font face="Verdana" size=-1 color="000000">Barre Chords</font></td></tr><tr><td width=5><input type=radio name=answer value="3"></td><td><font face="Verdana" size=-1 color="000000">Scales</font></td></tr><tr><td width=5><input type=radio name=answer value="4"></td><td><font face="Verdana" size=-1 color="000000">Arpeggios</font></td></tr><tr><td width=5><input type=radio name=answer value="5"></td><td><font face="Verdana" size=-1 color="000000">Music Reading</font></td></tr><tr><td width=5><input type=radio name=answer value="6"></td><td><font face="Verdana" size=-1 color="000000">Picking Technique</font></td></tr><tr><td width=5><input type=radio name=answer value="7"></td><td><font face="Verdana" size=-1 color="000000">Strumming Patterns</font></td></tr><tr><td width=5><input type=radio name=answer value="8"></td><td><font face="Verdana" size=-1 color="000000">Tab Reading</font></td></tr><tr><td width=5><input type=radio name=answer value="9"></td><td><font face="Verdana" size=-1 color="000000">Songwriting</font></td></tr><tr><td width=5><input type=radio name=answer value="10"></td><td><font face="Verdana" size=-1 color="000000">Improvisation</font></td></tr><tr><td width=5><input type=radio name=answer value="11"></td><td><font face="Verdana" size=-1 color="000000">Triads</font></td></tr><tr><td colspan=2><center><input type=submit value="Vote">  <input type=submit name=view value="View"></center></td></tr><tr><td bgcolor="white" colspan=2 align=right><font face="Verdana" size=-2 color="black">pollcode.com <a href=http://pollcode.com/><font color="navy">free polls</font></a></font></td></tr></table></form><a href="./studies.html">
    <img src="images/studies.jpg" border="0" /></a><br/><br/>
    <script src="http://widgets.twimg.com/j/2/widget.js"></script>
    <script>
    new TWTR.Widget({
      version: 2,
      type: 'profile',
      rpp: 4,
      interval: 6000,
      width: 'auto',
      height: 200,
      theme: {
        shell: {
          background: '#aee5f5',
          color: '#4b508f'
        tweets: {
          background: '#dbdbdb',
          color: '#333333',
          links: '#336699'
      features: {
        scrollbar: true,
        loop: false,
        live: false,
        hashtags: true,
        timestamp: true,
        avatars: false,
        behavior: 'all'
    }).render().setUser('guitarfusion').start();
    </script></font><br/>
    <div id="fb-root"></div><script src="http://connect.facebook.net/en_US/all.js#xfbml=1"></script><fb:like-box href="http://www.facebook.com/pages/Guitarfusion/208575872514732" width="200" show_faces="true" border_color="" stream="true" header="true"></fb:like-box>
    </div>
    <div id="blog">
    <?php
    /* Short and sweet */
    define('WP_USE_THEMES', false);
    require('./blog/wp-blog-header.php');
    ?>
    <?php
    require('./blog/wp-blog-header.php');
    ?>
    <?php
    $posts = get_posts('numberposts=10&order=ASC&orderby=post_title');
    foreach ($posts as $post) : start_wp(); ?>
    <?php the_date(); echo "<br />"; ?>
    <h2><?php the_title(); ?>    </h2>
    <?php the_content() ?>
    <a class="bloglink" href="<?php the_permalink() ?>">
    Read more...</a><br />
    <?php
    endforeach;
    ?>
    </div>
    <div id="ad_middle"></div>
    <div id="blog_bottom2">
    <h1> Free Stuff</h1>
    <br/>
    <ul>
    <li><a href="http://www.metronomeonline" target="_new">Online Metronome</a> - Metronomes are a great tool to use during practice to keep a steady tempo and to help increase speed of passages. Use this online metronome if you do not already have a stand alone metronome.</li><br/>
    <li><a href="http://itunes.apple.com/us/app/id347846503">Iphone / Itouch Metronome</a> - This is an example of several free metronome apps that are available for your phone. Android users can also find free metronomes on the Marketplace. Be sure and read the ratings, some are better at keeping time than others.</li><br/>
    <li><a href="https://market.android.com/details?id=com.pedrocorp.android.guitar&feature=search_result">Android Phone Metronome / Tuner / Chord Dictionary</a>This handy little app will not only provide you with a tuner, but has a built-in metronome and chord dictionary. - </li><br/>
    <li><a href="http://tuxguitar.herac.com.ar/" target="_new">Free Guitar Tab Editor</a> - View / Create Tab - Free alternative to GuitarPro Software. Use this software to open .gp3, .gp4, .gp5 files and search for music online.</li><br/>
    <li><a href="http://www.blanksheetmusic.net/">Free Blank Sheet Music</a> - Print blank sheet music. Choose from standard notation, treble, bass, alto clefs, and tablature. </li><br/>
    <li><a href="http://www.911tabs.com/">Free Tablature Search Engine</a> - This is a great search engine to find tabs. I mainly use this to find .gp5 files for my Tux Guitar Software. </li>
    </ul>
    </div>
    <div id="blog_bottom"><span style="float:left;">
    <img src="images/mapad.jpg" /></span>
    <iframe width="425" height="350" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://maps.google.com/maps?q=1060+West+State+Road+434,+Longwood,+FL&sll=28.697815,-81.364 128&hl=en&sspn=0.006295,0.006295&ie=UTF8&hq=&hnear=1060+Florida+434,+Longwood,+Florida+327 50&ll=28.70572,-81.364145&spn=0.026349,0.036478&z=14&iwloc=A&output=embed"></iframe><br /><small><a href="http://maps.google.com/maps?q=1060+West+State+Road+434,+Longwood,+FL&sll=28.697815,-81.364 128&hl=en&sspn=0.006295,0.006295&ie=UTF8&hq=&hnear=1060+Florida+434,+Longwood,+Florida+327 50&ll=28.70572,-81.364145&spn=0.026349,0.036478&z=14&iwloc=A&source=embed" style="color:#0000FF;text-align:right">View Larger Map</a></small>
    </div>
    </div>
    <div id="footer">
    <ul>
    <li><a href="../index.html">Home</a></li>
    <li><a href="../biography.html">Biography</a></li>
    <li><a href="../learn.html">Learn Guitar</a></li>
    <li><a href="../Lessons.html">Guitar Lessons</a></li>
    <li><a href="../contact.html">Schedule Lessons</a></li>
    <li><a href="mailto:[email protected]">Contact Webmaster</a></li>
    </ul>
    &copy; 2006-2011 Guitarfusion.com All Rights Reserved. Unauthorized Use Prohibited.
    </div>
    </div>
    </body>
    </html>
    And here is the code for the index.php's css
    body {
              background-color: #ff9933;
              font-family:Verdana, Geneva, sans-serif;
              font-size:11px;
    p {
              text-align:center;
              text-indent:15px;
    #wrapper {
              width:960px;
              height:100%;
              margin-left:30px;
              position:absolute;
    #header {
              width:960px;
              height:310px;
              background-image: url(images/gfheader.gif);
              background-position:center;
              background-repeat:no-repeat;
              position:relative;
              z-index:0;
    #logo {
              height:242px;
              width:235px;
              background-image:url(images/GuitarFusionLogo.gif);
              position:relative;
              top:40px;
              left:80px;
              z-index:1;
              visibility:hidden;
    #nav {
              width:600px;
              height:45px;
              z-index:2;
              position:relative;
              top:12px;
              left:290px;
              visibility:hidden;
    #navdropdown {
              background-color:#999;
              width:600px;
              height:45px;
              z-index:3;
              position:relative;
              top:12px;
              left:290px;
    #content {
              width:840px;
              height:1800px;
              background-color:#fff;
              position:relative;
              margin-left:60px;
    #social {
              width:195px;
              height:32px;
              border:none;
              position:relative;
              text-align:right;
              bottom:25px;
              right:65px;
              float:right;
              z-index:3;
              visibility:hidden;
    .social {
              margin-left:50px;
    #blog {
              width:600px;
              height:500px;
              border: thin solid #000;
              position:relative;
              top:15px;
              left:15px;
              float:left;
              z-index:1;
              overflow:auto;
              background-color:#d6e8f7;
    #blog_header {
              width:625px;
              height:45px;
              background-Image:url(images/blogheader.gif);
              position:relative;
              top:20px;
              left:5px;
              z-index:2;
              float:left;
    .nav {
              margin-left:20px;
    #sidebar {
              width:200px;
              height:1500px;
              border:none;
              left:-10px;
              top:10px;
              position:relative;
              float:right;
    #ad_middle {
              width:600px;
              height:200px;
              border: thin solid #000;
              position:relative;
              top:15px;
              left:15px;
              z-index:1;
              overflow:auto;
              float:left;
              background-color:#EFF5E9;
              background-image:url(images/lessonsad.jpg);
              background-repeat:no-repeat;
              background-position:center;
    #blog_bottom {
              width:600px;
              height:370px;
              border: thin solid #000;
              position:relative;
              top:15px;
              left:15px;
              z-index:1;
              overflow:auto;
              float:left;
              background-color:#F6F6F6;
    #contentwrapper {
              width:650px;
              height:500px;
              position:relative;
              top:50px;
              float:left;
              margin-left:95px;
    #header_content {
              width:624px;
              height:43px;
              background-image:url(images/Header.gif);
              text-align:center;
              font-size:28px;
              font-family:"Palatino Linotype", "Book Antiqua", Palatino, serif;
              line-height:40px;
              color:#FFF;
              position:relative;
              left:10px;
    #bio_content {
              width:600px;
              height:1000px;
    .biopic {
              float:left;}
    #learn_content {
              width:600px;
              height:100%;
    #faq {
              width:700px;
              height:600px;
              background-color:#f8f8f8;
              border:thin solid #000;
              margin-left:60px;
    #books {
              width:750px;
              height:700px;
              position:relative;
              float:left;
              margin-left:35px;
    fieldset {
    margin: 1em 0;
    padding: 1em;
    border : 1px solid #ccc;
    background: #f8f8f8;
    legend {
    font-weight: bold;
    #form_content {
              position:relative;
              left:160px;
              height:880px;
              width:500px;
              text-align:center;
              background-color:#E7EFFF;
              border:double #900;
    form div {
              background-color:#f8f8f8;
              padding:0px;
              margin:0px;
    #footer {
              width:960px;
              height:40px;
              bottom:0px;
              position:relative;
              text-align:center;
              line-height:1px;
              font-size:10px;
              padding-bottom:10px;
    #footer ul li {
              display:inline;
              margin:20px;
    #footer ul li a {
              text-decoration:none;}
              #blog_bottom2 {
              width:600px;
              height:370px;
              border: thin solid #000;
              position:relative;
              top:15px;
              left:15px;
              z-index:1;
              overflow:auto;
              float:left;
              background-color:#F6F6F6;
              text-align:center;
    #studies{
                        width:600px;
                        height:800px;
                        position:relative;
                        margin-left:110px;
                        text-align:center;
                        background:#f8f8f8;
    #blog_bottom2 ul li
              {list-style-type:none
    Any help is appreciated.

    You do not have a constructor for the menu bar as in
    <script type="text/javascript">
    var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", {imgDown:"SpryAssets/SpryMenuBarDownHover.gif", imgRight:"SpryAssets/SpryMenuBarRightHover.gif"});
    </script>
    There are too many mistakes in the JS outside of the Spry Menu Bar. Have a look at the following which includes all errors, not just the JS
    Validation Output:   117 Errors
      Line 21, Column 38: character "&" is the first character of a delimiter but occurred as data   var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=… ✉  
    This message may appear in several cases:
    You tried to include the "<" character in your page: you should escape it as "&lt;"
    You used an unescaped ampersand "&": this may be valid in some contexts, but it is recommended to use "&amp;", which is always safe.
    Another possibility is that you forgot to close quotes in a previous tag.
      Line 21, Column 40: cannot generate system identifier for general entity "i" … var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=… ✉  
    An entity reference was found in the document, but there is no reference by that name defined. Often this is caused by misspelling the reference name, unencoded ampersands, or by leaving off the trailing semicolon (;). The most common cause of this error is unencoded ampersands in URLs as described by the WDG in "Ampersands in URLs".
    Entity references start with an ampersand (&) and end with a semicolon (;). If you want to use a literal ampersand in your document you must encode it as "&amp;" (even inside URLs!). Be careful to end entity references with a semicolon or your entity reference may get interpreted in connection with the following text. Also keep in mind that named entity references are case-sensitive; &Aelig; and &aelig; are different characters.
    If this error appears in some markup generated by PHP's session handling code, this article has explanations and solutions to your problem.
    Note that in most documents, errors related to entity references will trigger up to 5 separate messages from the Validator. Usually these will all disappear when the original problem is fixed.
      Line 21, Column 40: general entity "i" not defined and no default entity … var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=… ✉  
    This is usually a cascading error caused by a an undefined entity reference or use of an unencoded ampersand (&) in an URL or body text. See the previous message for further details.
      Line 21, Column 41: reference not terminated by REFC delimiter …var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x… ✉  
    If you meant to include an entity that starts with "&", then you should terminate it with ";".  Another reason for this error message is that you inadvertently created an entity by failing to escape an "&" character just before this text.
      Line 21, Column 41: reference to entity "i" for which no system identifier could be generated …var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x… ✉  
    This is usually a cascading error caused by a an undefined entity reference or use of an unencoded ampersand (&) in an URL or body text. See the previous message for further details.
      Line 21, Column 39: entity was defined here   var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=…
      Line 21, Column 50: character "&" not allowed in attribute specification list …,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc; ✉  
      Line 21, Column 50: element "a.length" undefined …,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc; ✉  
    You have used the element named above in your document, but the document type you are using does not define an element of that name. This error is often caused by:
    incorrect use of the "Strict" document type with a document that uses frames (e.g. you must use the "Frameset" document type to get the "<frameset>" element),
    by using vendor proprietary extensions such as "<spacer>" or "<marquee>" (this is usually fixed by using CSS to achieve the desired effect instead).
    by using upper-case tags in XHTML (in XHTML attributes and elements must be all lower-case).
      Line 21, Column 51: character "&" is the first character of a delimiter but occurred as data …,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc; ✉  
    This message may appear in several cases:
    You tried to include the "<" character in your page: you should escape it as "&lt;"
    You used an unescaped ampersand "&": this may be valid in some contexts, but it is recommended to use "&amp;", which is always safe.
    Another possibility is that you forgot to close quotes in a previous tag.
      Line 21, Column 60: character "&" is the first character of a delimiter but occurred as data …,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc; ✉  
    This message may appear in several cases:
    You tried to include the "<" character in your page: you should escape it as "&lt;"
    You used an unescaped ampersand "&": this may be valid in some contexts, but it is recommended to use "&amp;", which is always safe.
    Another possibility is that you forgot to close quotes in a previous tag.
      Line 21, Column 62: cannot generate system identifier for general entity "x.oSrc" …,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc; ✉  
    An entity reference was found in the document, but there is no reference by that name defined. Often this is caused by misspelling the reference name, unencoded ampersands, or by leaving off the trailing semicolon (;). The most common cause of this error is unencoded ampersands in URLs as described by the WDG in "Ampersands in URLs".
    Entity references start with an ampersand (&) and end with a semicolon (;). If you want to use a literal ampersand in your document you must encode it as "&amp;" (even inside URLs!). Be careful to end entity references with a semicolon or your entity reference may get interpreted in connection with the following text. Also keep in mind that named entity references are case-sensitive; &Aelig; and &aelig; are different characters.
    If this error appears in some markup generated by PHP's session handling code, this article has explanations and solutions to your problem.
    Note that in most documents, errors related to entity references will trigger up to 5 separate messages from the Validator. Usually these will all disappear when the original problem is fixed.
      Line 21, Column 62: general entity "x.oSrc" not defined and no default entity …,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc; ✉  
    This is usually a cascading error caused by a an undefined entity reference or use of an unencoded ampersand (&) in an URL or body text. See the previous message for further details.
      Line 21, Column 68: reference to entity "x.oSrc" for which no system identifier could be generated …,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc; ✉  
    This is usually a cascading error caused by a an undefined entity reference or use of an unencoded ampersand (&) in an URL or body text. See the previous message for further details.
      Line 21, Column 61: entity was defined here …,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
      Line 29, Column 76: character ";" not allowed in attribute specification list …  var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++) ✉  
      Line 29, Column 76: element "a.length" undefined …  var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++) ✉  
    You have used the element named above in your document, but the document type you are using does not define an element of that name. This error is often caused by:
    incorrect use of the "Strict" document type with a document that uses frames (e.g. you must use the "Frameset" document type to get the "<frameset>" element),
    by using vendor proprietary extensions such as "<spacer>" or "<marquee>" (this is usually fixed by using CSS to achieve the desired effect instead).
    by using upper-case tags in XHTML (in XHTML attributes and elements must be all lower-case).
      Line 41, Column 57: character "&" is the first character of a delimiter but occurred as data …var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) { ✉  
    This message may appear in several cases:
    You tried to include the "<" character in your page: you should escape it as "&lt;"
    You used an unescaped ampersand "&": this may be valid in some contexts, but it is recommended to use "&amp;", which is always safe.
    Another possibility is that you forgot to close quotes in a previous tag.
      Line 41, Column 59: cannot generate system identifier for general entity "parent.frames.length" …var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) { ✉  
    An entity reference was found in the document, but there is no reference by that name defined. Often this is caused by misspelling the reference name, unencoded ampersands, or by leaving off the trailing semicolon (;). The most common cause of this error is unencoded ampersands in URLs as described by the WDG in "Ampersands in URLs".
    Entity references start with an ampersand (&) and end with a semicolon (;). If you want to use a literal ampersand in your document you must encode it as "&amp;" (even inside URLs!). Be careful to end entity references with a semicolon or your entity reference may get interpreted in connection with the following text. Also keep in mind that named entity references are case-sensitive; &Aelig; and &aelig; are different characters.
    If this error appears in some markup generated by PHP's session handling code, this article has explanations and solutions to your problem.
    Note that in most documents, errors related to entity references will trigger up to 5 separate messages from the Validator. Usually these will all disappear when the original problem is fixed.
      Line 41, Column 59: general entity "parent.frames.length" not defined and no default entity …var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) { ✉  
    This is usually a cascading error caused by a an undefined entity reference or use of an unencoded ampersand (&) in an URL or body text. See the previous message for further details.
      Line 41, Column 79: reference not terminated by REFC delimiter …var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) { ✉  
    If you meant to include an entity that starts with "&", then you should terminate it with ";".  Another reason for this error message is that you inadvertently created an entity by failing to escape an "&" character just before this text.
      Line 41, Column 79: reference to entity "parent.frames.length" for which no system identifier could be generated …var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) { ✉  
    This is usually a cascading error caused by a an undefined entity reference or use of an unencoded ampersand (&) in an URL or body text. See the previous message for further details.
      Line 41, Column 58: entity was defined here …var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
      Line 45, Column 15: character "&" is the first character of a delimiter but occurred as data   if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms… ✉  
    This message may appear in several cases:
    You tried to include the "<" character in your page: you should escape it as "&lt;"
    You used an unescaped ampersand "&": this may be valid in some contexts, but it is recommended to use "&amp;", which is always safe.
    Another possibility is that you forgot to close quotes in a previous tag.
      Line 45, Column 17: cannot generate system identifier for general entity "d.all"   if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms… ✉  
    An entity reference was found in the document, but there is no reference by that name defined. Often this is caused by misspelling the reference name, unencoded ampersands, or by leaving off the trailing semicolon (;). The most common cause of this error is unencoded ampersands in URLs as described by the WDG in "Ampersands in URLs".
    Entity references start with an ampersand (&) and end with a semicolon (;). If you want to use a literal ampersand in your document you must encode it as "&amp;" (even inside URLs!). Be careful to end entity references with a semicolon or your entity reference may get interpreted in connection with the following text. Also keep in mind that named entity references are case-sensitive; &Aelig; and &aelig; are different characters.
    If this error appears in some markup generated by PHP's session handling code, this article has explanations and solutions to your problem.
    Note that in most documents, errors related to entity references will trigger up to 5 separate messages from the Validator. Usually these will all disappear when the original problem is fixed.
      Line 45, Column 17: general entity "d.all" not defined and no default entity   if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms… ✉  
    This is usually a cascading error caused by a an undefined entity reference or use of an unencoded ampersand (&) in an URL or body text. See the previous message for further details.
      Line 45, Column 22: reference not terminated by REFC delimiter   if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms… ✉  
    If you meant to include an entity that starts with "&", then you should terminate it with ";".  Another reason for this error message is that you inadvertently created an entity by failing to escape an "&" character just before this text.
      Line 45, Column 22: reference to entity "d.all" for which no system identifier could be generated   if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms… ✉  
    This is usually a cascading error caused by a an undefined entity reference or use of an unencoded ampersand (&) in an URL or body text. See the previous message for further details.
      Line 45, Column 16: entity was defined here   if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms…
      Line 45, Column 47: character "&" is the first character of a delimiter but occurred as data …x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n]; ✉  
    This message may appear in several cases:
    You tried to include the "<" character in your page: you should escape it as "&lt;"
    You used an unescaped ampersand "&": this may be valid in some contexts, but it is recommended to use "&amp;", which is always safe.
    Another possibility is that you forgot to close quotes in a previous tag.
      Line 45, Column 50: reference not terminated by REFC delimiter …x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n]; ✉  
    If you meant to include an entity that starts with "&", then you should terminate it with ";".  Another reason for this error message is that you inadvertently created an entity by failing to escape an "&" character just before this text.
      Line 45, Column 50: reference to entity "i" for which no system identifier could be generated …x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n]; ✉  
    This is usually a cascading error caused by a an undefined entity reference or use of an unencoded ampersand (&) in an URL or body text. See the previous message for further details.
      Line 21, Column 39: entity was defined here   var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=…
      Line 45, Column 65: character ";" not allowed in attribute specification list …x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n]; ✉  
      Line 45, Column 65: element "d.forms.length" undefined …x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n]; ✉  
    You have used the element named above in your document, but the document type you are using does not define an element of that name. This error is often caused by:
    incorrect use of the "Strict" document type with a document that uses frames (e.g. you must use the "Frameset" document type to get the "<frameset>" element),
    by using vendor proprietary extensions such as "<spacer>" or "<marquee>" (this is usually fixed by using CSS to achieve the desired effect instead).
    by using upper-case tags in XHTML (in XHTML attributes and elements must be all lower-case).
      Line 47, Column 13: character "&" is the first character of a delimiter but occurred as data   for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].docum… ✉  
    This message may appear in several cases:
    You tried to include the "<" character in your page: you should escape it as "&lt;"
    You used an unescaped ampersand "&": this may be valid in some contexts, but it is recommended to use "&amp;", which is always safe.
    Another possibility is that you forgot to close quotes in a previous tag.
      Line 47, Column 15: cannot generate system identifier for general entity "d.layers"   for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].docum… ✉  
    An entity reference was found in the document, but there is no reference by that name defined. Often this is caused by misspelling the reference name, unencoded ampersands, or by leaving off the trailing semicolon (;). The most common cause of this error is unencoded ampersands in URLs as described by the WDG in "Ampersands in URLs".
    Entity references start with an ampersand (&) and end with a semicolon (;). If you want to use a literal ampersand in your document you must encode it as "&amp;" (even inside URLs!). Be careful to end entity references with a semicolon or your entity reference may get interpreted in connection with the following text. Also keep in mind that named entity references are case-sensitive; &Aelig; and &aelig; are different characters.
    If this error appears in some markup generated by PHP's session handling code, this article has explanations and solutions to your problem.
    Note that in most documents, errors related to entity references will trigger up to 5 separate messages from the Validator. Usually these will all disappear when the original problem is fixed.
      Line 47, Column 15: general entity "d.layers" not defined and no default entity   for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].docum… ✉  
    This is usually a cascading error caused by a an undefined entity reference or use of an unencoded ampersand (&) in an URL or body text. See the previous message for further details.
      Line 47, Column 23: reference not terminated by REFC delimiter   for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].docum… ✉  
    If you meant to include an entity that starts with "&", then you should terminate it with ";".  Another reason for this error message is that you inadvertently created an entity by failing to escape an "&" character just before this text.
      Line 47, Column 23: reference to entity "d.layers" for which no system identifier could be generated   for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].docum… ✉  
    This is usually a cascading error caused by a an undefined entity reference or use of an unencoded ampersand (&) in an URL or body text. See the previous message for further details.
      Line 47, Column 14: entity was defined here   for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].docum…
      Line 47, Column 23: character "&" is the first character of a delimiter but occurred as data   for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].docum… ✉  
    This message may appear in several cases:
    You tried to include the "<" character in your page: you should escape it as "&lt;"
    You used an unescaped ampersand "&": this may be valid in some contexts, but it is recommended to use "&amp;", which is always safe.
    Another possibility is that you forgot to close quotes in a previous tag.
      Line 47, Column 26: reference not terminated by REFC delimiter   for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].docum… ✉  
    If you meant to include an entity that starts with "&", then you should terminate it with ";".  Another reason for this error message is that you inadvertently created an entity by failing to escape an "&" character just before this text.
      Line 47, Column 26: reference to entity "i" for which no system identifier could be generated   for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].docum… ✉  
    This is usually a cascading error caused by a an undefined entity reference or use of an unencoded ampersand (&) in an URL or body text. See the previous message for further details.
      Line 21, Column 39: entity was defined here   var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=…
      Line 47, Column 42: character ";" not allowed in attribute specification list …or(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].documen… ✉  
      Line 47, Column 42: element "d.layers.length" undefined …or(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].documen… ✉  
    You have used the element named above in your document, but the document type you are using does not define an element of that name. This error is often caused by:
    incorrect use of the "Strict" document type with a document that uses frames (e.g. you must use the "Frameset" document type to get the "<frameset>" element),
    by using vendor proprietary extensions such as "<spacer>" or "<marquee>" (this is usually fixed by using CSS to achieve the desired effect instead).
    by using upper-case tags in XHTML (in XHTML attributes and elements must be all lower-case).
      Line 49, Column 9: character "&" is the first character of a delimiter but occurred as data   if(!x && d.getElementById) x=d.getElementById(n); return x; ✉  
    This message may appear in several cases:
    You tried to include the "<" character in your page: you should escape it as "&lt;"
    You used an unescaped ampersand "&": this may be valid in some contexts, but it is recommended to use "&amp;", which is always safe.
    Another possibility is that you forgot to close quotes in a previous tag.
      Line 49, Column 10: character "&" is the first character of a delimiter but occurred as data   if(!x && d.getElementById) x=d.getElementById(n); return x; ✉  
    This message may appear in several cases:
    You tried to include the "<" character in your page: you should escape it as "&lt;"
    You used an unescaped ampersand "&": this may be valid in some contexts, but it is recommended to use "&amp;", which is always safe.
    Another possibility is that you forgot to close quotes in a previous tag.
      Line 59, Column 76: character "<" is the first character of a delimiter but occurred as data …=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3) ✉  
    This message may appear in several cases:
    You tried to include the "<" character in your page: you should escape it as "&lt;"
    You used an unescaped ampersand "&": this may be valid in some contexts, but it is recommended to use "&amp;", which is always safe.
    Another possibility is that you forgot to close quotes in a previous tag.
      Line 65, Column 9: end tag for "d.layers.length" omitted, but OMITTAG NO was specified </script> ✉  
    You may have neglected to close an element, or perhaps you meant to "self-close" an element, that is, ending it with "/>" instead of ">".
      Line 47, Column 26: start tag was here   for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].docum…
      Line 65, Column 9: end tag for "d.forms.length" omitted, but OMITTAG NO was specified </script> ✉  
    You may have neglected to close an element, or perhaps you meant to "self-close" an element, that is, ending it with "/>" instead of ">".
      Line 45, Column 50: start tag was here …x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
      Line 65, Column 9: end tag for "a.length" omitted, but OMITTAG NO was specified </script> ✉  
    You may have neglected to close an element, or perhaps you meant to "self-close" an element, that is, ending it with "/>" instead of ">".
      Line 29, Column 67: start tag was here …  var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
      Line 65, Column 9: end tag for "a.length" omitted, but OMITTAG NO was specified </script> ✉  
    You may have neglected to close an element, or perhaps you meant to "self-close" an element, that is, ending it with "/>" instead of ">".
      Line 21, Column 41: start tag was here …var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x…
      Line 121, Column 579: end tag for "img" omitted, but OMITTAG NO was specified …ight="32" alt="Twitter" border="0"></a><a href="http://www.guitarfusion.com/bl… ✉  
    You may have neglected to close an element, or perhaps you meant to "self-close" an element, that is, ending it with "/>" instead of ">".
      Line 121, Column 492: start tag was here …="http://twitter.com/#!/guitarfusion"><img src="../images/twitter_32.png" widt…
      Line 225, Column 14: an attribute value specification must be an attribute value literal unless SHORTTAG YES is specified <form method=post action="http://poll.pollcode.com/Vp1c"><table border=0 width=… ✉  
      Line 225, Column 72: an attribute value specification must be an attribute value literal unless SHORTTAG YES is specified …poll.pollcode.com/Vp1c"><table border=0 width=150 bgcolor="#ffffff" cellspacin… ✉  
      Line 225, Column 80: an attribute value specification must be an attribute value literal unless SHORTTAG YES is specified …lcode.com/Vp1c"><table border=0 width=150 bgcolor="#ffffff" cellspacing=0 cell… ✉  
      Line 225, Column 114: an attribute value specification must be an attribute value literal unless SHORTTAG YES is specified …dth=150 bgcolor="#ffffff" cellspacing=0 cellpadding=2><tr><td colspan=2><font … ✉  
      Line 225, Column 128: an attribute value specification must be an attribute value literal unless SHORTTAG YES is specified …r="#ffffff" cellspacing=0 cellpadding=2><tr><td colspan=2><font face="Verdana"… ✉  
      Line 225, Column 146: an attribute value specification must be an attribute value literal unless SHORTTAG YES is specified …acing=0 cellpadding=2><tr><td colspan=2><font face="Verdana" size=-1 color="te… ✉  
      Line 225, Column 174: an attribute value specification must be an attribute value literal unless SHORTTAG YES is specified …d colspan=2><font face="Verdana" size=-1 color="teal"><center><b>Most useful v… ✉  
      Line 225, Column 197: document type does not allow element "center" here; missing one of "object", "applet", "map", "iframe", "button", "ins", "del" start-tag …"Verdana" size=-1 color="teal"><center><b>Most useful video lesson topics:</b>… ✉  
    The mentioned element is not allowed to appear in the context in which you've placed it; the other mentioned elements are the only ones that are both allowed there and can contain the element mentioned. This might mean that you need a containing element, or possibly that you've forgotten to close a previous element.
    One possible cause for this message is that you have attempted to put a block-level element (such as "<p>" or "<table>") inside an inline element (such as "<a>", "<span>", or "<font>").
      Line 225, Column 277: an attribute value specification must be an attribute value literal unless SHORTTAG YES is specified …center></font></td></tr><tr><td width=5><input type=radio name=answer value="1… ✉  
      Line 225, Column 291: an attribute value specification must be an attribute value literal unless SHORTTAG YES is specified …</td></tr><tr><td width=5><input type=radio name=answer value="1"></td><td><fo… ✉  
      Line 225, Column 302: an attribute value specification must be an attribute value literal unless SHORTTAG YES is specified …tr><td width=5><input type=radio name=answer value="1"></td><td><font face="Ve… ✉  
      Line 225, Column 323: end tag for "input" omitted, but OMITTAG NO was specified … type=radio name=answer value="1"></td><td&gt

  • Page not valid XHTML 1.0 Transitional?

    Okay,
    So I've been having problems (go fig) with my page displaying properly in the Firefox browser on my account. My site displays fine on my account in Safari. If I switch accounts, the site will display better (not perfectly) in Firefox. On my windows machine, my site displays fine in all three of my browsers, IE, Firefox, and Safari.
    Here is a link to my site: kevin morehouse
    The page that displays incorrectly is the "About Us" page.
    I went to the Mozilla website and found a link to http://validator.w3.org/
    This is what came back when I ran my URL
    Validation Output: 4 Errors
    Line 224, Column 202: there is no attribute "allowTransparency".
    …0" marginwidth="0" allowTransparency="true"></iframe>

    You have used the attribute named above in your document, but the document type you are using does not support that attribute for this element. This error is often caused by incorrect use of the "Strict" document type with a document that uses frames (e.g. you must use the "Transitional" document type to get the "target" attribute), or by using vendor proprietary extensions such as "marginheight" (this is usually fixed by using CSS to achieve the desired effect instead).
    This error may also result if the element itself is not supported in the document type you are using, as an undefined element will have no supported attributes; in this case, see the element-undefined error message for further information.
    How to fix: check the spelling and case of the element and attribute, (Remember XHTML is all lower-case) and/or check that they are both allowed in the chosen document type, and/or use CSS instead of this attribute. If you received this error when using the <embed> element to incorporate flash media in a Web page, see the FAQ item on valid flash.
    Line 255, Column 260: cannot generate system identifier for general entity "counter".
    …7-B031088E2D79?webdav-method=propget&counter"></script><

    An entity reference was found in the document, but there is no reference by that name defined. Often this is caused by misspelling the reference name, unencoded ampersands, or by leaving off the trailing semicolon (;). The most common cause of this error is unencoded ampersands in URLs as described by the WDG in "Ampersands in URLs".
    Entity references start with an ampersand (&) and end with a semicolon (;). If you want to use a literal ampersand in your document you must encode it as "&" (even inside URLs!). Be careful to end entity references with a semicolon or your entity reference may get interpreted in connection with the following text. Also keep in mind that named entity references are case-sensitive; &Aelig; and æ are different characters.
    If this error appears in some markup generated by PHP's session handling code, this article has explanations and solutions to your problem.
    Note that in most documents, errors related to entity references will trigger up to 5 separate messages from the Validator. Usually these will all disappear when the original problem is fixed.
    Line 255, Column 260: general entity "counter" not defined and no default entity.
    …7-B031088E2D79?webdav-method=propget&counter"></script><

    This is usually a cascading error caused by a an undefined entity reference or use of an unencoded ampersand (&) in an URL or body text. See the previous message for further details.
    Line 255, Column 267: reference not terminated by REFC delimiter.
    …88E2D79?webdav-method=propget&counter"></script><img src

    If you meant to include an entity that starts with "&", then you should terminate it with ";". Another reason for this error message is that you inadvertently created an entity by failing to escape an "&" character just before this text.
    Line 255, Column 267: reference to external entity in attribute value.
    …88E2D79?webdav-method=propget&counter"></script><img src

    This is generally the sign of an ampersand that was not properly escaped for inclusion in an attribute, in a href for example. You will need to escape all instances of '&' into '&'.
    Line 255, Column 267: reference to entity "counter" for which no system identifier could be generated.
    …88E2D79?webdav-method=propget&counter"></script>
    </script>
    Line 255, Column > 80: XML Parsing Error: EntityRef: expecting ';'.
    …pe="text/javascript" src="http://web.mac.com/i/chp/NGHitCounter.js"></script>…
    Message was edited by: kevin morehouse

    I am VERY concerned with the fact that my pages are not being properly validated and displayed.
    I have created two different sites using iWeb '08 and while I am satisfied with the ease of use, I am concerned that my sites are not being displayed correctly... in fact, the other day my friend who is a Mac whiz and who hosts my business website on his server... tried to visit the site that I created using iWeb '08 and had published to my .Mac account... it caused his browser to flat out crash! He said he hasn't seen anything like that in years!
    Here is the site I have begun to build http://www.mcleanmonowheel.com
    If you paste this url into http://validator.w3.org/ a slew of errors pop up.
    Is this the norm with iWeb or have I done something wrong on my end???
    -Patrick

  • Weblogic Server 6.1 in Linux.

    when I try to start the server It's giving the following error. Please suggest.
    The WebLogic Server did not start up properly.
    Exception raised:
    weblogic.management.configuration.ConfigurationException: undefined mbean reference:
    Targets
    at weblogic.management.internal.xml.ConfigurationParser$ConfigurationHandler.resolveMBeanAttributes(ConfigurationParser.java:483)
    at weblogic.management.internal.xml.ConfigurationParser$ConfigurationHandler.endDocument(ConfigurationParser.java:203)
    at weblogic.apache.xerces.parsers.SAXParser.endDocument(SAXParser.java:1235)
    at weblogic.apache.xerces.validators.common.XMLValidator.callEndDocument(XMLValidator.java:1072)
    at weblogic.apache.xerces.framework.XMLDocumentScanner$EndOfInputDispatcher.dispatch(XMLDocumentScanner.java:1584)
    at weblogic.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.java:396)
    at weblogic.apache.xerces.framework.XMLParser.parse(XMLParser.java:975)
    at weblogic.management.internal.xml.ConfigurationParser.parse(ConfigurationParser.java:105)
    at weblogic.management.internal.xml.XmlFileRepository.loadDomain(XmlFileRepository.java:261)
    at weblogic.management.internal.xml.XmlFileRepository.loadDomain(XmlFileRepository.java:223)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:636)
    at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:621)
    at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:374)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1557)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1525)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
    at $Proxy1.loadDomain(Unknown Source)
    at weblogic.management.AdminServer.configureFromRepository(AdminServer.java:188)
    at weblogic.management.AdminServer.configure(AdminServer.java:173)
    at weblogic.management.Admin.initialize(Admin.java:257)
    at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:365)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:212)
    at weblogic.Server.main(Server.java:35)
    Reason: Fatal initialization exception

    when I try to start the server It's giving the following error. Please suggest.
    The WebLogic Server did not start up properly.
    Exception raised:
    weblogic.management.configuration.ConfigurationException: undefined mbean reference:
    Targets
    at weblogic.management.internal.xml.ConfigurationParser$ConfigurationHandler.resolveMBeanAttributes(ConfigurationParser.java:483)
    at weblogic.management.internal.xml.ConfigurationParser$ConfigurationHandler.endDocument(ConfigurationParser.java:203)
    at weblogic.apache.xerces.parsers.SAXParser.endDocument(SAXParser.java:1235)
    at weblogic.apache.xerces.validators.common.XMLValidator.callEndDocument(XMLValidator.java:1072)
    at weblogic.apache.xerces.framework.XMLDocumentScanner$EndOfInputDispatcher.dispatch(XMLDocumentScanner.java:1584)
    at weblogic.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.java:396)
    at weblogic.apache.xerces.framework.XMLParser.parse(XMLParser.java:975)
    at weblogic.management.internal.xml.ConfigurationParser.parse(ConfigurationParser.java:105)
    at weblogic.management.internal.xml.XmlFileRepository.loadDomain(XmlFileRepository.java:261)
    at weblogic.management.internal.xml.XmlFileRepository.loadDomain(XmlFileRepository.java:223)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:636)
    at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:621)
    at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:374)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1557)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1525)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
    at $Proxy1.loadDomain(Unknown Source)
    at weblogic.management.AdminServer.configureFromRepository(AdminServer.java:188)
    at weblogic.management.AdminServer.configure(AdminServer.java:173)
    at weblogic.management.Admin.initialize(Admin.java:257)
    at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:365)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:212)
    at weblogic.Server.main(Server.java:35)
    Reason: Fatal initialization exception

  • Separating number in inputext with comma

    hi all
    I need to separate numbers with comma without using Enter .
    I have an input text and used an clientListner on it : code is bellow
      <f:view>
        <af:document id="d1">  
         <af:resource type="javascript" source="/js/accounting.js"/>
         <af:resource type="javascript" source="/js/functions.js"/>
         <!--<af:resource type="javascript" source="/js/accounting.min.js"/>-->
          <af:form id="f1">
    <af:panelGroupLayout id="pgl1">
    <af:inputText label="Label 1" id="it1">
    <af:clientListener method="formatNum" type="keyUp"/>
    </af:inputText>
            </af:panelGroupLayout>
          </af:form>
        </af:document>
      </f:view>
    I run this JavaScript on HTML page that is OK and my input text show separated number during entering ,
    but I run my above jspx page ,it does not show until press the Enter key ...
    please guide me .... I have an emergency condition please answer me soon
    and then use this function for handling...
    function.js :
    function formatNum(evt) {
        var inputfield = evt.getSource();
        var num = accounting.unformat(inputfield.getValue());
        var formatNum = accounting.formatNumber(num);
        inputfield.setValue(formatNum);
        return true;
    accounting.js
    * accounting.js v0.3.2
    * Copyright 2011, Joss Crowcroft
    * Freely distributable under the MIT license.
    * Portions of accounting.js are inspired or borrowed from underscore.js
    * Full details and documentation:
    * http://josscrowcroft.github.com/accounting.js/
    (function(root, undefined) {
    /* --- Setup --- */
    // Create the local library object, to be exported or referenced globally later
    var lib = {};
    // Current version
    lib.version = '0.3.2';
    /* --- Exposed settings --- */
    // The library's settings configuration object. Contains default parameters for
    // currency and number formatting
    lib.settings = {
    currency: {
    symbol : "$", // default currency symbol is '$'
    format : "%s%v", // controls output: %s = symbol, %v = value (can be object, see docs)
    decimal : ".", // decimal point separator
    thousand : ",", // thousands separator
    precision : 2, // decimal places
    grouping : 3 // digit grouping (not implemented yet)
    number: {
    precision : 0, // default precision on numbers is 0
    grouping : 3, // digit grouping (not implemented yet)
    thousand : ",",
    decimal : "."
    /* --- Internal Helper Methods --- */
    // Store reference to possibly-available ECMAScript 5 methods for later
    var nativeMap = Array.prototype.map,
    nativeIsArray = Array.isArray,
    toString = Object.prototype.toString;
    * Tests whether supplied parameter is a string
    * from underscore.js
    function isString(obj) {
    return !!(obj === '' || (obj && obj.charCodeAt && obj.substr));
    * Tests whether supplied parameter is a string
    * from underscore.js, delegates to ECMA5's native Array.isArray
    function isArray(obj) {
    return nativeIsArray ? nativeIsArray(obj) : toString.call(obj) === '[object Array]';
    * Tests whether supplied parameter is a true object
    function isObject(obj) {
    return obj && toString.call(obj) === '[object Object]';
    * Extends an object with a defaults object, similar to underscore's _.defaults
    * Used for abstracting parameter handling from API methods
    function defaults(object, defs) {
    var key;
    object = object || {};
    defs = defs || {};
    // Iterate over object non-prototype properties:
    for (key in defs) {
    if (defs.hasOwnProperty(key)) {
    // Replace values with defaults only if undefined (allow empty/zero values):
    if (object[key] == null) object[key] = defs[key];
    return object;
    * Implementation of `Array.map()` for iteration loops
    * Returns a new Array as a result of calling `iterator` on each array value.
    * Defers to native Array.map if available
    function map(obj, iterator, context) {
    var results = [], i, j;
    if (!obj) return results;
    // Use native .map method if it exists:
    if (nativeMap && obj.map === nativeMap) return obj.map(iterator, context);
    // Fallback for native .map:
    for (i = 0, j = obj.length; i < j; i++ ) {
    results[i] = iterator.call(context, obj[i], i, obj);
    return results;
    * Check and normalise the value of precision (must be positive integer)
    function checkPrecision(val, base) {
    val = Math.round(Math.abs(val));
    return isNaN(val)? base : val;
    * Parses a format string or object and returns format obj for use in rendering
    * `format` is either a string with the default (positive) format, or object
    * containing `pos` (required), `neg` and `zero` values (or a function returning
    * either a string or object)
    * Either string or format.pos must contain "%v" (value) to be valid
    function checkCurrencyFormat(format) {
    var defaults = lib.settings.currency.format;
    // Allow function as format parameter (should return string or object):
    if ( typeof format === "function" ) format = format();
    // Format can be a string, in which case `value` ("%v") must be present:
    if ( isString( format ) && format.match("%v") ) {
    // Create and return positive, negative and zero formats:
    return {
    pos : format,
    neg : format.replace("-", "").replace("%v", "-%v"),
    zero : format
    // If no format, or object is missing valid positive value, use defaults:
    } else if ( !format || !format.pos || !format.pos.match("%v") ) {
    // If defaults is a string, casts it to an object for faster checking next time:
    return ( !isString( defaults ) ) ? defaults : lib.settings.currency.format = {
    pos : defaults,
    neg : defaults.replace("%v", "-%v"),
    zero : defaults
    // Otherwise, assume format was fine:
    return format;
    /* --- API Methods --- */
    * Takes a string/array of strings, removes all formatting/cruft and returns the raw float value
    * alias: accounting.`parse(string)`
    * Decimal must be included in the regular expression to match floats (defaults to
    * accounting.settings.number.decimal), so if the number uses a non-standard decimal
    * separator, provide it as the second argument.
    * Also matches bracketed negatives (eg. "$ (1.99)" => -1.99)
    * Doesn't throw any errors (`NaN`s become 0) but this may change in future
    var unformat = lib.unformat = lib.parse = function(value, decimal) {
    // Recursively unformat arrays:
    if (isArray(value)) {
    return map(value, function(val) {
    return unformat(val, decimal);
    // Fails silently (need decent errors):
    value = value || 0;
    // Return the value as-is if it's already a number:
    if (typeof value === "number") return value;
    // Default decimal point comes from settings, but could be set to eg. "," in opts:
    decimal = decimal || lib.settings.number.decimal;
    // Build regex to strip out everything except digits, decimal point and minus sign:
    var regex = new RegExp("[^0-9-" + decimal + "]", ["g"]),
    unformatted = parseFloat(
    ("" + value)
    .replace(/\((.*)\)/, "-$1") // replace bracketed values with negatives
    .replace(regex, '')         // strip out any cruft
    .replace(decimal, '.')      // make sure decimal point is standard
    // This will fail silently which may cause trouble, let's wait and see:
    return !isNaN(unformatted) ? unformatted : 0;
    * Implementation of toFixed() that treats floats more like decimals
    * Fixes binary rounding issues (eg. (0.615).toFixed(2) === "0.61") that present
    * problems for accounting- and finance-related software.
    var toFixed = lib.toFixed = function(value, precision) {
    precision = checkPrecision(precision, lib.settings.number.precision);
    var power = Math.pow(10, precision);
    // Multiply up by precision, round accurately, then divide and use native toFixed():
    return (Math.round(lib.unformat(value) * power) / power).toFixed(precision);
    * Format a number, with comma-separated thousands and custom precision/decimal places
    * Localise by overriding the precision and thousand / decimal separators
    * 2nd parameter `precision` can be an object matching `settings.number`
    var formatNumber = lib.formatNumber = function(number, precision, thousand, decimal) {
      // Resursively format arrays:
    if (isArray(number)) {
    return map(number, function(val) {
    return formatNumber(val, precision, thousand, decimal);
    // Clean up number:
    number = unformat(number);
    // Build options object from second param (if object) or all params, extending defaults:
    var opts = defaults(
    (isObject(precision) ? precision : {
    precision : precision,
    thousand : thousand,
    decimal : decimal
    lib.settings.number
    // Clean up precision
    usePrecision = checkPrecision(opts.precision),
    // Do some calc:
    negative = number < 0 ? "-" : "",
    base = parseInt(toFixed(Math.abs(number || 0), usePrecision), 10) + "",
    mod = base.length > 3 ? base.length % 3 : 0;
    // Format the number:
    return negative + (mod ? base.substr(0, mod) + opts.thousand : "") + base.substr(mod).replace(/(\d{3})(?=\d)/g, "$1" + opts.thousand) + (usePrecision ? opts.decimal + toFixed(Math.abs(number), usePrecision).split('.')[1] : "");
    * Format a number into currency
    * Usage: accounting.formatMoney(number, symbol, precision, thousandsSep, decimalSep, format)
    * defaults: (0, "$", 2, ",", ".", "%s%v")
    * Localise by overriding the symbol, precision, thousand / decimal separators and format
    * Second param can be an object matching `settings.currency` which is the easiest way.
    * To do: tidy up the parameters
    var formatMoney = lib.formatMoney = function(number, symbol, precision, thousand, decimal, format) {
    // Resursively format arrays:
    if (isArray(number)) {
    return map(number, function(val){
    return formatMoney(val, symbol, precision, thousand, decimal, format);
    // Clean up number:
    number = unformat(number);
    // Build options object from second param (if object) or all params, extending defaults:
    var opts = defaults(
    (isObject(symbol) ? symbol : {
    symbol : symbol,
    precision : precision,
    thousand : thousand,
    decimal : decimal,
    format : format
    lib.settings.currency
    // Check format (returns object with pos, neg and zero):
    formats = checkCurrencyFormat(opts.format),
    // Choose which format to use for this value:
    useFormat = number > 0 ? formats.pos : number < 0 ? formats.neg : formats.zero;
    // Return with currency symbol added:
    return useFormat.replace('%s', opts.symbol).replace('%v', formatNumber(Math.abs(number), checkPrecision(opts.precision), opts.thousand, opts.decimal));
    * Format a list of numbers into an accounting column, padding with whitespace
    * to line up currency symbols, thousand separators and decimals places
    * List should be an array of numbers
    * Second parameter can be an object containing keys that match the params
    * Returns array of accouting-formatted number strings of same length
    * NB: `white-space:pre` CSS rule is required on the list container to prevent
    * browsers from collapsing the whitespace in the output strings.
    lib.formatColumn = function(list, symbol, precision, thousand, decimal, format) {
    if (!list) return [];
    // Build options object from second param (if object) or all params, extending defaults:
    var opts = defaults(
    (isObject(symbol) ? symbol : {
    symbol : symbol,
    precision : precision,
    thousand : thousand,
    decimal : decimal,
    format : format
    lib.settings.currency
    // Check format (returns object with pos, neg and zero), only need pos for now:
    formats = checkCurrencyFormat(opts.format),
    // Whether to pad at start of string or after currency symbol:
    padAfterSymbol = formats.pos.indexOf("%s") < formats.pos.indexOf("%v") ? true : false,
    // Store value for the length of the longest string in the column:
    maxLength = 0,
    // Format the list according to options, store the length of the longest string:
    formatted = map(list, function(val, i) {
    if (isArray(val)) {
    // Recursively format columns if list is a multi-dimensional array:
    return lib.formatColumn(val, opts);
    } else {
    // Clean up the value
    val = unformat(val);
    // Choose which format to use for this value (pos, neg or zero):
    var useFormat = val > 0 ? formats.pos : val < 0 ? formats.neg : formats.zero,
    // Format this value, push into formatted list and save the length:
    fVal = useFormat.replace('%s', opts.symbol).replace('%v', formatNumber(Math.abs(val), checkPrecision(opts.precision), opts.thousand, opts.decimal));
    if (fVal.length > maxLength) maxLength = fVal.length;
    return fVal;
    // Pad each number in the list and send back the column of numbers:
    return map(formatted, function(val, i) {
    // Only if this is a string (not a nested array, which would have already been padded):
    if (isString(val) && val.length < maxLength) {
    // Depending on symbol position, pad after symbol or at index 0:
    return padAfterSymbol ? val.replace(opts.symbol, opts.symbol+(new Array(maxLength - val.length + 1).join(" "))) : (new Array(maxLength - val.length + 1).join(" ")) + val;
    return val;
    /* --- Module Definition --- */
    // Export accounting for CommonJS. If being loaded as an AMD module, define it as such.
    // Otherwise, just add `accounting` to the global object
    if (typeof exports !== 'undefined') {
    if (typeof module !== 'undefined' && module.exports) {
    exports = module.exports = lib;
    exports.accounting = lib;
    } else if (typeof define === 'function' && define.amd) {
    // Return the library as an AMD module:
    define([], function() {
    return lib;
    } else {
    // Use accounting.noConflict to restore `accounting` back to its original value.
    // Returns a reference to the library's `accounting` object;
    // e.g. `var numbers = accounting.noConflict();`
    lib.noConflict = (function(oldAccounting) {
    return function() {
    // Reset the value of the root's `accounting` variable:
    root.accounting = oldAccounting;
    // Delete the noConflict method:
    lib.noConflict = undefined;
    // Return reference to the library to re-assign it:
    return lib;
    })(root.accounting);
    // Declare `fx` on the root (global/window) object:
    root['accounting'] = lib;
    // Root will be `window` in browser or `global` on the server:
    }(this));

    hi all
    I have an input text that I want to separate it's value with comma
    this is my input text :
    <af:inputText value="#{bindings.LacreditAmt.inputValue}"
    label="#{bindings.LacreditAmt.hints.label}"
    required="#{bindings.LacreditAmt.hints.mandatory}"
    columns="#{bindings.LacreditAmt.hints.displayWidth}"
    shortDesc="#{bindings.LacreditAmt.hints.tooltip}"
    id="it8"
    maximumLength="#{bindings.LacreditAmt.hints.precision}"
    converter="converter.BIGDECIMALMONEYCONVERTER"
    clientComponent="true">
    <f:validator binding="#{bindings.LacreditAmt.validator}"/>
    <!--<af:convertNumber groupingUsed="false"
    pattern="#{bindings.LacreditAmt.format}"/>-->
    <af:clientListener method="handleNumberFormatConversion" type="keyUp"/>
    </af:inputText>
    and use this  java Script for comma separated value :
    problem is : when I used firebug for testing this java Script ,everything is OK and 'result' variable shown
    the correct value (comma separated value) but in fact the correct value did not show
    in input text  !!!!!
    please guide me soon.
    I appreciated in advance
    function handleNumberFormatConversion(evt){
            var inputField = evt.getCurrentTarget();
            var keyPressed = evt.getKeyCode();
            var oldValue = inputField.getSubmittedValue();
            var validKeys = new Array(48,49,50,51,52,53,54,55, 56,57,96,97,98,99,100, 101,102,103,104,105,AdfKeyStroke.ARROWRIGHT_KEY, AdfKeyStroke.ARROWLEFT_KEY, AdfKeyStroke.BACKSPACE_KEY, AdfKeyStroke.DELETE_KEY, AdfKeyStroke.END_KEY, AdfKeyStroke.ESC_KEY, AdfKeyStroke.TAB_KEY);
            var numberKeys = new Array(48,49,50,51,52,53,54,55, 56,57,96,97,98,99,100, 101,102,103,104,105, AdfKeyStroke.BACKSPACE_KEY, AdfKeyStroke.DELETE_KEY);
            var isValidKey = false;
            for (var i=0; i < validKeys.length; ++i){
                if (validKeys[i] == keyPressed) {
                    isValidKey = true;
                    break;
            if(isValidKey){
                    var isNumberKey = false;
                for (var n=0; n < numberKeys.length; ++n){
                    if(numberKeys[n] == keyPressed){
                        isNumberKey = true;
                        break;
                if(isNumberKey){
                    var formatLength = 25;
                    if(formatLength == oldValue.length){
                        inputField.setValue(oldValue);
                        evt.cancel();
                    else {
                        var firstNeg = false;
                        var lastNeg = false;
                        if (oldValue.charAt(0) == '(')
                            firstNeg = true;
                        if(oldValue.contains(')')){
                          lastNeg = true;                              
                        oldValue = oldValue.replace('(', "");
                        oldValue = oldValue.replace(')', "");
                        var result = "";
                        while (oldValue.contains(",")) {
                            oldValue = oldValue.replace(",", "");
                        for (i = oldValue.length - 3;i > 0;i -= 3) {
                            result = ",".concat(oldValue.substring(i, i + 3), result);
                        result = oldValue.substring(0, (oldValue.length % 3 == 0) ? 3 : oldValue.length % 3).concat(result);
                        if (firstNeg)
                            result = '(' + result;
                        if (lastNeg) {
                            result = result + ')';
                        inputField.setValue(result);
                        evt.cancel();
                        return true;                   
            else {
                inputField.setValue(oldValue);
                evt.cancel();

  • Echec to install Oracle database 11gr2 in  OEL5.6, OEL 5.5 and RHEL 5.6

    I try to install Oracle 11gr2 in Linux with the traditionnal installation but after several installation test i am disappointed.
    i make test on several distribution of Linux 64bits (OEL 5.6, OEL 5.5, RHEL 5.6) and SAME result : The installation of Oracle stop at 81 % .
    I have installed the packages required with the command line : yum install oracle-validated
    I thinks it's a problem of library but what library ?
    Thanks you by advance.
    The log of my install :
    INFO: gcc -o ctxhx -m64 -L/oracledata/product/11.2.0/dbhome_3/ctx/lib/ -L/oracledata/product/11.2.0/dbhome_3/lib/ -L/oracledata/product/11.2.0/dbhome_3/lib/stubs/ /oracledata/product/11.2.0/dbhome_3/ctx/lib/ctxhx.o -L/oracledata/product/11.2.0/dbhome_3/ctx/lib/ -lm -lsc_fa -lsc_ex -lsc_da -lsc_ca -lz -lctxhx -Wl,-rpath,/oracledata/product/11.2.0/dbhome_3/ctx/lib -lsnls11 -lnls11 -lcore11 -lsnls11 -lnls11 -lcore11 -lsnls11 -lnls11 -lxml11 -lcore11 -lunls11 -lsnls11 -lnls11 -lcore11 -lnls11 `cat /oracledata/pro
    INFO: duct/11.2.0/dbhome_3/lib/sysliblist`
    INFO: /usr/bin/ld: warning: libwv_core.so, needed by /oracledata/product/11.2.0/dbhome_3/ctx/lib//libsc_fa.so, not found (try using -rpath or -rpath-link)
    /usr/lib64/libstdc++.so.5: undefined reference to `__stack_chk_fail@GLIBC_2.4'
    /oracledata/product/11.2.0/dbhome_3/ctx/lib//libsc_fa.so: undefined reference to `SYSNativeFree'
    /oracledata/product/11.2.0/dbhome_3/ctx/lib//libsc_fa.so: undefined reference to `SNLoadLibrary'
    /oracledata/product/11.2.0/dbhome_3/ctx/lib//libsc_da.so: undefined reference to `Win32VIn
    INFO: it'
    /oracledata/product/11.2.0/dbhome_3/ctx/lib//libsc_fa.so: undefined reference to `SNDestroyCriticalSection'
    /oracledata/product/11.2.0/dbhome_3/ctx/lib//libsc_fa.so: undefined reference to `SNGetProcAddress'
    /oracledata/product/11.2.0/dbhome_3/ctx/lib//libsc_fa.so: undefined reference to `SYSNativeAlloc'
    /oracledata/product/11.2.0/dbhome_3/ctx/lib/libsc_ut.so: undefined reference to `Win32VCreateHandle'
    /oracledata/product/11.2.0/dbhome_3/ctx/lib//libsc_fa.so: undefined reference to `Win32VBailOut'
    /ora
    INFO: cledata/product/11.2.0/dbhome_3/ctx/lib//libsc_fa.so: undefined reference to `Win32VPushBailOutEx'
    /oracledata/product/11.2.0/dbhome_3/ctx/lib//libsc_fa.so: undefined reference to `SPStringConcat'
    /oracledata/product/11.2.0/dbhome_3/ctx/lib//libsc_da.so: undefined reference to `Win32VDeinit'
    /oracledata/product/11.2.0/dbhome_3/ctx/lib//libsc_fa.so: undefined reference to `SYSNativeLock'
    /oracledata/product/11.2.0/dbhome_3/ctx/lib//libsc_fa.so: undefined reference to `__gxx_personality_v0@CXXABI_1.2'
    /oracle
    INFO: data/product/11.2.0/dbhome_3/ctx/lib/libsc_ut.so: undefined reference to `Win32VGetOutputSolutionByName'
    /oracledata/product/11.2.0/dbhome_3/ctx/lib//libsc_fa.so: undefined reference to `SYSNativeUnlock'
    /oracledata/product/11.2.0/dbhome_3/ctx/lib//libsc_ex.so: undefined reference to `SYSNativeReAlloc'
    /oracledata/product/11.2.0/dbhome_3/ctx/lib//libsc_fa.so: undefined reference to `SNCreateCriticalSection'
    /oracledata/product/11.2.0/dbhome_3/ctx/lib/libsc_ut.so: undefined reference to `Win32VGetOutputVtabl
    INFO: e'
    /oracledata/product/11.2.0/dbhome_3/ctx/lib//libsc_fa.so: undefined reference to `SPStringToBytes'
    /oracledata/product/11.2.0/dbhome_3/ctx/lib//libsc_fa.so: undefined reference to `SPStringCopy'
    /oracledata/product/11.2.0/dbhome_3/ctx/lib//libsc_fa.so: undefined reference to `SCCExceptionTrap::~SCCExceptionTrap()'
    /oracledata/product/11.2.0/dbhome_3/ctx/lib//libsc_fa.so: undefined reference to `SNCompareTimes'
    /oracledata/product/11.2.0/dbhome_3/ctx/lib/libsc_ut.so: undefined reference to `Win32VInitBail
    INFO: Out'
    /oracledata/product/11.2.0/dbhome_3/ctx/lib/libsc_ut.so: undefined reference to `SPSubstringReplace'
    /oracledata/product/11.2.0/dbhome_3/ctx/lib//libsc_fa.so: undefined reference to `SNFindClose'
    /oracledata/product/11.2.0/dbhome_3/ctx/lib//libsc_fa.so: undefined reference to `SNEnterCriticalSection'
    /oracledata/product/11.2.0/dbhome_3/ctx/lib//libsc_fa.so: undefined reference to `SNFreeLibrary'
    /oracledata/product/11.2.0/dbhome_3/ctx/lib/libsc_ut.so: undefined reference to `Win32VOnAssertionFailure'
    INFO: oracledata/product/11.2.0/dbhome_3/ctx/lib//libsc_fa.so: undefined reference to `SNLeaveCriticalSection'
    /oracledata/product/11.2.0/dbhome_3/ctx/lib/libsc_ut.so: undefined reference to `SNGetLibrarySpec'
    /oracledata/product/11.2.0/dbhome_3/ctx/lib//libsc_fa.so: undefined reference to `SCCExceptionTrap::SCCExceptionTrap(int, char const*, int)'
    /oracledata/product/11.2.0/dbhome_3/ctx/lib/libsc_ut.so: undefined reference to `Win32VDebugString'
    /oracledata/product/11.2.0/dbhome_3/ctx/lib//libsc_fa.so: undefined
    INFO: reference to `SNFindFirstFile'
    /oracledata/product/11.2.0/dbhome_3/ctx/lib/libsc_ut.so: undefined reference to `SNSetCriticalSectionFactoryType'
    /oracledata/product/11.2.0/dbhome_3/ctx/lib/libsc_ut.so: undefined reference to `Win32VGetOutputSolutionByType'
    /oracledata/product/11.2.0/dbhome_3/ctx/lib/libsc_ut.so: undefined reference to `Win32VSetDefaultOutputSolutionForType'
    /oracledata/product/11.2.0/dbhome_3/ctx/lib/libsc_ut.so: undefined reference to `Win32VSetHandleUserData'
    /oracledata/product/11.2.0/d
    INFO: bhome_3/ctx/lib/libsc_ut.so: undefined reference to `Win32VPopBailOut'
    /oracledata/product/11.2.0/dbhome_3/ctx/lib//libsc_fa.so: undefined reference to `SPBytesToString'
    /oracledata/product/11.2.0/dbhome_3/ctx/lib//libsc_fa.so: undefined reference to `SNFindNextFile'
    collect2: ld a retourné 1 code d'état d'exécution
    INFO: make: *** [ctxhx] Erreur 1
    INFO: Arrêter la sortie à partir du processus généré dynamiquement.
    List of my RPM
    rpm -qa --qf '%{name}-%{version}-%{release}.%{arch}\n'|egrep 'compat|glibc|libstc|gcc'|sort
    avahi-compat-libdns_sd-0.6.16-9.el5_5.x86_64
    compat-dapl-2.0.25-2.el5_5.1.i386
    compat-dapl-2.0.25-2.el5_5.1.x86_64
    compat-dapl-devel-2.0.25-2.el5_5.1.i386
    compat-dapl-devel-2.0.25-2.el5_5.1.x86_64
    compat-dapl-utils-2.0.25-2.el5_5.1.x86_64
    compat-db-4.2.52-5.1.x86_64
    compat-gcc-34-3.4.6-4.1.x86_64
    compat-gcc-34-c++-3.4.6-4.1.x86_64
    compat-libgcc-296-2.96-138.i386
    compat-libstdc++-296-2.96-138.i386
    compat-libstdc++-33-3.2.3-61.i386
    compat-libstdc++-33-3.2.3-61.x86_64
    gcc-4.1.2-50.el5.x86_64
    gcc-c++-4.1.2-50.el5.x86_64
    gcc-gfortran-4.1.2-50.el5.x86_64
    gcc-java-4.1.2-50.el5.x86_64
    glibc-2.5-58.i686
    glibc-2.5-58.x86_64
    glibc-common-2.5-58.x86_64
    glibc-devel-2.5-58.i386
    glibc-devel-2.5-58.x86_64
    glibc-headers-2.5-58.x86_64
    java-1.4.2-gcj-compat-1.4.2.0-40jpp.115.x86_64
    java-1.4.2-gcj-compat-devel-1.4.2.0-40jpp.115.i386
    java-1.4.2-gcj-compat-devel-1.4.2.0-40jpp.115.x86_64
    java-1.4.2-gcj-compat-src-1.4.2.0-40jpp.115.x86_64
    libgcc-4.1.2-50.el5.i386
    libgcc-4.1.2-50.el5.x86_64
    My .bash_profile file
    # .bash_profile
    # Get the aliases and functions
    if [ -f ~/.bashrc ]; then
         . ~/.bashrc
    fi
    # User specific environment and startup programs
    PATH=$PATH:$HOME/bin
    export PATH
    # Oracle Settings
    TMP=/tmp; export TMP
    TMPDIR=$TMP; export TMPDIR
    ORACLE_HOSTNAME=rhel56.bonifay.san; export ORACLE_HOSTNAME
    ORACLE_UNQNAME=SID1; export ORACLE_UNQNAME
    ORACLE_BASE=/oracledata; export ORACLE_BASE
    ORACLE_HOME=/oraclebin/product/11.2.0/db_1; export ORACLE_HOME
    ORACLE_SID=SID1; export ORACLE_SID
    PATH=/usr/sbin:$PATH; export PATH
    PATH=$ORACLE_HOME/bin:$PATH; export PATH
    LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib; export LD_LIBRARY_PATH
    CLASSPATH=$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib; export CLASSPATH

    thanks Dude.
    But same result with /u01 and $PATH
    For info my variables environnement, if you have a idea
    HOSTNAME=OEL55.bonifay.sa
    SHELL=/bin/bash
    TERM=xterm
    HISTSIZE=1000
    ORACLE_UNQNAME=SID1
    TMPDIR=/tmp
    USER=oracle
    LD_LIBRARY_PATH=/u01/product/11.2.0/db_1/lib:/lib:/lib64:/usr/lib:/usr/lib64
    LS_COLORS=no=00:fi=00:di=00;34:ln=00;36:pi=40;33:so=00;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=00;32:*.cmd=00;32:*.exe=00;32:*.com=00;32:*.btm=00;32:*.bat=00;32:*.sh=00;32:*.csh=00;32:*.tar=00;31:*.tgz=00;31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.zip=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:*.bz=00;31:*.tz=00;31:*.rpm=00;31:*.cpio=00;31:*.jpg=00;35:*.gif=00;35:*.bmp=00;35:*.xbm=00;35:*.xpm=00;35:*.png=00;35:*.tif=00;35:
    ORACLE_SID=SID1
    ORACLE_BASE=/u01
    ORACLE_HOSTNAME=OEL55.bonifay.sa
    MAIL=/var/spool/mail/oracle
    PATH=/u01/product/11.2.0/db_1/bin:/usr/sbin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/home/oracle/bin
    INPUTRC=/etc/inputrc
    PWD=/home/oracle
    LANG=fr_FR.UTF-8
    SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass
    SHLVL=1
    HOME=/home/oracle
    TMP=/tmp
    LOGNAME=oracle
    CVS_RSH=ssh
    CLASSPATH=/u01/product/11.2.0/db_1/jlib:/u01/product/11.2.0/db_1/rdbms/jlib
    LESSOPEN=|/usr/bin/lesspipe.sh %s
    ORACLE_HOME=/u01/product/11.2.0/db_1
    G_BROKEN_FILENAMES=1
    _=/bin/env

  • Console.war as default web application...

    Hi,
    I tried to add the console.war as my default web application for my Admin
    server, but when restarting the server it complained with the following
    error:
    The WebLogic Server did not start up properly.
    "Exception raised: weblogic.management.configuration.ConfigurationException:
    undefined mbean reference:
    mydomain:Name=console,Server=myserver,Type=WebAppComponent"
    And the server does not start at all - I had to manually update the
    config.xml to remove the console.war as a default web application...
    Does anybody knows if this is a bug? Does it happens only with the
    console.war? or there are any other scenarios that it can happen as well?
    Thanks,
    Marcelo.

    It's 6.1 - I want to set up it as default on my Admin server instance, which
    is running as a Admin server only... Not critical, but...
    Thanks,
    Marcelo
    "Kumar Allamraju" <[email protected]> wrote in message
    news:[email protected]..
    Is this problem with 6.0 or 6.1?
    BTW, why do you want configure console.war as default webapp?
    Marcelo Caldas wrote:
    Hi,
    I tried to add the console.war as my default web application for my
    Admin
    server, but when restarting the server it complained with the following
    error:
    The WebLogic Server did not start up properly.
    "Exception raised:weblogic.management.configuration.ConfigurationException:
    undefined mbean reference:
    mydomain:Name=console,Server=myserver,Type=WebAppComponent"
    And the server does not start at all - I had to manually update the
    config.xml to remove the console.war as a default web application...
    Does anybody knows if this is a bug? Does it happens only with the
    console.war? or there are any other scenarios that it can happen aswell?
    >>
    Thanks,
    Marcelo.

  • Solaris 8 kernel rebuild

    Hi,
    Using solaris 8 source foundation cds, I am trying to build the solaris 8 os environment. But I found that there is very little documentations regarding to compiling the kernel source plus commands and libraries out there. I have a feeling like there should be some directives or parameters(machine dependent ones like cpu's type, platforms, etc, because there is no configuration processes for automatically probing these information) to the osnet_volume/usr/src/* for generating the whole images of solaris os environment. Unfortunately, I couldn't find a way to do this. No documentations! No discussions! No URLs! No clues!
    Below is the things I've done so far, and I'm at the linking stage of core kernel image, which is unix, genunix.
    - SRC, SPRO_ROOT, BUILD_TOOLS adjustments.
    - stabs tools installation.
    - UNIX_DIR change from sun4m to sun4u for my machine.
    - usr/src/uts/common/Makefile.files : timers.o commented out.
    Now I'm getting lot of undefined symbol reference errors linking the object files for building libgenunix.so file and unix.o file.
    And this is the result by issuing just 'make' at the top direcoty of source tree, which is 'osnet_volume/usr/src'.
    Anybody tried this and who was successful, please help me. Many thanks for your help.
    Bye.

    Mark:
    Not sure of all the issues that you had raised. But if you are looking to force the kernel to load a particular module you can use the forceload option in /etc/system to force load a module.
    Here is how to do this.
    * forceload:
    * Cause these modules to be loaded at boot time, (just before mounting
    * the root filesystem) rather than at first reference. Note that
    * forceload expects a filename which includes the directory.Also
    * note that loading a module does not necessarily imply thatit will
    * be installed.
    * Example:
    * forceload: drv/foo
    --Angelo
    Sun Developer Support.

  • [Q]rfc c library compile error

    Hello!
    I am establishing the IVR call to the SAP.
    The IVR machine is SUNOS 5.6.
    IVR should use the library, librfc.a,
    but when I compile with this library,
    I got the compile error like below.
    The error message is
    undefined first reference
    symbol in file
    select_large_fdset ./lib/librfc.a(cpictlib.o)
    ld: fatal: Symbol referencing errors. No output written to saprfccl
    I compiled with the below option,
    /opt/SUNWspro/bin/cc -Xc -xcg92 -I ./include -L ./lib
    saprfccl.c -o saprfccl -lrfc -lsocket -lnsl -ldl -lm -lw.
    librfc.a is the library referencing the function, select_large_fdset.
    but I don't have the program source because it is only provided as .a by the SAP.
    It looks that the standard library in this OS version does not have this function, select_large_fdset,
    according to my company technical support investigation.
    Are there any ways to get the library with this function without server upgrades?
    Thanks
    Myoung Ju Youm

    Thanks for your help.
    librfc.a is provided by SAP.
    I put this library in ./lib directory.
    and used the -L option to link with it.
    Anyway I put this path to LD_LIBRARY_PATH,
    but it is same.
    The problem is
    that librfc.a is referencing the function, select_large_fdset.
    This function is normally in the standard c library, libc.so.
    But because the SUNOS that I am using is so low, ver.5.6,
    libc.so in the standard c library does not have this function, select_large_fdset.
    So my question is how can I use this library, librfc.a without the server upgrade to the upper version
    that has the standard library that has function,select_large_fdset.
    Is it not possible?
    Please tell me yes.
    Myoung Ju Youm

  • Cloudscape rdbmsrealm

    Hi,
    I am trying the sample rdbmsrealm secuirty example in WLS6.0 SP2.
    I followed all the steps in
    wlserver6.0\samples\examples\security\rdbmsrealm\package-summary.html.
    But I am not able to view User, Group, and Access Control Lists nodes
    and view the addition security information defined by the RDBMS security
    realm.
    Also when I tried to add new user it is updating in fileRealm.properties
    not in cloudscape rdbmsrealm.
    pls guide me,
    thanks in advance,
    Milind.

    thanks satya it is working perfectly
    regards,
    Milind.
    milind puranik wrote:
    thanks a lot satya .
    i tried below tags into config.xml
    but still I am getting following exception
    <Jun 26, 2001 11:49:57 AM EDT> <Notice> <Management> <Loading
    configuration file .\config\examples\config.xml ...>
    The WebLogic Server did not start up properly.
    Exception raised:
    weblogic.management.configuration.ConfigurationException: undefined
    mbean reference: examples:Name=myFileRe
    alm,Type=FileRealm
    weblogic.management.configuration.ConfigurationException: undefined
    mbean reference: examples:Name=myFileRealm,Type=FileRealm
    at
    weblogic.management.internal.xml.ConfigurationParser$ConfigurationHandler.resolveMBeanAttributes(ConfigurationPars
    er.java:352)
    at
    weblogic.management.internal.xml.ConfigurationParser$ConfigurationHandler.endDocument(ConfigurationParser.java:194
    at
    weblogic.apache.xerces.parsers.SAXParser.endDocument(SAXParser.java:1222)
    at
    weblogic.apache.xerces.validators.common.XMLValidator.callEndDocument(XMLValidator.java:743)
    at
    weblogic.apache.xerces.framework.XMLDocumentScanner$EndOfInputDispatcher.dispatch(XMLDocumentScanner.java:1545)
    at
    weblogic.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.java:380)
    at
    weblogic.apache.xerces.framework.XMLParser.parse(XMLParser.java:900)
    at
    weblogic.management.internal.xml.ConfigurationParser.parse(ConfigurationParser.java:103)
    at
    pls guide me I am sending u my config.xml.
    thanks,
    Milind.
    Satya Ghattu wrote:
    Milind,
    Looks like your RDBMSRealm is not configured properly. In your config.xml
    file make sure that you have something like this,
    For the Realm tag,
    <Realm
    Name="defaultRealm"
    FileRealm="defaultFileRealm"
    CachingRealm="defaultCachingRealm"
    />
    For the cachingRealm tag,
    <CachingRealm
    Name="defaultCachingRealm"
    BasicRealm="defaultRDBMSRealmForCloudscape"
    />
    RDBMSRealm tag
    <RDBMSRealm
    Name="defaultRDBMSRealmForCloudscape"
    RealmClassName="security.rdbmsrealm.RDBMSRealm"
    DatabaseDriver="COM.cloudscape.core.JDBCDriver"
    DatabaseURL="jdbc:cloudscape:demo;create=true;autocommit=false"
    DatabaseUserName=""
    DatabasePassword=""
    SchemaProperties="getGroupNewStatement=true;getUser=SELECT U_NAME,
    U_PASSWORD FROM users WHERE U_NAME = ?;getGroupMembers=SELECT GM_GROUP,
    GM_MEMBER from groupmembers WHERE GM_GROUP = ?;getAclEntries=SELECT
    A_NAME,
    A_PRINCIPAL, A_PERMISSION FROM aclentries WHERE A_NAME = ? ORDER BY
    A_PRINCIPAL;getUsers=SELECT U_NAME, U_PASSWORD FROM
    users;getGroups=SELECT
    GM_GROUP, GM_MEMBER FROM groupmembers;getAcls=SELECT A_NAME, A_PRINCIPAL,
    A_PERMISSION FROM aclentries ORDER BY A_NAME,
    A_PRINCIPAL;getPermissions=SELECT DISTINCT A_PERMISSION FROM
    aclentries;getPermission=SELECT DISTINCT A_PERMISSION FROM aclentries
    WHERE
    A_PERMISSION = ?;newUser=INSERT INTO users VALUES ( ? ,
    ? );addGroupMember=INSERT INTO groupmembers VALUES ( ? ,
    ? );removeGroupMember=DELETE FROM groupmembers WHERE GM_GROUP = ? AND
    GM_MEMBER = ?;deleteUser1=DELETE FROM users WHERE U_NAME =
    ?;deleteUser2=DELETE FROM groupmembers WHERE GM_MEMBER =
    ?;deleteUser3=DELETE FROM aclentries WHERE A_PRINCIPAL =
    ?;deleteGroup1=DELETE FROM groupmembers WHERE GM_GROUP =
    ?;deleteGroup2=DELETE FROM aclentries WHERE A_PRINCIPAL = ?"
    />
    Now, restart your server and you should see the users, groups and acls
    that
    you defined in your RDBMSRealm on the console.
    -satya
    milind puranik <[email protected]> wrote in message
    news:[email protected]...
    Hi,
    I am trying the sample rdbmsrealm secuirty example in WLS6.0 SP2.
    I followed all the steps in
    wlserver6.0\samples\examples\security\rdbmsrealm\package-summary.html.
    But I am not able to view User, Group, and Access Control Lists nodes
    and view the addition security information defined by the RDBMS security
    realm.
    Also when I tried to add new user it is updating in fileRealm.properties
    not in cloudscape rdbmsrealm.
    pls guide me,
    thanks in advance,
    Milind.
    <?xml version="1.0" encoding="UTF-8"?>
    <!--If your domain is active, please do not edit the config.xml file. Any changes made to that file while the domain is active will not have any effect on the domain's configuration and are likely to be lost. If your domain is inactive, you may edit this file with an XML editor. If you do so, please refer to the configuration documentation at http://edocs.bea.com/wls/docs60/adminguide/config_xml.html. In general, we recommend that changes to your configuration file be made through the Administration Console.-->
    <Domain Name="examples">
    <Application Deployed="true" Name="jta_ejb_jmsjdbc" Path=".\config\examples\applications">
    <EJBComponent Name="jta_ejb_jmsjdbc" Targets="examplesServer" URI="jta_ejb_jmsjdbc.jar"/>
    </Application>
    <Application Deployed="true" Name="ejb_basic_statefulSession" Path=".\config\examples\applications">
    <EJBComponent Name="ejb_basic_statefulSession"
    Targets="examplesServer" URI="ejb_basic_statefulSession.jar"/>
    </Application>
    <Log FileName="./config/examples/logs/wl-domain.log" Name="examples"/>
    <Application Deployed="true" Name="ejb_extensions_readMostly" Path=".\config\examples\applications">
    <EJBComponent Name="ejb_extensions_readMostly"
    Targets="examplesServer" URI="ejb_extensions_readMostly.jar"/>
    </Application>
    <WLECConnectionPool FailoverAddresses="//wlehost:2468"
    MaximumPoolSize="3" MinimumPoolSize="2" Name="simplepool"
    PrimaryAddresses="//wlehost:2468" UserName="wleuser"
    UserRole="developer" WLEDomain="simple"/>
    <JTA AbandonTimeoutSeconds="86400"
    BeforeCompletionIterationLimit="100" ForgetHeuristics="false"
    MaxTransactions="10000" MaxUniqueNameStatistics="1000"
    Name="examples" TimeoutSeconds="100"/>
    <!--Realm FileRealm="myFileRealm" Name="myRealm"/-->
         <Realm Name="defaultRealm" FileRealm="defaultFileRealm" CachingRealm="defaultCachingRealm"/>     
    <Application Name="wl_management_internal2" Path=".\config\tmp">
    <WebAppComponent Name="wl_management_internal2"
    Targets="examplesServer" URI="wl_management_internal2.war"/>
    </Application>
    <JMSConnectionFactory
    JNDIName="weblogic.examples.jms.TopicConnectionFactory" Name="exampleTopic"/>
    <JMSConnectionFactory
    JNDIName="weblogic.examples.jms.QueueConnectionFactory" Name="exampleQueue"/>
    <LDAPRealm AuthProtocol="simple" Credential="MyLDAPCredential"
    GroupDN="o=airius.com,ou=Groups" GroupIsContext="false"
    GroupNameAttribute="cn" GroupUsernameAttribute="uniquemember"
    LDAPURL="ldap://ldapserver:389"
    Name="defaultLDAPRealmForNetscapeDirectoryServer"
    Notes="This is provided as an example. Before enabling this Realm, you must edit the configuration parameters as appropriate for your environment."
    Principal="uid=admin, ou=Administrators, ou=TopologyManagement, o=NetscapeRoot"
    UserAuthentication="local" UserDN="o=airius.com,ou=People"
    UserNameAttribute="uid" UserPasswordAttribute="userpassword"/>
    <JDBCConnectionPool CapacityIncrement="2"
    DriverName="weblogic.jdbc.oci.Driver" InitialCapacity="4"
    LoginDelaySeconds="1" MaxCapacity="10" Name="oraclePool"
    Properties="user=SCOTT;password=tiger;server=DEMO"
    RefreshMinutes="10" ShrinkPeriodMinutes="15"
    ShrinkingEnabled="true" TestConnectionsOnRelease="false"
    TestConnectionsOnReserve="false" TestTableName="dual" URL="jdbc:weblogic:oracle"/>
    <Application Deployed="true" Name="cluster_ejb_teller" Path=".\config\examples\applications">
    <EJBComponent Name="cluster_ejb_teller" Targets="examplesServer" URI="cluster_ejb_teller.jar"/>
    </Application>
    <JDBCConnectionPool CapacityIncrement="1"
    DriverName="COM.cloudscape.core.XaDataSource"
    InitialCapacity="1" MaxCapacity="2" Name="demoXAPool"
    Properties="dataSourceName=demoXAPool;databaseName=demo;createDatabase=create"
    RefreshMinutes="0" ShrinkPeriodMinutes="15"
    ShrinkingEnabled="true" Targets="examplesServer"
    TestConnectionsOnRelease="false"
    TestConnectionsOnReserve="false" URL="jdbc:cloudscape:demo"/>
    <LDAPRealm AuthProtocol="simple" Credential="MyLDAPCredential"
    GroupDN="o=airius.com,ou=Groups" GroupIsContext="true"
    GroupNameAttribute="cn" GroupUsernameAttribute="member"
    LDAPURL="ldap://ldapserver:363"
    Name="defaultLDAPRealmForNovellDirectoryServices"
    Notes="This is provided as an example. Before enabling this Realm, you must edit the configuration parameters as appropriate for your environment."
    Principal="cn=Admin,o=airius.com" SSLEnable="true"
    UserAuthentication="bind" UserDN="o=airius.com,ou=People"
    UserNameAttribute="cn" UserPasswordAttribute="userpassword"/>
    <Application Deployed="true" Name="console" Path=".\config\examples\applications">
    <WebAppComponent Name="console" Targets="examplesServer" URI="console.war"/>
    </Application>
    <Application Deployed="true" Name="DefaultWebApp_examplesServer" Path=".\config\examples\applications">
    <WebAppComponent Name="DefaultWebApp_examplesServer"
    Targets="examplesServer" URI="DefaultWebApp_examplesServer"/>
    </Application>
    <RDBMSRealm DatabaseDriver="sun.jdbc.odbc.JdbcOdbcDriver"
    DatabasePassword="tiger"
    DatabaseURL="jdbc:odbc:MyDataSourceName"
    DatabaseUserName="scott" Name="defaultRDBMSRealmForODBC"
    Notes="This is provided as an example and is designed to work with the schema created for the examples.security.rdbmsrealm example. To enable this RDBMSRealm, you must first create the database tables and edit the configuration parameters as appropriate for your environment."
    RealmClassName="examples.security.rdbmsrealm.RDBMSRealm" SchemaProperties="getGroupMembers=SELECT GM_GROUP, GM_MEMBER from groupmembers WHERE GM_GROUP = ?;deleteGroup2=DELETE FROM aclentries WHERE A_PRINCIPAL = ?;deleteGroup1=DELETE FROM groupmembers WHERE GM_GROUP = ?;addGroupMember=INSERT INTO groupmembers VALUES ( ? , ? );getUser=SELECT U_NAME, U_PASSWORD FROM users WHERE U_NAME = ?;getPermission=SELECT DISTINCT A_PERMISSION FROM aclentries WHERE A_PERMISSION = ?;deleteUser3=DELETE FROM aclentries WHERE A_PRINCIPAL = ?;getGroupNewStatement=true;deleteUser2=DELETE FROM groupmembers WHERE GM_MEMBER = ?;deleteUser1=DELETE FROM users WHERE U_NAME = ?;getAcls=SELECT A_NAME, A_PRINCIPAL, A_PERMISSION FROM aclentries ORDER BY A_NAME, A_PRINCIPAL;getUsers=SELECT U_NAME, U_PASSWORD FROM users;getGroups=SELECT GM_GROUP, GM_MEMBER FROM groupmembers;getPermissions=SELECT DISTINCT A_PERMISSION FROM aclentries;getAclEntries=SELECT A_NAME, A_PRINCIPAL, A_PERMISSION FROM aclentries WHERE A_NAME = ? ORDER BY A_PRINCIPAL;newUser=INSERT INTO users VALUES ( ? , ? );removeGroupMember=DELETE FROM groupmembers WHERE GM_GROUP = ? AND GM_MEMBER = ?"/>
    <StartupClass ClassName="examples.rmi_iiop.hello.HelloImpl"
    FailureIsFatal="false" Name="hello_iiop"/>
    <JDBCConnectionPool CapacityIncrement="1"
    DriverName="COM.cloudscape.core.JDBCDriver" InitialCapacity="1"
    MaxCapacity="2" Name="demoPool"
    Properties="user=none;password=none;server=none"
    RefreshMinutes="0" ShrinkPeriodMinutes="15"
    ShrinkingEnabled="true" Targets="examplesServer"
    TestConnectionsOnRelease="false"
    TestConnectionsOnReserve="false" URL="jdbc:cloudscape:demo"/>
    <Application Deployed="true" Name="ejb_basic_containerManaged" Path=".\config\examples\applications">
    <EJBComponent Name="ejb_basic_containerManaged"
    Targets="examplesServer" URI="ejb_basic_containerManaged.jar"/>
    </Application>
    <StartupClass ClassName="examples.rmi.hello.HelloImpl"
    FailureIsFatal="false" Name="hello" Targets="examplesServer"/>
    <StartupClass ClassName="examples.rmi.stock.StockServer"
    FailureIsFatal="false" Name="stock"/>
    <LDAPRealm AuthProtocol="simple" Credential="MyLDAPCredential"
    GroupDN="o=Microsoft, ou=Groups" GroupIsContext="true"
    GroupNameAttribute="cn" GroupUsernameAttribute="memberObject"
    LDAPURL="ldap://ldapserver:389"
    Name="defaultLDAPRealmForMicrosoftSiteServer"
    Notes="This is provided as an example. Before enabling this Realm, you must edit the configuration parameters as appropriate for your environment."
    Principal="cn=ldapadmin" UserAuthentication="local"
    UserDN="o=Microsoft, ou=Members" UserNameAttribute="cn" UserPasswordAttribute="userpassword"/>
    <Server AcceptBacklog="50" AdministrationPort="0" ClusterWeight="1"
    ConsoleInputEnabled="false" DGCIdlePeriodsUntilTimeout="2"
    DefaultProtocol="t3" DefaultSecureProtocol="t3s"
    HttpdEnabled="true" JavaCompiler="d:\bea\jdk130/bin/javac"
    ListenPort="7001" Name="examplesServer" NativeIOEnabled="true"
    SocketReaderTimeoutMaxMillis="10"
    TransactionLogFilePrefix="config/examples/logs/"
    TunnelingClientPingSecs="45" TunnelingClientTimeoutSecs="40" XMLRegistry="examplesXMLRegistry">
    <KernelDebug Name="examplesServer"/>
    <ServerDebug Name="examplesServer"/>
    <SSL Enabled="true" ListenPort="7002" Name="examplesServer"
    PeerValidationEnforced="0"
    ServerCertificateChainFileName="./config/examples/ca.pem"
    ServerCertificateFileName="./config/examples/democert.pem"
    ServerKeyFileName="./config/examples/demokey.pem" TrustedCAFileName="./config/examples/ca.pem"/>
    <WebServer DefaultWebApp="DefaultWebApp_examplesServer"
    LogFileName="./config/examples/logs/access.log"
    LoggingEnabled="true" Name="examplesServer"/>
    <Log FileName="./config/examples/logs/weblogic.log" Name="examplesServer"/>
    </Server>
    <PasswordPolicy Name="wl_default_password_policy"/>
    <JMSConnectionFactory JNDIName="jms.connection.traderFactory" Name="exampleTrader"/>
    <StartupClass ClassName="examples.security.acl.FrobImpl"
    FailureIsFatal="false" Name="frob" Targets="examplesServer"/>
    <JDBCDataSource JNDIName="examples-dataSource-demoPool"
    Name="examples-dataSource-demoPool" PoolName="demoPool" Targets="examplesServer"/>
    <JDBCTxDataSource JNDIName="myDataSource" Name="myDataSource" PoolName="oraclePool"/>
    <StartupClass
    Arguments="connectionFactory=weblogic.examples.jms.TopicConnectionFactory,topic=weblogic.examples.jms.exampleTopic"
    ClassName="examples.jms.startup.ServerReceive"
    FailureIsFatal="false" Name="serverReceive"/>
    <Application Deployed="true" Name="ejb_basic_beanManaged" Path=".\config\examples\applications">
    <EJBComponent Name="ejb_basic_beanManaged"
    Targets="examplesServer" URI="ejb_basic_beanManaged.jar"/>
    </Application>
    <RDBMSRealm DatabaseDriver="weblogic.jdbc.oci.Driver"
    DatabasePassword="tiger"
    DatabaseURL="jdbc:weblogic:oracle:MyOracleServerName"
    DatabaseUserName="scott" Name="defaultRDBMSRealmForOracle"
    Notes="This is provided as an example and is designed to work with the schema created for the examples.security.rdbmsrealm example. To enable this RDBMSRealm, you must first create the database tables and edit the configuration parameters as appropriate for your environment."
    RealmClassName="examples.security.rdbmsrealm.RDBMSRealm" SchemaProperties="getGroupMembers=SELECT GM_GROUP, GM_MEMBER from groupmembers WHERE GM_GROUP = ?;deleteGroup2=DELETE FROM aclentries WHERE A_PRINCIPAL = ?;deleteGroup1=DELETE FROM groupmembers WHERE GM_GROUP = ?;addGroupMember=INSERT INTO groupmembers VALUES ( ? , ? );getUser=SELECT U_NAME, U_PASSWORD FROM users WHERE U_NAME = ?;getPermission=SELECT DISTINCT A_PERMISSION FROM aclentries WHERE A_PERMISSION = ?;deleteUser3=DELETE FROM aclentries WHERE A_PRINCIPAL = ?;getGroupNewStatement=false;deleteUser2=DELETE FROM groupmembers WHERE GM_MEMBER = ?;deleteUser1=DELETE FROM users WHERE U_NAME = ?;getAcls=SELECT A_NAME, A_PRINCIPAL, A_PERMISSION FROM aclentries ORDER BY A_NAME, A_PRINCIPAL;getUsers=SELECT U_NAME, U_PASSWORD FROM users;getGroups=SELECT GM_GROUP, GM_MEMBER FROM groupmembers;getPermissions=SELECT DISTINCT A_PERMISSION FROM aclentries;getAclEntries=SELECT A_NAME, A_PRINCIPAL, A_PERMISSION FROM aclentries WHERE A_NAME = ? ORDER BY A_PRINCIPAL;newUser=INSERT INTO users VALUES ( ? , ? );removeGroupMember=DELETE FROM groupmembers WHERE GM_GROUP = ? AND GM_MEMBER = ?"/>
    <!--RDBMSRealm DatabaseDriver="COM.cloudscape.core.JDBCDriver"
    DatabaseURL="jdbc:cloudscape:demo;create=true;autocommit=false"
    Name="defaultRDBMSRealmForCloudscape"
    RealmClassName="examples.security.rdbmsrealm.RDBMSRealm" SchemaProperties="getGroupMembers=SELECT GM_GROUP, GM_MEMBER from groupmembers WHERE GM_GROUP = ?;deleteGroup2=DELETE FROM aclentries WHERE A_PRINCIPAL = ?;deleteGroup1=DELETE FROM groupmembers WHERE GM_GROUP = ?;addGroupMember=INSERT INTO groupmembers VALUES ( ? , ? );getUser=SELECT U_NAME, U_PASSWORD FROM users WHERE U_NAME = ?;getPermission=SELECT DISTINCT A_PERMISSION FROM aclentries WHERE A_PERMISSION = ?;deleteUser3=DELETE FROM aclentries WHERE A_PRINCIPAL = ?;getGroupNewStatement=true;deleteUser2=DELETE FROM groupmembers WHERE GM_MEMBER = ?;deleteUser1=DELETE FROM users WHERE U_NAME = ?;getAcls=SELECT A_NAME, A_PRINCIPAL, A_PERMISSION FROM aclentries ORDER BY A_NAME, A_PRINCIPAL;getUsers=SELECT U_NAME, U_PASSWORD FROM users;getGroups=SELECT GM_GROUP, GM_MEMBER FROM groupmembers;getPermissions=SELECT DISTINCT A_PERMISSION FROM aclentries;getAclEntries=SELECT A_NAME, A_PRINCIPAL, A_PERMISSION FROM aclentries WHERE A_NAME = ? ORDER BY A_PRINCIPAL;newUser=INSERT INTO users VALUES ( ? , ? );removeGroupMember=DELETE FROM groupmembers WHERE GM_GROUP = ? AND GM_MEMBER = ?"/-->
         <RDBMSRealm Name="defaultRDBMSRealmForCloudscape" RealmClassName="security.rdbmsrealm.RDBMSRealm" DatabaseDriver="COM.cloudscape.core.JDBCDriver"
              DatabaseURL="jdbc:cloudscape:demo;create=true;autocommit=false"
              DatabaseUserName=""
              DatabasePassword=""
              SchemaProperties="getGroupNewStatement=true;getUser=SELECT U_NAME,U_PASSWORD FROM users WHERE U_NAME = ?;getGroupMembers=SELECT GM_GROUP,GM_MEMBER from groupmembers WHERE GM_GROUP = ?;getAclEntries=SELECT A_NAME,A_PRINCIPAL, A_PERMISSION FROM aclentries WHERE A_NAME = ? ORDER BY A_PRINCIPAL;getUsers=SELECT U_NAME, U_PASSWORD FROM users;getGroups=SELECT GM_GROUP, GM_MEMBER FROM groupmembers;getAcls=SELECT A_NAME, A_PRINCIPAL,A_PERMISSION FROM aclentries ORDER BY A_NAME,A_PRINCIPAL;getPermissions=SELECT DISTINCT A_PERMISSION FROM aclentries;getPermission=SELECT DISTINCT A_PERMISSION FROM aclentries WHERE A_PERMISSION = ?;newUser=INSERT INTO users VALUES ( ? ,? );addGroupMember=INSERT INTO groupmembers VALUES ( ? ,? );removeGroupMember=DELETE FROM groupmembers WHERE GM_GROUP = ? AND GM_MEMBER = ?;deleteUser1=DELETE FROM users WHERE U_NAME = ?;deleteUser2=DELETE FROM groupmembers WHERE GM_MEMBER = ?;deleteUser3=DELETE FROM aclentries WHERE A_PRINCIPAL = ?;deleteGroup1=DELETE FROM groupmembers WHERE GM_GROUP = ?;deleteGroup2=DELETE FROM aclentries WHERE A_PRINCIPAL = ?" />
    <JDBCTxDataSource JNDIName="examples-dataSource-demoXAPool"
    Name="examples-dataSource-demoXAPool" PoolName="demoXAPool" Targets="examplesServer"/>
    <WLECConnectionPool ApplicationPassword="wlepassword"
    FailoverAddresses="//wlehost:2468" MaximumPoolSize="3"
    MinimumPoolSize="2" Name="Univpool"
    PrimaryAddresses="//wlehost:2468" UserName="wleuser"
    UserRole="developer" WLEDomain="university"/>
    <RDBMSRealm DatabaseDriver="weblogic.jdbc.mssqlserver4.Driver"
    DatabaseURL="jdbc:weblogic:sybase:database@MyDatabaseHost:MyDatabasePort"
    DatabaseUserName="sa"
    Name="defaultRDBMSRealmForMSSQLServerType4"
    Notes="This is provided as an example and is designed to work with the schema created for the examples.security.rdbmsrealm example. To enable this RDBMSRealm, you must first create the database tables and edit the configuration parameters as appropriate for your environment."
    RealmClassName="examples.security.rdbmsrealm.RDBMSRealm" SchemaProperties="getGroupMembers=SELECT GM_GROUP, GM_MEMBER from groupmembers WHERE GM_GROUP = ?;deleteGroup2=DELETE FROM aclentries WHERE A_PRINCIPAL = ?;deleteGroup1=DELETE FROM groupmembers WHERE GM_GROUP = ?;addGroupMember=INSERT INTO groupmembers VALUES ( ? , ? );getUser=SELECT U_NAME, U_PASSWORD FROM users WHERE U_NAME = ?;getPermission=SELECT DISTINCT A_PERMISSION FROM aclentries WHERE A_PERMISSION = ?;deleteUser3=DELETE FROM aclentries WHERE A_PRINCIPAL = ?;getGroupNewStatement=true;deleteUser2=DELETE FROM groupmembers WHERE GM_MEMBER = ?;deleteUser1=DELETE FROM users WHERE U_NAME = ?;getAcls=SELECT A_NAME, A_PRINCIPAL, A_PERMISSION FROM aclentries ORDER BY A_NAME, A_PRINCIPAL;getUsers=SELECT U_NAME, U_PASSWORD FROM users;getGroups=SELECT GM_GROUP, GM_MEMBER FROM groupmembers;getPermissions=SELECT DISTINCT A_PERMISSION FROM aclentries;getAclEntries=SELECT A_NAME, A_PRINCIPAL, A_PERMISSION FROM aclentries WHERE A_NAME = ? ORDER BY A_PRINCIPAL;newUser=INSERT INTO users VALUES ( ? , ? );removeGroupMember=DELETE FROM groupmembers WHERE GM_GROUP = ? AND GM_MEMBER = ?"/>
    <StartupClass ClassName="examples.cluster.rmi.HelloClusterImpl"
    FailureIsFatal="false" Name="hello_cluster"/>
    <Application Name="wl_management_internal1" Path=".\config\tmp">
    <WebAppComponent Name="wl_management_internal1"
    Targets="examplesServer" URI="wl_management_internal1.war"/>
    </Application>
    <ApplicationManager Name="examples"/>
    <Application Deployed="true" Name="examplesWebApp" Path=".\config\examples\applications">
    <WebAppComponent Name="examplesWebApp" Targets="examplesServer" URI="examplesWebApp"/>
    </Application>
    <Application Deployed="true" Name="ejb_basic_statelessSession" Path=".\config\examples\applications">
    <EJBComponent Name="ejb_basic_statelessSession"
    Targets="examplesServer" URI="ejb_basic_statelessSession.jar"/>
    </Application>
    <WLECConnectionPool ApplicationPassword="wlepassword"
    FailoverAddresses="//wlehost:2468" MaximumPoolSize="3"
    MinimumPoolSize="2" Name="StatelessSessionPool"
    PrimaryAddresses="//wlehost:2468" UserName="wleuser"
    UserRole="developer" WLEDomain="ejbsample"/>
    <!--CachingRealm BasicRealm="defaultRDBMSRealmForCloudscape" Name="defaultCachingRealm"/-->
         <CachingRealm Name="defaultCachingRealm" BasicRealm="defaultRDBMSRealmForCloudscape"/>
    <JMSServer Name="examplesJMSServer" Store="exampleJDBCStore" Targets="examplesServer">
    <JMSQueue JNDIName="weblogic.examples.jms.exampleQueue" Name="exampleQueue"/>
    <JMSTopic JNDIName="quotes" Name="quotes"/>
    <JMSTopic JNDIName="weblogic.examples.jms.exampleTopic" Name="exampleTopic"/>
    </JMSServer>
    <StartupClass ClassName="examples.rmi.multihello.HelloImpl"
    FailureIsFatal="false" Name="multihello"/>
    <JMSJDBCStore ConnectionPool="demoPool" Name="exampleJDBCStore"/>
    <Security GuestDisabled="false" Name="examples"
    PasswordPolicy="wl_default_password_policy" Realm="myRealm" SystemUser="system"/>
    <StartupClass
    Arguments="connectionFactory=weblogic.examples.jms.TopicConnectionFactory,topic=weblogic.examples.jms.exampleTopic"
    ClassName="examples.jms.startup.PoolReceive"
    FailureIsFatal="false" Name="poolReceive"/>
    <Application Deployed="true" Name="xml_xslt_content" Path=".\config\examples\applications">
    <EJBComponent Name="xml_xslt_content" Targets="examplesServer" URI="xml_xslt_content.jar"/>
    </Application>
    <!--FileRealm Name="myFileRealm"/-->
    <Application Deployed="true" Name="ejb_subclass" Path=".\config\examples\applications">
    <EJBComponent Name="ejb_subclass" Targets="examplesServer" URI="ejb_subclass.jar"/>
    </Application>
    <Application Deployed="true" Name="security-1" Path=".\config\examples\applications">
    <WebAppComponent Name="security" Targets="examplesServer" URI="security"/>
    </Application>
    <XMLRegistry Name="examplesXMLRegistry">
    <XMLRegistryEntry EntityPath="stocktrade.dtd" Name="stocktrade"
    PublicId="examples.xml.http-stocktrade" RootElementTag="stocktrade"/>
    </XMLRegistry>
    <StartupClass ClassName="examples.security.acl.FrobImpl"
    FailureIsFatal="false" Name="FrobImpl"/>
    <Application Name="security" Path="d:\bea\wlserver6.0\samples\examples\webapp">
    <WebAppComponent Name="security" URI="security"/>
    </Application>
    </Domain>
    config.xml
    Content-Type:
    text/xml
    Content-Encoding:
    quoted-printable

  • Folder Directory Create

    I recently Migrated our sharepoint from windows 2003 to 2008. In doing so I lost Cold fusion and a directory Wizard, This wizard was put in place to create a folder directory out on our network drive when used. Now I have Coldfusion 10 installed on my new sharepoint server, I have brought over all of these directory wizard files but it still does not work. Its like I am missing a certain link in the chain here. Can anyone shed some light on the topic?
    The wizard opens up to the first page, which it says next to continue. You would select a company which the code is written to pull a companies list from the network drive, then it creates a folder directory with files in the on that network drive. Now when you lick the initital next button it buttons and takes us to a The website cannot display the page. I still have all the original code files, placed into the same exact directory on the sharepoint server. The sharepoint server is an identical match, but its like somewhere something isnt lined up correctly.
    I also have downloaded Coldfusion builder also.

    OKay since page 1 actually doesnt do anything I can skip that, and ill start on page 2 and the other esential code files that actually build the directory.
    DIRECTORY.CFM
    Unable to Determine Parse Mode!
    The validator can process documents either as XML (for document types such as XHTML, SVG, etc.) or SGML (for HTML 4.01 and prior versions). For this document, the information available was not sufficient to determine the parsing mode unambiguously, because:
    in Direct Input mode, no MIME Media Type is served to the validator
    No known Document Type could be detected
    No XML declaration (e.g <?xml version="1.0"?>) could be found at the beginning of the document.
    No XML namespace (e.g <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">) could be found at the root of the document.
    As a default, the validator is falling back to SGML mode.
    No DOCTYPE found! Checking with default HTML 4.01 Transitional Document Type.
    No DOCTYPE Declaration could be found or recognized in this document. This generally means that the document is not declaring its Document Type at the top. It can also mean that the DOCTYPE declaration contains a spelling error, or that it is not using the correct syntax.
    The document was checked using a default "fallback" Document Type Definition that closely resembles “HTML 4.01 Transitional”.
    Learn how to add a doctype to your document from our FAQ.
    No Character encoding declared at document level
    No character encoding information was found within the document, either in an HTML meta element or an XML declaration. It is often recommended to declare the character encoding in the document itself, especially if there is a chance that the document will be read from or saved to disk, CD, etc.
    See this tutorial on character encoding for techniques and explanations.
    Using Direct Input mode: UTF-8 character encoding assumed
    Unlike the “by URI” and “by File Upload” modes, the “Direct Input” mode of the validator provides validated content in the form of characters pasted or typed in the validator's form field. This will automatically make the data UTF-8, and therefore the validator does not need to determine the character encoding of your document, and will ignore any charset information specified.
    If you notice a discrepancy in detected character encoding between the “Direct Input” mode and other validator modes, this is likely to be the reason. It is neither a bug in the validator, nor in your document.
    ↑ Top
    Validation Output: 27 Errors
    Line 1, Column 1: no document type declaration; implying "<!DOCTYPE HTML SYSTEM>"<HTML>

    The checked page did not contain a document type ("DOCTYPE") declaration. The Validator has tried to validate with a fallback DTD, but this is quite likely to be incorrect and will generate a large number of incorrect error messages. It is highly recommended that you insert the proper DOCTYPE declaration in your document -- instructions for doing this are given above -- and it is necessary to have this declaration before the page can be declared to be valid.
    Line 3, Column 11: cannot generate system identifier for general entity "I" <TITLE>C&I Engineering - Project Directory Wizard</TITLE>

    An entity reference was found in the document, but there is no reference by that name defined. Often this is caused by misspelling the reference name, unencoded ampersands, or by leaving off the trailing semicolon (;). The most common cause of this error is unencoded ampersands in URLs as described by the WDG in "Ampersands in URLs".
    Entity references start with an ampersand (&) and end with a semicolon (;). If you want to use a literal ampersand in your document you must encode it as "&amp;" (even inside URLs!). Be careful to end entity references with a semicolon or your entity reference may get interpreted in connection with the following text. Also keep in mind that named entity references are case-sensitive; &Aelig; and &aelig; are different characters.
    If this error appears in some markup generated by PHP's session handling code, this article has explanations and solutions to your problem.
    Note that in most documents, errors related to entity references will trigger up to 5 separate messages from the Validator. Usually these will all disappear when the original problem is fixed.
    Line 3, Column 11: general entity "I" not defined and no default entity <TITLE>C&I Engineering - Project Directory Wizard</TITLE>

    This is usually a cascading error caused by a an undefined entity reference or use of an unencoded ampersand (&) in an URL or body text. See the previous message for further details.
    Line 3, Column 12: reference to entity "I" for which no system identifier could be generated <TITLE>C&I Engineering - Project Directory Wizard</TITLE>

    This is usually a cascading error caused by a an undefined entity reference or use of an unencoded ampersand (&) in an URL or body text. See the previous message for further details.
    Line 3, Column 10: entity was defined here <TITLE>C&I Engineering - Project Directory Wizard</TITLE>
    Line 10, Column 21: there is no attribute "TEMPLATE"<CFINCLUDE TEMPLATE="HEADER.CFM">

    You have used the attribute named above in your document, but the document type you are using does not support that attribute for this element. This error is often caused by incorrect use of the "Strict" document type with a document that uses frames (e.g. you must use the "Transitional" document type to get the "target" attribute), or by using vendor proprietary extensions such as "marginheight" (this is usually fixed by using CSS to achieve the desired effect instead).
    This error may also result if the element itself is not supported in the document type you are using, as an undefined element will have no supported attributes; in this case, see the element-undefined error message for further information.
    How to fix: check the spelling and case of the element and attribute, (Remember XHTML is all lower-case) and/or check that they are both allowed in the chosen document type, and/or use CSS instead of this attribute. If you received this error when using the <embed> element to incorporate flash media in a Web page, see the FAQ item on valid flash.
    Line 10, Column 33: element "CFINCLUDE" undefined<CFINCLUDE TEMPLATE="HEADER.CFM">

    You have used the element named above in your document, but the document type you are using does not define an element of that name. This error is often caused by:
    incorrect use of the "Strict" document type with a document that uses frames (e.g. you must use the "Frameset" document type to get the "<frameset>" element),
    by using vendor proprietary extensions such as "<spacer>" or "<marquee>" (this is usually fixed by using CSS to achieve the desired effect instead).
    by using upper-case tags in XHTML (in XHTML attributes and elements must be all lower-case).
    Line 11, Column 45: invalid comment declaration: found name character outside comment but inside comment declaration<!---<CFINCLUDE TEMPLATE="BUTTONBAR.CFM"> --->

    Line 11, Column 1: comment declaration started here<!---<CFINCLUDE TEMPLATE="BUTTONBAR.CFM"> --->
    Line 12, Column 35: element "CFINCLUDE" undefined<CFINCLUDE TEMPLATE="MAINAREA.CFM">

    You have used the element named above in your document, but the document type you are using does not define an element of that name. This error is often caused by:
    incorrect use of the "Strict" document type with a document that uses frames (e.g. you must use the "Frameset" document type to get the "<frameset>" element),
    by using vendor proprietary extensions such as "<spacer>" or "<marquee>" (this is usually fixed by using CSS to achieve the desired effect instead).
    by using upper-case tags in XHTML (in XHTML attributes and elements must be all lower-case).
    Line 16, Column 3: invalid comment declaration: found name character outside comment but inside comment declaration--->

    Line 14, Column 1: comment declaration started here<!---
    Line 20, Column 28: there is no attribute "HEIGHT"<TABLE WIDTH="100%" HEIGHT="100%" BGCOLOR="#D4D0C8">

    You have used the attribute named above in your document, but the document type you are using does not support that attribute for this element. This error is often caused by incorrect use of the "Strict" document type with a document that uses frames (e.g. you must use the "Transitional" document type to get the "target" attribute), or by using vendor proprietary extensions such as "marginheight" (this is usually fixed by using CSS to achieve the desired effect instead).
    This error may also result if the element itself is not supported in the document type you are using, as an undefined element will have no supported attributes; in this case, see the element-undefined error message for further information.
    How to fix: check the spelling and case of the element and attribute, (Remember XHTML is all lower-case) and/or check that they are both allowed in the chosen document type, and/or use CSS instead of this attribute. If you received this error when using the <embed> element to incorporate flash media in a Web page, see the FAQ item on valid flash.
    Line 24, Column 21: there is no attribute "ACTION"<CFDIRECTORY action="list" DIRECTORY="\\ci-data\shared\PROJECTS"

    You have used the attribute named above in your document, but the document type you are using does not support that attribute for this element. This error is often caused by incorrect use of the "Strict" document type with a document that uses frames (e.g. you must use the "Transitional" document type to get the "target" attribute), or by using vendor proprietary extensions such as "marginheight" (this is usually fixed by using CSS to achieve the desired effect instead).
    This error may also result if the element itself is not supported in the document type you are using, as an undefined element will have no supported attributes; in this case, see the element-undefined error message for further information.
    How to fix: check the spelling and case of the element and attribute, (Remember XHTML is all lower-case) and/or check that they are both allowed in the chosen document type, and/or use CSS instead of this attribute. If you received this error when using the <embed> element to incorporate flash media in a Web page, see the FAQ item on valid flash.
    Line 24, Column 38: there is no attribute "DIRECTORY"<CFDIRECTORY action="list" DIRECTORY="\\ci-data\shared\PROJECTS"

    You have used the attribute named above in your document, but the document type you are using does not support that attribute for this element. This error is often caused by incorrect use of the "Strict" document type with a document that uses frames (e.g. you must use the "Transitional" document type to get the "target" attribute), or by using vendor proprietary extensions such as "marginheight" (this is usually fixed by using CSS to achieve the desired effect instead).
    This error may also result if the element itself is not supported in the document type you are using, as an undefined element will have no supported attributes; in this case, see the element-undefined error message for further information.
    How to fix: check the spelling and case of the element and attribute, (Remember XHTML is all lower-case) and/or check that they are both allowed in the chosen document type, and/or use CSS instead of this attribute. If you received this error when using the <embed> element to incorporate flash media in a Web page, see the FAQ item on valid flash.
    Line 25, Column 10: there is no attribute "NAME"    NAME="myDirectory"

    You have used the attribute named above in your document, but the document type you are using does not support that attribute for this element. This error is often caused by incorrect use of the "Strict" document type with a document that uses frames (e.g. you must use the "Transitional" document type to get the "target" attribute), or by using vendor proprietary extensions such as "marginheight" (this is usually fixed by using CSS to achieve the desired effect instead).
    This error may also result if the element itself is not supported in the document type you are using, as an undefined element will have no supported attributes; in this case, see the element-undefined error message for further information.
    How to fix: check the spelling and case of the element and attribute, (Remember XHTML is all lower-case) and/or check that they are both allowed in the chosen document type, and/or use CSS instead of this attribute. If you received this error when using the <embed> element to incorporate flash media in a Web page, see the FAQ item on valid flash.
    Line 26, Column 10: there is no attribute "SORT"    SORT="Name ASC">

    You have used the attribute named above in your document, but the document type you are using does not support that attribute for this element. This error is often caused by incorrect use of the "Strict" document type with a document that uses frames (e.g. you must use the "Transitional" document type to get the "target" attribute), or by using vendor proprietary extensions such as "marginheight" (this is usually fixed by using CSS to achieve the desired effect instead).
    This error may also result if the element itself is not supported in the document type you are using, as an undefined element will have no supported attributes; in this case, see the element-undefined error message for further information.
    How to fix: check the spelling and case of the element and attribute, (Remember XHTML is all lower-case) and/or check that they are both allowed in the chosen document type, and/or use CSS instead of this attribute. If you received this error when using the <embed> element to incorporate flash media in a Web page, see the FAQ item on valid flash.
    Line 26, Column 20: element "CFDIRECTORY" undefined    SORT="Name ASC">

    You have used the element named above in your document, but the document type you are using does not define an element of that name. This error is often caused by:
    incorrect use of the "Strict" document type with a document that uses frames (e.g. you must use the "Frameset" document type to get the "<frameset>" element),
    by using vendor proprietary extensions such as "<spacer>" or "<marquee>" (this is usually fixed by using CSS to achieve the desired effect instead).
    by using upper-case tags in XHTML (in XHTML attributes and elements must be all lower-case).
    Line 27, Column 15: there is no attribute "NAME"<CFPARAM NAME="SELECTEDDIRECTORY" DEFAULT="">

    You have used the attribute named above in your document, but the document type you are using does not support that attribute for this element. This error is often caused by incorrect use of the "Strict" document type with a document that uses frames (e.g. you must use the "Transitional" document type to get the "target" attribute), or by using vendor proprietary extensions such as "marginheight" (this is usually fixed by using CSS to achieve the desired effect instead).
    This error may also result if the element itself is not supported in the document type you are using, as an undefined element will have no supported attributes; in this case, see the element-undefined error message for further information.
    How to fix: check the spelling and case of the element and attribute, (Remember XHTML is all lower-case) and/or check that they are both allowed in the chosen document type, and/or use CSS instead of this attribute. If you received this error when using the <embed> element to incorporate flash media in a Web page, see the FAQ item on valid flash.
    Line 27, Column 43: there is no attribute "DEFAULT"<CFPARAM NAME="SELECTEDDIRECTORY" DEFAULT="">

    You have used the attribute named above in your document, but the document type you are using does not support that attribute for this element. This error is often caused by incorrect use of the "Strict" document type with a document that uses frames (e.g. you must use the "Transitional" document type to get the "target" attribute), or by using vendor proprietary extensions such as "marginheight" (this is usually fixed by using CSS to achieve the desired effect instead).
    This error may also result if the element itself is not supported in the document type you are using, as an undefined element will have no supported attributes; in this case, see the element-undefined error message for further information.
    How to fix: check the spelling and case of the element and attribute, (Remember XHTML is all lower-case) and/or check that they are both allowed in the chosen document type, and/or use CSS instead of this attribute. If you received this error when using the <embed> element to incorporate flash media in a Web page, see the FAQ item on valid flash.
    Line 27, Column 45: element "CFPARAM" undefined<CFPARAM NAME="SELECTEDDIRECTORY" DEFAULT="">

    You have used the element named above in your document, but the document type you are using does not define an element of that name. This error is often caused by:
    incorrect use of the "Strict" document type with a document that uses frames (e.g. you must use the "Frameset" document type to get the "<frameset>" element),
    by using vendor proprietary extensions such as "<spacer>" or "<marquee>" (this is usually fixed by using CSS to achieve the desired effect instead).
    by using upper-case tags in XHTML (in XHTML attributes and elements must be all lower-case).
    Line 31, Column 17: there is no attribute "QUERY"<CFOUTPUT QUERY="myDirectory">

    You have used the attribute named above in your document, but the document type you are using does not support that attribute for this element. This error is often caused by incorrect use of the "Strict" document type with a document that uses frames (e.g. you must use the "Transitional" document type to get the "target" attribute), or by using vendor proprietary extensions such as "marginheight" (this is usually fixed by using CSS to achieve the desired effect instead).
    This error may also result if the element itself is not supported in the document type you are using, as an undefined element will have no supported attributes; in this case, see the element-undefined error message for further information.
    How to fix: check the spelling and case of the element and attribute, (Remember XHTML is all lower-case) and/or check that they are both allowed in the chosen document type, and/or use CSS instead of this attribute. If you received this error when using the <embed> element to incorporate flash media in a Web page, see the FAQ item on valid flash.
    Line 31, Column 30: element "CFOUTPUT" undefined<CFOUTPUT QUERY="myDirectory">

    You have used the element named above in your document, but the document type you are using does not define an element of that name. This error is often caused by:
    incorrect use of the "Strict" document type with a document that uses frames (e.g. you must use the "Frameset" document type to get the "<frameset>" element),
    by using vendor proprietary extensions such as "<spacer>" or "<marquee>" (this is usually fixed by using CSS to achieve the desired effect instead).
    by using upper-case tags in XHTML (in XHTML attributes and elements must be all lower-case).
    Line 32, Column 12: "TYPE" is not a member of a group specified for any attribute<CFIF TYPE IS "Dir">

    Line 32, Column 15: an attribute value literal can occur in an attribute specification list only after a VI delimiter<CFIF TYPE IS "Dir">

    Have you forgotten the "equal" sign marking the separation between the attribute and its declared value? Typical syntax is attribute="value".
    Line 32, Column 15: element "CFIF" undefined<CFIF TYPE IS "Dir">

    You have used the element named above in your document, but the document type you are using does not define an element of that name. This error is often caused by:
    incorrect use of the "Strict" document type with a document that uses frames (e.g. you must use the "Frameset" document type to get the "<frameset>" element),
    by using vendor proprietary extensions such as "<spacer>" or "<marquee>" (this is usually fixed by using CSS to achieve the desired effect instead).
    by using upper-case tags in XHTML (in XHTML attributes and elements must be all lower-case).
    Line 33, Column 8: an attribute specification must start with a name or name token <CFIF "#NAME#" IS "#UCASE(SELECTEDDIRECTORY)#">

    An attribute name (and some attribute values) must start with one of a restricted set of characters. This error usually indicates that you have failed to add a closing quotation mark on a previous attribute value (so the attribute value looks like the start of a new attribute) or have used an attribute that is not defined (usually a typo in a common attribute name).
    Line 33, Column 8: element "CFIF" undefined <CFIF "#NAME#" IS "#UCASE(SELECTEDDIRECTORY)#">

    You have used the element named above in your document, but the document type you are using does not define an element of that name. This error is often caused by:
    incorrect use of the "Strict" document type with a document that uses frames (e.g. you must use the "Frameset" document type to get the "<frameset>" element),
    by using vendor proprietary extensions such as "<spacer>" or "<marquee>" (this is usually fixed by using CSS to achieve the desired effect instead).
    by using upper-case tags in XHTML (in XHTML attributes and elements must be all lower-case).
    Line 35, Column 9: element "CFELSE" undefined <CFELSE>

    You have used the element named above in your document, but the document type you are using does not define an element of that name. This error is often caused by:
    incorrect use of the "Strict" document type with a document that uses frames (e.g. you must use the "Frameset" document type to get the "<frameset>" element),
    by using vendor proprietary extensions such as "<spacer>" or "<marquee>" (this is usually fixed by using CSS to achieve the desired effect instead).
    by using upper-case tags in XHTML (in XHTML attributes and elements must be all lower-case).
    Line 54, Column 40: element "CFINCLUDE" undefined<CFINCLUDE TEMPLATE="ACTIONBUTTONS.CFM">

    You have used the element named above in your document, but the document type you are using does not define an element of that name. This error is often caused by:
    incorrect use of the "Strict" document type with a document that uses frames (e.g. you must use the "Frameset" document type to get the "<frameset>" element),
    by using vendor proprietary extensions such as "<spacer>" or "<marquee>" (this is usually fixed by using CSS to achieve the desired effect instead).
    by using upper-case tags in XHTML (in XHTML attributes and elements must be all lower-case).
    Line 57, Column 7: end tag for "CENTER" omitted, but its declaration does not permit this</BODY>

    You forgot to close a tag, or
    you used something inside this tag that was not allowed, and the validator is complaining that the tag should be closed before such content can be allowed.
    The next message, "start tag was here" points to the particular instance of the tag in question); the positional indicator points to where the validator expected you to close the tag.
    Line 7, Column 1: start tag was here<CENTER>

  • Deployed web app can't be server default?

    hey folks.
    i've deployed a web app (i can see it in the console under "web
    apps").
    i want to make this web app the default for my server. i went
    to the "target" tab for the web app and made my server the target.
    however, when i go to my server's HTTP page, there's nothing but
    "none" in the "default web application" pulldown.
    anyone have a clue? if you have this working, can you show me
    the xml from config.xml? i will just enter it manually if all
    else fails.
    thanks in advance,
    -bml

    Hi, Gene.
    Check with support. Switching the default webapp by modifying config.xml is
    more compilicated than I descripted in my post. I wish support could address
    this regression ASAP.
    Cheers - Wei
    "Gene Chuang" <[email protected]> wrote in message
    news:[email protected]...
    This seems like a pretty serious regression!
    I created a new war directory (testwar), and tried manually modifyingconfig.xml to switch to a new
    DefaultWebApp, called "testwar". Unfortunately, I get the followingcomplaint of mbean unable to
    find "testwar" component when I restart the server. I looked inconfig.xml and sure enough,
    "testwar" component isn't registered there; seems like the admin serverwas able to detect my
    creation of a new war directory, gives me the message that testwar isdeployed, but did not write
    this info into config.xml!
    This is another reason why manual editting of config.xml is unadvisable,and that this regression
    further exacerbates the problem! Is there a quick patch fix to this???
    Gene
    <Mar 19, 2001 6:52:29 PM PST> <Notice> <Management> <Loading configurationfile
    ./config/mydomain/config.xml ...>
    The WebLogic Server did not start up properly.
    Exception raised:weblogic.management.configuration.ConfigurationException: undefined mbean
    reference: mydomain:Name=testwar,Type=WebAppComponent,Server=myserver
    weblogic.management.configuration.ConfigurationException: undefined mbeanreference:
    mydomain:Name=testwar,Type=WebAppComponent,Server=myserver
    "Wei Guan" <[email protected]> wrote in message
    news:[email protected]...
    It is a bug in SP1. We just create a case. At the same time, you can use
    your editor to open config.xml, search the following section:
    <WebServer
    ClusteringEnabled="true"
    Targets="mycluster"
    />
    Add or modify following line:
    <WebServer
    ClusteringEnabled="true"
    DefaultWebApp="myWebApp"
    Targets="mycluster"
    />
    Cheers - Wei
    "brian long" <[email protected]> wrote in message
    news:[email protected]...
    hey folks.
    i've deployed a web app (i can see it in the console under "web
    apps").
    i want to make this web app the default for my server. i went
    to the "target" tab for the web app and made my server the target.
    however, when i go to my server's HTTP page, there's nothing but
    "none" in the "default web application" pulldown.
    anyone have a clue? if you have this working, can you show me
    the xml from config.xml? i will just enter it manually if all
    else fails.
    thanks in advance,
    -bml

  • Array of movieclips

    I have an array with the instance names of 150+ movieclips
    that i would like to set the ._visible property to true/false. How
    can i do this??? i thought this would work. Am I way off???
    for (var i:Number = 0; i < aAllCircles.length; i++){
    var myMC:MovieClip;
    myMC = aAllCircles i ; i IS IN SQUARE BRACKETS OF COURSE
    myMC._visible=false;
    thanks in advance.

    BCA_9,
    > I have an array with the instance names of 150+
    movieclips
    > that i would like to set the ._visible property to
    true/false.
    > How can i do this??? i thought this would work. Am I way
    > off???
    You're way off.
    > for (var i:Number = 0; i < aAllCircles.length; i++){
    This is your for() statement. So far, so good. aAllCircles
    is
    presumably your array. The Array class specifies an
    Array.length property,
    so that's fine.
    > var myMC:MovieClip;
    Here, you're declaring an undefined MovieClip reference.
    Still fine --
    though I doubt you'd really want to declare this variable
    anew all 150+
    times, right? You could declare this outside the loop.
    > myMC = aAllCircles;
    Now you're trying to set that variable, myMC, to the Array
    instance.
    But myMC is supposed to be a MovieClip! If aAllCircles
    contains references
    to movie clips (not just strings, which happen to reflect the
    intance names
    of your movie clips, then you should use your counter
    variable, i, to access
    the relevant index of the array.
    The web version of these forums usually has trouble with
    references to
    brackets and i (and other letters that happen to be HTML
    elements) ... maybe
    that part of your code got truncated, here. If so, I may not
    be seeing what
    you actually type. In any case, I'll use n as a counter and
    show you what
    should actually be happening here.
    var myMC:MovieClip;
    for (var n:Number = 0; n < aAllCircles.length; n++) {
    myMC = aAllCircles[n];
    myMC._visible = false;
    Let me stress again, this only works if the elements in your
    array are
    actual movie clip references. I have a hunch that what your
    array actuall
    holds is a bunch of strings. If so, you'll need to use the
    eval() function
    or array access operator to translate those strings into
    actualy references.
    First, let's reduce the above lines into an even more
    compact form. No
    need for the myMC variable at all, as it turns out.
    for (var n:Number = 0; n < aAllCircles.length; n++) {
    aAllCircles[n]._visible = false;
    Now, if your array actuall has strings, you need to do this
    for (var n:Number = 0; n < aAllCircles.length; n++) {
    this[aAllCircles[n]]._visible = false;
    ... because the result of any number in that aAllCircles
    array -- e.g.
    aAllCircles[0] -- will return a string (if the array contains
    strings). I
    don't mean to pound this into the ground, but it happens
    quite a bit in this
    forum. The this[string here] business converts the string
    into a property
    reference of its parent. The global property "this" refers to
    whatever
    object or timeline it's in, so in this case, it refers to the
    timeline these
    movie clip presumably belong to.
    David
    stiller (at) quip (dot) net
    Dev essays:
    http://www.quip.net/blog/
    "Luck is the residue of good design."

  • Glibc-patched 8.1.7.0.1 has undefined references during link

    I am receiving the following errors when running 'make -f ins_rdbms install'
    after installing the glibc patch for 8.1.7.0.1:
    /lib/libnsl.so.1: undefined reference to `svc_getreq_poll@GLIBC_2.2'
    /lib/libnsl.so.1: undefined reference to `__strndup@GLIBC_2.2'
    /lib/libnsl.so.1: undefined reference to `svc_max_pollfd@GLIBC_2.2'
    /lib/libnsl.so.1: undefined reference to `svc_pollfd@GLIBC_2.2'
    collect2: ld returned 1 exit status
    I am running SuSE Linux 7.1 and have installed all pertinent updates from
    the SuSE ftp site. Installation
    of the Oracle 8.1.7.0.1 distribution ran flawlessly (after I unset LANG
    before running runInstaller).
    I downloaded the latest 'glibc-2.1.3-stubs.tar.gz' patch from
    technet.oracle.com and installed per the directions in the READMEglibc213.txt file. When
    I ran 'setup_stubs.sh', everything appeared to run fine (no visible errors).
    I even remembered to fix the root.sh file per the instructions from the SuSE
    web site.
    Yet when I attempted to build a database (via dbassist or manually), I got
    the following error when running svrmgrl:
    oracle@mars:~ > svrmgrl
    Oracle Server Manager Release 3.1.7.0.0 - Production
    Copyright (c) 1997, 1999, Oracle Corporation. All Rights Reserved.
    ORA-12545: Connect failed because target host or object does not exist
    SVRMGR>
    I discovered that the reason for this was that the 'oracle' executable was
    not present in $ORACLE_HOME/bin (I later discovered that a number of other
    files were missing as well). Then I noticed that the 'setup_stubs.sh'
    script uses 'make -i', which ignores errors. When I ran 'make -f
    ins_rdbms.mk install' from $ORACLE_HOME/rdbms/lib, I got the link errors
    shown above. Of course, this explains why I don't have an 'oracle' file in
    $ORACLE_HOME/bin; it was never created during the patch install.
    I tried manually running all of the other relinks manually and all of them
    worked with the exception of ctx. When I ran 'make -f ins_ctx.mk' from
    $ORACLE_HOME/ctx/lib', I got this:
    gcc -o
    ctxhxx -L/u01/app/oracle/product/8.1.7/ctx/lib/ -L/u01/app/oracle/product
    /8.1.7/lib/ -L/u01/app/oracle/product/8.1.7/lib//stubs/
    /u01/app/oracle/produc
    t/8.1.7/ctx/lib/ctxhx.o -Wl,-rpath,/u01/app/oracle/product/8.1.7/ctx/lib/ -l
    m -l
    sc_fa -lsc_fi -lsc_ch -lsc_ut -lsc_ex -lsc_da -lctxhx -lm -lc -lnls8 -lcore
    8 -l
    nls8 -lcore8 -lnls8
    /lib/libdl.so.2: undefined reference to `_dl_vsym@GLIBC_2.2'
    /lib/libdl.so.2: undefined reference to `_dl_sym@GLIBC_2.2'
    collect2: ld returned 1 exit status
    make: *** [ctxhxx] Error 1
    I found that the /lib/libc.so.6 library contained the necessary definitions
    to these references. However, I am not sure if it is safe to add this to
    the list of libraries used during the link.
    What concerns me most is that I know a lot of folks have used the patch
    successfully, but I cannot think of what I've done wrong. Any ideas?
    null

    In case anyone else is having this problem, here is the answer:
    The problem only occurs if you include the Oracle Parallel Server option
    during installation. In order to get the oracle kernel to re-link after
    installing the glibc patch, you need to add -lnsl to the
    $ORACLE_HOME/lib/sysliblist like so:
    before: -ldl -lm -lpthread
    after : -ldl -lm -lnsl -lpthread
    Then relink the oracle kernel:
    cd $ORACLE_HOME/rdbms/lib
    make -f ins_rdbms.mk install
    null

Maybe you are looking for

  • Two iphones on one account?

    I purchased an iphone for each of my children. Set them up each with a separate apple account and itunes acct. (Same credit card). But, can I set them both up under the same account - so that if I buy a song for one they both can use it?

  • Is FileVault necessary if disk contains only the OS?

    I have two disks on my MacBook. The first one is an SSD that contains only OS X. The second one is a regular HD which contains my home folder. This second HD is an encrypted partition, so it can't be opened without a password - and if you plug it int

  • Direct to Apple Tech ...Re: Anti sales version of iTunes

    I am currently locked out of iTunes,  Will Apple provide a new functioning version of iTunes that addresses/fixes this glitch of the current version anytime soon? I refuse to waste any more of my time (nor should anyone else) attempting to 'fix' an o

  • How to set movie poster frame in final cut pro x

    Need some help on the following. Objective-using QT 7 or later, Current Compressor, FCP X or any other video editing tool, export a mp4 movie that displays a "poster frame" when the movie is inserted into iBook Author. When started by the user, the m

  • ContentDB 10.1.3.2.0 of WebCenter Suite and S2S Trusted Application error

    Hi , Any one have tryed creating trusted s2s application entry in OID, using steps provided under contentdb devkit (cdb\doc\authentication.html) ? When I run ./runs2s.sh Permission denied even though I have updated jazn-data.xml file Then I have try