Skip to Main Content

APEX

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Calling stored Java from sql-developer works fine, but not from apex 5.1

thilo333Jan 12 2017 — edited Jan 13 2017

Very short:

Compiled Java Code in Oracle-DB and created a pl/sql-function to call java.

Calling the function from sql-developer or from sqlplus works fine. But running from APEX is coming much error-stack from java:

faultString: java.security.ProviderException: nextBytes() failed

Here is my environment:

Oracle 11.2.0.4 on SuseLinux 11, first APEX 5.0.4, now 5.1 (same error)

The task for java is:

- get a sql-resultset from oracle

- form it as xml

- throw it to a web-interface

On the windows-7-client shall open excel. The xml-content should be filled into excel-sheet.

Why is it running fine from sql-developer, but not from apex?

If you need more information, so please request it from me.

Thanks

Thilo

Nachricht geƤndert durch user13708789 Changed Headline from faultString: java.security.ProviderException: nextBytes() failed to Calling stored Java from sql-developer works fine, but not from apex 5.1

This post has been answered by Carsten Czarski-Oracle on Jan 13 2017
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 10 2017
Added on Jan 12 2017
4 comments
944 views