Re: Log file warning
On 2011-02-22, at 10:13 AM, Patrick Coleman wrote: Sorry forgot to put it in. WARN workbench.BDWBSessioninit- New Session I have no idea, is your Session class named BDWBSession? Is there a log.warn statement in it's constructor? On Feb 22, 2011, at 10:07 AM, David LeBer wrote: On 2011-02-22, at 9:59 AM, Patrick Coleman wrote: Hi, I get the following warning in my log file from once every few seconds to every 20-30 seconds. Is this a problem? Pat. What log message would that be Patrick? ;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: ERModernDirectToWeb question
Hi Paul, I just realized you sent your question to a mailing list that is almost never used. I'll move this thread to the main WebObjects dev list. David On 2011-02-22, at 9:21 AM, David Holt wrote: Hi Paul, Yes. There are a couple of different ways to do that but I think that the easiest to keep track of is to use a ERDQueryDataSourceDelegateInterface. Ramsey has made extensive notes about that on the wiki: http://wiki.objectstyle.org/confluence/display/WO/D2W+Flow+Control Here's a simple example I use to make sure that any documents returned by a query are qualified by the working group of the person who is logged in: private EOQualifier qualifierFromSender(ERD2WQueryPage sender) { WorkingGroup wg = WorkingGroup.wg(); EOQualifier q = Document.WORKING_GROUP.eq(wg).and(sender.qualifier()); return q; } And the corresponding rule: 100 : (pageConfiguration = 'QueryEmbeddedDocument' or pageConfiguration = 'QueryNormalDocument') = queryDataSourceDelegate = my.app.delegates.WorkingGroupDocumentsQueryDataSourceDelegate [er.directtoweb.ERDDelayedObjectCreationAssignment] David On 2011-02-22, at 8:34 AM, Paul Halliday wrote: Hi I have a WOLips Project which is leveraging ERModernDirectToWeb. Can I prequalify a dataset for an entity query page? To clarify -- I want to use the power of the Query Page but only search against a predetermined fetch datasource. Kind regards Paul Halliday ___ WebObjects-dev mailing list webobjects-...@omnigroup.com http://www.omnigroup.com/mailman/listinfo/webobjects-dev ___ WebObjects-dev mailing list webobjects-...@omnigroup.com http://www.omnigroup.com/mailman/listinfo/webobjects-dev ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: ERModernDirectToWeb question
Hi Paul, Please keep messages on the list so others can benefit too. You set up the delegate class and made a rule for it? Is the priority of your rule high enough that it is not being overridden? What is your qualifierFromSenderMethod? d On 2011-02-22, at 9:37 AM, Paul Halliday wrote: THX OAN I tried to get the datasource qualified using the wiki method from Ramsey -- but no love. Paul On 30-04-2010, at 12:35 PM, David Holt wrote: WebObjects-Dev Mailing List List webobjects-dev@lists.apple.com On 2011-02-22, at 9:34 AM, Paul Halliday wrote: Thanks David This is my first post, in 6 years of using webobjects -- where should I be posting? Paul On 30-04-2010, at 12:32 PM, David Holt wrote: Hi Paul, I just realized you sent your question to a mailing list that is almost never used. I'll move this thread to the main WebObjects dev list. David On 2011-02-22, at 9:21 AM, David Holt wrote: Hi Paul, Yes. There are a couple of different ways to do that but I think that the easiest to keep track of is to use a ERDQueryDataSourceDelegateInterface. Ramsey has made extensive notes about that on the wiki: http://wiki.objectstyle.org/confluence/display/WO/D2W+Flow+Control Here's a simple example I use to make sure that any documents returned by a query are qualified by the working group of the person who is logged in: private EOQualifier qualifierFromSender(ERD2WQueryPage sender) { WorkingGroup wg = WorkingGroup.wg(); EOQualifier q = Document.WORKING_GROUP.eq(wg).and(sender.qualifier()); return q; } And the corresponding rule: 100 : (pageConfiguration = 'QueryEmbeddedDocument' or pageConfiguration = 'QueryNormalDocument') = queryDataSourceDelegate = my.app.delegates.WorkingGroupDocumentsQueryDataSourceDelegate [er.directtoweb.ERDDelayedObjectCreationAssignment] David On 2011-02-22, at 8:34 AM, Paul Halliday wrote: Hi I have a WOLips Project which is leveraging ERModernDirectToWeb. Can I prequalify a dataset for an entity query page? To clarify -- I want to use the power of the Query Page but only search against a predetermined fetch datasource. Kind regards Paul Halliday ___ WebObjects-dev mailing list webobjects-...@omnigroup.com http://www.omnigroup.com/mailman/listinfo/webobjects-dev ___ WebObjects-dev mailing list webobjects-...@omnigroup.com http://www.omnigroup.com/mailman/listinfo/webobjects-dev ___ Do not 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
Linux deployment advice
I'm finally coming back to WebObjects after years away from it. This time around, I'll need to deploy my application in Linux. I've read the wiki, and see there's instructions for both Tomcat deployment, and installing WO deployment on a Linux server. I'm game for either one, but was wondering if there's advice to be had to help me decide which one will work better for my needs. I watched Pascal's deployment video. Good stuff. I took from that the WO deployment with wotaskd and JavaMonitor is preferred. My experience with Tomcat is very limited (although the servlet deployment option in WOLips makes it seem pretty braindead simple). This is a small, internal app. I don't have the option of deploying on a Mac. I have full root access to the Linux server. I am comfortable in Linux. I recall from the old days that there were certain caveats when deploying to Tomcat that made it different than deploying with what then was the standard WO deployment. Pascal mentions classpath issues, but I vaguely recall something about session handling and the Application object behaving differently when within a servlet deployment. But this info might be as obsolete as my experience with WOBuilder. John ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Linux deployment advice
John Welcome back. first thing is to use Eclipse + WOLips and Project Wonder. Then set the project to embed all frameworks. Then I would recommend using Project Wonder's wotaskd and JavaMonitor instead of Tomcat. Paul On Feb 22, 2011, at 3:48 PM, John Baldwin wrote: I'm finally coming back to WebObjects after years away from it. This time around, I'll need to deploy my application in Linux. I've read the wiki, and see there's instructions for both Tomcat deployment, and installing WO deployment on a Linux server. I'm game for either one, but was wondering if there's advice to be had to help me decide which one will work better for my needs. I watched Pascal's deployment video. Good stuff. I took from that the WO deployment with wotaskd and JavaMonitor is preferred. My experience with Tomcat is very limited (although the servlet deployment option in WOLips makes it seem pretty braindead simple). This is a small, internal app. I don't have the option of deploying on a Mac. I have full root access to the Linux server. I am comfortable in Linux. I recall from the old days that there were certain caveats when deploying to Tomcat that made it different than deploying with what then was the standard WO deployment. Pascal mentions classpath issues, but I vaguely recall something about session handling and the Application object behaving differently when within a servlet deployment. But this info might be as obsolete as my experience with WOBuilder. John ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/pyu%40mac.com This email sent to p...@mac.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Linux deployment advice
On 2011-02-22, at 3:52 PM, Paul D Yu wrote: John Welcome back. first thing is to use Eclipse + WOLips and Project Wonder. Then set the project to embed all frameworks. Then I would recommend using Project Wonder's wotaskd and JavaMonitor instead of Tomcat. This is what we are doing and are quite happy with the results. Since everything is embedded we don't even install WO on the servers. Apache and the WO Adapter (when needed), wotaskd and the apps. JavaMonitor is installed on just one box and talks to all the rest. Paul On Feb 22, 2011, at 3:48 PM, John Baldwin wrote: I'm finally coming back to WebObjects after years away from it. This time around, I'll need to deploy my application in Linux. I've read the wiki, and see there's instructions for both Tomcat deployment, and installing WO deployment on a Linux server. I'm game for either one, but was wondering if there's advice to be had to help me decide which one will work better for my needs. I watched Pascal's deployment video. Good stuff. I took from that the WO deployment with wotaskd and JavaMonitor is preferred. My experience with Tomcat is very limited (although the servlet deployment option in WOLips makes it seem pretty braindead simple). This is a small, internal app. I don't have the option of deploying on a Mac. I have full root access to the Linux server. I am comfortable in Linux. I recall from the old days that there were certain caveats when deploying to Tomcat that made it different than deploying with what then was the standard WO deployment. Pascal mentions classpath issues, but I vaguely recall something about session handling and the Application object behaving differently when within a servlet deployment. But this info might be as obsolete as my experience with WOBuilder. John ;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