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.

loadjava results in ORA-29521 -- again !

439325Mar 1 2005 — edited Mar 2 2005
Hello,
I developed some classes for a 3rd party; they tried to load them but reported ORA-29521:

loadjava -user sys/pwd -resolve -synonym DBInterface.class

result:

ORA-29521: referenced name common/RequestMessage could not be found
ORA-29521: referenced name common/HeaderRequest could not be found

etc.

My classes are located in 2 packages "common" and "local"
The above command was issued in directory ..../sbs which is at top of common and local.

All classes were copied where they should; that's OK.

Now they tell me they should have a "class map" so as to load each class, first the ones that do not depend on other classes, last the ones that do depend.. I think they are wrong; AFAIK, loadjava utility may load all classes first and THEN attempt to resolve them.

Pls. note I have no access to their environment, so I can not try by myself that command.

¿Is there something wrong with the above command, as they issued it ?
¿May just a wild card in the command line help ? :
loadjava ... *.class
or
loadjava ... common/*.class local/.*class

Needed classes may be first loaded (via an explicit list or wild cards?) and afterwards resolved. ¿Am I right?

Thanks !

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 30 2005
Added on Mar 1 2005
3 comments
2,137 views