B4J Question run several webapp at the same time?

ilan

Expert
Licensed User
Longtime User
hi

is it possible to run several webapps at the same time?
do i need just to use several terminals and run them from each terminal separately?

what is the best way to kill a running server web app (mac os)?

how can i run jar file on os start?

(sorry for more then one question)

thanx
 

aeric

Expert
Licensed User
Longtime User
is it possible to run several webapps at the same time?
yes

do i need just to use several terminals and run them from each terminal separately?
You can use one or more.

what is the best way to kill a running server web app (mac os)?
I assume you have checked the VPS tutorial.
Use grep to check the process number and use kill command.

how can i run jar file on os start?
I create start up script in Linux. Never tried on macOS. Maybe use Automator.
 
Upvote 0

Erel

B4X founder
Staff member
Licensed User
Longtime User
is it possible to run several webapps at the same time?
Yes. Just make sure that each one listens to a different port.

do i need just to use several terminals and run them from each terminal separately?
You can also create a single script that starts each one with nohup.

what is the best way to kill a running server web app (mac os)?
I used to run ps -ef |grep java and then kill. Now I use a nice task manager tool named btop.
You can also create a "kill" servlet that kills the server with a call to ExitApplication.
 
Upvote 0

ilan

Expert
Licensed User
Longtime User
Yes. Just make sure that each one listens to a different port.


You can also create a single script that starts each one with nohup.


I used to run ps -ef |grep java and then kill. Now I use a nice task manager tool named btop.
You can also create a "kill" servlet that kills the server with a call to ExitApplication.
thank you very much Erel. I will follow your suggestions :)
 
Upvote 0
Top