On Mar 20, 2008, at 4:40 AM, Reid Bundonis wrote:

Dear List,

Years ago I ran into a similar problem that I never resolved. Was wondering if anyone had a suggestion or if this simply is not possible. First, the environment:

Server is OS X Server 10.4.6 (I know time to upgrade but 431 days uptime is hard to abandon). It is running the Apple stock Apache with WO. I am one of the dinosaurs so I am still using Xcode, WOBuilder, EOModeler, etc under 10.4.11 to develop the applications. Please don't chastise me :)

But, but I enjoy that!  :-)


I have a component that I stripped the html, head, and body tags from and then deployed it. I can hit it by doing http://server/Apps/WebObjects/Classes . Everything works fine.

However, if I want to include that WO snippet into a standard .shtml page, I get one of the two results:

If I do:
        <!--#include virtual="/Apps/WebObjects/Classes" -->

I get, "No Instance Available." So at least I know that the WO engine was hit. It is just not finding my deployed application.

Have you tried a more complete URL?
<!--#include virtual="/Apps/WebObjects/Classes.woa/wa/default" -->

I have done this years ago, and it works.

If that does not work:

sudo touch /tmp/logWebObjects

Then load that page a couple of times and look in

/tmp/WebObjects.log

You will then see what the woadaptor is attempting to dispatch. That may show the source of "No Instance Available."


Chuck


If I do:
        <!--#include virtual="http://fqdn/Apps/WebObjects/Classes"; -->

I get ?An error occurred executing this directive."

Anyone have a suggestion? This is just a listing of classes but I would like to simply include this into another page instead of recreating the entire page in WO. This is not a complex app. The public side is just the listing without signup or anything else yet.

Thanks in advance for any suggestions or advice.

R-
_______________________________________________
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/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      (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 [EMAIL PROTECTED]

Reply via email to