Re: D2W - Custom forms generated from XML

2013-01-17 Thread Flavio Donadio
Paul,


On 15/01/2013, at 19:50, Paul Hoadley wrote:

 But my question is: how do you guys recommend that I do to:
 
 1. Generate the HTML form; and
 
 2. Insert/update data in the XML so I can store it in the entity.
 
 I am almost certain that I will need a custom component for this.
 
 Without a doubt.  I don't know of any canned solutions for what you're trying 
 to do here.

That's what I needed to hear... Now I'll develop my first custom component!


Regards,
Flavio
 ___
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 - Custom forms generated from XML

2013-01-17 Thread Flavio Donadio
Jesse,


I think I am missing some messages. This is the second time in this thread that 
I don't get a message. I took this from Paul Hoadley's reply. Thanks, Paul!

On 16/01/2013, at 5:00 AM, Jesse Tayler jtay...@oeinc.com wrote:

 to determine which XML attribute is which during your query but I can't 
 imagine how a table based approach would perform worse -- plus, it should be 
 a lot simpler to build and to maintain. should be --


Well, my problem with the table-based approach is the number of queries that 
would be executed just to show a product on a page. With most products having 
between 50 and 70 items in their spec sheets, I can see the database being hit 
with more queries than necessary. This would be negligible on current hardware, 
though...

One other problem that I see: how can I specify which spec items belong to a 
product category and how it should be organized and ordered? I don't want my 
users having to add each item from a EditRelationshipEmbedded* when inserting 
products, because item order and consistency is important to me.

I see that, no matter which of the techniques I use, I will have a LOT of 
work...


 Anyway, I guess with this xpath technology, you don't need to worry - but I 
 wonder what it does underneath to do the same thing?

Well, I don't know about the internals, but it works. As Paul noted, XPath is a 
W3C recommendation and it's a nice way to manipulate an XML document. Since 
PostgreSQL does some sanity-checks on XML data, it should make my life easier 
too...


Regards,
Flavio
 ___
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


best way to create date/time

2013-01-17 Thread Theodore Petrosky
What is the best way to create today's day at 9:00

new NSTimestamp() will give me today and the time is at the moment of creation. 
so the end result I want is (regardless of when in the day I create it):

new Timestamp(today at 9am);
2013-01-17 09:00 Etc/GMT

I am doing it rather convolutedly. Maybe there is a simple WO way.

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/archive%40mail-archive.com

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


Re: best way to create date/time

2013-01-17 Thread speery
How about:

GregorianCalendar myCalendar = new GregorianCalendar();
myCalendar.setTime(new NSTimestamp());
int currentYear = myCalendar.get(GregorianCalendar.YEAR);
int currentMonth = myCalendar.get(GregorianCalendar.MONTH);
int currentDay = myCalendar.get(GregorianCalendar.DAY);
TimeZone timeZone = TimeZone.getDefault(); // should get the time zone for the 
host 
NSTimestamp timestamp = new NSTimestamp(currentYear, currentMonth, currentDay, 
9, 0, 0, timeZone);

Steve

On Jan 17, 2013, at 9:48 AM, Theodore Petrosky tedp...@yahoo.com wrote:

 What is the best way to create today's day at 9:00
 
 new NSTimestamp() will give me today and the time is at the moment of 
 creation. so the end result I want is (regardless of when in the day I create 
 it):
 
 new Timestamp(today at 9am);
 2013-01-17 09:00 Etc/GMT
 
 I am doing it rather convolutedly. Maybe there is a simple WO way.
 
 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/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/archive%40mail-archive.com

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


Re: best way to create date/time

2013-01-17 Thread Hugi Thordarson
One way to do it:

ERXTimestampUtilities.today().timestampByAddingGregorianUnits( 0, 0, 0, 9, 0, 0 
) 

- hugi

// Hugi Thordarson
// http://www.godurkodi.is/



On 17.1.2013, at 14:48, Theodore Petrosky tedp...@yahoo.com wrote:

 What is the best way to create today's day at 9:00
 
 new NSTimestamp() will give me today and the time is at the moment of 
 creation. so the end result I want is (regardless of when in the day I create 
 it):
 
 new Timestamp(today at 9am);
 2013-01-17 09:00 Etc/GMT
 
 I am doing it rather convolutedly. Maybe there is a simple WO way.
 
 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/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: best way to create date/time

2013-01-17 Thread Theodore Petrosky
my version is:

SimpleDateFormat theDF = new SimpleDateFormat(-MM-DD H:m);
String dateString = new NSTimestamp().toString();
dateString = dateString.substring(0, 10);
dateString = dateString +   + 9:00 +  Etc/GMT;

Date thedate = null;
try {
thedate = theDF.parse(dateString);
} catch (ParseException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}

setMeetingTime(new NSTimestamp(thedate));

I was just starting to examine something like what you did. 

thanks for the second pair of eyes.

Ted

--- On Thu, 1/17/13, spe...@me.com spe...@me.com wrote:

 From: spe...@me.com spe...@me.com
 Subject: Re: best way to create date/time
 To: Theodore Petrosky tedp...@yahoo.com
 Cc: WebObjects Development webobjects-dev@lists.apple.com
 Date: Thursday, January 17, 2013, 9:57 AM
 How about:
 
 GregorianCalendar myCalendar = new GregorianCalendar();
 myCalendar.setTime(new NSTimestamp());
 int currentYear = myCalendar.get(GregorianCalendar.YEAR);
 int currentMonth = myCalendar.get(GregorianCalendar.MONTH);
 int currentDay = myCalendar.get(GregorianCalendar.DAY);
 TimeZone timeZone = TimeZone.getDefault(); // should get the
 time zone for the host 
 NSTimestamp timestamp = new NSTimestamp(currentYear,
 currentMonth, currentDay, 9, 0, 0, timeZone);
 
 Steve
 
 On Jan 17, 2013, at 9:48 AM, Theodore Petrosky tedp...@yahoo.com
 wrote:
 
  What is the best way to create today's day at 9:00
  
  new NSTimestamp() will give me today and the time is at
 the moment of creation. so the end result I want is
 (regardless of when in the day I create it):
  
  new Timestamp(today at 9am);
  2013-01-17 09:00 Etc/GMT
  
  I am doing it rather convolutedly. Maybe there is a
 simple WO way.
  
  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/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/archive%40mail-archive.com

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

