From chad at shadowbase.com Wed Aug 1 11:23:44 2007 From: chad at shadowbase.com (Chad Pilkington) Date: Wed Aug 1 11:44:23 2007 Subject: JavaMonitor cannot see that apps have started Message-ID: I have an OSX Server (10.4) where everything was working fine. We just did all the latest greatest updates (new Java version, new WebObjects deployment version) and now the JavaMonitor can't seem to start the applications any more. Except, the apps are started but the monitor ust doesn't think they are. It records a death but oddly enough doesn't try to start them again even when auto restart is on. When I launch the application by double clicking on it in Finder the app bounces on the tast bar for a long time before stopping. It doesn't have the little arrow under it as it as if it was just a shortcut to an non started app. But, when I open the consol and cut and past the url with port from it the app is running and I can log in. Any help would be appreciated. The apps were compiled on OSX (not server) that doesn't have the 10.4 release 5 java version on it. From yamuna.vallipuram at usit.uio.no Thu Aug 9 04:12:06 2007 From: yamuna.vallipuram at usit.uio.no (Yamuna Vallipuram) Date: Thu Aug 9 04:13:06 2007 Subject: WO form and multiple submit buttons In-Reply-To: <3986.129.240.93.34.1186656618.squirrel@webmail.uio.no> References: <3986.129.240.93.34.1186656618.squirrel@webmail.uio.no> Message-ID: <7E72F687-ADE8-45BE-8F15-3982049F6B42@usit.uio.no> Hi! I am having problems with submitting a button in a WO form. The WO form is bound to a Direct Action and it consists of two submit buttons. One is bound to a search action (the same Direct Action as the form) and the other one nullifies the input variables (a kind of reset action- this action method is defined in the components java file). The multipleSubmit is set to true in WO form bindings. When the "search" button is clicked it works well. But the "Reset" button does seems to call the same action as the WO form. How do I get the reset button to invoke the reset action defined in the components java file instead? Any help would be highly appreciated. regards Yamuna Bindings of the WO form looks like this Form3: WOForm { multipleSubmit = true; actionClass = "DirectAction"; ?modus = "sok"; directActionName = "presentasjonSok"; method = "get"; ?type = presentasjonstype.presentasjonstypeKode; ?sted = sokSted.stedkode; ?inst = sokInstitusjon.institusjonsnr; } when I click on the nullify button the url looks like this http://edderkopp:7100/as/WebObjects/frida.woa/wa/presentasjonSok? pord=Yamuna +Vallipuram&kjonn=Begge&eord=&nullstillknapp=Nullstill&modus=sok&type=PE RSON&inst=185 From werner at isd.uni-stuttgart.de Sat Aug 11 07:32:35 2007 From: werner at isd.uni-stuttgart.de (Johann Werner) Date: Sat Aug 11 07:41:39 2007 Subject: WO form and multiple submit buttons In-Reply-To: <7E72F687-ADE8-45BE-8F15-3982049F6B42@usit.uio.no> References: <3986.129.240.93.34.1186656618.squirrel@webmail.uio.no> <7E72F687-ADE8-45BE-8F15-3982049F6B42@usit.uio.no> Message-ID: <143AC37E-3F23-4FCA-B4D3-812C822F3DAE@isd.uni-stuttgart.de> Hi Yamuna, the behaviour you describe is quite simple to explain: you have set a directActionName in you WOForm bindings. That means that this is the default behaviour of your form. This is ok as long as you want only one action to be called when clicking on one submit button (regardless of which if there are more than one) inside the WOForm. But as in your example you want two different actions to be fired you have to move these bindings to your corresponding submit buttons and leaving only multipleSubmit = true inside the WOForm. Your bindings should then be: Form3 : WOForm { multipleSubmit = true; } SearchButton : WOSubmitButton { directActionName = doMySearch; ?additionalBindings = thatNeedToBeAppendedForSearch; } ResetButton : WOSubmitButton { directActionName = doMyReset; ?additionalBindings = thatNeedToBeAppendedForReset; } The binding actionClass = "DirectAction" is not really necessary as long as your direct actions are all in the default DirectAction class. jw Am 09.08.2007 um 13:12 schrieb Yamuna Vallipuram: > Hi! > > I am having problems with submitting a button in a WO form. The WO > form is > bound to a Direct Action and it consists of two submit buttons. One is > bound to a search action (the same Direct Action as the form) and the > other one nullifies the input variables (a kind of reset action- this > action method is defined in the components java file). The > multipleSubmit > is set to true in WO form bindings. > > When the "search" button is clicked it works well. But the "Reset" > button > does seems to call the same action as the WO form. > > How do I get the reset button to invoke the reset action defined in > the > components java file instead? > > Any help would be highly appreciated. > > regards > Yamuna > > Bindings of the WO form looks like this > > Form3: WOForm { > multipleSubmit = true; > actionClass = "DirectAction"; > ?modus = "sok"; > directActionName = "presentasjonSok"; > method = "get"; > ?type = presentasjonstype.presentasjonstypeKode; > ?sted = sokSted.stedkode; > ?inst = sokInstitusjon.institusjonsnr; > } > > when I click on the nullify button the url looks like this > http://edderkopp:7100/as/WebObjects/frida.woa/wa/presentasjonSok? > pord=Yamuna > +Vallipuram&kjonn=Begge&eord=&nullstillknapp=Nullstill&modus=sok&type= > PERSON&inst=185 > > > _______________________________________________ > WebObjects-dev mailing list > WebObjects-dev@omnigroup.com > http://www.omnigroup.com/mailman/listinfo/webobjects-dev -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2176 bytes Desc: not available Url : /mailman/archive/webobjects-dev/attachments/20070811/dfd1cf49/smime.bin From webobjects at gmail.com Sun Aug 12 19:52:23 2007 From: webobjects at gmail.com (Nico Rossi) Date: Sun Aug 12 19:52:25 2007 Subject: Proxied Scripting Message-ID: Hi: Has anyone designed or implemented a proxied scripting environment similar to Facebook's FBM -- http://developers.facebook.com/documentation.php?v=1.0&doc=fbml -- in WebObjects? Interested to hear your ideas. -- ===================== Nico Rossi webobjects@gmail.com ===================== -------------- next part -------------- An HTML attachment was scrubbed... URL: /mailman/archive/webobjects-dev/attachments/20070812/6bfe81a9/attachment.html From yamuna.vallipuram at usit.uio.no Mon Aug 13 07:47:37 2007 From: yamuna.vallipuram at usit.uio.no (Yamuna Vallipuram) Date: Mon Aug 13 07:59:27 2007 Subject: WO form and multiple submit buttons In-Reply-To: <143AC37E-3F23-4FCA-B4D3-812C822F3DAE@isd.uni-stuttgart.de> References: <3986.129.240.93.34.1186656618.squirrel@webmail.uio.no> <7E72F687-ADE8-45BE-8F15-3982049F6B42@usit.uio.no> <143AC37E-3F23-4FCA-B4D3-812C822F3DAE@isd.uni-stuttgart.de> Message-ID: <89B9235E-A12A-4B8D-9C47-FB2C0AAC84EF@usit.uio.no> Hi Johann! This is what (what you described in your mail) I did the first time. But when I clicked on the "search" button the directAction which was bound to the "search" button did not get invoked, but I got the following url instead. http://edderkopp:7100/as/WebObjects/frida.woa/wo/13.0.27.23.1.3 PS: I have multiple forms on my page. What am I missing here? Any comments will be appreciated Yamuna On 11. aug. 2007, at 16.32, Johann Werner wrote: > Hi Yamuna, > > the behaviour you describe is quite simple to explain: you have set > a directActionName in you WOForm bindings. That means that this is > the default behaviour of your form. This is ok as long as you want > only one action to be called when clicking on one submit button > (regardless of which if there are more than one) inside the WOForm. > But as in your example you want two different actions to be fired > you have to move these bindings to your corresponding submit > buttons and leaving only multipleSubmit = true inside the WOForm. > > Your bindings should then be: > > Form3 : WOForm { > multipleSubmit = true; > } > > SearchButton : WOSubmitButton { > directActionName = doMySearch; > ?additionalBindings = thatNeedToBeAppendedForSearch; > } > > ResetButton : WOSubmitButton { > directActionName = doMyReset; > ?additionalBindings = thatNeedToBeAppendedForReset; > } > > The binding actionClass = "DirectAction" is not really necessary as > long as your direct actions are all in the default DirectAction class. > > jw > > > Am 09.08.2007 um 13:12 schrieb Yamuna Vallipuram: > >> Hi! >> >> I am having problems with submitting a button in a WO form. The WO >> form is >> bound to a Direct Action and it consists of two submit buttons. >> One is >> bound to a search action (the same Direct Action as the form) and the >> other one nullifies the input variables (a kind of reset action- this >> action method is defined in the components java file). The >> multipleSubmit >> is set to true in WO form bindings. >> >> When the "search" button is clicked it works well. But the "Reset" >> button >> does seems to call the same action as the WO form. >> >> How do I get the reset button to invoke the reset action defined >> in the >> components java file instead? >> >> Any help would be highly appreciated. >> >> regards >> Yamuna >> >> Bindings of the WO form looks like this >> >> Form3: WOForm { >> multipleSubmit = true; >> actionClass = "DirectAction"; >> ?modus = "sok"; >> directActionName = "presentasjonSok"; >> method = "get"; >> ?type = presentasjonstype.presentasjonstypeKode; >> ?sted = sokSted.stedkode; >> ?inst = sokInstitusjon.institusjonsnr; >> } >> >> when I click on the nullify button the url looks like this >> http://edderkopp:7100/as/WebObjects/frida.woa/wa/presentasjonSok? >> pord=Yamuna >> +Vallipuram&kjonn=Begge&eord=&nullstillknapp=Nullstill&modus=sok&type >> =PERSON&inst=185 >> >> >> _______________________________________________ >> WebObjects-dev mailing list >> WebObjects-dev@omnigroup.com >> http://www.omnigroup.com/mailman/listinfo/webobjects-dev > From varscsak at smarthealth.com Mon Aug 27 18:21:38 2007 From: varscsak at smarthealth.com (Lon Varscsak) Date: Mon Aug 27 18:21:44 2007 Subject: Stumped with long request and "No instance available" Message-ID: <84cfc0470708271821s2435ede2y48ad2300806ca00b@mail.gmail.com> I have an app that I'm using as an API to another application. Some of the requests (DirectActions) take longer than 30 seconds to run. But at exactly 30 seconds, the client receives a "No instance available" message from somewhere (probably the adaptor?). I'm really at a loss as to how to make this longer, I've modified the adaptor settings (in JavaMonitor) for "Send timeout", "Receive timeout", and "Connect timeout" just to cover all of my bases, yet at 30 seconds I get the same message. Any ideas? Thanks, Lon -------------- next part -------------- An HTML attachment was scrubbed... URL: /mailman/archive/webobjects-dev/attachments/20070827/091c92fe/attachment.html From varscsak at smarthealth.com Tue Aug 28 10:58:26 2007 From: varscsak at smarthealth.com (Lon Varscsak) Date: Tue Aug 28 10:58:34 2007 Subject: Stumped with long request and "No instance available" In-Reply-To: References: <84cfc0470708271821s2435ede2y48ad2300806ca00b@mail.gmail.com> Message-ID: <84cfc0470708281058x5c91d2e8t528501acafa9ca0c@mail.gmail.com> Right now it's in development on Mac OS X 10.4.10, Apache (?.?), no direct connect. I've tried it on Ubuntu Linux, Apache 2.2.4 with the same results. Thanks, Lon On 8/28/07, Cornelius Jaeger wrote: > > Hi Lon > > What platform are you deploying on? > > > regards > > > Cornelius > > On 28.08.2007, at 03:21, Lon Varscsak wrote: > > I have an app that I'm using as an API to another application. Some of > the requests (DirectActions) take longer than 30 seconds to run. But at > exactly 30 seconds, the client receives a "No instance available" message > from somewhere (probably the adaptor?). > > I'm really at a loss as to how to make this longer, I've modified the > adaptor settings (in JavaMonitor) for "Send timeout", "Receive timeout", and > "Connect timeout" just to cover all of my bases, yet at 30 seconds I get the > same message. > > > Any ideas? > > > Thanks, > > > Lon > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: /mailman/archive/webobjects-dev/attachments/20070828/20ad4530/attachment.html From cjaeger at visualfood.ch Tue Aug 28 10:51:50 2007 From: cjaeger at visualfood.ch (Cornelius Jaeger) Date: Tue Aug 28 10:58:37 2007 Subject: Stumped with long request and "No instance available" In-Reply-To: <84cfc0470708271821s2435ede2y48ad2300806ca00b@mail.gmail.com> References: <84cfc0470708271821s2435ede2y48ad2300806ca00b@mail.gmail.com> Message-ID: Hi Lon What platform are you deploying on? regards Cornelius On 28.08.2007, at 03:21, Lon Varscsak wrote: > I have an app that I'm using as an API to another application. > Some of the requests (DirectActions) take longer than 30 seconds to > run. But at exactly 30 seconds, the client receives a "No instance > available" message from somewhere (probably the adaptor?). > > I'm really at a loss as to how to make this longer, I've modified > the adaptor settings (in JavaMonitor) for "Send timeout", "Receive > timeout", and "Connect timeout" just to cover all of my bases, yet > at 30 seconds I get the same message. > > Any ideas? > > Thanks, > > Lon -------------- next part -------------- An HTML attachment was scrubbed... URL: /mailman/archive/webobjects-dev/attachments/20070828/87c58285/attachment.html