Re: Apache for Dev and breakpoints
Re: Apache for Dev and breakpoints
- Subject: Re: Apache for Dev and breakpoints
- From: Jeffrey Schmitz <email@hidden>
- Date: Fri, 15 Mar 2019 20:19:03 -0500
OK, I’m was back to square one on this. Out of the blue,I was getting The
requested application was not found on this server error again when running
through apache.
I tried creating a new workspace and re-importing my project into that and I
also tried restoring my project from a previous backup when running though
apache worked, and still no go. Then, in the spirit of my last fix I tried
changing the case of my project name in build.properties and still no go. THEN
I changed my project name to an entirely different name in build.properties
and it WORKED! Any ideas out there why this is happening? I really don’t want
to have to remember to change my name in my properties file before building and
deploying.
Thanks,
Jeff
> On Mar 7, 2019, at 5:48 PM, Theodore Petrosky <email@hidden> wrote:
>
> BTW, you didn’t mention the lowercase setting:
>
>
> project.name=AS_Document_Safe
> project.name.lowercase=as_document_safe
>
>
>
>> On Mar 7, 2019, at 6:40 PM, Jeffrey Schmitz <email@hidden
>> <mailto:email@hidden>> wrote:
>>
>>
>> Yeah, usually I’d agree, but for this I think I was trying to play off the
>> .net in some URL names, so using lowercase for net just seemed right, but
>> what do I know, I’m a software geek not a marketing major :-)
>>
>>
>>
>>> On Mar 7, 2019, at 1:59 AM, Theodore Petrosky <email@hidden
>>> <mailto:email@hidden>> wrote:
>>>
>>> I know this has nothing to do with this :) but all of my camelcase names
>>> begin with a capital (ie. project.name=AS_Document_Safe). I notice that
>>> yours begins with a lower case,
>>>
>>> I just find it odd.
>>>
>>>
>>>> On Mar 6, 2019, at 9:27 PM, Jeffrey Schmitz <email@hidden
>>>> <mailto:email@hidden>> wrote:
>>>>
>>>> Finally figured out a fix for this, although I’m still a little cloudy as
>>>> to what’s going on.
>>>>
>>>> Note that the URL generated when I run in eclipse is:
>>>>
>>>>> http://localhost/cgi-bin/WebObjects/netbrackets.woa/-5555
>>>>> <http://localhost/cgi-bin/WebObjects/netbrackets.woa/-5555>
>>>> netbrackets in all lower case. However, this doesn’t match the
>>>> project.name value defined in the build.properties file which was in
>>>> camelcase:
>>>>
>>>> project.name=netBrackets
>>>>
>>>> I changed the project.name to be all lowercase like the generated URL, and
>>>> it works!
>>>>
>>>> What I don’t understand is why the URL is being generated all lowercase in
>>>> the first place when the project.name is specified camelcase. Also,
>>>> everything deploys fine as it was, I’m a little worried keeping the
>>>> project.name property lowercase may mess up my deployment.
>>>>
>>>> My build file as well specifies the project name in camel case.
>>>>
>>>> <project name="netBrackets" default="build" basedir=".”>
>>>>
>>>> Jeff
>>>>
>>>>
>>>>
>>>>> On Jan 12, 2019, at 9:03 AM, Jeffrey Schmitz
>>>>> <email@hidden <mailto:email@hidden>>
>>>>> wrote:
>>>>>
>>>>> I’m using the URL generated by Eclipse when I debug, and yes it looks
>>>>> like the URL you describe:
>>>>>
>>>>> http://localhost/cgi-bin/WebObjects/netbrackets.woa/-5555
>>>>> <http://localhost/cgi-bin/WebObjects/netbrackets.woa/-5555>
>>>>>
>>>>> I’m wondering, do I need to add the application that is built by Eclipse
>>>>> under the “dist” folder to the wotaskd config using Javamonitor?
>>>>>
>>>>> Jeff
>>>>>
>>>>>
>>>>>
>>>>>> On Jan 11, 2019, at 10:08 PM, Aaron Rosenzweig <email@hidden
>>>>>> <mailto:email@hidden>> wrote:
>>>>>>
>>>>>> Jeffrey,
>>>>>>
>>>>>> What is the url you are trying to use in Safari to connect?
>>>>>>
>>>>>> You need to know the port and you need to type it with a negative.
>>>>>>
>>>>>> With direct connect it is a colon but with the apache adaptor it is a
>>>>>> slash and then a negative sign and then the port number.
>>>>>> AARON ROSENZWEIG / Chat 'n Bike <http://www.chatnbike.com/>
>>>>>> e: email@hidden <mailto:email@hidden> t: (301) 956-2319
>>>>>>
>>>>>>
>>>>>>> On Jan 11, 2019, at 6:09 PM, Jeffrey Schmitz
>>>>>>> <email@hidden <mailto:email@hidden>>
>>>>>>> wrote:
>>>>>>>
>>>>>>>
>>>>>>> Yes I think you must be right. After shutting down and deleting the
>>>>>>> launched version however, it now says The requested application was not
>>>>>>> found on this server.
>>>>>>>
>>>>>>> What is the magic property that makes apache use the Eclipse version
>>>>>>> that is launched when I try to debug?
>>>>>>>
>>>>>>> Thanks
>>>>>>> Jeff
>>>>>>>
>>>>>>>> On Jan 11, 2019, at 2:10 PM, Aaron Rosenzweig <email@hidden
>>>>>>>> <mailto:email@hidden>> wrote:
>>>>>>>>
>>>>>>>> Hi Jeff - I suppose you actually have the .woa launched and running on
>>>>>>>> your system and Apache is connecting to that instead of Eclipse.
>>>>>>>> AARON ROSENZWEIG / Chat 'n Bike <http://www.chatnbike.com/>
>>>>>>>> e: email@hidden <mailto:email@hidden> t: (301)
>>>>>>>> 956-2319
>>>>>>>>
>>>>>>>>
>>>>>>>>> On Jan 10, 2019, at 9:13 PM, Jeffrey Schmitz
>>>>>>>>> <email@hidden <mailto:email@hidden>>
>>>>>>>>> wrote:
>>>>>>>>>
>>>>>>>>> Hello List,
>>>>>>>>> I’m trying to use apache for development per
>>>>>>>>> https://wiki.wocommunity.org/display/documentation/Development+Tools-Running+Through+Apache
>>>>>>>>>
>>>>>>>>> <https://wiki.wocommunity.org/display/documentation/Development+Tools-Running+Through+Apache>
>>>>>>>>> so I can test SSL related code.
>>>>>>>>>
>>>>>>>>> When I launch my app from Eclipse however, it’s not getting my
>>>>>>>>> latest changes nor is it stopping on my breakpoints in the debugger.
>>>>>>>>> Using direct connect it all works as expected. Any ideas what’s
>>>>>>>>> going on?
>>>>>>>>>
>>>>>>>>> Jeff
>>>>>>>>>
>>>>>>>>> _______________________________________________
>>>>>>>>> Do not post admin requests to the list. They will be ignored.
>>>>>>>>> Webobjects-dev mailing list (email@hidden
>>>>>>>>> <mailto:email@hidden>)
>>>>>>>>> Help/Unsubscribe/Update your Subscription:
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> This email sent to email@hidden <mailto:email@hidden>
>>>>>>>>
>>>>>>>
>>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> Do not post admin requests to the list. They will be ignored.
>>>>> Webobjects-dev mailing list (email@hidden
>>>>> <mailto:email@hidden>)
>>>>> Help/Unsubscribe/Update your Subscription:
>>>>>
>>>>>
>>>>> This email sent to email@hidden <mailto:email@hidden>
>>>>
>>>> _______________________________________________
>>>> Do not post admin requests to the list. They will be ignored.
>>>> Webobjects-dev mailing list (email@hidden
>>>> <mailto:email@hidden>)
>>>> Help/Unsubscribe/Update your Subscription:
>>>>
>>>> This email sent to email@hidden <mailto: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:
This email sent to email@hidden