Prebuild mod_WebObjects.so Ubuntu 32bit
Hi, i’m looking for a prebuilt mod_WebObjects.so for Ubuntu 14.04 32bit, Apache 2.2. Does anyone can help me? There are only versions for CentOS, FreeBSD etc. on this link: http://wocommunity.org/documents/tools/mod_WebObjects/ Thanks Thomas ___ 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: Inline-Bindings, Integer Values
Hi Paul, hi Fabian, thank you both. That worked! The correct way is to make it like $0. Thomas Am 15.09.2014 um 03:09 schrieb Paul Hoadley : > Hi Thomas, > > On 15 Sep 2014, at 5:20 am, Thomas Grass > wrote: > >> How can i tell the inline-bindings that 0 should be an Integer and not a >> String? I know that it would be possible to add 0 to a int-variable in the >> javaclass (f.e. int zero = 0;) and bind it with value=„$zero“ to it. But >> this is a thing I want to avoid. > > Use "$0“. > > > -- > Paul Hoadley > http://logicsquad.net/ > > Am 14.09.2014 um 23:26 schrieb Fabian Peters : > Hi Thomas, > > Just a wild guess, have you tried value = "$0"? That's the way inline > bindings work for boolean values, e.g. value = "$false". > > Fabian ___ 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
Inline-Bindings, Integer Values
Hi to all, what is the right way to bind Integer values with inline bindings? I tried to bind 0 (zero) like this to a radio button: The problem is, that the number „0“ as value is not allowed, because it is in this case a string. The following exception will be displayed: "While trying to set the field "addType" on an object of type at.sampleproject.components.Sample we expected a java.lang.Integer but received a java.lang.String with a value of 0. This often happens if you forget to use a formatter." How can i tell the inline-bindings that 0 should be an Integer and not a String? I know that it would be possible to add 0 to a int-variable in the javaclass (f.e. int zero = 0;) and bind it with value=„$zero“ to it. But this is a thing I want to avoid. Thanks a lot, Thomas ___ 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: WO app to Draw
Hi Calven, i never did this before, but if i would code something like this, i would try to do it with javascript (jQuery or something similar). Grabing what the user draws on canvas or something and draw this with jQuery on the canvas. Then you are able write the input of the user on a WOHiddenField which is bound to your Javaclass. Then you are able to store the input of the user to the database. Something like that. But that’s just a short „think-about-it“, i did not similar in past. Thomas Am 17.06.2014 um 21:45 schrieb Calven Eggert : > Anyone know how to write a WO app to allow the user to draw notes using a > stylus in a browser, capture the image and then use WO to store the image in > a database? > ___ > 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/office%4001softwaresolutions.eu > > This email sent to off...@01softwaresolutions.eu ___ 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
Right Way to use jQuery
Hello, is it possible to use jQuery instead of prototype with wonder? What is the right way to do this? I found this article: http://wiki.wocommunity.org/display/documentation/ERJQuery How do i tell my wonder-application to use just jQuery? Thanks Thomas -- Thomas Grass, B.Sc. | 01SoftwareSolutions +49 (89) 41 41 41 03-0 off...@01softwaresolutions.eu | www.01softwaresolutions.eu Lichtenbergstraße 8 | D-85748 Garching b München ___ 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: WODirectConnect, AjaxUpdateLink. Weird.
Hi Aaron, thanks for you reply. I checked this now. All resources are loaded and there is no match with "not_found" or something similar. I compared the direct connected version with the no direct connected and i found no difference. Any other idea? Does anyone uses DirectConnect and AjaxUpdateLinks? Thomas Am 27.05.2014 um 06:16 schrieb Aaron Rosenzweig : > Hi Thomas, > > Make sure ALL of your resources are loading. Maybe there is something with > HTTP vs HTTPS or anything really…. When you went to direct connect something > else that is important may not be loading either. > > Open up Safari and check that all resources are loaded in the resource > viewer. Also, do a “view source” and search for “not_found" > AARON ROSENZWEIG / Chat 'n Bike > e: aa...@chatnbike.com t: (301) 956-2319 > > > On May 23, 2014, at 7:18 AM, Thomas Grass (01SoftwareSolutions) > wrote: > >> Hi, >> this is the first time i used WODirectConnect on our Testserver. >> >> Everything works fine but using a AjaxUpdateLink would give no result >> (clicking on a AjaxUpdateLink do just nothing). The Javascript-Console of my >> Chrome browser has the following Error-Report for me: >> >> >> • Uncaught TypeError: Cannot read property 'sub' of null >> wonder.js:350 >> • AjaxUpdateLink._updatewonder.js:350 >> • AjaxUpdateLink.updatewonder.js:345 >> • onclick >> >> The wonder.js on line 350 looks like this: >> >> _update: function(id, actionUrl, options, elementID, queryParams) { >> if (elementID) { >> actionUrl = actionUrl.sub(/[^\/]+$/, elementID); >> //line nr 350 >> } >> actionUrl = actionUrl.addQueryParameters(queryParams); >> if (options && options['_r']) { >> actionUrl = actionUrl.addQueryParameters('_r='+ id); >> } >> else { >> actionUrl = actionUrl.addQueryParameters('_u='+ id); >> } >> actionUrl = actionUrl.addQueryParameters(new Date().getTime()); >> new Ajax.Updater(id, actionUrl, >> AjaxOptions.defaultOptions(options)); >> } >> >> >> The weird thing is: If I do not use WODirectConnect, the AjaxUpdateLink >> works. Also weird: All the other Ajax-Elements (like AjaxSubmitButton, >> AjaxUpdateContainer, AjaxObserveField etc.) works fine with or without >> WODirectConnect. >> >> What did I miss? >> >> Thomas >> >> >> >> >> >> -- >> Thomas Grass, B.Sc. | 01SoftwareSolutions >> +49 (89) 41 41 41 03-0 >> off...@01softwaresolutions.eu | www.01softwaresolutions.eu >> Lichtenbergstraße 8 | D-85748 Garching b München >> >> >> ___ >> 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/aaron%40chatnbike.com >> >> This email sent to aa...@chatnbike.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
WODirectConnect, AjaxUpdateLink. Weird.
Hi, this is the first time i used WODirectConnect on our Testserver. Everything works fine but using a AjaxUpdateLink would give no result (clicking on a AjaxUpdateLink do just nothing). The Javascript-Console of my Chrome browser has the following Error-Report for me: • Uncaught TypeError: Cannot read property 'sub' of null wonder.js:350 • AjaxUpdateLink._updatewonder.js:350 • AjaxUpdateLink.updatewonder.js:345 • onclick The wonder.js on line 350 looks like this: _update: function(id, actionUrl, options, elementID, queryParams) { if (elementID) { actionUrl = actionUrl.sub(/[^\/]+$/, elementID); //line nr 350 } actionUrl = actionUrl.addQueryParameters(queryParams); if (options && options['_r']) { actionUrl = actionUrl.addQueryParameters('_r='+ id); } else { actionUrl = actionUrl.addQueryParameters('_u='+ id); } actionUrl = actionUrl.addQueryParameters(new Date().getTime()); new Ajax.Updater(id, actionUrl, AjaxOptions.defaultOptions(options)); } The weird thing is: If I do not use WODirectConnect, the AjaxUpdateLink works. Also weird: All the other Ajax-Elements (like AjaxSubmitButton, AjaxUpdateContainer, AjaxObserveField etc.) works fine with or without WODirectConnect. What did I miss? Thomas -- Thomas Grass, B.Sc. | 01SoftwareSolutions +49 (89) 41 41 41 03-0 off...@01softwaresolutions.eu | www.01softwaresolutions.eu Lichtenbergstraße 8 | D-85748 Garching b München ___ 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: Character Encoding of textfield
Hi Jens, i had the same problem yesterday! Your solution works for me also fine! :-) Thomas -- Thomas Grass, B.Sc. | 01SoftwareSolutions +49 (89) 41 41 41 03-0 off...@01softwaresolutions.eu | www.01softwaresolutions.eu Lichtenbergstraße 8 | D-85748 Garching b München Am 14.05.2014 um 07:50 schrieb Dipl.-Ing. Jens Lünstedt : > Good morning Christoph, > I use > er.extensions.ERXApplication.DefaultEncoding=UTF-8 > er.extensions.ERXApplication.DefaultMessageEncoding=UTF-8 > in the Properties file and all is fine now. > > For file upload I use the AjaxFileUpload. That looks nicer. > > Grüße nach Bonn > Jens > > > > Am 14.05.2014 um 01:16 schrieb CHRISTOPH WICK | i4innovation GmbH, Bonn > : > >> Hi Jens, >> >> does your wo-form set 'enctype="multipart/form-data"' ? (AFAIK it is >> necessary, if you are using WOFileUpload) >> >> If so, try to use the following in your Application's constructor: >> >> public class Application extends ERXApplication { >> ... >> public Application() { >> ... >> WOMessage.setDefaultEncoding("UTF-8"); >> WOMessage.setDefaultURLEncoding("UTF-8"); >> ERXMessageEncoding.setDefaultEncoding("UTF8"); >> ERXMessageEncoding.setDefaultEncodingForAllLanguages("UTF8"); >> ... >> } >> ... >> } >> >> I also had the problem with umlauts and this helped me. >> >> C.U.CW >> -- >> What are the three enemies of a programmer? Sunlight, oxygen, and the >> appalling roar of the birds. >> >> On 13.05.2014, at 17:49, Dipl.-Ing. Jens Lünstedt >> wrote: >> >>> Hello, >>> I have a strange problem. Today I noticed in one of my apps that all german >>> characters like öäü are changed. So when I get the event that the text of >>> that field is changed the text is already changed to something not >>> readable. The last time some days ago I tested that in the app all was ok. >>> I checked the properties of the project in Eclipse and all encoding is on >>> UTF-8. I didn't changed the properties file of the project. I run another >>> application and all is fine. I moved the project to another machine and it >>> was the same. I used another fresh database but it doesn't help. I tested >>> another browser, I cleaned the project and I rebooted the machine. Nothing >>> helped. >>> >>> So I'm sure it has something to do with my project but where? In the >>> project preferences I use UTF-8 encoding. I think it must be on the way >>> from the browser to the event in my app, perhaps in the WO framework. >>> >>> Has anyone an idea? >>> >>> Thanks >>> >>> Jens >>> ___ >>> 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/cw%40i4innovation.de >>> >>> This email sent to c...@i4innovation.de >> > > ___ > 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/office%4001softwaresolutions.eu > > This email sent to off...@01softwaresolutions.eu ___ 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: Install WO, Weird Error could not setup loop device
Hi Fabian, you are right. On my working test virtual machine i get this result: thomas@ubuntu:~$ modprobe -l '*loop*' kernel/drivers/block/cryptoloop.ko kernel/drivers/media/rc/rc-loopback.ko kernel/drivers/target/loopback/tcm_loop.ko kernel/sound/drivers/snd-aloop.ko and on the machine we are talking about i get just nothing. Is there a way to get this working on the other machine? Thomas Am 12.05.2014 um 13:04 schrieb Fabian Peters : > Sorry, that should have been "modprobe -l '*loop*'". > > Am 12.05.2014 um 12:11 schrieb Thomas Grass (01SoftwareSolutions) > : > >> Hi Fabian, >> thank you for your reply. >> >> The check "modprobe -l loop" delivers no result. Is there any way to install >> this without the loop device? Is there a second and easy way to do this >> installation? This was the first install-guide which works fine for me :-( >> >> >> Thomas >> >> >> >> Am 12.05.2014 um 11:56 schrieb Fabian Peters : >> >>> Hi Thomas, >>> >>> It looks like you're missing the loop device. You can check whether the >>> kernel module is available via "modprobe -l loop". If you're trying to >>> install inside of a vserver (openvz or such), it may not be available. >>> >>> Fabian >>> >>> Am 12.05.2014 um 11:22 schrieb Thomas Grass (01SoftwareSolutions) >>> : >>> >>>> Hi to all, >>>> >>>> as i wrote last week in a mail to this mailing list i did a full >>>> webobjects-installation on a fresh Test-VirtualMachine Ubuntu-Server 12.04 >>>> with this Install-Guide: >>>> >>>> http://wiki.wocommunity.org/display/documentation/Installing+a+deployment+environment+on+Debian+or+Ubuntu >>>> >>>> Everything works fine for me on my Test-VM. This Install-Guide is really >>>> good! >>>> >>>> >>>> Today i wanted to do the same on my fresh Working VM Ubuntu-Server 12.04 >>>> which is hosted on Host-Europe. >>>> >>>> I thought that this must be the same but i get this weird message when >>>> doing the last step of the installation guide: >>>> >>>> ### >>>> >>>> >>>> root@virtualserverXY:~# sudo apt-get install libapache2-mod-wo >>>> projectwonder-javamonitor projectwonder-wotaskd >>>> Reading package lists... Done >>>> Building dependency tree >>>> Reading state information... Done >>>> libapache2-mod-wo is already the newest version. >>>> projectwonder-javamonitor is already the newest version. >>>> projectwonder-wotaskd is already the newest version. >>>> 0 upgraded, 0 newly installed, 0 to remove and 8 not upgraded. >>>> 8 not fully installed or removed. >>>> After this operation, 0 B of additional disk space will be used. >>>> Do you want to continue [Y/n]? y >>>> perl: warning: Setting locale failed. >>>> perl: warning: Please check that your locale settings: >>>>LANGUAGE = (unset), >>>>LC_ALL = (unset), >>>>LANG = "de_DE.UTF-8" >>>> are supported and installed on your system. >>>> perl: warning: Falling back to the standard locale ("C"). >>>> locale: Cannot set LC_CTYPE to default locale: No such file or directory >>>> locale: Cannot set LC_MESSAGES to default locale: No such file or directory >>>> locale: Cannot set LC_ALL to default locale: No such file or directory >>>> Setting up webobjects (1.2) ... >>>> locale: Cannot set LC_CTYPE to default locale: No such file or directory >>>> locale: Cannot set LC_MESSAGES to default locale: No such file or directory >>>> locale: Cannot set LC_ALL to default locale: No such file or directory >>>> /usr/bin/locale: Cannot set LC_CTYPE to default locale: No such file or >>>> directory >>>> /usr/bin/locale: Cannot set LC_MESSAGES to default locale: No such file or >>>> directory >>>> /usr/bin/locale: Cannot set LC_ALL to default locale: No such file or >>>> directory >>>> --2014-05-12 11:11:04-- >>>> http://supportdownload.apple.com/download.info.apple.com/Apple_Support_Area/Apple_Software_Updates/Mac_OS_X/downloads/061-4634.20080915.3ijd0/WebObjects543.dmg >>>> Resolving supportdownload.apple.com (supportdownload.apple.com)... >>>> 92.122.214.203, 92.122.2
Re: Install WO, Weird Error could not setup loop device
Hi Fabian, thank you for your reply. The check "modprobe -l loop" delivers no result. Is there any way to install this without the loop device? Is there a second and easy way to do this installation? This was the first install-guide which works fine for me :-( Thomas Am 12.05.2014 um 11:56 schrieb Fabian Peters : > Hi Thomas, > > It looks like you're missing the loop device. You can check whether the > kernel module is available via "modprobe -l loop". If you're trying to > install inside of a vserver (openvz or such), it may not be available. > > Fabian > > Am 12.05.2014 um 11:22 schrieb Thomas Grass (01SoftwareSolutions) > : > >> Hi to all, >> >> as i wrote last week in a mail to this mailing list i did a full >> webobjects-installation on a fresh Test-VirtualMachine Ubuntu-Server 12.04 >> with this Install-Guide: >> >> http://wiki.wocommunity.org/display/documentation/Installing+a+deployment+environment+on+Debian+or+Ubuntu >> >> Everything works fine for me on my Test-VM. This Install-Guide is really >> good! >> >> >> Today i wanted to do the same on my fresh Working VM Ubuntu-Server 12.04 >> which is hosted on Host-Europe. >> >> I thought that this must be the same but i get this weird message when >> doing the last step of the installation guide: >> >> ### >> >> >> root@virtualserverXY:~# sudo apt-get install libapache2-mod-wo >> projectwonder-javamonitor projectwonder-wotaskd >> Reading package lists... Done >> Building dependency tree >> Reading state information... Done >> libapache2-mod-wo is already the newest version. >> projectwonder-javamonitor is already the newest version. >> projectwonder-wotaskd is already the newest version. >> 0 upgraded, 0 newly installed, 0 to remove and 8 not upgraded. >> 8 not fully installed or removed. >> After this operation, 0 B of additional disk space will be used. >> Do you want to continue [Y/n]? y >> perl: warning: Setting locale failed. >> perl: warning: Please check that your locale settings: >> LANGUAGE = (unset), >> LC_ALL = (unset), >> LANG = "de_DE.UTF-8" >> are supported and installed on your system. >> perl: warning: Falling back to the standard locale ("C"). >> locale: Cannot set LC_CTYPE to default locale: No such file or directory >> locale: Cannot set LC_MESSAGES to default locale: No such file or directory >> locale: Cannot set LC_ALL to default locale: No such file or directory >> Setting up webobjects (1.2) ... >> locale: Cannot set LC_CTYPE to default locale: No such file or directory >> locale: Cannot set LC_MESSAGES to default locale: No such file or directory >> locale: Cannot set LC_ALL to default locale: No such file or directory >> /usr/bin/locale: Cannot set LC_CTYPE to default locale: No such file or >> directory >> /usr/bin/locale: Cannot set LC_MESSAGES to default locale: No such file or >> directory >> /usr/bin/locale: Cannot set LC_ALL to default locale: No such file or >> directory >> --2014-05-12 11:11:04-- >> http://supportdownload.apple.com/download.info.apple.com/Apple_Support_Area/Apple_Software_Updates/Mac_OS_X/downloads/061-4634.20080915.3ijd0/WebObjects543.dmg >> Resolving supportdownload.apple.com (supportdownload.apple.com)... >> 92.122.214.203, 92.122.214.225 >> Connecting to supportdownload.apple.com >> (supportdownload.apple.com)|92.122.214.203|:80... connected. >> HTTP request sent, awaiting response... 200 OK >> Length: 166167249 (158M) [application/octet-stream] >> Saving to: `/tmp/webobjects.mZOJQqjCKp/WebObjects543.dmg' >> >> 100%[=>] >> 166,167,249 30.0M/s in 5.3s >> >> 2014-05-12 11:11:09 (29.9 MB/s) - >> `/tmp/webobjects.mZOJQqjCKp/WebObjects543.dmg' saved [166167249/166167249] >> >> ERROR: could not setup loop device >> More information might be available at: >> http://wiki.wocommunity.org >> dpkg: error processing webobjects (--configure): >> subprocess installed post-installation script returned error exit status 1 >> dpkg: dependency problems prevent configuration of >> libprojectwonder-javawoextensions-java: >> libprojectwonder-javawoextensions-java depends on webobjects; however: >> Package webobjects is not configured yet. >> dpkg: error processing libprojectwonder-javawoextensions-java (--configure): >> dependency problems - leaving unconfigured
Re: Install WO, Weird Error could not setup loop device
Hi Pascal, this is the Output of ifconfig: root@virtualserverXY:~# ifconfig loLink encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:84 errors:0 dropped:0 overruns:0 frame:0 TX packets:84 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:10862 (10.8 KB) TX bytes:10862 (10.8 KB) venet0Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 inet addr:127.0.0.1 P-t-P:127.0.0.1 Bcast:0.0.0.0 Mask:255.255.255.255 inet6 addr: ::2/128 Scope:Compat inet6 addr: 2a01:488:66:1000:57e6:569a:0:1/128 Scope:Global UP BROADCAST POINTOPOINT RUNNING NOARP MTU:1500 Metric:1 RX packets:821162 errors:0 dropped:0 overruns:0 frame:0 TX packets:326686 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:1206156791 (1.2 GB) TX bytes:17500506 (17.5 MB) venet0:0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 inet addr:87.230.86.154 P-t-P:87.230.86.154 Bcast:0.0.0.0 Mask:255.255.255.255 UP BROADCAST POINTOPOINT RUNNING NOARP MTU:1500 Metric:1 Is there something wrong? Thank you Thomas Am 12.05.2014 um 11:45 schrieb Pascal Robert : > Does the loopback interface (lo0) is available on the VM ? Check by running « > ifconfig » >> Hi to all, >> >> as i wrote last week in a mail to this mailing list i did a full >> webobjects-installation on a fresh Test-VirtualMachine Ubuntu-Server 12.04 >> with this Install-Guide: >> >> http://wiki.wocommunity.org/display/documentation/Installing+a+deployment+environment+on+Debian+or+Ubuntu >> >> Everything works fine for me on my Test-VM. This Install-Guide is really >> good! >> >> >> Today i wanted to do the same on my fresh Working VM Ubuntu-Server 12.04 >> which is hosted on Host-Europe. >> >> I thought that this must be the same but i get this weird message when >> doing the last step of the installation guide: >> >> ### >> >> >> root@virtualserverXY:~# sudo apt-get install libapache2-mod-wo >> projectwonder-javamonitor projectwonder-wotaskd >> Reading package lists... Done >> Building dependency tree >> Reading state information... Done >> libapache2-mod-wo is already the newest version. >> projectwonder-javamonitor is already the newest version. >> projectwonder-wotaskd is already the newest version. >> 0 upgraded, 0 newly installed, 0 to remove and 8 not upgraded. >> 8 not fully installed or removed. >> After this operation, 0 B of additional disk space will be used. >> Do you want to continue [Y/n]? y >> perl: warning: Setting locale failed. >> perl: warning: Please check that your locale settings: >> LANGUAGE = (unset), >> LC_ALL = (unset), >> LANG = "de_DE.UTF-8" >> are supported and installed on your system. >> perl: warning: Falling back to the standard locale ("C"). >> locale: Cannot set LC_CTYPE to default locale: No such file or directory >> locale: Cannot set LC_MESSAGES to default locale: No such file or directory >> locale: Cannot set LC_ALL to default locale: No such file or directory >> Setting up webobjects (1.2) ... >> locale: Cannot set LC_CTYPE to default locale: No such file or directory >> locale: Cannot set LC_MESSAGES to default locale: No such file or directory >> locale: Cannot set LC_ALL to default locale: No such file or directory >> /usr/bin/locale: Cannot set LC_CTYPE to default locale: No such file or >> directory >> /usr/bin/locale: Cannot set LC_MESSAGES to default locale: No such file or >> directory >> /usr/bin/locale: Cannot set LC_ALL to default locale: No such file or >> directory >> --2014-05-12 11:11:04-- >> http://supportdownload.apple.com/download.info.apple.com/Apple_Support_Area/Apple_Software_Updates/Mac_OS_X/downloads/061-4634.20080915.3ijd0/WebObjects543.dmg >> Resolving supportdownload.apple.com (supportdownload.apple.com)... >> 92.122.214.203, 92.122.214.225 >> Connecting to supportdownload.apple.com >> (supportdownload.apple.com)|92.122.214.203|:80... connected. >> HTTP request sent, awaiting response... 200 OK >> Length: 166167249 (158M) [application/octet-stream] >> Saving to: `/tmp/webobjects.mZOJQqjCKp/WebObjects543.dmg' >> >> 100%[=>] >> 166,167,249 30.0M/s in 5.3s >> >> 2014-05-12 11:11:09 (29.9 MB/s) - >> `/tmp/webobjects.mZOJQqjCKp/WebObjects543.dmg' saved [166167249/166167249] >> >> ERROR: could not setup loop device >> More information might be available at: >> http://wiki.wocommunity.org >> dpkg: error processing webobjects (--configure): >> subprocess installed post-installation script returned error exit status 1 >> dpkg: dependency probl
Install WO, Weird Error could not setup loop device
Hi to all, as i wrote last week in a mail to this mailing list i did a full webobjects-installation on a fresh Test-VirtualMachine Ubuntu-Server 12.04 with this Install-Guide: http://wiki.wocommunity.org/display/documentation/Installing+a+deployment+environment+on+Debian+or+Ubuntu Everything works fine for me on my Test-VM. This Install-Guide is really good! Today i wanted to do the same on my fresh Working VM Ubuntu-Server 12.04 which is hosted on Host-Europe. I thought that this must be the same but i get this weird message when doing the last step of the installation guide: ### root@virtualserverXY:~# sudo apt-get install libapache2-mod-wo projectwonder-javamonitor projectwonder-wotaskd Reading package lists... Done Building dependency tree Reading state information... Done libapache2-mod-wo is already the newest version. projectwonder-javamonitor is already the newest version. projectwonder-wotaskd is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 8 not upgraded. 8 not fully installed or removed. After this operation, 0 B of additional disk space will be used. Do you want to continue [Y/n]? y perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset), LANG = "de_DE.UTF-8" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). locale: Cannot set LC_CTYPE to default locale: No such file or directory locale: Cannot set LC_MESSAGES to default locale: No such file or directory locale: Cannot set LC_ALL to default locale: No such file or directory Setting up webobjects (1.2) ... locale: Cannot set LC_CTYPE to default locale: No such file or directory locale: Cannot set LC_MESSAGES to default locale: No such file or directory locale: Cannot set LC_ALL to default locale: No such file or directory /usr/bin/locale: Cannot set LC_CTYPE to default locale: No such file or directory /usr/bin/locale: Cannot set LC_MESSAGES to default locale: No such file or directory /usr/bin/locale: Cannot set LC_ALL to default locale: No such file or directory --2014-05-12 11:11:04-- http://supportdownload.apple.com/download.info.apple.com/Apple_Support_Area/Apple_Software_Updates/Mac_OS_X/downloads/061-4634.20080915.3ijd0/WebObjects543.dmg Resolving supportdownload.apple.com (supportdownload.apple.com)... 92.122.214.203, 92.122.214.225 Connecting to supportdownload.apple.com (supportdownload.apple.com)|92.122.214.203|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 166167249 (158M) [application/octet-stream] Saving to: `/tmp/webobjects.mZOJQqjCKp/WebObjects543.dmg' 100%[=>] 166,167,249 30.0M/s in 5.3s 2014-05-12 11:11:09 (29.9 MB/s) - `/tmp/webobjects.mZOJQqjCKp/WebObjects543.dmg' saved [166167249/166167249] ERROR: could not setup loop device More information might be available at: http://wiki.wocommunity.org dpkg: error processing webobjects (--configure): subprocess installed post-installation script returned error exit status 1 dpkg: dependency problems prevent configuration of libprojectwonder-javawoextensions-java: libprojectwonder-javawoextensions-java depends on webobjects; however: Package webobjects is not configured yet. dpkg: error processing libprojectwonder-javawoextensions-java (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of libprojectwonder-core-java: libprojectwonder-core-java depends on libprojectwonder-javawoextensions-java; however: Package libprojectwonder-javawoextensions-java is not configured yet. dpkg: error processing libprojectwonder-core-java (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of libprojectwonder-ajax-java: libprojectwonder-ajax-java depends on libprojectwonder-core-java; however: Package libprojectwonder-core-java is not configured yet. dpkg: error processing libprojectwonder-ajax-java (--configure): dependency problems - leaving unconfigured dpkg: depNo apport report written because the error message indicates its a followup error from a previous failure. No apport report written because the error message indicates its a followup error from a previous failure. No apport report written because MaxReports is reached already No apport report written because MaxReports is reached already No apport report written because MaxReports is reached alre
Right Place for Applications
Hello WO-Experts, i did a deployment machine-installation on a fresh Ubuntu Server 12.04 with this installation guide: http://wiki.wocommunity.org/display/documentation/Installing+a+deployment+environment+on+Debian+or+Ubuntu JavaMonitor works fine on default port 56789. Now i want to add my own applications to this server. But i'm not sure what is the right place for the MyApplication.woa? And another question is: In past and on my development-machine i placed a view docs, css, etc. in the Folder /Library/WebServer/Documents As this folders are not exists after this installation: What is the right place now for that? Thanks a lot, Thomas ___ 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: Connecting from other devices in same network
Hello Bogdan, thank you very much! That was what i was looking for a long time! I have no set WOHost to 192.168.254.4 :-) Thomas Am 29.11.2013 um 11:00 schrieb Bogdan Zlatanov : > Hello Thomas, > > How do you run it, exactly? > > I suspect you are running the WO App in DirectConnect mode in Eclipse. Is > that correct? Have you tried setting WOHost=192.168.254.4? > > On a side note, I’d recommend you to turn DirectConnect mode off. See here: > http://en.wikibooks.org/wiki/WebObjects/Web_Applications/Development/Direct_Connect > > Cheers, > Bogdan > > > > On 29 Nov 2013, at 10:45, Thomas Grass (01SoftwareSolutions) > wrote: > >> Hello WO-Community, >> >> i'm trying to run an WO-Application on my development-device (Mac OSX, >> 10.8.5) and test it from other devices (PC, iPad, and others). My Mac is in >> the same network as the other devices. >> >> It is not possible to reach the application (http://192.168.254.4:8094), >> neither from Mac itself nor even from other devices. But connecting via >> localhost (localhost:8094) is possible. All other ports (like 80, 21, etc.) >> are able to reach. >> >> I've no firewall installed (it's just the development-mac). And i think that >> on older versions of Mac OSX this was possible. Does anyone know this >> problem and how to deal with it? >> >> I think that it is not directly a WO-Problem, but maybe one of you can help >> me. >> >> Thomas >> >> >> ___ >> 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/bogdan.zlatanov%40gmail.com >> >> This email sent to bogdan.zlata...@gmail.com > ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Connecting from other devices in same network
Hello WO-Community, i'm trying to run an WO-Application on my development-device (Mac OSX, 10.8.5) and test it from other devices (PC, iPad, and others). My Mac is in the same network as the other devices. It is not possible to reach the application (http://192.168.254.4:8094), neither from Mac itself nor even from other devices. But connecting via localhost (localhost:8094) is possible. All other ports (like 80, 21, etc.) are able to reach. I've no firewall installed (it's just the development-mac). And i think that on older versions of Mac OSX this was possible. Does anyone know this problem and how to deal with it? I think that it is not directly a WO-Problem, but maybe one of you can help me. Thomas ___ 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: Max Allowed Sessions
Hello Xavier, thanks for your reply. we have no real problem at the time. This question is just for my own interests ;-) I knew that i can easily define the time a session is alive. And i'm now interested if there is a way to define a max number of allowed sessions at a time (with the limit, that an single user can't login after enough sessions are killed) Thomas -- Thomas Grass | 01SoftwareSolutions +49 (89) 41 41 41 03-0 off...@01softwaresolutions.eu | www.01softwaresolutions.eu Lichtenbergstraße 8 | D-85748 Garching b München Am 10.07.2013 um 12:56 schrieb Dev WO : > Hello Thomas, > > I'm not sure if it's the right way to do what you want to do as I don't know > exactly why you would do that:) > If you want to limit the number of users allowed, you should not rely on > WOSession, as you could get a session when an exception is thrown, so you > could basically end up not being able to handle even a single real user. > > Maybe with more details someone could give you a better answer. > > Xavier > > On 10 juil. 2013, at 12:48, "Thomas Grass (01SoftwareSolutions)" > wrote: > >> Hello Community, >> is there an easy way to handle maximum allowed sessions in a >> WO-Application/Wonder-Application? (e.g. max. 25 Sessions allowed, otherwise >> an exceptions page will displayed)? >> >> Thomas >> >> >> ___ >> 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%40anazys.com >> >> This email sent to webobje...@anazys.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
Max Allowed Sessions
Hello Community, is there an easy way to handle maximum allowed sessions in a WO-Application/Wonder-Application? (e.g. max. 25 Sessions allowed, otherwise an exceptions page will displayed)? Thomas ___ 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: Inline Elements
Hi, my build.properties file looks like the following, but it still not work? What did i wrong? #Wed Oct 17 16:20:52 CEST 2012 webXML_CustomContent= project.name=XYZ embed.Network=true embed.System=true webXML=false embed.User=true principalClass=eu.xyz.XYZ embed.Local=true classes.dir=bin project.name.lowercase=xyz customInfoPListContent= embed.Project=true project.type=application component.inlineBindingPrefix=$ component.inlineBindingSuffix= Thanks Am 10.06.2013 um 10:27 schrieb Þór Sigurðsson : > It all depends on your settings in the $PROJECTROOT/build.properties file > "component.inlineBindingPrefix" and "component.inlineBindingSuffix". > > If you have: > component.inlineBindingPrefix=[ > component.inlineBindingSuffix=] > > Then you'd use: > > > or > > > but if you've got > > component.inlineBindingPrefix=$ > component.inlineBindingSuffix= > > Then you'd use: > > > or > > > See the pattern? > > I use the latter - and I suspect you do too, although I have seen the former > around... > > /Thor > > On 10.6.2013, at 07:38, Thomas Grass (01SoftwareSolutions) wrote: > > Hi Paul, > thank you for your reply. I tried it, but it won't work for me. Here is a > better description for my problem (or the thing i want to do): > > Example for the WOComponent "TestComponent": > > I've a variable like this in my TestComponent.java: > > public String aTestString = "Hello WO"; > > In my TestComponent.html i've tried to request the string: > > > > > The final output will be now: > > > > It looks like the tag will not me translated. Is there any setting which i > have to set? > > Thank you, > > Thomas > > > > Am 09.06.2013 um 13:48 schrieb Paul Yu mailto:p...@mac.com>>: > > Thomas > > If you want to use the testString as a variable, then it should be > "$testString" > > Paul > > Sent from my iPad > > On Jun 9, 2013, at 7:05 AM, "Thomas Grass (01SoftwareSolutions)" > mailto:off...@01softwaresolutions.eu>> wrote: > > Hello Community, > i want to use inline elements such like this: > > > > But webobjects ignores such statements (there is no output and no error > message). What must be set to use it? For some cases I don't want to use the > "default" and write a WOD and a HTML. > > Thanks > Thomas > > > ___ > 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/thors%40us.is > > This email sent to th...@us.is > > > > > Fyrirvari á tölvupósti / e-mail disclaimer > http://us.is/fyrirvari ___ 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: Inline Elements
Hi Paul, thank you for your reply. I tried it, but it won't work for me. Here is a better description for my problem (or the thing i want to do): Example for the WOComponent "TestComponent": I've a variable like this in my TestComponent.java: public String aTestString = "Hello WO"; In my TestComponent.html i've tried to request the string: The final output will be now: It looks like the tag will not me translated. Is there any setting which i have to set? Thank you, Thomas Am 09.06.2013 um 13:48 schrieb Paul Yu : > Thomas > > If you want to use the testString as a variable, then it should be > "$testString" > > Paul > > Sent from my iPad > > On Jun 9, 2013, at 7:05 AM, "Thomas Grass (01SoftwareSolutions)" > wrote: > >> Hello Community, >> i want to use inline elements such like this: >> >> >> >> But webobjects ignores such statements (there is no output and no error >> message). What must be set to use it? For some cases I don't want to use the >> "default" and write a WOD and a HTML. >> >> Thanks >> Thomas >> >> >> ___ >> 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/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Inline Elements
Hello Community, i want to use inline elements such like this: But webobjects ignores such statements (there is no output and no error message). What must be set to use it? For some cases I don't want to use the "default" and write a WOD and a HTML. Thanks Thomas ___ 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
Size of fetched array
Hello WO-Coders, I fetch objects with special bindings like the following example: [...] NSMutableDictionary bindings = new NSMutableDictionary(); if(selectedJob.description()!=null) bindings.setObjectForKey(selectedJob.description(), "description"); if(selectedJob.validSystem()!=null) bindings.setObjectForKey(selectedJob.validSystem(), "validSystem"); if(selectedJob.component()!=null) bindings.setObjectForKey(selectedJob.component(), "component"); if(selectedJob.subComponent()!=null) bindings.setObjectForKey(selectedJob.subComponent(), "subComponent"); NSArray doubleJobs = MaintenanceJob.fetchForDoubleCheck(session.defaultEditingContext(), bindings); […] Is there a way to tell the fetch-Method the max number of objects to be fetched? For example: 10 Objects? Thomas ___ 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
DateFormat: Format for Time > 24 Hours
Hello Community, i've a question concerning the right way to format time. I have a Time like 32:18:12 (32 Hours, 18 Minutes, 12 Seconds). This time is stored within an NSTimestamp (after calculating something): NSTimestamp timeToDisplay = new NSTimestamp(timeAfterCalculation()); //e.g: timeAfterCalculation is in milliseconds 116292000 I want it to display in my component: TimeToDisplayString : WOString { value = timeToDisplay; dateformat = "%H:%M:%S"; } This is the way i usually do. But i can't display times > 24 hours (it starts with 00:00:00 again). What is the right way to display it? Is there a special date format for this issue? Thank you very much, Thomas ___ 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: Get framework name
Hi Miguel, i don't know if there is a function which can handle this. But a solution for your problem could be to build your class like that: public class YOURCLASS { private String _frameworkName public void init(String frameworkName) { _frameworkName = frameworkName; } public YOURCLASS() { ... } ... } You could initialize when you create your instance: YOURCLASS yourClass = new YOURCLASS(); yourClass.init(frameworkName(); That would i do. Let me know if theres a better solution for this. Thomas Am 22.01.2013 um 20:59 schrieb Miguel Torres: > Hi List, > > We need to get the framework name to get some resource. We have made this > before just calling the method frameworkName() from a java class that extends > from a ERXComponent o WOComponent. > > Now we need to get the framework's name from a class that do not extends from > WOComponent, is any method to get it? > > Thanks in advance. > > Miguel > > > > > ___ > 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/office%4001softwaresolutions.eu > > This email sent to off...@01softwaresolutions.eu -- Thomas Grass | 01SoftwareSolutions off...@01softwaresolutions.eu | www.01softwaresolutions.eu Lichtenbergstraße 8 | D-85748 Garching b München ___ 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: Could not find the main class: =. Program will exit.
Hi Chuck! Thank you for your reply. This didn't worked for me. I found a way to get it work for me, but I'm not sure what the problem really was: - I installed Oracle Java 1.6 JDK - I'm now using subclipse instead of subversive to check out project Now it work for me. Maybe the "java thing" was it, maybe subversive did wrong things. ;) Thomas Am 21.01.2013 um 20:39 schrieb Chuck Hill: > Try deleting the launch configuration and then Run As... WebObjects > application. That may fix it. > > > Chuck > > > On 2013-01-21, at 8:57 AM, Thomas Grass (01SoftwareSolutions) wrote: > >> Hello, >> >> i'm developing a software with WebObjects and WOLips on MacOSX. (Java 1.6). >> I checked out this project on my Linux-PC (Ubuntu Mint, OpenJDK 1.6). >> When i want to run the project in the Linux-PC i get the following error: >> >> Exception in thread "main" java.lang.NoClassDefFoundError: = >> Caused by: java.lang.ClassNotFoundException: = >> at java.net.URLClassLoader$1.run(URLClassLoader.java:217) >> at java.security.AccessController.doPrivileged(Native Method) >> at java.net.URLClassLoader.findClass(URLClassLoader.java:205) >> at java.lang.ClassLoader.loadClass(ClassLoader.java:321) >> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294) >> at java.lang.ClassLoader.loadClass(ClassLoader.java:266) >> Could not find the main class: =. Program will exit. >> >> I can't start the project. I created a new project to test if this starts, >> and it did. Do you now this error? What can it be? Where should i look? >> >> Thank you, >> >> Thomas >> ___ >> 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 > > Global Village Consulting ranks 13th in 2012 in BIV's Top 100 Fastest Growing > Companies in B.C! > Global Village Consulting ranks 76th in 24th annual PROFIT 200 ranking of > Canada’s Fastest-Growing Companies by PROFIT Magazine! > > > > > > > ___ 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
Could not find the main class: =. Program will exit.
Hello, i'm developing a software with WebObjects and WOLips on MacOSX. (Java 1.6). I checked out this project on my Linux-PC (Ubuntu Mint, OpenJDK 1.6). When i want to run the project in the Linux-PC i get the following error: Exception in thread "main" java.lang.NoClassDefFoundError: = Caused by: java.lang.ClassNotFoundException: = at java.net.URLClassLoader$1.run(URLClassLoader.java:217) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:205) at java.lang.ClassLoader.loadClass(ClassLoader.java:321) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294) at java.lang.ClassLoader.loadClass(ClassLoader.java:266) Could not find the main class: =. Program will exit. I can't start the project. I created a new project to test if this starts, and it did. Do you now this error? What can it be? Where should i look? Thank you, Thomas ___ 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
Framework Name
Hello WO-Developers, within a component, i need to get the name of the framework for this function: public String logoPath() { return application().resourceManager().pathURLForResourceNamed("dataHeaderInvoice.png", this.frameworkName(), null).getPath(); } Usually i did this by the use of this.frameworkName(). In my current project, this function returns "null" instead of the name of the framework. Is there any other way to get this? Thomas -- Thomas Grass | 01SoftwareSolutions off...@01softwaresolutions.eu | www.01softwaresolutions.eu Lichtenbergstraße 8 | D-85748 Garching b München ___ 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
Sorting "to many" relationship
Hi WO-Developers, i've an EO "OpDay" with an relationship to many "OpHour"'s. In use i am able to call an array of OpHour's with the following command: aOpDay.ophours() This works fine, but i need to have the OpHour's sorted by special attributes. Is there a "nice" way to do this, without creating a fetch or order it on my own? Thank you, Thomas ___ 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: WORequest, Logging IP-Addresses
Hi to all! Thank you very much. Worked perfectly! Am 06.09.2012 um 13:39 schrieb Pascal Robert: > > Le 2012-09-06 à 07:21, Thomas Grass (01SoftwareSolutions) > a écrit : > >> Hi WO-Developers, >> >> i have a question concerning logging IP-Addresses of users. I have to log >> from which IP-Adresses users are using my WO-Application. >> >> To do this, i found a short script: >> http://en.wikibooks.org/wiki/WebObjects/Web_Applications/Development/Tips_and_Tricks > > Please avoid wikibooks.org, the updated content is at wiki.wocommunity.org > > (sadly, the wikibooks people won't allow us to delete the old content…) > >> The method "clientIP(WORequest request)" should return the IP-Address of the >> client. But how do i get the "request" on a WOComponent? >> >> Thank you very much, >> Thomas >> >> ___ >> 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
WORequest, Logging IP-Addresses
Hi WO-Developers, i have a question concerning logging IP-Addresses of users. I have to log from which IP-Adresses users are using my WO-Application. To do this, i found a short script: http://en.wikibooks.org/wiki/WebObjects/Web_Applications/Development/Tips_and_Tricks The method "clientIP(WORequest request)" should return the IP-Address of the client. But how do i get the "request" on a WOComponent? Thank you very much, Thomas ___ 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