Re: Session timeout when performing an action
Salut Dominique!ça và?I think you can safely assume the session timeout is not cos of xhtml validation :)Thx,RaviOn Sep 14, 2012, at 05:38 PM,Schoenenberger Dominique dominique.schoenenber...@nagra.com wrote: I have a problem with untimely session timeout. The user is doing actions with the application but suddenly after doing something (a click on a button for example), he got a session timeout. The probability of this to occur is quite low but very annoying for the user. I suspect that it occurs when the user open many tabs in the browser (?) Could it be related to a web page having xhtml validation errors ? ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Rép : Re: Rewrite WO app URL
Hi All,nobody have idea about my problem.Thanks for your help.Envoyé depuis iCloudLe 12 sep 2012 à 23:49, Raymond NANEON rnan...@me.com a écrit :Hi List,for the RewriteLog Pascal was right, permission problem. When I delete /wa pattern from my properties file and apache.conf, my url : http://agecanonix-form.utt.fr/Etudiant/myDefault continue to work but I can't navigate in my app beacause I stuck on myDefault page. When I add /wa pattern I can use my app normaly.How can I use my app correctly through this link : http://agecanonix-form.utt.fr/Etudiant/ ?Here is Rewrite log when /wa deleted for the same link:[13/Sep/2012:08:40:31 +0200] [agecanonix-form.utt.fr/sid#8f4e3f0][rid#90636b8/initial] (2) init rewrite engine with requested uri /Etudiant/wo/3.0.13.3.9.3[13/Sep/2012:08:40:31 +0200] [agecanonix-form.utt.fr/sid#8f4e3f0][rid#90636b8/initial] (3) applying pattern '^/Etudiant(.*)$' to uri '/Etudiant/wo/3.0.13.3.9.3'[13/Sep/2012:08:40:31 +0200] [agecanonix-form.utt.fr/sid#8f4e3f0][rid#90636b8/initial] (2) rewrite '/Etudiant/wo/3.0.13.3.9.3' - '/cgi-bin/WebObjects/Dossier-Etudiants.woa/wo/3.0.13.3.9.3'=== Here whe are forcing to return myDefault page[13/Sep/2012:08:40:31 +0200] [agecanonix-form.utt.fr/sid#8f4e3f0][rid#90636b8/initial] (2) forcing '/cgi-bin/WebObjects/Dossier-Etudiants.woa/wo/3.0.13.3.9.3' to get passed through to next API URI-to-filename handler[13/Sep/2012:08:40:31 +0200] [agecanonix-form.utt.fr/sid#8f4e3f0][rid#90636b8/initial] (2) init rewrite engine with requested uri /Etudiant/wa/myDefault[13/Sep/2012:08:40:31 +0200] [agecanonix-form.utt.fr/sid#8f4e3f0][rid#90636b8/initial] (3) applying pattern '^/Etudiant(.*)$' to uri '/Etudiant/wa/myDefault'[13/Sep/2012:08:40:31 +0200] [agecanonix-form.utt.fr/sid#8f4e3f0][rid#90636b8/initial] (2) rewrite '/Etudiant/wa/myDefault' - '/cgi-bin/WebObjects/Dossier-Etudiants.woa/wa/myDefault'[13/Sep/2012:08:40:31 +0200] [agecanonix-form.utt.fr/sid#8f4e3f0][rid#90636b8/initial] (2) forcing '/cgi-bin/WebObjects/Dossier-Etudiants.woa/wa/myDefault' to get passed through to next API URI-to-filename handlerRewrite log with /wa pattern for the same link[13/Sep/2012:08:36:30 +0200] [agecanonix-form.utt.fr/sid#81e43f0][rid#82fb500/initial] (2) init rewrite engine with requested uri /cgi-bin/WebObjects/Dossier-Etudiants.woa/wo/9.0.13.3.9.3[13/Sep/2012:08:36:30 +0200] [agecanonix-form.utt.fr/sid#81e43f0][rid#82fb500/initial] (3) applying pattern '^/Etudiant(.*)$' to uri '/cgi-bin/WebObjects/Dossier-Etudiants.woa/wo/9.0.13.3.9.3'[13/Sep/2012:08:36:30 +0200] [agecanonix-form.utt.fr/sid#81e43f0][rid#82fb500/initial] (1) pass through /cgi-bin/WebObjects/Dossier-Etudiants.woa/wo/9.0.13.3.9.3[13/Sep/2012:08:36:30 +0200] [agecanonix-form.utt.fr/sid#81e43f0][rid#82f74f0/initial] (2) init rewrite engine with requested uri /cgi-bin/WebObjects/Dossier-Etudiants.woa/wo/js/nicEdit.js[13/Sep/2012:08:36:30 +0200] [agecanonix-form.utt.fr/sid#81e43f0][rid#82f74f0/initial] (3) applying pattern '^/Etudiant(.*)$' to uri '/cgi-bin/WebObjects/Dossier-Etudiants.woa/wo/js/nicEdit.js'[13/Sep/2012:08:36:30 +0200] [agecanonix-form.utt.fr/sid#81e43f0][rid#82f74f0/initial] (1) pass through /cgi-bin/WebObjects/Dossier-Etudiants.woa/wo/js/nicEdit.js[13/Sep/2012:08:36:30 +0200] [agecanonix-form.utt.fr/sid#81e43f0][rid#82f74f0/initial] (2) init rewrite engine with requested uri /cgi-bin/WebObjects/Dossier-Etudiants.woa/ajax/11.0.13.1[13/Sep/2012:08:36:30 +0200] [agecanonix-form.utt.fr/sid#81e43f0][rid#82f74f0/initial] (3) applying pattern '^/Etudiant(.*)$' to uri '/cgi-bin/WebObjects/Dossier-Etudiants.woa/ajax/11.0.13.1'[13/Sep/2012:08:36:30 +0200] [agecanonix-form.utt.fr/sid#81e43f0][rid#82f74f0/initial] (1) pass through /cgi-bin/WebObjects/Dossier-Etudiants.woa/ajax/11.0.13.1Thanks for your helpRayEnvoyé depuis iCloudLe 12 sep 2012 à 09:32, Raymond NANEON rnan...@me.com a écrit :I am not at my office now. Tomorrow I'll try Jhon solution and will look for RewriteLog permission and crash.Envoyé depuis iCloudLe 12 sept. 2012 à 16:40, Pascal Robert prob...@macti.ca a écrit :Le 2012-09-12 à 05:14, Raymond NANEON rnan...@me.com a écrit :These arguments : RewriteLog "/var/log/apache2/rewrite.log" and RewriteLogLevel 9 in apache.conf , crashes Apache.Please define "crash". It started and closing right away? If yes, check in error_log for the reason… It's probably a permission problem… If it's running for a couple of minutes and it crash while it's running, you have a bigger problem.Envoyé depuis iCloudLe 12 sep 2012 à 01:39, Tim Worman li...@thetimmy.com a écrit :Check your rewrite logs to see what the requests are and why they aren't matching.TimUCLA GSEISOn Sep 12, 2012, at 1:33 AM, Raymond NANEON rnan...@me.com wrote:Hi List,I disabled WOAdaptorURL, direct connect, restarted httpd and apache with these new settings :apache.conf :RewriteRule ^/Etudiant(.*)$ /cgi-bin/WebObjects/Dossier-Etudiants.woa/wa$1 [PT,L]properties
Re: Rewrite WO app URL
Hi Raymond, Rewriting an entire app is simple and straight forward with Wonder. You are most likely over coding. 1) update your Properties file # Apache Deployment Rewrite er.extensions.ERXApplication.replaceApplicationPath.pattern=/cgi-bin/WebObjects/AppName.woa er.extensions.ERXApplication.replaceApplicationPath.replace=/AppName 2) update Apache IfModule mod_rewrite.c RewriteEngine On RewriteRule ^/AppName(.*)$ /cgi-bin/WebObjects/AppName.woa$1 [PT,L] /IfModule NOTE: properties and rewrite mirror each other. The first line in Properties matches the second part of the rewrite rule, and the second line matches the first part. 3) if you've done anything else Delete it, i.e. don't screw with Application._rewriteURL. -G On Sep 17, 2012, at 12:42 AM, Raymond NANEON wrote: Hi All, nobody have idea about my problem. Thanks for your help. Envoyé depuis iCloud Le 12 sep 2012 à 23:49, Raymond NANEON rnan...@me.com a écrit : Hi List, for the RewriteLog Pascal was right, permission problem. When I delete /wa pattern from my properties file and apache.conf, my url : http://agecanonix-form.utt.fr/Etudiant/myDefault continue to work but I can't navigate in my app beacause I stuck on myDefault page. When I add /wa pattern I can use my app normaly. How can I use my app correctly through this link : http://agecanonix-form.utt.fr/Etudiant/ ? Here is Rewrite log when /wa deleted for the same link: [13/Sep/2012:08:40:31 +0200] [agecanonix-form.utt.fr/sid#8f4e3f0][rid#90636b8/initial] (2) init rewrite engine with requested uri /Etudiant/wo/3.0.13.3.9.3 [13/Sep/2012:08:40:31 +0200] [agecanonix-form.utt.fr/sid#8f4e3f0][rid#90636b8/initial] (3) applying pattern '^/Etudiant(.*)$' to uri '/Etudiant/wo/3.0.13.3.9.3' [13/Sep/2012:08:40:31 +0200] [agecanonix-form.utt.fr/sid#8f4e3f0][rid#90636b8/initial] (2) rewrite '/Etudiant/wo/3.0.13.3.9.3' - '/cgi-bin/WebObjects/Dossier-Etudiants.woa/wo/3.0.13.3.9.3' === Here whe are forcing to return myDefault page [13/Sep/2012:08:40:31 +0200] [agecanonix-form.utt.fr/sid#8f4e3f0][rid#90636b8/initial] (2) forcing '/cgi-bin/WebObjects/Dossier-Etudiants.woa/wo/3.0.13.3.9.3' to get passed through to next API URI-to-filename handler [13/Sep/2012:08:40:31 +0200] [agecanonix-form.utt.fr/sid#8f4e3f0][rid#90636b8/initial] (2) init rewrite engine with requested uri /Etudiant/wa/myDefault [13/Sep/2012:08:40:31 +0200] [agecanonix-form.utt.fr/sid#8f4e3f0][rid#90636b8/initial] (3) applying pattern '^/Etudiant(.*)$' to uri '/Etudiant/wa/myDefault' [13/Sep/2012:08:40:31 +0200] [agecanonix-form.utt.fr/sid#8f4e3f0][rid#90636b8/initial] (2) rewrite '/Etudiant/wa/myDefault' - '/cgi-bin/WebObjects/Dossier-Etudiants.woa/wa/myDefault' [13/Sep/2012:08:40:31 +0200] [agecanonix-form.utt.fr/sid#8f4e3f0][rid#90636b8/initial] (2) forcing '/cgi-bin/WebObjects/Dossier-Etudiants.woa/wa/myDefault' to get passed through to next API URI-to-filename handler Rewrite log with /wa pattern for the same link [13/Sep/2012:08:36:30 +0200] [agecanonix-form.utt.fr/sid#81e43f0][rid#82fb500/initial] (2) init rewrite engine with requested uri /cgi-bin/WebObjects/Dossier-Etudiants.woa/wo/9.0.13.3.9.3 [13/Sep/2012:08:36:30 +0200] [agecanonix-form.utt.fr/sid#81e43f0][rid#82fb500/initial] (3) applying pattern '^/Etudiant(.*)$' to uri '/cgi-bin/WebObjects/Dossier-Etudiants.woa/wo/9.0.13.3.9.3' [13/Sep/2012:08:36:30 +0200] [agecanonix-form.utt.fr/sid#81e43f0][rid#82fb500/initial] (1) pass through /cgi-bin/WebObjects/Dossier-Etudiants.woa/wo/9.0.13.3.9.3 [13/Sep/2012:08:36:30 +0200] [agecanonix-form.utt.fr/sid#81e43f0][rid#82f74f0/initial] (2) init rewrite engine with requested uri /cgi-bin/WebObjects/Dossier-Etudiants.woa/wo/js/nicEdit.js [13/Sep/2012:08:36:30 +0200] [agecanonix-form.utt.fr/sid#81e43f0][rid#82f74f0/initial] (3) applying pattern '^/Etudiant(.*)$' to uri '/cgi-bin/WebObjects/Dossier-Etudiants.woa/wo/js/nicEdit.js' [13/Sep/2012:08:36:30 +0200] [agecanonix-form.utt.fr/sid#81e43f0][rid#82f74f0/initial] (1) pass through /cgi-bin/WebObjects/Dossier-Etudiants.woa/wo/js/nicEdit.js [13/Sep/2012:08:36:30 +0200] [agecanonix-form.utt.fr/sid#81e43f0][rid#82f74f0/initial] (2) init rewrite engine with requested uri /cgi-bin/WebObjects/Dossier-Etudiants.woa/ajax/11.0.13.1 [13/Sep/2012:08:36:30 +0200] [agecanonix-form.utt.fr/sid#81e43f0][rid#82f74f0/initial] (3) applying pattern '^/Etudiant(.*)$' to uri '/cgi-bin/WebObjects/Dossier-Etudiants.woa/ajax/11.0.13.1' [13/Sep/2012:08:36:30 +0200] [agecanonix-form.utt.fr/sid#81e43f0][rid#82f74f0/initial] (1) pass through /cgi-bin/WebObjects/Dossier-Etudiants.woa/ajax/11.0.13.1 Thanks for your help Ray Envoyé depuis iCloud Le 12 sep 2012 à 09:32, Raymond NANEON rnan...@me.com a écrit : I am not at my office now. Tomorrow I'll try Jhon solution and will look for RewriteLog permission and crash. Envoyé depuis
[no subject]
I've been working with an application called Pachyderm (some others on the list have experience with it in the past). I've brought it into the modern era to use Wonder, build in WOLips, and made other improvements. Most of the effort is complete and I'm now catching and fixing minor errors. For health reasons, I have to stop working on this soon and for an unknown time. I said I would help the Pachyderm people find someone who could take over from me; asking on this list seems an obvious checkpoint. If anyone has an interest, they should contact me and I'll provide more detail, and can pass their details to my sponsor. My latest release is on SourceForge; release documentation is in work. svn co https://pachyderm.svn.sourceforge.net/svnroot/pachyderm/tags/3.0.0 Gavin Eadie ramsayc...@me.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Session timeout when performing an action
Hi Dominique, Does your application store the session ID in cookies? Are you sure it is a session timed out and not some other error? If so, here are two things that can cause this: 1. Malformed HTML - some browsers (IE was bad for this) can send another request to the server when processing invalid HTML (they interpret something as being a server resource they need to download. The URL they use is not a valid WO url which causes a new session to get created and the cookies from this session replace those from the user's real session. 2. Multiple Sessions - this seems more likely to me as you mentioned the user open many tabs in the browser. If they create a new session in one of the tabs, the cookies form this session replace those from the user's other session. When they go back to an earlier tab and click on a button or link, they get an error as those links are not valid in the new session. It could also be that an instance is taking too long to respond and the user's request is getting sent to a different instance which of course won't have the user's session. Chuck On 2012-09-14, at 6:52 AM, Schoenenberger Dominique wrote: I have a problem with untimely session timeout. The user is doing actions with the application but suddenly after doing something (a click on a button for example), he got a session timeout. The probability of this to occur is quite low but very annoying for the user. I suspect that it occurs when the user open many tabs in the browser (?) Could it be related to a web page having xhtml validation errors ? Thanks for any help, Dominique Schoenenberger ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/chill%40global-village.net This email sent to ch...@global-village.net -- Chuck Hill Senior Consultant / VP Development Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems. http://www.global-village.net/gvc/practical_webobjects ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Input about API design interface
On 2012-09-16, at 12:22 PM, Pascal Robert wrote: Hi guys, I'm going to add some stuff (MS Exchange and CarDav support…) to ERGroupware in the next couple of months and I'm wondering how I should construct the API. Each groupware do mostly the same (adding events, getting a list of contacts, etc.), the main difference is how they do it. For example, CalDav is an extension of WebDav + XML for the body, and MS Exchange is using SOAP. So I was thinking of the following: - Using interfaces for common methods (createFolder, fetchEvents, etc.) and have a store (MSExchangeStore, CalDavStore, etc.) that will implements those interfaces. Interfaces, definitely. or - Using a type to specify the kind of store we will connect to. For example, when constructing a CalendarStore, the constructor will ask for a type (MSExchange, etc.) and the addEvent method will check the type of store to call the corresponding method to add the event in the asked store. I think you would be better off with a factory method that returned and CalendarStore sub-class specific to a type: CalendarStore cs = CalendarStoreFactory.calendarStroreFor(MSExchange); Chuck or - Using interfaces + delegates. Any input? ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/chill%40global-village.net This email sent to ch...@global-village.net -- Chuck Hill Senior Consultant / VP Development Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems. http://www.global-village.net/gvc/practical_webobjects ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
organizing rulemodeler file?
How are you (youse guys and gals) organizing your .d2wmodel file? I watched a few of the fantastic tutorial videos and I noticed that even Ramsey was searching for things in a rather circuitous method. a couple of times he gave up looking for something that he wanted to demo. as my d2wmodel get bigger, I start stumbling around. There must be a better way. I was hoping that the 'find' feature could be used. If I put a keyword into the documentation field, then I could group things together by searching for that word and rule modeler would do the right thing. But it looks like the search field doesn't look in the documentation text. :-( I thought about adding in multiple .d2wmodel files. but that is just a patch on the real issue. Ted ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: organizing rulemodeler file?
Model groups are helpful for finding things. David covered them in his debugging rules session. I generally just do searches in the quick find field. You're right though, the documentation field is of limited value because you can't search on it. You could search the resulting text file I suppose, but that wouldn't be ideal. You can add as many model files as you wish, just define them in properties. You can then add them to a modelgroup to get global access to all models in the search field. David On 2012-09-17, at 11:42 AM, Theodore Petrosky tedp...@yahoo.com wrote: How are you (youse guys and gals) organizing your .d2wmodel file? I watched a few of the fantastic tutorial videos and I noticed that even Ramsey was searching for things in a rather circuitous method. a couple of times he gave up looking for something that he wanted to demo. as my d2wmodel get bigger, I start stumbling around. There must be a better way. I was hoping that the 'find' feature could be used. If I put a keyword into the documentation field, then I could group things together by searching for that word and rule modeler would do the right thing. But it looks like the search field doesn't look in the documentation text. :-( I thought about adding in multiple .d2wmodel files. but that is just a patch on the real issue. Ted ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/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: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Rewrite WO app URL
Hi George, Thanks for your reply but it's not simple as you talk. If you have read all topics, you can see I have done all settings you wrote but nothing work. Is this problem come form my WO server settings? I would like to have an answer about this issue. Ray Envoyé depuis iCloud Le 17 sept. 2012 à 15:33, George Domurot masterm...@knuckleheads.net a écrit : Hi Raymond, Rewriting an entire app is simple and straight forward with Wonder. You are most likely over coding. 1) update your Properties file # Apache Deployment Rewrite er.extensions.ERXApplication.replaceApplicationPath.pattern=/cgi-bin/WebObjects/AppName.woa er.extensions.ERXApplication.replaceApplicationPath.replace=/AppName 2) update Apache IfModule mod_rewrite.c RewriteEngine On RewriteRule ^/AppName(.*)$ /cgi-bin/WebObjects/AppName.woa$1 [PT,L] /IfModule NOTE: properties and rewrite mirror each other. The first line in Properties matches the second part of the rewrite rule, and the second line matches the first part. 3) if you've done anything else Delete it, i.e. don't screw with Application._rewriteURL. -G On Sep 17, 2012, at 12:42 AM, Raymond NANEON wrote: Hi All, nobody have idea about my problem. Thanks for your help. Envoyé depuis iCloud Le 12 sep 2012 à 23:49, Raymond NANEON rnan...@me.com a écrit : Hi List, for the RewriteLog Pascal was right, permission problem. When I delete /wa pattern from my properties file and apache.conf, my url : http://agecanonix-form.utt.fr/Etudiant/myDefault continue to work but I can't navigate in my app beacause I stuck on myDefault page. When I add /wa pattern I can use my app normaly. How can I use my app correctly through this link : http://agecanonix-form.utt.fr/Etudiant/ ? Here is Rewrite log when /wa deleted for the same link: [13/Sep/2012:08:40:31 +0200] [agecanonix-form.utt.fr/sid#8f4e3f0][rid#90636b8/initial] (2) init rewrite engine with requested uri /Etudiant/wo/3.0.13.3.9.3 [13/Sep/2012:08:40:31 +0200] [agecanonix-form.utt.fr/sid#8f4e3f0][rid#90636b8/initial] (3) applying pattern '^/Etudiant(.*)$' to uri '/Etudiant/wo/3.0.13.3.9.3' [13/Sep/2012:08:40:31 +0200] [agecanonix-form.utt.fr/sid#8f4e3f0][rid#90636b8/initial] (2) rewrite '/Etudiant/wo/3.0.13.3.9.3' - '/cgi-bin/WebObjects/Dossier-Etudiants.woa/wo/3.0.13.3.9.3' === Here whe are forcing to return myDefault page [13/Sep/2012:08:40:31 +0200] [agecanonix-form.utt.fr/sid#8f4e3f0][rid#90636b8/initial] (2) forcing '/cgi-bin/WebObjects/Dossier-Etudiants.woa/wo/3.0.13.3.9.3' to get passed through to next API URI-to-filename handler [13/Sep/2012:08:40:31 +0200] [agecanonix-form.utt.fr/sid#8f4e3f0][rid#90636b8/initial] (2) init rewrite engine with requested uri /Etudiant/wa/myDefault [13/Sep/2012:08:40:31 +0200] [agecanonix-form.utt.fr/sid#8f4e3f0][rid#90636b8/initial] (3) applying pattern '^/Etudiant(.*)$' to uri '/Etudiant/wa/myDefault' [13/Sep/2012:08:40:31 +0200] [agecanonix-form.utt.fr/sid#8f4e3f0][rid#90636b8/initial] (2) rewrite '/Etudiant/wa/myDefault' - '/cgi-bin/WebObjects/Dossier-Etudiants.woa/wa/myDefault' [13/Sep/2012:08:40:31 +0200] [agecanonix-form.utt.fr/sid#8f4e3f0][rid#90636b8/initial] (2) forcing '/cgi-bin/WebObjects/Dossier-Etudiants.woa/wa/myDefault' to get passed through to next API URI-to-filename handler Rewrite log with /wa pattern for the same link [13/Sep/2012:08:36:30 +0200] [agecanonix-form.utt.fr/sid#81e43f0][rid#82fb500/initial] (2) init rewrite engine with requested uri /cgi-bin/WebObjects/Dossier-Etudiants.woa/wo/9.0.13.3.9.3 [13/Sep/2012:08:36:30 +0200] [agecanonix-form.utt.fr/sid#81e43f0][rid#82fb500/initial] (3) applying pattern '^/Etudiant(.*)$' to uri '/cgi-bin/WebObjects/Dossier-Etudiants.woa/wo/9.0.13.3.9.3' [13/Sep/2012:08:36:30 +0200] [agecanonix-form.utt.fr/sid#81e43f0][rid#82fb500/initial] (1) pass through /cgi-bin/WebObjects/Dossier-Etudiants.woa/wo/9.0.13.3.9.3 [13/Sep/2012:08:36:30 +0200] [agecanonix-form.utt.fr/sid#81e43f0][rid#82f74f0/initial] (2) init rewrite engine with requested uri /cgi-bin/WebObjects/Dossier-Etudiants.woa/wo/js/nicEdit.js [13/Sep/2012:08:36:30 +0200] [agecanonix-form.utt.fr/sid#81e43f0][rid#82f74f0/initial] (3) applying pattern '^/Etudiant(.*)$' to uri '/cgi-bin/WebObjects/Dossier-Etudiants.woa/wo/js/nicEdit.js' [13/Sep/2012:08:36:30 +0200] [agecanonix-form.utt.fr/sid#81e43f0][rid#82f74f0/initial] (1) pass through /cgi-bin/WebObjects/Dossier-Etudiants.woa/wo/js/nicEdit.js [13/Sep/2012:08:36:30 +0200] [agecanonix-form.utt.fr/sid#81e43f0][rid#82f74f0/initial] (2) init rewrite engine with requested uri /cgi-bin/WebObjects/Dossier-Etudiants.woa/ajax/11.0.13.1 [13/Sep/2012:08:36:30 +0200] [agecanonix-form.utt.fr/sid#81e43f0][rid#82f74f0/initial] (3) applying pattern '^/Etudiant(.*)$' to uri '/cgi-bin/WebObjects/Dossier-Etudiants.woa/ajax/11.0.13.1' [13/Sep/2012:08:36:30
Re: organizing rulemodeler file?
I see this property: # er.directtoweb.ERD2WModel.additionalModelNames= what is the syntax? comma delimited? myModel.d2wmodel, another.d2wmodel # er.directtoweb.ERD2WModel.additionalModelNames= myModel.d2wmodel, another.d2wmodel Ted --- On Mon, 9/17/12, David Holt programming...@mac.com wrote: From: David Holt programming...@mac.com Subject: Re: organizing rulemodeler file? To: Theodore Petrosky tedp...@yahoo.com Cc: WebObjects webobjects-dev@lists.apple.com Date: Monday, September 17, 2012, 2:50 PM Model groups are helpful for finding things. David covered them in his debugging rules session. I generally just do searches in the quick find field. You're right though, the documentation field is of limited value because you can't search on it. You could search the resulting text file I suppose, but that wouldn't be ideal. You can add as many model files as you wish, just define them in properties. You can then add them to a modelgroup to get global access to all models in the search field. David On 2012-09-17, at 11:42 AM, Theodore Petrosky tedp...@yahoo.com wrote: How are you (youse guys and gals) organizing your .d2wmodel file? I watched a few of the fantastic tutorial videos and I noticed that even Ramsey was searching for things in a rather circuitous method. a couple of times he gave up looking for something that he wanted to demo. as my d2wmodel get bigger, I start stumbling around. There must be a better way. I was hoping that the 'find' feature could be used. If I put a keyword into the documentation field, then I could group things together by searching for that word and rule modeler would do the right thing. But it looks like the search field doesn't look in the documentation text. :-( I thought about adding in multiple .d2wmodel files. but that is just a patch on the real issue. Ted ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/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: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: organizing rulemodeler file?
er.directtoweb.ERD2WModel.additionalModelNames = (events.d2wmodel ,datasets.d2wmodel,clinical.d2wmodel,blog.d2wmodel) On 2012-09-17, at 12:19 PM, Theodore Petrosky tedp...@yahoo.com wrote: I see this property: # er.directtoweb.ERD2WModel.additionalModelNames= what is the syntax? comma delimited? myModel.d2wmodel, another.d2wmodel # er.directtoweb.ERD2WModel.additionalModelNames= myModel.d2wmodel, another.d2wmodel Ted --- On Mon, 9/17/12, David Holt programming...@mac.com wrote: From: David Holt programming...@mac.com Subject: Re: organizing rulemodeler file? To: Theodore Petrosky tedp...@yahoo.com Cc: WebObjects webobjects-dev@lists.apple.com Date: Monday, September 17, 2012, 2:50 PM Model groups are helpful for finding things. David covered them in his debugging rules session. I generally just do searches in the quick find field. You're right though, the documentation field is of limited value because you can't search on it. You could search the resulting text file I suppose, but that wouldn't be ideal. You can add as many model files as you wish, just define them in properties. You can then add them to a modelgroup to get global access to all models in the search field. David On 2012-09-17, at 11:42 AM, Theodore Petrosky tedp...@yahoo.com wrote: How are you (youse guys and gals) organizing your .d2wmodel file? I watched a few of the fantastic tutorial videos and I noticed that even Ramsey was searching for things in a rather circuitous method. a couple of times he gave up looking for something that he wanted to demo. as my d2wmodel get bigger, I start stumbling around. There must be a better way. I was hoping that the 'find' feature could be used. If I put a keyword into the documentation field, then I could group things together by searching for that word and rule modeler would do the right thing. But it looks like the search field doesn't look in the documentation text. :-( I thought about adding in multiple .d2wmodel files. but that is just a patch on the real issue. Ted ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/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: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Rewrite WO app URL
Ah, but it really is that simple. If it isn't working, you've most likely misconfigured something. Did you remove your modification to Application._rewriteURL? -G On Sep 17, 2012, at 12:03 PM, Raymond NANEON wrote: Hi George, Thanks for your reply but it's not simple as you talk. If you have read all topics, you can see I have done all settings you wrote but nothing work. Is this problem come form my WO server settings? I would like to have an answer about this issue. Ray Envoyé depuis iCloud Le 17 sept. 2012 à 15:33, George Domurot masterm...@knuckleheads.net a écrit : Hi Raymond, Rewriting an entire app is simple and straight forward with Wonder. You are most likely over coding. 1) update your Properties file # Apache Deployment Rewrite er.extensions.ERXApplication.replaceApplicationPath.pattern=/cgi-bin/WebObjects/AppName.woa er.extensions.ERXApplication.replaceApplicationPath.replace=/AppName 2) update Apache IfModule mod_rewrite.c RewriteEngine On RewriteRule ^/AppName(.*)$ /cgi-bin/WebObjects/AppName.woa$1 [PT,L] /IfModule NOTE: properties and rewrite mirror each other. The first line in Properties matches the second part of the rewrite rule, and the second line matches the first part. 3) if you've done anything else Delete it, i.e. don't screw with Application._rewriteURL. -G On Sep 17, 2012, at 12:42 AM, Raymond NANEON wrote: Hi All, nobody have idea about my problem. Thanks for your help. Envoyé depuis iCloud Le 12 sep 2012 à 23:49, Raymond NANEON rnan...@me.com a écrit : Hi List, for the RewriteLog Pascal was right, permission problem. When I delete /wa pattern from my properties file and apache.conf, my url : http://agecanonix-form.utt.fr/Etudiant/myDefault continue to work but I can't navigate in my app beacause I stuck on myDefault page. When I add /wa pattern I can use my app normaly. How can I use my app correctly through this link : http://agecanonix-form.utt.fr/Etudiant/ ? Here is Rewrite log when /wa deleted for the same link: [13/Sep/2012:08:40:31 +0200] [agecanonix-form.utt.fr/sid#8f4e3f0][rid#90636b8/initial] (2) init rewrite engine with requested uri /Etudiant/wo/3.0.13.3.9.3 [13/Sep/2012:08:40:31 +0200] [agecanonix-form.utt.fr/sid#8f4e3f0][rid#90636b8/initial] (3) applying pattern '^/Etudiant(.*)$' to uri '/Etudiant/wo/3.0.13.3.9.3' [13/Sep/2012:08:40:31 +0200] [agecanonix-form.utt.fr/sid#8f4e3f0][rid#90636b8/initial] (2) rewrite '/Etudiant/wo/3.0.13.3.9.3' - '/cgi-bin/WebObjects/Dossier-Etudiants.woa/wo/3.0.13.3.9.3' === Here whe are forcing to return myDefault page [13/Sep/2012:08:40:31 +0200] [agecanonix-form.utt.fr/sid#8f4e3f0][rid#90636b8/initial] (2) forcing '/cgi-bin/WebObjects/Dossier-Etudiants.woa/wo/3.0.13.3.9.3' to get passed through to next API URI-to-filename handler [13/Sep/2012:08:40:31 +0200] [agecanonix-form.utt.fr/sid#8f4e3f0][rid#90636b8/initial] (2) init rewrite engine with requested uri /Etudiant/wa/myDefault [13/Sep/2012:08:40:31 +0200] [agecanonix-form.utt.fr/sid#8f4e3f0][rid#90636b8/initial] (3) applying pattern '^/Etudiant(.*)$' to uri '/Etudiant/wa/myDefault' [13/Sep/2012:08:40:31 +0200] [agecanonix-form.utt.fr/sid#8f4e3f0][rid#90636b8/initial] (2) rewrite '/Etudiant/wa/myDefault' - '/cgi-bin/WebObjects/Dossier-Etudiants.woa/wa/myDefault' [13/Sep/2012:08:40:31 +0200] [agecanonix-form.utt.fr/sid#8f4e3f0][rid#90636b8/initial] (2) forcing '/cgi-bin/WebObjects/Dossier-Etudiants.woa/wa/myDefault' to get passed through to next API URI-to-filename handler Rewrite log with /wa pattern for the same link [13/Sep/2012:08:36:30 +0200] [agecanonix-form.utt.fr/sid#81e43f0][rid#82fb500/initial] (2) init rewrite engine with requested uri /cgi-bin/WebObjects/Dossier-Etudiants.woa/wo/9.0.13.3.9.3 [13/Sep/2012:08:36:30 +0200] [agecanonix-form.utt.fr/sid#81e43f0][rid#82fb500/initial] (3) applying pattern '^/Etudiant(.*)$' to uri '/cgi-bin/WebObjects/Dossier-Etudiants.woa/wo/9.0.13.3.9.3' [13/Sep/2012:08:36:30 +0200] [agecanonix-form.utt.fr/sid#81e43f0][rid#82fb500/initial] (1) pass through /cgi-bin/WebObjects/Dossier-Etudiants.woa/wo/9.0.13.3.9.3 [13/Sep/2012:08:36:30 +0200] [agecanonix-form.utt.fr/sid#81e43f0][rid#82f74f0/initial] (2) init rewrite engine with requested uri /cgi-bin/WebObjects/Dossier-Etudiants.woa/wo/js/nicEdit.js [13/Sep/2012:08:36:30 +0200] [agecanonix-form.utt.fr/sid#81e43f0][rid#82f74f0/initial] (3) applying pattern '^/Etudiant(.*)$' to uri '/cgi-bin/WebObjects/Dossier-Etudiants.woa/wo/js/nicEdit.js' [13/Sep/2012:08:36:30 +0200] [agecanonix-form.utt.fr/sid#81e43f0][rid#82f74f0/initial] (1) pass through /cgi-bin/WebObjects/Dossier-Etudiants.woa/wo/js/nicEdit.js [13/Sep/2012:08:36:30 +0200] [agecanonix-form.utt.fr/sid#81e43f0][rid#82f74f0/initial] (2) init rewrite engine with requested uri
Re: Trouble Shooting Mountain Lion
I've converted to using apache installed by macports, but still get the same problem. The webobjects module seems to be being loaded as when I run the following: sudo httpd -M | grep WebObjects I get: WebObjects_module (shared) Have also added the following to the macports apache httpd.conf: ScriptAliasMatch ^/cgi-bin/((?!(?i:webobjects)).*$) /Library/WebServer/CGI-Executables/$1 As well the Include for the webobjects apache.conf file. I'm intrigued by the ScriptAliasMatch command, as my Library/WebServer/CGI-Executables directory is empty. Should something be in there? Thanks! Jeff On Sep 12, 2012, at 12:33 AM, Tim Worman li...@thetimmy.com wrote: My 2¢ - use macports or homebrew and install a custom apache. Stay away from Apple's. The biggest reason is what you just wrote in your last - restarting apache changed your settings. The built in apache is fine if you're using it for what Apple thinks their core customers will use it for - a small workgroup running their services, nothing more. Homebrew may not be updated for ML - I don't know. Tim UCLA GSEIS On Sep 11, 2012, at 8:45 PM, Jeffrey Schmitz j...@netbrackets.com wrote: Yes, but still no love. In the process it changed my document root to Library/Server/Web/Data/Sites/Default. Hate how it does that, is there any way to change that back? In the /etc/apache2/httpd.conf it says: DocumentRoot /Library/WebServer/Documents But that's not where apache is looking. Perhaps there's another copy of apache, or at least the config file somewhere? Also, I did check the /System/Library/Webobjects/Adaptors/Apache2.2/apache.conf, and looks like cgi-bin is still setup to be used in the url... # You can change the 'cgi-bin' part of WebObjectsAlias to whatever you # prefer (such as Apps), but the 'WebObjects' part is required. WebObjectsAlias /cgi-bin/WebObjects Thanks, jeff On Sep 10, 2012, at 11:59 PM, Chuck Hill ch...@global-village.net wrote: Have you restarted Apache? On 2012-09-10, at 9:09 PM, Jeffrey Schmitz wrote: Am having this same problem myself after upgrading to mountain lion server: The requested URL /cgi-bin/WebObjects/netBrackets.woa was not found on this server. but I do have the ScriptAlias in my /etc/apache2/httpd.conf: ScriptAliasMatch ^/cgi-bin/((?!(?i:webobjects)).*$) /Library/WebServer/CGI-Executables/$1 Also have included the apache.conf: Include /System/Library/WebObjects/Adaptors/Apache2.2/apache.conf Which itself points to webobjects... LoadModule WebObjects_module /System/Library/WebObjects/Adaptors/Apache2.2/mod_WebObjects.so But apache still seems confused. Thanks, Jeff On Jul 25, 2012, at 9:44 PM, Chuck Hill ch...@global-village.net wrote: On 2012-07-26, at 10:41 AM, Johnny Miller wrote: It's in there and I tried commenting that line out as well but it had no effect? Are you including the apache.conf from WebObjects? That error means that it is seeing the URL as a file request, not one to be passed through to WO. On a side note... did web sharing get the boot? It seems that option has been dropped from System Preferences I don't have an ML machine in front of me here. Chuck On Jul 25, 2012, at 4:34 PM, Chuck Hill ch...@global-village.net wrote: Your httpd.conf needs to be fixed for this setting: ScriptAliasMatch ^/cgi-bin/((?!(?i:webobjects)).*$) /Library/WebServer/CGI-Executables/$1 On 2012-07-26, at 10:32 AM, Johnny Miller wrote: Hi, I upgraded my computer today and now when I go to debug my application I get the following print out from Safari: The requested URL /cgi-bin/WebObjects/METSAdminApp_1.woa/- was not found on this server. WOMonitor, WOTaskd and my application appear to be running. Did anyone have a similar problem or have an idea on where to start debugging? Thanks in advance, Johnny Miller ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/chill%40global-village.net This email sent to ch...@global-village.net -- Chuck Hill Senior Consultant / VP Development Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems. http://www.global-village.net/gvc/practical_webobjects -- Chuck Hill Senior Consultant / VP Development Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems. http://www.global-village.net/gvc/practical_webobjects ___ Do not post admin requests to the list. They
Re: Trouble Shooting Mountain Lion
On 2012-09-17, at 8:07 PM, Jeffrey Schmitz wrote: I've converted to using apache installed by macports, but still get the same problem. The webobjects module seems to be being loaded as when I run the following: sudo httpd -M | grep WebObjects I get: WebObjects_module (shared) Have also added the following to the macports apache httpd.conf: ScriptAliasMatch ^/cgi-bin/((?!(?i:webobjects)).*$) /Library/WebServer/CGI-Executables/$1 As well the Include for the webobjects apache.conf file. I'm intrigued by the ScriptAliasMatch command, as my Library/WebServer/CGI-Executables directory is empty. Should something be in there? Empty is right. The name probably needs to match this section: # # /Library/WebServer/CGI-Executables should be changed to whatever your ScriptAliased # CGI directory exists, if you have that configured. # Directory /Library/WebServer/CGI-Executables AllowOverride None Options None Order allow,deny Allow from all /Directory Chuck Thanks! Jeff On Sep 12, 2012, at 12:33 AM, Tim Worman li...@thetimmy.com wrote: My 2¢ - use macports or homebrew and install a custom apache. Stay away from Apple's. The biggest reason is what you just wrote in your last - restarting apache changed your settings. The built in apache is fine if you're using it for what Apple thinks their core customers will use it for - a small workgroup running their services, nothing more. Homebrew may not be updated for ML - I don't know. Tim UCLA GSEIS On Sep 11, 2012, at 8:45 PM, Jeffrey Schmitz j...@netbrackets.com wrote: Yes, but still no love. In the process it changed my document root to Library/Server/Web/Data/Sites/Default. Hate how it does that, is there any way to change that back? In the /etc/apache2/httpd.conf it says: DocumentRoot /Library/WebServer/Documents But that's not where apache is looking. Perhaps there's another copy of apache, or at least the config file somewhere? Also, I did check the /System/Library/Webobjects/Adaptors/Apache2.2/apache.conf, and looks like cgi-bin is still setup to be used in the url... # You can change the 'cgi-bin' part of WebObjectsAlias to whatever you # prefer (such as Apps), but the 'WebObjects' part is required. WebObjectsAlias /cgi-bin/WebObjects Thanks, jeff On Sep 10, 2012, at 11:59 PM, Chuck Hill ch...@global-village.net wrote: Have you restarted Apache? On 2012-09-10, at 9:09 PM, Jeffrey Schmitz wrote: Am having this same problem myself after upgrading to mountain lion server: The requested URL /cgi-bin/WebObjects/netBrackets.woa was not found on this server. but I do have the ScriptAlias in my /etc/apache2/httpd.conf: ScriptAliasMatch ^/cgi-bin/((?!(?i:webobjects)).*$) /Library/WebServer/CGI-Executables/$1 Also have included the apache.conf: Include /System/Library/WebObjects/Adaptors/Apache2.2/apache.conf Which itself points to webobjects... LoadModule WebObjects_module /System/Library/WebObjects/Adaptors/Apache2.2/mod_WebObjects.so But apache still seems confused. Thanks, Jeff On Jul 25, 2012, at 9:44 PM, Chuck Hill ch...@global-village.net wrote: On 2012-07-26, at 10:41 AM, Johnny Miller wrote: It's in there and I tried commenting that line out as well but it had no effect? Are you including the apache.conf from WebObjects? That error means that it is seeing the URL as a file request, not one to be passed through to WO. On a side note... did web sharing get the boot? It seems that option has been dropped from System Preferences I don't have an ML machine in front of me here. Chuck On Jul 25, 2012, at 4:34 PM, Chuck Hill ch...@global-village.net wrote: Your httpd.conf needs to be fixed for this setting: ScriptAliasMatch ^/cgi-bin/((?!(?i:webobjects)).*$) /Library/WebServer/CGI-Executables/$1 On 2012-07-26, at 10:32 AM, Johnny Miller wrote: Hi, I upgraded my computer today and now when I go to debug my application I get the following print out from Safari: The requested URL /cgi-bin/WebObjects/METSAdminApp_1.woa/- was not found on this server. WOMonitor, WOTaskd and my application appear to be running. Did anyone have a similar problem or have an idea on where to start debugging? Thanks in advance, Johnny Miller ___ Do not post admin requests to the list. They will be