Re: JavaClient offline storage / replication
While it has absolutely nothing to do with WO, you could take a look at Adobe LifeCycle Data Services ES (http://www.adobe.com/products/ livecycle/dataservices/). This is only for Flex/Air clients. The commercial variant offers client-server synchronization with conflict resolution. Timo Am 16.04.2009 um 05:19 schrieb John Huss: Ok, fair enough. So would you recommend using a different persistence framework on the client, or just avoid doing offline storage at all? John On Wed, Apr 15, 2009 at 2:55 PM, Mike Schrag msch...@mdimension.com wrote: On Wed, Apr 15, 2009 at 12:27 PM, Chuck Hill ch...@global- village.net wrote: Hmmm, a separate EOModelGroup, and EOF stack might be a good start. But I think you are going to need to create the objects in the local database and then copy the data over. How would I get started with that? Can I use the same model? Same EO classes? Conjecture is ok. I am not sure and don't have the time to sit down and play with it. You would need to create a new EOModelGroup, load your models into it, change their connection dictionaries and then use that model group to create new EOEditingContexts with. Beware of any EOF method named default* if you do this. PracticalWebObjects has code for copying graphs of EOs. I don't know if it would work in this situation or not. You should be able to use the same classes. for the record, this smells of terrible idea ... ms ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/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: http://lists.apple.com/mailman/options/webobjects-dev/th-dev% 40onlinehome.de This email sent to th-...@onlinehome.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: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: JavaClient offline storage / replication
You could probably also serialize Adaptor ops that occur after ec.saveChanges() using sth like the ERXAdaptorOperationWrapper and have some custom code dealing with conflicts. At least this would allow you to handle things in code, not in SQL. Cheers, Anjo Am 16.04.2009 um 04:44 schrieb John Ours: My main concern with trying this with WebObjects would be, as others have said, trying to sync the persistence layers. Even if you could get it to work it would be horribly inefficient. In every system we've ever built like this we've handled the data sync at the database level through either OTS or custom replication. Hypothetically this approach should work with WO...the clients always write locally and the sync is database-to-database whenever a connection becomes available. ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: JavaClient offline storage / replication
This is truly amazing! I've been doing WO JC work for the last 5(!) years and I have never seen this level of interest or discussion on a JC topic! While much of it is what-if scenarios, it is great to see these kinds of avenues being discussed. Besides JBND, WO Java Client is an area of WO that has gotten no extension or improvement (via Wonder or core WO libraries) since it was introduced. There's a huge amount of potential here for improvement on the solid, if feature-sparse JC foundation that WO provides out of the box. I look forward to seeing what the next year brings! Dave On Apr 16, 2009, at 6:24 AM, Timo Hoepfner wrote: While it has absolutely nothing to do with WO, you could take a look at Adobe LifeCycle Data Services ES (http://www.adobe.com/products/livecycle/dataservices/ ). This is only for Flex/Air clients. The commercial variant offers client-server synchronization with conflict resolution. Timo Am 16.04.2009 um 05:19 schrieb John Huss: Ok, fair enough. So would you recommend using a different persistence framework on the client, or just avoid doing offline storage at all? John On Wed, Apr 15, 2009 at 2:55 PM, Mike Schrag msch...@mdimension.com wrote: On Wed, Apr 15, 2009 at 12:27 PM, Chuck Hill ch...@global-village.net wrote: Hmmm, a separate EOModelGroup, and EOF stack might be a good start. But I think you are going to need to create the objects in the local database and then copy the data over. How would I get started with that? Can I use the same model? Same EO classes? Conjecture is ok. I am not sure and don't have the time to sit down and play with it. You would need to create a new EOModelGroup, load your models into it, change their connection dictionaries and then use that model group to create new EOEditingContexts with. Beware of any EOF method named default* if you do this. PracticalWebObjects has code for copying graphs of EOs. I don't know if it would work in this situation or not. You should be able to use the same classes. for the record, this smells of terrible idea ... ms ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/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: http://lists.apple.com/mailman/options/webobjects-dev/th-dev%40onlinehome.de This email sent to th-...@onlinehome.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: http://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: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
WO Java Client and WOJavaRebel
Hi all, Just a quick announcement to let you know that I've gotten JavaRebel (http://www.zeroturnaround.com/javarebel/ ) to work with a Java Client project. It uses WOnder's WOJavaRebel framework (with a couple simple mods that I'll put into a feature request). It works slick. Almost no more restarting either the client- or server- side apps during development! I'll be adding the ability to set a checkbox on the D2JC WOLips Project Template that will automatically add it if checked. Dave ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
[OT] Apache rewrite rule
Hello list, Well when Brian Moore said mod_rewrite was voodoo (http://httpd.apache.org/docs/2.2/rewrite/ ), I was skeptical, but now I believe him! I need some help for what I think should be a pretty simple rewrite rule. I am currently trying to get this to work initially on my development machine, and I keep getting a 404 Not Found message from apache (version 2.2.9). The rule is supposed to take convert URLs like this : http://localhost/purl/KieranKelleher and rewrite them like this (on my dev machine): http://localhost/cgi-bin/WebObjects/cheetah.woa/-52040/wa/PurlAction/purl?p=KieranKelleher I have added this to the end of my /etc/apache2/httpd.conf just before the last 2 includes at the end of the file (other/*.conf and WO apache.conf) IfModule rewrite_module # rewrite logging RewriteLog /tmp/rewrite.log # PURL feature RewriteEngine On RewriteRule ^/purl/(.*)$ /cgi-bin/WebObjects/cheetah.woa/-52040/wa/ PurlAction/purl?p=$1 /IfModule I can confirm that when I restarted apache it creates the /tmp/ rewrite.log if it does not exist, however nothing gets written there. I have studied the docs, the wiki docs and many examples. This looks like it should work, but I cannot for the life of me figure out why it does not work :-( Any clues or hints would be appreciated. Thanks, Kieran ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
WOWODC West Attendees...
Hey all, Last year on the Friday before WOWODC we did an evening tour of Alcatraz which was a lot of fun, and I don't think we lost anyone on The Rock. Does anyone feel like doing something similar this year? I'll be arriving early afternoon on Friday so I should be settled in SF mid to late afternoon. Anyone have an suggestions? - Bus tour - Harbour cruise - Movie - Cable Car Museum - ??? ;david -- David LeBer Codeferous Software 'co-def-er-ous' adj. Literally 'code-bearing' site: http://codeferous.com blog: http://davidleber.net profile:http://www.linkedin.com/in/davidleber twitter:http://twitter.com/rebeld -- Toronto Area Cocoa / WebObjects developers group: http://tacow.org ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: [OT] Apache rewrite rule
Hi Kieran, this is what we have in one of our apps. This is on Apache 1.3, though: IfModule mod_rewrite.c RewriteEngine On RewriteCond %{REQUEST_METHOD} ^TRACE RewriteRule .* - [F] RewriteRule ^/pools/([^/]*)/([^/]*)/(.*)$ /cgi-bin/ WebObjects/Frontend.woa/wa/PDFileAccessDirectAction/poolFile?trader= $1pool=$2path=$3 [L,PT] /IfModule Timo Am 16.04.2009 um 15:25 schrieb Kieran Kelleher: Hello list, Well when Brian Moore said mod_rewrite was voodoo (http:// httpd.apache.org/docs/2.2/rewrite/), I was skeptical, but now I believe him! I need some help for what I think should be a pretty simple rewrite rule. I am currently trying to get this to work initially on my development machine, and I keep getting a 404 Not Found message from apache (version 2.2.9). The rule is supposed to take convert URLs like this : http://localhost/purl/KieranKelleher and rewrite them like this (on my dev machine): http://localhost/cgi-bin/WebObjects/cheetah.woa/-52040/wa/ PurlAction/purl?p=KieranKelleher I have added this to the end of my /etc/apache2/httpd.conf just before the last 2 includes at the end of the file (other/*.conf and WO apache.conf) IfModule rewrite_module # rewrite logging RewriteLog /tmp/rewrite.log # PURL feature RewriteEngine On RewriteRule ^/purl/(.*)$ /cgi-bin/WebObjects/cheetah.woa/-52040/wa/ PurlAction/purl?p=$1 /IfModule I can confirm that when I restarted apache it creates the /tmp/ rewrite.log if it does not exist, however nothing gets written there. I have studied the docs, the wiki docs and many examples. This looks like it should work, but I cannot for the life of me figure out why it does not work :-( Any clues or hints would be appreciated. Thanks, Kieran ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/th-dev% 40onlinehome.de This email sent to th-...@onlinehome.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: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: [OT] Apache rewrite rule
Also see here: http://wiki.objectstyle.org/confluence/display/WO/Web+Applications- Deployment-Apache Timo Am 16.04.2009 um 15:44 schrieb Timo Hoepfner: Hi Kieran, this is what we have in one of our apps. This is on Apache 1.3, though: IfModule mod_rewrite.c RewriteEngine On RewriteCond %{REQUEST_METHOD} ^TRACE RewriteRule .* - [F] RewriteRule ^/pools/([^/]*)/([^/]*)/(.*)$ /cgi-bin/ WebObjects/Frontend.woa/wa/PDFileAccessDirectAction/poolFile?trader= $1pool=$2path=$3 [L,PT] /IfModule Timo Am 16.04.2009 um 15:25 schrieb Kieran Kelleher: Hello list, Well when Brian Moore said mod_rewrite was voodoo (http:// httpd.apache.org/docs/2.2/rewrite/), I was skeptical, but now I believe him! I need some help for what I think should be a pretty simple rewrite rule. I am currently trying to get this to work initially on my development machine, and I keep getting a 404 Not Found message from apache (version 2.2.9). The rule is supposed to take convert URLs like this : http://localhost/purl/KieranKelleher and rewrite them like this (on my dev machine): http://localhost/cgi-bin/WebObjects/cheetah.woa/-52040/wa/ PurlAction/purl?p=KieranKelleher I have added this to the end of my /etc/apache2/httpd.conf just before the last 2 includes at the end of the file (other/*.conf and WO apache.conf) IfModule rewrite_module # rewrite logging RewriteLog /tmp/rewrite.log # PURL feature RewriteEngine On RewriteRule ^/purl/(.*)$ /cgi-bin/WebObjects/cheetah.woa/-52040/wa/ PurlAction/purl?p=$1 /IfModule I can confirm that when I restarted apache it creates the /tmp/ rewrite.log if it does not exist, however nothing gets written there. I have studied the docs, the wiki docs and many examples. This looks like it should work, but I cannot for the life of me figure out why it does not work :-( Any clues or hints would be appreciated. Thanks, Kieran ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/th-dev% 40onlinehome.de This email sent to th-...@onlinehome.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: http://lists.apple.com/mailman/options/webobjects-dev/th-dev% 40onlinehome.de This email sent to th-...@onlinehome.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: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: [OT] Apache rewrite rule
if you're rewriting to wo instances, you need to make sure the ordering of your modules is right, too ... in 5.3 (i don't know about 5.4), the order of the modules was wrong -- you have to make mod_webobjects come before mod_rewrite (iirc). ms On Apr 16, 2009, at 9:25 AM, Kieran Kelleher wrote: Hello list, Well when Brian Moore said mod_rewrite was voodoo (http://httpd.apache.org/docs/2.2/rewrite/ ), I was skeptical, but now I believe him! I need some help for what I think should be a pretty simple rewrite rule. I am currently trying to get this to work initially on my development machine, and I keep getting a 404 Not Found message from apache (version 2.2.9). The rule is supposed to take convert URLs like this : http://localhost/purl/KieranKelleher and rewrite them like this (on my dev machine): http://localhost/cgi-bin/WebObjects/cheetah.woa/-52040/wa/PurlAction/purl?p=KieranKelleher I have added this to the end of my /etc/apache2/httpd.conf just before the last 2 includes at the end of the file (other/*.conf and WO apache.conf) IfModule rewrite_module # rewrite logging RewriteLog /tmp/rewrite.log # PURL feature RewriteEngine On RewriteRule ^/purl/(.*)$ /cgi-bin/WebObjects/cheetah.woa/-52040/wa/ PurlAction/purl?p=$1 /IfModule I can confirm that when I restarted apache it creates the /tmp/ rewrite.log if it does not exist, however nothing gets written there. I have studied the docs, the wiki docs and many examples. This looks like it should work, but I cannot for the life of me figure out why it does not work :-( Any clues or hints would be appreciated. Thanks, Kieran ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/mschrag%40mdimension.com This email sent to msch...@mdimension.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: [OT] Apache rewrite rule
I am using WO 5.3 on leopard with apache 2.2.9. The wo module is coming before rewrite module in httpd.conf: LoadModule WebObjects_module /System/Library/WebObjects/Adaptors/ Apache2.2/mod_WebObjects.so LoadModule rewrite_module libexec/apache2/mod_rewrite.so Further investigation shows that each time I try to access the short URL, I see the following error in the apache error_log: [Thu Apr 16 10:12:15 2009] [error] [client ::1] File does not exist: / Library/WebServer/Documents/cgi-bin So just maybe the rewrite rule is working but the result may be conflicting with mod_alias which has a scriptalias entry for the wo cgi-bin??? Does that ring any bells with anyone? Kieran On Apr 16, 2009, at 10:08 AM, Mike Schrag wrote: if you're rewriting to wo instances, you need to make sure the ordering of your modules is right, too ... in 5.3 (i don't know about 5.4), the order of the modules was wrong -- you have to make mod_webobjects come before mod_rewrite (iirc). ms On Apr 16, 2009, at 9:25 AM, Kieran Kelleher wrote: Hello list, Well when Brian Moore said mod_rewrite was voodoo (http://httpd.apache.org/docs/2.2/rewrite/ ), I was skeptical, but now I believe him! I need some help for what I think should be a pretty simple rewrite rule. I am currently trying to get this to work initially on my development machine, and I keep getting a 404 Not Found message from apache (version 2.2.9). The rule is supposed to take convert URLs like this : http://localhost/purl/KieranKelleher and rewrite them like this (on my dev machine): http://localhost/cgi-bin/WebObjects/cheetah.woa/-52040/wa/PurlAction/purl?p=KieranKelleher I have added this to the end of my /etc/apache2/httpd.conf just before the last 2 includes at the end of the file (other/*.conf and WO apache.conf) IfModule rewrite_module # rewrite logging RewriteLog /tmp/rewrite.log # PURL feature RewriteEngine On RewriteRule ^/purl/(.*)$ /cgi-bin/WebObjects/cheetah.woa/-52040/wa/ PurlAction/purl?p=$1 /IfModule I can confirm that when I restarted apache it creates the /tmp/ rewrite.log if it does not exist, however nothing gets written there. I have studied the docs, the wiki docs and many examples. This looks like it should work, but I cannot for the life of me figure out why it does not work :-( Any clues or hints would be appreciated. Thanks, Kieran ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/mschrag%40mdimension.com This email sent to msch...@mdimension.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/kieran_lists%40mac.com This email sent to kieran_li...@mac.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: [OT] Apache rewrite rule
Mine's commented out. anjo:apache2 ak$ grep -i scriptalias * httpd.conf:#ScriptAliasMatch ^/cgi-bin/((?!(?i:webobjects)).*$) / Library/WebServer/CGI-Executables/$1 Cheers, Anjo Am 16.04.2009 um 16:17 schrieb Kieran Kelleher: scriptalias ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: [OT] Apache rewrite rule
I added an [R] option on the end of the rule to force an external redirect and it works, albeit the URL in the browser address bar becomes the ugly one. So, at least this is returning the page ... not let's see if I can make it do without an external redirect so that the short URL stays in the browser address bar (since the marketing design spec wants the short URL) IfModule rewrite_module # rewrite logging RewriteLog /tmp/rewrite.log # PURL feature RewriteEngine On RewriteRule ^/purl/(.*)$ /cgi-bin/WebObjects/cheetah.woa/-52040/wa/ PurlAction/purl?p=$1 [R] /IfModule On Apr 16, 2009, at 10:17 AM, Kieran Kelleher wrote: I am using WO 5.3 on leopard with apache 2.2.9. The wo module is coming before rewrite module in httpd.conf: LoadModule WebObjects_module /System/Library/WebObjects/Adaptors/ Apache2.2/mod_WebObjects.so LoadModule rewrite_module libexec/apache2/mod_rewrite.so Further investigation shows that each time I try to access the short URL, I see the following error in the apache error_log: [Thu Apr 16 10:12:15 2009] [error] [client ::1] File does not exist: /Library/WebServer/Documents/cgi-bin So just maybe the rewrite rule is working but the result may be conflicting with mod_alias which has a scriptalias entry for the wo cgi-bin??? Does that ring any bells with anyone? Kieran On Apr 16, 2009, at 10:08 AM, Mike Schrag wrote: if you're rewriting to wo instances, you need to make sure the ordering of your modules is right, too ... in 5.3 (i don't know about 5.4), the order of the modules was wrong -- you have to make mod_webobjects come before mod_rewrite (iirc). ms On Apr 16, 2009, at 9:25 AM, Kieran Kelleher wrote: Hello list, Well when Brian Moore said mod_rewrite was voodoo (http://httpd.apache.org/docs/2.2/rewrite/ ), I was skeptical, but now I believe him! I need some help for what I think should be a pretty simple rewrite rule. I am currently trying to get this to work initially on my development machine, and I keep getting a 404 Not Found message from apache (version 2.2.9). The rule is supposed to take convert URLs like this : http://localhost/purl/KieranKelleher and rewrite them like this (on my dev machine): http://localhost/cgi-bin/WebObjects/cheetah.woa/-52040/wa/PurlAction/purl?p=KieranKelleher I have added this to the end of my /etc/apache2/httpd.conf just before the last 2 includes at the end of the file (other/*.conf and WO apache.conf) IfModule rewrite_module # rewrite logging RewriteLog /tmp/rewrite.log # PURL feature RewriteEngine On RewriteRule ^/purl/(.*)$ /cgi-bin/WebObjects/cheetah.woa/-52040/wa/ PurlAction/purl?p=$1 /IfModule I can confirm that when I restarted apache it creates the /tmp/ rewrite.log if it does not exist, however nothing gets written there. I have studied the docs, the wiki docs and many examples. This looks like it should work, but I cannot for the life of me figure out why it does not work :-( Any clues or hints would be appreciated. Thanks, Kieran ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/mschrag%40mdimension.com This email sent to msch...@mdimension.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/kieran_lists%40mac.com This email sent to kieran_li...@mac.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/kieran_lists%40mac.com This email sent to kieran_li...@mac.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: [OT] Apache rewrite rule
Hmm ... I tried removing the [R] option that I had just added to make this thing work and commenting out the scriptaliasmatch line. The rewrite rule does not work as I originally posted and webobjects still works fine (you would think the scriptalias line was needed, but it appears not) On Apr 16, 2009, at 10:20 AM, Anjo Krank wrote: Mine's commented out. anjo:apache2 ak$ grep -i scriptalias * httpd.conf:#ScriptAliasMatch ^/cgi-bin/((?!(?i:webobjects)).*$) /Library/WebServer/CGI-Executables/$1 Cheers, Anjo Am 16.04.2009 um 16:17 schrieb Kieran Kelleher: scriptalias ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: [OT] Apache rewrite rule
Finally! Searching the apache docs more, I found another option PT, the passthrough option, that specifically refers to this being needed for mod_alias or using mod_rewrite with any other modules that do URI- to-filename mapping or translation. The final working rewrite rule is: IfModule rewrite_module # rewrite logging RewriteLog /var/log/apache2/rewrite.log # PURL feature RewriteEngine On RewriteRule ^/purl/(.*)$ /cgi-bin/WebObjects/cheetah.woa/-52040/wa/ PurlAction/purl?p=$1 [PT] /IfModule Thanks for the mind-prodding guys. Now it is working in apache2 on my dev machine. Hopefully apache 1.3 will be similar configuration when I deploy this feature in a few days. Regards, Kieran On Apr 16, 2009, at 10:28 AM, Kieran Kelleher wrote: I added an [R] option on the end of the rule to force an external redirect and it works, albeit the URL in the browser address bar becomes the ugly one. So, at least this is returning the page ... not let's see if I can make it do without an external redirect so that the short URL stays in the browser address bar (since the marketing design spec wants the short URL) IfModule rewrite_module # rewrite logging RewriteLog /tmp/rewrite.log # PURL feature RewriteEngine On RewriteRule ^/purl/(.*)$ /cgi-bin/WebObjects/cheetah.woa/-52040/wa/ PurlAction/purl?p=$1 [R] /IfModule On Apr 16, 2009, at 10:17 AM, Kieran Kelleher wrote: I am using WO 5.3 on leopard with apache 2.2.9. The wo module is coming before rewrite module in httpd.conf: LoadModule WebObjects_module /System/Library/WebObjects/Adaptors/ Apache2.2/mod_WebObjects.so LoadModule rewrite_module libexec/apache2/mod_rewrite.so Further investigation shows that each time I try to access the short URL, I see the following error in the apache error_log: [Thu Apr 16 10:12:15 2009] [error] [client ::1] File does not exist: /Library/WebServer/Documents/cgi-bin So just maybe the rewrite rule is working but the result may be conflicting with mod_alias which has a scriptalias entry for the wo cgi-bin??? Does that ring any bells with anyone? Kieran On Apr 16, 2009, at 10:08 AM, Mike Schrag wrote: if you're rewriting to wo instances, you need to make sure the ordering of your modules is right, too ... in 5.3 (i don't know about 5.4), the order of the modules was wrong -- you have to make mod_webobjects come before mod_rewrite (iirc). ms On Apr 16, 2009, at 9:25 AM, Kieran Kelleher wrote: Hello list, Well when Brian Moore said mod_rewrite was voodoo (http://httpd.apache.org/docs/2.2/rewrite/ ), I was skeptical, but now I believe him! I need some help for what I think should be a pretty simple rewrite rule. I am currently trying to get this to work initially on my development machine, and I keep getting a 404 Not Found message from apache (version 2.2.9). The rule is supposed to take convert URLs like this : http://localhost/purl/KieranKelleher and rewrite them like this (on my dev machine): http://localhost/cgi-bin/WebObjects/cheetah.woa/-52040/wa/PurlAction/purl?p=KieranKelleher I have added this to the end of my /etc/apache2/httpd.conf just before the last 2 includes at the end of the file (other/*.conf and WO apache.conf) IfModule rewrite_module # rewrite logging RewriteLog /tmp/rewrite.log # PURL feature RewriteEngine On RewriteRule ^/purl/(.*)$ /cgi-bin/WebObjects/cheetah.woa/-52040/ wa/PurlAction/purl?p=$1 /IfModule I can confirm that when I restarted apache it creates the /tmp/ rewrite.log if it does not exist, however nothing gets written there. I have studied the docs, the wiki docs and many examples. This looks like it should work, but I cannot for the life of me figure out why it does not work :-( Any clues or hints would be appreciated. Thanks, Kieran ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/mschrag%40mdimension.com This email sent to msch...@mdimension.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/kieran_lists%40mac.com This email sent to kieran_li...@mac.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/kieran_lists%40mac.com This email sent to kieran_li...@mac.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list
Re: upgrading w/ eclipse 3.4.2
Hi Kevin, What is the full path of the p2 dir? Can we just do a rm -r * in there? Thanks. Dennis. On 15-Apr-09, at 1:33 PM, Ren, Kevin wrote: What I did( from memory) 1. delete anything under cache dir in p2 2. remove wolips from Software updates-Available software list 3.refresh and restart eclipse 4. add wolips(link) again in available software 5. refresh and update to latest version hopeful is help and working. it's not wolips problem, i think it's eclipse issue. cheers Kevin From: webobjects-dev-bounces+kevin.ren=anznational.co...@lists.apple.com [mailto:webobjects-dev-bounces+kevin.ren=anznational.co...@lists.apple.com ] On Behalf Of Gaastra Dennis - WO Lists Sent: Thursday, 16 April 2009 8:10 a.m. To: Mike Schrag Cc: WebObjects Development Subject: Re: upgrading w/ eclipse 3.4.2 Hi Mike, Do you suggest a re-install to upgrade from nightly 3.4.5693 then? Thanks. With Kind Regards, Dennis Gaastra, On 15-Apr-09, at 12:14 PM, Mike Schrag wrote: yes, but only made changes to nightly, so whatever was broken originally would continue to be broken for you if you're on stable. On Apr 15, 2009, at 3:07 PM, Tim Worman wrote: Right, but I think I've been having this problem since before there was a new stable? Ever since I updated to Eclipse 3.4.2, the updater sees an update for WOLips but then I get the errors everyone is reporting when I actually try to update. Tim On Apr 15, 2009, at 11:38 AM, Mike Schrag wrote: stable wouldn't have changed, so i'm not surprised ... stable is just a snapshot of whenever it was made -- it never changes until a new stable is pushed On Apr 15, 2009, at 2:18 PM, Tim Worman wrote: I'm still having the same issue and I'm trying to go from the last stable I got (prior to the issue) to the newer stable. Tim UCLA GSEIS On Apr 15, 2009, at 11:10 AM, Gaastra Dennis - WO Lists wrote: Yes, 3.4.2; see picture attached: Picture 5.png With Kind Regards, Dennis Gaastra, On 15-Apr-09, at 11:00 AM, Mike Schrag wrote: and you're trying to upgrade from an eclipse 3.4 + nightly to a new nightly, right? not from eclipse 3.3, or from stable to nightly? On Apr 15, 2009, at 1:49 PM, Gaastra Dennis - WO Lists wrote: Hi Mike, Thanks for trying, but still not working: there is still a huge list of no repository found containing ... /3.4.5719 lines. With Kind Regards, Dennis Gaastra, Chief Technology Officer, WEBAPPZ Systems, Inc. This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e- mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. WEBAPPZ Systems, Inc., 726 - 1489 Marine Drive, West Vancouver, BC, CANADA V7T 1B8, www.webappz.com On 15-Apr-09, at 10:22 AM, Mike Schrag wrote: i was able to upgrade my wolips from eclipse 3.4.2 just now ... the people that were having problems try again and see what happens? ms ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com ) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/webobjects_lists%40webappz.com This email sent to webobjects_li...@webappz.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects- d...@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/webobjects_lists%40webappz.com This email sent to webobjects_li...@webappz.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/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: http://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
Re: upgrading w/ eclipse 3.4.2
Hi Mike, Using Eclipse 3.4.1 I updated to WOLips 5719 last night. The I upgraded to Eclipse 3.4.2 this morning. Then I tried to update to 5721 and the update failed with the same error messages described in this thread. David On 15-Apr-09, at 10:22 AM, Mike Schrag wrote: i was able to upgrade my wolips from eclipse 3.4.2 just now ... the people that were having problems try again and see what happens? ms ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/programmingosx %40mac.com This email sent to programming...@mac.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
wotaskd password
I have seen in the documentation that when you set a password in JavaMonitor it also sets a password in wotaskd. All the documentation I can find says that when wotaskd has a password you have to set the password for the Apache adaptor to communicate with wotaskd. Unfortunately I cannot find anything about how to set the password for the apache adaptor. The only password I can find is for the statistics. How can I set the password for the apache adaptor to use? Thanks, Frank Cobia ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: [OT] Apache rewrite rule
Kieran et al: I just went through some rewrite stuff although it was more related to just getting multiple apps working at different virtual hosts. This site has a really nicely done mod_rewrite cheat sheet (PDF): http://www.addedbytes.com/apache/mod_rewrite-cheat-sheet Also, after your RewriteLog command you could add: RewriteLogLevel 9 It does help a little with the debugging. I don't think anything over '2' is recommended in deployment but you'll learn a lot by amping it up as high as it can go while you're troubleshooting this stuff. Sorry if I'm just spewing stuff you already knew about. Tim UCLA GSEIS On Apr 16, 2009, at 7:50 AM, Kieran Kelleher wrote: Finally! Searching the apache docs more, I found another option PT, the passthrough option, that specifically refers to this being needed for mod_alias or using mod_rewrite with any other modules that do URI-to-filename mapping or translation. The final working rewrite rule is: IfModule rewrite_module # rewrite logging RewriteLog /var/log/apache2/rewrite.log # PURL feature RewriteEngine On RewriteRule ^/purl/(.*)$ /cgi-bin/WebObjects/cheetah.woa/-52040/wa/ PurlAction/purl?p=$1 [PT] /IfModule Thanks for the mind-prodding guys. Now it is working in apache2 on my dev machine. Hopefully apache 1.3 will be similar configuration when I deploy this feature in a few days. Regards, Kieran On Apr 16, 2009, at 10:28 AM, Kieran Kelleher wrote: I added an [R] option on the end of the rule to force an external redirect and it works, albeit the URL in the browser address bar becomes the ugly one. So, at least this is returning the page ... not let's see if I can make it do without an external redirect so that the short URL stays in the browser address bar (since the marketing design spec wants the short URL) IfModule rewrite_module # rewrite logging RewriteLog /tmp/rewrite.log # PURL feature RewriteEngine On RewriteRule ^/purl/(.*)$ /cgi-bin/WebObjects/cheetah.woa/-52040/wa/ PurlAction/purl?p=$1 [R] /IfModule On Apr 16, 2009, at 10:17 AM, Kieran Kelleher wrote: I am using WO 5.3 on leopard with apache 2.2.9. The wo module is coming before rewrite module in httpd.conf: LoadModule WebObjects_module /System/Library/WebObjects/Adaptors/ Apache2.2/mod_WebObjects.so LoadModule rewrite_module libexec/apache2/mod_rewrite.so Further investigation shows that each time I try to access the short URL, I see the following error in the apache error_log: [Thu Apr 16 10:12:15 2009] [error] [client ::1] File does not exist: /Library/WebServer/Documents/cgi-bin So just maybe the rewrite rule is working but the result may be conflicting with mod_alias which has a scriptalias entry for the wo cgi-bin??? Does that ring any bells with anyone? Kieran On Apr 16, 2009, at 10:08 AM, Mike Schrag wrote: if you're rewriting to wo instances, you need to make sure the ordering of your modules is right, too ... in 5.3 (i don't know about 5.4), the order of the modules was wrong -- you have to make mod_webobjects come before mod_rewrite (iirc). ms On Apr 16, 2009, at 9:25 AM, Kieran Kelleher wrote: Hello list, Well when Brian Moore said mod_rewrite was voodoo (http://httpd.apache.org/docs/2.2/rewrite/ ), I was skeptical, but now I believe him! I need some help for what I think should be a pretty simple rewrite rule. I am currently trying to get this to work initially on my development machine, and I keep getting a 404 Not Found message from apache (version 2.2.9). The rule is supposed to take convert URLs like this : http://localhost/purl/KieranKelleher and rewrite them like this (on my dev machine): http://localhost/cgi-bin/WebObjects/cheetah.woa/-52040/wa/PurlAction/purl?p=KieranKelleher I have added this to the end of my /etc/apache2/httpd.conf just before the last 2 includes at the end of the file (other/*.conf and WO apache.conf) IfModule rewrite_module # rewrite logging RewriteLog /tmp/rewrite.log # PURL feature RewriteEngine On RewriteRule ^/purl/(.*)$ /cgi-bin/WebObjects/cheetah.woa/-52040/ wa/PurlAction/purl?p=$1 /IfModule I can confirm that when I restarted apache it creates the /tmp/ rewrite.log if it does not exist, however nothing gets written there. I have studied the docs, the wiki docs and many examples. This looks like it should work, but I cannot for the life of me figure out why it does not work :-( Any clues or hints would be appreciated. Thanks, Kieran ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/mschrag%40mdimension.com This email sent to msch...@mdimension.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list
Re: JavaClient offline storage / replication
While googling this, I found a couple interesting projects that may be useful, just in case anyone is interested. I just looked at them briefly. http://symmetricds.codehaus.org/index.html http://opensource.replicator.daffodilsw.com/index.html John On Thu, Apr 16, 2009 at 6:50 AM, Anjo Krank a...@krank.net wrote: You could probably also serialize Adaptor ops that occur after ec.saveChanges() using sth like the ERXAdaptorOperationWrapper and have some custom code dealing with conflicts. At least this would allow you to handle things in code, not in SQL. Cheers, Anjo Am 16.04.2009 um 04:44 schrieb John Ours: My main concern with trying this with WebObjects would be, as others have said, trying to sync the persistence layers. Even if you could get it to work it would be horribly inefficient. In every system we've ever built like this we've handled the data sync at the database level through either OTS or custom replication. Hypothetically this approach should work with WO...the clients always write locally and the sync is database-to-database whenever a connection becomes available. ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/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: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: wotaskd password
On 16-Apr-09, at 12:10 PM, Mr. Frank Cobia wrote: ... when wotaskd has a password you have to set the password for the Apache adaptor to communicate with wotaskd ... Hrm... Where did you read that? Thanks! Mark ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: [OT] Apache rewrite rule
Tim, Thanks a lot. I love cheatsheets and that's a really useful one :-) Kieran On Apr 16, 2009, at 12:36 PM, Tim Worman wrote: Kieran et al: I just went through some rewrite stuff although it was more related to just getting multiple apps working at different virtual hosts. This site has a really nicely done mod_rewrite cheat sheet (PDF): http://www.addedbytes.com/apache/mod_rewrite-cheat-sheet Also, after your RewriteLog command you could add: RewriteLogLevel 9 It does help a little with the debugging. I don't think anything over '2' is recommended in deployment but you'll learn a lot by amping it up as high as it can go while you're troubleshooting this stuff. Sorry if I'm just spewing stuff you already knew about. Tim UCLA GSEIS On Apr 16, 2009, at 7:50 AM, Kieran Kelleher wrote: Finally! Searching the apache docs more, I found another option PT, the passthrough option, that specifically refers to this being needed for mod_alias or using mod_rewrite with any other modules that do URI-to-filename mapping or translation. The final working rewrite rule is: IfModule rewrite_module # rewrite logging RewriteLog /var/log/apache2/rewrite.log # PURL feature RewriteEngine On RewriteRule ^/purl/(.*)$ /cgi-bin/WebObjects/cheetah.woa/-52040/wa/ PurlAction/purl?p=$1 [PT] /IfModule Thanks for the mind-prodding guys. Now it is working in apache2 on my dev machine. Hopefully apache 1.3 will be similar configuration when I deploy this feature in a few days. Regards, Kieran ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: JavaClient offline storage / replication
Heh. The first one has no real mention of conflict resolution in the PDF apart from: More complex conflict resolution strategies can be accomplished by using the IDataLoaderFilter extension point which has access to both old and new data. and the second says: • Conflict detector and resolution – Daffodil Replicator offers very strong conflict detection and resolution functionalities that allow multiple users to send in changes from the workstations simultaneously, while ensuring the integrity of the data. paste a link to conflict resolution document. The last part of the sentence is particularly neat :) Bottom line is you might as well go with the serialized adaptor ops, as these do basically what you can by using these packages. Cheers, Anjo Am 16.04.2009 um 18:53 schrieb John Huss: While googling this, I found a couple interesting projects that may be useful, just in case anyone is interested. I just looked at them briefly. http://symmetricds.codehaus.org/index.html http://opensource.replicator.daffodilsw.com/index.html John On Thu, Apr 16, 2009 at 6:50 AM, Anjo Krank a...@krank.net wrote: You could probably also serialize Adaptor ops that occur after ec.saveChanges() using sth like the ERXAdaptorOperationWrapper and have some custom code dealing with conflicts. At least this would allow you to handle things in code, not in SQL. Cheers, Anjo Am 16.04.2009 um 04:44 schrieb John Ours: My main concern with trying this with WebObjects would be, as others have said, trying to sync the persistence layers. Even if you could get it to work it would be horribly inefficient. In every system we've ever built like this we've handled the data sync at the database level through either OTS or custom replication. Hypothetically this approach should work with WO...the clients always write locally and the sync is database-to-database whenever a connection becomes available. ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/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: http://lists.apple.com/mailman/options/webobjects-dev/anjo%40krank.net This email sent to a...@krank.net ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: WOWODC West Attendees...
Not as adventurous, but there is this restaurant http://www.yelp.com/biz/double-play-restaurant-san-francisco Its the site of the old San Francisco Seals restaurant, so it has tons of old baseball stuff like a museaum, but its a restaurant/bar w/ micro brews, etc. There is also the Anchor Steam brewery which can be toured: http://www.anchorbrewing.com/about_us/tourinfo.htm On Thu, Apr 16, 2009 at 6:37 AM, David LeBer dleber_wo...@codeferous.com wrote: Hey all, Last year on the Friday before WOWODC we did an evening tour of Alcatraz which was a lot of fun, and I don't think we lost anyone on The Rock. Does anyone feel like doing something similar this year? I'll be arriving early afternoon on Friday so I should be settled in SF mid to late afternoon. Anyone have an suggestions? - Bus tour - Harbour cruise - Movie - Cable Car Museum - ??? ;david -- David LeBer Codeferous Software 'co-def-er-ous' adj. Literally 'code-bearing' site: http://codeferous.com blog: http://davidleber.net profile: http://www.linkedin.com/in/davidleber twitter: http://twitter.com/rebeld -- Toronto Area Cocoa / WebObjects developers group: http://tacow.org ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/jmlittle%40gmail.com This email sent to jmlit...@gmail.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: wotaskd password
I found it in several of the documents on Apple's website. It is basically a warning in every document that deals with deployment, wotaskd or JavaMonitor. I have verified that it is true, because I set the password in JavaMonitor and then I could no longer connect to my app through apache, but when I removed the password I was able to connect again. Frank On Apr 16, 2009, at 12:56 PM, Mark Ritchie wrote: On 16-Apr-09, at 12:10 PM, Mr. Frank Cobia wrote: ... when wotaskd has a password you have to set the password for the Apache adaptor to communicate with wotaskd ... Hrm... Where did you read that? Thanks! Mark ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: WOWODC West Attendees...
On Apr 16, 2009, at 11:14 AM, Joe Little wrote: Not as adventurous, but there is this restaurant http://www.yelp.com/biz/double-play-restaurant-san-francisco Its the site of the old San Francisco Seals restaurant, so it has tons of old baseball stuff like a museaum, but its a restaurant/bar w/ micro brews, etc. There is also the Anchor Steam brewery which can be toured: http://www.anchorbrewing.com/about_us/tourinfo.htm Now we are talking! :-P On Thu, Apr 16, 2009 at 6:37 AM, David LeBer dleber_wo...@codeferous.com wrote: Hey all, Last year on the Friday before WOWODC we did an evening tour of Alcatraz which was a lot of fun, and I don't think we lost anyone on The Rock. Does anyone feel like doing something similar this year? I'll be arriving early afternoon on Friday so I should be settled in SF mid to late afternoon. Anyone have an suggestions? - Bus tour - Harbour cruise - Movie - Cable Car Museum - ??? ;david -- David LeBer Codeferous Software 'co-def-er-ous' adj. Literally 'code-bearing' site: http://codeferous.com blog: http://davidleber.net profile:http://www.linkedin.com/in/davidleber twitter:http://twitter.com/rebeld -- Toronto Area Cocoa / WebObjects developers group: http://tacow.org ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/jmlittle%40gmail.com This email sent to jmlit...@gmail.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/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/products/practical_webobjects ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: WOWODC West Attendees...
There is also the Anchor Steam brewery which can be toured: :crying: - hugi ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: [OT] Apache rewrite rule
On Apr 16, 2009, at 7:50 AM, Kieran Kelleher wrote: Finally! Searching the apache docs more, I found another option PT, the passthrough option, that specifically refers to this being needed for mod_alias or using mod_rewrite with any other modules that do URI-to-filename mapping or translation. Yes. The Last flag may also result is a small speed improvement unless you are double re-writing: [LPT] Chuck The final working rewrite rule is: IfModule rewrite_module # rewrite logging RewriteLog /var/log/apache2/rewrite.log # PURL feature RewriteEngine On RewriteRule ^/purl/(.*)$ /cgi-bin/WebObjects/cheetah.woa/-52040/wa/ PurlAction/purl?p=$1 [PT] /IfModule Thanks for the mind-prodding guys. Now it is working in apache2 on my dev machine. Hopefully apache 1.3 will be similar configuration when I deploy this feature in a few days. Regards, Kieran On Apr 16, 2009, at 10:28 AM, Kieran Kelleher wrote: I added an [R] option on the end of the rule to force an external redirect and it works, albeit the URL in the browser address bar becomes the ugly one. So, at least this is returning the page ... not let's see if I can make it do without an external redirect so that the short URL stays in the browser address bar (since the marketing design spec wants the short URL) IfModule rewrite_module # rewrite logging RewriteLog /tmp/rewrite.log # PURL feature RewriteEngine On RewriteRule ^/purl/(.*)$ /cgi-bin/WebObjects/cheetah.woa/-52040/wa/ PurlAction/purl?p=$1 [R] /IfModule On Apr 16, 2009, at 10:17 AM, Kieran Kelleher wrote: I am using WO 5.3 on leopard with apache 2.2.9. The wo module is coming before rewrite module in httpd.conf: LoadModule WebObjects_module /System/Library/WebObjects/Adaptors/ Apache2.2/mod_WebObjects.so LoadModule rewrite_module libexec/apache2/mod_rewrite.so Further investigation shows that each time I try to access the short URL, I see the following error in the apache error_log: [Thu Apr 16 10:12:15 2009] [error] [client ::1] File does not exist: /Library/WebServer/Documents/cgi-bin So just maybe the rewrite rule is working but the result may be conflicting with mod_alias which has a scriptalias entry for the wo cgi-bin??? Does that ring any bells with anyone? Kieran On Apr 16, 2009, at 10:08 AM, Mike Schrag wrote: if you're rewriting to wo instances, you need to make sure the ordering of your modules is right, too ... in 5.3 (i don't know about 5.4), the order of the modules was wrong -- you have to make mod_webobjects come before mod_rewrite (iirc). ms On Apr 16, 2009, at 9:25 AM, Kieran Kelleher wrote: Hello list, Well when Brian Moore said mod_rewrite was voodoo (http://httpd.apache.org/docs/2.2/rewrite/ ), I was skeptical, but now I believe him! I need some help for what I think should be a pretty simple rewrite rule. I am currently trying to get this to work initially on my development machine, and I keep getting a 404 Not Found message from apache (version 2.2.9). The rule is supposed to take convert URLs like this : http://localhost/purl/KieranKelleher and rewrite them like this (on my dev machine): http://localhost/cgi-bin/WebObjects/cheetah.woa/-52040/wa/PurlAction/purl?p=KieranKelleher I have added this to the end of my /etc/apache2/httpd.conf just before the last 2 includes at the end of the file (other/*.conf and WO apache.conf) IfModule rewrite_module # rewrite logging RewriteLog /tmp/rewrite.log # PURL feature RewriteEngine On RewriteRule ^/purl/(.*)$ /cgi-bin/WebObjects/cheetah.woa/-52040/ wa/PurlAction/purl?p=$1 /IfModule I can confirm that when I restarted apache it creates the /tmp/ rewrite.log if it does not exist, however nothing gets written there. I have studied the docs, the wiki docs and many examples. This looks like it should work, but I cannot for the life of me figure out why it does not work :-( Any clues or hints would be appreciated. Thanks, Kieran ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/mschrag%40mdimension.com This email sent to msch...@mdimension.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/kieran_lists%40mac.com This email sent to kieran_li...@mac.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/kieran_lists%40mac.com This email sent to
Re: WOWODC West Attendees...
On Apr 16, 2009, at 2:18 PM, Chuck Hill wrote: On Apr 16, 2009, at 11:14 AM, Joe Little wrote: Not as adventurous, but there is this restaurant http://www.yelp.com/biz/double-play-restaurant-san-francisco Its the site of the old San Francisco Seals restaurant, so it has tons of old baseball stuff like a museaum, but its a restaurant/bar w/ micro brews, etc. There is also the Anchor Steam brewery which can be toured: http://www.anchorbrewing.com/about_us/tourinfo.htm Now we are talking! :-P OK Everyone who thought Chuck wouldn't like touring a brewery, raise your hand... hmm thought so. On Thu, Apr 16, 2009 at 6:37 AM, David LeBer dleber_wo...@codeferous.com wrote: Hey all, Last year on the Friday before WOWODC we did an evening tour of Alcatraz which was a lot of fun, and I don't think we lost anyone on The Rock. Does anyone feel like doing something similar this year? I'll be arriving early afternoon on Friday so I should be settled in SF mid to late afternoon. Anyone have an suggestions? - Bus tour - Harbour cruise - Movie - Cable Car Museum - ??? ;david -- David LeBer Codeferous Software 'co-def-er-ous' adj. Literally 'code-bearing' site: http://codeferous.com blog: http://davidleber.net profile:http://www.linkedin.com/in/davidleber twitter:http://twitter.com/rebeld -- Toronto Area Cocoa / WebObjects developers group: http://tacow.org ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/jmlittle%40gmail.com This email sent to jmlit...@gmail.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/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/products/practical_webobjects ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/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: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: WOWODC West Attendees...
On Apr 16, 2009, at 11:22 AM, Hugi Thordarson wrote: There is also the Anchor Steam brewery which can be toured: :crying: Don't worry - I will have your free sample for you! -- Chuck Hill Senior Consultant / VP Development Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems. http://www.global-village.net/products/practical_webobjects ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: WOWODC West Attendees...
It just might be hard to get the reservation though.. On Thu, Apr 16, 2009 at 11:25 AM, Ken Anderson kenli...@anderhome.com wrote: On Apr 16, 2009, at 2:18 PM, Chuck Hill wrote: On Apr 16, 2009, at 11:14 AM, Joe Little wrote: Not as adventurous, but there is this restaurant http://www.yelp.com/biz/double-play-restaurant-san-francisco Its the site of the old San Francisco Seals restaurant, so it has tons of old baseball stuff like a museaum, but its a restaurant/bar w/ micro brews, etc. There is also the Anchor Steam brewery which can be toured: http://www.anchorbrewing.com/about_us/tourinfo.htm Now we are talking! :-P OK Everyone who thought Chuck wouldn't like touring a brewery, raise your hand... hmm thought so. On Thu, Apr 16, 2009 at 6:37 AM, David LeBer dleber_wo...@codeferous.com wrote: Hey all, Last year on the Friday before WOWODC we did an evening tour of Alcatraz which was a lot of fun, and I don't think we lost anyone on The Rock. Does anyone feel like doing something similar this year? I'll be arriving early afternoon on Friday so I should be settled in SF mid to late afternoon. Anyone have an suggestions? - Bus tour - Harbour cruise - Movie - Cable Car Museum - ??? ;david -- David LeBer Codeferous Software 'co-def-er-ous' adj. Literally 'code-bearing' site: http://codeferous.com blog: http://davidleber.net profile: http://www.linkedin.com/in/davidleber twitter: http://twitter.com/rebeld -- Toronto Area Cocoa / WebObjects developers group: http://tacow.org ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/jmlittle%40gmail.com This email sent to jmlit...@gmail.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/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/products/practical_webobjects ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/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: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: WOWODC West Attendees...
More to the point, the tour is once a day, for a party as large as ten: Currently we offer one public tour each weekday, by reservation only. We recommend that you call us as early as possible to make reservations far in advance so that we may accommodate you and your party on the day of your choice. You may have up to ten in your party, depending on the availability of space. They are booked solid for the months of April/May, so perhaps Tour for those who can make it, followed by that brew-pup restaurant, as some Yelp posters recommended the combination. On Thu, Apr 16, 2009 at 11:27 AM, Joe Little jmlit...@gmail.com wrote: It just might be hard to get the reservation though.. On Thu, Apr 16, 2009 at 11:25 AM, Ken Anderson kenli...@anderhome.com wrote: On Apr 16, 2009, at 2:18 PM, Chuck Hill wrote: On Apr 16, 2009, at 11:14 AM, Joe Little wrote: Not as adventurous, but there is this restaurant http://www.yelp.com/biz/double-play-restaurant-san-francisco Its the site of the old San Francisco Seals restaurant, so it has tons of old baseball stuff like a museaum, but its a restaurant/bar w/ micro brews, etc. There is also the Anchor Steam brewery which can be toured: http://www.anchorbrewing.com/about_us/tourinfo.htm Now we are talking! :-P OK Everyone who thought Chuck wouldn't like touring a brewery, raise your hand... hmm thought so. On Thu, Apr 16, 2009 at 6:37 AM, David LeBer dleber_wo...@codeferous.com wrote: Hey all, Last year on the Friday before WOWODC we did an evening tour of Alcatraz which was a lot of fun, and I don't think we lost anyone on The Rock. Does anyone feel like doing something similar this year? I'll be arriving early afternoon on Friday so I should be settled in SF mid to late afternoon. Anyone have an suggestions? - Bus tour - Harbour cruise - Movie - Cable Car Museum - ??? ;david -- David LeBer Codeferous Software 'co-def-er-ous' adj. Literally 'code-bearing' site: http://codeferous.com blog: http://davidleber.net profile: http://www.linkedin.com/in/davidleber twitter: http://twitter.com/rebeld -- Toronto Area Cocoa / WebObjects developers group: http://tacow.org ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/jmlittle%40gmail.com This email sent to jmlit...@gmail.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/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/products/practical_webobjects ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/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: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: WOWODC West Attendees...
Damn. The tours are run daily at 11am (2 hours) and all Fridays are booked in June. 7-8 people would work on the 8th or some other day of WWDC, but not Friday. Thursdays are bad as well, so sadly its a M-W possibility right during WWDC. On Thu, Apr 16, 2009 at 11:30 AM, Joe Little jmlit...@gmail.com wrote: More to the point, the tour is once a day, for a party as large as ten: Currently we offer one public tour each weekday, by reservation only. We recommend that you call us as early as possible to make reservations far in advance so that we may accommodate you and your party on the day of your choice. You may have up to ten in your party, depending on the availability of space. They are booked solid for the months of April/May, so perhaps Tour for those who can make it, followed by that brew-pup restaurant, as some Yelp posters recommended the combination. On Thu, Apr 16, 2009 at 11:27 AM, Joe Little jmlit...@gmail.com wrote: It just might be hard to get the reservation though.. On Thu, Apr 16, 2009 at 11:25 AM, Ken Anderson kenli...@anderhome.com wrote: On Apr 16, 2009, at 2:18 PM, Chuck Hill wrote: On Apr 16, 2009, at 11:14 AM, Joe Little wrote: Not as adventurous, but there is this restaurant http://www.yelp.com/biz/double-play-restaurant-san-francisco Its the site of the old San Francisco Seals restaurant, so it has tons of old baseball stuff like a museaum, but its a restaurant/bar w/ micro brews, etc. There is also the Anchor Steam brewery which can be toured: http://www.anchorbrewing.com/about_us/tourinfo.htm Now we are talking! :-P OK Everyone who thought Chuck wouldn't like touring a brewery, raise your hand... hmm thought so. On Thu, Apr 16, 2009 at 6:37 AM, David LeBer dleber_wo...@codeferous.com wrote: Hey all, Last year on the Friday before WOWODC we did an evening tour of Alcatraz which was a lot of fun, and I don't think we lost anyone on The Rock. Does anyone feel like doing something similar this year? I'll be arriving early afternoon on Friday so I should be settled in SF mid to late afternoon. Anyone have an suggestions? - Bus tour - Harbour cruise - Movie - Cable Car Museum - ??? ;david -- David LeBer Codeferous Software 'co-def-er-ous' adj. Literally 'code-bearing' site: http://codeferous.com blog: http://davidleber.net profile: http://www.linkedin.com/in/davidleber twitter: http://twitter.com/rebeld -- Toronto Area Cocoa / WebObjects developers group: http://tacow.org ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/jmlittle%40gmail.com This email sent to jmlit...@gmail.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/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/products/practical_webobjects ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/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: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: wotaskd password
On 16-Apr-09, at 2:14 PM, Mr. Frank Cobia wrote: I found it in several of the documents on Apple's website. It is basically a warning in every document that deals with deployment, wotaskd or JavaMonitor. I have verified that it is true, because I set the password in JavaMonitor and then I could no longer connect to my app through apache, but when I removed the password I was able to connect again. Hey Frank! Yeah, what I was after was an actual link to where you were reading... Google seems to have pointed me to one instance. Sure hope it's where you were looking. :-( On this page there's a note about direct access to the wotaskd information is blocked when a password is set: http://developer.apple.com/documentation/WebObjects/Deployment/Deploying_Applications/Deployment/Deployment.html Specifically, it says: On password-protected sites, you have to use JavaMonitor to view an application host’s configuration. And while this is true for accessing the full information about the configuration, it's not true about all of it. As I recall, with a password set, you can still see the configuration information if you use the URL as it appears on the WOAdaptorInfo page. After all, that's how the WOAdaptor is getting the information. It should be something like this and yes, you need to use the entire url to gain access when the password is set: appserver.mydomain.ca:1085/WebObjects/wotaskd.woa/wa/woconfig For what should be obvious reasons, you must do this from a machine which can connect to the app server. One that is not blocked by say a firewall as is so common in a deployment situation. When I taught the deployment course I used to cover this part in extra detail because it's so useful when there are deployment problems. Good luck! Mark __ Mark Ritchie Cocoa and WebObjects Developer Diamond Lake Consulting Inc. Toronto, Ontario, Canada ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: [OT] Apache rewrite rule
Thanks Chuck. I added [L] makes sense. Also should your example separate options with commas ... like [L,PT] ? -Kieran On Apr 16, 2009, at 2:22 PM, Chuck Hill wrote: On Apr 16, 2009, at 7:50 AM, Kieran Kelleher wrote: Finally! Searching the apache docs more, I found another option PT, the passthrough option, that specifically refers to this being needed for mod_alias or using mod_rewrite with any other modules that do URI-to-filename mapping or translation. Yes. The Last flag may also result is a small speed improvement unless you are double re-writing: [LPT] Chuck The final working rewrite rule is: IfModule rewrite_module # rewrite logging RewriteLog /var/log/apache2/rewrite.log # PURL feature RewriteEngine On RewriteRule ^/purl/(.*)$ /cgi-bin/WebObjects/cheetah.woa/-52040/wa/ PurlAction/purl?p=$1 [PT] /IfModule Thanks for the mind-prodding guys. Now it is working in apache2 on my dev machine. Hopefully apache 1.3 will be similar configuration when I deploy this feature in a few days. Regards, Kieran On Apr 16, 2009, at 10:28 AM, Kieran Kelleher wrote: ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: wotaskd password
On Apr 16, 2009, at 11:37 AM, Mark Ritchie wrote: On 16-Apr-09, at 2:14 PM, Mr. Frank Cobia wrote: I found it in several of the documents on Apple's website. It is basically a warning in every document that deals with deployment, wotaskd or JavaMonitor. I have verified that it is true, because I set the password in JavaMonitor and then I could no longer connect to my app through apache, but when I removed the password I was able to connect again. Hey Frank! Yeah, what I was after was an actual link to where you were reading... Google seems to have pointed me to one instance. Sure hope it's where you were looking. :-( On this page there's a note about direct access to the wotaskd information is blocked when a password is set: http://developer.apple.com/documentation/WebObjects/Deployment/Deploying_Applications/Deployment/Deployment.html Specifically, it says: On password-protected sites, you have to use JavaMonitor to view an application host’s configuration. And while this is true for accessing the full information about the configuration, it's not true about all of it. As I recall, with a password set, you can still see the configuration information if you use the URL as it appears on the WOAdaptorInfo page. After all, that's how the WOAdaptor is getting the information. It should be something like this and yes, you need to use the entire url to gain access when the password is set: appserver.mydomain.ca:1085/WebObjects/wotaskd.woa/wa/woconfig For what should be obvious reasons, you must do this from a machine which can connect to the app server. One that is not blocked by say a firewall as is so common in a deployment situation. When I taught the deployment course I used to cover this part in extra detail because it's so useful when there are deployment problems. You might also be thinking of this (unrelated) section in /System/Library/WebObjects/Adaptors/Apache2.2/apache.conf # To enable the WOAdaptorInfo page with restricted access, # uncomment the next two lines and set the user and password # To access the WOAdaptorInfo page with restricted access, # use a URL like: http://webserver/cgi-bin/WebObjects/WOAdaptorInfo?user+password . # WebObjectsAdminUsername user # WebObjectsAdminPassword password Good luck! Mark __ Mark Ritchie Cocoa and WebObjects Developer Diamond Lake Consulting Inc. Toronto, Ontario, Canada ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/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/products/practical_webobjects ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: [OT] Apache rewrite rule
On Apr 16, 2009, at 11:54 AM, Kieran Kelleher wrote: Thanks Chuck. I added [L] makes sense. Also should your example separate options with commas ... like [L,PT] ? It has been so long that I had to look it up. I don't recall the comma, but I have it: [last,passthrough] Chuck -Kieran On Apr 16, 2009, at 2:22 PM, Chuck Hill wrote: On Apr 16, 2009, at 7:50 AM, Kieran Kelleher wrote: Finally! Searching the apache docs more, I found another option PT, the passthrough option, that specifically refers to this being needed for mod_alias or using mod_rewrite with any other modules that do URI-to-filename mapping or translation. Yes. The Last flag may also result is a small speed improvement unless you are double re-writing: [LPT] Chuck The final working rewrite rule is: IfModule rewrite_module # rewrite logging RewriteLog /var/log/apache2/rewrite.log # PURL feature RewriteEngine On RewriteRule ^/purl/(.*)$ /cgi-bin/WebObjects/cheetah.woa/-52040/wa/ PurlAction/purl?p=$1 [PT] /IfModule Thanks for the mind-prodding guys. Now it is working in apache2 on my dev machine. Hopefully apache 1.3 will be similar configuration when I deploy this feature in a few days. Regards, Kieran On Apr 16, 2009, at 10:28 AM, Kieran Kelleher wrote: -- Chuck Hill Senior Consultant / VP Development Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems. http://www.global-village.net/products/practical_webobjects ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: wotaskd password
On 16-Apr-09, at 2:54 PM, Chuck Hill wrote: You might also be thinking of this (unrelated) section in /System/Library/WebObjects/Adaptors/Apache2.2/apache.conf # To enable the WOAdaptorInfo page with restricted access, # uncomment the next two lines and set the user and password # To access the WOAdaptorInfo page with restricted access, # use a URL like: http://webserver/cgi-bin/WebObjects/WOAdaptorInfo?user+password . # WebObjectsAdminUsername user # WebObjectsAdminPassword password Hey Chuck! That's a good point! Perhaps Frank is mixing them up? Either way, enabling the WOAdaptorInfo page and turning on adaptor logging are vital to tracking down why it's not working! For example, on that solaris problem with Apache2 and Apache2.2, turned out that Apache2.2 required fqdn for the app servers where as Apache2 did not. Weird shit but then there were multiple virtual hosts and external vs internal addresses so were lots of opportunity for confusion. It was resolved by looking at the adaptor logs which clearly show'd the problem. Regards, M. __ Mark Ritchie Cocoa and WebObjects Developer Diamond Lake Consulting Inc. Toronto, Ontario, Canada ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: wotaskd password
On Apr 16, 2009, at 12:20 PM, Mark Ritchie wrote: On 16-Apr-09, at 2:54 PM, Chuck Hill wrote: You might also be thinking of this (unrelated) section in /System/Library/WebObjects/Adaptors/Apache2.2/apache.conf # To enable the WOAdaptorInfo page with restricted access, # uncomment the next two lines and set the user and password # To access the WOAdaptorInfo page with restricted access, # use a URL like: http://webserver/cgi-bin/WebObjects/WOAdaptorInfo?user+password . # WebObjectsAdminUsername user # WebObjectsAdminPassword password Hey Chuck! That's a good point! Perhaps Frank is mixing them up? Either way, enabling the WOAdaptorInfo page and turning on adaptor logging are vital to tracking down why it's not working! For example, on that solaris problem with Apache2 and Apache2.2, turned out that Apache2.2 required fqdn for the app servers where as Apache2 did not. Weird shit but then there were multiple virtual hosts and external vs internal addresses so were lots of opportunity for confusion. It was resolved by looking at the adaptor logs which clearly show'd the problem. That gives me a headache just reading it. :-) I agree completely: knowing how to enable and interpret the adaptor logs is central to sorting out any problem like this. Chuck Regards, M. __ Mark Ritchie Cocoa and WebObjects Developer Diamond Lake Consulting Inc. Toronto, Ontario, Canada -- Chuck Hill Senior Consultant / VP Development Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems. http://www.global-village.net/products/practical_webobjects ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: wotaskd password
On 16-Apr-09, at 3:45 PM, Chuck Hill wrote: That gives me a headache just reading it. :-) LOL! I'm just glad that it's resolved! I agree completely: knowing how to enable and interpret the adaptor logs is central to sorting out any problem like this. And having the source code and dev docs for the relevant platform is often useful as well!! ;-) Best! M. __ Mark Ritchie Cocoa and WebObjects Developer Diamond Lake Consulting Inc. Toronto, Ontario, Canada ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
RE: upgrading w/ eclipse 3.4.2
Hi, Dennis, delete files under ~/eclipse/p2/org.eclipse.equinox.p2.core/cache/ ~/eclipse/p2/org.eclipse.equinox.p2.metadata.repository/cache/ donot delete cache dir. it's better try reinstall wolips first. if it's still failed do the first step, just in case broken something else you interested in your eclipse. good luck kevin _ From: Gaastra Dennis - WO Lists [mailto:webobjects_li...@webappz.com] Sent: Friday, 17 April 2009 4:02 a.m. To: Ren, Kevin Cc: webobjects-dev@lists.apple.com Subject: Re: upgrading w/ eclipse 3.4.2 Hi Kevin, What is the full path of the p2 dir? Can we just do a rm -r * in there? Thanks. Dennis. On 15-Apr-09, at 1:33 PM, Ren, Kevin wrote: What I did( from memory) 1. delete anything under cache dir in p2 2. remove wolips from Software updates-Available software list 3.refresh and restart eclipse 4. add wolips(link) again in available software 5. refresh and update to latest version hopeful is help and working. it's not wolips problem, i think it's eclipse issue. cheers Kevin _ From: webobjects-dev-bounces+kevin.ren=anznational.co...@lists.apple.com [mailto:webobjects-dev-bounces+kevin.ren=anznational.co...@lists.apple.c om] On Behalf Of Gaastra Dennis - WO Lists Sent: Thursday, 16 April 2009 8:10 a.m. To: Mike Schrag Cc: WebObjects Development Subject: Re: upgrading w/ eclipse 3.4.2 Hi Mike, Do you suggest a re-install to upgrade from nightly 3.4.5693 then? Thanks. With Kind Regards, Dennis Gaastra, On 15-Apr-09, at 12:14 PM, Mike Schrag wrote: yes, but only made changes to nightly, so whatever was broken originally would continue to be broken for you if you're on stable. On Apr 15, 2009, at 3:07 PM, Tim Worman wrote: Right, but I think I've been having this problem since before there was a new stable? Ever since I updated to Eclipse 3.4.2, the updater sees an update for WOLips but then I get the errors everyone is reporting when I actually try to update. Tim On Apr 15, 2009, at 11:38 AM, Mike Schrag wrote: stable wouldn't have changed, so i'm not surprised ... stable is just a snapshot of whenever it was made -- it never changes until a new stable is pushed On Apr 15, 2009, at 2:18 PM, Tim Worman wrote: I'm still having the same issue and I'm trying to go from the last stable I got (prior to the issue) to the newer stable. Tim UCLA GSEIS On Apr 15, 2009, at 11:10 AM, Gaastra Dennis - WO Lists wrote: Yes, 3.4.2; see picture attached: Picture 5.png With Kind Regards, Dennis Gaastra, On 15-Apr-09, at 11:00 AM, Mike Schrag wrote: and you're trying to upgrade from an eclipse 3.4 + nightly to a new nightly, right? not from eclipse 3.3, or from stable to nightly? On Apr 15, 2009, at 1:49 PM, Gaastra Dennis - WO Lists wrote: Hi Mike, Thanks for trying, but still not working: there is still a huge list of no repository found containing ... /3.4.5719 lines. With Kind Regards, Dennis Gaastra, Chief Technology Officer, WEBAPPZ Systems, Inc. This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender
Eclipse 3.4.2 Not adding WO Framework to WO Apps
Hi All, When I create a new WebObjects Application in Eclipse 3.4.2 the WO Frameworks are not being included in the project. Does anyone know how to fix this? I am using OS X 10.5.6 with WebObjects 5.4.3 and have installed Eclipse 3.4.2 (IDE for Java EE Developers) and WOLips following the Install WOLips with Eclipse Update Manager instructions at http://wiki.objectstyle.org/confluence/display/WOL/Install+WOLips+with+Eclipse+Update+Manager Thanks, Rob. ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: JavaXML.framework Question
I've encountered this same problem (sans-wonder) when deploying WebObjects applications built as WARs to Tomcat, JBoss (with a Tomcat servlet container) and Glassfish application servers - though not with Jetty. I'd really like to know more about what might be causing this problem and what the solution is. I suspect that it might be due to incompatibilities between versions of java libraries included within the javaxml.jar and different versions of the same libraries provided by the various application servers. I'm currently seeing if I can figure out exactly what is causing this problem as it is a serious issue if we're unable to deploy to JBoss/Tomcat as that's our current server set-up. I first noticed this problem with WO 5.4.x (sans-wonder). Regards, Jake On Wed, Apr 15, 2009 at 2:18 AM, Dov Rosenberg drosenb...@inquira.comwrote: Yes, we have swapped over to Wonder a few months ago. I have run into this prior to Wonder though. Dov On 4/14/09 12:01 PM, David Avendasora webobje...@avendasora.com wrote: Hi Dov, Are you using Wonder with your Tomcat servlet apps? I've run into some classpath weirdness with running the two together. The weirdness I see is different from what you are running into, but maybe they are related... Dave On Apr 14, 2009, at 11:39 AM, Dov Rosenberg wrote: We deploy our apps as servlets in Tomcat. We have been deploying them that way for the past few years. Recently I have been updating our build scripts to steamline them. For some reason even though we include the javaxml.jar (from the JavaXML.framework) in our WEB-INF/lib folder the Tomcat class loader can’t seem to find classes that I can see in the jar. For example at startup if I don’t include xercesImpl.jar in my WEB-INF/lib along side javaxml.jar I will see the following error java.lang.NoClassDefFoundError: org/apache/xml/serialize/OutputFormat: org/apache/xml/serialize/OutputFormat That class is in both the xercesImpl and javaxml.jar’s The same seems to apply for the xalan, axis, wsdl, etc classes. Should we be deploying the JavaXML.framework at all? It seems that if we do not the webservices functionality built into WebObjects gets broken. Seems like a waste to deploy all of these duplicate wars. Thanks in advance for any feedback Dov Rosenberg ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/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: http://lists.apple.com/mailman/options/webobjects-dev/jmacmullin%40gmail.com This email sent to jmacmul...@gmail.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: App Engine supports Java
There's also always Amazon's EC2... http://aws.amazon.com/ec2/ Cheers, Jake On Thu, Apr 9, 2009 at 12:34 AM, Anjo Krank a...@krank.net wrote: http://googleappengine.blogspot.com/ WO in the cloud, anyone? Cheers, Anjo PS: And they support Fortran 77, too! ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/jmacmullin%40gmail.com This email sent to jmacmul...@gmail.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com