This is probably real simple!

Could someone help with this please, basically I have a program with several frames in there. I have a button in frame a that when pressed open's frame b. I assumed you could do this with the following code.
class AVCustomer extends Frame implements ActionListener
     private JButton ACC;
     private Graphics g;
     public AVCustomer(AVControl avc)
          setSize(150, 350);
          setLayout(null);
          setBackground(Color.black);
          setTitle("Customer Location");
          VMachine vm = new VMachine(this);
          ACC = new JButton("ACC");
          ACC.setForeground(Color.black);
          ACC.setBackground(Color.white);
          ACC.setEnabled(true);
          ACC.setVisible(true);
          ACC.setBounds(10, 40, 100, 30);
          add(ACC);
          ACC.addActionListener(this);
          addWindowListener(new WindowAdapter() {
          public void windowClosing(WindowEvent e) {
                    dispose();
                    System.exit(0);
          setVisible(true);
          AVendingMachine vmachine = new AVendingMachine(this);
     public void actionPerformed(ActionEvent ae)
          ae.getSource();
               if(ae.getSource()==ACC)
                    vm.setVisable(true);
class VMachine extends Frame
     public VMachine(AVCustomer c)
          setSize(200, 400);
          setBackground(Color.red);
          setTitle("Vending Machine");
          addWindowListener(new WindowAdapter() {
          public void windowClosing(WindowEvent e) {
                    dispose();
                    System.exit(0);
          setVisible(false);

java.awt.Frame doesn't have any methods called setVisable(boolean);

Similar Messages

  • This is probably a simple solution, but, so far, not for me.

    I have a MacBook running Tiger. I moved my iTunes Library to an external HD. iTunes works fine for me, but I'd like all the accounts on my machine to be able to access iTunes easily. I've repaired permissions, changed permissions, etc. all to no avail. My sons and wife cannot use my iTunes library.
    Is there a simple setting I can use so that all the accounts on my MacBook can use, listen to, add to and access my iTunes library? Any help is appreciated.
    TIA

    I get a message that says the iTunes Library file is locked
    Where is your iTunes Library file located? For your purposes, it should be in the ~user/Music/iTunes folder. If you moved it to the eHD, you should ideally copy that file (and iTunes Music Library.xml) back to your Mac, then launch iTunes with the Option key pressed down, then Choose Library.., then point to where you moved it back to.
    The basic principle is this : if you want all users to have their own playlists etc, then everyone needs their own iTunes Library file, preferably in their own user account, in the Music/iTunes folder.
    To learn more about how iTunes handles content, libraries, etc, read this article : http://www.ilounge.com/index.php/articles/comments/moving-your-itunes-library-to -a-new-hard-drive
    Finally, if you are having problems with permissions on an external drive, I'm wondering how it is formatted? If in MS-DOS FAT32 it MAY be the cause of your problem, in which case you should back up everything on there and reformat to Mac OS X Extended.

  • Umm, this is probably a simple fix...

    I have this swf with three different movie clips that each
    load a random image. I have this code and it works when I just use
    the code for one movie clip. I fugure I'm doing something wrong
    with the code. Any suggestions????
    Here's the code:
    stop();
    pic_arr = ["images2/comm_pic1", "images2/comm_pic2",
    "images2/comm_pic3", "images2/comm_pic4", "images2/comm_pic5",
    "images2/comm_pic6", "images2/comm_pic7"];
    holder_mc.onEnterFrame = function() {
    ranNum = Math.floor(Math.random()*pic_arr.length);
    holder_mc.loadMovie(pic_arr[ranNum]+".jpg");
    pic_arr = ["images2/comm_pic1", "images2/comm_pic2",
    "images2/comm_pic3", "images2/comm_pic4", "images2/comm_pic5",
    "images2/comm_pic6", "images2/comm_pic7"];
    holder_mc2.onEnterFrame = function() {
    ranNum = Math.floor(Math.random()*pic_arr.length);
    holder_mc.loadMovie(pic_arr[ranNum]+".jpg");
    pic_arr = ["images2/comm_pic1", "images2/comm_pic2",
    "images2/comm_pic3", "images2/comm_pic4", "images2/comm_pic5",
    "images2/comm_pic6", "images2/comm_pic7"];
    holder_mc3.onEnterFrame = function() {
    ranNum = Math.floor(Math.random()*pic_arr.length);
    holder_mc.loadMovie(pic_arr[ranNum]+".jpg");
    thanks,
    hutch

    why the onEnterFrame?
    And the array only needs to be declared once.
    This is what I would do
    var pic_arr:Array = new Array("images2/comm_pic1",
    "images2/comm_pic2", "images2/comm_pic3", "images2/comm_pic4",
    "images2/comm_pic5", "images2/comm_pic6", "images2/comm_pic7");
    var ranNum:Number = Math.floor(Math.random()*pic_arr.length);
    holder_mc.loadMovie(pic_arr[ranNum]+".jpg");
    ranNum = Math.floor(Math.random()*pic_arr.length);
    holder_mc2.loadMovie(pic_arr[ranNum]+".jpg");
    ranNum = Math.floor(Math.random()*pic_arr.length);
    holder_mc3.loadMovie(pic_arr[ranNum]+".jpg");

  • Probably super simple...ACL/VLANs

    I have a VLAN 6 that is dedicated to a Partner organization (they share our bandwidth and schedule conference rooms with our Exchange).
    Question is how do I configure ACLs to direct ALL traffic to and from Partner, exception of accessing our Outlook Web Access and DNS servers in VLAN 1, and our websites in VLAN 2 ?
    This is probably super simple but I keep ending up with traffic going where I don't want it to.  Thanks so much...
    (And if anything else seems wacky about this setup, blame the last IT guy)

    What is the platform you are using??? ASA, router??
    Thanks,
    Varun Rao
    Security Team,
    Cisco TAC

  • Probably a simple SQL Query - Newbie

    I want to select entries from a table that has 2 columns where the first column value is contained within the 2 column....Does that make sense?
    The first is a varchar that contains a value for a customer. The second is a varchar that contains a a textual description of a problem the customer has. My problem is that I only want to select the entries in the table where the second column contains a description that includes the first column value.
    eg. I want to select rows that have the following condition:
    column1 has value of "customer1"
    column2 has a value of "an error was reported by customer1 on service blah"
    but not these
    column1 has value of "customer1"
    column2 has a value of "an error was reported by customer2 on service blah"
    This is probably a simple question but I've spent time looking at how to do it and can't seem to manage...any help would be appreciated....Thanks

    Hi Barbara,
    I've never used the CONTAINS operator before. I compared the use in this situation to the other methods and found the others to be FAR less resource intensive, despite working on unindexed columns, as I demonstrate below.
    It would seem that CONTAINS is unsuited to this type of simple query. Can you shed any light on this, from the perspective of somebody who has used it before? Is this type of performance penalty normal? If so, it could seem that CONTAINS is fairly useless next to LIKE.
    [email protected]> desc test;
    Name                                        Null?    Type
    COLUMN1                                              VARCHAR2(20)
    COLUMN2                                              VARCHAR2(100)
    [email protected]> select count(*) from test;
      COUNT(*)
         10000
    Elapsed: 00:00:00.00
    [email protected]> select * from test where instr(column2, column1) > 0;
    10000 rows selected.
    Elapsed: 00:00:00.18
    Execution Plan
       0      SELECT STATEMENT Optimizer=ALL_ROWS (Cost=23 Card=8328 Bytes=532992)
       1    0   TABLE ACCESS (FULL) OF 'TEST' (TABLE) (Cost=23 Card=8328 Bytes=532992)
    Statistics
              5  recursive calls
              0  db block gets
            821  consistent gets
              0  physical reads
              0  redo size
         702263  bytes sent via SQL*Net to client
           7838  bytes received via SQL*Net from client
            668  SQL*Net roundtrips to/from client
              0  sorts (memory)
              0  sorts (disk)
          10000  rows processed
    [email protected]> select * from test where column2 like '%'||column1||'%';
    10000 rows selected.
    Elapsed: 00:00:00.18
    Execution Plan
       0      SELECT STATEMENT Optimizer=ALL_ROWS (Cost=23 Card=8328 Bytes=532992)
       1    0   TABLE ACCESS (FULL) OF 'TEST' (TABLE) (Cost=23 Card=8328 Bytes=532992)
    Statistics
              5  recursive calls
              0  db block gets
            821  consistent gets
              0  physical reads
              0  redo size
         702263  bytes sent via SQL*Net to client
           7838  bytes received via SQL*Net from client
            668  SQL*Net roundtrips to/from client
              0  sorts (memory)
              0  sorts (disk)
          10000  rows processed
    [email protected]> create index testidx on test(column2) indextype is ctxsys.context;
    Index created.
    [email protected]> select * from test where contains(column2, column1) > 0;
    10000 rows selected.
    Elapsed: 00:00:56.80
    Execution Plan
       0      SELECT STATEMENT Optimizer=ALL_ROWS (Cost=25008 Card=4 Bytes=284)
       1    0   TABLE ACCESS (FULL) OF 'TEST' (TABLE) (Cost=25008 Card=4 Bytes=284)
    Statistics
          55201  recursive calls
              0  db block gets
          85857  consistent gets
              0  physical reads
              0  redo size
         702263  bytes sent via SQL*Net to client
           7838  bytes received via SQL*Net from client
            668  SQL*Net roundtrips to/from client
            204  sorts (memory)
              0  sorts (disk)
          10000  rows processedThanks in advance,
    Anthony

  • Real simple xslt problem/question

    Hi, i have a real simple xslt problem but i just cant figure out how to do it by looking at various examples on the net. i have a xml document and in it are some elements with a "result" tag name. i want to use xslt to reproduce exactly the same xml document except with an attribute called "id" added to those elements with a "result" tag name. i'm sure that theres a simple solution to it but i just cant figure it out. any helps greatly appreciated, thanks

    Start with the XSLT identity transform (I don't have it handy and it's fairly long, but you should be able to google it up). Add this:<xsl:template match="result">
      <result id="">
        <xsl:apply-templates>
      </result>
    </xsl:template>

  • Probably a simple fix ...

    why doesnt my page look the same in the browser as it does in dreamweaver?
    < what it looks like in dreamweaver ... perfect
    < what it looks like in my browser ... all spread out and messed up
    there is probably something simple i am doing or not doing but i cannot figure it out hopefully someone can help me out
    thank you so so so so much!
    here is this page's code if needed:
    <!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>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>Designs by Christina Mae  |  School { print }</title>
    <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>
    <style type="text/css">
    <!--
    body,td,th {
    color: #A78462;
    body {
    background-image: url(../webimages/background.gif);
    background-repeat: repeat;
    float: inherit;
    -->
    </style></head>
    <body onload="MM_preloadImages('slices/school-motion/motion_rollover_09.gif','../slices/school- print/print_rollover_04.gif','../slices/school-print/print_rollover_06.gif','../slices/sch ool-print/print_rollover_10.gif','../slices/school-print/print_rollover_09.gif')">
    <table width="1024" height="384" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <td width="221"><table width="221" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td width="221"><img src="../slices/school-print/print_01.gif" width="221" height="73" /></td>
          </tr>
          <tr>
            <td><img src="../slices/school-print/print_03.gif" width="221" height="71" /></td>
          </tr>
          <tr>
            <td><a href="../web&amp;motion/DESIGNS_motionweb.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image8','','../slices/school-print/print_rollover_04.gif',1)"> <img src="../slices/school-print/print_04.gif" name="Image8" width="221" height="18" border="0" id="Image8" /></a></td>
          </tr>
          <tr>
            <td><img src="../slices/school-print/print_05.gif" width="221" height="33" /></td>
          </tr>
          <tr>
            <td><a href="../freelance/DESIGNS_freelance.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image11','','../slices/school-print/print_rollover_06.gif',1)" ><img src="../slices/school-print/print_06.gif" name="Image11" width="221" height="21" border="0" id="Image11" /></a></td>
          </tr>
          <tr>
            <td><img src="../slices/school-print/print_07.gif" width="221" height="552" border="0" usemap="#Map3" /></td>
          </tr>
        </table></td>
        <td width="803"><table border="0" cellpadding="0" cellspacing="0">
          <tr>
            <td height="655" nowrap="nowrap" bgcolor="#F9F3DE"><script type="text/javascript" src="swfobject.js"></script>
    <div id="flashcontent">SimpleViewer requires JavaScript and the Flash Player.
    <a href="http://www.macromedia.com/go/getflashplayer/">Get Flash.</a></div>
    <script type="text/javascript">
    var fo = new SWFObject("viewer.swf", "viewer", "800", "600", "8", "#f8f0dd");
    fo.write("flashcontent");
    </script></td>
          </tr>
          <tr>
            <td nowrap="nowrap"><table width="605" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td width="553"><p><img src="../slices/school-print/print_08.gif" width="591" height="113" /></p></td>
                <td width="52"><table border="0" cellspacing="0" cellpadding="0">
                  <tr>
                    <td width="42"><p><a href="../resume.pdf" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image13','','../slices/school-print/print_rollover_09.gif',1)" ><img src="../slices/school-print/print_09.gif" name="Image13" width="212" height="23" border="0" id="Image13" /></a></p>
                      </td>
                  </tr>
                  <tr>
                    <td><p><a href="mailto:[email protected]" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image12','','../slices/school-print/print_rollover_10.gif',1)" ><img src="../slices/school-print/print_10.gif" name="Image12" width="212" height="22" border="0" id="Image12" /></a></p>
                      </td>
                  </tr>
                  <tr>
                    <td><p><img src="../slices/school-print/print_11.gif" width="212" height="68" /></p>
                      </td>
                  </tr>
                </table></td>
              </tr>
            </table></td>
          </tr>
        </table></td>
      </tr>
    </table>
    <div align="center"></div>
    <map name="Map" id="Map"><area shape="circle" coords="114,449,42" href="DESIGNS_home.html" />
    </map>
    <map name="Map2" id="Map2"><area shape="circle" coords="112,447,40" href="DESIGNS_home.html" />
    </map>
    <map name="Map3" id="Map3"><area shape="circle" coords="114,445,43" href="../DESIGNS_home.html" />
    </map></body>
    </html>

    It's always nicer to see the live page on remote server so we can see the images and everything in context.
    Try changing this:
    body {
    background-image: url(../webimages/background.gif);
    background-repeat: repeat;
    float: inherit;
    to this:
    body {
    background: url(../webimages/background.gif) repeat;
    Also,  remove the height="value"  from your tables.  It's not valid code.
    HTML Validator - http://validator.w3.org 
    CSS Validator - http://jigsaw.w3.org/css-validator/  
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    www.alt-web.com/
    www.twitter.com/altweb
    www.alt-web.blogspot.com

  • Probably a simple solution, but . . .

    Hi there - There is probably a simple fix to this - and it probably doesn't even matter, but I'm curious. When I attach an exported file to an email, it is attaching as a picture of the document, rather than as an icon with the document's name. The thing is, it used to attach as the icon and not the actual document. I know it probably doesn't matter, but I liked it better when attaching the icon representing the doc. I've probably hit a button or flipped a switch I didn't know I hit or flipped, but where is it and how can I reset it? Thanks a lot!
    Craig

    Craig,
    I may not have understood the original question. The comment and action James has posted would relate to whether a file would View in Place as you compose -- it does not impact what is sent.
    However, I thought you were describing the file Icon as having a Preview or Thumbnail, and not a full View in Place? If a file has a photo-like thumbnail, it is the result of the saving of the file, and not something in Mail.
    Please clarify?
    Ernie

  • Probably a simple solution to tweak a particle preset, please help

    I am doing an effect for a friends video where a UFO is hanging in the air. I have tweaked the look of the 'Pulsing Laser Star' to what I want, however, the camera pans from the actors face to the light. I can't figure out how to already have it there. it's always births from nothing. I have tried setting the birthrate to 0 and the initial number up but that doesn't do it. I haven't used Motion all that much but I liked the look of this particle. Probably something simple. Can anyone offer any advice?

    You mean you need a particle emiter to just stand still?
    http://www.applemotion.net/blog/2011/5/2/motion-on-macbreak-studio-3d-particle-t ricks.html

  • This might be a simple question.   On those sites that do not differentiate between models when on the internet I.e. Facebook when after your comment and you cannot hit "enter" on an iPad for examp. And speed is slow to connect.  What is = to post?

    This might be a simple question. On those sites that do not differentiate between CRT, laptop, tablet etc. such as an iPad Mini and using the Facebook site fir example when going to post a comment and you do not have a enter button on the IPad and the speed is slow how do you get your comments to post if we do not have a enter button? 
    <Email Edited By Host>

    I don't have facebook so I cannot answer but for your personal security, I have asked the hosts to remove your e-mail address.   It is very unwise to publish this.

  • The Back button only allows me to go back one page at a time instead of selecting a previous page from a drop-down list. This is a real problem: anyone have any ideas?

    In the previous version of Firefox, I could go back to a previous webpage by clicking on a part of the Back button which brought up a list of recently visited sites, and by clicking one of these, could jump straight back to that page. This facility does not seem to be available in the latest Firefox, and the Back button only goes back one page at a time. This is really inconvenient, as,
    it now takes longer to get to an earlier page
    there is no visibility of previous pages visited
    any actions carried out on webpages are undone when going back through them - this does not happen when jumping back several pages in one go.
    This is a real problem as I used to the old system constantly, and cannot continue to use Firefox 4.0 unless there is a way around it.

    For me, I have the same question, this is a poorly done upgrade and I want to go back to 3.6

  • An error occurred during olap API metadata retrieval. This is probably caus

    this is what i have done so far. i really nead some help asap!!!
    1. Install Oracle 9i Release 2 (9.2.0.1) Enterprise Edition with the General purpose database configuration (Data warehouse works as well). At the end of the installation I chose the password management button to change passwords for the few necessary accounts: SYS, SYSTEM, OLAPSYS, SH.
    2. Download the p3948480_9206_WINNT.zip from metalink, the 9.2.0.6 patchset
    3. Shut down any existing Oracle9i database instances with normal or immediate priority. Stop all listener and other services running in the Oracle home directory where you want to install the patch set.
    4. unzip the content of thepatch to a temp directory
    5. start setup.exe under the temp directory (it will start the Oracle Universal installer 10.1.0.3)
    6. install the patchset to your Oracle home, selecting the source in the temp_dir\stage\products.jar file
    7. review carefully the post-installation tasks for the patchset:
    Review the following sections before upgrading a database (quote from the patchset html readme):
    8.2.1.1If JServer is part of the installation ensure that there is at least 10 MB of free space allocated to the SYSTEM tablespace.
    8.2.1.2 Check XDB Tablespace Size
    For RAC installations, ensure that there is at least 50 MB of free space allocated to the XDB tablespace.
    8.2.1.3 Set the SHARED_POOL_SIZE and JAVA_POOL_SIZE Initialization Parameters
    Set the value of the SHARED_POOL_SIZE and the JAVA_POOL_SIZE initialization parameters as follows:
    Start the database:
    SQL> STARTUP
    If necessary, enter the following command to determine whether the system uses an initialization parameter file (initsid.ora) or a server parameter file (spfiledbname.ora):
    SQL> SHOW PARAMETER PFILE;
    This command displays the name and location of the server parameter file or the initialization parameter file.
    Determine the current values of these parameters:
    SQL> SHOW PARAMETER SHARED_POOL_SIZE
    SQL> SHOW PARAMETER JAVA_POOL_SIZE
    If the system is using a server parameter file:
    If necessary, set the value of the SHARED_POOL_SIZE initialization parameter to at least 150 MB:
    SQL> ALTER SYSTEM SET SHARED_POOL_SIZE='150M' SCOPE=spfile;
    If necessary, set the value of the JAVA_POOL_SIZE initialization parameter to at least 150 MB:
    SQL> ALTER SYSTEM SET JAVA_POOL_SIZE='150M' SCOPE=spfile;
    If the system uses an initialization parameter file, if necessary, change the values of the SHARED_POOL_SIZE and the JAVA_POOL_SIZE initialization parameters to at least 150 MB in the initialization parameter file (initsid.ora).
    Shut down the database:
    SQL> SHUTDOWN
    8.2.2 Upgrade the Database
    After you install the patch set, you must complete the following steps on every database associated with the upgraded Oracle home:
    Log on as a member of the Administrators group to the computer where the Oracle components are installed.
    Use SQL*Plus to login to the database as the SYS user with SYSDBA privileges:
    sqlplus /NOLOG
    CONNECT SYS/password AS SYSDBA
    Enter the following SQL*Plus commands:
    SQL> STARTUP MIGRATE
    SQL> SPOOL patch.log
    SQL> @ORACLE_BASE\ORACLE_HOME\rdbms\admin\catpatch.sql
    SQL> SPOOL OFF
    Restart the database:
    SQL> SHUTDOWN
    SQL> STARTUP
    Run the utlrp.sql script to recompile all invalid PL/SQL packages now instead of when the packages are accessed for the first time. This step is optional but recommended.
    SQL> @ORACLE_BASE\ORACLE_HOME\rdbms\admin\utlrp.sql
    12. Install JDeveloper 9.0.4 (download it from OTN and just unzip it in a directory ... it doesn't require an oracle home)
    13. Install BI Beans 9.0.4 (download it from OTN as well), run the setup.exe that comes with it and in the destination oracle home select the directory where you installed JDeveloper and give an oracle home name to it)
    14. Install the BIBDEMO schema:
    Create a directory on the computer that is running the Oracle9i database. This install_home directory is the location to which you will upload the data files that are required to build the BIBDEMO schema.
    On the computer where BI Beans is installed, locate the bibeans_home\bibdemo_schema folder (where bibeans_home is the root folder of your BI Beans installation). Copy all of the files found in this folder to the install_home folder on your server machine.
    Open a DOS prompt and navigate to the install_home folder.
    Run bibdemo.bat to install the schema, using the following syntax:
    bibdemo.bat <path to Oracle database files >
    For example, for an instance named my9iService, enter the following:
    bibdemo.bat D:\OraHome1\oradata\my9iService
    You are prompted for the password for the sys as sysdba user.
    The script takes approximately 15 minutes to run, depending on the machine specifications. It is normal to see some error messages while the script is running. In addition, when materialized views are being created in the database, the script will appear to stop; this is also normal. A clear message will tell you when the script has completed.
    The log files (*.log) that are generated by the installation script are stored in the folder from which you ran the script.
    Here's what
    bi_checkconfig.bat -h ana -po 1521 -sid proiect -u bibdemo -p bibdemo -q
    returned:
    BI Beans Diagnostics(v1.0.2.0) 2/28/05
    ===============================================================================
    JDEV_ORACLE_HOME .......................... = E:\OraDS
    JAVA_HOME ................................. = E:\OraDS\jdk
    JDeveloper version ........................ = 9.0.4.1.1.1436
    BI Beans release description .............. = BI Beans 9.0.4 Production Release
    BI Beans component number ................. = 9.0.4.23.0
    BI Beans internal version ................. = 2.7.5.32
    Connect to database ....................... = Successful
    JDBC driver version ....................... = 9.2.0.4.0
    JDBC JAR file location .................... = E:\OraDS\jdev\lib\patches
    Database version .......................... = 9.2.0.6.0
    OLAP Catalog version ...................... = 9.2.0.1.0
    OLAP AW Engine version .................... = 9.2.0.1.0
    OLAP API Server version ................... = 9.2.0.1.0
    BI Beans Catalog version .................. = N/A; not installed in bibdemo
    OLAP API JAR file version ................. = 9.2
    OLAP API JAR file location ................ = E:\OraDS\jdev\lib\ext
    Load OLAP API metadata .................... = Successful
    Number of metadata folders ................ = 2
    Number of metadata measures ............... = 12
    Number of metadata dimensions ............. = 8
    Testing sample query for measures and dimensions
    (S=Schema, C=Cube, M=Measure, D=Dimension)
    1/21) Measure Budget ................... = Successful
    S=BIBDEMO, C=BIBDEMO_BUDGET_CUBE, M=BUDGET
    2/21) Measure Actual ................... = Successful
    S=BIBDEMO, C=BIBDEMO_ACTUAL_CUBE, M=ACTUAL
    3/21) Measure Close Price .............. = Successful
    S=BIBDEMO, C=BIBDEMO_STKPRICE_CUBE, M=STKPRICE_CLOSE
    4/21) Measure Open Price ............... = Successful
    S=BIBDEMO, C=BIBDEMO_STKPRICE_CUBE, M=STKPRICE_OPEN
    5/21) Measure Low Price ................ = Successful
    S=BIBDEMO, C=BIBDEMO_STKPRICE_CUBE, M=STKPRICE_LOW
    6/21) Measure High Price ............... = Successful
    S=BIBDEMO, C=BIBDEMO_STKPRICE_CUBE, M=STKPRICE_HIGH
    7/21) Measure Stock Volume ............. = Successful
    S=BIBDEMO, C=BIBDEMO_STKPRICE_CUBE, M=STKPRICE_VOLUME
    8/21) Dimension Division ............... = Successful
    S=BIBDEMO, D=DIVISION
    9/21) Dimension Line Items ............. = Successful
    S=BIBDEMO, D=LINE
    10/21) Dimension Time ................... = Successful
    S=BIBDEMO, D=TIME
    11/21) Dimension Day .................... = Successful
    S=BIBDEMO, D=DAY
    12/21) Dimension Stock .................. = Successful
    S=BIBDEMO, D=STOCK
    13/21) Measure Costs .................... = Successful
    S=BIBDEMO, C=ANALYTIC_CUBE, M=F.COSTS
    14/21) Measure Promotion ................ = Successful
    S=BIBDEMO, C=ANALYTIC_CUBE, M=F.PROMO
    15/21) Measure Quota .................... = Successful
    S=BIBDEMO, C=ANALYTIC_CUBE, M=F.QUOTA
    16/21) Measure Units .................... = Successful
    S=BIBDEMO, C=ANALYTIC_CUBE, M=F.UNITS
    17/21) Measure Sales .................... = Successful
    S=BIBDEMO, C=ANALYTIC_CUBE, M=F.SALES
    18/21) Dimension Channel ................ = Successful
    S=BIBDEMO, D=CHANNEL
    19/21) Dimension Geography .............. = Successful
    S=BIBDEMO, D=GEOGRAPHY
    20/21) Dimension Product ................ = Successful
    S=BIBDEMO, D=PRODUCT
    21/21) Dimension Time ................... = Successful
    S=BIBDEMO, D=TIME
    Metadata output location .................. = E:\OraDS\bibeans\bi_checkconfig\bi
    _metadata.txt
    To interpret this output, see the "Displaying Information about your Oracle9i Bu
    siness Intelligence Beans Client Configuration" technical note, whose file name
    is bi_checkconfig_tn.html
    These diagnostics are captured in: E:\OraDS\bibeans\bi_checkconfig\bi_checkconfi
    g.xml
    now: i have created some new stuff:
    1). user ana with roles:
    -dba
    -olap_dba
    -connect
    -resource
    (same roles as bibdemo)
    2).schema ana; tablespace ana (permanent), tablespace anatemp (temporary)
    3).i have created some relational tables and i have inserted some data in them:
    agent, aparat (cofee machines), beneficiar (clients), locatii (city), raport (REPORT), timp (time), tipaparat (types of cofee machines), tipbautura (products : types of cofee made by all the cofee machines), zone (state)
    4). one fact table with:
    - sold cantity (measure)
    - id_bautura (id_product) primary key
    - id_timp(id_time) primary key
    - id_beneficiar (id_client) primary key
    - id_agent primary key
    - id_locatie (id_city) primary key
    - id_aparat (id_cofee_machine)primary key
    i have inserted some data also
    5).dimensions:
    AGENT_DIM :levels: codag(id_agent), numeag (agent name), telefag (agent phone number)from relational table agent
    BENEFICIAR_DIM :levels: codben (id_client), denumire (client name), adresa (adress) ,codl (id_city) etc from relatinal table beneficiar (clients)
    TIMP_DIM :levels: id, year, month from relational table timp (time)
    TIPBAUTURA_DIM :levels: codbautura (id_product), numebautura (product name)from relational table tipbautura (products)
    ZONA_DIM :levels: codzona (id state), numezona (state name), codoras (id city), numeoras (city name) with ierarhy id_state---id_city FROM 2 RELATINAL TABLES CITY AND STATE!!!!!!!! AM I ALOUD TO DO THAT?????
    DO I NEED TO CREATE A DIMENSION FROM ONLY ONE TABLE???????
    APARAT_DIM :LEVELS: codben (id client), codtip (id machine type), denumireap (machine type name), matricolap ((machine id) (FROM 2 RELATIONAL TABLES ALSO!!!!!!! FROM TYPES OF COFEE MACHINES AND COFEE MACHINES!!!!!
    6). I HAVE NOW CREATED THE CUBE FROM THE FACT TABLE AND WITH ALL THE DIMENSIONS
    7). summary advisor wizard NOT WORKING! IT NEVER STOPS!
    8). I HAVE CREATED ALSO ONE materialized view FOR THE CUBE
    IF I COMPILE IT... NO ERRORS
    9). CUBE VIEWER NOT WORKING!!!!!!! IT ONLY APEARS A BELL!!!
    NOW IF I RUN BI_CHECK CONFIG ON ANA AND ALSO ON BIBDEMO!!!!!!!!!!!!
    IT SAYS:
    1) An error occurred during olap API metadata retrieval. This is probably caused by inconsistent metadata.
    ============================================================================
    oracle.express.ExpressServerExceptionError class: Unknown Error
    Server error descriptions:
    INI: System failure, Generic at TxsOqConnection::getDefaultDatabase
    at oracle.express.olapi.data.full.ExpressDataProvider.getMetadataProviderInterface(ExpressDataProvider.java:1003)
    at oracle.olapi.metadata.MetadataFetcher.initialize(MetadataFetcher.java:73)
    at oracle.olapi.metadata.MetadataFetcher.<init>(MetadataFetcher.java:45)
    at oracle.olapi.metadata.BaseMetadataProvider.<init>(BaseMetadataProvider.java:47)
    at oracle.olapi.metadata.mdm.MdmMetadataProvider.<init>(MdmMetadataProvider.java:130)
    at oracle.express.olapi.data.full.ExpressDataProvider.getDefaultMetadataProvider(ExpressDataProvider.java:964)
    at oracle.dss.metadataManager.server.drivers.mdm._92.MDMMetadataDriverImpl_92.getMdmMetadataProvider(MDMMetadataDriverImpl_92.java:1133)
    at oracle.dss.metadataManager.server.drivers.mdm._92.MDMMetadataDriverImpl_92.attach(MDMMetadataDriverImpl_92.java:810)
    at oracle.dss.metadataManager.server.drivers.mdm.MDMMetadataDriverImpl.attach(MDMMetadataDriverImpl.java:125)
    at oracle.dss.metadataManager.server.MetadataManagerImpl.buildObjectModel(MetadataManagerImpl.java:1092)
    at oracle.dss.metadataManager.server.MetadataManagerImpl.attach(MetadataManagerImpl.java:969)
    at oracle.dss.metadataManager.client.MetadataManager.attach(MetadataManager.java:876)
    at oracle.dss.metadataManager.client.MetadataManager.attach(MetadataManager.java:799)
    at BICheckConfig.checkConnection(BICheckConfig.java:277)
    at BICheckConfig.main(BICheckConfig.java:1348)
    I TRYED ALSO WITH USER ANA WITH ROLES:
    - DBA
    - CONNECT
    -RESOURCE
    - OLAP_USER
    NOT WORKING! AND ALSO BIBDEMO NOT WORKING!
    WHAT AM I MISSING? SHOULD I USE AW MANAGER? OR DO I NEED TO CREATE AN AMNALITIC WORKSPACE???
    WHAT ARE THE STEPS TO CREATE A GOOD METADATA????

    Hi,
    The issue here is if the whole catalog is corrupt or just one schema. So to try and determine the status of the catalog I would try:
    1) Using OEM remove all the objects you created
    2) I presume you created your database using the Database Configuration Assistant? You should have used the warehouse template
    3) Make sure the following accounts are unlocked and also not expired : SH, OLAPSYS
    4) Make sure the password for the SH schema is SH
    5) Make sure the password for the OLAPSYS account is manager
    6) Install the BIBDEMO schema that is shipped with BI Beans. This in the jdev_home/bibeans/bibdemo_schema
    The installation process will remove SH schema from the OLAP catalog.
    7)Once this is installed use JDeveloper to see if you can create a crosstab or graph.
    8) If the BIBDEMO schema works try creating your new schemas one at a time.
    9) Make sure the if you define the a dimension as type time it has END_DATE (column type DATE) and TIME_SPAN (column type number) defined. Otherwise don't define the dimension as type time.
    Hope this helps
    Keith Laker
    Product Manager
    Oracle Business Intelligence Beans

  • When I upgraded to ios6 I can no longer send pictures in a text message as I once was able too? this is for my iphone3GS This is a real inconveinance.

    When I upgraded my daughters i-phone 3GS to the ios 6 , She was no longer able to send picture messages as a text . I have been on this phone for over 7 hours trrying to figure something. I see I'm not the only one with the problem so I dont feel too bad but this is a real inconveinance for me and my daughter . What is the solution to this?

    I use a free SMS texting app called Pinger. You can even make calls with it.
    Basic troubleshooting steps  
    17" 2.2GHz i7 Quad-Core MacBook Pro  8G RAM  750G HD + OCZ Vertex 3 SSD Boot HD 
    Got problems with your Apple iDevice-like iPhone, iPad or iPod touch? Try Troubleshooting 101
     In Memory of Steve Jobs 

  • I opened a website that said that all of my files had been encrypted. A popup appeared and asked if I wanted to leave the page, but when I tried to, it wouldn't let me.  How do I know if this is a real problem or not?

    I was researching information for a class and I clicked on a website that said that all of my files had been encrypted.  A popup appeared and asked if I wanted to leave the page but when I tried to, it would let me.  I had to force quit Safari in order to do so.  How do I know if this is a real problem or not? 

    It's a JavaScript scam that only affects your web browser, and only temporarily.
    1. Some of those scam pages can be dismissed very easily. Press command-W to close the tab or window. A huge box will pop up. Press the return key and both the box and the page will close. If that doesn't happen, continue.
    2. From the Safari menu bar, select
              Safari ▹ Preferences... ▹ Security
    and uncheck the box marked Enable JavaScript. Leave the preferences dialog open.
    Close the malicious window or tab.
    Re-enable JavaScript and close the preferences dialog.
    3. If the Preferences menu item is grayed out, quit Safari. Force quit if necessary. Relaunch it by holding down the shift key and clicking its icon in the Dock. From the menu bar, select
              Safari ▹ Preferences... ▹ Privacy ▹ Remove All Website Data
    to get rid of any cookies or other data left by the server. Open your Downloads folder and delete anything you don't recognize.

  • This is probably a dumb question, but I can't find an answer. How do I make the text on my calendar larger so I can actually read it when I print it out?

    This is probably a dumb question, but I can't find an answer. How do I make the text on my calendar larger so I can actually read it when I print it out? I am using a MacBook.

    Press "Command P" and when the Print dialogue box comes up, towards the bottom there is an option allowing you to choose the text size, i.e: small, med, large.
    Hope this helps,
    NEIL

Maybe you are looking for

  • I have a ipad

    I have a ipad & iphone and a PC. I want to get a apple computer. I'm running Microsoft office, Quicken, Autocad 14 on my pc, and have hundreds of drawing, spreadsheets,and doc. On PC. Is there a apple computer that I can run these programs on? Someon

  • Trial to Enterprise

    Hi I recently installed a trial version of CFMX 7 on our windows 2003 server. I just found our serial key and would like to upgrade the version to an enterprise through CF administrator. I have the serial but I do have the update file to upload so I

  • Weird icon on bumptop dektop

    Hi I installed bumptop, but it had this weird shape as pointed in the picture, what is this and how can I remove it, thanks.

  • Creating and Extended Network with 2 Airport Express Units

    I had an extended network using 2 express units but one of them broke. The old network was setup with an older version of Airport Utility and I can't seem to repeat the set up a new network with the new express unit I have bought. The simple setup pr

  • Backup and Recovery Strategy?

    Hi, I have been asked to provide/formulate backup and recovery strategy for the new Oracle env being built. Currently, this all is being done by 3rd party and they won't share anything with me :-) Client will take over the servers in near future. Her