How are the applications being deployed? I have deployed using tomcat and
JavaMonitor on RedHat without any problems, just embeding the frameworks
and the jars.

On Mon, Jun 25, 2012 at 12:56 PM, Gavin Eadie <arch...@gavineadie.com>wrote:

> If you build an application with all its frameworks embedded, the
> environment variable NEXT_ROOT is never used.  If you then deploy this
> app on a non-Windows/non-MacOSX system, the launch script
> "xxx.woa/xxx" will terminate because NEXT_ROOT is not defined, and the
> app will not launch.  I suspect that embedding and linux deploys are
> becoming more common so, while this might have been an unusual
> circumstance years ago, it isn't unusual today.
>
> It is, of course, easy to define the variable and dodge this issue,
> but I find myself in a situation where this is less desirable.  I'm
> sending out an 'all-frameworks-embedded' app to a few people to run in
> direct connect mode and one-by-one they've tripped over
>
>      NEXT_ROOT environment variable is not set! Terminating.
>
> I could fix this by dropping an export NEXT_ROOT="" into the top of
> the launch script, but I don't like changing standard files (somebody
> downstream will get confused).  I could change the WOLips build.xml
> file or (gasp) the <woapplication> ant task but that's even less
> attractive.
>
> The mail list archive don't have any discussion of this, and I'm
> wondering if this is something that has been resolved in a way that is
> widely accepted by this community as the "right way"?
>  _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
> Help/Unsubscribe/Update your Subscription:
> https://lists.apple.com/mailman/options/webobjects-dev/rpgile4%40gmail.com
>
> This email sent to rpgi...@gmail.com
>
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to