|
From: David H. <dho...@gm...> - 2010-12-28 11:12:21
|
Lief, Thanks for the detailed response and the HOWTO document. I had two separate folder structures each with bin/lib/config folders. The only differences I had from what you describe here is that my libwrapper.so was installed in the bin folder instead of the lib. (And the log was written to bin as well.) The only other thing I can think of that I may have did wrong is that I tried to configure each program to start on reboot...I followed some instructions on how to do this and may have gotten this wrong. I see you now have an install command that does this functionality via the script...nice I will try again following your HOWTO. Once again, thanks very much. -Dave On Mon, Dec 27, 2010 at 11:34 PM, Leif Mortenson < lei...@ta...> wrote: > 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 > > > ------------------------------------------------------------------------------ > Learn how Oracle Real Application Clusters (RAC) One Node allows customers > to consolidate database storage, standardize their database environment, > and, > should the need arise, upgrade to a full multi-node Oracle RAC database > without downtime or disruption > http://p.sf.net/sfu/oracle-sfdevnl > _______________________________________________ > Wrapper-user mailing list > Wra...@li... > https://lists.sourceforge.net/lists/listinfo/wrapper-user > |