Go here
http://wiki.objectstyle.org/confluence/display/WO/Home

Search for WODirectConnectEnabled

Chuck


On Jan 6, 2008, at 1:30 PM, Ren, Kevin wrote:


HI,
What's different about set WODirectConnectEnabled=false/true?
I deploy my WOHelloworld app in development mode after succeed build.

1. WODirectConnectEnabled=true

[2008-01-04 15:52:01 NZDT] <main> WOUserDirectory=/home/kevin/ workspace/WOHelloWorld/build/WOHelloWorld.woa
[2008-01-04 15:52:01 NZDT] <main> WODisplayExceptionPages=true
[2008-01-04 15:52:01 NZDT] <main> ------------------------
[2008-01-04 15:52:01 NZDT] <main> Created adaptor of class WODefaultAdaptor on port 53019 and address kevin-desktop/127.0.0.1 with WOWorkerThread minimum of 16 and maximum of 256

[2008-01-04 15:52:01 NZDT] <main> NSBundle is unable to find "ExtensionsForResources.plist" in the main bundle. Ignoring optional configuration file.

[2008-01-04 15:52:01 NZDT] <main> *** The application has found the following opened, development-mode ProjectBuilderWO projects: (<com.webobjects.appserver._private.WOProjectBundle: projectName='WOHelloWorld'; bundlePath='/home/kevin/workspace/ WOHelloWorld/build/WOHelloWorld.woa'; projectPath='/home/kevin/ workspace/WOHelloWorld'>)

[2008-01-04 15:52:01 NZDT] <main> Application project found: Will locate resources in '/home/kevin/workspace/WOHelloWorld' rather than '/home/kevin/workspace/WOHelloWorld/build/WOHelloWorld.woa' .

[2008-01-04 15:52:01 NZDT] <main> Creating LifebeatThread now with: WOHelloWorld 53019 kevin-desktop/127.0.0.1 1085 30000

Welcome to WOHelloWorld !
[2008-01-04 15:52:01 NZDT] <main> The URL for webserver connect is:
http://127.0.0.1/cgi-bin/WebObjects/WOHelloWorld.woa/-53019
The URL for direct connect is:
http://127.0.0.1:53019/cgi-bin/WebObjects/WOHelloWorld.woa
[2008-01-04 15:52:01 NZDT] <main> null
[2008-01-04 15:52:01 NZDT] <main> Waiting for requests…

The second link works for me http://127.0.0.1:53019/cgi-bin/ WebObjects/WOHelloWorld.woa But the first one http://127.0.0.1/cgi-bin/WebObjects/ WOHelloWorld.woa/-53019 changed to https://127.0.0.1/cgi-bin/WebObjects/WOHelloWorld.woa/-53019 in my broswer,because I use SSL with apache
And gave me message:

The requested application was not found on this server.

2. WODirectConnectEnabled=false
I only got http://127.0.0.1/cgi-bin/WebObjects/ WOHelloWorld.woa/-53019 link, changed to https:// with the same error message:

The requested application was not found on this server.


3. Apache not setup correct? Or I need setup some other parameters for deploy.

Thanks


kevin



"This communication is confidential and may contain privileged and/ or copyright material. If you are not the intended recipient you must not use, disclose, copy or retain it. If you have received it in error please immediately notify me by return email, delete the emails and destroy any hard copies. ANZ National Bank Limited does not guarantee the integrity of this communication, or that it is free from errors, viruses or interference."

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/chill% 40global-village.net

This email sent to [EMAIL PROTECTED]

--

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 protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to