App not starting from Monitor

2014-07-03 Thread Gino Pacitti
Ok so I have 3 servers.

Server1 WOMonitor, WOTaskd, Apache2

Server2 WOTaskd, Apache2, WOApplications

Server3 Database


I have DNS and reverse look up on 2 domains. domain1.com points to Server1 and 
domain2 points to Server2

Server1 has the WOAdaptor loaded and has this setting in 

/etc/httpd/conf.d/webobjects.conf
WebObjectsConfig http://domain1.com:1085,http://domain2.com:1085 10

Properties file for wotaskd properties
/opt/Local/Library/WebObjects/JavaApplications/wotaskd.woa/Contents/Resources/Properties
WOHost=domain1.com


Server2 has the WOAdaptor loaded and has this setting in

/etc/httpd/conf.d/webobjects.conf
WebObjectsConfig http://domain1.com:1085,http://domain2.com:1085 10

/opt/Local/Library/WebObjects/JavaApplications/wotaskd.woa/Contents/Resources/Properties
WOHost=domain2.com



Using WOMonitor on Server1 I have both HOSTS set up and can view the config 
files from both WOTaskd SiteConfig.xml

I have an instance set up but it just will not start….

There is no WOHost set in the application Properties file or WOPort setting.

I have debugging turned  on but it never creates the log file in location...


Any help in resolving this?











 ___
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

Re: App not starting from Monitor

2014-07-03 Thread Gino Pacitti
When using this URL:

http://domain1:1085/WebObjects/wotaskd.woa/wa/woconfig
and
http://domain2:1085/WebObjects/wotaskd.woa/wa/woconfig

I get an empty node?

This XML file does not appear to have any style information associated with it. 
The document tree is shown below.
adaptor/adaptor

Does this help in debugging?

Gino


On 3 Jul 2014, at 10:29, Gino Pacitti ginok...@mac.com wrote:

 Ok so I have 3 servers.
 
 Server1 WOMonitor, WOTaskd, Apache2
 
 Server2 WOTaskd, Apache2, WOApplications
 
 Server3 Database
 
 
 I have DNS and reverse look up on 2 domains. domain1.com points to Server1 
 and domain2 points to Server2
 
 Server1 has the WOAdaptor loaded and has this setting in 
 
 /etc/httpd/conf.d/webobjects.conf
 WebObjectsConfig http://domain1.com:1085,http://domain2.com:1085 10
 
 Properties file for wotaskd properties
 /opt/Local/Library/WebObjects/JavaApplications/wotaskd.woa/Contents/Resources/Properties
 WOHost=domain1.com
 
 
 Server2 has the WOAdaptor loaded and has this setting in
 
 /etc/httpd/conf.d/webobjects.conf
 WebObjectsConfig http://domain1.com:1085,http://domain2.com:1085 10
 
 /opt/Local/Library/WebObjects/JavaApplications/wotaskd.woa/Contents/Resources/Properties
 WOHost=domain2.com
 
 
 
 Using WOMonitor on Server1 I have both HOSTS set up and can view the config 
 files from both WOTaskd SiteConfig.xml
 
 I have an instance set up but it just will not start….
 
 There is no WOHost set in the application Properties file or WOPort setting.
 
 I have debugging turned  on but it never creates the log file in location...
 
 
 Any help in resolving this?
 
 
 
 
 
 
 
 
 
 
 
 ___
 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/ginokris%40mac.com
 
 This email sent to ginok...@mac.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

Re: App not starting from Monitor

2014-07-03 Thread Gino Pacitti
Hi Chuck
Actually its OK I resolved the problems…

All working now…

