DBMS_JAVA Package in Oracle 8.1.5.0.0

I manually installed JServer using the initjvm.sql script but it did not install the grant Policy table permission procedures. I have looked at the initjvm.sql but the procedures required to grant permissions to the Policy table does not exist there contrally to Java installation and configuration doc.

Hi,
Run d:/oracle/ora81/rdbms/admin/utlsmtp.sql as SYS user. It create the package UTL_SMTP.
Hope this helps.
rukmini

Similar Messages

  • Install and uninstall dbms_java package in 10g

    Hi,
    How to install and unistall dbms_java package in oracle 10g (10.2.0.4)
    Thanks.

    A-K      
         Newbie
    Handle:      A-K
    Status Level:      Newbie
    Registered:      Aug 5, 2007
    Total Posts:      180
    Total Questions:      88 (81 unresolved)
    Name      Amol
    Location      Mumbai,India
    two many questions , few marked as answered. mark the answered thread as answered.
    Posters, please mind these common-sense rules when participating here:
    - When asking a question, provide all the details that someone would need to answer it. Consulting documentation first is highly recommended.
    - When answering a question, please be courteous; there are different levels of experience represented here. A poorly worded question is better ignored than flamed - or better yet, help the poster ask a better question.
    - It is considered good etiquette to reward answerers with points (as "helpful" - 5 pts - or "correct" - 10pts).
    - See more tips in the FAQ
    Thanks for doing your part to make this community as valuable as possible for everyone!
    - OTN

  • DBMS_JAVA package

    The 'DBMS_JAVA' package is mentioned in Java Sored Procedures Developer's Guide (Release 9.0.1) but
    I am not able to find the package when I query user_objects even though we are using Oracle 9i version 9.0.1.2.0. Why is this?
    Also, I was not able able to find any details of the DBMS_JAVA package. Could you please help?
    Thanks.

    Well, the only way that I am using this package procedure, is to set ouput for Java, System.out.println directly from
    the Java stored procedures when they are executed from SQLPLUS environment.
    eg.
    SQL> call DBMS_JAVA.SET_OUTPUT(1000000);
    then I will call java stored procedure via a PL/SQL wrapper function/procedure.
    Without that the System.out.println within Java class will not output result on to th SQLPLUS !!.
    Mohammed R.Qurashi

  • Installing DBMS_JAVA package

    Hi All,
    in my database Oracle 9.2.0.6 on solaris DBMS_JAVA package is missing. As i want to install the package so i ran initjvm.sql script and spooled the log. I am pasting the spool file for your reference as it's giving an error and terminates the sqlplus session.
    ****************** LOG FILE***********************************
    SQL> @initjvm.sql
    DOC>#######################################################################
    DOC>#######################################################################
    DOC> If the following :test_for_1335603 := 'x' statement causes
    DOC> a PLS-00553 error, and thereby terminates the sqlplus connection,
    DOC> simply restart the script in a new sqlplus session.
    DOC> This error can occur if the script is run in the same session where
    DOC> the database was started. To avoid this problem, always start a new
    DOC> session to run scripts after starting the database.
    DOC>#######################################################################
    DOC>#######################################################################
    DOC>*/
    PL/SQL procedure successfully completed.
    PL/SQL procedure successfully completed.
    PL/SQL procedure successfully completed.
    create or replace package initjvmaux is
    ERROR at line 1:
    ORA-00604: error occurred at recursive SQL level 1
    ORA-01653: unable to extend table SYS.IDL_UB2$ by 128 in tablespace SYSTEM
    Warning: Package Body created with compilation errors.
    call initjvmaux.drp('drop table java$rmjvm$aux')
    ERROR at line 1:
    ORA-06576: not a valid function or procedure name
    call initjvmaux.drp('drop table java$rmjvm$aux2')
    ERROR at line 1:
    ORA-06576: not a valid function or procedure name
    call initjvmaux.drp('drop table java$rmjvm$aux3')
    ERROR at line 1:
    ORA-06576: not a valid function or procedure name
    Table created.
    Table created.
    Table created.
    Index created.
    Index created.
    Index created.
    create or replace package rmjvm is
    ERROR at line 1:
    ORA-00604: error occurred at recursive SQL level 1
    ORA-01653: unable to extend table SYS.IDL_UB2$ by 128 in tablespace SYSTEM
    Warning: Package Body created with compilation errors.
    DOC>#######################################################################
    DOC>#######################################################################
    DOC> If the following rmjvm.check_for_rmjvm() statement results in
    DOC> ORA-00028 it means that the database has not been restarted
    DOC> since the rmjvm script was run. If so, restart the database and
    DOC> retry this script.
    DOC>#######################################################################
    DOC>#######################################################################
    DOC>*/
    call rmjvm.check_for_rmjvm()
    ERROR at line 1:
    ORA-06576: not a valid function or procedure name
    Disconnected from Oracle9i Enterprise Edition Release 9.2.0.6.0 - Production
    *************END OF LOG FILE**************************************************
    can somebody suggest me as to what should be done? and how can i install DBMS_JAVA Package?

    Hi Pranav,
    I donot have the script to generate the DBMS_JAVA package. If possible please forward me the script. Please help me in this. URGENT.
    Thanks in advance.
    VJ
    thanks Avi.
    I was able to install dbms_java pack. without any
    problems i also thought after seeing the spool that
    it's not able to extned system table but did'nt
    touced it as it was a little risky. Neways i extended
    the datafile.
    whcih way do you think is better a) extending the
    data file b) adding a new datafile to the tablespace?

  • Ora-03113 on dbms_java.grant_permission in oracle 10.1.0.4

    Hi.
    I recently installed Oracle 10.1.0.4 enterprise edition.
    when I try to grant a user java permissions I get the error:
    ERROR at line 1:
    ORA-03113: end-of-file on communication channel
    this happens when I try to create a java source object too.
    I've searched metalink but didn't find anything relevant.
    any ideas?

    user446591,
    I'm only guessing, but it seems like your [database] java installation was not successful. There are ways to verify the success of the java installation which are documented in the Oracle documentation (but I forget where and I'm too lazy to start looking for them now).
    One thing I do remember is simply issuing the following command (from an SQL*Plus session):
    desc dbms_javaIf you don't get any errors, that means that the "dbms_java" package was (probably) successfully installed. If you get errors, then you probably need to reinstall java (in the database).
    Good Luck,
    Avi.

  • How to check  DBMS_JAVA package is installed or not a database

    Hi all,
    I 'm using an oracle 10g on Solaris 10 machine.Does any one knows how to check if the DBMS_JAVA package is installed or not in my database
    thanks.

    Handle:      user11191992
    Status Level:      Newbie
    Registered:      Feb 9, 2010
    Total Posts:      60
    Total Questions:      29 (18 unresolved)
    So many question & so few answers
    :-(

  • Urgent: Does dbms_java package is required  to load jar file into database?

    Hi, It's a urgent request. I am trying to install jar file that was created by JDeveloper into database using loadjava. But it is giving so many errors.
    Do we need to install dbms_java package in order to load jar files into the database? Thanks.

    Thanks for your reply Kamal.
    I am trying to load these jar files into Oracle 9.2.0.3.20 database.
    Could you please give me the list of the steps to enable java within the database? Thanks.

  • How to call a package in Oracle

    I'm trying to call a package in oracle
    (this is the oracle way of calling it :
    begin pck$xl.get_year_low_high_to_date(:compid, 20010801 , 20020108 ",:year_low,:year_high,:year_average,:low_date,:high_date); end;)
    but i can't get it right.
    I'm new to package calling in Oracle from Java, till now i only worked with SQL statements without parameters of that kind, can someone help me with this?
    ps the ":compid" is a parameter i have to fill in and provide...
    thank you very much

    ok here is a test i do...
    but still doesn't work something about the bindvariables (check errorlog). I know a bit jdbc and i understant what you mean, but the problem is i don't know how this should go :(
    please advise
    import java.sql.*;
    import java.util.*;
    import java.text.*;
    import java.io.*;
    * @author  U97488
    public class test {
        public static void main(String[] args) {
            try{
                ConnectionSherpa cs = ConnectionSherpa.getInstance("ConnectionSherpa");
                Connection conn = cs.getConnObj();
                String sSQL = "begin?; pck$xl.get_year_low_high_to_date(?, 20010801, 20020801 ,:year_low,:year_high,:year_average,:low_date,:high_date); end;";
                CallableStatement stmt = conn.prepareCall(sSQL);
                stmt.setString(1, "BRU10");
                System.out.println(stmt.toString());
                if(stmt.execute(sSQL)){
                    System.out.println(stmt.getString(2));
            }catch (Exception e){
                e.printStackTrace();
    }StackTrace:
    java.sql.SQLException: ORA-06550: Regel 1, kolom 6:
    PLS-00110: Bindvariabele '1' is niet toegestaan in deze context..
            at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:180)
            at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:208)
            at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:543)
            at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1451)
            at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteFetch(TTC7Protocol.java:862)
            at oracle.jdbc.driver.OracleStatement.executeNonQuery(OracleStatement.java:1839)
            at oracle.jdbc.driver.OracleStatement.doExecuteOther(OracleStatement.java:1764)
            at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2354)
            at oracle.jdbc.driver.OracleStatement.execute(OracleStatement.java:909)
            at com.kbcsecurities.taminoupdate.servlets.test.main(test.java:28)

  • How call procedure or package from Oracle BI Publisher 10.1.3.2.1

    Hi Gurus,
    I need to call a procedure or package from Oracle BI Publisher 10.1.3.2.1 by passing parameters, I do it because it would be easier to fill a table as the report that asks for is too complex (8 breaks, 5 dblinks, 20 tables, etc).
    I'm not using the Oracle XML. Review include the following solutions:
    Re: Stored procedures and dynamic columns
    Re: Is it possible to use Stored Procedures in BI Publisher GUI?
    Re: PL/SQL Stored Procedure w/ XML Template?
    But none of them useful for me was the level of complexity.
    Best regards.

    Hi Vetsrini,
    I write the sentence as it showed in the previous thread
    select from whc_kk_v2.whc_p_kk_publisher (pv_msgerror =>: msgerror,*
    pv_pro1 =>: prov_1,
    pv_pro2 =>: prov_2)
    run when I get the error BIP
    ORA-00933: SQL command not properly ended
    Show me I'm doing wrong, or who may be causing the error. I tried everything but does not leave, please your help.
    Best regards

  • 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,
    Amit

    Check the xml strings passed as input . One of the xmls may be malformed.

  • 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

  • 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....!
    Ravi

    http://download.oracle.com/docs/cd/B14117_01/server.101/b10755/limits003.htm#sthref3594
    Nicolas.

  • Handling of UTL_HTTP package in oracle 10.2.0.5 to 11.2.0.2

    Dear All,
    We are calling Web services using UTL_http through one of our custom package in Oracle 10.2.0.5 .. & it is giving correct result/output..
    But if we are calling web services using the same custom package from oracle 11.2.0.2 & it is giving us error..
    utl http handling in custom package as :
    soap_request :=
    '<?xml version = "1.0" encoding = "UTF-8"?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><SOAP-ENV:Body>'
    || v_request_xml -- input xml that we are sending
    || '</SOAP-ENV:Body></SOAP-ENV:Envelope>';
    http_req :=
    UTL_HTTP.begin_request (fx_service_url, -- fx_service_url is URL web service which are calling
    'POST',
    'HTTP/1.1'
    UTL_HTTP.set_header (http_req,
    'Content-Type',
    'text/xml'
    UTL_HTTP.set_header (http_req,
    'Content-Length',
    LENGTH (soap_request)
    UTL_HTTP.set_header (http_req, 'SOAPAction', '');
    UTL_HTTP.write_text (http_req, soap_request);
    http_resp := UTL_HTTP.get_response (http_req);
    DBMS_OUTPUT.PUT_LINE('HTTP response status code: ' || http_resp.status_code);
    DBMS_OUTPUT.PUT_LINE('HTTP response reason phrase: ' || http_resp.reason_phrase);
    UTL_HTTP.read_text (http_resp, soap_respond);
    UTL_HTTP.end_response (http_resp);
    Output in 10g :
    HTTP response status code: 200
    HTTP response reason phrase: OK
    Output in 11g :
    HTTP response status code: 400
    HTTP response reason phrase: Bad Request
    Query :
    1. is there any difference of handling utl_http in oracle 10.2.0.5 to 11.2.0.2 ?
    2. we recently upgraded oracle database from 10.2.0.5 to 11.2.0.2.. is/are there any setting which we need to take care while passing xml from oracle database to web service ..?
    3. do we need to change any setting in we-services server also in case database upgraded from ..?
    Thanks,

    For SQL Developer, see my advices in Re: Oracle 10g - Chinese Charecter issue and Re: insert unicode data into nvarchar2 column in a non-unicode DB
    -- Sergiusz

  • How to register Package in oracle apps?

    Hi All
    How to register package in oracle apps?
    If package contains 3 procedure, i want to call 2nd procedure of the package when i submit the concurrent program in srs window.. Can any one give the registration for the same

    To add to Gyan's comment:
    Go to system adminstration responsibility
    Create a conc. executable. Select execution method as pl/sql stored program and then enter your second procedure name as follows
    package_name.procedure_name.
    Then create conc. program that uses the above executable.
    Add the program to a request group.
    Add the request group to a responsibility.
    Now you will be able to run your procedure.
    Hope this helps,
    Sandeep Gandhi

  • How to list dependencies of stored procedure in a package in oracle

    hi gurus,
    can any body help me to solve the below issue?
    how to list dependencies of stored procedure in a package in oracle?
    advanced thanks...

    It sounds like you're going to have trouble because you're trying to track dependencies at a more fine-grained level than Oracle does (at least prior to 11g, which I know does finer-grained dependency tracking for columns, so there may be something that would help you there).
    In Oracle, the entity is the package body. The procedure within the package does not have dependencies and does not depend on anything, it is part of the package body, which does have dependencies. You can see what tables are used by the package body via DBA_DEPENDENCIES. But if you're trying to track the dependencies for a particular procedure in a package, you'd either have to manually examine the code or you'd have to write your own PL/SQL parser.
    Justin

Maybe you are looking for

  • Safari "tel:" phone number links stripping non-numeric characters

    After a week of owning my iPhone (two weeks after it launched) I made myself a little web interface that contain various iPhone-helpful links. Four of these were AT&T specific telephone links: *646# - check how many minutes remaining *729 - pay your

  • SAP memory parameters

    Hi Guys, I am looking for some advice from Basis Gurus regarding SAP/Oracle memory sizing. We have a HP server with 16G physical memory. I am goign to have an SAP central instance and a 1.2 TeraByte Oracle database server on this one. I would like so

  • Trouble Importing and Using a Screencast

    Hello all, I am completely new to Premiere CC but I'm having some issues. I recently used CamStudio to record a screencast that was 5 minutes long for a client. The video is 1280x720, the frame rate is 50 frames per second and the type is .avi All I

  • Trace function or some way to see what branching decisions are being made.

    Hello, Is there anyway to trace through a series of conditional branching items?    In my 11 page form I have a case where I think I have set up the proper Show/Hide and branching conidtions, however In one senario, when testing the form I get a "Bla

  • Opening files with serialized objects even if class definition has changed.

    Dear all, We are deploying an application wich saves serialized objects. But when changing something in the code and especially in the serialized classes we are not able to open files which have been saved with the old 'outfit' of the class. I think,