Re: Disable Direct Connect during development
Re: Disable Direct Connect during development
- Subject: Re: Disable Direct Connect during development
- From: Chuck Hill <email@hidden>
- Date: Fri, 9 Dec 2005 11:23:02 -0800
On Dec 9, 2005, at 7:16 AM, Jan Verrept wrote:
I've reinstalled WO.
Now when I build and run I get an empty page.
More details are always good. What does the URL look like? If you
view source on the page, what do you see. I would expect to see some
sort of error message rather than a blank page.
When I replace the IP-address with "localhost" it works.
IP addresses and host names on OS X when developing are a never
ending source of "fun".
However I need to keep the entire url incl. the number at the end
otherwise it doesn't work.
How can users know about the ID at the end of the url?
Again, more information is better. What does the URL look like?
Like this:
http://localhost/cgi-bin/WebObjects/AppName/.woa/-12345
If so, that is a _development_ URL. The -12345 is only used when
launching in development mode (i.e. from Xcode). In a proper
deployment scenario it will not be present.
Chuck
Op 7-dec-05, om 02:11 heeft Chuck Hill het volgende geschreven:
I'd think about re-installing WebObjects then. Something went
wrong in the install.
On Dec 6, 2005, at 5:10 PM, Jan Verrept wrote:
you where right the CGI file was not present.
it is working fine now!
thnx so much
Op 7-dec-05, om 02:05 heeft Chuck Hill het volgende geschreven:
That sounds like the CGI adaptor is not installed. Look for
/Library/WebServer/CGI-Executables/WebObjects
If it is not present (it should be there), copy it there from
/System/Library/WebObjects/Adaptors/CGI/WebObjects
Or check in /etc/httpd/httpd.conf and see if the last line is
commented out (should not be):
# Including WebObjects Configs
Include /System/Library/WebObjects/Adaptors/Apache/apache.conf
Normally, this should be uncommented but if it is commented and
the CGI adaptor is not installed you would get that error message.
In either case, sounds like you have a bad install.
Chuck
On Dec 6, 2005, at 4:55 PM, Jan Verrept wrote:
I have a fix IP-address
message in the browser:
Not Found
The requested URL /cgi-bin/WebObjects/
MilieuCriminaliteit.woa/-49694 was not found on this server.
Apache/1.3.33 Server at 10.0.1.202 Port 80
Op 7-dec-05, om 01:39 heeft Jan Verrept het volgende geschreven:
I assume I just needed to remove the "#" symbol from the line
below?
#"$WOSERVICE" -appPath "$WOTASKD" >/var/log/webobjects.log
2>&1 &
that didn't work for me :-(
Op 7-dec-05, om 01:06 heeft Miguel Arroz het volgende geschreven:
Hi!
You must enable WOTaskd by uncommenting the correct lines
in /System/Library/StartupItems/WebObjects/WebObjects, or
something very close to that. Then, reboot. It should work now.
When not in direct connect mode, you must be running
wotaskd, so that the applications are registered with the
adapters. Check WO Deployment guide for a more detailed
explanation.
Yours
Miguel Arroz
On 2005/12/06, at 23:57, Jan Verrept wrote:
I have been testing my app with direct connect.
Then I enabled Personal Webserver and added "-
DWODirectConnectEnabled=false" as an argument to the
executable.
Now I get a page not found after a 'Build and run'.
What am I doing wrong here?
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (Webobjects-
email@hidden)
Help/Unsubscribe/Update your Subscription:
40guiamac.com
This email sent to email@hidden
"We have no sympathy for the lost souls
We've chosen the path of disgrace
We give this life to our children
And teach them to hate this place" -- Apocalyptica, Life Burns!
Miguel Arroz
http://www.ipragma.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
email@hidden
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:
40global-village.net
This email sent to email@hidden
--
Coming in 2006 - an introduction to web applications using
WebObjects and Xcode http://www.global-village.net/wointro
Practical WebObjects - for developers who want to increase their
overall knowledge of WebObjects or who are trying to solve
specific problems. http://www.global-village.net/products/
practical_webobjects
--
Coming in 2006 - an introduction to web applications using
WebObjects and Xcode http://www.global-village.net/wointro
Practical WebObjects - for developers who want to increase their
overall knowledge of WebObjects or who are trying to solve
specific problems. http://www.global-village.net/products/
practical_webobjects
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40mac.com
This email sent to email@hidden
--
Coming in 2006 - an introduction to web applications using WebObjects
and Xcode http://www.global-village.net/wointro
Practical WebObjects - for developers who want to increase their
overall knowledge of WebObjects or who are trying to solve specific
problems. http://www.global-village.net/products/practical_webobjects
_______________________________________________
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