• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

loadjava -resolve weblogic.jar

 
Ranch Hand
Posts: 97
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello,

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 ?

Any help would be appreciated !

Thanks,

Kristof
 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Is that required to load weblogic.jar into the database?
So, to clear the error I need to know why you need weblogic.jar?
 
Kristof Camelbeke
Ranch Hand
Posts: 97
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Di Dong
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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:

"C:\Program Files\Oracle\jre\1.3.1\bin\java" -Xms100M -Xmx200M %javaprops% -classpath %jreclasspath% oracle.aurora.server.tools.loadjava.LoadJavaMain %args%
if "%OS%" == "Windows_NT" endlocal

You need 15 minutes around to load the whole jar file into your schema.

Good Luck.
 
Kristof Camelbeke
Ranch Hand
Posts: 97
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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 ??

Thanx for any advice...

Kristof
 
A feeble attempt to tell you about our stuff that makes us money
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic