Hi,

I've gone to JavaMonitor and removed the host that was automatically added (192.168.1.10) and added localhost instead. Now it's all working fine. I can access the app by /app/WebObjects also. Perfect :-)

Thanks to everyone!

Regards,
David.

On Nov 11, 2009, at 8:59 AM, Cheong Hee (Gmail) wrote:

afaik, you will need to define the ip address use in JavaMonitor. See if it help adding a line to /etc/hosts, e.g:

192.168.1.10    yourserver.domain.com servername

Cheers

Cheong Hee

----- Original Message ----- From: "David Griffith" <da...@infinityspain.com >
To: "Cheong Hee (Gmail)" <chn...@gmail.com>
Cc: <webobjects-dev@lists.apple.com>
Sent: Wednesday, November 11, 2009 3:29 PM
Subject: Re: Installing WO 543 on Linux


/etc/hosts:

# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1               localhost localhost.localdomain localhost
::1             localhost6.localdomain6 localhost6

Does there need to be a specific entry here for 192.168.1.10? (server ip address)

SiteConfig.xml:

<SiteConfig type="NSDictionary">
       <hostArray type="NSArray">
               <element type="NSDictionary">
                       <type type="NSString">UNIX</type>
                       <name type="NSString">192.168.1.10</name>
               </element>
       </hostArray>

followed by entries for the two apps I have added in, followed by:

       <site type="NSDictionary">
<viewRefreshEnabled type="NSString">YES</ viewRefreshEnabled>
               <woAdaptor type="NSString">/app/WebObjects</woAdaptor>
               <viewRefreshRate type="NSNumber">60</viewRefreshRate>
       </site>
</SiteConfig>



On Nov 11, 2009, at 6:35 AM, Cheong Hee (Gmail) wrote:

Hi David

What is your /etc/hosts file and SiteConfig.xml look like? May be it is IP address issue.

Cheers

Cheong Hee

Yes, as I said, I can run it from the command line (as appserver) and
it runs fine.  I can access it on the specified port no problem.  The
app operates as it should.  It just refuses to start from
JavaMonitor.  I also added JavaMonitor in there to see would it start
but got the same result.  No start, no log.

Does the Logs folder is writable by the appserver user? Try to write a file manually in there (eg : touch /opt/Local/Library/WebObjects/ Logs/
somefilename.txt).

>
Regards,
David.


_______________________________________________
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:
http://lists.apple.com/mailman/options/webobjects-dev/david%40infinityspain.com

This email sent to da...@infinityspain.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:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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

Reply via email to