Re: Installing WO 543 on Linux
Re: Installing WO 543 on Linux
- Subject: Re: Installing WO 543 on Linux
- From: Joe Little <email@hidden>
- Date: Mon, 9 Nov 2009 13:50:00 -0800
Did you just set that env var, or did you export NEXT_ROOT=something?
Export is required hear to persist into the next sub-shell that you
are likely using.
On Mon, Nov 9, 2009 at 1:30 PM, David Griffith <email@hidden> wrote:
> Hi John,
>
> I did have an error in the path to the apps, I've fixed that and it works
> great now. To start the apps I mean.
> I can connect to JavaMonitor on port 56789.
>
> I've installed all the Wonder frameworks, the mysql-connector/j, mysql
> server, installed my database and added users etc.
>
> Now, I'm sure this is something so stupid, but I can't see what it is....
>
> I'm trying to start the iPSDistributor app as user 'appserver'. The
> NEXT_ROOT variable IS set as you can see below, but the first thing the app
> says is that it is NOT set.
>
> [appserver@localhost iPSDistributor.woa]$ echo $NEXT_ROOT
> /opt
> [appserver@localhost iPSDistributor.woa]$ ./iPSDistributor
> iPSDistributor: NEXT_ROOT environment variable is not set!
> Reading UNIXClassPath.txt ...
> Launching iPSDistributor.woa ...
>
> Obviously it crashes out with NoClassDef errors etc as it can't find the
> NEXT_ROOT. What have I done wrong here?
>
> Regards,
> David.
>
> On Nov 9, 2009, at 4:07 PM, John Bruce wrote:
>
> Hi David,
>
> you can test that the script works properly by trying to launch webobjects
> via:
>
> /etc/init.d/webobjects start
> /etc/init.d/webobjects stop
>
> after running this you should have the two java processes running - if
> not then there's something wrong. Perhaps check the permissions on the
> script, the NEXT_ROOT / USER variables and that it is executable etc
>
> Also the reason for the:
>
> chkconfig --levels 2345 webobjects on
>
> is that the script defaults to 345 (at least it did for me) and you
> porbably want it to run at level 2 as well.
>
> - John
>
>
> On Mon, Nov 9, 2009 at 2:30 PM, David Griffith <email@hidden>
> wrote:
>>
>> Immediately after reboot:
>>
>> root 2764 0.0 0.1 3916 664 pts/0 R+ 17:29 0:00 grep java
>>
>> Regards,
>> David.
>>
>> On Nov 9, 2009, at 3:23 PM, Pascal Robert wrote:
>>
>> ps auxww | grep java
>>
>> _______________________________________________
>> 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