cancel
Showing results for 
Search instead for 
Did you mean: 

how to start the java application through command line?

Former Member
0 Kudos

I have deployed the sample java ear file on SAP WEb Application server through the deploymanager script. Is there a way to start the application through command line.

Accepted Solutions (1)

Accepted Solutions (1)

former_member185706
Participant
0 Kudos

Hi,

if the application is deployed successfully it should be started authomaticaly. Check the application state - by telnet command or VisualAdministrator- first.

Regards

Bojidar

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

Thanks for the notes. This approach works. But my web application has an administrator user and I have to use Visual Administrator > Security Provider tab to set the administrator user for this particular application. Is there any way this can be done using command line?

Thanks a lot!

Former Member
0 Kudos

Hi kiran

You can deploy using ant scripts . please follow the link which contains step by step guide as to how u can do it using ant scripts

1)one is writing an ant task , Similar to hot deployment . application is started

2)Other is using deployManager command line option . u need to start it thro visal admin

link to PDF

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/1ca44e78-0801-0010-fa9d-a76...

example link

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/business_packages/a1-8-4/w...

Also you can start the application using the following telnet commands

jump 0

ADD DEPLOY

START_APP [ | -all] [-synchron] [-s serverName*]

START APP test.ear -synchron -s machinename/localhost

hope this helps .<b><i>please mark points for helpful answers</i></b>

regards

rajeshkr