Re: Any interest in WOWODC recordings on DVDs?
I would surely buy them! Inviato da iPhone Il giorno 12/feb/2013, alle ore 20:12, Pascal Robert prob...@macti.ca ha scritto: Le 2013-02-12 à 13:59, Ramsey Gurley rgur...@smarthealth.com a écrit : I can't imagine a DVD being worth much since it would low res everything down to VGA. That why I said « (as QuickTime movies, not as a movie DVD) » :-) The DVDs would just be a dump of the recordings as they already are. One of the BSD disto is doing that so that people who can't donate because of organization rules can buy something to give money back to the foundation. Squinting at the screencasts are tough enough with compression artifacts on the text at regular resolution. Plus all the time recompressing and burning... yick. Just put the files on a microSD card. Then everyone can watch them on their computer/tablet/phone. Ramsey On Feb 12, 2013, at 11:43 AM, Pascal Robert wrote: If we sell the WOWODC recordings on DVDs (as QuickTime movies, not as a movie DVD) to raise money for the Association, does any of you would buy it? I don't think we will add that option is only one or two guys requests it, hence the question. ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/rgurley%40smarthealth.com This email sent to rgur...@smarthealth.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/mcentro%40altera.it This email sent to mcen...@altera.it ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: WOCommunity membership and goals
Speaking for my company, sometimes we are forced to use jQuery for some things. We try to do as much as possible with Ajax.framework (prototype) but some things are simply not feasible without jQuery. We generally have use the two mixed, which is sometimes a source for headaches. A nice thing would be to have a port of the prototype Ajax.framework to jQuery but that's way beyond our area of expertise, I can't even say if it's feasible. Matteo On 07/feb/2013, at 17:23, Pascal Robert prob...@macti.ca wrote: Le 2013-02-07 à 11:21, Musall Maik m...@selbstdenker.ag a écrit : Am 07.02.2013 um 16:58 schrieb Pascal Robert prob...@macti.ca: Le 2013-02-07 à 10:44, Johann Werner j...@oyosys.de a écrit : Am 07.02.2013 um 16:12 schrieb James Cicenia ja...@jimijon.com: I concur... a strong integration of WO with CoreData and Syncing, would be a really nice marketing hook too. Which could translate into more members! And yes, jQuery does have the momentum in the AJAX world. I see jQuery as an important option for Wonder though I am not sure if its the best way to have a separate AjaxPrototype, AjaxJQuery, AjaxMooTools, … framework which would make maintenance a nightmare if you want to keep those feature equal. If I remember correctly long time ago the idea to make some sort of Javascript API wrapper was already discussed / proposed on the list to have only one single Ajax framework and being able choose if you want to use prototype, jQuery or any other supported JS library. I already played with the thought to do some test code in that direction though had not enough time yet. What do you think, is that something the we should realize or does the community want a complete jQuery replacement of the prototype framework? I'm curious about this too, because looking at the surveys, looks like most people use both jQuery and the Ajax framework: Ajax framework from Wonder 81% jQuery 69% Last year: Ajax framework from Wonder 69% jQuery 47% The survey was bit biased because it listed jQuery specifically but not moo tools. This is why we have a Other option, and two organizations listed MooTools in other. I'm with Johann. We should have one server-side framework that supports the main JS libs, or we'll be seeing more frameworks eventually make their way into the Archive attic ;-) Maik ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/probert%40macti.ca This email sent to prob...@macti.ca ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/mcentro%40altera.it This email sent to mcen...@altera.it ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Immortal sessions in production
If I can add another hint to the thing: if I put WOAllowsConcurrentRequestHandling to false, the problem seems less frequent so it's definitely a deadlocking issue. I'm only using ERXEC.newEditingContext() to create ECs, some are created in DirectActions, some in Application and of course there's the ERXSession.defaultEditingContext() Thanks for any help, Matteo On Wed, Jan 30, 2013 at 6:10 PM, Amedeo Mantica amedeomant...@me.com wrote: Sent from my iPhone On 30/gen/2013, at 17:59, Matteo Centro woli...@matteocentro.it wrote: Regarding the deployment environment (which is not under my control, as I said before) There are 6 boxes: 2 webservers (one each for 2 different apps) 2 WO nodes with wonder's latest wotaskd 1 Mysql DB 1 JavaMonitor box I noticed that the box that runs JavaMonitor doesn't have wotaskd running, is this normal? Yes. JavaMonitor don't have to be in the same machine that runs wotaskd Matteo On Wed, Jan 30, 2013 at 5:56 PM, Matteo Centro woli...@matteocentro.it wrote: From what I see some instances don't log the DB Connection error and still have immortal sessions. The main problems with immortal sessions is that eventually they end up with a memory problem, I recall there is a way to make the instance restart if memory errors happen but I can't remember how. I'm still in dire straits, no idea how to fix this... no idea what's happening either. Any suggestions? Matteo On Tue, Jan 15, 2013 at 6:14 PM, Chuck Hill ch...@global-village.net wrote: On 2013-01-15, at 3:20 AM, Matteo Centro wrote: Unfortunately I don't have full control of the deployment environment... It looks like at some times the DB stops responding with no apparent reason. Could a simple DB Connection glitch cause a EOObjectStoreCoordinator lock? I recall a bug at some level related to this. I could be wrong. Maybe I can tweak the connection dictionary to enable auto reconnect. I'll try Chuck On Mon, Jan 14, 2013 at 8:17 PM, Chuck Hill ch...@global-village.net wrote: Hi Matteo, Something locked the EOObjectStoreCoordinator and did not unlock it. Does the log for this instance show any exceptions? This exception could perhaps cause this problem: ava.io.EOFException at com.mysql.jdbc.MysqlIO.readFully(MysqlIO.java:1394) at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:1538) at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:1929) at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1167) at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1278) at com.mysql.jdbc.Connection.execSQL(Connection.java:2247) at com.mysql.jdbc.PreparedStatement.execute(PreparedStatement.java:1371) at com.webobjects.jdbcadaptor.JDBCChannel._bindInputVariablesWithBindingsAndExecute(JDBCChannel.java:265) at com.webobjects.jdbcadaptor.JDBCChannel._evaluateExpression(JDBCChannel.java:337) at com.webobjects.jdbcadaptor.JDBCChannel.evaluateExpression(JDBCChannel.java:296) at com.webobjects.jdbcadaptor.JDBCChannel.selectAttributes(JDBCChannel.java:220) at com.webobjects.eoaccess.EODatabaseChannel._selectWithFetchSpecificationEditingContext(EODatabaseChannel.java:897) at com.webobjects.eoaccess.EODatabaseChannel.selectObjectsWithFetchSpecification(EODatabaseChannel.java:234) at com.webobjects.eoaccess.EODatabaseContext._objectsWithFetchSpecificationEditingContext(EODatabaseContext.java:3055) at com.webobjects.eoaccess.EODatabaseContext.objectsWithFetchSpecification(EODatabaseContext.java:3195) at com.webobjects.eocontrol.EOObjectStoreCoordinator.objectsWithFetchSpecification(EOObjectStoreCoordinator.java:488) at com.webobjects.eocontrol.EOEditingContext.objectsWithFetchSpecification(EOEditingContext.java:4069) at er.extensions.eof.ERXEC.objectsWithFetchSpecification(ERXEC.java:1305) at com.webobjects.eocontrol.EOEditingContext.objectsWithFetchSpecification(EOEditingContext.java:) Chuck On 2013-01-14, at 10:05 AM, Matteo Centro wrote: Hi all, suspecting there was some sort of deadlock I ran jstack against one of the immortal sessions instances, I'm attaching the output, anything helps... Thanks, Matteo On Mon, Jan 14, 2013 at 12:35 PM, Matteo Centro woli...@matteocentro.it wrote: Sure, here it is: Hi Chuck, I'm posting just to you, I can't have google to index this... anyway, here is the stack trace: java.lang.IllegalMonitorStateException at java.util.concurrent.locks.ReentrantLock$Sync.tryRelease(ReentrantLock.java:127) at java.util.concurrent.locks.AbstractQueuedSynchronizer.release(AbstractQueuedSynchronizer.java:1239) at java.util.concurrent.locks.ReentrantLock.unlock(ReentrantLock.java:431) at com.webobjects.eocontrol.EOObjectStoreCoordinator.unlock(EOObjectStoreCoordinator.java:448) at com.webobjects.eocontrol.EOEditingContext.unlockObjectStore
Re: Immortal sessions in production
From what I see some instances don't log the DB Connection error and still have immortal sessions. The main problems with immortal sessions is that eventually they end up with a memory problem, I recall there is a way to make the instance restart if memory errors happen but I can't remember how. I'm still in dire straits, no idea how to fix this... no idea what's happening either. Any suggestions? Matteo On Tue, Jan 15, 2013 at 6:14 PM, Chuck Hill ch...@global-village.net wrote: On 2013-01-15, at 3:20 AM, Matteo Centro wrote: Unfortunately I don't have full control of the deployment environment... It looks like at some times the DB stops responding with no apparent reason. Could a simple DB Connection glitch cause a EOObjectStoreCoordinator lock? I recall a bug at some level related to this. I could be wrong. Maybe I can tweak the connection dictionary to enable auto reconnect. I'll try Chuck On Mon, Jan 14, 2013 at 8:17 PM, Chuck Hill ch...@global-village.net wrote: Hi Matteo, Something locked the EOObjectStoreCoordinator and did not unlock it. Does the log for this instance show any exceptions? This exception could perhaps cause this problem: ava.io.EOFException at com.mysql.jdbc.MysqlIO.readFully(MysqlIO.java:1394) at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:1538) at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:1929) at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1167) at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1278) at com.mysql.jdbc.Connection.execSQL(Connection.java:2247) at com.mysql.jdbc.PreparedStatement.execute(PreparedStatement.java:1371) at com.webobjects.jdbcadaptor.JDBCChannel._bindInputVariablesWithBindingsAndExecute(JDBCChannel.java:265) at com.webobjects.jdbcadaptor.JDBCChannel._evaluateExpression(JDBCChannel.java:337) at com.webobjects.jdbcadaptor.JDBCChannel.evaluateExpression(JDBCChannel.java:296) at com.webobjects.jdbcadaptor.JDBCChannel.selectAttributes(JDBCChannel.java:220) at com.webobjects.eoaccess.EODatabaseChannel._selectWithFetchSpecificationEditingContext(EODatabaseChannel.java:897) at com.webobjects.eoaccess.EODatabaseChannel.selectObjectsWithFetchSpecification(EODatabaseChannel.java:234) at com.webobjects.eoaccess.EODatabaseContext._objectsWithFetchSpecificationEditingContext(EODatabaseContext.java:3055) at com.webobjects.eoaccess.EODatabaseContext.objectsWithFetchSpecification(EODatabaseContext.java:3195) at com.webobjects.eocontrol.EOObjectStoreCoordinator.objectsWithFetchSpecification(EOObjectStoreCoordinator.java:488) at com.webobjects.eocontrol.EOEditingContext.objectsWithFetchSpecification(EOEditingContext.java:4069) at er.extensions.eof.ERXEC.objectsWithFetchSpecification(ERXEC.java:1305) at com.webobjects.eocontrol.EOEditingContext.objectsWithFetchSpecification(EOEditingContext.java:) Chuck On 2013-01-14, at 10:05 AM, Matteo Centro wrote: Hi all, suspecting there was some sort of deadlock I ran jstack against one of the immortal sessions instances, I'm attaching the output, anything helps... Thanks, Matteo On Mon, Jan 14, 2013 at 12:35 PM, Matteo Centro woli...@matteocentro.it wrote: Sure, here it is: Hi Chuck, I'm posting just to you, I can't have google to index this... anyway, here is the stack trace: java.lang.IllegalMonitorStateException at java.util.concurrent.locks.ReentrantLock$Sync.tryRelease(ReentrantLock.java:127) at java.util.concurrent.locks.AbstractQueuedSynchronizer.release(AbstractQueuedSynchronizer.java:1239) at java.util.concurrent.locks.ReentrantLock.unlock(ReentrantLock.java:431) at com.webobjects.eocontrol.EOObjectStoreCoordinator.unlock(EOObjectStoreCoordinator.java:448) at com.webobjects.eocontrol.EOEditingContext.unlockObjectStore(EOEditingContext.java:4684) at er.extensions.eof.ERXEC.unlockObjectStore(ERXEC.java:805) at com.webobjects.eocontrol.EOCustomObject.willReadRelationship(EOCustomObject.java:1281) at er.extensions.eof.ERXGenericRecord.willReadRelationship(ERXGenericRecord.java:378) at com.webobjects.eocontrol._EOMutableKnownKeyDictionary$Initializer$_LazyGenericRecordBinding.valueInObject(_EOMutableKnownKeyDictionary.java:614) at com.webobjects.eocontrol.EOCustomObject.storedValueForKey(EOCustomObject.java:1634) at com.tla.logic._RigaCarrello.clientiPerTicket(_RigaCarrello.java:275) at com.tla.logic.RigaCarrello.setPosti(RigaCarrello.java:94) at com.tla.logic.Carrello.cancellaTutto(Carrello.java:164) at com.tla.calendar.Session.terminate(Session.java:81) at com.webobjects.appserver.WOSession._terminateByTimeout(WOSession.java:610) at com.webobjects.appserver.WOSessionStore$_SessionTimeoutManager.run(WOSessionStore.java:115
Re: Immortal sessions in production
Regarding the deployment environment (which is not under my control, as I said before) There are 6 boxes: 2 webservers (one each for 2 different apps) 2 WO nodes with wonder's latest wotaskd 1 Mysql DB 1 JavaMonitor box I noticed that the box that runs JavaMonitor doesn't have wotaskd running, is this normal? Matteo On Wed, Jan 30, 2013 at 5:56 PM, Matteo Centro woli...@matteocentro.it wrote: From what I see some instances don't log the DB Connection error and still have immortal sessions. The main problems with immortal sessions is that eventually they end up with a memory problem, I recall there is a way to make the instance restart if memory errors happen but I can't remember how. I'm still in dire straits, no idea how to fix this... no idea what's happening either. Any suggestions? Matteo On Tue, Jan 15, 2013 at 6:14 PM, Chuck Hill ch...@global-village.net wrote: On 2013-01-15, at 3:20 AM, Matteo Centro wrote: Unfortunately I don't have full control of the deployment environment... It looks like at some times the DB stops responding with no apparent reason. Could a simple DB Connection glitch cause a EOObjectStoreCoordinator lock? I recall a bug at some level related to this. I could be wrong. Maybe I can tweak the connection dictionary to enable auto reconnect. I'll try Chuck On Mon, Jan 14, 2013 at 8:17 PM, Chuck Hill ch...@global-village.net wrote: Hi Matteo, Something locked the EOObjectStoreCoordinator and did not unlock it. Does the log for this instance show any exceptions? This exception could perhaps cause this problem: ava.io.EOFException at com.mysql.jdbc.MysqlIO.readFully(MysqlIO.java:1394) at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:1538) at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:1929) at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1167) at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1278) at com.mysql.jdbc.Connection.execSQL(Connection.java:2247) at com.mysql.jdbc.PreparedStatement.execute(PreparedStatement.java:1371) at com.webobjects.jdbcadaptor.JDBCChannel._bindInputVariablesWithBindingsAndExecute(JDBCChannel.java:265) at com.webobjects.jdbcadaptor.JDBCChannel._evaluateExpression(JDBCChannel.java:337) at com.webobjects.jdbcadaptor.JDBCChannel.evaluateExpression(JDBCChannel.java:296) at com.webobjects.jdbcadaptor.JDBCChannel.selectAttributes(JDBCChannel.java:220) at com.webobjects.eoaccess.EODatabaseChannel._selectWithFetchSpecificationEditingContext(EODatabaseChannel.java:897) at com.webobjects.eoaccess.EODatabaseChannel.selectObjectsWithFetchSpecification(EODatabaseChannel.java:234) at com.webobjects.eoaccess.EODatabaseContext._objectsWithFetchSpecificationEditingContext(EODatabaseContext.java:3055) at com.webobjects.eoaccess.EODatabaseContext.objectsWithFetchSpecification(EODatabaseContext.java:3195) at com.webobjects.eocontrol.EOObjectStoreCoordinator.objectsWithFetchSpecification(EOObjectStoreCoordinator.java:488) at com.webobjects.eocontrol.EOEditingContext.objectsWithFetchSpecification(EOEditingContext.java:4069) at er.extensions.eof.ERXEC.objectsWithFetchSpecification(ERXEC.java:1305) at com.webobjects.eocontrol.EOEditingContext.objectsWithFetchSpecification(EOEditingContext.java:) Chuck On 2013-01-14, at 10:05 AM, Matteo Centro wrote: Hi all, suspecting there was some sort of deadlock I ran jstack against one of the immortal sessions instances, I'm attaching the output, anything helps... Thanks, Matteo On Mon, Jan 14, 2013 at 12:35 PM, Matteo Centro woli...@matteocentro.it wrote: Sure, here it is: Hi Chuck, I'm posting just to you, I can't have google to index this... anyway, here is the stack trace: java.lang.IllegalMonitorStateException at java.util.concurrent.locks.ReentrantLock$Sync.tryRelease(ReentrantLock.java:127) at java.util.concurrent.locks.AbstractQueuedSynchronizer.release(AbstractQueuedSynchronizer.java:1239) at java.util.concurrent.locks.ReentrantLock.unlock(ReentrantLock.java:431) at com.webobjects.eocontrol.EOObjectStoreCoordinator.unlock(EOObjectStoreCoordinator.java:448) at com.webobjects.eocontrol.EOEditingContext.unlockObjectStore(EOEditingContext.java:4684) at er.extensions.eof.ERXEC.unlockObjectStore(ERXEC.java:805) at com.webobjects.eocontrol.EOCustomObject.willReadRelationship(EOCustomObject.java:1281) at er.extensions.eof.ERXGenericRecord.willReadRelationship(ERXGenericRecord.java:378) at com.webobjects.eocontrol._EOMutableKnownKeyDictionary$Initializer$_LazyGenericRecordBinding.valueInObject(_EOMutableKnownKeyDictionary.java:614) at com.webobjects.eocontrol.EOCustomObject.storedValueForKey(EOCustomObject.java:1634) at com.tla.logic._RigaCarrello.clientiPerTicket(_RigaCarrello.java:275
Re: Immortal sessions in production
Unfortunately I don't have full control of the deployment environment... It looks like at some times the DB stops responding with no apparent reason. Could a simple DB Connection glitch cause a EOObjectStoreCoordinator lock? Maybe I can tweak the connection dictionary to enable auto reconnect. I'll try Matteo On Mon, Jan 14, 2013 at 8:17 PM, Chuck Hill ch...@global-village.net wrote: Hi Matteo, Something locked the EOObjectStoreCoordinator and did not unlock it. Does the log for this instance show any exceptions? This exception could perhaps cause this problem: ava.io.EOFException at com.mysql.jdbc.MysqlIO.readFully(MysqlIO.java:1394) at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:1538) at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:1929) at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1167) at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1278) at com.mysql.jdbc.Connection.execSQL(Connection.java:2247) at com.mysql.jdbc.PreparedStatement.execute(PreparedStatement.java:1371) at com.webobjects.jdbcadaptor.JDBCChannel._bindInputVariablesWithBindingsAndExecute(JDBCChannel.java:265) at com.webobjects.jdbcadaptor.JDBCChannel._evaluateExpression(JDBCChannel.java:337) at com.webobjects.jdbcadaptor.JDBCChannel.evaluateExpression(JDBCChannel.java:296) at com.webobjects.jdbcadaptor.JDBCChannel.selectAttributes(JDBCChannel.java:220) at com.webobjects.eoaccess.EODatabaseChannel._selectWithFetchSpecificationEditingContext(EODatabaseChannel.java:897) at com.webobjects.eoaccess.EODatabaseChannel.selectObjectsWithFetchSpecification(EODatabaseChannel.java:234) at com.webobjects.eoaccess.EODatabaseContext._objectsWithFetchSpecificationEditingContext(EODatabaseContext.java:3055) at com.webobjects.eoaccess.EODatabaseContext.objectsWithFetchSpecification(EODatabaseContext.java:3195) at com.webobjects.eocontrol.EOObjectStoreCoordinator.objectsWithFetchSpecification(EOObjectStoreCoordinator.java:488) at com.webobjects.eocontrol.EOEditingContext.objectsWithFetchSpecification(EOEditingContext.java:4069) at er.extensions.eof.ERXEC.objectsWithFetchSpecification(ERXEC.java:1305) at com.webobjects.eocontrol.EOEditingContext.objectsWithFetchSpecification(EOEditingContext.java:) Chuck On 2013-01-14, at 10:05 AM, Matteo Centro wrote: Hi all, suspecting there was some sort of deadlock I ran jstack against one of the immortal sessions instances, I'm attaching the output, anything helps... Thanks, Matteo On Mon, Jan 14, 2013 at 12:35 PM, Matteo Centro woli...@matteocentro.it wrote: Sure, here it is: Hi Chuck, I'm posting just to you, I can't have google to index this... anyway, here is the stack trace: java.lang.IllegalMonitorStateException at java.util.concurrent.locks.ReentrantLock$Sync.tryRelease(ReentrantLock.java:127) at java.util.concurrent.locks.AbstractQueuedSynchronizer.release(AbstractQueuedSynchronizer.java:1239) at java.util.concurrent.locks.ReentrantLock.unlock(ReentrantLock.java:431) at com.webobjects.eocontrol.EOObjectStoreCoordinator.unlock(EOObjectStoreCoordinator.java:448) at com.webobjects.eocontrol.EOEditingContext.unlockObjectStore(EOEditingContext.java:4684) at er.extensions.eof.ERXEC.unlockObjectStore(ERXEC.java:805) at com.webobjects.eocontrol.EOCustomObject.willReadRelationship(EOCustomObject.java:1281) at er.extensions.eof.ERXGenericRecord.willReadRelationship(ERXGenericRecord.java:378) at com.webobjects.eocontrol._EOMutableKnownKeyDictionary$Initializer$_LazyGenericRecordBinding.valueInObject(_EOMutableKnownKeyDictionary.java:614) at com.webobjects.eocontrol.EOCustomObject.storedValueForKey(EOCustomObject.java:1634) at com.tla.logic._RigaCarrello.clientiPerTicket(_RigaCarrello.java:275) at com.tla.logic.RigaCarrello.setPosti(RigaCarrello.java:94) at com.tla.logic.Carrello.cancellaTutto(Carrello.java:164) at com.tla.calendar.Session.terminate(Session.java:81) at com.webobjects.appserver.WOSession._terminateByTimeout(WOSession.java:610) at com.webobjects.appserver.WOSessionStore$_SessionTimeoutManager.run(WOSessionStore.java:115) at java.lang.Thread.run(Thread.java:662) Sorry for the italian Class Names and Methods, as I said I inherited that... The exception is caught, that printout is the printStackTrace of the exception... But anyway, I'm not sure that's the real problem, I found this morning an instance with 295 sessions (still alive) and the only exception logged was a weird er.transaction.adaptor.Exceptions - Database Exception occured: No operations allowed after connection closed. Connection was closed due to the following exception: ** BEGIN NESTED EXCEPTION ** java.sql.SQLException
Re: Immortal sessions in production
._dispatchWithPreparedSession(ERXComponentRequestHandler.java:235) at er.extensions.appserver.ERXComponentRequestHandler._dispatchWithPreparedApplication(ERXComponentRequestHandler.java:268) at er.extensions.appserver.ERXComponentRequestHandler._handleRequest(ERXComponentRequestHandler.java:302) at er.extensions.appserver.ERXComponentRequestHandler.handleRequest(ERXComponentRequestHandler.java:377) at com.webobjects.appserver.WOApplication.dispatchRequest(WOApplication.java:1687) at er.extensions.appserver.ERXApplication.dispatchRequestImmediately(ERXApplication.java:2139) at er.extensions.appserver.ERXApplication.dispatchRequest(ERXApplication.java:2104) at com.webobjects.appserver._private.WOWorkerThread.runOnce(WOWorkerThread.java:144) at com.webobjects.appserver._private.WOWorkerThread.run(WOWorkerThread.java:226) at java.lang.Thread.run(Thread.java:662) So I'm not that confident that I am on the right track... Looks like if anything goes wrong in the life of the instance sessions won't die... Which is kind of disturbing. Matteo On Sun, Jan 13, 2013 at 7:01 PM, Chuck Hill ch...@global-village.net wrote: Can you post the entire stack trace? At the very least, I would catch that exception and now allow it out of your finalize method. On Sun, Jan 13, 2013 at 7:01 PM, Chuck Hill ch...@global-village.net wrote: Can you post the entire stack trace? At the very least, I would catch that exception and now allow it out of your finalize method. On 2013-01-12, at 2:01 PM, Matteo Centro wrote: Thanks, I'll try that. Anyway (I can't say it's that but this happens often in instances with immortal sessions): I get this in my terminate() method java.lang.IllegalMonitorStateException at java.util.concurrent.locks.ReentrantLock$Sync.tryRelease(ReentrantLock.java:127) at java.util.concurrent.locks.AbstractQueuedSynchronizer.release(AbstractQueuedSynchronizer.java:1239) at java.util.concurrent.locks.ReentrantLock.unlock(ReentrantLock.java:431) at com.webobjects.eocontrol.EOObjectStoreCoordinator.unlock(EOObjectStoreCoordinator.java:460) at com.webobjects.eocontrol.EOEditingContext.unlockObjectStore(EOEditingContext.java:4684) at er.extensions.eof.ERXEC.unlockObjectStore(ERXEC.java:805) at com.webobjects.eocontrol.EOCustomObject.willReadRelationship(EOCustomObject.java:1281) at er.extensions.eof.ERXGenericRecord.willReadRelationship(ERXGenericRecord.java:378) at com.webobjects.eocontrol._EOMutableKnownKeyDictionary$Initializer$_LazyGenericRecordBinding.valueInObject(_EOMutableKnownKeyDictionary.java:614) at com.webobjects.eocontrol.EOCustomObject.storedValueForKey(EOCustomObject.java:1634) I'm using ERXEC everywhere and I'm not locking explicitly, should I lock the ec in the terminate method? Matteo On Sat, Jan 12, 2013 at 8:39 PM, Simon si...@potwells.co.uk wrote: stick this in your session constructor, it will log out whenever a session is created. then you can start figuring out where you are creating a session outside the RR loop which is the normal culprit... StringWriter stringWriter = new StringWriter(); PrintWriter printWriter = new PrintWriter(stringWriter); (new Throwable()).printStackTrace(printWriter); String trace = stringWriter.toString(); log.debug(Session count = + application().activeSessionsCount()); ClickEventLogger2.getLogger().fatal(ClickEventCode.E00129, Session Created:\n\n + trace, this.getClass().getSimpleName()); hmmm, you'll have to replace the ClickEventLogger2 line because that's our logging mechanism. you could log.fatal it and set up an email appender in log4j. simon On 12 January 2013 17:43, Matteo Centro woli...@matteocentro.it wrote: Sorry to resuscitate such an old discussion but I'm having the exact same issue... It's an old application that we inherited, we wonderized it as much as it's possible but something weird happens in production, sessions on some instances simply won't die. Some instances go out of memory and they hang there. I'm in trouble and I needs some hints, both to fix the issue temporarily and to fix it for good (of course in that case I assume I'll have to rewrite the app, if only I could find the budget). What are the most common causes of sessions not dying? Thanks, Matteo On Thu, Aug 21, 2008 at 5:35 AM, Joe Little jmlit...@gmail.com wrote: I had something similar with sessions going bonkers on a public WO page that our internal google search engine completely trashed. In the end, robots.txt and explicit rules to deny certain patterns were added to prevent this. On Wed, Aug 20, 2008 at 8:17 PM, D Tim Cummings ti...@tpg.com.au wrote: We have
Re: Immortal sessions in production
It's a mess... There are ECs created in some DirectActions, and ECs created in methods in Application but all the edit operations happen in the Session EC. All ECs are ERXECs and no explicit locks happen. Should I explicitly lock the session EC in the terminate method? Matteo On Sun, Jan 13, 2013 at 10:36 AM, Amedeo Mantica amedeomant...@me.com wrote: Are you sure the ec is only referenced by the session? Maybe there are objects referencing it outside the session. Application ? Any shared object ? A thread ? Amedeo Sent from my iPhone On 12/gen/2013, at 23:01, Matteo Centro woli...@matteocentro.it wrote: Thanks, I'll try that. Anyway (I can't say it's that but this happens often in instances with immortal sessions): I get this in my terminate() method java.lang.IllegalMonitorStateException at java.util.concurrent.locks.ReentrantLock$Sync.tryRelease(ReentrantLock.java:127) at java.util.concurrent.locks.AbstractQueuedSynchronizer.release(AbstractQueuedSynchronizer.java:1239) at java.util.concurrent.locks.ReentrantLock.unlock(ReentrantLock.java:431) at com.webobjects.eocontrol.EOObjectStoreCoordinator.unlock(EOObjectStoreCoordinator.java:460) at com.webobjects.eocontrol.EOEditingContext.unlockObjectStore(EOEditingContext.java:4684) at er.extensions.eof.ERXEC.unlockObjectStore(ERXEC.java:805) at com.webobjects.eocontrol.EOCustomObject.willReadRelationship(EOCustomObject.java:1281) at er.extensions.eof.ERXGenericRecord.willReadRelationship(ERXGenericRecord.java:378) at com.webobjects.eocontrol._EOMutableKnownKeyDictionary$Initializer$_LazyGenericRecordBinding.valueInObject(_EOMutableKnownKeyDictionary.java:614) at com.webobjects.eocontrol.EOCustomObject.storedValueForKey(EOCustomObject.java:1634) I'm using ERXEC everywhere and I'm not locking explicitly, should I lock the ec in the terminate method? Matteo On Sat, Jan 12, 2013 at 8:39 PM, Simon si...@potwells.co.uk wrote: stick this in your session constructor, it will log out whenever a session is created. then you can start figuring out where you are creating a session outside the RR loop which is the normal culprit... StringWriter stringWriter = new StringWriter(); PrintWriter printWriter = new PrintWriter(stringWriter); (new Throwable()).printStackTrace(printWriter); String trace = stringWriter.toString(); log.debug(Session count = + application().activeSessionsCount()); ClickEventLogger2.getLogger().fatal(ClickEventCode.E00129, Session Created:\n\n + trace, this.getClass().getSimpleName()); hmmm, you'll have to replace the ClickEventLogger2 line because that's our logging mechanism. you could log.fatal it and set up an email appender in log4j. simon On 12 January 2013 17:43, Matteo Centro woli...@matteocentro.it wrote: Sorry to resuscitate such an old discussion but I'm having the exact same issue... It's an old application that we inherited, we wonderized it as much as it's possible but something weird happens in production, sessions on some instances simply won't die. Some instances go out of memory and they hang there. I'm in trouble and I needs some hints, both to fix the issue temporarily and to fix it for good (of course in that case I assume I'll have to rewrite the app, if only I could find the budget). What are the most common causes of sessions not dying? Thanks, Matteo On Thu, Aug 21, 2008 at 5:35 AM, Joe Little jmlit...@gmail.com wrote: I had something similar with sessions going bonkers on a public WO page that our internal google search engine completely trashed. In the end, robots.txt and explicit rules to deny certain patterns were added to prevent this. On Wed, Aug 20, 2008 at 8:17 PM, D Tim Cummings ti...@tpg.com.au wrote: We have a couple of sessionless apps that have started showing this problem with sessions that don't terminate. It turned out the sessions were being created by malformed urls coming from malicious robot web crawlers. The urls were of the form http://www.courses.qut.edu.au/cgi-bin/WebObjects/Courses.woa/wa/cgi-bin/WebObjects/Courses.woa Maybe see if you are getting incorrect links to your sessionless login page. We solved the problem by catching unknown direct actions in DirectAction.java @Override public WOActionResults performActionNamed(String actionName) { try { return super.performActionNamed(actionName); } catch (NSForwardException nsfe) { log.info(ns forward exception - prbalby no such method for + actionName); } return defaultAction(); } and in Application.java directing exceptions back to the Main page (for URLs with more than one / after wa). @Override public WOComponent pageWithName(String namePage, WOContext context) { if ( WOExceptionPage.equals(namePage) ) { namePage = Main
Re: Immortal sessions in production
Sorry to resuscitate such an old discussion but I'm having the exact same issue... It's an old application that we inherited, we wonderized it as much as it's possible but something weird happens in production, sessions on some instances simply won't die. Some instances go out of memory and they hang there. I'm in trouble and I needs some hints, both to fix the issue temporarily and to fix it for good (of course in that case I assume I'll have to rewrite the app, if only I could find the budget). What are the most common causes of sessions not dying? Thanks, Matteo On Thu, Aug 21, 2008 at 5:35 AM, Joe Little jmlit...@gmail.com wrote: I had something similar with sessions going bonkers on a public WO page that our internal google search engine completely trashed. In the end, robots.txt and explicit rules to deny certain patterns were added to prevent this. On Wed, Aug 20, 2008 at 8:17 PM, D Tim Cummings ti...@tpg.com.au wrote: We have a couple of sessionless apps that have started showing this problem with sessions that don't terminate. It turned out the sessions were being created by malformed urls coming from malicious robot web crawlers. The urls were of the form http://www.courses.qut.edu.au/cgi-bin/WebObjects/Courses.woa/wa/cgi-bin/WebObjects/Courses.woa Maybe see if you are getting incorrect links to your sessionless login page. We solved the problem by catching unknown direct actions in DirectAction.java @Override public WOActionResults performActionNamed(String actionName) { try { return super.performActionNamed(actionName); } catch (NSForwardException nsfe) { log.info(ns forward exception - prbalby no such method for + actionName); } return defaultAction(); } and in Application.java directing exceptions back to the Main page (for URLs with more than one / after wa). @Override public WOComponent pageWithName(String namePage, WOContext context) { if ( WOExceptionPage.equals(namePage) ) { namePage = Main; } if ( WOSessionRestorationError.equals(namePage) ) { namePage = Main; } return super.pageWithName(namePage, context); } and in Main.java public void setException ( Exception e ) { log.error(an exception occurred + e); } We are running apps with embedded Wonder 4 and WebObjects 5.3.3 on Mac OS X Server 10.5.4 with WebObjects 5.4.2 deployment. We didn't have the problem before we went to this setup, but maybe we weren't getting hit with the same url format then. Tim On 21/08/2008, at 4:02 AM, Chuck Hill wrote: On Aug 20, 2008, at 9:54 AM, Simon McLean wrote: Hi All - Wondering if someone can throw me some ideas on solving what looks like an immortal session problem. - Start up 1 instance in java monitor. - User lands on sessionless login page. No sessions. - User logs in. 1 session. - User logs out. 0 sessions. - User logs in. 1 session. - User does nothing. Session times out. 0 sessions. All looks good. However, we get to the end of the day and the instance has 376 active sessions. But I know for this particular app there are only 6 users, because they are all sitting next door :-) Also, If i now leave this instance overnight none of those active sessions will go away. So what could be going on ? Something appears to be creating immortal sessions, but forced session termination (by the user logging out) and session expiration seem to be behaving themselves. If the users don't notice any problems, my money would be on an exception thrown from your Session.terminate(). Also check the sleep() method to ensure it can never throw. I have seen a related problem where two requests come in for the same session (user double clicks, Ajax etc), and the first calls terminate() on the session. The second thread is stuck and the app can't gracefully shut down. IIRC, you would see zero sessions in this case. The fix for this is to not call terminate() and instead set the session timeout to a small number of seconds. Chuck -- 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/timcu%40tpg.com.au This email sent to ti...@tpg.com.au ___ 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 jmlit...@gmail.com ___ Do not post admin
Re: Immortal sessions in production
Thanks, I'll try that. Anyway (I can't say it's that but this happens often in instances with immortal sessions): I get this in my terminate() method java.lang.IllegalMonitorStateException at java.util.concurrent.locks.ReentrantLock$Sync.tryRelease(ReentrantLock.java:127) at java.util.concurrent.locks.AbstractQueuedSynchronizer.release(AbstractQueuedSynchronizer.java:1239) at java.util.concurrent.locks.ReentrantLock.unlock(ReentrantLock.java:431) at com.webobjects.eocontrol.EOObjectStoreCoordinator.unlock(EOObjectStoreCoordinator.java:460) at com.webobjects.eocontrol.EOEditingContext.unlockObjectStore(EOEditingContext.java:4684) at er.extensions.eof.ERXEC.unlockObjectStore(ERXEC.java:805) at com.webobjects.eocontrol.EOCustomObject.willReadRelationship(EOCustomObject.java:1281) at er.extensions.eof.ERXGenericRecord.willReadRelationship(ERXGenericRecord.java:378) at com.webobjects.eocontrol._EOMutableKnownKeyDictionary$Initializer$_LazyGenericRecordBinding.valueInObject(_EOMutableKnownKeyDictionary.java:614) at com.webobjects.eocontrol.EOCustomObject.storedValueForKey(EOCustomObject.java:1634) I'm using ERXEC everywhere and I'm not locking explicitly, should I lock the ec in the terminate method? Matteo On Sat, Jan 12, 2013 at 8:39 PM, Simon si...@potwells.co.uk wrote: stick this in your session constructor, it will log out whenever a session is created. then you can start figuring out where you are creating a session outside the RR loop which is the normal culprit... StringWriter stringWriter = new StringWriter(); PrintWriter printWriter = new PrintWriter(stringWriter); (new Throwable()).printStackTrace(printWriter); String trace = stringWriter.toString(); log.debug(Session count = + application().activeSessionsCount()); ClickEventLogger2.getLogger().fatal(ClickEventCode.E00129, Session Created:\n\n + trace, this.getClass().getSimpleName()); hmmm, you'll have to replace the ClickEventLogger2 line because that's our logging mechanism. you could log.fatal it and set up an email appender in log4j. simon On 12 January 2013 17:43, Matteo Centro woli...@matteocentro.it wrote: Sorry to resuscitate such an old discussion but I'm having the exact same issue... It's an old application that we inherited, we wonderized it as much as it's possible but something weird happens in production, sessions on some instances simply won't die. Some instances go out of memory and they hang there. I'm in trouble and I needs some hints, both to fix the issue temporarily and to fix it for good (of course in that case I assume I'll have to rewrite the app, if only I could find the budget). What are the most common causes of sessions not dying? Thanks, Matteo On Thu, Aug 21, 2008 at 5:35 AM, Joe Little jmlit...@gmail.com wrote: I had something similar with sessions going bonkers on a public WO page that our internal google search engine completely trashed. In the end, robots.txt and explicit rules to deny certain patterns were added to prevent this. On Wed, Aug 20, 2008 at 8:17 PM, D Tim Cummings ti...@tpg.com.au wrote: We have a couple of sessionless apps that have started showing this problem with sessions that don't terminate. It turned out the sessions were being created by malformed urls coming from malicious robot web crawlers. The urls were of the form http://www.courses.qut.edu.au/cgi-bin/WebObjects/Courses.woa/wa/cgi-bin/WebObjects/Courses.woa Maybe see if you are getting incorrect links to your sessionless login page. We solved the problem by catching unknown direct actions in DirectAction.java @Override public WOActionResults performActionNamed(String actionName) { try { return super.performActionNamed(actionName); } catch (NSForwardException nsfe) { log.info(ns forward exception - prbalby no such method for + actionName); } return defaultAction(); } and in Application.java directing exceptions back to the Main page (for URLs with more than one / after wa). @Override public WOComponent pageWithName(String namePage, WOContext context) { if ( WOExceptionPage.equals(namePage) ) { namePage = Main; } if ( WOSessionRestorationError.equals(namePage) ) { namePage = Main; } return super.pageWithName(namePage, context); } and in Main.java public void setException ( Exception e ) { log.error(an exception occurred + e); } We are running apps with embedded Wonder 4 and WebObjects 5.3.3 on Mac OS X Server 10.5.4 with WebObjects 5.4.2 deployment. We didn't have the problem before we went to this setup, but maybe we weren't getting hit with the same url format then. Tim On 21/08/2008, at 4:02 AM, Chuck Hill wrote: On Aug 20, 2008, at 9:54 AM, Simon McLean wrote
Re: Wonder Deployment Guide ready for review
Of course I do! Thanks, Matteo Inviato da iPhone Il giorno 04/gen/2013, alle ore 05:13, Klaus Berkling kberkl...@dyned.com ha scritto: Hi All. I have my deployment guide ready for review. It's 12 pages. Not a derivative of any Apple documents. Let me know if want to take a look. kib The era of procrastination, of half-measures, of soothing and baffling expedients, of delays, is coming to its close. In its place we are entering a period of consequences. Winston Churchill Klaus Berkling Web Application Dev. Systems Analyst DynEd International, Inc. www.dyned.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/mcentro%40altera.it This email sent to mcen...@altera.it ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
JAX-WS Endpoint within a WOApplication
Hi list, I'm trying to implement a webservice using JAX-WS after I concluded that the app that needs to talk with mine can't speak through WOWebServices... All the examples I found make a webservice server by javax.xml.ws.Endpoint.publish(http://localhost:8080/WS/NameOfService;, implementor); This of course works even from within a WO Application but it starts to listen on a new port, which is not good for me. Is it possible to publish an Endpoint that goes through the usual WOPort maybe by using a new request handler? Anybody already did that? Thanks in advance, Matteo ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: JAX-WS Endpoint within a WOApplication
Yes, I don't know if it's Axis that is old or the stuff connecting to my app that sucks but with JAX-WS I solved the problem (of course I had to make a proxy on apache to be able to connect to port 8080). Now I need to find a way to make the endpoint link to the WOPort... I'll try your suggestion but I still don't have an idea of where to start from. I'm talking about the JAX_WS part, not the WO part. Thanks, Matteo On Tue, Oct 2, 2012 at 5:00 PM, John Huss johnth...@gmail.com wrote: The WO web service stuff is just a wrapper around Axis 1.4, which is a generic java library, so I would be surprised if it wouldn't work. That said, Axis 1.4 is quite old now, and using something newer is a good option. The port thing doesn't matter -- 8080 is just the standard J2EE port, but you should have no problem using a regular WO url without a port. Yes, you'll probably a custom request handler, although the direct action handler would work too. On Tue, Oct 2, 2012 at 7:26 AM, Matteo Centro woli...@matteocentro.it wrote: Hi list, I'm trying to implement a webservice using JAX-WS after I concluded that the app that needs to talk with mine can't speak through WOWebServices... All the examples I found make a webservice server by javax.xml.ws.Endpoint.publish(http://localhost:8080/WS/NameOfService;, implementor); This of course works even from within a WO Application but it starts to listen on a new port, which is not good for me. Is it possible to publish an Endpoint that goes through the usual WOPort maybe by using a new request handler? Anybody already did that? Thanks in advance, Matteo ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/johnthuss%40gmail.com This email sent to johnth...@gmail.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: linking editing contexts from two apps
I've used ERJGroupsSynchronizer with success and I'm very happy with it. But, what if the app that updates my database is not a WO application, but something done directly on the db? What's the common practice? I think we should write an article for the Wiki about best practices on data freshness... I'm more than willing to start it Matteo On Mon, Aug 6, 2012 at 2:56 PM, Theodore Petrosky tedp...@yahoo.com wrote: So I viewed Mike's presentation for ERJGroupsSynchronizer. wow, it just worked right out of the gate. So now I need to decide if I should set a timer to automatically fire a method to update the AjaxUpdateContainer on the company internal app. I am thinking I will warn the internal people to check their email for change notifications before altering rows. It's not a great solution, but it will work in a pinch. Ted --- On Wed, 8/1/12, Ted Archibald ted.archib...@gmail.com wrote: From: Ted Archibald ted.archib...@gmail.com Subject: Re: linking editing contexts from two apps To: Theodore Petrosky tedp...@yahoo.com Cc: webobjects-dev@lists.apple.com Date: Wednesday, August 1, 2012, 6:17 AM ERJGroupsSynchronizer might be what you're looking for, Mike describes it in the video Project Wonder in Depth (WOWODC West 2009) On Tue, Jul 31, 2012 at 8:48 AM, Theodore Petrosky tedp...@yahoo.com wrote: I have a Wonder app that I did a while ago. This is an internal app that is used in production. I have been asked to create a client facing version. Not all fields will be editable and it will fire an email if they touch anything. How do I maintain freshness of data? If my internal app updates the data, how do I notify the client app. Or should I not care and just make sure that the client app is always going to the database? likewise if the client updates a row, how will my internal app know? There are approximately 1 rows of data (small) and it only grows a thousand a year. Ted ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/ted.archibald%40gmail.com This email sent to ted.archib...@gmail.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/wolists%40matteocentro.it This email sent to woli...@matteocentro.it ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: WOLips validation problems
Me too! :) Matteo On Wed, Aug 29, 2012 at 2:46 AM, Patrick Robinson p...@vt.edu wrote: On Aug 27, 2012, at 8:54 PM, David Avendasora wrote: But you can now pull an editor tab out to it's own window. When you have dual screens, that rocks! Oh, wow! You just made my day (and the day after that, and the day after that...). This was the one thing about the change from Xcode to Eclipse that always seemed like a huge step backwards in time to me. Now I gotta upgrade! - Patrick ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/wolists%40matteocentro.it This email sent to woli...@matteocentro.it ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: [Wonder-disc] ERXEC and locking
From some experimentation it looks like that even in Session.terminate locks are automagically generated even without explicit lock/unlock. Any thoughts? Matteo On Tue, Jul 10, 2012 at 9:33 AM, Cheong Hee (Gmail) chn...@gmail.comwrote: ** I think you are right or at least this is the impression I had the last time on this subject. I plan to move from MultiEC locking manager to ERXEC ec. As usual, I could be wrong.. - Original Message - *From:* Matteo Centro woli...@matteocentro.it *To:* Paul Dunkler paul.dunk...@xyrality.com *Cc:* webobjects-dev@lists.apple.com Dev Applewebobjects-dev@lists.apple.com+Dev+Apple; Wonder Project wonder-d...@lists.sourceforge.net *Sent:* Monday, July 09, 2012 6:47 PM *Subject:* Re: [Wonder-disc] ERXEC and locking Actually I noticed that removing all the locks (even the forgotten ones) seems to have solved the problem... I had 10 unique users on 22 instances running for a day and no deadlocks. Any thoughts about stuff that is done in the Session.terminate? I need to do some cleanup if the session terminates, do I get automatic lock unlock in that scenario or the termination happens in a separate thread and so I have to manually lock/unlock? Thanks, Matteo On Mon, Jul 9, 2012 at 12:19 PM, Paul Dunkler paul.dunk...@xyrality.comwrote: I recently Wonderized a legacy WO application and I have a strange race condition that happens very rarely and only under extremely high load. Application extends ERXApplication, Session extends ERXSession and so on, I removed all new EOEditingContext() and replaced them with ERXEC.newEditingContext() but I forgot to remove some ec.lock() and ec.unlock() I am quite convinced that removing all locks and unlocks will bring me to a non deadlocking situation but I still want some reassurements I read a lot of stuff and I'm here to ask to you gurus a final word on the locking rule I inferred from what I read: If you always use ERXEC you can safely remove all lock and unlocks except for stuff that happen in background threads... Is it true? I think yes, its true. We are actually using Wonder Editing Contexts only and do not have any other locking stuff. Everything runs fine. What about stuff that happens in session.terminate()? I would say that it should have explicit lock/unlocks but any opinions are welcome. Thanks, Matteo -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___ Wonder-disc mailing list wonder-d...@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wonder-disc -- Mit freundlichen Grüßen Paul Dunkler - XYRALITY GmbH • Friedensallee 290 • 22763 Hamburg Paul Dunkler • Technical Director Mail: paul.dunk...@xyrality.com Tel: +49 (0) 40 35 73 001 41 Mobil: +49 (0) 151 252 228 42 Fax: +49 (0) 40 35 73 001 99 Web: http://www.xyrality.com/ Registergericht: Hamburg HRB 115332 Geschäftsführer: Sven Ossenbrüggen Alexander Spohr - -- ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/chng34%40gmail.com This email sent to chn...@gmail.com attachment: xyrality_logo_medium.png ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: [OT] New js framework
I do remember Benoit's talk at WOWODC 2009 but not his rant at WOWODC 2011 because I wasn't there... What was it all about? Matteo PS Montage is very cool! On Wed, Jul 11, 2012 at 10:11 AM, Brook, James jbr...@lgi.com wrote: So presumably Motorola has a server-side framework with REST, sync and persistence to go with this... Sent from my iPhone On 11 Jul 2012, at 02:31, prob...@macti.camailto:prob...@macti.ca prob...@macti.camailto:prob...@macti.ca wrote: And if anyone remembers Benoit Marchand's talk at WOWODC 2009 or his rant at WOWODC 2011, have a look at the framework. Envoyé de mon iPhone Le 2012-07-10 à 19:14, Alexis Tual alexis.t...@gmail.commailto: alexis.t...@gmail.com a écrit : Hi list, I've just seen this morning across twitter: http://www.tetsubo.org Montage is released : congrats to the Motorola-Mobility team for bringing us WO-like components on the client side ! (So maybe not that off topic) Cheers Alex ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.commailto: Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/probert%40macti.ca This email sent to prob...@macti.camailto:prob...@macti.ca ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.commailto: Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/jbrook%40upcbroadband.com This email sent to jbr...@upcbroadband.commailto:jbr...@upcbroadband.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/wolists%40matteocentro.it This email sent to woli...@matteocentro.it ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: ERXFlickrBatchNavigation Robots
From the top of my head: maybe putting some rel=nofollow on the links? Matteo On Sat, Jun 30, 2012 at 5:26 PM, Kevin Hinkson h...@kevinhinkson.com wrote: Hi, Does anyone else see exceptions occurring when robots crawl the navigation links produced by ERXFlickrNavigation? These are session based links and I was looking for a simple way to avoid bots crawling these temporary links over and over? (I do however want the content on each page to be crawled.) Any suggestions? — K.R.H. ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/wolists%40matteocentro.it This email sent to woli...@matteocentro.it ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: AWS server failure?
Failures are not uncommon... On Mon, Jun 25, 2012 at 3:50 PM, Jesse Tayler jtay...@oeinc.com wrote: ping! yet another reboot seems to have helped -- a hiccup -- the system first reported another error again after restarting and reporting things were all fine then a wait indicator for a minute or two, then suddenly the system returned. I guess something snapped. ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/wolists%40matteocentro.it This email sent to woli...@matteocentro.it ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: [Wonder-disc] ERXEC and locking
Actually I noticed that removing all the locks (even the forgotten ones) seems to have solved the problem... I had 10 unique users on 22 instances running for a day and no deadlocks. Any thoughts about stuff that is done in the Session.terminate? I need to do some cleanup if the session terminates, do I get automatic lock unlock in that scenario or the termination happens in a separate thread and so I have to manually lock/unlock? Thanks, Matteo On Mon, Jul 9, 2012 at 12:19 PM, Paul Dunkler paul.dunk...@xyrality.comwrote: I recently Wonderized a legacy WO application and I have a strange race condition that happens very rarely and only under extremely high load. Application extends ERXApplication, Session extends ERXSession and so on, I removed all new EOEditingContext() and replaced them with ERXEC.newEditingContext() but I forgot to remove some ec.lock() and ec.unlock() I am quite convinced that removing all locks and unlocks will bring me to a non deadlocking situation but I still want some reassurements I read a lot of stuff and I'm here to ask to you gurus a final word on the locking rule I inferred from what I read: If you always use ERXEC you can safely remove all lock and unlocks except for stuff that happen in background threads... Is it true? I think yes, its true. We are actually using Wonder Editing Contexts only and do not have any other locking stuff. Everything runs fine. What about stuff that happens in session.terminate()? I would say that it should have explicit lock/unlocks but any opinions are welcome. Thanks, Matteo -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___ Wonder-disc mailing list wonder-d...@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wonder-disc -- Mit freundlichen Grüßen Paul Dunkler - XYRALITY GmbH • Friedensallee 290 • 22763 Hamburg Paul Dunkler • Technical Director Mail: paul.dunk...@xyrality.com Tel: +49 (0) 40 35 73 001 41 Mobil: +49 (0) 151 252 228 42 Fax: +49 (0) 40 35 73 001 99 Web: http://www.xyrality.com/ Registergericht: Hamburg HRB 115332 Geschäftsführer: Sven Ossenbrüggen Alexander Spohr - attachment: xyrality_logo_medium.png ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
ERXEC and locking
Hi all, I recently Wonderized a legacy WO application and I have a strange race condition that happens very rarely and only under extremely high load. Application extends ERXApplication, Session extends ERXSession and so on, I removed all new EOEditingContext() and replaced them with ERXEC.newEditingContext() but I forgot to remove some ec.lock() and ec.unlock() I am quite convinced that removing all locks and unlocks will bring me to a non deadlocking situation but I still want some reassurements I read a lot of stuff and I'm here to ask to you gurus a final word on the locking rule I inferred from what I read: If you always use ERXEC you can safely remove all lock and unlocks except for stuff that happen in background threads... Is it true? What about stuff that happens in session.terminate()? I would say that it should have explicit lock/unlocks but any opinions are welcome. Thanks, Matteo ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Puzzle: Custom AjaxFlexibleUpload not working in Linux
Hello list, I have a weird problem that's driving me nuts... I know that I'm not going to provide enough info to completely debug the issue so I apologize in advance. I think I just need a hint to point in the right direction. I needed a clone of ERAttachmentFlexibleUpload which uses AjaxFlexibleFileUpload with the only difference in the progress bar (i used http://twitter.github.com/bootstrap/components.html#progress the striped bar). The div structures are different so I chose the approach of cloning WOnder stuff in my project. Everything works like a charm on my Mac (even if I deploy the application) the problem arises when I deploy on Linux... The upload works but the bar doesn't move and the client browser gets kind of stuck. The exact same application (with Project, User and Local frameworks embedded) has a totally different behavior on Mac or Linux, which makes sense if I used DBs but there is no DB involved in this issue. I turned on some logging on the app: As soon as I start the upload I get a ton of those messages: DEBUG it.altera.dsl.ajax.ALTFlexibleFileUpload - AjaxFlexibleFileUpload2.uploadState: {state = 0; } then after a while I get DEBUG it.altera.dsl.ajax.ALTFlexibleFileUpload - AjaxFlexibleFileUpload2.uploadState: {state = 2; progress = 0; filename = test.mov; } progress stays at 0 forever... then it completes the upload! If I use the twin component from AjaxFramework everything works ok both in Mac and Linux so it's clear that i screwed up something, I just don't know what. Any hints/similar issues? Thanks, Matteo ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Puzzle: Custom AjaxFlexibleUpload not working in Linux
Both 1.6 and yes it's Sun JVM. Maybe I'm too demanding and I should lower the refreshTime? Now it's 1000. Matteo On Fri, Jun 15, 2012 at 7:34 PM, Pascal Robert prob...@macti.ca wrote: You are running Java 6 on both your Mac and Linux? JVM on Linux is OpenJDK or coming from Sun? Hello list, I have a weird problem that's driving me nuts... I know that I'm not going to provide enough info to completely debug the issue so I apologize in advance. I think I just need a hint to point in the right direction. I needed a clone of ERAttachmentFlexibleUpload which uses AjaxFlexibleFileUpload with the only difference in the progress bar (i used http://twitter.github.com/bootstrap/components.html#progress the striped bar). The div structures are different so I chose the approach of cloning WOnder stuff in my project. Everything works like a charm on my Mac (even if I deploy the application) the problem arises when I deploy on Linux... The upload works but the bar doesn't move and the client browser gets kind of stuck. The exact same application (with Project, User and Local frameworks embedded) has a totally different behavior on Mac or Linux, which makes sense if I used DBs but there is no DB involved in this issue. I turned on some logging on the app: As soon as I start the upload I get a ton of those messages: DEBUG it.altera.dsl.ajax.ALTFlexibleFileUpload - AjaxFlexibleFileUpload2.uploadState: {state = 0; } then after a while I get DEBUG it.altera.dsl.ajax.ALTFlexibleFileUpload - AjaxFlexibleFileUpload2.uploadState: {state = 2; progress = 0; filename = test.mov; } progress stays at 0 forever... then it completes the upload! If I use the twin component from AjaxFramework everything works ok both in Mac and Linux so it's clear that i screwed up something, I just don't know what. Any hints/similar issues? Thanks, Matteo ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/probert%40macti.ca This email sent to prob...@macti.ca ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Puzzle: Custom AjaxFlexibleUpload not working in Linux
Ok, I think I got a little hint: if the file is big enough (like 10 MB over a slow ADSL connection) after a while it starts updating the bar... But it's wy more than 1 second or even the 2 seconds default. Another weird thing: during the long wait the browser (uhm, Safari) looks like it's stuck. BTW has anybody managed to use something like this in WO? http://blueimp.github.com/jQuery-File-Upload/ This is what my client really wants... Thanks, Matteo On Fri, Jun 15, 2012 at 8:02 PM, Matteo Centro woli...@matteocentro.itwrote: Both 1.6 and yes it's Sun JVM. Maybe I'm too demanding and I should lower the refreshTime? Now it's 1000. Matteo On Fri, Jun 15, 2012 at 7:34 PM, Pascal Robert prob...@macti.ca wrote: You are running Java 6 on both your Mac and Linux? JVM on Linux is OpenJDK or coming from Sun? Hello list, I have a weird problem that's driving me nuts... I know that I'm not going to provide enough info to completely debug the issue so I apologize in advance. I think I just need a hint to point in the right direction. I needed a clone of ERAttachmentFlexibleUpload which uses AjaxFlexibleFileUpload with the only difference in the progress bar (i used http://twitter.github.com/bootstrap/components.html#progress the striped bar). The div structures are different so I chose the approach of cloning WOnder stuff in my project. Everything works like a charm on my Mac (even if I deploy the application) the problem arises when I deploy on Linux... The upload works but the bar doesn't move and the client browser gets kind of stuck. The exact same application (with Project, User and Local frameworks embedded) has a totally different behavior on Mac or Linux, which makes sense if I used DBs but there is no DB involved in this issue. I turned on some logging on the app: As soon as I start the upload I get a ton of those messages: DEBUG it.altera.dsl.ajax.ALTFlexibleFileUpload - AjaxFlexibleFileUpload2.uploadState: {state = 0; } then after a while I get DEBUG it.altera.dsl.ajax.ALTFlexibleFileUpload - AjaxFlexibleFileUpload2.uploadState: {state = 2; progress = 0; filename = test.mov; } progress stays at 0 forever... then it completes the upload! If I use the twin component from AjaxFramework everything works ok both in Mac and Linux so it's clear that i screwed up something, I just don't know what. Any hints/similar issues? Thanks, Matteo ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/probert%40macti.ca This email sent to prob...@macti.ca ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Most requested stuff on Google Moderator
+1 I still think that for a new project it's wise to use WO. Even if it's old stuff ;) because of Wonder and because of what you can do really quickly! I even looked at other frameworks out there just to be fair and nothing comes even close! Maybe tapestry+cayenne? Anyway, for me it's WO for the foreseeable future... So I'd better move my ass and start contributing to Wonder! Matteo On Wed, Mar 28, 2012 at 6:58 PM, ISHIMOTO Ken k...@ksroom.com wrote: +1 I am now and in the future will use WO fro all my Projects. I am tired to learn new stuff. I can make and fix with WO Wonder everything I need, and that's OK. Ken On 2012/03/28, at 17:34, Chuck Hill wrote: The sun set on WO a long time ago (well, assuming you think that it ever really shined on WO). For new projects, WebObjects and Wonder is still my choice until I find something _better_ not just newer. I am not moving to something newer and worse because WO is old (though I might move to something newer and worse if using WO is an impediment to getting new work). When I find something better, I am gone. I've been looking since 1999 or so... I look on WebObjects more as a completed library, not an EOL product with no future. Wonder is the source of new features. Granted, that means no bug fixes that can't be done in Wonder, but what software do you use that does NOT have bugs? Chuck On 2012-03-28, at 8:02 AM, John Huss wrote: Technologies come and go; there is a lifecycle for everything. That is a fundamental attribute of software development. The fact that WebObjects has endured for so long as a relevant and useful piece of technology is amazing. But like all technologies, it can't last forever. The sun is setting (or has set) on WO. It's time to move on; that's what programmers do - our toolset evolves over time - usually it changes dramatically every 5-10 years. This is just another evolution whose time has come. It is sort of sweet and heart-warming to see the outpouring of affection for WO, but the reality is that it's time to move on. The best thing you can do for WO now is to gain experience with other technologies and then help people migrate to them. Cayenne should be at the top of this list. On the HTML side, I'd love have someone find out how hard it is to migrate WO components to Tapestry. The reality is that WO is LEGACY technology. It should be treated as such. That means you continue to maintain your apps that use WO, you find a new technology, and you write your new apps in something else. John On Wed, Mar 28, 2012 at 8:18 AM, Pascal Robert prob...@macti.ca wrote: Le 2012-03-28 à 08:44, Q a écrit : On 28/03/2012, at 9:38 AM, Pascal Robert wrote: Le 2012-03-27 à 19:30, Mike Schrag a écrit : I think we should use the funds to pay people to fix issues that the majority of users are having. The issues will be voted by the community and the most voted issues will become the highest priorities. That is not how Wonder was created and now how I expect that it will continue. If you have a problem, learn how to fix it. Then put it in Wonder. In the past, we had Apple sponsorship and most of the big additions to Wonder between 2007 and 2010 came from Apple… We don't have that sponsorship anymore, and personally I don't think we will survive if we don't pay people for major stuff. I don't think we will survive anyway, but that's another story… Apple funded a VERY small percentage of the contributions to Wonder. Almost all of the contributions I made came from mDimension donating their time, bandwidth, and hardware for the good of the community. Frankly, if Apple hadn't funded the things they did, I would have done them anyway, because I just enjoyed making things. This approach of paying for fixes seems like you're just going to end up with a collection of bounty hunters instead of a community. On top of that, there's no way you're going to be able to afford to pay the market cost for this work. mDimension easily donated a couple hundred thousand dollars of time if you applied their real hourly rate to the work. So on top of encouraging people to only give if they get paid, they're going to be paid crap, so why would anyone even bother? I really don't think things are stagnant because of the lack of money. They're stagnant because the remaining people in the community don't care enough to contribute. I don't buy any of the I don't know how to do X or I don't have time to do X. You have to want it. I didn't know how to write nearly any of what was in WOLips before I started working on WOLips, and likewise with Wonder. I learned WebObjects working on Wonder. I'm would wager that everyone who worked on Wonder was in the same category. Contribution is also positive reinforcement. The coolest times in Wonder for me were always when one person contributing got someone else energized to contribute
Re: *.xcode *.xcodeproj PB.project Files
If you don't use Xcode anymore just get rid of them! Matteo On Wed, Mar 28, 2012 at 8:14 AM, David Avendasora webobje...@avendasora.com wrote: I don't think any of those files are required anymore, unless you are doing Direct To Java Client work. Anybody? Hellooo? Well oky then. I don't think anybody needs them anymore. But seriously though, I believe that the few things that used them are now either long gone or only used by a few. WOlips will still create them, or at the very least not mess with them. You can turn them off in the WOLips build preferences. Dave On Mar 27, 2012, at 3:37 PM, Farrukh Ijaz wrote: Hi Ted, You shouldn't delete any files from your Xcode project if it's created by the IDE itself. You should however exclude certain files from your version commit ignore list. E.g. I use subversion and here are my global-ignores. global-ignores = xcuserdata .idea .git .svn *.o *.lo *.la *.al .libs *.so *.so.[0-9]* *.pyc *.pyo bin build *.rej *~ #*# .#* .*.swp .DS_Store Some of them are irrelavent to you but here you can specify which files, extensions or folders you want to ignore. Normally we should ignore user specific changes to xcode project and workspace. Hope this helps. Farrukh On 2012-03-27, at 10:23 AM, Ted Archibald wrote: Well I just deleted them from a project then ran my selenium tests, nothing appears to break... On Tue, Mar 27, 2012 at 1:13 AM, Ted Archibald ted.archib...@gmail.comwrote: Quick question, are the *.xcode *.xcodeproj PB.project files actually needed for anything to function or can I stop creating them and yank 'em out of version control? I have no intention of ever using XCode for anything WO, are they used by WO for something I'm unaware of? ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/farrukh.ijaz%40fuegodigitalmedia.com This email sent to farrukh.i...@fuegodigitalmedia.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/webobjects%40avendasora.com This email sent to webobje...@avendasora.com — *WebObjects** - so easy that even Dave Avendasora can do it!™* — *David Avendasora* Senior Software Abuser Kaiten, Inc. ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/wolists%40matteocentro.it This email sent to woli...@matteocentro.it ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: WOLips Goodies Eclipse Plugin problem
Hi Ken, I believe that WOLips Goodies contains stuff specific to Mac or Windows, I'm not sure it contains anything about Linux I don't use Windows but on the Mac it's Cd in Terminal and Reveal in Finder. You might try not installing the goodies on Linux. Matteo On Wed, Mar 28, 2012 at 1:47 AM, Ken Anderson k...@watermarkstudios.comwrote: So, I'm using CentOS 6 desktop to do WebObjects development. Normally I do WO development on Mac, but I want to document WO installation on various Linux boxes. I've been fairly successful in most cases, but I'm having difficulty setting up the development environment on this CentOS 6 box. Anyway, when I try to install WOLips Goodies plugin through Eclipse I get the following error: Cannot complete the install because some dependencies are not satisfiable org.objectstyle.wolips.goodies.feature.feature.group [3.7.1006251] cannot be installed in this environment because its filter is not applicable. Can anyone tell me what I'm missing here? Or maybe can you tell me where to look to find the missing dependencies? ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/wolists%40matteocentro.it This email sent to woli...@matteocentro.it ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: 5.4 uploading large files
It is certainly a good point... Don't know if it makes sense in real life but, count me in! Matteo Sent from my iPhone On 04/mar/2012, at 11:54, Helmut Tschemernjak hel...@helios.de wrote: I have an idea how to make Apple aware that the WebObjects is important to be supported or opened to the community. We need to get as many Apple shareholders we can, to demand with a significant amount of stock owners, bringing up an motion to discuss the WebObjects support in an extra announced shareholders meeting. Once this meeting gets setup, the attendees (and mandates) votes have the power to decide on this issue. The trick is that the amount a attending votes will count and not the amount total votes/shares available. Also Apple employes and relatives cannot vote because there is a conflict of interest. I sure that Jim Cramer with CNBC will help to mobilize additional shareholders because it is a great story. I personally know, we are the owners of Apple (my wife, company, me, friends, many others) and therefore it is our company. Regards Helmut ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/mcentro%40altera.it This email sent to mcen...@altera.it ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
High resolution PDF generation
Hi list, in the past I always generated PDF documents on the fly from a WO application by using FOP. Writing a component for FOP is not exactly an amusing task so for a new project I was considering using ERPDFGeneration instead, looks a lot simpler. The problem I'm trying to solve is that I do need the generated PDF to be really high resolution, it's a ticket so it will need to have a barcode and a map to get to the place where the event takes place. I have the map in a vector format so I rasterized it at a big resolution and I'll use the raster file in my HTML template. From some preliminary tests I was kind-of able to accomplish what I need, the PDF gets generated and if i zoom it in it renders with enough detail so I'm happy. But I got there from trial and error so I'm not really sure I'm doing the things in the most efficient way, maybe my images are too big, maybe I could tweak my HTML-CSS so it renders better... Does anybody have to face a similar problem? Is there some docs I could read about this? Any suggestions are of course very welcome, thanks! Matteo ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Why I teach WebObjects
Same question... As a former WO trainer I have the old PWO1 and PWO2 but it's not updated to the new tools. I'd be very interested in more recent training materials. Thanks, Matteo On Tue, Dec 20, 2011 at 4:07 AM, Kevin Spake sparky0...@yahoo.com wrote: Any chance that WO training material is in English, and available outside Switzerland? On Dec 19, 2011, at 2:17 PM, Markus Ruggiero wrote: This is in response to an other thread (WOLips on Windows). I think it deserves its own one. List mom, please let me know if this is inappropriate. On 19.12.2011, at 17:27, Kevin Spake wrote: If I may ask, what sort of WO training do you provide? You can contact me off list if you prefer. Thanks. Hi Kevin, On list is ok for me (hope the listers do not mind) I work as part time teacher at a private school here in Switzerland. We provide formal education as Application Developer for folks that have already had formal training for a profession but due to various reasons (often medical) must be re-trained to a new profession. The whole thing is 1 year full time school then 1 year full time work. They finish with an official Swiss Federal Diploma. During the first year the students have to take ~33 modules, most of them 40 lessons, some 80 lessons. Each such module covers one topic (DB design, structured programming, OO programming, HTML/CSS, and many many others) and each ends with an exam. I have been doing this for the last 10 years on and off and I also have written several course books. These have been officially published and are available in book stores. Recently I have co-authored a book about OO Development covering the whole lifecycle from Analysis to Deployment. In there I have covered the development part with WebObjects. One of the modules im currently teaching is Implementing an OO multi-user DB app. The general topics of each such module is given by federal regulations but it is up to the school/teacher how these are presented. I am teaching this module using WebObjects. The first part (40 lessons) will follow loosely the old Programming WebObjects 1 (Apple Stuff from 2001, adapted to the new tools etc), whereas the second part (again 40 lessons) will then focus on individual small projects and the methodology and concepts of OOA/OOD. Why do I do this (using that dead thing called WebObjects) in teaching? Pretty simple: it is there, it works perfectly, it is a great thing to work with, it is also a counter weight to J2EE, and I want to promote WO. Bring WO to schools and when the students later on get their jobs they might eventually mention what they have learned - spread the word! Many many moons ago (December 2001) I attended an official Apple Train the Trainer for PWO1 and have been teaching that course several times in the past. Long since no WO teaching but have been working with WO on many projects during the last 10 years. I am currently quite involved with a large customer where I maintain several (rather old) WO-Apps and am currently massively extending an existing D2W app. Big fun and a lot to discover every day. ---markus--- On Dec 19, 2011, at 3:02 AM, Markus Ruggiero wrote: Need this for teaching WO (yeah!). Many folks come with their Macs but not everyone does. Some students have only Win notebooks. So I must be able to have development on Windows as well. Thanks for any help ---markus--- ___ 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/sparky005s%40yahoo.com This email sent to sparky0...@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/wolists%40matteocentro.it This email sent to woli...@matteocentro.it ___ 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: Ajax UpdateContainer stop
Unfortunately no, I'm stuck with this layout... The problem is that I'm editing a bunch of records, and the records could be edited by another app which communicates via Direct Actions, so I need to continue refreshing a big part of the page to see if the other app changes something in my records. For example if the app changes a particular state of the record I have to disable the TextField, that's why it must be inside. Matteo On Fri, Nov 25, 2011 at 1:50 AM, Paul Hoadley pa...@logicsquad.net wrote: Hi Matteo, On 24/11/2011, at 10:11 PM, Matteo Centro wrote: Looking in the Prototype documentation i saw that there are Ajax.PeriodicalUpdater#stop and Ajax.PeriodicalUpdater#start The idea was calling stop in the onFocus of the textfield and start on the onBlur but I don't know how to call those methods, I'm really terrible in JavaScript. That might work, but first: can you just take the textfields out of the AjaxUpdateContainer? -- Paul. http://logicsquad.net/ ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Ajax UpdateContainer stop
Hi all, I have a nasty problem with an AjaxUpdateContainer set to autoupdate (i set frequency=1 in the bindings): the container contains a lot of stuff including some textfields, the problem is that the textfields must be edited and if the user does not type fast enough, all gets lost or worse it gets partially submitted. Looking in the Prototype documentation i saw that there are Ajax.PeriodicalUpdater#stop and Ajax.PeriodicalUpdater#start The idea was calling stop in the onFocus of the textfield and start on the onBlur but I don't know how to call those methods, I'm really terrible in JavaScript. Any hints or suggestions would be greatly helpful. Thanks, Matteo ___ 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: Long time no write…and a problem with Unbound classpath container
Hi, I'm pretty sure my frameworks disappeared only when i deinstalled developer tools using the uninstall script, not upgrading Lion... Matteo Sent from my iPad On 11/ott/2011, at 21:35, Chuck Hill ch...@global-village.net wrote: +1 On 2011-10-11, at 12:13 PM, David LeBer wrote: That's why I keep all my frameworks in a custom location. On 2011-10-11, at 3:11 PM, Lon Varscsak wrote: No, they stopped working too. It's like the WO Frameworks got deleted. But only the frameworks, the rest of the WO install was fine. I reinstalled WO and all is well in the world, I'm just stumped as to why they would magically disappear. The only thing I can think I've done since my last project was to run Software Update (and I think there was an updated version of Lion). It'd be a shame if it cleaned it's /System/Library/Frameworks on every update. -Lon On Tue, Oct 11, 2011 at 12:08 PM, David LeBer dleber_wo...@codeferous.com wrote: Do any of your previous projects still work? If they do, where does the WOLips Properties File specified in Eclipse - WOLips - WOLips Properties File say your frameworks should be? D On 2011-10-11, at 2:50 PM, Lon Varscsak wrote: Hey, it's been 8 months since I've left my long-time company of SmartHealth and have mostly been out of the WO space since. I have done a few projects for my old employer, so I'm not completely rusty. However… :) I went to start a new project today, and I'm getting Unbound classpath container errors on all of the WO Frameworks. My ~/Library/Application\ Support/WOLips/wolips.properties seems fine. Although, I can't seem to find the WO Frameworks anywhere. :) So I'm assuming that is the issue. The weird thing is, that the last project I did worked fine and haven't removed WO from my machine. I am running Lion (although I'm positive I upgraded to this before my last project). Any reason why the system would delete frameworks? Maybe after a software update? -Lon -- 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 -- 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/chill%40global-village.net This email sent to ch...@global-village.net -- Chuck Hill Senior Consultant / VP Development Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems. http://www.global-village.net/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/wolists%40matteocentro.it This email sent to woli...@matteocentro.it ___ 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
Single Table Inheritance
Hi all, kind of a stupid question but in my whole career with WO I never used Single Table Inheritance so I'm kind of a newbie here... I'll try to explain with a small example: I have an entity called PointOfInterest (POI), defined by the main attributes which are name, latitude, longitude, type and with a relationship to a City. I then created two subclasses of POI Restaurant (with qualifier type='R') and some more attributes Club (with qualifier type='C') and some different attributes All is mapped in two tables, one for City and one for POI. Everything looked fine in my head... I find puzzling though that if I ask a City for its POIs I get an array full of duplicates in this example I'm printing out all the POIs for a City: POI name: Open POI Class: your.app.logic.Club POI name: Jazz Club POI Class: your.app.logic.Club POI name: Dal Baffo POI Class: your.app.logic.Restaurant POI name: Zushi POI Class: your.app.logic.Restaurant POI name: Ristorante POI Class: your.app.logic.Restaurant POI name: Dal Baffo POI Class: your.app.logic.Restaurant POI name: Zushi POI Class: your.app.logic.Restaurant POI name: Open POI Class: your.app.logic.Club POI name: Jazz Club POI Class: your.app.logic.Club POI name: Generic poi POI Class: your.app.logic.PointOfInterest POI name: Ristorante POI Class: your.app.logic.Restaurant In reality I only have 6 items in my POI table: 3 Restaurants, 2 Clubs and one row with blank type. So I was expecting of getting something like this: POI name: Open POI Class: your.app.logic.Club POI name: Jazz Club POI Class: your.app.logic.Club POI name: Dal Baffo POI Class: your.app.logic.Restaurant POI name: Zushi POI Class: your.app.logic.Restaurant POI name: Ristorante POI Class: your.app.logic.Restaurant POI name: Generic poi POI Class: your.app.logic.PointOfInterest Maybe I'm approaching the problem in the stupidest way but I'd like to understand a little bit more about what you guys think... Thanks, Matteo ___ 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: Single Table Inheritance
Thanks Chuck, actually POI was not abstract nor there was a qualifier... Dumb me! As this WOApp will have to feed an iOS app I was planning of using ERRest. I also verified that that ERRest, when asked for all POIs of a City, gives me all the relevant attributes, even of Restaurants and Clubs, which is exactly the thing I hoped to get with single table inheritance...WOW! Thanks, Matteo On Fri, Oct 7, 2011 at 5:36 PM, Chuck Hill ch...@global-village.net wrote: Hi Matteo, It sounds like something is not right in your model. Check that - POI is either abstract or has a qualifier (e.g. qualifier type='P') - the Parent entity of Restaurant and Club is set, check that - the external (table) name of POI, Restaurant and Club is exactly identical Chuck On 2011-10-07, at 7:55 AM, Matteo Centro wrote: Hi all, kind of a stupid question but in my whole career with WO I never used Single Table Inheritance so I'm kind of a newbie here... I'll try to explain with a small example: I have an entity called PointOfInterest (POI), defined by the main attributes which are name, latitude, longitude, type and with a relationship to a City. I then created two subclasses of POI Restaurant (with qualifier type='R') and some more attributes Club (with qualifier type='C') and some different attributes All is mapped in two tables, one for City and one for POI. Everything looked fine in my head... I find puzzling though that if I ask a City for its POIs I get an array full of duplicates in this example I'm printing out all the POIs for a City: POI name: Open POI Class: your.app.logic.Club POI name: Jazz Club POI Class: your.app.logic.Club POI name: Dal Baffo POI Class: your.app.logic.Restaurant POI name: Zushi POI Class: your.app.logic.Restaurant POI name: Ristorante POI Class: your.app.logic.Restaurant POI name: Dal Baffo POI Class: your.app.logic.Restaurant POI name: Zushi POI Class: your.app.logic.Restaurant POI name: Open POI Class: your.app.logic.Club POI name: Jazz Club POI Class: your.app.logic.Club POI name: Generic poi POI Class: your.app.logic.PointOfInterest POI name: Ristorante POI Class: your.app.logic.Restaurant In reality I only have 6 items in my POI table: 3 Restaurants, 2 Clubs and one row with blank type. So I was expecting of getting something like this: POI name: Open POI Class: your.app.logic.Club POI name: Jazz Club POI Class: your.app.logic.Club POI name: Dal Baffo POI Class: your.app.logic.Restaurant POI name: Zushi POI Class: your.app.logic.Restaurant POI name: Ristorante POI Class: your.app.logic.Restaurant POI name: Generic poi POI Class: your.app.logic.PointOfInterest Maybe I'm approaching the problem in the stupidest way but I'd like to understand a little bit more about what you guys think... Thanks, Matteo ___ 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 ch...@global-village.net -- Chuck Hill Senior Consultant / VP Development Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems. http://www.global-village.net/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
Re: multiple instance question, and more
Are MySQL tables InnoDB or MyISAM? You shouldn't have the PK problem with InnoDB... Also for the CPU issue, how many instances are you running What are the deployment variables? In any case, the Apple Push Notification server is unbelievably fast, if you send 50k notifications at the same time you could end up with a lot of your clients calling home at the same time and you could easily clog your application if it can't handle that amount of concurrent connections... you could try to spread the notifications in time and see if it helps. Matteo On 15/lug/2011, at 22:57, Pascal Robert prob...@macti.ca wrote: Le 2011-07-15 à 16:52, Andrew Kinnie a écrit : Greetings, I have 2 issues, the first of which I had before WOWODC, and the second burst into the open yesterday. I have an app, an ERRest app, acting as a push notification server, although thus far now push notifications have gone out to the public, it works for testing. The app is connected to by nearly 50,000 iOS devices which have our iOS app installed. The iOS app connects to Apple to get a token, then calls home (my server) and tries to register itself with my server so that when we do send out notifications, we know which device tokens want which types of notifications. The iOS apps on individual iOS devices connect when running, and send information to my server about the device, the id of the device, other data including the token and whether they want the 4 notification types to be on or off. All this works. (there are approximately 50,000 registered application_device rows currently, though we've not sent any publicly visible notifications). When the app runs, the devices also try and get the last notification of any type that the device has been set to ask for, and display that in a drop down (data pulled from my server) The server uses ERRest to receive this information and to create a device (actually an ApplicationDevice object) based on passed in json, checks the database (MySQL) to see if there is an existing row in my application_device entity/table for the app, and the device id (udid) and if so, updates it with the newly created device's data before discarding the new device and saving the changes in the fetched one. Otherwise, it saves the newly created device. However, 1. Occasionally, two devices try to be created at the same time with the same primary key (which is provided by the EO_PK_Table in the MySQL database). The second device fails with an exception. I gather this is because two separate devices are connecting to the server at approximately the same time, both asking the EO_PK_Table for the next primary key for the entity, then do some things, then try and save. First one succeeds, and the second fails because an object with the PK already exists. I was under the impression that EOF should handle this, but it doesn't seem to. 2. We tried to send out some test notifications yesterday, which exposed some inefficiencies in my model, which seem to have been resolved, but there are still significant issues. Apache and MySQL are fine, neither is pressed, but the CPU approaches 100% usage in spikes on the server (a CentOS VM with 16 GB RAM running Java 1.6 64 bit). Nothing else is running on it. The individual queries in the registration process do not return more than 5 rows, though there are 18 separate SQL calls caused by the registration method, all but one returns 1 row, and the other returns 5. In any event, MySQL has no slow queries. So it's the WO Java processes that seem to be taking up 100% of the CPU. Constantly getting worker-thread broken pipe errors when it is pressed like that. For the record, yesterday we weren't even able to use jstack to see what was going on. But we did see working threads going up to 128. No stuck queries in MySQL. ___ 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/mcentro%40altera.it This email sent to mcen...@altera.it ___ 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: Concurrent request handling
Hi Chuck, could you elaborate more on the shared formatters thing? Don't Do Stupid Things :-) Which boils down to don't share objects that are not thread-safe, or writable data, at the global level unless you have appropriate protection. Global being either static members or instance variables on your application. Shared, non-thread safe formatters are a common mistake. we inherited a project that has random (but infrequent) lockups and I found that in the Application.java first there is an instance variable private NSNumberFormatter millionsFormatter; then a lazy initialization in the accessor method: public NSNumberFormatter millionsFormatter() { if (millionsFormatter ==null) { millionsFormatter = new NSNumberFormatter(); millionsFormatter.setPattern(###,##0.00); millionsFormatter.setDecimalSeparator(,); millionsFormatter.setThousandSeparator(.); } return millionsFormatter; } Could this approach be one of the causes of the lockups? The app runs in multithreaded mode and there are tons of components with WOStrings bound to this formatter... Thanks, Matteo ___ 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: Concurrent request handling
Hi Chuck, there are 30 different formatters (all NS...) in the application and more than 500 WOComponents. if this is not a potential deadlock case, I'll leave them there... Too lazy! I'll try to investigate the deadlocks properly, the problem is that they're very rare and almost impossible to reproduce in our test environment. Thanks, Matteo On 05/apr/2011, at 20.17, Chuck Hill wrote: Hi Matteo, I don't think that will cause a deadlock. It will cause some incorrectly formatted input / output. The easiest fix is to move this from Application to Session and adjust the bindings. As for the lockups, you really need to get thread dumps to assess those. jstack is an easy way to do this. Chuck On Apr 5, 2011, at 11:12 AM, Matteo Centro wrote: Hi Chuck, could you elaborate more on the shared formatters thing? Don't Do Stupid Things :-) Which boils down to don't share objects that are not thread-safe, or writable data, at the global level unless you have appropriate protection. Global being either static members or instance variables on your application. Shared, non-thread safe formatters are a common mistake. we inherited a project that has random (but infrequent) lockups and I found that in the Application.java first there is an instance variable private NSNumberFormatter millionsFormatter; then a lazy initialization in the accessor method: public NSNumberFormatter millionsFormatter() { if (millionsFormatter ==null) { millionsFormatter = new NSNumberFormatter(); millionsFormatter.setPattern(###,##0.00); millionsFormatter.setDecimalSeparator(,); millionsFormatter.setThousandSeparator(.); } return millionsFormatter; } Could this approach be one of the causes of the lockups? The app runs in multithreaded mode and there are tons of components with WOStrings bound to this formatter... Thanks, Matteo -- 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
Re: mySQL 5
We migrated ages ago but I remember there was an issue with TEXT data type encodings... If you are using accents or other weird european characters you'll have to dump the tables and recreate them and you'll have to play a little bit with --default-character-set when you do so. Hope it helps. Matteo On 14-feb-08, at 12:17, Simon McLean wrote: we use 5 (we didn't upgrade from 4, we moved from openbase). no problems at all with webobjects. simon On 14 Feb 2008, at 11:11, David Griffith wrote: Hi All, I was wondering if anyone that is using mySQL has upgraded from mySQL 4 to mySQL 5? If so, have you noticed any bugs or pitfalls? Our hosting service is going to upgrade us soon and I do remember that after the last upgrade we had some major problems due to some changes to the data types in mySQL. (i.e. I remember it was something to do with the new TEXT data type. Any pointers or notes would be much appreciated. Kind regards, David Griffith. ___ 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/simon_mclean% 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/mcentro% 40altera.it 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 [EMAIL PROTECTED]
Re: mySQL 5
I totally agree... And I personally don't trust anything that is not CLI ;) Also, when you understand the mechanism, it's pretty easy to setup clusters and replication! Command line is your friend! Matteo On 14-feb-08, at 15:23, Simon McLean wrote: I've often heard that MySQL is complicated to administer, but I've never understood where that opinion came from. Maybe it stems from older versions of MySQL, or maybe people are just referring to replication and clusters which don't have a GUI. Anyway, for the record, MySQL itself (clusters and replication aside) is really easy to administer - just as easy as openbase - double click to install and hey presto, it's running. I've never used clusters in production, so don't know much about them other than that the hardware requirements are pretty extensive (lots of RAM required because they hold the entire DB in memory) and the set-up is command line based. I would also urge you to look at replication as an easier alternative. It's command line based, but dead easy. Kieran has an post on his blog about how to set it up. Why the switch from openbase ? Many reasons. When we made the switch Openbase were charging for all their licenses and the base license for our requirements far out-weighed MySQL's licenses. Performance differential was negligible (again, for our requirements). Another key reason was the size of the community - we rarely use MySQL's commercial support because the community support is so good. Now there is stuff like the Monitoring and Advisory service which is just brilliant. There was also one technical bug-bear we had with openbase. From time to time it didn't shut down properly, or maybe a server fell over, either way when openbase started up it used to go through some table checking process that would take a couple of hours because of the size of our database. It didn't happen often but it killed us when it did. This was a few years back so it's probably fixed or improved by now, but I can still remember the pain! If I were in your shoes I would definitely look at Openbase and MySQL, but also Frontbase and Postgres which both seem to have quite fan base. I don't think you can go far wrong with any of them. Simon On 14 Feb 2008, at 13:53, Daniel Brajkovic wrote: I'm curious as to why you moved from openbase. MySQL seems more complicated to administer especially regarding clusters and also seems more expensive if you want any support. I am creating a new webapp and was planning to use openbase. Sent from my iPhone On Feb 14, 2008, at 5:17 AM, Simon McLean [EMAIL PROTECTED] wrote: we use 5 (we didn't upgrade from 4, we moved from openbase). no problems at all with webobjects. simon On 14 Feb 2008, at 11:11, David Griffith wrote: Hi All, I was wondering if anyone that is using mySQL has upgraded from mySQL 4 to mySQL 5? If so, have you noticed any bugs or pitfalls? Our hosting service is going to upgrade us soon and I do remember that after the last upgrade we had some major problems due to some changes to the data types in mySQL. (i.e. I remember it was something to do with the new TEXT data type. Any pointers or notes would be much appreciated. Kind regards, David Griffith. ___ 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/ simon_mclean%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/daniel% 40brajkovic.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/mcentro% 40altera.it 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 [EMAIL PROTECTED]
Re: WOWODC
On 23-mar-07, at 18:45, Chuck Hill wrote: On Mar 23, 2007, at 8:40 AM, Jerry W. Walker wrote: Hi, Pascal, I signed up, but was stupid enough to fail to realize that my paragraphs would be scrunched by HTML. If other's are signing up, be aware that you would be better off composing some of your text in an HTML editor before adding it to the page. Jerry, Jerry, Jerry. Sigh. First Xcode and now Safari. Sigh. When will you learn to not play with toys at work? ;-) Real developers, using real browsers, get a WYSIWYG editor. However, to keep the playing :-P field level, I have turned that off and turn on line break formatting. 'course real HTML still works. BTW, I like your suggestion about non-Apple WO sessions at WWDC. Do you want to approach Mr. Frisch on this? We could ask Apple for a WO Lounge on the Moscone third floor and do our own WOWODC there... Pierre, do you think it would be possible? Matteo ___ 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: General List Disclosure of WWDC WO info
It might be that after the feedback forum we'll convince them to disclose the news... My hotel is very near to the moscone, you might even see the lantern that I hanged out ;) ...So, where is my iPod? On 10-ago-06, at 13:51, David LeBer wrote: On 10-Aug-06, at 1:25 PM, Karl wrote: Hi, Perhaps some of the Apple WO staff could determine how much of the information announced today at WWDC can be shared with the other list members? Strictly speaking, the information is under NDA - although some of it can be found in the Xcode 2.4 release notes which are available to other ADC members. I think that either Apple specifically says that we can discuss the information from todays session on the list OR puts out an official statement of direction itself which clarifies things for the list at large. What do you think, Apple people? I asked Ted Goldstein for just that after the session and got the I cannot give that approval... I'll have to ask marketing and Thanks for that input response. I know those not in attendance are left in a vacuum, and thats painful. Hopefully Apple will reveal the details sooner rather than later -- ;david -- David LeBer Codeferous Software 'co-def-er-ous' adj. Literally 'code-bearing' site: http://www.codeferous.com blog: http://david.codeferous.com -- Toronto Area Cocoa / WebObjects developers group: http://www.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/mcentro% 40altera.it 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: webobjects 5.3 and tomcat
I guess so... BTW, I have a 5.3 app (developed on Macs) deployed on a Linux box (Fedora Core 5) using WO and apache 1.3.36 Matteo Centro On 12-lug-06, at 09:55, Laurent LAVAUD wrote: hello, I have another simple question : does any development made with webobjects 5.3 under Mac can be deployed under linux with apache and tomcat ? -- Laurent LAVAUD Centre de Ressources Informatiques Universite Bordeaux2 143 rue Leo Saignat 33076 Bordeaux cedex Tel: 05 57 57 15 03 Fax: 05 57 57 45 42 ___ 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/mcentro% 40altera.it 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: WebObjects training
Try with PL Systems... I believe.Good luckMatteoOn 10-lug-06, at 13:21, Gavin Armstrong wrote: Matteo, Thanks for that. I'm struggling to find anyone who provides the courses in the UK is it possible to do them online? I've emailed Apple a few times but can't get a reply out of them. They seem to be very expensive so patience and books might be the only way forward. Ang suggestions for the books? Patience could be trickier with two young kids :) Cheers, GavinFrom: Matteo Centro [mailto:[EMAIL PROTECTED]] Sent: 10 July 2006 12:14To: Gavin ArmstrongCc: webobjects-dev@lists.apple.comSubject: Re: WebObjects training The courses ARE good... as a first introduction to WO without the feeling of drowning :) IMHO, with lots of patience and a few good books you should be able to learn by yourself! My advice is: If you can, take the courses (at least the first one)... Consider that i'm a trainer, so my opinion might be skewed :) MatteoOn 10-lug-06, at 13:02, Gavin Armstrong wrote: Hi everyone, I'm struggling with WebObjects not least because I'm new to Java and programming in general. What I could really do with is training off someone who know's WebObjects. Due to work and family commitments I'm trying to find some kind of online course that I can study at my pace. I've got pretty much all the books on WebObjects but still feel as though I'm drowning. Anybody got any suggestions? Also has anybody taken the Apple courses (Web 400 Internet Application Development Using WebObjects and Web 410 Advanced WebObjects Development) are they any good or should I just hang on for Chuck's new book.Hope someone can help. Thanks very much, Gavin Armstrong http://www.bbc.co.uk/This e-mail (and any attachments) is confidential and may containpersonal views which are not the views of the BBC unless specificallystated.If you have received it in error, please delete it from your system. Do not use, copy or disclose the information in any way nor act inreliance on it and notify the sender immediately. Please note that theBBC monitors e-mails sent or received. Further communication will signify your consent to this. ___ 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/mcentro%40altera.itThis email sent to [EMAIL PROTECTED]http://www.bbc.co.uk/This e-mail (and any attachments) is confidential and may containpersonal views which are not the views of the BBC unless specificallystated.If you have received it in error, please delete it from your system. Do not use, copy or disclose the information in any way nor act inreliance on it and notify the sender immediately. Please note that theBBC monitors e-mails sent or received. Further communication will signify your consent to this. ___ 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: WWDC WO Meet
On 7-lug-06, at 14:44, Pascal Robert wrote: Le 06-07-07, à 06:38, Matteo Centro a écrit : I'll be there, and as long as there's beer and you guys... I'll be happy! Matteo BTW: what if we, WebObjects people, did a special t-shirt? I remember a couple of years ago, WO guys had a Powered by WebObjects on their badge... Like this one ? http://www.cafepress.com/cp/prod.aspx?p=mschrag.57679237 Yep! But I was thinking about something more explicit, something like WO Rulez! ___ 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