Print Thread
"SYS.DBMS_PIPE" Must Be Declared
#3955 09/30/02 05:34 PM
Joined: Sep 2002
Posts: 4
J
Member
OP Offline
Member
J
Joined: Sep 2002
Posts: 4
Hi..
I'm trying to develop a plug-in system for internal messaging using DBMS_Pipes and a session/event component... when I try to pack my message it spits the following error message out ...
PLS-00201 "SYS.DBMS_PIPE" MUST BE DECLARED

Can anyone tell me what I'm doing wrong?

Re: "SYS.DBMS_PIPE" Must Be Declared
#3956 09/30/02 10:41 PM
Joined: Aug 1999
Posts: 22,216
Member
Offline
Member
Joined: Aug 1999
Posts: 22,216
The current oracle user does not have execute privileges on the dbms_pipe package. Connect to the database as SYS, and execute the following:

grant execute on dbms_pipe to public

It can also be that sys.dbms_pipe does not exist, but that is less likely.

------------------
Marco Kalter
Allround Automations


Marco Kalter
Allround Automations
Re: "SYS.DBMS_PIPE" Must Be Declared
#3957 10/02/02 05:20 PM
Joined: Sep 2002
Posts: 4
J
Member
OP Offline
Member
J
Joined: Sep 2002
Posts: 4
Tried that... still doesn't work .. any other ideas?

Re: "SYS.DBMS_PIPE" Must Be Declared
#3958 10/02/02 10:15 PM
Joined: Aug 1999
Posts: 22,216
Member
Offline
Member
Joined: Aug 1999
Posts: 22,216
Start SQL*Plus, connect as the oracle user of the session of the event, and type:

SQL> exec sys.dbms_pipe.reset_buffer;

If this raises a PLS-00201 error, then either you do not have any privileges, or sys.dbms_pipe does not exist. I can't imagine any other reason.

------------------
Marco Kalter
Allround Automations


Marco Kalter
Allround Automations
Re: "SYS.DBMS_PIPE" Must Be Declared
#3959 10/03/02 03:25 PM
Joined: Sep 2002
Posts: 4
J
Member
OP Offline
Member
J
Joined: Sep 2002
Posts: 4
Seems to be sorted out ... Thanks


Moderated by  support 

Link Copied to Clipboard
Powered by UBB.threads™ PHP Forum Software 7.7.4
(Release build 20200307)
Responsive Width:

PHP: 7.1.33 Page Time: 0.026s Queries: 13 (0.007s) Memory: 2.5175 MB (Peak: 3.0449 MB) Data Comp: Off Server Time: 2024-05-11 19:38:15 UTC
Valid HTML 5 and Valid CSS