Unwrapping a Package in oracle 10g
Hi,
I would like to view the code of dbms_scheduler package in oracle 10g. When i tried to see the package body it shows me that the package has been wrapped. Could anyone let me know how to unwrap the package and see the contents.
That is all you can see, no more.
SQL> desc dbms_scheduler ;
....more
FUNCTION GET_JOB_STEP_CF RETURNS RE$VARIABLE_VALUE
Argument Name Type In/Out Default?
IEC VARCHAR2 IN
ICN VARCHAR2 IN
VNAME VARCHAR2 IN
IEV RE$NV_LIST IN
PROCEDURE GET_SCHEDULER_ATTRIBUTE
Argument Name Type In/Out Default?
ATTRIBUTE VARCHAR2 IN
...moreSs
Similar Messages
-
Error executing a package on Oracle 10G database
Hi,
I've a package on Oracle 10G database which accepts xml string as input,loads it into XMLDOM and does some processing.
When I execute this package from .Net 2.0 client,I get the following error:
**Error**
err ORA-31011: XML parsing failed
ORA-19202: Error occurred in XML processing
LPX-00216: invalid character 0 (0x0)
Error at line 1
**Error**
But when I execute the same package from .Net client 2.0 on Oracle 9i database, it seems to work fine.The xml which I am sending is well-formed one.
Where am i going wrong?
Please help.
Thanks in advance...!
Regards,
AmitCheck the xml strings passed as input . One of the xmls may be malformed.
-
Maximum size of a package in oracle 10g ?
Hi,
I am using Oracle 10g, version-10.1.0.4.2 and OS- Windows XP.
What should be the maximum size of a package in oracle 10g ?
Thank u....!
Ravihttp://download.oracle.com/docs/cd/B14117_01/server.101/b10755/limits003.htm#sthref3594
Nicolas. -
Error while sending a mail using UTP_MAIL package in Oracle 10g
Hi,
We are using UTP_MAIL package to send a mail from Oracle 10g.We have follwed the following steps ...
SQL> connect sys/password as sysdba
Connected.
SQL> @$ORACLE_HOME/rdbms/admin/utlmail.sql
Package created.
Synonym created.
SQL> @$ORACLE_HOME /rdbms/admin/prvtmail.plb
Package body created.
SQL > alter system set smtp_out_server = '<mail_server_ip:25>' scope =spfile;
System altered..
Now we try the code
begin
utl_mail.send(
sender => 'sender's mail',
recipients => 'receiver mail',
CC => 'optional',
subject => 'Testing utl_mail',
message => 'Test Mail'
end;
But we get the following error...
ERROR at line 1:
ORA-29278: SMTP transient error: 421 Service not available
ORA-06512: at "SYS.UTL_SMTP", line 21
ORA-06512: at "SYS.UTL_SMTP", line 97
ORA-06512: at "SYS.UTL_SMTP", line 139
ORA-06512: at "SYS.UTL_MAIL", line 405
ORA-06512: at "SYS.UTL_MAIL", line 594
ORA-06512: at line 2
We also tried connecting to the mail server through telnet .But it is not getting connected..
Please help us to solve the issue.From your own posting you may have the clue, if you try to access your mail server through telnet and it is not successful, it means the service is down or there are networking issues.
On pre 10gR2 versions there was a bug 4083461.8. It could affect you if you are on 10gR1
"Bug 4083461 - UTL_SMTP.OPEN_CONNECTION in shared server fails with ORA-29278 Doc ID: Note:4083461.8"
This was fixed on 10gR2 base and on 9.2.0.8.0
~ Madrid -
Error while using UTP_MAIL package in oracle 10g
Hi,
I am using the UTP_MAIL package to send a mail from oracle 10g.
I hane connected to the database as sysdba,but while setting the SMTP_SERVER_OUTPUT parameter i get the following error.
SQL> ALTER SYSTEM SET smtp_out_server='blrkecmbx02.ad.abc.com:25' scope=both;
ERROR at line 1:
ORA-02095: specified initialization parameter cannot be modified
Pls help to figure out a solution.This parameter is not modifiable, check the Oracle Reference: SMTP_OUT_SERVER Initialization Parameter
Try the scope=spfile instead of both.
~ Madrid -
Can we Restore a Dropped Package in oracle 10g
Hello,
I have dropped a pl/sql package accidantly.The database is Oracle 10g R2. Is there any way to recover it.?
Thanx.And if you don't already have source control for the code, make sure to implement it right now.
At least I now have the answer to [this question|http://forums.oracle.com/forums/thread.jspa?messageID=3370251#3370251] I was asked a while back.
Surely nobody in their right mind would ever work directly on source code saved in the database? -
Missing UTL_NLA package in Oracle 10g XE
Does Oracle 10g XE come with the UTL_NLA package or is it only available on the Standard and Enterprise edition?
I am unable to locate this package when I view the package list in SQL Developer logging in with SYS priveledges. Does anyone know?it's very possible such Analytical Feature not included in Oracle XE.
-
RE:Packages for Oracle 10g Release 2 in RHEL4
Hi ,
I am installing Oracle 10.2.0.1 in RHEL4 ? (its my first time,for learning)
Where can i find packages for installing oracle 10.2.0.1 in lunix EL4?
Am sorry i searched but couldnt find exact and dont know whether its a correct one or not ?
plz provide me a link for downloading....
I have searched a lot but am bit confused, since am new to this...
binutils-2.15.92.0.2-10.EL4
compat-db-4.1.25-9
control-center-2.8.0-12
gcc-3.4.3-9.EL4
gcc-c++-3.4.3-9.EL4
glibc-2.3.4-2
glibc-common-2.3.4-2
gnome-libs-1.4.1.2.90-44.1
libstdc++-3.4.3-9.EL4
libstdc++-devel-3.4.3-9.EL4
make-3.80-5
pdksh-5.2.14-30
sysstat-5.0.5-1
xscreensaver-4.18-5.rhel4.2
TIA,Hi Alit,
Thanks for reply...
Ok but here is am confused...
Plz see this ..
http://rpm.pbone.net/index.php3?stat=26&dist=42&size=10619423&name=binutils-2.15.92.0.2-10.EL4.src.rpm
TIA, -
[Oracle 10g] Download of add_job_email_notification package
Hi,
Does anyone have the link to the download the add_job_email_notification package for Oracle 10g? I googled, but didn't find it, only a link that doesn't exist anymore.
Thanks is advance841527 wrote:
I think the intention of this forum was to help. If I'd find it in Google I wouldn't waste my time and the others time here...
I need this specific package to monitor jobs scheduled using DBMS_SCHEDULER.
ThanksMaybe not in google, but in oracle.com . . .
go to www.oracle.com
click on the "Oracle Technology Network" button near the upper right corner
enter "add_job_email_notification" in the search field and click the magnifying glass icon.
The information you seek is on the resulting page. -
Reg.SMTP Error while using UTL_MAIL in Oracle 10g
Hi,
I am getting the following SMTP error while trying to use the UTL.MAIL package of Oracle 10g. The query is as follows.
begin
utl_mail.send(
sender => 'NAVEEN',
recipients => '[email protected]',
subject => 'Testing utl_mail',
message => 'The receipt of this email means'|| ' that UTL_MAIL works'
end;
UTL_MAIL package is installesd and the port 25 is configured and firewall is changed.
The same block was working fine before 5 days and now is giving the error as
ORA-29279: SMTP permanent error: 501 badly formatted MAIL FROM user - no "<"
ORA-06512: at "SYS.UTL_SMTP", line 21
ORA-06512: at "SYS.UTL_SMTP", line 99
ORA-06512: at "SYS.UTL_SMTP", line 222
ORA-06512: at "SYS.UTL_MAIL", line 407
ORA-06512: at "SYS.UTL_MAIL", line 594
ORA-06512: at line 2
Could you please help me out how to proceed???
Regards,
Naveen Kumar.Can you back that statement about an Oracle UTL_SMTP bug up with an actual bug number??
From what you have posted, this is not a bug!! but expected and documented (RFC'ed) SMTP server behaviour.
My proof:
/home/billy> telnet mail 25
Trying 165.143.128.26...
Connected to mail
Escape character is '^]'.
220 CNTRRA20-GTW01 [CNTRRA20-GTW01] Thu, 06 Mar 2008 14:26:26 +0200
HELO 10.251.93.58
250 CNTRRA20-GTW01 Hello [10.251.93.58]
MAIL FROM: naveen <[email protected]>
501 naveen <[email protected]> : illegal character(s) in domain string
MAIL FROM: NAVEEN
501 NAVEEN : domain string is NULL.
quit
221 CNTRRA20-GTW01 closing connection. Goodbye!
Connection closed by foreign host.
/home/billy>
As you can clearly see, the SMTP server expects a DOMAIN name as part of the MAIL FROM address. It also does not accept the alternative format suggested.
Yes, not all SMTP servers are equal and some support additional formatting.
But to imply that because the SMTP server does not accept your address formatted as string NAVEEN, it is a UTL_SMTP problem, sounds like a smelly one to me. -
How to trace the flow of plsql procedures/functions in oracle 10g
Hi All,
Recently I came to know that there is dbms_hprof PL/SQL built-in package in Oracle 11g which can be used to trace PL/SQL calls in a Hierarchical way. (acts as a PL/SQL Hierarchical Profiler).
Steps are given in -
http://www.oracle-base.com/articles/11g/PlsqlHierarchicalProfiler_11gR1.php
I would like to know whether there is a similar package in Oracle 10g because I want to trace the flow of plsql procedure and function calls in order to generate an output in a hierarchical way (for debug purposes).
The following example shows the flow of procedure calls when I execute PACKAGE_A.Proceudure_A. I want to generate that kind of an output.
Ex -
PACKAGE_A.Proceudure_A
----|_PACKAGE_A.Proceudure_B
----|------|_PACKAGE_B.Proceudure_C
----|_PACKAGE_B.Proceudure_M
----|------|_PACKAGE_A.Proceudure_B
----|-------------|_PACKAGE_C.Proceudure_C
----|_PACKAGE_Z.Proceudure_Z
If there is no similar package in *10g* I would really appreciate if someone can provide me directions to get the job done using the exsting packages and tables in Oracle 10g. Thanks in advance.
Edited by: user8326781 on Nov 28, 2008 8:57 PM
Edited by: user8326781 on Nov 28, 2008 8:58 PM
Edited by: user8326781 on Nov 29, 2008 12:19 AMI am not sure that this would serve the purpose or not but still, I guess its worth to atleast be mentioned,
http://www.oracle-base.com/articles/9i/DBMS_TRACE.php
HTH
Aman.... -
Pro*C for Oracle 10g in Debian Linux
Hi,
I've downloaded and installed the Debian packages for Oracle 10g XE, and I'm trying to compile a local copy of CASTOR http://www.cern.ch/castor
This software requires the Pro*C compiler. Where can I find/download it from?
Thanks in advance!To answer my own question, I'd say it's necessary to install the tarball, NOT the Debian files, for the Enterprise edition (perhaps to Standard is enough?).
After installation at (for example) /usr/local/oracle, the "proc" precompiler should be at /usr/local/oracle/u01/app/oracle/oracle/product/10.2.0/db_1/bin
The env.variable ORACLE_HOME should be set,
export ORACLE_HOME=/usr/local/oracle/u01/app/oracle/oracle/product/10.2.0/db_1 -
Rpm package error while installing oracle 10g
Hi ,
I tried to run the following package in RHEL 5 , as a preliminary step to install oracle 10g, the third file from disk 1 in server folder , I am getting this error.... all the other packages I was able to install
[amjadali@rhel5 Server]$ rpm -Uvh glibc-2*
warning: glibc-2.5-12.i386.rpm: Header V3 DSA signature: NOKEY, key ID 37017186
warning: package glibc = 2.5-12 was already added, skipping glibc < 2.5-12
error: error reading from file glibc-2.5-12.i686.rpm
[amjadali@rhel5 Server]$
Thanks and RegardsAAP wrote:
Hi ,
I tried to run the following package in RHEL 5 , as a preliminary step to install oracle 10g, the third file from disk 1 in server folder , I am getting this error.... all the other packages I was able to install
[amjadali@rhel5 Server]$ rpm -Uvh glibc-2*
warning: glibc-2.5-12.i386.rpm: Header V3 DSA signature: NOKEY, key ID 37017186
warning: package glibc = 2.5-12 was already added, skipping glibc < 2.5-12
error: error reading from file glibc-2.5-12.i686.rpm
[amjadali@rhel5 Server]$
Thanks and RegardsIf you will use yum instead of rpm, you will get out of this package-dependency-hell in one fell swoop. Oracle has a free public yum server. After properly configuring, just
root> yum install oracle-validatedI leave discovering the detail of configuring your system to use the yum server as an exercise for the student. Hint: google is your friend. -
Table_From_Block Build-in Package is not working in Oracle 10G
Hi
Table_From_Block Build-in Package is not working in Oracle 10G
Kindly advice..user648759 wrote:
Hi
Table_From_Block Build-in Package is not working in Oracle 10G
Kindly advice..Provide a little more information. Forms version OS version, more information about your problem and question.
--and explain what on earth Table_From_Block* mean's--
Tony
PS: TABLE_FORM_BLOCK is a built-in for internal use, usually auto generated by forms. For a moment I didn't get what that meant, need more coffee.
Edited by: Tony Garabedian on Aug 29, 2008 12:39 PM -
Oracle 10g : XML* packages have become synonyms of DBMS_XML* paclages
Hello,
I noticed that old 9i XML* packages are now synonyms for DBMS_XML* packages.
Those package in Oracle 9i were different from the DBMS_ packages.
Now my application is not working anymore because we are now Is there a kit to install on 10g to get the old packages ?David
The decsion to prevent access to the filesystem was taken as part of the general process of hardening the database for security reasons.
I use XSL with includes in the following form without any problems
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:n1="http://www.w3.org/2001/XMLSchema" xmlns:r="http://xmlns.oracle.com/xdb/XDBResource.xsd" xmlns:xfiles="http://xmlns.oracle.com/xfiles" xmlns:xr="http://xmlns.oracle.com/xdb/XDBResource.xsd">
<xsl:output version="1.0" encoding="utf-8" omit-xml-declaration="no" indent="no" media-type="text/html" method="html"/>
<xsl:include href="/cabo/XSL/XFilesCommon.xsl"/>
<xsl:variable name="reverseSort">
Maybe you are looking for
-
i was was having problems with email and thought let's start from beginning so I dumped my email account which is att using yahoo and this morning I can't get any of my emails or send email, anyine have any ideaS? <Email Edited By Host>
-
[Solved] Problem with file permissions for a group
I'm working on a simple Apache HTTP server just to get a small education in proper unix work. To save myself sudoing everything (and generally because it seems the proper way to use unix), I'm trying to give my user control over the /srv directory. S
-
Can't drag desktop icons & other problems
Hi.. I cannot drag my desktop icons nor items from a folder to DT. When this happened, I lost printing from my Lexmark E120N, my memory chips were listed as 68k and 28 k when they are 1 gig & 2 gig. That seems to have cleared up. I also cannot copy a
-
Dear Sir, How can I make balance sheet on basis of profit center accounting Plz guide Regards Raj
-
Organising Albums by artists in chronological order?
Hello, i have the Ipod 60gb model, and for some reason when i go into artists and look at the albums, they are listed in alphabetical order rather than chronological order. This is really annoying, and i don't know how to change it so that my albums