CaseInsensitive fetch results to ZERO records....

2011-02-23 Thread Sreenivasulu A
Hi All,

I am implementing internationalization in my example application.
For doing this, I kept Schema is in utf-8.

Entitiy in EOModeled as shown below:

{
attributes = (
{
allowsNull = N;
columnName = id;
name = id;
precision = 10;
prototypeName = a_id;
},
{
columnName = student_name;
name = student_name;
prototypeName = a_text;
userInfo = {
ERXLanguages = (en_us, ms_my, zh_cn);
};
*valueType = E*;
width = 255;
}
);
attributesUsedForLocking = (id,  student_name);
className = Student;
classProperties = (student_name);
externalName = student;
fetchSpecificationDictionary = {};
name = Student;
primaryKeyAttributes = (id);
}

All these are working properly. Reading from, writing to Schema is working
properly for english, malay and chinese languages.

But *caseInsensitive eo fetch* is *not giving result on 'student_name column
*'.

If the '*valueType = S*' then it is giving *proper result*, but *writing
data to Schema(DB) is not working*.

If the '*valueType = E*' then writing data to Schema is working, but
*caseInsensitive
fetch is fail* to give proper result.

Any help could be greatly appreciated.
Thanks in advance,
Sreenivasulu Arveti.
 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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

Amazon EC2 Image

2011-02-23 Thread Kevin Hinkson
Hi,
I setup an Amazon EC2 instance using the WOlastic image listed here 
(ami-0be80962):http://wiki.objectstyle.org/confluence/display/WO/Deploying+on+Amazon+EC2
However, I have not been able to find the su password for this image so I can 
drop to root. This question was also asked on the google groups support page 
referenced on the WOlastic website.

Has anyone else used this image and happens to know what the root password is?

I should also mention that I have been able to get all my webobjects apps 
running on the instance and backed by postgres on Amazon EBS and the reason I 
need root is to setup Virual Hosts in Apache. If that approach is wrong or 
anyone knows of a better way to setup the hosts other than on the EC2 image, 
please let me know.

I would also be grateful for any other advice for using Amazon AWS. ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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

Problem with unicode support

2011-02-23 Thread Markus Ruggiero
Hi,

I am currently fighting with a ERD2W application and unicode character support. 
Some chars simply do not make it into the browser display. One example is → 
(right arrow).

DB is Oracle 9 running on WinNT, development on Snow Leo

I can copy/paste that particular char from an Excel table into the database 
using SQLDeveloper. The arrow gets there and stays there. However when I access 
the DB with my D2W app the char shows up as ?. As far as I could see from the 
debugger the correct symbol makes it into java vars, but then it gets lost 
somewhere. Connection string for Oracle ends with the parameter 
?charSet=utf-8 (interesting side note: EOModeler inside WOLips cannot 
generate SQL when this parameter is there (SID not known), app however seems to 
run fine with it - is this a bug?). I thought that PageWrapper.wo is the one 
being used - and there I have meta http-equiv=Content-Type 
content=text/html; charset=utf-8 /
declaration but obviously this page wrapper is not being used as none of my 
headers lines show up. And nowhere in the rules file can I find any rule for a 
different page wrapper. The page in the browser does not have my header lines 
and thus lacks the charset declaration.

How do I get the correct right arrow symbol to show up from the database in the 
browser - and how do I make sure that when the user edits some fields and puts 
such a char in that the right thing goes to the database. I must be missing 
some simple things...

Thanks for help
---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:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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

Re: Amazon EC2 Image

2011-02-23 Thread Paul D Yu
Kevin

Try to do a sudo passwd on the root account.

Paul
On Feb 23, 2011, at 9:45 AM, Kevin Hinkson wrote:

 Hi,
 I setup an Amazon EC2 instance using the WOlastic image listed here 
 (ami-0be80962):http://wiki.objectstyle.org/confluence/display/WO/Deploying+on+Amazon+EC2
 However, I have not been able to find the su password for this image so I can 
 drop to root. This question was also asked on the google groups support page 
 referenced on the WOlastic website.
 
 Has anyone else used this image and happens to know what the root password is?
 
 I should also mention that I have been able to get all my webobjects apps 
 running on the instance and backed by postgres on Amazon EBS and the reason I 
 need root is to setup Virual Hosts in Apache. If that approach is wrong or 
 anyone knows of a better way to setup the hosts other than on the EC2 image, 
 please let me know.
 
 I would also be grateful for any other advice for using Amazon AWS.
 ___
 Do not post admin requests to the list. They will be ignored.
 Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:
 http://lists.apple.com/mailman/options/webobjects-dev/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:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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

Re: Amazon EC2 Image

2011-02-23 Thread Jesse Tayler
do NOT use WOLastic

those pages should get taken down, it is not a good way to setup

check out simon's install scripts or check back in threads about amazon to see 
how to get that working.

On Feb 23, 2011, at 10:00 AM, Paul D Yu wrote:

 Kevin
 
 Try to do a sudo passwd on the root account.
 
 Paul
 On Feb 23, 2011, at 9:45 AM, Kevin Hinkson wrote:
 
 Hi,
 I setup an Amazon EC2 instance using the WOlastic image listed here 
 (ami-0be80962):http://wiki.objectstyle.org/confluence/display/WO/Deploying+on+Amazon+EC2
 However, I have not been able to find the su password for this image so I 
 can drop to root. This question was also asked on the google groups support 
 page referenced on the WOlastic website.
 
 Has anyone else used this image and happens to know what the root password 
 is?
 
 I should also mention that I have been able to get all my webobjects apps 
 running on the instance and backed by postgres on Amazon EBS and the reason 
 I need root is to setup Virual Hosts in Apache. If that approach is wrong or 
 anyone knows of a better way to setup the hosts other than on the EC2 image, 
 please let me know.
 
 I would also be grateful for any other advice for using Amazon AWS.
 ___
 Do not post admin requests to the list. They will be ignored.
 Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:
 http://lists.apple.com/mailman/options/webobjects-dev/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:
 http://lists.apple.com/mailman/options/webobjects-dev/jtayler%40oeinc.com
 
 This email sent to jtay...@oeinc.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:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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

Re: Amazon EC2 Image

2011-02-23 Thread Kevin Hinkson

On 2011-02-23, at 11:02 AM, Jesse Tayler wrote:

 do NOT use WOLastic
 
 those pages should get taken down, it is not a good way to setup

Out of curiosity, why is it not a good way to setup?

 
 check out simon's install scripts or check back in threads about amazon to 
 see how to get that working.
 
 On Feb 23, 2011, at 10:00 AM, Paul D Yu wrote:
 
 Kevin
 
 Try to do a sudo passwd on the root account.
 
 Paul
 On Feb 23, 2011, at 9:45 AM, Kevin Hinkson wrote:
 
 Hi,
 I setup an Amazon EC2 instance using the WOlastic image listed here 
 (ami-0be80962):http://wiki.objectstyle.org/confluence/display/WO/Deploying+on+Amazon+EC2
 However, I have not been able to find the su password for this image so I 
 can drop to root. This question was also asked on the google groups support 
 page referenced on the WOlastic website.
 
 Has anyone else used this image and happens to know what the root password 
 is?
 
 I should also mention that I have been able to get all my webobjects apps 
 running on the instance and backed by postgres on Amazon EBS and the reason 
 I need root is to setup Virual Hosts in Apache. If that approach is wrong 
 or anyone knows of a better way to setup the hosts other than on the EC2 
 image, please let me know.
 
 I would also be grateful for any other advice for using Amazon AWS.
 ___
 Do not post admin requests to the list. They will be ignored.
 Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:
 http://lists.apple.com/mailman/options/webobjects-dev/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:
 http://lists.apple.com/mailman/options/webobjects-dev/jtayler%40oeinc.com
 
 This email sent to jtay...@oeinc.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:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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

Re: Amazon EC2 Image

2011-02-23 Thread James Cicenia
Simons scripts with a small amount of editing worked great. And I now love 
amazon.. More than my old Xserves which had performed flawlessly

Sent from my iPhone

On Feb 23, 2011, at 10:02 AM, Jesse Tayler jtay...@oeinc.com wrote:

 do NOT use WOLastic
 
 those pages should get taken down, it is not a good way to setup
 
 check out simon's install scripts or check back in threads about amazon to 
 see how to get that working.
 
 On Feb 23, 2011, at 10:00 AM, Paul D Yu wrote:
 
 Kevin
 
 Try to do a sudo passwd on the root account.
 
 Paul
 On Feb 23, 2011, at 9:45 AM, Kevin Hinkson wrote:
 
 Hi,
 I setup an Amazon EC2 instance using the WOlastic image listed here 
 (ami-0be80962):http://wiki.objectstyle.org/confluence/display/WO/Deploying+on+Amazon+EC2
 However, I have not been able to find the su password for this image so I 
 can drop to root. This question was also asked on the google groups support 
 page referenced on the WOlastic website.
 
 Has anyone else used this image and happens to know what the root password 
 is?
 
 I should also mention that I have been able to get all my webobjects apps 
 running on the instance and backed by postgres on Amazon EBS and the reason 
 I need root is to setup Virual Hosts in Apache. If that approach is wrong 
 or anyone knows of a better way to setup the hosts other than on the EC2 
 image, please let me know.
 
 I would also be grateful for any other advice for using Amazon AWS.
 ___
 Do not post admin requests to the list. They will be ignored.
 Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:
 http://lists.apple.com/mailman/options/webobjects-dev/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:
 http://lists.apple.com/mailman/options/webobjects-dev/jtayler%40oeinc.com
 
 This email sent to jtay...@oeinc.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:
 http://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:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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

