Re: SEO Friendly URLs

2014-05-27 Thread Gino Pacitti
Thanks Aaron…
I will take a look…

Gino
On 27 May 2014, at 05:13, Aaron Rosenzweig aa...@chatnbike.com wrote:

 Hi Gino,
 
 At some point you do have to do mod rewrite but I liked the solution of 
 making a new version of WOHyperlink that would auto generate the necessary 
 bits:
 
 http://web.archive.org/web/20070523170744/http://www.jewelryluv.com/fashion/pageWithName/ModRewrite/
 AARON ROSENZWEIG / Chat 'n Bike
 e:  aa...@chatnbike.com  t:  (301) 956-2319   
   
 
 On May 23, 2014, at 5:53 AM, Gino Pacitti ginok...@mac.com wrote:
 
 Hi there…
 Are there any pages on the wiki about best practices with seo friendly urls 
 etc… Is it all covered under URL Rewriting with Apache ?
 
 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/aaron%40chatnbike.com
 
 This email sent to aa...@chatnbike.com


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

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

implementing HTTPServlet with WebObjects

2014-05-27 Thread Butchi Reddy Velagala
Hi All,

 We have a requirement to implement the HttpServlet interface in
webobjects application. We all know that WebObjects applications can be
deployed as servlets inside a servlet container. But our requirement
is to *deploy
the servlet application in webobjects server*.

Please clarify me on the following.
  * Do we have servlet container inside our webobjects server?
  * Can we implement HttpServlet interface in webobjects applications?

Thanks in advance,
Butchi Reddy Velagala
 ___
Do not 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: Any plans to build libapache2-mod-wo for Ubuntu 14.04 LTS

2014-05-27 Thread Bastian Triller
I forgot to include the webobjects package as well. It would be nice, if
you can test again.

On Mon, 2014-05-26 at 11:51 +0200, CHRISTOPH WICK | i4innovation GmbH,
Bonn wrote:

 Hi Bastian,
 
 thanks for updating the Ubuntu/Debian installer.
 
 Unfortunately, it doesn't work for me.
 
 I installed a fresh and clean Ubuntu 14 LTS and followed the instructions on 
 
 http://wiki.wocommunity.org/display/documentation/Installing+a+deployment+environment+on+Debian+or+Ubuntu
 
 with
 
 DIST=ubuntu
 SUITE=trusty
 
 I get the following error:
 
  $ sudo apt-get install libapache2-mod-wo projectwonder-javamonitor 
  projectwonder-wotaskd
  Reading package lists... Done
  Building dependency tree   
  Reading state information... Done
  Some packages could not be installed. This may mean that you have
  requested an impossible situation or if you are using the unstable
  distribution that some required packages have not yet been created
  or been moved out of Incoming.
  The following information may help to resolve the situation:
  
  The following packages have unmet dependencies:
   projectwonder-javamonitor : Depends: webobjects but it is not installable
   Depends: libprojectwonder-ajax-java but it is 
  not going to be installed
   Depends: libprojectwonder-javamonitor-java but 
  it is not going to be installed
   Depends: libprojectwonder-rest-java but it is 
  not going to be installed
   projectwonder-wotaskd : Depends: webobjects but it is not installable
   Depends: libprojectwonder-javamonitor-java but it 
  is not going to be installed
   Depends: libprojectwonder-rest-java but it is not 
  going to be installed
  E: Unable to correct problems, you have held broken packages.
 
 
 If I try 
 
  $ sudo apt-get install webobjects
 
 I get
 
  Reading package lists... Done
  Building dependency tree   
  Reading state information... Done
  Package webobjects is not available, but is referred to by another package.
  This may mean that the package is missing, has been obsoleted, or
  is only available from another source
  
  E: Package 'webobjects' has no installation candidate
 
 
 Is there anything missing?
 
 C.U.CW


 ___
Do not 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: Any plans to build libapache2-mod-wo for Ubuntu 14.04 LTS

2014-05-27 Thread CHRISTOPH WICK | i4innovation GmbH, Bonn
Hi Bastian,

it works like a charm now - thx a lot. Checked on a clean fresh installation.

