A.2 Configure the wlevs.Admin Utility Environment

Before you can use the wlevs.Admin utility, you must configure your environment appropriately.

Configure the wlevs.Admin Utility Environment

  1. Configure JMX connectivity for the domain you want to administer. See JMX.
  2. Set your CLASSPATH in one of the following ways:
    • Implicitly set your CLASSPATH by using the -jar argument when you run the utility.

      Set the -jar argument to the /Oracle/Middleware/my_oep/oep/bin/wlevsadmin.jar file.

      When you use the -jar argument, you do not specify the wlevs.Admin utility name at the command line. For example:

      java -jar d:/Oracle/Middleware/my_oep/oep/bin/wlevsadmin.jar
           -url service:jmx:msarmi://localhost:9002/jndi/jmxconnector 
           UPLOAD -application helloworld -processor helloworldProcessor
           -sourceURL file:///d:/test/newrules2.xml 
      
    • Explicitly update your CLASSPATH by adding the following files to the CLASSPATH environment variable:

      /Oracle/Middleware/my_oep/oep/bin/wlevsadmin.jar
      /Oracle/Middleware/my_oep/oep/bin/wlevs.jar
      /Oracle/Middleware/my_oep/oep/modules/com.bea.wlevs.deployment.server_12.1.2.0_0.jar
      /Oracle/Middleware/my_oep/oep/modules/com.bea.wlevs.ede_12.1.2.0_0.jar
      /Oracle/Middleware/my_oep/oep/modules/com.bea.wlevs.management_12.1.2.0_0.jar
      /Oracle/Middleware/my_oep/wlserver/modules/com.bea.core.jndi.context_8.0.0.0.jar
      /Oracle/Middleware/my_oep/wlserver/modules/com.bea.core.jmx_8.0.0.0.jar
      /Oracle/Middleware/my_oep/wlserver/modules/com.bea.core.rmi_8.0.0.0.jar
      /Oracle/Middleware/my_oep/wlserver/modules/com.bea.core.i18n_3.0.0.0.jar
      /Oracle/Middleware/my_oep/wlserver/modules/com.bea.core.diagnostics.core_4.0.0.0.jar
      /Oracle/Middleware/my_oep/wlserver/modules/javax.xml.stream_1.1.1.0.jar
      /Oracle/Middleware/my_oep/wlserver/modules/com.bea.core.bootbundle_13.0.0.0.jar