Error in creating Cache Group

Hi,
When i tried to create cache group i am getting below error
CREATE READONLY CACHE GROUP customer_orders
FROM myuser.customer
(cust_num NUMBER(6) NOT NULL,
region VARCHAR2(10),
name VARCHAR2(50),
address VARCHAR2(100),
PRIMARY KEY(cust_num)),
myuser.orders
(ord_num NUMBER(10) NOT NULL,
cust_num NUMBER(6) NOT NULL,
when_placed DATE NOT NULL,
when_shipped DATE NOT NULL,
PRIMARY KEY(ord_num),
FOREIGN KEY(cust_num) REFERENCES myuser.customer(cust_num)) ;
5220: Permanent Oracle connection failure error in OCIServerAttach(): ORA-12154: TNS:could not resolve the connect identifier specified rc = -1
5131: Cannot connect to backend database: OracleNetServiceName = "orcl_db", uid = "XXXXXXX", pwd is hidden, TNS_ADMIN = "C:\TimesTen11.2.2", ORACLE_HOME= ""
But my Oracle database Name is MYdatabase
Oracle LSNRCTL
LSNRCTL> status
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1522)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for 32-bit Windows: Version 11.2.0.2.0 - Production
Start Date 07-AUG-2012 10:31:38
Uptime 4 days 3 hr. 1 min. 55 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File C:\TimesTen11.2.2\listener.ora
Listener Log File E:\app\XXXXXXX\diag\tnslsnr\localhost\listener\alert\log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1522ipc)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1522)))
Services Summary...
Service "MYdatabaseXDB" has 1 instance(s).
Instance "MYdatabase", status READY, has 1 handler(s) for this service...
Service "MYdatabase" has 1 instance(s).
Instance "MYdatabase", status READY, has 1 handler(s) for this service...
Service "orcl" has 1 instance(s).
Instance "orcl", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully
how to change OracleNetServiceName = "orcl_db" to OracleNetServiceName = "MYdatabase"
Thanks!

You should create the cache groups by using cachadmin user, not use object owner user.
In Oracle DB:
SQL> @grantCacheAdminPrivileges "cacheadmin"
Please enter the administrator user id
The value chosen for administrator user id is cacheadmin
***************** Initialization for cache admin begins ******************
0. Granting the CREATE SESSION privilege to CACHEADMIN
1. Granting the TT_CACHE_ADMIN_ROLE to CACHEADMIN
2. Granting the DBMS_LOCK package privilege to CACHEADMIN
3. Granting the RESOURCE  privilege to CACHEADMIN
4. Granting the CREATE PROCEDURE  privilege to CACHEADMIN
5. Granting the CREATE ANY TRIGGER  privilege to CACHEADMIN
6. Granting the DBMS_LOB package privilege to CACHEADMIN
7. Granting the SELECT on SYS.ALL_OBJECTS privilege to CACHEADMIN
8. Granting the SELECT on SYS.ALL_SYNONYMS privilege to CACHEADMIN
9. Checking if the cache administrator user has permissions on the default
tablespace
     Permission exists
11. Granting the CREATE ANY TYPE privilege to CACHEADMIN
********* Initialization for cache admin user done successfully *********
SQL>In TimesTen:
Command> CREATE USER cacheadmin IDENTIFIED BY oracle;
User created.
Command> GRANT CREATE SESSION, CACHE_MANAGER, CREATE ANY TABLE, DROP ANY TABLE TO cacheadmin;
Command>
Command> CREATE USER oratt IDENTIFIED BY oracle;
User created.
Command> grant create session to oratt;
Command>
[oracle@tt1 ~]$ ttIsql "DSN=db_cache;UID=cacheadmin;PWD=oracle;OraclePWD=oracle"
Copyright (c) 1996-2010, Oracle.  All rights reserved.
Type ? or "help" for help, type "exit" to quit ttIsql.
connect "DSN=db_cache;UID=cacheadmin;PWD=oracle;OraclePWD=oracle";
Connection successful: DSN=db_cache;UID=cacheadmin;DataStore=/u01/app/oracle/datastore/db_cache;DatabaseCharacterSet=AL32UTF8;ConnectionCharacterSet=US7ASCII;DRIVER=/u01/app/oracle/product/11.2.1/TimesTen/tt1/lib/libtten.so;PermSize=100;TempSize=32;TypeMode=0;CacheGridEnable=0;OracleNetServiceName=ORCL;
(Default setting AutoCommit=1)
Command> call ttCacheUidPwdSet('cacheadmin','oracle');
Command>
Command> CREATE READONLY CACHE GROUP readcache
       >   AUTOREFRESH INTERVAL
       >   5 SECONDS
       > FROM oratt.readtab (
       >        a NUMBER NOT NULL PRIMARY KEY,
       >        b VARCHAR2(100) );
