|
From: Leif M. <lei...@ta...> - 2010-12-28 06:34:22
|
Dave, Where do you have the shell scripts and wrapper binaries installed? If they are stored with your applications (in different folders) then the two Wrappers should work without any conflicts. They will both automatically store state files in their own directories and then allocate their necessary backend socket ports on their own. When you start and stop the Wrapper, the shell script will store and then reference a PID file to keep track of the Wrapper instance that the script is managing. This script file needs to be unique for each application. It will be if they are in their own directories. If you want to put them in the same directory however, then you will need to configure the shell scripts to avoid conflicts. I have written up a quick little HOWTO talking about this here: http://wrapper.tanukisoftware.com/doc/english/howto-multiple-wrappers-unix.html Please let me know if you still find anything confusing or have any issues getting it working, so we can help further. Cheers, Leif On Tue, Dec 28, 2010 at 9:14 AM, David Hoffer <dho...@gm...> wrote: > This is probably a JSW/Linux newbie question. > > I want to deploy two (or more) applications to a Linux box and need to > control each of them separately with JSW. That is, I will have two > completely separate application folders each with its own wrapper and > configuration. > > Years ago I tried this with JSW and it didn't work, what happened is that > starting, stopping one of the wrappers effected both of the applications. I > had no idea why this happened. > > How do I configure for two applications on the same Linux box? Was this a > bug/problem with older versions or is there something I need to do to > configure this? > > Thanks, > -Dave |