Re: best way to create date/time

2013-01-17 Thread Mike Schrag
pretty sure this would break (off by one) on the day that DST changes over

ms

On Jan 17, 2013, at 9:58 AM, Hugi Thordarson h...@karlmenn.is wrote:

 One way to do it:
 
 ERXTimestampUtilities.today().timestampByAddingGregorianUnits( 0, 0, 0, 9, 0, 
 0 ) 
 
 - hugi
 
 // Hugi Thordarson
 // http://www.godurkodi.is/
 
 
 
 On 17.1.2013, at 14:48, Theodore Petrosky tedp...@yahoo.com wrote:
 
 What is the best way to create today's day at 9:00
 
 new NSTimestamp() will give me today and the time is at the moment of 
 creation. so the end result I want is (regardless of when in the day I 
 create it):
 
 new Timestamp(today at 9am);
 2013-01-17 09:00 Etc/GMT
 
 I am doing it rather convolutedly. Maybe there is a simple WO way.
 
 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/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/mschrag%40pobox.com
 
 This email sent to msch...@pobox.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 create date/time

2013-01-17 Thread Theodore Petrosky
I knew there was a WO way. this is beautiful. thanks.

Ted

--- On Thu, 1/17/13, Hugi Thordarson h...@karlmenn.is wrote:

 From: Hugi Thordarson h...@karlmenn.is
 Subject: Re: best way to create date/time
 To: Theodore Petrosky tedp...@yahoo.com
 Cc: WebObjects Development webobjects-dev@lists.apple.com
 Date: Thursday, January 17, 2013, 9:58 AM
 One way to do it:
 
 ERXTimestampUtilities.today().timestampByAddingGregorianUnits(
 0, 0, 0, 9, 0, 0 ) 
 
 - hugi
 
 // Hugi Thordarson
 // http://www.godurkodi.is/
 
 
 
 On 17.1.2013, at 14:48, Theodore Petrosky tedp...@yahoo.com
 wrote:
 
  What is the best way to create today's day at 9:00
  
  new NSTimestamp() will give me today and the time is at
 the moment of creation. so the end result I want is
 (regardless of when in the day I create it):
  
  new Timestamp(today at 9am);
  2013-01-17 09:00 Etc/GMT
  
  I am doing it rather convolutedly. Maybe there is a
 simple WO way.
  
  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/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: best way to create date/time

2013-01-17 Thread Theodore Petrosky
In this case, I am lucky that the date itself is not important. I just needed 
the default, but the time needed to be 9am.

it's better than my solution.

--- On Thu, 1/17/13, Mike Schrag msch...@pobox.com wrote:

 From: Mike Schrag msch...@pobox.com
 Subject: Re: best way to create date/time
 To: Hugi Thordarson h...@karlmenn.is
 Cc: Theodore Petrosky tedp...@yahoo.com, WebObjects Development 
 webobjects-dev@lists.apple.com
 Date: Thursday, January 17, 2013, 10:02 AM
 pretty sure this would break (off by
 one) on the day that DST changes over
 
 ms
 
 On Jan 17, 2013, at 9:58 AM, Hugi Thordarson h...@karlmenn.is
 wrote:
 
  One way to do it:
  
 
 ERXTimestampUtilities.today().timestampByAddingGregorianUnits(
 0, 0, 0, 9, 0, 0 ) 
  
  - hugi
  
  // Hugi Thordarson
  // http://www.godurkodi.is/
  
  
  
  On 17.1.2013, at 14:48, Theodore Petrosky tedp...@yahoo.com
 wrote:
  
  What is the best way to create today's day at 9:00
  
  new NSTimestamp() will give me today and the time
 is at the moment of creation. so the end result I want is
 (regardless of when in the day I create it):
  
  new Timestamp(today at 9am);
  2013-01-17 09:00 Etc/GMT
  
  I am doing it rather convolutedly. Maybe there is a
 simple WO way.
  
  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/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/mschrag%40pobox.com
  
  This email sent to msch...@pobox.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 create date/time

2013-01-17 Thread Adalbert Winkler



Calendar cal = cal.getInstance(your timezone);
or
Calendar cal = cal.getInstance(); // default time zone

cal.set(Calendar.HOUR_OF_DAY, 9 );

NSTimestamp n = new NSTimestamp(cal.getTime());

Regards, Adalbert

On 17.01.13 15:48, Theodore Petrosky wrote:

What is the best way to create today's day at 9:00

new NSTimestamp() will give me today and the time is at the moment of creation. 
so the end result I want is (regardless of when in the day I create it):

new Timestamp(today at 9am);
2013-01-17 09:00 Etc/GMT

I am doing it rather convolutedly. Maybe there is a simple WO way.

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/adalbert%40helios.de

This email sent to adalb...@helios.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/archive%40mail-archive.com

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


Re: [Announce] WOCommunity repository for CentOS/RedHat Linux

2013-01-17 Thread Theodore Petrosky
I used this to set up a newly installed Centos6 on a mac mini. Thanks. That 
really saved me a bunch of time.

On weirdness (and maybe it is Centos problem). I have the javamonitor as a 
listed app and I get to it with:

http://10.1.5.100/cgi-bin/WebObjects/monitor.woa

all of a sudden, when I click the View Details button, none of the button 
images load. so I see a lot of blue box question marks. when i use the direct 
connect all the images load properly.

if this were a permissions issue, where is the director that I could check for 
proper permissions?

Ted