Re: Amazon EC2 Image

2011-02-23 Thread Jesse Tayler
they don't work and aren't supported -

they are leftover and should get removed, but of course whoever put it up 
abandoned it in place so people read it and thing it might work.

there have been changes in how you can setup a server, now it is best like 
Simon says to use a generic instance and configure it using scripts and 
you're done and you have control.

works great.


On Feb 23, 2011, at 10:06 AM, Kevin Hinkson wrote:

 
 On 2011-02-23, at 11:02 AM, Jesse Tayler wrote:
 
 do NOT use WOLastic
 
 those pages should get taken down, it is not a good way to setup
 
 Out of curiosity, why is it not a good way to setup?
 
 
 check out simon's install scripts or check back in threads about amazon to 
 see how to get that working.
 
 On Feb 23, 2011, at 10:00 AM, Paul D Yu wrote:
 
 Kevin
 
 Try to do a sudo passwd on the root account.
 
 Paul
 On Feb 23, 2011, at 9:45 AM, Kevin Hinkson wrote:
 
 Hi,
 I setup an Amazon EC2 instance using the WOlastic image listed here 
 (ami-0be80962):http://wiki.objectstyle.org/confluence/display/WO/Deploying+on+Amazon+EC2
 However, I have not been able to find the su password for this image so I 
 can drop to root. This question was also asked on the google groups 
 support page referenced on the WOlastic website.
 
 Has anyone else used this image and happens to know what the root password 
 is?
 
 I should also mention that I have been able to get all my webobjects apps 
 running on the instance and backed by postgres on Amazon EBS and the 
 reason I need root is to setup Virual Hosts in Apache. If that approach is 
 wrong or anyone knows of a better way to setup the hosts other than on the 
 EC2 image, please let me know.
 
 I would also be grateful for any other advice for using Amazon AWS.
 ___
 Do not post admin requests to the list. They will be ignored.
 Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:
 http://lists.apple.com/mailman/options/webobjects-dev/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:
 http://lists.apple.com/mailman/options/webobjects-dev/jtayler%40oeinc.com
 
 This email sent to jtay...@oeinc.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:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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

Re: Amazon EC2 Image

2011-02-23 Thread Kevin Hinkson

On 2011-02-23, at 11:00 AM, Paul D Yu wrote:

 Kevin
 
 Try to do a sudo passwd on the root account.

Thanks Paul. That worked.

 
 Paul
 On Feb 23, 2011, at 9:45 AM, Kevin Hinkson wrote:
 
 Hi,
 I setup an Amazon EC2 instance using the WOlastic image listed here 
 (ami-0be80962):http://wiki.objectstyle.org/confluence/display/WO/Deploying+on+Amazon+EC2
 However, I have not been able to find the su password for this image so I 
 can drop to root. This question was also asked on the google groups support 
 page referenced on the WOlastic website.
 
 Has anyone else used this image and happens to know what the root password 
 is?
 
 I should also mention that I have been able to get all my webobjects apps 
 running on the instance and backed by postgres on Amazon EBS and the reason 
 I need root is to setup Virual Hosts in Apache. If that approach is wrong or 
 anyone knows of a better way to setup the hosts other than on the EC2 image, 
 please let me know.
 
 I would also be grateful for any other advice for using Amazon AWS.
 ___
 Do not post admin requests to the list. They will be ignored.
 Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:
 http://lists.apple.com/mailman/options/webobjects-dev/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:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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

Re: Amazon EC2 Image

2011-02-23 Thread Kevin Hinkson

On 2011-02-23, at 11:15 AM, Jesse Tayler wrote:

 they don't work and aren't supported -
 
 they are leftover and should get removed, but of course whoever put it up 
 abandoned it in place so people read it and thing it might work.
 
 there have been changes in how you can setup a server, now it is best like 
 Simon says to use a generic instance and configure it using scripts and 
 you're done and you have control.
 
 works great.

Thanks Jesse. I'll take a look at those setup scripts.

 
 
 On Feb 23, 2011, at 10:06 AM, Kevin Hinkson wrote:
 
 
 On 2011-02-23, at 11:02 AM, Jesse Tayler wrote:
 
 do NOT use WOLastic
 
 those pages should get taken down, it is not a good way to setup
 
 Out of curiosity, why is it not a good way to setup?
 
 
 check out simon's install scripts or check back in threads about amazon to 
 see how to get that working.
 
 On Feb 23, 2011, at 10:00 AM, Paul D Yu wrote:
 
 Kevin
 
 Try to do a sudo passwd on the root account.
 
 Paul
 On Feb 23, 2011, at 9:45 AM, Kevin Hinkson wrote:
 
 Hi,
 I setup an Amazon EC2 instance using the WOlastic image listed here 
 (ami-0be80962):http://wiki.objectstyle.org/confluence/display/WO/Deploying+on+Amazon+EC2
 However, I have not been able to find the su password for this image so I 
 can drop to root. This question was also asked on the google groups 
 support page referenced on the WOlastic website.
 
 Has anyone else used this image and happens to know what the root 
 password is?
 
 I should also mention that I have been able to get all my webobjects apps 
 running on the instance and backed by postgres on Amazon EBS and the 
 reason I need root is to setup Virual Hosts in Apache. If that approach 
 is wrong or anyone knows of a better way to setup the hosts other than on 
 the EC2 image, please let me know.
 
 I would also be grateful for any other advice for using Amazon AWS.
 ___
 Do not post admin requests to the list. They will be ignored.
 Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:
 http://lists.apple.com/mailman/options/webobjects-dev/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:
 http://lists.apple.com/mailman/options/webobjects-dev/jtayler%40oeinc.com
 
 This email sent to jtay...@oeinc.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:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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

Re: Linux deployment advice

2011-02-23 Thread John Baldwin
Excellent.

Definitely using Wonder this time around. I love the embedded frameworks deploy 
idea. So I'll head down this route.

And I'll definitely review Pascal's screencast section on securing JavaMonitor 
and wotaskd.

Glad to be back.

Thanks,
John

On Tuesday Feb 22  12:59 PM, at 12:59 PM, David LeBer wrote:

 
 On 2011-02-22, at 3:52 PM, Paul D Yu wrote:
 
 John
 
 Welcome back.
 
 first thing is to use Eclipse + WOLips and Project Wonder.
 
 Then set the project to embed all frameworks.
 
 Then I would recommend using Project Wonder's wotaskd and JavaMonitor 
 instead of Tomcat.
 
 This is what we are doing and are quite happy with the results. Since 
 everything is embedded we don't even install WO on the servers. Apache and 
 the WO Adapter (when needed), wotaskd and the apps. JavaMonitor is installed 
 on just one box and talks to all the rest.
 
 
 Paul
 
 
 ;david
 
 --
 David LeBer
 Codeferous Software
 'co-def-er-ous' adj. Literally 'code-bearing'
 site: http://codeferous.com
 blog: http://davidleber.net
 profile:  http://www.linkedin.com/in/davidleber
 twitter:  http://twitter.com/rebeld
 --
 Toronto Area Cocoa / WebObjects developers group:
 http://tacow.org
 
 
 
 

 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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

Re: Amazon EC2 Image

2011-02-23 Thread Ramsey Gurley
Hi Jesse,

If they don't work or are out of date, I would suggest making note of that on 
the wiki. Whoever put them there was nice enough to do so when it was relevant, 
but that person is not obligated to maintain it forever.  If the info is no 
longer correct and you know about it, do the community a favor and update the 
page when you have the time.  Link to the more relevant stuff at the top of the 
old page and/or make note on the page where you know things have changed and 
are now wrong.

Pascal and a few others work hard at maintaining the wiki, but it is still a 
community effort. They will appreciate your efforts (^_^)

Ramsey

