plist path
hi everybody! i build my project with maven, so i have 2 apps and 2 own frameworks, one of them called BusinesLogicFrmwk ^_^ and i have model (and all model plists) here. after build and deploy and start some tasks i have error exception=java.lang.IllegalArgumentException: URI is not hierarchical appendedWithPathComponent: jar:file:///usr/local/maven/Admin/35/Admin.woa/Contents/Resources/Java/AppX/BusinesLogicFrmwk/1.0.0/BusinesLogicFrmwk -1.0.0.jar!/WebServerResources/appx.eomodeld/Order.plist to get model from plist by url i use: NSPathUtilities.stringByAppendingPathComponent(modelPath.toString(), entityName+.plist); but every time system want to take plists from jars? why should it happened? thanx ___ 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: Startup in deployment hangs
At the end it was trivial and easy to fix chown -R _appserver /Library/WebObjects/Applications/ImmoData.woa Thanks for all your help ---markus--- On 07.08.2012, at 00:21, Chuck Hill ch...@global-village.net wrote: I would not use localhost for deployment. I agree with Pascal, something is wrong with your DNS setup. The name use MUST reverse resolve into the canonical IP of the machine. Chuck On 2012-08-06, at 11:17 AM, Pascal Robert wrote: Does the box have a real DNS name? In my experience, OS X Server is doing nasty things when DNS is not setup (OS X client is more tolerant). If the box is standalone, you could start the DNS service on OS X server, make a DNS zone for a dummy domain (my.dom or something) and use that DNS service as the DNS server for the box (e.g., in the network configuration of the box, specify that the DNS server is 127.0.0.1). More weirdness: Problem is clearly related to specifying WOHost: Adding string-WOHost/string stringlocalhost/string to WOTaskd and WOMonitor startup plist makes them hang, no matter what hostname I use (localhost, 127.0.0.1, FQDN. Bonjour Name). They do not respond to any connect request. They startup without a hick when I remove those params. Ok, I run without them. Next: The following is the command line WOMonitor uses to start the app (no WOHost now! that was a problem in my first posting): -WOPort 2001 -WOCachingEnabled YES -WODebuggingEnabled NO -WOOutputPath /Library/WebObjects/Logs/ImmoData-1 -WOAutoOpenInBrowser NO -WOAutoOpenClientApplication NO -WOLifebeatInterval 30 -WOLifebeatEnabled YES -WOLifebeatDestinationPort 1085 -WOAdaptor WODefaultAdaptor -WOWorkerThreadCount 8 -WOListenQueueSize 128 -WOWorkerThreadCountMin 16 -WOWorkerThreadCountMax 256 -NSProjectSearchPath () -WOSessionTimeOut 3600 -WOApplicationName ImmoData -WOMonitorEnabled YES -WONoPause YES -Xmx256M -Duser.name=production Monitor is not able to bring up the app, starts reporting deaths. Using the very same command line from a terminal session starts the app and it works. And Monitor suddenly reports that the app is running (big power switch turns green). So monitor is not controlling the app but clearly sees it. For now (testing purposes) I can run the app manually from terminal. But need more ideas from the deployment gurus out there (and what's wrong with -WOHost) ? Thanks for any tips ---markus--- On 03.08.2012, at 12:55, Markus Ruggiero mailingli...@kataputt.com wrote: Hi, I have a simple ERD2W application that is in ongoing development. For the customer to be able to see progress I decided to set up an out-of-the-box Mac Mini with Lion Server 10.7.4 and make a preliminary version of the app available. Absolute minimum configured, installed wotaskd and womonitor with Ken Ishimotos script (thanks Ken, good thing). Monitor and Taskd seem to be fine, Monitor is reachable with Safari, added one Host (taskd is ok, can get config xml file). Built my application embedding everything (using build.xml in Eclipse). Application and instance configured properly in Monitor but instance does not start. Trying to start the app from terminal with all the command line args copied from Monitor brings the app halfway up, then it sits there and hangs. /Library/WebObjects/Application/ImmoData.woa/Contents/Frameworks/JavaEOAccess.framework/Resources/Java/javaeoaccess.jar /Library/WebObjects/Application/ImmoData.woa/Contents/Frameworks/JavaEOAccess.framework/WebServerResources/Java/JavaEOAccess.jar /Library/WebObjects/Application/ImmoData.woa/Contents/Frameworks/JavaEOControl.framework/Resources/Java/javaeocontrol.jar /Library/WebObjects/Application/ImmoData.woa/Contents/Frameworks/JavaEOControl.framework/WebServerResources/Java/JavaEOControl.jar /Library/WebObjects/Application/ImmoData.woa/Contents/Frameworks/JavaJDBCAdaptor.framework/Resources/Java/javajdbcadaptor.jar /Library/WebObjects/Application/ImmoData.woa/Contents/Frameworks/JavaJDBCAdaptor.framework/WebServerResources/Java/JavaJDBCAdaptor.jar /Library/WebObjects/Application/ImmoData.woa/Contents/Frameworks/JavaEOProject.framework/Resources/Java/javaeoproject.jar [2012-8-3 12:40:18 CEST] main Initialized : er.extensions.ERXExtensions [2012-8-3 12:40:19 CEST] main The bundle ImmoData has malformed version number: Aug 03 12:40:20 N/A[N/A] INFO org.apache.log4j.Logger - Updated the logging configuration with the current system properties. Aug 03 12:40:20 N/A[N/A] INFO org.apache.log4j.Logger - Updated the logging configuration with the current system properties. Aug 03 12:40:20 N/A[N/A] WARN NSLog - Couldn't load properties file: /var/root/WebObjects.properties at path: /var/root Aug 03 12:40:20 N/A[N/A] DEBUG NSLog - Initialized : er.prototypes.ERPrototypes Aug 03 12:40:20 N/A[N/A] WARN NSLog - Principal class 'er.coolcomponents.ERCoolComponents' not found in bundle
Re: ERRest presentations
http://www.wocommunity.org/podcasts/wowodc/2011/ERRest.mov http://www.slideshare.net/wocommunity/er-rest-thenextsteps Hi! Is there any chance I could get this presentation? I am playing with ERRest, and must implement some form of authentication. Your first step tutorial was perfect but it would be great to see the next part! My goal is for another app to access this ERRest app with some kind of api-key. /Fredrik Lindgren 6 apr 2012 kl. 15:35 skrev Pascal Robert prob...@macti.ca: Ok, so I'm going to copy Chuck and Kieran :-) What do you wish to learn in the ERRest sessions? For the ERRest Boot Camp, I'm thinking of showing how to build the SimpleBlog example step by step. That will include how to add the routes, create key filters, supporting more than one format and how to create HTML REST components. For ERRest in Depth, it would be a bit like the Ajax session from Chuck in 2011. We will go over how the internals of ERRest works, and how to add new features (authentication and a new format, maybe Atom). From experience, it seems the number one problem that WO developers have with REST is that it's stateless and people have problems understanding how routes and URLs are related, so I will put extra efforts on explaining those. Anything else you want to learn about? ___ 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/frelin%40timeoff.se This email sent to fre...@timeoff.se ___ 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
Tutorials
Hello everyone, I think I'm done with the tutorials. I just finished the stateful one, so the complete set of Getting Started tutorials should be complete: http://wiki.wocommunity.org/display/documentation/Your+First+Project+-+Hello+World http://wiki.wocommunity.org/display/documentation/Your+First+Rest+Project http://wiki.wocommunity.org/display/documentation/Your+First+Framework http://wiki.wocommunity.org/display/documentation/Your+First+D2W+Project http://wiki.wocommunity.org/display/documentation/Your+First+Stateful+Project http://wiki.wocommunity.org/display/documentation/Your+First+Deployment ___ 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: Tutorials
FYI, the code is also available on GitHub: https://github.com/wocommunity/Tutorials Hello everyone, I think I'm done with the tutorials. I just finished the stateful one, so the complete set of Getting Started tutorials should be complete: http://wiki.wocommunity.org/display/documentation/Your+First+Project+-+Hello+World http://wiki.wocommunity.org/display/documentation/Your+First+Rest+Project http://wiki.wocommunity.org/display/documentation/Your+First+Framework http://wiki.wocommunity.org/display/documentation/Your+First+D2W+Project http://wiki.wocommunity.org/display/documentation/Your+First+Stateful+Project http://wiki.wocommunity.org/display/documentation/Your+First+Deployment ___ 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/probert%40macti.ca This email sent to prob...@macti.ca ___ 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: Tutorials
Hi, Does anybody know what happened to the code for the Lucene + D2W Modern Movies Demo? It was in a svn url at wocommunity, but is it somewhere on github? Thanks, On Aug 9, 2012, at 5:19 AM, Pascal Robert wrote: FYI, the code is also available on GitHub: https://github.com/wocommunity/Tutorials Hello everyone, I think I'm done with the tutorials. I just finished the stateful one, so the complete set of Getting Started tutorials should be complete: http://wiki.wocommunity.org/display/documentation/Your+First+Project+-+Hello+World http://wiki.wocommunity.org/display/documentation/Your+First+Rest+Project http://wiki.wocommunity.org/display/documentation/Your+First+Framework http://wiki.wocommunity.org/display/documentation/Your+First+D2W+Project http://wiki.wocommunity.org/display/documentation/Your+First+Stateful+Project http://wiki.wocommunity.org/display/documentation/Your+First+Deployment ___ 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/probert%40macti.ca This email sent to prob...@macti.ca ___ 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/gsbrown%40umich.edu This email sent to gsbr...@umich.edu G Brown gsbr...@umich.edu ___ 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: Tutorials
Le 2012-08-09 à 08:47, G Brown a écrit : Hi, Does anybody know what happened to the code for the Lucene + D2W Modern Movies Demo? It was in a svn url at wocommunity, but is it somewhere on github? https://github.com/projectwonder/wonder/tree/master/Examples/Misc/LuceneExample https://github.com/projectwonder/wonder/tree/master/Examples/D2W/ERModernMoviesDemo Thanks, On Aug 9, 2012, at 5:19 AM, Pascal Robert wrote: FYI, the code is also available on GitHub: https://github.com/wocommunity/Tutorials Hello everyone, I think I'm done with the tutorials. I just finished the stateful one, so the complete set of Getting Started tutorials should be complete: http://wiki.wocommunity.org/display/documentation/Your+First+Project+-+Hello+World http://wiki.wocommunity.org/display/documentation/Your+First+Rest+Project http://wiki.wocommunity.org/display/documentation/Your+First+Framework http://wiki.wocommunity.org/display/documentation/Your+First+D2W+Project http://wiki.wocommunity.org/display/documentation/Your+First+Stateful+Project http://wiki.wocommunity.org/display/documentation/Your+First+Deployment ___ 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/probert%40macti.ca This email sent to prob...@macti.ca ___ 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/gsbrown%40umich.edu This email sent to gsbr...@umich.edu G Brown gsbr...@umich.edu ___ 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: Tutorials
That is not it. It went with the podcast http://www.wocommunity.org/podcasts/wowodc/2010/Lucene.mov By one of the Daves (David Leber). He took the modern movies demo and added lucene searches to it. But thanks for looking. On Aug 9, 2012, at 9:02 AM, Pascal Robert wrote: Le 2012-08-09 à 08:47, G Brown a écrit : Hi, Does anybody know what happened to the code for the Lucene + D2W Modern Movies Demo? It was in a svn url at wocommunity, but is it somewhere on github? https://github.com/projectwonder/wonder/tree/master/Examples/Misc/LuceneExample https://github.com/projectwonder/wonder/tree/master/Examples/D2W/ERModernMoviesDemo Thanks, ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: plist path
On 2012-08-08, at 11:01 PM, Ron X wrote: hi everybody! i build my project with maven, so i have 2 apps and 2 own frameworks, one of them called BusinesLogicFrmwk ^_^ and i have model (and all model plists) here. after build and deploy and start some tasks i have error exception=java.lang.IllegalArgumentException: URI is not hierarchical appendedWithPathComponent: jar:file:///usr/local/maven/Admin/35/Admin.woa/Contents/Resources/Java/AppX/BusinesLogicFrmwk/1.0.0/BusinesLogicFrmwk -1.0.0.jar!/WebServerResources/appx.eomodeld/Order.plist to get model from plist by url i use: NSPathUtilities.stringByAppendingPathComponent(modelPath.toString(), entityName+.plist); but every time system want to take plists from jars? why should it happened? What is modelPath.toString() if you print it out? It looks like you are deploying your framework as a jar. Chuck -- 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: Improvements to deployment tools
FYI, the REST routes have been added to wotaskd. I didn't add the direct actions, so you don't have all the functionalities of JavaMonitor APIs, but if you need to add/modify/delete applications and instances directly into wotaskd without needing JavaMonitor, it's now possible. The changes have been added to the integration branch. Hi guys, This is something I'm thinking about for months, and since I see a lot of people having issues with deployment, I have a couple of ideas to improve it. 1) To have REST actions inside wotaskd. By having that, we won't ever need JavaMonitor to manage wotaskd. You could use curl or any HTTP tools, and you could rewrite Monitor in JavaScript or whatever. 2) Upload support into wotaskd so that you can ship the app to it and wotaskd will take care of putting it at the correct location. 3) Deployment support in WOLips. Choose WOLips Tools - Deploy and build/deploy your app directly from WOLips. 4) Deployment plugin in Jenkins that would connect to the REST actions of wotaskd. 5) RPM and .deb packages of wotaskd and mod_webobjects, with a Yum/apt-get repositories to install/update the deployment tools on Linux. Opinions? ___ 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/probert%40macti.ca This email sent to prob...@macti.ca ___ 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: plist path
Hi Ron, As soon as you're using Maven, the frameworks are packaged as NSJarBundles (a Jar with a special structure) instead of a .framework bundle. The use of NSJarBundles should not cause problems. Cheers, Henrique On 09/08/2012, at 03:01, Ron X ron.x.by...@gmail.com wrote: hi everybody! i build my project with maven, so i have 2 apps and 2 own frameworks, one of them called BusinesLogicFrmwk ^_^ and i have model (and all model plists) here. after build and deploy and start some tasks i have error exception=java.lang.IllegalArgumentException: URI is not hierarchical appendedWithPathComponent: jar:file:///usr/local/maven/Admin/35/Admin.woa/Contents/Resources/Java/AppX/BusinesLogicFrmwk/1.0.0/BusinesLogicFrmwk -1.0.0.jar!/WebServerResources/appx.eomodeld/Order.plist to get model from plist by url i use: NSPathUtilities.stringByAppendingPathComponent(modelPath.toString(), entityName+.plist); but every time system want to take plists from jars? why should it happened? thanx ___ 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/hprange%40gmail.com This email sent to hpra...@gmail.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Tutorials
I found it: https://github.com/wocommunity/WOWODC-2010/tree/master/TextSearchDemo/trunk On Aug 9, 2012, at 9:45 AM, G Brown wrote: That is not it. It went with the podcast http://www.wocommunity.org/podcasts/wowodc/2010/Lucene.mov By one of the Daves (David Leber). He took the modern movies demo and added lucene searches to it. But thanks for looking. On Aug 9, 2012, at 9:02 AM, Pascal Robert wrote: Le 2012-08-09 à 08:47, G Brown a écrit : Hi, Does anybody know what happened to the code for the Lucene + D2W Modern Movies Demo? It was in a svn url at wocommunity, but is it somewhere on github? https://github.com/projectwonder/wonder/tree/master/Examples/Misc/LuceneExample https://github.com/projectwonder/wonder/tree/master/Examples/D2W/ERModernMoviesDemo Thanks, ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/gsbrown%40umich.edu This email sent to gsbr...@umich.edu G Brown gsbr...@umich.edu ___ 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: Problem getting D2W rule firing log
Watch the updated walkthrough I posted here. http://wiki.wocommunity.org/display/documentation/How+to+debug+a+D2W+application Ramsey On Aug 9, 2012, at 6:26 AM, Markus Ruggiero wrote: I have created a new ERModel D2W app and no matter what I do I cannot get rule firing logs in Eclipse console (Eclipse 3.7.2 WOLips 3.7.20120526.24, WO latest official 5.4.x) In my properties file there is ... er.directtoweb.rules.D2WTraceRuleFiringEnabled=true er.extensions.ERXApplication.developmentMode=true ... log4j has all settings enabled for debug PastedGraphic-1.png What do I miss? Thanks a lot ---markus--- ___ 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/rgurley%40smarthealth.com This email sent to rgur...@smarthealth.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: plist path
I assume you're talking about running within Eclipse. So First things first. What's your setup? Have you followed the setup guide for developing WO within Eclipse? http://wiki.wocommunity.org/display/WOL/Maven+Running+or+Debugging+as+WO+Application NB: that link may have changed more recently with any wiki reshuffles. On 09/08/2012, at 4:01 PM, Ron X ron.x.by...@gmail.com wrote: hi everybody! i build my project with maven, so i have 2 apps and 2 own frameworks, one of them called BusinesLogicFrmwk ^_^ and i have model (and all model plists) here. after build and deploy and start some tasks i have error exception=java.lang.IllegalArgumentException: URI is not hierarchical appendedWithPathComponent: jar:file:///usr/local/maven/Admin/35/Admin.woa/Contents/Resources/Java/AppX/BusinesLogicFrmwk/1.0.0/BusinesLogicFrmwk -1.0.0.jar!/WebServerResources/appx.eomodeld/Order.plist to get model from plist by url i use: NSPathUtilities.stringByAppendingPathComponent(modelPath.toString(), entityName+.plist); but every time system want to take plists from jars? why should it happened? thanx ___ 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/lachlan.deck%40gmail.com This email sent to lachlan.d...@gmail.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Instances restarting on a schedule - or not
Occasionally I write something useful, for someone - herding sheep on the grassy, rolling hills of the island. :-)For the archives:The way instances roll-over is when- the wotaskd daemon tells the instance to stop accepting connections/sessions, based on a schedule- the app instance is to quit when it reaches 0 sessions (this is a configuration, you call tell it to terminate at x number of sessions)- the auto-recover flag tells wotaskd to start the instance againDoing this gracefully allows sessions to be finished by the end users. There is an option to do this not gracefully, in which case the instances is unceremoniously terminated.Sometimes instances don’t quit on their own. This looks like the image below. 'Refuse New Sessions' is on, and ‘Auto-Recover' is on, and the instance is still running. Something is hung - ether a thread or a sessions refuses to time-out. This is a bug in the app's code. The instance can’t quit on its own.The indicators/buttons are yellow because these flags are assumed and disabled when scheduling is enabled.There will be a ‘No Instances Available’ error page if there are no other instances accepting connections. http://www.berkling.us/theothersite/page1/files/wo_instances_restarting.htmlkib"The trouble with normal is it always gets worse."Bruce CockburnKlaus BerklingWeb Application Dev. Systems AnalystDynEd International, Inc.www.dyned.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: Instances restarting on a schedule - or not
On 2012-08-09, at 2:40 PM, Klaus Berkling wrote: Occasionally I write something useful, for someone - herding sheep on the grassy, rolling hills of the island. :-) Goats, man, goats! Sheep. sheesh! :-P For the archives: The way instances roll-over is when - the wotaskd daemon tells the instance to stop accepting connections/sessions, based on a schedule - the app instance is to quit when it reaches 0 sessions (this is a configuration, you call tell it to terminate at x number of sessions) - the auto-recover flag tells wotaskd to start the instance again Doing this gracefully allows sessions to be finished by the end users. There is an option to do this not gracefully, in which case the instances is unceremoniously terminated. Sometimes instances don’t quit on their own. This looks like the image below. 'Refuse New Sessions' is on, and ‘Auto-Recover' is on, and the instance is still running. Something is hung - ether a thread or a sessions refuses to time-out. This is a bug in the app's code. The instance can’t quit on its own. The indicators/buttons are yellow because these flags are assumed and disabled when scheduling is enabled. There will be a ‘No Instances Available’ error page if there are no other instances accepting connections. Screen Shot 2012-08-09 at 1.42.46 PM.png http://www.berkling.us/theothersite/page1/files/wo_instances_restarting.html kib The trouble with normal is it always gets worse. Bruce Cockburn Klaus Berkling Web Application Dev. Systems Analyst DynEd International, Inc. www.dyned.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/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: Instances restarting on a schedule - or not
On Aug 9, 2012, at 3:35 PM, Chuck Hill wrote: Occasionally I write something useful, for someone - herding sheep on the grassy, rolling hills of the island. :-) Goats, man, goats! Sheep. sheesh! Sorry wrong frame of mind. I live in the California central valley. We have Sheep... and its 103F/39C (maybe it's the heat). kib Success is not final, failure is not fatal: it is the courage to continue that counts. Winston Churchill Klaus Berkling Web Application Dev. Systems Analyst DynEd International, Inc. www.dyned.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: Instances restarting on a schedule - or not
On 2012-08-09, at 4:22 PM, Klaus Berkling wrote: On Aug 9, 2012, at 3:35 PM, Chuck Hill wrote: Occasionally I write something useful, for someone - herding sheep on the grassy, rolling hills of the island. :-) Goats, man, goats! Sheep. sheesh! Sorry wrong frame of mind. I live in the California central valley. We have Sheep... and its 103F/39C (maybe it's the heat). :-) Miguel is THERE! -- 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: Instances restarting on a schedule - or not
Hi, /me looks at his screen and the huge freaking mess that goes around a serious bug he's trying to fix… I wish! Both for the heat and the goats! Or sheep! Regards, Miguel Arroz On 2012-08-09, at 4:24 PM, Chuck Hill ch...@global-village.net wrote: On 2012-08-09, at 4:22 PM, Klaus Berkling wrote: On Aug 9, 2012, at 3:35 PM, Chuck Hill wrote: Occasionally I write something useful, for someone - herding sheep on the grassy, rolling hills of the island. :-) Goats, man, goats! Sheep. sheesh! Sorry wrong frame of mind. I live in the California central valley. We have Sheep... and its 103F/39C (maybe it's the heat). :-) Miguel is THERE! -- 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/arroz%40guiamac.com This email sent to ar...@guiamac.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
AjaxModalDialog background color
All: I've added my own css file for AjaxModalDialog to a custom framework and assigned values in the wod for the modalboxCSS and modalboxCSSFramework bindings for my AMD. I want the background to be white instead of grey. It seems that no matter what I do, the modalbox.css in Ajax frameworks wins and ensures that the background stays grey. Strangely though, it does seem to find my css file in the framework I specified. I know this is so because the hard-coded wait30trans.gif can't be found in the framework I've specified and a message appears in my console. Am I just doing this wrong or is what I'm seeing the expected behavior at this time? Tim UCLA GSEIS ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: AjaxModalDialog background color
Hi Tim, You can substitute that Ajax css with a property: er.extensions.ERXResponseRewriter.resource.Ajax.modalbox.css=framework.filename Or block it altogether by setting the ERXResponseRewriter delegate: ERXResponseRewriter.setDelegate(new ERXResponseRewriter.Delegate() { @Override public Resource responseRewriterWillAddResource(String framework, String fileName) { return new Resource(framework, fileName); } @Override public boolean responseRewriterShouldAddResource(String framework, String fileName) { return !(Ajax.equals(framework) modalbox.css.equals(fileName)); } }); Ramsey On Aug 9, 2012, at 5:34 PM, Tim Worman wrote: All: I've added my own css file for AjaxModalDialog to a custom framework and assigned values in the wod for the modalboxCSS and modalboxCSSFramework bindings for my AMD. I want the background to be white instead of grey. It seems that no matter what I do, the modalbox.css in Ajax frameworks wins and ensures that the background stays grey. Strangely though, it does seem to find my css file in the framework I specified. I know this is so because the hard-coded wait30trans.gif can't be found in the framework I've specified and a message appears in my console. Am I just doing this wrong or is what I'm seeing the expected behavior at this time? Tim UCLA GSEIS ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/rgurley%40smarthealth.com This email sent to rgur...@smarthealth.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: AjaxModalDialog background color
Thanks Ramsey. Good tip. I may have to find another way. I was hoping to maintain the flexibility to style the component on the fly even within the app. It seems like I have to clobber it to get what I want. Maybe the best move is to sub-class it. Tim On Aug 9, 2012, at 5:43 PM, Ramsey Gurley rgur...@smarthealth.com wrote: Hi Tim, You can substitute that Ajax css with a property: er.extensions.ERXResponseRewriter.resource.Ajax.modalbox.css=framework.filename Or block it altogether by setting the ERXResponseRewriter delegate: ERXResponseRewriter.setDelegate(new ERXResponseRewriter.Delegate() { @Override public Resource responseRewriterWillAddResource(String framework, String fileName) { return new Resource(framework, fileName); } @Override public boolean responseRewriterShouldAddResource(String framework, String fileName) { return !(Ajax.equals(framework) modalbox.css.equals(fileName)); } }); Ramsey On Aug 9, 2012, at 5:34 PM, Tim Worman wrote: All: I've added my own css file for AjaxModalDialog to a custom framework and assigned values in the wod for the modalboxCSS and modalboxCSSFramework bindings for my AMD. I want the background to be white instead of grey. It seems that no matter what I do, the modalbox.css in Ajax frameworks wins and ensures that the background stays grey. Strangely though, it does seem to find my css file in the framework I specified. I know this is so because the hard-coded wait30trans.gif can't be found in the framework I've specified and a message appears in my console. Am I just doing this wrong or is what I'm seeing the expected behavior at this time? Tim UCLA GSEIS ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/rgurley%40smarthealth.com This email sent to rgur...@smarthealth.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