Re: Apache2.2 on Windows within Eclipse
Re: Apache2.2 on Windows within Eclipse
- Subject: Re: Apache2.2 on Windows within Eclipse
- From: Michael Hast <email@hidden>
- Date: Wed, 08 Sep 2010 17:29:08 -0700
I got it to work, no more instance # after the URL. I replaced the
following line in my httpd.conf file in Apache:
#WebObjectsConfig http://localhost:1085 10
WebObjectsConfig
file://C:/Apple/Local/Library/WebObjects/Configuration/WebObjects.xml 10
The WebObjects.xml file contains the following:
<?xml version="1.0" encoding="ASCII"?>
<adaptor>
<application name="asmTableBrowser">
<instance id="1" port="44000" host="localhost"/>
</application>
</adaptor>
I copied that from http://localhost:1085 (wotaskd).
Michael.
On 9/8/2010 4:58 PM, Chuck Hill wrote:
One other thing to consider is to set the Session to store the wosid and winst values in cookies, instead of in the URI. I think that would avoid the problem you are facing.
Chuck
On Sep 8, 2010, at 4:55 PM, Michael Hast wrote:
I think Chuck answered it and it cannot be done. Here is what I am trying to do. My URL right now is as follows and I am able to connect to the application just fine:
http://localhost/cgi-bin/WebObjects/MyApp.woa/-4444
I was wondering if I could tell the application when I launch it within Eclipse that I want to use the URL without the "-4444" like this.
http://localhost/cgi-bin/WebObjects/MyApp.woa
The second URL right now does not work, I have to use Apache2.2 because that is our deployment environment and we have some static web assets under revision control that are changed within Eclipse. On Mac OS X, I can just create a symbolic link. On Windows XP I can't :-( But with Apache2.2 and Alias's I can link to that static assets.
Michael.
On 9/8/2010 4:47 PM, Mark Ritchie wrote:
On 8/Sep/2010, at 4:27 PM, Michael Hast wrote:
The unfortunate think is that I am not deploying. I need to setup a development environment for a customer on Windows and was wondering if the port number could be removed?
Yes, that's an unfortunate think! ;-)
Just what are you trying to do?
With WOTaskd, Apache and WO, it sure does sound like deployment.
A deployment of one instance with one user but a deployment just the same. ;-)
Trying to run a WO instance without a port number will cause you grief! ;-)
Good luck with that!
M.
--
Tel: (520) 572-9410
Desert Sky Software: www.desertsky.com
Specializing in the Development and Hosting of
e-Business Applications.
_______________________________________________
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
--
Tel: (520) 572-9410
Desert Sky Software: www.desertsky.com
Specializing in the Development and Hosting of
e-Business Applications.
_______________________________________________
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