JboInitialContextFactory synonym error

I am trying to setup up two users with each tablespace. And for each user I want to deploy BC4J components. I then have EJB clients to lookup those BC4J in local mode.
All this is working very fine when using one user. But as soon as I have setup the new user an tablespace, environment etc. it does not work for the first user.
The problem is that I get a ClassCastException when trying to lookup the Application Module.
If I then just executes "loadjava.... -s ..." with the JboInitialContextFactory for the first user, then it works again, but not for the new user now.
So is there anything I can do about this public synonym and AppModule lookup, so I can have two user on my Oracle8I 8.1.6, running BC4J components in both..
Thanks in advance.
Jesper Birch

Hi Laura!
Here is the stack trace from (bdump):
*** SESSION ID:(14.34322) 2000-08-01 09:05:20.907
Diagnostics: Silencing all diagnostic output (use -Djbo.debugoutput=console to see it)
java.lang.ClassCastException
at com.productfact.ejb.UserEjbClass.getUserAppModule(UserEjbClass.java:214)
at com.productfact.ejb.UserEjbClass.findUser(UserEjbClass.java:766)
at oracle.aurora.ejb.gen.pfbirch_UserEjb.EjbObject_UserEjb.findUser(EjbObject_UserEjb:348)
at com.productfact.ejb._tie_UserEjb.findUser(_tie_UserEjb.java:242)
at com.productfact.ejb._UserEjbImplBase._execute(_UserEjbImplBase.java:307)
at com.productfact.ejb._UserEjbImplBase._execute(_UserEjbImplBase.java:138)
at com.visigenic.vbroker.orb.SkeletonDelegateImpl.execute(SkeletonDelegateImpl.java)
at oracle.aurora.server.GiopProtocolAdapter.doRequest(GiopProtocolAdapter.java)
at com.visigenic.vbroker.orb.GiopProtocolAdapter.dispatchMessage(GiopProtocolAdapter.java)
at oracle.aurora.server.ThreadSessionDispatcher.run(ThreadSessionDispatcher.java)
at oracle.aurora.server.VCIiopConnection.processRequest(VCIiopConnection.java)
at oracle.aurora.server.GiopServer._service(GiopServer.java)
at oracle.aurora.server.GiopServer.service(GiopServer.java)
at oracle.aurora.net.VirtualCircuit.processRequest(VirtualCircuit.java)
at oracle.aurora.net.Presentation.handleRequest(Presentation.java)
And the code being executed:
private InitialContext getJboContext() throws NamingException {
if ( this.m_jboContext != null ) {
return this.m_jboContext;
Hashtable env = new Hashtable(10);
env.put( javax.naming.Context.INITIAL_CONTEXT_FACTORY, JboContext.JBO_CONTEXT_FACTORY );
env.put( JboContext.DEPLOY_PLATFORM, JboContext.PLATFORM_LOCAL );
this.m_jboContext = new InitialContext( env );
return ( this.m_jboContext );
private ApplicationModule getUserAppModule() throws RemoteException {
if ( this.m_userAppModule != null ) {
this.m_userAppModule.sync();
return this.m_userAppModule;
try {
ApplicationModuleHome userAppHome = (ApplicationModuleHome) getJboContext().lookup( "net.chili.business.user.UserModule" );
this.m_userAppModule = userAppHome.create();
catch ( NamingException e ) {
log.logErr( "getUserAppModule failed...", e );
throw new RemoteException( "getUserAppModule failed: " + e.getMessage() );
return ( this.m_userAppModule );
And it is in the lookup line the exception raises, but before anything can be catched in this code.
Best regards
Jesper Birch

Similar Messages

  • Registering an Environment CC&B 2.3.1 (Synonym Error)

    I am registering an environment for Compare Source using the Registration Utility EnvSetup.exe
    My Supporting environment is DEMO(Source) and the Supported environment is the CC&B Blank instance(Target)
    I am getting a Synonym Creation error does anybody know the fix for this issue
    Regards

    What specifically is the error you are getting? It may be permissions on the user within Oracle causing the fault or something else. Without the error message it is pretty hard to figure out the issue.

  • F4 describe for packages with public synonyms error

    v1.1.0.23 If I hit the F4 key to do a describe for a package that has a public synonym, an error box pops up that says "No valid query. No query found for version of the selected database" . After 5 presses of the OK button, a flyout window displays that contains the package spec.

    Hi
    I am not sure but maybe you need to use this command:
    SQL> insert into ums_sita_address values
    ('EK','EK','DXB',SITA_ADDRESSES_TY());
    SITA_ADDRESSES_TY() instead SITA_ADDRESSES_NT
    Regards

  • Synonyms Error while EXPDP/IMPDP

    Hi Firends..
    I have to refresh my UAT DB with my Prod DB while doing so i always have to recreate the synonyms and also have to grant the priveleges once again on the target DB.
    As i am using EXPDP to backup my DB and as this being a logical backup and a logical backup means the objects which includes synonyms as well, are backed up and then during import this should be recreated in the target DB.
    Following are the command that i am using:
    expdp dumpfile=file_name.dmp logfile=logfile_name.log schemas=abc_liv directory=DATA_PUMP_DIR status=100 exclude=statistics
    impdp dumpfile=file_name.dmp logfile=logfile_name.log remap_schema=abc_liv:abc directory=DATA_PUMP_DIRwhere:
    abc_liv = prod schema
    abc = uat schema
    Note:
    UAT and Prod DB both has three schemas each and there are lots of dependencies among the three schemas.
    UAT schemas names are different and Prod schemas names are different.
    Kindly enlighten me...
    BR

    Thanks Guys,
    OS:RHEL 64 bit
    DB:11.2.0.2 64 bit SE
    I do drop the entire schema and then recreate the same schema. Following is the command that i use:
    drop user schema_name cascade;As the cascade keyword is used, all the schema objects are also dropped along with the user and then i have a fresh schema of the same name which is dumped with the data of the Prod DB.
    Following are the errors that i am getting during Import:(Too many errors)
    ALTER_PACKAGE_SPEC:"schema_name"."PKG_LMS_ALO_PKG_MAIN" created with compilation warnings
    ORA-39082: Object type ALTER_PACKAGE_SPEC:"schema_name"."PKG_REROUTE_MASTERS" created with compilation warnings
    ORA-39082: Object type ALTER_PACKAGE_SPEC:"schema_name"."PKG_WF_GLOBAL_VARIABLES" created with compilation warnings
    Processing object type SCHEMA_EXPORT/FUNCTION/ALTER_FUNCTION
    ORA-39082: Object type ALTER_FUNCTION:"schema_name"."CHECKDUPLICAT" created with compilation warnings
    ORA-39082: Object type ALTER_FUNCTION:"schema_name"."CHG_FUN_GET_CHARGE_DETAILS" created with compilation warnings
    ORA-39082: Object type ALTER_FUNCTION:"schema_name"."CHG_FUN_GET_CHGBASIS_DESC" created with compilation warnings
    ORA-39082: Object type ALTER_FUNCTION:"schema_name"."CHG_FUN_GET_PENAL_APPLIC_YN" created with compilation warnings
    ORA-39082: Object type ALTER_FUNCTION:"schema_name"."CPF_FUN_EXT_AGENCY_OTHER" created with compilation warnings
    ORA-39082: Object type ALTER_FUNCTION:"schema_name"."DOC_FUN_GETSMDESC" created with compilation warnings
    ORA-39082: Object type ALTER_FUNCTION:"schema_name"."FUNCTION_SET_EXPECTEDAPPRDATE" created with compilation warnings
    ORA-39082: Object type ALTER_FUNCTION:"schema_name"."FUNCTION_SET_EXPECTEDFIDATE" created with compilation warnings
    ORA-39082: Object type ALTER_FUNCTION:"schema_name"."FUN_ACTIVITY_COMPLETED_YN" created with compilation warnings
    ORA-39082: Object type ALTER_FUNCTION:"schema_name"."FUN_ACTIVITY_DONEYN" created with compilation warnings
    ORA-39082: Object type ALTER_FUNCTION:"schema_name"."FUN_ACTUAL_DISB_DONE_YN" created with compilation warnings
    ORA-39082: Object type ALTER_FUNCTION:"schema_name"."FUN_ADD_UPD_EXP" created with compilation warnings
    ORA-39082: Object type ALTER_FUNCTION:"schema_name"."FUN_ADV_INSTALL_DISPLAY_YN" created with compilation warnings
    ORA-39082: Object type ALTER_FUNCTION:"schema_name"."WFS_GET_USER_MODULE_SPECIFIED" created with compilation warnings
    ORA-39082: Object type ALTER_FUNCTION:"schema_name"."WF_FUN_GET_AVL_PARAM_DETAILS" created with compilation warnings
    ORA-39082: Object type ALTER_FUNCTION:"schema_name"."WF_FUN_GET_NO_OF_CASES" created with compilation warningsProcessing object type SCHEMA_EXPORT/PROCEDURE/ALTER_PROCEDURE
    ORA-39082: Object type ALTER_PROCEDURE:"schema_name"."ADD_PARAMETER" created with compilation warningsORA-39082: Object type ALTER_PROCEDURE:"schema_name"."CHECK_APPL_IMPACT_PERF_REROUTE" created with compilation warnings
    ORA-39082: Object type ALTER_PROCEDURE:"schema_name"."CHECK_FAULT" created with compilation warnings
    ORA-39082: Object type ALTER_PROCEDURE:"schema_name"."FEE_WAIVER_REQ_M_YN" created with compilation warnings
    ORA-39082: Object type ALTER_PROCEDURE:"schema_name"."FIND_DEDUP_MATCH" created with compilation warningsORA-39082: Object type ALTER_PROCEDURE:"schema_name"."FIND_DEDUP_MATCH_APPL" created with compilation warnings
    ORA-39082: Object type ALTER_PROCEDURE:"schema_name"."GENERATE_ENVELOPE" created with compilation warnings
    ORA-39082: Object type ALTER_PROCEDURE:"schema_name"."GENERATE_TRNAUDIT_LOG" created with compilation warnings
    ORA-39082: Object type ALTER_PROCEDURE:"schema_name"."GET_DOCUMENTS_FORADDITION_XML" created with compilation warnings
    ORA-39082: Object type ALTER_PROCEDURE:"schema_name"."GET_DOCUMENTS_FORWAIVER_XML" created with compilation warnings
    ORA-39082: Object type ALTER_PROCEDURE:"schema_name"."LMSRSP_CMPSUM_OUTSTPORTFOLIO" created with compilation warnings
    ORA-39082: Object type ALTER_PROCEDURE:"schema_name"."LMSRSP_CUST_OS_EXP_SUM" created with compilation warnings
    ORA-39082: Object type ALTER_PROCEDURE:"schema_name"."LMSRSP_FUTURE_INFLOWS" created with compilation warningsORA-39082: Object type ALTER_PROCEDURE:"schema_name"."LMSRSP_INTEREST_CERTIFICATE" created with compilation warnings
    ORA-39082: Object type ALTER_PROCEDURE:"schema_name"."LMSRSP_NONSTARTERCASE_DET" created with compilation warnings
    ORA-39082: Object type ALTER_PROCEDURE:"schema_name"."LMSRSP_NONSTARTERCASE_SUM" created with compilation warnings
    ORA-39082: Object type ALTER_PROCEDURE:"schema_name"."LMSRSP_ODPREEMI_EMISUMMARY" created with compilation warnings
    ORA-39082: Object type ALTER_PROCEDURE:"schema_name"."LMSRSP_SHORT_PDC_REPORT" created with compilation warningsORA-39082: Object type ALTER_PROCEDURE:"schema_name"."LOS_BATCH_PROCEDURE" created with compilation warnings
    ORA-39082: Object type ALTER_PROCEDURE:"schema_name"."PC_CALC_RISK_PARAMETERS" created with compilation warnings
    ORA-39082: Object type ALTER_FUNCTION:"schema_name"."FUN_ALLOC_SPFC_USER" created with compilation warnings
    ORA-39082: Object type
    CHEMA_EXPORT/VIEW/VIEWProcessing object type SCHEMA_EXPORT/VIEW/GRANT/OWNER_GRANT/OBJECT_GRANT
    ORA-39082: Object type VIEW:"schema_name"."AST_VEW_ASSET" created with compilation warnings
    ORA-39082: Object type VIEW:"schema_name"."AST_VEW_ASSETTYPE" created with compilation warnings
    ORA-39082: Object type VIEW:"schema_name"."AST_VEW_ASSET_TYPE" created with compilation warnings
    ORA-39082: Object type VIEW:"schema_name"."AST_VEW_ASTCLASS" created with compilation warningsORA-39082: Object type VIEW:"schema_name"."AST_VEW_ATTR_MAPPING" created with compilation warnings
    ORA-39082: Object type VIEW:"schema_name"."AST_VEW_EXT_AGENCY" created with compilation warnings
    ORA-39082: Object type VIEW:"schema_name"."AST_VEW_VEHICLE_TYPE" created with compilation warnings
    ORA-39082: Object type VIEW:"schema_name"."BASE_SEC_MST_USERPROFILE" created with compilation warnings
    ORA-39082: Object type VIEW:"schema_name"."CHG_RPT_VEW_CHGBASISCODE" created with compilation warnings
    ORA-39082: Object type VIEW:"schema_name"."CHG_RPT_VEW_TAX_DETAILS" created with compilation warnings
    ORA-39082: Object type VIEW:"schema_name"."CHG_VEW_ACC_BOOKS" created with compilation warningsORA-39082: Object type VIEW:"schema_name"."CHG_VEW_ACC_METHOD" created with compilation warnings
    ORA-39082: Object type VIEW:"schema_name"."CHG_VEW_AMORT_METHOD" created with compilation warnings
    ORA-39082: Object type VIEW:"schema_name"."CHG_VEW_CALC_BASIS" created with compilation warnings
    ORA-39082: Object type
    VIEW:"schema_name"."CHG_VEW_CALC_FROM" created with compilation warnings
    ORA-39082: Object type VIEW:"schema_name"."CHG_VEW_CALC_TYPE" created with compilation warnings
    ORA-39082: Object type VIEW:"schema_name"."CHG_VEW_CHG_RECOMODE" created with compilation warnings
    ORA-39082: Object type VIEW:"schema_name"."CHG_VEW_EVENT" created with compilation warnings
    ORA-39082: Object type VIEW:"schema_name"."CHG_VEW_FEES" created with compilation warningsORA-39082: Object type VIEW:"schema_name"."CHG_VEW_FEES_RANGE" created with compilation warnings
    ORA-39082: Object type VIEW:"schema_name"."CHG_VEW_FEE_ACC_DETAILS" created with compilation warnings
    ORA-39082: Object type VIEW:"schema_name"."CHG_VEW_FEE_DETAILS" created with compilation warnings
    ORA-39082: Object type VIEW:"schema_name"."CHG_VEW_FEE_MST_DETAILS" created with compilation warnings
    ORA-39082: Object type IEW:"schema_name"."V_LMS_CHEQUE_BOUNCE_LETTER" created with compilation warnings
    ORA-39082: Object type VIEW:"schema_name"."V_LMS_ACCRUED_INCOME_REPORT" created with compilation warnings
    ORA-39082: Object type VIEW:"schema_name"."V_LMS_REPAY_FREQ" created with compilation warnings
    Processing object type SCHEMA_EXPORT/PACKAGE/PACKAGE_BODY
    ORA-39082: Object type PACKAGE_BODY:"schema_name"."AST_PKG_ASSET" created with compilation warnings
    ORA-39082: Object type PACKAGE_BODY:"schema_name"."CHG_PKG_API" created with compilation warnings
    ORA-39082: Object type PACKAGE_BODY:"schema_name"."DOC_PKG_DOCUMENT" created with compilation warnings
    ORA-39082: Object type PACKAGE_BODY:"schema_name"."EXT_PKG_EXT_AGENCY" created with compilation warnings
    ORA-39082: Object type PACKAGE_BODY:"schema_name"."PKG_ACCOUNT" created with compilation warnings
    ORA-39082: Object type PACKAGE_BODY:"schema_name"."PKG_ACCOUNTING" created with compilation warnings
    ORA-39082: Object type PACKAGE_BODY:"schema_name"."PKG_ADV_ALLOCATION" created with compilation warnings
    ORA-39082: Object type PACKAGE_BODY:"schema_name"."PKG_ALLOCATION" created with compilation warnings
    ORA-39082: Object type PACKAGE_BODY:"schema_name"."PKG_ASSET" created with compilation warningsORA-39082: Object type PACKAGE_BODY:"schema_name"."PKG_BASE_SEC_AUDIT" created with compilation warnings
    ORA-39082: Object type PACKAGE_BODY:"schema_name"."PKG_CHARGES" created with compilation warnings
    ORA-39082: Object type PACKAGE_BODY:"schema_name"."PKG_CRS_XML" created with compilation warnings
    ORA-39082: Object type PACKAGE_BODY:"schema_name"."PKG_DDP_MAIN" created with compilation warnings
    ORA-39082: Object type PACKAGE_BODY:"schema_name"."PKG_EODDETAILS" created with compilation warnings
    ORA-39082: Object type PACKAGE_BODY:"schema_name"."PKG_EOD_PROCESS" created with compilation warnings
    ORA-39082: Object type
    TRIGGER:"schema_name"."TRNTRG_T_APPLICANT_BUSINESS_IN" created with compilation warnings
    ORA-39082: Object type TRIGGER:"schema_name"."TRNTRG_T_APPLICANT_BUSINESS_IN" created with compilation warnings
    ORA-39082: Object type TRIGGER:"schema_name"."TRNTRG_ADDRESS_DETAILS" created with compilation warnings
    ORA-39082: Object type TRIGGER:"schema_name"."TRNTRG_ADDRESS_DETAILS" created with compilation warnings
    ORA-39082: Object type TRIGGER:"schema_name"."TRNTRG_T_APPLICANT_EMPLOYMENT" created with compilation warnings
    ORA-39082: Object type TRIGGER:"schema_name"."TRNTRG_T_APPLICANT_EMPLOYMENT" created with compilation warnings
    ORA-39082: Object type TRIGGER:"schema_name"."TRNTRG_T_APPLICANT_LIABILITIES" created with compilation warnings
    ORA-39082: Object type TRIGGER:"schema_name"."TRNTRG_T_APPLICANT_LIABILITIES" created with compilation warnings
    ORA-39082: Object type TRIGGER:"schema_name"."TRNTRG_T_SUBPRODUCT" created with compilation warnings
    ORA-39082: Object type TRIGGER:"schema_name"."TRNTRG_T_SUBPRODUCT" created with compilation warnings
    ORA-39082: Object type TRIGGER:"schema_name"."TRNTRG_T_ORG_APPLICANT_DETAILS" created with compilation warnings
    ORA-39082: Object type TRIGGER:"schema_name"."TRNTRG_T_ORG_APPLICANT_DETAILS" created with compilation warnings
    Processing object type SCHEMA_EXPORT/JOB
    Job "SYSTEM"."SYS_IMPORT_FULL_01" completed with 1687 error(s) at 17:32:05Once the import is done, I recreate the synonyms and also give the required grants and then i get around 1750 invalid objects in the DB and when i run the UTLRP to compile the objects the invalid count is reduced to 89..
    BR
    Edited by: user12045405 on 11 Jul, 2012 5:28 AM
    Edited by: user12045405 on 11 Jul, 2012 5:29 AM

  • Looping chain of synonyms error

    I am trying to run the following query but get the error
    ERROR at line 4:
    ORA-06550: line 4, column 31:
    PL/SQL: ORA-01775: looping chain of synonyms
    Can anyone help?
    declare
    cursor c1 is
    select w.ward_code, w.ward_name, p.id, p.blpu_keyval
    from political.ward w, [email protected] p
    where sdo_relate(w.shape, p.shape, 'mask=anyinteract querytype=window') = 'TRUE'
    and rownum < 2;
    begin
    for rec1 in c1 loop
    begin
    update [email protected]
    set war_id = rec1.ward_code
    where id = rec1.id;
    end;
    end loop;
    end;
    /

    note that this loop is recognized by oracle, but a loop over a dblink will just make your query loops for ages... until you kill it
    SQL> connect scott/tiger@lsc62
    Connected.
    SCOTT@lsc62/10.1.0.4
    SQL> create database link lsc68 connect to scott identified by tiger using 'LSC68';
    Database link created.
    SCOTT@lsc62/10.1.0.4
    SQL> create synonym looping for looping@lsc68;
    Synonym created.
    SCOTT@lsc62/10.1.0.4
    SQL> connect scott/tiger@lsc68;
    Connected.
    SCOTT@LSC68/10.1.0.3
    SQL> create database link lsc62 connect to scott identified by tiger using 'LSC62';
    Database link created.
    SCOTT@lsc68/10.1.0.3
    SQL> create synonym looping for looping@lsc62;
    Synonym created.
    SCOTT@lsc68/10.1.0.3
    SQL> select * from looping;
    ^C
    Terminated
    {LSC68/10.1.0.3}oracle@dbsrv85a /tmp/tl30
    $    

  • Has anyone else seen ORA-00980 synonym errors when using XMLConcat?

    Hi,
    Using 10.2.0.2 ( as shown by select * from v$instance), I get an ORA-00980 "Synonym translation is no longer valid" message.
    This occurs for any attempt to use XMLConcat, for a simple example:
    SELECT XMLConcat(XMLElement("first", 'Steve'),
    XMLElement("last", 'Jones'))
    AS "RESULT"
    FROM dual;
    I'm guessing that there is/was a problem with an upgrade since I've found a few vague references to a bug fixed in 9.2 that seems to point in that direction.
    Our DBA team is looking into it, but it would be interesting to hear if other developers hit the same problem and if there was a relatively easy fix.
    Thanks!

    SQL> conn / as sysdba
    SQL> @catnoqm
    SQL> @catqmTry to fix it first though manually. The upgrade probably went wrong somehow...
    On the FAQ on this forum Mark states:
    XML DB FAQ
    How do I uninstall XML DB ? How do I re-install XML DB ?
    Posted: Sep 11, 2006 10:28 PM    mdrake in response to: mdrake    
    To uninstall XML DB run the sql script $ORACLE_HOME/rdbms/admin/catnoqm.
    Note that running this script will
    1. DELETE ALL INFORMATION STORED IN THE ORACLE XML DB REPOSITORY AND XDB DATABASE SCHEMA
    2. PERMANENTLY INVALIDATE ANY XMLTYPE TABLES OR COLUMNS THAT ARE ASSOCIATED WITH A REGISTERED XML SCHEMA.
       IF THE XDB USER IS DROPPED THERE IS NO WAY TO RECOVER THE DATA IN THESE XMLTYPE TABLES OR COLUMNS.
    Please do not uninstall XML DB in a production database without explicit instructions from Oracle Support to do so.
    To re-install XDB, after running catnoqm.sql, stop and restart the instance and then run catqm as described in the previous post. Backup your database first via RMAN...
    Edited by: Marco Gralike on Feb 13, 2009 8:11 PM

  • BUG No Toplink with HSQLDB support

    1. Start HSQLDB in server mode
    2. Log in as SA
    3. Create two tables (in public schema, which is the default) with parent-child relation
    4. Create new schema, switch to new schema
    5. Create two tables (in public schema, which is the default) with parent-child relation in new schema
    6. Create HSQLDB library in JDeveloper
    6. Create connection in JDeveloper jdbc:hsqldb:hsql://...
    7. Create JDeveloper project
    8. Create Toplink map
    9. Start "Java Objects from Tables" wizard.
    10a. Select a table from public schema
    11a. "Public schema is only for synonyms" error message appears
    10b. Select a child table from the other schema.
    11b. "A foreign key constraint must define at least one column" error message appears
    I am using JDeveloper 10.1.3.1.0.3914 and HSQLDB 1.8.0.

    Hi,
    don't have HSQLDB for testing, but typing HSQLDB TopLink into a Google search brought up many messages of people that got this combination working.
    I suggest to post this question on the TopLink forum here on OTN
    Frank

  • UPGRADING,DOWNGRADING,APPLYING PATCH 적용시 _SYSTEM_TRIG_ENABLED=FALSE

    제품 : ORACLE SERVER
    작성날짜 : 2004-03-09
    UPGRADING,DOWNGRADING,APPLYING PATCH 적용시 SYSTEMTRIG_ENABLED=FALSE
    =======================================================================
    PURPOSE
    Upgrading / Downgrading / Installing / Deinstalling 시 중요한 순서로
    SYSTEMTRIG_ENABLED PARAMETER 설명
    EXPLAIN
    Upgrading / Downgrading / Installing / Deinstalling 시 중요한 절차
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Versions & Platforms 영향
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    o 이 정보는 모든 플랫폼의 Oracle 8i (or 9i)에서 적용된다.
    o Oracle8i or 9i release 로 upgraded / migrated 하는 경우가 아니라면 Oracle 8.0 , Oracle 7 의 경우에는 적용할 필요가 없다..
    Description
    ~~~~~~~~~~~
    o Parch set install 시
    o Upgrading 시
    o Downgrading 시
    o 운영중에 catalog or catproc 실행
    o Java (initjvm) Installing 시
    o SYS owner 의 object 의 수정이 일어나는 script를 실행시
    위의 경우 hidden init.ora parameter SYSTEMTRIG_ENABLED를 FALSE로 setting 해야한다.
    Eg:Oracle8i에서는 init.ora file에 다음의 line을 추가후 db를 stop, start 하면 됩니다.
    # Disable system triggers for the duration of the maintenance
    # operation.
    SYSTEMTRIG_ENABLED=FALSE
    IMPORTANT: 이 parameter는 위의 작업이 끝난후 true 로 다시 설정시에는 comment처리 하세요.(default 가 true 입니다.)
    Oracle9i
    ~~~~~~~~
    Oracle9i 에서는 필요시 SYSTEMTRIG_ENABLED를 false로 dynamically setting 이 가능하다.
    ALTER SYSTEM SET "_system_trig_enabled"=FALSE;
    ALTER SYSTEM SET "_system_trig_enabled"=TRUE;
    SPFILE이 아닌 경우에는 oracle 8i와 동일하게 setting 하면 된다.
    Oracle8.0 / Oracle7
    ~~~~~~~~~~~~~~~~~~~
    SYSTEMTRIG_ENABLED parameter 는 oracle 8.0 이전 version에는 존재하지 않는다.
    Explanation
    ~~~~~~~~~~~
    SYSTEMTRIG_ENABLED 란 무엇인가 ?
    System trigger는 Oracle 8.1의 new feature다.
    SYSTEMTRIG_ENABLED를 TRUE (the default)로 setting 하면 system triggers가 enable 된다.
    이값이 FALSE라면 system trigger 를 stop 한다
    False 로 setting 하는 이유?
    trigger에 의존하는 object가 invalid나 drop될수있는 dictionary 작업의 script가 실행되는 경우 해당
    trigger는 fail이되고 이 script는 정상적으로 실행이 안되게 된다.
    다음의 몇몇 예를 보자.
    Example Problem Scenarios
    ~~~~~~~~~~~~~~~~~~~~~~~~~
    Dictionary maintenance operations를 수행중에 system triggers들이 있다면 많은 문제들이 있을수 있다.
    가장 일반적인 경우를 다음에 설명 했다.
    After running "rmjvm"
    ~~~~~~~~~~~~~~~~~~~~~
    만일 JIS install 되어 있고 "rmjvm" 를 사용하여 java를 deinstall 하고
    후속적인 조치로 "DROP a ROLE "을 시도할때 error 가 날것이다.
    이것은 <Bug:1751857> 와 관련있으며 "rmjvm" 은 모든 java와 관련한 objects drop을 할수 없다.
    eg:
    SVRMGR> drop role a;
    drop role a
    ORA-00604: error occurred at recursive SQL level 1
    ORA-29540: class oracle/aurora/mts/http/security/RdbmsHttpPolicy does nt
    ORA-06512: at "SYS.HTTP_SECURITY_CASCADE", line 0
    ORA-06512: at line 3
    Running CATALOG / CATPROC
    ~~~~~~~~~~~~~~~~~~~~~~~~~
    만일 JIS install 되어 있고 CATALOG와 CATPROC 를 다시 실행하려고 하면 trigger 가 INVALID 된다.
    이는 많은 DROP SYNONYM 에서 error 를 일으킬 것이고 <Bug:1733297>에 설명이 되어 있다.
    eg:
    SVRMGR> drop public synonym dba_segments;
    ORA-4098: trigger 'SYS.JIS$ROLE_TRIGGER$' is invalid and failed re-valin
    8.0에서 upgrading 이나 7.3 에서 migrating 할때.....
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    만일 SYSTEMTRIG_ENABLED이 FALSE로 setting 되어 있지 않으면
    package STANDARD에서 ORA-604 , ORA-6553 , PLS-213 를 일으키는 <Bug:1362374>를 만나게 될것이다.
    이는 Oracle8i/9i에서 db open시에 error 를 일으킨다.
    만일 ODMA (Database Migration Assistant)를 사용하여 Oracle7 or 8.0 로 부터 upgrade 한다면
    SYSTEMTRIG_ENABLED를 setting 하는 것은 불가능 하다.
    ODMA를 사용하여 성공적으로 upgrade / migration 가 가능한지 확인하고 그렇지 않다면 parameter 를 false 로 setting 후에
    수동으로 upgrade / migration을 하도록 한다.
    Oracle9i로 Upgrading
    ~~~~~~~~~~~~~~
    SYSTEMTRIG_ENABLED를 FALSE로 setting 하지 않으면 Oracle9i에서 db open시
    ORA-600 [16201] errors를 만날수 있다 <Bug:1747065>
    Reference Documents
    <Note:149948.1> <Note:68636.1>

    Helios,
    Looks like I should not apply this patch, it assume the version of 11.2.0.2, I am on 11.2.0.1.
    What took me off a little was this statement me in the BUG:12317756 - DBCONSOLE PERFORMANCE PAGE NO LONGER DISPLAYS ON LINUX
    "it used to work in previous versions including 11.2.0.1"
    and this is not true for me - I have 11.2.0.1. and it is not working - the graph can not be displayed.
    So I guess I am back to the original question I was asking about in my other post. Let me see if other 2 Notes you provided will take me to any other patch
    Thank you
    Anatoliy

  • SQL Statement Mystery

    Someone please help, this is driving me crazy and i get no
    help from dreamweaver as the error generated is blank with no
    message at all. I am trying to create a dataset with 1 parameter
    using an Access database as my datasource
    This works in Access but not in Dreamweaver
    SELECT LanguageListing.AdvertiserID,
    LanguageListing.LanguageListingID, LanguageListing.LanguageID,
    Language.Language, Advertisers.CompanyName, Language.LanguageFlag
    FROM Language RIGHT JOIN (Advertisers RIGHT JOIN
    LanguageListing ON Advertisers.AdvertiserID =
    LanguageListing.AdvertiserID) ON Language.LanguageID =
    LanguageListing.LanguageID
    WHERE (((LanguageListing.AdvertiserID)=?))
    The blank error is generated in dreamweaver
    I have looked to see if i am using Access reserved words but
    i am not, i have checked relationships etc etc but i cant find out
    whats wrong. I have almost identical tables with identical
    relationships to the Advertisers table which work fine.
    This Works fine and as you can see the SQL is almost
    identical
    SELECT AttractionListing.AdvertiserID,
    AttractionListing.AttractionListingID,
    AttractionListing.AttractionID, Attraction.Attraction,
    Advertisers.CompanyName, Attraction.AttExternalWebsite
    FROM Attraction RIGHT JOIN (Advertisers RIGHT JOIN
    AttractionListing ON Advertisers.AdvertiserID =
    AttractionListing.AdvertiserID) ON Attraction.AttractionID =
    AttractionListing.AttractionID
    WHERE (((AttractionListing.AdvertiserID)=?))
    Please somebody help me as i am pulling my hair out

    Sabine,
    What about a view on the synonym?
    See Re: Automated Row Fetch From Public Synonym Error for more.
    Greg

  • Error while running Re-create grants and synonyms for APPS schema

    Hi,
    I have upgraded customer's Oracle Apps 11i (11.5.10) database to Oracle 10g R2. While executing '+Re-create grants and synonyms+ ' as given in Note: 362203.1, I am gettng error:
    plus80 -s APPS/***** @E:\EBSTEST\ebstestappl\ad\11.5.0\admin\sql\adappsgs.pls &systempwd 1 INV APPLSYS APPS TRUE FALSE TRUE
    Error:
    Program exited with status 3
    Cause: The program terminated, returning status code 3.
    Action: Check your installation manual for the meaning of this code on this operating system.Connected.
    old 2: ad_apps_private.create_grants_and_synonyms(&2,'&3','&4','&5','FALSE');
    new 2: ad_apps_private.create_grants_and_synonyms(1,'INV','APPLSYS','APPS','FALSE');
    begin
    *+
    ERROR at line 1:
    ORA-20000: ORA-00955: name is already used by an existing
    object:create_grants_and_synonyms(1,INV,APPLSYS,APPS): create_base_gs(INV,APPS): In Synonyms
    Loop:create_synonym(INV,MTL_ONHAND_DISCREPANCY,APPS,MTL_ONHAND_DISCREPANCY):
    do_apps_ddl(APPS,CREATE SYNONYM "MTL_ONHAND_DISCREPANCY" FOR INV."MTL_ONHAND_DISCREPANCY"):
    ORA-06512: at line 5
    MTL_ONHAND_DISCREPANCIES
    I checked the database and there isn't MTL_ONHAND_DISCREPANCY synonym. But there is MTL_ONHAND_DISCREPANCIES synonym.
    This is an upgraded instance from 11.0.3 and first time I am running Re-create grants and synonyms for APPS schema.
    Plz let me know if anyone of you faced this issue.
    Rgds,
    Thiru

    Hi,
    there is no such table MTL_ONHAND_DISCREPANCY or synonym in Applications 11.5.10.2. Is that custom table created in your db?
    After dropping this table from APPS schema 'Re-create grants and synonyms for APPS schema' went thru fine.Its correct
    This table does not exist in INV schema in 11.5.10.2.
    Could be possible that the consultant could have created this table in INV and APPS schema by mistake or whatever.Yes, with the same name, there might be table in APPS SCHEMA. When you run recreate grants and synonyms, adadmin tries to create synonym for that table in APPS schema. since there is object available with the same name in apps chema, you got that error.

  • Error ORA-00980: synonym translation is no longer valid when i issue

    i accidentally drop one of my table. To bring it back i used Imp tool. But it gives an error ORA-00980: synonym translation is no longer valid when i issue
    Select * from ship_sched_fact_notice_det
    Action taken using Imp
    Username: erpdada
    Password:
    Connected to: Oracle Database 10g Release 10.1.0.2.0 - Production
    Import file: EXPDAT.DMP > e:\erpdada_august13.dmp
    Enter insert buffer size (minimum is 8192) 30720> 30720
    Export file created by EXPORT:V10.01.00 via conventional path
    Warning: the objects were exported by SYSTEM, not by you
    import done in WE8MSWIN1252 character set and AL16UTF16 NCHAR character set
    import server uses AL32UTF8 character set (possible charset conversion)
    List contents of import file only (yes/no): no > y
    Import entire export file (yes/no): no > n
    Username: erpdada
    Enter table(T) or partition(T:P) names. Null list means all tables for user
    Enter table(T) or partition(T:P) name or . if done: ship_sched_fact_notice_det
    Enter table(T) or partition(T:P) name or . if done: .
    "CREATE PUBLIC SYNONYM "XMLTYPE" FOR "SYS"."XMLTYPE""
    "CREATE TABLE "SHIP_SCHED_FACT_NOTICE_DET" ("SSFND_ITEM_NOT_DET_ID" NUMBER, "
    ""SSFN_FACTORY_ID" VARCHAR2(40) NOT NULL ENABLE, "SSFN_FAC_NOTICE_ID" NUMBER"
    " NOT NULL ENABLE, "SSD_SHIP_ITEM_ID" NUMBER NOT NULL ENABLE, "OI_ITEM_ID" N"
    "UMBER NOT NULL ENABLE, "ORDER_TYPE" VARCHAR2(1), "SSFND_ITEM_CODE" VARCHAR2"
    "(300), "SSFND_QTY" NUMBER, "SSFND_CTN" NUMBER, "SSFND_TOT_CBM" NUMBER, "SSF"
    "ND_REM1" VARCHAR2(256), "SSFND_REM2" VARCHAR2(256), "SSFND_UNIT_ID" VARCHAR"
    "2(40), "SSFND_IS_EXCL_SUMMARY" VARCHAR2(1))  PCTFREE 10 PCTUSED 40 INITRANS"
    " 1 MAXTRANS 255 STORAGE(INITIAL 81920 FREELISTS 1 FREELIST GROUPS 1 BUFFER_"
    "POOL DEFAULT) TABLESPACE "ORDER_DATA01" LOGGING NOCOMPRESS"
    . . skipping table "SHIP_SCHED_FACT_NOTICE_DET"
    "GRANT DELETE ON "SHIP_SCHED_FACT_NOTICE_DET" TO "SHIPMENT_NOTICE""
    "GRANT INSERT ON "SHIP_SCHED_FACT_NOTICE_DET" TO "SHIPMENT_NOTICE""
    "GRANT SELECT ON "SHIP_SCHED_FACT_NOTICE_DET" TO "SHIPMENT_NOTICE""
    "GRANT UPDATE ON "SHIP_SCHED_FACT_NOTICE_DET" TO "SHIPMENT_NOTICE""
    "CREATE UNIQUE INDEX "PK_SHIP_SCHED_FACT_NOTICE_DET" ON "SHIP_SCHED_FACT_NOT"
    "ICE_DET" ("SSFND_ITEM_NOT_DET_ID" )  PCTFREE 10 INITRANS 2 MAXTRANS 255 STO"
    "RAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLE"
    "SPACE "ORDER_DATA01" LOGGING"
    "ALTER TABLE "SHIP_SCHED_FACT_NOTICE_DET" ADD  CONSTRAINT "PK_SHIP_SCHED_FAC"
    "T_NOTICE_DET" PRIMARY KEY ("SSFND_ITEM_NOT_DET_ID") USING INDEX PCTFREE 10 "
    "INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1"
    " BUFFER_POOL DEFAULT) TABLESPACE "ORDER_DATA01" LOGGING ENABLE "
    "ALTER TABLE "SHIP_SCHED_FACT_NOTICE_DET" ADD CONSTRAINT "SHIP_SCHED_FACT_NO"
    "TICE_DE_FK1" FOREIGN KEY ("SSD_SHIP_ITEM_ID") REFERENCES "SHIPPING_SCHEDULE"
    "_DETAILS" ("SSD_SHIP_ITEM_ID") ENABLE NOVALIDATE"
    "ALTER TABLE "SHIP_SCHED_FACT_NOTICE_DET" ADD CONSTRAINT "SHIP_SCHED_FACT_NO"
    "TICE_DE_FK2" FOREIGN KEY ("SSFN_FAC_NOTICE_ID") REFERENCES "SHIP_SCHED_FACT"
    "ORY_NOTICE" ("SSFN_FAC_NOTICE_ID") ENABLE NOVALIDATE"
    "ALTER TABLE "SHIP_SCHED_FACT_NOTICE_DET" ENABLE CONSTRAINT "SHIP_SCHED_FACT"
    "_NOTICE_DE_FK1""
    "ALTER TABLE "SHIP_SCHED_FACT_NOTICE_DET" ENABLE CONSTRAINT "SHIP_SCHED_FACT"
    "_NOTICE_DE_FK2""
    Import terminated successfully with warnings.
    I drop the old synonym and re-create it but still it gives the same error...

    Since you are on 10g did you try flashback table feature - http://tonguc.wordpress.com/2007/01/01/oracle-10g-flashback-versions-query-drop-table-and-recyclebin-management/
    FLASHBACK TABLE <tabname> TO BEFORE DROP;
    If you didnt use purge option, the dropped object is on your recyclebin - http://download-uk.oracle.com/docs/cd/B19306_01/server.102/b14200/statements_9018.htm#sthref9593
    Best regards.

  • Error In Adadmin Re-Create Grants And Synonyms For Apps Schema

    HI,
    I upgraded the my DB from 9.2.6 to 10.2.4.It was sucessfull.
    While doing Postupgradayion steps -
    Recreate grants and synonym for apps
    a. Log in to server with applmgr user
    b. Execute adadmin
    c. Choose -> Maintain Applications Database Entities menu
    d. Choose -> Re-create grants and synonyms for APPS schema
    2 workers got failed ...
    i chked the worker log file i found
    sqlplus -s APPS/***** @/stageAPP/stageappl/ad/11.5.0/admin/sql/adappsgs.pls &systempwd 1 PO APPLSYS APPS TRUE FALSE TRUE
    Connected.
    old 2: ad_apps_private.create_grants_and_synonyms(&2,'&3','&4','&5','FALSE');
    new 2: ad_apps_private.create_grants_and_synonyms(1,'PO','APPLSYS','APPS','FALSE');
    begin
    ERROR at line 1:
    ORA-20000: ORA-00955: name is already used by an existing
    object:create_grants_and_synonyms(1,PO,APPLSYS,APPS): create_base_gs(PO,APPS):
    In Synonyms
    Loop:create_synonym(PO,XXGOD_SEQ_DECORTIMESHEET_HDR,APPS,XXGOD_SEQ_DECORTIMESHEE
    T_HDR): do_apps_ddl(APPS,CREATE SYNONYM "XXGOD_SEQ_DECORTIMESHEET_HDR" FOR
    PO."XXGOD_SEQ_DECORTIMESHEET_HDR"):
    ORA-06512: at line 5
    Workaround $adctrl
    Control
    Worker Code Context Filename Status
    1 Run Grants/Synonyms R115 adappsgs.pls FAILED
    2 Run Grants/Synonyms R115 Wait
    3 Run Grants/Synonyms R115 Wait
    4 Run Grants/Synonyms R115 Wait
    5 Run Grants/Synonyms R115 Wait
    6 Run Grants/Synonyms R115 Wait
    7 Run Grants/Synonyms R115 Wait
    8 Run Grants/Synonyms R115 Wait
    9 Run Grants/Synonyms R115 Wait
    10 Run Grants/Synonyms R115 Wait
    11 Run Grants/Synonyms R115 Wait
    12 Run Grants/Synonyms R115 Wait
    13 Run Grants/Synonyms R115 Wait
    14 Run Grants/Synonyms R115 Wait
    15 Run Grants/Synonyms R115 Wait
    16 Run Grants/Synonyms R115 Wait
    SQL> select owner, object_type from dba_objects where object_name = 'XXGOD_SEQ_DECORTIMESHEET_HDR';
    OWNER OBJECT_TYPE
    PO SEQUENCE
    APPS SEQUENCE
    Its Cutom Object .. I think i need to drop/rename anyone .. which one i should drop / rename .
    Or
    Is it possible to skip the failed workers .. if do .. please give me the steps ...
    Thanks

    Hi;
    There is 8 option(hidden) avaliable but i suggest dont use this option.(As you mention its a custom,if you belive it wont problem you can use this hidden option or drop 'XXGOD_SEQ_DECORTIMESHEET_HDR' and recreate it later,its own your risk) By the way please check below notes which is similar error like yours
    Run Adadmin To Recreate Grants And Synonyms ORA-20000 ORA-00955 In Synonyms Loop:create_synonym(GL,PLAN_TABLE,APPS,PLAN_TABLE) [ID 437714.1]
    ADADMIN MAINTAINING APPLICATIONS GRANTS AND SYNONYMS APP-931 ORA-955 ORA-20000 [ID 1014455.102]
    Regard
    Helios

  • How to get the error message which causes Synonym Invalid?

    Hi,
    I created a synonym in USER_B for a table in USER_A.
    I have given all priveleges to USER_B from USER_A.
    I created a package. In that I am using this synonym. Its working fine.
    Today I have seen that.. the synonym is showing as invalid.
    Even I recompiled the synonym. But its still showing as Invalid in PL/SQL developer.
    Here I would like to see the error message which cause the synonym invalid.
    How can I see the error message.?
    Thank you,
    Regards,
    Gowtham Sen.

    Makes perfect sense. Oracle automatically attempts to revalidate objects when you try to use them.
    SQL> create table t (
      2  col1 NUMBER);
    SQL> create or replace procedure p is
      2   x POSITIVE;
      3  begin
      4    SELECT COUNT(*)
      5    INTO x
      6    FROM t;
      7  end p;
      8  /
    Procedure created.
    SQL> drop table t purge;
    Table dropped.
    SQL> select status
      2  from user_objects
      3  where object_name = 'P';
    STATUS
    INVALID
    SQL> create table t (
      2  col1 NUMBER);
    Table created.
    SQL> select status
      2  from user_objects
      3  where object_name = 'P';
    STATUS
    INVALID
    SQL> exec p
    BEGIN p; END;
    ERROR at line 1:
    ORA-06502: PL/SQL: numeric or value error
    ORA-06512: at "UWCLASS.P", line 4
    ORA-06512: at line 1
    SQL> select status
      2  from user_objects
      3  where object_name = 'P';
    STATUS
    VALID
    SQL> Even when the procedure has a problem ... the revalidation takes place.

  • JDBC gives error if accessing Package Synonym

    Calling a stored procedure in a package using JDBC...
    Where we are using a synonym for our package (given all permissions are OK - I've even tried SYSDBA) rather than calling procedures directly in the package, we get the error 'table or view does not exist'.
    This error only occurs for procedures in the package which return ref cursor type (i.e. a recordset), otherwise the procedure seems to execute fine.
    The same procedures can happily be used via ODBC and OLEDB using the synonym, so I suspect it is JDBC at fault.
    We do need to use a synonym (I like to keep nice clean tidy schemas!) so if anyone knows how to get around it or whether the bug will be fixed shortly please let us know.
    Regards
    Jason.
    null

    Hi,
    Returning refcursors from Java stored proc feature is planned for JDBC 8.2.
    Hope this helps,
    -Kishore

  • Automatic Row Processing fetch error (ORA-00936: missing expres) - synonyms

    I have built an Apex application in Apex v4.0.0.00.46. I have built an Apex input form on a table that is in the same Oracle schema where Apex application resides. Now I am trying to migrate that table to a different Oracle schema but I am having this problem after I created the table on the new schema and created a SYNONYM to point to the new location of the table.
    ORA-06550: line 1, column 17: PL/SQL: ORA-00936: missing expression ORA-06550: line 1, column 9: PL/SQL: SQL Statement ignored
    I can select on this table via SQL Plus using the synonym. The form uses a "Automated Row Fetch" process action and fails in this step when trying to fetch data for the form. I don't get the error if I set the condition property to "never" but the fetch does not run; as soon as disable the condition I get this error.
    Apex query report regions work fine using the synonyms but the problem seems to occur only on the automated row fetch accion.
    I appreciate if someone can help out with this problem. Thanks.

    Hi,
    Follow the steps:
    1. Go to application
    2. Click on "Edit Application Properties" Button.
    3. Select the Parsing Schema to new schema in Name Region.
    4. Click "Apply Changes" Button.
    Regards,
    Kartik Patel
    http://patelkartik.blogspot.com/
    http://apex.oracle.com/pls/apex/f?p=9904351712:1

Maybe you are looking for

  • Invoice Verification for IMPORT PO(ASSET)

    Hi All, User has created Purchase order against Import Material for asset with Account Assignment category as A.While invoice verification for basic customs duty,ECS and HSES, system debiting the GL account for Asset instead of CenVat clearing. In ca

  • Error 1324: the folder path 'webi/' contains an invalid character

    Hi pros, I am getting this error when trying to install bobj xi 3.1 client version. the service pack is zero. however, i previously had bobj xi 3.1 server / client components installed and bobj 4.0 client tools. i uninstalled bobj 4 and bobj xi 3.1 s

  • How to optmize this query

    How can I optimize this query? it's taking a long time to run SELECT A.COL1, B.COL2, C.COL3 FROM A, B, C WHERE A.COL1=B.COL2 (+) AND B.COL2=C.COL3 (+) Thank you! H

  • Signature links

    I am trying to add links, either text or graphic to my regular mail signature. In both cases, textual or graphical, after added they work for one or 2 emails, then go inactive (unclickable). What gives? It'd be great to add a small graphical LinkedIn

  • Regarding PP Extraction

    Hi Gurus, Iam extracting data from 2lis_04_P_ARBPL to zcube (copy of 0pp_c04) in BI7. Iam getting error as  Request Idoc: "Application document not posted" but the request shows green, so can anybody help me regarding this. Regards, Naren.