Gino
On 3 Jul 2014, at 19:21, Chuck Hill ch...@global-village.net wrote:

 Hi Gino,
 
 
 On 2014-07-03, 2:29 AM, Gino Pacitti wrote:
 
 Ok so I have 3 servers.
 
 Server1 WOMonitor, WOTaskd, Apache2
 
 Why is wotaskd on this machine if there are no applications?
 
 
 Server2 WOTaskd, Apache2, WOApplications
 
 Why is Apache on this machine if it is also on Server 1?
 
 This is not necessarily wrong, just curious.
 
 
 Server3 Database
 
 
 I have DNS and reverse look up on 2 domains. domain1.com points to Server1 
 and domain2 points to Server2
 
 Server1 has the WOAdaptor loaded and has this setting in
 
 /etc/httpd/conf.d/webobjects.conf
 WebObjectsConfig http://domain1.com:1085,http://domain2.com:1085 10
 
 Properties file for wotaskd properties
 /opt/Local/Library/WebObjects/JavaApplications/wotaskd.woa/Contents/Resources/Properties
 WOHost=domain1.com
 
 
 Server2 has the WOAdaptor loaded and has this setting in
 
 /etc/httpd/conf.d/webobjects.conf
 WebObjectsConfig http://domain1.com:1085,http://domain2.com:1085 10
 
 /opt/Local/Library/WebObjects/JavaApplications/wotaskd.woa/Contents/Resources/Properties
 WOHost=domain2.com
 
 
 
 Using WOMonitor on Server1 I have both HOSTS set up and can view the config 
 files from both WOTaskd SiteConfig.xml
 
 I have an instance set up but it just will not start….
 
 Won’t start (probably a permissions problem on the log file or path to log 
 file) or Monitor does not see it start (communications problem).
 
 
 There is no WOHost set in the application Properties file or WOPort setting.
 
 I’d set the WOHost to the domain of the server.
 
 
 I have debugging turned  on but it never creates the log file in location...
 
 That does sound like a permission problem.
 
 Any help in resolving this?
 
 I presented some improvements to wotaskd and Monitor at WOWODC this year.  
 You can get the presentation from the community site and the code from 
 https://github.com/chillatgvc/wonder/tree/WOWODC14
 
 It provides much better debug and diagnostic information.  See if that sheds 
 some light on your problem.
 
 Chuck
 


 ___
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

Re: App not starting from Monitor

2014-07-03 Thread Chuck Hill
Hi Gino,


On 2014-07-03, 2:29 AM, Gino Pacitti wrote:

Ok so I have 3 servers.

Server1 WOMonitor, WOTaskd, Apache2

Why is wotaskd on this machine if there are no applications?


Server2 WOTaskd, Apache2, WOApplications

Why is Apache on this machine if it is also on Server 1?

This is not necessarily wrong, just curious.


Server3 Database


I have DNS and reverse look up on 2 domains. domain1.com points to Server1 and 
domain2 points to Server2

Server1 has the WOAdaptor loaded and has this setting in

/etc/httpd/conf.d/webobjects.conf
WebObjectsConfig http://domain1.com:1085,http://domain2.com:1085 10

Properties file for wotaskd properties
/opt/Local/Library/WebObjects/JavaApplications/wotaskd.woa/Contents/Resources/Properties
WOHost=domain1.com


Server2 has the WOAdaptor loaded and has this setting in

/etc/httpd/conf.d/webobjects.conf
WebObjectsConfig http://domain1.com:1085,http://domain2.com:1085 10

/opt/Local/Library/WebObjects/JavaApplications/wotaskd.woa/Contents/Resources/Properties
WOHost=domain2.com



Using WOMonitor on Server1 I have both HOSTS set up and can view the config 
files from both WOTaskd SiteConfig.xml

I have an instance set up but it just will not start….

Won’t start (probably a permissions problem on the log file or path to log 
file) or Monitor does not see it start (communications problem).


There is no WOHost set in the application Properties file or WOPort setting.

I’d set the WOHost to the domain of the server.


I have debugging turned  on but it never creates the log file in location...

That does sound like a permission problem.

Any help in resolving this?

I presented some improvements to wotaskd and Monitor at WOWODC this year.  You 
can get the presentation from the community site and the code from 
https://github.com/chillatgvc/wonder/tree/WOWODC14

It provides much better debug and diagnostic information.  See if that sheds 
some light on your problem.

Chuck

 ___
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

Re: App not starting from Monitor

2014-07-03 Thread Chuck Hill
What was the problem?

On 2014-07-03, 11:22 AM, Gino Pacitti wrote:

Hi Chuck
Actually its OK I resolved the problems…

All working now…

Gino
On 3 Jul 2014, at 19:21, Chuck Hill 
ch...@global-village.netmailto:ch...@global-village.net wrote:

Hi Gino,
On 2014-07-03, 2:29 AM, Gino Pacitti wrote:
Ok so I have 3 servers.
Server1 WOMonitor, WOTaskd, Apache2
Why is wotaskd on this machine if there are no applications?
Server2 WOTaskd, Apache2, WOApplications
Why is Apache on this machine if it is also on Server 1?
This is not necessarily wrong, just curious.
Server3 Database
I have DNS and reverse look up on 2 domains. domain1.com points to Server1 and 
domain2 points to Server2
Server1 has the WOAdaptor loaded and has this setting in
/etc/httpd/conf.d/webobjects.conf
WebObjectsConfig http://domain1.com:1085,http://domain2.com:1085 10
Properties file for wotaskd properties
/opt/Local/Library/WebObjects/JavaApplications/wotaskd.woa/Contents/Resources/Properties
WOHost=domain1.com
Server2 has the WOAdaptor loaded and has this setting in
/etc/httpd/conf.d/webobjects.conf
WebObjectsConfig http://domain1.com:1085,http://domain2.com:1085 10
/opt/Local/Library/WebObjects/JavaApplications/wotaskd.woa/Contents/Resources/Properties
WOHost=domain2.com

