loadjava dms.jar and soap.jar on Oracle 9i 9.2.0.5.0 error ORA-29534 [message #269269] |
Fri, 21 September 2007 07:28 |
wisextreme
Messages: 6 Registered: December 2006
|
Junior Member |
|
|
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
|
|
|
|
|
|
|
|
|
|
Re: loadjava dms.jar and soap.jar on Oracle 9i 9.2.0.5.0 error ORA-29534 [message #269596 is a reply to message #269591] |
Sun, 23 September 2007 12:49 |
wisextreme
Messages: 6 Registered: December 2006
|
Junior Member |
|
|
Hi mson77,
what's your problem? if you refer to dashes I use to separate the code, I'm sorry because I didn't see the "Add Code" option. There are many ways to say things, did you know?
If you don't want to help, why did you reply? I know this is a free service for the community, that's because I asked you (all) to help me with my problem.
Regards,
Marķa
|
|
|
Re: loadjava dms.jar and soap.jar on Oracle 9i 9.2.0.5.0 error ORA-29534 [message #269599 is a reply to message #269596] |
Sun, 23 September 2007 13:17 |
mson77
Messages: 208 Registered: August 2007 Location: Brazil
|
Senior Member |
|
|
Hello wisextreme,
I don't mean to sound negative to you... you can browse OraFAQ and you can realize yourself about my humility comment.
As English is not my native language.. sometimes I am not able to say as deeply as I wish... anyway it is not my excuse... but it is my deficiency.
You can search my post and you will realize that every message from me intends to help the community first. And you are part of it fortunately.
When I said about moving the forum... I did not address to you. You can read the message again and realize yourself. And also today is Sunday and maybe the moderator is not on-line to provide this move.
Anyway I appreciate your comment.
Thank you,
mson77
|
|
|