Newbie, help with timesten 6.0.2

hi guys, i'm trying to install and configure timesten 6.0.2, in the same PC (it's name is demoserver) i have installed oracle 10g 10.2.0.1, the client tools for oracle 10g 10.2.0.0
i'm reading a document called cacheconnect.pdf it is installed with timesten documentation, i have tried to install timesten with and without Access Control, and in the same case is the same error, the user i logged on windows is 'ricardo', it's password is 'verde13' i'm doing the follow steps agreed the pdf file:
sqlplus system/passwordr@system1 system1 is the oracle service
SQL> CREATE USER testuser IDENTIFIED BY mypsswrd
DEFAULT TABLESPACE users;
SQL> GRANT connect, resource, create any trigger TO testuser;
SQL> COMMIT;
SQL> EXIT
then
Create a TimesTen DSN
Create a simple TimesTen system data source (System DSN), named cgDSN, as
described in Chapter 2, “Creating TimesTen Data Stores” of Oracle TimesTen In-
Memory Database Operations Guide.
For cgDSN, set:
• Data Store Path and Name: c:\temp\cgds
• Permanent Data Sz (MB): 16
• Temporary Data Sz (MB): 16
• User ID: testuser (this ID is also used as the Oracle User ID)
• Oracle ID: system1
• Oracle Password: mypsswrd
Use defaults for all other settings.
in this case i'm trying without Access Control so i skip this
Create an account on TimesTen
Note: You need to create an account on TimesTen only if you have Access
Control enabled on your TimesTen data store.
Use the ttIsql utility to connect to the cgDSN data store. Then use the CREATE
USER and GRANT statements to create a user, named testuser, with ADMIN
and DDL privileges:
ttIsql cgDSN
Command> CREATE USER testuser IDENTIFIED BY mypsswrd
Command> GRANT ADMIN, DDL TO testuser
skip end
Connect to your new Oracle account and create a table:
sqlplus testuser/mypsswrd@system1
SQL> CREATE TABLE readtab (a NUMBER(10,0) NOT NULL PRIMARY KEY,
b CHAR(31));
Then insert some rows and commit the changes:
SQL> INSERT INTO readtab VALUES (1, 'hello');
SQL> INSERT INTO readtab VALUES (2, 'world');
SQL> COMMIT;
Use the ttIsql utility to connect to the cgDSN data store. At the command prompt,
use the ttCacheUidPwdSet procedure to pass the cache administration user ID
and password as parameters.Then call the ttCacheStart procedure to start the
cache agent for the data store. In this example, the cache administration user ID
is testuser and the password is mypsswrd:
ttIsql cgDSNCommand> call ttCacheUidPwdSet('testuser','mypsswrd');
Command> call ttCacheStart();
here is my problem without Access Control i dont have an adminstrator, the error is:
Previous attempt resulted in the following:
Backend failed with exit status 1:
C:\TimesTen\tt60\srv\info\ws\cgi-bin\cache/ttBackEnd.exe -connStr "DSN=CGDSN" -user "RICARDO" -oraclepwd [Omitted] -oralogin
ERROR in ttBackEnd.c, line 864: prepare failed
ODBC Error/Warning = S1000, Additional Error/Warning = 5107
TT5107: Oracle(OCI) error in OCIServerAttach(): ORA-12154: TNS:could not resolve the connect identifier specified rc = -1 -- file "bdbConnect.c", lineno 1381, procedure "ttBDbConnect()"
ODBC Error/Warning = S1000, Additional Error/Warning = 5131
TT5131: Cannot connect to Oracle database: connect_string = "orcl", uid = "RICARDO", pwd is hidden -- file "bdbConnect
and with Access Control enabled is the same, how can i fix it?? i dont think is the TNS because from another client PC i can connect to Oracle using SQLPlus o VS.Net
i hope you can help me.
Regards.

With 6.0.3 I overcome this problem. But before installation make sure that ORACLE_HOME is set correctly as an environment parameter. And if it is not set, after setting you should reboot your computer.
Cheers
Gokben