--- On Mon, 1/7/13, Pascal Robert prob...@macti.ca wrote:

 From: Pascal Robert prob...@macti.ca
 Subject: [Announce] WOCommunity repository for CentOS/RedHat Linux
 To: WebObjects Development webobjects-dev@lists.apple.com
 Date: Monday, January 7, 2013, 10:56 AM
 Hello,
 
 The deployment tools are now available under a Yum
 repository for even easier installation! If you are using
 CentOS 5.x/6.x, RedHat Enterprise Linux 5.x/6.x or Amazon
 Linux, you can simply grab the repo file:
 
   
 https://raw.github.com/projectwonder/wonder/3e152ee904a9499e231daf00cff302b5795a13e6/Utilities/Linux/wocommunity.repo
 
 into /etc/yum.repos.d/, and do:
 
   yum install wotaskd
   yum install womonitor
   yum install woadaptor 
 
 to install everything. Please note that I just find out that
 Amazon Linux installs Apache 2.4 by default, and the adaptor
 don't work on it, so you will have to install Apache 2.2
 BEFORE installing woadaptor. Also, the adaptor is not
 available for 32 bit systems for now, I have to create to
 find a way to build it along the 64 bit version.
 
 It's the first time I'm building RPM packages, so it might
 not be perfect, but it worked well on my CentOS 5.5, CentOS
 6.2 and Amazon Linux VMs, so please report any problems. The
 spec files to build the RPMs are also in the integration
 branch of Wonder.
 
 Thanks.
 
 
  ___
 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

Re: D2W - Custom forms generated from XML

2013-01-17 Thread Jesse Tayler

don't look now, but it's likely my smtp configuration.

I hear you about this, and maybe that's why these xml datatypes exist.

I wonder though, if you could make a Fat table with mostly all the typical 
attribute one might search for --

A to-many table would contain only those attributes that were truly unusual or 
otherwise lent themselves to it.

Finally, a to-many fetch finds the right item.

So, you're right that who would want to use that UI for adding attributes, but 
the same goes for the other data storage technique.

Either way, you'll want a nice, natural and easy UI for the user and that's 
going to require you writing something for it.

Sounds like work, but it sounds like a really cool project too!

keep us posted about your results --


On Jan 17, 2013, at 8:16 AM, Flavio Donadio fla...@donadio.com.br wrote:

 Jesse,
 
 
 I think I am missing some messages. This is the second time in this thread 
 that I don't get a message. I took this from Paul Hoadley's reply. Thanks, 
 Paul!
 
 On 16/01/2013, at 5:00 AM, Jesse Tayler jtay...@oeinc.com wrote:
 
 to determine which XML attribute is which during your query but I can't 
 imagine how a table based approach would perform worse -- plus, it should be 
 a lot simpler to build and to maintain. should be --
 
 
 Well, my problem with the table-based approach is the number of queries that 
 would be executed just to show a product on a page. With most products having 
 between 50 and 70 items in their spec sheets, I can see the database being 
 hit with more queries than necessary. This would be negligible on current 
 hardware, though...
 
 One other problem that I see: how can I specify which spec items belong to a 
 product category and how it should be organized and ordered? I don't want my 
 users having to add each item from a EditRelationshipEmbedded* when inserting 
 products, because item order and consistency is important to me.
 
 I see that, no matter which of the techniques I use, I will have a LOT of 
 work...
 
 
 Anyway, I guess with this xpath technology, you don't need to worry - but I 
 wonder what it does underneath to do the same thing?
 
 Well, I don't know about the internals, but it works. As Paul noted, XPath is 
 a W3C recommendation and it's a nice way to manipulate an XML document. Since 
 PostgreSQL does some sanity-checks on XML data, it should make my life easier 
 too...
 
 
 Regards,
 Flavio


 ___
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


java.security.UnrecoverableKeyException on deployment.

2013-01-17 Thread James Cicenia
I am trying to deploy this work in progress onto my dev server.

When I try to launch it via javamonitor I get this exception which I haven't 
seen before:

[2013-1-17 15:53:15 GMT] main com.webobjects.foundation.NSForwardException 
[java.security.UnrecoverableKeyException] Password verification 
failed:WOApplication: Cannot be initialized.
at com.webobjects.appserver.WOApplication.init(WOApplication.java:918)
at 
er.extensions.appserver.ajax.ERXAjaxApplication.init(ERXAjaxApplication.java:30)
at 
er.extensions.appserver.ERXApplication.init(ERXApplication.java:1128)
at com.pp.app.Application.init(Application.java:27)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at 
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at 
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:532)
at java.lang.Class.newInstance0(Class.java:372)
at java.lang.Class.newInstance(Class.java:325)
at com.webobjects.appserver.WOApplication.main(WOApplication.java:547)
at er.extensions.appserver.ERXApplication.main(ERXApplication.java:860)
at com.pp.app.Application.main(Application.java:30)
Caused by: java.security.UnrecoverableKeyException: Password verification failed
at sun.security.provider.JavaKeyStore.engineLoad(JavaKeyStore.java:786)
at 
sun.security.provider.JavaKeyStore$JKS.engineLoad(JavaKeyStore.java:55)
at java.security.KeyStore.load(KeyStore.java:1201)
at 
com.webobjects.appserver._private.WOClassicAdaptor._initServerSocket(WOClassicAdaptor.java:202)
at 
com.webobjects.appserver._private.WOClassicAdaptor.init(WOClassicAdaptor.java:163)
at 
com.webobjects.appserver._private.WODefaultAdaptor.init(WODefaultAdaptor.java:22)
at 
er.extensions.appserver.ERXDefaultAdaptor.init(ERXDefaultAdaptor.java:31)
at 
er.extensions.appserver.ERXSecureDefaultAdaptor.init(ERXSecureDefaultAdaptor.java:29)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at 
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at 
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:532)
at 
com.webobjects.foundation._NSUtilities.instantiateObject(_NSUtilities.java:640)
at 
com.webobjects.appserver.WOApplication.adaptorWithName(WOApplication.java:1316)
at 
er.extensions.appserver.ERXApplication.adaptorWithName(ERXApplication.java:2749)
at 
com.webobjects.appserver.WOApplication._initAdaptors(WOApplication.java:1392)
at com.webobjects.appserver.WOApplication.init(WOApplication.java:802)

Thanks
James




 ___
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: [Announce] WOCommunity repository for CentOS/RedHat Linux

2013-01-17 Thread Jesse Tayler

that's a webserver / http issue - me thinks.

you get images via direct connect because it provides it's own http service but 
when you connect regularly, those resources are expected to be vended from the 
http website on that box.

make sense?