On Feb 23, 2011, at 8:15 AM, Jesse Tayler wrote:

 they don't work and aren't supported -
 
 they are leftover and should get removed, but of course whoever put it up 
 abandoned it in place so people read it and thing it might work.
 
 there have been changes in how you can setup a server, now it is best like 
 Simon says to use a generic instance and configure it using scripts and 
 you're done and you have control.
 
 works great.
 
 
 On Feb 23, 2011, at 10:06 AM, Kevin Hinkson wrote:
 
 
 On 2011-02-23, at 11:02 AM, Jesse Tayler wrote:
 
 do NOT use WOLastic
 
 those pages should get taken down, it is not a good way to setup
 
 Out of curiosity, why is it not a good way to setup?
 
 
 check out simon's install scripts or check back in threads about amazon to 
 see how to get that working.
 
 On Feb 23, 2011, at 10:00 AM, Paul D Yu wrote:
 
 Kevin
 
 Try to do a sudo passwd on the root account.
 
 Paul
 On Feb 23, 2011, at 9:45 AM, Kevin Hinkson wrote:
 
 Hi,
 I setup an Amazon EC2 instance using the WOlastic image listed here 
 (ami-0be80962):http://wiki.objectstyle.org/confluence/display/WO/Deploying+on+Amazon+EC2
 However, I have not been able to find the su password for this image so I 
 can drop to root. This question was also asked on the google groups 
 support page referenced on the WOlastic website.
 
 Has anyone else used this image and happens to know what the root 
 password is?
 
 I should also mention that I have been able to get all my webobjects apps 
 running on the instance and backed by postgres on Amazon EBS and the 
 reason I need root is to setup Virual Hosts in Apache. If that approach 
 is wrong or anyone knows of a better way to setup the hosts other than on 
 the EC2 image, please let me know.
 
 I would also be grateful for any other advice for using Amazon AWS.
 ___
 Do not post admin requests to the list. They will be ignored.
 Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:
 http://lists.apple.com/mailman/options/webobjects-dev/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:
 http://lists.apple.com/mailman/options/webobjects-dev/jtayler%40oeinc.com
 
 This email sent to jtay...@oeinc.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:
 http://lists.apple.com/mailman/options/webobjects-dev/ramseygurley%40gmail.com
 
 This email sent to ramseygur...@gmail.com



smime.p7s
Description: S/MIME cryptographic signature
 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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

Re: Linux deployment advice

2011-02-23 Thread Pascal Robert

Le 2011-02-23 à 10:37, John Baldwin a écrit :

 Excellent.
 
 Definitely using Wonder this time around. I love the embedded frameworks 
 deploy idea. So I'll head down this route.
 
 And I'll definitely review Pascal's screencast section on securing 
 JavaMonitor and wotaskd.

In summary, it's:

- don't allow wotaskd (port 1085) to be available outside the server, unless 
you have a multi-server setups (read: one JavaMonitor to manage multiple 
wotaskds)
- allow access to JavaMonitor only to people who need it. It can be restriction 
by IP (only allow one range of IP address to access it), by a SSH tunnel 
(disallow JavaMonitor outside the server, but you can access it by the SSH 
tunnel) or only run JavaMonitor when needed (eg, connect to the server, start 
it, do your work, shut it down).

I'm thinking of doing a presentation on the WebEx channel on how to install a 
WO deployment environment on Linux (CentOS/RedHat), any interest for this?

 Glad to be back.
 
 Thanks,
 John
 
 On Tuesday Feb 22  12:59 PM, at 12:59 PM, David LeBer wrote:
 
 
 On 2011-02-22, at 3:52 PM, Paul D Yu wrote:
 
 John
 
 Welcome back.
 
 first thing is to use Eclipse + WOLips and Project Wonder.
 
 Then set the project to embed all frameworks.
 
 Then I would recommend using Project Wonder's wotaskd and JavaMonitor 
 instead of Tomcat.
 
 This is what we are doing and are quite happy with the results. Since 
 everything is embedded we don't even install WO on the servers. Apache and 
 the WO Adapter (when needed), wotaskd and the apps. JavaMonitor is installed 
 on just one box and talks to all the rest.
 
 
 Paul
 
 
 ;david
 
 --
 David LeBer
 Codeferous Software
 'co-def-er-ous' adj. Literally 'code-bearing'
 site:http://codeferous.com
 blog:http://davidleber.net
 profile: http://www.linkedin.com/in/davidleber
 twitter: http://twitter.com/rebeld
 --
 Toronto Area Cocoa / WebObjects developers group:
 http://tacow.org
 
 
 
 
 
 ___
 Do not post admin requests to the list. They will be ignored.
 Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:
 http://lists.apple.com/mailman/options/webobjects-dev/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:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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

Re: Amazon EC2 Image

2011-02-23 Thread Pascal Robert

Le 2011-02-23 à 10:57, Jesse Tayler a écrit :

 Glad to! 
 
 As I recall, I wasn't able to update their website or blog or contact whoever 
 set it up, but we can make sure our wiki makes it clear it isn't supported.
 
 Where's a page on a wiki I can alter?
 
 I'd love to help write up some data about the Simon approach, I've done it 
 here and I'm very happy with the control and result.
 
 If you know what page I can alter, I'll take a few hours to update it with 
 some facts et al.

http://wiki.objectstyle.org/confluence/display/WO/Deploying+on+Amazon+EC2
http://wiki.objectstyle.org/confluence/display/WO/Automated+Deployment+on+Amazon+EC2

 
 
 On Feb 23, 2011, at 10:51 AM, Ramsey Gurley wrote:
 
 Hi Jesse,
 
 If they don't work or are out of date, I would suggest making note of that 
 on the wiki. Whoever put them there was nice enough to do so when it was 
 relevant, but that person is not obligated to maintain it forever.  If the 
 info is no longer correct and you know about it, do the community a favor 
 and update the page when you have the time.  Link to the more relevant stuff 
 at the top of the old page and/or make note on the page where you know 
 things have changed and are now wrong.
 
 Pascal and a few others work hard at maintaining the wiki, but it is still a 
 community effort. They will appreciate your efforts (^_^)
 
 Ramsey
 
 On Feb 23, 2011, at 8:15 AM, Jesse Tayler wrote:
 
 they don't work and aren't supported -
 
 they are leftover and should get removed, but of course whoever put it up 
 abandoned it in place so people read it and thing it might work.
 
 there have been changes in how you can setup a server, now it is best like 
 Simon says to use a generic instance and configure it using scripts and 
 you're done and you have control.
 
 works great.
 
 
 On Feb 23, 2011, at 10:06 AM, Kevin Hinkson wrote:
 
 
 On 2011-02-23, at 11:02 AM, Jesse Tayler wrote:
 
 do NOT use WOLastic
 
 those pages should get taken down, it is not a good way to setup
 
 Out of curiosity, why is it not a good way to setup?
 
 
 check out simon's install scripts or check back in threads about amazon 
 to see how to get that working.
 
 On Feb 23, 2011, at 10:00 AM, Paul D Yu wrote:
 
 Kevin
 
 Try to do a sudo passwd on the root account.
 
 Paul
 On Feb 23, 2011, at 9:45 AM, Kevin Hinkson wrote:
 
 Hi,
 I setup an Amazon EC2 instance using the WOlastic image listed here 
 (ami-0be80962):http://wiki.objectstyle.org/confluence/display/WO/Deploying+on+Amazon+EC2
 However, I have not been able to find the su password for this image so 
 I can drop to root. This question was also asked on the google groups 
 support page referenced on the WOlastic website.
 
 Has anyone else used this image and happens to know what the root 
 password is?
 
 I should also mention that I have been able to get all my webobjects 
 apps running on the instance and backed by postgres on Amazon EBS and 
 the reason I need root is to setup Virual Hosts in Apache. If that 
 approach is wrong or anyone knows of a better way to setup the hosts 
 other than on the EC2 image, please let me know.
 
 I would also be grateful for any other advice for using Amazon AWS.
 ___
 Do not post admin requests to the list. They will be ignored.
 Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:
 http://lists.apple.com/mailman/options/webobjects-dev/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:
 http://lists.apple.com/mailman/options/webobjects-dev/jtayler%40oeinc.com
 
 This email sent to jtay...@oeinc.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:
 http://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:
 http://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:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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

Re: Linux deployment advice

2011-02-23 Thread David LeBer

On 2011-02-23, at 10:58 AM, Pascal Robert wrote:

 
 Le 2011-02-23 à 10:37, John Baldwin a écrit :
 
 Excellent.
 
 Definitely using Wonder this time around. I love the embedded frameworks 
 deploy idea. So I'll head down this route.
 
 And I'll definitely review Pascal's screencast section on securing 
 JavaMonitor and wotaskd.
 
 In summary, it's:
 
 - don't allow wotaskd (port 1085) to be available outside the server, unless 
 you have a multi-server setups (read: one JavaMonitor to manage multiple 
 wotaskds)
 - allow access to JavaMonitor only to people who need it. It can be 
 restriction by IP (only allow one range of IP address to access it), by a SSH 
 tunnel (disallow JavaMonitor outside the server, but you can access it by the 
 SSH tunnel) or only run JavaMonitor when needed (eg, connect to the server, 
 start it, do your work, shut it down).
 
 I'm thinking of doing a presentation on the WebEx channel on how to install a 
 WO deployment environment on Linux (CentOS/RedHat), any interest for this?

