![]() |
|
To remotely deploy applications, make sure the Server is running and that the application archive is copied on the Server machine on the remote server. Once done, use the following steps:
$<install_dir>\bin\setup.sh
$ java com.pramati.RemoteShell
<some help messages from the server>
not_connected:>connect
Please Provide relevant details to connect to a server: 'q' to cancel:
not_connected:> -ip #192.168.1.49
not_connected:> -port #9191
not_connected:> -realm #system
not_connected:> -user #root
not_connected:> -password #
Attempting to connect to remote server instance...Please wait
Connected to [192.168.1.49:9191] as [root@system]
j2eeadmin@default> [Remotely Connected]
In the above code, the IP parameter refers to the IP address of the server to which you want to connect remotely. The port refers to the naming port.
To deploy any application, use the deploy command and specify the path to the required application archive.
j2eeadmin@default> [Remotely Connected] deploy /path/to/ear/MyApp.ear
Note that you should provide the full path to the directory where the archive resides.
| © Pramati Technologies 2007 | Runs on Pramati Server | Feedback | Legal |