Re: Anyone running macOS Catalina yet?

2019-08-21 Thread Tim Worman via Webobjects-dev
Hey Hugi,

Hope you’re doing well!!

I’m not running Catalina so I can’t give any first-person reports. There still 
appears to be some problems related to the new read-only APFS system volume. It 
appears the intention is to have some magic happen where a user space data 
volume is mounted over the system volume.

If you have dev tools installed by macports, homebrew or the like, they may not 
be ready to function in the new disk setup yet?

I haven’t really looked into it enough to confirm - just enough to decide to 
stay away for a bit.

Peace!

Tim - UCLA GSE&IS

> On Aug 10, 2019, at 1:19 PM, Hugi Thordarson via Webobjects-dev 
>  wrote:
> 
> Hi all,
> anyone doing WO development on the macOS 10.15 (Catalina) beta? Success/fail?
> 
> Cheers,
> - hugi
> ___
> 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:
> https://lists.apple.com/mailman/options/webobjects-dev/lists%40thetimmy.com
> 
> This email sent to li...@thetimmy.com

 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: Already registered for WO-Day 2019?! (WOWODC)

2019-04-11 Thread Tim Worman
Maik,

As usually, very much appreciated! Thanks for doing this again. I will 
definitely be tuned into whatever gets posted!

Tim

> On Apr 11, 2019, at 2:27 PM, Maik Musall  wrote:
> 
> So,
> 
> my apologies about no live streaming or anything. I did bring necessary 
> equipment, but the schedule was too tight, and things were happening quickly 
> and changing quite dynamically, so it simply wasn't feasible.
> 
> I do have recordings of most presentations, but had to record audio 
> separately, so it will take more time than usual to edit all that. Will post 
> links to recordings soon.
> 
> Maik
> 
> 
>> Am 09.04.2019 um 16:36 schrieb Maik Musall > >:
>> 
>> Somebody's got to invite you I think, but I forget who can do that.
>> 
>> Don't worry, I'll post a link here as well.
>> 
>>> Am 09.04.2019 um 15:43 schrieb Klaus Berkling >> >:
>>> 
>>> 
>>> Sorry, behind the times here. How does one get on Slack? 
>>> 
>>> Sent from my phone. 
>>> 
>>> On Apr 9, 2019, at 02:05, Maik Musall >> > wrote:
>>> 
 Update-Update: I just tested broadcasting via Periscope, which appears to 
 be an option for this. Not for recorded talks, but if we're having an open 
 discussion, I might start a Periscope broadcast of that. I suggest you 
 keep watching the #general channel in the WOCommunity Slack for a link to 
 show up on Thursday.
 
 
> Am 08.04.2019 um 15:12 schrieb Maik Musall  >:
> 
> Update: I'm strongly leaning towards no live-streaming. Requires too much 
> prep, and I can't even be there much earlier than everyone else. And most 
> of the people who aren't attending personally are probably living in 
> another time zone anyway.
> 
> But there will be recordings.
> 
> Maik
> 
> 
>> Am 01.03.2019 um 14:57 schrieb Maik Musall > >:
>> 
>> At least I'll make recordings as usual, and publish them timely. I don't 
>> know if live feed is feasible, depends on a lot of details, I'll look 
>> into it.
>> 
>> Maik
>> 
>> 
>>> Am 01.03.2019 um 14:43 schrieb Theodore Petrosky >> >:
>>> 
>>> any chance we can get a live feed from this for the people that are so 
>>> far away that we cannot get funding to travel?
>>> 
>>> I’d love to go if only to taste that caterer!
>>> 
>>> Ted
>>> 
 On Mar 1, 2019, at 8:34 AM, René Bock >>> > wrote:
 
 Dear WebObjects friends and Wonder veterans,
 
 we meet on April 11th in Frankfurt am Main and talk about the 
 question, how does it go on with WebObjects? What strategies and ideas 
 exists for current and future development tasks?
 
 For an inspiring program we are looking forward to your suggestions. 
 (We will publish them successively). So please register until 31 March 
 and send us your topics. Please head over to https://woday.salient.de 
 
 
 The costs for room rental and the all-day package with soft drinks, 
 coffee/tea, coffee breaks, warm lunch are 75 EUR (net) per person. The 
 caterer is really delicious.
 
 We are looking forward to you.
 
 
 
 Best regards
 
 René Bock
 
 --
 Phone: +49 69 650096 18
 
 salient GmbH, Lindleystraße 12, 60314 Frankfurt
 Main: +49 69 65 00 96 0  |  http://www.salient-doremus.de 
 
 
 ___
 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:
 https://lists.apple.com/mailman/options/webobjects-dev/tedpet5%40yahoo.com
  
 
 
 This email sent to tedp...@yahoo.com 
>>> 
>>> ___
>>> 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:
>>> https://lists.apple.com/mailman/options/webobjects-dev/maik%40selbstdenker.ag
>>>  
>>> 
>>> 
>>> This email sent to m...@selbstdenker.ag 
>> ___
>> Do no

Re: Best Linux distro?

2019-03-12 Thread Tim Worman
+1 on this. I still have a legacy Mac OS X server here but I have new 
deployments running on CentOS and I have been happy with it.

Tim
UCLA GSE&IS

> On Mar 12, 2019, at 6:55 AM, Hugi Thordarson  wrote:
> 
> I'm not really qualified to answer which one is "best" since I've only used 
> CentOS in the past few years and thus have no comparison. But using CentOS 
> has certainly been a very good experience.
> 
> Cheers,
> - hugi
> 
> 
>> On 12 Mar 2019, at 13:48, Ken Anderson > > wrote:
>> 
>> All,
>> 
>> I’ve decided it’s time to stop paying Amazon for my little projects and run 
>> them from home. I have a PC that I can retask. Any suggestions on most WO 
>> friendly Linux distribution?
>> 
>> Many thanks!
>> Ken
>> 
>> ___
>> 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:
>> https://lists.apple.com/mailman/options/webobjects-dev/hugi%40karlmenn.is 
>> 
>> 
>> This email sent to h...@karlmenn.is
> 
> ___
> 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:
> https://lists.apple.com/mailman/options/webobjects-dev/lists%40thetimmy.com
> 
> This email sent to li...@thetimmy.com

 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: WOLips, Eclipse 2018-12 with openjdk11 and dcevm-hotswap

2019-02-21 Thread Tim Worman
I would think, at this point, that the number of devs swapping between multiple 
versions of WO would be close to zero. Anyone supporting a legacy codebase will 
probably know what to do. Perhaps there could simply be a link to a separate 
article - “How to maintain multiple versions of WO."

Tim