If anyone is interested in our experience with deploying to Ubuntu on Linode 
I'd be happy to gush about that over a beer at WOWOWDC.

 
 Glad to be back.
 
 Thanks,
 John
 
 On Tuesday Feb 22  12:59 PM, at 12:59 PM, David LeBer wrote:
 
 
 On 2011-02-22, at 3:52 PM, Paul D Yu wrote:
 
 John
 
 Welcome back.
 
 first thing is to use Eclipse + WOLips and Project Wonder.
 
 Then set the project to embed all frameworks.
 
 Then I would recommend using Project Wonder's wotaskd and JavaMonitor 
 instead of Tomcat.
 
 This is what we are doing and are quite happy with the results. Since 
 everything is embedded we don't even install WO on the servers. Apache and 
 the WO Adapter (when needed), wotaskd and the apps. JavaMonitor is 
 installed on just one box and talks to all the rest.
 
 
 Paul
 
 
 ;david
 
 --
 David LeBer
 Codeferous Software
 'co-def-er-ous' adj. Literally 'code-bearing'
 site:   http://codeferous.com
 blog:   http://davidleber.net
 profile:http://www.linkedin.com/in/davidleber
 twitter:http://twitter.com/rebeld
 --
 Toronto Area Cocoa / WebObjects developers group:
 http://tacow.org
 
 
 
 
 
 ___
 Do not post admin requests to the list. They will be ignored.
 Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:
 http://lists.apple.com/mailman/options/webobjects-dev/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:
 http://lists.apple.com/mailman/options/webobjects-dev/dleber_wodev%40codeferous.com
 
 This email sent to dleber_wo...@codeferous.com

;david

--
David LeBer
Codeferous Software
'co-def-er-ous' adj. Literally 'code-bearing'
site:   http://codeferous.com
blog:   http://davidleber.net
profile:http://www.linkedin.com/in/davidleber
twitter:http://twitter.com/rebeld
--
Toronto Area Cocoa / WebObjects developers group:
http://tacow.org




 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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


Re: Linux deployment advice

2011-02-23 Thread Klaus Berkling

On Feb 23, 2011, at 8:14 AM, David LeBer wrote:

 I'm thinking of doing a presentation on the WebEx channel on how to install 
 a WO deployment environment on Linux (CentOS/RedHat), any interest for this?
 
 If anyone is interested in our experience with deploying to Ubuntu on Linode 
 I'd be happy to gush about that over a beer at WOWOWDC.


I'd be interested in that. Question is how much would I remember over a few 
beers?

Side note. Anyone ever put a WOApp on a Sun Sparc 100 running FreeBSD?

kib

We keep moving forward, opening new doors, and doing new things, because we're 
curious and curiosity keeps leading us down new paths.
Walt Disney

Klaus Berkling
Web Application Dev.  Systems Administrator
DynEd International, Inc.
www.dyned.com | blog



 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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

Re: Problem with unicode support

2011-02-23 Thread Ramsey Gurley
Hi Markus,

Are you setting this property?

er.extensions.ERXApplication.DefaultEncoding=UTF-8

Other ideas:

http://wiki.objectstyle.org/confluence/display/WO/Development-Localization+and+Internationalization

Ramsey

On Feb 23, 2011, at 7:57 AM, Markus Ruggiero wrote:

 Hi,
 
 I am currently fighting with a ERD2W application and unicode character 
 support. Some chars simply do not make it into the browser display. One 
 example is → (right arrow).
 
 DB is Oracle 9 running on WinNT, development on Snow Leo
 
 I can copy/paste that particular char from an Excel table into the database 
 using SQLDeveloper. The arrow gets there and stays there. However when I 
 access the DB with my D2W app the char shows up as ?. As far as I could see 
 from the debugger the correct symbol makes it into java vars, but then it 
 gets lost somewhere. Connection string for Oracle ends with the parameter 
 ?charSet=utf-8 (interesting side note: EOModeler inside WOLips cannot 
 generate SQL when this parameter is there (SID not known), app however seems 
 to run fine with it - is this a bug?). I thought that PageWrapper.wo is the 
 one being used - and there I have meta http-equiv=Content-Type 
 content=text/html; charset=utf-8 /
 declaration but obviously this page wrapper is not being used as none of my 
 headers lines show up. And nowhere in the rules file can I find any rule for 
 a different page wrapper. The page in the browser does not have my header 
 lines and thus lacks the charset declaration.
 
 How do I get the correct right arrow symbol to show up from the database in 
 the browser - and how do I make sure that when the user edits some fields and 
 puts such a char in that the right thing goes to the database. I must be 
 missing some simple things...
 
 Thanks for help
 ---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:
 http://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:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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

Re: Linux deployment advice

2011-02-23 Thread David LeBer

On 2011-02-23, at 11:20 AM, Klaus Berkling wrote:

 
 On Feb 23, 2011, at 8:14 AM, David LeBer wrote:
 
 I'm thinking of doing a presentation on the WebEx channel on how to install 
 a WO deployment environment on Linux (CentOS/RedHat), any interest for this?
 
 If anyone is interested in our experience with deploying to Ubuntu on Linode 
 I'd be happy to gush about that over a beer at WOWOWDC.
 
 I'd be interested in that. Question is how much would I remember over a few 
 beers?

Heck, I can't remember anything sober. A few beers can't make it any worse.

;david

--
David LeBer
Codeferous Software
'co-def-er-ous' adj. Literally 'code-bearing'
site:   http://codeferous.com
blog:   http://davidleber.net
profile:http://www.linkedin.com/in/davidleber
twitter:http://twitter.com/rebeld
--
Toronto Area Cocoa / WebObjects developers group:
http://tacow.org




 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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


Re: CaseInsensitive fetch results to ZERO records....

2011-02-23 Thread Ramsey Gurley
Hi Sreenivasulu,

Not really sure... All other things being equal, does a case sensitive fetch 
work? Also, what DB are you using?

Ramsey

On Feb 23, 2011, at 2:14 AM, Sreenivasulu A wrote:

 Hi All,
 
 I am implementing internationalization in my example application. 
 For doing this, I kept Schema is in utf-8.
 
 Entitiy in EOModeled as shown below:
 
 {
 attributes = (
 {
 allowsNull = N; 
 columnName = id; 
 name = id; 
 precision = 10; 
 prototypeName = a_id; 
 }, 
 {
 columnName = student_name; 
 name = student_name; 
 prototypeName = a_text; 
 userInfo = {
 ERXLanguages = (en_us, ms_my, zh_cn); 
 }; 
 valueType = E; 
 width = 255; 
 }
 ); 
 attributesUsedForLocking = (id,  student_name); 
 className = Student; 
 classProperties = (student_name); 
 externalName = student; 
 fetchSpecificationDictionary = {}; 
 name = Student; 
 primaryKeyAttributes = (id); 
 }
 
 All these are working properly. Reading from, writing to Schema is working 
 properly for english, malay and chinese languages.
 
 But caseInsensitive eo fetch is not giving result on 'student_name column'.
 
 If the 'valueType = S' then it is giving proper result, but writing data to 
 Schema(DB) is not working.
 
 If the 'valueType = E' then writing data to Schema is working, but 
 caseInsensitive fetch is fail to give proper result.
 
 Any help could be greatly appreciated.
 Thanks in advance,
 Sreenivasulu Arveti.
 ___
 Do not post admin requests to the list. They will be ignored.
 Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:
 http://lists.apple.com/mailman/options/webobjects-dev/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:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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

Re: Linux deployment advice

2011-02-23 Thread Pascal Robert

Le 2011-02-23 à 11:20, Klaus Berkling a écrit :

 
 On Feb 23, 2011, at 8:14 AM, David LeBer wrote:
 
 I'm thinking of doing a presentation on the WebEx channel on how to install 
 a WO deployment environment on Linux (CentOS/RedHat), any interest for this?
 
 If anyone is interested in our experience with deploying to Ubuntu on Linode 
 I'd be happy to gush about that over a beer at WOWOWDC.
 
 
 I'd be interested in that. Question is how much would I remember over a few 
 beers?

We can always do a deployment session at WOWODC that target CentOS, 
Ubuntu/Debian and whatever, but I don't think we need 65 minutes for this.

I do plan to make a RPM for CentOS/RedHat that would instead the Apache module 
+ Monitor + wotaskd.

 Side note. Anyone ever put a WOApp on a Sun Sparc 100 running FreeBSD?
 
 kib
 
 We keep moving forward, opening new doors, and doing new things, because 
 we're curious and curiosity keeps leading us down new paths.
 Walt Disney
 
 Klaus Berkling
 Web Application Dev.  Systems Administrator
 DynEd International, Inc.
 www.dyned.com | blog
 
 
 
 ___
 Do not post admin requests to the list. They will be ignored.
 Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:
 http://lists.apple.com/mailman/options/webobjects-dev/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:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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