One more question: the WOMonitor that comes with that installation LOOKS as it 
is the old one from Apple (big fat Aqua-Tabs), not like the one from Wonder 
(see http://wiki.wocommunity.org/display/documentation/Deploying+on+Linux).

On the other hand, it contains some Wonder-Frameworks (if you take a look into 
/var/lib/webobjects/Library/WebObjects/Applications/JavaMonitor.woa/Contents/Frameworks).

So my question: is this intended? Are there two separat version of Wonder's 
WOMonitor. Or is the one in you package simply outdated? (Can't remember 
anymore when Wonder's WOMonitor got the new design. But it must haven been some 
years ago). If so, can it be updated also?

Thx again for the installer. Great to work with this community.
C.U.CW
-- 
What are the three enemies of a programmer? Sunlight, oxygen, and the appalling 
roar of the birds.

On 27.05.2014, at 15:15, Bastian Triller bastian.tril...@gmail.com wrote:

 I forgot to include the webobjects package as well. It would be nice, if you 
 can test again.
 
 On Mon, 2014-05-26 at 11:51 +0200, CHRISTOPH WICK | i4innovation GmbH, Bonn 
 wrote:
 Hi Bastian,
 
 thanks for updating the Ubuntu/Debian installer.
 
 Unfortunately, it doesn't work for me.
 
 I installed a fresh and clean Ubuntu 14 LTS and followed the instructions on 
 
 
 http://wiki.wocommunity.org/display/documentation/Installing+a+deployment+environment+on+Debian+or+Ubuntu
 
 
 with
 
 DIST=ubuntu
 SUITE=trusty
 
 I get the following error:
 
 
  $ sudo apt-get install libapache2-mod-wo projectwonder-javamonitor 
  projectwonder-wotaskd
  Reading package lists... Done
  Building dependency tree   
  Reading state information... Done
  Some packages could not be installed. This may mean that you have
  requested an impossible situation or if you are using the unstable
  distribution that some required packages have not yet been created
  or been moved out of Incoming.
  The following information may help to resolve the situation:
  
  The following packages have unmet dependencies:
   projectwonder-javamonitor : Depends: webobjects but it is not installable
   Depends: libprojectwonder-ajax-java but it is 
  not going to be installed
   Depends: libprojectwonder-javamonitor-java 
  but it is not going to be installed
   Depends: libprojectwonder-rest-java but it is 
  not going to be installed
   projectwonder-wotaskd : Depends: webobjects but it is not installable
   Depends: libprojectwonder-javamonitor-java but it 
  is not going to be installed
   Depends: libprojectwonder-rest-java but it is not 
  going to be installed
  E: Unable to correct problems, you have held broken packages.
 
 
 
 If I try 
 
 
  $ sudo apt-get install webobjects
 
 
 I get
 
 
  Reading package lists... Done
  Building dependency tree   
  Reading state information... Done
  Package webobjects is not available, but is referred to by another package.
  This may mean that the package is missing, has been obsoleted, or
  is only available from another source
  
  E: Package 'webobjects' has no installation candidate
 
 
 
 Is there anything missing?
 
 C.U.CW
 
 



signature.asc
Description: Message signed with OpenPGP using GPGMail
 ___
Do not 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: implementing HTTPServlet with WebObjects

2014-05-27 Thread John Huss
You can get the WOServletContext and the WOServletRequest from the userInfo
in the WORequest using these keys:

aRequest.userInfo().get(HttpServletRequest)
aRequest.userInfo().get(HttpServletResponse)
aRequest.userInfo().get(ServletConfig)
aRequest.userInfo().get(ServletContext)

While using strings in this way is somewhat questionable, at least you
don't have to worry about a future release of WO changing it.

If you just need the ServletContext you would be better off subclassing
ERXServletAdaptor and overriding init().  But if you do that you'll have to
change the web.xml file during the build process to reference your
subclass.  In the ssdd target add a line to do a string replace:

 replace file=${dest.dir}/${build.app.name}/WEB-INF/web.xml token=OLD
value=NEW /





On Tue, May 27, 2014 at 9:36 AM, John Huss johnth...@gmail.com wrote:

 Yes, WOServletAdaptor (or ERXServletAdaptor) is just an HttpServlet class
 that forwards to the regular WO stack.

 If you need to serve your static web server resources through the app
 also, or if you need to add other servlets or filters within the same app,
 then you have to change the build.xml a bit.


 On Tue, May 27, 2014 at 3:47 AM, Butchi Reddy Velagala 
 v.butchire...@gmail.com wrote:

 Hi All,

  We have a requirement to implement the HttpServlet interface in
 webobjects application. We all know that WebObjects applications can be
 deployed as servlets inside a servlet container. But our requirement is to 
 *deploy
 the servlet application in webobjects server*.

 Please clarify me on the following.
   * Do we have servlet container inside our webobjects server?
   * Can we implement HttpServlet interface in webobjects applications?

 Thanks in advance,
 Butchi Reddy Velagala

  ___
 Do not 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/johnthuss%40gmail.com

 This email sent to johnth...@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: Retaining order of values in a url

2014-05-27 Thread John Pollard
Hi guys, on holiday so brief reply! My workaround code does actually only rely 
on the order in the URL itself, as it was solving that exact problem of 
formValueKeys() not being in order. The explanation of why needed is a bit 
involved. Thanks for the replies.
John

On 27 May 2014, at 05:00, Aaron Rosenzweig wrote:

 Hi Cristoph,
 
 Order may be important to him if he has web server rewrite rules in place. 
 AARON ROSENZWEIG / Chat 'n Bike
 e:  aa...@chatnbike.com  t:  (301) 956-2319   
   
 
 On May 22, 2014, at 5:39 PM, CHRISTOPH WICK | i4innovation GmbH, Bonn 
 c...@i4innovation.de wrote:
 
 Hi John,
 
 If you read the documentation of WORequest's formValueKeys method, it says:
 
 The returned array is not sorted in any particular order, and is not 
 necessarily sorted in the same order on successive invocations of this 
 method.
 
 (http://wocommunity.org/documents/javadoc/WebObjects/5.4.2/com/webobjects/appserver/WORequest.html#formValueKeys())
 
 So I assume your workaround will not work always (even if it does 
 sometimes), since you assume, that request.formValueKeys() gives you the 
 right order.
 
 If you really care about the order of the key-value-pairs in the URI, I 
 think you have to parse the query string manually. 
 
 Take a look  at NSArray's wonderful method 
 componentsSeparatedByString(String string, String separator) and apply it 
 to your WORequest's method queryString() with separator . then a second 
 time on each key-value-pair with separator = and then you should have the 
 key at objectAtIndex(1) in the same order as within the queryString.
 
 C.U.CW
 
 P.S.: What's the reason you want to know the exact order? I haven't needed 
 such a thing in many years of web development.
 
 -- 
 What are the three enemies of a programmer? Sunlight, oxygen, and the 
 appalling roar of the birds.
 
 
 On 21.05.2014, at 18:56, John Pollard j...@pollardweb.com wrote:
 
 My workaround to put them back in order, using a TreeMap to sort on the 
 index position within the URI.
 
   NSArrayString formKeys = request().formValueKeys();
   String uriStr = request().uri();
   TreeMapInteger, String orderedKeysMap = new TreeMapInteger, 
 String();
   for(String nextKey : formKeys)
   {
 orderedKeysMap.put(uriStr.indexOf(nextKey), nextKey);
   }   
 
 On 21 May 2014, at 17:26, John Pollard j...@pollardweb.com wrote:
 
 Hi List,
 
 I note that WORequest.formValues() jumbles up the order of the values from 
 a url. Is there a simple way to get them in order, or do I need to parse 
 them out myself? I understand that normally the order shouldn't be 
 important, but I have what I feel is a reasonable purpose for needing to 
 know the order.
 
 Thanks
 John
 
 
 ___
 Do not post admin requests to the list. They will be ignored.
 Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:
 https://lists.apple.com/mailman/options/webobjects-dev/cw%40i4innovation.de
 
 This email sent to c...@i4innovation.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/aaron%40chatnbike.com
 
 This email sent to aa...@chatnbike.com
 

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

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

Re: Retaining order of values in a url

2014-05-27 Thread John Pollard
My workaround code does actually only rely on the order in the URL itself, as 
it was solving that exact problem of formValueKeys() not being in order. The 
explanation of why needed is a bit involved. Thanks for the replies.
John

On 27 May 2014, at 05:00, Aaron Rosenzweig wrote:

 Hi Cristoph,
 
 Order may be important to him if he has web server rewrite rules in place. 
 AARON ROSENZWEIG / Chat 'n Bike
 e:  aa...@chatnbike.com  t:  (301) 956-2319   
   
 
 On May 22, 2014, at 5:39 PM, CHRISTOPH WICK | i4innovation GmbH, Bonn 
 c...@i4innovation.de wrote:
 
 Hi John,
 
 If you read the documentation of WORequest's formValueKeys method, it says:
 
 The returned array is not sorted in any particular order, and is not 
 necessarily sorted in the same order on successive invocations of this 
 method.
 
 (http://wocommunity.org/documents/javadoc/WebObjects/5.4.2/com/webobjects/appserver/WORequest.html#formValueKeys())
 
 So I assume your workaround will not work always (even if it does 
 sometimes), since you assume, that request.formValueKeys() gives you the 
 right order.
 
 If you really care about the order of the key-value-pairs in the URI, I 
 think you have to parse the query string manually. 
 
 Take a look  at NSArray's wonderful method 
 componentsSeparatedByString(String string, String separator) and apply it 
 to your WORequest's method queryString() with separator . then a second 
 time on each key-value-pair with separator = and then you should have the 
 key at objectAtIndex(1) in the same order as within the queryString.
 
 C.U.CW
 
 P.S.: What's the reason you want to know the exact order? I haven't needed 
 such a thing in many years of web development.
 
 -- 
 What are the three enemies of a programmer? Sunlight, oxygen, and the 
 appalling roar of the birds.
 
 
 On 21.05.2014, at 18:56, John Pollard j...@pollardweb.com wrote:
 
 My workaround to put them back in order, using a TreeMap to sort on the 
 index position within the URI.
 
   NSArrayString formKeys = request().formValueKeys();
   String uriStr = request().uri();
   TreeMapInteger, String orderedKeysMap = new TreeMapInteger, 
 String();
   for(String nextKey : formKeys)
   {
 orderedKeysMap.put(uriStr.indexOf(nextKey), nextKey);
   }   
 
 On 21 May 2014, at 17:26, John Pollard j...@pollardweb.com wrote:
 
 Hi List,
 
 I note that WORequest.formValues() jumbles up the order of the values from 
 a url. Is there a simple way to get them in order, or do I need to parse 
 them out myself? I understand that normally the order shouldn't be 
 important, but I have what I feel is a reasonable purpose for needing to 
 know the order.
 
 Thanks
 John
 
 
 ___
 Do not post admin requests to the list. They will be ignored.
 Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:
 https://lists.apple.com/mailman/options/webobjects-dev/cw%40i4innovation.de
 
 This email sent to c...@i4innovation.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/aaron%40chatnbike.com
 
 This email sent to aa...@chatnbike.com
 

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

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

Re: the trouble with migrations...

2014-05-27 Thread Timothy Worman
Hey Dave:

I saw that you had a similar post to the list about the older deprecated API’s.

Yeah, I’ve jumped in that pool - SQLHelper and all. I have a branch of Wonder 
that is completely updated off of the older, deprecated API’s. If you’re 
interested in checking it out, I can make it available on github.

I’m still seeing ERXMigrationDatabase.synchronizationFactory returning a 
com.webobjects.eoaccess.EOSynchronizationFactory - which makes me concerned 
that something down deep and unreachable by me is making that happen.

Curiously, this stuff is correct:

expression class: com.webobjects.jdbcadaptor.OpenBasePlugIn$OpenBaseExpression
plugin name: OpenBase

I’ve been away all weekend too so I haven’t been able to look into it further. 
Let me know if you’d like to hammer on this thing a little.

Tim
UCLA GSEIS

On May 24, 2014, at 9:00 AM, David Avendasora webobje...@avendasora.com wrote:

 Hi Tim,
 
 In addition to the schema synchronization stuff you also need to look at the 
 SQLHelper subclasses defined for the plug-in. 
 
 I believe these were created as part of Mike's original migrations 
 implementation and it's entirely possible that there was never one created 
 for open base and therefore it's not doing what it supposed.
 
 Sorry I can't be more specific right now I'm not in front of my computer, but 
 I've been digging around down in the plug-ins and the schema synchronization 
 code quite a bit in the last couple months so I think I'll should be able to 
 help more once I am back at my computer.  By Tuesday for sure.
 
 Dave
 
 Sent from my iPhone
 
 On May 23, 2014, at 7:26 PM, Timothy Worman li...@thetimmy.com wrote:
 
 So, I’ve been looking into a problem with ERXMigrations related to OpenBase. 
 The SQL in migrations is wonky which was detailed here many moons ago:
 
 http://prod.lists.apple.com/archives/webobjects-dev/2008/Oct/msg00431.html
 
 Namely, the “constraints” sql-isms are different. But wait, aren’t the 
 frameworks supposed to build SQL expressions based on the JDBC plugin you’re 
 using (in this case OpenBasePlugIn)?
 
 I decided to mess with the OpenBase plugin source and see if I could fix 
 this issue - maybe sth more recent in WO-ness wasn’t being properly 
 overridden in the plugin. This is what I’ve found -
 
 ERXMigrationDatabase.synchronizationFactory() is supposed to return a 
 database-specific subclass of EOSynchronizationFactory (if I’m not 
 mistaken). For OpenBase this should be OpenBaseSynchronizationFactory. 
 However, it doesn’t appear to. The first time I run my app and ERAttachment0 
 is called, a standard base EOSynchronizationFactory (not 
 OpenBaseSynchronizationFactory) is returned. No code from the subclass is 
 called.
 
 Do others using PostgreSQL or other database experience this?
 
 Bueller…….Bueller……
 
 Tim
 UCLA GSEIS
 ___
 Do not post admin requests to the list. They will be ignored.
 Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:
 https://lists.apple.com/mailman/options/webobjects-dev/webobjects%40avendasora.com
 
 This email sent to webobje...@avendasora.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: Any plans to build libapache2-mod-wo for Ubuntu 14.04 LTS

2014-05-27 Thread Bastian Triller
the default wotaskd and javamonitor is from the webobjects package. This is
kind of bad documented. webobjects is a dependency of the wonder wotaskd
and javamonitor, so webobjects gets installed first. with it the old
applications from apple, because it's practically possible to use this in
deployment. but since it's recommended to use the wonder versions (and
distributing the stack across multiple hosts isn't very common, at least it
wasn't for me), i used the wonder packages in the install instructions. if
you want to switch versions, you can configure them with
update-alternatives --config wotaskd
respectively
update-alternatives --config javamonitor
 On 27 May 2014 16:23, CHRISTOPH WICK | i4innovation GmbH, Bonn 
c...@i4innovation.de wrote:

 Hi Bastian,

 it works like a charm now - thx a lot. Checked on a clean fresh
 installation.

 One more question: the WOMonitor that comes with that installation LOOKS
 as it is the old one from Apple (big fat Aqua-Tabs), not like the one from
 Wonder (see
 http://wiki.wocommunity.org/display/documentation/Deploying+on+Linux).

 On the other hand, it contains some Wonder-Frameworks (if you take a look
 into
 /var/lib/webobjects/Library/WebObjects/Applications/JavaMonitor.woa/Contents/Frameworks).

 So my question: is this intended? Are there two separat version of
 Wonder's WOMonitor. Or is the one in you package simply outdated? (Can't
 remember anymore when Wonder's WOMonitor got the new design. But it must
 haven been some years ago). If so, can it be updated also?

 Thx again for the installer. Great to work with this community.
 C.U.CW
 --
 What are the three enemies of a programmer? Sunlight, oxygen, and the
 appalling roar of the birds.

 On 27.05.2014, at 15:15, Bastian Triller bastian.tril...@gmail.com
 wrote:

  I forgot to include the webobjects package as well. It would be nice, if
 you can test again.
 
  On Mon, 2014-05-26 at 11:51 +0200, CHRISTOPH WICK | i4innovation GmbH,
 Bonn wrote:
  Hi Bastian,
 
  thanks for updating the Ubuntu/Debian installer.
 
  Unfortunately, it doesn't work for me.
 
  I installed a fresh and clean Ubuntu 14 LTS and followed the
 instructions on
 
 
 
 http://wiki.wocommunity.org/display/documentation/Installing+a+deployment+environment+on+Debian+or+Ubuntu
 
 
  with
 
  DIST=ubuntu
  SUITE=trusty
 
  I get the following error:
 
 
   $ sudo apt-get install libapache2-mod-wo projectwonder-javamonitor
 projectwonder-wotaskd
   Reading package lists... Done
   Building dependency tree
   Reading state information... Done
   Some packages could not be installed. This may mean that you have
   requested an impossible situation or if you are using the unstable
   distribution that some required packages have not yet been created
   or been moved out of Incoming.
   The following information may help to resolve the situation:
  
   The following packages have unmet dependencies:
projectwonder-javamonitor : Depends: webobjects but it is not
 installable
Depends: libprojectwonder-ajax-java but
 it is not going to be installed
Depends:
 libprojectwonder-javamonitor-java but it is not going to be installed
Depends: libprojectwonder-rest-java but
 it is not going to be installed
projectwonder-wotaskd : Depends: webobjects but it is not installable
Depends: libprojectwonder-javamonitor-java
 but it is not going to be installed
Depends: libprojectwonder-rest-java but it
 is not going to be installed
   E: Unable to correct problems, you have held broken packages.
 
 
 
  If I try
 
 
   $ sudo apt-get install webobjects
 
 
  I get
 
 
   Reading package lists... Done
   Building dependency tree
   Reading state information... Done
   Package webobjects is not available, but is referred to by another
 package.
   This may mean that the package is missing, has been obsoleted, or
   is only available from another source
  
   E: Package 'webobjects' has no installation candidate
 
 
 
  Is there anything missing?
 
  C.U.CW
 
 


 ___
Do not 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: the trouble with migrations...

2014-05-27 Thread Timothy Worman
David et al:

Sorry to reply to myself. Fixed. Migrations, etc., are now working for me with 
everything updated to the WO 5.4 API’s. I have branch of wonder called ‘worman’ 
which has the changes. Here is the diff:

https://github.com/timsquared/wonder/commit/3b39cfc00fcb9327931d8fe5835442c9ca1e1327

Database plugins MAY need to be updated - but maybe not. :-)

Tim
UCLA GSEIS

On May 27, 2014, at 11:23 AM, Timothy Worman li...@thetimmy.com wrote:

 Hey Dave:
 
 I saw that you had a similar post to the list about the older deprecated 
 API’s.
 
 Yeah, I’ve jumped in that pool - SQLHelper and all. I have a branch of Wonder 
 that is completely updated off of the older, deprecated API’s. If you’re 
 interested in checking it out, I can make it available on github.
 
 I’m still seeing ERXMigrationDatabase.synchronizationFactory returning a 
 com.webobjects.eoaccess.EOSynchronizationFactory - which makes me concerned 
 that something down deep and unreachable by me is making that happen.
 
 Curiously, this stuff is correct:
 
 expression class: com.webobjects.jdbcadaptor.OpenBasePlugIn$OpenBaseExpression
 plugin name: OpenBase
 
 I’ve been away all weekend too so I haven’t been able to look into it 
 further. Let me know if you’d like to hammer on this thing a little.
 
 Tim
 UCLA GSEIS
 
 On May 24, 2014, at 9:00 AM, David Avendasora webobje...@avendasora.com 
 wrote:
 
 Hi Tim,
 
 In addition to the schema synchronization stuff you also need to look at the 
 SQLHelper subclasses defined for the plug-in. 
 
 I believe these were created as part of Mike's original migrations 
 implementation and it's entirely possible that there was never one created 
 for open base and therefore it's not doing what it supposed.
 
 Sorry I can't be more specific right now I'm not in front of my computer, 
 but I've been digging around down in the plug-ins and the schema 
 synchronization code quite a bit in the last couple months so I think I'll 
 should be able to help more once I am back at my computer.  By Tuesday for 
 sure.
 
 Dave
 
 Sent from my iPhone
 
 On May 23, 2014, at 7:26 PM, Timothy Worman li...@thetimmy.com wrote:
 
 So, I’ve been looking into a problem with ERXMigrations related to 
 OpenBase. The SQL in migrations is wonky which was detailed here many moons 
 ago:
 
 http://prod.lists.apple.com/archives/webobjects-dev/2008/Oct/msg00431.html
 
 Namely, the “constraints” sql-isms are different. But wait, aren’t the 
 frameworks supposed to build SQL expressions based on the JDBC plugin 
 you’re using (in this case OpenBasePlugIn)?
 
 I decided to mess with the OpenBase plugin source and see if I could fix 
 this issue - maybe sth more recent in WO-ness wasn’t being properly 
 overridden in the plugin. This is what I’ve found -
 
 ERXMigrationDatabase.synchronizationFactory() is supposed to return a 
 database-specific subclass of EOSynchronizationFactory (if I’m not 
 mistaken). For OpenBase this should be OpenBaseSynchronizationFactory. 
 However, it doesn’t appear to. The first time I run my app and 
 ERAttachment0 is called, a standard base EOSynchronizationFactory (not 
 OpenBaseSynchronizationFactory) is returned. No code from the subclass is 
 called.
 
 Do others using PostgreSQL or other database experience this?
 
 Bueller…….Bueller……
 
 Tim
 UCLA GSEIS
 ___
 Do not post admin requests to the list. They will be ignored.
 Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:
 https://lists.apple.com/mailman/options/webobjects-dev/webobjects%40avendasora.com
 
 This email sent to webobje...@avendasora.com
 
 
 
 ___
 Do not post admin requests to the list. They will be ignored.
 Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:
 https://lists.apple.com/mailman/options/webobjects-dev/lists%40thetimmy.com
 
 This email sent to li...@thetimmy.com


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

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

Re: the trouble with migrations...

2014-05-27 Thread David Avendasora
I think part of the problem is that ERXMigrationDatabase uses the old 
deprecated synchronization factory stuff. Have you tried changing

public EOSynchronizationFactory synchronizationFactory() {
return (EOSynchronizationFactory) 
adaptor().synchronizationFactory();
}


to:

public EOSchemaSynchronizationFactory synchronizationFactory() {
return adaptor().schemaSynchronizationFactory();
}


?

There isn’t a Wonder version of the OpenBasePlugIn, but the WO 5.4.3 
implementation uses the new EOSchemaSynchronizationFactory, so maybe changing 
that call will get it to use the one for the plugin instead of the generic one.

Dave


On May 27, 2014, at 2:23 PM, Timothy Worman li...@thetimmy.com wrote:

 Hey Dave:
 
 I saw that you had a similar post to the list about the older deprecated 
 API’s.
 
 Yeah, I’ve jumped in that pool - SQLHelper and all. I have a branch of Wonder 
 that is completely updated off of the older, deprecated API’s. If you’re 
 interested in checking it out, I can make it available on github.
 
 I’m still seeing ERXMigrationDatabase.synchronizationFactory returning a 
 com.webobjects.eoaccess.EOSynchronizationFactory - which makes me concerned 
 that something down deep and unreachable by me is making that happen.
 
 Curiously, this stuff is correct:
 
 expression class: com.webobjects.jdbcadaptor.OpenBasePlugIn$OpenBaseExpression
 plugin name: OpenBase
 
 I’ve been away all weekend too so I haven’t been able to look into it 
 further. Let me know if you’d like to hammer on this thing a little.
 
 Tim
 UCLA GSEIS
 
 On May 24, 2014, at 9:00 AM, David Avendasora webobje...@avendasora.com 
 wrote:
 
 Hi Tim,
 
 In addition to the schema synchronization stuff you also need to look at the 
 SQLHelper subclasses defined for the plug-in. 
 
 I believe these were created as part of Mike's original migrations 
 implementation and it's entirely possible that there was never one created 
 for open base and therefore it's not doing what it supposed.
 
 Sorry I can't be more specific right now I'm not in front of my computer, 
 but I've been digging around down in the plug-ins and the schema 
 synchronization code quite a bit in the last couple months so I think I'll 
 should be able to help more once I am back at my computer.  By Tuesday for 
 sure.
 
 Dave
 
 Sent from my iPhone
 
 On May 23, 2014, at 7:26 PM, Timothy Worman li...@thetimmy.com wrote:
 
 So, I’ve been looking into a problem with ERXMigrations related to 
 OpenBase. The SQL in migrations is wonky which was detailed here many moons 
 ago:
 
 http://prod.lists.apple.com/archives/webobjects-dev/2008/Oct/msg00431.html
 
 Namely, the “constraints” sql-isms are different. But wait, aren’t the 
 frameworks supposed to build SQL expressions based on the JDBC plugin 
 you’re using (in this case OpenBasePlugIn)?
 
 I decided to mess with the OpenBase plugin source and see if I could fix 
 this issue - maybe sth more recent in WO-ness wasn’t being properly 
 overridden in the plugin. This is what I’ve found -
 
 ERXMigrationDatabase.synchronizationFactory() is supposed to return a 
 database-specific subclass of EOSynchronizationFactory (if I’m not 
 mistaken). For OpenBase this should be OpenBaseSynchronizationFactory. 
 However, it doesn’t appear to. The first time I run my app and 
 ERAttachment0 is called, a standard base EOSynchronizationFactory (not 
 OpenBaseSynchronizationFactory) is returned. No code from the subclass is 
 called.
 
 Do others using PostgreSQL or other database experience this?
 
 Bueller…….Bueller……
 
 Tim
 UCLA GSEIS
 ___
 Do not post admin requests to the list. They will be ignored.
 Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:
 https://lists.apple.com/mailman/options/webobjects-dev/webobjects%40avendasora.com
 
 This email sent to webobje...@avendasora.com
 
 
 
 


—
WebObjects - so easy that even Dave Avendasora can do it!™
—
David Avendasora
Senior Software Abuser
Nekesto, Inc.







 ___
Do not 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: the trouble with migrations...

2014-05-27 Thread David Avendasora
Wow Tim! 

Very cool! I’m going to pull this into one of my projects and check it out - I 
started down this road with one or two of the plugins, but I didn’t get this 
far. Hopefully I can add my plugin changes to this and we can have a nice 
“modernization (2008ish) of Wonder!

Dave

On May 27, 2014, at 5:03 PM, Timothy Worman li...@thetimmy.com wrote:

 David et al:
 
 Sorry to reply to myself. Fixed. Migrations, etc., are now working for me 
 with everything updated to the WO 5.4 API’s. I have branch of wonder called 
 ‘worman’ which has the changes. Here is the diff:
 
 https://github.com/timsquared/wonder/commit/3b39cfc00fcb9327931d8fe5835442c9ca1e1327
 
 Database plugins MAY need to be updated - but maybe not. :-)
 
 Tim
 UCLA GSEIS
 
 On May 27, 2014, at 11:23 AM, Timothy Worman li...@thetimmy.com wrote:
 
 Hey Dave:
 
 I saw that you had a similar post to the list about the older deprecated 
 API’s.
 
 Yeah, I’ve jumped in that pool - SQLHelper and all. I have a branch of 
 Wonder that is completely updated off of the older, deprecated API’s. If 
 you’re interested in checking it out, I can make it available on github.
 
 I’m still seeing ERXMigrationDatabase.synchronizationFactory returning a 
 com.webobjects.eoaccess.EOSynchronizationFactory - which makes me concerned 
 that something down deep and unreachable by me is making that happen.
 
 Curiously, this stuff is correct:
 
 expression class: 
 com.webobjects.jdbcadaptor.OpenBasePlugIn$OpenBaseExpression
 plugin name: OpenBase
 
 I’ve been away all weekend too so I haven’t been able to look into it 
 further. Let me know if you’d like to hammer on this thing a little.
 
 Tim
 UCLA GSEIS
 
 On May 24, 2014, at 9:00 AM, David Avendasora webobje...@avendasora.com 
 wrote:
 
 Hi Tim,
 
 In addition to the schema synchronization stuff you also need to look at 
 the SQLHelper subclasses defined for the plug-in. 
 
 I believe these were created as part of Mike's original migrations 
 implementation and it's entirely possible that there was never one created 
 for open base and therefore it's not doing what it supposed.
 
 Sorry I can't be more specific right now I'm not in front of my computer, 
 but I've been digging around down in the plug-ins and the schema 
 synchronization code quite a bit in the last couple months so I think I'll 
 should be able to help more once I am back at my computer.  By Tuesday for 
 sure.
 
 Dave
 
 Sent from my iPhone
 
 On May 23, 2014, at 7:26 PM, Timothy Worman li...@thetimmy.com wrote:
 
 So, I’ve been looking into a problem with ERXMigrations related to 
 OpenBase. The SQL in migrations is wonky which was detailed here many 
 moons ago:
 
 http://prod.lists.apple.com/archives/webobjects-dev/2008/Oct/msg00431.html
 
 Namely, the “constraints” sql-isms are different. But wait, aren’t the 
 frameworks supposed to build SQL expressions based on the JDBC plugin 
 you’re using (in this case OpenBasePlugIn)?
 
 I decided to mess with the OpenBase plugin source and see if I could fix 
 this issue - maybe sth more recent in WO-ness wasn’t being properly 
 overridden in the plugin. This is what I’ve found -
 
 ERXMigrationDatabase.synchronizationFactory() is supposed to return a 
 database-specific subclass of EOSynchronizationFactory (if I’m not 
 mistaken). For OpenBase this should be OpenBaseSynchronizationFactory. 
 However, it doesn’t appear to. The first time I run my app and 
 ERAttachment0 is called, a standard base EOSynchronizationFactory (not 
 OpenBaseSynchronizationFactory) is returned. No code from the subclass is 
 called.
 
 Do others using PostgreSQL or other database experience this?
 
 Bueller…….Bueller……
 
 Tim
 UCLA GSEIS
 ___
 Do not post admin requests to the list. They will be ignored.
 Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:
 https://lists.apple.com/mailman/options/webobjects-dev/webobjects%40avendasora.com
 
 This email sent to webobje...@avendasora.com
 
 
 
 ___
 Do not post admin requests to the list. They will be ignored.
 Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:
 https://lists.apple.com/mailman/options/webobjects-dev/lists%40thetimmy.com
 
 This email sent to li...@thetimmy.com
 
 
 


—
WebObjects - so easy that even Dave Avendasora can do it!™
—
David Avendasora
Senior Software Abuser
Nekesto, Inc.







 ___
Do not 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

Performance problem - Apache?

2014-05-27 Thread Ken Anderson
All,

I’m having a performance problem when returning a large NSData.  I have a POST 
direct action (wis instead of wa) that returns a 6+ MB response.  According to 
logging in the DA method, processing takes about 1.2 seconds.  I then wait 
about 45 seconds before Apache posts the line to the log saying it responded to 
a request.  The server is deployed at Amazon in a small instance, which should 
be getting reasonable bandwidth and throughput.

Any ideas where I could be having an issue?

Thanks,
Ken


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

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

Re: Performance problem - Apache?

2014-05-27 Thread Ken Anderson
Nevermind - of course right after I posted this it stopped happening!

On May 27, 2014, at 8:11 PM, Ken Anderson kenli...@anderhome.com wrote:

 All,
 
 I’m having a performance problem when returning a large NSData.  I have a 
 POST direct action (wis instead of wa) that returns a 6+ MB response.  
 According to logging in the DA method, processing takes about 1.2 seconds.  I 
 then wait about 45 seconds before Apache posts the line to the log saying it 
 responded to a request.  The server is deployed at Amazon in a small 
 instance, which should be getting reasonable bandwidth and throughput.
 
 Any ideas where I could be having an issue?
 
 Thanks,
 Ken
 
 
 ___
 Do not post admin requests to the list. They will be ignored.
 Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:
 https://lists.apple.com/mailman/options/webobjects-dev/kenlists%40anderhome.com
 
 This email sent to kenli...@anderhome.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: Any plans to build libapache2-mod-wo for Ubuntu 14.04 LTS

2014-05-27 Thread D Tim Cummings
Hi Bastian

Thanks for doing this Bastian. 

I am getting the following error during an update

A package failed to install.  Trying to recover:
Setting up libapache2-mod-wo (6.1.1~git20140506.a5ffd1f-1) ...
/var/lib/dpkg/info/libapache2-mod-wo.postinst: 6: 
/var/lib/dpkg/info/libapache2-mod-wo.postinst: a2enmod: not found
dpkg: error processing package libapache2-mod-wo (--configure):
 subprocess installed post-installation script returned error exit status 127
Errors were encountered while processing:
 libapache2-mod-wo

I think it is because apache2-mpm-prefork was installed as a dependency of 
libapache2-mod-wo but in your new version apache2-mpm-prefork  is no longer a 
dependency and so was removed when I did the update using aptitude. Of course 
apache2-mpm-prefork is only a transitional package in Ubuntu 14.04 to apache2. 

By the way, what is the procedure for creating these packages?

Regards

Tim
 

PRECISE DEPENDENCIES

apt-cache showpkg libapache2-mod-wo

Package: libapache2-mod-wo
Versions: 
6.0.0-1precise1 
(/var/lib/apt/lists/packages.wocommunity.org_ubuntu_dists_precise_main_binary-amd64_Packages)
 (/var/lib/dpkg/status)
 Description Language: 
 File: 
/var/lib/apt/lists/packages.wocommunity.org_ubuntu_dists_precise_main_binary-amd64_Packages
  MD5: 80f23336bdc90e02b026d889a67488ed


Reverse Depends: 
  libapache2-mod-wo:i386,libapache2-mod-wo
Dependencies: 
6.0.0-1precise1 - libc6 (2 2.15) apache2-mpm-prefork (0 (null)) 
libapache2-mod-wo:i386 (0 (null)) 
Provides: 
6.0.0-1precise1 - 
Reverse Provides: 

TRUSTY DEPENDENCIES

apt-cache showpkg libapache2-mod-wo

Package: libapache2-mod-wo
Versions: 
6.1.1~git20140506.a5ffd1f-1 
(/var/lib/apt/lists/packages.wocommunity.org_ubuntu_dists_trusty_main_binary-amd64_Packages)
 (/var/lib/dpkg/status)
 Description Language: 
 File: 
/var/lib/apt/lists/packages.wocommunity.org_ubuntu_dists_trusty_main_binary-amd64_Packages
  MD5: 8e02e63398073c15535b21fd3b6a7667


Reverse Depends: 
Dependencies: 
6.1.1~git20140506.a5ffd1f-1 - libc6 (2 2.15) 
Provides: 
6.1.1~git20140506.a5ffd1f-1 - 
Reverse Provides: 



On 28 May 2014, at 6:12, Bastian Triller bastian.tril...@gmail.com wrote:

 the default wotaskd and javamonitor is from the webobjects package. This is 
 kind of bad documented. webobjects is a dependency of the wonder wotaskd and 
 javamonitor, so webobjects gets installed first. with it the old applications 
 from apple, because it's practically possible to use this in deployment. but 
 since it's recommended to use the wonder versions (and distributing the stack 
 across multiple hosts isn't very common, at least it wasn't for me), i used 
 the wonder packages in the install instructions. if you want to switch 
 versions, you can configure them with
 update-alternatives --config wotaskd
 respectively
 update-alternatives --config javamonitor
 On 27 May 2014 16:23, CHRISTOPH WICK | i4innovation GmbH, Bonn 
 c...@i4innovation.de wrote:
 Hi Bastian,
 
 it works like a charm now - thx a lot. Checked on a clean fresh installation.
 
 One more question: the WOMonitor that comes with that installation LOOKS as 
 it is the old one from Apple (big fat Aqua-Tabs), not like the one from 
 Wonder (see 
 http://wiki.wocommunity.org/display/documentation/Deploying+on+Linux).
 
 On the other hand, it contains some Wonder-Frameworks (if you take a look 
 into 
 /var/lib/webobjects/Library/WebObjects/Applications/JavaMonitor.woa/Contents/Frameworks).
 
 So my question: is this intended? Are there two separat version of Wonder's 
 WOMonitor. Or is the one in you package simply outdated? (Can't remember 
 anymore when Wonder's WOMonitor got the new design. But it must haven been 
 some years ago). If so, can it be updated also?
 
 Thx again for the installer. Great to work with this community.
 C.U.CW
 --
 What are the three enemies of a programmer? Sunlight, oxygen, and the 
 appalling roar of the birds.
 
 On 27.05.2014, at 15:15, Bastian Triller bastian.tril...@gmail.com wrote:
 
  I forgot to include the webobjects package as well. It would be nice, if 
  you can test again.
 
  On Mon, 2014-05-26 at 11:51 +0200, CHRISTOPH WICK | i4innovation GmbH, Bonn 
  wrote:
  Hi Bastian,
 
  thanks for updating the Ubuntu/Debian installer.
 
  Unfortunately, it doesn't work for me.
 
  I installed a fresh and clean Ubuntu 14 LTS and followed the instructions 
  on
 
 
  http://wiki.wocommunity.org/display/documentation/Installing+a+deployment+environment+on+Debian+or+Ubuntu
 
 
  with
 
  DIST=ubuntu
  SUITE=trusty
 
  I get the following error:
 
 
   $ sudo apt-get install libapache2-mod-wo projectwonder-javamonitor 
   projectwonder-wotaskd
   Reading package lists... Done
   Building dependency tree
   Reading state information... Done
   Some packages could not be installed. This may mean that you have
   requested an impossible situation or if you are using the unstable
   distribution that some 

openbase

2014-05-27 Thread Michael Kondratov
Anyone using OpenBase db system here? How is the reliability? Are you running 
on Mac or Linux?

Michael Kondratov
 ___
Do not 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: openbase

2014-05-27 Thread Timothy Worman
Michael:

I use OpenBase at UCLA and have for 10 years. Currently, our server uses 
version 11 I believe. OpenBase has always been very solid for us. We’ve always 
run it on Mac OS X (and have no experience with OB on Linux).

On a side note, I’m currently working on addressing some issues with Wonder 
migrations and OpenBase.

Tim
UCLA GSES

On May 27, 2014, at 8:50 PM, Michael Kondratov mich...@aspireauctions.com 
wrote:

 Anyone using OpenBase db system here? How is the reliability? Are you running 
 on Mac or Linux?
 
 Michael Kondratov
 ___
 Do not post admin requests to the list. They will be ignored.
 Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:
 https://lists.apple.com/mailman/options/webobjects-dev/lists%40thetimmy.com
 
 This email sent to li...@thetimmy.com


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

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