Command> Additionally dont forget to issue the grants for cacheadmin user in Oracle DB
SQL> GRANT SELECT ON readtab TO cacheadmin;
Grant succeeded.Regards,
Gennady

Similar Messages

  • Problem creating cache group for a table with data type varchar2(1800 CHAR)

    Hi,
    I am using TimesTen 7.0 with Oracle 10.2.0.4 server. While creating Cache Group for one of my table I'm getting the following error.
    5121: Non-standard type mapping for column TICKET.DESCRIPTION, cache operations are restricted
    5168: Restricted cache groups are deprecated
    5126: A system managed cache group cannot contain non-standard column type mapping
    The command failed.
    One of my filed type in oracle table is Varchar2(1800 CHAR). If I change the filed size to <=1000 it (E.g. Varchar2(1000 CHAR)) then the Create Cache command works fine.
    MyDatabase Character Set is UTF8.
    Is it possible to solve without changing the filed size in the Oracle Table?
    Request your help on this.
    Thanks,
    Sunil

    Hi Chris.
    The TimesTen server and the Oracle Client is installed on a 32-bit system.
    1. ttVersion
    TimesTen Release 7.0.5.0.0 (32 bit Linux/x86) (timesten122:17000) 2008-04-04T00:09:04Z
    Instance admin: root
    Instance home directory: /appl/TimesTen/timesten122
    Daemon home directory: /var/TimesTen/timesten122
    Access control enabled.
    2. Oracle DB details
    SQL> select * from v$version;
    BANNER
    Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bi
    PL/SQL Release 10.2.0.3.0 - Production
    CORE 10.2.0.3.0 Production
    TNS for Linux: Version 10.2.0.3.0 - Production
    NLSRTL Version 10.2.0.3.0 - Production
    Oracle Client - Oracle Client 10.2.0.4 running in a 32 bit Linux/x86
    3. ODBC Details
    Driver=/appl/TimesTen/timesten122/lib/libtten.so
    DataStore=/var/TimesTen/data
    PermSize=1700
    TempSize=244
    PassThrough=2
    UID=testuser
    OracleId=oraclenetservice
    OraclePwd=testpwd
    DatabaseCharacterSet=UTF8
    Thanks,
    Sunil

  • Error while creating product group

    hi,
    i am getting error while creating Product group.
    Required parameters missing when calling up module
    Message no. M3749
    Please suggest me.. how to cop this
    Regards,
    amit

    Dear Brahmankar,
    I am using product groups in SOP as well as in the normal plannning scenario.In the normal planning scenario I am giving my PIR's in MD61 for the entire group.Then I am running MRP in MD02 for my product group.System is generating all the requirements normally for the entire group .
    Please suggest me , this process is correct or it will create any problem in any module .
    Thanks & Regards
    Prabhakar

  • Error while creating resource group using non-globalzones.

    Dear all,
    Hi techs please guide me how to create failover resource group in nongloablzones.
    I'm getting error while creating resource group using non-globalzones.
    My setup:
    I have two node cluster running sun cluster 3.2 configured and running properly.
    node1: sun5
    nide2: sun8
    I have create non-globalzone "zone1" in node:sun5
    I have create non-globalzone "zone2" in node:sun8
    node:sun5# clrg create -n sun5:zone1,sun8:zone2 zonerg
    *(C160082) WARNING: one or more zones in the node list have never been fully booted in the cluster mode,verify that correct zone name was entered.*
    kindly guide me how to create Apache resource group using non-glabalzones, i'm new to sun cluster 3.2. please guide me step by step information.
    Thanks in advance,
    veera
    Edited by: veeraa on Dec 19, 2008 1:54 AM

    Hi Veera,
    Actually you are getting a warning message where one of two things could have happened. Either you specified an incorrect zone name or one of the zones has not been fully booted. It's likely that you haven't booted the zones, so please follow this:
    zoneadm list -iv
    If zone1 or zone2 are not running then boot and configure them
    zoneadm -z <zone> boot
    zlogin -C <zone>
    After that you can continue to follow the step by step instructions at
    http://docs.sun.com/app/docs/doc/819-2975/chddadaa?a=view
    These may also help
    http://blogs.sun.com/Jacky/entry/a_simple_expample_about_how
    http://blogs.sun.com/SC/en_US/entry/sun_cluster_and_solaris_zones
    Regards
    Neil

  • Integration Builder - runtime data cache - Error when creating cache list

    All,
    When I go into the Integration Builder --> Administration --> Runtime tab --> Data Cache
    I get a message saying "Error when creating cache list".
    All cache areas look ok and I do not see any other error.
    Also, RFC INTEGRATION_DIRECTORY_HMI looks good.
    Please advise.
    Thanks a lot.

    Hi,
      Use transaction SXI_CACHE to update the Integration Directory cache. Alternatively, you can use the following URLs to update the CPA cache. Use XIDIRUSER to refresh the cache.
    For complete cache refresh u2013 http://<hostname>:<port>/CPACache/refresh?mode=full
    For delta cache refresh u2013 http://<hostname>:<port>/CPACache/refresh?mode=delta
    If this does not solve the issue, check transaction SLDCHECK to ensure that connection to SLD is available. If the connection fails, check the configuration in the transaction SLDAPICUST. Make sure that the password maintained is correct and the maintained service user is not locked.
    Now in the Integration Repository go to Environment u2192 Clear SLD Data Cache. Also go to Integration Directoy and clear the cache using menu Environment u2192 Clear SLD Data Cache.
    Open the XI Start Page and click on Administration. On the Repository tab, choose Cache Overview. Refresh the cache using the buttons/icons on the right. Use XIDIRUSER to refresh the cache. Carry out cache refresh in the same way on the Directory and Runtime tabs.
    regards,
    ganesh.

  • Error when creating cache list

    Hi,
    We have installed SAP PI 7.1 on AIX 5.3.
    When we check Data cache Overview (RWB-- Administration) we are getting an error "Error when creating cache list"
    Also
    While trying to  Test Cache Connectivity Test under RWB--->Component Monitoring,
    we are facing the below issue "Cache notification from Integration Directory failed: Error when notifying cache receiver Unable to notify integration runtime (Java) of data changes
    For input string: "ngsvawrk211.uk.corporg.net" Attempt to fetch cache data from Integration Directory not yet started or still in process".
    Please help me to resovle this issue.
    Thanks
    Deepu

    HI,
    Is this problem solved ?
    Plz let me know if you have find any solution for this.
    Thanks & Regards,
    Mahesh

  • Permission problem while creating cache group

    Hi,
    I am trying to create cache groups on SQL developer in TimesTen Cache DB. I have connected to the CacheDB using schema owner/password (say HR/HR). While creating a cache group, I am required to set cache administrator, which in turn requires this user (that is the schema user) to have the CACHE_MANAGER permission.
    Is it necessary for the schema user to also be the cache_manager to be able to create a cache group?
    As per the documentation, no such requirement has been mentioned, which means I am probably missing a step in between.
    Also, if I connect to the DB via Cache Manager user (cacheuser/timesten with oracle as ORA pwd), I don't see the HR schema tables while creating a cache group.
    Could someone clarify this?
    Thanks in advance!
    Regards,
    Silky
    Applications Engineer
    Oracle India Pvt. Ltd.

    A cache admin user require CACHE_MANAGER privilege to do all cache operation. It has been documented here
    http://docs.oracle.com/cd/E21901_01/doc/timesten.1122/e21634/prereqs.htm#CHDJBIAE
    Please go through the section "Configuring a TimesTen database to cache Oracle data " for setting up cache in Timesten side.
    "As the instance administrator, use the ttIsql utility to grant the cache manager user cacheuser the required privileges:
    Command> GRANT CREATE SESSION, CACHE_MANAGER, CREATE ANY TABLE TO cacheuser;
    Command> exit "
    Hope you have run required script in Oracle side also. Section : Configuring the Oracle database to cache data in TimesTen
    Regards
    Rajesh

  • Automation for creating cache groups process

    Hi All,
    I've got ~100 tables in Oracle DB and I'd like to cache them.
    I dont want to define a 100 cache group because it is time consuming.
    Are there any method to automate the creating cache groups process?
    Thanks.

    Hi 928879,
    Unfortunately, there is no way to automate this process. You can write a script for unloading the tables' descriptions but the defining a cache groups (create read only cache group) you should write by hands.
    regards,
    Gennady

  • Unable to create cache groups from CASE-SENSITIVE oracle table's name

    Hello All
    I have some case-sensitive tables in a oracle database and their columns are the same too. I've tried to cache these tables into TimesTen under a read-only cache group. I think timesten cannot find
    case-sensitive tables because as soon as I changed name of the tables, the creation could succeeded. What can I do to overcome this issue? I don't want lose case-sensitive feature. Is it because of
    I'm using an old version of TimesTen(11.2.1.4.0)

    Hi Chris
    Thanks for your answer. I'm using SQL Developer(both graphical and by command) to manage Timesten db. When I'm about to select root table for cache group i can see the table and when I
    select on it, the caching procedures can not be done and it says your table does not have Primary Key; you can see below that this is not true and the table has two primary key. When I'm
    trying to create the cache group via command in work sheet the error is "TT5140: could not find HLR.SUBSCRIBER. may not have privileges"
    in Oracle:
    CREATE TABLE "HLR"."Subscriber"
    "SSI" NUMBER(10,0) NOT NULL ENABLE,
    "CCNC" VARCHAR2(50 BYTE) NOT NULL ENABLE,
    "Code" VARCHAR2(128 BYTE) DEFAULT NULL NOT NULL ENABLE,
    "Account" NVARCHAR2(32),
    "Mnemonic" NVARCHAR2(15),
    "Region" NVARCHAR2(32),
    "UserAddress" NVARCHAR2(32),
    "Name" NVARCHAR2(32) NOT NULL ENABLE,
    "VPNCode" NUMBER(10,0),
    "VPNCCNC" VARCHAR2(50 BYTE),
    "SubOrgId" NUMBER(10,0),
    "SubscriberTypeId" NUMBER(2,0) DEFAULT 5 NOT NULL ENABLE,
    "StatusId" NUMBER(2,0) DEFAULT 1 NOT NULL ENABLE,
    "SubscriberClass" NUMBER(2,0),
    "DefinedIpAddressId" NUMBER(10,0),
    CONSTRAINT "Subscriber_PK" PRIMARY KEY ("SSI", "CCNC") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT CELL_FLASH_CACHE DEFAULT) TABLESPACE "USERS" ENABLE,
    CONSTRAINT "FK_DefinedIpAdd_Subscriber" FOREIGN KEY ("DefinedIpAddressId") REFERENCES "HLR"."DefinedIPAddress" ("Id") ENABLE,
    CONSTRAINT "Fk_Status_Subscriber" FOREIGN KEY ("StatusId") REFERENCES "HLR"."Status" ("Id") ENABLE,
    CONSTRAINT "Fk_SubOrg_Subscriber" FOREIGN KEY ("SubOrgId") REFERENCES "HLR"."SubOrganization" ("Id") ENABLE,
    CONSTRAINT "Fk_SubscriberType_Subscriber" FOREIGN KEY ("SubscriberTypeId") REFERENCES "HLR"."SubscriberType" ("Id") ENABLE,
    CONSTRAINT "Fk_VPN_Subscriber" FOREIGN KEY ("VPNCode", "VPNCCNC") REFERENCES "HLR"."VPN" ("SSI", "CCNC") ENABLE
    in TimesTen:
    CREATE READONLY CACHE GROUP "PRO1"
    AUTOREFRESH MODE INCREMENTAL INTERVAL 5 MINUTES
    STATE PAUSED
    FROM "HLR"."Subscriber"
    "SSI" NUMBER(10,0) NOT NULL ,
    "CCNC" VARCHAR2(50 BYTE) NOT NULL ,
    "Code" VARCHAR2(128 BYTE) NOT NULL ,
    "Account" NVARCHAR2(32),
    "Mnemonic" NVARCHAR2(15),
    "Region" NVARCHAR2(32),
    "UserAddress" NVARCHAR2(32),
    "Name" NVARCHAR2(32) NOT NULL ,
    "VPNCode" NUMBER(10,0),
    "VPNCCNC" VARCHAR2(50 BYTE),
    "SubOrgId" NUMBER(10,0),
    "SubscriberTypeId" NUMBER(2,0) DEFAULT 5 NOT NULL ,
    "StatusId" NUMBER(2,0) DEFAULT 1 NOT NULL ,
    "SubscriberClass" NUMBER(2,0),
    "DefinedIpAddressId" NUMBER(10,0),
    PRIMARY KEY("CCNC","SSI")
    )

  • Error when creating purchasing group.

    Hi,
         i am facing two issue when creating purchasing group. i never had such a situation before.
    i have created two p.groups successfully and moved to quality.later i figured one of them is missing USER ID now when i try to enter user ID in user column getting below mention error.
    Entry XXXX Does not exist in USR02-check your entry.message no 00058.i have checked in USR02 None of ID's exist i used in newly created groups.but ID i used in other groups has no issue even doesn't  exist in USR02,but it shows value US in OB(Object type filed).
    both ID's are not being created in Development in other words SAP ID's with SU01 but we never had such issue before while changing or creating now purchasing group.
    Another thing i have noticed that OB(Object type field is missing in Dev.) i can see that field in Quality even in sand box but not visible in Dev.that when i use OME4.but when i use SM30-V_024 i can see the OB field.Somehow OB field is hidden when going through SPRO or ME04.
    This is about Sap ver.4.7
    Suggestion are much appreciated.

    Hi,
    Before creating new purchasing groups- 1st check your user ID is authorized to purchasing groups create in t.code: OME4.
    In development system you can creates new purchasing groups with USER ID and telephone numbers, upon saving system will create a transport request. Later you can transfer related transport request to quality system for your testing.
    For example: You can creates new purchasing groups with USER ID and telephone numbers
    Purchasing groups-------------USER ID ---------------Telephone numbers
    Z01-----------------------------------USR01------------------232569875
    Z02-----------------------------------USR02------------------232589876
    Regards,
    Biju K

  • Uanble to create Cache Group from Cache Administrator

    Folks,
    I am attempting to create a cache group from the Cache Administrator.
    I have set all the data source properties and am able to login to the data source but when I attempt to create a cache group i.e. I specify the name & type of cache group, I get this message in red at the bottom saying "Gathering table information, please wait" and... that's it. Nothing happens!
    I am able to move the cursor etc. but the cache group is not defined.
    Anybody have any suggestions as to what I'm doing wrong? Any help would be appreciated!
    keshava

    You cannot have multiple root tables within one cache group. The requirements for putting tables together into one cache group are very strict; there must be one top level table (the root table) and there can optionally be multiple child tables. The child tables must be related via foreign keys either to the root table or to a child table higher in the hierarchy.
    The solution for your case is to put one ofthe root tables and the child table into one cache group and the other root table into a separate cache group. If you do that you need to take care of a few things:
    1. You cannot define any foreign keys between tables in different cache groups in TimesTen (the keys can exist in Oracle) so the application must enforce the referential integrity itself for those cases.
    2. If you load data into one cache group (using LOAD CACHE GROUP or 'load on demand') then Timesten will not automatically load the corresponding data into the other cache group (sicne it does not know about the relationship). The application will need to load the data into the other cache group explicitly.
    There are no issues regarding transactional consistency when changes are pushed to Oracle. TimesTen correctly maintains and enforces transactional consistency regardless of how tables are arranged in cache groups.
    Chris

  • Error while creating Product Group in SOP

    HI Gurus,
    When I am trying to create the product group in SOP in MC84 , I get follwoing error.
    "Product group cannot be created (batch input error 7)  Message no. MA218"
    how to slove this?
    Thanks in advance.
    RG

    Rajiv,
    Basically if there are mismatch in the Field selection and fields visible in MC84 you would get this error.
    The workaround suggested by SAP is to create a product group using MM01 with material type PROD, latter on using the change product group transaction MC86 you can assign its members.
    Regards,
    Prasobh

  • Error when creating product group

    Hai frnds,
            While creating a product group the following error occurs
    REQUIRED PARAMETERS MISSING WHEN CALLING UP MODULE
    help me in the issue
    regards
    Karthik.b

    Hi,
    Please refer this thread,
    https://www.sdn.sap.com/irj/sdn/profile?userid=3781605
    Regards,
    R.Brahmankar

  • Error when creating master group

    I am trying to set up a replication environment with only one master site. I do
    it by running SQL script using SQLPlus (rather than using the Wizard). The
    following is the script I used to create the master site:
    create user REPADMIN identified by REPADMIN;
    BEGIN
    DBMS_REPCAT_ADMIN.GRANT_ADMIN_ANY_REPGROUP(
    userid => 'REPADMIN');
    END;
    grant comment any table to REPADMIN;
    grant lock any table to REPADMIN;
    grant execute any procedure to REPADMIN;
    All lines completed successfully. Then I connect as "repadmin" and try to
    create a master group. The following is the screen capture when I ran the
    SQLPlus:
    Connected to:
    Oracle7 Server Release 7.3.4.4.1 - Production
    With the distributed, replication and parallel query options
    PL/SQL Release 2.3.4.4.1 - Production
    SQL> BEGIN
    DBMS_REPCAT.CREATE_MASTER_REPGROUP(
    gname => 'REPGRP01',
    qualifier => '',
    group_comment => '');
    END;
    2 3 4 5 6 7 BEGIN
    ERROR at line 1:
    ORA-01403: no data found
    ORA-06512: at "SYS.DBMS_REPCAT_UTL", line 2121
    ORA-06512: at "SYS.DBMS_REPCAT_MAS", line 420
    ORA-06512: at "SYS.DBMS_REPCAT", line 45
    ORA-06512: at line 2
    I have no idea on the error message and even don't how to trace the error.
    Is there anything I missed when creating the replication administrator
    'repadmin'? Or anything I have to set up as well before I can create a master
    group?
    p.s.
    1) The version of the Database is 7.3.4.4.1
    2) I did try to create a master group using the Wizard in DBA studio, but
    same error messages appeared.
    Thanks in advance.
    Kae

    Hi,
    Before creating new purchasing groups- 1st check your user ID is authorized to purchasing groups create in t.code: OME4.
    In development system you can creates new purchasing groups with USER ID and telephone numbers, upon saving system will create a transport request. Later you can transfer related transport request to quality system for your testing.
    For example: You can creates new purchasing groups with USER ID and telephone numbers
    Purchasing groups-------------USER ID ---------------Telephone numbers
    Z01-----------------------------------USR01------------------232569875
    Z02-----------------------------------USR02------------------232589876
    Regards,
    Biju K

  • Error in creating function group

    Hi
    In my z function group, do i need to declare all the parameters used in function modules explicitly in any top include?.it was not declared as such in the standard function group from which i copied .

    Hello ,
    Sometimes when u copy any standard function group into ZFuntion group u will get some systax errors saynig some varaible is not defined .
    then
    goto SE37
    Enter the fucntion module  and get into function bulinder
    select EDIT Menu option and Interface Submenu option inthat u will find GLOBALIZE PARAMETERS and LOCALIZE PARAMETERS  Just do that operation u will be free of errors.
    regards

Maybe you are looking for