Re: Amazon EC2 Image

2011-02-23 Thread Kevin Hinkson

Does anyone have any recommendations as to which AMI to use in the US (east or 
west). The ami used in Simon's example works fine but is only available in the 
EU. It looks to me like a basic 64 bit Amazon Linux AMI on EBS. Can I use the 
current 64 bit base ami or should I be using another? 

On 2011-02-23, at 11:09 AM, James Cicenia wrote:

 Simons scripts with a small amount of editing worked great. And I now love 
 amazon.. More than my old Xserves which had performed flawlessly
 
 Sent from my iPhone
 
 On Feb 23, 2011, at 10:02 AM, Jesse Tayler jtay...@oeinc.com wrote:
 
 do NOT use WOLastic
 
 those pages should get taken down, it is not a good way to setup
 
 check out simon's install scripts or check back in threads about amazon to 
 see how to get that working.
 
 On Feb 23, 2011, at 10:00 AM, Paul D Yu wrote:
 
 Kevin
 
 Try to do a sudo passwd on the root account.
 
 Paul
 On Feb 23, 2011, at 9:45 AM, Kevin Hinkson wrote:
 
 Hi,
 I setup an Amazon EC2 instance using the WOlastic image listed here 
 (ami-0be80962):http://wiki.objectstyle.org/confluence/display/WO/Deploying+on+Amazon+EC2
 However, I have not been able to find the su password for this image so I 
 can drop to root. This question was also asked on the google groups 
 support page referenced on the WOlastic website.
 
 Has anyone else used this image and happens to know what the root password 
 is?
 
 I should also mention that I have been able to get all my webobjects apps 
 running on the instance and backed by postgres on Amazon EBS and the 
 reason I need root is to setup Virual Hosts in Apache. If that approach is 
 wrong or anyone knows of a better way to setup the hosts other than on the 
 EC2 image, please let me know.
 
 I would also be grateful for any other advice for using Amazon AWS.
 ___
 Do not post admin requests to the list. They will be ignored.
 Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:
 http://lists.apple.com/mailman/options/webobjects-dev/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:
 http://lists.apple.com/mailman/options/webobjects-dev/jtayler%40oeinc.com
 
 This email sent to jtay...@oeinc.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:
 http://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:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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

Re: Amazon EC2 Image

2011-02-23 Thread Jesse Tayler
I've had no troubles using AMIs of the same Unix variant, right now, I have 
this in the US region:

ami-38c33651

It's a tiny instance which works great for testing, but I've noticed the 
memory overhead is so low -- that if you try to launch more than one 
application instance, you'll be unceremoniously killed by the Java VM and 
you'll not even get a backtrace. scary until you realize.

I've used various sizes and locations EU and US by altering my setup scripts 
successfully and without much trouble at all.

I'll try to capture some of this on the wiki pages later today.


On Feb 23, 2011, at 11:55 AM, Kevin Hinkson wrote:

 
 Does anyone have any recommendations as to which AMI to use in the US (east 
 or west). The ami used in Simon's example works fine but is only available in 
 the EU. It looks to me like a basic 64 bit Amazon Linux AMI on EBS. Can I use 
 the current 64 bit base ami or should I be using another? 
 
 On 2011-02-23, at 11:09 AM, James Cicenia wrote:
 
 Simons scripts with a small amount of editing worked great. And I now love 
 amazon.. More than my old Xserves which had performed flawlessly
 
 Sent from my iPhone
 
 On Feb 23, 2011, at 10:02 AM, Jesse Tayler jtay...@oeinc.com wrote:
 
 do NOT use WOLastic
 
 those pages should get taken down, it is not a good way to setup
 
 check out simon's install scripts or check back in threads about amazon to 
 see how to get that working.
 
 On Feb 23, 2011, at 10:00 AM, Paul D Yu wrote:
 
 Kevin
 
 Try to do a sudo passwd on the root account.
 
 Paul
 On Feb 23, 2011, at 9:45 AM, Kevin Hinkson wrote:
 
 Hi,
 I setup an Amazon EC2 instance using the WOlastic image listed here 
 (ami-0be80962):http://wiki.objectstyle.org/confluence/display/WO/Deploying+on+Amazon+EC2
 However, I have not been able to find the su password for this image so I 
 can drop to root. This question was also asked on the google groups 
 support page referenced on the WOlastic website.
 
 Has anyone else used this image and happens to know what the root 
 password is?
 
 I should also mention that I have been able to get all my webobjects apps 
 running on the instance and backed by postgres on Amazon EBS and the 
 reason I need root is to setup Virual Hosts in Apache. If that approach 
 is wrong or anyone knows of a better way to setup the hosts other than on 
 the EC2 image, please let me know.
 
 I would also be grateful for any other advice for using Amazon AWS.
 ___
 Do not post admin requests to the list. They will be ignored.
 Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:
 http://lists.apple.com/mailman/options/webobjects-dev/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:
 http://lists.apple.com/mailman/options/webobjects-dev/jtayler%40oeinc.com
 
 This email sent to jtay...@oeinc.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:
 http://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:
 http://lists.apple.com/mailman/options/webobjects-dev/jtayler%40oeinc.com
 
 This email sent to jtay...@oeinc.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:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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

Re: CaseInsensitive fetch results to ZERO records....

2011-02-23 Thread Ramsey Gurley
Have you changed MySQL's default collation to a case sensitive utf8 collation?  
Does it fail in all three languages or just for the non-english fetches?

Ramsey

On Feb 23, 2011, at 9:48 AM, Sreenivasulu A wrote:

 Hi Ramsey,
 
 Case sensitive fetch is working properly.
 I am using MySQL Database.
 
 Thanks,
 Sreenivasulu Arveti.
 
 
 
 On Wed, Feb 23, 2011 at 10:05 PM, Ramsey Gurley rgur...@smarthealth.com 
 wrote:
 Hi Sreenivasulu,
 Not really sure... All other things being equal, does a case sensitive fetch
 work? Also, what DB are you using?
 Ramsey
 On Feb 23, 2011, at 2:14 AM, Sreenivasulu A wrote:
 
 Hi All,
 
 I am implementing internationalization in my example application.
 For doing this, I kept Schema is in utf-8.
 
 Entitiy in EOModeled as shown below:
 
 {
 attributes = (
 {
 allowsNull = N;
 columnName = id;
 name = id;
 precision = 10;
 prototypeName = a_id;
 },
 {
 columnName = student_name;
 name = student_name;
 prototypeName = a_text;
 userInfo = {
 ERXLanguages = (en_us, ms_my, zh_cn);
 };
 valueType = E;
 width = 255;
 }
 );
 attributesUsedForLocking = (id,  student_name);
 className = Student;
 classProperties = (student_name);
 externalName = student;
 fetchSpecificationDictionary = {};
 name = Student;
 primaryKeyAttributes = (id);
 }
 
 All these are working properly. Reading from, writing to Schema is working
 properly for english, malay and chinese languages.
 
 But caseInsensitive eo fetch is not giving result on 'student_name column'.
 
 If the 'valueType = S' then it is giving proper result, but writing data to
 Schema(DB) is not working.
 
 If the 'valueType = E' then writing data to Schema is working, but
 caseInsensitive fetch is fail to give proper result.
 
 Any help could be greatly appreciated.
 Thanks in advance,
 Sreenivasulu Arveti.
 ___
 Do not post admin requests to the list. They will be ignored.
 Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:
 http://lists.apple.com/mailman/options/webobjects-dev/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:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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


Re: Linux deployment advice

2011-02-23 Thread Joe Little
I can help with RPMs. I guess this part is open sourced. We don't need any jars 
for java monitor right?

On Feb 23, 2011, at 6:41 AM, Pascal Robert prob...@macti.ca wrote:

 
 Le 2011-02-23 à 11:20, Klaus Berkling a écrit :
 
 
 On Feb 23, 2011, at 8:14 AM, David LeBer wrote:
 
 I'm thinking of doing a presentation on the WebEx channel on how to 
 install a WO deployment environment on Linux (CentOS/RedHat), any interest 
 for this?
 
 If anyone is interested in our experience with deploying to Ubuntu on 
 Linode I'd be happy to gush about that over a beer at WOWOWDC.
 
 
 I'd be interested in that. Question is how much would I remember over a few 
 beers?
 
 We can always do a deployment session at WOWODC that target CentOS, 
 Ubuntu/Debian and whatever, but I don't think we need 65 minutes for this.
 
 I do plan to make a RPM for CentOS/RedHat that would instead the Apache 
 module + Monitor + wotaskd.
 
 Side note. Anyone ever put a WOApp on a Sun Sparc 100 running FreeBSD?
 
 kib
 
 We keep moving forward, opening new doors, and doing new things, because 
 we're curious and curiosity keeps leading us down new paths.
 Walt Disney
 
 Klaus Berkling
 Web Application Dev.  Systems Administrator
 DynEd International, Inc.
 www.dyned.com | blog
 
 
 
 ___
 Do not post admin requests to the list. They will be ignored.
 Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:
 http://lists.apple.com/mailman/options/webobjects-dev/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:
 http://lists.apple.com/mailman/options/webobjects-dev/jmlittle%40gmail.com
 
 This email sent to jmlit...@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:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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