> On Feb 21, 2019, at 8:10 AM, Theodore Petrosky  wrote:
> 
> The problem is that (If I remember correctly) when you invoke ant on the CLI, 
> ant uses wolips.properties. it will ignore anything else.
> 
> so if you have a wolips.543.properties and Eclipse is set up to use it, then 
> Eclipse is Okay, but the CLI will not use it.
> 
> So I think it is better to NOT use the wolips.543.properties so that 
> installing and or compiling from Eclipse will agree with using the CLI.
> 
> One can do whatever pleases themselves, but I think erring on the side of 
> consistency is more correct (betterer???)! And it is not really erring, it is 
> making an informed decision.
> 
> Can you override ant’s properties?
> 
> ant -Dproperties=wolips.543.properties
> 
> So I agree with Markus, we should tone down the usage of .543. (multiple 
> versions) or at the least call it not recommended and the above is why.
> 
> 
>> On Feb 21, 2019, at 9:39 AM, Maik Musall > > wrote:
>> 
>> Hi Ted,
>> 
>> I went through the install process on a clean machine, created new 
>> screenshots and updated the Project Wonder Installation page with that. But 
>> I kept the wolips.543.properties scheme that had been described there, even 
>> though the comments at the bottom recommend not doing that and ignore the 
>> versioning. I also have the impression that skipping the version distinction 
>> would be better.
>> 
>> I can update that again, but I'd like a discussion about that detail here 
>> before.
>> 
>> Maik
>> 
>> 
>>> Am 21.02.2019 um 05:06 schrieb Theodore Petrosky >> >:
>>> 
>>> So I can edit some pages but not all  :(
>>> 
>>> 
>>> I can edit in here for instance:
>>> https://wiki.wocommunity.org/display/documentation/Building+a+WebObjects+Project
>>>  
>>> 
>>> 
>>> but I cannot edit here:
>>> https://wiki.wocommunity.org/display/WEB/Project+Wonder+Installation 
>>> 
>>> 
>>> I have always been very confused in the wiki. I know that Maik Musall can 
>>> edit here because it says at the top of the page:
>>> last modified by Maik Musall 
>>>  on Dec 01, 2017 
>>> 
>>> 
>>> I would be happy to help here if we can figure out how to get me edit privs.
>>> 
>>> Ted
>>> 
>>> 
>>> 
 On Feb 20, 2019, at 10:47 PM, Michael Sharp >>> > wrote:
 
 A wiki update would be good. I’ve updated README.md in the 4.10 repo to 
 reference the appropriate version of Eclipse and WOLips update site URL.
 
 - Sharpy.
 
> On 20 Feb 2019, at 7:03 pm, Theodore Petrosky  > wrote:
> 
> ???
> 
> should the wiki be updated to reflect this URL?
> 
> I hate the idea of having to examine the mail archives to find  this.
> 
> Ted
> 
>> On Feb 18, 2019, at 7:38 PM, Henrique Prange > > wrote:
>> 
>> Hey guys,
>> 
>> Just to let you know that I've merged Michael's pull request into the 
>> eclipse_4_10 branch. Maik did set up a new Jenkins job to build from 
>> changes on that branch. You can test it by pointing your WOLips update 
>> site to:
>> 
>> https://jenkins.wocommunity.org/job/WOLips410/lastSuccessfulBuild/artifact/temp/dist/
>>  
>> 
>> 
>> It looks good on my machine.
>> 
>> Cheers,
>> 
>> HP
>> 
>>> On Feb 17, 2019, at 7:52 PM, Michael Sharp >> > wrote:
>>> 
>>> Hi Henrique,
>>> 
>>> Thank you, PR here https://github.com/wocommunity/wolips/pull/139 
>>> 
>>> 
>>> Cheers,
>>> 
>>> - Sharpy.
>>> 
>>> 
 On 18 Feb 2019, at 3:11 am, Henrique Prange >>> > wrote:
 
 Hi Michael,
 
 I've pushed a new branch eclipse_4_10 to track changes and fixes for 
 Eclipse 2018-12 momentarily. Would you mind to create a pull request?
 
 Cheers,
 
 HP
 
> On Feb 14, 2019, at 10:00 PM, Michael Sharp  > wrote:
> 
> Hi Samuel,
> 
> I’m happy to create a pull request but I’m not sure there’s a

Re: Advice on whether to upgrade Eclipse / WOLips from Eclipse Mars 4.5

2019-02-08 Thread Tim Worman
This. I’m definitely seeing better performance from 2018-12.


> On Feb 6, 2019, at 3:04 AM, Theodore Petrosky  wrote:
> 
> I just installed eclipse 2018-12. I am finding that it loads faster, my app 
> is compiling and launching much faster and even the first run of my app, it 
> is much more responsive (in developer mode).
> 
> for those reasons alone I recommend that one should do the update!!
> 
> Ted
> 
> 
>> On Feb 6, 2019, at 12:44 AM, Faizel Dakri  wrote:
>> 
>> I’ve been using Eclipse 2018-12 for a few weeks now and it appears to be 
>> working fine. I haven’t yet run into anything surprising.
>> 
>> F
>> 
>> -- 
>> Faizel Dakri
>> list...@dakri.com
>> 
>> 
>> 
>>> On Feb 5, 2019, at 11:59 AM, Morris, Mark  wrote:
>>> 
>>> I’m on Eclipse 4.6 and it’s working fine, but a few of my coworkers are on 
>>> Eclipse 4.7 and are very happy with it. (We all use WOLips.)
>>>  
>>> Coincidentally I just downloaded Eclipse 2018-12 yesterday to give it a try 
>>> sometime in the next week or so. Anyone try this yet?
>>>  
>>> Regards,
>>> Mark
>>>  
>>> From: Webobjects-dev 
>>>  on behalf 
>>> of Aaron Rosenzweig 
>>> Date: Tuesday, February 5, 2019 at 11:41 AM
>>> To: John Pollard 
>>> Cc: WebObjects Development 
>>> Subject: Re: Advice on whether to upgrade Eclipse / WOLips from Eclipse 
>>> Mars 4.5
>>>  
>>> Hi John, I’m on Eclipse 4.6 and it is ok. I have not tried 4.7 with WO. 
>>>  
>>> Newer Eclipse can sometimes bring better debugging and general Java 
>>> goodness but other than that… 
>>>  
>>> If you are reasonably happy, I wouldn’t switch. 
>>>  
>>> I guess for giggles and grins you could try out 4.7 and see how it goes. 
>>> AARON ROSENZWEIG / Chat 'n Bike
>>> e:  aa...@chatnbike.com  t:  (301) 956-2319
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> On Feb 5, 2019, at 5:08 AM, John Pollard  wrote:
>>>  
>>> Hi list,
>>> 
>>> My last update of Eclipse/WOLips was in 2015 and I am on Eclipse Mars 4.5.2 
>>> + wolips / subclipse and all works fine.
>>> 
>>> Should I move up (to Eclipse/WOLips 4.7?) or not much reason to do so?
>>> 
>>> Many thanks for your advice,
>>> 
>>> John
>>> ___
>>> 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:
>>> https://lists.apple.com/mailman/options/webobjects-dev/aaron%40chatnbike.com
>>> 
>>> This email sent to aa...@chatnbike.com
>>>  
>>> ___
>>> 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:
>>> https://lists.apple.com/mailman/options/webobjects-dev/listfez%40dakri.com
>>> 
>>> This email sent to list...@dakri.com
>> 
>> ___
>> 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:
>> https://lists.apple.com/mailman/options/webobjects-dev/tedpet5%40yahoo.com
>> 
>> This email sent to tedp...@yahoo.com
> 
> ___
> 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:
> https://lists.apple.com/mailman/options/webobjects-dev/lists%40thetimmy.com
> 
> This email sent to li...@thetimmy.com

 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: SAML2 SSO with WebObjects

2018-10-30 Thread Tim Worman
I have an app that uses shibboleth. The most difficult part is understanding 
and configuring shibboleth - which will be largely based on the configuration 
of the IdP. Basically you install shib, configure its scope. In our case, I’m 
protecting a single “subdirectory" of the web server running on our app server.

Following that, the default DA 1st attempts a shibb login and scrapes the 
headers for whatever data you've requested from the IdP then handles the 
various conditions that could go wrong.

Tim
UCLA GSE&IS

> On Oct 30, 2018, at 4:57 AM, Asa Steady Hardcastle  wrote:
> 
> Hi Timo,
> 
> I assume you are interested in making your application an SP.  The simplest 
> way would likely be something like Auth0 - although, I've never used it. 
> 
> or, Shibboleth SP:
> https://www.shibboleth.net/products/service-provider/
> 
> Lastly, you've probably seen this, but there are a lot of starting points 
> here:
> https://nzpcmad.blogspot.com/2013/06/saml-saml-connectivity-toolkit.html
> 
> Good luck, and let us know how you do it!
> 
> Asa
> 
> 
> 
>> On Oct 30, 2018, at 4:38 AM, Timo Hoepfner  wrote:
>> 
>> Hi List,
>> 
>> I need to add SAML2 SSO to a WO application. Does anyone have some tips how 
>> to accomplish this? 
>> 
>> Timo
>> ___
>> 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:
>> https://lists.apple.com/mailman/options/webobjects-dev/a.talk%40zenn.net
>> 
>> This email sent to a.t...@zenn.net
> 
> ___
> 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:
> https://lists.apple.com/mailman/options/webobjects-dev/lists%40thetimmy.com
> 
> This email sent to li...@thetimmy.com

 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: Interested in Modern UI Kits, like Bootstrap?

2018-10-25 Thread Tim Worman
I forked the project and created a pull request that encapsulates these 
changes. Hopefully that fixes the JRE issue.

Tim

> On Oct 25, 2018, at 11:21 AM, Tim Worman  wrote:
> 
> All,
> 
> I just imported the framework project. I changed a couple things. First, 
> change the jdk to use “Workspace Default JRE." That may address the error 
> with the build path having a specific jdk set. Also, I think the missing 
> Libraries folder can be addressed the same way it is for other Wonder 
> frameworks - basically add an empty .gitignore inside the Libraries folder.
> 
> I’m getting quite a few errors in components for “In the WOD, there is no key 
> ‘ in ." Assuming these are keys that will operate 
> correctly at runtime, these should be marked with ‘//VALID’ in the WOD.
> 
> Tim
> UCLA GSEIS
> 
>> On Oct 25, 2018, at 11:14 AM, Theodore Petrosky  wrote:
>> 
>> I did not pull today :(
>> 
>> how does it work with Wonder? I never had to change this when I cloned 
>> Wonder. It just opened using the Java that I had. Maybe I was just lucky.
>> 
>> I will pull in a little while.
>> 
>> Ted
>> 
>> 
>>> On Oct 25, 2018, at 2:07 PM, Jesse Tayler  wrote:
>>> 
>>> Should we change that setting?
>>> 
>>> Ted? You used Ant to build the framework and then just right-click on 
>>> application class to use Run As WoApplication, right?
>>> 
>>> Did you pull whatever is there today and all that?
>>> 
>>> 
>>> 
>>>> On Oct 24, 2018, at 8:31 PM, Theodore Petrosky  wrote:
>>>> 
>>>> when i opened your project, the java was listed as jdk_1.7  I did not have 
>>>> that jdk so I had to link in what I have  jdk 1.8.0_144
>>>> 
>>>> 
>>>>> On Oct 24, 2018, at 7:59 PM, Jesse Tayler  wrote:
>>>>> 
>>>>> I’m cc’ing Robert here who’s great with configuration, I run the app 
>>>>> using the right click wonder app options not the build file myself
>>>>> 
>>>>> My build.xml for the app looks normal and ends with
>>>>> 
>>>>>
>>>>> 
>>>>> 
>>>>> The build.xml for the frameworks looks normal and far more complex and 
>>>>> begins with
>>>>> 
>>>>> 
>>>>> 
>>>>> 
>>>>> I do see that perhaps because I have peculiar JAVA settings that there 
>>>>> may be JAVA issues, and come to think of it, criss-crossed JAVA versions 
>>>>> can cause normal classes like the Application class not to build…
>>>>> 
>>>>> I bet you might see detail in your backtrace about classes loading. I’m 
>>>>> going to say this is something to do with your build-settings and 
>>>>> specifically the JAVA version numbers being used
>>>>> 
>>>>> Seems to me the framework might be 1.7 and my app is perhaps 1.8 or SE7 
>>>>> and SE8
>>>>> 
>>>>> I could have checked in a mismatch that perhaps needs adjusting? Robert? 
>>>>> 
>>>>> 
>>>>> 
>>>>>> On Oct 24, 2018, at 7:43 PM, Francois BIENTZ  
>>>>>> wrote:
>>>>>> 
>>>>>> Yes I’m able to run other Wonder Apps
>>>>>> 
>>>>>> For the BootstrapModernLook Framework it works now (ant needs a Library 
>>>>>> in folder in the Eclipse project )  I right clicked on build.xml  — 
>>>>>> WOLips ant tools — install
>>>>>> What did you put in this Library directory ? 
>>>>>> 
>>>>>> Then for the App I tried to use ant too (right click on build.xml), but 
>>>>>> I obtain : Build failed : Error reading project file 
>>>>>> /Users/franc/Build/build/build.xml: /Users/franc/Build/build/build.xml
>>>>>> such directory don’t exist on my home. (but the build.xml of the App 
>>>>>> don’t look like the xml file in other  Wonder Apps projects )
>>>>>> 
>>>>>> I have to search more what can be wrong on my environment
>>>>>> 
>>>>>> Thank you Jesse 
>>>>>> 
>>>>>>> Le 24 oct. 2018 à 23:46, Jesse Tayler  a écrit :
>>>>>>> 
>>>>>>> I’m not certain why you’d get that —
>>>>>>> 
>>>>>>> Let’s see, sounds like perhaps it hasn’t g

Re: Interested in Modern UI Kits, like Bootstrap?

2018-10-25 Thread Tim Worman
All,

I just imported the framework project. I changed a couple things. First, change 
the jdk to use “Workspace Default JRE." That may address the error with the 
build path having a specific jdk set. Also, I think the missing Libraries 
folder can be addressed the same way it is for other Wonder frameworks - 
basically add an empty .gitignore inside the Libraries folder.

I’m getting quite a few errors in components for “In the WOD, there is no key 
‘ in ." Assuming these are keys that will operate 
correctly at runtime, these should be marked with ‘//VALID’ in the WOD.

Tim
UCLA GSEIS

> On Oct 25, 2018, at 11:14 AM, Theodore Petrosky  wrote:
> 
> I did not pull today :(
> 
> how does it work with Wonder? I never had to change this when I cloned 
> Wonder. It just opened using the Java that I had. Maybe I was just lucky.
> 
> I will pull in a little while.
> 
> Ted
> 
> 
>> On Oct 25, 2018, at 2:07 PM, Jesse Tayler  wrote:
>> 
>> Should we change that setting?
>> 
>> Ted? You used Ant to build the framework and then just right-click on 
>> application class to use Run As WoApplication, right?
>> 
>> Did you pull whatever is there today and all that?
>> 
>> 
>> 
>>> On Oct 24, 2018, at 8:31 PM, Theodore Petrosky  wrote:
>>> 
>>> when i opened your project, the java was listed as jdk_1.7  I did not have 
>>> that jdk so I had to link in what I have  jdk 1.8.0_144
>>> 
>>> 
 On Oct 24, 2018, at 7:59 PM, Jesse Tayler  wrote:
 
 I’m cc’ing Robert here who’s great with configuration, I run the app using 
 the right click wonder app options not the build file myself
 
 My build.xml for the app looks normal and ends with
 
 
 
 
 The build.xml for the frameworks looks normal and far more complex and 
 begins with
 
 
 
 
 I do see that perhaps because I have peculiar JAVA settings that there may 
 be JAVA issues, and come to think of it, criss-crossed JAVA versions can 
 cause normal classes like the Application class not to build…
 
 I bet you might see detail in your backtrace about classes loading. I’m 
 going to say this is something to do with your build-settings and 
 specifically the JAVA version numbers being used
 
 Seems to me the framework might be 1.7 and my app is perhaps 1.8 or SE7 
 and SE8
 
 I could have checked in a mismatch that perhaps needs adjusting? Robert? 
 
 
 
> On Oct 24, 2018, at 7:43 PM, Francois BIENTZ  wrote:
> 
> Yes I’m able to run other Wonder Apps
> 
> For the BootstrapModernLook Framework it works now (ant needs a Library 
> in folder in the Eclipse project )  I right clicked on build.xml  — 
> WOLips ant tools — install
> What did you put in this Library directory ? 
> 
> Then for the App I tried to use ant too (right click on build.xml), but I 
> obtain : Build failed : Error reading project file 
> /Users/franc/Build/build/build.xml: /Users/franc/Build/build/build.xml
> such directory don’t exist on my home. (but the build.xml of the App 
> don’t look like the xml file in other  Wonder Apps projects )
> 
> I have to search more what can be wrong on my environment 
> 
> Thank you Jesse 
> 
>> Le 24 oct. 2018 à 23:46, Jesse Tayler  a écrit :
>> 
>> I’m not certain why you’d get that —
>> 
>> Let’s see, sounds like perhaps it hasn’t got ERXApplication or there is 
>> some class path trouble.
>> 
>> I presume you are able to run other Wonder stuff ok?
>> 
>> I right-click on ant build.xml and select Run to install the framework
>> 
>> Then I do the same with the Application class of the app and either run 
>> or debug as WOApplication which sounds like what you are doing.
>> 
>> I just checked in whatever I might have to be sure I have left the build 
>> ok, it seems ok from here.
>> 
>> You might just pull and make clean / install or check that wonder paths 
>> are ok in build path?
>> 
>> I’m terrible with Eclipse!!
>> 
>> 
>> 
>> 
>>> On Oct 24, 2018, at 5:38 PM, Francois BIENTZ  
>>> wrote:
>>> 
 Most of the basics are now working, but this is still early 
 construction please let me know if you’re able to get things to build 
 and run…it’s really helpful to get reports at this juncture, so thanks!
>>> 
>>> I imported BootstrapModernLook and UltraModernMoviesDemo in Eclipse but 
>>> I get  : can’t find or load the main class 
>>> er.modern.movies.demo.Application  (Run As — WOApplication )
>>> is there another tool to use ?
>>> 
>>> 
>>> 
>>> Thank you
>> 
> 
 
 ___
 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 Subscript

Re: Migrations and Prototypes Question

2018-10-22 Thread Tim Worman
Thanks Samuel,

I don’t have a working wolips dev environment either. It may not be worth it to 
dig deeper. I’m still a little mystified though as to why none of the attribute 
metadata from the model is available to the sychronization frameworks. I’m sure 
there’s a great explanation but that seems like a huge gap.

T

> On Oct 21, 2018, at 12:05 PM, Samuel Pelletier  wrote:
> 
> Hi Tim,
> 
> I have the same problem with FrontBase and found where the code is but never 
> tried to fix it.
> 
> If I remember correctly, the code you are looking for is in the WOLips 
> eclipse plugin in the EOModeler module. I do not think it would be really 
> hard to fix but I do not have a working setup for WOLips development.
> 
> Samuel
> 
> 
>> Le 19 oct. 2018 à 16:08, Tim Worman  a écrit :
>> 
>> I’ve got a conundrum and I’m hoping someone can help with it.
>> 
>> My model has some date value attributes defined in an entity (not 
>> timestamp). In one case I’m using the ‘date’ prototype and in another I’m 
>> testing the ‘javaLocalDate’ prototype. When using these prototypes, all the 
>> value conversions, etc., in the model are correct. They work. But I’ve 
>> always been really flummoxed that migrations will never set the external 
>> fields as ‘date’ types in the target database.
>> 
>> So, I’ve been digging in to try and get to the bottom of it.
>> 
>> My databases (OpenBase and MySQL) both support ‘date’ types. In my Wonder 
>> version, OpenBase and MySQL plugins support the more modern 
>> EOSchemaSynchronizationFactory and in both cases the proper synchronization 
>> factory is initialized when needed.
>> 
>> I’m overriding createTableStatementsForEntityGroup(NSArray entities)…
>> 
>> Good, I have entities here...but when I log out the entities (and 
>> attributes), none of the metadata about the attributes’ prototypes, value 
>> conversions, etc., that appear in Entity Modeler are there - in other words 
>> I have no way to capture the data type and override the external type that 
>> is being sent to the database. When I log them out, all of the types are set 
>> to NSTimestamp.
>> 
>> Does anyone have any clues, tips, (or just hazard signs) that they can share 
>> for why I’m finding this impossible?
>> 
>> Tim
>> UCLA GSE&IS
>> ___
>> 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:
>> https://lists.apple.com/mailman/options/webobjects-dev/samuel%40samkar.com
>> 
>> This email sent to sam...@samkar.com
> 

 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Migrations and Prototypes Question

2018-10-19 Thread Tim Worman
I’ve got a conundrum and I’m hoping someone can help with it.

My model has some date value attributes defined in an entity (not timestamp). 
In one case I’m using the ‘date’ prototype and in another I’m testing the 
‘javaLocalDate’ prototype. When using these prototypes, all the value 
conversions, etc., in the model are correct. They work. But I’ve always been 
really flummoxed that migrations will never set the external fields as ‘date’ 
types in the target database.

So, I’ve been digging in to try and get to the bottom of it.

My databases (OpenBase and MySQL) both support ‘date’ types. In my Wonder 
version, OpenBase and MySQL plugins support the more modern 
EOSchemaSynchronizationFactory and in both cases the proper synchronization 
factory is initialized when needed.

I’m overriding createTableStatementsForEntityGroup(NSArray entities)…

Good, I have entities here...but when I log out the entities (and attributes), 
none of the metadata about the attributes’ prototypes, value conversions, etc., 
that appear in Entity Modeler are there - in other words I have no way to 
capture the data type and override the external type that is being sent to the 
database. When I log them out, all of the types are set to NSTimestamp.

Does anyone have any clues, tips, (or just hazard signs) that they can share 
for why I’m finding this impossible?

Tim
UCLA GSE&IS
 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: Interested in Modern UI Kits, like Bootstrap

2018-10-17 Thread Tim Worman
I was going to suggest the same. I forked that project and I’ve been testing it 
out some. I also added a date-time picker component.

Tim
UCLA GSE&IS 

> On Oct 17, 2018, at 12:08 AM, francois.bie...@orange.com wrote:
> 
> Can this work from Goetz Neumann be helpful ?
> 
> https://github.com/AppWonder/DDBootstrap3
> https://github.com/AppWonder/DDBootstrap3Demo
> 
> 
> 
> _
> 
> Ce message et ses pieces jointes peuvent contenir des informations 
> confidentielles ou privilegiees et ne doivent donc
> pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu 
> ce message par erreur, veuillez le signaler
> a l'expediteur et le detruire ainsi que les pieces jointes. Les messages 
> electroniques etant susceptibles d'alteration,
> Orange decline toute responsabilite si ce message a ete altere, deforme ou 
> falsifie. Merci.
> 
> This message and its attachments may contain confidential or privileged 
> information that may be protected by law;
> they should not be distributed, used or copied without authorisation.
> If you have received this email in error, please notify the sender and delete 
> this message and its attachments.
> As emails may be altered, Orange is not liable for messages that have been 
> modified, changed or falsified.
> Thank you.
> 
> ___
> 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:
> https://lists.apple.com/mailman/options/webobjects-dev/lists%40thetimmy.com
> 
> This email sent to li...@thetimmy.com

 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: JavaMonitor to start a blocking application?

2018-10-16 Thread Tim Worman
+1

I’ve been using Quartz for some time - outside of Wonder. So, I have yet to 
even check the Wonder integrations. I’ve had no problems using Quartz with 
WOMonitor though.

In my generalized Application class I have a method:

_checkQuartzJobStatusAndShutdown

which is called whenever Application.refuseNewSessions or Application.terminate 
are called. So, actions you take from WOMonitor can be integrated in to safely 
stop any current job triggers/schedules that might be running.

Tim
UCLA GSE&IS

> On Oct 9, 2018, at 7:26 AM, Klaus Berkling  wrote:
> 
> Yes. Wonder has Quartz.  Works nicely handling monthly billing and user 
> reminder emails.  
> 
> Sent from my phone. 
> 
>> On Oct 9, 2018, at 06:35, Paul Yu  wrote:
>> 
>> John
>> 
>> Have you looked are Quartz?  I don’t remember if Wonder has that framework 
>> or not.  
>> 
>> Paul
>> 
>>> On Oct 9, 2018, at 6:41 AM, John Pollard  wrote:
>>> 
>>> Hello WOers,
>>> I use JavaMonitor for a number of web apps just fine.
>>> I have another app that is a WO app but it isn’t an event driven web app; 
>>> when it runs is just gets on with a never ending task.
>>> Is there an easy way to use JavaMonitor to just start this when the machine 
>>> first boots up, but not try to check it is still alive (no heartbeats)?
>>> This would be a bit easier than using cron for me.
>>> I suppose ideally I would like the app to be responsive to JavaMonitor so 
>>> it can be shown to be alive / be killed & restarted, whilst also doing its 
>>> never ending task. Is it possible to do this with a background thread in my 
>>> ERXApplication class or will that now work nicely with EOF etc.
>>> Thanks
>>> John
>>> ___
>>> 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:
>>> https://lists.apple.com/mailman/options/webobjects-dev/pyu%40mac.com
>>> 
>>> This email sent to p...@mac.com
>> 
>> ___
>> 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:
>> https://lists.apple.com/mailman/options/webobjects-dev/webobjects%40berkling.us
>> 
>> This email sent to webobje...@berkling.us
> ___
> 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:
> https://lists.apple.com/mailman/options/webobjects-dev/lists%40thetimmy.com
> 
> This email sent to li...@thetimmy.com

 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: Interested in Modern UI Kits, like Bootstrap?

2018-10-16 Thread Tim Worman
If my memory serves me correctly: Movies.woa had an in-memory db option, right? 
Are you thinking it might be an option to resuscitate Movies.woa and add your 
samples there. Or maybe just replace it altogether with a modernized version 
that uses the movies data?

Tim

> On Oct 15, 2018, at 11:50 PM, Jesse Tayler  wrote:
> 
> 
> I’d like to add a simple test / demo app or at least a page to show things 
> working
> 
> I see Movies.woa is no longer working?
> 
> I figured there would be something with migrations that could just run and 
> load a basic model?
> 
> Anyone have suggestions how I should set that up?
> 
> 
> 
> 
> 
>> On Oct 15, 2018, at 10:26 PM, Tim Worman  wrote:
>> 
>> Yes, for sure.
>> 
>>> On Oct 15, 2018, at 1:41 PM, Theodore Petrosky  wrote:
>>> 
>>> Jesse,
>>> 
>>> of course!!!
>>> 
>>> 
>>> Ted
>>> 
>>> 
>>> 
>>>> On Oct 15, 2018, at 2:04 PM, Jesse Tayler  wrote:
>>>> 
>>>> Hi All
>>>> 
>>>> Anyone interested in modern UI kits like Bootstrap & Shards with WO?
>>>> 
>>>> Robert Hanna and I, have started a very simple framework migrating 
>>>> Bootstrap stuff out of an app. Stuff people might find really useful 
>>>> —Beautiful table-free list-views, fantastic looking forms with all modern 
>>>> input tagging, sliders and date pickers that all support modern inline 
>>>> icons (Material and FontAwesome) plus random things like alerts nav bars 
>>>> etc.
>>>> 
>>>> Read along down this page to see UI examples
>>>> 
>>>> https://designrevision.com/demo/shards/
>>>> 
>>>> One D2W rule sets up a "Card" with a dictionary that configures any of the 
>>>> many different options. Display a top or bottom image, have a button, make 
>>>> the button square, outlined or primary-btn styled etc. Add a footer, body, 
>>>> title… The rules include all the keys you'll find in Bootstrap/Shards css 
>>>> tags as part of a D2W configuration.
>>>> 
>>>> 
>>>> You can have crazy cool class tags: 
>>>> 
>>>>objectCardColumnClass = "col-sm-6 col-md col-lg-3 pb-4”. 
>>>> 
>>>> Which makes a dynamic grid that displays on tiny or giant screens.
>>>> 
>>>> https://designrevision.com/docs/shards/cards.html
>>>> 
>>>> This one rule here sets up a card and configures each option you see in 
>>>> the attached:
>>>> 
>>>> cardSectionsContents =  
>>>> {
>>>> "card-img-top" = "object.imageURL"; 
>>>> "card-link" = "object.publicURLString"; 
>>>> "card-text" = "object.title"; 
>>>> "card-title" = "object.venue.title"; 
>>>> "cardLInkTitle" = "Tell me more →"; 
>>>> "cardLinkClass" = "btn btn-primary";
>>>> }
>>>> 
>>>> 
>>>> ___
>>>> 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:
>>>> https://lists.apple.com/mailman/options/webobjects-dev/tedpet5%40yahoo.com
>>>> 
>>>> This email sent to tedp...@yahoo.com
>>> 
>>> ___
>>> 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:
>>> https://lists.apple.com/mailman/options/webobjects-dev/lists%40thetimmy.com
>>> 
>>> This email sent to li...@thetimmy.com
>> 
> 

 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: Interested in Modern UI Kits, like Bootstrap?

2018-10-15 Thread Tim Worman
Yes, for sure.

> On Oct 15, 2018, at 1:41 PM, Theodore Petrosky  wrote:
> 
> Jesse,
> 
> of course!!!
> 
> 
> Ted
> 
> 
> 
>> On Oct 15, 2018, at 2:04 PM, Jesse Tayler  wrote:
>> 
>> Hi All
>> 
>> Anyone interested in modern UI kits like Bootstrap & Shards with WO?
>> 
>> Robert Hanna and I, have started a very simple framework migrating Bootstrap 
>> stuff out of an app. Stuff people might find really useful —Beautiful 
>> table-free list-views, fantastic looking forms with all modern input 
>> tagging, sliders and date pickers that all support modern inline icons 
>> (Material and FontAwesome) plus random things like alerts nav bars etc.
>> 
>> Read along down this page to see UI examples
>> 
>> https://designrevision.com/demo/shards/
>> 
>> One D2W rule sets up a "Card" with a dictionary that configures any of the 
>> many different options. Display a top or bottom image, have a button, make 
>> the button square, outlined or primary-btn styled etc. Add a footer, body, 
>> title… The rules include all the keys you'll find in Bootstrap/Shards css 
>> tags as part of a D2W configuration.
>> 
>> 
>> You can have crazy cool class tags: 
>> 
>>  objectCardColumnClass = "col-sm-6 col-md col-lg-3 pb-4”. 
>> 
>> Which makes a dynamic grid that displays on tiny or giant screens.
>> 
>> https://designrevision.com/docs/shards/cards.html
>> 
>> This one rule here sets up a card and configures each option you see in the 
>> attached:
>> 
>> cardSectionsContents =  
>> {
>>   "card-img-top" = "object.imageURL"; 
>>   "card-link" = "object.publicURLString"; 
>>   "card-text" = "object.title"; 
>>   "card-title" = "object.venue.title"; 
>>   "cardLInkTitle" = "Tell me more →"; 
>>   "cardLinkClass" = "btn btn-primary";
>> }
>> 
>> 
>> ___
>> 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:
>> https://lists.apple.com/mailman/options/webobjects-dev/tedpet5%40yahoo.com
>> 
>> This email sent to tedp...@yahoo.com
> 
> ___
> 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:
> https://lists.apple.com/mailman/options/webobjects-dev/lists%40thetimmy.com
> 
> This email sent to li...@thetimmy.com

 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: Should ERXEC get sharedEC automagically?

2018-08-21 Thread Tim Worman
Hey OC,

All of the build products, including javadoc documentation can be found at 
https://jenkins.wocommunity.org. For Wonder 7 builds, you can find everything 
here:

https://jenkins.wocommunity.org/job/Wonder7/

And this is a good starting point for the GitHub repo for Wonder.

https://github.com/wocommunity/wonder/wiki

Tim
UCLA GSE&IS

> On Aug 21, 2018, at 12:12 PM, ocs@ocs  wrote:
> 
> Tim,
> 
> well where then can one find the right and up-to-date documentation?
> 
> I have tried
> 
> https://wiki.wocommunity.org/display/documentation/ERExtensions+Framework
> 
> and that one seems completely unuseable, though, of course, it might be just 
> my own fault.
> 
> Thanks,
> OC
> 
>> On 21 Aug 2018, at 8:36 PM, Tim Worman  wrote:
>> 
>> On Aug 21, 2018, at 11:21 AM, ocs@ocs  wrote:
>>> 
>>> Chuck,
>>> 
>>>> On 21 Aug 2018, at 7:50 PM, Chuck Hill  wrote:
>>>> 
>>>> See er.extensions.ERXEC.useSharedEditingContext at 
>>>> https://wiki.wocommunity.org/display/documentation/Explanation+of+the+default+properties+in+a+Wonder+project
>>> 
>>> Thanks a lot!
>>> 
>>> (Why on earth don't they mention this on the ERXEC documentation page? Oh, 
>>> never mind.)
>> 
>> Those javadocs at SourceForge say they are for “Project Wonder 2.0” and are 
>> pretty darned old. I’m not sure if it matters explicitly in this case but 
>> that is not where you’d want to turn for current javadocs.
>> 
>> Tim
>> UCLA GSE&IS
>> 
>>> 
>>>> Did that fix it?
>>> 
>>> Well, sort of.
>>> 
>>> It gets curiouser and curiouser — in other words, I must be doing something 
>>> far wrong.
>>> 
>>> When I set the “ERXEC.useSharedEditingContext” property to true, then
>>> 
>>> - the newly created ERXEC gets a shared editing context immediately upon 
>>> creation, not later upon receiving 
>>> DefaultSharedEditingContextWasInitializedNotification;
>>> - and it is a different shared EC instance, not 
>>> EOSharedEditingContext.defaultSharedEditingContext()
>>> - but it is EOSharedEditingContext.defaultSharedEditingContext() who reads 
>>> in automatically all the shared EOs
>>> - and therefore, when fetching EOs through the ERXEC, I am still getting 
>>> non-shared ones in the ERXEC (for its own sharedEC is empty, and thus 
>>> EOSharedEditingContext.defaultSharedEditingContext is ignored).
>>> 
>>> Can you make any sense of that?
>>> 
>>> Thanks again a very big lot,
>>> OC
>>> 
>>> 
>>> 
>>>> On 2018-08-21, 9:43 AM, "Webobjects-dev on behalf of ocs@ocs" 
>>>> >>> o...@ocs.cz> wrote:
>>>> 
>>>>  Hi there,
>>>> 
>>>>  the EOEditing context doc pretty unequivocally says
>>>> 
>>>>  ===
>>>>  By default, an editing context that has no shared editing context listens 
>>>> for DefaultSharedEditingContextWasInitializedNotifications. If a 
>>>> notification is posted while the context has no registered objects, the 
>>>> editing context sets its shared editing context to the newly initialized 
>>>> default shared editing context.
>>>>  ===
>>>> 
>>>>  Should it apply for an ERXEC, too? I sort of inferred it would, but by my 
>>>> testing, it does not seem so: an ERXEC I make (through 
>>>> ERXEC.newEditingContext()) seems to adamantly stay without 
>>>> sharedEditingContext, although the notification is posted all right (I 
>>>> have observed it myself to be sure), and if there's a good ole 
>>>> EOEditingContext, it indeed duly sets its sharedEC at the time.
>>>> 
>>>>  Have I missed something of importance somewhere? The ERXEC documentation 
>>>> does not say essentially anything of the sharedEC, far as I can say:
>>>> 
>>>>  http://wonder.sourceforge.net/javadoc/er/extensions/ERXEC.html
>>>> 
>>>>  In principle, I could work around the problem by setting the sharedEC to 
>>>> all my ERXECs programmatically -- that works all right --, but it would be 
>>>> a lot of work, with a danger I overlook something somewhere and got bit in 
>>>> the tender parts by that...
>>>> 
>>>>  Thanks,
>>>>  OC
>>>> 
>>>>   ___
>>>>  Do not post admin requests to the list

Re: Should ERXEC get sharedEC automagically?

2018-08-21 Thread Tim Worman
On Aug 21, 2018, at 11:21 AM, ocs@ocs  wrote:
> 
> Chuck,
> 
>> On 21 Aug 2018, at 7:50 PM, Chuck Hill  wrote:
>> 
>> See er.extensions.ERXEC.useSharedEditingContext at 
>> https://wiki.wocommunity.org/display/documentation/Explanation+of+the+default+properties+in+a+Wonder+project
> 
> Thanks a lot!
> 
> (Why on earth don't they mention this on the ERXEC documentation page? Oh, 
> never mind.)

Those javadocs at SourceForge say they are for “Project Wonder 2.0” and are 
pretty darned old. I’m not sure if it matters explicitly in this case but that 
is not where you’d want to turn for current javadocs.

Tim
UCLA GSE&IS

> 
>> Did that fix it?
> 
> Well, sort of.
> 
> It gets curiouser and curiouser — in other words, I must be doing something 
> far wrong.
> 
> When I set the “ERXEC.useSharedEditingContext” property to true, then
> 
> - the newly created ERXEC gets a shared editing context immediately upon 
> creation, not later upon receiving 
> DefaultSharedEditingContextWasInitializedNotification;
> - and it is a different shared EC instance, not 
> EOSharedEditingContext.defaultSharedEditingContext()
> - but it is EOSharedEditingContext.defaultSharedEditingContext() who reads in 
> automatically all the shared EOs
> - and therefore, when fetching EOs through the ERXEC, I am still getting 
> non-shared ones in the ERXEC (for its own sharedEC is empty, and thus 
> EOSharedEditingContext.defaultSharedEditingContext is ignored).
> 
> Can you make any sense of that?
> 
> Thanks again a very big lot,
> OC
> 
> 
> 
>> On 2018-08-21, 9:43 AM, "Webobjects-dev on behalf of ocs@ocs" 
>> > o...@ocs.cz> wrote:
>> 
>>Hi there,
>> 
>>the EOEditing context doc pretty unequivocally says
>> 
>>===
>>By default, an editing context that has no shared editing context listens 
>> for DefaultSharedEditingContextWasInitializedNotifications. If a 
>> notification is posted while the context has no registered objects, the 
>> editing context sets its shared editing context to the newly initialized 
>> default shared editing context.
>>===
>> 
>>Should it apply for an ERXEC, too? I sort of inferred it would, but by my 
>> testing, it does not seem so: an ERXEC I make (through 
>> ERXEC.newEditingContext()) seems to adamantly stay without 
>> sharedEditingContext, although the notification is posted all right (I have 
>> observed it myself to be sure), and if there's a good ole EOEditingContext, 
>> it indeed duly sets its sharedEC at the time.
>> 
>>Have I missed something of importance somewhere? The ERXEC documentation 
>> does not say essentially anything of the sharedEC, far as I can say:
>> 
>>http://wonder.sourceforge.net/javadoc/er/extensions/ERXEC.html
>> 
>>In principle, I could work around the problem by setting the sharedEC to 
>> all my ERXECs programmatically -- that works all right --, but it would be a 
>> lot of work, with a danger I overlook something somewhere and got bit in the 
>> tender parts by that...
>> 
>>Thanks,
>>OC
>> 
>> ___
>>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:
>>
>> https://lists.apple.com/mailman/options/webobjects-dev/chill%40gevityinc.com
>> 
>>This email sent to ch...@gevityinc.com
>> 
>> 
> 
> ___
> 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:
> https://lists.apple.com/mailman/options/webobjects-dev/lists%40thetimmy.com
> 
> This email sent to li...@thetimmy.com

 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: Ajax within an repetition

2018-04-26 Thread Tim Worman
Hi Kenan:

There is a pattern that’s in the Ajax Examples (and some Ajax components in 
Wonder) that is quite good to follow as well.

public String id() {
String id = _id;
if (id == null) {
id = ERXWOContext.safeIdentifierName(context(), true);
_id = id;
}
return id;
}

public String rowUpdateContainer() {
return "rowUpdateContainer_" + id();
}

public String rowDeleteButton() {
return “deletButton" + id();
}

If its a  and it isn’t too large and unwieldy, I have safely had my  
(or other container) elements be AUC’s. Otherwise, I usually retreat to having 
a single surrounding AUC. As you found, it is definitely really important with 
repetitions that all elements in the repetition - buttons, links, text, AUC, 
etc., have their own unique id’s.

Tim
UCLA GSE&IS

> On Apr 26, 2018, at 6:59 AM, Steve Peery  wrote:
> 
> That is a good way to do it. I was just about to respond to your request. 
> Glad you found it on your own.
> 
> Steve
> 
>> On Apr 26, 2018, at 9:54 AM, Kenan Esau  
>> wrote:
>> 
>> OK - I found a solution. 
>> I used the index of the Repetition to build an Id for each AOF and each AUC. 
>> Now everything works fine.
>> 
>> Regards
>> 
>> Kenan
>> 
>>> Am 26.04.2018 um 13:21 schrieb Kenan Esau 
>>> :
>>> 
>>> Hi,
>>> 
>>> I am new to Webobjects. That’s why I asked for an example. 
>>> I have searched the web and didn’t find anything yet. (Only that having 
>>> AUCs or AOFs in a repetition can cause chaos ;-)
>>> 
>>> I am pretty shure that the IDs are the problem — several AUCs and all have 
>>> the same ID, this cannot work!
>>> So is there a good way to e.g. get the position within the repetition and 
>>> use that for creating the IDs of the AUC?
>>> 
>>> Regards
>>> 
>>> Kenan
>>> 
>>> 
 Am 26.04.2018 um 12:34 schrieb René Bock :
 
 An extra  AUC for every repetition item?  Did assign unique Ids?
 
 
> Am 26.04.2018 um 11:56 schrieb Kenan Esau 
> :
> 
> Hi there,
> 
> Is there a way to make Ajax work within a repetition?
> 
> If my AjaxUpdateContainer is in a WORepetition only the first element of 
> the repetition works as expected. I tried to put everything within the 
> Repetition in its own Component but that did not change anything!?
> Is there an example for that use-case?
> 
> Regards 
> 
>   Kenan
> ___
> 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:
> https://lists.apple.com/mailman/options/webobjects-dev/bock%40salient-doremus.de
> 
> This email sent to b...@salient-doremus.de
 
 Mit freundlichen Grüßen 
 
 René Bock
 
 --
 Telefon: +49 69 650096 18
 
 salient GmbH, Lindleystraße 12, 60314 Frankfurt
 Telefon Zentrale: 069 / 65 00 96 - 0  |  www.salient-doremus.de
 
>>> 
>>> ___
>>> 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:
>>> https://lists.apple.com/mailman/options/webobjects-dev/kenan.esau%40privatesecuredata.com
>>> 
>>> This email sent to kenan.e...@privatesecuredata.com
>> 
>> ___
>> 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:
>> https://lists.apple.com/mailman/options/webobjects-dev/speery%40me.com
>> 
>> This email sent to spe...@me.com
> 
> ___
> 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:
> https://lists.apple.com/mailman/options/webobjects-dev/lists%40thetimmy.com
> 
> This email sent to li...@thetimmy.com

 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: Application no longer responding after OSX and Server update

2018-03-07 Thread Tim Worman
Save your future self some hassle. Do a non-apple install of apache using 
homebrew, get it set up, and leave it. Your OS updates won’t impact it.


> On Mar 7, 2018, at 9:52 AM, Jeff Schmitz  wrote:
> 
> Figured it out.  I had the write apache config files, but the wrong apache.  
> I was running the MacOS built in one instead of the one I installed from 
> MacPorts.
> 
> 
> 
>> On Mar 7, 2018, at 6:18 AM, Jeff Schmitz  wrote:
>> 
>> I’m having the same "The requested URL /cgi-bin/WebObjects/… was not found 
>> on this server"  error on a new server I’m setting up.  I brought the config 
>> files over from a working machine, changed all the “host” parameters to the 
>> new machine name, and brought over the same apache4.2 mod_WebObjects.so from 
>> the working machine. 
>> 
>> I’m running:
>> Server version: Apache/2.4.28 (Unix)
>> Server built:   Oct 29 2017 19:28:54
>> 
>>  womonitor starts the app fine, no errors.
>> 
>> Anything else to check?
>> 
>>> On Jun 26, 2017, at 2:20 PM, Louis Demers  wrote:
>>> 
>>> Yes, it actually mucked with 
>>> /Library/Server/Web/Config/apache2/httpd_server_app.conf and removed
>>> 
>>> the two lines i had added ...
>>> 
>>> # Including WebObjects Configs
>>> Include 
>>> /Library/WebObjects/Versions/WebObjects543/System/Library/WebObjects/Adaptors/Apache2.4/apache.conf
>>> 
>>> 
>>> I'm back up...
>>> 
>>> Thanks...
>>> 
>>> Louis Demers Eng.
>>> louisdem...@mac.com
>>> 
>>> 
>>> 
 On Jun 26, 2017, at 14:22, Chuck Hill  wrote:
 
 Hi Louis,
  
 You should always make a back up of httpd.conf when doing this.  Apple 
 loves to fiddle.
  
 Not Found
 The requested URL /cgi-bin/WebObjects/Alexandria was not found on this 
 server.
  
 Means that it is not seeing cgi-bin as a script directory.  Check these 
 sections of the Apache config:
  
 #  

  
 # ScriptAlias: This controls which directories contain server scripts. 

  
 # ScriptAliases are essentially the same as Aliases, except that   

  
 # documents in the target directory are treated as applications and

  
 # run by the server when requested rather than as documents sent to 
 the
 
 # client.  The same rules about trailing "/" apply to ScriptAlias  

  
 # directives as to Alias.  

  
 #  

  
 ScriptAliasMatch ^/cgi-bin/((?!(?i:webobjects)).*$) 
 "/Library/WebServer/CGI-Executables/$1"
  
 #  

  
 # "/Library/WebServer/CGI-Executables" should be changed to whatever your 
 ScriptAliased  
   
 # CGI directory exists, if you have that configured.   

  
 #  

  
 
 AllowOverride None
 Options None
 Require all granted
 
  
  
 Chuck
  
 From: Webobjects-dev 
  on behalf of 
 Louis Demers 
 Date: Monday, June 26, 2017 at 11:15 AM
 To: "webobjects-dev@lists.apple.com" 
 Subject: Application no longer responding after OSX and Server update
  
 Hi,
 
 applied to our OSX server this morning the latest os and server versions. 
 Now ou app is no longer responding 
 
 wotasd is running without error
 
 Javamonitor is running without error
 
 application is running whether started from Javamonitor or manually
 
 accessing the application  with 
 http://alexandria.obzerv.com/cgi-bin/WebObjects/Alexandria yields 
 
 Not Found
 The requested URL /cgi-bin/WebObjects/Alexandria was not found on this 
 server.
 
>>

Re: Single Sign-On

2018-02-26 Thread Tim Worman
I’ve also deployed with shibboleth SSO at UCLA. By far, the harder part was 
configuring shibboleth.

Tim
UCLA GSE&IS 

> On Feb 23, 2018, at 11:25 AM, Chuck Hill  wrote:
> 
> And I've integrated these and it was pretty straightforward:
> http://weblogin.org
> https://www.shibboleth.net
> 
> Chuck
> 
> On 2018-02-23, 11:22 AM, "Webobjects-dev on behalf of Steve Peery" 
>  spe...@me.com> wrote:
> 
>I’m not sure what you have in mind, but the ERGoogleSignIn framework makes 
> it very easy to log into a WO site using a google account.
> 
>Steve
> 
> 
>> On Feb 23, 2018, at 2:10 PM, Robert Hanviriyapunt  wrote:
>> 
>> Any useful resources in integrating with SSO services in WebO?
>> 
>> = Robert =
>> ___
>> 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:
>> https://lists.apple.com/mailman/options/webobjects-dev/speery%40me.com
>> 
>> This email sent to spe...@me.com
> 
> ___
>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:
>
> https://lists.apple.com/mailman/options/webobjects-dev/chill%40gevityinc.com
> 
>This email sent to ch...@gevityinc.com
> 
> 
> ___
> 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:
> https://lists.apple.com/mailman/options/webobjects-dev/lists%40thetimmy.com
> 
> This email sent to li...@thetimmy.com

 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: New dev setup

2017-12-29 Thread Tim Worman
I also use direct connect in development with no issues.

Tim
UCLA GSE&IS

> On Dec 29, 2017, at 3:32 PM, Hugi Thordarson  wrote:
> 
> Well… 15 years of only Direct Connect up here without any problems. I'm 
> probably pretty much made of lightning by now :).
> 
> 
>> On 29 Dec 2017, at 20:23, Ken Anderson  wrote:
>> 
>> I thought if you said the words “Direct” and “Connect” in the same sentence 
>> you’d get struck by lightning!
>> 
>>> On Dec 29, 2017, at 3:17 PM, Hugi Thordarson  wrote:
>>> 
>>> I don't install WO on my dev machines anymore, I just install WOLips in 
>>> Eclipse and allow Maven to build and manage my WO frameworks. Of course, 
>>> this setup assumes you'd like to use maven and can use direct connect for 
>>> development, rather than relying on Apache and/or JavaMonitor. But it 
>>> simplified my life a lot.
>>> 
>>> - hugi
>>> 
>>> 
>>> 
 On 29 Dec 2017, at 19:02, Ken Anderson  wrote:
 
 OK guys - please forgive me.  I’m trying to setup a completely new machine 
 without relying on the ancient ways of doing things.
 
 I’ve downloaded WOnder and built it.  Why does it install in a directory 
 called “Roots” ?
 
 I want to setup to use Apache, wotaskd, and monitor on my High Sierra 
 machine.  When I build the deployment.tools target, I get wotaskd.woa in 
 the Roots directory, but when I try to run it, it can’t find 
 
 er/extensions/appserver/ERXApplication
 
 I’d also like it to run automatically on startup - not sure the best way 
 to do that now.
 
 I’ve combed through the wiki, but this is far as I’ve gotten.
 
 Thanks for any thoughts!!
 
 Ken
 ___
 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:
 https://lists.apple.com/mailman/options/webobjects-dev/hugi%40karlmenn.is
 
 This email sent to h...@karlmenn.is
>> 
> 
> ___
> 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:
> https://lists.apple.com/mailman/options/webobjects-dev/lists%40thetimmy.com
> 
> This email sent to li...@thetimmy.com

 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: Active Directory, JNDI, EOModel

2017-07-25 Thread Tim Worman
Thanks (as always) Chuck!

I tested out the URL approach and it works. I’m also connecting to port 3268 
instead of 389 per this:

https://stackoverflow.com/questions/16412236/how-to-resolve-javax-naming-partialresultexception.

That’s solved everything for now and it looks like including the search base in 
the URL is a somewhat standard way to go. I’m still gonna investigate some more 
code-centric ways of handling it - seems less brittle.

JNDIAdaptor does not expose the search base attribute. It does expose the 
connection dictionary - so I’m guessing you could read it and add a key/value 
pair for the search base, which I think would update the wrapped DirContext.

Tim


> On Jul 24, 2017, at 11:56 AM, Chuck Hill  wrote:
> 
> Hi Tim,
>  
> Take a look at the JNDIAdaptor class.  There are connection dictionary 
> parameters in there, one of those might be what you want.  Or can you specify 
> that on the connection URL?
>  
> Chuck
>  
>  
> From: Tim Worman 
> Date: Monday, July 24, 2017 at 11:43 AM
> To: Chuck Hill 
> Cc: WebObjects Development 
> Subject: Re: Active Directory, JNDI, EOModel
>  
> Using Wireshark, below is what I’m seeing for the two queries. The biggest 
> difference right off the bat is that the WO/EOModel search seems to search 
> ROOT as the base DN whereas the Apache DirectoryStudio is using 
> “DC=adinstance,DC=ucla,DC=edu” as the base. The WO/EOModel search also 
> appears to have additional objectClass ‘AND’ filters.
>  
> Looks like my first guess was somewhat likely - I need to find a way to get a 
> handle on the query and feed a base DN to my fetch in WO.
>  
> It looks like this might be a way to set that:
> JNDIPlugin - base
>  
> But I’m wondering if there is a way to set it once at the launch of an app 
> and not have to set it again.
>  
> 
>  
> From WebObjects:
> Lightweight Directory Access Protocol
> LDAPMessage searchRequest(2) "" wholeSubtree
> messageID: 2
> protocolOp: searchRequest (3)
> searchRequest
> baseObject: 
> scope: wholeSubtree (2)
> derefAliases: derefAlways (3)
> sizeLimit: 0
> timeLimit: 3601
> typesOnly: False
> Filter: (objectClass=user)
> filter: and (0)
> and: (objectClass=user)
> and: 1 item
> Filter: (objectClass=user)
> attributes: 0 items
> [Response In: 8]
> controls: 1 item
> Control
> controlType: 2.16.840.1.113730.3.4.2 (Manage DSA IT LDAPv3 
> control)
>  
> From Apache Directory Studio:
> Lightweight Directory Access Protocol
> LDAPMessage searchRequest(14) “DC=adinstance,DC=ucla,DC=edu" wholeSubtree
> messageID: 14
> protocolOp: searchRequest (3)
> searchRequest
> baseObject: DC=adinstance,DC=ucla,DC=edu
> scope: wholeSubtree (2)
> derefAliases: derefAlways (3)
> sizeLimit: 1000
> timeLimit: 0
> typesOnly: False
> Filter: (objectClass=user)
> filter: equalityMatch (3)
> equalityMatch
> attributeDesc: objectClass
> assertionValue: user
> attributes: 2 items
> AttributeDescription: cn
> AttributeDescription: objectClass
> [Response In: 2]
>  
> 
> 
> On Jul 21, 2017, at 12:58 PM, Chuck Hill  wrote:
> 
> Try going through a proxy like Charles.  Comparing what is sent from WO and 
> from Directory Studio might highlight what is wrong.  I am sure that I did 
> this many years ago, but the details escape me.  Microsoft’s standard is just 
> a little…different.
> 
> Chuck
> 
> On 2017-07-21, 12:56 PM, "Webobjects-dev on behalf of Tim Worman" 
>  li...@thetimmy.com> wrote:
> 
>Yeah, I’m not using the model for authentication to AD, I’m intending to 
> use simply to return EO's from AD. I’m encountering the error below when I 
> simply try:
> 
>ADUser.fetchAllADUsers(pageEditingContext());
> 
>The WARN log seems to indicate that I can’t search objectClass “user.” But 
> it is modeled and was reverse engineered. I’m unsure why that would be 
> considering I haven’t had that issue before with other ldap services.
> 
>Tim
> 
> 
> On Jul 21, 2017, at 12:50 PM, Theodore Petrosky  wrote:
> 
> did you see this:
> 
> http

Re: Active Directory, JNDI, EOModel

2017-07-24 Thread Tim Worman
Using Wireshark, below is what I’m seeing for the two queries. The biggest 
difference right off the bat is that the WO/EOModel search seems to search ROOT 
as the base DN whereas the Apache DirectoryStudio is using 
“DC=adinstance,DC=ucla,DC=edu” as the base. The WO/EOModel search also appears 
to have additional objectClass ‘AND’ filters.

Looks like my first guess was somewhat likely - I need to find a way to get a 
handle on the query and feed a base DN to my fetch in WO.

It looks like this might be a way to set that:
JNDIPlugin - base 
<http://wocommunity.org/documents/javadoc/WebObjects/5.4.2/com/webobjects/jndiadaptor/JNDIPlugIn.html#base(com.webobjects.eocontrol.EOFetchSpecification,%20com.webobjects.eoaccess.EOEntity)>

But I’m wondering if there is a way to set it once at the launch of an app and 
not have to set it again.



From WebObjects:
Lightweight Directory Access Protocol
LDAPMessage searchRequest(2) "" wholeSubtree
messageID: 2
protocolOp: searchRequest (3)
searchRequest
baseObject: 
scope: wholeSubtree (2)
derefAliases: derefAlways (3)
sizeLimit: 0
timeLimit: 3601
typesOnly: False
Filter: (objectClass=user)
filter: and (0)
and: (objectClass=user)
and: 1 item
Filter: (objectClass=user)
attributes: 0 items
[Response In: 8]
controls: 1 item
Control
controlType: 2.16.840.1.113730.3.4.2 (Manage DSA IT LDAPv3 
control)

From Apache Directory Studio:
Lightweight Directory Access Protocol
LDAPMessage searchRequest(14) “DC=adinstance,DC=ucla,DC=edu" wholeSubtree
messageID: 14
protocolOp: searchRequest (3)
searchRequest
baseObject: DC=adinstance,DC=ucla,DC=edu
scope: wholeSubtree (2)
derefAliases: derefAlways (3)
sizeLimit: 1000
timeLimit: 0
typesOnly: False
Filter: (objectClass=user)
filter: equalityMatch (3)
equalityMatch
attributeDesc: objectClass
assertionValue: user
attributes: 2 items
AttributeDescription: cn
AttributeDescription: objectClass
[Response In: 2]


> On Jul 21, 2017, at 12:58 PM, Chuck Hill  wrote:
> 
> Try going through a proxy like Charles.  Comparing what is sent from WO and 
> from Directory Studio might highlight what is wrong.  I am sure that I did 
> this many years ago, but the details escape me.  Microsoft’s standard is just 
> a little…different.
> 
> Chuck
> 
> On 2017-07-21, 12:56 PM, "Webobjects-dev on behalf of Tim Worman" 
>  li...@thetimmy.com> wrote:
> 
>Yeah, I’m not using the model for authentication to AD, I’m intending to 
> use simply to return EO's from AD. I’m encountering the error below when I 
> simply try:
> 
>ADUser.fetchAllADUsers(pageEditingContext());
> 
>The WARN log seems to indicate that I can’t search objectClass “user.” But 
> it is modeled and was reverse engineered. I’m unsure why that would be 
> considering I haven’t had that issue before with other ldap services.
> 
>Tim
> 
>> On Jul 21, 2017, at 12:50 PM, Theodore Petrosky  wrote:
>> 
>> did you see this:
>> 
>> https://www.slideshare.net/wocommunity/third-party-auth-in-webobjects
>> 
>> I was looking to see if there was a video to go along with the slides but 
>> didn’t find one.
>> 
>> 
>>> On Jul 21, 2017, at 3:10 PM, Tim Worman  wrote:
>>> 
>>> Has anyone used the JNDI plugin to model Active Directory? I’ve used it 
>>> with a lot of success with other ldap directories but I’m running into a 
>>> problem with a pretty simple model (which I’m sure has to do with AD’s 
>>> implementation).
>>> 
>>> I reverse engineered our AD (Server 2016) instance with no problem - and 
>>> only included Person and User in my model. However, when I try to do a 
>>> simple fetch of all User (or Person) I get sth like:
>>> 
>>> Jul 21 11:11:23 GSEISNetTestApplication[54777] DEBUG NSLog  - Waiting for 
>>> requests...
>>> Jul 21 11:11:24 GSEISNetTestApplication[54777] WARN  
>>> er.extensions.eof.ERXModelGroup  - Clearing previous class descriptions
>>> Jul 21 11:11:24 GSEISNetTestApplication[54777] DEBUG NSLog  - Context 
>>> factory cache is already clear
>>> Jul 21 11:11:24 GSEISNetTestApplication[54777]

Re: Active Directory, JNDI, EOModel

2017-07-21 Thread Tim Worman
Yeah, I’m not using the model for authentication to AD, I’m intending to use 
simply to return EO's from AD. I’m encountering the error below when I simply 
try:

ADUser.fetchAllADUsers(pageEditingContext());

The WARN log seems to indicate that I can’t search objectClass “user.” But it 
is modeled and was reverse engineered. I’m unsure why that would be considering 
I haven’t had that issue before with other ldap services.

Tim

> On Jul 21, 2017, at 12:50 PM, Theodore Petrosky  wrote:
> 
> did you see this:
> 
> https://www.slideshare.net/wocommunity/third-party-auth-in-webobjects
> 
> I was looking to see if there was a video to go along with the slides but 
> didn’t find one.
> 
> 
>> On Jul 21, 2017, at 3:10 PM, Tim Worman  wrote:
>> 
>> Has anyone used the JNDI plugin to model Active Directory? I’ve used it with 
>> a lot of success with other ldap directories but I’m running into a problem 
>> with a pretty simple model (which I’m sure has to do with AD’s 
>> implementation).
>> 
>> I reverse engineered our AD (Server 2016) instance with no problem - and 
>> only included Person and User in my model. However, when I try to do a 
>> simple fetch of all User (or Person) I get sth like:
>> 
>> Jul 21 11:11:23 GSEISNetTestApplication[54777] DEBUG NSLog  - Waiting for 
>> requests...
>> Jul 21 11:11:24 GSEISNetTestApplication[54777] WARN  
>> er.extensions.eof.ERXModelGroup  - Clearing previous class descriptions
>> Jul 21 11:11:24 GSEISNetTestApplication[54777] DEBUG NSLog  - Context 
>> factory cache is already clear
>> Jul 21 11:11:24 GSEISNetTestApplication[54777] DEBUG NSLog  - Connecting: 
>> {plugInClassName = "com.webobjects.jndiadaptor.LDAPPlugIn"; timeout = 
>> "3600"; scope = "Subtree"; username = "CN="Application Server",OU="Service 
>> Accounts",OU=ETU,DC=gseisnet,DC=ucla,DC=edu"; authenticationMethod = 
>> "Simple"; password = ""; serverUrl = 
>> "ldap://gseisnet.ucla.edu:389";; initialContextFactory = 
>> "com.sun.jndi.ldap.LdapCtxFactory"; }
>> Jul 21 11:11:24 GSEISNetTestApplication[54777] DEBUG NSLog  - Creating 
>> plug-in com.webobjects.jndiadaptor.LDAPPlugIn for JNDIAdaptor@1084219182
>> Jul 21 11:11:24 GSEISNetTestApplication[54777] WARN  NSLog  - Cannot search 
>> (&(objectClass=user))
>> [2017-7-21 11:11:24 PDT]  javax.naming.NameNotFoundException: 
>> [LDAP: error code 32 - 208D: NameErr: DSID-0310021B, problem 2001 
>> (NO_OBJECT), data 0, best match of:
>>  ''
>> ]; remaining name ''
>> 
>> When I use Directory Studio to perform what appears to be the same search, 
>> filtering on objectClass user, I get the results I would expect. I’m using 
>> the same bind credentials in both as well. One guess I have is the search 
>> base, which I have set to the base DN in Directory Studio. Is there a way to 
>> get a handle on the JNDI adaptor and set the search base globally in case it 
>> isn’t right?
>> 
>> Any other ideas? I know I’m probably off the reservation here.
>> 
>> Tim
>> UCLA GSE&IS
>> ___
>> 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:
>> https://lists.apple.com/mailman/options/webobjects-dev/tedpet5%40yahoo.com
>> 
>> This email sent to tedp...@yahoo.com
> 

 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Active Directory, JNDI, EOModel

2017-07-21 Thread Tim Worman
Has anyone used the JNDI plugin to model Active Directory? I’ve used it with a 
lot of success with other ldap directories but I’m running into a problem with 
a pretty simple model (which I’m sure has to do with AD’s implementation).

I reverse engineered our AD (Server 2016) instance with no problem - and only 
included Person and User in my model. However, when I try to do a simple fetch 
of all User (or Person) I get sth like:

Jul 21 11:11:23 GSEISNetTestApplication[54777] DEBUG NSLog  - Waiting for 
requests...
Jul 21 11:11:24 GSEISNetTestApplication[54777] WARN  
er.extensions.eof.ERXModelGroup  - Clearing previous class descriptions
Jul 21 11:11:24 GSEISNetTestApplication[54777] DEBUG NSLog  - Context factory 
cache is already clear
Jul 21 11:11:24 GSEISNetTestApplication[54777] DEBUG NSLog  - Connecting: 
{plugInClassName = "com.webobjects.jndiadaptor.LDAPPlugIn"; timeout = "3600"; 
scope = "Subtree"; username = "CN="Application Server",OU="Service 
Accounts",OU=ETU,DC=gseisnet,DC=ucla,DC=edu"; authenticationMethod = "Simple"; 
password = ""; serverUrl = "ldap://gseisnet.ucla.edu:389";; 
initialContextFactory = "com.sun.jndi.ldap.LdapCtxFactory"; }
Jul 21 11:11:24 GSEISNetTestApplication[54777] DEBUG NSLog  - Creating plug-in 
com.webobjects.jndiadaptor.LDAPPlugIn for JNDIAdaptor@1084219182
Jul 21 11:11:24 GSEISNetTestApplication[54777] WARN  NSLog  - Cannot search 
(&(objectClass=user))
[2017-7-21 11:11:24 PDT]  javax.naming.NameNotFoundException: 
[LDAP: error code 32 - 208D: NameErr: DSID-0310021B, problem 2001 
(NO_OBJECT), data 0, best match of:
''
]; remaining name ''

When I use Directory Studio to perform what appears to be the same search, 
filtering on objectClass user, I get the results I would expect. I’m using the 
same bind credentials in both as well. One guess I have is the search base, 
which I have set to the base DN in Directory Studio. Is there a way to get a 
handle on the JNDI adaptor and set the search base globally in case it isn’t 
right?

Any other ideas? I know I’m probably off the reservation here.

Tim
UCLA GSE&IS ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: New potential project to convert ASP web app

2017-06-22 Thread Tim Worman
Hello!

Just answering the initial question re: a place where we can register. I 
believe there is a WO LinkedIn group? I’m pretty sure it is part of my network. 
Maybe that would be a way to demonstrate an able community.

David’s points are valid as well.

Tim
UCLA GSE&IS

> On Jun 22, 2017, at 3:45 PM, David Black  wrote:
> 
> I was a WO Sr. Consulting Engineer with Apple until 2005 and miss working in 
> WO a lot! I just set up a dev environment to work on a new personal project 
> to get my head back into it. As someone whose had to manage the development 
> of new products, it's probably a mistake business-wise to choose such a 
> deprecated platform with such a small knowledge-base. Even getting the 
> environment spun up with WOLips and WOnder has required deciphering outdated 
> resources. As WO was already a hard platform to learn (conceptually), it's 
> difficulty is now compounded by tools that aren't as slick as a 
> ProjectBuilder/EOModeler/WOBuilder. So while there's a still a small 
> community of people who could support a WO app, the availability of an 
> engineer(s) might be challenging, and trying to train new support engineers 
> would be painful. This is why the businesses with whom I've been working have 
> chosen popular (or more simple script-based) backends like RoR, PHP, Python, 
> or more mainstream Java frameworks. Trust me...I'd LOVE to have a few 
> companies use WO, and if this was a merit-based competition, WO would be a 
> great choice. Your point about getting hit by a bus is valid. A bus could mow 
> down the entire PHP staff at a company and they'd be back in business the 
> next day.
> 
> 
> 
> 
>> On Jun 22, 2017, at 10:25 AM, Robert Hanviriyapunt  
>> wrote:
>> 
>> Hi everyone,
>> 
>> I am a total WebObjects fan (a serious fanatic)!  And I have the chance to 
>> suggest to a new potential client to have me rework the entire A$P/M$$QL 
>> system in WebObjects.  My worries are that should I get run over by a bus, 
>> whom may I get him in contact with to take over and/or support the system.  
>> Anybody still out there?  I'm building  list to give him confidence there 
>> will be available support.  Is there a nice place all us WebO developers can 
>> register?
>> 
>> = Robert =
>> ___
>> 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:
>> https://lists.apple.com/mailman/options/webobjects-dev/dblack%40db3.net
>> 
>> This email sent to dbl...@db3.net
> 
> ___
> 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:
> https://lists.apple.com/mailman/options/webobjects-dev/lists%40thetimmy.com
> 
> This email sent to li...@thetimmy.com

 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: Improved exception page

2017-05-19 Thread Tim Worman
Nice! Thanks Hugi!

Tim

> On May 17, 2017, at 11:18 AM, Hugi Thordarson  wrote:
> 
> Hi all,
> a couple of months back I added a new exception page to Wonder. If you’d like 
> to try it out and are using a relatively current version of Wonder, just add…
> 
> @Override
> public WOResponse reportException( Throwable exception, WOContext context, 
> NSDictionary extraInfo ) {
>   return ERXExceptionPage.reportException( exception, context, extraInfo 
> );
> }
> 
> …to your Application class and you should get nice looking exception pages 
> like this one: https://www.dropbox.com/s/mo22t9dgkym0ceb/wo.png. It’s been my 
> default for a couple of years and I’ve found it quite beneficial since it 
> immediately highlights the code to blame during development. Suggestions for 
> improvement are very welcome.
> 
> - hugi
> ___
> 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:
> https://lists.apple.com/mailman/options/webobjects-dev/lists%40thetimmy.com
> 
> This email sent to li...@thetimmy.com

 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: first framework with Sierra

2017-05-15 Thread Tim Worman
BTW, having a file called, “wolips.543.properties” is a holdout from when one 
maybe needed builds with multiple versions of WebObjects installed. I doubt 
there’s many peeps doing that anymore. I thought this might be useful to have 
in the history for this thread.

I simply have this setup:

~/Library/Application Support/WOLips/wolips.properties
~/Library/wobuild.properties -> Application Support/WOLips/wolips.properties 
(soft link)

Tim
UCLA GSE&IS

> On May 5, 2017, at 9:33 AM, Theodore Petrosky  wrote:
> 
> I don’t know what I did, but it started working.
> 
> I realize now that in the past there were things that didn’t work at I 
> thought. I really felt that when I right clicked a framework or application 
> in Eclipse and selected Install, it was not respecting the settings in the 
> Preferences/WOLips.
> 
> Suddenly, it started complaining of missing ERJars. But I have Wonder source 
> in my workbench. 
> 
> I was getting really weirded out by what I think is the lack of understanding 
> of the wolips.properties and wolips.543.properties files. Or maybe it is 
> something to do with Sierra.
> 
> But it’s working and I think I understand it better.
> 
> Thanks,
> 
> Ted
> 
> 
>> On May 5, 2017, at 7:27 AM, Ralf Schuchardt  wrote:
>> 
>> Am 5. Mai 2017 um 12:56:13, Theodore Petrosky (tedp...@yahoo.com) schrieb:
>>> Lots of information, but I don’t see anywhere in the console output a 
>>> reference that it is looking for the WebObjects stuff!
>> Have you added the „echoproperties" task at the beginning or at the end of 
>> the init.properties tarket? It should go to the end and then at least show 
>> the properties from your build.properties.
>> 
>> And maybe you have to explicitly specify the „wolips.properties“ property in 
>> your build.properties. The default in build.xml may refer to a 
>> „wolips.properties“ and not „wolips.543.properties".
>> 
>> > value="${user.home}${file.separator}Library${file.separator}Application 
>> Support${file.separator}WOLips${file.separator}wolips.properties" />
>> 
>> Ralf
>> 
>>> 
>>> 
>>> 
>>> Buildfile: 
>>> /Users/asacksadmin/Documents/workspaceEltekMain/TPJasperReports/build.xml
>>> init.properties:
>>> [echoproperties] #Ant properties
>>> [echoproperties] #Fri May 05 06:44:39 EDT 2017
>>> [echoproperties] 
>>> ant.core.lib=/Users/asacksadmin/.p2/pool/plugins/org.apache.ant_1.9.6.v201510161327/lib/ant.jar
>>> [echoproperties] 
>>> ant.file=/Users/asacksadmin/Documents/workspaceEltekMain/TPJasperReports/build.xml
>>> [echoproperties] 
>>> ant.file.TPJasperReports=/Users/asacksadmin/Documents/workspaceEltekMain/TPJasperReports/build.xml
>>> [echoproperties] ant.file.type.TPJasperReports=file
>>> [echoproperties] 
>>> ant.home=/Users/asacksadmin/.p2/pool/plugins/org.apache.ant_1.9.6.v201510161327
>>> [echoproperties] ant.java.version=1.8
>>> [echoproperties] 
>>> ant.library.dir=/Users/asacksadmin/.p2/pool/plugins/org.apache.ant_1.9.6.v201510161327/lib
>>> [echoproperties] ant.project.default-target=build
>>> [echoproperties] ant.project.invoked-targets=install
>>> [echoproperties] ant.project.name=TPJasperReports
>>> [echoproperties] ant.version=Apache Ant(TM) version 1.9.6 compiled on June 
>>> 29 2015
>>> [echoproperties] awt.toolkit=sun.lwawt.macosx.LWCToolkit
>>> [echoproperties] 
>>> basedir=/Users/asacksadmin/Documents/workspaceEltekMain/TPJasperReports
>>> [echoproperties] 
>>> eclipse.pdebuild.home=/Users/asacksadmin/eclipse/java-neon/Eclipse.app/Contents/Eclipse/../../../../../.p2/pool/plugins/org.eclipse.pde.build_3.9.0.v20140415-2029/.//
>>> [echoproperties] 
>>> eclipse.pdebuild.scripts=/Users/asacksadmin/eclipse/java-neon/Eclipse.app/Contents/Eclipse/../../../../../.p2/pool/plugins/org.eclipse.pde.build_3.9.0.v20140415-2029/scripts//
>>> [echoproperties] 
>>> eclipse.pdebuild.templates=/Users/asacksadmin/eclipse/java-neon/Eclipse.app/Contents/Eclipse/../../../../../.p2/pool/plugins/org.eclipse.pde.build_3.9.0.v20140415-2029/templates//
>>> [echoproperties] file.encoding=UTF-8
>>> [echoproperties] file.encoding.pkg=sun.io
>>> [echoproperties] file.separator=/
>>> [echoproperties] ftp.nonProxyHosts=local|*.local|169.254/16|*.169.254/16
>>> [echoproperties] gopherProxySet=false
>>> [echoproperties] http.nonProxyHosts=local|*.local|169.254/16|*.169.254/16
>>> [echoproperties] java.awt.graphicsenv=sun.awt.CGraphicsEnvironment
>>> [echoproperties] java.awt.printerjob=sun.lwawt.macosx.CPrinterJob
>>> [echoproperties] 
>>> java.class.path=/Users/asacksadmin/.p2/pool/plugins/org.apache.ant_1.9.6.v201510161327/lib/ant-antlr.jar\:/Users/asacksadmin/.p2/pool/plugins/org.apache.ant_1.9.6.v201510161327/lib/ant-apache-bcel.jar\:/Users/asacksadmin/.p2/pool/plugins/org.apache.ant_1.9.6.v201510161327/lib/ant-apache-bsf.jar\:/Users/asacksadmin/.p2/pool/plugins/org.apache.ant_1.9.6.v201510161327/lib/ant-apache-log4j.jar\:/Users/asacksadmin/.p2/pool/plugins/org.apache.ant_1.9.6.v201510161327/lib/ant-apache-oro.jar\:/Users/asacksadmin/.p2/pool/plugins/org.apache.ant_1

Re: Compiling ERExtensions in Sierra no worky

2017-05-11 Thread Tim Worman
Thanks Hugi for the links! I’m definitely going to be looking into this 
soon-ish. Goodbye fluffy bunny.

Good to “see" you both here.

T

> On May 11, 2017, at 2:24 PM, Hugi Thordarson  wrote:
> 
> That’s it — I’m calling the cops. Who are you and what have you done with our 
> beloved Chuck “The Ant” Hill?
> 
> But yes, I absolutely agree. When I first started trying out Maven with WO, I 
> made a few attempts at “soft” migration so I wouldn’t have to change the 
> structure of my projects (changing the structure for an experimental change 
> seemed scary at the time). That didn’t go well, so I backed up and moved to 
> using Ivy with Ant for dependency management for a while. Phew. Talk about a 
> couple of months of my life that I would like to get back.
> 
> But never looked back after going full Maven.
> 
> - hugi
> 
> 
>> On 11 May 2017, at 20:56, Chuck Hill  wrote:
>> 
>> I am not saying that Maven feels unnatural or un-WO like, but that there are 
>> Maven ways of doing things (like the project layout) and fighting that to do 
>> it “the way that I always have” just leads to a poor Maven experience.  With 
>> Ant you can beat it into whatever shape you want.  
>> 
>> Chuck
>> 
>> On 2017-05-11, 1:01 PM, "Hugi Thordarson"  wrote:
>> 
>>> Wait, what?  You had a life before?!!?   :-P
>> 
>>   Good point.
>> 
>>> Maven is actually good
>> 
>>   :-O
>> 
>>> and useful
>> 
>>   :-O :-O
>> 
>>> provided that you do things The Maven Way and don’t try and fight it to do 
>>> things the WO way.
>> 
>>   I know where you’re coming from and I totally agreed with you for a long 
>> time. But… I found that once I gave it a chance, it soon started to feel 
>> very WO Way-ish.
>> 
>>> Yes, Chuck just said that.  No, I have not been drinking.
>> 
>>   I find that extremely unlikely :-P.
>> 
>>   - hugi
>> 
>> 
>> 
>>> Chuck
>>> 
>>> 
>>> On 2017-05-11, 12:29 PM, "Webobjects-dev on behalf of Hugi Thordarson" 
>>> >> h...@karlmenn.is> wrote:
>>> 
>>>  The documentation on the wiki seems pretty outdated. But the transition 
>>> isn’t really complicated. Most of the work is the manual work of converting 
>>> the Eclipse project—here’s a basic guide for achieving that for an 
>>> application project:
>>> 
>>>  https://gist.github.com/hugith/e9a49e91fbcebe204e0feb4989f55631
>>> 
>>>  Note that before you can actually do this, though, you’ll have to copy the 
>>> following file to ~/.m2/settings.xml. It informs maven about the 
>>> WOCommunity maven repositories where the WO specific stuff lives.
>>> 
>>>  https://gist.github.com/hugith/e2887fad3baecdd493e0b9f5311fe0bf
>>> 
>>>  After having done this with a few dozen projects, migrating a regular 
>>> no-frills Fluffy Bunny project to maven takes me less than an hour these 
>>> days (including upgrading the Jenkins build :). I sincerely recommend you 
>>> give it a try. It’s a huge boon to productivity; dependency management 
>>> alone will save you hours of headaches if you’re using any 3rd party 
>>> software. And not having to manage framework installations is awesome.
>>> 
>>>  Also, I currently don't have a life so I’m usually online to help if you 
>>> run into issues ;).
>>> 
>>>  Cheers,
>>>  - hugi
>>> 
>>> 
>>> 
>>>> On 11 May 2017, at 18:59, Tim Worman  wrote:
>>>> 
>>>> I’m definitely interested in moving to Maven. It seems it can be a rocky 
>>>> transition from what I’ve seen. But it also positions one better to make 
>>>> the move to other technologies that probably utilize Maven too (Cayenne?).
>>>> 
>>>> Is the wiki pretty up-to-date regarding what’s required to mavenize?
>>>> 
>>>> Tim
>>>> UCLA GSE&IS
>>>> 
>>>>> On May 9, 2017, at 9:38 AM, Hugi Thordarson  wrote:
>>>>> 
>>>>> You can also switch to maven and skip that whole “install 
>>>>> WebObjects”-mess [ducks and runs away before anyone can beat him up]
>>>>> 
>>>>> - hugi
>>>>> 
>>>>> 
>>>>>> On 9 May 2017, at 16:05, Calven Eggert  wrote:
>>>>>> 
>>>>>> I’ve finally managed to get the ERExtensions to compile without errors.  
>>>>>> The

Re: Compiling ERExtensions in Sierra no worky

2017-05-11 Thread Tim Worman
I’m definitely interested in moving to Maven. It seems it can be a rocky 
transition from what I’ve seen. But it also positions one better to make the 
move to other technologies that probably utilize Maven too (Cayenne?).

Is the wiki pretty up-to-date regarding what’s required to mavenize?

Tim
UCLA GSE&IS

> On May 9, 2017, at 9:38 AM, Hugi Thordarson  wrote:
> 
> You can also switch to maven and skip that whole “install WebObjects”-mess 
> [ducks and runs away before anyone can beat him up]
> 
> - hugi
> 
> 
>> On 9 May 2017, at 16:05, Calven Eggert  wrote:
>> 
>> I’ve finally managed to get the ERExtensions to compile without errors.  The 
>> trick was to place the commons-lang3-3.5 folder (downloaded from apache) in 
>> the Libraries folder in ERExtensions like so:
>> /Users/calven/WonderSource/Frameworks/Core/ERExtensions/Libraries
>> 
>> And now all my WO projects run in Eclipse and from the terminal.
>> 
>> Calven
>> 
>>> On May 8, 2017, at 8:24 AM, Johann Werner  wrote:
>>> 
>>> The reported constructor method signature
>>> 
>>> (String, String, String, String, int, boolean, boolean)
>>> 
>>> does only exist in Wonder’s variant of WOCookie and not in the original 
>>> WOCookie class. Thus you probably have some sort of class ordering problem 
>>> in your project. Check if ERXExtensions comes before JavaWebObjects.
>>> 
>>> jw
>>> 
>>> 
 Am 08.05.2017 um 14:15 schrieb Calven Eggert :
 
 
 I changed the woolies.properties to new point to the 
 woolies.543.properties and now it works.  Thanks for that hint.  I suppose 
 with the changes we discussed earlier in getting this setup it messed this 
 up. 
 
 However, I’m still having problems with one of my apps where I try to run 
 it from eclipse and I get this error (which I thought was going to be 
 corrected once that compile was working but no):
 
 java.lang.NoSuchMethodError: 
 com.webobjects.appserver.WOCookie.(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;IZZ)V
 com.webobjects.foundation.NSForwardException [java.lang.NoSuchMethodError] 
 com.webobjects.appserver.WOCookie.(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;IZZ)V:java.lang.NoSuchMethodError:
  
 com.webobjects.appserver.WOCookie.(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;IZZ)V
at 
 com.webobjects.foundation.NSForwardException._runtimeExceptionForThrowable(NSForwardException.java:39)
at 
 com.webobjects.foundation.NSSelector._safeInvokeMethod(NSSelector.java:124)
at 
 com.webobjects.foundation.NSNotificationCenter$_Entry.invokeMethod(NSNotificationCenter.java:588)
at 
 com.webobjects.foundation.NSNotificationCenter.postNotification(NSNotificationCenter.java:532)
at 
 com.webobjects.foundation.NSNotificationCenter.postNotification(NSNotificationCenter.java:546)
at 
 com.webobjects.appserver._private.WOComponentRequestHandler._handleRequest(WOComponentRequestHandler.java:370)
at 
 com.webobjects.appserver._private.WOComponentRequestHandler.handleRequest(WOComponentRequestHandler.java:445)
at 
 com.webobjects.appserver.WOApplication.dispatchRequest(WOApplication.java:1687)
at 
 er.extensions.appserver.ERXApplication.dispatchRequestImmediately(ERXApplication.java:2092)
at 
 er.extensions.appserver.ERXApplication.dispatchRequest(ERXApplication.java:2057)
at COREApplication.dispatchRequest(COREApplication.java:461)
at 
 com.webobjects.appserver._private.WOWorkerThread.runOnce(WOWorkerThread.java:144)
at 
 com.webobjects.appserver._private.WOWorkerThread.run(WOWorkerThread.java:226)
at java.lang.Thread.run(Thread.java:748)
 Caused by: java.lang.NoSuchMethodError: 
 com.webobjects.appserver.WOCookie.(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;IZZ)V
at 
 er.extensions.appserver.ERXApplication.addBalancerRouteCookie(ERXApplication.java:2853)
at 
 er.extensions.appserver.ERXApplication.addBalancerRouteCookieByNotification(ERXApplication.java:2836)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at 
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at 
 com.webobjects.foundation.NSSelector._safeInvokeMethod(NSSelector.java:122)
... 12 more
 
 
 It works if I run the app from the terminal.  What am I missing here?
 
 
 
> On May 8, 2017, at 7:52 AM, Theodore Petrosky  wrote:
> 
> I think you are going to find that your Apple WebObjects files are hurt. 
> Of course you will not be able to use the apple WebObjects.mpkg will not 
> install WO. You w

Re: Alive ?

2017-02-09 Thread Tim Worman
+1

Tim

> On Feb 7, 2017, at 12:08 PM, Jean-François Veillette 
>  wrote:
> 
> +1
> 
> jfv
> 
>> Le 6 févr. 2017 à 08:11, Jérémy DE ROYER  a 
>> écrit :
>> 
>> Is there anyone alive ?
>> 
>> Jérémy
>> 
>> ___
>> 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:
>> https://lists.apple.com/mailman/options/webobjects-dev/jean_francois_veillette%40yahoo.ca
>> 
>> This email sent to jean_francois_veille...@yahoo.ca
> 
> 
> ___
> 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:
> https://lists.apple.com/mailman/options/webobjects-dev/lists%40thetimmy.com
> 
> This email sent to li...@thetimmy.com


 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: WOWODC17?? a little OT

2017-01-17 Thread Tim Worman
Ha! LOL! I love that. That sense of humor is all the invitation I need. If I 
could fit WOWODC ‘17 in my schedule, I will, wherever it is.

Tim
UCLA GSE&IS

> On Jan 13, 2017, at 6:39 AM, Hugi Thordarson  wrote:
> 
> Awesome, I’ve already booked a venue. Look forward to seeing you guys.
> 
> 
> 
> 
>> On 13. jan. 2017, at 14:22, Markus Ruggiero  
>> wrote:
>> 
>> Iceland? Would be interesting. And I may go if there is a WOWODC17 at all
>> 
>>> On 13.01.2017, at 04:10, Chuck Hill  wrote:
>>> 
>>> You have an extremely lenient definition of food!
>>>  
>>> +1 on women and hot springs
>> 
>> 
>> 
>>> -100 on hakarl
>> hakarl? what's that? Must be aful judging by Chuck's thumbs down
>> 
>> ---markus---
>> 
>> 
>> ___
>> 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:
>> https://lists.apple.com/mailman/options/webobjects-dev/hugi%40karlmenn.is
>> 
>> This email sent to h...@karlmenn.is
> 
> ___
> 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:
> https://lists.apple.com/mailman/options/webobjects-dev/lists%40thetimmy.com
> 
> This email sent to li...@thetimmy.com


 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: Instance not found on dev machine

2016-12-19 Thread Tim Worman
Hi Jeff,

I know this doesn’t answer your question or get you closer to solving the "dev 
environment voodoo," but, have you considered just running with DirectConnect? 
I’ve been doing this for quite a while now on my dev machine, and at least in 
my use cases, it works well.

Tim
UCLA GSE&IS

> On Dec 18, 2016, at 12:09 PM, Jeff Schmitz  wrote:
> 
> I figured out the site config computer name issue, somehow my computer name 
> and network name were out of sync.  I updated my network name on the sharing 
> page to match my computer name so now they match.  However I restarted 
> everything but still get the no instance error.  
> 
> 
>> On Dec 18, 2016, at 10:57 AM, Jeff Schmitz  wrote:
>> 
>> I’m trying to get this running again and I was wondering if I needed to 
>> setup an entry in the Wotaskd config for my app like you do for deployment 
>> machines?  I went to http://localhost:1085 and noticed that there was no 
>> entry listed for my app.  I tried adding one in, pointing to the application 
>> in my dist folder in my development environment but that didn’t help.  But 
>> the other thing I noticed though was the header for the Site Config listed 
>> the incorrect machine name:
>> 
>> Wotaskd for WebObjects 5: mbp17.local
>> 
>>  My development machine name should be mbp15.local so I’m wondering where 
>> that header comes from?
>> 
>> Jeff
>> 
>> 
>>  
>>> On Sep 2, 2016, at 10:11 PM, Jeff Schmitz  wrote:
>>> 
>>> One other note, I’m running ElCapitan with Apache 2.4.  I am using the 
>>> Apache 2.4 compatible mod_webobjects adaptor that works on a deployment 
>>> machine that’s also running El Capitan.
>>> 
>>> After triple checking, all from that page seems to check out:
>>> 
>>> Edit /etc/apache2/httpd.conf
>>> ServerName localhost jdj
>>> CHECK
>>> 
>>> You will also need to find this block
>>> # First, we configure the "default" to be a very restrictive set of
>>> # features.
>>> #
>>> 
>>> Options FollowSymLinks
>>> AllowOverride None
>>> Order deny,allow
>>> Deny from all
>>> 
>>> 
>>> And modify like so:
>>> # First, we configure the "default" to be a very restrictive set of
>>> # features.
>>> #
>>> 
>>> Options FollowSymLinks
>>> AllowOverride None
>>> #Order deny,allow
>>> #Deny from all
>>> 
>>> 
>>> 
>>> Options FollowSymLinks
>>> AllowOverride None
>>> #Require all denied
>>> 
>>> 
>>> CHECK
>>> 
>>> 
>>> Got to the very end of /etc/apache2/httpd.conf and add :
>>> Include /System/Library/WebObjects/Adaptors/Apache2.2/apache.conf
>>> 
>>> Include 
>>> /Developer/WebObjects/Versions/WebObjects543/System/Library/WebObjects/Adaptors/Apache2.2/apache.conf
>>> 
>>> CHECK (apache.conf is actually there, where I installed Webobjects 5.4)
>>> 
>>> 
>>> Edit /System/Library/WebObjects/Adaptors/Apache2.2/apache.conf to make sure 
>>> that your enabled/uncommented WebObjectsConfig property looks like this:
>>> WebObjectsConfig http://localhost:1085 10
>>> 
>>> Checking the above referenced file under Developer/WebObjects…
>>> 
>>> WebObjectsConfig http://localhost:1085 10
>>> 
>>> 
>>> CHECK
>>> 
>>> Edit 
>>> /System/Library/WebObjects/JavaApplications/wotaskd.woa/Contents/Resources/Properties
>>> Add this line after the WOPort=1085 one:
>>> WOHost=localhost
>>> 
>>> Again, looking under Developer/WebObjects…/Properties
>>> 
>>> WOPort=1085
>>> WOHost=localhost
>>> 
>>> 
>>> CHECK
>>> 
>>> 
>>> Restart wotaskd:  sudo launchctl stop com.apple.webobjects.wotaskd
>>> 
>>> CHECK
>>> sudo launchctl list | grep webobjects
>>> 430 1   com.apple.webobjects.womonitor
>>> 3519143 com.apple.webobjects.wotaskd
>>> 
>>> CHECK
>>> 
>>> Add or edit these launch parameters:
>>> -WODirectConnectEnabled false
>>> -WOHost localhost
>>> -WOAdaptorURL 
>>> http://localhost/cgi-bin/WebObjects
>>> 
>>> -WOPort 
>>> 
>>> ALL CHECKED in the Debug Configuration for the application.
>>> 
>>> Still no love.
>>> 
>>> http://localhost/cgi-bin/WebObjects/mlb.woa/-  =  No instance available
>>> 
>>> 
>>> Thanks!
>>> Jeff
>>> 
>>> 
 On Sep 2, 2016, at 8:57 PM, Chuck Hill  wrote:
 
 Double check what is on that page.  Ensure that WOHost=localhost is set 
 for both the app and wotaskd.
  
 From:  on 
 behalf of Jeff Schmitz 
 Date: Friday, September 2, 2016 at 6:21 PM
 To: WebObjects Development 
 Subject: Instance not found on dev machine
  
 Hey All, 
I followed the directions here: 
 https://wiki.wocommunity.org/display/documentation/Development+Tools-Running+Through+Apache
  
 And when I start my app in eclipse, I get the “No Instance Available” 
 error in the browser. 
  
  Apache is running as is wotaskd so I’m at a loss as to what to check.  
 Anything simple I can do to try to debug the app?  There are no errors 
 during startup from the app, and the log ends with the following three 
 lines:
  
 Sep 03 01:19:31 mlb[] INFO  er.extensions.appserver.E

Re: strange optimistic locking failure (ERXPartials Problem)

2013-06-13 Thread Tim Worman
I'm replying to myself here and updating this thread with more information. I 
have a workaround (below) to help with this problem. I still can't say with all 
certainty that this issue is not caused by something I've done. I did test some 
dumbed-down models/frameworks using the default wonder framework projects. The 
issue persisted in my tests.

One illustration of the problem is on attributes using the "boolean" prototype. 
If the database value is null or empty the EO is loaded with that attribute 
being 'false.' If that boolean is an attribute in the partial entity, it may 
end up being considered an attribute to lock on. The generated SQL UPDATE is 
adding that attribute to the WHERE clause, e.g.,


UPDATE foo set some_value="new value" WHERE (foo_id=1234 AND 
modify_date='2012-02-14 14:30:15 -0800'  AND some_boolean='false')


The problem here is that you have not chosen someBoolean to be an attribute to 
lock on in your model. Further, the value in the database is not actually 
'false' - it is empty or NULL. So, the update fails. There are other attribute 
types that can have similar issues. Some of this effect can be mitigated 
globally updating some null values in the database - but  it doesn't really fix 
the issue.

Here is a fix I have implemented to get around this issue. Basically I am 
strong-arming the attributes for locking to match the model. This is in the 
'base' EO.

public void willUpdate() {
super.willUpdate();
EOEntity personEnt = EOUtilities.entityNamed(this.editingContext(), 
this.entityName());
personEnt.setAttributesUsedForLocking(new 
NSArray(personEnt.anyAttributeNamed("modifyDate"), 
personEnt.anyAttributeNamed("personId")));
}

Saves happen normally with this in place. When I have time I plan to continue 
poking into ERXPartial to see if there are fixes necessary.

Tim
UCLA GSE&IS

On Jun 12, 2013, at 12:37 PM, Tim Worman  wrote:

> On Jun 12, 2013, at 10:32 AM, Chuck Hill  wrote:
> 
>> 
>> On 2013-06-11, at 2:36 PM, Tim Worman wrote:
>> 
>>> OK, I have successfully committed a record without an exception but it came 
>>> at a big price - so I'm gonna do more testing. So, for:
>>> 
>>> entity PERSON
>>> partial entity EMPLOYEE
>>> 
>>> I try a single change -  setting shouldSync=TRUE
>>> 
>>> If I remove the partial entity framework from the build path I can save 
>>> this change cleanly. When the partial entity framework is in the build 
>>> path, it considers all of the partial entities attributes "locked." They 
>>> are not in their model though.
>> 
>> I think that David Aspinall was likely one of the last to work on partials.  
>> He is away this week but may be able to shed some light next week.  Did a 
>> Wonder update cause this?  If so, you could also look for recent-ish changes 
>> to this in Wonder.
>> 
>> 
>> Chuck
> 
> Thanks for the appending to the subject - I was just about to do that. Yeah, 
> I am on integration so it could be that there's a new problem. I need to look 
> at the commits.
> 
> I can tell you what I've done to try to work around it. In 
> ERXPartialInitializer.initializePartialEntities(EOModelGroup):
> 
> I added some code to explicitly setAttributesUsedForLocking(NSArray) with a 
> Set comprised of locking attributes in the base and partial entity. It 
> doesn't work - in the app right before I save changes, I log out the locking 
> attributes and it still includes a bunch of stuff from the partial entity 
> that aren't set to lock in the model. In a quick scan I can't find any code 
> (other than what I added above) that explicitly sets the locking attributes 
> in the base entity.
> 
> Tim
> 
>> 
>>> All the partial's unique attributes show up in the WHERE clause of the 
>>> UPDATE statement. One of these is obviously causing the lock error. Example:
>>> 
>>> UPDATE PERSON SET should_sync = ? WHERE (person_id = ? AND modify_date = ? 
>>> AND comp_time_bal = ? AND emergency_info = ? AND emp_rel_code = ? AND 
>>> norm_vac_max is NULL AND out_of_office = ? AND pto_hrs_bal = ? AND 
>>> sick_lv_hrs_bal = ? AND start_begin_date is NULL AND start_end_date is NULL 
>>> AND start_percent = ? AND vac_hrs_balance = ? AND work_addr_city is NULL 
>>> AND work_addr_line1 = ? AND work_addr_line2 is NULL AND work_addr_state is 
>>> NULL AND work_addr_zip is NULL)" withBindings: 1:true(shouldSync), 
>>> 2:12505(personId), 3:2012-02-14 14:30:15(modifyDate), 4:0.0(compTimeBal), 
>>> 5:""(emergencyInfo), 6:""(empRelCo

Re: strange optimistic locking failure (ERXPartials Problem)

2013-06-12 Thread Tim Worman
On Jun 12, 2013, at 10:32 AM, Chuck Hill  wrote:

> 
> On 2013-06-11, at 2:36 PM, Tim Worman wrote:
> 
>> OK, I have successfully committed a record without an exception but it came 
>> at a big price - so I'm gonna do more testing. So, for:
>> 
>> entity PERSON
>> partial entity EMPLOYEE
>> 
>> I try a single change -  setting shouldSync=TRUE
>> 
>> If I remove the partial entity framework from the build path I can save this 
>> change cleanly. When the partial entity framework is in the build path, it 
>> considers all of the partial entities attributes "locked." They are not in 
>> their model though.
> 
> I think that David Aspinall was likely one of the last to work on partials.  
> He is away this week but may be able to shed some light next week.  Did a 
> Wonder update cause this?  If so, you could also look for recent-ish changes 
> to this in Wonder.
> 
> 
> Chuck

Thanks for the appending to the subject - I was just about to do that. Yeah, I 
am on integration so it could be that there's a new problem. I need to look at 
the commits.

I can tell you what I've done to try to work around it. In 
ERXPartialInitializer.initializePartialEntities(EOModelGroup):

I added some code to explicitly setAttributesUsedForLocking(NSArray) with a Set 
comprised of locking attributes in the base and partial entity. It doesn't work 
- in the app right before I save changes, I log out the locking attributes and 
it still includes a bunch of stuff from the partial entity that aren't set to 
lock in the model. In a quick scan I can't find any code (other than what I 
added above) that explicitly sets the locking attributes in the base entity.

Tim

> 
>> All the partial's unique attributes show up in the WHERE clause of the 
>> UPDATE statement. One of these is obviously causing the lock error. Example:
>> 
>> UPDATE PERSON SET should_sync = ? WHERE (person_id = ? AND modify_date = ? 
>> AND comp_time_bal = ? AND emergency_info = ? AND emp_rel_code = ? AND 
>> norm_vac_max is NULL AND out_of_office = ? AND pto_hrs_bal = ? AND 
>> sick_lv_hrs_bal = ? AND start_begin_date is NULL AND start_end_date is NULL 
>> AND start_percent = ? AND vac_hrs_balance = ? AND work_addr_city is NULL AND 
>> work_addr_line1 = ? AND work_addr_line2 is NULL AND work_addr_state is NULL 
>> AND work_addr_zip is NULL)" withBindings: 1:true(shouldSync), 
>> 2:12505(personId), 3:2012-02-14 14:30:15(modifyDate), 4:0.0(compTimeBal), 
>> 5:""(emergencyInfo), 6:""(empRelCode), 7:false(outOfOffice), 
>> 8:0.0(ptoHrsBal), 9:0.0(sickLvHrsBal), 10:0(startPercent), 
>> 11:0.0(vacHrsBalance), 12:""(workAddrLine1)>
>> 
>> Without the partial entity in the build path, the update statement looks 
>> like:
>> 
>> UPDATE PERSON SET should_sync = ? WHERE (person_id = ? AND modify_date = ?)" 
>> withBindings: 1:true(shouldSync), 2:12505(personId), 3:2012-02-14 
>> 14:30:15(modifyDate)>
>> 
>> Which is completely what I'd expect since I only lock on person_id and 
>> modify_date. My assumption is something is wrong in my framework - it 
>> obviously WAS working. I definitely want to rule out a broader problem.
>> 
>> Thanks,
>> 
>> Tim
>> 
>> On Jun 11, 2013, at 1:19 PM, Tim Worman  wrote:
>> 
>>> Do you mean in your prototype models or in your entity models? I have only 
>>> ever locked on primary key and modifyDate. I know I mentioned in a previous 
>>> thread that this has always worked well.
>>> 
>>> The FrontBase prototype model only locks on 'id' and 'boolean' attributes. 
>>> The OpenBase attribute model locks every attribute type almost. I'm really 
>>> lost as to what is going on. So, the question is, how can an EO I just 
>>> fetched think it has changed when it has not?
>>> 
>>> Tim
>>> 
>>> On Jun 11, 2013, at 9:54 AM, Chuck Hill  wrote:
>>> 
>>>> In my models, most attributes are locked.
>>>> 
>>>> Chuck
>>>> 
>>>> 
>>>> On 2013-06-11, at 9:32 AM, Tim Worman wrote:
>>>> 
>>>>> 'Locked' is definitely not enabled for those attributes in the model - or 
>>>>> in partial entity that is built on that entity.
>>>>> 
>>>>> This is the first time I've ever examined the locking in 
>>>>> EOJDBCOpenBasePrototypes. They do look ODD to me. I am using Wonder -> 
>>>>> integration. The MySQL and Oracle prototypes have a ton of locked 
>>&g

Re: strange optimistic locking failure

2013-06-11 Thread Tim Worman
OK, I have successfully committed a record without an exception but it came at 
a big price - so I'm gonna do more testing. So, for:

entity PERSON
partial entity EMPLOYEE

I try a single change -  setting shouldSync=TRUE

If I remove the partial entity framework from the build path I can save this 
change cleanly. When the partial entity framework is in the build path, it 
considers all of the partial entities attributes "locked." They are not in 
their model though. All the partial's unique attributes show up in the WHERE 
clause of the UPDATE statement. One of these is obviously causing the lock 
error. Example:

UPDATE PERSON SET should_sync = ? WHERE (person_id = ? AND modify_date = ? AND 
comp_time_bal = ? AND emergency_info = ? AND emp_rel_code = ? AND norm_vac_max 
is NULL AND out_of_office = ? AND pto_hrs_bal = ? AND sick_lv_hrs_bal = ? AND 
start_begin_date is NULL AND start_end_date is NULL AND start_percent = ? AND 
vac_hrs_balance = ? AND work_addr_city is NULL AND work_addr_line1 = ? AND 
work_addr_line2 is NULL AND work_addr_state is NULL AND work_addr_zip is NULL)" 
withBindings: 1:true(shouldSync), 2:12505(personId), 3:2012-02-14 
14:30:15(modifyDate), 4:0.0(compTimeBal), 5:""(emergencyInfo), 
6:""(empRelCode), 7:false(outOfOffice), 8:0.0(ptoHrsBal), 9:0.0(sickLvHrsBal), 
10:0(startPercent), 11:0.0(vacHrsBalance), 12:""(workAddrLine1)>

Without the partial entity in the build path, the update statement looks like:

UPDATE PERSON SET should_sync = ? WHERE (person_id = ? AND modify_date = ?)" 
withBindings: 1:true(shouldSync), 2:12505(personId), 3:2012-02-14 
14:30:15(modifyDate)>

Which is completely what I'd expect since I only lock on person_id and 
modify_date. My assumption is something is wrong in my framework - it obviously 
WAS working. I definitely want to rule out a broader problem.

Thanks,

Tim

On Jun 11, 2013, at 1:19 PM, Tim Worman  wrote:

> Do you mean in your prototype models or in your entity models? I have only 
> ever locked on primary key and modifyDate. I know I mentioned in a previous 
> thread that this has always worked well.
> 
> The FrontBase prototype model only locks on 'id' and 'boolean' attributes. 
> The OpenBase attribute model locks every attribute type almost. I'm really 
> lost as to what is going on. So, the question is, how can an EO I just 
> fetched think it has changed when it has not?
> 
> Tim
> 
> On Jun 11, 2013, at 9:54 AM, Chuck Hill  wrote:
> 
>> In my models, most attributes are locked.
>> 
>> Chuck
>> 
>> 
>> On 2013-06-11, at 9:32 AM, Tim Worman wrote:
>> 
>>> 'Locked' is definitely not enabled for those attributes in the model - or 
>>> in partial entity that is built on that entity.
>>> 
>>> This is the first time I've ever examined the locking in 
>>> EOJDBCOpenBasePrototypes. They do look ODD to me. I am using Wonder -> 
>>> integration. The MySQL and Oracle prototypes have a ton of locked 
>>> attributes as well.
>>> 
>>> 
>>> 
>>> On Jun 11, 2013, at 8:38 AM, Chuck Hill  wrote:
>>> 
>>>> No, I was just trying to think of anything that might alter the WHERE from 
>>>> what you would expect looking at the entity in the EOModel.  
>>>> 
>>>> Have you double checked that locked did not get turned on these attributes 
>>>> in the model?  Are you using prototypes?  Did locking change on the 
>>>> prototypes?
>>>> 
>>>> 
>>>> Chuck
>>>> 
>>>> 
>>>> On 2013-06-11, at 8:18 AM, Tim Worman wrote:
>>>> 
>>>>> Hi Chuck et al:
>>>>> 
>>>>> I wasn't sure if maybe I was missing something in your question - so, is 
>>>>> this locking behavior I should expect when using partials? I don't recall 
>>>>> seeing an update statement like that in the past.
>>>>> 
>>>>> Tim
>>>>> 
>>>>> On Jun 10, 2013, at 3:38 PM, Tim Worman  wrote:
>>>>> 
>>>>>> Thanks Chuck.
>>>>>> 
>>>>>> I am using ERXPartials. I've done a couple of deployments including 
>>>>>> partial support and it had been working well. This problem just started 
>>>>>> recently - really seemed to come out of the blue. The exception is 
>>>>>> reproducible in development so there is no other app touching the 
>>>>>> database.
>>>>>> 
>>>>>> Tim
>>>>>> UCLA GSE&IS
>>>>>> 
>>>>&

Re: strange optimistic locking failure

2013-06-11 Thread Tim Worman
Do you mean in your prototype models or in your entity models? I have only ever 
locked on primary key and modifyDate. I know I mentioned in a previous thread 
that this has always worked well.

The FrontBase prototype model only locks on 'id' and 'boolean' attributes. The 
OpenBase attribute model locks every attribute type almost. I'm really lost as 
to what is going on. So, the question is, how can an EO I just fetched think it 
has changed when it has not?

Tim

On Jun 11, 2013, at 9:54 AM, Chuck Hill  wrote:

> In my models, most attributes are locked.
> 
> Chuck
> 
> 
> On 2013-06-11, at 9:32 AM, Tim Worman wrote:
> 
>> 'Locked' is definitely not enabled for those attributes in the model - or in 
>> partial entity that is built on that entity.
>> 
>> This is the first time I've ever examined the locking in 
>> EOJDBCOpenBasePrototypes. They do look ODD to me. I am using Wonder -> 
>> integration. The MySQL and Oracle prototypes have a ton of locked attributes 
>> as well.
>> 
>> 
>> 
>> On Jun 11, 2013, at 8:38 AM, Chuck Hill  wrote:
>> 
>>> No, I was just trying to think of anything that might alter the WHERE from 
>>> what you would expect looking at the entity in the EOModel.  
>>> 
>>> Have you double checked that locked did not get turned on these attributes 
>>> in the model?  Are you using prototypes?  Did locking change on the 
>>> prototypes?
>>> 
>>> 
>>> Chuck
>>> 
>>> 
>>> On 2013-06-11, at 8:18 AM, Tim Worman wrote:
>>> 
>>>> Hi Chuck et al:
>>>> 
>>>> I wasn't sure if maybe I was missing something in your question - so, is 
>>>> this locking behavior I should expect when using partials? I don't recall 
>>>> seeing an update statement like that in the past.
>>>> 
>>>> Tim
>>>> 
>>>> On Jun 10, 2013, at 3:38 PM, Tim Worman  wrote:
>>>> 
>>>>> Thanks Chuck.
>>>>> 
>>>>> I am using ERXPartials. I've done a couple of deployments including 
>>>>> partial support and it had been working well. This problem just started 
>>>>> recently - really seemed to come out of the blue. The exception is 
>>>>> reproducible in development so there is no other app touching the 
>>>>> database.
>>>>> 
>>>>> Tim
>>>>> UCLA GSE&IS
>>>>> 
>>>>> On Jun 10, 2013, at 3:35 PM, Chuck Hill  wrote:
>>>>> 
>>>>>> Are you using inheritance or partials?
>>>>>> 
>>>>>> 
>>>>>> On 2013-06-10, at 3:33 PM, Tim Worman wrote:
>>>>>> 
>>>>>>> I am suddenly getting strange optimistic locking failures when when 
>>>>>>> updating a row on ec.saveChanges(). At least it seems sudden to me 
>>>>>>> because I can't introspect well enough to see where I caused it. :-) 
>>>>>>> I'm seeing this.
>>>>>>> 
>>>>>>> Jun 10 15:14:02 eTimesheet[5] INFO  
>>>>>>> er.transaction.adaptor.Exceptions  - Database Exception occured: 
>>>>>>> com.webobjects.eoaccess.EOGeneralAdaptorException: 
>>>>>>> updateValuesInRowDescribedByQualifier -- 
>>>>>>> com.webobjects.jdbcadaptor.JDBCChannel method failed to update row in 
>>>>>>> database.
>>>>>>> 
>>>>>>> So, I logged at the  SQL and capture the userInfo() on the exception. 
>>>>>>> What really caught my eye is the update statement that was produced. 
>>>>>>> The WHERE statement makes it seem like is locking on every attribute in 
>>>>>>> the PERSON entity. My model definitely does not reflect that should be 
>>>>>>> happening.
>>>>>>> 
>>>>>>> UPDATE PERSON SET campus_mail_code = ?, should_sync = ?, 
>>>>>>> person_first_name = ?, start_end_date = ?, norm_vac_max = ?, 
>>>>>>> student_status = ?, start_begin_date = ?, campus_phone = ?, 
>>>>>>> home_dept_code = ?, person_middle_name = ?, email_address_other = ?, 
>>>>>>> emp_status = ?, work_addr_line2 = ?, emp_rel_code = ? WHERE (person_id 
>>>>>>> = ? AND modify_date = ? AND comp_time_bal = ? AND emergency_info = ? 
>>>>>>> AND emp_rel_code = ? A

Re: strange optimistic locking failure

2013-06-11 Thread Tim Worman
Hi Chuck et al:

I wasn't sure if maybe I was missing something in your question - so, is this 
locking behavior I should expect when using partials? I don't recall seeing an 
update statement like that in the past.

Tim

On Jun 10, 2013, at 3:38 PM, Tim Worman  wrote:

> Thanks Chuck.
> 
> I am using ERXPartials. I've done a couple of deployments including partial 
> support and it had been working well. This problem just started recently - 
> really seemed to come out of the blue. The exception is reproducible in 
> development so there is no other app touching the database.
> 
> Tim
> UCLA GSE&IS
> 
> On Jun 10, 2013, at 3:35 PM, Chuck Hill  wrote:
> 
>> Are you using inheritance or partials?
>> 
>> 
>> On 2013-06-10, at 3:33 PM, Tim Worman wrote:
>> 
>>> I am suddenly getting strange optimistic locking failures when when 
>>> updating a row on ec.saveChanges(). At least it seems sudden to me because 
>>> I can't introspect well enough to see where I caused it. :-) I'm seeing 
>>> this.
>>> 
>>> Jun 10 15:14:02 eTimesheet[5] INFO  er.transaction.adaptor.Exceptions  
>>> - Database Exception occured: 
>>> com.webobjects.eoaccess.EOGeneralAdaptorException: 
>>> updateValuesInRowDescribedByQualifier -- 
>>> com.webobjects.jdbcadaptor.JDBCChannel method failed to update row in 
>>> database.
>>> 
>>> So, I logged at the  SQL and capture the userInfo() on the exception. What 
>>> really caught my eye is the update statement that was produced. The WHERE 
>>> statement makes it seem like is locking on every attribute in the PERSON 
>>> entity. My model definitely does not reflect that should be happening.
>>> 
>>> UPDATE PERSON SET campus_mail_code = ?, should_sync = ?, person_first_name 
>>> = ?, start_end_date = ?, norm_vac_max = ?, student_status = ?, 
>>> start_begin_date = ?, campus_phone = ?, home_dept_code = ?, 
>>> person_middle_name = ?, email_address_other = ?, emp_status = ?, 
>>> work_addr_line2 = ?, emp_rel_code = ? WHERE (person_id = ? AND modify_date 
>>> = ? AND comp_time_bal = ? AND emergency_info = ? AND emp_rel_code = ? AND 
>>> norm_vac_max is NULL AND out_of_office = ? AND pto_hrs_bal = ? AND 
>>> sick_lv_hrs_bal = ? AND start_begin_date is NULL AND start_end_date is NULL 
>>> AND start_percent = ? AND vac_hrs_balance = ? AND work_addr_city is NULL 
>>> AND work_addr_line1 = ? AND work_addr_line2 is NULL AND work_addr_state is 
>>> NULL AND work_addr_zip is NULL)
>>> 
>>> Can anyone help explain the abnormal growth of my WHERE clause?
>>> 
>>> Tim
>>> UCLA GSE&IS
>>> ___
>>> 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:
>>> https://lists.apple.com/mailman/options/webobjects-dev/chill%40global-village.net
>>> 
>>> This email sent to ch...@global-village.net
>> 
>> -- 
>> Chuck Hill 
>> Executive Managing Partner, VP Development and Technical Services
>> 
>> 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/gvc/practical_webobjects
>> 
>> Global Village Consulting ranks 13th in 2012 in BIV's Top 100 Fastest 
>> Growing Companies in B.C! 
>> 
>> Global Village Consulting ranks 44th in 25th annual PROFIT 500 ranking of 
>> Canada’s Fastest-Growing Companies by PROFIT Magazine!
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
> 
> 
> ___
> 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:
> https://lists.apple.com/mailman/options/webobjects-dev/lists%40thetimmy.com
> 
> This email sent to li...@thetimmy.com


 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: strange optimistic locking failure

2013-06-10 Thread Tim Worman
Thanks Chuck.

I am using ERXPartials. I've done a couple of deployments including partial 
support and it had been working well. This problem just started recently - 
really seemed to come out of the blue. The exception is reproducible in 
development so there is no other app touching the database.

Tim
UCLA GSE&IS

On Jun 10, 2013, at 3:35 PM, Chuck Hill  wrote:

> Are you using inheritance or partials?
> 
> 
> On 2013-06-10, at 3:33 PM, Tim Worman wrote:
> 
>> I am suddenly getting strange optimistic locking failures when when updating 
>> a row on ec.saveChanges(). At least it seems sudden to me because I can't 
>> introspect well enough to see where I caused it. :-) I'm seeing this.
>> 
>> Jun 10 15:14:02 eTimesheet[5] INFO  er.transaction.adaptor.Exceptions  - 
>> Database Exception occured: 
>> com.webobjects.eoaccess.EOGeneralAdaptorException: 
>> updateValuesInRowDescribedByQualifier -- 
>> com.webobjects.jdbcadaptor.JDBCChannel method failed to update row in 
>> database.
>> 
>> So, I logged at the  SQL and capture the userInfo() on the exception. What 
>> really caught my eye is the update statement that was produced. The WHERE 
>> statement makes it seem like is locking on every attribute in the PERSON 
>> entity. My model definitely does not reflect that should be happening.
>> 
>> UPDATE PERSON SET campus_mail_code = ?, should_sync = ?, person_first_name = 
>> ?, start_end_date = ?, norm_vac_max = ?, student_status = ?, 
>> start_begin_date = ?, campus_phone = ?, home_dept_code = ?, 
>> person_middle_name = ?, email_address_other = ?, emp_status = ?, 
>> work_addr_line2 = ?, emp_rel_code = ? WHERE (person_id = ? AND modify_date = 
>> ? AND comp_time_bal = ? AND emergency_info = ? AND emp_rel_code = ? AND 
>> norm_vac_max is NULL AND out_of_office = ? AND pto_hrs_bal = ? AND 
>> sick_lv_hrs_bal = ? AND start_begin_date is NULL AND start_end_date is NULL 
>> AND start_percent = ? AND vac_hrs_balance = ? AND work_addr_city is NULL AND 
>> work_addr_line1 = ? AND work_addr_line2 is NULL AND work_addr_state is NULL 
>> AND work_addr_zip is NULL)
>> 
>> Can anyone help explain the abnormal growth of my WHERE clause?
>> 
>> Tim
>> UCLA GSE&IS
>> ___
>> 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:
>> https://lists.apple.com/mailman/options/webobjects-dev/chill%40global-village.net
>> 
>> This email sent to ch...@global-village.net
> 
> -- 
> Chuck Hill 
> Executive Managing Partner, VP Development and Technical Services
> 
> 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/gvc/practical_webobjects
> 
> Global Village Consulting ranks 13th in 2012 in BIV's Top 100 Fastest Growing 
> Companies in B.C! 
> 
> Global Village Consulting ranks 44th in 25th annual PROFIT 500 ranking of 
> Canada’s Fastest-Growing Companies by PROFIT Magazine!
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 


 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

strange optimistic locking failure

2013-06-10 Thread Tim Worman
I am suddenly getting strange optimistic locking failures when when updating a 
row on ec.saveChanges(). At least it seems sudden to me because I can't 
introspect well enough to see where I caused it. :-) I'm seeing this.