On Jan 17, 2013, at 10:28 AM, Theodore Petrosky tedp...@yahoo.com wrote:

 I used this to set up a newly installed Centos6 on a mac mini. Thanks. That 
 really saved me a bunch of time.
 
 On weirdness (and maybe it is Centos problem). I have the javamonitor as a 
 listed app and I get to it with:
 
 http://10.1.5.100/cgi-bin/WebObjects/monitor.woa
 
 all of a sudden, when I click the View Details button, none of the button 
 images load. so I see a lot of blue box question marks. when i use the direct 
 connect all the images load properly.
 
 if this were a permissions issue, where is the director that I could check 
 for proper permissions?
 
 Ted
 
 --- On Mon, 1/7/13, Pascal Robert prob...@macti.ca wrote:
 
 From: Pascal Robert prob...@macti.ca
 Subject: [Announce] WOCommunity repository for CentOS/RedHat Linux
 To: WebObjects Development webobjects-dev@lists.apple.com
 Date: Monday, January 7, 2013, 10:56 AM
 Hello,
 
 The deployment tools are now available under a Yum
 repository for even easier installation! If you are using
 CentOS 5.x/6.x, RedHat Enterprise Linux 5.x/6.x or Amazon
 Linux, you can simply grab the repo file:
 
   
 https://raw.github.com/projectwonder/wonder/3e152ee904a9499e231daf00cff302b5795a13e6/Utilities/Linux/wocommunity.repo
 
 into /etc/yum.repos.d/, and do:
 
   yum install wotaskd
   yum install womonitor
   yum install woadaptor 
 
 to install everything. Please note that I just find out that
 Amazon Linux installs Apache 2.4 by default, and the adaptor
 don't work on it, so you will have to install Apache 2.2
 BEFORE installing woadaptor. Also, the adaptor is not
 available for 32 bit systems for now, I have to create to
 find a way to build it along the 64 bit version.
 
 It's the first time I'm building RPM packages, so it might
 not be perfect, but it worked well on my CentOS 5.5, CentOS
 6.2 and Amazon Linux VMs, so please report any problems. The
 spec files to build the RPMs are also in the integration
 branch of Wonder.
 
 Thanks.
 
 
 ___
 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/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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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


Re: [Announce] WOCommunity repository for CentOS/RedHat Linux

2013-01-17 Thread Theodore Petrosky
Interesting, when I drilled down to:

/var/www/html/WebObjects/JavaMonitor.woa/Contents/WebServerResources

I see that javamonitor.css is owned by root:root

should that be appserver:appserveradmn 

?




--- On Thu, 1/17/13, Jesse Tayler jtay...@oeinc.com wrote:

 From: Jesse Tayler jtay...@oeinc.com
 Subject: Re: [Announce] WOCommunity repository for CentOS/RedHat Linux
 To: Theodore Petrosky tedp...@yahoo.com
 Cc: WebObjects Development webobjects-dev@lists.apple.com, Pascal 
 Robert prob...@macti.ca
 Date: Thursday, January 17, 2013, 11:01 AM
 
 that's a webserver / http issue - me thinks.
 
 you get images via direct connect because it provides it's
 own http service but when you connect regularly, those
 resources are expected to be vended from the http website on
 that box.
 
 make sense?
 
 On Jan 17, 2013, at 10:28 AM, Theodore Petrosky tedp...@yahoo.com
 wrote:
 
  I used this to set up a newly installed Centos6 on a
 mac mini. Thanks. That really saved me a bunch of time.
  
  On weirdness (and maybe it is Centos problem). I have
 the javamonitor as a listed app and I get to it with:
  
  http://10.1.5.100/cgi-bin/WebObjects/monitor.woa
  
  all of a sudden, when I click the View Details button,
 none of the button images load. so I see a lot of blue box
 question marks. when i use the direct connect all the images
 load properly.
  
  if this were a permissions issue, where is the director
 that I could check for proper permissions?
  
  Ted
  
  --- On Mon, 1/7/13, Pascal Robert prob...@macti.ca
 wrote:
  
  From: Pascal Robert prob...@macti.ca
  Subject: [Announce] WOCommunity repository for
 CentOS/RedHat Linux
  To: WebObjects Development webobjects-dev@lists.apple.com
  Date: Monday, January 7, 2013, 10:56 AM
  Hello,
  
  The deployment tools are now available under a Yum
  repository for even easier installation! If you are
 using
  CentOS 5.x/6.x, RedHat Enterprise Linux 5.x/6.x or
 Amazon
  Linux, you can simply grab the repo file:
  
    
 https://raw.github.com/projectwonder/wonder/3e152ee904a9499e231daf00cff302b5795a13e6/Utilities/Linux/wocommunity.repo
  
  into /etc/yum.repos.d/, and do:
  
    yum install wotaskd
    yum install womonitor
    yum install woadaptor 
  
  to install everything. Please note that I just find
 out that
  Amazon Linux installs Apache 2.4 by default, and
 the adaptor
  don't work on it, so you will have to install
 Apache 2.2
  BEFORE installing woadaptor. Also, the adaptor is
 not
  available for 32 bit systems for now, I have to
 create to
  find a way to build it along the 64 bit version.
  
  It's the first time I'm building RPM packages, so
 it might
  not be perfect, but it worked well on my CentOS
 5.5, CentOS
  6.2 and Amazon Linux VMs, so please report any
 problems. The
  spec files to build the RPMs are also in the
 integration
  branch of Wonder.
  
  Thanks.
  
  
  ___
  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/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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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

Re: [Announce] WOCommunity repository for CentOS/RedHat Linux

2013-01-17 Thread Jesse Tayler

maybe… 

but if you can hit the resources via server url, that's the test you are 
looking for.

if you can't hit the resources, then make sure http is actually running and 
that it actually points to that var/www folder etc.





