Follow the instructions for the specific WebLogic version.
For all versions, if the WebLogic server is using SSL configuration, you must apply SSL support by copying wlcipher.jar from /server/lib to the /lib folder in order for Nolio actions to work.
Note: The folders described in the following procedure are those where the files are typically located.
For WebLogic versions 9.2 and 9.3:
- If WebLogic server is using SSL:
Copy /server/lib/wlcipher.jar to /lib.
- Copy /server/lib/Weblogic.jar to /lib.
- Change directory to /conf.
- If file custom.wrapper.conf does not exist:
- Create a new file.
- Add the following text:
"wrapper.java.additional.20=-Dsun.lang.ClassLoader.allowArraySyntax=true"
- Save.
- Change directory to /server/lib.
- Copy Weblogic.jar to /lib.
- Copy < WLS ROOT >/modules/com.bea.core.descriptor.wl_X.X.X.X.jar to /lib.
- Restart the Nolio Agent.
For WebLogic versions 10.0 up to 10.2.x:
- If WebLogic server is using SSL:
Copy /server/lib/wlcipher.jar to /lib.
- Change directory to /conf.
- If file custom.wrapper.conf does not exist:
- Create a new file named custom.wrapper.conf.
- Add the following text.
"wrapper.java.additional.20=-Dsun.lang.ClassLoader.allowArraySyntax=true"
- Save.
- Change directory to /server/lib.
- Run the following command:
"/jre/bin/java ?"jar ./modules/com.bea.core.jarbuilder_X.X.X.X.jar"
where X.X.X.X is the version number of the jarbuilder module in the WLS_HOME/server/lib directory.
For example: /modules/com.bea.core.jarbuilder_1.0.2.0.jar
This should create the required wlfullclient.jar in the WLS_HOME/server/lib directory.
- Copy the created wlfullclient.jar to /lib.
- Copy file /modules/com.bea.core.descriptor.wl_X.X.X.X.jar to /lib.
- Restart the Nolio Agent.
For WebLogic versions 10.3 up to 10.35:
- If WebLogic server is using SSL:
Copy /server/lib/wlcipher.jar to /lib.
- For 10.3.0 only:
Copy file /modules/com.bea.core.descriptor.wl_X.X.X.X.jar to /lib.
- Change directory to /server/lib.
- Run the following command:
"/jre/bin/java ?"jar ./wljarbuilder.jar"
- Copy the created wlfullclient.jar to /lib.
- Restart the Nolio Agent.
Troubleshooting: invalid type code: 31
Below are common issues that can cause invalid type code: 31 error message (Full error message below)
- You did not put the weblogic.jar file in the agent (or didn't restart the agent afterwards).
- You did not update the wrapper.conf file correctly (or didn't restart the agent afterwards).
- You are trying to perform cross platform actions.
Nolio Agent on a windows machine while WLS is on a Linux machine (or vise versa).
Unexpected naming exception occurred during connection. java.rmi.UnmarshalException: failed to unmarshal class weblogic.security.acl.internal.AuthenticatedUser; nested exception is: java.io.StreamCorruptedException: invalid type code: 31