Using WOMonitor on Server1 I have both HOSTS set up and can view the config 
files from both WOTaskd SiteConfig.xml
I have an instance set up but it just will not start….
Won’t start (probably a permissions problem on the log file or path to log 
file) or Monitor does not see it start (communications problem).
There is no WOHost set in the application Properties file or WOPort setting.
I’d set the WOHost to the domain of the server.
I have debugging turned  on but it never creates the log file in location...
That does sound like a permission problem.
Any help in resolving this?
I presented some improvements to wotaskd and Monitor at WOWODC this year.  You 
can get the presentation from the community site and the code from 
https://github.com/chillatgvc/wonder/tree/WOWODC14
It provides much better debug and diagnostic information.  See if that sheds 
some light on your problem.
Chuck


___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  
(Webobjects-dev@lists.apple.commailto:Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/chill%40global-village.net

This email sent to ch...@global-village.netmailto:ch...@global-village.net
 ___
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

Re: App not starting from Monitor

2014-07-03 Thread Gino Pacitti
Hi Chuck
Must have been the reverse lookup and proper configuration of the wotaskd 
properties and webobjects adaptor…

Documentation is a bit vague when it comes to profiling configurations and so I 
muddled through… :-)
Thank goodness I am not a total newbie as it was not very straight forward…

All working now… And its on a virtualised system with Centos OS and all seems 
fast…

G
 

On 3 Jul 2014, at 19:24, Chuck Hill ch...@global-village.net wrote:

 What was the problem?
 
 On 2014-07-03, 11:22 AM, Gino Pacitti wrote:
 
 Hi Chuck
 Actually its OK I resolved the problems…
 
 All working now…
 
 Gino
 On 3 Jul 2014, at 19:21, Chuck Hill ch...@global-village.net wrote:
 
 Hi Gino,
 On 2014-07-03, 2:29 AM, Gino Pacitti wrote:
 Ok so I have 3 servers.
 Server1 WOMonitor, WOTaskd, Apache2
 Why is wotaskd on this machine if there are no applications?
 Server2 WOTaskd, Apache2, WOApplications
 Why is Apache on this machine if it is also on Server 1?
 This is not necessarily wrong, just curious.
 Server3 Database
 I have DNS and reverse look up on 2 domains. domain1.com points to Server1 
 and domain2 points to Server2
 Server1 has the WOAdaptor loaded and has this setting in
 /etc/httpd/conf.d/webobjects.conf
 WebObjectsConfig http://domain1.com:1085,http://domain2.com:1085 10
 Properties file for wotaskd properties
 /opt/Local/Library/WebObjects/JavaApplications/wotaskd.woa/Contents/Resources/Properties
 WOHost=domain1.com
 Server2 has the WOAdaptor loaded and has this setting in
 /etc/httpd/conf.d/webobjects.conf
 WebObjectsConfig http://domain1.com:1085,http://domain2.com:1085 10
 /opt/Local/Library/WebObjects/JavaApplications/wotaskd.woa/Contents/Resources/Properties
 WOHost=domain2.com
 
 Using WOMonitor on Server1 I have both HOSTS set up and can view the config 
 files from both WOTaskd SiteConfig.xml
 I have an instance set up but it just will not start….
 Won’t start (probably a permissions problem on the log file or path to log 
 file) or Monitor does not see it start (communications problem).
 There is no WOHost set in the application Properties file or WOPort setting.
 I’d set the WOHost to the domain of the server.
 I have debugging turned  on but it never creates the log file in location...
 That does sound like a permission problem.
 Any help in resolving this?
 I presented some improvements to wotaskd and Monitor at WOWODC this year.  
 You can get the presentation from the community site and the code from 
 https://github.com/chillatgvc/wonder/tree/WOWODC14
 It provides much better debug and diagnostic information.  See if that sheds 
 some light on your problem.
 Chuck
 
 
 ___
 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/chill%40global-village.net
 
 This email sent to ch...@global-village.net


 ___
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