Jun 10 15:14:02 eTimesheet[5] INFO  er.transaction.adaptor.Exceptions  - 
Database Exception occured: com.webobjects.eoaccess.EOGeneralAdaptorException: 
updateValuesInRowDescribedByQualifier -- com.webobjects.jdbcadaptor.JDBCChannel 
method failed to update row in database.

So, I logged at the  SQL and capture the userInfo() on the exception. What 
really caught my eye is the update statement that was produced. The WHERE 
statement makes it seem like is locking on every attribute in the PERSON 
entity. My model definitely does not reflect that should be happening.

UPDATE PERSON SET campus_mail_code = ?, should_sync = ?, person_first_name = ?, 
start_end_date = ?, norm_vac_max = ?, student_status = ?, start_begin_date = ?, 
campus_phone = ?, home_dept_code = ?, person_middle_name = ?, 
email_address_other = ?, emp_status = ?, work_addr_line2 = ?, emp_rel_code = ? 
WHERE (person_id = ? AND modify_date = ? AND comp_time_bal = ? AND 
emergency_info = ? AND emp_rel_code = ? AND norm_vac_max is NULL AND 
out_of_office = ? AND pto_hrs_bal = ? AND sick_lv_hrs_bal = ? AND 
start_begin_date is NULL AND start_end_date is NULL AND start_percent = ? AND 
vac_hrs_balance = ? AND work_addr_city is NULL AND work_addr_line1 = ? AND 
work_addr_line2 is NULL AND work_addr_state is NULL AND work_addr_zip is NULL)

