Oracle XE noob needs help!

Hi all,
I'm setting up a Sun IdM system using oracleXE as the database. When I run the script to create the standard tables, it appears to run successfully, but when I log into the OracleXE web page and try to browse the new tables, they don't exist. When I try to connect using the IdM system, it gives me the following error:
com.waveset.util.ConfigurationError:
==> java.sql.SQLException: Io exception: Got minus one from a read call
Here's the script I'm running (provided by Sun for their IdM product): It creates the waveset user and the waveset.dbf file, but doesn't appear to create any new tables. Any ideas?
CREATE TABLESPACE waveset_ts
DATAFILE '/idm-database/waveset.dbf' SIZE 10M
AUTOEXTEND ON NEXT 10M
DEFAULT STORAGE (INITIAL 10M NEXT 10M);
CREATE USER waveset IDENTIFIED BY waveset
DEFAULT TABLESPACE waveset_ts
QUOTA UNLIMITED ON waveset_ts;
GRANT CREATE SESSION to waveset;
CREATE TABLE waveset.object
( id VARCHAR(50) NOT NULL
, type VARCHAR(50) NOT NULL
, name VARCHAR(128) NOT NULL
, lockinfo VARCHAR(128)
, modified NUMBER(19,0) NOT NULL
, summary VARCHAR(2048)
, attr1 VARCHAR(255)
, attr2 VARCHAR(255)
, attr3 VARCHAR(255)
, attr4 VARCHAR(255)
, attr5 VARCHAR(255)
, counter NUMBER(19,0)
, xmlSize NUMBER(19,0)
, xml BLOB NOT NULL
CREATE UNIQUE INDEX waveset.object_id ON waveset.object(id);
CREATE UNIQUE INDEX waveset.object_name ON waveset.object(type, name);
CREATE INDEX waveset.object_attr1 ON waveset.object(type, attr1);
CREATE INDEX waveset.object_attr2 ON waveset.object(type, attr2);
CREATE INDEX waveset.object_attr3 ON waveset.object(type, attr3);
CREATE INDEX waveset.object_attr4 ON waveset.object(type, attr4);
CREATE INDEX waveset.object_attr5 ON waveset.object(type, attr5);
CREATE INDEX waveset.object_modified ON waveset.object(type, modified);
CREATE TABLE waveset.attribute
( id VARCHAR(50) NOT NULL
, attrname VARCHAR(50) NOT NULL
, attrval VARCHAR(255) NOT NULL
CREATE UNIQUE INDEX waveset.attribute_pk ON waveset.attribute(id, attrname, attrval);
CREATE INDEX waveset.attribute_attrname ON waveset.attribute(attrname, attrval);
CREATE TABLE waveset.objchange
( timestamp TIMESTAMP(3) NOT NULL
, type VARCHAR(50) NOT NULL
, id VARCHAR(50) NOT NULL
, version NUMBER(19,0) NOT NULL
, changeType CHAR(1) NOT NULL
CREATE INDEX waveset.objchange_seq ON waveset.objchange(type, timestamp);
CREATE TABLE waveset.task
( id VARCHAR(50) NOT NULL
, type VARCHAR(50) NOT NULL
, name VARCHAR(128) NOT NULL
, lockinfo VARCHAR(128)
, modified NUMBER(19,0) NOT NULL
, summary VARCHAR(2048)
, attr1 VARCHAR(255)
, attr2 VARCHAR(255)
, attr3 VARCHAR(255)
, attr4 VARCHAR(255)
, attr5 VARCHAR(255)
, counter NUMBER(19,0)
, xmlSize NUMBER(19,0)
, xml BLOB NOT NULL
CREATE UNIQUE INDEX waveset.task_id ON waveset.task(id);
CREATE UNIQUE INDEX waveset.task_name ON waveset.task(type, name);
CREATE INDEX waveset.task_attr1 ON waveset.task(type, attr1);
CREATE INDEX waveset.task_attr2 ON waveset.task(type, attr2);
CREATE INDEX waveset.task_attr3 ON waveset.task(type, attr3);
CREATE INDEX waveset.task_attr4 ON waveset.task(type, attr4);
CREATE INDEX waveset.task_attr5 ON waveset.task(type, attr5);
CREATE INDEX waveset.task_modified ON waveset.task(type, modified);
CREATE TABLE waveset.taskattr
( id VARCHAR(50) NOT NULL
, attrname VARCHAR(50) NOT NULL
, attrval VARCHAR(255) NOT NULL
CREATE UNIQUE INDEX waveset.taskattr_pk ON waveset.taskattr(id, attrname, attrval);
CREATE INDEX waveset.taskattr_attrname ON waveset.taskattr(attrname, attrval);
CREATE TABLE waveset.taskchange
( timestamp TIMESTAMP(3) NOT NULL
, type VARCHAR(50) NOT NULL
, id VARCHAR(50) NOT NULL
, version NUMBER(19,0) NOT NULL
, changeType CHAR(1) NOT NULL
CREATE INDEX waveset.taskchange_seq ON waveset.taskchange(type, timestamp);
CREATE TABLE waveset.org
( id VARCHAR(50) NOT NULL
, type VARCHAR(50) NOT NULL
, name VARCHAR(128) NOT NULL
, lockinfo VARCHAR(128)
, modified NUMBER(19,0) NOT NULL
, summary VARCHAR(2048)
, attr1 VARCHAR(255)
, attr2 VARCHAR(255)
, attr3 VARCHAR(255)
, attr4 VARCHAR(255)
, attr5 VARCHAR(255)
, counter NUMBER(19,0)
, xmlSize NUMBER(19,0)
, xml BLOB NOT NULL
CREATE UNIQUE INDEX waveset.org_id ON waveset.org(id);
CREATE UNIQUE INDEX waveset.org_name ON waveset.org(type, name);
CREATE INDEX waveset.org_attr1 ON waveset.org(type, attr1);
CREATE INDEX waveset.org_attr2 ON waveset.org(type, attr2);
CREATE INDEX waveset.org_attr3 ON waveset.org(type, attr3);
CREATE INDEX waveset.org_attr4 ON waveset.org(type, attr4);
CREATE INDEX waveset.org_attr5 ON waveset.org(type, attr5);
CREATE INDEX waveset.org_modified ON waveset.org(type, modified);
CREATE TABLE waveset.orgattr
( id VARCHAR(50) NOT NULL
, attrname VARCHAR(50) NOT NULL
, attrval VARCHAR(255) NOT NULL
CREATE UNIQUE INDEX waveset.orgattr_pk ON waveset.orgattr(id, attrname, attrval);
CREATE INDEX waveset.orgattr_attrname ON waveset.orgattr(attrname, attrval);
CREATE TABLE waveset.orgchange
( timestamp TIMESTAMP(3) NOT NULL
, type VARCHAR(50) NOT NULL
, id VARCHAR(50) NOT NULL
, version NUMBER(19,0) NOT NULL
, changeType CHAR(1) NOT NULL
CREATE INDEX waveset.orgchange_seq ON waveset.orgchange(type, timestamp);
CREATE TABLE waveset.userobj
( id VARCHAR(50) NOT NULL
, name VARCHAR(128) NOT NULL
, lockinfo VARCHAR(128)
, modified NUMBER(19,0) NOT NULL
, summary VARCHAR(2048)
, attr1 VARCHAR(255)
, attr2 VARCHAR(255)
, attr3 VARCHAR(255)
, attr4 VARCHAR(255)
, attr5 VARCHAR(255)
, counter NUMBER(19,0)
, xmlSize NUMBER(19,0)
, xml BLOB NOT NULL
CREATE UNIQUE INDEX waveset.userobj_id ON waveset.userobj(id);
CREATE UNIQUE INDEX waveset.userobj_name ON waveset.userobj(name);
CREATE INDEX waveset.userobj_attr1 ON waveset.userobj(attr1);
CREATE INDEX waveset.userobj_attr2 ON waveset.userobj(attr2);
CREATE INDEX waveset.userobj_attr3 ON waveset.userobj(attr3);
CREATE INDEX waveset.userobj_attr4 ON waveset.userobj(attr4);
CREATE INDEX waveset.userobj_attr5 ON waveset.userobj(attr5);
CREATE INDEX waveset.userobj_modified ON waveset.userobj(modified);
CREATE TABLE waveset.userattr
( id VARCHAR(50) NOT NULL
, attrname VARCHAR(50) NOT NULL
, attrval VARCHAR(255) NOT NULL
CREATE UNIQUE INDEX waveset.userattr_pk ON waveset.userattr(id, attrname, attrval);
CREATE INDEX waveset.userattr_attrname ON waveset.userattr(attrname, attrval);
CREATE TABLE waveset.userchange
( timestamp TIMESTAMP(3) NOT NULL
, id VARCHAR(50) NOT NULL
, version NUMBER(19,0) NOT NULL
, changeType CHAR(1) NOT NULL
CREATE INDEX waveset.userchange_seq ON waveset.userchange(timestamp);
CREATE TABLE waveset.log
( id VARCHAR(50) NOT NULL
, name VARCHAR(128) NOT NULL
, resourceName VARCHAR(128)
, accountName VARCHAR(255)
, objectType CHAR(2)
, objectName VARCHAR(128)
, action CHAR(2)
, actionDateTime CHAR(21)
, actionStatus CHAR(1)
, interface VARCHAR(50)
, server VARCHAR(128)
, subject VARCHAR(128)
, reason CHAR(2)
, message VARCHAR(255)
, acctAttr01label VARCHAR(50)
, acctAttr01value VARCHAR(128)
, acctAttr02label VARCHAR(50)
, acctAttr02value VARCHAR(128)
, acctAttr03label VARCHAR(50)
, acctAttr03value VARCHAR(128)
, acctAttr04label VARCHAR(50)
, acctAttr04value VARCHAR(128)
, acctAttr05label VARCHAR(50)
, acctAttr05value VARCHAR(128)
, parm01label VARCHAR(50)
, parm01value VARCHAR(128)
, parm02label VARCHAR(50)
, parm02value VARCHAR(128)
, parm03label VARCHAR(50)
, parm03value VARCHAR(128)
, parm04label VARCHAR(50)
, parm04value VARCHAR(128)
, parm05label VARCHAR(50)
, parm05value VARCHAR(128)
, sequence CHAR(19)
, acctAttrChanges VARCHAR(4000)
, xmlSize NUMBER(19,0)
, xml BLOB
CREATE UNIQUE INDEX waveset.log_id ON waveset.log(id);
CREATE INDEX waveset.log_name ON waveset.log(name);
CREATE INDEX waveset.log_time ON waveset.log(actionDateTime);
CREATE TABLE waveset.logattr
( id VARCHAR(50) NOT NULL
, attrname VARCHAR(50) NOT NULL
, attrval VARCHAR(255) NOT NULL
CREATE UNIQUE INDEX waveset.logattr_pk ON waveset.logattr(id, attrname, attrval);
CREATE INDEX waveset.logattr_attrname ON waveset.logattr(attrname, attrval);
CREATE TABLE waveset.syslog
( id VARCHAR(50) NOT NULL
, name VARCHAR(128) NOT NULL
, summary VARCHAR(2048)
, timestamp CHAR(24) NOT NULL
, severity CHAR(1) NOT NULL
, server VARCHAR(128) NOT NULL
, component CHAR(2) NOT NULL
, errorCode CHAR(6) NOT NULL
, xmlSize NUMBER(19,0)
, xml BLOB NOT NULL
CREATE UNIQUE INDEX waveset.syslog_id ON waveset.syslog(id);
CREATE INDEX waveset.syslog_name ON waveset.syslog(name);
CREATE INDEX waveset.syslog_time ON waveset.syslog(timestamp);
CREATE TABLE waveset.slogattr
( id VARCHAR(50) NOT NULL
, attrname VARCHAR(50) NOT NULL
, attrval VARCHAR(255) NOT NULL
CREATE UNIQUE INDEX waveset.slogattr_pk ON waveset.slogattr(id, attrname, attrval);
CREATE INDEX waveset.slogattr_attrname ON waveset.slogattr(attrname, attrval);
CREATE TABLE waveset.account
( id VARCHAR(50) NOT NULL
, name VARCHAR(128) NOT NULL
, lockinfo VARCHAR(128)
, modified NUMBER(19,0) NOT NULL
, summary VARCHAR(2048)
, resourceId VARCHAR(50)
, accountName VARCHAR(255) NOT NULL
, situation VARCHAR(50)
, ownerId VARCHAR(50)
, ownerName VARCHAR(128)
, nativeGUID VARCHAR(50)
, accountExists VARCHAR(5)
, counter NUMBER(19,0)
, xmlSize NUMBER(19,0)
, xml BLOB NOT NULL
CREATE UNIQUE INDEX waveset.account_id ON waveset.account(id);
CREATE UNIQUE INDEX waveset.account_uname ON waveset.account(name);
CREATE INDEX waveset.account_resource ON waveset.account(resourceId);
CREATE INDEX waveset.account_name ON waveset.account(accountName, resourceId);
CREATE INDEX waveset.account_nativeGUID ON waveset.account(nativeGUID, resourceId);
CREATE TABLE waveset.acctattr
( id VARCHAR(50) NOT NULL
, attrname VARCHAR(50) NOT NULL
, attrval VARCHAR(255) NOT NULL
CREATE UNIQUE INDEX waveset.acctattr_pk ON waveset.acctattr(id, attrname, attrval);
CREATE INDEX waveset.acctattr_attrname ON waveset.acctattr(attrname, attrval);
CREATE TABLE waveset.acctchange
( timestamp TIMESTAMP(3) NOT NULL
, id VARCHAR(50) NOT NULL
, version NUMBER(19,0) NOT NULL
, changeType CHAR(1) NOT NULL
CREATE INDEX waveset.acctchange_seq ON waveset.acctchange(timestamp);
CREATE TABLE waveset.entitle
( id VARCHAR(50) NOT NULL
, type VARCHAR(50) NOT NULL
, name VARCHAR(128) NOT NULL
, lockinfo VARCHAR(128)
, modified NUMBER(19,0) NOT NULL
, summary VARCHAR(2048)
, attr1 VARCHAR(255)
, attr2 VARCHAR(255)
, attr3 VARCHAR(255)
, attr4 VARCHAR(255)
, attr5 VARCHAR(255)
, counter NUMBER(19,0)
, xmlSize NUMBER(19,0)
, xml BLOB NOT NULL
CREATE UNIQUE INDEX waveset.entitle_id ON waveset.entitle(id);
CREATE UNIQUE INDEX waveset.entitle_name ON waveset.entitle(type, name);
CREATE INDEX waveset.entitle_modified ON waveset.entitle(type, modified);
CREATE TABLE waveset.entattr
( id VARCHAR(50) NOT NULL
, attrname VARCHAR(50) NOT NULL
, attrval VARCHAR(255) NOT NULL
CREATE UNIQUE INDEX waveset.entattr_pk ON waveset.entattr(id, attrname, attrval);
CREATE INDEX waveset.entattr_attrname ON waveset.entattr(attrname, attrval);
CREATE TABLE waveset.entchange
( timestamp TIMESTAMP(3) NOT NULL
, type VARCHAR(50) NOT NULL
, id VARCHAR(50) NOT NULL
, version NUMBER(19,0) NOT NULL
, changeType CHAR(1) NOT NULL
CREATE INDEX waveset.entchange_seq ON waveset.entchange(type, timestamp);

Thanks Peter. I tried running the script through the XE admin web page and it says everything already exists. See below:
1 0.28 CREATE TABLESPACE waveset_ts DATAFILE '/idm-database/wave ORA-01543: tablespace 'WAVESET_TS' already exists -
2 0.01 CREATE USER waveset IDENTIFIED BY waveset DEFAULT TABLESP ORA-01920: user name 'WAVESET' conflicts with another user or role name -
3 0.53 GRANT CREATE SESSION to waveset Statement processed. 0
4 0.06 CREATE TABLE waveset.object ( id VARCHAR(50) ORA-00955: name is already used by an existing object -
5 0.13 CREATE UNIQUE INDEX waveset.object_id ON waveset.object(id ORA-00955: name is already used by an existing object -
6 0.03 CREATE UNIQUE INDEX waveset.object_name ON waveset.object(ty ORA-00955: name is already used by an existing object -
7 0.02 CREATE INDEX waveset.object_attr1 ON waveset.object(ty ORA-00955: name is already used by an existing object -
8 0.01 CREATE INDEX waveset.object_attr2 ON waveset.object(ty ORA-00955: name is already used by an existing object -
9 0.03 CREATE INDEX waveset.object_attr3 ON waveset.object(ty ORA-00955: name is already used by an existing object -
10 0.05 CREATE INDEX waveset.object_attr4 ON waveset.object(ty ORA-00955: name is already used by an existing object -
11 0.02 CREATE INDEX waveset.object_attr5 ON waveset.object(ty ORA-00955: name is already used by an existing object -
12 0.01 CREATE INDEX waveset.object_modified ON waveset.object(ty ORA-00955: name is already used by an existing object -
13 0.01 CREATE TABLE waveset.attribute ( id VARCHAR(50) ORA-00955: name is already used by an existing object -
14 0.02 CREATE UNIQUE INDEX waveset.attribute_pk ON waveset.attribut ORA-00955: name is already used by an existing object -
15 0.01 CREATE INDEX waveset.attribute_attrname ON waveset.attribut ORA-00955: name is already used by an existing object
Shouldn't I be able to find a table name that starts with waveset in the object browser?
When I go to object browser and select tables, I get only the tables below which I think are the default ones:
AQ$_INTERNET_AGENTS
AQ$_INTERNET_AGENT_PRIVS
AQ$_QUEUES
AQ$_QUEUE_TABLES
AQ$_SCHEDULES
DEF$_AQCALL
DEF$_AQERROR
DEF$_CALLDEST
DEF$_DEFAULTDEST
DEF$_DESTINATION
DEF$_ERROR
DEF$_LOB
DEF$_ORIGIN
DEF$_PROPAGATOR
DEF$_PUSHED_TRANSACTIONS
DEF$_TEMP$LOB
HELP
LOGMNRC_DBNAME_UID_MAP
LOGMNRC_GSII
LOGMNRC_GTCS
LOGMNRC_GTLO
LOGMNRP_CTAS_PART_MAP
LOGMNRT_MDDL$
LOGMNR_AGE_SPILL$
LOGMNR_ATTRCOL$
LOGMNR_ATTRIBUTE$
LOGMNR_CCOL$
LOGMNR_CDEF$
LOGMNR_COL$
LOGMNR_COLTYPE$
LOGMNR_DICTIONARY$
LOGMNR_DICTSTATE$
LOGMNR_ERROR$
LOGMNR_FILTER$
LOGMNR_HEADER1$
LOGMNR_HEADER2$
LOGMNR_ICOL$
LOGMNR_IND$
LOGMNR_INDCOMPART$
LOGMNR_INDPART$
LOGMNR_INDSUBPART$
LOGMNR_LOB$
LOGMNR_LOBFRAG$
LOGMNR_LOG$
LOGMNR_OBJ$
LOGMNR_PARAMETER$
LOGMNR_PROCESSED_LOG$
LOGMNR_RESTART_CKPT$
LOGMNR_RESTART_CKPT_TXINFO$
LOGMNR_SESSION$
LOGMNR_SESSION_EVOLVE$
LOGMNR_SPILL$
LOGMNR_TAB$
LOGMNR_TABCOMPART$
LOGMNR_TABPART$
LOGMNR_TABSUBPART$
LOGMNR_TS$
LOGMNR_TYPE$
LOGMNR_UID$
LOGMNR_USER$
LOGSTDBY$APPLY_MILESTONE
LOGSTDBY$APPLY_PROGRESS
LOGSTDBY$EVENTS
LOGSTDBY$HISTORY
LOGSTDBY$PARAMETERS
LOGSTDBY$PLSQL
LOGSTDBY$SCN
LOGSTDBY$SKIP
LOGSTDBY$SKIP_SUPPORT
LOGSTDBY$SKIP_TRANSACTION
MVIEW$_ADV_AJG
MVIEW$_ADV_BASETABLE
MVIEW$_ADV_CLIQUE
MVIEW$_ADV_ELIGIBLE
MVIEW$_ADV_EXCEPTIONS
MVIEW$_ADV_FILTER
MVIEW$_ADV_FILTERINSTANCE
MVIEW$_ADV_FJG
MVIEW$_ADV_GC
MVIEW$_ADV_INFO
MVIEW$_ADV_JOURNAL
MVIEW$_ADV_LEVEL
MVIEW$_ADV_LOG
MVIEW$_ADV_OUTPUT
MVIEW$_ADV_PARAMETERS
MVIEW$_ADV_PLAN
MVIEW$_ADV_PRETTY
MVIEW$_ADV_ROLLUP
MVIEW$_ADV_SQLDEPEND
MVIEW$_ADV_TEMP
MVIEW$_ADV_WORKLOAD
OL$
OL$HINTS
OL$NODES
REPCAT$_AUDIT_ATTRIBUTE
REPCAT$_AUDIT_COLUMN
REPCAT$_COLUMN_GROUP
REPCAT$_CONFLICT
REPCAT$_DDL
REPCAT$_EXCEPTIONS
REPCAT$_EXTENSION
REPCAT$_FLAVORS
REPCAT$_FLAVOR_OBJECTS
REPCAT$_GENERATED
REPCAT$_GROUPED_COLUMN
REPCAT$_INSTANTIATION_DDL
REPCAT$_KEY_COLUMNS
REPCAT$_OBJECT_PARMS
REPCAT$_OBJECT_TYPES
REPCAT$_PARAMETER_COLUMN
REPCAT$_PRIORITY
REPCAT$_PRIORITY_GROUP
REPCAT$_REFRESH_TEMPLATES
REPCAT$_REPCAT
REPCAT$_REPCATLOG
REPCAT$_REPCOLUMN
REPCAT$_REPGROUP_PRIVS
REPCAT$_REPOBJECT
REPCAT$_REPPROP
REPCAT$_REPSCHEMA
REPCAT$_RESOLUTION
REPCAT$_RESOLUTION_METHOD
REPCAT$_RESOLUTION_STATISTICS
REPCAT$_RESOL_STATS_CONTROL
REPCAT$_RUNTIME_PARMS
REPCAT$_SITES_NEW
REPCAT$_SITE_OBJECTS
REPCAT$_SNAPGROUP
REPCAT$_TEMPLATE_OBJECTS
REPCAT$_TEMPLATE_PARMS
REPCAT$_TEMPLATE_REFGROUPS
REPCAT$_TEMPLATE_SITES
REPCAT$_TEMPLATE_STATUS
REPCAT$_TEMPLATE_TARGETS
REPCAT$_TEMPLATE_TYPES
REPCAT$_USER_AUTHORIZATIONS
REPCAT$_USER_PARM_VALUES
SQLPLUS_PRODUCT_PROFILE

Similar Messages

  • Noob Needs Help! Please Please Please Help!

    MD doing reserach on Genetic Mutations, I really need help on this, I have never used PL/SQL. Can somebody help me with this?
    I have a view made of mulitple table that has following columns: diagnosis, patient_id, kindred_id, column_d, colum_e.... column_p where each distinct combination of column_d to column_p means one specific mutation. I want to group patients who have same mutation to find out the following:
    for each mutation(unique column d through column p), I want to find out how many families have diagnosis 1, diagnosis 2, diagnosis 3...
    The rule is the program will look at kindre_id first, to see if this person's kindre_id has been looked at. If
    so, jump it/ignore it. If this kindred_id has never been looked at, treat it as a unique family. Diagnosis count for that diagnosis will then increase by 1. Sounds easy, but I don't know how to write that for loop that will do for each unique (column d, column c, ... column p) do the following... Does such a thing exist?

    Hi,
    SELECT     diagnosis
    ,     COUNT (DISTINCT kindred_id)     AS family_cnt
    ,     column_d
    ,     column_e
    ,     column_f
    FROM     table_x
    GROUP BY     diagnosis
    ,          column_d
    ,          column_e
    ,          column_f
    ;     produces this output:
    DIAGNOSIS FAMILY_CNT COLUMN_D   COLUMN_E   COLUMN_F
             1          2 abc        bca        acb
             2          2 abc        bca        acb
             3          2 abc        bca        acbwhich is the data you want, but not in the format you want. You want to pivot the family_cnt column from the three rows into three columns in one row. For general information about how to this, search for "pivot" on this or similar sites.
    One solution is:
    SELECT     COUNT (DISTINCT CASE WHEN diagnosis = 1 THEN kindred_id END)     AS diagnosis_1
    ,     COUNT (DISTINCT CASE WHEN diagnosis = 2 THEN kindred_id END)     AS diagnosis_2
    ,     COUNT (DISTINCT CASE WHEN diagnosis = 3 THEN kindred_id END)     AS diagnosis_3
    ,     column_d
    ,     column_e
    ,     column_f
    FROM     table_x
    GROUP BY     column_d
    ,          column_e
    ,          column_f
    ;     which produces the following output:
    DIAGNOSIS_1 DIAGNOSIS_2 DIAGNOSIS_3 COLUMN_D   COLUMN_E   COLUMN_F
              2           2           2 abc        bca        acbThis technique assumes that you know exactly how many different diagnoses there are and what the distinct values of the diagnosis column are. (I.e., in this example, I knew that that there were three diagnosie and that their values were 1, 2 and 3. I used that information to write three COUNT expressions, with values 1, 2 and 3 hard-coded into them.)
    So, what can you do if you do not know the diagnosis values? The columns have to be hard-coded into the query, so how can you possiblly write something today that will have all the values that are in the table next month? You can't, but you can write something today that you can run (unchanged) next month which will write such a query. In other words, you can do dynamic SQL, where you run a preliminary query to get the different diagnosis values, write an appropriate query similar to the one above, and then run that newly-created query. The PL/SQL command "EXECUTE IMMEDIATE" can help with this.
    The code above works in all versions of Oracle. In Oracle 11, there is a more straigtforward way of specifyng PIVOT in a SELECT statement.

  • Uber Noob Needs Help Creating website!

    I need help creating my webpage: It has a textbox on it were
    the user enters a URL and it then redirects the end user to that
    URL when they press the GO Button. It also has a check box saying
    "Hide my IP", If the end user clicks this box and then clicks go
    they will be directed to the website they stateted in the Textbox
    but this time it shall mask there IP Address so they can bypass
    proxys and surf anonomosly. Please can someone give me some HTML
    code i could use for this site or a Link to a website that can give
    me the code.

    I assume the application is connecting to Oracle using an application ID/password. If so, check to see if that user has a private synonyn to the table. If so drop it since you have a public synonym.
    Verify that the public synonym is in fact correct. Drop and recreate the public synonym if you cannot select against the synonym name using an ID that can perform select * from inhouse.icltm where rownum = 1. That is if this other user cannot issue select * from icltm where rownum = 1 without an error.
    Check that the application ID has the necessary object privileges on the table.
    Queries you need
    select * from dba_synonyms
    where table_owner = 'INHOUSE'
    and table_name = 'ICLTM'
    You may find both public and private synonms. Either fix or delete. (Some may reference someelses.icltm table if one exists)
    select * from dba_tab_privs
    where table_name = 'ICLTM'
    and owner = 'INHOUSE'
    Note - it is possible to create mixed case or lower case object names in Oracle by using double quotes around the name. Do not do this, but do look to see that this was not done.
    You could also query dba_objects for all object types that have the object_name = 'ICLTM'
    HTH -- Mark D Powell --

  • [Athlon64] Noob needs help optimizing new system

    Sorry to post yet another thread, but I've been lurking for the past few days and I only get bits and pieces of what I need. I'm pretty clueless about this stuff as it's my first home-built system
    See my sig for system info...
    I'm needing help with bios settings. The pertinent stuff (I think - hopefully I got it all down):
    CELL MENU
    CPU Clock speed: 2200
    DDR Memory Freq: 100.0 MHz
    High performance mode: Manual
    Cool n quiet: Disable
    HT Freq: 800 MHz
    Dynamic overclocking: Disable
    Adjust CPU Ratio: Auto
    AGP Freq: By Default
    HT Voltage: Auto
    Mem voltage: Auto
    CPU voltage: Auto
    AGP Voltage: Auto
    Spread sectrum: Disable
    DRAM
    DRAM Clock Mode: Manual
    Mem clock value: DDR200
    CAS Latency: SPD
    Burst Length: 8 Beat
    Bank Interleaving: Auto
    Active to CMD (Trcd): SPD
    Active to precharge (Tras): SPD
    Precharge to active (Tvp): SPD
    DRAM IT Timing: Disable
    ADVANCED CHIPSET FEATURES
    AGP Mode: Auto (this is "greyed out")
    AGP Fast write: Enabled
    AGP Aperture size: 128
    VLink 8X supported: Enabled
    My questions mainly concern memory. I bought all this stuff at the Tiger Direct outlet store in Naperville, Illinois. I had intended to buy the K8T Neo-FSR (754 pin), but they were supposedly out of the 754 pin 3400+, and this board/CPU combo had a $100 rebate. Yeah, it's one of those deals with the odd 939 pin 3400+ that everyone has been talking about.
    In any case, I already had the Corsair CMX512-3200C2PT picked out, as Corsair said it was compatible with the board. I wasn't aware of the MSI compitibility chart until I came here later that night. I STILL can't find that chart off of the MSI web site.
    Anyway, I got it all hooked up and got the standard 4 red LEDs. Not knowing what to do, I took it back to Tiger Direct and the tech played around with it until he stuck an el-cheapo stick (Corsair VS512MB400) in there and it worked. But it only works in slot 2. So here I am.
    I started to run memtest86, but it took too long to run and I aborted it for now. For what it's worth, it said the RAM CAS value is 2.5-2-2-5. I don't know what the hell that means, but I know it's important.
    My questions:
    1. I assume I need manually to set my memory clock value to DDR400?
    2. Now that I can get the thing to post, is there any chance I could get the "good" Corsair memory to work by setting the correct latency/CAS values? Again, I don't know what I'm talking about, so forgive my ignorance. What I'm wondering is if I can set everything to what Corsair recommends while I have the cheap memory in there and then replace it with the good stuff?
    3. With this board, am I better off with double-sided or single-sided sticks? As I said, I went into the store intending to buy the Neo 754-pin board, but they were out of the Athlon 3400+ in 754 and only had the 939 pin.
    4. Anything else in my bios settings that stand out and need to be addressed? I want to make sure everything is optimized.
    EDIT: I almost forgot: My CPU temp is runing around 42-49 degrees. Am I in the danger zone? I just bought a generic cooler for now and intend to get a Thermalright XP-120, but I can't find it locally, so it will have to wait.
    AND FINALLY...
    I don't know if this is related to anything above, but I have been having a hell of a time getting the 6600GT to run DirectX9+ games. The latest drivers for Windows 98SE was 66.94. Yes, XP will be installed soon, but for now... It was failing on dxdiag test for Direct3d 9 and also the third DirectDraw test. I was about to give up and take it back when I discovered that a new beta driver came out today (71.84). I installed it and it passed all of the dxdiag tests. I thought I was in hawg-heaven, but when I run Call of Duty (the only DX9 game I have besides HL2), it slows to an absolute clawl. The level starts out somewhat normal at first, but quickly slows down to the point that performance can only be measured in seconds per frame! All of the patches 1.5 and 1.51 for UO have been installed, but that shouldn't make a bit of difference.
    If I don't get my CoD fix soon I'm gonna reinstall that Geforce3.
    Thanks much and sorry again for such a long post.

    Thanks everyone for the recent replies, but I started this thread almost a month ago (March 3rd), and much has changed since then.
    New PSU (see sig).
    Replaced the PNY Geforce6600GT with a eVGA 6800
    Added another stick of the Corsair Value Select 512 RAM. I didn't even bother trying to get the "primo" CMX stick to work. I just returned it.
    Went from Windows 98SE to XP Home.
    The PSU did nothing for me at all, but I suppose it's better to have some headroom in the amperage.
    The biggest performance booster was the additional 512MB of RAM. It wouldn't have done me any good in 98SE, but I was shocked at how much it helps XP. Quitting a game is almost instant now, where before it would take a good two minutes or so for XP to recover itself.
    As for games running slow, the 6800 fixed it right up. CoD absolutely screams now, as does everything else I've thrown at it (HL2, Doom 3, Far Cry). I think the 6600GT was just bad or there is a serious driver problem with the 6600GT's. Went from 3DMark03 score of around 5000 (when it didn't crash) to above 9000 now. And this was all before adding the additional RAM.
    Oh yeah, I bought a 74GB Raptor. No RAID for now though. So far I'm not real impressed with the performance. I'm running off of the VIA controller, since my board doesn't have the Promise controller. I don't see much improvement in loading times as compared to the 40GB 7200rpm Maxtor I have running on IDE1. The only time it beats the pants off the Maxtor is defragging. But there's only so much entertainment value in that.  The Sandra "file system benchmark" gave me 57 MB/s, which seems pathetic, but I've read some posts here where others are getting an identical rate.
    And I'm not too happy to discover, too late, that my overclocking capabilities are severely limited while using SATA.
    I do have one more question for now:
    When I installed the second 512MB stick, I originally had both sticks in slot 1 and 2. I ran Sandra's memory bandwidth benchmark and got a much lower score than with the single stick (around 3500 MB/s). WHen I had the sticks in 1 and 3, it jumped up to close to 6000 MB/s. Why is that? Just curious.

  • Query off of Oracle using WinSql - Need help with query

    I am trying to query off of Oracle using program WinSql.
    I have a table(tticpr200110) that has the following sample data:
    ITEM     CODE     T$AMNT
    23500076 ACL     .0049
    23500076 APM     0
    23500076 APO     .0093
    23500076 EXP     .0001
    23500076 RES     .0072
    and what I want it to look like is:
    ITEM     ACL     APM     APO     EXP     RES
    23500076     0.0049     0     0.0093     0.0001     0.0072
    (actually I need the last 2 columns added together to be MATL-but can deal with that down the road).
    Seems simple enough, but I don't know to put into the columns.
    Any help would be GREATLY appreciated as soon as possible would be even better.

    My table - tticpr200110 when it runs I get the following sample data for part number 23500076:
    The first coloumn ITEM is the part number.
    The second column CODE is 1 of 5 different cost codes
    The third column is the cost for that code for that part.
    ITEM CODE AMNT
    23500076 ACL 0.0049
    23500076 APM 0.0000
    23500076 APO 0.0093
    23500076 EXP 0.0001
    23500076 RES 0.0072
    I want to make a query that makes the data look like this:
    ITEM ACL APM APO EXP RES
    23500076 0.0049 0.0000 0.0093 0.0001 0.0072
    (similar to a pivot table in excel or acess)
    I hope this helps better.
    Thanks!

  • Noob needs help: DrWeb-DAEMON - A message has not been checked due to licen

    I keep getting these emails (see below). Can someone please tell me what part of the email system is generating these emails? Are they normal? They seem to be blocking mostly spam (which is good) but, there is some email that is being blocked that I would like to come through. How would I unblock certain email? If you need any logs or such posted, please let me know.
    Thanks in advance for and help and sorry for being such a noob.
    From: DrWeb-Daemon
    Subject: A message has not been checked due to license limitations
    Dear Postmaster,
    the message with following attributes has not been checked
    due to the licenses limitation.
    Sender = [email protected] (may be forged)
    Recipients = [email protected]
    Subject = Secret BEAD Sale! Ring in the New Year with Savings on...
    Message-ID = <[email protected]ail.firemount aingems.com>
    --- Dr.Web report ---
    Dr.Web detailed report:
    127.0.0.1 [30230] drweb.tmp.RYe7DB - message's envelope (addresses) aren't present in license (protected e-mail`s), skipped!
    --- Dr.Web report ---

    DrWeb is an anti-virus software product.
    It is not part of the standard Mac OS X system, and it doesn't appear to even have a Mac OS X version, therefore it isn't anything your server is doing.
    The liklihood, then, is that your upstream mail server (maybe your ISP?) is using DrWeb to filter email. You'd need to talk to them about configuration options.

  • Noob needs help: Macbook RAM/storage upgrade advice

    Firstly, let me apologize in advance for my ignorance in this subject area!  I'm a complete noob!
    Here goes:
    I have a MacBook 7,1 (MC516LL/A) with all original, factory components, and since I've upgraded to OS X 10.7.5, it's been running incredibly S...L...O...W... which is incredibly annoying to me:P
    Out of the 250GB's of HD storage, I have about 91 free.  From my previous experience with mac notebooks, I know that I am going to need to get some more hard drive space, soon (my last iBook turned to complete crap, once I got down to 20 gigs of available memory).
    I see that I can upgrade the RAM from two, 1GB sticks to two, 4GB sticks.  From the limited research I've done, I'm under the impression that only the boot-up speed will increase slightly (please correct me if any of this is wrong). 
    I've also been reading about Solid State Drives, found some reasonably priced ones on crucial.com, and they look/sound AWESOME!  Aaaaaand the reality is that I really have no idea what I truly need.  I'm a single mom and a college student, so I'm looking for an upgrade option in the $200-300 range, *and* I'm not into graphic design, web design, or anything that requires top of the line equipment. 
    My macbook is practically glued to my hands 24/7, so I just want it to run FASTER, and I need more storage.  I don't know if this info is pertinent or helps, but outside of studying (all done with ebooks and online websites), I like to download a lot of music, watch videos, upload family pictures, browse the interwebz, etc., etc.
    What can I do to improve speed and expand storage capacity?
    Any help is GREATLY appreciated! Thanks!

    Hello! I own a mid-2010 MacBook (a.k.a MacBook 7,1) running OS X 10.8.2 Mountain Lion, which I use for school, and I had the exact same issues with my MacBook, before I upgraded it. I had almost filled up my MacBook's HDD and my computer's RAM was insufficient to perform any of my day-to-day tasks with ease. I upgraded the RAM from two sticks of 1GB (the factory-installed configuration) to one stick of 4GB, and I installed a 1TB HDD in place of the original 250GB HDD (my requirements were slightly different from what yours seem to be). Currently, my MacBook is a lot less laggy than it used to be (even with a HDD that's four times larger in terms of capacity installed), but it still takes a long time to start up and perform certain tasks. Therefore, from my experience, I would recommend that you do the following:
    1. Get two sticks of 2GB (2x2GB) of RAM, not one stick of 4GB (1x4GB). Even though the latter will probably be considerably cheaper than the former, I think it's worth the few extra dollars to get the former because it's much faster than the latter. You shouldn't go for anything more than 4GB of RAM in total, because it'll overload your MacBook. Trust me, that's not something you want to have to deal with!
    2. Get a 500GB or 512GB SSD, not a larger HDD. In hindsight, I don't think I even needed anything close to 1TB. I only purchased my huge HDD because it was on offer, and it was being sold (believe it or not) for less than a 500GB HDD. But if you're looking for speed, an HDD is not the way to go; they're much, much slower than SSDs, even though they're much cheaper.
    You should see an exponential increase in the speed of your MacBook. You might want to try the following websites; they offer high-quality, affordable components and I've known people (including myself) who have used their products before.
    1. Other World Computing - http://www.macsales.com
    2. Crucial (of course) - http://www.crucial.com
    3. Strontium - http://www.strontium.biz
    4. RamJet, Inc. - http://www.ramjet.com
    5. MacUpgrades - http://www.macupgrades.co.uk/store/index.php
    6. Corsair (these guys can get a little pricey at times) - http://www.corsair.com/us/
    7. Kingston - http://www.kingston.com/us/
    8. Sandisk - http://www.sandisk.com
    Good luck speeding your MacBook up, and I hope this helped!

  • Noob needs help using/managing large font collection in os10

    Hope this is the correct forum for this question. I'm a os10 noob starting at a new, small startup design-oriented biz (6-7 macs) that needs to manage fonts - 100s, over a 1000. Other places I've worked used Font Reserve and I'm familiar with that program but I never knew if it came with os10 or you had to go buy it, and if you needed to buy a separate copy for each computer?
    I'm trying to help get this biz set-up, but I know NOTHING about font usage/set-up in os10. I've always used ATM Deluxe4.6 (os9) and have over 2000 fonts nicely arranged in sets (took me an entire day, way back when). Would love to transfer these arranged sets into os10, if possible.
    Is there a built-in font mgmt in os10? Is it any good for large collections? Is Font Reserve a good program for large font collections?
    I don't even know where os10 stores fonts or the right questions to ask. Pls point me in the right direction!
    TIA

    Fontbook is ok for dealing with a handful of fonts on an occasional basis, but for pro design work you should run, don't walk, to: http://www.linotype.com/fontexplorerX/
    FontExplorerX beats the pants of any other font management tool I've used on the mac after many years of ATM, Suitcase & Font Agent Pro. FEX looks and feels like an "iTunes for Fonts" - it's fast, stable, clean and simple to use and best of all for a small biz (like me) - it's FREE! :O

  • Noob Needs Help - Importing Html Pages into "My Site"

    Greetings
    I am sure this is a noob question that may have been asked, but I couldn't find it by searching so here goes.
    I jumped right into Dream Weaver, following an online tutorial... and have a decent webpage but I must have skipped some steps or missed something and I would hate to backtrack and do it all over again...
    When I began, I just started working on a HTML page... and now that its done, I want to make it a template etc...
    But I never created a "site" as far as SITE > NEW SITE etc.
    So now that I have, I need to tell DW that "These pages are included... these images are included, all that neat SPRY stuff I have done needs to be "in the site".
    I am looking for a button that says, "Hey dummy, you need to select the pages that are included in your site" but can't find it...
    Any help?
    Thanks, in Advance
    Greg
    www.revfan.com

    Creating  your first web site in DW CS5 -
    http://www.adobe.com/devnet/dreamweaver/articles/first_website_pt1.html
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    http://alt-web.com/
    http://twitter.com/altweb

  • Noob needs help with Logic and Motu live setup.

    Hello everyone,
    I'm a noob / semi noob who could use some help with a live setup using 2 MOTU 896HD's and Logic on a Mac.
    Here's the scenario:
    I teach an outdoor marching percussion section (a drumline and a front ensemble of marimbas and vibes). We have an amazing setup of live sound to amplify and enhance the mallet percussion. There is a yamaha PA system with 2 subs and 2 mains which are routed through a rack unit that processes the overall PA balance. I'm pretty sure that the unit is supposed to avoid feedback and do an overall cross-over EQ of the sound. Other then that unit, we have 2 motu896hd units which are routed via fire-wire. I also have a coax cable routing the output of the secondary box to the input of the primary box (digital i/o which converts to ADAT in (i think?)..?
    Here's the confusion:
    There are more then 8 inputs being used from the ensemble itself, so I need the 16 available inputs to be available in Logic. I was lead to believe that the 2nd motu unit would have to be sent digitally to the 1st motu unit via coax digital i/o. Once in Logic, however, I cannot find the signal or any input at all past the 8th input (of the 1st unit).
    Here's the goal:
    All of my performers and inputs routed via firewire into a Mac Mini running OSX and Logic pro.
    I want to be able to use MainStage and run different patches of effects / virt. instruments for a midi controller keyboard / etc.
    I want to be able to EQ and balance the ensemble via Logic.
    Here's another question:
    How much latency will I be dealing with? Would a mac mini with 4gb of ram be able to handle this load? With percussion, I obviously want the sound as latency free as possible. I also, however, want the flexibility of sound enhancement / modification that comes with Logic and the motu896hd units.
    Any help would be REALLY appreciated. I need the routing assistance along with some direction as to whether or not this will work for this type of application. I'm pretty certain it does, as I have spoken with some other teachers in similar venues and they have been doing similar things using mac mini's / logic / mainstage / etc.
    Thanks in advance,
    Chris

    You'll definitely want to read the manual to make sure the 896HDs are connected together properly. ADAT is a little tricky, it's not just a matter of cabling them together. Go to motunation.com if you need more guidance on connecting multiple devices. Beyond that initial hookup, here are a couple of quick suggestions:
    1. Open CueMix and see if both devices are reported there. If not, your connections aren't correct. Be sure to select 44.1kHz as your sample rate, otherwise you are reducing the number of additional channels. For instance at 88.2kHz you would get half the additional channels via ADAT.
    2. You may need to create an aggregate device for the MacBook to recognize more than the first 896HD. Lots of help on this forum for how to do that. Again, first make sure you have the 896HDs connected together properly.
    3. As for latency with Mainstage on the Mini, no way to know until you try it. Generally MOTU is fantastic for low latency work but Mainstage is a question mark for a lot of users right now. If the Mini can't cut the mustard, you have a great excuse to upgrade to a MacBook Pro.

  • Noob Need Help on User Priviledge issue

    Hi, I am using 9i, I am using user DMD, created 2 new tables in addtion to 18 existing tables in DMD schema, I am able to edit/vew contents using Oracle Enterprise Manager on all tables of DMD schema as user DMD. I created a new user using Oracle Enterprise Manager, with connect, dba, resource, select catalog, executive catalog, and when I right click on two new tables and select view/edit contents, It says "table doesn't exisit". The new user is able to view/edit content of old 18 tables. Then, I logged in as DMD, grant the new user select insert update priviledges. Now my new user can select, insert, update. But in Oracle Enterprise Manager, I still get Table or View doesn't exist. What do I need to do? Can somebody help me?

    I have no immediate access to a 9i database to test this, but it works on 10g.
    Could you grant SELECT ANY DICTIONARY to newuser; Then try again.

  • Java noob needing help - First applet won't compile

    I'm trying to make a simple audio player applet for a web page. The basic way it works is: There are four buttons Play 1, Play 2, Play 3 and Stop, as well as a label for applet credits, a label for music credits and a label for the applet's current status.
    This is the applet so far:
    import java.applet.*;
    import java.awt.*;
    import java.awt.event.*;
    import java.net.*;
    public class wifflesaudio extends Applet implements MouseListener {
    add(new Label("(applet credits"));
    add(new Label("(music credits"));
    Label labelDoing = new Label("Stopped");
    Button buttonOne = new Button("Play 1");
    Button buttonTwo = new Button("Play 2");
    Button buttonThree = new Button("Play 3");
    Button buttonStop = new Button("Stop");
    add(buttonOne);
    add(buttonTwo);
    add(buttonThree);
    add(buttonStop);
    addMouseListener(this);
    String clipName[] = {getParameter("clipOne"),
    getParameter("clipTwo"),
    getParameter("clipThree")};
    AudioClip clipOne;
    AudioClip clipTwo;
    AudioClip clipThree;
    int whichIsPlaying = 0;
    public void loadClip(int clipNumber) {
    switch (clipNumber) {
    case 1:
    if (AudioClip.clipOne == null) {
    try {
    labelDoing = "Loading clip 1...";
    clipOne = Applet.newAudioClip(newURL(getCodeBase(), clipName[1]));
    catch (MalformedURLException e) {
    labelDoing = "WARNING: clip 1 didn't load";
    if (clipOne != null) {
    clipTwo.stop();
    clipThree.stop();
    clipOne.loop();
    whichIsPlaying = 1;
    break;
    case 2:
    if (clipTwo == null) {
    try {
    labelDoing = "Loading clip 2...";
    clipTwo = Applet.newAudioClip(newURL(getCodeBase(), clipName[2]));
    catch (MalformedURLException e) {
    labelDoing = "WARNING: clip 2 didn't load";
    if (clipTwo != null) {
    clipOne.stop();
    clipThree.stop();
    clipTwo.loop();
    whichIsPlaying = 2;
    break;
    case 3:
    if (clipThree == null) {
    try {
    labelDoing = "Loading clip 3...";
    clipThree = Applet.newAudioClip(newURL(getCodeBase(), clipName[3]));
    catch (MalformedURLException e) {
    labelDoing = "WARNING: clip 3 didn't load";
    if (clipTwo != null) {
    clipOne.stop();
    clipTwo.stop();
    clipThree.loop();
    whichIsPlaying = 3;
    break;
    public void actionPerformed(ActionEvent evt) {
    Button source = (Button)evt.getSource();
    if (source.getLabel().equals("Play 1")) {
    loadClip(1);
    if (source.getLabel().equals("Play 2")) {
    loadClip(2);
    if (source.getLabel().equals("Play 3")) {
    loadClip(3);
    if (source.getLabel().equals("Stop")) {
    clipOne.stop();
    clipTwo.stop();
    clipThree.stop();
    Naturally, it doesn't work. When I try to compile it with javac I get 21 errors thrown back at me. Being the noob that I am I have absolutely no idea why it isn't working, so I'm turning to all you clever people for some advice. :)

    Think anyone's going to copy your code into their own machine and compile it to see those messages for you? Well I did. Since there are a zillion error messages, I think it's fair to help a little bit:
    import java.applet.*;
    import java.awt.*;
    import java.awt.event.*;
    import java.net.*;
    // no need to implement MouseListener
    // see below
    public class wifflesaudio extends Applet {
        Label labelDoing = new Label("Stopped");
        Button buttonOne = new Button("Play 1");
        Button buttonTwo = new Button("Play 2");
        Button buttonThree = new Button("Play 3");
        Button buttonStop = new Button("Stop");
        String[] clipName;
        AudioClip clipOne;
        AudioClip clipTwo;
        AudioClip clipThree;
        int whichIsPlaying = 0;
        // statements in JAVA must be located with methods or constructors
        // here is the default constructor (with no param)
        wifflesaudio() {
            add(new Label("(applet credits"));
            add(new Label("(music credits"));
            add(buttonOne);
            add(buttonTwo);
            add(buttonThree);
            add(buttonStop);
            clipName = new String[3];
            clipName[0] = getParameter("clipOne");
            clipName[1] = getParameter("clipTwo");
            clipName[2] = getParameter("clipThree");
            addMouseListener(new wifflesaudioMouseListener()); // instead of addMouseListener(this)
        public void loadClip(int clipNumber) {
            switch (clipNumber) {
            case 1:
                if (clipOne == null) {
                    try {
                        // To set the text of a label, you must use setText() method.
                        labelDoing.setText("Loading clip 1...");
                        clipOne = newAudioClip(new URL(getCodeBase(), clipName[1])); // 'new URL' instead of 'newURL'
                    } catch (MalformedURLException e) {
                        // To set the text of a label, you must use setText() method.
                        labelDoing.setText("WARNING: clip 1 didn't load");
                if (clipOne != null) {
                    clipTwo.stop();
                    clipThree.stop();
                    clipOne.loop();
                    whichIsPlaying = 1;
                break;
            case 2:
                if (clipTwo == null) {
                    try {
                        // To set the text of a label, you must use setText() method.
                        labelDoing.setText("Loading clip 2...");
                        clipTwo = newAudioClip(new URL(getCodeBase(), clipName[2])); // 'new URL' instead of 'newURL'
                    } catch (MalformedURLException e) {
                        // To set the text of a label, you must use setText() method.
                        labelDoing.setText("WARNING: clip 2 didn't load");
                if (clipTwo != null) {
                    clipOne.stop();
                    clipThree.stop();
                    clipTwo.loop();
                    whichIsPlaying = 2;
                break;
            case 3:
                if (clipThree == null) {
                    try {
                        // To set the text of a label, you must use setText() method.
                        labelDoing.setText("Loading clip 3...");
                        clipThree = newAudioClip(new URL(getCodeBase(), clipName[3])); // 'new URL' instead of 'newURL'
                    } catch (MalformedURLException e) {
                        // To set the text of a label, you must use setText() method.
                        labelDoing.setText("WARNING: clip 3 didn't load");
                if (clipTwo != null) {
                    clipOne.stop();
                    clipTwo.stop();
                    clipThree.loop();
                    whichIsPlaying = 3;
                break;
        public void actionPerformed(ActionEvent evt) {
            Button source = (Button)evt.getSource();
            if (source.getLabel().equals("Play 1")) {
                loadClip(1);
            if (source.getLabel().equals("Play 2")) {
                loadClip(2);
            if (source.getLabel().equals("Play 3")) {
                loadClip(3);
            if (source.getLabel().equals("Stop")) {
                clipOne.stop();
                clipTwo.stop();
                clipThree.stop();
        // Extending MouseAdapter instead of implementing MouseListener
        // allows NOT to code ALL the methods from MouseListener
        // MouseAdapter already implements MouseListener with empty methods
        // You then just code the method(s) that is (are) needed.
        class wifflesaudioMouseListener extends MouseAdapter {
    }Please next time paste your code between code tags exactly like this:
    &#91;code&#93;
    your code
    &#91;/code&#93;
    Thank you

  • New To Oracle.. Needs Help:: Conversion from SQL Server to Oracle 11g

    I am new to Oracle 11g and badly need the conversion of SQL Server Functions to Oracle.. Sample Pasted Code not working .. end with error.. pls help
    Create Table TempT (ID1 Varchar (10),
    ID2 Varchar (10)
    CREATE OR REPLACE PACKAGE GLOBALPKG
    AS
    TYPE RCT1 IS REF CURSOR;
    TRANCOUNT INTEGER := 0;
    IDENTITY INTEGER;
    END;
    CREATE OR REPLACE FUNCTION fTempT
    i IN VARCHAR2 DEFAULT NULL
    RETURN GLOBALPKG.RCT1
    IS
    REFCURSOR GLOBALPKG.RCT1;
    BEGIN
    OPEN REFCURSOR FOR
    SELECT TT.*
    FROM TempT TT
    WHERE (fTempT.i = ''
    OR TT.ID1 = fTempT.i)
    RETURN REFCURSOR;
    END;
    CREATE OR REPLACE FUNCTION fTempTF
    i IN VARCHAR2 DEFAULT NULL
    RETURN GLOBALPKG.RCT1
    IS
    REFCURSOR GLOBALPKG.RCT1;
    BEGIN
    OPEN REFCURSOR FOR
    SELECT *
    FROM TABLE(fTempT(i))
    RETURN REFCURSOR;
    END;
    LAST FUNCTION ENDs WITH ERROR
    Error(13,7): PL/SQL: ORA-22905: cannot access rows from a non-nested table item

    2. The major purpose is to get a simplest way to create a parameterized function who can return a table like output. 2nd function has no use instead i was testing the result of First Function like thisIf you just want to select from a select, you should use a view not a function.
    1. which program is more help ful for writing and executing queries bcoz after using Query Analyzer of Microsoft It seems difficult to work on SQL Developer.
    sqlplus? If you are having difficulty learning new tools because of an old one you used, probably best to forget the old one and concentrate on learning the new one because it will be different. This goes for the database itself also.
    2. Can DMLs be used within a Function.Yes, you just can't execute the function in another SQL statement if it modifies data and this is a good thing.
    3. Can temporary tables be used within a function.Unfortunately yes, but they shouldn't be unless you are in a slowest application competition.
    5. Each Function which is a Table Function must be accompanied with Type Definitions?? its a bit longer way of doing the things than SQL ServerThat is why it is better to use views instead, is there any reason you want a select that you can select from inside a function?
    SQL Server for last 9 years thats why i refer this toolThat is not in itself a problem, if you try and do what you did in SQLServer in Oracle, that will be a problem though.

  • Oracle IDM beginner - need help

    Hi Experts,
    I have recently started to learn Oracle Identity Management - though there are many tutorials available I am bit confused from where should I start my learning , there is OAM, OIM and Directory servers - can you please help me with the approach I should avail to explore the product.
    Also are there any example projects that can implemented post installation of OIDM - any help would be highly appreciated.
    Thanks and Regards,
    Mahesh

    Hi Mahesh,
    Installation process:
    1. Installed and configured DB using RCU - Right
    2. Installed Weblogic server - Right
    3. Install SOA and patched it to 11.1.1.50 -Right
    4. Installed ofm_iam_generic_11.1.1.5.0_disk1_1of1.zip - Right
    5. ----- If you need oid and ovd, you need to install ofm_idm_win_11.1.1.3.0_32_disk1_1of1.zip - This consists of OID, OVD, ODSM products inside.
    6. Created a weblogic domain using config.cmd
    Configuration process:
    7. Run the configuration script from the directory: MW_HOME/oracle_common/common/bin
    ./config.sh --> Extend the existing domain you created in the 6th step.
    8. Select the desired products, you want to -> these products are displayed based on your previous installations in steps 3 and 4 steps.
    9. For configuring OID, OVD and ODSM, you have a different directory to run the configuration script.
    Go to the directory specified in the installation wizard of Step 5 - <Installation_directory>/bin -> ./config.sh
    10. Once these are all setup, you need to run one more configuration script located in the directory created during the step 4 - <install_directory>/bin --> ./config.sh
    This will configure Identity Server, Design Console, Remote Manager, Ldap synchronization, BI Publisher configuration settings. You can customize your selection there in the configuration wizard.
    Hope this will help most of your basic questions !!
    Krish.
    http://tejkrish.blogspot.com

  • Oracle database crashing.Need help.

    Hi
    We have an oracle 11.1.0.7.0 database running on windows 2003 R2. All of a sudden as of today the server crashed.
    Trace logs are as below.
    Can anyone provide any help on how to diagnose the issue.
    Thanks
    *** 2011-04-26 00:30:15.291
    Process diagnostic dump for W000, OS id=6212
    Memory (Avail/Total): Ph:1919M/3839M, Ph+PgF:2554M/4446M, VA:1260M/2047M
    CPU Load: 61%
    Stack:
    ------------------- Call Stack Trace ---------------------
    calling location entry point arg #1 arg #2 arg #3 arg #4
    7C82847C 00000000 00000000 00000000 00000000 00000000
    77E61C88 77E61C96 00001aa8 00001388 00000000 0f45e55c
    _skgpwwait()+128                                                 00000000                                                         00001aa8 00001388 004c4b40 0bab7ca0
    ksliwat()+2180                                                  skgpwwait()+0 0f45e5c8 0babb460 2f371f7c 004c4b40
    kslwaitctx()+146                                                ksliwat()+0 2ea568b0 2ea568b0 000001f4 00000000
    kslwait()+158                                                   kslwaitctx()+0 0f45e7bc 000001f4 0f45e7bc 06097a59
    ksvrdp()+26715                                                  kslwait()+0 000001f4 0000003e 00000000 0f45fd90
    opirip()+813                                                    ksvrdp()+0 00000003 0dc6e918 0dc85e78 0d6ff2dc
    opidrv()+1357                                                   opirip()+0 00000032 00000004 0f45fea8 00000000
    sou2o()+45                                                      opidrv()+0 00000032 00000004 0f45fea8 00000000
    opimaireal()+263 _sou2o()+0                                                       0f45fe9c 00000032 00000004 0f45fea8
    opimai()+92                                                     opimai_real()+0 00000003 0f45fed4 00000000 00000000
    BackgroundThreadStart@4()+529                                   opimai()+0 00000003 0f45ff20 89a96710 0d6f0030
    77E6482C 00000000 0b1a4c18 00000000 00000000 0b1a4c18
    00000000 00000000 00000000 00000000 00000000 00000000
    ---------------- End of Call Stack Trace -----------------
    Call stack acquisition performance stats:
    setup time (lock acquis., memory alloc.): 0 ms
    frame get time (time the target proc was suspended): 0 ms
    symbol translation time: 0 ms
    total time: 0 ms
    Process diagnostic dump actual duration=0.109000 sec
    (max dump time=30.000000 sec)
    *** 2011-04-26 00:30:15.400
    Waited for process W000 to initialize for 107276 seconds
    *** 2011-04-26 00:50:21.400
    Process diagnostic dump for W000, OS id=11304
    Memory (Avail/Total): Ph:1923M/3839M, Ph+PgF:2563M/4446M, VA:1268M/2047M
    CPU Load: 43%
    Stack:
    ------------------- Call Stack Trace ---------------------
    calling location entry point arg #1 arg #2 arg #3 arg #4
    7C82847C 00000000 00000000 00000000 00000000 00000000
    77E61C88 77E61C96 000019b0 00001388 00000000 0d85e55c
    _skgpwwait()+128                                                 00000000                                                         000019b0 00001388 004c4b40 0bab7ca0
    ksliwat()+2180                                                  skgpwwait()+0 0d85e5c8 0babb460 2f371494 004c4b40
    kslwaitctx()+146                                                ksliwat()+0 2ea26d20 2ea26d20 000001f4 00000000
    kslwait()+158                                                   kslwaitctx()+0 0d85e7bc 000001f4 0d85e7bc 06097a59
    ksvrdp()+26715                                                  kslwait()+0 000001f4 0000003e 00000000 0d85fd90
    opirip()+813                                                    ksvrdp()+0 00000003 0c8ee914 0c935e6c 0c79f2d8
    opidrv()+1357                                                   opirip()+0 00000032 00000004 0d85fea8 00000000
    sou2o()+45                                                      opidrv()+0 00000032 00000004 0d85fea8 00000000
    opimaireal()+263 _sou2o()+0                                                       0d85fe9c 00000032 00000004 0d85fea8
    opimai()+92                                                     opimai_real()+0 00000003 0d85fed4 00000000 00000000
    BackgroundThreadStart@4()+529                                   opimai()+0 00000003 0d85ff20 89b057d0 0c790030
    77E6482C 00000000 0b18e3c8 00000000 00000000 0b18e3c8
    00000000 00000000 00000000 00000000 00000000 00000000
    ---------------- End of Call Stack Trace -----------------
    Call stack acquisition performance stats:
    setup time (lock acquis., memory alloc.): 0 ms
    frame get time (time the target proc was suspended): 0 ms
    symbol translation time: 0 ms
    total time: 0 ms
    Process diagnostic dump actual duration=0.109000 sec
    (max dump time=30.000000 sec)
    *** 2011-04-26 00:50:21.509
    Waited for process W000 to initialize for 110881 seconds
    *** 2011-04-26 01:50:27.697
    Process diagnostic dump for W000, OS id=10832
    Memory (Avail/Total): Ph:1926M/3839M, Ph+PgF:2566M/4446M, VA:1266M/2047M
    CPU Load: 11%
    Stack:
    ------------------- Call Stack Trace ---------------------
    calling location entry point arg #1 arg #2 arg #3 arg #4
    7C82847C 00000000 00000000 00000000 00000000 00000000
    77E61C88 77E61C96 000018fc 00001388 00000000 0dd0e55c
    _skgpwwait()+128                                                 00000000                                                         000018fc 00001388 004c4b40 0bab7ca0
    ksliwat()+2180                                                  skgpwwait()+0 0dd0e5c8 0babb460 2f36f3dc 004c4b40
    kslwaitctx()+146                                                ksliwat()+0 2ea26d20 2ea26d20 000001f4 00000000
    kslwait()+158                                                   kslwaitctx()+0 0dd0e7bc 000001f4 0dd0e7bc 06097a59
    ksvrdp()+26715                                                  kslwait()+0 000001f4 0000003e 00000000 0dd0fd90
    opirip()+813                                                    ksvrdp()+0 00000003 0c54e918 0c565e78 09a2f2dc
    opidrv()+1357                                                   opirip()+0 00000032 00000004 0dd0fea8 00000000
    sou2o()+45                                                      opidrv()+0 00000032 00000004 0dd0fea8 00000000
    opimaireal()+263 _sou2o()+0                                                       0dd0fe9c 00000032 00000004 0dd0fea8
    opimai()+92                                                     opimai_real()+0 00000003 0dd0fed4 00000000 00000000
    BackgroundThreadStart@4()+529                                   opimai()+0 00000003 0dd0ff20 89c36268 09a20030
    77E6482C 00000000 0b187fb8 00000000 00000000 0b187fb8
    00000000 00000000 00000000 00000000 00000000 00000000
    ---------------- End of Call Stack Trace -----------------
    Call stack acquisition performance stats:
    setup time (lock acquis., memory alloc.): 0 ms
    frame get time (time the target proc was suspended): 0 ms
    symbol translation time: 0 ms
    total time: 0 ms
    Process diagnostic dump actual duration=0.109000 sec
    (max dump time=30.000000 sec)
    *** 2011-04-26 01:50:27.806
    Waited for process W000 to initialize for 112681 seconds
    *** 2011-04-26 02:20:27.884
    Process diagnostic dump for W000, OS id=9720
    Memory (Avail/Total): Ph:1919M/3839M, Ph+PgF:2557M/4446M, VA:1266M/2047M
    CPU Load: 43%
    Stack:
    ------------------- Call Stack Trace ---------------------
    calling location entry point arg #1 arg #2 arg #3 arg #4
    7C82847C 00000000 00000000 00000000 00000000 00000000
    77E61C88 77E61C96 00001a00 00001388 00000000 0dd0e55c
    _skgpwwait()+128                                                 00000000                                                         00001a00 00001388 004c4b40 0bab7ca0
    ksliwat()+2180                                                  skgpwwait()+0 0dd0e5c8 0babb460 2f36f3dc 004c4b40
    kslwaitctx()+146                                                ksliwat()+0 2ea26d20 2ea26d20 000001f4 00000000
    kslwait()+158                                                   kslwaitctx()+0 0dd0e7bc 000001f4 0dd0e7bc 06097a59
    ksvrdp()+26715                                                  kslwait()+0 000001f4 0000003e 00000000 0dd0fd90
    opirip()+813                                                    ksvrdp()+0 00000003 0c52e918 0c545e78 09a2f2dc
    opidrv()+1357                                                   opirip()+0 00000032 00000004 0dd0fea8 00000000
    sou2o()+45                                                      opidrv()+0 00000032 00000004 0dd0fea8 00000000
    opimaireal()+263 _sou2o()+0                                                       0dd0fe9c 00000032 00000004 0dd0fea8
    opimai()+92                                                     opimai_real()+0 00000003 0dd0fed4 00000000 00000000
    BackgroundThreadStart@4()+529                                   opimai()+0 00000003 0dd0ff20 80828c73 09a20030
    77E6482C 00000000 0b187f70 00000000 00000000 0b187f70
    00000000 00000000 00000000 00000000 00000000 00000000
    ---------------- End of Call Stack Trace -----------------
    Call stack acquisition performance stats:
    setup time (lock acquis., memory alloc.): 0 ms
    frame get time (time the target proc was suspended): 0 ms
    symbol translation time: 0 ms
    total time: 0 ms
    Process diagnostic dump actual duration=0.110000 sec
    (max dump time=30.000000 sec)
    *** 2011-04-26 02:20:27.994
    Waited for process W000 to initialize for 115689 seconds
    *** 2011-04-26 03:10:36.994
    Process diagnostic dump for W000, OS id=10068
    *** 2011-04-26 03:10:37.103
    Memory (Avail/Total): Ph:1933M/3839M, Ph+PgF:2575M/4446M, VA:1267M/2047M
    CPU Load: 32%
    Stack:
    ------------------- Call Stack Trace ---------------------
    calling location entry point arg #1 arg #2 arg #3 arg #4
    7C82847C 00000000 00000000 00000000 00000000 00000000
    77E61C88 77E61C96 00001a00 00001388 00000000 0dd0e55c
    _skgpwwait()+128                                                 00000000                                                         00001a00 00001388 004c4b40 0d1dceb8
    ksliwat()+2180                                                  skgpwwait()+0 0dd0e5c8 0d1e0678 2f36f3dc 004c4b40
    kslwaitctx()+146                                                ksliwat()+0 2ea26d20 2ea26d20 000001f4 00000000
    kslwait()+158                                                   kslwaitctx()+0 0dd0e7bc 000001f4 0dd0e7bc 06097a59
    ksvrdp()+26715                                                  kslwait()+0 000001f4 0000003e 00000000 0dd0fd90
    opirip()+813                                                    ksvrdp()+0 00000003 0c52e918 0c545e78 09a2f2dc
    opidrv()+1357                                                   opirip()+0 00000032 00000004 0dd0fea8 00000000
    sou2o()+45                                                      opidrv()+0 00000032 00000004 0dd0fea8 00000000
    opimaireal()+263 _sou2o()+0                                                       0dd0fe9c 00000032 00000004 0dd0fea8
    opimai()+92                                                     opimai_real()+0 00000003 0dd0fed4 00000000 00000000
    BackgroundThreadStart@4()+529                                   opimai()+0 00000003 0dd0ff20 8a7c5db0 09a20030
    77E6482C 00000000 0b1a9bc0 00000000 00000000 0b1a9bc0
    00000000 00000000 00000000 00000000 00000000 00000000
    ---------------- End of Call Stack Trace -----------------
    Call stack acquisition performance stats:
    setup time (lock acquis., memory alloc.): 0 ms
    frame get time (time the target proc was suspended): 0 ms
    symbol translation time: 0 ms
    total time: 0 ms
    Process diagnostic dump actual duration=0.109000 sec
    (max dump time=30.000000 sec)
    *** 2011-04-26 03:10:37.103
    error 2103 detected in background process
    OPIRIP: Uncaught error 447. Error stack:
    *** 2011-04-26 03:35:37.103
    ORA-00447: fatal error in background process
    ORA-02103: PCC: inconsistent cursor cache (out-of-range cuc ref)
    Edited by: user8952784 on Apr 25, 2011 12:53 PM

    Hello,
    What is MOS?
    MOS stand for My Oracle Support (formelly called Metalink). You'll find below their link:
    https://support.oracle.com/
    You'll need the Customer Support Identifier ( CSI ) to get an account.
    As soon as, you can logon to MOS, then open a Service Request and send them the Alert log, trace file, ... and if possible an Incident Package so that they can diagnose the error you got.
    As you are in 11.1 you can generate an Incident Package with the help of the Automatic Diagnostic Repository ( ADR ). You may follow the procedure below to create the Incident Package and manage the call with MOS:
    http://download.oracle.com/docs/cd/E11882_01/server.112/e17120/diag002.htm#CHDJDBCH
    Hope this help.
    Best regards,
    Jean-Valentin

Maybe you are looking for