Call now: 252-767-6166  
Oracle Training Oracle Support Development Oracle Apps

 
 Home
 E-mail Us
 Oracle Articles
New Oracle Articles


 Oracle Training
 Oracle Tips

 Oracle Forum
 Class Catalog


 Remote DBA
 Oracle Tuning
 Emergency 911
 RAC Support
 Apps Support
 Analysis
 Design
 Implementation
 Oracle Support


 SQL Tuning
 Security

 Oracle UNIX
 Oracle Linux
 Monitoring
 Remote s
upport
 Remote plans
 Remote
services
 Application Server

 Applications
 Oracle Forms
 Oracle Portal
 App Upgrades
 SQL Server
 Oracle Concepts
 Software Support

 Remote S
upport  
 Development  

 Implementation


 Consulting Staff
 Consulting Prices
 Help Wanted!

 


 Oracle Posters
 Oracle Books

 Oracle Scripts
 Ion
 Excel-DB  

Don Burleson Blog 


 

 

 


 

 

 

 
 

ORA-29532: java call terminated by uncaught java exception: string tips

Oracle Error Tips by Stephanie F.

 

The Oracle docs note this on the ORA-29532 error:

ORA-29532: Java call terminated by uncaught Java exception: string
 
Cause: A Java exception or error was signaled and could not be resolved by the Java code.
 
Action: Modify Java code, if this behavior is not intended.

Oracle forums have published suggestions offering descriptions of problems regarding ORA-29532.  These suggestions outline these error possibilities and resolutions by showing three examples.  Perhaps one of these examples is similar to your problem with ORA-29532:

Sometimes an application running in the Oracle JVM
will fail with a java 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:

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))

 

The reason ORA-29532 occurs is because "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"." To resolve ORA-29532:

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


Here is a link that you might also find helpful when resolving ORA-29532:

http://www.dba-oracle.com/t_intermedia_spatial_install_failures.htm


 

 

��  
 
 
Oracle Training at Sea
 
 
 
 
oracle dba poster
 

 
Follow us on Twitter 
 
Oracle performance tuning software 
 
Oracle Linux poster
 
 
 

 

Burleson is the American Team

Note: This Oracle documentation was created as a support and Oracle training reference for use by our DBA performance tuning consulting professionals.  Feel free to ask questions on our Oracle forum.

Verify experience! Anyone considering using the services of an Oracle support expert should independently investigate their credentials and experience, and not rely on advertisements and self-proclaimed expertise. All legitimate Oracle experts publish their Oracle qualifications.

Errata?  Oracle technology is changing and we strive to update our BC Oracle support information.  If you find an error or have a suggestion for improving our content, we would appreciate your feedback.  Just  e-mail:  

and include the URL for the page.


                    









Burleson Consulting

The Oracle of Database Support

Oracle Performance Tuning

Remote DBA Services


 

Copyright © 1996 -  2017

All rights reserved by Burleson

Oracle ® is the registered trademark of Oracle Corporation.

Remote Emergency Support provided by Conversational

 

Hit Counter