• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Developing with Apache instead of Direct Connect
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Developing with Apache instead of Direct Connect


  • Subject: Re: Developing with Apache instead of Direct Connect
  • From: Chuck Hill <email@hidden>
  • Date: Wed, 25 Aug 2010 11:35:46 -0700

On Aug 25, 2010, at 11:25 AM, Andrew R. Kinnie wrote:

> Hmm.  Well I tried that (upped it to 180 and restarted apache), and it seems to have no effect, but then I am wondering if there is another issue, as I never configured any apps using JavaMonitor.

It is a site, not application, configuration so it should work.  I think...


>  I've just been running through Eclipse (debug).  As I am re-building each time I run it this way, I am not sure how I'd configure the apps if I was to do that.
>
> I am getting this error (or one like it) in the console when there is "No Instance Available"
>
> Aug 25 14:12:48 Myapp [5557] WARN  NSLog  - <WOWorkerThread id=12 socket=Socket[addr=/127.0.0.1,port=60300,localport=5557]> Exception while sending response: java.net.
> SocketException: Broken pipe
>
>
>
> On Aug 25, 2010, at 1:56 PM, Chuck Hill wrote:
>
>>
>> On Aug 25, 2010, at 10:26 AM, Andrew R. Kinnie wrote:
>>
>>> Would you believe we have REALLY complex business logic associated with logging in?
>>>
>>> That and I have a computer slightly slower than a TRS-80.
>>
>> I remember those!
>>
>>
>> Run JavaMonitor and go to the Site tab.  In this area:
>>
>> <PastedGraphic-7.pdf>
>>
>> Change the 15 (seconds) to 30 or  higher.  Your machine is configured correctly, your app is just slower than the configuration expects.
>>
>> Chuck
>>
>>
>>
>>> Sent from my iPhone
>>>
>>> On Aug 25, 2010, at 1:06 PM, Chuck Hill <email@hidden> wrote:
>>>
>>>> So.... I have to ask.  Why is it taking over 26 seconds (!!!) to handle the login?
>>>>
>>>>
>>>> On Aug 25, 2010, at 10:03 AM, Andrew R. Kinnie wrote:
>>>>
>>>>> The console gives me the same error I used to get with DirectConnect (which apparently everyone here gets):
>>>>>
>>>>> Aug 25 12:48:08 MyApp[5557] WARN  er.extensions.statistics.ERXStatisticsStore  - Request did take too long : 26804ms request was: com.MyApp.ui.Main
>>>>>
>>>>> But the app still ran in DirectConnect.  I get No Instance Available in Apache (unless I reload it multiple times)
>>>>>
>>>>> It is set to use localhost
>>>>>
>>>>> No on https to login.  It's a direct action, and in any case, I have had to reload sometimes even after I have logged in to go from one page to another.
>>>>>
>>>>>
>>>>> On Aug 25, 2010, at 12:39 PM, Chuck Hill wrote:
>>>>>
>>>>>> 1. Check the console log for errors
>>>>>>
>>>>>> 2. Does your app use HTTPS to login?
>>>>>>
>>>>>>
>>>>>> On Aug 25, 2010, at 9:03 AM, Andrew R. Kinnie wrote:
>>>>>>
>>>>>>> OK, so I know everyone is focussed on WOWODC at the moment (as will I be after I drive 10 hours tomorrow to get there), but I have not been able to get my Eclipse set up to use Apache, despite following the instructions on the Wiki.
>>>>>>>
>>>>>>> Specifically, the app runs, I get our login screen, and when I click login, I eventually get a "No Instance Available" error.
>>>>>>>
>>>>>>> I replaced my mod_WebObjects.so with the latest mod_WebObjects.so (for my OS, 10.6) from the link on this page:
>>>>>>>
>>>>>>> http://wiki.objectstyle.org/confluence/pages/viewpage.action?pageId=3768691
>>>>>>>
>>>>>>> and it doesn't fix it.
>>>>>>>
>>>>>>> Anyone have a suggestion?
>>>>>>>
>>>>>>> Eclipse 3.6, Mac OS 10.6, using the Apache that came with 10.6.  Apache seems to be running, because I get the login screen and the url looks like what the settings suggest it should look like.
>>>>>>>
>>>>>>> Andrew Kinnie
>>>>>>>
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> 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
>>>>>>
>>>>>> --
>>>>>> Chuck Hill             Senior Consultant / VP Development
>>>>>>
>>>>>> 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
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>
>>>> --
>>>> Chuck Hill             Senior Consultant / VP Development
>>>>
>>>> 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
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>
>> --
>> Chuck Hill             Senior Consultant / VP Development
>>
>> 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
>>
>>
>>
>>
>>
>>
>>
>

--
Chuck Hill             Senior Consultant / VP Development

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







Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
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

  • Follow-Ups:
    • Re: Developing with Apache instead of Direct Connect
      • From: "Andrew R. Kinnie" <email@hidden>
References: 
 >Developing with Apache instead of Direct Connect (From: "Andrew R. Kinnie" <email@hidden>)
 >Re: Developing with Apache instead of Direct Connect (From: Chuck Hill <email@hidden>)
 >Re: Developing with Apache instead of Direct Connect (From: "Andrew R. Kinnie" <email@hidden>)
 >Re: Developing with Apache instead of Direct Connect (From: Chuck Hill <email@hidden>)
 >Re: Developing with Apache instead of Direct Connect (From: "Andrew R. Kinnie" <email@hidden>)
 >Re: Developing with Apache instead of Direct Connect (From: Chuck Hill <email@hidden>)
 >Re: Developing with Apache instead of Direct Connect (From: "Andrew R. Kinnie" <email@hidden>)

  • Prev by Date: Re: Developing with Apache instead of Direct Connect
  • Next by Date: Re: Developing with Apache instead of Direct Connect
  • Previous by thread: Re: Developing with Apache instead of Direct Connect
  • Next by thread: Re: Developing with Apache instead of Direct Connect
  • Index(es):
    • Date
    • Thread