Concurrency Issue
Hello; I thought I'd ask if anybody else has had any experience with this one? > java.util.ConcurrentModificationException > at java.util.HashMap$HashIterator.nextEntry(HashMap.java:793) > at java.util.HashMap$KeyIterator.next(HashMap.java:828) > at com.webobjects.foundation.NSDictionary.(NSDictionary.java:369) > at com.webobjects.foundation.NSDictionary.(NSDictionary.java:397) > at com.webobjects.eocontrol.EOObjectStore.userInfo(EOObjectStore.java:347) > at > com.webobjects.eoaccess.EOModelGroup.modelGroupForObjectStoreCoordinator(EOModelGroup.java:795) > at com.webobjects.eoaccess.EOUtilities.modelGroup(EOUtilities.java:1045) > at > com.webobjects.eoaccess.EOUtilities.databaseContextForModelNamed(EOUtilities.java:809) cheers. ___ Andrew Lindesay www.silvereye.co.nz ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: You don't have permission to access/cgi-bin/WebObjects/TheApp.woa/-5579 on this server.
The default Apache configuration is to restrict access to the entire filesystem and only allow access to the contents of your DocumentRoot. So normally you would have deny rules on and allow rules for or where ever your DocumentRoot is configured. but as /cgi-bin/WebObjects/YourApp.woa is not located under your DocumentRoot or for that matter in your /cgi-bin folder either, the default deny rules kick in and return a 403 access forbidden error. You might do better to use a "Location /cgi-bin/WebObjects/YourApp.woa> and put your allow rules inside that for a more secure setup. - Original Message - From: To: "David LeBer" Cc: "WebObjects Development" Sent: Wednesday, April 07, 2010 6:41 AM Subject: Re: You don't have permission to access/cgi-bin/WebObjects/TheApp.woa/-5579 on this server. > On 2010-04-06, at 3:06 PM, David LeBer wrote: Thanks everyone, found it. Options FollowSymLinks AllowOverride None Order deny,allow Deny from all vs: Options FollowSymLinks AllowOverride None #Order deny,allow #Deny from all Why is that, actually? I also fell for this, the first time I setup mod_webobjects. Rainer ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/mjsotn%40gmail.com This email sent to mjs...@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: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: [OT] help moving server to new IP
This sounds like a problem in your Apache config. You might have an entry such as Listen :80 or maybe NameVirtualHost :80 You could update this directly in your /etc/httpd/httpd.conf but it might get overwritten by Server Admin, so you'll probably want to update it with Server Admin instead. - Original Message - From: "Baiss Eric Magnusson" To: "WebObjectsDev" Sent: Tuesday, April 06, 2010 4:14 PM Subject: [OT] help moving server to new IP I'm on Mac OSX Server 10.5.6 cascadewebdesign org.apache.httpd[760]: Unable to open logs cascadewebdesign com.apple.launchd[1] (org.apache.httpd[760]): Exited with exit code: 1 cascadewebdesign com.apple.launchd[1] (org.apache.httpd): Throttling respawn: Will start in 10 seconds cascadewebdesign org.apache.httpd[761]: (49)Can't assign requested address: make_sock: could not bind to address cascadewebdesign org.apache.httpd[761]: no listening sockets available, shutting down I altered named.conf all files db.ip1.ip2.ip3 Host from JavaMonitor, which went ok is there some other file? where is it picking up the address from? Server Admin is no help since I can't let it manage DNS. Baiss Eric Magnusson http://www.CascadeWebDesign.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/mjsotn%40gmail.com This email sent to mjs...@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: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: You don't have permission to access /cgi-bin/WebObjects/TheApp.woa/-5579 on this server.
> > On 2010-04-06, at 3:06 PM, David LeBer wrote: > Thanks everyone, found it. > > > Options FollowSymLinks > AllowOverride None > Order deny,allow > Deny from all > > > vs: > > > Options FollowSymLinks > AllowOverride None > #Order deny,allow > #Deny from all > Why is that, actually? I also fell for this, the first time I setup mod_webobjects. Rainer ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: You don't have permission to access /cgi-bin/WebObjects/TheApp.woa/-5579 on this server.
On 2010-04-06, at 3:06 PM, David LeBer wrote: > Hey all, > > I'm on Snow Leopard and my dev environment is not letting me connect to my > app with direct connect disabled. Sheepishly, I can't remember whether this > has worked since I updated to SL. Does anyone have a working apache2 > httpd.conf file they could send me that I could compare against mine? > > Thx, > > ;david Thanks everyone, found it. Options FollowSymLinks AllowOverride None Order deny,allow Deny from all vs: Options FollowSymLinks AllowOverride None #Order deny,allow #Deny from all I thought I'd corrected that... ;david -- David LeBer Codeferous Software 'co-def-er-ous' adj. Literally 'code-bearing' site: http://codeferous.com blog: http://davidleber.net profile:http://www.linkedin.com/in/davidleber twitter:http://twitter.com/rebeld -- Toronto Area Cocoa / WebObjects developers group: http://tacow.org ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
You don't have permission to access /cgi-bin/WebObjects/TheApp.woa/-5579 on this server.
Hey all, I'm on Snow Leopard and my dev environment is not letting me connect to my app with direct connect disabled. Sheepishly, I can't remember whether this has worked since I updated to SL. Does anyone have a working apache2 httpd.conf file they could send me that I could compare against mine? Thx, ;david -- David LeBer Codeferous Software 'co-def-er-ous' adj. Literally 'code-bearing' site: http://codeferous.com blog: http://davidleber.net profile:http://www.linkedin.com/in/davidleber twitter:http://twitter.com/rebeld -- Toronto Area Cocoa / WebObjects developers group: http://tacow.org ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: [OT] WOWODC room block
Le 10-04-06 à 13:13, Pascal Robert a écrit : Quick note : to reserve within the WOWODC room block, you have to specify the room block code : 100827WOWO. For now, reservations within the room block have to be made by phone, but the hotel is creating a custom link so that people can reserve a room inside the room block online. About the "Stay at the Hotel" discount. This discount is made possible because the hotel is discounting the conference and banquet package for people that stay at the hotel, but the discount is only available to people who book their room inside the 100827WOWO room block, so make sure you mention the block code when making your reservation. All info here : http://www.wocommunity.org/wowodc10/lodging.html When I get the the custom link for making online reservations, I will put it on this page, and tweet about it in both the WOWODC account and mine. To make your reservation in English : https://reservations.ihotelier.com/onescreengroup.cfm?hotelid=12592&language In French : https://reservations.ihotelier.com/onescreengroup.cfm?hotelid=12592&languageID=3 Yes, it's a Flash app... ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Strange 10.6 deployment issue
Dennis- That did the trick, thank you very very much! Greg On Apr 6, 2010, at 1:01 PM, Gaastra Dennis - WO Lists wrote: > Hi Greg, > > IMPORTANT: Make sure that in etc/apache2/httpd.conf, the following is removed > or commented out: (OS Upgrade 10.6.2 -> 10.6.3 put this line back in) > > ScriptAlias /cgi-bin/ /Library/WebServer/CGI-Executables/ > > > > With Kind Regards, > > Dennis Gaastra, > Chief Technology Officer, > WEBAPPZ® Systems, Inc. > > > > > > On 2010-04-06, at 9:56 AM, Greg Lappen wrote: > >> Hi all, >> >> We have a WebObjects application that has been working find on Panther, >> Leopard, etc. Now we are trying to deploy it on a 10.6 server powered mini. >> I followed the instructions at >> http://wiki.objectstyle.org/confluence/display/WO/Programming__WebObjects-Web+Applications-Deployment-Mac+OS+X+Server >> and at first, everything worked great. After restarting the mini server, >> everything is back up and running, however Apache no longer knows how to >> route requests to WebObjects. We get a 404, Object Not Found error, and >> what I see in the apache error log is this: >> >> script not found or unable to stat: >> /Library/WebServer/CGI-Executables/WebObjects >> >> I checked that mod_WebObjects is being loaded: >> >> /usr/sbin/httpd -t -D DUMP_MODULES >> Loaded Modules: >> core_module (static) >> mpm_prefork_module (static) >> http_module (static) >> . >> . >> WebObjects_module (shared) >> >> And the webobjects apache.conf is still being loaded from httpd.conf: >> >> siaws25:Apache2.2 paperfree$ tail -5 /etc/apache2/httpd.conf >> >> The following Include directive is essential for the virtual hosts to >> be usable. >> >> Include "/etc/apache2/sites/*.conf" >> Include /System/Library/WebObjects/Adaptors/Apache2.2/apache.conf >> >> Also, the file /Library/WebServer/CGI-Executables/WebObjects does not >> actually exist, but I think that is correct as it's not really running a CGI >> script right? Can anyone shed some light on this? Any help would be >> greatly appreciated. >> >> Greg >> >> ___ >> Do not post admin requests to the list. They will be ignored. >> Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) >> Help/Unsubscribe/Update your Subscription: >> http://lists.apple.com/mailman/options/webobjects-dev/webobjects_lists%40webappz.com >> >> This email sent to webobjects_li...@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: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: EOModel SQL Statement
If the numeric suffix is the only part of the policy number that changes, then you can use: WHERE PolicyNumber >= 'KD/FGH/3345/NNN/1000' and PolicyNumber <= ' KD/FGH/3345/NNN/1090' Ben On Tue, Apr 6, 2010 at 7:48 AM, Gino Pacitti wrote: > Can someone help with a SQL statement to return rows... > > I have a field (varchar) which is used to store a PolicyNumber - something > like KD/FGH/3345/NNN/1000 > > They are stored sequentially and go up to KD/FGH/3345/NNN/5000 > > I need to select a set that is something like KD/FGH/3345/NNN/1000 - > KD/FGH/3345/NNN/1090 > > I have tried using a SQL statement that uses BETWEEN and LIKE and <= etc.. > but I cannot get a statement to return the 90 rows between 1000 - 1090.. > > Can someone help? > > Gino > ___ > Do not post admin requests to the list. They will be ignored. > Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) > Help/Unsubscribe/Update your Subscription: > > http://lists.apple.com/mailman/options/webobjects-dev/bchew%40smarthealth.com > > This email sent to bc...@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: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: EOModel SQL Statement
On Apr 6, 2010, at 7:48 AM, Gino Pacitti wrote: Can someone help with a SQL statement to return rows... I have a field (varchar) which is used to store a PolicyNumber - something like KD/FGH/3345/NNN/1000 They are stored sequentially and go up to KD/FGH/3345/NNN/5000 I need to select a set that is something like KD/FGH/3345/NNN/1000 - KD/FGH/3345/NNN/1090 I have tried using a SQL statement that uses BETWEEN and LIKE and <= etc.. but I cannot get a statement to return the 90 rows between 1000 - 1090.. Can someone help? WHERE PolicyNumber like 'KD/FGH/3345/NNN/10%' should give you from KD/ FGH/3345/NNN/1000 to KD/FGH/3345/NNN/1099. Not exactly what you wanted. -- 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/products/practical_webobjects ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
[OT] WOWODC room block
Quick note : to reserve within the WOWODC room block, you have to specify the room block code : 100827WOWO. For now, reservations within the room block have to be made by phone, but the hotel is creating a custom link so that people can reserve a room inside the room block online. About the "Stay at the Hotel" discount. This discount is made possible because the hotel is discounting the conference and banquet package for people that stay at the hotel, but the discount is only available to people who book their room inside the 100827WOWO room block, so make sure you mention the block code when making your reservation. All info here : http://www.wocommunity.org/wowodc10/lodging.html When I get the the custom link for making online reservations, I will put it on this page, and tweet about it in both the WOWODC account and mine. Pascal Robert prob...@macti.ca AIM: MacTICanada Twitter : MacTICanada LinkedIn : http://www.linkedin.com/in/macti WO Community profile : http://wocommunity.org/page/member?name=probert ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Strange 10.6 deployment issue
Hi Greg, IMPORTANT: Make sure that in etc/apache2/httpd.conf, the following is removed or commented out: (OS Upgrade 10.6.2 -> 10.6.3 put this line back in) ScriptAlias /cgi-bin/ /Library/WebServer/CGI-Executables/ With Kind Regards, Dennis Gaastra, Chief Technology Officer, WEBAPPZ® Systems, Inc. On 2010-04-06, at 9:56 AM, Greg Lappen wrote: > Hi all, > > We have a WebObjects application that has been working find on Panther, > Leopard, etc. Now we are trying to deploy it on a 10.6 server powered mini. > I followed the instructions at > http://wiki.objectstyle.org/confluence/display/WO/Programming__WebObjects-Web+Applications-Deployment-Mac+OS+X+Server > and at first, everything worked great. After restarting the mini server, > everything is back up and running, however Apache no longer knows how to > route requests to WebObjects. We get a 404, Object Not Found error, and what > I see in the apache error log is this: > > script not found or unable to stat: > /Library/WebServer/CGI-Executables/WebObjects > > I checked that mod_WebObjects is being loaded: > > /usr/sbin/httpd -t -D DUMP_MODULES > Loaded Modules: > core_module (static) > mpm_prefork_module (static) > http_module (static) > . > . > WebObjects_module (shared) > > And the webobjects apache.conf is still being loaded from httpd.conf: > > siaws25:Apache2.2 paperfree$ tail -5 /etc/apache2/httpd.conf > > The following Include directive is essential for the virtual hosts to be > usable. > > Include "/etc/apache2/sites/*.conf" > Include /System/Library/WebObjects/Adaptors/Apache2.2/apache.conf > > Also, the file /Library/WebServer/CGI-Executables/WebObjects does not > actually exist, but I think that is correct as it's not really running a CGI > script right? Can anyone shed some light on this? Any help would be greatly > appreciated. > > Greg > > ___ > Do not post admin requests to the list. They will be ignored. > Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) > Help/Unsubscribe/Update your Subscription: > http://lists.apple.com/mailman/options/webobjects-dev/webobjects_lists%40webappz.com > > This email sent to webobjects_li...@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: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Strange 10.6 deployment issue
Hi all, We have a WebObjects application that has been working find on Panther, Leopard, etc. Now we are trying to deploy it on a 10.6 server powered mini. I followed the instructions at http://wiki.objectstyle.org/confluence/display/WO/Programming__WebObjects-Web+Applications-Deployment-Mac+OS+X+Server and at first, everything worked great. After restarting the mini server, everything is back up and running, however Apache no longer knows how to route requests to WebObjects. We get a 404, Object Not Found error, and what I see in the apache error log is this: script not found or unable to stat: /Library/WebServer/CGI-Executables/WebObjects I checked that mod_WebObjects is being loaded: /usr/sbin/httpd -t -D DUMP_MODULES Loaded Modules: core_module (static) mpm_prefork_module (static) http_module (static) . . WebObjects_module (shared) And the webobjects apache.conf is still being loaded from httpd.conf: siaws25:Apache2.2 paperfree$ tail -5 /etc/apache2/httpd.conf The following Include directive is essential for the virtual hosts to be usable. Include "/etc/apache2/sites/*.conf" Include /System/Library/WebObjects/Adaptors/Apache2.2/apache.conf Also, the file /Library/WebServer/CGI-Executables/WebObjects does not actually exist, but I think that is correct as it's not really running a CGI script right? Can anyone shed some light on this? Any help would be greatly appreciated. Greg ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
WOCommunity Maven repository is down again
Hello Maven fellows, Sorry for the inconvenience again, but the WOCommunity Maven repository is down. :( Cheers, Henrique ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
EOModel SQL Statement
Can someone help with a SQL statement to return rows... I have a field (varchar) which is used to store a PolicyNumber - something like KD/FGH/3345/NNN/1000 They are stored sequentially and go up to KD/FGH/3345/NNN/5000 I need to select a set that is something like KD/FGH/3345/NNN/1000 - KD/FGH/3345/NNN/1090 I have tried using a SQL statement that uses BETWEEN and LIKE and <= etc.. but I cannot get a statement to return the 90 rows between 1000 - 1090.. Can someone help? Gino ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: [OT] help moving server to new IP
First of all I would use OSX server's 'changeip' command: http://support.apple.com/kb/TA24015?viewlocale=en_US and, on your server from the command line: man changeip ...built for this very job. I'm not sure all the files that it updates. Not sure if apache's httpd.conf is one of them. In any event, that's the file that's causing the problem you see in your logs. I think it's in /etc/httpd/httpd.conf (or /etc/apache2/httpd.conf if you're using apache2). You're looking for Listen xxx.xxx.xxx.xxx:80 and ServerName xxx.xxx.xxx.xxx See if either of those have your old IP address and update it. If you're using Virtual Hosts, you might want to check those too as they also make use of IP addresses. Cheers, .neilmac On 6 Apr 2010, at 07:14, Baiss Eric Magnusson wrote: > I'm on Mac OSX Server 10.5.6 > > cascadewebdesign org.apache.httpd[760]: Unable to open logs > cascadewebdesign com.apple.launchd[1] (org.apache.httpd[760]): Exited with > exit code: 1 > cascadewebdesign com.apple.launchd[1] (org.apache.httpd): Throttling respawn: > Will start in 10 seconds > cascadewebdesign org.apache.httpd[761]: (49)Can't assign requested address: > make_sock: could not bind to address > cascadewebdesign org.apache.httpd[761]: no listening sockets available, > shutting down > > I altered > > named.conf > all files > db.ip1.ip2.ip3 > Host from JavaMonitor, which went ok > > is there some other file? where is it picking up the address from? > > Server Admin is no help since I can't let it manage DNS. > > Baiss Eric Magnusson > http://www.CascadeWebDesign.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com