cancel
Showing results for 
Search instead for 
Did you mean: 

Using J2ee 6.20 Shell command to deploy ear application

Former Member
0 Kudos

Hi,

In one my project, we have to use the shell command to deploy ear on J2EE 6.20. I have successfully get telnet work but i don't know where to load the ear file in the j2ee file structure when try to use "DEPLOY earfileName" command. Is there anybody work on this before? I did not find any doc talk about this.

I am appreciate if anybody can help.

Yi

Accepted Solutions (1)

Accepted Solutions (1)

viliana
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Yi,

When you execute the <i>deploy</i> shell command just specify the full path to your application. For example,

deploy C:YourApplication.ear

Where exactly in the file system your ear file is located, is irrelevant for the shell command execution.

You can find the documentation in the \docs directory in your J2EE Engine 6.20 installation directory. The description of the shell command is in the Administration Manual -> Shell Commands Reference -> Application Nodes and State Controller -> Deploy.

The links provided by Srikishan above are not relevant for 6.20; they are relevant for 6.40.

Best regards,

Viliana

Former Member
0 Kudos

thank you very much, i figured it out. I will close this thread

former_member184385
Active Participant
0 Kudos

Hi Li,

the sequence of actions to deploy an EAR, say my.ear would be:

1. copy my.ear to /tmp/my.ear on the file system of the NW, you are deploying to

2. open telnet session, i.e. using the command

telnet <your-nw-host> <port-of-telnet-shell i.e. 50008>

3. answer the user and password challenge and issue then the following commands

jump <server-node-id>

add deploy

deploy /tmp/my.ear

Note: find out about <server-nodeid> using the nw shell command lsc

Regards

Gregor

Answers (1)

Answers (1)

Former Member
0 Kudos