I'm trying to load the weblogic.jar into Oracle but I'm having problems resolving the classes. I use the loadjava utility : loadjava -user schema -resolve weblogic.jar
I have used the option -resolve but I still receive ORA-29534 errors complaining that certain references in a class cannot be resolved. I thought with this option the classes are loaded first and then the resolving begins... Anybody knows the answer to this ?
Is that required to load weblogic.jar into the database? So, to clear the error I need to know why you need weblogic.jar?
Joined: Nov 28, 2001
Well I have a trigger and when the condition is met a Java Stored Procedure is started... This JSP sends a JMS message to a Weblogic JMS queue where a MDB is listening. So my JSP needs certain libraries of the Weblogic.jar + J2ee stuff. I have read on a website that you have to load the jar in the DB since it is not possible to work with a classpath in Oracle. So the whole jar is unzipped in Oracle but many classed are not resolved and are invalid....
Anybody an alternative way or a solution ?? thanks in advance, Kristof
Joined: Sep 12, 2004
You can use wlclient.jar and wljmsclient.jar to replace weblogic.jar to load to Oracle. The size is perfect.
If you really need to load the weblogic.jar to oracle, you need to prepare:
1. a larg size of java pool. 2. Enough space for your schema datafile. 3. The DBA role for the loader. 4. modify the loadjava.bat, the last line need to be:
You need 15 minutes around to load the whole jar file into your schema.
Joined: Nov 28, 2001
Thanks for you info... I'm still having problems though :roll: I have tried to load the wlclient.jar and the wljmsclient.jar in the database but I'm still having these unresolved errors.
For example when I try to load the wlclient.jar the first errror I receive is the following : errors : class weblogic/corba/client/ClientORBInitializer ORA-29534: referenced object GENESIS.weblogic/corba/client/security/ClientSecurityManager could not be resolved errors : class weblogic/corba/client/cluster/ClusterComponentHelper ORA-29521: referenced name org/omg/CORBA/ObjectHelper could not be found errors : class weblogic/corba/client/cluster/ClusterComponentHolder ORA-29534: referenced object GENESIS.weblogic/corba/client/cluster/ClusterComponentHelper could not be resolved errors : class weblogic/corba/client/cluster/ClusterInterceptor ORA-29534: referenced object GENESIS.weblogic/corba/client/cluster/ClusterComponentHelper could not be resolved
So this means that in the class class weblogic/corba/client/ClientORBInitializer there is a reference to other classes but these classes are also in the same jar file !!! I use loadjava with the resolve option but it doesn't seem to resolve anything because the ClientORBInitializer class is loaded first and therefore the references cannot be resolved... Or am I doing something wrong ??