Re: Linux deployment advice

2011-02-23 Thread Pascal Robert

Le 2011-02-23 à 12:23, Joe Little a écrit :

 I can help with RPMs. I guess this part is open sourced. We don't need any 
 jars for java monitor right?

WO jars are embedded in JavaMonitor and wotaskd, but the license allow shipping 
the WO frameworks as part of a product, and for me JavaMonitor and wotaskd are 
products :-)

 On Feb 23, 2011, at 6:41 AM, Pascal Robert prob...@macti.ca wrote:
 
 
 Le 2011-02-23 à 11:20, Klaus Berkling a écrit :
 
 
 On Feb 23, 2011, at 8:14 AM, David LeBer wrote:
 
 I'm thinking of doing a presentation on the WebEx channel on how to 
 install a WO deployment environment on Linux (CentOS/RedHat), any 
 interest for this?
 
 If anyone is interested in our experience with deploying to Ubuntu on 
 Linode I'd be happy to gush about that over a beer at WOWOWDC.
 
 
 I'd be interested in that. Question is how much would I remember over a few 
 beers?
 
 We can always do a deployment session at WOWODC that target CentOS, 
 Ubuntu/Debian and whatever, but I don't think we need 65 minutes for this.
 
 I do plan to make a RPM for CentOS/RedHat that would instead the Apache 
 module + Monitor + wotaskd.
 
 Side note. Anyone ever put a WOApp on a Sun Sparc 100 running FreeBSD?
 
 kib
 
 We keep moving forward, opening new doors, and doing new things, because 
 we're curious and curiosity keeps leading us down new paths.
 Walt Disney
 
 Klaus Berkling
 Web Application Dev.  Systems Administrator
 DynEd International, Inc.
 www.dyned.com | blog
 
 
 
 ___
 Do not post admin requests to the list. They will be ignored.
 Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:
 http://lists.apple.com/mailman/options/webobjects-dev/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:
 http://lists.apple.com/mailman/options/webobjects-dev/jmlittle%40gmail.com
 
 This email sent to jmlit...@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:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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

Fwd: ERModernDirectToWeb question

2011-02-23 Thread David Holt
Hi Paul,

Begin forwarded message:

 From: Paul Halliday phalli...@rogers.com
 Date: February 23, 2011 10:19:17 AM PST
 To: programming...@mac.com
 Subject: Re: ERModernDirectToWeb question
 
 Hey David
 
 Hope this post winds up at the right place.
 
 I set up a delegate class and made a rule for it. I set the rule priority 
 very high.

what is your rule?

 I am using the NavigationController and navigation.plist from the ERModern 
 example. Heavily modified.

That should be fine.

 The navigation tab calls the NavigationController WOComponent for the query 
 which returns queryPageForEntityName(SCHOOL_ADMIN)

You might want to try a named page configuration to limit the impact of your 
changes in testing. 

  public WOComponent queryDocumentAction() {
ERD2WQueryPage page = (ERD2WQueryPage) 
D2W.factory().pageForConfigurationNamed(QuerySchoolAdmin, session());
...
  }

 Prior to  including the delegate class the QueryPage for the Entity was 
 controlled by a rule which limited the query criteria. 

What was that rule? Did it work? Why did you decide not to use the rule?

 After the inclusion of the delegate class the Query page includes all the 
 criteria ie. the controlling rules no longer fire or have the desired effect. 

Not sure why this is happening.

 This also affects All the query pages launched from the navigation tabs for 
 all the entities.

Definitely not sure why this is happening. Sounds like a problem with the scope 
of your rule(s)

 When the find is initiated-- the datasource is not modified as per the 
 delegate class -- it doesn't seem to be called.
 
 
 In the delegate class I put the following qualifierFromSenderMethod.
 
 private EOQualifier qualifierFromSender(ERD2WQueryPage sender) {
   NSMutableArrayObject args = new NSMutableArrayObject();
   
 args.addObject(((Session)session()).schoolBoard().boardName());
   args.addObject(((Session)session()).school().name());
   EOQualifier qual = 
 (EOQualifier.qualifierWithQualifierFormat(  schoolBoard.boardName = %@ and 
 schools.name = %@ , args));   
   ERXAndQualifier finalQual1 = new ERXAndQualifier(new 
 NSArrayEOQualifier(qual, sender.qualifier()));
   return finalQual1;
 }

the code below assumes the use of the Wonder templates for EOGenerate

  private EOQualifier qualifierFromSender(ERD2WQueryPage sender) {
SchoolBoard sb = (((Session)session()).schoolBoard());
School aSchool = (((Session)session()).school());
EOQualifier q = 
School_Admin.SCHOOLBOARD.eq(sb).and(School_Admin.SCHOOLS.eq(aSchool)).and(sender.qualifier());
return q;
  }


 
 I couldn't seem to get your suggestion to get happy so I formulated the above 
 to combine the two qualifiers.
 Any help much appreciated.
 
 Paul

 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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

Re: ERModernDirectToWeb question

2011-02-23 Thread Paul Halliday
Hey David 

Thanks for the help!
On 30-04-2010, at 2:34 PM, David Holt wrote:

 Hi Paul,
 
 Begin forwarded message:
 
 From: Paul Halliday phalli...@rogers.com
 Date: February 23, 2011 10:19:17 AM PST
 To: programming...@mac.com
 Subject: Re: ERModernDirectToWeb question
 
 Hey David
 
 Hope this post winds up at the right place.
 
 I set up a delegate class and made a rule for it. I set the rule priority 
 very high.
 
 what is your rule?
priority: 110 LHS:  pageConfiguration = 'QuerySchoolAdmin' RHS: 
queryDataSourceDelegate RHS Value: 
pc2master.app.delegates.SchoolAdminQueryDataSourceDelegate  Assignment: 
ERDDelayedObjectCreationAssignment
 
 I am using the NavigationController and navigation.plist from the ERModern 
 example. Heavily modified.
 
 That should be fine.
 
 The navigation tab calls the NavigationController WOComponent for the query 
 which returns queryPageForEntityName(SCHOOL_ADMIN)
 
 You might want to try a named page configuration to limit the impact of your 
 changes in testing. 
 
   public WOComponent queryDocumentAction() {
 ERD2WQueryPage page = (ERD2WQueryPage) 
 D2W.factory().pageForConfigurationNamed(QuerySchoolAdmin, session());
 ...
   }
 
 Prior to  including the delegate class the QueryPage for the Entity was 
 controlled by a rule which limited the query criteria. 
 
 What was that rule? Did it work? Why did you decide not to use the rule?
I am still using the rule below
priority: 100 LHS:  (pageConfiguration = 
'QueryEmbeddedSchoolAdmin' or pageConfiguration = 'QuerySchoolAdmin')  RHS: 
displayPropertyKeys RHS Value: (firstName, lastName, adminType, email, 
isActive, schools.name) Assignment: com.webobjects.directtoweb.Assignment 
 
 After the inclusion of the delegate class the Query page includes all the 
 criteria ie. the controlling rules no longer fire or have the desired 
 effect. 
 
 Not sure why this is happening.
 
 This also affects All the query pages launched from the navigation tabs for 
 all the entities.
 
 Definitely not sure why this is happening. Sounds like a problem with the 
 scope of your rule(s)
 
 When the find is initiated-- the datasource is not modified as per the 
 delegate class -- it doesn't seem to be called.
 
 
 In the delegate class I put the following qualifierFromSenderMethod.
 
private EOQualifier qualifierFromSender(ERD2WQueryPage sender) {
  NSMutableArrayObject args = new NSMutableArrayObject();
  
 args.addObject(((Session)session()).schoolBoard().boardName());
  args.addObject(((Session)session()).school().name());
  EOQualifier qual = 
 (EOQualifier.qualifierWithQualifierFormat(  schoolBoard.boardName = %@ and 
 schools.name = %@ , args));   
  ERXAndQualifier finalQual1 = new ERXAndQualifier(new 
 NSArrayEOQualifier(qual, sender.qualifier()));
  return finalQual1;
}
 
 the code below assumes the use of the Wonder templates for EOGenerate
 
   private EOQualifier qualifierFromSender(ERD2WQueryPage sender) {
 SchoolBoard sb = (((Session)session()).schoolBoard());
 School aSchool = (((Session)session()).school());
 EOQualifier q = 
 School_Admin.SCHOOLBOARD.eq(sb).and(School_Admin.SCHOOLS.eq(aSchool)).and(sender.qualifier());
 return q;
   }
 
 
 
 I couldn't seem to get your suggestion to get happy so I formulated the 
 above to combine the two qualifiers.
 Any help much appreciated.
 
 Paul

 
 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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

