Slow context creation

I seem to be having a problem with connection times progressively getting
          slower as machines are added to the cluster.
          For instance, at one machine my login time is ~.5 secs, at two machines
          login time has increased to ~1.5 secs, and at three machines in the cluster
          login time has increased to ~4.5 secs.
          I am running Weblogic 4.5 service pack 7 on Solaris 8. I am currently using
          jdk 1.2.006 reference implementation. This behavior seems to occur with
          native io on and off.
          Thanks
          R.D.
          

How are you doing your lookup?
          - prasad
          "R.D. Cole" wrote:
          > I seem to be having a problem with connection times progressively getting
          > slower as machines are added to the cluster.
          >
          > For instance, at one machine my login time is ~.5 secs, at two machines
          > login time has increased to ~1.5 secs, and at three machines in the cluster
          > login time has increased to ~4.5 secs.
          >
          > I am running Weblogic 4.5 service pack 7 on Solaris 8. I am currently using
          > jdk 1.2.006 reference implementation. This behavior seems to occur with
          > native io on and off.
          >
          > Thanks
          > R.D.
          

Similar Messages

  • Error while running adcfgclone on APPS tier (ERROR: context creation not completed successfully)

    I am getting below error while running adcfgclone on APPS tier
    ERROR : Unable to set CLASSPATH
    /corp_ex1/DRPM/drpmcomn/clone/bin/../jlib/classes111.zip: is  missing
    First Creating a new context file for the cloned system.
    The program is going to ask you for information about the new system:
    ERROR: context creation not completed successfully.
    Please check /tmp/adcfgclone_29475.err file for errors
    i  copied classes111.zip from IAS_HOME to COMMON_TOP . Now I am getting below error
    First Creating a new context file for the cloned system.
    The program is going to ask you for information about the new system:
    ERROR: context creation not completed successfully.
    Please check /tmp/adcfgclone_30763.err file for errors

    Please post the details of the application release, database version and OS.
    ERROR: context creation not completed successfully
    This is a generic error, please check the log files for details about the error.
    Thanks,
    Hussein

  • Slow projector creation

    I am creating a projector for a large application (85MB). The
    creation of the projector is far too slow. This application would
    usually take 1hr(max). It is now taking 6-8hrs with my usual
    settings and very little changed from the previous version. Any
    help?
    Kind regards,
    Duncan

    Xposure Interactive wrote:
    > I am creating a projector for a large application
    (85MB). The creation of the
    > projector is far too slow. This application would
    usually take 1hr(max). It is
    > now taking 6-8hrs with my usual settings and very little
    changed from the
    > previous version. Any help?
    > Kind regards,
    > Duncan
    may be too later for this project but, for the next one you
    can split it
    into several movies. easier to develop/debug/maintain
    to solve this one, you can use a stub projector that calls
    your big
    movie so you'll only need to protect it when finished

  • Slow user creation when an organization has approvers

    Hello everybody,
    Just before a month ago, I started having performance problems when I had to deal with user creation, edit and delete. Specially the user creation was extremely slow ( 7 minutes !!! ).
    This "little" latency occurs only when I create users in organizations that have approvers. if there are no approvers then there's no latency.
    By examining the machine perfomance at the O/S level the machine was idle.
    I running idm 7.1 installed in solaris 10 with mysql 4 backened.
    Any oppinion why this latency occur ?

    Login to portal...
    Navigate to User Admin -> Identity Management ...
    search for your user...and select Account information...
    there you will get "Date of Account Creation:"
    Alternatively login to :
    http://<host>:<port>/webdynpro/dispatcher/sap.com/tcsecumewdumeadmin/UmeAdminApp
    If somebody can let us know...how to find "who created the user"...this will be informative for me as well......

  • Slow iView Creation

    When creating a new iView in the Content Administration -> Portal Content tab, going from step1 (source type) to step2 (page creation) is very slow.  The time to load the step2 page can easily run 30 minutes or more.  Normally this occurs on the first time creating an iView after entering the Portal Content tab.
    Any ideas on how to speed this up?

    Hello,
    did you find any solution to this problem? Since a few days, we experience the same. I think it has something to do with LDAP, since the only change that happened in the last days is that we "portal-enabled" around 2500 users in our active directory.
    I would really appreciate any help with this issue... Thanks!
    Regards,
    Markus

  • Context creation not completed successfully. Please check /tmp/adcfg

    I am running perl adcfgclone at the databaseTier of R12.0.4 and am getting below error please reply
    PROMPT :
    Target hostname (virtual or normal) [zishan]
    ANSWER :
    zishan
    PROMPT :
    Target system domain name
    ANSWER :
    TEST1
    StackTrace:
    java.lang.NullPointerException
    at java.util.Hashtable.put(Unknown Source)
    at oracle.apps.ad.context.CloneContext.getInputFromUsers(CloneContext.java:888)
    at oracle.apps.ad.context.CloneContext.doClone(CloneContext.java:575)
    at oracle.apps.ad.context.CloneContext.main(CloneContext.java:4647)
    RC-50004: Error occurred in CloneContext:
    null
    Context file creation not succesful

    Hi,
    PROMPT :
    Target system domain name
    ANSWER :
    TEST1Is TEST1 the correct domain name?
    StackTrace:
    java.lang.NullPointerException
    at java.util.Hashtable.put(Unknown Source)
    at oracle.apps.ad.context.CloneContext.getInputFromUsers(CloneContext.java:888)
    at oracle.apps.ad.context.CloneContext.doClone(CloneContext.java:575)
    at oracle.apps.ad.context.CloneContext.main(CloneContext.java:4647)
    RC-50004: Error occurred in CloneContext:
    null
    Context file creation not succesfulPlease verify you have proper entry in the hosts file, and entry the correct domain name as the one you have in the hosts file.
    RC-50004: Error Occurred In Clonecontext : At Java.util.Hashtable.put(Unknown Source) [ID 763587.1]
    perl adcfgclone.pl dbTechStack fails with error RC-50004: Error occurred in CloneContext [ID 467659.1]
    Clone Procedure For "Perl Adcfgclone.Pl Dbtechstack " Returns Error [ID 457814.1]
    Thanks,
    Hussein

  • Slow table creation after upgrade from 10.2.0.3 to 11.2.0.1 using DBUA

    I've recently completed a database upgrade from 10.2.0.3 to 11.2.0.1 using the DBUA.
    I've since encountered a slowdown when running a script which drops and recreates a series of ~250 tables. The script normally runs in around 19 seconds. After the upgrade, the script requires ~2 minutes to run.
    By chance has anyone encountered something similar?
    The problem may be related to the behavior of an "after CREATE on schema" trigger which grants select privileges to a role through the use of a dbms_job call; between 10g and the database that was upgraded from 10G to 11g. Currently researching this angle.
    I will be using the following table creation DDL for this abbreviated test case:
    create table ALLIANCE  (
       ALLIANCEID           NUMBER(10)                      not null,
       NAME                 VARCHAR2(40)                    not null,
       CREATION_DATE        DATE,
       constraint PK_ALLIANCE primary key (ALLIANCEID)
               using index
           tablespace LIVE_INDEX
    tablespace LIVE_DATA;When calling the above DDL, an "after CREATE on schema" trigger is fired which schedules a job to immediately run to grant select privilege to a role for the table which was just created:
    create or replace
    trigger select_grant
    after CREATE on schema
    declare
        l_str varchar2(255);
        l_job number;
    begin
        if ( ora_dict_obj_type = 'TABLE' ) then
            l_str := 'execute immediate "grant select on ' ||
                                         ora_dict_obj_name ||
                                        ' to select_role";';
            dbms_job.submit( l_job, replace(l_str,'"','''') );
        end if;
    end;
    {code}
    Below I've included data on two separate test runs.  The first is on the upgraded database and includes optimizer parameters and an abbreviated TKPROF.  I've also, included the offending sys generate SQL which is not issued when the same test is run on a 10g environment that has been set up with a similar test case.  The 10g test run's TKPROF is also included below.
    The version of the database is 11.2.0.1.
    These are the parameters relevant to the optimizer for the test run on the upgraded 11g SID:
    {code}
    SQL> show parameter optimizer
    NAME                                 TYPE        VALUE
    optimizer_capture_sql_plan_baselines boolean     FALSE
    optimizer_dynamic_sampling           integer     2
    optimizer_features_enable            string      11.2.0.1
    optimizer_index_caching              integer     0
    optimizer_index_cost_adj             integer     100
    optimizer_mode                       string      ALL_ROWS
    optimizer_secure_view_merging        boolean     TRUE
    optimizer_use_invisible_indexes      boolean     FALSE
    optimizer_use_pending_statistics     boolean     FALSE
    optimizer_use_sql_plan_baselines     boolean     TRUE
    SQL> show parameter db_file_multi
    NAME                                 TYPE        VALUE
    db_file_multiblock_read_count        integer     8
    SQL> show parameter db_block_size
    NAME                                 TYPE        VALUE
    db_block_size                        integer     8192
    SQL> show parameter cursor_sharing
    NAME                                 TYPE        VALUE
    cursor_sharing                       string      EXACT
    SQL> column sname format a20
    SQL> column pname format a20
    SQL> column pval2 format a20
    SQL> select sname, pname, pval1, pval2 from sys.aux_stats$;
    SNAME                PNAME                     PVAL1 PVAL2
    SYSSTATS_INFO        STATUS                          COMPLETED
    SYSSTATS_INFO        DSTART                          03-11-2010 16:33
    SYSSTATS_INFO        DSTOP                           03-11-2010 17:03
    SYSSTATS_INFO        FLAGS                         0
    SYSSTATS_MAIN        CPUSPEEDNW           713.978495
    SYSSTATS_MAIN        IOSEEKTIM                    10
    SYSSTATS_MAIN        IOTFRSPEED                 4096
    SYSSTATS_MAIN        SREADTIM               1565.746
    SYSSTATS_MAIN        MREADTIM
    SYSSTATS_MAIN        CPUSPEED                   2310
    SYSSTATS_MAIN        MBRC
    SYSSTATS_MAIN        MAXTHR
    SYSSTATS_MAIN        SLAVETHR
    13 rows selected.
    {code}
    Output from TKPROF on the 11g SID:
    {code}
    create table ALLIANCE  (
       ALLIANCEID           NUMBER(10)                      not null,
       NAME                 VARCHAR2(40)                    not null,
       CREATION_DATE        DATE,
       constraint PK_ALLIANCE primary key (ALLIANCEID)
               using index
           tablespace LIVE_INDEX
    tablespace LIVE_DATA
    call     count       cpu    elapsed       disk      query    current        rows
    Parse        1      0.00       0.00          0          0          0           0
    Execute      1      0.00       0.00          0          0          4           0
    Fetch        0      0.00       0.00          0          0          0           0
    total        2      0.00       0.00          0          0          4           0
    Misses in library cache during parse: 1
    Optimizer mode: ALL_ROWS
    Parsing user id: 324
    {code}
    ... large section omitted ...
    Here is the performance hit portion of the TKPROF on the 11g SID:
    {code}
    SQL ID: fsbqktj5vw6n9
    Plan Hash: 1443566277
    select next_run_date, obj#, run_job, sch_job
    from
    (select decode(bitand(a.flags, 16384), 0, a.next_run_date,
      a.last_enabled_time) next_run_date,       a.obj# obj#,
      decode(bitand(a.flags, 16384), 0, 0, 1) run_job, a.sch_job  sch_job  from
      (select p.obj# obj#, p.flags flags, p.next_run_date next_run_date,
      p.job_status job_status, p.class_oid class_oid,      p.last_enabled_time
      last_enabled_time, p.instance_id instance_id,      1 sch_job   from
      sys.scheduler$_job p   where bitand(p.job_status, 3) = 1    and
      ((bitand(p.flags, 134217728 + 268435456) = 0) or
      (bitand(p.job_status, 1024) <> 0))    and bitand(p.flags, 4096) = 0    and
      p.instance_id is NULL    and (p.class_oid is null      or (p.class_oid is
      not null      and p.class_oid in (select b.obj# from sys.scheduler$_class b
                               where b.affinity is null)))   UNION ALL   select
      q.obj#, q.flags, q.next_run_date, q.job_status, q.class_oid,
      q.last_enabled_time, q.instance_id, 1   from sys.scheduler$_lightweight_job
      q   where bitand(q.job_status, 3) = 1    and ((bitand(q.flags, 134217728 +
      268435456) = 0) or         (bitand(q.job_status, 1024) <> 0))    and
      bitand(q.flags, 4096) = 0    and q.instance_id is NULL    and (q.class_oid
      is null      or (q.class_oid is not null      and q.class_oid in (select
      c.obj# from sys.scheduler$_class c                          where
      c.affinity is null)))   UNION ALL   select j.job, 0,
      from_tz(cast(j.next_date as timestamp),      to_char(systimestamp,'TZH:TZM')
      ), 1, NULL,      from_tz(cast(j.next_date as timestamp),
      to_char(systimestamp,'TZH:TZM')),     NULL, 0   from sys.job$ j   where
      (j.field1 is null or j.field1 = 0)    and j.this_date is null) a   order by
      1)   where rownum = 1
    call     count       cpu    elapsed       disk      query    current        rows
    Parse        1      0.00       0.00          0          0          0           0
    Execute      1      0.00       0.00          0          0          0           0
    Fetch        1      0.47       0.47          0       9384          0           1
    total        3      0.48       0.48          0       9384          0           1
    Misses in library cache during parse: 1
    Optimizer mode: CHOOSE
    Parsing user id: SYS   (recursive depth: 1)
    Rows     Row Source Operation
          1  COUNT STOPKEY (cr=9384 pr=0 pw=0 time=0 us)
          1   VIEW  (cr=9384 pr=0 pw=0 time=0 us cost=5344 size=6615380 card=194570)
          1    SORT ORDER BY STOPKEY (cr=9384 pr=0 pw=0 time=0 us cost=5344 size=11479630 card=194570)
    194790     VIEW  (cr=9384 pr=0 pw=0 time=537269 us cost=2563 size=11479630 card=194570)
    194790      UNION-ALL  (cr=9384 pr=0 pw=0 time=439235 us)
        231       FILTER  (cr=68 pr=0 pw=0 time=920 us)
        231        TABLE ACCESS FULL SCHEDULER$_JOB (cr=66 pr=0 pw=0 time=690 us cost=19 size=13157 card=223)
          1        TABLE ACCESS BY INDEX ROWID SCHEDULER$_CLASS (cr=2 pr=0 pw=0 time=0 us cost=1 size=40 card=1)
          1         INDEX UNIQUE SCAN SCHEDULER$_CLASS_PK (cr=1 pr=0 pw=0 time=0 us cost=0 size=0 card=1)(object id 5056)
          0       FILTER  (cr=3 pr=0 pw=0 time=0 us)
          0        TABLE ACCESS FULL SCHEDULER$_LIGHTWEIGHT_JOB (cr=3 pr=0 pw=0 time=0 us cost=2 size=95 card=1)
          0        TABLE ACCESS BY INDEX ROWID SCHEDULER$_CLASS (cr=0 pr=0 pw=0 time=0 us cost=1 size=40 card=1)
          0         INDEX UNIQUE SCAN SCHEDULER$_CLASS_PK (cr=0 pr=0 pw=0 time=0 us cost=0 size=0 card=1)(object id 5056)
    194559       TABLE ACCESS FULL JOB$ (cr=9313 pr=0 pw=0 time=167294 us cost=2542 size=2529254 card=194558)
    {code}
    and the totals at the end of the TKPROF on the 11g SID:
    {code}
    OVERALL TOTALS FOR ALL NON-RECURSIVE STATEMENTS
    call     count       cpu    elapsed       disk      query    current        rows
    Parse        1      0.00       0.00          0          0          0           0
    Execute      2      0.00       0.00          0          0          4           0
    Fetch        0      0.00       0.00          0          0          0           0
    total        3      0.00       0.00          0          0          4           0
    Misses in library cache during parse: 1
    Misses in library cache during execute: 1
    OVERALL TOTALS FOR ALL RECURSIVE STATEMENTS
    call     count       cpu    elapsed       disk      query    current        rows
    Parse       70      0.00       0.00          0          0          0           0
    Execute     85      0.01       0.01          0         62        208          37
    Fetch       49      0.48       0.49          0       9490          0          35
    total      204      0.51       0.51          0       9552        208          72
    Misses in library cache during parse: 5
    Misses in library cache during execute: 3
       35  user  SQL statements in session.
       53  internal SQL statements in session.
       88  SQL statements in session.
    Trace file: 11gSID_ora_17721.trc
    Trace file compatibility: 11.1.0.7
    Sort options: default
           1  session in tracefile.
          35  user  SQL statements in trace file.
          53  internal SQL statements in trace file.
          88  SQL statements in trace file.
          51  unique SQL statements in trace file.
        1590  lines in trace file.
          18  elapsed seconds in trace file.
    {code}
    The version of the database is 10.2.0.3.0.
    These are the parameters relevant to the optimizer for the test run on the 10g SID:
    {code}
    SQL> show parameter optimizer
    NAME                                 TYPE        VALUE
    optimizer_dynamic_sampling           integer     2
    optimizer_features_enable            string      10.2.0.3
    optimizer_index_caching              integer     0
    optimizer_index_cost_adj             integer     100
    optimizer_mode                       string      ALL_ROWS
    optimizer_secure_view_merging        boolean     TRUE
    SQL> show parameter db_file_multi
    NAME                                 TYPE        VALUE
    db_file_multiblock_read_count        integer     8
    SQL> show parameter db_block_size
    NAME                                 TYPE        VALUE
    db_block_size                        integer     8192
    SQL> show parameter cursor_sharing
    NAME                                 TYPE        VALUE
    cursor_sharing                       string      EXACT
    SQL> column sname format a20
    SQL> column pname format a20
    SQL> column pval2 format a20
    SQL> select sname, pname, pval1, pval2 from sys.aux_stats$;
    SNAME                PNAME                     PVAL1 PVAL2
    SYSSTATS_INFO        STATUS                          COMPLETED
    SYSSTATS_INFO        DSTART                          09-24-2007 11:09
    SYSSTATS_INFO        DSTOP                           09-24-2007 11:09
    SYSSTATS_INFO        FLAGS                         1
    SYSSTATS_MAIN        CPUSPEEDNW           2110.16949
    SYSSTATS_MAIN        IOSEEKTIM                    10
    SYSSTATS_MAIN        IOTFRSPEED                 4096
    SYSSTATS_MAIN        SREADTIM
    SYSSTATS_MAIN        MREADTIM
    SYSSTATS_MAIN        CPUSPEED
    SYSSTATS_MAIN        MBRC
    SYSSTATS_MAIN        MAXTHR
    SYSSTATS_MAIN        SLAVETHR
    13 rows selected.
    {code}
    Now for the TKPROF of a mirrored test environment running on a 10G SID:
    {code}
    create table ALLIANCE  (
       ALLIANCEID           NUMBER(10)                      not null,
       NAME                 VARCHAR2(40)                    not null,
       CREATION_DATE        DATE,
       constraint PK_ALLIANCE primary key (ALLIANCEID)
               using index
           tablespace LIVE_INDEX
    tablespace LIVE_DATA
    call     count       cpu    elapsed       disk      query    current        rows
    Parse        1      0.00       0.00          0          0          0           0
    Execute      1      0.00       0.01          0          2         16           0
    Fetch        0      0.00       0.00          0          0          0           0
    total        2      0.01       0.01          0          2         16           0
    Misses in library cache during parse: 1
    Optimizer mode: ALL_ROWS
    Parsing user id: 113
    {code}
    ... large section omitted ...
    Totals for the TKPROF on the 10g SID:
    {code}
    OVERALL TOTALS FOR ALL NON-RECURSIVE STATEMENTS
    call     count       cpu    elapsed       disk      query    current        rows
    Parse        1      0.00       0.02          0          0          0           0
    Execute      1      0.00       0.00          0          2         16           0
    Fetch        0      0.00       0.00          0          0          0           0
    total        2      0.00       0.02          0          2         16           0
    Misses in library cache during parse: 1
    OVERALL TOTALS FOR ALL RECURSIVE STATEMENTS
    call     count       cpu    elapsed       disk      query    current        rows
    Parse       65      0.01       0.01          0          1         32           0
    Execute     84      0.04       0.09         20         90        272          35
    Fetch       88      0.00       0.10         30        281          0          64
    total      237      0.07       0.21         50        372        304          99
    Misses in library cache during parse: 38
    Misses in library cache during execute: 32
       10  user  SQL statements in session.
       76  internal SQL statements in session.
       86  SQL statements in session.
    Trace file: 10gSID_ora_32003.trc
    Trace file compatibility: 10.01.00
    Sort options: default
           1  session in tracefile.
          10  user  SQL statements in trace file.
          76  internal SQL statements in trace file.
          86  SQL statements in trace file.
          43  unique SQL statements in trace file.
         949  lines in trace file.
           0  elapsed seconds in trace file.
    {code}
    Edited by: user8598842 on Mar 11, 2010 5:08 PM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              

    So while this certainly isn't the most elegant of solutions, and most assuredly isn't in the realm of supported by Oracle...
    I've used the DBMS_IJOB.DROP_USER_JOBS('username'); package to remove the 194558 orphaned job entries from the job$ table. Don't ask, I've no clue how they all got there; but I've prepared some evil looks to unleash upon certain developers tomorrow morning.
    Not being able to reorganize the JOB$ table to free the now wasted ~67MB of space I've opted to create a new index on the JOB$ table to sidestep the full table scan.
    CREATE INDEX SYS.JOB_F1_THIS_NEXT ON SYS.JOB$ (FIELD1, THIS_DATE, NEXT_DATE) TABLESPACE SYSTEM;The next option would be to try to find a way to grant the select privilege to the role without using the aforementioned "after CREATE on schema" trigger and dbms_job call. This method was adopted to cover situations in which a developer manually added a table directly to the database rather than using the provided scripts to recreate their test environment.
    I assume that the following quote from the 11gR2 documentation is mistaken, and there is no such beast as "create or replace table" in 11g:
    http://download.oracle.com/docs/cd/E11882_01/server.112/e10592/statements_9003.htm#i2061306
    "Dropping a table invalidates dependent objects and removes object privileges on the table. If you want to re-create the table, then you must regrant object privileges on the table, re-create the indexes, integrity constraints, and triggers for the table, and respecify its storage parameters. Truncating and replacing have none of these effects. Therefore, removing rows with the TRUNCATE statement or replacing the table with a *CREATE OR REPLACE TABLE* statement can be more efficient than dropping and re-creating a table."

  • URGENT !! Help Needed: Context creation in iPlanet 5.1

    Can some one tell me why this piece of code failed on iPlanet Directory Server5.1 where as it works fine on IBM Secureway?
    Hashtable env = new Hashtable(11);
    env.put(Context.INITIAL_CONTEXT_FACTORY,
         "com.sun.jndi.ldap.LdapCtxFactory");
    env.put(Context.PROVIDER_URL, "ldap://"+args[0]+":389");
    env.put(Context.SECURITY_AUTHENTICATION, "simple");
    env.put(Context.SECURITY_PRINCIPAL, args[1]);
    env.put(Context.SECURITY_CREDENTIALS, args[2]);
    DirContext ctx = new InitialDirContext(env);
    Attributes attrs = new BasicAttributes(true);
    Attribute objclass = new BasicAttribute("objectclass");
    objclass.add("top");
    objclass.add("domain");
    attrs.put(objclass);
    // This line failed with the exception below
    Context result = ctx.createSubcontext("dc=mydomain", attrs);
    The exception is:
    javax.naming.NameNotFoundException: [LDAP: error code 32 - No Suc
    h Object]; remaining name 'dc=mydomain'

    Thanks for the reply.
    We need to have dc=mydomain.com created under top level for this to work.
    But what actuallyu I am doing here is that I am trying to create this subcontext under top level.

  • Problem with Multiple Context Creation

    Hi,
    We are facing a java.lang.SecurityException Invalid Subject
    We need to create multiple Initial Contexts for a single thread.
    Following is the Scenario
    1) The user will access Servlet/Struts Action class which performs database call and EJB(one, two) calls with different Initial Contexts ( Credentials are different)
    2) At the same time the Timer Task runs in back ground which is invoked from servlet load-on-startup and runs for every 1 min.
    3) The Timer Task invoke an MDB this MBD will make an external EJB (three) call for business logic.
    {color:#ff0000}Please Suggest me the Sequence of step I am expecting are correct or not{color}
    1) The Timer Task will run in the same JVM where the Servlet/Action classes are loaded (WEB-CONTAINER)
    2) The Thread created for Servlet/Action class will not be shared by Timer Task.
    3) The Thread created for Timer Task and the MDB are different.
    4) So the Servlet - Thread, Timer Task Thread and MDB Thread are different.
    The Behavior of the Context is as follows according to Bea Document.
    [http://e-docs.bea.com/wls/docs81/jndi/jndi.html#476864]
    JNDI Contexts and Threads
    How to Avoid Potential JNDI Context Problems (Please Refer this Paragraph)
    I am closing the entire Context's immediately after lookup
    Still we are facing this java.lang.SecurityException Invalid Subject Exception Problem
    The Context of EJB which we are calling from MDB is sharing the Servlet/Action Class Context -- Credentials
    Example_
    {color:#ff0000}Servlet/Action Class Context Credentials -- are user1/pass1{color}
    {color:#ff0000}EJB (three) Context Credentials -- are user3/pass3{color}
    When EJB (Three) lookup is invoked it&rsquo;s throwing the following Exception
    *java.lang.SecurityException: [Security: 090398] Invalid Subject: user1*
    Please advise to solve this problem
    Thank You.

    Solved By myself
    There is problem while passing data to internal table for item level

  • IMPORTANT: FM11 & slow PDF creation - Adobe wants examples

    Note from Kapil Verma, FM's senior product manager:
    Hello Framers,
    Hope you are well. I noticed that some users have reported their observations with slow performance when publishing to PDF with FrameMaker 11 as compared to the previous version of FrameMaker. I wanted to let you know that we have not found such issues when doing internal testing and our customers also did not report this during the beta program.
    However, we wanted to work with you to iron out any potential issues there may be. So, if you are seeing a performance slowdown on your side, we would like to test some more with your files and investigate the issue you may be facing. It will be great if you can send your sample files (along with any details on steps, your environment etc. which will help reproduce the issue) to [email protected] and cc  me ([email protected]). Thanks for your cooperation and we look forward to working with you to resolve any issues there may be.
    Thanks,
    Kapil Verma
    Sr. Product Manager - FrameMaker | FrameMaker Publishing Server

    Based on the number of recent complaints about PDF rendering performance, it rather looks like there might be a problem with the newer FM releases. I can't personally say, because we're still on FM7/Unix, and don't use our FM9/Win764 versions for production.
    Printing to .ps and Distilling separately should help at least get your FM GUI prompt back sooner, and unless Adobe has broken it, the full Acrobat Pro product can be set to have Distiller "watch" directories for new .ps files, and generate PDFs without any user attention.
    It would be interesting to know if the rendering process is multi-threaded to any significant degree. if so, having more cores in your CPU would help.
    I'm also wondering if FM11 gets any benefit from installation on Win64.
    And at the risk of stimulating conspiracy theories, would using Framemaker Server print any faster? I at least presume that it would free up the workstations during print.
    Per-core CPU clocks hit the wall 10 years ago. Per core perf has been creeping up since then, with most of the per-chip gain in the form of more cores. Application coders, however, seem to be assuming that per-core performance is still ramping up at 2x@2yr as a side effect of Moore's Conjecture.

  • Slow socket creation at runtime

    Im writing a program to send a form via http secure socket to a web sever. My code works, but the problem is, once it executes, it take about 40 seconds for the 1st line of code to complete. Is there anything I can do to speed this up?
    Im running j2sdk1.4.0-beta3 (windows98 on PIII 450, 300megs ram, 56k)
    public static boolean login() {
    try
    SSLSocketFactory sslsocketfactory = (SSLSocketFactory)SSLSocketFactory.getDefault();
    System.out.println("1");
    SSLSocket sslsocket = (SSLSocket)sslsocketfactory.createSocket("blah.blah.com", 443);
    System.out.println("sockets created");

    Problem solved.. if anyone cares, this was my final code
    java.security.SecureRandom x = new java.security.SecureRandom();
    x.setSeed(1);
    SSLContext sc = SSLContext.getInstance("SSL");
    sc.init(null,null, x);
    SSLSocketFactory sf1 = sc.getSocketFactory();
    SSLSocket sslsocket = (SSLSocket)sf1.createSocket("blah.blah.com", 443);
    i had a unique situation, i was forced to connect to a secure socket to exchange non secretive info, so security was the least of my worries and speed was most important. Using this, it creates a socket as fast as regular non SSL socket, but it basically lets u connect to a SSL socket with no/very little security. It cut a good 40 sec off the socket creation time.
    thanks for yalls help

  • Slow computer = creation of slow VM?

    I have two virtual machines. Both are 
    Windows Server 2012 R2 64 bit.
    Have the same device settings ( 2GB RAM 1 processor 1 core)
    Created using the same iso
    I use the first vm for work in college/class and the 2nd one for practice that I made at home. Both machines run at different speeds with the first one being next to flawless(even when run from my home laptop) while the 2nd one being horribly slow. I created my class VM using the college computer which I'd say is definitely more powerful than my laptop at home, and my practice vm was created with my home laptop (i7 dual core 4gb ram). Are VMs significantly different from each other in terms of speed depending on the computer that was used to create them? Should I just clone my class vm which works almost perfectly instead of creating a new VM? I hope to be able to work soon on my server administration work for class.
    This is my first post and I'd appreciate any replies.

    I have two virtual machines. Both are 
    Windows Server 2012 R2 64 bit.
    Have the same device settings ( 2GB RAM 1 processor 1 core)
    Created using the same iso
    I use the first vm for work in college/class and the 2nd one for practice that I made at home. Both machines run at different speeds with the first one being next to flawless(even when run from my home laptop) while the 2nd one being horribly slow. I created my class VM using the college computer which I'd say is definitely more powerful than my laptop at home, and my practice vm was created with my home laptop (i7 dual core 4gb ram). Are VMs significantly different from each other in terms of speed depending on the computer that was used to create them? Should I just clone my class vm which works almost perfectly instead of creating a new VM? I hope to be able to work soon on my server administration work for class.
    This is my first post and I'd appreciate any replies.

  • Portal Installed - Slow iView creation etc

    Hi,
    We have just completed the installation of the production EP 7 (2004s) on a new blade server.
    Config
    4 Swap Drives of 5GB each
    OS - 2003 Server standard edition SP1 on C Drive (12GB)
    EP instance installed on a separate netapps drive (40GB)
    *4GB RAM
    In creating a simple new iView it takes 3-4 minutes.
    What could be the reason? Is there a mechanism to improve performance?
    In our previous portal implementation (EP 6) the iView creation etc is very fast. (with a hardware configuration inferior to the one specified above)
    Any advice would be highly appreciated,
    Thanks and Regards,
    Antony.

    Hi,
    Nope actually, we are still encountering this problem. But there is a workaround. Say you have created an iview, you can copy such iview and change the relevant parameters later including the ID, name and all other particulars in order to create new iviews rather than creating new iviews altogether through the wizard.
    The copying activity takes just a couple of seconds.
    Hope this helps..
    Antony.
    P.S. : Reward points would be appreciated.

  • Context creation fails

    Hi
    I am writing following code to connect to a MQ.
    import javax.jms.QueueConnectionFactory;
    import javax.naming.Context;
    import javax.naming.InitialContext;
    class qConnect{
         public static void main(String[] args){
              try{
                   Context ctx = new InitialContext();
                   QueueConnectionFactory queueConnectionFactory =
                   (QueueConnectionFactory) ctx.lookup("QueueConnectionFactory");
              }catch(Exception e){
                   e.printStackTrace();
    while creating context instace it is giving me following error.
    javax.naming.CommunicationException: Can't find SerialContextProvider
    at com.sun.enterprise.naming.SerialContext.getProvider(SerialContext.java:60)
    at com.sun.enterprise.naming.SerialContext.<init>(SerialContext.java:79)
    at com.sun.enterprise.naming.SerialInitContextFactory.getInitialContext(SerialInitContextFactory.java:54)
    at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:668)
    at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:246)
    at javax.naming.InitialContext.init(InitialContext.java:222)
    at javax.naming.InitialContext.<init>(InitialContext.java:178)
    at qConnect.main(qConnect.java:11)
    what is a solution ??
    Thanks in advance.
    Tushar.

    u have to specify the provider url which contains the location of the provider and also the type of the provider such as file,ldap or ..
    there in the jmsadmin.config file

  • Virtual context creation on Oracle Application Server

    How do we set up a context in Oracle Application Server? and how to map servlets and jsp to this context?

    Hi,
    I am not sure about your exact needs, but it is the responsibility of the developer to provide a Deployment Descriptor ( an XML File that contains the required mappings - E.g. Web.xml ). You can specify the Context in the Deployment Descriptor & allow the Application Server to pick up the Context.
    You can package your Servlets & JSP in an EAR File ( by specify the required parameters in the Deployment Descriptor ), deploy it to the app server & check it out. You will be able to access your Servlets and the JSP.
    Can you also tell us your exact requirements ?
    Regards,
    Sandeep

Maybe you are looking for

  • I had to restore my computer now it says ringtones could not be synced because PC is no longer authorized for purchases on iphone and have authorizied it. by Daniel V.

    I have tried deleting ringtone app and reinstalling it but got the same results. When I try to sync my ringtones I get this Message (The Iphone could not be synced because this computer is no longer authorized for purchased items that are on this Iph

  • 10.1.2 opmnctl startall hanging

    I have a server with a couple of OAS installs (TEST and DEVL) and they usually co-exist peacefully but on occasion, like now, my one app server won't start. The last time I had this issue I had to shutdown all app environments (also have some 11i EBS

  • BPA for SQL Server

    Hi Experts, Need to configure BPA 2008 R2 and 2012. Can you please help confirm if needed to run this tool for remote scan of SQL Servers,i.e install BPA on one central server and use it to scan the rest of the SQL servers in the environment, it is n

  • Using Distiller for .dwg to PDF conversion

    Hi all, I am bit confused about using distiller for converting .dwg to PDF conversion. I need a server application which takes a .dwg file as an input and depending on the file attributes, converts it into a suitable PDF file (A4, A3, etc. depending

  • Syncing contacts & calendar across multiple desktops

    Hi - I have a PC laptop and a Mac Mini.  I'd like to get the contacts and address book synced between them, but can't for the life of me work out how to do this.  It seems that mobile exchange (?) was the way to do it, but that we're now in limbo bef