Skip to Main Content

Java and JavaScript in the Database

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!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Deploy Java Classes to the Database 2

KdeGraafJun 19 2007 — edited Jan 8 2009
Hi,

I have made a program with JDeveloper, and with the function deploy I can store the code in the Oracle database.

But now I want to use the loadjava tool.
I put all the class files in one jar file and used the following command:
(when I put the .java files in the jar file it works fine, but I want to load the .class files)

loadjava -user test/test@xx–resolve file.jar

The following errors I get:
errors : class test/AnalyzeAccNum
ORA-29534: referenced object XX.test/QueryManager could not be resolved
ORA-29545: badly formed class:

errors : class test/AnalyzeBalNew
ORA-29534: referenced object XX.test/ReadEB could not be resolved
ORA-29545: badly formed class:

errors : class test/AnalyzeBalOld
ORA-29534: referenced object XX.test/ReadEB could not be resolved
ORA-29545: badly formed class:
.
.
.
errors : class test/QueryManager
ORA-29545: badly formed class:

errors : class test/ReadEB
ORA-29534: referenced object XX.test/FetchBankAccountID could not be resolved
ORA-29545: badly formed class:

errors : class test/RecognizeAndSaveLine
ORA-29534: referenced object XX.test/AnalyzeStatementLine could not be resolved
ORA-29545: badly formed class:

The following operations failed
class test/AnalyzeAccNum: resolution
class test/AnalyzeBalNew: resolution
class test/AnalyzeBalOld: resolution
class test/AnalyzeDefLin: resolution
class test/AnalyzeDesLin: resolution
class test/AnalyzeDetLin: resolution
class test/AnalyzePayRef: resolution
class test/AnalyzeStaNum: resolution
class test/AnalyzeStatementLine: resolution
class test/BankCheck: resolution
class test/FetchBankAccountID: resolution
class test/FormatLayout: resolution
class test/FormatLayoutTag: resolution
class test/InsertInvoiceLine: resolution
class test/InsertStatement: resolution
class test/InsertStatementLine: resolution
class test/ProcessStatementLine: resolution
class test/QueryManager: resolution
class test/ReadEB: resolution
class test/RecognizeAndSaveLine: resolution
exiting : Failures occurred during processing

In JDeveloper it works fine, and I changed nothing in de code.
What am I doing wrong?


Thanks in advance.

Comments

Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Aug 2 2007
Added on Jun 19 2007
20 comments
9,338 views