On Jan 17, 2013, at 11:05 AM, Theodore Petrosky tedp...@yahoo.com wrote:

 Interesting, when I drilled down to:
 
 /var/www/html/WebObjects/JavaMonitor.woa/Contents/WebServerResources
 
 I see that javamonitor.css is owned by root:root
 
 should that be appserver:appserveradmn 
 
 ?
 
 
 
 
 --- On Thu, 1/17/13, Jesse Tayler jtay...@oeinc.com wrote:
 
 From: Jesse Tayler jtay...@oeinc.com
 Subject: Re: [Announce] WOCommunity repository for CentOS/RedHat Linux
 To: Theodore Petrosky tedp...@yahoo.com
 Cc: WebObjects Development webobjects-dev@lists.apple.com, Pascal 
 Robert prob...@macti.ca
 Date: Thursday, January 17, 2013, 11:01 AM
 
 that's a webserver / http issue - me thinks.
 
 you get images via direct connect because it provides it's
 own http service but when you connect regularly, those
 resources are expected to be vended from the http website on
 that box.
 
 make sense?
 
 On Jan 17, 2013, at 10:28 AM, Theodore Petrosky tedp...@yahoo.com
 wrote:
 
 I used this to set up a newly installed Centos6 on a
 mac mini. Thanks. That really saved me a bunch of time.
 
 On weirdness (and maybe it is Centos problem). I have
 the javamonitor as a listed app and I get to it with:
 
 http://10.1.5.100/cgi-bin/WebObjects/monitor.woa
 
 all of a sudden, when I click the View Details button,
 none of the button images load. so I see a lot of blue box
 question marks. when i use the direct connect all the images
 load properly.
 
 if this were a permissions issue, where is the director
 that I could check for proper permissions?
 
 Ted
 
 --- On Mon, 1/7/13, Pascal Robert prob...@macti.ca
 wrote:
 
 From: Pascal Robert prob...@macti.ca
 Subject: [Announce] WOCommunity repository for
 CentOS/RedHat Linux
 To: WebObjects Development webobjects-dev@lists.apple.com
 Date: Monday, January 7, 2013, 10:56 AM
 Hello,
 
 The deployment tools are now available under a Yum
 repository for even easier installation! If you are
 using
 CentOS 5.x/6.x, RedHat Enterprise Linux 5.x/6.x or
 Amazon
 Linux, you can simply grab the repo file:
 

 https://raw.github.com/projectwonder/wonder/3e152ee904a9499e231daf00cff302b5795a13e6/Utilities/Linux/wocommunity.repo
 
 into /etc/yum.repos.d/, and do:
 
yum install wotaskd
yum install womonitor
yum install woadaptor 
 
 to install everything. Please note that I just find
 out that
 Amazon Linux installs Apache 2.4 by default, and
 the adaptor
 don't work on it, so you will have to install
 Apache 2.2
 BEFORE installing woadaptor. Also, the adaptor is
 not
 available for 32 bit systems for now, I have to
 create to
 find a way to build it along the 64 bit version.
 
 It's the first time I'm building RPM packages, so
 it might
 not be perfect, but it worked well on my CentOS
 5.5, CentOS
 6.2 and Amazon Linux VMs, so please report any
 problems. The
 spec files to build the RPMs are also in the
 integration
 branch of Wonder.
 
 Thanks.
 
 
 ___
 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/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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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

Re: java.security.UnrecoverableKeyException on deployment.

2013-01-17 Thread James Cicenia
Thanks for the translation.

- j-

On Jan 17, 2013, at 10:52 AM, Chuck Hill ch...@global-village.net wrote:

 Using the secure adaptor with no Java key store setup?
 
 Caused by: java.security.UnrecoverableKeyException: Password verification 
 failed
   at sun.security.provider.JavaKeyStore.engineLoad(JavaKeyStore.java:786)
   at 
 sun.security.provider.JavaKeyStore$JKS.engineLoad(JavaKeyStore.java:55)
   at java.security.KeyStore.load(KeyStore.java:1201)
   at 
 com.webobjects.appserver._private.WOClassicAdaptor._initServerSocket(WOClassicAdaptor.java:202)
   at 
 com.webobjects.appserver._private.WOClassicAdaptor.init(WOClassicAdaptor.java:163)
   at 
 com.webobjects.appserver._private.WODefaultAdaptor.init(WODefaultAdaptor.java:22)
   at 
 er.extensions.appserver.ERXDefaultAdaptor.init(ERXDefaultAdaptor.java:31)
   at 
 er.extensions.appserver.ERXSecureDefaultAdaptor.init(ERXSecureDefaultAdaptor.java:29)
 
 
 
 On 2013-01-17, at 7:59 AM, James Cicenia wrote:
 
 I am trying to deploy this work in progress onto my dev server.
 
 When I try to launch it via javamonitor I get this exception which I haven't 
 seen before:
 
 [2013-1-17 15:53:15 GMT] main com.webobjects.foundation.NSForwardException 
 [java.security.UnrecoverableKeyException] Password verification 
 failed:WOApplication: Cannot be initialized.
   at 
 com.webobjects.appserver.WOApplication.init(WOApplication.java:918)
   at 
 er.extensions.appserver.ajax.ERXAjaxApplication.init(ERXAjaxApplication.java:30)
   at 
 er.extensions.appserver.ERXApplication.init(ERXApplication.java:1128)
   at com.pp.app.Application.init(Application.java:27)
   at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native 
 Method)
   at 
 sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
   at 
 sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
   at java.lang.reflect.Constructor.newInstance(Constructor.java:532)
   at java.lang.Class.newInstance0(Class.java:372)
   at java.lang.Class.newInstance(Class.java:325)
   at com.webobjects.appserver.WOApplication.main(WOApplication.java:547)
   at er.extensions.appserver.ERXApplication.main(ERXApplication.java:860)
   at com.pp.app.Application.main(Application.java:30)
 Caused by: java.security.UnrecoverableKeyException: Password verification 
 failed
   at sun.security.provider.JavaKeyStore.engineLoad(JavaKeyStore.java:786)
   at 
 sun.security.provider.JavaKeyStore$JKS.engineLoad(JavaKeyStore.java:55)
   at java.security.KeyStore.load(KeyStore.java:1201)
   at 
 com.webobjects.appserver._private.WOClassicAdaptor._initServerSocket(WOClassicAdaptor.java:202)
   at 
 com.webobjects.appserver._private.WOClassicAdaptor.init(WOClassicAdaptor.java:163)
   at 
 com.webobjects.appserver._private.WODefaultAdaptor.init(WODefaultAdaptor.java:22)
   at 
 er.extensions.appserver.ERXDefaultAdaptor.init(ERXDefaultAdaptor.java:31)
   at 
 er.extensions.appserver.ERXSecureDefaultAdaptor.init(ERXSecureDefaultAdaptor.java:29)
   at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native 
 Method)
   at 
 sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
   at 
 sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
   at java.lang.reflect.Constructor.newInstance(Constructor.java:532)
   at 
 com.webobjects.foundation._NSUtilities.instantiateObject(_NSUtilities.java:640)
   at 
 com.webobjects.appserver.WOApplication.adaptorWithName(WOApplication.java:1316)
   at 
 er.extensions.appserver.ERXApplication.adaptorWithName(ERXApplication.java:2749)
   at 
 com.webobjects.appserver.WOApplication._initAdaptors(WOApplication.java:1392)
   at 
 com.webobjects.appserver.WOApplication.init(WOApplication.java:802)
 
 Thanks
 James
 
 
 
 
 ___
 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.

