Re: Deploy on CentOS
Re: Deploy on CentOS
- Subject: Re: Deploy on CentOS
- From: Pascal Robert <email@hidden>
- Date: Wed, 23 Apr 2014 19:51:03 -0400
Le 2014-04-23 à 17:34, Aaron Rosenzweig <email@hidden> a écrit :
> Hi Bart,
>
> As a quick fix you can jump into your .woa and edit the executable right there…
>
> Note all the “export” statements then add one more:
>
> export NEXT_ROOT
> NEXT_ROOT=/usr/local/webobjects
NEXT_ROOT when using the RPMs is /opt/
NEXT_ROOT="/opt"
export NEXT_ROOT
(it is defined in the startup scripts)
> If that is not where your java WO stuff is “the root” then point it to where it is.
>
> That’s what I have on my FreeBSD boxes.
>
> Cheers,
> AARON ROSENZWEIG / Chat 'n Bike
> e: email@hidden t: (301) 956-2319
>
>
> On Apr 23, 2014, at 5:20 PM, David Avendasora <email@hidden> wrote:
>
>> Hi Bart,
>>
>> Please keep replies on the list - even if they do seriously jeopardize my hard-earned reputation of being the “list idiot”.
>>
>> And this is a perfect example of why you should; I have now exhausted my entire wealth of deployment troubleshooting tips and tricks!
>>
>> I know there are lots of people out there that are far more expert than I on deployment issues than I. (There’s that Chuck guy. He seems to have used WO before…)
>>
>> Good luck, and when you figure out the fix, post it here, or better yet, update that wiki entry!
>>
>> Dave
>>
>>
>>
>> On Apr 23, 2014, at 5:03 PM, jazz <email@hidden> wrote:
>>
>>> Hi David,
>>>
>>> Nice trick! I removed the brackets from Project search path [was -NSProjectSearchPath () ]
>>>
>>> Now it says NEXT_ROOT not set. Do I have to add this to bash_profile of the appserver user in CentOS?
>>>
>>> Thanks, Bart
>>>
>>> On 23 Apr 2014, at 22:53, David Avendasora <email@hidden> wrote:
>>>
>>>> Have you tried launching the application from the command line?
>>>>
>>>> You’ll get launch errors right in the console that are otherwise hidden. Click on the “Configure” link for an *instance* (not the application itself, but a specific instance) and it will give you what arguments will be passed to the executable; copy the entire string so you can paste it in the command line.
>>>>
>>>> ./MyApp.woa/MyApp [pasted arguments]
>>>>
>>>> See what that gives you.
>>>>
>>>> Dave
>>>>
>>>>
>>>> On Apr 23, 2014, at 3:59 PM, jazz <email@hidden> wrote:
>>>>
>>>>> Hi list,
>>>>>
>>>>> I am running a simple webobjects app on CentOS. Installed with Pascal's excellent packages: http://wiki.wocommunity.org/display/documentation/Installing+a+deployment+environment+on+RedHat,+CentOS+or+Amazon+Linux
>>>>>
>>>>> wotaskd and javamonitor are running fine. I can deploy the app from the command line. Everything works fine.
>>>>>
>>>>> Now I would like to deploy in javamonitor. Does not work. Application dies. I have two questions:
>>>>>
>>>>> 1. How do I log JavaMonitor (debug logging)?
>>>>>
>>>>> 2. What could be wrong?
>>>>> • Firewall is open on 1085 and 2001 (port for app)
>>>>> • SE linux allows apache network connections (sudo setsebool -P httpd_can_network_connect=1, http://lists.apple.com/archives/webobjects-deploy/2011/Jun/msg00009.html
>>>>> • I compiled a new policy module for SElinux (wotaskd).
>>>>> • SElinux disabled makes no difference
>>>>> • owner of the app in /opt/Local/Library/Applications) is appserver:appserveradm
>>>>>
>>>>> Thanks for your help in advance!
>>>>>
>>>>> Bart
>>>>> _______________________________________________
>>>>> Do not post admin requests to the list. They will be ignored.
>>>>> Webobjects-dev mailing list (email@hidden)
>>>>> Help/Unsubscribe/Update your Subscription:
>>>>>
>>>>> This email sent to email@hidden
>>>>
>>>>
>>>> —————————————————————————————
>>>> WebObjects - so easy that even Dave Avendasora can do it!™
>>>> —————————————————————————————
>>>> David Avendasora
>>>> Senior Software Abuser
>>>> Nekesto, Inc.
>>>>
>>>>
>>>>
>>>>
>>>>
>>
>>
>> —————————————————————————————
>> WebObjects - so easy that even Dave Avendasora can do it!™
>> —————————————————————————————
>> David Avendasora
>> Senior Software Abuser
>> Nekesto, Inc.
>>
>>
>>
>>
>>
>> _______________________________________________
>> Do not post admin requests to the list. They will be ignored.
>> Webobjects-dev mailing list (email@hidden)
>> Help/Unsubscribe/Update your Subscription:
>>
>> This email sent to email@hidden
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden