"dbms_java.grant_permission" procedure

Dear sir,
i am using standalone oc4j and my url come like 'http://localhost:8888/mapviewer/
in my machine where i am running the mapviewer. but my oracle database is on another machine and i am following two procedures to grant permissions
call dbms_java.grant_permission('CPU','SYS:java.net.SocketPermission','http://localhost:8888
','resolve');
call dbms_java.grant_permission('MDSYS','SYS:java.net.SocketPermission','http://localhost:8888
','resolve');
but when i am trying to do this following query from CPU user
giving following error
SQL> select sdo_mvclient.getdatasources() datasources from dual;
select sdo_mvclient.getdatasources() datasources from dual
ERROR at line 1:
ORA-29532: Java call terminated by uncaught Java exception:
java.lang.NullPointerException
please any one tell me how can i solve this problem
Thanks
Kabeer

Hi Kabeer,
This is not permission issue problem, because you receive NULL pointer exception. If, database user doesn't have access to the network java.security.AccessControlException is thrown.
I think, that you have not executed:
call sdo_mvclient.createmapviewerclient(
'http://www.mycorp.com:8888/mapviewer/omserver') ;
in the database session, before using PL/SQL MapViewer API. And, if you really have not executed this, then you will receive null pointer exception, because there is no information about remote MapViewer service in the database session.
You should follow the steps described in Section 6.2 of MapViewer 11EA1 User Guide. 6.2.1 - network access, 6.2.2 - MapViewer handle declaration (session scope).
I have deployed mvclient.jar and successfully using remote MapViewer service. Database and Mapviewer are on the different machines and network.
So, I think your problem is, that you have not declared address of remote MapViewer server in the session. According to documentation it should be declared for each session.
Regards,
Andrejus

Similar Messages

  • DBMS_JAVA.GRANT_PERMISSION RESULTS IN ORA-03113

    I've successfully created and deployed a java procedure that compresses files for use as email attachements. Upon executing the procedure I get a trace file telling me to grant java.io.FilePermission to the user. I attempted the call (connected as sys (sysdba)):
    exec dbms_java.grant_permission('VEHICLE','SYS:java.io.FilePermission','f:\oracle\soe_data\*', 'read, write');
    which resulted in:
    ERROR at line 1:
    ORA-03113: end-of-file on communication channel
    and a core dump with:
    ORA-07445: exception encountered: core dump [ACCESS_VIOLATION] [unable_to_trans_pc] [PC:0x377E21D] [ADDR:0x24] [UNABLE_TO_READ] []
    I opened up an SR on metalink and have not gotten a response.
    I checked the Java install with "desc DBMS_JAVA" and got no errors. I also tried several variations to the path syntax, escaping the backslash, with/without the *, to just the directory, to an explicit filename, etc.
    Oracle information is as follows:
    Oracle Database 10g Enterprise Edition Release 10.1.0.5.0 - Production
    With the Partitioning, OLAP and Data Mining options
    Windows XP Version V5.1 Service Pack 2
    CPU : 1 - type 586
    Thanks in advance

    I finally got this resolved. Apparently the catpatch.sql script did not run during the last upgrade causing a version mis-match

  • Dbms_java.grant_permission fails during the subsequent executions

    Always first call succeeds for the following lines in a procedure.
    dbms_java.grant_permission('MDSYS','SYS:java.io.FilePermission','D:\temp\test.dat,'read' );
    dbms_java.grant_permission('SCOTT,'SYS:java.io.FilePermission','D:\temp\test.dat,'read' );
    Any subsequent call does not return error message. But the other parts of the code fails to recognize the file permission and results in error.
    Workaround is to run the grant_permission for a set for files separately, then the other parts of the code recognize the file permissions.
    Any ideas? Thanks.

    Thanks for your attention.
    1. Here is the code
    -- Import the image.
    PROCEDURE Import_Raster (pi_grant_schema varchar2, pi_utldirname varchar2, pi_filename varchar2, pi_georid number)
    IS
         -- PRAGMA AUTONOMOUS_TRANSACTION;
         geor SDO_GEORASTER;
         l_filepathname varchar2(255);
         l_privilege varchar2(50) := 'read';
    BEGIN
         l_filepathname:= pi_utldirname||'\'||pi_filename;
         dbms_java.grant_permission('MDSYS','SYS:java.io.FilePermission',l_filepathname, l_privilege );
         dbms_java.grant_permission(pi_grant_schema,'SYS:java.io.FilePermission',l_filepathname, l_privilege );
         delete from georaster_table where georid = pi_georid;
         insert into georaster_table (georid,georaster)
              values( pi_georid, sdo_geor.init('RDT_GEOR', pi_georid) );
         select georaster into geor from georaster_table where georid = pi_georid for update;
         sdo_geor.importFrom(geor, '', 'TIFF', 'file',l_filepathname);
         update georaster_table set georaster = geor where georid = pi_georid;
         dbms_java.revoke_permission('MDSYS','SYS:java.io.FilePermission',l_filepathname, l_privilege );
         dbms_java.revoke_permission(pi_grant_schema,'SYS:java.io.FilePermission',l_filepathname, l_privilege );
    END;
    2. I could reproduce the error if repeated call the procedure with different file name as below.
    call dbms_java.grant_permission('SCOTT','SYS:java.io.FilePermission','e:\temp\m25l_2_a.tif','read' );
    call dbms_java.grant_permission('SCOTT','SYS:java.io.FilePermission','e:\temp\m25l_2_b.tif','read' );
    call dbms_java.grant_permission('SCOTT','SYS:java.io.FilePermission','e:\temp\m26d_2.tif','read' );
    call dbms_java.grant_permission('SCOTT','SYS:java.io.FilePermission','e:\temp\m26e_2.tif','read' );
    call dbms_java.grant_permission('SCOTT','SYS:java.io.FilePermission','e:\temp\m26f_3.tif','read' );
    call dbms_java.grant_permission('SCOTT','SYS:java.io.FilePermission','e:\temp\m26g_1.tif','read' );
    3. Workaround: I am exiting the session after each command.
    Thanks.

  • Dbms_java.grant_permission() help

    Hi,
    As system I have execute the dbms_java.grant_permission('SCOTT','java.io.FilePermission','/tmp/ls.txt','read,write,execute') which went through fine.
    In the java procedure I am trying to access the /tmp/ls.txt file. When I execute the procedure I am getting the following error.
    java.security.AccessControlException: the Permission (java.io.FilePermission
    <<ALL FILES>> execute) has not been granted by dbms_java.grant_permission to
    SchemaProtectionDomain(SCOTT|PolicyTableProxy(SCOTT))
    at java.security.AccessControlContext.checkPermission(AccessControlContext.java)
    at java.security.AccessController.checkPermission(AccessController.java)
    at java.lang.SecurityManager.checkPermission(SecurityManager.java)
    at
    oracle.aurora.rdbms.SecurityManagerImpl.checkPermission(SecurityManagerImpl.java
    at java.lang.SecurityManager.checkExec(SecurityManager.java)
    at java.lang.Runtime.exec(Runtime.java)
    at java.lang.Runtime.exec(Runtime.java)
    at java.lang.Runtime.exec(Runtime.java)
    at lastGenTrigger.afterUpdate(lastGenTrigger.java:21)
    Any help ???
    Thanx in advance
    Guru

    Ensure user scott has reconnected to the database after the permission has been granted.
    null

  • Dbms_java.grant_permission not working

    Hi,
    Actually using code from Asktom,i have written java program which is getting list of file and inserting them in database table but then i need to give rights using
    execute dbms_java.grant_permission( 'PDMAIN', 'SYS:java.io.FilePermission', '\\lu1dpc21\cdrv','read');
    But problem when i am executing it in procedure its not working ,i need to execute it from sql*plus,so is it limitation or i am not doing anything wrong.
    Regards,
    Sandeep

    And your Oracle version is? Please paste your output of the below steps -
    Connected to Oracle Database 10g Enterprise Edition Release 10.2.0.3.0
    Connected as hr
    SQL> SET SERVEROUTPUT ON SIZE 1000000
    SQL> CALL DBMS_JAVA.SET_OUTPUT(1000000);
    Method called
    SQL> call dbms_java.grant_permission('HR', 'java.io.FilePermission', '/tmp', 'read,write');
    Method called
    SQL> begin
    2 dbms_java.grant_permission('HR', 'java.io.FilePermission', '/tmp', 'read,write');
    3 end;
    4 /
    PL/SQL procedure successfully completed
    SQL> select type_name from user_java_policy where name = '/tmp' ;
    TYPE_NAME
    java.io.FilePermission
    Best regards.

  • Trace File / EJB / dbms_java.grant_permission

    I am trying to deploy a simple Hello World EJB onto Oracle 8.1.7 using Jdeveloper 3.2.
    I get the following error when deploying :
    Loading EJB Jar file and Comm Stubs Jar file...
    error: loadJava has failed to load some classes; Please check trace file!
    *** Errors occurred while deploying the EJB to 8i JVM ***
    *** Deployment completed ***
    My trace file has the following in it :
    *** 2001-05-03 17:33:29.531
    *** SESSION ID:(14.2397) 2001-05-03 17:33:29.531
    Error while creating class oracle/aurora/jndi/sess_iiop/ActivationException
    ORA-29545: badly formed class: User has attempted to load a class (oracle.aurora.jndi.sess_iiop.ActivationException) into a restricted package. Permission can be granted using dbms_java.grant_permission(<user>, LoadClassInPackage...
    could not find oracle/aurora/jndi/sess_iiop/ActivationException in WILLOW2K
    could not find oracle/aurora/jndi/sess_iiop/ActivationException in WILLOW2K
    ORA-29534: referenced object WILLOW2K.javax/naming/InitialContext could not be resolved
    ORA-29545: badly formed class: at offset 128 of packagessb.ssbClient2.main expecting a class-javax.naming.NamingException but encountered a class-oracle.aurora.jndi.sess_iiop.ActivationException.
    ORA-29545: badly formed class: at offset 4 of javax.naming.spi.NamingManager.createObjectFromFactories expecting a class-javax.naming.Context but encountered a class-javax.naming.Context.
    at offset 4 of javax.naming.spi.NamingManager.getStateToBind expecting a class-javax.naming.Context but encountered a class-javax.naming.Context.
    at offset 38 of javax.naming.spi.NamingManager.getStateToBind expecting a class-javax.naming.Context but encountered a class-javax.naming.Context.
    at offset 38 of javax.naming.spi.NamingManager.getStateToBind expecting a class-javax.naming.Name but encountered a class-javax.naming.Name.
    at offset 37 of javax.naming.spi.NamingManager.getURLObject expecting a class-javax.naming.Context but encountered a class-javax.naming.Context.
    ORA-29534: referenced object WILLOW2K.javax/naming/spi/NamingManager could not be resolved
    ORA-29534: referenced object WILLOW2K.javax/naming/spi/NamingManager could not be resolved
    Error while resolving class oracle/aurora/jndi/sess_iiop/ActivationException
    ORA-04043: object /889d46b7_ActivationException does not exist
    I think the error stems from the line :
    (oracle.aurora.jndi.sess_iiop.ActivationException) into a restricted package. Permission can be granted using dbms_java.grant_permission(<user>, LoadClassInPackage...
    Doe anyone know how I can grant the user permission to the above library. How exactly is it done using Oracle 8.1.7 ?
    null

    did you read the install notes (install.htm) or release notes(readme.htm) files for known issues ?
    see the release notes for the following :
    Problems Deploying Business Components for Java Libraries in Different Schema (1095107)
    Attempting to deploy a Business Components for Java library in a different schema from the JDeveloper IDE generates the following error:
    Generating Jar File...done
    Loading EJB Jar file and Comm Stubs Jar file...
    error: loadJava has failed to load some classes; Please check trace file!
    *** Errors occurred while deploying the EJB to 8i JVM ***

  • How to use dbms_java.grant_permission

    i am trying to execute the following statements in oracle9i, i got an error
    SQL> call dbms_java.grant_permission('scott','java.io.FilePermission',
    2 'C:\framework\Shell Scripts\testscripts\*',
    3 'execute');
    call dbms_java.grant_permission('scott','java.io.FilePermission',
    ERROR at line 1:
    ORA-29532: Java call terminated by uncaught Java exception:
    oracle.aurora.vm.IdNotFoundException: scott is not a user or role

    Are you granting this from sys user? does 'scott' schema really exists in your database?

  • Dbms_java.grant_permission in Microsoft Windows

    Hi,
    I have tried so many many times to get this working but have failed. When I ran the following statement, it did return 10 rows (10 files in the path in operating system). However, all rows showed null values with no data at all. I think this is something to deal with Windows. I cannot find any help on the Web. Here is the package that I got:
    http://sql-plsql-de.blogspot.com/2008/09/ein-einfacher-ansatz-dateien-eines.html?lang=en
    <pre>
    begin
    dbms_java.grant_permission(
    'XXX_MGR',
    'SYS:java.io.FilePermission',
    'F:\xxx_jobs\uploads\images\birth',
    'read');
    end;
    select e.file_name, e.is_dir, e.file_size
    from table(file_pkg.get_file_list(file_pkg.get_file('F:\xxx_jobs\uploads\images\birth'))) e
    </pre>

    grant read permission to the directory and the files in it by using F:\xxx_jobs\uploads\images\birth\-. F:\xxx_jobs\uploads\images\birth\* is also an alternative.thanks to Carsten Czarski page for highlighting this.

  • List permissions when granted by dbms_java.grant_permission

    Is there a way to find out all the granted permissions which were assigned by the dbms_java.grant_permission() method?
    thanks,
    James.

    If I recall they are in DBA_JAVA_POLICY etc. but I'm not 100% sure.

  • To Know the Risk with  dbms_java.grant_permission

    Hi Everyone,
    I am Using dbms_java.grant_permission to give the grant for java execution.
    begin dbms_java.grant_permission('****','java.net.SocketPermission','***.****.co.in','connect,resolve'); end;
    begin dbms_java.grant_permission('****','java.net.SocketPermission', '***.****.co.in','resolve'); end;
    begin dbms_java.grant_permission('****','java.net.SocketPermission', '***.****.co.in','connect'); end;
    begin dbms_java.grant_permission('SYS','SYS:java.net.SocketPermission','***.****.co.in','connect,resolve'); end;
    begin dbms_java.grant_permission('****','java.net.SocketPermission','*','connect,resolve'); end;
    begin dbms_java.grant_permission( '****', 'SYS:java.util.PropertyPermission','java.security.egd', 'read,write' ); end;
    begin dbms_java.grant_permission( '****', 'java.util.PropertyPermission','java.security.egd', 'read,write' ); end;
    begin dbms_java.grant_permission('****', 'java.util.PropertyPermission','*','read,write'); end;
    begin dbms_java.grant_permission('****', 'java.io.FilePermission','*','read,write'); end;
    begin dbms_java.grant_permission('****','java.util.PropertyPermission', '*','read,write');
    call dbms_java.grant_permission('****', 'java.util.PropertyPermission','*','read,write');
    is there any security related problem if i am giving above grant in my DBMS.
    Please give me your valuable opinion on this.
    Thanks in Advance.

    Hi Everyone,
    I am Using dbms_java.grant_permission to give the grant for java execution.
    begin dbms_java.grant_permission('****','java.net.SocketPermission','***.****.co.in','connect,resolve'); end;
    begin dbms_java.grant_permission('****','java.net.SocketPermission', '***.****.co.in','resolve'); end;
    begin dbms_java.grant_permission('****','java.net.SocketPermission', '***.****.co.in','connect'); end;
    begin dbms_java.grant_permission('SYS','SYS:java.net.SocketPermission','***.****.co.in','connect,resolve'); end;
    begin dbms_java.grant_permission('****','java.net.SocketPermission','*','connect,resolve'); end;
    begin dbms_java.grant_permission( '****', 'SYS:java.util.PropertyPermission','java.security.egd', 'read,write' ); end;
    begin dbms_java.grant_permission( '****', 'java.util.PropertyPermission','java.security.egd', 'read,write' ); end;
    begin dbms_java.grant_permission('****', 'java.util.PropertyPermission','*','read,write'); end;
    begin dbms_java.grant_permission('****', 'java.io.FilePermission','*','read,write'); end;
    begin dbms_java.grant_permission('****','java.util.PropertyPermission', '*','read,write');
    call dbms_java.grant_permission('****', 'java.util.PropertyPermission','*','read,write');
    is there any security related problem if i am giving above grant in my DBMS.
    Please give me your valuable opinion on this.
    Thanks in Advance.

  • Problem with DBMS_JAVA, GRANT_PERMISSION

    I am having a problem running the GRANT PERMISSION procedure in the DBMS_JAVA package as user SYS on Oracle 8.1.6. on Windows 2000.
    I ran the INITJVM script and the package DBMS_JAVA exists, and contains many more procedures than I can access.
    i.e. I can see the following procs/functions:
    PROCEDURE register_ep;
    PROCEDURE delete_ep;
    PROCEDURE server_startup;
    etc. thru:
    -- debugging interface --
    procedure start_debugging(host varchar2, port number, timeout number);
    procedure stop_debugging;
    procedure restart_debugging(timeout number);
    However, I cannot access the rest of the procs/functions in the package header:
    procedure export_source(name varchar2, schema varchar2, blob BLOB)
    as language java name
    'oracle.aurora.rdbms.ExportSchemaObjects.exportSource(java.lang.String, java.lang.String, oracle.sql.BLOB)';
    procedure export_source(name varchar2, blob BLOB)
    as language java name
    'oracle.aurora.rdbms.ExportSchemaObjects.exportSource(java.lang.String, oracle.sql.BLOB)';
    procedure export_source(name varchar2, schema varchar2, clob CLOB)
    as language java name
    'oracle.aurora.rdbms.ExportSchemaObjects.exportSource(java.lang.String, java.lang.String, oracle.sql.CLOB)';
    etc. Thru.
    procedure grant_permission(
    grantee varchar2, permission_type varchar2,
    permission_name varchar2, permission_action varchar2,
    key OUT number)
    as language java name
    'oracle.aurora.rdbms.security.PolicyTableManager.grant(
    java.lang.String, java.lang.String, java.lang.String,
    java.lang.String, long[])';
    -- similar to grant except create a restrict row.
    procedure restrict_permission(
    grantee varchar2, permission_type varchar2,
    permission_name varchar2, permission_action varchar2,
    key OUT number)
    as language java name
    'oracle.aurora.rdbms.security.PolicyTableManager.restrict(
    java.lang.String, java.lang.String, java.lang.String,
    java.lang.String, long[])';
    ... etc. Thru the rest of the package header. These procedures and functions are defined "AS LANGUAGE JAVA NAME ..." and don't seem to work properly.
    Any assistance is greatly appreciated!!!!!
    Thanks,
    Jim
    null

    I have investigated the problem a little further. During generation of the dump file, the file is writable of course. It changes to read-only when the following function is called:
    dbms_datapump.detach(l_dp_handle);
    However the documentation on detach (http://download-west.oracle.com/docs/cd/B14117_01/appdev.101/b10802/d_datpmp.htm#997383) says nothing about this behaviour. So I guess that my problem is just caused by a bug in the oracle server.
    Best regards
    Niels Dybdahl

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

  • DBMS_JAVA.GRANT_PERMISSION

    Hi all
    anyone know when/why do I need to grant permissions to myself? I created a small java class, created the wrapper plsql, but when I run it, complains about permissions. Funny thing is, another simple class I had tried before didnt require anything.
    Thanks
    Paulo

    regarding the comment :
    8.15 used jdk 1.1.x.
    So jdk 1.2 based code is not compatible inside the orcl 8i jvm.
    it should be read as follows for better understanding.
    RDBMS 8.1.5 uses jdk 1.1.x, so jdk 1.2 based code is not compatible inside its jvm.
    Note :
    RDBMS 8.1.6 and 8.1.7 use jdk 1.2.x, so jdk 1.0.x, 1.1.x, or 1.3.x based code is not compatible inside its jvm.
    null

  • Run a java class in Oracle db to connect to Sybase

    Hi All, I'm looking for a way to connect to Sybase database at no-license-cost (meaning Oracle Gateway or similar 3rd party products), first coming idea was JDBC, I know I can run a java class in Oracle, the simple idea is to write a java class which connects to Sybase via JDBC thin driver and return the resultset of given query in a java class, the resultset will be presented in Oracle Apex framework.  Does anyone know if this can be done or not, and how?  Any howto articles are welcomed.
    Henry

    Henry:
    To connect to Sysbase or MsSQL Server you could use jTDS open source driver.
    http://sourceforge.net/projects/jtds/
    upload above driver (jar file) using loadjava, and grants the port connection using dbms_java.grant_permission procedure.
    Because jTDS is pure java driver (mode 4) is possible to use directly inside the RDBMS.
    Best regards, Marcelo.
    PD: Latest jtds driver is compiled against 1.6 sources, but oldest version will work with 1.5 for 11g.

  • "How to Resolve ORA-29532 Java 2 Permission Problems in RDBMS 8.1.6 and 8.1.7"

    I'm in the process of publishing the following note (134280.1), titled "How to Resolve ORA-29532 Java 2
    Permission Problems in RDBMS 8.1.6 and 8.1.7".
    It will be accessible from Oracle Support's "Metalink" site.
    "How to Resolve ORA-29532 Java 2 Permission Problems in RDBMS 8.1.6 and 8.1.7".
    Problem Description
    Periodically an application running in the Enterprise Java Engine
    (EJE) formerly known as the "Oracle 8i JVM", "the JSERVER component", or
    the "Aurora JVM" will fail with a "java 2" permissions error having the
    following format :
    Note : Message shown below have been reformatted for easier readability.
    java.sql.SQLException: ORA-29532: Java call terminated by uncaught Java exception:
    usually followed by a detailed error message similar to one of the following
    messages :
    Example # 1
    java.security.AccessControlException: the Permission
    (java.net.SocketPermission hostname resolve)
    has not been granted by dbms_java.grant_permission to
    SchemaProtectionDomain(SCOTT|PolicyTableProxy(SCOTT))
    Example # 2
    java.security.AccessControlException: the Permission
    (java.util.PropertyPermission * read,write)
    has not been granted by dbms_java.grant_permission to
    SchemaProtectionDomain(SCOTT|PolicyTableProxy(SCOTT))
    Example # 3
    java.security.AccessControlException: the Permission
    (java.io.FilePermission \matt1.gif read)
    has not been granted by dbms_java.grant_permission to
    SchemaProtectionDomain(SCOTT|PolicyTableProxy(SCOTT))
    Explanation
    The java 2 permission stated in line # 2 of each of the above "Examples"
    has not been granted to the user specified in line 4 of the above "Examples".
    Solution Description
    The methodology to solve this issue is identical for all java 2 permissions
    cases.
    1) Format a call "dbms_java.grant_permission" procedure as described below.
    2) Logon as SYS or SYSTEM
    3) Issue the TWO commands shown below
    4) Logoff as SYS or SYSTEM
    5) Retry your application
    For Example # 1
    1) Logon as SYS or SYSTEM
    2) Issue the following commands :
    a) call dbms_java.grant_permission('SCOTT',
    'java.net.SocketPermission',
    'hostname',
    'resolve');
    b) commit;
    Note: Commit is mandatory !!
    3) Logoff as SYS or SYSTEM
    4) Retry your application
    For Example # 2
    1) Logon as SYS or SYSTEM
    2) Issue the following commands :
    a) call dbms_java.grant_permission('SCOTT',
    'java.util.PropertyPermission',
    'read,write');
    b) commit;
    Note: Commit is mandatory !!
    3) Logoff as SYS or SYSTEM
    4) Retry your application
    For Example # 3
    1) Logon as SYS or SYSTEM
    2) Issue the following commands :
    a) call dbms_java.grant_permission('SCOTT',
    'java.io.FilePermission',
    '\matt1.gif',
    'read');
    b) commit;
    Note: Commit is mandatory !!
    3) Logoff as SYS or SYSTEM
    4) Retry your application
    References
    For more details on java 2 permissions and security within the EJE, review
    Chapter 5, in the Java Developer's Guide. entitled,
    "Security For Oracle8i Java Applications"
    The RDBMS 8.1.7 version can be found at :
    http://otn.oracle.com/docs/products/oracle8i/doc_library/817_doc/java.817/index.htm

    Hi, Don,
    I solved the problem of security exception I mentioned at java procedure topic as following:
    ORA-29532: Java call terminated by uncaught Java exception: java.lang.SecurityException
    I tried to use your solution as following:
    call dbms_java.grant_permission('SDE', 'java.net.SocketPermission', 'ORCL.COHPA.UCF.EDU','resolve');
    but SQL*plus gave me a error message:
    invalid collumn.
    What's the problem?
    However, I call a grant command as following:
    SQL> grant JAVASYSPRIV to sde;
    and then that exception is gone. What's the difference between dbms_java.grant_permission and grant command?
    Thanks
    Bing
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by don -- oracle support:
    I'm in the process of publishing the following note (134280.1), titled "How to Resolve ORA-29532 Java 2
    Permission Problems in RDBMS 8.1.6 and 8.1.7".
    It will be accessible from Oracle Support's "Metalink" site.
    "How to Resolve ORA-29532 Java 2 Permission Problems in RDBMS 8.1.6 and 8.1.7".
    Problem Description
    <HR></BLOCKQUOTE>
    null

Maybe you are looking for

  • Keynote and keyboard dock

    Does anyone know if Keynote will ever be available in portrait mode? The reason I ask is because I want to use the Keyboard dock with Keynote and the dock only allows portrait mode. Seems like a logical combination of app and accessory and highly fru

  • Transfer Pages from Powerbook G4 to MacBook Pro

    Didn't really know where to find this answer, so I thought I would ask the knowledgeable Pages community. This is my situation... I have just purchased the new 17" MacBook Pro (and YES!!! it is the bomb!), anyway, during the registration process of t

  • Adding password to a pdf file

    Hi all, I'm using Adobe reader version 9.I saw some of the pdf s being password protected.Whenever we try to open it asks for password.I'm wondering how to add password to pdf files.I'm using Windows XP professional with service pack 3.If anyone know

  • NetUI file upload creates temporary files without cleanup

    When using the NetUI File Upload in my web application, I notice that it stores temporary files in the server config directory. The file names are netxxxxx.tmp and they are never deleted on server startup/shutdown, etc. I am uploading large files (ab

  • Po release strategy - if value decreased

    Dears, If the Po value is decreased, I need the release strategy to be re triggered. As I know in standard its not possible. But can you help Is there any BADI or user exits can be used to accomplish this task. Regards Kamesh