Re: [Announce] WOCommunity repository for CentOS/RedHat Linux

2013-01-17 Thread Bastian Triller
Check your webserver error log. IIRC it is in /var/log/httpd on CentOS.
Ownership shouldn't be the problem as long as you're not using symlinks to
your webserver resources or the permissions aren't worldreadable.

Am 17.01.2013 17:05 schrieb Theodore Petrosky tedp...@yahoo.com:

 Interesting, when I drilled down to:

 /var/www/html/WebObjects/JavaMonitor.woa/Contents/WebServerResources

 I see that javamonitor.css is owned by

 Interesting, when I drilled down to:

 /var/www/html/WebObjects/JavaMonitor.woa/Contents/WebServerResources

 I see that javamonitor.css is owned by root:root

 should that be appserver:appserveradmn

 ?




 --- On Thu, 1/17/13, Jesse Tayler jtay...@oeinc.com wrote:

  From: Jesse Tayler jtay...@oeinc.com
  Subject: Re: [Announce] WOCommunity repository for CentOS/RedHat Linux
  To: Theodore Petrosky tedp...@yahoo.com
  Cc: WebObjects Development webobjects-dev@lists.apple.com, Pascal
 Robert prob...@macti.ca
  Date: Thursday, January 17, 2013, 11:01 AM
 
  that's a webserver / http issue - me thinks.
 
  you get images via direct connect because it provides it's
  own http service but when you connect regularly, those
  resources are expected to be vended from the http website on
  that box.
 
  make sense?
 
  On Jan 17, 2013, at 10:28 AM, Theodore Petrosky tedp...@yahoo.com
  wrote:
 
   I used this to set up a newly installed Centos6 on a
  mac mini. Thanks. That really saved me a bunch of time.
  
   On weirdness (and maybe it is Centos problem). I have
  the javamonitor as a listed app and I get to it with:
  
   http://10.1.5.100/cgi-bin/WebObjects/monitor.woa
  
   all of a sudden, when I click the View Details button,
  none of the button images load. so I see a lot of blue box
  question marks. when i use the direct connect all the images
  load properly.
  
   if this were a permissions issue, where is the director
  that I could check for proper permissions?
  
   Ted
  
   --- On Mon, 1/7/13, Pascal Robert prob...@macti.ca
  wrote:
  
   From: Pascal Robert prob...@macti.ca
   Subject: [Announce] WOCommunity repository for
  CentOS/RedHat Linux
   To: WebObjects Development webobjects-dev@lists.apple.com
   Date: Monday, January 7, 2013, 10:56 AM
   Hello,
  
   The deployment tools are now available under a Yum
   repository for even easier installation! If you are
  using
   CentOS 5.x/6.x, RedHat Enterprise Linux 5.x/6.x or
  Amazon
   Linux, you can simply grab the repo file:
  
  
 https://raw.github.com/projectwonder/wonder/3e152ee904a9499e231daf00cff302b5795a13e6/Utilities/Linux/wocommunity.repo
  
   into /etc/yum.repos.d/, and do:
  
 yum install wotaskd
 yum install womonitor
 yum install woadaptor
  
   to install everything. Please note that I just find
  out that
   Amazon Linux installs Apache 2.4 by default, and
  the adaptor
   don't work on it, so you will have to install
  Apache 2.2
   BEFORE installing woadaptor. Also, the adaptor is
  not
   available for 32 bit systems for now, I have to
  create to
   find a way to build it along the 64 bit version.
  
   It's the first time I'm building RPM packages, so
  it might
   not be perfect, but it worked well on my CentOS
  5.5, CentOS
   6.2 and Amazon Linux VMs, so please report any
  problems. The
   spec files to build the RPMs are also in the
  integration
   branch of Wonder.
  
   Thanks.
  
  
   ___
   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/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:

 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


Best Current Platform

2013-01-17 Thread Gino Pacitti

Hi List

Does anyone have any thoughts on best current platform for WO?

Lots of talk about CentOS, Linux, Amazon etc... but any reason to  
choose apart from client requirement and budget?



Gino
___
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 Current Platform

2013-01-17 Thread Jesse Tayler

I've been happy using AWS, there's some nifty scripts to set up servers on the 
wocommunity somewhere, and once you get the hang of it, it's amazingly powerful 
and easy.

I do see other things being cheaper for sure.



On Jan 17, 2013, at 12:45 PM, Gino Pacitti ginok...@mac.com wrote:

 Hi List
 
 Does anyone have any thoughts on best current platform for WO?
 
 Lots of talk about CentOS, Linux, Amazon etc... but any reason to choose 
 apart from client requirement and budget?
 
 
 Gino
 ___
 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/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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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


Re: Best Current Platform

2013-01-17 Thread David LeBer
We're still happy with Linode.com.

We went with  Ubuntu.

D

On 2013-01-17, at 12:53 PM, Jesse Tayler jtay...@oeinc.com wrote:

 
 I've been happy using AWS, there's some nifty scripts to set up servers on 
 the wocommunity somewhere, and once you get the hang of it, it's amazingly 
 powerful and easy.
 
 I do see other things being cheaper for sure.
 
 
 
 On Jan 17, 2013, at 12:45 PM, Gino Pacitti ginok...@mac.com wrote:
 
 Hi List
 
 Does anyone have any thoughts on best current platform for WO?
 
 Lots of talk about CentOS, Linux, Amazon etc... but any reason to choose 
 apart from client requirement and budget?
 
 
 Gino
 ___
 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/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:
 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: [Announce] WOCommunity repository for CentOS/RedHat Linux