AMD and accessing the parent component

2011-02-23 Thread Theodore Petrosky
I have a component Main. Main has a setter:

public void setThePubToSearch(String thePubToSearch) {
this.thePubToSearch = thePubToSearch;
}

I am displaying an AjaxModalDialog whose content is a component. 

I want to access the setter 'setThePubToSearch' in Main before closing the AMD.

I know I have done this before I just can not remember how.

I am just too tired.

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

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


Remote WO/Wonder programming contract

2011-02-23 Thread Jesse Tayler

If you have experience with WO and you are available for WO/Wonder remote 1099 
contract work, 

please contact me directly, and off-list.

Thanks,

jesse

415-990-9737


 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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


Re: Amazon EC2 Image

2011-02-23 Thread Paul Hoadley
Hi Kevin,

On 24/02/2011, at 3:25 AM, Kevin Hinkson wrote:

 Does anyone have any recommendations as to which AMI to use in the US (east 
 or west). The ami used in Simon's example works fine but is only available in 
 the EU. It looks to me like a basic 64 bit Amazon Linux AMI on EBS. Can I use 
 the current 64 bit base ami or should I be using another? 

In my opinion, you should choose from these:

http://aws.amazon.com/amazon-linux-ami/

These are Linux-based images produced by Amazon, and they claim they will keep 
them up-to-date and secure. I have several WO applications deployed to 
instances running one of those AMIs.


-- 
Paul.

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

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


Re: Amazon EC2 Image

2011-02-23 Thread Kevin Hinkson


On Feb 23, 2011, at 17:53, Paul Hoadley pa...@logicsquad.net wrote:

 Hi Kevin,
 
 On 24/02/2011, at 3:25 AM, Kevin Hinkson wrote:
 
 Does anyone have any recommendations as to which AMI to use in the US (east 
 or west). The ami used in Simon's example works fine but is only available 
 in the EU. It looks to me like a basic 64 bit Amazon Linux AMI on EBS. Can I 
 use the current 64 bit base ami or should I be using another? 
 
 In my opinion, you should choose from these:
 
 http://aws.amazon.com/amazon-linux-ami/

Thanks. 

 
 These are Linux-based images produced by Amazon, and they claim they will 
 keep them up-to-date and secure. I have several WO applications deployed to 
 instances running one of those AMIs.
 
 
 -- 
 Paul.
 
 http://logicsquad.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:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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


Re: Amazon EC2 Image

2011-02-23 Thread Jesse Tayler
I've done some updating of the wiki page, if anyone has validated other AMIs 
you can list them or send to me and I'll list them - also any suggestions, 
comments or ideas.

http://wiki.objectstyle.org/confluence/display/WO/Deploying+on+Amazon+EC2

http://wiki.objectstyle.org/confluence/display/WO/Automated+Deployment+on+Amazon+EC2


 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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


Re: Amazon EC2 Image

2011-02-23 Thread Martin Samm
Jesse,

we're running on a couple of Ubuntu AMIs; one is now a bit old and defunct
but we've recently switched to

ami-88f504e1

this is

Ubuntu Lucid Lynx LTS

We then use Puppet to automate installing an array of required packages etc.

regards

Martin

On 23 February 2011 22:02, Jesse Tayler jtay...@oeinc.com wrote:

 I've done some updating of the wiki page, if anyone has validated other
 AMIs you can list them or send to me and I'll list them - also any
 suggestions, comments or ideas.

 http://wiki.objectstyle.org/confluence/display/WO/Deploying+on+Amazon+EC2


 http://wiki.objectstyle.org/confluence/display/WO/Automated+Deployment+on+Amazon+EC2


  ___
 Do not post admin requests to the list. They will be ignored.
 Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:

 http://lists.apple.com/mailman/options/webobjects-dev/martin.samm%40aetopia.com

 This email sent to martin.s...@aetopia.com




-- 
Martin Samm
Aetopia Ltd
+44 (0) 28 9099 8767

Aetopia Ltd is a limited company registered in Belfast, Northern Ireland,
with registration number NI053321, having its principal place of business
(and postal address) at ECIT Institute, Queens Road, BELFAST BT3 9DT
and registered office at 1, Lanyon Quay, BELFAST BT1 3LG
 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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

Re: Amazon EC2 Image

2011-02-23 Thread Jesse Tayler

On Feb 23, 2011, at 5:14 PM, Martin Samm wrote:

 We then use Puppet to automate installing an array of required packages etc.

oh?

got scripts or examples?

sounds like an approach we might want to document

the examples we have require just a few dependancies - is Puppet good for a 
larger docket or good for revision control?


 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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


Re: AMD and accessing the parent component

2011-02-23 Thread Chuck Hill
I think you probably want to bind the onClose action.

Chuck


On Feb 23, 2011, at 12:23 PM, Theodore Petrosky wrote:

 I have a component Main. Main has a setter:
 
 public void setThePubToSearch(String thePubToSearch) {
   this.thePubToSearch = thePubToSearch;
 }
 
 I am displaying an AjaxModalDialog whose content is a component. 
 
 I want to access the setter 'setThePubToSearch' in Main before closing the 
 AMD.
 
 I know I have done this before I just can not remember how.
 
 I am just too tired.
 
 Ted

-- 
Chuck Hill Senior Consultant / VP Development

Practical WebObjects - for developers who want to increase their overall 
knowledge of WebObjects or who are trying to solve specific problems.
http://www.global-village.net/products/practical_webobjects









smime.p7s
Description: S/MIME cryptographic signature
 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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

Re: Amazon EC2 Image

2011-02-23 Thread Martin Samm
we use it to do manage 2 environments (test and live).

Within that we add config for each node (app server, db, web server) and
then use puppet to manage all the dependencies (s/w and refs to each other)
as well as URL handling etc etc.

The, here, is that adding a node is a matter of adding to ec2, installing
puppet on it amend puppet config and then refreshing each node to a) tell
them about the new node and b) get the new node to install all the requisite
s/w onto itself.

Its great for ensuring all the nodes are consistent. I would say the learnig
curve is quite steep; i inherited the initial setup so had a basis to learn.

Now i've got a handle in it, its great.



On 23 February 2011 22:19, Jesse Tayler jtay...@oeinc.com wrote:


 On Feb 23, 2011, at 5:14 PM, Martin Samm wrote:

  We then use Puppet to automate installing an array of required packages
 etc.

 oh?

 got scripts or examples?

 sounds like an approach we might want to document

 the examples we have require just a few dependancies - is Puppet good for a
 larger docket or good for revision control?





-- 
Martin Samm
Aetopia Ltd
+44 (0) 28 9099 8767

Aetopia Ltd is a limited company registered in Belfast, Northern Ireland,
with registration number NI053321, having its principal place of business
(and postal address) at ECIT Institute, Queens Road, BELFAST BT3 9DT
and registered office at 1, Lanyon Quay, BELFAST BT1 3LG
 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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

Re: Amazon EC2 Image

2011-02-23 Thread Paul Hoadley
I agree with Jesse's sentiment, but just to fill in some blanks...

On 24/02/2011, at 1:32 AM, Jesse Tayler wrote:

 do NOT use WOLastic