Can anyone help explain the abnormal growth of my WHERE clause?

Tim
UCLA GSE&IS
 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: ERD2W and EOGeneralAdaptorException

2013-06-04 Thread Tim Worman
Thanks Chuck.

I added this rule to my app. Hopefully that addresses the issue.

100 : (pageConfiguration like 'QueryPerson*' or task = 'queryAll') => 
refreshesRefetchedObjects = "true" [com.webobjects.directtoweb.Assignment]

Tim

On Jun 3, 2013, at 4:52 PM, Chuck Hill  wrote:

> It does not sound to me like what you are locking on is the problem.  It 
> looks like your object store is getting out of sync with the database (this 
> happens when you run multiple instances or something else is writing to the 
> database).  To recover from this, you need to re-fetch (refreshing) the 
> object(s) that are causing this problem.  
> 
> EOGeneralAdaptorException: updateValuesInRowDescribedByQualifier -- 
> er.extensions.jdbc.ERXJDBCAdaptor$Channel method failed to update row in 
> database
> at 
> com.webobjects.eoaccess.EODatabaseContext._exceptionWithDatabaseContextInformationAdded(EODatabaseContext.java:4504)
>... skipped 1 stack elements
> at 
> com.webobjects.eocontrol.EOObjectStoreCoordinator.saveChangesInEditingContext(EOObjectStoreCoordinator.java:376)
> at 
> com.webobjects.eocontrol.EOEditingContext.saveChanges(EOEditingContext.java:3192)
> at er.extensions.eof.ERXEC._saveChanges(ERXEC.java:1179)
> at er.extensions.eof.ERXEC.saveChanges(ERXEC.java:1102)
> at 
> er.directtoweb.pages.ERD2WInspectPage.tryToSaveChanges(ERD2WInspectPage.java:232)
> at 
> er.directtoweb.pages.ERD2WInspectPage.submitAction(ERD2WInspectPage.java:282)
> at 
> er.modern.look.pages.ERMODInspectPage.submitAction(ERMODInspectPage.java:101)
> 
> My WOVNG (aka The Unfinished Framework) presentation from WOWODC a few years 
> back talks about this this.
> 
> 
> Chuck
> 
> 
> On 2013-06-03, at 4:17 PM, Tim Worman wrote:
> 
>> Thanks Chuck.
>> 
>> Well, what has maybe changed is that more of my apps are moving toward using 
>> the same PERSON object. Thank you ERXPartial by the way. But maybe that 
>> creates collisions.
>> 
>> So, if it does become more problematic. What should I lock on? :-) 
>> modifyDate seems on the surface to be a pretty good candidate. But, what do 
>> others choose if it isn't a good candidate?
>> 
>> Tim
>> 
>> On Jun 3, 2013, at 3:34 PM, Chuck Hill  wrote:
>> 
>>> It depends on your database.  If that has not changed recently, then this 
>>> is probably not the source of your problem.  Usually this either works 
>>> reliably or does not work, also reliably.  :-)
>>> 
>>> 
>>> On 2013-06-03, at 3:21 PM, Tim Worman wrote:
>>> 
>>>> David:
>>>> 
>>>> I do lock on a last updated attribute (modifyDate) that is a timestamp. I 
>>>> have always done this in all my models - probably since when I was first 
>>>> trained by Apple, that was how our early models were built.
>>>> 
>>>> Then modifyDate is always updated by a editing context delegate.
>>>> 
>>>> Is this something I should take out? I'm concerned about what could happen 
>>>> after all this time. I do have multiple apps that use the same "Person" 
>>>> entity to make relationships and such so maybe the locking collision is 
>>>> there.
>>>> 
>>>> Tim
>>>> UCLA GSE&IS
>>>> 
>>>> On Jun 3, 2013, at 3:01 PM, David LeBer  
>>>> wrote:
>>>> 
>>>>> Tim,
>>>>> 
>>>>> Have you checked all of the usual suspects for optimistic locking 
>>>>> problems in your model?
>>>>> 
>>>>> Locking on blobs and timestamps are the two that come to mind.
>>>>> 
>>>>> We've run D2W apps in production for ages without these kinds of 
>>>>> problems, so it is not a widespread issue that needs an across the board 
>>>>> fix.
>>>>> 
>>>>> D
>>>>> 
>>>>> --
>>>>> David LeBer
>>>>> Codeferous Software
>>>>> 
>>>>> On 2013-06-03, at 5:50 PM, Tim Worman  wrote:
>>>>> 
>>>>>> Ramsey:
>>>>>> 
>>>>>> Thanks much. I'll check out freshness explorer.
>>>>>> 
>>>>>> What do you do for D2W typically? Clobber all fetches with a rule and 
>>>>>> have it always refreshRefetchedObjects for everything or do you 
>>>>>> typically only put a rule in for certain views and relationships?
>>>>>> 
>>>>>> Tim
>>>>>>

Re: ERD2W and EOGeneralAdaptorException

2013-06-03 Thread Tim Worman
Thanks Chuck.

Well, what has maybe changed is that more of my apps are moving toward using 
the same PERSON object. Thank you ERXPartial by the way. But maybe that creates 
collisions.

So, if it does become more problematic. What should I lock on? :-) modifyDate 
seems on the surface to be a pretty good candidate. But, what do others choose 
if it isn't a good candidate?

Tim

On Jun 3, 2013, at 3:34 PM, Chuck Hill  wrote:

> It depends on your database.  If that has not changed recently, then this is 
> probably not the source of your problem.  Usually this either works reliably 
> or does not work, also reliably.  :-)
> 
> 
> On 2013-06-03, at 3:21 PM, Tim Worman wrote:
> 
>> David:
>> 
>> I do lock on a last updated attribute (modifyDate) that is a timestamp. I 
>> have always done this in all my models - probably since when I was first 
>> trained by Apple, that was how our early models were built.
>> 
>> Then modifyDate is always updated by a editing context delegate.
>> 
>> Is this something I should take out? I'm concerned about what could happen 
>> after all this time. I do have multiple apps that use the same "Person" 
>> entity to make relationships and such so maybe the locking collision is 
>> there.
>> 
>> Tim
>> UCLA GSE&IS
>> 
>> On Jun 3, 2013, at 3:01 PM, David LeBer  wrote:
>> 
>>> Tim,
>>> 
>>> Have you checked all of the usual suspects for optimistic locking problems 
>>> in your model?
>>> 
>>> Locking on blobs and timestamps are the two that come to mind.
>>> 
>>> We've run D2W apps in production for ages without these kinds of problems, 
>>> so it is not a widespread issue that needs an across the board fix.
>>> 
>>> D
>>> 
>>> --
>>> David LeBer
>>> Codeferous Software
>>> 
>>> On 2013-06-03, at 5:50 PM, Tim Worman  wrote:
>>> 
>>>> Ramsey:
>>>> 
>>>> Thanks much. I'll check out freshness explorer.
>>>> 
>>>> What do you do for D2W typically? Clobber all fetches with a rule and have 
>>>> it always refreshRefetchedObjects for everything or do you typically only 
>>>> put a rule in for certain views and relationships?
>>>> 
>>>> Tim
>>>> 
>>>> On Jun 3, 2013, at 1:19 PM, Ramsey Gurley  wrote:
>>>> 
>>>>> 
>>>>> On Jun 3, 2013, at 12:06 PM, Tim Worman wrote:
>>>>> 
>>>>>> an optimistic locking problem I believe. If I kick a new instance 
>>>>>> everything is fine.
>>>>> 
>>>>> That sounds like you need to refreshRefetchedObjects on your fetch spec. 
>>>>> If you've previously fetched a row, and then another instance changes 
>>>>> that same row, then you fetch the row again in the first instance, the 
>>>>> snapshot is not refreshed unless you tell it do so explicitly.  
>>>>> 
>>>>> With the default false value for refreshRefetchedObjects, you can 
>>>>> actually fetch with a qualifier q, and then filter your fetched array 
>>>>> with q in memory and get a smaller array of results. 
>>>>> 
>>>>> I suggest playing around with the freshness explorer app for a few 
>>>>> minutes. I found the results to be eye opening.
>>>>> 
>>>>> https://github.com/nullterminated/ponder/blob/master/ERR2d2w/Support/FreshnessExplorer.zip
>>>>> 
>>>>> Ramsey
>>>>> 
>>>> 
>>>> 
>>>> ___
>>>> 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:
>>>> https://lists.apple.com/mailman/options/webobjects-dev/dleber_wodev%40codeferous.com
>>>> 
>>>> This email sent to dleber_wo...@codeferous.com
>>> 
>> 
>> 
>> ___
>> 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:
>> https://lists.apple.com/mailman/options/webobjects-dev/chill%40global-village.net
>> 
>> This email sent to ch...@global-village.net
> 
> -- 
> Chuck Hill 
> Executive Managing Partner, VP Development and Technical Services
> 
> 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/gvc/practical_webobjects
> 
> Global Village Consulting ranks 13th in 2012 in BIV's Top 100 Fastest Growing 
> Companies in B.C! 
> Global Village Consulting ranks 76th in 24th annual PROFIT 200 ranking of 
> Canada’s Fastest-Growing Companies by PROFIT Magazine!
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 


 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: ERD2W and EOGeneralAdaptorException

2013-06-03 Thread Tim Worman
David:

I do lock on a last updated attribute (modifyDate) that is a timestamp. I have 
always done this in all my models - probably since when I was first trained by 
Apple, that was how our early models were built.

Then modifyDate is always updated by a editing context delegate.

Is this something I should take out? I'm concerned about what could happen 
after all this time. I do have multiple apps that use the same "Person" entity 
to make relationships and such so maybe the locking collision is there.

Tim
UCLA GSE&IS

On Jun 3, 2013, at 3:01 PM, David LeBer  wrote:

> Tim,
> 
> Have you checked all of the usual suspects for optimistic locking problems in 
> your model?
> 
> Locking on blobs and timestamps are the two that come to mind.
> 
> We've run D2W apps in production for ages without these kinds of problems, so 
> it is not a widespread issue that needs an across the board fix.
> 
> D
> 
> --
> David LeBer
> Codeferous Software
> 
> On 2013-06-03, at 5:50 PM, Tim Worman  wrote:
> 
>> Ramsey:
>> 
>> Thanks much. I'll check out freshness explorer.
>> 
>> What do you do for D2W typically? Clobber all fetches with a rule and have 
>> it always refreshRefetchedObjects for everything or do you typically only 
>> put a rule in for certain views and relationships?
>> 
>> Tim
>> 
>> On Jun 3, 2013, at 1:19 PM, Ramsey Gurley  wrote:
>> 
>>> 
>>> On Jun 3, 2013, at 12:06 PM, Tim Worman wrote:
>>> 
>>>> an optimistic locking problem I believe. If I kick a new instance 
>>>> everything is fine.
>>> 
>>> That sounds like you need to refreshRefetchedObjects on your fetch spec. If 
>>> you've previously fetched a row, and then another instance changes that 
>>> same row, then you fetch the row again in the first instance, the snapshot 
>>> is not refreshed unless you tell it do so explicitly.  
>>> 
>>> With the default false value for refreshRefetchedObjects, you can actually 
>>> fetch with a qualifier q, and then filter your fetched array with q in 
>>> memory and get a smaller array of results. 
>>> 
>>> I suggest playing around with the freshness explorer app for a few minutes. 
>>> I found the results to be eye opening.
>>> 
>>> https://github.com/nullterminated/ponder/blob/master/ERR2d2w/Support/FreshnessExplorer.zip
>>> 
>>> Ramsey
>>> 
>> 
>> 
>> ___
>> 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:
>> https://lists.apple.com/mailman/options/webobjects-dev/dleber_wodev%40codeferous.com
>> 
>> This email sent to dleber_wo...@codeferous.com
> 


 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: ERD2W and EOGeneralAdaptorException

2013-06-03 Thread Tim Worman
Ramsey:

Thanks much. I'll check out freshness explorer.

What do you do for D2W typically? Clobber all fetches with a rule and have it 
always refreshRefetchedObjects for everything or do you typically only put a 
rule in for certain views and relationships?

Tim

On Jun 3, 2013, at 1:19 PM, Ramsey Gurley  wrote:

> 
> On Jun 3, 2013, at 12:06 PM, Tim Worman wrote:
> 
>> an optimistic locking problem I believe. If I kick a new instance everything 
>> is fine.
> 
> That sounds like you need to refreshRefetchedObjects on your fetch spec. If 
> you've previously fetched a row, and then another instance changes that same 
> row, then you fetch the row again in the first instance, the snapshot is not 
> refreshed unless you tell it do so explicitly.  
> 
> With the default false value for refreshRefetchedObjects, you can actually 
> fetch with a qualifier q, and then filter your fetched array with q in memory 
> and get a smaller array of results. 
> 
> I suggest playing around with the freshness explorer app for a few minutes. I 
> found the results to be eye opening.
> 
> https://github.com/nullterminated/ponder/blob/master/ERR2d2w/Support/FreshnessExplorer.zip
> 
> Ramsey
> 


 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


ERD2W and EOGeneralAdaptorException

2013-06-03 Thread Tim Worman
All:

I have an ERModern app where I see this issue from time to time - an optimistic 
locking problem I believe. If I kick a new instance everything is fine. It 
seems to be due to something left "dirty" or unchanged and I feel like I've 
seen it when users start using browser navigation instead of the "Cancel" 
button on an edit page. When they come back later, something is messed up and 
subsequent saves fail.

I could be wrong about the cause. Does anyone else ever have similar problems 
or maybe some strategies for avoiding these issues. Of course, it could be 
something else. If it's my fault, I wanna fix it!

Tim
UCLA GSE&IS



EOGeneralAdaptorException: updateValuesInRowDescribedByQualifier -- 
er.extensions.jdbc.ERXJDBCAdaptor$Channel method failed to update row in 
database
  at 
com.webobjects.eoaccess.EODatabaseContext._exceptionWithDatabaseContextInformationAdded(EODatabaseContext.java:4504)
 ... skipped 1 stack elements
  at 
com.webobjects.eocontrol.EOObjectStoreCoordinator.saveChangesInEditingContext(EOObjectStoreCoordinator.java:376)
  at 
com.webobjects.eocontrol.EOEditingContext.saveChanges(EOEditingContext.java:3192)
  at er.extensions.eof.ERXEC._saveChanges(ERXEC.java:1179)
  at er.extensions.eof.ERXEC.saveChanges(ERXEC.java:1102)
  at 
er.directtoweb.pages.ERD2WInspectPage.tryToSaveChanges(ERD2WInspectPage.java:232)
  at 
er.directtoweb.pages.ERD2WInspectPage.submitAction(ERD2WInspectPage.java:282)
  at 
er.modern.look.pages.ERMODInspectPage.submitAction(ERMODInspectPage.java:101)
 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: [Wonder-disc] Pointing to new Wonder Repository URL

2013-05-21 Thread Tim Worman
On May 20, 2013, at 6:31 PM, Pascal Robert  wrote:

> 
> Le 2013-05-20 à 17:01, Jesse Tayler  a écrit :
> 
>> 
>> ah, yes, you're right -- I had forgotten about the fact that golipse only 
>> installs the developer environment.
>> 
>> seems like it should install WOnder and setup a standard WO developer 
>> system, but maybe that's as easy as just running some of Kieran's links in a 
>> script.
> 
> It would be really useful to modify Golips to install everything…

Definitely - no doubt about it. I'll take a look at it and try to assess the 
best approaches to that. Source, or no source - that is the question!

Tim

>> On May 20, 2013, at 4:53 PM, Tim Worman  wrote:
>> 
>>> Golipse doesn't retrieve or install Wonder.
>>> 
>>> That reminds me though - Golipse was patched and updated for Eclipse 3.8.2 
>>> a couple weeks ago but the latest version linked on WOCommunity is not a 
>>> recent build:
>>> 
>>> http://wocommunity.org/documents/tools/
>>> 
>>> Tim
>>> 
>>> On May 20, 2013, at 12:05 PM, Jesse Tayler  wrote:
>>> 
>>>> 
>>>> whoa, nice work!
>>>> 
>>>> thanks for the links and process here, that's REALLY a big help.
>>>> 
>>>> does golips have these new things in them?
>>>> 
>>>> 
>>>> On May 20, 2013, at 2:05 PM, Kieran Kelleher  wrote:
>>>> 
>>>>> In an effort to consolidate all WO Community Projects, Project Wonder 
>>>>> repository has been transferred to the WOCommunity GitHub account. It now 
>>>>> resides at https://github.com/wocommunity/wonder
>>>>> 
>>>>> The new git remote URL for read-only is:
>>>>>   git://github.com/wocommunity/wonder.git
>>>>> 
>>>>> The new git remote URL for committers is:
>>>>>   g...@github.com:wocommunity/wonder.git
>>>>> 
>>>>> To point your local clone to the new upstream repository, do the 
>>>>> following:
>>>>>   git remote set-url remote_name new_url
>>>>> 
>>>>> 
>>>>> --
>>>>> 
>>>>> Need more help?
>>>>> 
>>>>> 1) Find your current remote_name:
>>>>>   $ git remote -v
>>>>> 
>>>>>  and identify the remote_name having the old 
>>>>> "projectwonder/wonder.git" github repository name in its URL. This 
>>>>> example uses "upstream" as the remote name for the old url:
>>>>>   upstream
>>>>> git://github.com/projectwonder/wonder.git (fetch) 
>>>>>   upstream
>>>>> git://github.com/projectwonder/wonder.git (push)
>>>>> 
>>>>> 
>>>>> 2) For the example where "upstream" was the remote name you used, just 
>>>>> change it with:
>>>>> 
>>>>> Read-only URL:
>>>>>   $ git remote set-url upstream git://github.com/wocommunity/wonder.git
>>>>> 
>>>>> Committer:
>>>>>   $ git remote set-url upstream g...@github.com:wocommunity/wonder.git
>>>>> 
>>>>> 
>>>>> Apparently the old URLs will continue to redirect, but it is advised that 
>>>>> you update as soon as possible to the correct one.
>>>>> --
>>>>> AlienVault Unified Security Management (USM) platform delivers complete
>>>>> security visibility with the essential security capabilities. Easily and
>>>>> efficiently configure, manage, and operate all of your security controls
>>>>> from a single console and one unified framework. Download a free trial.
>>>>> http://p.sf.net/sfu/alienvault_d2d
>>>>> ___
>>>>> Wonder-disc mailing list
>>>>> wonder-d...@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/wonder-disc
>>>> 
>>>> 
>>>> ___
>>>> 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:
>>>> https://lists.apple.com/mailman/options/webobjects-dev/lists%40thetimmy.com
>>>> 
>>>> This email sent to li...@thetimmy.com
>>> 
>> 
>> 
>> ___
>> 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:
>> https://lists.apple.com/mailman/options/webobjects-dev/probert%40macti.ca
>> 
>> This email sent to prob...@macti.ca
> 


 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: [Wonder-disc] Pointing to new Wonder Repository URL

2013-05-20 Thread Tim Worman
Golipse doesn't retrieve or install Wonder.

That reminds me though - Golipse was patched and updated for Eclipse 3.8.2 a 
couple weeks ago but the latest version linked on WOCommunity is not a recent 
build:

http://wocommunity.org/documents/tools/

Tim

On May 20, 2013, at 12:05 PM, Jesse Tayler  wrote:

