Re: Mysterious EditingContext Swap
Hi Owen, I have seen this error before but I am only guessing as to the cause of it in your case. It seems that all the objects are in the correct context so printing ec.insertedObjects is probably not going to help. From the code and comments you have made in the email, it seems that the active context is getting set somehow. The only way that I know to make the active context is to use it in a fetch or possibly a relationship traversal from an object in a different context. I would try removing the PersonLDAP section of code, it could be the LDAP fetch that is the cause of the error. cheers, - shaun Owen McKerrow wrote: Nope, not paraphrasing. You can see the full error message at bottom of the email. The only time I have heard of the active editing context is for a save. Nope haven't had the chnace yet to separate this out to its own project. Heres the full code ( it includes our RADIUS authentication methods which I did paste before ): // Generated by the WebObjects Assistant Mon Feb 07 14:26:32 Australia/Sydney 2005 import com.webobjects.foundation.*; import com.webobjects.appserver.*; import com.webobjects.eocontrol.*; import com.webobjects.eoaccess.*; import net.sourceforge.jradiusclient.*; import net.sourceforge.jradiusclient.exception.*; public class Main extends WOComponent { protected Application app; protected EOEditingContext ec; protected NSMutableDictionary bindings; protected String userName; protected String password; protected String errorMessage; protected boolean forgotPassword; protected boolean thankyou; protected boolean emailAddress; protected boolean gotMobile; private String secretHandshake; private String hostName; private RadiusClient rc; private String exitCode; //- The Constructors - public Main( WOContext context ) throws Exception { super(context); app = (Application)Application.application(); //ec = ((Session)session()).defaultEditingContext(); ec = new EOEditingContext(); System.out.println(Editing Context just been made : + ec); //((Session)session()).resetCrumbs(); secretHandshake = *; hostName = radius.uow.edu.au; RadiusClient rc = null; NSArray mems; forgotPassword = false; thankyou = false; emailAddress = false; gotMobile = false; } //--- WOComponent Functions --- //Called when the Persons clicks the submit button to login public WOComponent checkLogin() throws Exception { errorMessage = ; WOComponent nextPage = null; //If both fields have some data in them if ( userName != null password != null ) { userName.trim(); password.trim(); try { rc = new RadiusClient(hostName, 1812,1813,secretHandshake,userName); } catch(java.net.SocketException soex) { app.setErrorMessage(Unable to create Radius Client due to failure to create socket!); throw soex; } catch(java.security.NoSuchAlgorithmException nsaex) { app.setErrorMessage(Unable to create Radius Client due to failure to create MD5 MessageDigest!); throw nsaex; } catch(InvalidParameterException ivpex) { app.setErrorMessage(Unable to create Radius Client due to invalid parameter! + ivpex.getMessage() ); throw ivpex; } try { boolean returned; if (app.debugMode ) { returned = true; } else { returned = authenticate(rc,password,null); } // Radius confirmed the userName and password are valid if (returned) { nextPage = (Menu)pageWithName(Menu); //check if the user is in the recipient table checkRecipient(); } else { errorMessage = span class=\failure\User name Password incorrect/span; if (isUppercase(password)) { errorMessage += span class=\failure\brCheck Caps lock is not on./span; } } } catch(InvalidParameterException ivpex){
PostgreSQL duplicate primary key error
Hi list, I'm running accross a strange problem: when inserting multiple objects of the same class to the DB, I get the following exception: SQL State:23505 -- error code: 0 -- msg: ERROR: duplicate key violates unique constraint moduleinmodule_pk When inserting one object at time, it works great. Example in less-than-pseudo-code: Create instance of object Insert object to editing context Modify object Create other instance of the same class Insert to EC Modify object EC.saveChanges() = crash Create instance of object Insert object to editing context Modify object EC.saveChanges() = it works The EOModel is properly configured, the primary key is not editable It happens only with objects of this class ('moduleinmodule') Configuration: WO 5.3.1, PostgreSQL 8.0.1 Do you have any pointers? Regards, François ___ 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 archive@mail-archive.com
Re: PostgreSQL duplicate primary key error
Hi! Are you doing anything with relationships? That happened to me when I modeled some relationships in the wrong way. Also, have you installed both PSQL plugins (the framework, and the one for Modeler) and generated the SQL in the Modeler correctly? Yours Miguel Arroz On 2006/08/02, at 11:09, François Reboursier wrote: Hi list, I'm running accross a strange problem: when inserting multiple objects of the same class to the DB, I get the following exception: SQL State:23505 -- error code: 0 -- msg: ERROR: duplicate key violates unique constraint moduleinmodule_pk When inserting one object at time, it works great. Example in less-than-pseudo-code: Create instance of object Insert object to editing context Modify object Create other instance of the same class Insert to EC Modify object EC.saveChanges() = crash Create instance of object Insert object to editing context Modify object EC.saveChanges() = it works The EOModel is properly configured, the primary key is not editable It happens only with objects of this class ('moduleinmodule') Configuration: WO 5.3.1, PostgreSQL 8.0.1 Do you have any pointers? Regards, François ___ 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/arroz% 40guiamac.com This email sent to [EMAIL PROTECTED] GUERRA E' PAZ LIBERDADE E' ESCRAVIDAO IGNORANCIA E' FORCA -- 1984 Miguel Arroz http://www.ipragma.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 archive@mail-archive.com
RE: MSSQL Server 2005 Unicode Support and EOF
Perhaps http://www.wodeveloper.com/omniLists/webobjects-talk/2004/January/msg00018.html may give some hints how to patch the SQL in the desired way. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Dov Rosenberg Sent: Monday, July 31, 2006 8:54 PM To: WebObjects Dev Subject: MSSQL Server 2005 Unicode Support and EOF We have come across an issue supporting MSSQLServer 2005 and unicode languages in our WO/WOF based application. Our app has the ability to store multiple languages in a single database. In Oracle we use an AL32UTF8 character collation sequence and everything works fine. For SQL Server it appears that the only way I can store unicode characters in a table is that the columns need to be of type nchar, ntext, or nvarchar and a hint needs to be included in the INSERT or UDPATE clause that tells SQL Server that the string is a unicode string. For example: For the following table CREATE TABLE [CONTENTDATA] ( [RECORDID]nvarchar(64) NOT NULL, [XML] ntext NULL, CONSTRAINT [PK_CONTENTDATA] PRIMARY KEY([RECORDID]) ) insert into CONTENTDATA (RECORDID, XML) values (newid(), N'附属原爆後障害医療研究施設'); In case the japanese characters didn’t come thru the mail list: insert into CONTENTDATA (RECORDID, XML) values (newid(), N'some unicoded string'); Notice the N in front of the string – that tells SQL Server to store it as unicode for the nchar, ntext, and nvarchar columns (not sure why it wouldn’t do that automatically for those datatypes). It appears that if I do an INSERT using the above notation the only way I can retrieve the data is appending the N into the qualifier as well. For example: select * from CONTENTDATA where XML like N'附属原%'; -- will retrieve the record inserted above select * from CONTENTDATA where XML like '附属原%'; -- will NOT retrieve the record inserted above QUESTION: How/where can I modify the JDBC Plugin for EOF to adjust the way it generates the INSERT and UPDATE clauses of the outgoing SQL? QUESTION: How can I modify the JDBC Plugin to do the SELECT qualifiers? -- Dov Rosenberg Inquira Knowledge Management Experts http://www.inquira.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 archive@mail-archive.com
Re: Mysterious EditingContext Swap
Hi, Owen, Though I'm not sure what's causing your error, it sounds like you might be having a contention issue with your EOEditingContext. I notice that you're not locking it until you're ready to saveChanges on it. When creating your own EOEditingContext (vs. using Sessions defaultEditingContext), it should be locked before ANY use (including such things as creating or obtaining EOs through it, updating EOs in it, deleting EOs from it, etc.). The best way I know of doing that is by using Jonathan Rochkind's MultiECLockManager (or Chuck Hill's customization of it). You can find it at: http://www.wocode.com/WOCode/Files/MultiECLockManager.java I can't see anything else in the code that would cause such a problem. Regards, Jerry On Aug 1, 2006, at 11:50 PM, Owen McKerrow wrote: Nope, not paraphrasing. You can see the full error message at bottom of the email. The only time I have heard of the active editing context is for a save. Nope haven't had the chnace yet to separate this out to its own project. Heres the full code ( it includes our RADIUS authentication methods which I did paste before ): // Generated by the WebObjects Assistant Mon Feb 07 14:26:32 Australia/Sydney 2005 import com.webobjects.foundation.*; import com.webobjects.appserver.*; import com.webobjects.eocontrol.*; import com.webobjects.eoaccess.*; import net.sourceforge.jradiusclient.*; import net.sourceforge.jradiusclient.exception.*; public class Main extends WOComponent { protected Application app; protected EOEditingContext ec; protected NSMutableDictionary bindings; protected String userName; protected String password; protected String errorMessage; protected boolean forgotPassword; protected boolean thankyou; protected boolean emailAddress; protected boolean gotMobile; private String secretHandshake; private String hostName; private RadiusClient rc; private String exitCode; //- The Constructors - public Main( WOContext context ) throws Exception { super(context); app = (Application)Application.application(); //ec = ((Session)session()).defaultEditingContext(); ec = new EOEditingContext(); System.out.println(Editing Context just been made : + ec); // ((Session)session()).resetCrumbs(); secretHandshake = *; hostName = radius.uow.edu.au; RadiusClient rc = null; NSArray mems; forgotPassword = false; thankyou = false; emailAddress = false; gotMobile = false; } //--- WOComponent Functions --- //Called when the Persons clicks the submit button to login public WOComponent checkLogin() throws Exception { errorMessage = ; WOComponent nextPage = null; //If both fields have some data in them if ( userName != null password != null ) { userName.trim(); password.trim(); try { rc = new RadiusClient(hostName, 1812,1813,secretHandshake,userName); } catch(java.net.SocketException soex) { app.setErrorMessage(Unable to create Radius Client due to failure to create socket!); throw soex; } catch(java.security.NoSuchAlgorithmException nsaex) { app.setErrorMessage(Unable to create Radius Client due to failure to create MD5 MessageDigest!); throw nsaex; } catch(InvalidParameterException ivpex) { app.setErrorMessage(Unable to create Radius Client due to invalid parameter! + ivpex.getMessage() ); throw ivpex; } try { boolean returned; if (app.debugMode ) { returned = true; } else { returned = authenticate(rc,password,null); } // Radius confirmed the userName and password are valid
Re: Event update ; notice
Maybe we can meet up in the King George's Bar Lounge ? http://kinggeorge.com/dining-winston.html Yes. I'll be there with one of my colleagues (must remind him to add his name to the list!) What time on Sunday are people practising? Karl On 2-Aug-06, at 8:16 AM, Pascal Robert wrote: Le 06-08-01 à 17:44, Chuck Hill a écrit : On Aug 1, 2006, at 2:40 PM, Ken Anderson wrote: Of course! drink 7 sodas instead :) My guess is, other people will easily make up the shortfall. Heck, I can probably drink an entire bottle of beer by myself! My flight gets in at 6:30PM on Sunday. Anyone want to get in a night of practice on Sunday? We're coming in at 12:20 PM on Sunday, so we can participate in the pratice. ___ 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 archive@mail-archive.com
Re: Event update ; notice
I was planning on making this dinner, since I'll be heading straight from the airport... It doesn't seem like they have food there. Do they? On Aug 2, 2006, at 9:15 AM, Pascal Robert wrote: Maybe we can meet up in the King George's Bar Lounge ? http://kinggeorge.com/dining-winston.html Yes. I'll be there with one of my colleagues (must remind him to add his name to the list!) What time on Sunday are people practising? Karl On 2-Aug-06, at 8:16 AM, Pascal Robert wrote: Le 06-08-01 à 17:44, Chuck Hill a écrit : On Aug 1, 2006, at 2:40 PM, Ken Anderson wrote: Of course! drink 7 sodas instead :) My guess is, other people will easily make up the shortfall. Heck, I can probably drink an entire bottle of beer by myself! My flight gets in at 6:30PM on Sunday. Anyone want to get in a night of practice on Sunday? We're coming in at 12:20 PM on Sunday, so we can participate in the pratice. ___ 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/lists% 40anderhome.com This email sent to [EMAIL PROTECTED] ___ 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 archive@mail-archive.com
connection dictionary error
So I'm trying to get back into WebObjects after dabbling last year a bit. Last night I attempted to deploy a simple application that does some CRUD type operations into a Tomcat instance (thank you Andrew, http://homepage.mac.com/andrewlindesay/le/articles/wo-tomcat.pdf). The application deploys correctly and the login page comes up, but I get the following errors when attempting to access the database (Oracle XE in this case). - An exception occurred while trying to open a channel: com.webobjects.jdbcadaptor.JDBCAdaptorException: Cannot create JDBC driver of class '' for connect URL 'null' - com.webobjects.appserver._private.WOComponentRequestHandler: Exception occurred while handling request: java.lang.IllegalStateException: _obtainOpenChannel -- com.webobjects.eoaccess.EODatabaseContext [EMAIL PROTECTED]: failed to open database channel. Check your connection dictionary, and ensure your database is correctly configured. I assume (but you know the saying about that word) that I'm basically not getting the correct JDBC URL plugged in for my deployment, even though it may be set up correctly in the EOModel file. Andrews documentation refers to setConnectionDictionary call... and I assume that I may need that, but feel a bit lost. FWIW, the app behaves correctly when run out of Xcode. Thanks in advance, Tarun ___ 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 archive@mail-archive.com
Re: connection dictionary error
Tarun, I deploy to Tomcat, and in my web.xml file I have to comment out the following block: !-- resource-ref descriptionThe data source to be used by EOF. If there are multiple data sources, then the definition below must be used to configure which JDBC URL (Model) should use which data source. If EOF should use a JDBC driver directly, this section must be commented out/description res-ref-namejdbc/DefaultDataSource/res-ref-name res-typejavax.sql.DataSource/res-type res-authContainer/res-auth /resource-ref -- There's probably a better way to do it, but this is how I handle it. Otherwise tomcat tries to use its db connector instead of the JDBC driver directly. John On Aug 2, 2006, at 9:54 AM, Tarun Reddy wrote: So I'm trying to get back into WebObjects after dabbling last year a bit. Last night I attempted to deploy a simple application that does some CRUD type operations into a Tomcat instance (thank you Andrew, http://homepage.mac.com/andrewlindesay/le/articles/wo- tomcat.pdf). The application deploys correctly and the login page comes up, but I get the following errors when attempting to access the database (Oracle XE in this case). - An exception occurred while trying to open a channel: com.webobjects.jdbcadaptor.JDBCAdaptorException: Cannot create JDBC driver of class '' for connect URL 'null' - com.webobjects.appserver._private.WOComponentRequestHandler: Exception occurred while handling request: java.lang.IllegalStateException: _obtainOpenChannel -- com.webobjects.eoaccess.EODatabaseContext [EMAIL PROTECTED]: failed to open database channel. Check your connection dictionary, and ensure your database is correctly configured. I assume (but you know the saying about that word) that I'm basically not getting the correct JDBC URL plugged in for my deployment, even though it may be set up correctly in the EOModel file. Andrews documentation refers to setConnectionDictionary call... and I assume that I may need that, but feel a bit lost. FWIW, the app behaves correctly when run out of Xcode. Thanks in advance, Tarun ___ 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/the_larsons% 40mac.com This email sent to [EMAIL PROTECTED] ___ 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 archive@mail-archive.com
Re: Event update ; notice
They say « appetizers » on the page, but they don't mention which ones :-/ I was planning on making this dinner, since I'll be heading straight from the airport... It doesn't seem like they have food there. Do they? On Aug 2, 2006, at 9:15 AM, Pascal Robert wrote: Maybe we can meet up in the King George's Bar Lounge ? http://kinggeorge.com/dining-winston.html Yes. I'll be there with one of my colleagues (must remind him to add his name to the list!) What time on Sunday are people practising? Karl On 2-Aug-06, at 8:16 AM, Pascal Robert wrote: Le 06-08-01 à 17:44, Chuck Hill a écrit : On Aug 1, 2006, at 2:40 PM, Ken Anderson wrote: Of course! drink 7 sodas instead :) My guess is, other people will easily make up the shortfall. Heck, I can probably drink an entire bottle of beer by myself! My flight gets in at 6:30PM on Sunday. Anyone want to get in a night of practice on Sunday? We're coming in at 12:20 PM on Sunday, so we can participate in the pratice. ___ 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 archive@mail-archive.com
Wonder Ajax
I thought people might like to play with some of the Wonder Ajax components to see some of the things you can do, so I put up a public copy of the AjaxExample app from Wonder: http://www.mdimension.com/cgi-bin/WebObjects/AjaxExample.woa ms ___ 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 archive@mail-archive.com
Re: Wonder Ajax
This stuff is cool Mike! I wonder what the Web 2.0 session at WWDC will be like... Also, do I have to take all of wonder to get this? Ken On Aug 2, 2006, at 11:58 AM, Mike Schrag wrote: I thought people might like to play with some of the Wonder Ajax components to see some of the things you can do, so I put up a public copy of the AjaxExample app from Wonder: http://www.mdimension.com/cgi-bin/WebObjects/AjaxExample.woa ms ___ 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/lists% 40anderhome.com This email sent to [EMAIL PROTECTED] ___ 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 archive@mail-archive.com
Re: connection dictionary error
Thanks John! Worked perfectly. And now rereading the PDF, it says to do exactly that. RTFM... Tarun On Aug 2, 2006, at 9:37 AM, John Larson wrote: Tarun, I deploy to Tomcat, and in my web.xml file I have to comment out the following block: !-- resource-ref descriptionThe data source to be used by EOF. If there are multiple data sources, then the definition below must be used to configure which JDBC URL (Model) should use which data source. If EOF should use a JDBC driver directly, this section must be commented out/description res-ref-namejdbc/DefaultDataSource/res-ref-name res-typejavax.sql.DataSource/res-type res-authContainer/res-auth /resource-ref -- There's probably a better way to do it, but this is how I handle it. Otherwise tomcat tries to use its db connector instead of the JDBC driver directly. John On Aug 2, 2006, at 9:54 AM, Tarun Reddy wrote: So I'm trying to get back into WebObjects after dabbling last year a bit. Last night I attempted to deploy a simple application that does some CRUD type operations into a Tomcat instance (thank you Andrew, http://homepage.mac.com/andrewlindesay/le/articles/wo- tomcat.pdf). The application deploys correctly and the login page comes up, but I get the following errors when attempting to access the database (Oracle XE in this case). - An exception occurred while trying to open a channel: com.webobjects.jdbcadaptor.JDBCAdaptorException: Cannot create JDBC driver of class '' for connect URL 'null' - com.webobjects.appserver._private.WOComponentRequestHandler: Exception occurred while handling request: java.lang.IllegalStateException: _obtainOpenChannel -- com.webobjects.eoaccess.EODatabaseContext [EMAIL PROTECTED]: failed to open database channel. Check your connection dictionary, and ensure your database is correctly configured. I assume (but you know the saying about that word) that I'm basically not getting the correct JDBC URL plugged in for my deployment, even though it may be set up correctly in the EOModel file. Andrews documentation refers to setConnectionDictionary call... and I assume that I may need that, but feel a bit lost. FWIW, the app behaves correctly when run out of Xcode. Thanks in advance, Tarun ___ 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/the_larsons% 40mac.com This email sent to [EMAIL PROTECTED] ___ 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 archive@mail-archive.com
Re: Event update ; notice
At 12:32 PM -0700 8/1/06, Joe Little wrote: Details are always listed at http://www.global-village.net/chill.at.gvc ... would it be useful, or is it too late to be useful, to add a column to describe our relationship to WebObjects (in terms of years of experience and/or areas of interest) ? That might help clusters of similar interest to form in a large group. I'd considered going back through the list archives to see if I could deduce this info for myself, but it seems self-description would be better or, maybe, if the room suits, identify a few tables : novices / eo experts / wonder wizards / ajax advocates / etc ___ 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 archive@mail-archive.com
Re: Event update ; notice
Please include only really use EOF too :) On Aug 2, 2006, at 12:42 PM, Gavin Eadie wrote: At 12:32 PM -0700 8/1/06, Joe Little wrote: Details are always listed at http://www.global-village.net/ chill.at.gvc ... would it be useful, or is it too late to be useful, to add a column to describe our relationship to WebObjects (in terms of years of experience and/or areas of interest) ? That might help clusters of similar interest to form in a large group. I'd considered going back through the list archives to see if I could deduce this info for myself, but it seems self-description would be better or, maybe, if the room suits, identify a few tables : novices / eo experts / wonder wizards / ajax advocates / etc ___ 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/lists% 40anderhome.com This email sent to [EMAIL PROTECTED] ___ 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 archive@mail-archive.com
Snapshot error
_globalID = _EOIntegralKeyGlobalID[Product (java.lang.Integer)246]; _databaseOperator = "EODatabaseUpdateOperator"; } does not contain value for attribute named prodMainLocation with snapshot key: prodMainLocationprodMainLocation is an attribute of one of the entities in the EOModel. I added it yesterday, added the column to the database and now I am randomly getting this error when trying to update the product table.Does anyone know what it means?Kind regards,David. ___ 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 archive@mail-archive.com
Re: Snapshot error
When this happens the first thing I do is swear. :-) Then I quit Xcode, rm -r build/ in the project(s). Open Xcode and the project and run it again. Chuck On Aug 2, 2006, at 9:58 AM, David Griffith wrote: _globalID = _EOIntegralKeyGlobalID[Product (java.lang.Integer)246]; _databaseOperator = EODatabaseUpdateOperator; } does not contain value for attribute named prodMainLocation with snapshot key: prodMainLocation prodMainLocation is an attribute of one of the entities in the EOModel. I added it yesterday, added the column to the database and now I am randomly getting this error when trying to update the product table. Does anyone know what it means? Kind regards, David. ___ 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/chill% 40global-village.net This email sent to [EMAIL PROTECTED] -- Coming sometime... - an introduction to web applications using WebObjects and Xcode http://www.global-village.net/wointro 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 archive@mail-archive.com
Re: Event update ; notice
That might be an OK, if small, place to meet. However, I need to eat as well and the lounge is not a good place for that. As we already have directions to The Thirsty Bear, shall we meet there? They are open Sunday 5:00pm -10:00pm Chuck On Aug 2, 2006, at 6:15 AM, Pascal Robert wrote: Maybe we can meet up in the King George's Bar Lounge ? http://kinggeorge.com/dining-winston.html Yes. I'll be there with one of my colleagues (must remind him to add his name to the list!) What time on Sunday are people practising? Karl On 2-Aug-06, at 8:16 AM, Pascal Robert wrote: Le 06-08-01 à 17:44, Chuck Hill a écrit : On Aug 1, 2006, at 2:40 PM, Ken Anderson wrote: Of course! drink 7 sodas instead :) My guess is, other people will easily make up the shortfall. Heck, I can probably drink an entire bottle of beer by myself! My flight gets in at 6:30PM on Sunday. Anyone want to get in a night of practice on Sunday? We're coming in at 12:20 PM on Sunday, so we can participate in the pratice. ___ 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/chill% 40global-village.net This email sent to [EMAIL PROTECTED] -- Coming sometime... - an introduction to web applications using WebObjects and Xcode http://www.global-village.net/wointro 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 archive@mail-archive.com
Re: Snapshot error
Oh yeah, I forgot that using XCode can cause those issues ... that's what I get for using Eclipse and then getting real exceptions! Jonny On Aug 2, 2006, at 1:07 PM, Chuck Hill wrote: When this happens the first thing I do is swear. :-) Then I quit Xcode, rm -r build/ in the project(s). Open Xcode and the project and run it again. Chuck On Aug 2, 2006, at 9:58 AM, David Griffith wrote: _globalID = _EOIntegralKeyGlobalID[Product (java.lang.Integer) 246]; _databaseOperator = EODatabaseUpdateOperator; } does not contain value for attribute named prodMainLocation with snapshot key: prodMainLocation prodMainLocation is an attribute of one of the entities in the EOModel. I added it yesterday, added the column to the database and now I am randomly getting this error when trying to update the product table. Does anyone know what it means? Kind regards, David. ___ 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/chill% 40global-village.net This email sent to [EMAIL PROTECTED] -- Coming sometime... - an introduction to web applications using WebObjects and Xcode http://www.global-village.net/wointro 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/jmeijer% 40protocolis.com This email sent to [EMAIL PROTECTED] ___ 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 archive@mail-archive.com
Re: Event update ; notice
Maybe we can make more noise than the MacEntreprise people, their meetup is Sunday from 4pm to 7pm at the The Thirsty Bear :-) That might be an OK, if small, place to meet. However, I need to eat as well and the lounge is not a good place for that. As we already have directions to The Thirsty Bear, shall we meet there? They are open Sunday 5:00pm -10:00pm Chuck On Aug 2, 2006, at 6:15 AM, Pascal Robert wrote: Maybe we can meet up in the King George's Bar Lounge ? http://kinggeorge.com/dining-winston.html Yes. I'll be there with one of my colleagues (must remind him to add his name to the list!) What time on Sunday are people practising? Karl On 2-Aug-06, at 8:16 AM, Pascal Robert wrote: Le 06-08-01 à 17:44, Chuck Hill a écrit : On Aug 1, 2006, at 2:40 PM, Ken Anderson wrote: Of course! drink 7 sodas instead :) My guess is, other people will easily make up the shortfall. Heck, I can probably drink an entire bottle of beer by myself! My flight gets in at 6:30PM on Sunday. Anyone want to get in a night of practice on Sunday? We're coming in at 12:20 PM on Sunday, so we can participate in the pratice. ___ 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/chill%40global- village.net This email sent to [EMAIL PROTECTED] -- Coming sometime... - an introduction to web applications using WebObjects and Xcode http://www.global-village.net/wointro 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/probert%40os.ca This email sent to [EMAIL PROTECTED] -- Pascal Robert Spécialiste en informatique/IT Specialist OS communications informatiques inc. +1 450 676-1238 x28 http://www.os.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: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to archive@mail-archive.com
Re: Event update ; notice
Le 06-08-02, à 12:42, Gavin Eadie a écrit : At 12:32 PM -0700 8/1/06, Joe Little wrote: Details are always listed at http://www.global-village.net/chill.at.gvc ... would it be useful, or is it too late to be useful, to add a column to describe our relationship to WebObjects (in terms of years of experience and/or areas of interest) ? That might help clusters of similar interest to form in a large group. I'd considered going back through the list archives to see if I could deduce this info for myself, but it seems self-description would be better Maybe it's time to consider doing a worldwide WO user group/alliance :-) ___ 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 archive@mail-archive.com
Re: WebObject's Application Wins Campus Technology Innovator Competition
We're just the carpenters on this one. Dr. Maybaum is the genius. Chuck On Aug 2, 2006, at 10:42 AM, Ken Anderson wrote: Congrats Chuck! On Aug 2, 2006, at 1:39 PM, Chuck Hill wrote: In the Web category. Programming was done in Apple’s WebObjects environment. “The cost- effectiveness of developing in WebObjects, and of deploying on the OS X Server platform, were critical in making this project possible within a very small budget,” says Maybaum. See: http://www.campus-technology.com/article.asp?id=18938 and http://www.campus-technology.com/article.asp?id=18945 Chuck -- Coming sometime... - an introduction to web applications using WebObjects and Xcode http://www.global-village.net/wointro 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/lists% 40anderhome.com This email sent to [EMAIL PROTECTED] -- Coming sometime... - an introduction to web applications using WebObjects and Xcode http://www.global-village.net/wointro 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 archive@mail-archive.com
Re: Validation Exception (Modified by Marcos Trejo Munguia)
I have my own editing contexts, one per component to be more specific, and I'm using the MultiECLockManager to handle the lock/unlock, also I don't use additional threads, here is more code, maybe something is wrong in it: public void deleteItem() { transaction.removeObjectFromBothSidesOfRelationshipWithKey(transactionDetailIterator, inventorytransdetails); ec.deleteObject(transactionDetailIterator); } the above method is used to remove details from the header, before saving changes I call this method in InventoryTransHeader to update the inventory: public void updateInventory() throws InsuficientMaterialException { try { EOEditingContext ec = editingContext(); ec.refaultAllObjects(); ec.setFetchTimestamp(System.currentTimeMillis()); for (Enumeration enum = inventorytransdetailsSorted().objectEnumerator(); enum.hasMoreElements(); ) { InventoryTransDetail iterator = (InventoryTransDetail)enum.nextElement(); if (iterator.product() == null || iterator.location() == null) throw new NullPointerException(); Inventory inventory = iterator.location().getInventory(iterator.product(), iterator.prefix(), iterator.lot(), iterator.materialStatus()); if (inventory == null iterator.transsign().intValue() == 1) { inventory = new Inventory(); ec.insertObject(inventory); inventory.addObjectToBothSidesOfRelationshipWithKey(iterator.location(), location); inventory.addObjectToBothSidesOfRelationshipWithKey(iterator.product(), product); inventory.setPrefix(iterator.prefix()); inventory.setLot(iterator.lot()); inventory.setSecondarylot(iterator.secondarylot()); inventory.setStatus(Constant.STATUS_ENABLED); inventory.setQty(iterator.qty()); } else { if (inventory == null || (iterator.transsign().intValue() == -1 inventory.qty().compareTo(iterator.qty()) 0)) { throw new InsuficientMaterialException(iterator); } else { if (iterator.lot() == null) { iterator.setPrefix(inventory.prefix()); iterator.setLot(inventory.lot()); } inventory.setQty(inventory.qty().add(iterator.qty().multiply(iterator.transsign(; } } } if (ec.hasChanges()) { if (ec.updatedObjects() != null ec.updatedObjects().count() > 0) { for (Enumeration enum = ec.updatedObjects().objectEnumerator(); enum.hasMoreElements(); ) { EOEnterpriseObject eo = (EOEnterpriseObject)enum.nextElement(); if (eo instanceof Inventory !ec.insertedObjects().containsObject(eo)) { if (((Inventory)eo).qty().compareTo(Constant.ZERO) == 0) { eo.removeObjectFromBothSidesOfRelationshipWithKey(((Inventory)eo).location(), location); eo.removeObjectFromBothSidesOfRelationshipWithKey(((Inventory)eo).product(), product); ec.deleteObject(eo); } } } } } } catch (NullPointerException e) { throw new InsuficientMaterialException(Concurrency conflict, inventory entry deleted, moved or changed by someone else); } } the method to save changes look like this: public void save() throws InsuficientMaterialException { transaction.updateInventory(); ec.saveChanges(); } What am I doing wrong? Cheers On Aug 1, 2006, at 1:36 PM, Chuck Hill wrote: On Aug 1, 2006, at 11:28 AM, Marcos Trejo Munguia wrote: Thank you Chuck, I'll check what I have in the editing context before saving changes, I'm 100% sure that productSelected.editingContext() == ec. I just have to wait until the error appears again, because actually the error only appears in deployment and not all the time, annoying right? :-) OK, that is a different problem. That sounds like a concurrency issue. Are you creating your own editing contexts? Are you locking them properly? Are you creating additional threads in your code? Chuck On Jul 31, 2006, at 11:35 PM, Chuck Hill wrote: On Jul 31, 2006, at 4:34 PM, Marcos Trejo Munguia wrote: Actually the relationship is to-many, Well, I guess we can discard that theory. :-) Here is the code that adds details to the header: public void addItem() { boolean addItemFailed = false; if (productSelected == null) { errors.takeValueForKey(Product is required, product); addItemFailed = true; } if (locationSelected == null) { errors.takeValueForKey(Location is required, location); addItemFailed = true; } if (quantity == null) { errors.takeValueForKey(Qty is required, quantity); addItemFailed = true; } else if (quantity.doubleValue() = 0) { errors.takeValueForKey(Qty must be greater than 0, quantity); addItemFailed = true; } if (!addItemFailed) { InventoryTransDetail transactionDetail = new InventoryTransDetail(); ec.insertObject(transactionDetail); transaction.addObjectToBothSidesOfRelationshipWithKey(transactionDetail, inventorytransdetails); transactionDetail.setTranssign(Constant.ONE); transactionDetail.setProduct(productSelected); transactionDetail.setLocation(locationSelected); transactionDetail.setSecondarylot(secondaryLot); transactionDetail.setQty(quantity); } } That looks fine. Here is the code that throws the validation exception, this validateXXX are in the class InventoryTransDetail: public Product validateProduct(Product newValue) throws
WebObjects Meetup Practice Session and Areas of Interest
On Aug 2, 2006, at 9:42 AM, Gavin Eadie wrote: At 12:32 PM -0700 8/1/06, Joe Little wrote: Details are always listed at http://www.global-village.net/ chill.at.gvc ... would it be useful, or is it too late to be useful, to add a column to describe our relationship to WebObjects (in terms of years of experience and/or areas of interest) ? That might help clusters of similar interest to form in a large group. I'd considered going back through the list archives to see if I could deduce this info for myself, but it seems self-description would be better or, maybe, if the room suits, identify a few tables : novices / eo experts / wonder wizards / ajax advocates / etc I have added this and also a brief note about the practice session http://www.gvcsitemaker.com/chill.at.gvc/practice_session Chuck -- Coming sometime... - an introduction to web applications using WebObjects and Xcode http://www.global-village.net/wointro 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 archive@mail-archive.com
Re: Wonder Ajax
Keep in mind that all of wonder is sort of relative, though presumably you say that you mean ERExtensions. The demos point out what things require you to extend ERExtensions. Most things do not. The big one is if you want component actions inside of ajax updating areas. If you use direct actions, you're totally fine, but component actions require a rather nasty hack to page backtrack cache management. You could actually steal that code from ERExtensions and put it in your own, however. It's FAIRLY isolated. ms On Aug 2, 2006, at 12:23 PM, Ken Anderson wrote: This stuff is cool Mike! I wonder what the Web 2.0 session at WWDC will be like... Also, do I have to take all of wonder to get this? Ken On Aug 2, 2006, at 11:58 AM, Mike Schrag wrote: I thought people might like to play with some of the Wonder Ajax components to see some of the things you can do, so I put up a public copy of the AjaxExample app from Wonder: http://www.mdimension.com/cgi-bin/WebObjects/AjaxExample.woa ms ___ 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/lists% 40anderhome.com This email sent to [EMAIL PROTECTED] ___ 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 archive@mail-archive.com
Re: Event update ; notice
WObie t-shirts :) On Aug 2, 2006, at 1:40 PM, Ken Anderson wrote: OK, maybe Mike can print WO newbie hats in time... ;) On Aug 2, 2006, at 1:38 PM, Miguel Arroz wrote: Hi! or, maybe, if the room suits, identify a few tables : novices / eo experts / wonder wizards / ajax advocates / etc That won't work! I'm a novice, and OBVIOUSLY I want to sit with the wizards and learn what i can from them! :) Yours Miguel Arroz GUERRA E' PAZ LIBERDADE E' ESCRAVIDAO IGNORANCIA E' FORCA -- 1984 Miguel Arroz http://www.ipragma.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/lists% 40anderhome.com This email sent to [EMAIL PROTECTED] ___ 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/mschrag% 40mdimension.com This email sent to [EMAIL PROTECTED] ___ 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 archive@mail-archive.com
project wonder install instructions
Any installation instructions out there? Those on the site seem out of date... Thanks, jeremy ___ 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 archive@mail-archive.com
Re: WebObject's Application Wins Campus Technology Innovator Competition
Congratulations Chuck! We are excited with the application and looking forward to use it here, at our university... It will be a great tool for everyone! Once more, congrats! José Tiburcio Ribeiro Netto On Aug 2, 2006, at 2:39 PM, Chuck Hill wrote: In the Web category. Programming was done in Apple’s WebObjects environment. “The cost- effectiveness of developing in WebObjects, and of deploying on the OS X Server platform, were critical in making this project possible within a very small budget,” says Maybaum. See: http://www.campus-technology.com/article.asp?id=18938 and http://www.campus-technology.com/article.asp?id=18945 Chuck -- Coming sometime... - an introduction to web applications using WebObjects and Xcode http://www.global-village.net/wointro 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/jtibunetto% 40gmail.com This email sent to [EMAIL PROTECTED] ___ 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 archive@mail-archive.com
ANN: Global Village Consulting Releases WebObjects Frameworks as Open Source
Hi, I promised that I would get this done for WWDC. WWDC 2005 that is. Better late than never Some of you already know about this, but for the ones that don't: http://www.global-village.net/newsmode=singlerecordID=56160 There is now more recent version posted at http://sourceforge.net/ projects/gvcsitemaker This is pretty much all (i.e. all the ones worth having) of our internal frameworks that we have been developing since 1999. You will notice some overlap with Wonder as the code bases were developed concurrently. Also, the GVC.SiteMaker product that won the Campus Technology Innovator award is also Open Source, http://www.global-village.net/newsmode=singlerecordID=56161 The home for this is http://www.gvcsitemaker.com We hope that you find this useful. Chuck -- Coming sometime... - an introduction to web applications using WebObjects and Xcode http://www.global-village.net/wointro 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 archive@mail-archive.com
Problem for open a project.
Hi all, I am using WO5.2 to open a project which is from WO4.5. I got error message the project '.../Projects name' could not be opened because the 'PROJECTTYPE' key contains unknown project type name 'WebObjectsApplication' . Any suggestion for removing this error is very appreicated. Thanks, John __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.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: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to archive@mail-archive.com
Re: Problem for open a project.
On Aug 2, 2006, at 10:25 AM, john XUE wrote: I am using WO5.2 to open a project which is from WO4.5. I got error message the project '.../Projects name' could not be opened because the 'PROJECTTYPE' key contains unknown project type name 'WebObjectsApplication' . The problem is that the developer tools that you are using don't support the WebObjectsApplication project type. That project type was initially supported by ProjectBuilderWO, a Project Builder and Xcode predecessor. I have an old OS X 10.2.8/WO 5.2.1 partition that has this project type in /Developer/ProjectTypes and ProjectBuilderWO in /Developer/Applications, but I don't know whether ProjectBuilderWO or its WebObjectsApplication project type are supported on later OS X versions. So you are probably out of luck trying to open this project using the current developer tools. An alternative would be to create a new project using the files in the old project. But you won't be able to build this project until you convert it (http://docs.info.apple.com/ article.html?artnum=25328). Aloha, Art ___ 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 archive@mail-archive.com
Re: Event update ; notice
Hi! I don't know about worldwide, but I would be very interested in creating an european WO community (could be part of a worldwide community, but the main focus is to be easier to make meet-ups). I think it's important, not only for people to meet and know they are not alone, but to exchange knowledge and experience, and show and promote their personal and/or professional WO-related work. Also, I focus on Europe, because with the cheap flights that are appearing all over the place (Vueling in Spain, Virgin Express, etc) we could make several meet-ups a year, and people would have the opportunity to join some of them (obviously, WWDC is a really big financial effort for europeans, due to the flights). I don't know anyone on Portugal, besides me and my partners, who use WebObjects for anything (unfortunately, my country is sold to Microsoft so-called technologies), but I know there are a lot of us in Europe. There's also some german guys, ObjectFarm, that talk about some Wocoa event (WO + Cocoa), but I sent them an email and got no answer... I don't know if Wocoa still exists. Are you guys out there? What do you all think (europeans for the european group, everyone for the worldwide group)? Yours Miguel Arroz On 2006/08/02, at 18:35, Pascal Robert wrote: Le 06-08-02, à 12:42, Gavin Eadie a écrit : At 12:32 PM -0700 8/1/06, Joe Little wrote: Details are always listed at http://www.global-village.net/ chill.at.gvc ... would it be useful, or is it too late to be useful, to add a column to describe our relationship to WebObjects (in terms of years of experience and/or areas of interest) ? That might help clusters of similar interest to form in a large group. I'd considered going back through the list archives to see if I could deduce this info for myself, but it seems self-description would be better Maybe it's time to consider doing a worldwide WO user group/ alliance :-) ___ 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/arroz% 40guiamac.com This email sent to [EMAIL PROTECTED] I felt like putting a bullet between the eyes of every Panda that wouldn't scr*w to save its species. -- Fight Club Miguel Arroz http://www.ipragma.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 archive@mail-archive.com
Recommended reading?
Perhaps I'm just being lazy, but reading the entire Xcode 2.3 User Guide, which clocks in at a measly 536 pages, seems like an awful lot of pre-reading to do for a couple of sessions on Xcode. Heck, by the time I read all that I wouldn't need to attend the sessions anymore! Most of the other things I've picked out to attend also have recommended reading, though I haven't seen any others that are this heavy-duty. And then there are the related resources, which I guess are like extra credit for the overachievers among us. Is this recommendation really meant to be taken seriously?? Am I going to regret it if I leave this summer reading pile at home? janine ___ 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 archive@mail-archive.com
Re: Recommended reading?
I use Xcode daily and I have not read _any_ of this. :-) And I doubt that I ever will. On Aug 2, 2006, at 3:01 PM, [EMAIL PROTECTED] wrote: Perhaps I'm just being lazy, but reading the entire Xcode 2.3 User Guide, which clocks in at a measly 536 pages, seems like an awful lot of pre-reading to do for a couple of sessions on Xcode. Heck, by the time I read all that I wouldn't need to attend the sessions anymore! Most of the other things I've picked out to attend also have recommended reading, though I haven't seen any others that are this heavy-duty. And then there are the related resources, which I guess are like extra credit for the overachievers among us. Is this recommendation really meant to be taken seriously?? Am I going to regret it if I leave this summer reading pile at home? janine ___ 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/chill% 40global-village.net This email sent to [EMAIL PROTECTED] -- Coming sometime... - an introduction to web applications using WebObjects and Xcode http://www.global-village.net/wointro 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 archive@mail-archive.com
Re: Re: Event update ; notice
well, there are $1 pool tables. We'll let wizards be defined there :) On 8/2/06, Gavin Eadie [EMAIL PROTECTED] wrote: At 12:32 PM -0700 8/1/06, Joe Little wrote: Details are always listed at http://www.global-village.net/chill.at.gvc ... would it be useful, or is it too late to be useful, to add a column to describe our relationship to WebObjects (in terms of years of experience and/or areas of interest) ? That might help clusters of similar interest to form in a large group. I'd considered going back through the list archives to see if I could deduce this info for myself, but it seems self-description would be better or, maybe, if the room suits, identify a few tables : novices / eo experts / wonder wizards / ajax advocates / etc ___ 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/jmlittle%40gmail.com This email sent to [EMAIL PROTECTED] ___ 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 archive@mail-archive.com
Re: Event update ; notice
Hi! On 2006/08/02, at 23:13, Anjo Krank wrote: Hi, Objectfarm is slowly getting out of the WO business. Sad news to hear! :( Are they changing to another technology? Or have they decided to go nature-only? :) Yours Miguel Arroz The world lies in the hands of evil And we pray it would last -- Apocalyptica, Life Burns! Miguel Arroz http://www.ipragma.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 archive@mail-archive.com
Re: Recommended reading?
Well, one could argue that *you* just absorb knowledge through the keyboard. The rest of us, however... :) On Aug 2, 2006, at 3:24 PM, Chuck Hill wrote: I use Xcode daily and I have not read _any_ of this. :-) And I doubt that I ever will. On Aug 2, 2006, at 3:01 PM, [EMAIL PROTECTED] wrote: Perhaps I'm just being lazy, but reading the entire Xcode 2.3 User Guide, which clocks in at a measly 536 pages, seems like an awful lot of pre-reading to do for a couple of sessions on Xcode. Heck, by the time I read all that I wouldn't need to attend the sessions anymore! Most of the other things I've picked out to attend also have recommended reading, though I haven't seen any others that are this heavy-duty. And then there are the related resources, which I guess are like extra credit for the overachievers among us. Is this recommendation really meant to be taken seriously?? Am I going to regret it if I leave this summer reading pile at home? janine ___ 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/chill% 40global-village.net This email sent to [EMAIL PROTECTED] -- Coming sometime... - an introduction to web applications using WebObjects and Xcode http://www.global-village.net/wointro 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 archive@mail-archive.com
Re: Event update ; notice
I was more thinking of a « portal » where : - we can promote WO by telling to the world what kind of applications we do, and when someone from the alliance is delivring a new system with WO, we update the list - links to ressources (both for WO people and people that want to know more about WO), ressources like WOCode, the Wiki, etc. - maybe some forums - list of members - online tutorials Maybe we can use GVCSiteMaker for this :-) Let's talk about this next Monday. Hi! I don't know about worldwide, but I would be very interested in creating an european WO community (could be part of a worldwide community, but the main focus is to be easier to make meet-ups). I think it's important, not only for people to meet and know they are not alone, but to exchange knowledge and experience, and show and promote their personal and/or professional WO-related work. Also, I focus on Europe, because with the cheap flights that are appearing all over the place (Vueling in Spain, Virgin Express, etc) we could make several meet-ups a year, and people would have the opportunity to join some of them (obviously, WWDC is a really big financial effort for europeans, due to the flights). I don't know anyone on Portugal, besides me and my partners, who use WebObjects for anything (unfortunately, my country is sold to Microsoft so-called technologies), but I know there are a lot of us in Europe. There's also some german guys, ObjectFarm, that talk about some Wocoa event (WO + Cocoa), but I sent them an email and got no answer... I don't know if Wocoa still exists. Are you guys out there? What do you all think (europeans for the european group, everyone for the worldwide group)? Yours Miguel Arroz On 2006/08/02, at 18:35, Pascal Robert wrote: Le 06-08-02, à 12:42, Gavin Eadie a écrit : At 12:32 PM -0700 8/1/06, Joe Little wrote: Details are always listed at http://www.global-village.net/ chill.at.gvc ... would it be useful, or is it too late to be useful, to add a column to describe our relationship to WebObjects (in terms of years of experience and/or areas of interest) ? That might help clusters of similar interest to form in a large group. I'd considered going back through the list archives to see if I could deduce this info for myself, but it seems self-description would be better Maybe it's time to consider doing a worldwide WO user group/ alliance :-) ___ 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/arroz% 40guiamac.com This email sent to [EMAIL PROTECTED] I felt like putting a bullet between the eyes of every Panda that wouldn't scr*w to save its species. -- Fight Club Miguel Arroz http://www.ipragma.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 archive@mail-archive.com
Re: Event update ; notice
There used to be a site like this, called (I thought) www.whywebobjects.com but it appears to have gone away. Chuck On Aug 2, 2006, at 6:57 PM, Pascal Robert wrote: I was more thinking of a « portal » where : - we can promote WO by telling to the world what kind of applications we do, and when someone from the alliance is delivring a new system with WO, we update the list - links to ressources (both for WO people and people that want to know more about WO), ressources like WOCode, the Wiki, etc. - maybe some forums - list of members - online tutorials Maybe we can use GVCSiteMaker for this :-) Let's talk about this next Monday. Hi! I don't know about worldwide, but I would be very interested in creating an european WO community (could be part of a worldwide community, but the main focus is to be easier to make meet-ups). I think it's important, not only for people to meet and know they are not alone, but to exchange knowledge and experience, and show and promote their personal and/or professional WO-related work. Also, I focus on Europe, because with the cheap flights that are appearing all over the place (Vueling in Spain, Virgin Express, etc) we could make several meet-ups a year, and people would have the opportunity to join some of them (obviously, WWDC is a really big financial effort for europeans, due to the flights). I don't know anyone on Portugal, besides me and my partners, who use WebObjects for anything (unfortunately, my country is sold to Microsoft so-called technologies), but I know there are a lot of us in Europe. There's also some german guys, ObjectFarm, that talk about some Wocoa event (WO + Cocoa), but I sent them an email and got no answer... I don't know if Wocoa still exists. Are you guys out there? What do you all think (europeans for the european group, everyone for the worldwide group)? Yours Miguel Arroz On 2006/08/02, at 18:35, Pascal Robert wrote: Le 06-08-02, à 12:42, Gavin Eadie a écrit : At 12:32 PM -0700 8/1/06, Joe Little wrote: Details are always listed at http://www.global-village.net/ chill.at.gvc ... would it be useful, or is it too late to be useful, to add a column to describe our relationship to WebObjects (in terms of years of experience and/or areas of interest) ? That might help clusters of similar interest to form in a large group. I'd considered going back through the list archives to see if I could deduce this info for myself, but it seems self-description would be better Maybe it's time to consider doing a worldwide WO user group/ alliance :-) ___ 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/arroz% 40guiamac.com This email sent to [EMAIL PROTECTED] I felt like putting a bullet between the eyes of every Panda that wouldn't scr*w to save its species. -- Fight Club Miguel Arroz http://www.ipragma.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/chill% 40global-village.net This email sent to [EMAIL PROTECTED] -- Coming sometime... - an introduction to web applications using WebObjects and Xcode http://www.global-village.net/wointro 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 archive@mail-archive.com
Re: Recommended reading?
Hi, Chuck, On Aug 2, 2006, at 6:24 PM, Chuck Hill wrote: I use Xcode daily and I have not read _any_ of this. :-) And I doubt that I ever will. Heh, perhaps that's why you refer to it as Vexcode. :-) On Aug 2, 2006, at 3:01 PM, [EMAIL PROTECTED] wrote: Perhaps I'm just being lazy, but reading the entire Xcode 2.3 User Guide, which clocks in at a measly 536 pages, seems like an awful lot of pre-reading to do for a couple of sessions on Xcode. Heck, by the time I read all that I wouldn't need to attend the sessions anymore! Most of the other things I've picked out to attend also have recommended reading, though I haven't seen any others that are this heavy-duty. And then there are the related resources, which I guess are like extra credit for the overachievers among us. Is this recommendation really meant to be taken seriously?? Am I going to regret it if I leave this summer reading pile at home? Hi, Janine, I would urge you to read the Introduction and the section on Developing a Software Product With Xcode. These two sections do a pretty good job of introducing the Xcode vocabulary and, without that, you will find the sessions more mystifying than helpful. It would also help to examine a working WO project developed in Xcode to see how the vocabulary presented in those two sections applies to a WO project. Unfortunately, Xcode is still aimed primarily at the Objective C, C C++ developers. All of those languages use a similar development environment and it is the environment around which Xcode was built. Java uses a very different environment, and most of the problems I've had with Xcode for WO are problems surrounding the bad fit between Xcode and Java. The bad fit mostly leaves a lot of options, facilities and services that don't fit Java and together form the cruft that makes it difficult to find what you need in Xcode for WO development. The same comments apply to the documentation surrounding Xcode. I truly wish there were an Xcode For Java Developers Users Guide that was as complete as the Xcode 2.3 User Guide, but left out all the stuff that just doesn't apply and better modeled what was left for a clearer presentation. Despite this, the things that keep me using Xcode are: * it is the Apple supported product, so one kind of assumes it will stay in lock-step with OS updates and such * it provides a better fit with the other WO tools (EOModeler and WO Builder) * the evils one knows tend to be preferable to the evils one doesn't know (also known as momentum). Good luck at WWDC, wish I could be there. Regards, Jerry -- __ Jerry W. Walker, WebObjects Developer/Instructor for High Performance Industrial Strength Internet Enabled Systems [EMAIL PROTECTED] 203 278-4085office ___ 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 archive@mail-archive.com
Re: ANN: Global Village Consulting Releases WebObjects Frameworks as Open Source
Chuck, Do you mind if I include these in our free Tomcat Distribution? Thanks, jeremy ___ 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 archive@mail-archive.com
I Wonder...
Whomever speaks for the project Wonder code...we'd like to incorporate it into out Tomcat distribution (free software), so as to make it easier for Tomcat Developers. Can someone say yea or nay? Thanks, jeremy ___ 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 archive@mail-archive.com
Re: I Wonder...
It means the same thing. Take it and do with it what you will other than removing the license. The reason that license was chosen was so that our code would fit in with pre-existing code released under the ECL. Chuck On Aug 2, 2006, at 7:51 PM, Andrus Adamchik wrote: I am NOT speaking for the Wonder project, but consider that Wonder is released under BSD license. The fact that its developers have made such licensing decision means that they gave the permission to redistribute to everybody in the world already. So you can include it in your own product in any way you like. Chuck's project on the other hand is under Educational Community License - I have no idea what that means :-) Andrus On Aug 2, 2006, at 10:43 PM, Jeremy Matthews wrote: Whomever speaks for the project Wonder code...we'd like to incorporate it into out Tomcat distribution (free software), so as to make it easier for Tomcat Developers. Can someone say yea or nay? Thanks, jeremy ___ 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/chill% 40global-village.net This email sent to [EMAIL PROTECTED] -- Coming sometime... - an introduction to web applications using WebObjects and Xcode http://www.global-village.net/wointro 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 archive@mail-archive.com
Re: Recommended reading?
On Aug 2, 2006, at 7:31 PM, Jerry W. Walker wrote: Hi, Chuck, On Aug 2, 2006, at 6:24 PM, Chuck Hill wrote: I use Xcode daily and I have not read _any_ of this. :-) And I doubt that I ever will. Heh, perhaps that's why you refer to it as Vexcode. :-) You wish. Just for the sheer perversity of it: Despite this, the things that keep me using Xcode are: * it is the Apple supported product, so one kind of assumes it will stay in lock-step with OS updates and such There are more developers working on WOLips and they don't have to adhere to Apple's release cycles. * it provides a better fit with the other WO tools (EOModeler and WO Builder) Seen WOLips recently? There is a surprise for you... * the evils one knows tend to be preferable to the evils one doesn't know (also known as momentum). aka a stick in the mud :-P Yours in jest, Chuck -- Coming sometime... - an introduction to web applications using WebObjects and Xcode http://www.global-village.net/wointro 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 archive@mail-archive.com
Re: Recommended reading?
On Aug 2, 2006, at 7:31 PM, Jerry W. Walker wrote: I would urge you to read the Introduction and the section on Developing a Software Product With Xcode. These two sections do a pretty good job of introducing the Xcode vocabulary and, without that, you will find the sessions more mystifying than helpful. It would also help to examine a working WO project developed in Xcode to see how the vocabulary presented in those two sections applies to a WO project. I've been slowly building a small WO project, though I'm not going to have time to get it done before I arrive, I'm afraid. I think with your reading assignment I will be ok. Java uses a very different environment, and most of the problems I've had with Xcode for WO are problems surrounding the bad fit between Xcode and Java. The bad fit mostly leaves a lot of options, facilities and services that don't fit Java and together form the cruft that makes it difficult to find what you need in Xcode for WO development. The same comments apply to the documentation surrounding Xcode. Well, for better or worse I won't know what I'm missing. :) * it is the Apple supported product, so one kind of assumes it will stay in lock-step with OS updates and such I hope you are right. I started trying to do my project in Eclipse, but decided that dealing with Eclipse, WOLips, the new Entity Modeler and EO Generator all at the same time was just too much new stuff all at once. I've done enough with Xcode now to limp around, so I'm sticking with it until I feel more confident in what I'm doing. * the evils one knows tend to be preferable to the evils one doesn't know (also known as momentum). If that's anything like Joementum then run, run away fast! :) It could be contagious! (for our non American readers, it's a political joke. Email me if you really want to know.) Good luck at WWDC, wish I could be there. I wish you could be too! janine ___ 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 archive@mail-archive.com