WOlastic _seems_ to be abandonware.  It doesn't look like their website has 
been updated since mid-2009, and their AMIs seem to be of a similar vintage.  
WOlastic may work just fine (I have no idea, I've never tried it), but if I was 
starting from scratch I would prefer to use something that hasn't been 
obviously abandoned.

(Is anyone from Ubermind on the list?  It would be useful to get confirmation 
that WOlastic has, indeed, been abandoned.)

 check out simon's install scripts

Simon McLean has put up some scripts you can use as a starting point for 
automating your own deployments to EC2:

http://wiki.objectstyle.org/confluence/display/WO/Automated+Deployment+on+Amazon+EC2

I haven't used those particular scripts, but eyeballing them they _seem_ to be 
dependent on the pre-rolled appserver AMIs, also supplied by Simon.

(Simon, can you confirm that?  Is the numbered list of steps taken at the top 
out of sync with what's actually happening with launch.sh?  launch.sh requires 
an AMI ID, but it's not clear whether the example used (ami-38c33651) is a 
pristine Amazon Linux image (that ID doesn't match anything current) or one of 
your pre-rolled appserver images.  It looks like helloworld-userdata.sh is 
doing some of the work that used to be done in wo-install.sh, is that right?  
Actually, I see that wo-install.sh is still being fetched and run.  In that 
case, it's not clear to me what that particular image is, and why it would be 
listed as a Public WO AMI on the other wiki page.)


-- 
Paul.

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

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


Re: Amazon EC2 Image

2011-02-23 Thread Jesse Tayler

On Feb 23, 2011, at 8:11 PM, Paul Hoadley wrote:

 I haven't used those particular scripts, but eyeballing them they _seem_ to 
 be dependent on the pre-rolled appserver AMIs, also supplied by Simon.


It does work with public AMIs - not simon dependent.

The install scripts are designed to illustrate a process by which a clean 
instance of whatever compatible sort gets a consistent installation

I'll let Simon elaborate as he is the originator

But maybe two pages of documentation should be combined? Here's some AMIs that 
also run WO, which might better just be part of the EC2 page you refer to?

http://wiki.objectstyle.org/confluence/display/WO/Deploying+on+Amazon+EC2

I'd like to get the docs clear for all to enjoy, so let me know what people 
think about moving this all to a single page or whatever is clear.


 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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


Re: Amazon EC2 Image

2011-02-23 Thread Simon
 I haven't used those particular scripts, but eyeballing them they _seem_ to 
 be dependent on the pre-rolled appserver AMIs, also supplied by Simon.

nope. they are designed to be used with a scratch linux ami. we use
amazon linux. the ami id's are likely to be different because amazon
used to change them as they updated them. i don't think they do that
anymore.

but basically the scripts should work with any RHEL compatible linux distro.

simon

ps. the pre-rolled ami i put up some time ago should also be
considered defunct. i'll remove it from the wiki 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:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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


Re: Amazon EC2 Image

2011-02-23 Thread Paul Hoadley
Hi Jesse,

On 24/02/2011, at 11:50 AM, Jesse Tayler wrote:

 On Feb 23, 2011, at 8:11 PM, Paul Hoadley wrote:
 
 I haven't used those particular scripts, but eyeballing them they _seem_ to 
 be dependent on the pre-rolled appserver AMIs, also supplied by Simon.
 
 It does work with public AMIs - not simon dependent.

Thanks for confirming.

 The install scripts are designed to illustrate a process by which a clean 
 instance of whatever compatible sort gets a consistent installation
 
 I'll let Simon elaborate as he is the originator
 
 But maybe two pages of documentation should be combined? Here's some AMIs 
 that also run WO, which might better just be part of the EC2 page you refer 
 to?
 
 http://wiki.objectstyle.org/confluence/display/WO/Deploying+on+Amazon+EC2
 
 I'd like to get the docs clear for all to enjoy, so let me know what people 
 think about moving this all to a single page or whatever is clear.

I completely agree, go ahead.  There is no benefit to the current two page 
setup.

(Aside: The original intent of the table on the Deploying on Amazon EC2 page 
was to list _pre-rolled_ appserver images.  ami-de91bbaa, for example, is an 
image of an appserver that's ready to go, out of the box, as were the WOlastic 
images (which, I agree, are probably best removed).  IMHO, you should remove 
the two you've added below it, and change the explanatory text back to reflect 
that the table lists appserver images, not images from which an appserver could 
possibly be made, as the latter is a long list.  For one thing, ami-38c33651 is 
not current according to the list here: http://aws.amazon.com/amazon-linux-ami/ 
)


-- 
Paul.

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

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


Re: Amazon EC2 Image

2011-02-23 Thread Paul Hoadley
On 24/02/2011, at 12:01 PM, Simon wrote:

 ps. the pre-rolled ami i put up some time ago should also be
 considered defunct. i'll remove it from the wiki now...


Great.  Remove that whole section (Public WO AMIs), as there don't seem to be 
_any_ that are maintained any more.  Jesse, scratch what I suggested about 
reverting your changes to the table, we'll just kill the whole section.


-- 
Paul.

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

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


Re: ERModernDirectToWeb question

2011-02-23 Thread David Avendasora
On Feb 23, 2011, at 2:34 PM, David Holt wrote:

 In the delegate class I put the following qualifierFromSenderMethod.
 
private EOQualifier qualifierFromSender(ERD2WQueryPage sender) {
  NSMutableArrayObject args = new NSMutableArrayObject();
  
 args.addObject(((Session)session()).schoolBoard().boardName());
  args.addObject(((Session)session()).school().name());
  EOQualifier qual = 
 (EOQualifier.qualifierWithQualifierFormat(  schoolBoard.boardName = %@ and 
 schools.name = %@ , args));   
  ERXAndQualifier finalQual1 = new ERXAndQualifier(new 
 NSArrayEOQualifier(qual, sender.qualifier()));
  return finalQual1;
}
 
 the code below assumes the use of the Wonder templates for EOGenerate
 
   private EOQualifier qualifierFromSender(ERD2WQueryPage sender) {
 SchoolBoard sb = (((Session)session()).schoolBoard());
 School aSchool = (((Session)session()).school());
 EOQualifier q = 
 School_Admin.SCHOOLBOARD.eq(sb).and(School_Admin.SCHOOLS.eq(aSchool)).and(sender.qualifier());
 return q;
   }

Hi Paul,

Just a note to emphasize that the rewrite of your code that David Holt did 
above is and _excellent_ example of the much simpler code that can be written 
if you take advantage of Wonder. This code is not only simpler, but much safer 
as the compiler will watch your back and display an error if you decide to 
change the name of an entity, attribute or relationship in the model 
(EOQualifier.qualifierWithQualifierFormat is _evil_. Don't use it. It pushes 
errors out to run-time).

Also, match on _EOs_ not strings or FKs/PKs if at all possible. It just 
simplifies your code and the less code you write the less chance there is for 
errors. Trust EOF to know what to do when comparing EOs.

Dave


 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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

Re: Employing mod_deflate Apache module

2011-02-23 Thread Gennady Kushnir
Thank you.
Sorry for long delay after your responses.

Simply setting  SetOutputFilter DEFLATE also did work for me.
previously I tried
AddOutputFilterByType DEFLATE text/html ...etc...
Though it worked for static resources it failed to deflate dynamic
ones. Maybe that is because apache doesn't read headers for plugin
generated responses?

Regards,
Gennady Kushnir

2011/2/15 Patrick Middleton patr...@onestep.co.uk:

 On 15 Feb 2011, at 09:54, Patrick Middleton wrote:


 On 14 Feb 2011, at 18:27, Gennady Kushnir wrote:

 ...

 Is this a module load order problem?  Which version of Apache have you
 got?  Is mod_deflate.so loaded before mod_WebObjects.so, or after?

 Further research reveals that while module load order was very significant
 for Apache 1.3 (mod_rewrite et al), it's not significant for Apache 2.2,
 where modules can specify their own hook ordering preferences.  The easiest
 way of seeing what's going on is to enable mod_info.  After doing that, I
 saw that many modules in their configuration stanzas had this:
        SetOutputFilter DEFLATE
 while mod_WebObjects (for me, configured via
 /Library/WebObjects/Adaptors/Apache2.2/apache.conf) did not.  After adding
 it, deflate now works for me with WO-generated content.



 2011/2/14 Timo Hoepfner th-...@onlinehome.de:

 If it's a Wonder app, add this to you Properties and you're done:

 er.extensions.ERXApplication.responseCompressionEnabled=true

 Timo

 Am 14.02.2011 um 09:59 schrieb Gennady Kushnir:

 Hello list!
 I've just tried to compress traffic produced by my WOApp but I only
 succeeded in compressing static resources (css and js).
 Here is my configuration fragment.

 IfModule mod_deflate.c
  AddOutputFilterByType DEFLATE text/html application/xhtml+xml
 text/plain text/xml \
              text/css text/javascript application/x-javascript
 application/javascript
 /IfModule

 Does anybody know what should be written to Apache mod_deflate
 configuration so that it also compress WO-generated pages?

 Regards,
 Gennady



 This email, including any attachments, is confidential and intended solely
 for the person or organisation to whom it is addressed. If you are not the
 intended recipient you must not disseminate, distribute or copy any part of
 this email nor take any action in reliance on it.

 If you have received this in error please notify the sender immediately by
 email or phone +44 (0)1702 426400 and delete this email and any attachments
 from your system.

 Email transmission cannot be guaranteed to be secure or error-free as
 information could be intercepted, corrupted, lost, destroyed, arrive late or
 incomplete, or contain viruses. The sender therefore does not accept
 liability for any errors or omissions in the contents of this message which
 arise as a result of email transmission. If verification is required please
 request a hard-copy version.

 OneStep Solutions LLP is registered in England and Wales under registration
 number OC337173 and has its registered office at 457 Southchurch Road,
 Southend-on-Sea, Essex SS1 2PH.
 ___
 Do not post admin requests to the list. They will be ignored.
 Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:
 http://lists.apple.com/mailman/options/webobjects-dev/genkush%40rujel.net

 This email sent to genk...@rujel.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:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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