Re: Cannot get port 1085 to start up
Re: Cannot get port 1085 to start up
- Subject: Re: Cannot get port 1085 to start up
- From: Jonathan Rochkind <email@hidden>
- Date: Wed, 17 Mar 2004 16:57:13 -0600
I don't know if this is your problem or not, but I've found that if
your machine has multiple hostnames for your IP address, you ought to
use the canonical one, the one which the numerical IP will
reverse-lookup to. You also ought to use the fully qualified domain
name, not just the unqualified "hostname", but "hostname.domain.tld"
or whatever.
You should probably never use 'localhost' when setting up a host in
Monitor, but instead use the FQDN---and the one the numerical IP
reverse lookups to. I have no idea why. For good measure, your
apache httpd.conf probably ought to specify it's "ServerName" as that
same FQDN you are using to configure the host in Monitor---the one
that the numerical IP will reverse lookup to.
I have had bad experience with WO doing mysterious and catastrophic
things with hostnames; I finally arrived at following the above rule.
I still don't completely understand what's up, and your problem may
not involve the issues I ran into it.
On my simple setup (one machine, which is both web server and WO app
server), I don't believe I changed the sample apache.conf information
found on my Solaris machine at:
$NEXT_ROOT/Library/WebObjects/Adaptors/Apache/apache.conf.
In that file, the WebObjectsConfig line is simply:
WebObjectsConfig http://localhost:1085 10
I've never had a problem with that. My machine, despite having
multiple DNS aliases, only has ONE numerical IP address/network
interface. If you are dealing with a machine with multiple network
interfaces, that's a whole new ball of wax, which requires using the
WOHost argument for particular WO processes. Let us know if that's
your situation.
Hope this helps,
--Jonathan
At 5:22 PM -0500 3/17/04, Sam Bilbrey wrote:
Kind Group:
I have recently began to see the following issue with an installation on
Windoes 2K Server installation of WebObjects. Going to the WebObjects
Monitor (port 56789) I see the message "Failed to contact
localhost-1085".
I have tried to configure the host as 127.0.0.1, localhost, the actual
machine name, and the actual machine IP address.
I have tried to access via a browser on the local machine as well as via
a browser on a separate machine.
I have stopped and restarted the services repeatedly without effect.
-------------------------------------------------------------
The only log information I can find is in the WebObjectsApache.log file:
Debug: init_adaptor(): beginning initialization. Adaptor version
4.5.1.ixos.
Info: init_adaptor(): config options are: String table:
config = http://vmw2keccsam1:1085
confinterval = 60
logPath = c:/temp/WebObjectsApache.log
logLevel = Verbose
Info: Adaptor shared state file: C:/TEMP//WOAdaptorState
Info: Adaptor info user: <no user set>, password: <no password set>
Debug: init_adaptor(): WOShmem_init succeeded
Debug: init_adaptor(): tr_init succeeded
Debug: init_adaptor(): hl_init succeeded
Debug: init_adaptor(): lb_init succeeded
Info: ac_init(): reading configuration from: http://vmw2keccsam1:1085
Info: Caching hostent for vmw2keccsam1
Info: Added new config server VMW2kECCSAM1:1085.
Debug: init_adaptor(): ac_init succeeded
Debug: init_adaptor(): transaction_init() succeeded
Info: Reading configuration from
http://VMW2kECCSAM1:1085/WebObjects/wotaskd.woa/wa/woconfig
Info: attempting to connect to VMW2kECCSAM1 on port 1085
Debug: WOSocket: connect timeout in NB connect
Error: couldn't connect to VMW2kECCSAM1 (1085): Cannot create a file
when that file already exists.
Error: Error connecting to server VMW2kECCSAM1
Info: Config server VMW2kECCSAM1:1085 didn't respond.
Info: WebObjects_init(): WebObjects adaptor initialization succeeded.
------------------------------------------------------------
The following is the bottom of my httpd.conf file:
##
## WebObjects API
##
LoadModule WebObjects_module modules/mod_WebObjects.so
# The directory with the documents for the applications
WebObjectsDocumentRoot "c:/IXOS/Apache/htdocs"
# The name of the WebObjects API. Set this to scripts to avoid
# mixing it up with the normal CGI adaptor in cgi-bin.
WebObjectsAlias /scripts/WebObjects
# Define the list of servers to look for applications
#
# The number at the end defines the interval in seconds to
# poll the server
WebObjectsConfig http://vmw2keccsam1:1085 60
SetEnv WO_CONFIG_URL "http://vmw2keccsam1:1085 60"
# Define the name and password for WOAdaptorInfo
#
# WebObjectsAdminUsername public
# WebObjectsAdminPassword public
# SetEnv WO_ADAPTOR_INFO_USERNAME public
# SetEnv WO_ADAPTOR_INFO_PASSWORD public
# Define the maximum size for post requests allowed
#
# WebObjectsMaxReqSize 10000
# SetEnv WO_MAX_REQ_SIZE 10000
# Adaptor Logging
#
# Create a file /tmp/logWebObjects as root under solaris
# or c:\temp\logWebObjects under Windows NT
# to switch logging on
#
WebObjectsLog c:/temp/WebObjectsApache.log Verbose
SetEnv WO_LOG_FILE "c:/temp/WebObjectsCGI.log"
SetEnv WO_LOG_LEVEL "Verbose"
-------------------------------------------------------------------
Can anyone offer suggestions on where I can look to see what the problem
is, or what the probelm might be?
Thank you,
Sam Bilbrey
Principal Product Consultant
Open Text, Inc.
6500 Emerald Parkway, Suite 200
Dublin, OH 43016-3297
Email: <mailto:email@hidden> email@hidden or
<mailto:email@hidden> email@hidden
Ofc: 614.761.7311
Fax: 614.761.7290
Cell: 937.645.0499
IM: SamRBilbrey
[demime 0.98b removed an attachment of type text/x-vcard which had a
name of Sam Bilbrey (email@hidden).vcf]
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.