2013-01-17 Thread Bastian Triller
I'd symlink the app directory:
$ ln
-s /opt/Local/Library/WebObjects/JavaApplications/JavaMonitor.woa 
/var/www/html/WebObjects/
and for the Wonder JavaMonitor you have to symlink the Ajax.framework,
too:
$ ln
-s 
/opt/Local/Library/WebObjects/JavaApplications/JavaMonitor.woa/Contents/Frameworks/Ajax.framework
 /var/www/html/WebObjects/Frameworks

... if CentOS doesn't use the httpd Option SymLinksIfOwnerMatch

Am Donnerstag, den 17.01.2013, 11:28 -0800 schrieb Theodore Petrosky:
 ok so the error_log shows:
 
 File does not exist: 
 /var/www/html/WebObjects/JavaMonitor.woa/Contents/WebServerResources/help.png
 
 and indeed the file is not there
 
 they live here:
 
 /opt/Local/Library/WebObjects/JavaApplications/JavaMonitor.woa/Contents/WebServerResources
 
 I may reinstall Centos6 and do the WO installer again as this box was 
 originally setup before Pascal created his beautiful YUM installer.
 
 Ted
 
 --- On Thu, 1/17/13, Bastian Triller bastian.tril...@gmail.com wrote:
 
  From: Bastian Triller bastian.tril...@gmail.com
  Subject: Re: [Announce] WOCommunity repository for CentOS/RedHat Linux
  To: Theodore Petrosky tedp...@yahoo.com
  Cc: Jesse Tayler jtay...@oeinc.com, Pascal Robert prob...@macti.ca, 
  WebObjects Development webobjects-dev@lists.apple.com
  Date: Thursday, January 17, 2013, 12:41 PM
  Check your webserver error log. IIRC it
  is in /var/log/httpd on CentOS. Ownership shouldn't be
  the problem as long as you're not using symlinks to your
  webserver resources or the permissions aren't
  worldreadable.
  
  Am 17.01.2013 17:05 schrieb Theodore Petrosky
  tedp...@yahoo.com:
  
  
  
   Interesting, when I drilled down to:
  
  
  
  
  /var/www/html/WebObjects/JavaMonitor.woa/Contents/WebServerResources
  
  
  
   I see that javamonitor.css is owned by Interesting, when I drilled down
  to:
  
  
  
  /var/www/html/WebObjects/JavaMonitor.woa/Contents/WebServerResources
  
  
  
  I see that javamonitor.css is owned by root:root
  
  
  
  should that be appserver:appserveradmn
  
  
  
  ?
  
  
  
  
  
  
  
  
  
  --- On Thu, 1/17/13, Jesse Tayler jtay...@oeinc.com
  wrote:
  
  
  
   From: Jesse Tayler jtay...@oeinc.com
  
   Subject: Re: [Announce] WOCommunity repository for
  CentOS/RedHat Linux
  
   To: Theodore Petrosky tedp...@yahoo.com
  
   Cc: WebObjects Development webobjects-dev@lists.apple.com,
  Pascal Robert prob...@macti.ca
  
  
   Date: Thursday, January 17, 2013, 11:01 AM
  
  
  
   that's a webserver / http issue - me thinks.
  
  
  
   you get images via direct connect because it provides
  it's
  
   own http service but when you connect regularly, those
  
   resources are expected to be vended from the http
  website on
  
   that box.
  
  
  
   make sense?
  
  
  
   On Jan 17, 2013, at 10:28 AM, Theodore Petrosky tedp...@yahoo.com
  
   wrote:
  
  
  
I used this to set up a newly installed Centos6 on
  a
  
   mac mini. Thanks. That really saved me a bunch of
  time.
  
   
  
On weirdness (and maybe it is Centos problem). I
  have
  
   the javamonitor as a listed app and I get to it with:
  
   
  
http://10.1.5.100/cgi-bin/WebObjects/monitor.woa
  
   
  
all of a sudden, when I click the View Details
  button,
  
   none of the button images load. so I see a lot of blue
  box
  
   question marks. when i use the direct connect all the
  images
  
   load properly.
  
   
  
if this were a permissions issue, where is the
  director
  
   that I could check for proper permissions?
  
   
  
Ted
  
   
  
--- On Mon, 1/7/13, Pascal Robert prob...@macti.ca
  
   wrote:
  
   
  
From: Pascal Robert prob...@macti.ca
  
Subject: [Announce] WOCommunity repository
  for
  
   CentOS/RedHat Linux
  
To: WebObjects Development webobjects-dev@lists.apple.com
  
Date: Monday, January 7, 2013, 10:56 AM
  
Hello,
  
   
  
The deployment tools are now available under a
  Yum
  
repository for even easier installation! If
  you are
  
   using
  
CentOS 5.x/6.x, RedHat Enterprise Linux
  5.x/6.x or
  
   Amazon
  
Linux, you can simply grab the repo file:
  
   
  
  
https://raw.github.com/projectwonder/wonder/3e152ee904a9499e231daf00cff302b5795a13e6/Utilities/Linux/wocommunity.repo
  
  
   
  
into /etc/yum.repos.d/, and do:
  
   
  
  yum install wotaskd
  
  yum install womonitor
  
  yum install woadaptor
  
   
  
to install everything. Please note that I just
  find
  
   out that
  
Amazon Linux installs Apache 2.4 by default,
  and
  
   the adaptor
  
don't work on it, so you will have to
  install
  
   Apache 2.2
  
BEFORE installing woadaptor. Also, the adaptor
  is
  
   not
  
available for 32 bit systems for now, I have
  to
  
   create to
  
find a way to build it along the 64 bit
  version.
  
   
  
It's the first time I'm building RPM
  packages, so
  
   it might
  
not be perfect, but it worked well on my
  CentOS

Re: Best Current Platform

2013-01-17 Thread Lon Varscsak
Yeah, any flavor of Linux is really the way to go.  I currently host on
Linode using Arch.  But I've worked on deployments that use CentOS as well
as RHEL without any issues.

-Lon

