cjdeletelibjar (delete library JAR)
Format
cjdeletelibjar [server-name] [-nameserver provider-URL]
-name application-name
-f library-JAR-name [-f library-JAR-name ...]
Function
This command deletes a library JAR from a J2EE application. The command can specify multiple library JARs.
Arguments
- server-name
- Specifies the name of a connected J2EE server. If the server name is omitted, the host name is assumed.
- -nameserver provider-URL
- Specifies the access protocol for the CORBA Naming Service, the name of the host running the CORBA Naming Service, and the port number being used by the host. These items are specified in the following format:
protocol-name: : host-name: port-number
- For details on the specification items, see 2.1(2) Provider URL.
- -name application-name
- Specifies the name of the J2EE application from which a library JAR is to be deleted.
- -f library-JAR-name
- Specifies the name of the library JAR that is to be deleted. Multiple library JARs can be specified concurrently.
Input examples
cjdeletelibjar MyServer -name App1 -f applib.jar
Return values
- 0:
- The command terminated normally.
- 1:
- The command terminated abnormally.
- 2:
- The command could not be executed because of an exclusion error.
- 3:
- A timeout occurred.
- 9:
- The command could not be executed because there are no administrator privileges (in Windows Server 2012, Windows Server 2008, Windows 8, Windows 7, or Windows Vista).
Notes
- This command cannot be used for an application that is in exploded archive format.
- When you specify a server name in the command arguments, you must specify it immediately after the command name. You can specify the other arguments in any order as long as they are subsequent to the server name (or subsequent to the command name if the server name is omitted). However, you cannot switch the sequence of an option name and its corresponding value (for example, you cannot specify library-JAR-name -f); also, you cannot specify an option name in conjunction with a non-corresponding value (for example, you cannot specify -nameserver library-JAR-name -f provider-URL).
- When you specify a server name in the command arguments, you must specify a case-sensitive character string that matches a server name specified in a cjsetup (set up or unsetup J2EE server).