hayt wrote:
>
>> news:3E6AD552.1040209_at_intersystemsww.com...
>>
>>hayt wrote:
>>
>>>Hi to all.
>>>Hi have a little problem trying to load a java package (the SonicMQ
>>>API) in Oracle with javaload. I've tried to do this with other classes
>>>or jar, without problem; but with Sonic API I'm in trouble.
>>>javaload says that it cannot resolve some classes that are in the jar
>>>I pass it, but otherwise it resolves many other classes in there. Then
>>>I don't understand...
>>>I've also noticed that many classes, when loaded into my db schema,
>>>are stored with a modified name (it seems it happens to all classes
>>>with a full qualified name longer than 30 characters): for instance,
>>>the class "progress.message.jclient.TopicConnectionFactory" is stored
>>>as "/49848796_TopicConnectionFacto". It's possible that this is the
>>>cause of my problems? But some classes like this are compiled by
>>>Oracle (this isn't).
>>>What can I do?
>>>Thanks in advance.
>>>
>>>P.S.: I'm running Oracle 8.1.7 on a SunOS 5.7
>>
>>Can't help you much with the "loadjava" issue without some
>>more details. But the "loadjava" utility does allow you to
>>defer resolution of loaded classes so that they are only
>>resolved when they are used for the first time. More details
>>are available in the documentation.
>>
>>You can use the "longname" function in the "dbms_java" package
>>to retrieve the fully qualified name of the java class
>>
>
> Hi.
> Yes, I've read about the longname function, but how can I use it to
resolve
> classes?
> Thanks a lot
Have you read this:
http://download-west.oracle.com/docs/cd/A87860_01/doc/java.817/a83727/jtools1.htm#1010479
and this:
http://download-west.oracle.com/docs/cd/A87860_01/doc/java.817/a83727/jtools1.htm#1010615
and this:
http://download-west.oracle.com/docs/cd/A87860_01/doc/java.817/a83728/03write6.htm#1003714
and "no, short names are not the cause of your class resolution
problems".
And do you not understand what this sentence means:
>>Can't help you much with the "loadjava" issue without some
>>more details
More details includes the error message you are getting and the
"loadjava" command line (i.e. options) you are using.
Good Luck,
Avi.
Received on Sun Mar 09 2003 - 23:00:26 CST