On Thu, Jan 17, 2013 at 12:53 PM, David LeBer
dleber_wo...@codeferous.comwrote:

 We're still happy with Linode.com.

 We went with  Ubuntu.

 D

 On 2013-01-17, at 12:53 PM, Jesse Tayler jtay...@oeinc.com wrote:

 
  I've been happy using AWS, there's some nifty scripts to set up servers
 on the wocommunity somewhere, and once you get the hang of it, it's
 amazingly powerful and easy.
 
  I do see other things being cheaper for sure.
 
 
 
  On Jan 17, 2013, at 12:45 PM, Gino Pacitti ginok...@mac.com wrote:
 
  Hi List
 
  Does anyone have any thoughts on best current platform for WO?
 
  Lots of talk about CentOS, Linux, Amazon etc... but any reason to
 choose apart from client requirement and budget?
 
 
  Gino
  ___
  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/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:
 
 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/lon.varscsak%40gmail.com

 This email sent to lon.varsc...@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: [Announce] WOCommunity repository for CentOS/RedHat Linux

2013-01-17 Thread Theodore Petrosky

ok so the error_log shows:

File does not exist: 
/var/www/html/WebObjects/JavaMonitor.woa/Contents/WebServerResources/help.png

and indeed the file is not there

they live here:

/opt/Local/Library/WebObjects/JavaApplications/JavaMonitor.woa/Contents/WebServerResources

I may reinstall Centos6 and do the WO installer again as this box was 
originally setup before Pascal created his beautiful YUM installer.

Ted

--- On Thu, 1/17/13, Bastian Triller bastian.tril...@gmail.com wrote:

 From: Bastian Triller bastian.tril...@gmail.com
 Subject: Re: [Announce] WOCommunity repository for CentOS/RedHat Linux
 To: Theodore Petrosky tedp...@yahoo.com
 Cc: Jesse Tayler jtay...@oeinc.com, Pascal Robert prob...@macti.ca, 
 WebObjects Development webobjects-dev@lists.apple.com
 Date: Thursday, January 17, 2013, 12:41 PM
 Check your webserver error log. IIRC it
 is in /var/log/httpd on CentOS. Ownership shouldn't be
 the problem as long as you're not using symlinks to your
 webserver resources or the permissions aren't
 worldreadable.
 
 Am 17.01.2013 17:05 schrieb Theodore Petrosky
 tedp...@yahoo.com:
 
 
 
  Interesting, when I drilled down to:
 
 
 
 
 /var/www/html/WebObjects/JavaMonitor.woa/Contents/WebServerResources
 
 
 
  I see that javamonitor.css is owned by Interesting, when I drilled down
 to:
 
 
 
 /var/www/html/WebObjects/JavaMonitor.woa/Contents/WebServerResources
 
 
 
 I see that javamonitor.css is owned by root:root
 
 
 
 should that be appserver:appserveradmn
 
 
 
 ?
 
 
 
 
 
 
 
 
 
 --- On Thu, 1/17/13, Jesse Tayler jtay...@oeinc.com
 wrote:
 
 
 
  From: Jesse Tayler jtay...@oeinc.com
 
  Subject: Re: [Announce] WOCommunity repository for
 CentOS/RedHat Linux
 
  To: Theodore Petrosky tedp...@yahoo.com
 
  Cc: WebObjects Development webobjects-dev@lists.apple.com,
 Pascal Robert prob...@macti.ca
 
 
  Date: Thursday, January 17, 2013, 11:01 AM
 
 
 
  that's a webserver / http issue - me thinks.
 
 
 
  you get images via direct connect because it provides
 it's
 
  own http service but when you connect regularly, those
 
  resources are expected to be vended from the http
 website on
 
  that box.
 
 
 
  make sense?
 
 
 
  On Jan 17, 2013, at 10:28 AM, Theodore Petrosky tedp...@yahoo.com
 
  wrote:
 
 
 
   I used this to set up a newly installed Centos6 on
 a
 
  mac mini. Thanks. That really saved me a bunch of
 time.
 
  
 
   On weirdness (and maybe it is Centos problem). I
 have
 
  the javamonitor as a listed app and I get to it with:
 
  
 
   http://10.1.5.100/cgi-bin/WebObjects/monitor.woa
 
  
 
   all of a sudden, when I click the View Details
 button,
 
  none of the button images load. so I see a lot of blue
 box
 
  question marks. when i use the direct connect all the
 images
 
  load properly.
 
  
 
   if this were a permissions issue, where is the
 director
 
  that I could check for proper permissions?
 
  
 
   Ted
 
  
 
   --- On Mon, 1/7/13, Pascal Robert prob...@macti.ca
 
  wrote:
 
  
 
   From: Pascal Robert prob...@macti.ca
 
   Subject: [Announce] WOCommunity repository
 for
 
  CentOS/RedHat Linux
 
   To: WebObjects Development webobjects-dev@lists.apple.com
 
   Date: Monday, January 7, 2013, 10:56 AM
 
   Hello,
 
  
 
   The deployment tools are now available under a
 Yum
 
   repository for even easier installation! If
 you are
 
  using
 
   CentOS 5.x/6.x, RedHat Enterprise Linux
 5.x/6.x or
 
  Amazon
 
   Linux, you can simply grab the repo file:
 
  
 
     
  https://raw.github.com/projectwonder/wonder/3e152ee904a9499e231daf00cff302b5795a13e6/Utilities/Linux/wocommunity.repo
 
 
  
 
   into /etc/yum.repos.d/, and do:
 
  
 
     yum install wotaskd
 
     yum install womonitor
 
     yum install woadaptor
 
  
 
   to install everything. Please note that I just
 find
 
  out that
 
   Amazon Linux installs Apache 2.4 by default,
 and
 
  the adaptor
 
   don't work on it, so you will have to
 install
 
  Apache 2.2
 
   BEFORE installing woadaptor. Also, the adaptor
 is
 
  not
 
   available for 32 bit systems for now, I have
 to
 
  create to
 
   find a way to build it along the 64 bit
 version.
 
  
 
   It's the first time I'm building RPM
 packages, so
 
  it might
 
   not be perfect, but it worked well on my
 CentOS
 
  5.5, CentOS
 
   6.2 and Amazon Linux VMs, so please report
 any
 
  problems. The
 
   spec files to build the RPMs are also in the
 
  integration
 
   branch of Wonder.
 
  
 
   Thanks.
 
  
 
  
 
  
 ___
 
   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