Everything appeared to be ok, until we tried to go into Designer 2000 and
change the data diagrammer. We can view the diagrams, but when we try to
update ANYTHING in the repository, we get these error messages:
RME-00223: Failed to open new activity
RME-00222: Failed to dispatch operation to Repository
RME-00011: Operation 'open' on ACTIVITY has failed
RME-00854: Activity package initialisation failed
I am not sure if they are caused by what I have done, but when I look into the
cause of the error it does mention system packages and specifically the
API.
Does anybody know if I can restore the dbms_lock package the same way I
replaced it, with a standard script??? Thank you in advance... I am very
nervous about this one!!!!
-----== Posted via Deja News, The Leader in Internet Discussion ==-----
http://www.dejanews.com/ Now offering spam-free web-based newsreading
Everything appeared to be ok ..... but when we try to update ANYTHING in the
repository, we get these error messages:
RME-00223: Failed to open new activity
RME-00222: Failed to dispatch operation to Repository
RME-00011: Operation 'open' on ACTIVITY has failed
RME-00854: Activity package initialisation failed
<<<
Here are some suggestions:
1) With 7.3 the specification and the body for Oracle provided packages like
dbms_lock come in two scripts. The dbmsXXXX script is the specification. Did
you also run the body. I am at home and do not remember the exact naming
standard but I think the body scripts end in the same four characters, i.e.,
xxxxlock.sql.
2) I take it you were 'sys' or connect internal when you ran dbmslock.sql. If
not this is a problem and you should rerun the script as sys. When you droped
the package you lost all grants on it. Did you re-issue them? Or issue
execute on dbms_lock to public..
3) When you ran dbmslock.sql you probably invalidated several of the
repository packages. Oracle provides a script that will re-compile them in
dependency order. You can find invalid packages with the query:
col segment_name format a30
select segment_name, owner, segment_type
from sys.dba_objects
where object_type = 'PACKAGE'
or object_type = 'PACKAGE BODY';
If after considering and checking the above as necessary if you still have a
problem you can try calling me if you think I may be able to help (even if it
just to look up the correct script names mentioned above) I will be away from
my desk most of the morning, but I have voice mail and will check it probably
around noon. (313) 592-5148
Mark Powell -- Oracle 7 Certified DBA
- The only advice that counts is the advice that you follow so follow your own
advice -
just use the next script-generator as sys and execute the result as long as
there are invalid procedures, functions and packages:
select 'alter '||object_type||' '||object_name||' compile;' from
all_objects where status <> 'VALID'
and object_type in ('PROCEDURE', 'FUNCTION', 'PACKAGE');
as the next use the following statement the same way:
select 'alter package '||object_name||' compile body;' from
all_objects where status <> 'VALID'
and object_type = 'PACKAGES BODY');
much luck
Reimar
dorine_...@navtrans.navy.mil schrieb in Nachricht
<6hj434$r60$1...@nnrp1.dejanews.com>...
>First, let me say that I am not a DBA... I am an applications developer,
but
>my company is without a DBA and we are on our own right now. While trying
to
>fix a problem with undeleted locks, I ran a script called dbmslock.sql,
that
>comes with Oracle 7.3. The script went out and replaced the sys.dbms_lock
>package and created a synonym dbms_lock to point to it.
>
>Everything appeared to be ok, until we tried to go into Designer 2000 and
>change the data diagrammer. We can view the diagrams, but when we try to
>update ANYTHING in the repository, we get these error messages:
>
>RME-00223: Failed to open new activity
>RME-00222: Failed to dispatch operation to Repository
>RME-00011: Operation 'open' on ACTIVITY has failed
>RME-00854: Activity package initialisation failed
>