Skip to Main Content

Oracle Database Discussions

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 dms.jar and soap.jar on Oracle 9i 9.2.0.5.0 error ORA-29534

MaríaSep 21 2007 — edited Sep 22 2007
Hi all,
I'm trying to load dbws-callout-utility in a oracle9i Enterprise Edition Realease 9.2.0.5.0 data base.
To do that, I've follow these instructions "http://www.oracle.com/technology/sample_code/tech/java/jsp/callout_users_guide.htm" step by step:

- I've set shared_pool_size to 96M (then, even to 150M) in my spfile.
- I've set java_pool_size to 80M in my spfile.
- I've tested this changes were well done.

- Then, I've download oc4j_extended 10.1.2 version, as said the link.
- manual says that I must load this jar files:

jssl-1_2.jar, soap.jar, dms.jar, servlet.jar, ejb.jar, mail.jar


- I've could to load these jars without any error using these commands:

---------------------------------------------------------
cd $ORACLE_HOME/lib
dropjava -u wsuser/pass mail.jar
dropjava -u wsuser/pass activation.jar

cd $ORACLE_HOME/oc4j_extended/j2ee/home/lib
loadjava -resolve -verbose -synonym -grant PUBLIC -user wsuser/pass ejb.jar

cd $ORACLE_HOME/lib
loadjava -resolve -verbose -synonym -grant PUBLIC -user wsuser/pass activation.jar
loadjava -resolve -verbose -synonym -grant PUBLIC -user wsuser/pass mail.jar

cd ${ORACLE_HOME}/oc4j_extended/j2ee/home/lib
loadjava -resolve -verbose -synonym -grant PUBLIC -user wsuser/pass servlet.jar

cd ${ORACLE_HOME}/jlib
loadjava -resolve -verbose -synonym -grant PUBLIC -user wsuser/pass jssl-1_2.jar
---------------------------------------------------------


but when I try to load dms.jar with this command:

---------------------------------------------------------
cd ${ORACLE_HOME}/oc4j_extended/lib
loadjava -resolve -verbose -synonym -grant PUBLIC -user wsuser/pass dms.jar
---------------------------------------------------------

loadjava's process hangs just compiling (resolving) this class: "oracle/dms/address/Optic", so I've got to kill process.
Then, I try to load dms.jar with the same command but without "-resolve" option. This way, I've been able to load all class from
this jar including the named before "oracle/dms/address/Optic". Then I compile all java class by hand except "oracle/dms/address/Optic"
because everytime I try to compile (-resolve) this class, it hangs. So this is my first question: why?.


As I've could to load almost all java class, I said, I'm going to try to load last jar: soap.jar

---------------------------------------------------------
cd ${ORACLE_HOME}/oc4j_extended/soap/lib
loadjava -resolve -verbose -synonym -grant PUBLIC -user wsuser/pass soap.jar
---------------------------------------------------------

but when this command finish, it shows me these errors:

---------------------------------------------------------
errors : class org/apache/soap/messaging/Message
ORA-29534: el objeto WSUSER.oracle/soap/transport/http/OracleSOAPHTTPConnection al que se hace referencia no se ha podido resolver
synonym : org/apache/soap/messaging/Message
The following operations failed
class oracle/soap/client/ProviderManagerClient: resolution
class oracle/soap/client/ServiceManagerClient: resolution
class oracle/soap/server/http/SOAPServlet: resolution
class oracle/soap/providers/JavaProvider: resolution
class oracle/soap/providers/ejbprov/EntityEJBProvider: resolution
class oracle/soap/providers/ejbprov/StatefulEJBProvider: resolution
class oracle/soap/providers/ejbprov/StatelessEJBProvider: resolution
class oracle/soap/providers/sp/SpProvider: resolution
class oracle/soap/transport/http/OracleSOAPHTTPConnection$1: resolution
class oracle/soap/transport/http/OracleSOAPHTTPConnection: resolution
class org/apache/soap/rpc/Call: resolution
class org/apache/soap/rpc/RPCMessage: resolution
class org/apache/soap/rpc/Response: resolution
class org/apache/soap/messaging/Message: resolution
exiting : Failures occurred during processing
---------------------------------------------------------

but this has no sense, because this class oracle/soap/transport/http/OracleSOAPHTTPConnection do exists in the jar file and it can be loaded.
so I don't understand..... I try to load class by class to see dependencies or whatever using this command:

I choose this class to begin:
-------------------------
loadjava -resolve -verbose -synonym -grant PUBLIC -user wsuser/pass org/apache/soap/rpc/Call.class
-------------------------
it shows me:
-------------------------
creating : class org/apache/soap/rpc/Call
loading : class org/apache/soap/rpc/Call
granting : execute on class org/apache/soap/rpc/Call to PUBLIC
resolving: class org/apache/soap/rpc/Call
errors : class org/apache/soap/rpc/Call
ORA-29534: el objeto WSARR.oracle/soap/transport/http/OracleSOAPHTTPConnection al que se hace referencia no se ha podido resolver
synonym : org/apache/soap/rpc/Call
The following operations failed
class org/apache/soap/rpc/Call: resolution
exiting : Failures occurred during processing
-------------------------


so I try to load the class which it had could not find:
---------------------
loadjava -resolve -verbose -synonym -grant PUBLIC -user wsarr/wsarr oracle/soap/transport/http/OracleSOAPHTTPConnection.class
---------------------
it shows me:
---------------------
creating : class oracle/soap/transport/http/OracleSOAPHTTPConnection
loading : class oracle/soap/transport/http/OracleSOAPHTTPConnection
granting : execute on class oracle/soap/transport/http/OracleSOAPHTTPConnection to PUBLIC
resolving: class oracle/soap/transport/http/OracleSOAPHTTPConnection
errors : class oracle/soap/transport/http/OracleSOAPHTTPConnection
ORA-29545: clase especificada incorrectamente: at offset 445 of oracle.soap.transport.http.OracleSOAPHTTPConnection.getHTTPConnection expecting a class-oracle.security.ssl.OracleSSLCredential but encountered a class-oracle.security.ssl.OracleSSLCredential.

synonym : oracle/soap/transport/http/OracleSOAPHTTPConnection
The following operations failed
class oracle/soap/transport/http/OracleSOAPHTTPConnection: resolution
exiting : Failures occurred during processing
---------------------

o_o ...... but this could be endless!!!!!
Is there someone in this planet who had could to load this jars files without errors?????? :´(
Please, I need help!!!! it's urgent!
Thanks in advance!
María

Comments

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

Post Details

Locked on Oct 20 2007
Added on Sep 21 2007
1 comment
1,775 views