Similar Messages

  • Newbie - help with homework.

    Create a procedure to insert a record into the Bill_Items table. All the fields in the Bill_Items table will be specified as para with the exception of the Selling_Price, which will be the Current_Price, retrieved from the Menu_Items table. Do not allow the insert to finish unless there are enough of all ingredients on hand. If the insert is successfull, the quantity field in the Ingredient table will need to be updated accordingly.
    Tables are below.
    Thanks,
    CREATE TABLE Bill_Items
    Bill_Number NUMBER(6,0)
    CONSTRAINT FK_Bill_Items_Bill_Number REFERENCES Bills(Bill_Number)
    CONSTRAINT NN_Bill_Items_Bill_Number NOT NULL,
    Menu_Item_Number NUMBER(5,0)
    CONSTRAINT FK_Menu_Item_Num REFERENCES Menu_Items(Menu_Item_Number)
    CONSTRAINT NN_Bill_Items_Menu_Item_Num NOT NULL,
    Discount NUMBER(5,2)
    CONSTRAINT N_Bill_Items_Discount NULL,
    Quantity NUMBER(3,0) DEFAULT 1
    CONSTRAINT Bills_Items_Quanity_CC CHECK(Quantity > 0)
    CONSTRAINT NN_Bill_Items_Quantity NOT NULL,
    Selling_Price NUMBER(6,2) DEFAULT 0
    CONSTRAINT Bills_Items_SellingPrice_CC CHECK(Selling_Price >= 0)
    CONSTRAINT NN_Bill_Items_Selling_Price NOT NULL,
    CONSTRAINT PK_Bill_Items PRIMARY KEY(Bill_Number,Menu_Item_Number)
    CREATE TABLE Menu_Item_Ingredients
    Menu_Item_Number NUMBER(5,0)
    CONSTRAINT FK_Menu_Item_Ing_Menu_Item_Num REFERENCES Menu_Items(Menu_Item_Number)
    CONSTRAINT NN_Menu_Item_Ing_Meun_Item_Num NOT NULL,
    Ingredient_Number NUMBER(5,0)
    CONSTRAINT FK_Menu_Item_Ing_IngredientNo REFERENCES Ingredients(Ingredient_Number)
    CONSTRAINT NN_Menu_Item_Ing_IngredientNo NOT NULL,
    Quantity NUMBER(5,2) DEFAULT 1
    CONSTRAINT Menu_Item_Ing_Quanity_CC CHECK(Quantity > 0)
    CONSTRAINT NN_Menu_Item_Ing_Quanity NOT NULL,
    Constraint PK_Menu_Item_Ing PRIMARY KEY(Menu_Item_Number, Ingredient_Number)
    CREATE TABLE Ingredients
    Ingredient_Number Number(5,0)
    CONSTRAINT PK_Ingredients_IngredientNo PRIMARY KEY
    CONSTRAINT NN_Ingredients_IngredientNo NOT NULL,
    Ingredient_Name VarChar2(35)
    CONSTRAINT NN_Ingredients_Ingredient_Name NOT NULL,
    Portion_Code CHAR(2)
    CONSTRAINT FK_Ingredients_PortionCode REFERENCES Portions(Portion_Code)
    CONSTRAINT NN_Ingredients_PortionCode NOT NULL
    REFERENCES Portions(Portion_Code),
    On_Hand NUMBER(6,2) DEFAULT 1
    CONSTRAINT Ingredients_OnHand_CC CHECK(On_Hand > 0)
    CONSTRAINT NN_Ingredients_On_Hand NOT NULL,
    Reorder_Point NUMBER(6,2) DEFAULT 1
    CONSTRAINT Ingredients_Reorder_Point CHECK(Reorder_Point > 0)
    CONSTRAINT NN_Ingredients_Reorder_Point NOT NULL,
    Current_Cost NUMBER(5,2) DEFAULT 0
    CONSTRAINT Ingredients_CurrentCost_CC CHECK(Current_Cost >= 0)
    CONSTRAINT NN_Ingredients_Current_Cost NOT NULL
    CREATE TABLE Menu_Items
    Menu_Item_Number NUMBER(5,0)
    CONSTRAINT PK_Menu_Items_MenuItemsNo PRIMARY KEY
    CONSTRAINT NN_Menu_Items_MenuItemsNo NOT NULL,
    Menu_Item_Name VARCHAR2(50)
    CONSTRAINT NN_Menu_Items_Menu_Item_Name NOT NULL,
    Current_Price NUMBER(6,2) DEFAULT 0
    CONSTRAINT Menu_Items_CurrentPrice CHECK(Current_Price >=0)
    CONSTRAINT NN_Menu_Items_Current_Price NOT NULL,
    Production_Cost NUMBER(6,2) DEFAULT 0
    CONSTRAINT Menu_Items_ProdCost CHECK(Production_Cost >=0)
    CONSTRAINT NN_Menu_Items_Production_Cost NOT NULL
    );

    Newbie to oracle - help with homework.. Letting others do your work is called cheating, where I live.
    C.

  • Newbie: help with join in a select query

    Hi: I need some help with creating a select statement.
    I have two tables t1 (fields: id, time, cost, t2id) and t2 (fields: id, time, cost). t2id from t1 is the primary key in t2. I want a single select statement to list all time and cost from both t1 and t2. I think I need to use join but can't seem to figure it out even after going through some tutorials.
    Thanks in advance.
    Ray

    t1 has following records
    pkid, time, cost,product
    1,123456,34,801
    2,123457,20,802
    3,345678,40,801
    t2 has the following records
    id,productid,time,cost
    1,801,4356789,12
    2,801,4356790,1
    3,802,9845679,100
    4,801,9345614,12
    I want a query that will print following from t1 (time and cost for records that have product=801)
    123456,34
    345678,40
    followed by following from t2 (time and cost for records that have productid=801)
    4356789,12
    4356790,1
    9345614,12
    Is this possible?
    Thanks
    ray

  • Newbie - Help With templates

    I am fairly new to dreamweaver. Looking to put together a
    basic site for a holiday home for rent. Would like to include
    photos of the house and surrounding area, travel details, details
    of things to do and see, calendar, temeperature charts etc. Can
    anyone suggest where I can get my hands on templates that would
    help with this?
    Many thanks

    The best I've seen are from ProjectSeven -
    http://www.projectseven.com/
    They are commercial (look at the Page Packs) and they are
    excellent.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "Gusley5" <[email protected]> wrote in
    message
    news:[email protected]...
    >I guess sources for templates is what I'm looking for.
    I've little
    >knowledge
    > of writing code so was looking for a draft template
    which would have a
    > professional look to it with regard to font, layout,
    colours, buttons to
    > use
    > for links etc. I suppose some sort of table layout for
    including photos
    > with
    > related text may be best place to start.
    >
    > Code below is from a starter page available from
    dreamweaver. Any other
    > suggestions for templates gratefully received.
    >
    > Thanks
    >
    > <!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">
    > <!-- DW6 -->
    > <head>
    > <!-- Copyright 2005 Macromedia, Inc. All rights
    reserved. -->
    > <title>Lodging - Catalog</title>
    > <meta http-equiv="Content-Type" content="text/html;
    charset=iso-8859-1" />
    > <link rel="stylesheet"
    >
    href="file:///C|/Program%20Files/Macromedia/Dreamweaver%208/Configuration/BuiltI
    > n/StarterPages/mm_lodging1.css" type="text/css" />
    > </head>
    > <body bgcolor="#999966">
    > <table width="100%" border="0" cellspacing="0"
    cellpadding="0">
    > <tr>
    > <td width="15"
    nowrap="nowrap"> </td>
    > <td height="60" colspan="2" class="logo"
    nowrap="nowrap"><br />
    > WEBSITE NAME HERE</td>
    > <td width="100%"> </td>
    > </tr>
    >
    > <tr bgcolor="#ffffff">
    > <td colspan="4"><img
    >
    src="file:///C|/Program%20Files/Macromedia/Dreamweaver%208/Configuration/BuiltIn
    > /StarterPages/mm_spacer.gif" alt="" width="1" height="1"
    border="0"
    > /></td>
    > </tr>
    >
    > <tr bgcolor="#a4c2c2">
    > <td width="15"
    nowrap="nowrap"> </td>
    > <td height="36" id="navigation"
    class="navText"><a
    > href="javascript:;">HOME</a></td>
    > <td> </td>
    > <td width="100%"> </td>
    > </tr>
    >
    > <tr bgcolor="#ffffff">
    > <td colspan="4"><img
    >
    src="file:///C|/Program%20Files/Macromedia/Dreamweaver%208/Configuration/BuiltIn
    > /StarterPages/mm_spacer.gif" alt="" width="1" height="1"
    border="0"
    > /></td>
    > </tr>
    >
    > <tr bgcolor="#ffffff">
    > <td valign="top" width="15"><img
    >
    src="file:///C|/Program%20Files/Macromedia/Dreamweaver%208/Configuration/BuiltIn
    > /StarterPages/mm_spacer.gif" alt="" width="15"
    height="1" border="0"
    > /></td>
    > <td valign="top" width="35"><img
    >
    src="file:///C|/Program%20Files/Macromedia/Dreamweaver%208/Configuration/BuiltIn
    > /StarterPages/mm_spacer.gif" alt="" width="35"
    height="1" border="0"
    > /></td>
    > <td width="710" valign="top"><br />
    > <table border="0" cellspacing="0" cellpadding="2"
    width="610">
    > <tr>
    > <td colspan="7" class="pageName">Page Name
    Here</td>
    > </tr>
    > <tr>
    > <td width="22%" height="110"><img
    >
    src="file:///C|/Program%20Files/Macromedia/Dreamweaver%208/Configuration/BuiltIn
    > /StarterPages/mm_product_sm.gif" alt="small product
    photo" width="110"
    > height="110" border="0" /></td>
    > <td> </td>
    > <td width="22%" height="110"><img
    >
    src="file:///C|/Program%20Files/Macromedia/Dreamweaver%208/Configuration/BuiltIn
    > /StarterPages/mm_product_sm.gif" alt="small product
    photo" width="110"
    > height="110" border="0" /></td>
    > <td> </td>
    > <td width="22%" height="110"><img
    >
    src="file:///C|/Program%20Files/Macromedia/Dreamweaver%208/Configuration/BuiltIn
    > /StarterPages/mm_product_sm.gif" alt="small product
    photo" width="110"
    > height="110" border="0" /></td>
    > <td> </td>
    > <td width="22%" height="110"><img
    >
    src="file:///C|/Program%20Files/Macromedia/Dreamweaver%208/Configuration/BuiltIn
    > /StarterPages/mm_product_sm.gif" alt="small product
    photo" width="110"
    > height="110" border="0" /></td>
    > </tr>
    > <tr>
    > <td valign="top" class="calendarText"
    nowrap="nowrap"><a
    > href="javascript:;">Product Name</a><br
    />
    > Price: $0.00</td>
    > <td> </td>
    > <td valign="top" class="calendarText"
    nowrap="nowrap"><a
    > href="javascript:;">Product Name</a><br
    />
    > Price: $0.00</td>
    > <td> </td>
    > <td valign="top" class="calendarText"
    nowrap="nowrap"><a
    > href="javascript:;">Product Name</a><br
    />
    > Price: $0.00</td>
    > <td> </td>
    > <td valign="top" class="calendarText"
    nowrap="nowrap"><a
    > href="javascript:;">Product Name</a><br
    />
    > Price: $0.00</td>
    > </tr>
    > <tr>
    > <td colspan="7"> </td>
    > </tr>
    > <tr>
    > <td height="110"><img
    >
    src="file:///C|/Program%20Files/Macromedia/Dreamweaver%208/Configuration/BuiltIn
    > /StarterPages/mm_product_sm.gif" alt="small product
    photo" width="110"
    > height="110" border="0" /></td>
    > <td> </td>
    > <td height="110"><img
    >
    src="file:///C|/Program%20Files/Macromedia/Dreamweaver%208/Configuration/BuiltIn
    > /StarterPages/mm_product_sm.gif" alt="small product
    photo" width="110"
    > height="110" border="0" /></td>
    > <td> </td>
    > <td height="110"><img
    >
    src="file:///C|/Program%20Files/Macromedia/Dreamweaver%208/Configuration/BuiltIn
    > /StarterPages/mm_product_sm.gif" alt="small product
    photo" width="110"
    > height="110" border="0" /></td>
    > <td> </td>
    > <td height="110"><img
    >
    src="file:///C|/Program%20Files/Macromedia/Dreamweaver%208/Configuration/BuiltIn
    > /StarterPages/mm_product_sm.gif" alt="small product
    photo" width="110"
    > height="110" border="0" /></td>
    > </tr>
    > <tr>
    > <td valign="top" class="calendarText"
    nowrap="nowrap"><a
    > href="javascript:;">Product Name</a><br
    />
    > Price: $0.00</td>
    > <td> </td>
    > <td valign="top" class="calendarText"
    nowrap="nowrap"><a
    > href="javascript:;">Product Name</a><br
    />
    > Price: $0.00</td>
    > <td> </td>
    > <td valign="top" class="calendarText"
    nowrap="nowrap"><a
    > href="javascript:;">Product Name</a><br
    />
    > Price: $0.00</td>
    > <td> </td>
    > <td valign="top" class="calendarText"
    nowrap="nowrap"><a
    > href="javascript:;">Product Name</a><br
    />
    > Price: $0.00</td>
    > </tr>
    > <tr>
    > <td colspan="7"> </td>
    > </tr>
    > </table> </td>
    > <td> </td>
    > </tr>
    >
    > <tr>
    > <td width="15"> </td>
    > <td width="35"> </td>
    > <td width="710"> </td>
    > <td width="100%"> </td>
    > </tr>
    > </table>
    > </body>
    > </html>
    >

  • Newbie - Help with Fireworks CS5 nav bar

    I am new to Fireworks. I am using Fireworks CS5. I need help with creating navigation bars and menu. Any tutorial or tips is greatly appreciated.
    Thank you.

    You'll find a tutorial named "Create a basic navigation bar" in the Fireworks help files.

  • Newbie Help with videocameras and editing software

    I am a third grade teacher who can whip around in imovie pretty well, but I want to expand and post training videos to the web. I also want to vodcast. I need a relatively easy videocamera, and of course, reasonably priced. I don't understand all the mumbo jumbo about the dvd, tape, flash videocameras except to know that some are not compatible with osx.
    Also would I be better off with Final Cut Pro Express?
    Help to a newbie...

    susannamessier wrote:
    OK now I am looking and I want this camera to be compatible with imovie also. On the Apple support page along side the Canon's I am looking at I see:
    Video stabilization limitations more...
    Filming in Cinema or 24p mode more...
    What? Goodness could this be anymore complicated?
    It's very intimidating at first. The short answer is that all this is compatible with iMovie.
    The longer one is:
    The number refers to frames per second (frame rate, in the jargon). Cine cameras run at 24 frames per second, so 24 fps is considered to give a look to moving objects similar to what you'd see in a filmed movie (think wagon wheels appearing to go backwards in old westerns).
    p refers to progressive, and means that you're getting 24 complete frames each second - again like film (this idea of mimicking film is the holy grail to some video makers - I say video is video, and should be treated like video). The opposite of progressive is i, for interlaced. Interlacing is a technique used in television since the early days as a way of giving you a better looking TV picture; in interlacing, instead of looking at each frame as a whole, you split it into very narrow lines, then scan al the odd ones, followed by all the even ones. In the old days, the scanning had to be linked to the way in which the electricity supply worked, so scanning was based on a frequency of 60 cycles per second (in the USA).
    So in video, you will see camcorders offering a frame rate of 60i as standard - i.e. 60 interlaced frames in one second.. They usually also offer 30p (which combines the results of 2 60i scans to give you 30 complete frames. And then as you've seen, 24p so you can make it look like film.
    You can shoot good movies in any of those frame rates; which ones you choose are up to you, but they're all used by many people for many different purposes. Some people will tell you you must use frame rate x for subject y. Listen, but don't follow blindly - try it out and see what works for you.
    The issue you will sometimes here debated about iMovie is how to take video you have shot interlaced, and get iMovie to export it as progressive, but still in high quality. Don't worry about that right now.
    Just get a camcorder you like, and make some movies. First feel really proud of them, then learn some more, and feel embarrassed by them (this is what we all do!).
    Hope that helps.

  • Newbie help with editing files in DW CS3

    I am new to using Dreamweaver, and I am having trouble with
    trying to edit existing files using DW CS3. When I open an existing
    file on my local site, DW converts some of the code using &.
    This is a problem because I need to edit the file just as it was
    originally written, so I can save it after editing and upload to my
    website.
    In my Preferences, I have Code Rewriting set to:
    -Rewrite Code: Fix invalidly nexted and unclosed tags
    [Unchecked]
    -Rewrite Code: Rename form items when posting [Checked]
    -Rewrite Code: Remove extra closing tags [Unchecked]
    -Never rewrite code: In files with extensions .as .asr .asc
    .asp .ascx .asmx .aspx .cfc .cfm .cfml .config .cs .ihtml .js .jsp
    .php .php3 .vb .xml .xsl .xslt .xul
    -Special characters: Encode <, >, &, and " in
    attribute values using & [Unchecked]
    -URL encoding: Do not encode special characters
    -Active Content: Insert using browser-safe scripts [Checked
    by default]
    -Active Content: Convert tags to scripts on file open
    [Unchecked]
    Today, I opened a file with an .xml extension, and DW rewrote
    the special characters > and '. Since I have in my preferences
    to Never rewrite code in .xml, I don't understand why DW is
    rewriting the code. Also, in my preferences I have unchecked the
    Special Characters, so why is DW still rewriting the code?
    Do I have some of the Code Rewriting preferences set wrong?
    Is there another place I need to tell DW not to rewrite
    existing code?
    Thanks for your help!
    Cyndi

    It imported both, but only shows you the raw file. Ever. What you see and what you edit will only be the raw file. The associated JPG file will follow the raw file around if you move it or rename it using Lightroom, but other than that, Lightroom will ignore it. You could safely delete the JPG, and Lightroom wouldn't complain--probably wouldn't even notice.
    There's a preference you can set that will cause JPGs to be imported as separate images. Then you'd be able to see both of them and edit them separately. That preference won't take effect on images that are already in the catalogue, but will affect all future imports.
    Hal

  • JSF Newbie: help with forms & drop-downs

    Hi,
    I've managed to get a few simple things working with JSF using Netbeans & Visual Web pack. This is pretty sexy stuff for a grizzled old perl programmer. However, there are still a few things I'm having trouble getting through my thick head -- maybe some kind soul could point me in the right direction.
    I would like to have a couple of cascading data-bound drop-downs: dd1 provides a selection list for dd2, and the combination of dd1 and dd2, when selected, provides enough data to populate a webuijsf:table.
    The desired behaviour is that a change in dd1 repopulates the selection list for dd2 and furthermore, repopulates the table based on the selected value in dd1 plus the first value in the selection list of dd2. A change of selection in dd2 repopulates the table accordingly.
    My prerender() for the page checks if dd1.getSelected == null, and if so, sets the cursor to the first row in the bound data provider. Furthermore, it primes the rowset for dd2 with some rows from dd2's data provider based on the values in the first row for dd1.
    The first time through, everything is peachy: dd1 has the appropriate selection list, as does dd2. my webuijsf:table also has the appropriate rows (selected in the prerender()).
    My problem seems to be that when a new value is selected in dd2, dd1.getSelected == null at the next prerender(). This, of course, re-primes dd2, wiping out its selection.
    So, obviously, I don't really understand what I'm doing well enough to see how to do this. The visual web pack tutorials, where I started, really don't provide adequate explanation of what's going on, and the chapter on JSF in the J2EE tutorial is still a little abstract for me.
    I would be forever indebted if somebody could please provide a pointer to a resource (preferably something a perl programmer can afford ;-) that could help me understand, in concrete terms, how a form, and the elements on the form (and their events), are processed.
    Also, and as an aside, am I alone in thinking the whole Java thing is tremendously complex? I'm not talking about the Java language, which I find pretty intuitive, but the zillions of J* stuff around it, which seems somewhat dense. I really do want to learn this stuff, but it's pretty bewildering!
    Thanks!
    Regards,
    Mike

    Normally I would tell you to inject the PersonController bean into the PersonSelectionListener bean as a managed property. Then drill into the bean to get the data you need.
    However, in this case you are dealing with a value change listener. Value change events are fired at the end of the Process Validations phase, before the Update Model Values phase. So in this case, the PersonController bean will not contain the selected person from the request. This is not a problem however, since the new value is passed via the ValueChangeEvent object.

  • Newbie - help with a SQL query for a bar chart  - Originally posted in APEX

    I originally posted this in the APEX forum but someone there suggested this is more of a SQL question.  Anyone out there who can provide some assistance?
    Hi,
    I'm a new user on APEX with no real SQL knowledge and I'm trying to build a dashboard with charts into an existing APEX application. Based on another application, I have come up with the following SQL code:
    select null link
    , CATEGORY label
    , count (decode(PROJECT_STATUS,'1',PROJECT_ID))"Active"
    , count (decode(PROJECT_STATUS,'2',PROJECT_ID))"Complete"
    , count (decode(PROJECT_STATUS,'3',PROJECT_ID))"On Hold"
    , count (decode(PROJECT_STATUS,'4',PROJECT_ID))"Pipeline"
    , count (decode(PROJECT_STATUS,'5',PROJECT_ID))"Pending Review"
    from GRAPO_PROHEADTRK
    where (PROJECT_STATUS='1' or PROJECT_STATUS='2' or PROJECT_STATUS='3' or PROJECT_STATUS='4' or PROJECT_STATUS='5' or PROJECT_STATUS='6')
    group by CATEGORY
    Order by COUNT(PROJECT_ID) DESC
    The code from the other app was:
    select null link
    , FUNCTIONAL_AREA label
    , count (decode(PROJECT_STATUS,'Active',PROJECT_ID))"Active"
    , count (decode(PROJECT_STATUS,'Complete',PROJECT_ID))"Complete"
    , count (decode(PROJECT_STATUS,'On Hold',PROJECT_ID)) "On Hold"
    , count (decode(PROJECT_STATUS,'Recurring',PROJECT_ID))"Recurring"
    , count (decode(PROJECT_STATUS,'Pipeline',PROJECT_ID))"Pipeline"
    , count (decode(PROJECT_STATUS,'Not Approved',PROJECT_ID))"Not Approved"
    from PM_V2
    where LOB='S2S' and (FUNCTIONAL_AREA='Accounts Payable' or FUNCTIONAL_AREA='Expense' or FUNCTIONAL_AREA='Procurement' or FUNCTIONAL_AREA='Fixed Assets')
    group by FUNCTIONAL_AREA
    Order by COUNT(PROJECT_ID) DESC
    I'm getting a "Failed to parse SQL query!" error when I try to run validation.
    Is this enough info for some assistance? Any help would really be appreciated.
    Thanks,
    Rachel

    Hi, Rachel,
    user10774102 wrote:
    I originally posted this in the APEX forum but someone there suggested this is more of a SQL question.  Anyone out there who can provide some assistance?
    Hi,
    I'm a new user on APEX with no real SQL knowledge and I'm trying to build a dashboard with charts into an existing APEX application. Based on another application, I have come up with the following SQL code:
    select null link
    , CATEGORY label
    , count (decode(PROJECT_STATUS,'1',PROJECT_ID))"Active"
    , count (decode(PROJECT_STATUS,'2',PROJECT_ID))"Complete"
    , count (decode(PROJECT_STATUS,'3',PROJECT_ID))"On Hold"
    , count (decode(PROJECT_STATUS,'4',PROJECT_ID))"Pipeline"
    , count (decode(PROJECT_STATUS,'5',PROJECT_ID))"Pending Review"
    from GRAPO_PROHEADTRK
    where (PROJECT_STATUS='1' or PROJECT_STATUS='2' or PROJECT_STATUS='3' or PROJECT_STATUS='4' or PROJECT_STATUS='5' or PROJECT_STATUS='6')
    group by CATEGORY
    Order by COUNT(PROJECT_ID) DESCIs there a problem with the code above?
    It's curious that the WHERE clause includes "PROJECT_STATUS='6'", but there is no pivoted column for project_status='6', like there is for '1' through '5'. That's not necessarily a mistake, and it wouldn't raise an error in any case.
    Instead of
    where (PROJECT_STATUS='1' or PROJECT_STATUS='2' or PROJECT_STATUS='3' or PROJECT_STATUS='4' or PROJECT_STATUS='5' or PROJECT_STATUS='6')you could say
    where PROJECT_STATUS  IN ('1', '2', '3', '4', '5', '6')but that probably has nothing to do with your current problem.
    The code from the other app was:
    select null link
    , FUNCTIONAL_AREA label
    , count (decode(PROJECT_STATUS,'Active',PROJECT_ID))"Active"
    , count (decode(PROJECT_STATUS,'Complete',PROJECT_ID))"Complete"
    , count (decode(PROJECT_STATUS,'On Hold',PROJECT_ID)) "On Hold"
    , count (decode(PROJECT_STATUS,'Recurring',PROJECT_ID))"Recurring"
    , count (decode(PROJECT_STATUS,'Pipeline',PROJECT_ID))"Pipeline"
    , count (decode(PROJECT_STATUS,'Not Approved',PROJECT_ID))"Not Approved"
    from PM_V2
    where LOB='S2S' and (FUNCTIONAL_AREA='Accounts Payable' or FUNCTIONAL_AREA='Expense' or FUNCTIONAL_AREA='Procurement' or FUNCTIONAL_AREA='Fixed Assets')
    group by FUNCTIONAL_AREA
    Order by COUNT(PROJECT_ID) DESC
    I'm getting a "Failed to parse SQL query!" error when I try to run validation.Is that an Apex error message? Sorry, I don't know anything about Apex.
    If you can't get a more specific error message from Apex, then try debugging this statement in SQL*Plus. When you get it fixed, then you can copy it back into Apex.
    If this is a SQL problem, then you should be able to re-create the problem in pure SQL.
    If you can't re-create the problem in pure SQL, then it's probably an Apex problem, and belongs in the Apex forum, not here.
    I don't see anything obviously wrong with your code, but I can't tell if, for example, you spelled a column name wrong, or if something has the wrong data type
    Is this enough info for some assistance? Any help would really be appreciated.It wiould be better if you posted a completE script that people could run to re-create the problem, and to test their ideas.
    Whenever you have a problem, please post a little sample data (CREATE TABLE and INSERT statements, relevant columns only) from all tables involved.
    Also post the results you want from that data, and an explanation of how you get those results from that data, with specific examples.
    Always say which version of Oracle (and any other software, such as Apex) you're using.

  • Newbie - HELP WITH CODE PLEASE!

    Hi guys,
    I have recently started using flash as some of the guys i work with suggested that it would be useful...
    I am currently designing a basic site in AS3 and am stuck with a bit of coding. I keep getting the error message:
    TypeError: Error #1009: Cannot access a property or method of a null object reference.
        at new_web_v1_fla::MainTimeline/frame141()
    and having searched the net i cant find a solution. Here's my code:
    stop();
    function gohome(e:MouseEvent):void {
        gotoAndStop("home");
    back_btn1.addEventListener(MouseEvent.CLICK, gohome);
    function goit(e:MouseEvent):void {
        gotoAndStop("it");
    it_btn.addEventListener(MouseEvent.CLICK, goit);
    next_btn1.addEventListener(MouseEvent.CLICK, goit);
    back_btn2.addEventListener(MouseEvent.CLICK, goit);
    function goom(e:MouseEvent):void {
        gotoAndStop("om");
    om_btn.addEventListener(MouseEvent.CLICK, goom);
    next_btn2.addEventListener(MouseEvent.CLICK, goom);
    back_btn3.addEventListener(MouseEvent.CLICK, goom);
    function gogd(e:MouseEvent):void {
        gotoAndStop("gd");
    gd_btn.addEventListener(MouseEvent.CLICK, gogd);
    next_btn3.addEventListener(MouseEvent.CLICK, gogd);
    back_btn4.addEventListener(MouseEvent.CLICK, gogd);
    function gocu(e:MouseEvent):void {
        gotoAndStop("cu");
    cu_btn.addEventListener(MouseEvent.CLICK, gocu);
    next_btn4.addEventListener(MouseEvent.CLICK, gocu);
    I hope someone can help me out!
    Thanks
    Jon

    Thanks again for the advice, following your instructions i did use the // infornt of various bits of script.
    My AS now looks like this and the buttons that have the as left in the script without // before them work fine, no errors:
    stop();
    function gohome(e:MouseEvent):void {
        gotoAndStop("home");
    //back_btn1.addEventListener(MouseEvent.CLICK, gohome);
    function goit(e:MouseEvent):void {
        gotoAndStop("it");
    it_btn.addEventListener(MouseEvent.CLICK, goit);
    next_btn1.addEventListener(MouseEvent.CLICK, goit);
    //back_btn2.addEventListener(MouseEvent.CLICK, goit);
    function goom(e:MouseEvent):void {
        gotoAndStop("om");
    om_btn.addEventListener(MouseEvent.CLICK, goom);
    //next_btn2.addEventListener(MouseEvent.CLICK, goom);
    //back_btn3.addEventListener(MouseEvent.CLICK, goom);
    function gogd(e:MouseEvent):void {
        gotoAndStop("gd");
    gd_btn.addEventListener(MouseEvent.CLICK, gogd);
    //next_btn3.addEventListener(MouseEvent.CLICK, gogd);
    //back_btn4.addEventListener(MouseEvent.CLICK, gogd);
    function gocu(e:MouseEvent):void {
        gotoAndStop("cu");
    cu_btn.addEventListener(MouseEvent.CLICK, gocu);
    //next_btn4.addEventListener(MouseEvent.CLICK, gocu);
    the question now is how do i get my other buttons back into the script and get the bloody thing to work?
    ARRRGGGHHH! i am beginning to wish that i had never started! lol
    Thanks
    Jon

  • Newbie - help with website that i didn't build?

    Hi,
    My Mother had a website built for her. Things have changed and the site now needs editing. I have gallantly offered to help but am finding it tougher than i thought it would be.  I have the FTP login and the host login - although I'm not really sure what the difference is as I can access the files through dreamweaver CS5 with both. Are the host login and the FTP login the same?
    I'm using filezilla (or trying to) as the FTP. Now, I think that I have to download all the FTP files onto my computer - but I'm not entirely sure how to do this and then open it up with dreamweaver.
    I really need someone to walk me through how to get files from filezilla after I've connected to the host site to open up with dreamweaver and start updating and editing the site.
    also I see that the person that originally built the site has used a CSS folder for the 'styles'. He tells me all the colours and everything are in this file. But when I open it up in Dreamweaver I can only see the HTML coding side and not the design side. How do I go about changing colours?
    If you can help explain to me that would be great.
    Many thanks (in advance)

    My Mother had a website built for her. Things have changed and the site
    now needs editing. I have gallantly offered to help but am finding it
    tougher than i thought it would be.  I have the FTP login and the host
    login - although I'm not really sure what the difference is as I can
    access the files through dreamweaver CS5 with both. Are the host login
    and the FTP login the same?
    More than likely from your description one logs you into your web based control panel and could potentially login to billing while the other information (FTP) is the one you need for Dreamweaver.
    I'm using filezilla (or trying to) as the FTP. Now, I think that I have
    to download all the FTP files onto my computer - but I'm not entirely
    sure how to do this and then open it up with dreamweaver.
    Dreamweaver's FTP should be more than sufficient for you.  Just create a new site (Sites->Manage->New) and it will ask for your FTP information along the way.  It will also ask for a local folder which could be empty in your case or might not even exist.  So point it where you want to work on the site and go from there.  If you have questions about FTP information here, you would be best to ask your web hosting provider over user-to-user forums like this because they have the information you need.
    Also see: http://www.adobe.com/devnet/dreamweaver/articles/first_website_pt1.html
    I'm using filezilla (or trying to) as the FTP. Now, I think that I have
    to download all the FTP files onto my computer - but I'm not entirely
    sure how to do this and then open it up with dreamweaver.
    If you follow the instructions for setting up a site in Dreamweaver then you just transfer the files from the Remote to the Local using the Get button and then you can Put the files back on the server in the same place using Dreamweaver.
    also I see that the person that originally built the site has used a CSS
    folder for the 'styles'. He tells me all the colours and everything are
    in this file. But when I open it up in Dreamweaver I can only see the
    HTML coding side and not the design side. How do I go about changing
    colours?
    Your designer is correct.  The colors and all styles are defined in a CSS document.  You will see the colors defined with their Hex value (could be RGB, but I doubt it), and you will also see bold, underline and other styles defined in this document.  Website Design is all about coding.  If this does not interest you I recommend finding an outside third party to do the work for you.  All the styles are defined in code and that is translated back to the HTML in the form of classes and IDs.  Here is a basic tutorial going over CSS: http://www.w3schools.com/CSS/ .

  • Newbie help with apache xmlrpc

    greetings everybody,
    i'm new to xml-rpc and i'm using the apache xmlrpc implemtation. I would just would like to ask if theres a way to add /edit headers of to my XmlRpcClient request. I know how to deal with the other headers like Content-Length and Authentication etc. but i need to add a "User Agent" header. Can u guys help me on this problem... tnx in advanced! :)

    Okay if you are looking for the jar files to compile Servlets and JSP they are under the common/lib folder of your tomcat installation. You sill probably only need the servlet-api.jar file.
    I recommend that you read the online documentation that comes with tomcat and look at all the of the examples before trying to code something.

  • Newbie help with basic setup - WRK54G

    === Linksys WRK54G v2 router
    === WinXP Pro SP3
    I am not a networking person, and I need help setting up my router. I bought it new a bit over a year ago and installed it successfully, but it kept hosing up my connection so I took it off line and put it up. My wife now has a laptop and so I want to try this router again. It's powered on and connected to my DSL and my laptop, which is my main computer.
    Power light: ON
    WLAN light: ON
    1 light: ON
    Internet light: ON
    I have the CD's software on my hard drive and tried setting things up with the EasyLink_Connect.exe, PCConnect.exe, and even did the ELADownloadInstaller.exe, which downloaded some other installer (EasyLink Advisor?). None of them worked. They crapped out at the point where it detects the router and read cannot detect router.
    I read in the PDF manual that the router settings can be reset to defaults and so I did and tried again. No joy. I also tried unplugging too without results.
    So, what do I do now to get this thing working?
    Help is much appreciated.

    If you face any further problems you should try this -
    Hard reset your router and then re-configure it...
    Press and hold the reset button for 30 seconds...Release the reset button...Unplug the power cable from your router, wait for 30 seconds and re-connect the power cable...Now re-configure your router...
    If your Internet Service Providor is Cable follow this link
    If your Internet Service Providor is DSL follow this link

  • Newbie Help With File Parser

    I have an assignment that involves using Java to parse the info on one text file and output to another text file with a header row and a data row both of which need to be tab delimited. I'm relatively new to Java and I'm having a hard time even starting this thing. Any help would be greatly appreciated. The file I have to read from is similar to this:
    Report: Fake Report for Fake Loans
    Report ID: 000001
    Run Date: 04/25/2007
    Office Number ID Number DelqMessage
    033 000101000 N
    034 001234875 Y
    035 123456789 N
    I would essentially need to get all the field names into the header row and the data in the row below it.
    Thanks in advance.

    I have been working on this and I almost have it working correctly. I was able to selectively pull the info I need from the original file and I can output to the new file in a vertical form. The last step is to output a header that says RunDate Office Loan DelqMessage with a tab delimiter. I than have to compile the data and output in rows under the header also in tab delimited format. I think I'm right there but I still get one error I cannot resolve of:
    Error: java.lang.StringIndexOutOfBoundsException: String index out of range: 4
    It is very vague and I have tried everything I can think of to locate the issue so it can be debugged. Below is a copy of the file I'm trying to parse followed by what I have for code so far. Any help would be greatly appreciated.
    Sample of report:
    Report: Fake Report for Fake Loans
    Report ID: 000001
    Run Date: 04/25/2007
    ASC Number Loan ID DelqMessage
    033 000101000 N
    034 001234875 Y
    035 123456789 N
    ASC Number Loan ID DelqMessage
    036 741258963 N
    037 872563987 N
    038 987521455 Y
    ======================================================================
    Fake Report Summary:
    ASC Total: 6
    Loan Total: 6
    Total Delq: 2
    Code:
    import java.io.FileReader;
    import java.io.FileWriter;
    import java.io.BufferedReader;
    import java.io.PrintWriter;
    import java.io.IOException;
    public class ParseFile {
    public static void main(String[] args) throws IOException {
         // Variable Declaration
         boolean procOn;
         String RunDate = "";
         BufferedReader inputStream = null;
    PrintWriter outputStream = null;
         // Following block of code parses FakeReportToParse.txt and outputs
         // needed portions of the report to characteroutput.txt
    try {
         procOn=false;
         inputStream =
    new BufferedReader(new FileReader("FakeReportToParse.txt"));
    outputStream =
    new PrintWriter(new FileWriter("characteroutput.txt"));
    String l;
    while ((l = inputStream.readLine()) != null) {
         outputStream.println("Rundate\tASCNumber\tLoan\tDelqMessage");
         if (l.indexOf("Run Date:")>=0) {
              RunDate = l.substring(10);
              outputStream.println(RunDate);
         // Processing of report data
         if(l.indexOf("ASC Number Loan ID") >= 0) {
              procOn = true;
         if(l.indexOf("-------------------------") >= 0 || l.indexOf("===============================") >= 0) {
              procOn = false;
         // Output report data to new characteroutput.txt file
         if(procOn) {
              String ASC = l.substring(0, 4).trim();
              String LoanID = l.substring(15, 25).trim();
              String DelqM = l.substring(30).trim();
         outputStream.println(RunDate + "\t" + ASC + "\t" + LoanID + "\t" + DelqM);
         catch(Exception z){
    System.out.println("Error: " + z.toString());
    }

  • Newbie - Help with table please.

    I'm reasonably new to Dreamweaver (thus tables!), and would like some assistance with a current project.
    I have attached a screen grab of a cross section of a table I am working on.
    In the LH cell there is a horizontally centred image, and in the RH cell there is an image which occupies the whole cell.What I would like is some guidance on how to construct a menu bar which runs across the top of these cells, such that the menu headings are placed above the LH image (without moving the image placement) and over the opaque strip at the top of the RH image.
    This is probably very basic, but some help would be much appreciated. I'm using CS4.

    I'm reasonably new to Dreamweaver (thus tables!), and would like some assistance with a current project.
    The real question is how new are you to HTML and CSS.  If your answer is 'completely' then do yourself a favor and take a weekend to study the tutorials at http://www.w3schools.com.  You'll find that DW is ever so much easier after that.  And maybe even you'll reconsider having tables at the top of your list for layouts.
    I have attached a screen grab of a cross section of a table I am working on.
    Screen shots are nearly always useless (because we can only guess what you might have done) - the answers are in the code, since that leaves nothing to guesswork.
    However, in your case, the answer is (probably) clear. Just insert a NEW table above the one you show in your post.  Put the menu in that new table.  Whenever you need to change the cell configuration of a row or column, instead of messing with merges and splits (which ALWAYS cause you unexpected problems.  Just terminate the current table and start a new one with the desired cell configuration.

Maybe you are looking for