views:

80

answers:

1

Weblogic packages rhino classes inside weblogic.jar.

I need newer version of rhino js.jar.

If I just distribute the newer rhino js jar like any other third party jar, it does not get loaded, because the older classes inside weblogic.jar are loaded first.

How can I load classes from my custom js.jar in weblogic 10?

+1  A: 

Ok, it seems to be easy with weblogic-application.xml, just add configuration in following form:

<prefer-application-packages>
   <package-name>org.apache.log4j.*</package-name>
   <package-name>antlr.*</package-name>
</prefer-application-packages>
Dan