Rép : Re: WebObjects 5.4.3 and JavaClient Apps
Hi Paolo,Thank for the link and the informations it contains. I hope to sample projects that hold back the answers to my problem. I wonder why did you just create a framework to launch JavaClient under theWO?RayEnvoyé depuis iCloudLe 27 fév 2012 à 03:07, Paolo Sommaruga pso...@jpaso.com a écrit:Hi Raymond,we don't use D2JC, but we build some JC application with our frameworkJPBinding. We can view it athttp://www.jpaso.com/name/XMLBindingForJavaClientUnfortunately I do'nt have the time in order to complete the documentation.I do'nt know if this can help youRegardsPaoloIl giorno 23/feb/2012, alle ore 14:46, Raymond NANEON ha scritto:Hi,I tried a little JavaClient app but I can't launch the app because the JavaClient.jnlp link is broken.I got this error : [2012-2-23 14:33:42 CET] main Opening application's URL in browser:http://imac-cedre.utt.fr:51807/cgi-bin/WebObjects/WebStartJNLPTest.woa[2012-2-23 14:33:42 CET] main null[2012-2-23 14:33:42 CET] main Waiting for requests...[2012-2-23 14:33:49 CET] WorkerThread0 com.webobjects.appserver._private.WOStaticResourceRequestHandler Unable to get contents of file for uri. file: /Library/WebServer/Documents/cgi-bin/WebObjects/WebStartJNLPTest.woa/eowebstart/com.webobjects.eodistribution._EOWebStartAction/webStart/JavaClient.jnlp; uri: /cgi-bin/WebObjects/WebStartJNLPTest.woa/eowebstart/com.webobjects.eodistribution._EOWebStartAction/webStart/JavaClient.jnlp[2012-2-23 14:33:49 CET] WorkerThread0 java.io.FileNotFoundException: /Library/WebServer/Documents/cgi-bin/WebObjects/WebStartJNLPTest.woa/eowebstart/com.webobjects.eodistribution._EOWebStartAction/webStart/JavaClient.jnlp (No such file or directory) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.init(FileInputStream.java:120) at com.webobjects.appserver._private.WOStaticResourceRequestHandler.handleRequest(WOStaticResourceRequestHandler.java:86) at com.webobjects.appserver.WOApplication.dispatchRequest(WOApplication.java:1687) at com.webobjects.appserver._private.WOWorkerThread.runOnce(WOWorkerThread.java:144) at com.webobjects.appserver._private.WOWorkerThread.run(WOWorkerThread.java:226) at java.lang.Thread.run(Thread.java:680)Mainhtml head titleMain/title /head bodyPlease webobject name = "JavaClientLink" click here /webobject to start WebStartJNLPTest through WebStart. /body/htmlJavaClientLink: WOHyperlink { href = "">}JavaClient body webobject name = "JavaClientComponent" / /bodyJavaClientComponent: WOJavaClientComponent { j2seVersion = "1.4+"; applicationClassName = "com.webobjects.eogeneration.EODynamicApplication"; applicationName = "D2JC WebStart Test"; applicationDescription = "D2JC WebStart Test"; downloadClientClasses = "noDownloadClientClasses"; vendor = "TEST";}Thanks for your HelpEnvoyé depuis iCloud-- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.___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/psomma%40jpaso.comThis email sent to pso...@jpaso.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: stringArray prototype - proper usage
Johann: Thanks so much. That was it! I didn't realize I needed an additional framework when I selected that prototype. I probably spent about a half hour googling and the results just weren't obvious enough for me. :-) Maybe I should put something on the wiki about this. Thanks so much for your help!! Tim On Feb 27, 2012, at 10:33 PM, Johann Werner j...@oyosys.de wrote: Hi Tim, did you add the ERAttributeExtension framework to your classpath? If you did then have you checked that it comes before the JavaEOAccess framework? jw Am 28.02.2012 um 07:18 schrieb Tim Worman: All: I've set up a basic app just to test the stringArray prototype available in Entity Modeler. I'm not sure if I'm just using this prototype completely incorrectly or if something is broken. I'm using MySQL for the test. My model is super simple with one entity: Person For that entity I have attributes: firstName, lastName, nicknames with the latter having the stringArray prototype. However, in my basic app, my application crashes displaying a list of 'Person'. I'm not displaying or requesting the nicknames attribute at this time. The app runs fine if I remove the attribute from the model that is using the stringArray prototype. Here is the strack trace: [2012-2-27 21:59:40 PST] WorkerThread0 com.webobjects.foundation.NSForwardException [java.lang.NoSuchMethodException] Class com.webobjects.foundation.NSArray does not implement method stringArray:java.lang.NoSuchMethodException: Class com.webobjects.foundation.NSArray does not implement method stringArray at com.webobjects.foundation.NSForwardException._runtimeExceptionForThrowable(NSForwardException.java:45) at com.webobjects.eoaccess.EOAttribute.newValueForString(EOAttribute.java:2003) at com.webobjects.jdbcadaptor.JDBCColumn._newValueForString(JDBCColumn.java:675) at com.webobjects.jdbcadaptor.JDBCColumn._fetchCorrectObject(JDBCColumn.java:334) at com.webobjects.jdbcadaptor.JDBCColumn._fetchValue(JDBCColumn.java:384) at com.webobjects.jdbcadaptor.JDBCColumn.fetchValue(JDBCColumn.java:372) at com.webobjects.jdbcadaptor.JDBCChannel.fetchRow(JDBCChannel.java:1462) at com.webobjects.eoaccess.EODatabaseChannel._fetchObject(EODatabaseChannel.java:321) at com.webobjects.eoaccess.EODatabaseContext._objectsWithFetchSpecificationEditingContext(EODatabaseContext.java:3071) at com.webobjects.eoaccess.EODatabaseContext.objectsWithFetchSpecification(EODatabaseContext.java:3195) at com.webobjects.eocontrol.EOObjectStoreCoordinator.objectsWithFetchSpecification(EOObjectStoreCoordinator.java:488) at com.webobjects.eocontrol.EOEditingContext.objectsWithFetchSpecification(EOEditingContext.java:4069) at er.extensions.eof.ERXEC.objectsWithFetchSpecification(ERXEC.java:1215) at com.webobjects.eocontrol.EOEditingContext.objectsWithFetchSpecification(EOEditingContext.java:) at er.extensions.eof.ERXFetchSpecification.fetchObjects(ERXFetchSpecification.java:125) at edu.ucla.gseis.arraytest.entities._Person.fetchPersons(_Person.java:100) at edu.ucla.gseis.arraytest.entities._Person.fetchAllPersons(_Person.java:94) at edu.ucla.gseis.arraytest.entities._Person.fetchAllPersons(_Person.java:90) at edu.ucla.gseis.arraytest.components.Main.personList(Main.java:44) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.webobjects.foundation.NSKeyValueCoding$ValueAccessor$1.methodValue(NSKeyValueCoding.java:636) at com.webobjects.foundation.NSKeyValueCoding$_MethodBinding.valueInObject(NSKeyValueCoding.java:1134) at com.webobjects.foundation.NSKeyValueCoding$DefaultImplementation.valueForKey(NSKeyValueCoding.java:1324) at com.webobjects.appserver.WOComponent.valueForKey(WOComponent.java:1736) at com.webobjects.foundation.NSKeyValueCoding$Utility.valueForKey(NSKeyValueCoding.java:447) at com.webobjects.foundation.NSKeyValueCodingAdditions$DefaultImplementation.valueForKeyPath(NSKeyValueCodingAdditions.java:212) at com.webobjects.appserver.WOComponent.valueForKeyPath(WOComponent.java:1804) at com.webobjects.appserver._private.WOKeyValueAssociation.valueInComponent(WOKeyValueAssociation.java:50) at er.extensions.components._private.ERXWORepetition.createContext(ERXWORepetition.java:416) at er.extensions.components._private.ERXWORepetition.appendToResponse(ERXWORepetition.java:573) at com.webobjects.appserver._private.WODynamicGroup.appendChildrenToResponse(WODynamicGroup.java:126) at er.ajax.AjaxUpdateContainer.appendToResponse(AjaxUpdateContainer.java:186)
No HTML escape within attributes (XSS issue)
It seems that most attributes in components are not escaped properly to avoid XSS (even with Wonder latest). Sample: XSSImage : WOImage { src = someImage.gif; alt = \scriptalert('Hi')/script; } Problem is, when that content come from a database and nothing prevents this kind of input. The question is: Is this a bug or (because of any reason) a feature? Oliver attachment: os.vcf ___ 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: Scheduling not at full hours?
As nobody seems to have an answer, could someone point me to the sources of wotaskd? Are they available? I couldn’t find them. Wonder seems to have just some classes but uses a framework that I can’t find in the source of. atze Am 26.02.2012 um 21:05 schrieb Alexander Spohr: Hi list, we have a rather large WO installation. The servers usually have a load of 4 which is pretty low for these machines. We schedule our apps every four hours. As we are running 80 instances per server 20 of them restart at the same time: 1:00 App1-Inst1 1:00 App2-Inst1 2:00 App1-Inst2 2:00 App2-Inst2 ... At that time the load goes up to 25 and the CPU utilization doubles from 30% to 60% which I don’t like. Question: can I make different apps schedule on different minutes? Example: 1:00 App1-Inst1 1:10 App2-Inst1 2:00 App1-Inst2 2:10 App2-Inst2 ... So that all instances of App1 schedule at X:00, those of App2 at X:10 and so on. This would take the massive load off the machines. atze ___ 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: Scheduling not at full hours?
Le 2012-02-28 à 07:30, Alexander Spohr a écrit : As nobody seems to have an answer, could someone point me to the sources of wotaskd? Are they available? I couldn’t find them. Wonder seems to have just some classes but uses a framework that I can’t find in the source of. The full source of wotaskd and JavaMonitor are in Wonder. https://github.com/projectwonder/wonder/tree/master/Applications/wotaskd https://github.com/projectwonder/wonder/tree/master/Applications/JavaMonitor https://github.com/projectwonder/wonder/tree/master/Frameworks/Misc/JavaMonitorFramework atze Am 26.02.2012 um 21:05 schrieb Alexander Spohr: Hi list, we have a rather large WO installation. The servers usually have a load of 4 which is pretty low for these machines. We schedule our apps every four hours. As we are running 80 instances per server 20 of them restart at the same time: 1:00 App1-Inst1 1:00 App2-Inst1 2:00 App1-Inst2 2:00 App2-Inst2 ... At that time the load goes up to 25 and the CPU utilization doubles from 30% to 60% which I don’t like. Question: can I make different apps schedule on different minutes? Example: 1:00 App1-Inst1 1:10 App2-Inst1 2:00 App1-Inst2 2:10 App2-Inst2 ... So that all instances of App1 schedule at X:00, those of App2 at X:10 and so on. This would take the massive load off the machines. atze ___ 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: Scheduling not at full hours?
wotaskd and JavaMonitor are there in Wonder, under Wonder/Applications On 2012-02-28, at 8:30 PM, Alexander Spohr wrote: As nobody seems to have an answer, could someone point me to the sources of wotaskd? Are they available? I couldn’t find them. Wonder seems to have just some classes but uses a framework that I can’t find in the source of. atze Am 26.02.2012 um 21:05 schrieb Alexander Spohr: Hi list, we have a rather large WO installation. The servers usually have a load of 4 which is pretty low for these machines. We schedule our apps every four hours. As we are running 80 instances per server 20 of them restart at the same time: 1:00 App1-Inst1 1:00 App2-Inst1 2:00 App1-Inst2 2:00 App2-Inst2 ... At that time the load goes up to 25 and the CPU utilization doubles from 30% to 60% which I don’t like. Question: can I make different apps schedule on different minutes? Example: 1:00 App1-Inst1 1:10 App2-Inst1 2:00 App1-Inst2 2:10 App2-Inst2 ... So that all instances of App1 schedule at X:00, those of App2 at X:10 and so on. This would take the massive load off the machines. atze ___ 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 smime.p7s Description: S/MIME cryptographic signature ___ 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
QualifierAdditions ?
Anyone know where the Houdah QualifierAdditions went? Thanks James ___ 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: QualifierAdditions ?
A search on Google returns: http://code.google.com/p/houdah-webobjects-frameworks/wiki/QualifierAdditions … Anyone know where the Houdah QualifierAdditions went? Thanks James ___ 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: QualifierAdditions ?
I did that too... downloaded the source from that and didn't see it in the source? - j- On Tue, Feb 28, 2012 at 8:15 AM, Pascal Robert prob...@macti.ca wrote: A search on Google returns: http://code.google.com/p/houdah-webobjects-frameworks/wiki/QualifierAdditions … Anyone know where the Houdah QualifierAdditions went? Thanks James ___ 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
WebObjects 5.3 on 10.4 compatible with OpenBase SQL 11?
Hi, I am running Webobjects from Mac OS 10.4 using OpenBase 8. Importing large txt files into the database crash the application. Is it possible to update to OpenBase 11? Or will the compatibility with Xcode 2.1 / WebObjects 5.3 break? In general it would be nice to know who is developing for Webobjects in 10.4. I read a lot about Eclipse in the mailing list but not so much about the original Webobjects/Xcode environment. Thanks for your help! Best regards, Bart ___ 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: WebObjects 5.3 on 10.4 compatible with OpenBase SQL 11?
Bart You should upgrade to the latest WO and Wonder. I know it may not be easy, but life will be much better afterwards. The rest of us are already very nervous about being left behind by Apple at 5.4+, so you're not going to get a lot of love back there on 5.3... -- Paul Yu Sent with Sparrow (http://www.sparrowmailapp.com/?sig) On Tuesday, February 28, 2012 at 11:43 AM, jazz wrote: Hi, I am running Webobjects from Mac OS 10.4 using OpenBase 8. Importing large txt files into the database crash the application. Is it possible to update to OpenBase 11? Or will the compatibility with Xcode 2.1 / WebObjects 5.3 break? In general it would be nice to know who is developing for Webobjects in 10.4. I read a lot about Eclipse in the mailing list but not so much about the original Webobjects/Xcode environment. Thanks for your help! Best regards, Bart ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com (mailto:Webobjects-dev@lists.apple.com)) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/pyu%40mac.com This email sent to p...@mac.com (mailto: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: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: WebObjects 5.3 on 10.4 compatible with OpenBase SQL 11?
Hello Paul, Is there a tutorial for updating for Mac 10.7? Thank you Catalin Cretu From: Paul Yu p...@mac.com To: jazz jazzsa...@me.com Cc: webobjects-dev@lists.apple.com Sent: Tuesday, February 28, 2012 12:12:04 PM Subject: Re: WebObjects 5.3 on 10.4 compatible with OpenBase SQL 11? Bart You should upgrade to the latest WO and Wonder. I know it may not be easy, but life will be much better afterwards. The rest of us are already very nervous about being left behind by Apple at 5.4+, so you're not going to get a lot of love back there on 5.3... -- Paul Yu Sent with Sparrow On Tuesday, February 28, 2012 at 11:43 AM, jazz wrote: Hi, I am running Webobjects from Mac OS 10.4 using OpenBase 8. Importing large txt files into the database crash the application. Is it possible to update to OpenBase 11? Or will the compatibility with Xcode 2.1 / WebObjects 5.3 break? In general it would be nice to know who is developing for Webobjects in 10.4. I read a lot about Eclipse in the mailing list but not so much about the original Webobjects/Xcode environment. Thanks for your help! Best regards, Bart ___ 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/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: https://lists.apple.com/mailman/options/webobjects-dev/catacretu%40yahoo.com This email sent to catacr...@yahoo.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: WebObjects 5.3 on 10.4 compatible with OpenBase SQL 11?
+1 to what Paul said. The connection to the database is abstracted so as long as you have the appropriate driver I don't really see where there would be a compatibility issue between a version of OpenBase and your development tools. The question is, does OpenBase 11 run on Tiger. I don't know. It does run fine on 10.6+. Tim On Feb 28, 2012, at 9:12 AM, Paul Yu p...@mac.com wrote: Bart You should upgrade to the latest WO and Wonder. I know it may not be easy, but life will be much better afterwards. The rest of us are already very nervous about being left behind by Apple at 5.4+, so you're not going to get a lot of love back there on 5.3... -- Paul Yu Sent with Sparrow On Tuesday, February 28, 2012 at 11:43 AM, jazz wrote: Hi, I am running Webobjects from Mac OS 10.4 using OpenBase 8. Importing large txt files into the database crash the application. Is it possible to update to OpenBase 11? Or will the compatibility with Xcode 2.1 / WebObjects 5.3 break? In general it would be nice to know who is developing for Webobjects in 10.4. I read a lot about Eclipse in the mailing list but not so much about the original Webobjects/Xcode environment. Thanks for your help! Best regards, Bart ___ 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/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: https://lists.apple.com/mailman/options/webobjects-dev/lists%40thetimmy.com This email sent to li...@thetimmy.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: WebObjects 5.3 on 10.4 compatible with OpenBase SQL 11?
Cretu: The instructions for installing the development tools are the same regardless of whether it is 10.6 or 10.7. http://wiki.wocommunity.org/display/WONDER/Getting+Started Tutorials for WOLips are here: http://wiki.wocommunity.org/display/WOL/Tutorials Tim On Feb 28, 2012, at 10:08 AM, Cretu Catalin catacr...@yahoo.com wrote: Hello Paul, Is there a tutorial for updating for Mac 10.7? Thank you Catalin Cretu From: Paul Yu p...@mac.com To: jazz jazzsa...@me.com Cc: webobjects-dev@lists.apple.com Sent: Tuesday, February 28, 2012 12:12:04 PM Subject: Re: WebObjects 5.3 on 10.4 compatible with OpenBase SQL 11? Bart You should upgrade to the latest WO and Wonder. I know it may not be easy, but life will be much better afterwards. The rest of us are already very nervous about being left behind by Apple at 5.4+, so you're not going to get a lot of love back there on 5.3... -- Paul Yu Sent with Sparrow On Tuesday, February 28, 2012 at 11:43 AM, jazz wrote: Hi, I am running Webobjects from Mac OS 10.4 using OpenBase 8. Importing large txt files into the database crash the application. Is it possible to update to OpenBase 11? Or will the compatibility with Xcode 2.1 / WebObjects 5.3 break? In general it would be nice to know who is developing for Webobjects in 10.4. I read a lot about Eclipse in the mailing list but not so much about the original Webobjects/Xcode environment. Thanks for your help! Best regards, Bart ___ 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/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: https://lists.apple.com/mailman/options/webobjects-dev/catacretu%40yahoo.com This email sent to catacr...@yahoo.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/lists%40thetimmy.com This email sent to li...@thetimmy.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: WebObjects 5.3 on 10.4 compatible with OpenBase SQL 11?
There were instructions on porting from Xcode to WOLips on the web, but if I were to do the project, I would: 1) Create new WOnder based Frameworks and Application. 2) Manually move the EOModel, do the eogenerate thing; move the EO business logic into the new Models framework. 3) Manually move/copy the Components into the application. I would change the WOD bindings to be OGNL inline bindings. Something like that. -- Paul Yu Sent with Sparrow (http://www.sparrowmailapp.com/?sig) On Tuesday, February 28, 2012 at 2:15 PM, Tim Worman wrote: Cretu: The instructions for installing the development tools are the same regardless of whether it is 10.6 or 10.7. http://wiki.wocommunity.org/display/WONDER/Getting+Started Tutorials for WOLips are here: http://wiki.wocommunity.org/display/WOL/Tutorials Tim On Feb 28, 2012, at 10:08 AM, Cretu Catalin catacr...@yahoo.com (mailto:catacr...@yahoo.com) wrote: Hello Paul, Is there a tutorial for updating for Mac 10.7? Thank you Catalin Cretu From: Paul Yu p...@mac.com (mailto:p...@mac.com) To: jazz jazzsa...@me.com (mailto:jazzsa...@me.com) Cc: webobjects-dev@lists.apple.com (mailto:webobjects-dev@lists.apple.com) Sent: Tuesday, February 28, 2012 12:12:04 PM Subject: Re: WebObjects 5.3 on 10.4 compatible with OpenBase SQL 11? Bart You should upgrade to the latest WO and Wonder. I know it may not be easy, but life will be much better afterwards. The rest of us are already very nervous about being left behind by Apple at 5.4+, so you're not going to get a lot of love back there on 5.3... -- Paul Yu Sent with Sparrow On Tuesday, February 28, 2012 at 11:43 AM, jazz wrote: Hi, I am running Webobjects from Mac OS 10.4 using OpenBase 8. Importing large txt files into the database crash the application. Is it possible to update to OpenBase 11? Or will the compatibility with Xcode 2.1 / WebObjects 5.3 break? In general it would be nice to know who is developing for Webobjects in 10.4. I read a lot about Eclipse in the mailing list but not so much about the original Webobjects/Xcode environment. Thanks for your help! Best regards, Bart ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com (mailto:Webobjects-dev@lists.apple.com)) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/pyu%40mac.com This email sent to p...@mac.com (mailto:p...@mac.com) ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com (mailto:Webobjects-dev@lists.apple.com)) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/catacretu%40yahoo.com This email sent to catacr...@yahoo.com (mailto:catacr...@yahoo.com) ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com (mailto:Webobjects-dev@lists.apple.com)) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/lists%40thetimmy.com This email sent to li...@thetimmy.com (mailto:li...@thetimmy.com) ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: WebObjects 5.3 on 10.4 compatible with OpenBase SQL 11?
For the OS, you will have to upgrade from 10.4 to 10.6, and after to 10.7 (you better off re-installing the OS…). For the Xcode to Eclipse migration, which the vast majority of us did, you can look at the wiki: http://wiki.wocommunity.org/display/WOL/Upgrading+to+WOLips+from+Xcode+or+Project+Builder As for OpenBase, look like it can run on 10.4. http://www.openbase.com/index.php/products/whatsnew 32-bit versions of OpenBase SQL 11 are also provided for Mac OS X 10.4 compatibility. But really, you should move to at least OS X 10.6 and use Eclipse + WOLips. You might miss WO Builder first, but you will appreciate the workflow after a couple of weeks. And Eclipse is a much better Java IDE than Xcode. Hello Paul, Is there a tutorial for updating for Mac 10.7? Thank you Catalin Cretu From: Paul Yu p...@mac.com To: jazz jazzsa...@me.com Cc: webobjects-dev@lists.apple.com Sent: Tuesday, February 28, 2012 12:12:04 PM Subject: Re: WebObjects 5.3 on 10.4 compatible with OpenBase SQL 11? Bart You should upgrade to the latest WO and Wonder. I know it may not be easy, but life will be much better afterwards. The rest of us are already very nervous about being left behind by Apple at 5.4+, so you're not going to get a lot of love back there on 5.3... -- Paul Yu Sent with Sparrow On Tuesday, February 28, 2012 at 11:43 AM, jazz wrote: Hi, I am running Webobjects from Mac OS 10.4 using OpenBase 8. Importing large txt files into the database crash the application. Is it possible to update to OpenBase 11? Or will the compatibility with Xcode 2.1 / WebObjects 5.3 break? In general it would be nice to know who is developing for Webobjects in 10.4. I read a lot about Eclipse in the mailing list but not so much about the original Webobjects/Xcode environment. Thanks for your help! Best regards, Bart ___ 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/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: https://lists.apple.com/mailman/options/webobjects-dev/catacretu%40yahoo.com This email sent to catacr...@yahoo.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/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: WebObjects 5.3 on 10.4 compatible with OpenBase SQL 11?
On Feb 28, 2012, at 11:54 AM, Tim Worman wrote: +1 to what Paul said. I'm not nervous :-) I just wish Apple would APSL the rest of the frameworks like they did with JavaWOExtensions, JavaMonitor, wotaskd, and the cgi adaptors. The connection to the database is abstracted so as long as you have the appropriate driver I don't really see where there would be a compatibility issue between a version of OpenBase and your development tools. The question is, does OpenBase 11 run on Tiger. I don't know. It does run fine on 10.6+. Tim If you are using horizontal or vertical inheritance, the OpenBase adaptor in WO 5.4 is busted. It doesn't use primaryKeyRootName when appropriate, so you end up with overlapping keys. I don't know if this was the case in WO 5.4.x. You're probably not even using entity inheritance, but I thought it worth mentioning. Ramsey On Feb 28, 2012, at 9:12 AM, Paul Yu p...@mac.com wrote: Bart You should upgrade to the latest WO and Wonder. I know it may not be easy, but life will be much better afterwards. The rest of us are already very nervous about being left behind by Apple at 5.4+, so you're not going to get a lot of love back there on 5.3... -- Paul Yu Sent with Sparrow On Tuesday, February 28, 2012 at 11:43 AM, jazz wrote: Hi, I am running Webobjects from Mac OS 10.4 using OpenBase 8. Importing large txt files into the database crash the application. Is it possible to update to OpenBase 11? Or will the compatibility with Xcode 2.1 / WebObjects 5.3 break? In general it would be nice to know who is developing for Webobjects in 10.4. I read a lot about Eclipse in the mailing list but not so much about the original Webobjects/Xcode environment. Thanks for your help! Best regards, Bart ___ 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/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: https://lists.apple.com/mailman/options/webobjects-dev/lists%40thetimmy.com This email sent to li...@thetimmy.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/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: WebObjects 5.3 on 10.4 compatible with OpenBase SQL 11?
Le 2012-02-28 à 14:48, Tim Worman a écrit : Sorry, my emails to the list were delivered out of order due to the up and down network at Starbucks. :-) That's not you, it's lists.apple.com who is delaying mail delivery, again... Tim On Feb 28, 2012, at 10:54 AM, Tim Worman li...@thetimmy.com wrote: +1 to what Paul said. The connection to the database is abstracted so as long as you have the appropriate driver I don't really see where there would be a compatibility issue between a version of OpenBase and your development tools. The question is, does OpenBase 11 run on Tiger. I don't know. It does run fine on 10.6+. Tim On Feb 28, 2012, at 9:12 AM, Paul Yu p...@mac.com wrote: Bart You should upgrade to the latest WO and Wonder. I know it may not be easy, but life will be much better afterwards. The rest of us are already very nervous about being left behind by Apple at 5.4+, so you're not going to get a lot of love back there on 5.3... -- Paul Yu Sent with Sparrow On Tuesday, February 28, 2012 at 11:43 AM, jazz wrote: Hi, I am running Webobjects from Mac OS 10.4 using OpenBase 8. Importing large txt files into the database crash the application. Is it possible to update to OpenBase 11? Or will the compatibility with Xcode 2.1 / WebObjects 5.3 break? In general it would be nice to know who is developing for Webobjects in 10.4. I read a lot about Eclipse in the mailing list but not so much about the original Webobjects/Xcode environment. Thanks for your help! Best regards, Bart ___ 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/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: https://lists.apple.com/mailman/options/webobjects-dev/lists%40thetimmy.com This email sent to li...@thetimmy.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/lists%40thetimmy.com This email sent to li...@thetimmy.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/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: Instances don't show up in Monitor and URLs do not work.
Hi Tim, Thanks for your email. Yes DNS works correctly with 'changeip -checkhostname'; put full host names in wotask and JavaMonitor Properties files; and still nothing works. This is the most frustrating part of WO on Lion Server, however, this has always just worked for us in the past. Greetings, Dennis. On 27/Feb/12 10:06 PM, Tim Worman wrote: Dennis: I recently went through this dance a bit. I set all the WOHost arguments (wotaskd, JavaMonitor) to the FQDN of the host my app was running on - not localhost. Others may disagree. I made sure DNS was working properly forward/reverse. I then launched monitor and used the button labelled Synchronize Host in the host configuration area. Tim On Feb 27, 2012, at 9:41 PM, Gaastra Dennis - WO Listswebobjects_li...@webappz.com wrote: Hi Chuck, Thanks that partially worked. To make the configs as host neutral as possible, I did: Edit File, nano /Library/WebObjects/Deployment/wotaskd.woa/Contents/Resources/Properties, added bottom two lines: WOSMTPHost = localhost WOHost = localhost Edit File, nano /Library/WebObjects/Deployment/JavaMonitor.woa/Contents/Resources/Properties, add bottom line: WOHost = localhost However, then in monitor, the instances did not work anymore at the FDN, so had to add host localhost instead, and then everything worked. However, now I cannot access monitor remotely anymore... So what would be the most host-neutral way, to get this to work. With Leopard, we never had any problems or needed to complete any settings like this. Thanks so much. Dennis On 27/Feb/12 5:17 PM, Chuck Hill wrote: That sounds like JavaMonitor and wotaskd and the instances don't have a common (or correct) WOHost name in their Properties files. Chuck On 2012-02-28, at 7:02 AM, Gaastra Dennis - WO Lists wrote: Dear List, Just upgrading several boxes to Lion Server. We applied the standard WO543 Installer and Ken's Wonder wotaskd and WOMonitor from: http://www.ksroom.com/App/WebObjects/Kisa.woa/wa/woDeploy BTW: Thanks for making this available When clicking on: http://localhost:1085/cgi-bin/WebObjects/wotaskd.woa/wa/woconfig We see our configured instances nicely listed; however, in Monitor, we all instances Off with 1 Death for each. Also, the URLs (from remotely) don't work and show: The requested application was not found on this server. However, in the application instances' log, everything starts up and stays running nicely. Also, the instances are running correctly according to ps -ax or sudo lsof -i tcp: I don't understand how to debug this; already tried the spawof...ssh, and there everything was OK. Also DNS is working correclty both ways. Another weird this is that one of the boxes works correctly every 5 reboots or so. Any ideas? Thanks for any assistance. -- With Kind Regards, Dennis Gaastra, WEBAPPZ® Systems, Inc. (+1) 604.921.1333 www.webappz.com www.scheduleDS.com www.1tracker.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/lists%40thetimmy.com This email sent to li...@thetimmy.com -- With Kind Regards, Dennis Gaastra, WEBAPPZ® Systems, Inc. (+1) 604.921.1333 www.webappz.com www.scheduleDS.com www.1tracker.com 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 ___ 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 don't show up in Monitor and URLs do not work.
Just another question. Are all these problems due to using the wonder versions, suggested in http://www.ksroom.com/App/WebObjects/Kisa.woa/wa/woDeploy and we should just have used the normal versions for Lion Server? We need to get this running soon... Thanks Dennis. On 27/Feb/12 10:24 PM, Chuck Hill wrote: On 2012-02-28, at 2:06 PM, Tim Worman wrote: Dennis: I recently went through this dance a bit. I set all the WOHost arguments (wotaskd, JavaMonitor) to the FQDN of the host my app was running on - not localhost. I use localhost for my dev machines, the canonical FQDN for deployments. Chuck Others may disagree. I made sure DNS was working properly forward/reverse. I then launched monitor and used the button labelled Synchronize Host in the host configuration area. Tim On Feb 27, 2012, at 9:41 PM, Gaastra Dennis - WO Listswebobjects_li...@webappz.com wrote: Hi Chuck, Thanks that partially worked. To make the configs as host neutral as possible, I did: Edit File, nano /Library/WebObjects/Deployment/wotaskd.woa/Contents/Resources/Properties, added bottom two lines: WOSMTPHost = localhost WOHost = localhost Edit File, nano /Library/WebObjects/Deployment/JavaMonitor.woa/Contents/Resources/Properties, add bottom line: WOHost = localhost However, then in monitor, the instances did not work anymore at the FDN, so had to add host localhost instead, and then everything worked. However, now I cannot access monitor remotely anymore... So what would be the most host-neutral way, to get this to work. With Leopard, we never had any problems or needed to complete any settings like this. Thanks so much. Dennis On 27/Feb/12 5:17 PM, Chuck Hill wrote: That sounds like JavaMonitor and wotaskd and the instances don't have a common (or correct) WOHost name in their Properties files. Chuck On 2012-02-28, at 7:02 AM, Gaastra Dennis - WO Lists wrote: Dear List, Just upgrading several boxes to Lion Server. We applied the standard WO543 Installer and Ken's Wonder wotaskd and WOMonitor from: http://www.ksroom.com/App/WebObjects/Kisa.woa/wa/woDeploy BTW: Thanks for making this available When clicking on: http://localhost:1085/cgi-bin/WebObjects/wotaskd.woa/wa/woconfig We see our configured instances nicely listed; however, in Monitor, we all instances Off with 1 Death for each. Also, the URLs (from remotely) don't work and show: The requested application was not found on this server. However, in the application instances' log, everything starts up and stays running nicely. Also, the instances are running correctly according to ps -ax or sudo lsof -i tcp: I don't understand how to debug this; already tried the spawof...ssh, and there everything was OK. Also DNS is working correclty both ways. Another weird this is that one of the boxes works correctly every 5 reboots or so. Any ideas? Thanks for any assistance. -- With Kind Regards, Dennis Gaastra, WEBAPPZ® Systems, Inc. (+1) 604.921.1333 www.webappz.com www.scheduleDS.com www.1tracker.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/lists%40thetimmy.com This email sent to li...@thetimmy.com -- With Kind Regards, Dennis Gaastra, WEBAPPZ® Systems, Inc. (+1) 604.921.1333 www.webappz.com www.scheduleDS.com www.1tracker.com 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 ___ 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: JavaMonitor wotask SSD Problem.
Hi Ken, All java tasks start, but they all don't work. Please see excerpt. mm4:Logs admin$ ps -ax | grep java 131 ?? 0:05.28 /usr/bin/java -XX:NewSize=2m -Xmx64m -Xms32m -DWORootDirectory=/System -DWOLocalRootDirectory= -DWOUserDirectory=/ -DWOEnvClassPath= -DWOApplicationClass=com.webobjects.monitor.wotaskd.Application -DWOPlatform=MacOS -Dcom.webobjects.pid=131 -classpath WOBootstrap.jar com.webobjects._bootstrap.WOBootstrap -WOPort 1085 132 ?? 0:05.80 /usr/bin/java -XX:NewSize=2m -Xmx64m -Xms32m -DWORootDirectory=/System -DWOLocalRootDirectory= -DWOUserDirectory=/ -DWOEnvClassPath= -DWOApplicationClass=com.webobjects.monitor.application.Application -DWOPlatform=MacOS -Dcom.webobjects.pid=132 -classpath WOBootstrap.jar com.webobjects._bootstrap.WOBootstrap -WOPort 56789 298 ?? 0:02.28 /usr/bin/java -XX:NewSize=2m -Xmx64m -Xms32m -DWORootDirectory=/System -DWOLocalRootDirectory= -DWOUserDirectory=/Library/WebObjects/Deployment/wotaskd.woa -DWOEnvClassPath= -DWOApplicationClass=com.webappz.bizdav.Application -DWOPlatform=MacOS -Dcom.webobjects.pid=298 -Xms1024M -Xmx1024M -classpath WOBootstrap.jar com.webobjects._bootstrap.WOBootstrap -WOHost vds4.webappz.com -WOPort 2003 -WOCachingEnabled YES -WODebuggingEnabled NO -WOOutputPath /Library/WebObjects/Logs/bizDAV_VDS/bizDAV_VDS-1 -WOAutoOpenInBrowser NO -WOAutoOpenClientApplication NO -WOLifebeatInterval 30 -WOLifebeatEnabled YES -WOLifebeatDestinationPort 1085 -WOAdaptor WODefaultAdaptor -WOWorkerThreadCount 8 -WOListenQueueSize 128 -WOWorkerThreadCountMin 16 -WOWorkerThreadCountMax 256 -NSProjectSearchPath () -WOSessionTimeOut 3600 -WOStatisticsPassword stats -WOApplicationName bizDAV_VDS -WOMonitorEnabled YES -WONoPause YES -bizDAV.variant VDS -WOFrameworksBaseURL /WebObjects/bizDAV.woa/Frameworks 450 ?? 0:02.24 /usr/bin/java -XX:NewSize=2m -Xmx64m -Xms32m -DWORootDirectory=/System -DWOLocalRootDirectory= -DWOUserDirectory=/Library/WebObjects/Deployment/wotaskd.woa -DWOEnvClassPath= -DWOApplicationClass=com.webappz.bizdav.Application -DWOPlatform=MacOS -Dcom.webobjects.pid=450 -Xms1024M -Xmx1024M -classpath WOBootstrap.jar com.webobjects._bootstrap.WOBootstrap -WOHost vds4.webappz.com -WOPort 2004 -WOCachingEnabled YES -WODebuggingEnabled NO -WOOutputPath /Library/WebObjects/Logs/bizDAV_VDS/bizDAV_VDS-2 -WOAutoOpenInBrowser NO -WOAutoOpenClientApplication NO -WOLifebeatInterval 30 -WOLifebeatEnabled YES -WOLifebeatDestinationPort 1085 -WOAdaptor WODefaultAdaptor -WOWorkerThreadCount 8 -WOListenQueueSize 128 -WOWorkerThreadCountMin 16 -WOWorkerThreadCountMax 256 -NSProjectSearchPath () -WOSessionTimeOut 3600 -WOStatisticsPassword stats -WOApplicationName bizDAV_VDS -WOMonitorEnabled YES -WONoPause YES -bizDAV.variant VDS -WOFrameworksBaseURL /WebObjects/bizDAV.woa/Frameworks 518 ttys0000:00.00 grep java On 27/Feb/12 10:41 PM, ISHIMOTO Ken wrote: Hi, It looks we have a problem with JavaMonitor and wotask, that had to be fixed. I have seen this Problem now on several Machines, and found the problem, but think about a fix. Maybe the only way is to fix the Apps Javacode itself... Test Machine was OS X Lion OS X SnowLeopard What is going on: The correctway : If the Machine starts * LaunchD starts the Database * LaunchD start JavaMonitor wotask * wotask will start the Instances * Everybody is Happy The Problem only appears if the Boot disk is a SSD Drive. * LaunchD starts the Database * LaunchD start JavaMonitor wotask BUT, JavaMonitor and wotask Launches and try to get the Network Interface for making work, the OS Networking isn't setup at that time. The Boot was to fast. Both Apps try for several time, and give up. But running. a Zombi process * wotask can't start the Instances The only way after the Launch is to go to Activity Monitor to kill both processes, LaunchD will boot both again and everybody is happy. 1. Fix 1 : LaunchD Script - I have no idea if that is possible to say launch at Boot but delayed or so 2. Fix 2 : In the javacode after retry the App and can't get a Connection kill itself, and let launchD boot it again.. Thank you Ken Ishimoto K's ROOM [E-Mail] k...@ksroom.com mailto:k...@ksroom.com [iChat:] ibase_...@mac.com mailto:ibase_...@mac.com [HP] http://www.ksroom.com/ _ This e-mail has not been scanned for viruses because it was written on an Mac, and there are NO Viruses on an Apple Computer. For further information visit http://www.apple.com
Re: Instances don't show up in Monitor and URLs do not work.
Dennis - In my experience FQDN is definitely the way to go - make sure your apps, monitor, and wotaskd all have the exact same thing. Run nslookup or similar at the command line to make sure the name resolves to the IP address of the NIC on the box, and the IP address resolves back to the name that you're using as the WOHost parameter. A handful of additional thoughts: 1) have you made sure that your adaptor config correctly has the correct hostnames and ports for the wotaskd(s) it needs to know about? What does the adaptor config page tell you about what apache thinks the world looks like? (Apologies if you already covered that... I just caught the last couple of posts). 2) have you checked your launchd boot scripts for wotaskd and monitor (if that's how you are launching them) to make sure that you don't have alternative WOHost entries in there as command line arguments? (if they aren't there already, maybe try adding them there, to make sure that the values you want are getting picked up). 3) I had an issue today (and I noticed someone else post something similar recently in connection with SSD boot drives) that wotaskd and womonitor were binding to the loopback address (only) not the ones I was asking them to - apparently because the nics weren't properly initialized at the time the apps were starting up at boot time. For me, killing the two java processes manually and allowing launchd to restart them fixed the problem. They came back up on the correct interfaces, and the IP's matched what they were expecting, and all was good. Have you tried manually killing/restarting the processes after the machine has booted up? 4) FWIW, I generally specify the WOHost for my apps as an additional command line argument in the app config in WOMonitor, rather than in the properties file. You may want to try that. I know from experience how frustrating the dance is to get things to work right, but it's generally always worked out for me, and I am deploying apps on Lion Server just fine, with the Wonder versions of monitor and wotaskd. Regards, Simon On Feb 28, 2012, at 3:26 PM, Gaastra Dennis - WO Lists wrote: Hi Tim, Thanks for your email. Yes DNS works correctly with 'changeip -checkhostname'; put full host names in wotask and JavaMonitor Properties files; and still nothing works. This is the most frustrating part of WO on Lion Server, however, this has always just worked for us in the past. Greetings, Dennis. -- Simon J. Oliver MA (Cantab.) CISSP-ISSAP, ISSMP, GWAPT, OSWP Information, Architecture Data Security Consultant Applied Information Technology Center/SBBER University of Memphis, TN Phone: 901 313 4485 Skype: SJO0923 AIM/Yahoo: simonjoliver ___ 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: JavaMonitor wotask SSD Problem.
I saw this problem (or something very much like it) today on a 2008 Mac Pro running Leopard, and not an SSD in sight... so while SSD's make it worse, it can happen in other circumstances. In what seems to me like an odd decision, given Apple's dependency on it (and hyping of it) launchd doesn't enforce dependencies. The best solution is probably that rather than launching wotaskd and womonitor directly from the launchd plist, instead call a shell script that first checks that the NICs are up, and then launches wotaskd and monitor for you. That shell script can use 'ipconfig waitall' to block until the NICs are up. I haven't done it for WO yet, but I use something similar to set up static routes on my boxes at launch time. Based on that chnk of code (which started life as http://www.macosxhints.com/article.php?story=20060329085850170 , in the routing context) , I *think* that something like this should work to start them up: #!/bin/sh # We need to trap on TERM signals, according to Apple's launchd docs: trap 'exit 1' 15 # Issue a log message so we know when we started syslog -s -l 1 WOMonitor_start: starting WOMonitor... # Use the ipconfig waitall command to wait for all the # interfaces to come up: ipconfig waitall # This is where we start WOMonitor put your WOMonitor startup command here with any command line args # Sleep for a while so Launchd won't think we never ran sleep 10 # Issue a log message so we'll know when we finished syslog -s -l 1 WOMonitor_start: Done. # Exit with a clean status exit 0 You should be able to launch that from launchd, instead of womonitor itself. Regards, Simon On Feb 28, 2012, at 4:11 PM, Gaastra Dennis - WO Lists wrote: Hi Ken, All java tasks start, but they all don't work. Please see excerpt. mm4:Logs admin$ ps -ax | grep java 131 ?? 0:05.28 /usr/bin/java -XX:NewSize=2m -Xmx64m -Xms32m -DWORootDirectory=/System -DWOLocalRootDirectory= -DWOUserDirectory=/ -DWOEnvClassPath= -DWOApplicationClass=com.webobjects.monitor.wotaskd.Application -DWOPlatform=MacOS -Dcom.webobjects.pid=131 -classpath WOBootstrap.jar com.webobjects._bootstrap.WOBootstrap -WOPort 1085 132 ?? 0:05.80 /usr/bin/java -XX:NewSize=2m -Xmx64m -Xms32m -DWORootDirectory=/System -DWOLocalRootDirectory= -DWOUserDirectory=/ -DWOEnvClassPath= -DWOApplicationClass=com.webobjects.monitor.application.Application -DWOPlatform=MacOS -Dcom.webobjects.pid=132 -classpath WOBootstrap.jar com.webobjects._bootstrap.WOBootstrap -WOPort 56789 298 ?? 0:02.28 /usr/bin/java -XX:NewSize=2m -Xmx64m -Xms32m -DWORootDirectory=/System -DWOLocalRootDirectory= -DWOUserDirectory=/Library/WebObjects/Deployment/wotaskd.woa -DWOEnvClassPath= -DWOApplicationClass=com.webappz.bizdav.Application -DWOPlatform=MacOS -Dcom.webobjects.pid=298 -Xms1024M -Xmx1024M -classpath WOBootstrap.jar com.webobjects._bootstrap.WOBootstrap -WOHost vds4.webappz.comhttp://vds4.webappz.com -WOPort 2003 -WOCachingEnabled YES -WODebuggingEnabled NO -WOOutputPath /Library/WebObjects/Logs/bizDAV_VDS/bizDAV_VDS-1 -WOAutoOpenInBrowser NO -WOAutoOpenClientApplication NO -WOLifebeatInterval 30 -WOLifebeatEnabled YES -WOLifebeatDestinationPort 1085 -WOAdaptor WODefaultAdaptor -WOWorkerThreadCount 8 -WOListenQueueSize 128 -WOWorkerThreadCountMin 16 -WOWorkerThreadCountMax 256 -NSProjectSearchPath () -WOSessionTimeOut 3600 -WOStatisticsPassword stats -WOApplicationName bizDAV_VDS -WOMonitorEnabled YES -WONoPause YES -bizDAV.variant VDS -WOFrameworksBaseURL /WebObjects/bizDAV.woa/Frameworks 450 ?? 0:02.24 /usr/bin/java -XX:NewSize=2m -Xmx64m -Xms32m -DWORootDirectory=/System -DWOLocalRootDirectory= -DWOUserDirectory=/Library/WebObjects/Deployment/wotaskd.woa -DWOEnvClassPath= -DWOApplicationClass=com.webappz.bizdav.Application -DWOPlatform=MacOS -Dcom.webobjects.pid=450 -Xms1024M -Xmx1024M -classpath WOBootstrap.jar com.webobjects._bootstrap.WOBootstrap -WOHost vds4.webappz.comhttp://vds4.webappz.com -WOPort 2004 -WOCachingEnabled YES -WODebuggingEnabled NO -WOOutputPath /Library/WebObjects/Logs/bizDAV_VDS/bizDAV_VDS-2 -WOAutoOpenInBrowser NO -WOAutoOpenClientApplication NO -WOLifebeatInterval 30 -WOLifebeatEnabled YES -WOLifebeatDestinationPort 1085 -WOAdaptor WODefaultAdaptor -WOWorkerThreadCount 8 -WOListenQueueSize 128 -WOWorkerThreadCountMin 16 -WOWorkerThreadCountMax 256 -NSProjectSearchPath () -WOSessionTimeOut 3600 -WOStatisticsPassword stats -WOApplicationName bizDAV_VDS -WOMonitorEnabled YES -WONoPause YES -bizDAV.variant VDS -WOFrameworksBaseURL /WebObjects/bizDAV.woa/Frameworks 518 ttys0000:00.00 grep java On 27/Feb/12 10:41 PM, ISHIMOTO Ken wrote: Hi, It looks we have a problem with JavaMonitor and wotask, that had to be fixed. I have seen this Problem now on several Machines, and found the problem, but think about a fix. Maybe the only way is to fix the Apps Javacode itself... Test Machine was OS X Lion OS X SnowLeopard
Re: Instances don't show up in Monitor and URLs do not work.
Hi Simon et al, Thanks for your insightful response. Please see my comments inside: On 28/Feb/12 5:09 PM, Simon J Oliver (sjoliver) wrote: Dennis - In my experience FQDN is definitely the way to go - make sure your apps, monitor, and wotaskd all have the exact same thing. JavaMonitor: - In File Properties, we added a line: WOHost = vds4.webappz.com - In its log, womonitor.log, we read back WOHost=vds4.webappz.com - also in the log, we see WOAdaptorURL=http://localhost/cgi-bin/WebObjects; is this wrong? wotaskd: - Resources, we added a line: WOHost = vds4.webappz.com - In its log, womonitor.log, we read back WOHost=vds4.webappz.com - also in the log, we see WOAdaptorURL=http://localhost/cgi-bin/WebObjects; is this wrong? the appz: - we see that WOHost is added, when doing a ps -ax | grep java: 298 ?? 0:02.34 /usr/bin/java -XX:NewSize=2m -Xmx64m -Xms32m -DWORootDirectory=/System -DWOLocalRootDirectory= -DWOUserDirectory=/Library/WebObjects/Deployment/wotaskd.woa -DWOEnvClassPath= -DWOApplicationClass=com.webappz.bizdav.Application -DWOPlatform=MacOS -Dcom.webobjects.pid=298 -Xms1024M -Xmx1024M -classpath WOBootstrap.jar com.webobjects._bootstrap.WOBootstrap *-WOHost vds4.webappz.com* -WOPort 2003 -WOCachingEnabled YES -WODebuggingEnabled NO -WOOutputPath /Library/WebObjects/Logs/bizDAV_VDS/bizDAV_VDS-1 -WOAutoOpenInBrowser NO -WOAutoOpenClientApplication NO -WOLifebeatInterval 30 -WOLifebeatEnabled YES -WOLifebeatDestinationPort 1085 -WOAdaptor WODefaultAdaptor -WOWorkerThreadCount 8 -WOListenQueueSize 128 -WOWorkerThreadCountMin 16 -WOWorkerThreadCountMax 256 -NSProjectSearchPath () -WOSessionTimeOut 3600 -WOStatisticsPassword stats -WOApplicationName bizDAV_VDS -WOMonitorEnabled YES -WONoPause YES -bizDAV.variant VDS -WOFrameworksBaseURL /WebObjects/bizDAV.woa/Frameworks Run nslookup or similar at the command line to make sure the name resolves to the IP address of the NIC on the box, and the IP address resolves back to the name that you're using as the WOHost parameter. bash-3.2# changeip -checkhostname Primary address = 10.5.1.204 Current HostName= vds4.webappz.com DNS HostName= vds4.webappz.com The names match. There is nothing to change. dirserv:success = success A handful of additional thoughts: 1) have you made sure that your adaptor config correctly has the correct hostnames and ports for the wotaskd(s) it needs to know about? What does the adaptor config page tell you about what apache thinks the world looks like? (Apologies if you already covered that... I just caught the last couple of posts). I am not quite sure about this; where these can be set? Doing http://vds4:1085/cgi-bin/WebObjects/wotaskd.woa/wa/woconfig shows: adaptorapplication name=bizDAV_VDS scheduler=ROUNDROBIN urlVersion=4instance id=1 port=2003 host=vds4.webappz.com sendTimeout=300 recvTimeout=300 cnctTimeout=300/instance id=2 port=2004 host=vds4.webappz.com sendTimeout=300 recvTimeout=300 cnctTimeout=300//application/adaptor 2) have you checked your launchd boot scripts for wotaskd and monitor (if that's how you are launching them) to make sure that you don't have alternative WOHost entries in there as command line arguments? (if they aren't there already, maybe try adding them there, to make sure that the values you want are getting picked up). Please see above, we set them in the Properties. 3) I had an issue today (and I noticed someone else post something similar recently in connection with SSD boot drives) that wotaskd and womonitor were binding to the loopback address (only) not the ones I was asking them to - apparently because the nics weren't properly initialized at the time the apps were starting up at boot time. Yes, that was us too; we only use SSDs for deployment. Restarting wotaskd and JavaMonitor still comes up with the famous The requested application was not found on this server. For me, killing the two java processes manually and allowing launchd to restart them fixed the problem. Exactly but still; The requested application was not found on this server. They came back up on the correct interfaces, and the IP's matched what they were expecting, and all was good. Have you tried manually killing/restarting the processes after the machine has booted up? Yes; yes 4) FWIW, I generally specify the WOHost for my apps as an additional command line argument in the app config in WOMonitor, rather than in the properties file. You may want to try that. Tried that, it just showed up twice per instance that way, in the ps -ax | grep java; and did not help. Apparently, monitor added it already I know from experience how frustrating the dance is to get things to work right, but it's generally always worked out for me, and I am deploying apps on Lion Server just fine, with the Wonder versions of monitor and wotaskd. We also got the newest: _appserver _appserveradm 337112 20 Feb 17:44 mod_WebObjects.so So why
Re: Instances don't show up in Monitor and URLs do not work.
Dennis - In your apache config file you should be including a line similar to: Include /System/Library/WebObjects/Adaptors/Apache/apache.conf In that file that is referenced is where the apache adaptor gets configured: that's where you tell apache where to find the wotaskd's its talking to. Take a look at the WebObjectsConfig line in there, to see what it's trying to talk to. It should be something like: WebObjectsConfig http://hostname:1085 10 (I have localhost in there, and it seems to work - I'd try the FQDN in your case). Simon On Feb 28, 2012, at 8:24 PM, Gaastra Dennis - WO Lists wrote: Hi Simon et al, Thanks for your insightful response. Please see my comments inside: On 28/Feb/12 5:09 PM, Simon J Oliver (sjoliver) wrote: Dennis - In my experience FQDN is definitely the way to go - make sure your apps, monitor, and wotaskd all have the exact same thing. JavaMonitor: - In File Properties, we added a line: WOHost = vds4.webappz.comhttp://vds4.webappz.com - In its log, womonitor.log, we read back WOHost=vds4.webappz.com - also in the log, we see WOAdaptorURL=http://localhost/cgi-bin/WebObjects; is this wrong? wotaskd: - Resources, we added a line: WOHost = vds4.webappz.comhttp://vds4.webappz.com - In its log, womonitor.log, we read back WOHost=vds4.webappz.com - also in the log, we see WOAdaptorURL=http://localhost/cgi-bin/WebObjects; is this wrong? the appz: - we see that WOHost is added, when doing a ps -ax | grep java: 298 ?? 0:02.34 /usr/bin/java -XX:NewSize=2m -Xmx64m -Xms32m -DWORootDirectory=/System -DWOLocalRootDirectory= -DWOUserDirectory=/Library/WebObjects/Deployment/wotaskd.woa -DWOEnvClassPath= -DWOApplicationClass=com.webappz.bizdav.Application -DWOPlatform=MacOS -Dcom.webobjects.pid=298 -Xms1024M -Xmx1024M -classpath WOBootstrap.jar com.webobjects._bootstrap.WOBootstrap -WOHost vds4.webappz.comhttp://vds4.webappz.com -WOPort 2003 -WOCachingEnabled YES -WODebuggingEnabled NO -WOOutputPath /Library/WebObjects/Logs/bizDAV_VDS/bizDAV_VDS-1 -WOAutoOpenInBrowser NO -WOAutoOpenClientApplication NO -WOLifebeatInterval 30 -WOLifebeatEnabled YES -WOLifebeatDestinationPort 1085 -WOAdaptor WODefaultAdaptor -WOWorkerThreadCount 8 -WOListenQueueSize 128 -WOWorkerThreadCountMin 16 -WOWorkerThreadCountMax 256 -NSProjectSearchPath () -WOSessionTimeOut 3600 -WOStatisticsPassword stats -WOApplicationName bizDAV_VDS -WOMonitorEnabled YES -WONoPause YES -bizDAV.variant VDS -WOFrameworksBaseURL /WebObjects/bizDAV.woa/Frameworks Run nslookup or similar at the command line to make sure the name resolves to the IP address of the NIC on the box, and the IP address resolves back to the name that you're using as the WOHost parameter. bash-3.2# changeip -checkhostname Primary address = 10.5.1.204 Current HostName= vds4.webappz.comhttp://vds4.webappz.com DNS HostName= vds4.webappz.comhttp://vds4.webappz.com The names match. There is nothing to change. dirserv:success = success A handful of additional thoughts: 1) have you made sure that your adaptor config correctly has the correct hostnames and ports for the wotaskd(s) it needs to know about? What does the adaptor config page tell you about what apache thinks the world looks like? (Apologies if you already covered that... I just caught the last couple of posts). I am not quite sure about this; where these can be set? Doing http://vds4:1085/cgi-bin/WebObjects/wotaskd.woa/wa/woconfig shows: adaptorapplication name=bizDAV_VDS scheduler=ROUNDROBIN urlVersion=4instance id=1 port=2003 host=vds4.webappz.comhttp://vds4.webappz.com sendTimeout=300 recvTimeout=300 cnctTimeout=300/instance id=2 port=2004 host=vds4.webappz.comhttp://vds4.webappz.com sendTimeout=300 recvTimeout=300 cnctTimeout=300//application/adaptor 2) have you checked your launchd boot scripts for wotaskd and monitor (if that's how you are launching them) to make sure that you don't have alternative WOHost entries in there as command line arguments? (if they aren't there already, maybe try adding them there, to make sure that the values you want are getting picked up). Please see above, we set them in the Properties. 3) I had an issue today (and I noticed someone else post something similar recently in connection with SSD boot drives) that wotaskd and womonitor were binding to the loopback address (only) not the ones I was asking them to - apparently because the nics weren't properly initialized at the time the apps were starting up at boot time. Yes, that was us too; we only use SSDs for deployment. Restarting wotaskd and JavaMonitor still comes up with the famous The requested application was not found on this server. For me, killing the two java processes manually and allowing launchd to restart them fixed the problem. Exactly but still; The requested application was not found on this server. They came back up on the correct interfaces, and the IP's matched what they were expecting, and all was
Re: Instances don't show up in Monitor and URLs do not work.
Actually, in my haste I was looking at the wrong version of the config file... I can confirm that I am using FQDN in the WebObjectsConfig line to make it work. On Feb 28, 2012, at 8:32 PM, Simon Oliver wrote: Dennis - In your apache config file you should be including a line similar to: Include /System/Library/WebObjects/Adaptors/Apache/apache.conf In that file that is referenced is where the apache adaptor gets configured: that's where you tell apache where to find the wotaskd's its talking to. Take a look at the WebObjectsConfig line in there, to see what it's trying to talk to. It should be something like: WebObjectsConfig http://hostname:1085 10 (I have localhost in there, and it seems to work - I'd try the FQDN in your case). Simon -- Simon J. Oliver MA (Cantab.) CISSP-ISSAP, ISSMP, GWAPT, OSWP Information, Architecture Data Security Consultant Applied Information Technology Center/SBBER University of Memphis, TN Phone: 901 313 4485 Skype: SJO0923 AIM/Yahoo: simonjoliver ___ 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 don't show up in Monitor and URLs do not work.
Hi Simon, Yes, you are bang on! That did the trick for the classic error. Thanks. Is it true that Lion Server is more finicky so that we must do all these extra steps? Now back to that start-up issue... Thanks Dennis. On 28/Feb/12 6:45 PM, Simon J Oliver (sjoliver) wrote: Actually, in my haste I was looking at the wrong version of the config file... I can confirm that I am using FQDN in the WebObjectsConfig line to make it work. On Feb 28, 2012, at 8:32 PM, Simon Oliver wrote: Dennis - In your apache config file you should be including a line similar to: Include /System/Library/WebObjects/Adaptors/Apache/apache.conf In that file that is referenced is where the apache adaptor gets configured: that's where you tell apache where to find the wotaskd's its talking to. Take a look at the WebObjectsConfig line in there, to see what it's trying to talk to. It should be something like: WebObjectsConfig http://hostname:1085 10 (I have localhost in there, and it seems to work - I'd try the FQDN in your case). Simon -- *Simon J. Oliver * /MA (Cantab.)/ /CISSP-ISSAP, ISSMP, GWAPT, OSWP/ *Information, Architecture Data Security Consultant* /Applied Information Technology Center/SBBER/ /University of Memphis, TN/ Phone:*901 313 4485* Skype:SJO0923 AIM/Yahoo:simonjoliver -- With Kind Regards, Dennis Gaastra, WEBAPPZ® Systems, Inc. (+1) 604.921.1333 www.webappz.com www.scheduleDS.com www.1tracker.com 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 ___ 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 don't show up in Monitor and URLs do not work.
Dennis - some further thoughts below On Feb 28, 2012, at 8:24 PM, Gaastra Dennis - WO Lists wrote: 1) have you made sure that your adaptor config correctly has the correct hostnames and ports for the wotaskd(s) it needs to know about? What does the adaptor config page tell you about what apache thinks the world looks like? (Apologies if you already covered that... I just caught the last couple of posts). I am not quite sure about this; where these can be set? As explained in more detail in my previous response, this stuff gets set in the Apache WO config file which typically lives somewhere like: /System/Library/WebObjects/Adaptors/Apache/apache.conf That file also allows you to set an adaptor info password, so that you can see what apache thinks are the available apps via a url along the lines of: http://webserver/cgi-bin/WebObjects/WOAdaptorInfo?user+password (The apache.conf explains this). If you look at that,you can see whether mod_webobjects is talking to your wotaskd. It sounds like it isn't. 2) have you checked your launchd boot scripts for wotaskd and monitor (if that's how you are launching them) to make sure that you don't have alternative WOHost entries in there as command line arguments? (if they aren't there already, maybe try adding them there, to make sure that the values you want are getting picked up). Please see above, we set them in the Properties. That's fine - my point was mostly just to double check that there isn't something set on the command line in the plist that's overriding what you think you have in the Properties. However, it sounds like you're running into the SSD/NIC issue in the first instance. Manually restarting the processes *might* be fixing that bit - but then if I had to guess I'd say that the apache.conf file has a problem that stops mod_webobjects talkign to wotaskd , so you still get the 'The requested application was not found on this server' error. 3) I had an issue today (and I noticed someone else post something similar recently in connection with SSD boot drives) that wotaskd and womonitor were binding to the loopback address (only) not the ones I was asking them to - apparently because the nics weren't properly initialized at the time the apps were starting up at boot time. Yes, that was us too; we only use SSDs for deployment. Restarting wotaskd and JavaMonitor still comes up with the famous The requested application was not found on this server. Once you've restarted them, compare what the wotaskd/woconfig thinks the situation is, compared to what the WOAdaptorInfo page thinks is going on. If the instances are running, and wotaskd sees them... then the focus should be on Apache, I think, as the source of your problems. For me, killing the two java processes manually and allowing launchd to restart them fixed the problem. Exactly but still; The requested application was not found on this server. They came back up on the correct interfaces, and the IP's matched what they were expecting, and all was good. Have you tried manually killing/restarting the processes after the machine has booted up? Yes; yes 4) FWIW, I generally specify the WOHost for my apps as an additional command line argument in the app config in WOMonitor, rather than in the properties file. You may want to try that. Tried that, it just showed up twice per instance that way, in the ps -ax | grep java; and did not help. Apparently, monitor added it already I know from experience how frustrating the dance is to get things to work right, but it's generally always worked out for me, and I am deploying apps on Lion Server just fine, with the Wonder versions of monitor and wotaskd. We also got the newest: _appserver _appserveradm 337112 20 Feb 17:44 mod_WebObjects.so That seems to be the version I'm using on Lion - same size at least. So why does this still not work; maybe I am missing something else? Thanks for any further help Dennis Regards, Simon -- With Kind Regards, Dennis Gaastra, WEBAPPZ® Systems, Inc. (+1) 604.921.1333 www.webappz.comhttp://www.webappz.com/ www.scheduleDS.comhttp://www.scheduleDS.com/ www.1tracker.comhttp://www.1tracker.com/ 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 -
Re: Instances don't show up in Monitor and URLs do not work.
Glad to help; I don't know that it's Lion per se causing the start-up thing. My Lion servers have been fine, and as I mentioned in the other thread, I saw it today with Leopard :-) If you try the 'ipconfig waitall' thing, let me know if it solves the problem. Simon On Feb 28, 2012, at 8:51 PM, Gaastra Dennis - WO Lists wrote: Hi Simon, Yes, you are bang on! That did the trick for the classic error. Thanks. Is it true that Lion Server is more finicky so that we must do all these extra steps? Now back to that start-up issue... Thanks Dennis. On 28/Feb/12 6:45 PM, Simon J Oliver (sjoliver) wrote: Actually, in my haste I was looking at the wrong version of the config file... I can confirm that I am using FQDN in the WebObjectsConfig line to make it work. On Feb 28, 2012, at 8:32 PM, Simon Oliver wrote: Dennis - In your apache config file you should be including a line similar to: Include /System/Library/WebObjects/Adaptors/Apache/apache.conf In that file that is referenced is where the apache adaptor gets configured: that's where you tell apache where to find the wotaskd's its talking to. Take a look at the WebObjectsConfig line in there, to see what it's trying to talk to. It should be something like: WebObjectsConfig http://http:/hostname:1085 10 (I have localhost in there, and it seems to work - I'd try the FQDN in your case). Simon -- Simon J. Oliver MA (Cantab.) CISSP-ISSAP, ISSMP, GWAPT, OSWP Information, Architecture Data Security Consultant Applied Information Technology Center/SBBER University of Memphis, TN Phone: 901 313 4485 Skype: SJO0923 AIM/Yahoo: simonjoliver -- With Kind Regards, Dennis Gaastra, WEBAPPZ® Systems, Inc. (+1) 604.921.1333 www.webappz.comhttp://www.webappz.com/ www.scheduleDS.comhttp://www.scheduleDS.com/ www.1tracker.comhttp://www.1tracker.com/ 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.comhttp://www.webappz.com/ -- Simon J. Oliver MA (Cantab.) CISSP-ISSAP, ISSMP, GWAPT, OSWP Information, Architecture Data Security Consultant Applied Information Technology Center/SBBER University of Memphis, TN Phone: 901 313 4485 Skype: SJO0923 AIM/Yahoo: simonjoliver ___ 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: JavaMonitor wotask SSD Problem.
All three of wotaskd, java monitor, and your apps need to agree on WOHost On Feb 29, 2012, at 8:52 AM, Gaastra Dennis - WO Lists webobjects_li...@webappz.com wrote: Hi Ken et al, After restarting the launchdaemons, Monitor seems to be happy with its instances showing as running, but we still get the famous The requested application was not found on this server. Thanks Dennis. On 27/Feb/12 10:41 PM, ISHIMOTO Ken wrote: Hi, It looks we have a problem with JavaMonitor and wotask, that had to be fixed. I have seen this Problem now on several Machines, and found the problem, but think about a fix. Maybe the only way is to fix the Apps Javacode itself... Test Machine was OS X Lion OS X SnowLeopard What is going on: The correctway : If the Machine starts * LaunchD starts the Database * LaunchD start JavaMonitor wotask * wotask will start the Instances * Everybody is Happy The Problem only appears if the Boot disk is a SSD Drive. * LaunchD starts the Database * LaunchD start JavaMonitor wotask BUT, JavaMonitor and wotask Launches and try to get the Network Interface for making work, the OS Networking isn't setup at that time. The Boot was to fast. Both Apps try for several time, and give up. But running. a Zombi process * wotask can't start the Instances The only way after the Launch is to go to Activity Monitor to kill both processes, LaunchD will boot both again and everybody is happy. 1. Fix 1 : LaunchD Script - I have no idea if that is possible to say launch at Boot but delayed or so 2. Fix 2 : In the javacode after retry the App and can't get a Connection kill itself, and let launchD boot it again.. Thank you Ken Ishimoto K's ROOM [E-Mail] k...@ksroom.com [iChat:] ibase_...@mac.com [HP] http://www.ksroom.com/ _ This e-mail has not been scanned for viruses because it was written on an Mac, and there are NO Viruses on an Apple Computer. For further information visit http://www.apple.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/webobjects_lists%40webappz.com This email sent to webobjects_li...@webappz.com -- With Kind Regards, Dennis Gaastra, WEBAPPZ® Systems, Inc. (+1) 604.921.1333 www.webappz.com www.scheduleDS.com www.1tracker.com 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 ___ 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 ___ 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: JavaMonitor wotask SSD Problem.
and the webobjects apache configuration WebObjectsConfig http://hostname:1085 10 On 28/Feb/12 7:49 PM, Chuck Hill wrote: All three of wotaskd, java monitor, and your apps need to agree on WOHost On Feb 29, 2012, at 8:52 AM, Gaastra Dennis - WO Lists webobjects_li...@webappz.com mailto:webobjects_li...@webappz.com wrote: Hi Ken et al, After restarting the launchdaemons, Monitor seems to be happy with its instances showing as running, but we still get the famous The requested application was not found on this server. Thanks Dennis. On 27/Feb/12 10:41 PM, ISHIMOTO Ken wrote: Hi, It looks we have a problem with JavaMonitor and wotask, that had to be fixed. I have seen this Problem now on several Machines, and found the problem, but think about a fix. Maybe the only way is to fix the Apps Javacode itself... Test Machine was OS X Lion OS X SnowLeopard What is going on: The correctway : If the Machine starts * LaunchD starts the Database * LaunchD start JavaMonitor wotask * wotask will start the Instances * Everybody is Happy The Problem only appears if the Boot disk is a SSD Drive. * LaunchD starts the Database * LaunchD start JavaMonitor wotask BUT, JavaMonitor and wotask Launches and try to get the Network Interface for making work, the OS Networking isn't setup at that time. The Boot was to fast. Both Apps try for several time, and give up. But running. a Zombi process * wotask can't start the Instances The only way after the Launch is to go to Activity Monitor to kill both processes, LaunchD will boot both again and everybody is happy. 1. Fix 1 : LaunchD Script - I have no idea if that is possible to say launch at Boot but delayed or so 2. Fix 2 : In the javacode after retry the App and can't get a Connection kill itself, and let launchD boot it again.. Thank you Ken Ishimoto K's ROOM [E-Mail] k...@ksroom.com mailto:k...@ksroom.com [iChat:] ibase_...@mac.com mailto:ibase_...@mac.com [HP] http://www.ksroom.com/ _ This e-mail has not been scanned for viruses because it was written on an Mac, and there are NO Viruses on an Apple Computer. For further information visit http://www.apple.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/webobjects_lists%40webappz.com This email sent towebobjects_li...@webappz.com -- With Kind Regards, Dennis Gaastra, WEBAPPZ® Systems, Inc. (+1) 604.921.1333 www.webappz.comwww.scheduleDS.comwww.1tracker.com 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 ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com mailto: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 mailto:ch...@global-village.net -- With Kind Regards, Dennis Gaastra, WEBAPPZ® Systems, Inc. (+1) 604.921.1333 www.webappz.com www.scheduleDS.com www.1tracker.com 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
Re: Instances don't show up in Monitor and URLs do not work.
Thanks Basically, we need to kill both processes and /usr/sbin/apachectl restart to get it to work. It would be nice if it was automated. We'll try the ipconfig thing later. Thanks Dennis. On 28/Feb/12 6:56 PM, Simon J Oliver (sjoliver) wrote: Glad to help; I don't know that it's Lion per se causing the start-up thing. My Lion servers have been fine, and as I mentioned in the other thread, I saw it today with Leopard :-) If you try the 'ipconfig waitall' thing, let me know if it solves the problem. Simon On Feb 28, 2012, at 8:51 PM, Gaastra Dennis - WO Lists wrote: Hi Simon, Yes, you are bang on! That did the trick for the classic error. Thanks. Is it true that Lion Server is more finicky so that we must do all these extra steps? Now back to that start-up issue... Thanks Dennis. On 28/Feb/12 6:45 PM, Simon J Oliver (sjoliver) wrote: Actually, in my haste I was looking at the wrong version of the config file... I can confirm that I am using FQDN in the WebObjectsConfig line to make it work. On Feb 28, 2012, at 8:32 PM, Simon Oliver wrote: Dennis - In your apache config file you should be including a line similar to: Include /System/Library/WebObjects/Adaptors/Apache/apache.conf In that file that is referenced is where the apache adaptor gets configured: that's where you tell apache where to find the wotaskd's its talking to. Take a look at the WebObjectsConfig line in there, to see what it's trying to talk to. It should be something like: WebObjectsConfig http://hostname:1085 10 (I have localhost in there, and it seems to work - I'd try the FQDN in your case). Simon -- *Simon J. Oliver * /MA (Cantab.)/ /CISSP-ISSAP, ISSMP, GWAPT, OSWP/ *Information, Architecture Data Security Consultant* /Applied Information Technology Center/SBBER/ /University of Memphis, TN/ Phone:*901 313 4485* Skype:SJO0923 AIM/Yahoo:simonjoliver -- With Kind Regards, Dennis Gaastra, WEBAPPZ® Systems, Inc. (+1) 604.921.1333 www.webappz.comwww.scheduleDS.comwww.1tracker.com 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 -- *Simon J. Oliver * /MA (Cantab.)/ /CISSP-ISSAP, ISSMP, GWAPT, OSWP/ *Information, Architecture Data Security Consultant* /Applied Information Technology Center/SBBER/ /University of Memphis, TN/ Phone:*901 313 4485* Skype:SJO0923 AIM/Yahoo:simonjoliver -- With Kind Regards, Dennis Gaastra, WEBAPPZ® Systems, Inc. (+1) 604.921.1333 www.webappz.com www.scheduleDS.com www.1tracker.com 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 ___ 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