> 
> whoa, nice work!
> 
> thanks for the links and process here, that's REALLY a big help.
> 
> does golips have these new things in them?
> 
> 
> On May 20, 2013, at 2:05 PM, Kieran Kelleher  wrote:
> 
>> In an effort to consolidate all WO Community Projects, Project Wonder 
>> repository has been transferred to the WOCommunity GitHub account. It now 
>> resides at https://github.com/wocommunity/wonder
>> 
>> The new git remote URL for read-only is:
>>  git://github.com/wocommunity/wonder.git
>> 
>> The new git remote URL for committers is:
>>  g...@github.com:wocommunity/wonder.git
>> 
>> To point your local clone to the new upstream repository, do the following:
>>  git remote set-url remote_name new_url
>> 
>> 
>> --
>> 
>> Need more help?
>> 
>> 1) Find your current remote_name:
>>  $ git remote -v
>> 
>>  and identify the remote_name having the old "projectwonder/wonder.git" 
>> github repository name in its URL. This example uses "upstream" as the 
>> remote name for the old url:
>>  upstream
>> git://github.com/projectwonder/wonder.git (fetch) 
>>  upstream
>> git://github.com/projectwonder/wonder.git (push)
>> 
>> 
>> 2) For the example where "upstream" was the remote name you used, just 
>> change it with:
>> 
>> Read-only URL:
>>  $ git remote set-url upstream git://github.com/wocommunity/wonder.git
>> 
>> Committer:
>>  $ git remote set-url upstream g...@github.com:wocommunity/wonder.git
>> 
>> 
>> Apparently the old URLs will continue to redirect, but it is advised that 
>> you update as soon as possible to the correct one.
>> --
>> AlienVault Unified Security Management (USM) platform delivers complete
>> security visibility with the essential security capabilities. Easily and
>> efficiently configure, manage, and operate all of your security controls
>> from a single console and one unified framework. Download a free trial.
>> http://p.sf.net/sfu/alienvault_d2d
>> ___
>> Wonder-disc mailing list
>> wonder-d...@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/wonder-disc
> 
> 
> ___
> 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:
> https://lists.apple.com/mailman/options/webobjects-dev/lists%40thetimmy.com
> 
> This email sent to li...@thetimmy.com


 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: question about WebObjectsAlias

2013-05-08 Thread Tim Worman
Well, that doesn't seem like it works in my situation. I have a component that 
is used for HTML email. The embedded direct action link still has a /cgi-bin 
based URL when the email is received.

I may have to do some of this in code. Maybe some rewrite rules will address it 
too.

Tim

On May 8, 2013, at 2:42 PM, Chuck Hill  wrote:

> Try adding WOCGIAdaptorURL http://foo.com/whatever/WebObjects to your launch 
> parameters.
> 
> Chuck
> 
> 
> On 2013-05-08, at 2:27 PM, Tim Worman wrote:
> 
>> I have changed WebObjectsAlias in my apache conf. I have a WOHyperlink bound 
>> to a DirectAction in my app. Of course, when it is called in my app, the 
>> direct action returns a URL with ***/cgi-bin/WebObjects/*** - which won't 
>> work.
>> 
>> To others that use this approach - do you generally handle this with 
>> mod_rewrite or do you alter your app to produce the proper base urls?
>> 
>> Tim
>> ___
>> 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:
>> https://lists.apple.com/mailman/options/webobjects-dev/chill%40global-village.net
>> 
>> This email sent to ch...@global-village.net
> 
> -- 
> Chuck Hill 
> Executive Managing Partner, VP Development and Technical Services
> 
> 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/gvc/practical_webobjects
> 
> Global Village Consulting ranks 13th in 2012 in BIV's Top 100 Fastest Growing 
> Companies in B.C! 
> Global Village Consulting ranks 76th in 24th annual PROFIT 200 ranking of 
> Canada’s Fastest-Growing Companies by PROFIT Magazine!
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 


 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

question about WebObjectsAlias

2013-05-08 Thread Tim Worman
I have changed WebObjectsAlias in my apache conf. I have a WOHyperlink bound to 
a DirectAction in my app. Of course, when it is called in my app, the direct 
action returns a URL with ***/cgi-bin/WebObjects/*** - which won't work.

To others that use this approach - do you generally handle this with 
mod_rewrite or do you alter your app to produce the proper base urls?

Tim
 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: centos 6.2 - pulling my hair out (PARTIALLY SOLVED)

2013-05-08 Thread Tim Worman
On May 8, 2013, at 11:16 AM, Chuck Hill  wrote:

> 
> On 2013-05-08, at 11:11 AM, Tim Worman wrote:
> 
>> Oh….my……God. Done. I had changed that ….. and changed it back. So, I'm only 
>> guilty of temporary insanity - as far as you know.
> 
> :-)
> 
> 
>> So, what do you make of the thing I raised about SpawnOfWotaskd.sh? Is what 
>> I suggested about the LOG path possible?
> 
> It has been a while since I have done that, but I think it just does not log. 
>  You could test that...  :-)

Very scared. :-) But I'll do it.

Tim

> Chuck
> 
> 
>> 
>> On May 8, 2013, at 10:53 AM, Chuck Hill  wrote:
>> 
>>> This is sounding less painful now.  :-)
>>> 
>>> Check the WO configuration for Apache:
>>> 
>>> # Host List Configuration
>>> # wotaskd is started automatically on supported platforms,
>>> # so this is the default mode.
>>> # The apache module gets its configuration from the wotaskds
>>> # listed on the configuration line
>>> # For multiple hosts:
>>> # WebObjectsConfig 
>>> http://:,http://:
>>>  
>>> # For localhost:
>>> WebObjectsConfig http://localhost:1085 10
>>> 
>>> 
>>> Does that host name match what you used in WOHost?
>>> 
>>> 
>>> Chuck
>>> 
>>> 
>>> On 2013-05-08, at 10:50 AM, Tim Worman wrote:
>>> 
>>>> The app runs now but I get the dreaded "The requested application was not 
>>>> found on this server."
>>>> 
>>>> 
>>>> SpawnOfWotaskd.sh has this:
>>>> 
>>>> # Log messages will be written to:
>>>> LOG=/Library/WebObjects/Logs
>>>> 
>>>> That path does not exist on CentOS. The script tries to log to that path 
>>>> when /tmp/logWebObjects exists. It will exist when someone is trying to 
>>>> solve problems. Is there any chance that when /tmp/logWebObjects exists, 
>>>> and Spawn tries to write to the path (and can't) there could be a failure 
>>>> launching the app?
>>>> 
>>>> I changed LOG assignment to /opt/Local/Library/WebObjects/Logs in the 
>>>> script and now the app launches.
>>>> 
>>>> 
>>>> So, now I have to figure out why  "The requested application was not found 
>>>> on this server." This feels more like home toto.
>>>> 
>>>> now on a first name basis with Spawn,
>>>> 
>>>> Tim
>>>> 
>>>> On May 8, 2013, at 10:29 AM, Tim Worman  wrote:
>>>> 
>>>>> Honestly, I've tried numerous different things in /etc/hosts. 
>>>>> Currently,this is what I have in there:
>>>>> 
>>>>> 127.0.0.1   localhost localhost.localdomain  
>>>>>.local   
>>>>> 
>>>>> The loopback entries are pretty much the default I think. I really 
>>>>> appreciate all the advice - it's got to be something close.
>>>>> 
>>>>> Tim
>>>>> 
>>>>> On May 8, 2013, at 4:03 AM, Altera WO Team  wrote:
>>>>> 
>>>>>> Hi Tim,
>>>>>> 
>>>>>> what do you have in /etc/hosts ?
>>>>>> 
>>>>>> I had to put:
>>>>>> 
>>>>>> 127.0.0.1 localhost
>>>>>> ipaddress hostname
>>>>>> 
>>>>>> On a Centos 6.4 i had to fix that before being able to make an app 
>>>>>> launch via wotaskd, regardless of what i put in the properties…
>>>>>> 
>>>>>> Matteo
>>>>>> 
>>>>>> On 08/mag/2013, at 00:38, Tim Worman  wrote:
>>>>>> 
>>>>>>> I just had to double-check. I wish that had been the issue.
>>>>>>> 
>>>>>>> [worman@ ~]$ sestatus
>>>>>>> SELinux status: disabled
>>>>>>> 
>>>>>>> On May 7, 2013, at 2:43 PM, Hugi Thordarson  wrote:
>>>>>>> 
>>>>>>>> Have you tried disabling SElinux? You can do it temporarily by issuing:
>>>>>>>> 
>>>>>>>> echo 0 >/selinux/enforce
>>>>>>>> 
>>>>>>>> And then restart your perforce in fences isms.
>>>>>>>> 
>>>>>>>> - huge
>&g

Re: centos 6.2 - pulling my hair out (PARTIALLY SOLVED)

2013-05-08 Thread Tim Worman
Oh….my……God. Done. I had changed that ….. and changed it back. So, I'm only 
guilty of temporary insanity - as far as you know.

So, what do you make of the thing I raised about SpawnOfWotaskd.sh? Is what I 
suggested about the LOG path possible?

Tim

On May 8, 2013, at 10:53 AM, Chuck Hill  wrote:

> This is sounding less painful now.  :-)
> 
> Check the WO configuration for Apache:
> 
> # Host List Configuration
> # wotaskd is started automatically on supported platforms,
> # so this is the default mode.
> # The apache module gets its configuration from the wotaskds
> # listed on the configuration line
> # For multiple hosts:
> # WebObjectsConfig 
> http://:,http://:
>  
> # For localhost:
> WebObjectsConfig http://localhost:1085 10
> 
> 
> Does that host name match what you used in WOHost?
> 
> 
> Chuck
> 
> 
> On 2013-05-08, at 10:50 AM, Tim Worman wrote:
> 
>> The app runs now but I get the dreaded "The requested application was not 
>> found on this server."
>> 
>> 
>> SpawnOfWotaskd.sh has this:
>> 
>> # Log messages will be written to:
>> LOG=/Library/WebObjects/Logs
>> 
>> That path does not exist on CentOS. The script tries to log to that path 
>> when /tmp/logWebObjects exists. It will exist when someone is trying to 
>> solve problems. Is there any chance that when /tmp/logWebObjects exists, and 
>> Spawn tries to write to the path (and can't) there could be a failure 
>> launching the app?
>> 
>> I changed LOG assignment to /opt/Local/Library/WebObjects/Logs in the script 
>> and now the app launches.
>> 
>> 
>> So, now I have to figure out why  "The requested application was not found 
>> on this server." This feels more like home toto.
>> 
>> now on a first name basis with Spawn,
>> 
>> Tim
>> 
>> On May 8, 2013, at 10:29 AM, Tim Worman  wrote:
>> 
>>> Honestly, I've tried numerous different things in /etc/hosts. 
>>> Currently,this is what I have in there:
>>> 
>>> 127.0.0.1   localhost localhost.localdomain  
>>>.local 
>>> 
>>> The loopback entries are pretty much the default I think. I really 
>>> appreciate all the advice - it's got to be something close.
>>> 
>>> Tim
>>> 
>>> On May 8, 2013, at 4:03 AM, Altera WO Team  wrote:
>>> 
>>>> Hi Tim,
>>>> 
>>>> what do you have in /etc/hosts ?
>>>> 
>>>> I had to put:
>>>> 
>>>> 127.0.0.1 localhost
>>>> ipaddress hostname
>>>> 
>>>> On a Centos 6.4 i had to fix that before being able to make an app launch 
>>>> via wotaskd, regardless of what i put in the properties…
>>>> 
>>>> Matteo
>>>> 
>>>> On 08/mag/2013, at 00:38, Tim Worman  wrote:
>>>> 
>>>>> I just had to double-check. I wish that had been the issue.
>>>>> 
>>>>> [worman@ ~]$ sestatus
>>>>> SELinux status: disabled
>>>>> 
>>>>> On May 7, 2013, at 2:43 PM, Hugi Thordarson  wrote:
>>>>> 
>>>>>> Have you tried disabling SElinux? You can do it temporarily by issuing:
>>>>>> 
>>>>>> echo 0 >/selinux/enforce
>>>>>> 
>>>>>> And then restart your perforce in fences isms.
>>>>>> 
>>>>>> - huge
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> On 7.5.2013, at 18:47, Tim Worman  wrote:
>>>>>> 
>>>>>>> Hoping someone can nudge me toward whatever is keeping my app from 
>>>>>>> running. I have never had so much difficulty getting a deployment 
>>>>>>> going. The main symptom I'm seeing right now is that my app simply will 
>>>>>>> not complete a launch from JavaMonitor. The On/Off image just flicks up 
>>>>>>> and down until a death is logged. Nothing meaningful is logged to 
>>>>>>> /tmp/WebObjects.log.
>>>>>>> 
>>>>>>> Every particular I can think of:
>>>>>>> 
>>>>>>> 1. Linode, Centos 6.2
>>>>>>> 2. used the wocommunity rpms to install wo bits
>>>>>>> 3. WOHost deliberately set to the hostname in wotaskd, JavaMonitor, and 
>>>>>>> app Properties
>>>>>>> 4. forward/revers

Re: centos 6.2 - pulling my hair out (PARTIALLY SOLVED)

2013-05-08 Thread Tim Worman
The app runs now but I get the dreaded "The requested application was not found 
on this server."


SpawnOfWotaskd.sh has this:

# Log messages will be written to:
LOG=/Library/WebObjects/Logs

That path does not exist on CentOS. The script tries to log to that path when 
/tmp/logWebObjects exists. It will exist when someone is trying to solve 
problems. Is there any chance that when /tmp/logWebObjects exists, and Spawn 
tries to write to the path (and can't) there could be a failure launching the 
app?

I changed LOG assignment to /opt/Local/Library/WebObjects/Logs in the script 
and now the app launches.


So, now I have to figure out why  "The requested application was not found on 
this server." This feels more like home toto.

now on a first name basis with Spawn,

Tim

On May 8, 2013, at 10:29 AM, Tim Worman  wrote:

> Honestly, I've tried numerous different things in /etc/hosts. Currently,this 
> is what I have in there:
> 
> 127.0.0.1   localhost localhost.localdomain  
>.local   
> 
> The loopback entries are pretty much the default I think. I really appreciate 
> all the advice - it's got to be something close.
> 
> Tim
> 
> On May 8, 2013, at 4:03 AM, Altera WO Team  wrote:
> 
>> Hi Tim,
>> 
>> what do you have in /etc/hosts ?
>> 
>> I had to put:
>> 
>> 127.0.0.1 localhost
>> ipaddress hostname
>> 
>> On a Centos 6.4 i had to fix that before being able to make an app launch 
>> via wotaskd, regardless of what i put in the properties…
>> 
>> Matteo
>> 
>> On 08/mag/2013, at 00:38, Tim Worman  wrote:
>> 
>>> I just had to double-check. I wish that had been the issue.
>>> 
>>> [worman@ ~]$ sestatus
>>> SELinux status: disabled
>>> 
>>> On May 7, 2013, at 2:43 PM, Hugi Thordarson  wrote:
>>> 
>>>> Have you tried disabling SElinux? You can do it temporarily by issuing:
>>>> 
>>>> echo 0 >/selinux/enforce
>>>> 
>>>> And then restart your perforce in fences isms.
>>>> 
>>>> - huge
>>>> 
>>>> 
>>>> 
>>>> On 7.5.2013, at 18:47, Tim Worman  wrote:
>>>> 
>>>>> Hoping someone can nudge me toward whatever is keeping my app from 
>>>>> running. I have never had so much difficulty getting a deployment going. 
>>>>> The main symptom I'm seeing right now is that my app simply will not 
>>>>> complete a launch from JavaMonitor. The On/Off image just flicks up and 
>>>>> down until a death is logged. Nothing meaningful is logged to 
>>>>> /tmp/WebObjects.log.
>>>>> 
>>>>> Every particular I can think of:
>>>>> 
>>>>> 1. Linode, Centos 6.2
>>>>> 2. used the wocommunity rpms to install wo bits
>>>>> 3. WOHost deliberately set to the hostname in wotaskd, JavaMonitor, and 
>>>>> app Properties
>>>>> 4. forward/reverse dns working properly with hostname
>>>>> 5. wotaskd config can be reached at http://:1085
>>>>> 6. JavaMonitor is running and can be reached.
>>>>> 7. App instance is set to log to /opt/Local/Library/WebObjects/Logs - 
>>>>> nothing is written to the log when trying to launch the app
>>>>> 8. WebObjectsAlias /apps/WebObjects
>>>>> 9. mod_WebObjects loading before mod_rewrite
>>>>> 10. from my main apache conf
>>>>> Alias /WebObjects "/var/www/html/WebObjects"
>>>>> 
>>>>>  AllowOverride All
>>>>>  Order allow,deny
>>>>>  Allow from all
>>>>> 
>>>>> 
>>>>> 
>>>>> 
>>>>> Order allow,deny
>>>>> Allow from all
>>>>> 
>>>>> 
>>>>> 11. from setting up linux on the wiki, I created 
>>>>> /etc/WebObjects/Properties -> 
>>>>> er.extensions.WOHostUtilities.localhostips=()
>>>>> That suggestion is for addressing the symptom I'm experiencing.
>>>>> 
>>>>> 12. all apps have appserver/appserveradm ownership
>>>>> 
>>>>> Anyone have any ideas they can throw my way?  Please. :-)
>>>>> 
>>>>> Tim
>>>>> ___
>>>>> Do not post admin requests to the list. They will be ignored.
>>>>> Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
>>>

Re: centos 6.2 - pulling my hair out

2013-05-08 Thread Tim Worman
Honestly, I've tried numerous different things in /etc/hosts. Currently,this is 
what I have in there:

127.0.0.1   localhost localhost.localdomain  
   .local 

The loopback entries are pretty much the default I think. I really appreciate 
all the advice - it's got to be something close.

Tim

On May 8, 2013, at 4:03 AM, Altera WO Team  wrote:

> Hi Tim,
> 
> what do you have in /etc/hosts ?
> 
> I had to put:
> 
> 127.0.0.1 localhost
> ipaddress hostname
> 
> On a Centos 6.4 i had to fix that before being able to make an app launch via 
> wotaskd, regardless of what i put in the properties…
> 
> Matteo
> 
> On 08/mag/2013, at 00:38, Tim Worman  wrote:
> 
>> I just had to double-check. I wish that had been the issue.
>> 
>> [worman@ ~]$ sestatus
>> SELinux status: disabled
>> 
>> On May 7, 2013, at 2:43 PM, Hugi Thordarson  wrote:
>> 
>>> Have you tried disabling SElinux? You can do it temporarily by issuing:
>>> 
>>> echo 0 >/selinux/enforce
>>> 
>>> And then restart your perforce in fences isms.
>>> 
>>> - huge
>>> 
>>> 
>>> 
>>> On 7.5.2013, at 18:47, Tim Worman  wrote:
>>> 
>>>> Hoping someone can nudge me toward whatever is keeping my app from 
>>>> running. I have never had so much difficulty getting a deployment going. 
>>>> The main symptom I'm seeing right now is that my app simply will not 
>>>> complete a launch from JavaMonitor. The On/Off image just flicks up and 
>>>> down until a death is logged. Nothing meaningful is logged to 
>>>> /tmp/WebObjects.log.
>>>> 
>>>> Every particular I can think of:
>>>> 
>>>> 1. Linode, Centos 6.2
>>>> 2. used the wocommunity rpms to install wo bits
>>>> 3. WOHost deliberately set to the hostname in wotaskd, JavaMonitor, and 
>>>> app Properties
>>>> 4. forward/reverse dns working properly with hostname
>>>> 5. wotaskd config can be reached at http://:1085
>>>> 6. JavaMonitor is running and can be reached.
>>>> 7. App instance is set to log to /opt/Local/Library/WebObjects/Logs - 
>>>> nothing is written to the log when trying to launch the app
>>>> 8. WebObjectsAlias /apps/WebObjects
>>>> 9. mod_WebObjects loading before mod_rewrite
>>>> 10. from my main apache conf
>>>> Alias /WebObjects "/var/www/html/WebObjects"
>>>> 
>>>>   AllowOverride All
>>>>   Order allow,deny
>>>>   Allow from all
>>>> 
>>>> 
>>>> 
>>>> 
>>>> Order allow,deny
>>>> Allow from all
>>>> 
>>>> 
>>>> 11. from setting up linux on the wiki, I created 
>>>> /etc/WebObjects/Properties -> 
>>>> er.extensions.WOHostUtilities.localhostips=()
>>>> That suggestion is for addressing the symptom I'm experiencing.
>>>> 
>>>> 12. all apps have appserver/appserveradm ownership
>>>> 
>>>> Anyone have any ideas they can throw my way?  Please. :-)
>>>> 
>>>> Tim
>>>> ___
>>>> 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:
>>>> https://lists.apple.com/mailman/options/webobjects-dev/hugi%40karlmenn.is
>>>> 
>>>> This email sent to h...@karlmenn.is
>>> 
>> 
>> 
>> ___
>> 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:
>> https://lists.apple.com/mailman/options/webobjects-dev/webobjects%40altera.it
>> 
>> This email sent to webobje...@altera.it
> 


 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: centos 6.2 - pulling my hair out

2013-05-07 Thread Tim Worman
I just had to double-check. I wish that had been the issue.

[worman@ ~]$ sestatus
SELinux status: disabled

On May 7, 2013, at 2:43 PM, Hugi Thordarson  wrote:

> Have you tried disabling SElinux? You can do it temporarily by issuing:
> 
> echo 0 >/selinux/enforce
> 
> And then restart your perforce in fences isms.
> 
> - huge
> 
> 
> 
> On 7.5.2013, at 18:47, Tim Worman  wrote:
> 
>> Hoping someone can nudge me toward whatever is keeping my app from running. 
>> I have never had so much difficulty getting a deployment going. The main 
>> symptom I'm seeing right now is that my app simply will not complete a 
>> launch from JavaMonitor. The On/Off image just flicks up and down until a 
>> death is logged. Nothing meaningful is logged to /tmp/WebObjects.log.
>> 
>> Every particular I can think of:
>> 
>> 1. Linode, Centos 6.2
>> 2. used the wocommunity rpms to install wo bits
>> 3. WOHost deliberately set to the hostname in wotaskd, JavaMonitor, and app 
>> Properties
>> 4. forward/reverse dns working properly with hostname
>> 5. wotaskd config can be reached at http://:1085
>> 6. JavaMonitor is running and can be reached.
>> 7. App instance is set to log to /opt/Local/Library/WebObjects/Logs - 
>> nothing is written to the log when trying to launch the app
>> 8. WebObjectsAlias /apps/WebObjects
>> 9. mod_WebObjects loading before mod_rewrite
>> 10. from my main apache conf
>> Alias /WebObjects "/var/www/html/WebObjects"
>> 
>> AllowOverride All
>> Order allow,deny
>> Allow from all
>> 
>> 
>> 
>> 
>>   Order allow,deny
>>   Allow from all
>> 
>> 
>> 11. from setting up linux on the wiki, I created /etc/WebObjects/Properties 
>> -> er.extensions.WOHostUtilities.localhostips=()
>> That suggestion is for addressing the symptom I'm experiencing.
>> 
>> 12. all apps have appserver/appserveradm ownership
>> 
>> Anyone have any ideas they can throw my way?  Please. :-)
>> 
>> Tim
>> ___
>> 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:
>> https://lists.apple.com/mailman/options/webobjects-dev/hugi%40karlmenn.is
>> 
>> This email sent to h...@karlmenn.is
> 


 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: centos 6.2 - pulling my hair out

2013-05-07 Thread Tim Worman
On May 7, 2013, at 2:12 PM, Chuck Hill  wrote:

> Have you double checked this:
>>>>> 3. WOHost deliberately set to the hostname in wotaskd, JavaMonitor, and 
>>>>> app Properties

Yeah, just checked for the umpteenth time. I'm explicitly setting 
WOHost= in the Properties file for all three.

>>>>> 4. forward/reverse dns working properly with hostname

nslookup 
nslookup 

…from a remote location (and from the host itself) return each other as values.

> In wotaskd.woa/Contents/Resources there is a file named SpawnOfWotaskd.sh
> The default is this:
> $@ 1>/dev/null 2>&1 & 

I'll try this next. Thanks for all the suggestions.

> Change that to a real path and see if you get anything useful.
> 
> 
> Chuck
> 
> On 2013-05-07, at 1:37 PM, Tim Worman wrote:
> 
>> Thanks Chuck.
>> 
>> The permissions are good all the way through to 
>> /opt/Local/Library/WebObjects/Logs. wotaskd is running as appserver 
>> according to ps. So, wotaskd should be launching my app as appserver, 
>> correct? It's crazy - I am able to launch my app on the command line (as 
>> appserver - 498) with all the arguments from JavaMonitor. ps indicates all 
>> three apps are owned by 498 - and a log is created in 
>> /opt/Local/Library/WebObjects/Logs.
>> 
>> But it refuses to launch from within JavaMonitor. The soup thickens.
>> 
>> T
>> 
>> On May 7, 2013, at 12:10 PM, Chuck Hill  wrote:
>> 
>>> I think the permissions need to be correct all through the path, not just 
>>> at the last directory.
>>> 
>>> Chuck
>>> 
>>> 
>>> On 2013-05-07, at 11:59 AM, Tim Worman wrote:
>>> 
>>>> On May 7, 2013, at 11:52 AM, Chuck Hill  wrote:
>>>> 
>>>>> Hi Tim,
>>>>> 
>>>>>> 7. App instance is set to log to /opt/Local/Library/WebObjects/Logs - 
>>>>>> nothing is written to the log when trying to launch the app
>>>>> 
>>>>> That usually means that the app does not have permissions to create 
>>>>> file/write files in that directory.  Try copying all of the extra 
>>>>> parameters out of JavaMonitor and launching from the command line.  Now 
>>>>> try that again as the user who wotaskd is running under.
>>>>> 
>>>>> 
>>>>> Chuck
>>>> 
>>>> Thanks Ken and Chuck. I'll look that direction for a bit. I tried setting 
>>>> permissions to 777 about 2 hours ago on /opt/Local/Library/WebObjects/Logs 
>>>> - just as a test - but it didn't help. I'll try your suggestion.
>>>> 
>>>> I'ts been a long time since I've been this burned about a deployment. :-)
>>>> 
>>>> Tim
>>>> 
>>>>> On 2013-05-07, at 11:47 AM, Tim Worman wrote:
>>>>> 
>>>>>> Hoping someone can nudge me toward whatever is keeping my app from 
>>>>>> running. I have never had so much difficulty getting a deployment going. 
>>>>>> The main symptom I'm seeing right now is that my app simply will not 
>>>>>> complete a launch from JavaMonitor. The On/Off image just flicks up and 
>>>>>> down until a death is logged. Nothing meaningful is logged to 
>>>>>> /tmp/WebObjects.log.
>>>>>> 
>>>>>> Every particular I can think of:
>>>>>> 
>>>>>> 1. Linode, Centos 6.2
>>>>>> 2. used the wocommunity rpms to install wo bits
>>>>>> 3. WOHost deliberately set to the hostname in wotaskd, JavaMonitor, and 
>>>>>> app Properties
>>>>>> 4. forward/reverse dns working properly with hostname
>>>>>> 5. wotaskd config can be reached at http://:1085
>>>>>> 6. JavaMonitor is running and can be reached.
>>>>>> 7. App instance is set to log to /opt/Local/Library/WebObjects/Logs - 
>>>>>> nothing is written to the log when trying to launch the app
>>>>>> 8. WebObjectsAlias /apps/WebObjects
>>>>>> 9. mod_WebObjects loading before mod_rewrite
>>>>>> 10. from my main apache conf
>>>>>> Alias /WebObjects "/var/www/html/WebObjects"
>>>>>> 
>>>>>> AllowOverride All
>>>>>> Order allow,deny
>>>>>> Allow from all
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> 
>&

Re: centos 6.2 - pulling my hair out

2013-05-07 Thread Tim Worman
I disabled SELinux on setup. :-) I figured it'd be better to mess with it later.

Tim

On May 7, 2013, at 2:43 PM, Hugi Thordarson  wrote:

> Have you tried disabling SElinux? You can do it temporarily by issuing:
> 
> echo 0 >/selinux/enforce
> 
> And then restart your perforce in fences isms.
> 
> - huge
> 
> 
> 
> On 7.5.2013, at 18:47, Tim Worman  wrote:
> 
>> Hoping someone can nudge me toward whatever is keeping my app from running. 
>> I have never had so much difficulty getting a deployment going. The main 
>> symptom I'm seeing right now is that my app simply will not complete a 
>> launch from JavaMonitor. The On/Off image just flicks up and down until a 
>> death is logged. Nothing meaningful is logged to /tmp/WebObjects.log.
>> 
>> Every particular I can think of:
>> 
>> 1. Linode, Centos 6.2
>> 2. used the wocommunity rpms to install wo bits
>> 3. WOHost deliberately set to the hostname in wotaskd, JavaMonitor, and app 
>> Properties
>> 4. forward/reverse dns working properly with hostname
>> 5. wotaskd config can be reached at http://:1085
>> 6. JavaMonitor is running and can be reached.
>> 7. App instance is set to log to /opt/Local/Library/WebObjects/Logs - 
>> nothing is written to the log when trying to launch the app
>> 8. WebObjectsAlias /apps/WebObjects
>> 9. mod_WebObjects loading before mod_rewrite
>> 10. from my main apache conf
>> Alias /WebObjects "/var/www/html/WebObjects"
>> 
>> AllowOverride All
>> Order allow,deny
>> Allow from all
>> 
>> 
>> 
>> 
>>   Order allow,deny
>>   Allow from all
>> 
>> 
>> 11. from setting up linux on the wiki, I created /etc/WebObjects/Properties 
>> -> er.extensions.WOHostUtilities.localhostips=()
>> That suggestion is for addressing the symptom I'm experiencing.
>> 
>> 12. all apps have appserver/appserveradm ownership
>> 
>> Anyone have any ideas they can throw my way?  Please. :-)
>> 
>> Tim
>> ___
>> 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:
>> https://lists.apple.com/mailman/options/webobjects-dev/hugi%40karlmenn.is
>> 
>> This email sent to h...@karlmenn.is
> 


 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: centos 6.2 - pulling my hair out

2013-05-07 Thread Tim Worman
Daniel:

The file /etc/WebObjects/Properties - I have created that entry for the 
localhostips and it has the external IP for the server. I've tried different 
variations of entries in /etc/hosts. I'll try an entry like you recommended.

Tim

On May 7, 2013, at 2:32 PM, D Fedak  wrote:

> Just my two centos's ;)
> 
> If you're not on a DNS server, make sure that /etc/hosts has a static entry:
> 
> e.g.
> 192.168.1.101myserver.local
> -
> 
> Make sure there is a global 'Properties' file in the following location:
> mkdir -p /etc/WebObjects
> vi /etc/WebObjects/Properties
> 
> Add this single line to the above Properties file:
> er.extensions.WOHostUtilities.localhostips=(192.168.1.101)
> 
> That may or may not do the trick. I also tend to disable CentOSs SELinux, as 
> I find it a pain.
> 
> Restart WOTaskd and javamonitor and hopefully you might have some luck.
> 
> Thanks,
> Daniel
> 
> VPT
> Building 3, Chiswick Park, 
> 566 Chiswick High Road, 
> London
> W4 5YA
> United Kingdom
> 
> Tel: +44 (0)208 899 6576
> 
> Vocal Planet Ltd t/a VPT,  registered office Building 3, Chiswick Park, 566 
> Chiswick High Road, London, W4 5YA, United Kingdom. Registered in England and 
> Wales, number 3449503
> 
> This e-mail is only intended for the person(s) to whom it is addressed and 
> may contain confidential information.  Unless stated to the contrary, any 
> opinions or comments are personal to the writer and do not represent the 
> official view of the company.  If you have received this e-mail in error, 
> please notify us immediately by reply e-mail and then delete this message 
> from your system.  Please do not copy it or use it for any purposes, or 
> disclose its contents to any other person.  Thank you for your co-operation.
> 
> On 7 May 2013, at 22:12, Chuck Hill  wrote:
> 
>> Have you double checked this:
>>>>>> 3. WOHost deliberately set to the hostname in wotaskd, JavaMonitor, and 
>>>>>> app Properties
>>>>>> 4. forward/reverse dns working properly with hostname
>> 
>> In wotaskd.woa/Contents/Resources there is a file named SpawnOfWotaskd.sh
>> The default is this:
>> $@ 1>/dev/null 2>&1 & 
>> 
>> Change that to a real path and see if you get anything useful.
>> 
>> 
>> Chuck
>> 
>> 
>> 
>> On 2013-05-07, at 1:37 PM, Tim Worman wrote:
>> 
>>> Thanks Chuck.
>>> 
>>> The permissions are good all the way through to 
>>> /opt/Local/Library/WebObjects/Logs. wotaskd is running as appserver 
>>> according to ps. So, wotaskd should be launching my app as appserver, 
>>> correct? It's crazy - I am able to launch my app on the command line (as 
>>> appserver - 498) with all the arguments from JavaMonitor. ps indicates all 
>>> three apps are owned by 498 - and a log is created in 
>>> /opt/Local/Library/WebObjects/Logs.
>>> 
>>> But it refuses to launch from within JavaMonitor. The soup thickens.
>>> 
>>> T
>>> 
>>> On May 7, 2013, at 12:10 PM, Chuck Hill  wrote:
>>> 
>>>> I think the permissions need to be correct all through the path, not just 
>>>> at the last directory.
>>>> 
>>>> Chuck
>>>> 
>>>> 
>>>> On 2013-05-07, at 11:59 AM, Tim Worman wrote:
>>>> 
>>>>> On May 7, 2013, at 11:52 AM, Chuck Hill  wrote:
>>>>> 
>>>>>> Hi Tim,
>>>>>> 
>>>>>>> 7. App instance is set to log to /opt/Local/Library/WebObjects/Logs - 
>>>>>>> nothing is written to the log when trying to launch the app
>>>>>> 
>>>>>> That usually means that the app does not have permissions to create 
>>>>>> file/write files in that directory.  Try copying all of the extra 
>>>>>> parameters out of JavaMonitor and launching from the command line.  Now 
>>>>>> try that again as the user who wotaskd is running under.
>>>>>> 
>>>>>> 
>>>>>> Chuck
>>>>> 
>>>>> Thanks Ken and Chuck. I'll look that direction for a bit. I tried setting 
>>>>> permissions to 777 about 2 hours ago on 
>>>>> /opt/Local/Library/WebObjects/Logs - just as a test - but it didn't help. 
>>>>> I'll try your suggestion.
>>>>> 
>>>>> I'ts been a long time since I've been this burned about a deployment. :-)
>>>>> 

Re: centos 6.2 - pulling my hair out

2013-05-07 Thread Tim Worman
Thanks Chuck.

The permissions are good all the way through to 
/opt/Local/Library/WebObjects/Logs. wotaskd is running as appserver according 
to ps. So, wotaskd should be launching my app as appserver, correct? It's crazy 
- I am able to launch my app on the command line (as appserver - 498) with all 
the arguments from JavaMonitor. ps indicates all three apps are owned by 498 - 
and a log is created in /opt/Local/Library/WebObjects/Logs.

But it refuses to launch from within JavaMonitor. The soup thickens.

T

On May 7, 2013, at 12:10 PM, Chuck Hill  wrote:

> I think the permissions need to be correct all through the path, not just at 
> the last directory.
> 
> Chuck
> 
> 
> On 2013-05-07, at 11:59 AM, Tim Worman wrote:
> 
>> On May 7, 2013, at 11:52 AM, Chuck Hill  wrote:
>> 
>>> Hi Tim,
>>> 
>>>> 7. App instance is set to log to /opt/Local/Library/WebObjects/Logs - 
>>>> nothing is written to the log when trying to launch the app
>>> 
>>> That usually means that the app does not have permissions to create 
>>> file/write files in that directory.  Try copying all of the extra 
>>> parameters out of JavaMonitor and launching from the command line.  Now try 
>>> that again as the user who wotaskd is running under.
>>> 
>>> 
>>> Chuck
>> 
>> Thanks Ken and Chuck. I'll look that direction for a bit. I tried setting 
>> permissions to 777 about 2 hours ago on /opt/Local/Library/WebObjects/Logs - 
>> just as a test - but it didn't help. I'll try your suggestion.
>> 
>> I'ts been a long time since I've been this burned about a deployment. :-)
>> 
>> Tim
>> 
>>> On 2013-05-07, at 11:47 AM, Tim Worman wrote:
>>> 
>>>> Hoping someone can nudge me toward whatever is keeping my app from 
>>>> running. I have never had so much difficulty getting a deployment going. 
>>>> The main symptom I'm seeing right now is that my app simply will not 
>>>> complete a launch from JavaMonitor. The On/Off image just flicks up and 
>>>> down until a death is logged. Nothing meaningful is logged to 
>>>> /tmp/WebObjects.log.
>>>> 
>>>> Every particular I can think of:
>>>> 
>>>> 1. Linode, Centos 6.2
>>>> 2. used the wocommunity rpms to install wo bits
>>>> 3. WOHost deliberately set to the hostname in wotaskd, JavaMonitor, and 
>>>> app Properties
>>>> 4. forward/reverse dns working properly with hostname
>>>> 5. wotaskd config can be reached at http://:1085
>>>> 6. JavaMonitor is running and can be reached.
>>>> 7. App instance is set to log to /opt/Local/Library/WebObjects/Logs - 
>>>> nothing is written to the log when trying to launch the app
>>>> 8. WebObjectsAlias /apps/WebObjects
>>>> 9. mod_WebObjects loading before mod_rewrite
>>>> 10. from my main apache conf
>>>> Alias /WebObjects "/var/www/html/WebObjects"
>>>> 
>>>>   AllowOverride All
>>>>   Order allow,deny
>>>>   Allow from all
>>>> 
>>>> 
>>>> 
>>>> 
>>>> Order allow,deny
>>>> Allow from all
>>>> 
>>>> 
>>>> 11. from setting up linux on the wiki, I created 
>>>> /etc/WebObjects/Properties -> 
>>>> er.extensions.WOHostUtilities.localhostips=()
>>>> That suggestion is for addressing the symptom I'm experiencing.
>>>> 
>>>> 12. all apps have appserver/appserveradm ownership
>>>> 
>>>> Anyone have any ideas they can throw my way?  Please. :-)
>>>> 
>>>> Tim
>>>> ___
>>>> 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:
>>>> https://lists.apple.com/mailman/options/webobjects-dev/chill%40global-village.net
>>>> 
>>>> This email sent to ch...@global-village.net
>>> 
>>> -- 
>>> Chuck Hill 
>>> Executive Managing Partner, VP Development and Technical Services
>>> 
>>> 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/gvc/practical_webobjects
>>> 
>>> Global Village Consulting ranks 13th in 2012

Re: centos 6.2 - pulling my hair out

2013-05-07 Thread Tim Worman
On May 7, 2013, at 11:52 AM, Chuck Hill  wrote:

> Hi Tim,
> 
>> 7. App instance is set to log to /opt/Local/Library/WebObjects/Logs - 
>> nothing is written to the log when trying to launch the app
> 
> That usually means that the app does not have permissions to create 
> file/write files in that directory.  Try copying all of the extra parameters 
> out of JavaMonitor and launching from the command line.  Now try that again 
> as the user who wotaskd is running under.
> 
> 
> Chuck

Thanks Ken and Chuck. I'll look that direction for a bit. I tried setting 
permissions to 777 about 2 hours ago on /opt/Local/Library/WebObjects/Logs - 
just as a test - but it didn't help. I'll try your suggestion.

I'ts been a long time since I've been this burned about a deployment. :-)

Tim

> On 2013-05-07, at 11:47 AM, Tim Worman wrote:
> 
>> Hoping someone can nudge me toward whatever is keeping my app from running. 
>> I have never had so much difficulty getting a deployment going. The main 
>> symptom I'm seeing right now is that my app simply will not complete a 
>> launch from JavaMonitor. The On/Off image just flicks up and down until a 
>> death is logged. Nothing meaningful is logged to /tmp/WebObjects.log.
>> 
>> Every particular I can think of:
>> 
>> 1. Linode, Centos 6.2
>> 2. used the wocommunity rpms to install wo bits
>> 3. WOHost deliberately set to the hostname in wotaskd, JavaMonitor, and app 
>> Properties
>> 4. forward/reverse dns working properly with hostname
>> 5. wotaskd config can be reached at http://:1085
>> 6. JavaMonitor is running and can be reached.
>> 7. App instance is set to log to /opt/Local/Library/WebObjects/Logs - 
>> nothing is written to the log when trying to launch the app
>> 8. WebObjectsAlias /apps/WebObjects
>> 9. mod_WebObjects loading before mod_rewrite
>> 10. from my main apache conf
>> Alias /WebObjects "/var/www/html/WebObjects"
>> 
>> AllowOverride All
>> Order allow,deny
>> Allow from all
>> 
>> 
>> 
>> 
>>   Order allow,deny
>>   Allow from all
>> 
>> 
>> 11. from setting up linux on the wiki, I created /etc/WebObjects/Properties 
>> -> er.extensions.WOHostUtilities.localhostips=()
>> That suggestion is for addressing the symptom I'm experiencing.
>> 
>> 12. all apps have appserver/appserveradm ownership
>> 
>> Anyone have any ideas they can throw my way?  Please. :-)
>> 
>> Tim
>> ___
>> 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:
>> https://lists.apple.com/mailman/options/webobjects-dev/chill%40global-village.net
>> 
>> This email sent to ch...@global-village.net
> 
> -- 
> Chuck Hill 
> Executive Managing Partner, VP Development and Technical Services
> 
> 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/gvc/practical_webobjects
> 
> Global Village Consulting ranks 13th in 2012 in BIV's Top 100 Fastest Growing 
> Companies in B.C! 
> Global Village Consulting ranks 76th in 24th annual PROFIT 200 ranking of 
> Canada’s Fastest-Growing Companies by PROFIT Magazine!
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 


 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

centos 6.2 - pulling my hair out

2013-05-07 Thread Tim Worman
Hoping someone can nudge me toward whatever is keeping my app from running. I 
have never had so much difficulty getting a deployment going. The main symptom 
I'm seeing right now is that my app simply will not complete a launch from 
JavaMonitor. The On/Off image just flicks up and down until a death is logged. 
Nothing meaningful is logged to /tmp/WebObjects.log.

Every particular I can think of:

1. Linode, Centos 6.2
2. used the wocommunity rpms to install wo bits
3. WOHost deliberately set to the hostname in wotaskd, JavaMonitor, and app 
Properties
4. forward/reverse dns working properly with hostname
5. wotaskd config can be reached at http://:1085
6. JavaMonitor is running and can be reached.
7. App instance is set to log to /opt/Local/Library/WebObjects/Logs - nothing 
is written to the log when trying to launch the app
8. WebObjectsAlias /apps/WebObjects
9. mod_WebObjects loading before mod_rewrite
10. from my main apache conf
Alias /WebObjects "/var/www/html/WebObjects"

  AllowOverride All
  Order allow,deny
  Allow from all




Order allow,deny
Allow from all


11. from setting up linux on the wiki, I created /etc/WebObjects/Properties -> 
er.extensions.WOHostUtilities.localhostips=()
That suggestion is for addressing the symptom I'm experiencing.

12. all apps have appserver/appserveradm ownership

Anyone have any ideas they can throw my way?  Please. :-)

Tim
 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: D2W restrictingFetchSpecification Question

2013-05-04 Thread Tim Worman
Hey Johnny:

You probably have more D2W experience than me. But I thought the query source 
delegate worked any time the entity in question was requested. Depending on 
what package your query delegate is in it seems a session object could be 
passed to the delegate - or via ERXThreadStorage?

Tim

On May 3, 2013, at 9:34 PM, Johnny Miller  wrote:

> Hi Tim,
> 
> Do you think it's possible to use the query source delegate with a list page?
>  
> I don't see how you can use a delegate with the list page - do you know how?  
> 
> I'm thinking I might have to override the setupPhase method in my subclass of 
> ERD2WListPage and create something similar to the extraRestrictingQualifier 
> key.
> 
> Thanks,
> 
> Johnny
> 
> 
> 
> On May 3, 2013, at 5:19 PM, Tim Worman  wrote:
> 
>> Hi Johnny:
>> 
>> I haven't used the restrictingFetchSpecification before. But I have used a 
>> query data source delegate that implements 
>> ERDQueryDataSourceDelegateInterface. There's an example on the wiki on the 
>> wiki in the D2W flow control article. You may already know about that option 
>> - but throwing it out just in case.
>> 
>> http://wiki.wocommunity.org/display/documentation/D2W+Flow+Control
>> 
>> Tim
>> 
>> On May 3, 2013, at 8:12 PM, Johnny Miller  wrote:
>> 
>>> Hi,
>>> 
>>> I want to add an automatic qualifier binding to a number of my list pages.
>>> 
>>> And I'm just not quite getting how to use the restrictingFetchSpecification 
>>> key.  
>>> 
>>> If I want my qualifier to be based upon an object in my session how do I 
>>> create the qualifier?  I see that I can put a variable in the qualifier 
>>> that gets created in the EOModel but how do I tell D2W to substitute the 
>>> variable with my session object at runtime?
>>> 
>>> Thanks in advance,
>>> 
>>> Aloha,
>>> Mr. Johnny Miller
>>> Web Development Manager
>>> Kahalawai Media Company
>>> Lahaina, HI 96761
>>> tel: (808) 661-7962 | mobile: (808) 283-0791
>>> website | e-mail
>>> 
>>> ___
>>> 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:
>>> https://lists.apple.com/mailman/options/webobjects-dev/lists%40thetimmy.com
>>> 
>>> This email sent to li...@thetimmy.com
>> 
> 


 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: D2W restrictingFetchSpecification Question

2013-05-03 Thread Tim Worman
Hi Johnny:

I haven't used the restrictingFetchSpecification before. But I have used a 
query data source delegate that implements ERDQueryDataSourceDelegateInterface. 
There's an example on the wiki on the wiki in the D2W flow control article. You 
may already know about that option - but throwing it out just in case.

http://wiki.wocommunity.org/display/documentation/D2W+Flow+Control

Tim

On May 3, 2013, at 8:12 PM, Johnny Miller  wrote:

> Hi,
> 
> I want to add an automatic qualifier binding to a number of my list pages.
> 
> And I'm just not quite getting how to use the restrictingFetchSpecification 
> key.  
> 
> If I want my qualifier to be based upon an object in my session how do I 
> create the qualifier?  I see that I can put a variable in the qualifier that 
> gets created in the EOModel but how do I tell D2W to substitute the variable 
> with my session object at runtime?
> 
> Thanks in advance,
> 
> Aloha,
> Mr. Johnny Miller
> Web Development Manager
> Kahalawai Media Company
> Lahaina, HI 96761
> tel: (808) 661-7962 | mobile: (808) 283-0791
> website | e-mail  
> 
> ___
> 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:
> https://lists.apple.com/mailman/options/webobjects-dev/lists%40thetimmy.com
> 
> This email sent to li...@thetimmy.com


 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: Help on wocommunity

2013-05-01 Thread Tim Worman
I can assist in any of the following:

1. WOCommunity
2. server maintenance
3. I've got a pretty good feel for go_wolips and Golipse now so I'm happy to 
continue helping with those.

Will serve however I can.

Tim
UCLA GSE&IS

On Apr 10, 2013, at 11:56 PM, Jean Pierre Malrieu  wrote:

> 
> Le 8 avr. 2013 à 20:56, Musall Maik a écrit :
> 
>> Hi Pascal,
>> 
>>> - edit the WOWODC 2013 recordings
>> 
>> I'll do that if I'm not the only one. This can easily be distributed between 
>> several people.
>> 
>> I'm sorry I don't have time to take over more tasks than this currently 
>> (family and stuff).
>> 
>> Maik
> 
> 
> I volonteer to help on this one. Maik, would you take responsability and 
> distribute the work among us?
> 
> JPM
> 
> PS: I don't think I will be able to come to WOWODC
> ___
> 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:
> https://lists.apple.com/mailman/options/webobjects-dev/lists%40thetimmy.com
> 
> This email sent to li...@thetimmy.com


 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Golipse 3.8.2 update and pull request

2013-04-30 Thread Tim Worman
I updated Golipse in my branch and submitted a pull request to 
wocommunity/Golipse. The pull request indicates "no one is assigned" - so I'm 
guessing that means it won't be applied without a nudge. :-)

Maybe someone with commit rights on wocommunity can review and pull it in?

https://github.com/wocommunity/Golipse/pull/16

Tim
 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: anyone want to test an update to golipse?

2013-04-26 Thread Tim Worman
It only works with the full path as an argument. I am going to insert a check 
for "." though and I will push the change up. It's a reasonable thing to check 
for and replace.

You could do this now though without the change:

. go_wolips `pwd`

Tim

On Apr 26, 2013, at 12:20 PM, Tim Worman  wrote:

> Hi David:
> 
> The plugin install is done by the P2 director script which should be 
> downloaded to /tmp (then deleted at completion). I haven't made any changes 
> in the way that works.
> 
> I haven't run go_wolips from within my target directory but I'll give it a 
> try to test. What's interesting from your report is that the error indicates 
> that the path does not point to a folder - which is clearly there in your 
> screenshot.
> 
> Tim
> 
> On Apr 26, 2013, at 11:54 AM, David Holt  wrote:
> 
>> Hi Tim,
>> 
>> Fortuitously I am installing the tools on a brand new mac. 
>> 
>> I created a Tools folder, put go_wolips inside, cd into Tools and run the 
>> following command:
>> 
>> . go_wolips .
>> 
>> The result is that I have a working install of Eclipse, but none of the 
>> plugins. Here is the output from my terminal if it is helpful:
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> There seems to be a small error in the file path for the plugin installer 
>> unless I have done something incorrectly?
>> 
>> Thanks,
>> David
>> 
>> 
>> On 2013-04-26, at 9:07 AM, Tim Worman  wrote:
>> 
>>> All:
>>> 
>>> I forked and updated David LeBer's go_wolips script (which was a fork of 
>>> Mike Schrag's original). My fork lives here:
>>> 
>>> https://gist.github.com/timsquared/5454092
>>> 
>>> It has been updated to download Eclipse 3.8.2 (Juno) and also use the Juno 
>>> update site. Other updated update sites (and installation units) include: 
>>> groovy, subversive, m2eclipse, and buckminster. It  runs well on my install 
>>> of OS X 10.8.X. I am interested to know if these component updates cause 
>>> anyone issues in their workflow. I do not use these components.
>>> 
>>> My intention is to update Golipse with this - I also think it is valuable 
>>> to keep repos of both Golipse and the embedded script for flexibility. It'd 
>>> probably be a good idea to move this script repo to the WOCommunity GitHub. 
>>> It also may be a good idea to move the P2 director script from Mike 
>>> Schrag's repo to WOCommunity. It is called from within go_wolips. While it 
>>> works great as is, future changes to Eclipse (or P2 Equinox) could impact 
>>> it.
>>> 
>>> Tim
>>> UCLA GSE&IS
>>> 
>>> On Apr 24, 2013, at 10:42 AM, Tim Worman  wrote:
>>> 
>>>> Awesome, thanks David. I knew it was a wrapper for the embedded script and 
>>>> I was about to go down the road of troubleshooting it. But if all we need 
>>>> is to drop an update script in, that's great.
>>>> 
>>>> If it's helpful, I will probably still invest some time to get familiar 
>>>> with the script and how p2 works.
>>>> 
>>>> Tim
>>>> 
>>>> On Apr 24, 2013, at 10:32 AM, David LeBer  
>>>> wrote:
>>>> 
>>>>> I created Golipse as just a cocoa wrapper around the go_wolips script 
>>>>> that Mike S created.
>>>>> 
>>>>> This is my clone of his gist: https://gist.github.com/rebeld/622437
>>>>> 
>>>>> It's probably out of sync with the app at this point. I don't know if 
>>>>> there is a wocommunity gist version of it.
>>>>> 
>>>>> Anyway, you should be able to run it just from the command line, tweak it 
>>>>> until it works, and then replace the script in the project.
>>>>> 
>>>>> D
>>>>> 
>>>>> --
>>>>> David LeBer
>>>>> Codeferous Software
>>>>> 
>>>>> On 2013-04-24, at 12:43 PM, Tim Worman  wrote:
>>>>> 
>>>>>> OK, I'm learning more abut how this works. The P2 installer should be 
>>>>>> part of the eclipse sdk download. So, to answer your question, the 
>>>>>> requests probably do come from java. They may be timing out.
>>>>>> 
>>>>>> I'm gonna dig in and learn about this a bit in the hopes that I can 
>>>>>> serve the community by

Re: anyone want to test an update to golipse?

2013-04-26 Thread Tim Worman
Hi David:

The plugin install is done by the P2 director script which should be downloaded 
to /tmp (then deleted at completion). I haven't made any changes in the way 
that works.

I haven't run go_wolips from within my target directory but I'll give it a try 
to test. What's interesting from your report is that the error indicates that 
the path does not point to a folder - which is clearly there in your screenshot.

Tim

On Apr 26, 2013, at 11:54 AM, David Holt  wrote:

> Hi Tim,
> 
> Fortuitously I am installing the tools on a brand new mac. 
> 
> I created a Tools folder, put go_wolips inside, cd into Tools and run the 
> following command:
> 
> . go_wolips .
> 
> The result is that I have a working install of Eclipse, but none of the 
> plugins. Here is the output from my terminal if it is helpful:
> 
> 
> 
> 
> 
> 
> 
> There seems to be a small error in the file path for the plugin installer 
> unless I have done something incorrectly?
> 
> Thanks,
> David
> 
> 
> On 2013-04-26, at 9:07 AM, Tim Worman  wrote:
> 
>> All:
>> 
>> I forked and updated David LeBer's go_wolips script (which was a fork of 
>> Mike Schrag's original). My fork lives here:
>> 
>> https://gist.github.com/timsquared/5454092
>> 
>> It has been updated to download Eclipse 3.8.2 (Juno) and also use the Juno 
>> update site. Other updated update sites (and installation units) include: 
>> groovy, subversive, m2eclipse, and buckminster. It  runs well on my install 
>> of OS X 10.8.X. I am interested to know if these component updates cause 
>> anyone issues in their workflow. I do not use these components.
>> 
>> My intention is to update Golipse with this - I also think it is valuable to 
>> keep repos of both Golipse and the embedded script for flexibility. It'd 
>> probably be a good idea to move this script repo to the WOCommunity GitHub. 
>> It also may be a good idea to move the P2 director script from Mike Schrag's 
>> repo to WOCommunity. It is called from within go_wolips. While it works 
>> great as is, future changes to Eclipse (or P2 Equinox) could impact it.
>> 
>> Tim
>> UCLA GSE&IS
>> 
>> On Apr 24, 2013, at 10:42 AM, Tim Worman  wrote:
>> 
>>> Awesome, thanks David. I knew it was a wrapper for the embedded script and 
>>> I was about to go down the road of troubleshooting it. But if all we need 
>>> is to drop an update script in, that's great.
>>> 
>>> If it's helpful, I will probably still invest some time to get familiar 
>>> with the script and how p2 works.
>>> 
>>> Tim
>>> 
>>> On Apr 24, 2013, at 10:32 AM, David LeBer  
>>> wrote:
>>> 
>>>> I created Golipse as just a cocoa wrapper around the go_wolips script that 
>>>> Mike S created.
>>>> 
>>>> This is my clone of his gist: https://gist.github.com/rebeld/622437
>>>> 
>>>> It's probably out of sync with the app at this point. I don't know if 
>>>> there is a wocommunity gist version of it.
>>>> 
>>>> Anyway, you should be able to run it just from the command line, tweak it 
>>>> until it works, and then replace the script in the project.
>>>> 
>>>> D
>>>> 
>>>> --
>>>> David LeBer
>>>> Codeferous Software
>>>> 
>>>> On 2013-04-24, at 12:43 PM, Tim Worman  wrote:
>>>> 
>>>>> OK, I'm learning more abut how this works. The P2 installer should be 
>>>>> part of the eclipse sdk download. So, to answer your question, the 
>>>>> requests probably do come from java. They may be timing out.
>>>>> 
>>>>> I'm gonna dig in and learn about this a bit in the hopes that I can serve 
>>>>> the community by understanding how it works. I'm gonna start testing 
>>>>> pieces of the script.
>>>>> 
>>>>> If anyone has already looked into this or has some other reason I 
>>>>> shouldn't invest time in this, let me know. Anyone who wants to assist, 
>>>>> message me.
>>>>> 
>>>>> Tim
>>>>> UCLA GSE&IS
>>>>> 
>>>>> On Apr 23, 2013, at 10:18 PM, Bastian Triller  
>>>>> wrote:
>>>>> 
>>>>>> Are these requests to d.e.o from java? Do they timeout? If that's the 
>>>>>> case, try adding -Djava.net.preferIPv4Stack=true to eclip

Re: anyone want to test an update to golipse?

2013-04-26 Thread Tim Worman
Bastian:

I appreciate your email and your opinion. Eclipse 3.8 and 4.2 are both part of 
the Juno release. I found through this process that the information about 
Eclipse 3.8 is all over the map - there are quite a few different 
understandings out there about what 3.8 is - exactly. You'll notice that 3.8 is 
not listed on your link at all. As for updates, yes, 3.8 updates should come 
from the Juno repository.

Here is what eclipse.org has to say on the topic:

http://projects.eclipse.org/releases/juno

The juno release includes these project sub-entries:

Eclipse Project 3.8.0   +0
Eclipse Project 4.2.0   +0

You'll also notice that many of the major Eclipse sub-projects are at version 
3.8 - like Equinox. The 4.2 release is a significant new feature release -  
built on the foundational changes that are also in 3.8.

This stackoverflow question has some quality answers about this topic.

http://stackoverflow.com/questions/6997190/what-the-difference-between-eclipse-3-7-3-8-and-4-2

respectfully,

Tim
UCLA GSE&IS

On Apr 26, 2013, at 10:36 AM, Bastian Triller  wrote:

> Eclipse 3.8.2 != Eclipse Juno [1]
> 
> [1]: <http://en.wikipedia.org/wiki/Eclipse_%28software%29#Releases>
> 
> On Fri, Apr 26, 2013 at 09:07:05AM -0700, Tim Worman wrote:
>> All:
>> 
>> I forked and updated David LeBer's go_wolips script (which was a fork of 
>> Mike Schrag's original). My fork lives here:
>> 
>> https://gist.github.com/timsquared/5454092
>> 
>> It has been updated to download Eclipse 3.8.2 (Juno) and also use the Juno 
>> update site. Other updated update sites (and installation units) include: 
>> groovy, subversive, m2eclipse, and buckminster. It  runs well on my install 
>> of OS X 10.8.X. I am interested to know if these component updates cause 
>> anyone issues in their workflow. I do not use these components.
>> 
>> My intention is to update Golipse with this - I also think it is valuable to 
>> keep repos of both Golipse and the embedded script for flexibility. It'd 
>> probably be a good idea to move this script repo to the WOCommunity GitHub. 
>> It also may be a good idea to move the P2 director script from Mike Schrag's 
>> repo to WOCommunity. It is called from within go_wolips. While it works 
>> great as is, future changes to Eclipse (or P2 Equinox) could impact it.
>> 
>> Tim
>> UCLA GSE&IS
>> 
>> On Apr 24, 2013, at 10:42 AM, Tim Worman  wrote:
>> 
>>> Awesome, thanks David. I knew it was a wrapper for the embedded script and 
>>> I was about to go down the road of troubleshooting it. But if all we need 
>>> is to drop an update script in, that's great.
>>> 
>>> If it's helpful, I will probably still invest some time to get familiar 
>>> with the script and how p2 works.
>>> 
>>> Tim
>>> 
>>> On Apr 24, 2013, at 10:32 AM, David LeBer  
>>> wrote:
>>> 
>>>> I created Golipse as just a cocoa wrapper around the go_wolips script that 
>>>> Mike S created.
>>>> 
>>>> This is my clone of his gist: https://gist.github.com/rebeld/622437
>>>> 
>>>> It's probably out of sync with the app at this point. I don't know if 
>>>> there is a wocommunity gist version of it.
>>>> 
>>>> Anyway, you should be able to run it just from the command line, tweak it 
>>>> until it works, and then replace the script in the project.
>>>> 
>>>> D
>>>> 
>>>> --
>>>> David LeBer
>>>> Codeferous Software
>>>> 
>>>> On 2013-04-24, at 12:43 PM, Tim Worman  wrote:
>>>> 
>>>>> OK, I'm learning more abut how this works. The P2 installer should be 
>>>>> part of the eclipse sdk download. So, to answer your question, the 
>>>>> requests probably do come from java. They may be timing out.
>>>>> 
>>>>> I'm gonna dig in and learn about this a bit in the hopes that I can serve 
>>>>> the community by understanding how it works. I'm gonna start testing 
>>>>> pieces of the script.
>>>>> 
>>>>> If anyone has already looked into this or has some other reason I 
>>>>> shouldn't invest time in this, let me know. Anyone who wants to assist, 
>>>>> message me.
>>>>> 
>>>>> Tim
>>>>> UCLA GSE&IS
>>>>> 
>>>>> On Apr 23, 2013, at 10:18 PM, Bastian Triller  
>>>>> wrote:
>>>>> 
>>>>>> Are thes

Re: anyone want to test an update to golipse?

2013-04-26 Thread Tim Worman
All:

I forked and updated David LeBer's go_wolips script (which was a fork of Mike 
Schrag's original). My fork lives here:

https://gist.github.com/timsquared/5454092

It has been updated to download Eclipse 3.8.2 (Juno) and also use the Juno 
update site. Other updated update sites (and installation units) include: 
groovy, subversive, m2eclipse, and buckminster. It  runs well on my install of 
OS X 10.8.X. I am interested to know if these component updates cause anyone 
issues in their workflow. I do not use these components.

My intention is to update Golipse with this - I also think it is valuable to 
keep repos of both Golipse and the embedded script for flexibility. It'd 
probably be a good idea to move this script repo to the WOCommunity GitHub. It 
also may be a good idea to move the P2 director script from Mike Schrag's repo 
to WOCommunity. It is called from within go_wolips. While it works great as is, 
future changes to Eclipse (or P2 Equinox) could impact it.

Tim
UCLA GSE&IS

On Apr 24, 2013, at 10:42 AM, Tim Worman  wrote:

> Awesome, thanks David. I knew it was a wrapper for the embedded script and I 
> was about to go down the road of troubleshooting it. But if all we need is to 
> drop an update script in, that's great.
> 
> If it's helpful, I will probably still invest some time to get familiar with 
> the script and how p2 works.
> 
> Tim
> 
> On Apr 24, 2013, at 10:32 AM, David LeBer  wrote:
> 
>> I created Golipse as just a cocoa wrapper around the go_wolips script that 
>> Mike S created.
>> 
>> This is my clone of his gist: https://gist.github.com/rebeld/622437
>> 
>> It's probably out of sync with the app at this point. I don't know if there 
>> is a wocommunity gist version of it.
>> 
>> Anyway, you should be able to run it just from the command line, tweak it 
>> until it works, and then replace the script in the project.
>> 
>> D
>> 
>> --
>> David LeBer
>> Codeferous Software
>> 
>> On 2013-04-24, at 12:43 PM, Tim Worman  wrote:
>> 
>>> OK, I'm learning more abut how this works. The P2 installer should be part 
>>> of the eclipse sdk download. So, to answer your question, the requests 
>>> probably do come from java. They may be timing out.
>>> 
>>> I'm gonna dig in and learn about this a bit in the hopes that I can serve 
>>> the community by understanding how it works. I'm gonna start testing pieces 
>>> of the script.
>>> 
>>> If anyone has already looked into this or has some other reason I shouldn't 
>>> invest time in this, let me know. Anyone who wants to assist, message me.
>>> 
>>> Tim
>>> UCLA GSE&IS
>>> 
>>> On Apr 23, 2013, at 10:18 PM, Bastian Triller  
>>> wrote:
>>> 
>>>> Are these requests to d.e.o from java? Do they timeout? If that's the 
>>>> case, try adding -Djava.net.preferIPv4Stack=true to eclipse.ini or to the 
>>>> java commandline.
>>>> 
>>>> Am 23.04.2013 23:26 schrieb "Tim Worman" :
>>>> Well, this is what a drop-in replacement of Eclipse 3.8.2 download with 
>>>> the same updates yields. Looks like some of the update sites aren't 
>>>> working. The logging doesn't report which items it is failing to get. 
>>>> Neither wolips nor workspacemechanic are in the plugins folder - so it 
>>>> looks like those definitely failed. Possibly the issue is actually that 
>>>> 3.8 requires an updated P2 script. Actually, I think the result is the 
>>>> same with the current Golipse(3.7) - so I'd say it is broken.
>>>> 
>>>> Downloading and Installing the recommended Eclipse plugins ...
>>>> Apr 23, 2013 2:10:26 PM org.apache.commons.httpclient.HttpMethodDirector 
>>>> executeWithRetry
>>>> INFO: I/O exception 
>>>> (org.apache.commons.httpclient.NoHttpResponseException) caught when 
>>>> processing request: The server download.eclipse.org failed to respond
>>>> Apr 23, 2013 2:10:26 PM org.apache.commons.httpclient.HttpMethodDirector 
>>>> executeWithRetry
>>>> INFO: Retrying request
>>>> Apr 23, 2013 2:10:50 PM org.apache.commons.httpclient.HttpMethodDirector 
>>>> executeWithRetry
>>>> INFO: I/O exception 
>>>> (org.apache.commons.httpclient.NoHttpResponseException) caught when 
>>>> processing request: The server download.eclipse.org failed to respond
>>>> Apr 23, 2013 2:10:50 PM org.apache.commons.httpclient.HttpMethodDirector 
>>

Re: anyone want to test an update to golipse?

2013-04-24 Thread Tim Worman
Awesome, thanks David. I knew it was a wrapper for the embedded script and I 
was about to go down the road of troubleshooting it. But if all we need is to 
drop an update script in, that's great.

If it's helpful, I will probably still invest some time to get familiar with 
the script and how p2 works.

Tim

On Apr 24, 2013, at 10:32 AM, David LeBer  wrote:

> I created Golipse as just a cocoa wrapper around the go_wolips script that 
> Mike S created.
> 
> This is my clone of his gist: https://gist.github.com/rebeld/622437
> 
> It's probably out of sync with the app at this point. I don't know if there 
> is a wocommunity gist version of it.
> 
> Anyway, you should be able to run it just from the command line, tweak it 
> until it works, and then replace the script in the project.
> 
> D
> 
> --
> David LeBer
> Codeferous Software
> 
> On 2013-04-24, at 12:43 PM, Tim Worman  wrote:
> 
>> OK, I'm learning more abut how this works. The P2 installer should be part 
>> of the eclipse sdk download. So, to answer your question, the requests 
>> probably do come from java. They may be timing out.
>> 
>> I'm gonna dig in and learn about this a bit in the hopes that I can serve 
>> the community by understanding how it works. I'm gonna start testing pieces 
>> of the script.
>> 
>> If anyone has already looked into this or has some other reason I shouldn't 
>> invest time in this, let me know. Anyone who wants to assist, message me.
>> 
>> Tim
>> UCLA GSE&IS
>> 
>> On Apr 23, 2013, at 10:18 PM, Bastian Triller  
>> wrote:
>> 
>>> Are these requests to d.e.o from java? Do they timeout? If that's the case, 
>>> try adding -Djava.net.preferIPv4Stack=true to eclipse.ini or to the java 
>>> commandline.
>>> 
>>> Am 23.04.2013 23:26 schrieb "Tim Worman" :
>>> Well, this is what a drop-in replacement of Eclipse 3.8.2 download with the 
>>> same updates yields. Looks like some of the update sites aren't working. 
>>> The logging doesn't report which items it is failing to get. Neither wolips 
>>> nor workspacemechanic are in the plugins folder - so it looks like those 
>>> definitely failed. Possibly the issue is actually that 3.8 requires an 
>>> updated P2 script. Actually, I think the result is the same with the 
>>> current Golipse(3.7) - so I'd say it is broken.
>>> 
>>> Downloading and Installing the recommended Eclipse plugins ...
>>> Apr 23, 2013 2:10:26 PM org.apache.commons.httpclient.HttpMethodDirector 
>>> executeWithRetry
>>> INFO: I/O exception (org.apache.commons.httpclient.NoHttpResponseException) 
>>> caught when processing request: The server download.eclipse.org failed to 
>>> respond
>>> Apr 23, 2013 2:10:26 PM org.apache.commons.httpclient.HttpMethodDirector 
>>> executeWithRetry
>>> INFO: Retrying request
>>> Apr 23, 2013 2:10:50 PM org.apache.commons.httpclient.HttpMethodDirector 
>>> executeWithRetry
>>> INFO: I/O exception (org.apache.commons.httpclient.NoHttpResponseException) 
>>> caught when processing request: The server download.eclipse.org failed to 
>>> respond
>>> Apr 23, 2013 2:10:50 PM org.apache.commons.httpclient.HttpMethodDirector 
>>> executeWithRetry
>>> INFO: Retrying request
>>> Installation failed.
>>> The installable unit org.zeroturnaround.eclipse.debug.feature.feature.group 
>>> has not been found.
>>> Application failed, log file location: 
>>> /Users/worman/Desktop/eclipse/configuration/1366751366848.log
>>> Cleaning up …
>>> 
>>> Tim
>>> UCLA GSE&IS
>>> 
>>> On Apr 23, 2013, at 11:31 AM, Bastian Triller  
>>> wrote:
>>> 
>>>> On Tue, Apr 23, 2013 at 8:13 PM, Tim Worman  wrote:
>>>> I'm looking at updating the Golipse app to install Eclipse/WOLips 3.8. I'm 
>>>> just beginning so I'm not sure yet which options might break yet. I'm 
>>>> examining the script, looking at all the plugins that get installed and 
>>>> their associated update sites.
>>>> 
>>>> The update site for WOLips is: http://wocommunity.org/wolips/3.7/stable
>>>> 
>>>> Do we have an update site for a WOLips 3.8 or should 3.7 stable be used 
>>>> with Eclipse 3.8?
>>>> Eclipse 3.8 is only a bugfix release for 3.7, so WOLips 3.7 works with 
>>>> Eclipse 3.8 as well.
>>>> 
>>>> Also, if anyone wants to

Re: anyone want to test an update to golipse?

2013-04-24 Thread Tim Worman
OK, I'm learning more abut how this works. The P2 installer should be part of 
the eclipse sdk download. So, to answer your question, the requests probably do 
come from java. They may be timing out.

I'm gonna dig in and learn about this a bit in the hopes that I can serve the 
community by understanding how it works. I'm gonna start testing pieces of the 
script.

If anyone has already looked into this or has some other reason I shouldn't 
invest time in this, let me know. Anyone who wants to assist, message me.

Tim
UCLA GSE&IS

On Apr 23, 2013, at 10:18 PM, Bastian Triller  wrote:

> Are these requests to d.e.o from java? Do they timeout? If that's the case, 
> try adding -Djava.net.preferIPv4Stack=true to eclipse.ini or to the java 
> commandline.
> 
> Am 23.04.2013 23:26 schrieb "Tim Worman" :
> Well, this is what a drop-in replacement of Eclipse 3.8.2 download with the 
> same updates yields. Looks like some of the update sites aren't working. The 
> logging doesn't report which items it is failing to get. Neither wolips nor 
> workspacemechanic are in the plugins folder - so it looks like those 
> definitely failed. Possibly the issue is actually that 3.8 requires an 
> updated P2 script. Actually, I think the result is the same with the current 
> Golipse(3.7) - so I'd say it is broken.
> 
> Downloading and Installing the recommended Eclipse plugins ...
> Apr 23, 2013 2:10:26 PM org.apache.commons.httpclient.HttpMethodDirector 
> executeWithRetry
> INFO: I/O exception (org.apache.commons.httpclient.NoHttpResponseException) 
> caught when processing request: The server download.eclipse.org failed to 
> respond
> Apr 23, 2013 2:10:26 PM org.apache.commons.httpclient.HttpMethodDirector 
> executeWithRetry
> INFO: Retrying request
> Apr 23, 2013 2:10:50 PM org.apache.commons.httpclient.HttpMethodDirector 
> executeWithRetry
> INFO: I/O exception (org.apache.commons.httpclient.NoHttpResponseException) 
> caught when processing request: The server download.eclipse.org failed to 
> respond
> Apr 23, 2013 2:10:50 PM org.apache.commons.httpclient.HttpMethodDirector 
> executeWithRetry
> INFO: Retrying request
> Installation failed.
> The installable unit org.zeroturnaround.eclipse.debug.feature.feature.group 
> has not been found.
> Application failed, log file location: 
> /Users/worman/Desktop/eclipse/configuration/1366751366848.log
> Cleaning up …
> 
> Tim
> UCLA GSE&IS
> 
> On Apr 23, 2013, at 11:31 AM, Bastian Triller  
> wrote:
> 
> > On Tue, Apr 23, 2013 at 8:13 PM, Tim Worman  wrote:
> > I'm looking at updating the Golipse app to install Eclipse/WOLips 3.8. I'm 
> > just beginning so I'm not sure yet which options might break yet. I'm 
> > examining the script, looking at all the plugins that get installed and 
> > their associated update sites.
> >
> > The update site for WOLips is: http://wocommunity.org/wolips/3.7/stable
> >
> > Do we have an update site for a WOLips 3.8 or should 3.7 stable be used 
> > with Eclipse 3.8?
> > Eclipse 3.8 is only a bugfix release for 3.7, so WOLips 3.7 works with 
> > Eclipse 3.8 as well.
> >
> > Also, if anyone wants to test it, let me know.
> >
> > Tim
> >  ___
> > 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:
> > https://lists.apple.com/mailman/options/webobjects-dev/bastian.triller%40gmail.com
> >
> > This email sent to bastian.tril...@gmail.com
> >
> 


 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: anyone want to test an update to golipse?

2013-04-23 Thread Tim Worman
Well, this is what a drop-in replacement of Eclipse 3.8.2 download with the 
same updates yields. Looks like some of the update sites aren't working. The 
logging doesn't report which items it is failing to get. Neither wolips nor 
workspacemechanic are in the plugins folder - so it looks like those definitely 
failed. Possibly the issue is actually that 3.8 requires an updated P2 script. 
Actually, I think the result is the same with the current Golipse(3.7) - so I'd 
say it is broken.

Downloading and Installing the recommended Eclipse plugins ...
Apr 23, 2013 2:10:26 PM org.apache.commons.httpclient.HttpMethodDirector 
executeWithRetry
INFO: I/O exception (org.apache.commons.httpclient.NoHttpResponseException) 
caught when processing request: The server download.eclipse.org failed to 
respond
Apr 23, 2013 2:10:26 PM org.apache.commons.httpclient.HttpMethodDirector 
executeWithRetry
INFO: Retrying request
Apr 23, 2013 2:10:50 PM org.apache.commons.httpclient.HttpMethodDirector 
executeWithRetry
INFO: I/O exception (org.apache.commons.httpclient.NoHttpResponseException) 
caught when processing request: The server download.eclipse.org failed to 
respond
Apr 23, 2013 2:10:50 PM org.apache.commons.httpclient.HttpMethodDirector 
executeWithRetry
INFO: Retrying request
Installation failed.
The installable unit org.zeroturnaround.eclipse.debug.feature.feature.group has 
not been found.
Application failed, log file location: 
/Users/worman/Desktop/eclipse/configuration/1366751366848.log
Cleaning up …

Tim
UCLA GSE&IS

On Apr 23, 2013, at 11:31 AM, Bastian Triller  wrote:

> On Tue, Apr 23, 2013 at 8:13 PM, Tim Worman  wrote:
> I'm looking at updating the Golipse app to install Eclipse/WOLips 3.8. I'm 
> just beginning so I'm not sure yet which options might break yet. I'm 
> examining the script, looking at all the plugins that get installed and their 
> associated update sites.
> 
> The update site for WOLips is: http://wocommunity.org/wolips/3.7/stable
> 
> Do we have an update site for a WOLips 3.8 or should 3.7 stable be used with 
> Eclipse 3.8?
> Eclipse 3.8 is only a bugfix release for 3.7, so WOLips 3.7 works with 
> Eclipse 3.8 as well.
> 
> Also, if anyone wants to test it, let me know.
> 
> Tim
>  ___
> 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:
> https://lists.apple.com/mailman/options/webobjects-dev/bastian.triller%40gmail.com
> 
> This email sent to bastian.tril...@gmail.com
> 


 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

anyone want to test an update to golipse?

2013-04-23 Thread Tim Worman
I'm looking at updating the Golipse app to install Eclipse/WOLips 3.8. I'm just 
beginning so I'm not sure yet which options might break yet. I'm examining the 
script, looking at all the plugins that get installed and their associated 
update sites.

The update site for WOLips is: http://wocommunity.org/wolips/3.7/stable

Do we have an update site for a WOLips 3.8 or should 3.7 stable be used with 
Eclipse 3.8?

Also, if anyone wants to test it, let me know.

Tim
 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: html5 input in a form "required"

2013-04-18 Thread Tim Worman
Subclass WOTextField to inject html5 behaviors/flags?

Tim
UCLA GSE&IS

On Apr 18, 2013, at 8:31 AM, John Pollard  wrote:

> I should have said, when I do this:
> 
> 
>   data-theme="e" required/>
> 
> the generated HTML comes out as required="e", apparently picking up the last 
> parameter that did have a value.
> 
> On 18 Apr 2013, at 16:23, John Pollard  wrote:
> 
>> Can WOTextField or something similar handle the "required" in:
>> 
>> 
>> 
>> i.e. telling the browser that a field is required, it has not value assigned 
>> to it
>> 
>> I couldn't see a Wonder way for this.
>> Many thanks
>> John
>> ___
>> 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:
>> https://lists.apple.com/mailman/options/webobjects-dev/john%40pollardweb.com
>> 
>> This email sent to j...@pollardweb.com
> 
> 
> ___
> 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:
> https://lists.apple.com/mailman/options/webobjects-dev/lists%40thetimmy.com
> 
> This email sent to li...@thetimmy.com


 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: override qualifier from EOModel

2013-04-10 Thread Tim Worman
Hello Markus:

You would add a QueryDataSourceDelegate class to your D2W app that implements 
ERDQueryDataSourceDelegateInterface.

http://wiki.wocommunity.org/display/documentation/D2W+Flow+Control

Then, all your D2W code would automatically use that any time the respective 
entity was fetched. You could have a quartz job in the app that used standard 
fetch methods to run the tasks on the items where ! isVisible.

Tim
UCLA GSE&IS

On Apr 10, 2013, at 11:21 AM, Markus Ruggiero  wrote:

> 
> On 10.04.2013, at 19:50, Chuck Hill  wrote:
> 
>> 
>> On 2013-04-10, at 10:29 AM, Markus Ruggiero wrote:
>> 
>>> Thanks for all your suggestions so far, but I think none is what can really 
>>> help me. Let me explain a bit more.
>>> 
>>> Cleanup does not only mean delete the Product from the database but first I 
>>> have to build an XML structure that contains the product data and related 
>>> data from several to-one and to-many relationships. This XML is then sent 
>>> to a remote application. Only when that application (not under my control) 
>>> agrees I am allowed to finally remove that Product. 
>>> 
>>> - Having a clone of the Product entity without the restricting qualifier is 
>>> therefore not such a good idea, as I need to maintain all the relationships 
>>> from and to that entity. Nightmare!
>>> 
>>> - Just removing the restricting qualifier is an option, but then there are 
>>> dozens of locations throughout the app where products are fetched, some 
>>> through D2WQueryPage, others explicitly for populating selection lists, yet 
>>> others when generating XML data. Nightmare!
>>> 
>>> - Having a second instance of the app with a property set to remove the 
>>> restricting qualifier might be a way to go, but some cleanup related 
>>> actions must be explicitly done by an interactive user. What instance 
>>> should a user connect to? Depending on what he/she wants to do, it's the 
>>> one where the cleanup works or not.
>> 
>> You would give them different names, ProductManager.woa and 
>> ProductCleanup.woa
>> 
>> 
>>> So basically my question still is, how do I circumvent that restricting 
>>> qualifier? Might there be a way to do this with a delegate somewhere down 
>>> the EOF stack? At what point in processing is the final qualifier built? I 
>>> could set a delegate and if needed remove the restriction from the 
>>> generated SQL statement. But how and where would I do this? Never had to go 
>>> that deep into advanced EOF land.
>> 
>> I don't think that is going to leave you in a happy place.  You could create 
>> a super-class of Product with visible='N' as the qualifier.  I am not sure 
>> if that would work for you.  That qualifier is really intended for use with 
>> EOF inheritance and you are bending it to something it was not intended for. 
>>  That is why EOF is not allowing you to change it - it would change 
>> inheritance hierarchies.  A better choice might be to apply this in code 
>> though centralized fetching methods.
>> 
>> 
>> Chuck
>> 
> 
> Thanks (or not so) Chuck, I feared something like this. Then let me ask a 
> related question: how would I implement the visible='Y' in a ERD2WQueryPage? 
> The user should never see the attribute (so it won't be in 
> displayPropertyKeys) but it must be used for qualifying in addition to any 
> other qualifications the user makes on the page. 
> 
> ---markus---
> 
>> 
>> 
>>> PS the IllegalArgumentException mentioned in my first posting was due to 
>>> rawRows bringing back all the attribute names in upper case but the id 
>>> attribute is in lower case. So this has been resolved, but even then I only 
>>> get faults that are later on resolved against the database - again 
>>> including the restricting qualifier. Even objectsWithPrimaryKey() uses the 
>>> qualifier.
>>> 
>>> 
>>> On 10.04.2013, at 13:52, Markus Ruggiero  wrote:
>>> 
 Folks,
 
 I have an entity Product with an attribute isVisible. Throughout my 
 application I only work with products that are visible. So I have 
 specified a qualifier visible='Y' right in the model. This qualifier is 
 automatically AND-added to each and every query agains Product. Fine, I am 
 happy with this.
 
 Now the customer needs an automatic cleanup function. This function must 
 fetch products that are not visible. Cleanup requires more than just 
 deletion from the database. I cannot do the cleanup with raw rows, I do 
 need real EOs. How can I override that model qualifier? When fetching raw 
 rows I do get the data but I was not able to convert the dictionaries to 
 EOs. The ID attribute is in the dictionary (which is the PK) but I get an 
 IllegalArgumentException telling me "does not contain primary key 
 information for entity Product"
 
 This is the code I use (maybe there is a problem there)
 
 NSMutableArray products = new NSMutableArray();
 NSArray> rawRows = EOUtilities.rawRowsForSQL( 
 ec, "ec2", "select

Re: ImageIO Native Java 1.6 / Small Progress

2013-04-02 Thread Tim Worman
I've had this issue before. There used to be a WO based app for changing your 
Open Directory password. It was set up with a JNI library for interfacing with 
Apple's directory services frameworks. It no longer ran on 64-bit Intel.

I never tried to dive into XCode and recompile it - so not sure about that part.

Tim

On Apr 2, 2013, at 12:55 PM, Johnny Miller  wrote:

> OK.  So I added this argument to the application's additional arguments in 
> WOMonitor:
> 
> -Djava.library.path=/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java
> 
> And it is now finding the JNI.  But now I'm on to a new problem!
> 
> java.lang.UnsatisfiedLinkError: 
> /Library/Java/Extensions/libImageIOImageProcessor.jnilib: no suitable image 
> found. Did find: /Library/Java/Extensions/libImageIOImageProcessor.jnilib: 
> mach-o, but wrong architecture
> 
> So the Google seems to think this is because the JNI is compiled for 32 bit 
> but I'm using 64 bit java.  That would make sense.  I've tried recompiling 
> the JNI and I've changed the ARCHS variable in the build properties to x86_64 
> but I'm still getting the error.  Does anyone who is wise in the ways of 
> MacOSX programming know where I've gone wrong?  I'm using 10.5 and XCode 3.1
> 
> Thanks,
> 
> Johnny
> 
> On Apr 2, 2013, at 9:25 AM, Johnny Miller  wrote:
> 
>> Thanks for the advice guys.  Although, I'd really like to get the native 
>> going...
>> 
>> The error I'm seeing is a com.webobjects.foundation.NSForwardException 
>> [java.lang.NoClassDefFoundError] Could not initialize class 
>> er.attachment.thumbnail.ImageIOImageProcessor:java.lang.NoClassDefFoundError:
>>  
>> 
>> I made a simple class that prints out the java class path from the command 
>> line and I see that /Library/Java/Extensions is in there.  But... getting 
>> WebObjects to use Java 1.6 was kind of a hack to begin with.  I had to 
>> create the file /etc/launchd.conf which contains these two lines:
>> 
>> setenv JAVA_VERSION 1.6
>> setenv JAVA_HOME 
>> /System/Library/Frameworks/JavaVM.framework/Versions/1.6/Home
>> 
>> Philippe Rabier pointed me to this solution a few months back -> 
>> http://stackoverflow.com/questions/135688/setting-environment-variables-in-os-x
>> 
>> Do you think I also need to add a Java class path variable to this file?  If 
>> so does anyone know what the variable would be?
>> 
>> Thanks,
>> 
>> Johnny
>> 
>> On Apr 2, 2013, at 8:52 AM, Ramsey Gurley  wrote:
>> 
>>> Frankly, my most recent experience with all three sucked. I tried 
>>> installing octave. fink, macports, and homebrew all failed. I finally found 
>>> a compiled package installer for Mac OS X which sorta works. I can't see 
>>> myself getting to excited about any of them.
>>> 
>>> Ramsey
>>> 
>>> On Apr 2, 2013, at 10:46 AM, Tim Worman wrote:
>>> 
>>>> That could be so I suppose. And, it may be due to the particular packages 
>>>> I use, but I have never had anything break with the software packages I 
>>>> install. My experiences with homebrew have been good.
>>>> 
>>>> Tim
>>>> 
>>>> On Apr 2, 2013, at 9:58 AM, Ramsey Gurley  wrote:
>>>> 
>>>>> If my understanding is correct, Homebrew uses the installed system 
>>>>> libraries whenever possible. That's the reason to use, and to avoid, 
>>>>> Homebrew. Install an app with Homebrew, then update the system from Lion 
>>>>> to Mountain Lion and pray things still work.
>>>>> 
>>>>> With macports, you install a full set of your dependencies in a separate 
>>>>> /opt/ directory. Update your system all you want. It doesn't matter 
>>>>> because system updates won't touch /opt/.
>>>>> 
>>>>> So Homebrew is a bit like dumping a lot of jars in $JAVA_HOME/ext/, where 
>>>>> macports is like a fully embedded build. You get more bloat, but fewer 
>>>>> headaches. Given a choice, I know which one I'd choose.
>>>>> 
>>>>> That's what I remember reading about them at least. :-)
>>>>> 
>>>>> Ramsey
>>>>> 
>>>>> On Apr 2, 2013, at 9:43 AM, Tim Worman wrote:
>>>>> 
>>>>>> I'm not quite as passionate about it, but that's why I use homebrew. :-)
>>>>>> 
>>>>>> Tim
>>>>>> UCLA GSE&IS
>

Re: ImageIO Native Java 1.6

2013-04-02 Thread Tim Worman
That could be so I suppose. And, it may be due to the particular packages I 
use, but I have never had anything break with the software packages I install. 
My experiences with homebrew have been good.

Tim

On Apr 2, 2013, at 9:58 AM, Ramsey Gurley  wrote:

> If my understanding is correct, Homebrew uses the installed system libraries 
> whenever possible. That's the reason to use, and to avoid, Homebrew. Install 
> an app with Homebrew, then update the system from Lion to Mountain Lion and 
> pray things still work.
> 
> With macports, you install a full set of your dependencies in a separate 
> /opt/ directory. Update your system all you want. It doesn't matter because 
> system updates won't touch /opt/.
> 
> So Homebrew is a bit like dumping a lot of jars in $JAVA_HOME/ext/, where 
> macports is like a fully embedded build. You get more bloat, but fewer 
> headaches. Given a choice, I know which one I'd choose.
> 
> That's what I remember reading about them at least. :-)
> 
> Ramsey
> 
> On Apr 2, 2013, at 9:43 AM, Tim Worman wrote:
> 
>> I'm not quite as passionate about it, but that's why I use homebrew. :-)
>> 
>> Tim
>> UCLA GSE&IS
>> 
>> On Apr 2, 2013, at 7:55 AM, Þór Sigurðsson  wrote:
>> 
>>> 
>>> Actually no - since macports and fink install dependant libraries that the 
>>> system already has installed, it's hardly an enhancement since now you have 
>>> _two_ or more sets of the same libraries which each needs its own method of 
>>> updating.
>>> 
>>> The net result of overusing fink/macports is a machine that requires more 
>>> time to manage than to use - hardly a productive result (unless you don't 
>>> care about security, updates or management, in which case it's perfectly 
>>> fine).
>>> 
>>> One should strive to keep the management footprint at a minimum.
>>> 
>>> /Þór
>>> 
>>> On 2.4.2013, at 14:34, Kieran Kelleher wrote:
>>> 
>>>> There .. fixed it for you ;)
>>>> 
>>>> On Apr 2, 2013, at 9:32 AM, Þór Sigurðsson  wrote:
>>>> 
>>>>> If you don't want to "enhance" your system with macports/fink, then you 
>>>>> can use the cactuslabs build: http://cactuslab.com/imagemagick/
>>>>> 
>>>>> /Þór
>>>> 
>>> 
>>> 
>>> 
>>> 
>>> Fyrirvari á tölvupósti / e-mail disclaimer
>>> http://us.is/fyrirvari
>>> 
>>> ___
>>> 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:
>>> https://lists.apple.com/mailman/options/webobjects-dev/lists%40thetimmy.com
>>> 
>>> This email sent to li...@thetimmy.com
>> 
>> 
>> ___
>> 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:
>> https://lists.apple.com/mailman/options/webobjects-dev/rgurley%40smarthealth.com
>> 
>> This email sent to rgur...@smarthealth.com
> 
> 
> ___
> 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:
> https://lists.apple.com/mailman/options/webobjects-dev/lists%40thetimmy.com
> 
> This email sent to li...@thetimmy.com


 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: ImageIO Native Java 1.6

2013-04-02 Thread Tim Worman
I'm not quite as passionate about it, but that's why I use homebrew. :-)

Tim
UCLA GSE&IS

On Apr 2, 2013, at 7:55 AM, Þór Sigurðsson  wrote:

> 
> Actually no - since macports and fink install dependant libraries that the 
> system already has installed, it's hardly an enhancement since now you have 
> _two_ or more sets of the same libraries which each needs its own method of 
> updating.
> 
> The net result of overusing fink/macports is a machine that requires more 
> time to manage than to use - hardly a productive result (unless you don't 
> care about security, updates or management, in which case it's perfectly 
> fine).
> 
> One should strive to keep the management footprint at a minimum.
> 
> /Þór
> 
> On 2.4.2013, at 14:34, Kieran Kelleher wrote:
> 
>> There .. fixed it for you ;)
>> 
>> On Apr 2, 2013, at 9:32 AM, Þór Sigurðsson  wrote:
>> 
>>> If you don't want to "enhance" your system with macports/fink, then you can 
>>> use the cactuslabs build: http://cactuslab.com/imagemagick/
>>> 
>>> /Þór
>> 
> 
> 
> 
> 
> Fyrirvari á tölvupósti / e-mail disclaimer
> http://us.is/fyrirvari
> 
> ___
> 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:
> https://lists.apple.com/mailman/options/webobjects-dev/lists%40thetimmy.com
> 
> This email sent to li...@thetimmy.com


 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

question about er.extensions.partials.ERXPartial

2013-03-23 Thread Tim Worman
Hi all:

I'm hoping someone much smarter than me can answer a question about the 
ERXPartial class. This method is implemented in ERXPartial:

takeStoredValueForKey(Object value, String key)

but this method is not:

takeValueForKey(Object value, String key)

The problem is, the first method obviously bypasses my accessor methods in 
these classes. Is there a reason that the second method could not be 
implemented in ERXPartial the same as the first, like:

public void takeValueForKey(Object value, String key) {
_primaryEO.takeValueForKey(value, key);
}

Tim
UCLA GSE&IS
 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: WebObjects 5.3.4 Frontbase question

2013-03-05 Thread Tim Worman
And, just after I said it was impossible to recommend next steps, Chuck gives 
the next step! Or is it NextStep?

Tim

On Mar 5, 2013, at 10:40 AM, Chuck Hill  wrote:

> Well, I recommend "Don't use xCode!".
> 
> http://wiki.wocommunity.org/display/documentation/Project+Wonder+Installation
> 
> 
> Chuck
> 
> 
> On 2013-03-05, at 10:35 AM, Tim Worman wrote:
> 
>> Bart:
>> 
>> I think that most everyone on the list is multiple years removed from using 
>> XCode for WO development. That makes it near impossible to recommend next 
>> steps to you.
>> 
>> Tim 
>> UCLA GSE&IS
>> 
>> 
>> On Mar 5, 2013, at 9:02 AM, jazz  wrote:
>> 
>>> Hi Ralph,
>>> 
>>> Thanks for the reply. And how do I do that in xcode 2.4.1? I added the 
>>> FrontBasePlugin.framework again to the the project but no effect.
>>> 
>>> Regards, Bart
>>> 
>>> On 5 Mar 2013, at 17:46, Ralph Scheuer wrote:
>>> 
>>>> 
>>>> Hi Bart, 
>>>> 
>>>> Add the FrontbasePlugin.framework to your Build Path and install it if 
>>>> it's not on your machine.
>>>> 
>>>> Cheers, 
>>>> 
>>>> Ralph
>>>> 
>>>> Am 05.03.2013 um 17:28 schrieb jazz :
>>>> 
>>>>> Hi list,
>>>>> 
>>>>> Trying to make Frontbase 5.2.10 and WebObjects 5.3.4 to work (and yes I 
>>>>> do not use Wonder ;)
>>>>> 
>>>>> How do I make sure that first the Frontbase framework is loaded? No I get 
>>>>> this error:
>>>>> 
>>>>> [2013-03-05 17:10:40 CET]  A fatal exception occurred: Adaptor 
>>>>> com.webobjects.jdbcadaptor.JDBCAdaptor@11f1f failed to provide new 
>>>>> primary keys for entity blaaa
>>>>> 
>>>>> So it seems that first the webobjects jdbc adaptor is loaded? 
>>>>> 
>>>>> Generated classpath: 
>>>>> /System/Library/Frameworks/JavaFoundation.framework/Resources/Java/javafoundation.jar
>>>>> /System/Library/Frameworks/JavaEOControl.framework/Resources/Java/javaeocontrol.jar
>>>>> /System/Library/Frameworks/JavaEOAccess.framework/Resources/Java/javaeoaccess.jar
>>>>> /System/Library/Frameworks/JavaWebObjects.framework/Resources/Java/javawebobjects.jar
>>>>> /System/Library/Frameworks/JavaWOExtensions.framework/Resources/Java/JavaWOExtensions.jar
>>>>> /System/Library/Frameworks/JavaXML.framework/Resources/Java/javaxml.jar
>>>>> /System/Library/Frameworks/JavaJDBCAdaptor.framework/Resources/Java/javajdbcadaptor.jar
>>>>> /Users/poweradmin/Library/Java/
>>>>> /Library/Java/
>>>>> /System/Library/Java/
>>>>> /Network/Library/Java
>>>>> /System/Library/Frameworks/JavaVM.framework/Classes/classes.jar
>>>>> /System/Library/Frameworks/JavaVM.framework/Classes/ui.jar
>>>>> /Library/WebObjects/Extensions/axis-ant.jar
>>>>> /Library/WebObjects/Extensions/axis.jar
>>>>> /Library/WebObjects/Extensions/commons-discovery.jar
>>>>> /Library/WebObjects/Extensions/commons-logging.jar
>>>>> /Library/WebObjects/Extensions/frontbasejdbc.jar
>>>>> /Library/WebObjects/Extensions/jaxrpc.jar
>>>>> /Library/WebObjects/Extensions/log4j-1.2.8.jar
>>>>> /Library/WebObjects/Extensions/saaj.jar
>>>>> /Library/WebObjects/Extensions/wsdl4j.jar
>>>>> /Library/WebObjects/Extensions/
>>>>> 
>>>>> Regards, Bart
>>>>> 
>>>>> 
>>>>> 
>>>>> 
>>>>> ___
>>>>> 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:
>>>>> https://lists.apple.com/mailman/options/webobjects-dev/ralph.scheuer%40gmx.net
>>>>> 
>>>>> This email sent to ralph.sche...@gmx.net
>>> 
>>> ___
>>> 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:
>>> https://lists.apple.com/mailman/options/webobjects-dev/lists%40thetimmy.com
>>> 
>>> This email sent to 

Re: WebObjects 5.3.4 Frontbase question

2013-03-05 Thread Tim Worman
Bart:

I think that most everyone on the list is multiple years removed from using 
XCode for WO development. That makes it near impossible to recommend next steps 
to you.

Tim 
UCLA GSE&IS


On Mar 5, 2013, at 9:02 AM, jazz  wrote:

> Hi Ralph,
> 
> Thanks for the reply. And how do I do that in xcode 2.4.1? I added the 
> FrontBasePlugin.framework again to the the project but no effect.
> 
> Regards, Bart
> 
> On 5 Mar 2013, at 17:46, Ralph Scheuer wrote:
> 
>> 
>> Hi Bart, 
>> 
>> Add the FrontbasePlugin.framework to your Build Path and install it if it's 
>> not on your machine.
>> 
>> Cheers, 
>> 
>> Ralph
>> 
>> Am 05.03.2013 um 17:28 schrieb jazz :
>> 
>>> Hi list,
>>> 
>>> Trying to make Frontbase 5.2.10 and WebObjects 5.3.4 to work (and yes I do 
>>> not use Wonder ;)
>>> 
>>> How do I make sure that first the Frontbase framework is loaded? No I get 
>>> this error:
>>> 
>>> [2013-03-05 17:10:40 CET]  A fatal exception occurred: Adaptor 
>>> com.webobjects.jdbcadaptor.JDBCAdaptor@11f1f failed to provide new primary 
>>> keys for entity blaaa
>>> 
>>> So it seems that first the webobjects jdbc adaptor is loaded? 
>>> 
>>> Generated classpath: 
>>>   
>>> /System/Library/Frameworks/JavaFoundation.framework/Resources/Java/javafoundation.jar
>>>   
>>> /System/Library/Frameworks/JavaEOControl.framework/Resources/Java/javaeocontrol.jar
>>>   
>>> /System/Library/Frameworks/JavaEOAccess.framework/Resources/Java/javaeoaccess.jar
>>>   
>>> /System/Library/Frameworks/JavaWebObjects.framework/Resources/Java/javawebobjects.jar
>>>   
>>> /System/Library/Frameworks/JavaWOExtensions.framework/Resources/Java/JavaWOExtensions.jar
>>>   /System/Library/Frameworks/JavaXML.framework/Resources/Java/javaxml.jar
>>>   
>>> /System/Library/Frameworks/JavaJDBCAdaptor.framework/Resources/Java/javajdbcadaptor.jar
>>>   /Users/poweradmin/Library/Java/
>>>   /Library/Java/
>>>   /System/Library/Java/
>>>   /Network/Library/Java
>>>   /System/Library/Frameworks/JavaVM.framework/Classes/classes.jar
>>>   /System/Library/Frameworks/JavaVM.framework/Classes/ui.jar
>>>   /Library/WebObjects/Extensions/axis-ant.jar
>>>   /Library/WebObjects/Extensions/axis.jar
>>>   /Library/WebObjects/Extensions/commons-discovery.jar
>>>   /Library/WebObjects/Extensions/commons-logging.jar
>>>   /Library/WebObjects/Extensions/frontbasejdbc.jar
>>>   /Library/WebObjects/Extensions/jaxrpc.jar
>>>   /Library/WebObjects/Extensions/log4j-1.2.8.jar
>>>   /Library/WebObjects/Extensions/saaj.jar
>>>   /Library/WebObjects/Extensions/wsdl4j.jar
>>>   /Library/WebObjects/Extensions/
>>> 
>>> Regards, Bart
>>> 
>>> 
>>> 
>>> 
>>> ___
>>> 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:
>>> https://lists.apple.com/mailman/options/webobjects-dev/ralph.scheuer%40gmx.net
>>> 
>>> This email sent to ralph.sche...@gmx.net
> 
> ___
> 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:
> https://lists.apple.com/mailman/options/webobjects-dev/lists%40thetimmy.com
> 
> This email sent to li...@thetimmy.com


 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: css on custom table row component

2013-02-20 Thread Tim Worman
Here's an interesting extra twist. It works fine if I use a WOGenericContainer 
in place of the AUC. Both are defined by elementName binding as "tr". It also 
works as it should if I just manually make use ….. The only condition 
where it doesn't work is if the container is an AUC. Here's what the page 
source shows:

working


not working


I'll run it through a validator but the one non-working condition is curious. 
Maybe the AUC is not reporting "rowIndex" to the browser properly when 
elementName is bound as "tr".

T

On Feb 20, 2013, at 7:21 AM, Ramsey Gurley  wrote:

> What David said. You might also try running your source through the w3 
> validator.
> 
> I will also add that I tried going with :nth-child for zebra stripes myself 
> once. Then I realized it didn't work so well when using multiple tbodys, 
> header cells with rowspan, etc. I went back to using .even .odd classes on 
> the tr. It's the only way to be sure.
> 
> Ramsey
> 
> On Feb 20, 2013, at 7:28 AM, David LeBer wrote:
> 
>> Tim,
>> 
>> Css selectors work on the completed dom as understood by browser, it knows 
>> nothing about how the page is being created server-side and doesn't care.
>> 
>> It sounds like your table is malformed, try carefully inspecting the 
>> rendered dom in Safari or Firefox (i.e: "Inspect Element"). If I had to, I'd 
>> guess that there is a tag missing somewhere that the browser is filling in 
>> making each tr nested in it's own table.
>> 
>> D
>> 
>> --
>> David LeBer
>> Codeferous Software
>> 
>> On 2013-02-20, at 12:55 AM, Tim Worman  wrote:
>> 
>>> I have a single component that acts as a table row. The outer-most object 
>>> in the component is a AUC where the elementName is "tr". I also have css 
>>> that is supposed to style each of these rows sth like:
>>> 
>>> .resultsTable tbody tr:nth-child(odd) td{background-color:#EE;}
>>> 
>>> The entire enclosing page is rendered fine including the table and all rows 
>>> are rendered correctly as tr's. The problem is the rows aren't styled 
>>> correctly per the css. It appears every single row considers itself "odd." 
>>> So every row has the background color as defined in the css.
>>> 
>>> I have other components where the entire table is similarly built 
>>> completely dynamically but the TR's are not a separate component. In those 
>>> cases the css is properly applied to each TR.
>>> 
>>> I know I could return separate css classes in code for even and odd indexes 
>>> in my TR component, but I want to use the existing css so that any future 
>>> css changes are inherited by all appropriate components.
>>> 
>>> Tim
>>> UCLA GSE&IS
>>> ___
>>> 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:
>>> https://lists.apple.com/mailman/options/webobjects-dev/dleber_wodev%40codeferous.com
>>> 
>>> This email sent to dleber_wo...@codeferous.com
>> 
>> 
>> ___
>> 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:
>> https://lists.apple.com/mailman/options/webobjects-dev/ramseygurley%40gmail.com
>> 
>> This email sent to ramseygur...@gmail.com
> 


 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

css on custom table row component

2013-02-19 Thread Tim Worman
I have a single component that acts as a table row. The outer-most object in 
the component is a AUC where the elementName is "tr". I also have css that is 
supposed to style each of these rows sth like:

.resultsTable tbody tr:nth-child(odd) td{background-color:#EE;}

The entire enclosing page is rendered fine including the table and all rows are 
rendered correctly as tr's. The problem is the rows aren't styled correctly per 
the css. It appears every single row considers itself "odd." So every row has 
the background color as defined in the css.

I have other components where the entire table is similarly built completely 
dynamically but the TR's are not a separate component. In those cases the css 
is properly applied to each TR.

I know I could return separate css classes in code for even and odd indexes in 
my TR component, but I want to use the existing css so that any future css 
changes are inherited by all appropriate components.

Tim
UCLA GSE&IS
 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: Problems installing WOLips into 4.2.1

2013-02-19 Thread Tim Worman
Fine with me - I'm happy where I am. Is 3.8 also not recommended?

Tim

On Feb 19, 2013, at 1:21 PM, Pascal Robert  wrote:

> 
> Le 2013-02-19 à 16:15, Tim Worman  a écrit :
> 
>> Is Eclipse/WOLips 4.2 recommended now?
> 
> It's not.
> 
>> On another note, can we update golipse. I was looking at it and it shouldn't 
>> be too hard. I'm happy to give it a go.
>> 
>> Tim
>> UCLA GSE&IS
>> 
>> On Feb 19, 2013, at 12:52 PM, Lars Sonchocky-Helldorf 
>>  wrote:
>> 
>>> Thanks for the hint, I was actually wondering about the WOLips37Stable in 
>>> the URL I had. I found it here 
>>> http://wiki.wocommunity.org/display/WOL/Install+WOLips+with+Eclipse+Update+Manager
>>>  , it was the first hit on Google. When I now look at that page it displays 
>>> the correct information. Maybe I was already to tired last time … :)
>>> 
>>> cheers,
>>> 
>>> Lars
>>> 
>>> 
>>> Am 19.02.2013 um 01:13 schrieb Ramsey Gurley:
>>> 
>>>> Wrong site for 4.2
>>>> 
>>>> http://jenkins.wocommunity.org/job/WOLips42/lastSuccessfulBuild/artifact/temp/dist/
>>>> 
>>>> Ramsey
>>>> 
>>>> On Feb 18, 2013, at 4:59 PM, Lars Sonchocky-Helldorf wrote:
>>>> 
>>>>> Hi WO-men and WO-girls … ;)
>>>>> 
>>>>> I am trying to install WOLips from 
>>>>> http://jenkins.wocommunity.org/job/WOLips37Stable/lastSuccessfulBuild/artifact/temp/dist/
>>>>>  (for 4.2) into a Version: 4.2.1 Build id: M20120914-1800
>>>>> 
>>>>> but I get:
>>>>> 
>>>>> Cannot complete the install because one or more required items could not 
>>>>> be found.
>>>>> Software being installed: WOLips 3.7.20130127.39 
>>>>> (org.objectstyle.wolips.feature.feature.group 3.7.20130127.39)
>>>>> Missing requirement: WOLips 3.7.20130127.39 
>>>>> (org.objectstyle.wolips.feature.feature.group 3.7.20130127.39) requires 
>>>>> 'org.eclipse.update.ui 0.0.0' but it could not be found
>>>>> 
>>>>> What I am missing? Or is this just a temporarily hick-up?
>>>>> 
>>>>> 
>>>>> cheers,
>>>>> 
>>>>>   Lars
>>>>> 
>>>>> 
>>>>> ___
>>>>> 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:
>>>>> https://lists.apple.com/mailman/options/webobjects-dev/rgurley%40smarthealth.com
>>>>> 
>>>>> This email sent to rgur...@smarthealth.com
>>>> 
>>> 
>>> 
>>> ___
>>> 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:
>>> https://lists.apple.com/mailman/options/webobjects-dev/lists%40thetimmy.com
>>> 
>>> This email sent to li...@thetimmy.com
>> 
>> 
>> ___
>> 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:
>> https://lists.apple.com/mailman/options/webobjects-dev/probert%40macti.ca
>> 
>> This email sent to prob...@macti.ca
> 


 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: Problems installing WOLips into 4.2.1

2013-02-19 Thread Tim Worman
Is Eclipse/WOLips 4.2 recommended now? On another note, can we update golipse. 
I was looking at it and it shouldn't be too hard. I'm happy to give it a go.

Tim
UCLA GSE&IS

On Feb 19, 2013, at 12:52 PM, Lars Sonchocky-Helldorf 
 wrote:

> Thanks for the hint, I was actually wondering about the WOLips37Stable in the 
> URL I had. I found it here 
> http://wiki.wocommunity.org/display/WOL/Install+WOLips+with+Eclipse+Update+Manager
>  , it was the first hit on Google. When I now look at that page it displays 
> the correct information. Maybe I was already to tired last time … :)
> 
> cheers,
> 
>   Lars
> 
> 
> Am 19.02.2013 um 01:13 schrieb Ramsey Gurley:
> 
>> Wrong site for 4.2
>> 
>> http://jenkins.wocommunity.org/job/WOLips42/lastSuccessfulBuild/artifact/temp/dist/
>> 
>> Ramsey
>> 
>> On Feb 18, 2013, at 4:59 PM, Lars Sonchocky-Helldorf wrote:
>> 
>>> Hi WO-men and WO-girls … ;)
>>> 
>>> I am trying to install WOLips from 
>>> http://jenkins.wocommunity.org/job/WOLips37Stable/lastSuccessfulBuild/artifact/temp/dist/
>>>  (for 4.2) into a Version: 4.2.1 Build id: M20120914-1800
>>> 
>>> but I get:
>>> 
>>> Cannot complete the install because one or more required items could not be 
>>> found.
>>> Software being installed: WOLips 3.7.20130127.39 
>>> (org.objectstyle.wolips.feature.feature.group 3.7.20130127.39)
>>> Missing requirement: WOLips 3.7.20130127.39 
>>> (org.objectstyle.wolips.feature.feature.group 3.7.20130127.39) requires 
>>> 'org.eclipse.update.ui 0.0.0' but it could not be found
>>> 
>>> What I am missing? Or is this just a temporarily hick-up?
>>> 
>>> 
>>> cheers,
>>> 
>>> Lars
>>> 
>>> 
>>> ___
>>> 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:
>>> https://lists.apple.com/mailman/options/webobjects-dev/rgurley%40smarthealth.com
>>> 
>>> This email sent to rgur...@smarthealth.com
>> 
> 
> 
> ___
> 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:
> https://lists.apple.com/mailman/options/webobjects-dev/lists%40thetimmy.com
> 
> This email sent to li...@thetimmy.com


 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: WOCommunity membership and goals

2013-02-07 Thread Tim Worman
On Feb 7, 2013, at 11:01 AM, Pascal Robert  wrote:

> 
> Le 2013-02-07 à 13:50, Ramsey Gurley  a écrit :
> 
>> 
>> On Feb 7, 2013, at 5:59 AM, Pascal Robert wrote:
>> 
>>> Hello everyone,
>>> 
>>> Based on the feedback we have so far in the surveys (if you haven't 
>>> answered the 2013 surveys, please do it in the next 7 days), we established 
>>> a list of goals for 2013:
>>> 
>>> - We need a jQuery framework. According to the surveys, members of the 
>>> community use jQuery almost as much as the Ajax framework from Wonder. In 
>>> fact, I'm wondering how you use it now, in Direct Actions? Just for 
>>> effects? If you already have a jQuery framework that you would like to give 
>>> to the community, we can work it out.
>> 
>> 
>> We have a couple of these already. What's missing?
> 
> That's the good question. Lot of people using jQuery, but I don't see any 
> framework beside ERJQueryMobile.

My Ajax experience begins and ends with AjaxFramework and MooToolsFramework. 
JQuery seems to be the flavor of the day though and I am interested in pursuing 
it. I'm intrigued by Johann's suggestion.

>>> - Better integration between WO and iOS (and Android). ERSync is a start, 
>>> and I was thinking maybe we could make a tool that reads a CoreData model, 
>>> convert it to a EOModel and automatically build REST services for the 
>>> model. 
>> 
>> 
>> I read this as Java Client for mobile.
> 
> I don't think you like this idea :-P
> 
>> 
>> 
>>> - A "Project Wonder Cookbook". That book would contains, two pages max, 
>>> solutions to common problems and questions about Project Wonder.
>> 
>> 
>> I often observe that the biggest problem WO devs have isn't solving a 
>> problem with WO/Wonder. Instead, I see is WO devs reinventing wheels. 
>> Writing solutions for problems already covered by WO/Wonder. 
>> 
>> The frameworks are so big, people just don't realize what's in there and 
>> come up with one off solutions that aren't as robust in the end. 
>> 
>> Maybe we should have some WOCommunity highlights or something. A monthly 
>> "Hey, check out this {framework | component | class}. Did you know ...?" 
>> sort of thing. Validation is one of these things. WO offers validation. 
>> Wonder improves it greatly. Everyone seems to make up their own anyway.
> 
> +100.

This is a great idea. At this point I often find myself replacement prior 
constructs of my own with better implementations in Wonder. It would also be 
great if devs who are rolling redundant stuff in-house could find themselves 
using Wonder instead and even using those hours to improve it where needed. The 
highlights thing could promote that.

> 
>> 
>>> - Getting more people to understand and work on WOLips.
>> 
>> 
>> That'll be tough. Q is our lifeline right now. Without him, I don't think 
>> anyone would have updated WOLips for 4.2.
>> 
>> 
>>> - A easy-to-install development environment, that would install not only 
>>> WOLips and Eclipse, but also the core WO frameworks and Project Wonder.
>> 
>> 
>> I've given up on this happening. There's too much to do for an installer and 
>> its painful work without any direct benefit for the author who would need to 
>> provide ongoing maintenance and support.  It would need to install:
>> 
>> Eclipse
>> WOLips
>> eGit/git
>> jadclipse
>> WebObjects
>> clone and import Wonder
>> Set up the wolips.properties
>> Apache
>> mod_webobjects
>> 
>> And lots of these pieces update independently of the others. The getting 
>> started guide on the wiki is pretty good. It just needs to include the 
>> apache setup.  I had a guy showing interest in WO here at work and he gave 
>> up at Apache. I'm hoping he will get a second wind.
> 
> Well, I guess less people bugs you about development tools and deployment 
> than me :-) Yes, I do have less questions about development tools once the 
> new wiki page was up, but it's still a pain for some people. But I must say 
> that the #1 problem is: the incremental builder vs Ant.
> 
> I still think that we need that WOLips ships as a Eclipse RCP app, just like 
> most other IDEs based on Eclipse.

I agree with Ramsey that this is a ball of wax. Although, in my own experience, 
a big chunk of this gets addressed with Golipse. I use it every time with great 
success for installing the toolchain. WO - I use woinstaller.jar. Works great. 
With Apache - we deal in web-based apps. You kinda gotta know how to configure 
it. If we keep Golipse updated, that could be a big help.

> 
>>> - A easy to use deployment service. Having helped many people with 
>>> deployment issues, it looks like deployment is still an issue. 
>> 
>> 
>> The linux stuff you are working on sounds promising. I haven't had a chance 
>> to try them out yet, but it would be nice to be able to stay up to date on 
>> java monitor and wotaskd with a package manager.
> 
> +1. And the OS X development package should be a .pkg so that it can be 
> integrated in a workflow like ARD or other tools.

I've used the yum 

Re: quick pwd hash?

2013-02-04 Thread Tim Worman
er.extensions.crypting

Tim
UCLA GSE&IS

On Feb 4, 2013, at 11:29 AM, Jesse Tayler  wrote:

> 
> doesn't Wonder have a quick hash (sha1 maybe?) for handling user login?
> 
> can't seem to spot it--
> 
> 
> ___
> 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:
> https://lists.apple.com/mailman/options/webobjects-dev/lists%40thetimmy.com
> 
> This email sent to li...@thetimmy.com

 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: Eclipse 3.7 or 4.2?

2013-01-30 Thread Tim Worman
Should we have Golipse install 3.8 until WOLips is updated for 4.X?

T

On Jan 30, 2013, at 1:58 PM, Pascal Robert  wrote:

> 3.7 or 3.8 (WOLips 3.7 works great with 3.8).
> 
>> Is everyone still using 3.7, or is 4.2 "good to go" now?
>> ___
>> 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:
>> https://lists.apple.com/mailman/options/webobjects-dev/probert%40macti.ca
>> 
>> This email sent to prob...@macti.ca
> 
> ___
> 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:
> https://lists.apple.com/mailman/options/webobjects-dev/lists%40thetimmy.com
> 
> This email sent to li...@thetimmy.com

 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: ERModern and ERDControllerButton css

2013-01-28 Thread Tim Worman
G. Annotations. And so continues my hate/love relationship with D2W. Yes, I 
know it is awesome. :-)

The one-liner rule worked. Thanks Ramsey.

T

On Jan 28, 2013, at 3:29 PM, Ramsey Gurley  wrote:

> I believe there is a controller button on the page there. You may be able to 
> omit it with a rule. 
> 
> Because it is there, it's going to get the default controller choices unless 
> you override it with rules. 
> 
> 100:pageConfiguration = 'ListMyEntity' => branchChoices = () [Assignment]
> 105:pageConfiguration = 'ListMyEntity' and object.isNonNull = 1 => 
> branchChoices = (setNewPassword) [Assignment]
> 
> You might be able to get away with just one rule
> 
> 100:pageConfiguration = 'ListMyEntity' and object.isNonNull <> 1 => 
> branchChoices = () [Assignment]
> 
> I forget if that works. Or use annotations on your delegate method
> 
> @D2WDelegate (
>   scope = "object", availableTasks = "list", availablePages = 
> "ListMyEntity"
>    )
>    public WOComponent setNewPassword(WOComponent sender) {
>   //Does stuff
>}
> 
> Ramsey
> 
> 
> On Jan 28, 2013, at 4:13 PM, Tim Worman wrote:
> 
>> I've overridden the css in my D2W project to show the ERDControllerButton. 
>> And I've set up a page controller delegate. I've also added a rule that this 
>> controller shows up for task = 'list' and entity.name = 'MyEntity'.
>> 
>> 100 : (task = 'list' and entity.name = 'MyEntity') => actions = {"left" = 
>> ("inspectAction", "controllerAction"); } 
>> [com.webobjects.directtoweb.Assignment]
>> 
>> The problem I can't figure out is why additional controller buttons are 
>> becoming visible in other places outside the actual list - like in the 
>> attached example.
>> 
>> Tim
>> UCLA GSE&IS
>> 
>> 
>> ___
>> 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:
>> https://lists.apple.com/mailman/options/webobjects-dev/rgurley%40smarthealth.com
>> 
>> This email sent to rgur...@smarthealth.com
> 


 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


ERModern and ERDControllerButton css

2013-01-28 Thread Tim Worman
I've overridden the css in my D2W project to show the ERDControllerButton. And I've set up a page controller delegate. I've also added a rule that this controller shows up for task = 'list' and entity.name = 'MyEntity'.100 : (task = 'list' and entity.name = 'MyEntity') => actions = {"left" = ("inspectAction", "controllerAction"); } [com.webobjects.directtoweb.Assignment]The problem I can't figure out is why additional controller buttons are becoming visible in other places outside the actual list - like in the attached example.TimUCLA GSE&IS ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: SSL on all pages

2013-01-25 Thread Tim Worman
RedirectMatch 301 /appname https://my.server.com/appname$1

On Jan 25, 2013, at 4:10 PM, Johnny Miller  wrote:

> Mod rewrite?
> 
> 
> On Jan 25, 2013, at 2:04 PM, Ramsey Gurley  wrote:
> 
>> Hi All,
>> 
>> Is there an easy way to make every request use https? I'm using secure 
>> cookies and new sessions get generated when hitting a http page because the 
>> cookie isn't sent on the non-secure page.
>> 
>> Thanks,
>> 
>> Ramsey
>> 
>> 
>> ___
>> 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:
>> https://lists.apple.com/mailman/options/webobjects-dev/jlmiller%40kahalawai.com
>> 
>> This email sent to jlmil...@kahalawai.com
> 
> 
> ___
> 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:
> https://lists.apple.com/mailman/options/webobjects-dev/lists%40thetimmy.com
> 
> This email sent to li...@thetimmy.com


 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: Best way to web 2.0 ?

2013-01-15 Thread Tim Worman
I'm probably not far beyond you Ken - but I did start across this bridge a 
couple years ago. With limited time, my approach was to pick a feature that I 
liked, like drop-down menus, and then just go out and find samples. I used the 
samples to kinda show me how - break it, fix it. I probably still wouldn't be 
able to implement a drop-down menu without help, but the process did lead to me 
learning enough to style a lot of things. I also looked at how Wonder's Ajax 
Examples were styled and ERModern, etc.

I know this isn't book learnin' but could be the way to go if you're working 
and studying concurrently. I bookmarked lots of stuff to help me and here's 
some examples/resources I've regularly gone back to.

http://www.webdesignerwall.com/demo/css3-dropdown-menu/css-gradient-dropdown.html
http://www.quirksmode.org/css/display.html
http://www.barelyfitz.com/screencast/html-training/css/positioning/
http://matthewjamestaylor.com/blog/perfect-multi-column-liquid-layouts
http://tools.westciv.com/gradients/
http://cssbutton.com/forms/

Tim
UCLA GSE&IS

On Jan 15, 2013, at 7:55 AM, Faizel Dakri  wrote:

> For learning CSS, I found the Eric Meyer books most helpful:  
> 
>   "Eric Meyer on CSS"
>   "More Eric Meyer on CSS"
> 
> They're a little old now (2002 & 2004), but that means they're pretty cheap 
> on Amazon now :) and they still give you a pretty good idea of how to 
> progressively enhance a site to take advantage of CSS. The books are filled 
> with detailed explanations and plenty of images.
> 
> The approach taken in the books is to incrementally enhance existing sites to 
> transition from using plain HTML to sites that take full advantage of CSS. 
> Some of the topics in the first book include dealing with multi-column 
> layouts, styling input forms, styling a calendar, and taking advantage of 
> positioning. The second book covers more advanced topics like styling tabs, 
> drop-down menus, list menus, etc.
> 
> Hope that helps!
> 
> F
> 
> -- 
> Faizel Dakri
> 
> 
> 
> On 2013-Jan-15, at 08:18 AM, Ken Anderson  wrote:
> 
> 
> 
> 
>> Friends and colleagues,
>> 
>> While I've spent most of my time doing things on the back end (no jokes 
>> please), it's time I learned a little more about that CSS stuff and 
>> integrating pretty sites with WO.  Any suggestions for good tools, books, 
>> etc., to make my journey more fruitful?
>> 
>> Thanks for any suggestions!
>> 
>> Ken
>> ___
>> 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:
>> https://lists.apple.com/mailman/options/webobjects-dev/listfez%40dakri.com
>> 
>> This email sent to list...@dakri.com
> 
> 
> ___
> 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:
> https://lists.apple.com/mailman/options/webobjects-dev/lists%40thetimmy.com
> 
> This email sent to li...@thetimmy.com


 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: apache force https:

2013-01-13 Thread Tim Worman
Jesse:

I have used both apache rewrite rules for this as well as RedirectMatch 
directives. In current deployments I use the latter but that might not work in 
all situations. 

I have s'thg like this in my (port 80 insecure) apache conf. For "appname" (and 
assuming you're using Wonder's url rewriting):

RedirectMatch 301 /appname https://apps.gseis.ucla.edu/appname$1

Of course, a port 443 conf file exists for the target and and virtual site.

Tim
UCLA GSE&IS

On Jan 13, 2013, at 4:53 PM, Jesse Tayler  wrote:

> anyone have a reliable apache rule or other to redirect and force https 
> access?
> 
> 
> 
> ___
> 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:
> https://lists.apple.com/mailman/options/webobjects-dev/lists%40thetimmy.com
> 
> This email sent to li...@thetimmy.com


 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: wonder/git question

2013-01-09 Thread Tim Worman
On Jan 9, 2013, at 1:31 AM, Paul Hoadley  wrote:

> Hi Tim,
> 
> On 09/01/2013, at 5:28 PM, Tim Worman  wrote:
> 
>> For some reason, eGit in Eclipse shows every build.xml file in the Wonder 
>> project as changed.
>> 
>> Does anyone else experience this that can maybe clue me in on what could be 
>> causing modifications to every single build.xml file?
> 
> I see this, though, as you note, only in eGit in Eclipse.  At the command 
> line, 'git status' shows nothing has changed.  I have been assuming that it's 
> a side-effect of those files being symbolic links, and just ignoring it.  
> Does anyone know how to make it go away?

I wonder if the target file of the symbolic link is touched or changed by the 
building process somehow and therefore eGit is incorrectly following the link?

Tim
UCLA GSE&IS
 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


wonder/git question

2013-01-08 Thread Tim Worman
Hello:

Today I did a git fetch upstream to update Wonder source. Then I performed a 
merge. All went fine. Following that, I installed the latest frameworks with: 

ant frameworks; sudo ant frameworks.install

For some reason, eGit in Eclipse shows every build.xml file in the Wonder 
project as changed.

Does anyone else experience this that can maybe clue me in on what could be 
causing modifications to every single build.xml file?

Tim
UCLA GSE&IS
 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: Wonder Deployment Guide ready for review

2013-01-04 Thread Tim Worman
Me too please.

Thanks,

On Jan 4, 2013, at 1:45 PM, Miguel Torres  wrote:

> Yes please
> 
> Miguel.
> 
> 
> 
> 
> On 03/01/2013, at 22:13, Klaus Berkling  wrote:
> 
>> Hi All.
>> 
>> I have my deployment guide ready for review.  It's 12 pages. Not a 
>> derivative of any Apple documents.
>> Let me know if want to take a look.
>> 
>> 
>> kib
>> 
>> "The era of procrastination, of half-measures, of soothing and baffling 
>> expedients, of delays, is coming to its close. In its place we are entering 
>> a period of consequences."
>> Winston Churchill
>> 
>> Klaus Berkling
>> Web Application Dev. & Systems Analyst
>> DynEd International, Inc.
>> www.dyned.com
>> 
>> 
>> ___
>> 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:
>> https://lists.apple.com/mailman/options/webobjects-dev/wo%40toracom.net
>> 
>> This email sent to w...@toracom.net
> 
> ___
> 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:
> https://lists.apple.com/mailman/options/webobjects-dev/lists%40thetimmy.com
> 
> This email sent to li...@thetimmy.com


 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: time selection

2012-12-21 Thread Tim Worman
I use pop-ups for time entry - one for hours and one for minutes (0, 15, 30, 
45). I have a Time class that extends Number for doing math.

T

On Dec 20, 2012, at 9:02 AM, Theodore Petrosky  wrote:

> As I am thinking the user will be limited to Hours and half hours, i.e.: 
> 12:00 or 12:30, I was thinking of using popups. I want to limit the users 
> ability to put in bad data. If they can only choose from a popup, they can 
> not input an error that I have to validate and give good error messages to.
> 
> I guess I am just being lazy.
> 
> Ted
> 
> --- On Thu, 12/20/12, Chuck Hill  wrote:
> 
>> From: Chuck Hill 
>> Subject: Re: time selection
>> To: "Theodore Petrosky" 
>> Cc: "WebObjects Development" 
>> Date: Thursday, December 20, 2012, 11:47 AM
>> It has been mentioned before.  I
>> think the consensus was that a time picker is harder to use
>> than just typing in the time.
>> 
>> 
>> On 2012-12-20, at 8:07 AM, Theodore Petrosky wrote:
>> 
>>> I could have sworn that there was a simple component to
>> select time. I am talking about a text field with arrows
>> that if you click the up arrow increments the hour field 1
>> hour and if you click the down arrow decrements the hour
>> field 1 hour. Then the same thing for the minutes field.
>>> 
>>> Either I did this in a WO app or it was a regular app
>> (Xcode app). I know it is easy in a regular app with all the
>> nib tools and widgets. But I need to do it in a web app.
>>> 
>>> I don't see anything in the AJAX examples.
>>> 
>>> Does someone have this or is there an example app that
>> does it? (that I can pilfer from)
>>> 
>>> Ted
>>> ___
>>> 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:
>>> https://lists.apple.com/mailman/options/webobjects-dev/chill%40global-village.net
>>> 
>>> This email sent to ch...@global-village.net
>> 
>> -- 
>> 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/gvc/practical_webobjects
>> 
>> Global Village Consulting ranks 13th in 2012 in BIV's Top
>> 100 Fastest Growing Companies in B.C! 
>> Global Village Consulting ranks 76th in 24th annual PROFIT
>> 200 ranking of Canada’s Fastest-Growing Companies by
>> PROFIT Magazine!
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
> 
> ___
> 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:
> https://lists.apple.com/mailman/options/webobjects-dev/lists%40thetimmy.com
> 
> This email sent to li...@thetimmy.com


 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: Lazy synchronization and multiple subcomponents

2012-10-29 Thread Tim Worman
Also, I have sometimes used this pattern for sub-components like the two you 
described (instead of assigning a synchronized EO to a class variable).

1. editMember with "member" binding

public Member member() {
return (Member)valueForBinding("member");
}
public void setMember(Member newMember) {
//do nothing
}

2. editAddress component with "address" binding

public Address address() {
return (Address)valueForBinding("address");
}
public void setAddress(Address newAddress) {
//do nothing
}

Tim
UCLA GSE&IS


On Oct 29, 2012, at 8:50 AM, Miguel Torres  wrote:

> Hi Tim,
> 
> I will double check the code today, there is something in it that is calling 
> the address() method after the awake() method, before the end of the request. 
> I think that's the key of my problem.
> 
> Thanks.
> 
> 
> On 26/10/2012, at 21:28, Tim Worman  wrote:
> 
>> Miguel:
>> 
>> I often use lazy synchronization and I haven't typically needed any kind of 
>> component initialization to correct problems. Can you give us a code snippet 
>> for the lazy synchronization looks for your subcomponents?
>> 
>> Tim
>> UCLA GSE&IS
>> 
>> 
>> On Oct 26, 2012, at 4:16 PM, Miguel Torres  wrote:
>> 
>>> Hi List,
>>> I recently begun using lazy synchronization. Chuck Hill solved some doubts 
>>> that I had.
>>> 
>>> It works fine in cases Component -- > subcomponent.
>>> 
>>> But in cases Component --> subcomponent --> subcomponent is not working 
>>> properly.
>>> 
>>> I have this scenario:
>>> 
>>> 1. A memberCatalog component. (A grid with the member's information).
>>> 2. An editMember sub component with a "member" binding.
>>> 3. An editAddress sub component inside editMenber with an "address" binding.
>>> 
>>> Sub components 2 and 3 use lazy synchronization.
>>> We have a navigation bar in editMember component with a Next Record button 
>>> that calls a function that gets the next member and sets it to the object 
>>> connected to the edit form.
>>> 
>>> This is the case where lazy synchronization is not working properly:
>>> I have 2 members in my catalog.
>>> I select the first one.
>>> 
>>> Both, editMember and editAddress loads properly. I see the correct 
>>> information of the member and its address.
>>> 
>>> I click on Next Record button and this sequence occurs:
>>> 
>>> 1.  The request begins. The awake method of editAddress is called and all 
>>> objects related to the bindings are set to null.
>>> 
>>> 2. The awake method of editMember is called and all objects related to the 
>>> bindings are set to null.
>>> 
>>> 3. The address() method of editAddress is called several times (I do not 
>>> know why) and because the address object was set to null previously, the 
>>> address object is pull from the parent component. The problem is that the 
>>> address that is set is the address of the actual member not the next member.
>>> 
>>> 4. The nextRecord method is called and it gets the new member.
>>> 
>>> 5. The request ends.
>>> 
>>> 6. The response  begins.
>>> 
>>> 7. The member() method is called several times and it returns the correct 
>>> member because it was set by the nextRecord method previously.
>>> 
>>> 8. The address() method is called several times. The problem is that the 
>>> address object is not null because of the call of the address() method 
>>> (step 3) after the call of the awake method (step 2).
>>> 
>>> 
>>> I solved it this way:
>>> 
>>> Each sub component has an initComponent object of the class Boolean that is 
>>> set via bindings.
>>> 
>>> Each sub component has an initialize() method that is called by the 
>>> appendToResponse method.
>>> 
>>> Inside the initialize() method we do task like filling NSArrays connected 
>>> to popUpButtons, etc. The basic structure of the method is as follows:
>>> 
>>> private void initialize(){
>>>  if(initComponent){
>>>    Do my stuff
>>>   initComponent = false;   // If the user submits the form but the 
>>> record does not change initialize does nothing.
>>>  }
>>> }
>>> 
>>> The change I made is that inside the initialize method I set to null the 
>>> objects rel

Re: Lazy synchronization and multiple subcomponents

2012-10-26 Thread Tim Worman
Miguel:

I often use lazy synchronization and I haven't typically needed any kind of 
component initialization to correct problems. Can you give us a code snippet 
for the lazy synchronization looks for your subcomponents?

Tim
UCLA GSE&IS


On Oct 26, 2012, at 4:16 PM, Miguel Torres  wrote:

> Hi List,
> I recently begun using lazy synchronization. Chuck Hill solved some doubts 
> that I had.
> 
> It works fine in cases Component -- > subcomponent.
> 
> But in cases Component --> subcomponent --> subcomponent is not working 
> properly.
> 
> I have this scenario:
> 
> 1. A memberCatalog component. (A grid with the member's information).
> 2. An editMember sub component with a "member" binding.
> 3. An editAddress sub component inside editMenber with an "address" binding.
> 
> Sub components 2 and 3 use lazy synchronization.
> We have a navigation bar in editMember component with a Next Record button 
> that calls a function that gets the next member and sets it to the object 
> connected to the edit form.
> 
> This is the case where lazy synchronization is not working properly:
> I have 2 members in my catalog.
> I select the first one.
> 
> Both, editMember and editAddress loads properly. I see the correct 
> information of the member and its address.
> 
> I click on Next Record button and this sequence occurs:
> 
> 1.  The request begins. The awake method of editAddress is called and all 
> objects related to the bindings are set to null.
> 
> 2. The awake method of editMember is called and all objects related to the 
> bindings are set to null.
> 
> 3. The address() method of editAddress is called several times (I do not know 
> why) and because the address object was set to null previously, the address 
> object is pull from the parent component. The problem is that the address 
> that is set is the address of the actual member not the next member.
> 
> 4. The nextRecord method is called and it gets the new member.
> 
> 5. The request ends.
> 
> 6. The response  begins.
> 
> 7. The member() method is called several times and it returns the correct 
> member because it was set by the nextRecord method previously.
> 
> 8. The address() method is called several times. The problem is that the 
> address object is not null because of the call of the address() method (step 
> 3) after the call of the awake method (step 2).
> 
> 
> I solved it this way:
> 
> Each sub component has an initComponent object of the class Boolean that is 
> set via bindings.
> 
> Each sub component has an initialize() method that is called by the 
> appendToResponse method.
> 
> Inside the initialize() method we do task like filling NSArrays connected to 
> popUpButtons, etc. The basic structure of the method is as follows:
> 
> private void initialize(){
>if(initComponent){
>  Do my stuff
> initComponent = false;   // If the user submits the form but the 
> record does not change initialize does nothing.
>}
> }
> 
> The change I made is that inside the initialize method I set to null the 
> objects related to the bindings. That way every time I go to the next record 
> I set the initComponent's objects to true and it forces the subcomponents to 
> reset the objects related to the bindings and next time the address() method 
> is called it pulls the correct address from the parent component.
> 
> I am not sure if I am solving a problem that was caused by a bad 
> implementation of lazy synchronization. I have reviewed serveral times the 
> documentation and my code and I can't find errors (But maybe I see what I 
> want to see, I am kind of tired). 
> 
> So, I will appreciated any comment.
> 
> 
> 
> ___
> 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:
> https://lists.apple.com/mailman/options/webobjects-dev/lists%40thetimmy.com
> 
> This email sent to li...@thetimmy.com


 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: WOWODC 2013?

2012-10-20 Thread Tim Worman
Yep, that's my biggest issue. I'd love to be there but I'm almost always on 
vacation with family the weekend leading into the 4th of July.

Tim
UCLA GSE&IS


On Oct 20, 2012, at 9:45 AM, James Cicenia  wrote:

> The July 4th time frame is holiday here in the states.
> And some of us like to actually go on holiday. 
> Thus the date is always really bad for me, else I would be there.
> 
> 
> On Oct 19, 2012, at 2:32 PM, Pascal Robert  wrote:
> 
>> 
>> Le 2012-10-19 à 13:58, Chuck Hill  a écrit :
>> 
>>> 
>>> On 2012-10-19, at 10:13 AM, David Avendasora wrote:
>>> 
 
 On Oct 20, 2012, at 12:42 AM, Chuck Hill  wrote:
 
>> I hope some day we could have one WOWODC here in Costa Rica we have 
>> beaches, girls, beers. It will be nice.
 
 Hey! We have all that in Brunei too!
 
 Except for the beer.
 
 And all (okay, both) the girls are covered head to toe in loose-fitting 
 polyester.
>>> 
>>> I wonder if there is a fetish for that...
>>> 
>>> 
 And all the beaches have sand flies.
>>> 
>>> Bonus!
>>> 
>>> 
 Otherwise this place is paradise!
 
 But seriously, I don't care how much Pascal makes organizing WOWODC every 
 year
>>> 
>>> I think it makes him insane and a nervous wreck.  I don't think it makes 
>>> him money.
>> 
>> Honestly, I do it only to see everyone at least once a year and because I do 
>> like giving presentations.
>> ___
>> 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:
>> https://lists.apple.com/mailman/options/webobjects-dev/james%40jimijon.com
>> 
>> This email sent to ja...@jimijon.com
> 
> ___
> 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:
> https://lists.apple.com/mailman/options/webobjects-dev/lists%40thetimmy.com
> 
> This email sent to li...@thetimmy.com


 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: Creating a Git Server

2012-10-09 Thread Tim Worman
Roger:

You might get better advice from a git forum. It sounds to me like you're using 
the pre-built installer packaged by someone and distributed through google 
code. Any reason you're not just using macports or homebrew? If you go that 
route you know you're getting a recent version built for your specific 
platform/processor, etc.

My 2¢.

Good luck,

Tim
UCLA GSE&IS

On Oct 9, 2012, at 12:30 PM, Roger Perryman  wrote:

> Can anyone confirm (or deny) that git 1.7.5.4 is the latest version that 
> works on OSX 10.5? I installed the latest version (1.7.12.2) but it 
> complained about some dylibs. The dmg name included snow-leopard so I assumed 
> it required snow-leopard. I then installed the latest leopard version 
> (1.7.5.4) and it works but some of the server solutions I'm looking at 
> require later versions.
> ___
> 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:
> https://lists.apple.com/mailman/options/webobjects-dev/lists%40thetimmy.com
> 
> This email sent to li...@thetimmy.com


 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: adding new records in database fails

2012-09-25 Thread Tim Worman
I believe OpenBase has their own plugin for generating primary keys in WO 
(which you can alternately use). Check their docs.

Tim
UCLA GSE&IS

On Sep 25, 2012, at 2:07 PM, Paul Yu  wrote:

> Cretu
> 
> Then I would guess that your sequence on the database table is messed up.
> 
> Are you saying that EOF will catch up with the database after you attempt to 
> insert some number of records and work?  Then when you reboot the machine, 
> then EOF and the Database gets out of synch and you can't insert records?
> 
> This is OpenBase right?
> 
> Paul
> On Sep 25, 2012, at 4:41 PM, Cretu Catalin  wrote:
> 
>> I did it, but still is not working. 
>> 
>> When I try to add a record the app is throwing this exception till the 
>> sequence is increasing enough to create the new primary key. When I'm adding 
>> a new record before I restart the computer it is working. The issue is 
>> starting again when I restart the computer and application. It takes the 
>> sequence again from beginning.
>> 
>> Any ideas?
>> Any help is much appreciated. 
>> 
>> Thanks
>> Catalin
>> 
>> 
>> From: Paul Yu 
>> To: Cretu Catalin  
>> Cc: WebObjects Development ; Patrick 
>> Robinson  
>> Sent: Monday, September 24, 2012 10:06:26 PM
>> Subject: Re: adding new records in database fails
>> 
>> Cretu
>> 
>> You need to delete the row associated with the ADDRESS EO.  Once you do EOF 
>> will create a new one and give you the max.
>> 
>> Paul
>> On Sep 24, 2012, at 9:46 PM, Cretu Catalin  wrote:
>> 
>>> Yes I do have, but I do not know how to reset sequence. The issue arise 
>>> when I restart the computer.
>>> 
>>> Thank you
>>> Catalin
>>> 
>>> 
>>> From: Paul Yu 
>>> To: Cretu Catalin  
>>> Cc: Patrick Robinson ; WebObjects Development 
>>>  
>>> Sent: Monday, September 24, 2012 9:12:57 PM
>>> Subject: Re: adding new records in database fails
>>> 
>>> Do you have a EO_PK_TABLE?  Did you reset your sequence?
>>> 
>>> 
>>> On Sep 24, 2012, at 9:05 PM, Cretu Catalin  wrote:
>>> 
 Hi Patrick,
 
 Now I have another issue. I imported the WebObjects project in eclipse 
 with proper EOModel import. I can connect to the database, but after I add 
 data into database, if I restart eclipse and try to add new records I got 
 next error: 
 
 EvaluateExpression failed: 
 >>> INTO ADDRESS(EDIT_BY, STREET, STREET_NO, CITY_ID, IS_SHOWN, CREATE_TIME, 
 PO_BOX, APT_NO, CREATE_BY, EDIT_TIME, POSTAL_CODE, RURAL_ADDRESS, 
 ADDRESS_ID, TYPE_DATA_ID) VALUES (NULL, NULL, NULL, NULL, ?, ?, NULL, 
 NULL, ?, NULL, NULL, NULL, ?, ?)" withBindings: 1:1(isShown), 2:2012-09-24 
 17:55:52(createTime), 3:"Cat"(createBy), 4:12(addressId), 
 5:1(typeDataId)>: Next exception:SQL State:42000 -- error code: 0 -- msg: 
 ERROR - The primary key values are not unique. SQL: INSERT INTO 
 ADDRESS(EDIT_BY, STREET, STREET_NO, CITY_ID, IS_SHOWN, CREATE_TIME, 
 PO_BOX, APT_NO, CREATE_BY, EDIT_TIME, POSTAL_CODE, RURAL_ADDRESS, 
 ADDRESS_ID, TYPE_DATA_ID) VALUES (NULL, NULL, NULL, NULL, 1, 
 370216552.788, NULL, NULL, 'Cat', NULL, NULL, NULL, 12, 1)
  
 It seems that the EOModel cannot generate proper sequence for database in 
 creating primary key.
 
 I use OpenBase as database Selection from all tables is OK, editing OK, 
 but addition is failing.
 
 Any ideea what's going on? 
 
 Regards
 Catalin
 
 
 From: Patrick Robinson 
 To: Cretu Catalin  
 Cc: WebObjects Development  
 Sent: Friday, September 21, 2012 9:53:19 AM
 Subject: Re: WOTable class does not exist in Wonder and WOlips?
 
 I was afraid you were going to ask me that, and wasn't sure I had a good 
 answer.  :-)
 
 Look at your Build Path (ctrl-click on the project -> Build Path -> 
 Configure Build Path.  Click Add Library, select WebObjects Frameworks, 
 then click Next.  This will show you what frameworks have been added (and 
 is where you can add others), and it shows the location where it's finding 
 each framework, whether Project, Local, or System.
 
 It appears that WOLips prefers to find frameworks in Projects, then Local, 
 then System.  That is, if you have a JavaWOExtensions framework project 
 open in Eclipse, then it'll use that.  Otherwise, if it finds one in your 
 "Local Frameworks" location (as defined by your WOLips properties file), 
 it'll use that.  Lastly, it'll look in the "System Frameworks" location.
 
 When you run your project, you can check the Console view (in Eclipse) for 
 the value of java.class.path.
 
 - Patrick
 
 On Sep 21, 2012, at 7:46 AM, Cretu Catalin wrote:
 
 > Good Morning Patrick,
 > 
 > How can this reference be done?
 > 
 > Thank you,
 > Catalin
 > 
 > 
 > From: Patrick Robinson 
 > To: WebObjects Development  
 > Cc: Cretu Catalin  
 > Sent: Thursday, September 20, 2012 2:10:54 PM
 > Subj

  1   2   3   4   >