Re: Slack WO channel
> On 08/09/2016, at 18:31, Raymond NANEON <rnan...@me.com> wrote: > > Re, > > Please add me too : > > rnan...@gmail.com > > Thanks > >> Le 7 sept. 2016 à 23:25, Lon Varscsak <lon.varsc...@gmail.com> a écrit : >> >> I’d be on the Slack channel :D Mostly so I could talk about Wicket and >> Cayenne. ;) >> >> On Wed, Sep 7, 2016 at 12:24 PM, Tom Termini <tomterm...@gmail.com> wrote: >>> I’d like to be on the WebObjects Slack channel, please. >>> >>> >>> Tom Termini / Bluedog >>> tomterm...@gmail.com | +1-301-649-5000 >>> >>> >>> >>> >>> ___ >>> 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/lon.varscsak%40gmail.com >>> >>> This email sent to lon.varsc...@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/rnaneon%40me.com >> >> This email sent to rnan...@me.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/simon%40webtecc.com > > This email sent to si...@webtecc.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: WO Jobs in Southern Germany
Hello, On 31 Dec 2015, at 02:37, Miguel Arroz <ar...@guiamac.com> wrote: > Hi, > >> On Dec 30, 2015, at 2:46 PM, Jürgen Simon <si...@webtecc.com> wrote: >> >> Absolutely. Proper DI facilities make things a lot easier to test. And the >> code much cleaner. Wouldn’t it be nice to have something like >> >> @Autowired >> EOEditingContext editingContext; > > No. Because now you have no clue where and how that editing context is > being created. You literally have to search the entire code base to know the > answer to that question. Or, let me correct myself, even then you’re not sure > because runtime may be different. On the other hand, if you have > ERXEC.newEditingContext(), you *know* what code is running to create that EC. > And if you have access to the code (and in Wonder, you do), you can even read > it, not just rely on the documentation. I’m afraid I have to disagree. And the ability to alter the properties of the @Autowired object based on the environmental settings is indeed one of the strengths of the method. Among other things, it makes setting up testing in a continuous integration environment for example much easier. > The reasons I hate DI frameworks like that are: > > - It makes reading (and thus understanding) the code spectacularly hard. > Hard to the point you may spend several hours trying to figure out what > object was created and injected and why that object is not the one you > expected to be. Keep in mind that in things like @Named the object can be > created anywhere in the code base. Also keep in mind that some DI frameworks, > like Spring, when faced with two objects in the class path for the same > @Named name, will silently pick one trough some arbitrary criteria, instead > of crashing and burning, AS THEY SHOULD DO BY DEFAULT (I know they can be > configured to to that, but the default behaviour is not the safe behaviour > which is stupid). Not really. If you know where to look and have sufficient understanding of the process, it’s not a big problem in my humble opinion. Of course there is a learning curve, especially with Spring and that can get a little frustrating. > - You have absolutely no way to know for sure what object is going to be > inserted unless you run the app and check it. And obviously the results of > doing this in your developer environment can be different from the ones in a > production environment. How in the world can anyone think this is a good idea? As I mentioned above, it depends how you set things up and how well you understand the process. In the beginning of course I ran into these troubles, but once you understand how it works it’s not really that complicated. And again, it makes certain things a lot easier to set up. Plus it really makes for cleaner code (in terms of architectural concerns as well as readability). You won’t have to look all over the place to check if someone set the object up in some non standard way. If you needed specific properties on an object set, you can control that with DI just as well and it’s all in once place. > You can argue that anything in Java has the same behaviour, what class you > get depends on the class path you have on the runtime. I wouldn’t try to bend the argument that far. > However, this is a side effect of how Java was designed, and one that causes > much headache and is one of the major complains about the Java platform > (class path issues). DI is like this *by design*. It incorporates in its > design something that is widely recognized as a major problem of the platform. It also enabled us to control the class loading process which in some instances has been the only way to fix certain problems. It is used quite extensively in Wonder, if not mistaken. If not for this form of ‘DI’ (although I wouldn’t call it that), a lot of things would have been impossible to do. > - I think that if you have to mess up your code to the point of not being > able to know (mathematically speaking) how it works unless you run it in > order to make your code testable, you’re doing it wrong. If you need > indirections to give you different objects when running and testing, then > make those explicit in the code, and add them only on the places where you > really need it. Well, I can understand the resistance but frankly can’t second most of the arguments. > - It’s one more thing to deal with, configure, work around the limitations > and bugs, etc. And the very last thing software development needs is more of > that. Overall, it seems like an extremely inelegant and complex solution to > the testing problem. That problem is not easy to solve, it’s true, but I > think overall DI brings more pain than gain. I disagree and I think DI would be a great addition t
Fwd: WO Jobs in Southern Germany
Hello, On 28 Dec 2015, at 20:26, Andrus Adamchikwrote: > > On Mon, Dec 28, 2015, at 05:28 PM, Miguel Arroz wrote: >> Just because those frameworks don’t explicitly have abominations like >> dependency injection mechanisms, it doesn’t mean they don’t follow the IoC >> principles. > > Heh, there are DI frameworks out there that may be called abominations, but > DI itself simply facilitates a very clean pluggable architecture if you use > it right. And no, WO/EOF doesn't have it. And yes, it is a problem. Just ask > the folks who are trying to write unit tests against EOF ;) Absolutely. Proper DI facilities make things a lot easier to test. And the code much cleaner. Wouldn’t it be nice to have something like @Autowired EOEditingContext editingContext; instead of EOEditingContext editingContext = ERXEC.newEditingContext() perhaps even with some rule based setup, aka: D2W meets DI? Just thinking out loud. J. ___ 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
Fwd: WO Jobs in Southern Germany
Hello, On 28 Dec 2015, at 20:26, Andrus Adamchikwrote: > > On Mon, Dec 28, 2015, at 05:28 PM, Miguel Arroz wrote: >> Just because those frameworks don’t explicitly have abominations like >> dependency injection mechanisms, it doesn’t mean they don’t follow the IoC >> principles. > > Heh, there are DI frameworks out there that may be called abominations, but > DI itself simply facilitates a very clean pluggable architecture if you use > it right. And no, WO/EOF doesn't have it. And yes, it is a problem. Just ask > the folks who are trying to write unit tests against EOF ;) Absolutely. Proper DI facilities make things a lot easier to test. And the code much cleaner. Wouldn’t it be nice to have something like @Autowired EOEditingContext editingContext; instead of EOEditingContext editingContext = ERXEC.newEditingContext() perhaps even with some rule based setup, aka: D2W meets DI? Just thinking out loud. J. ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: WO Jobs in Southern Germany
Hi Ralph, On 23 Dec 2015, at 11:06, Ralph Scheuerwrote: > Hi everybody, > > this is a bit off-topic, but I'll still try it: > > if anybody is looking for an experienced WO developer in Southern Germany, > preferably in the Munich region, please feel free to get in touch with me > off-list via this e-mail address. > > I would rather go back to WO development rather than starting the next Spring > / Hibernate job. > > A proper CV and references etc. are available as well. > > Thank you and my apologies for the OT message. Sorry, not being able to help. On the lookout myself, but not in Southern Germany. I feel your pain, though. WO jobs are hard to come by these days. However: once you get to know the Swing/Hibernate stuff, it isn’t half bad. If you employ clean architecture, good coding style and separation of concerns etc., you can have fun writing Swing/Hibernate code, too. I really like the IoC pattern as well, something that might be worth having in WO. J. ___ 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
Looking for WO work
Hello list, anyone in need of an experienced developer with a need for WO? Jürgen ___ 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
How to build ERRest response for NSDictionary?
Hi, I’m having some trouble implementing a simple function with ERRest. I have a method I wish to return a serialized NSDictionary from, not a serialized EOObject. Is that possible? The method could look something like this: @GET @Path(“/somepath/{id:Integer}/dailyReport) public WOActionResults dailyReport(@PathParam(“id) Integer id) { NSDictionaryString,Object report = getDailyReport(); ??? } How would I go about building a response for this? Or do I need to implement another controller not inheriting from ERXRouteController for this? Kind Regards, Jürgen ___ 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
WO Developer looking for projects
Hello, sorry for the ‘abuse’ of the list, but I wouldn’t know where to look for WO work outside of this list. Perhaps someone has a tip on that one? I’m an experienced WO/iOS developer looking for new projects in remote mode. Any takers? ___ 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
WebObjects-Projects?
Hello, this is not a technical inquiry, more a temperature check on the business side of WebObjects. It is my impression that at least in Germany, after the 2008/2009 crisis the market for WebObjects-projects has really been down a lot. I have been looking hi and lo for opportunities to work with WO again, but apart from self-initiated projects there was nothing going on. Is this perception limited to Germany or is it even just me? Are there any project marketplaces for WO that I am not aware of? How much of a future would you guys think WO really has? Kind Regards, Jürgen ___ 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… ehm, frozen instances.
...or you are touching the session object outside the RR loop. the classic gotcha is rendering a component in a thread that touches the session in some way e.g. delivering an email in a thread that uses a component to render it's content... been caught by that one s many times! On 19 March 2013 17:51, Chuck Hill ch...@global-village.net wrote: Hi Matteo, You have one or more Zombie (aka Immortal) Sessions, as shown by stack traces like this: WorkerThread11 prio=10 tid=0x41848800 nid=0x1010 in Object.wait() [0x7f16f7cfa000] java.lang.Thread.State: WAITING (on object monitor) at java.lang.Object.wait(Native Method) - waiting on 0xd120b328 (a com.webobjects.appserver.WOSessionStore$TimeoutEntry) at java.lang.Object.wait(Object.java:485) at com.webobjects.appserver.WOSessionStore.checkOutSessionWithID(WOSessionStore.java:191) - locked 0xd120b328 (a com.webobjects.appserver.WOSessionStore$TimeoutEntry) at com.webobjects.appserver.WOApplication.restoreSessionWithID(WOApplication.java:1913) at er.extensions.appserver.ERXApplication.restoreSessionWithID(ERXApplication.java:2403) at er.extensions.appserver.ERXWOContext.existingSession(ERXWOContext.java:57) at er.extensions.appserver.ERXWOContext.hasSession(ERXWOContext.java:69) at com.webobjects.appserver.WOAction.existingSession(WOAction.java:190) at com.tla.calendar.DirectAction.goToAction(DirectAction.java:454) This likely has one of two causes: 1. The application is getting OutOfMemory errors, which can leave the session store in an insane state 2. The app is throwing an exception from sleep() in Session. If you overrride sleep() it should use a try...finally block public void sleep() { try { // Your code here! } finally { super.sleep(); } } Chuck On 2013-03-19, at 9:38 AM, Altera WO Team wrote: Hi all, I'm having a strange issue on a WO installation on EC2 (oracle jvm). Same strange application which had immortal sessions… Sometimes (quite rarely) a bounced application (put in refuse new sessions) never quits and it's not accessible from JavaMonitor. If I look at the logs i see: Mar 19 12:38:52 B2C[2002] (ERXNSLogLog4jBridge.java:44) WARN NSLog - com.tla.calendar.Application: refusing new clients and below min active session threshold Mar 19 12:38:52 B2C[2002] (ERXNSLogLog4jBridge.java:44) WARN NSLog - com.tla.calendar.Application: about to terminate... The only thing left is to kill the instance… Which is not nice. I'm not overriding the terminate() method in Application. I am attaching a stack trace if it helps. B2Cjstack.txt Thanks, Matteo Centro ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/chill%40global-village.net This email sent to ch...@global-village.net -- Chuck Hill Executive Managing Partner, VP Development and Technical Services Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems. http://www.global-village.net/gvc/practical_webobjects Global Village Consulting ranks 13th in 2012 in BIV's Top 100 Fastest Growing Companies in B.C! Global Village Consulting ranks 76th in 24th annual PROFIT 200 ranking of Canada’s Fastest-Growing Companies by PROFIT Magazine! ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/simon%40potwells.co.uk This email sent to si...@potwells.co.uk ___ 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… ehm, frozen instances.
if we have this kind of issue the first thing we do is log out session creation and check the stack traces. stick something like this in your session constructor then check the output: public Session() { super(); StringWriter stringWriter = new StringWriter(); PrintWriter printWriter = new PrintWriter(stringWriter); (new Throwable()).printStackTrace(printWriter); String trace = stringWriter.toString(); log this somewhere that you can get easy access to } On 19 March 2013 23:15, Altera WO Team webobje...@altera.it wrote: Wow, good hint! In theory I'm not touching a Session but sometimes, when something in an EO changes I trigger e-mail sending. I use ERMailDeliveryHTML using a component instantiated with a brand new wocontext using ERXWOContext.newContext() the component is not referencing a Session in any part. Could it be the cause? Matteo On 19/mar/2013, at 21:24, Simon si...@potwells.co.uk wrote: ...or you are touching the session object outside the RR loop. the classic gotcha is rendering a component in a thread that touches the session in some way e.g. delivering an email in a thread that uses a component to render it's content... been caught by that one s many times! On 19 March 2013 17:51, Chuck Hill ch...@global-village.net wrote: Hi Matteo, You have one or more Zombie (aka Immortal) Sessions, as shown by stack traces like this: WorkerThread11 prio=10 tid=0x41848800 nid=0x1010 in Object.wait() [0x7f16f7cfa000] java.lang.Thread.State: WAITING (on object monitor) at java.lang.Object.wait(Native Method) - waiting on 0xd120b328 (a com.webobjects.appserver.WOSessionStore$TimeoutEntry) at java.lang.Object.wait(Object.java:485) at com.webobjects.appserver.WOSessionStore.checkOutSessionWithID(WOSessionStore.java:191) - locked 0xd120b328 (a com.webobjects.appserver.WOSessionStore$TimeoutEntry) at com.webobjects.appserver.WOApplication.restoreSessionWithID(WOApplication.java:1913) at er.extensions.appserver.ERXApplication.restoreSessionWithID(ERXApplication.java:2403) at er.extensions.appserver.ERXWOContext.existingSession(ERXWOContext.java:57) at er.extensions.appserver.ERXWOContext.hasSession(ERXWOContext.java:69) at com.webobjects.appserver.WOAction.existingSession(WOAction.java:190) at com.tla.calendar.DirectAction.goToAction(DirectAction.java:454) This likely has one of two causes: 1. The application is getting OutOfMemory errors, which can leave the session store in an insane state 2. The app is throwing an exception from sleep() in Session. If you overrride sleep() it should use a try...finally block public void sleep() { try { // Your code here! } finally { super.sleep(); } } Chuck On 2013-03-19, at 9:38 AM, Altera WO Team wrote: Hi all, I'm having a strange issue on a WO installation on EC2 (oracle jvm). Same strange application which had immortal sessions… Sometimes (quite rarely) a bounced application (put in refuse new sessions) never quits and it's not accessible from JavaMonitor. If I look at the logs i see: Mar 19 12:38:52 B2C[2002] (ERXNSLogLog4jBridge.java:44) WARN NSLog - com.tla.calendar.Application: refusing new clients and below min active session threshold Mar 19 12:38:52 B2C[2002] (ERXNSLogLog4jBridge.java:44) WARN NSLog - com.tla.calendar.Application: about to terminate... The only thing left is to kill the instance… Which is not nice. I'm not overriding the terminate() method in Application. I am attaching a stack trace if it helps. B2Cjstack.txt Thanks, Matteo Centro ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/chill%40global-village.net This email sent to ch...@global-village.net -- Chuck Hill Executive Managing Partner, VP Development and Technical Services Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems. http://www.global-village.net/gvc/practical_webobjects Global Village Consulting ranks 13th in 2012 in BIV's Top 100 Fastest Growing Companies in B.C! Global Village Consulting ranks 76th in 24th annual PROFIT 200 ranking of Canada’s Fastest-Growing Companies by PROFIT Magazine! ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/simon%40potwells.co.uk This email sent to si
Re: Storing a user in a cookie
I think that first you have to think seriously if you really want to do this. There are two problems to guard against - making up tokens, and re-using other people's. Encryption might fix the first, but not the second. If you do REALLY want to do it, you have to basically emulate a session ID, and store that in the database or in a file or something, and then look it up - with some sort of expiry period built in. You can generate the tokens with a hash function, it doesn't need to be reversible encryption. If there is no expiry mechanism then anyone who has access to your token (e.g., from sniffing network traffic) from the cookie can masquerade as that user at any time (years later even), bypassing authentication, and you have no way to stop them short of invalidating the user id. Session id's are always a bit of a trade off security wise, but you need some way to check that the return of the user is plausible and not just accept any connection that knows the magic words. Simon CISSP-ISSAP, ISSMP, GWAPT, OSWP Sent from my iPhone On Feb 20, 2013, at 11:08 AM, Jesse Tayler jtay...@oeinc.com wrote: you're only going to compare one resulted cypher to another resulted cypher you have stored -- knowing they calculate to the same result and are the same/correct is enough to ensure people haven't just made up a cookie and you'd never reveal a cookie that would be useful. On Feb 20, 2013, at 12:02 PM, Pascal Robert prob...@macti.ca wrote: What would you use for storing details about an user in a cookie for stateless apps (e.g., in a keep me logged situation)? I see two solutions: - Using BlowFish to encrypt the username in the cookie, and to decrypt the value of the cookie to see who is the user; - Encrypting the username with BCrypt, storing the encrypted username in the database and in the cookie, and doing a comparison. Opinions? The only problem I see with the first one is that if someone find the cipher key, you're toast, but at the same time, if they find it, it's probably because it was stored in the file system or in a SCM, so if they found it, you will probably have other problems too. ___ 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/jtayler%40oeinc.com This email sent to jtay...@oeinc.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/sjoliver%40memphis.edu This email sent to sjoli...@memphis.edu ___ 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
Fwd: Storing a user in a cookie
Forgot to copy the list... Sent from my iPhone Begin forwarded message: From: Simon J Oliver (sjoliver) sjoli...@memphis.edumailto:sjoli...@memphis.edu Date: February 20, 2013, 8:23:33 PM CST To: Ken Anderson kenli...@anderhome.commailto:kenli...@anderhome.com Subject: Re: Storing a user in a cookie Yes I think OAuth could potentially work, although you'd probably want some sort of local session management /caching anyway to avoid the need to validate every request with the identity provider. OAuth has the advantage at least over Pascal's original scheme that it provides an form of expiry/invalidation mechanism that allows a token to be repudiated if needed. Depending on how long you want the tokens to live and/or how sensitive the data is, you'd probably want to ensure that your app was served solely over SSH to minimize the risk of token theft. It really all depends on you, your users and your data... I can't imagine many circumstances where just re-locking the door to fix a confidentiality/integrity breach after the fact is a 'good enough' solution to keeping an app secure (especially where the breach can have happened through no identifiable fault of the user, as in the case of tokens sniffed off the network) but if that works for your scenario, then that's great. :-) Simon Sent from my iPhone On Feb 20, 2013, at 11:36 AM, Ken Anderson kenli...@anderhome.commailto:kenli...@anderhome.com wrote: Doesn't OAUTH do exactly what you're asking for? For users that use one of my iOS apps (RailTime), we get an OAUTH secret from Twitter that's unique to us. The user can always log onto Twitter and disable our OAUTH secret, but otherwise it lasts forever. If a user complains that they're seeing strange behavior on their account, revoke the secret and issue another one. Ken On Feb 20, 2013, at 10:24 AM, Simon J Oliver (sjoliver) sjoli...@memphis.edumailto:sjoli...@memphis.edu wrote: I think that first you have to think seriously if you really want to do this. There are two problems to guard against - making up tokens, and re-using other people's. Encryption might fix the first, but not the second. If you do REALLY want to do it, you have to basically emulate a session ID, and store that in the database or in a file or something, and then look it up - with some sort of expiry period built in. You can generate the tokens with a hash function, it doesn't need to be reversible encryption. If there is no expiry mechanism then anyone who has access to your token (e.g., from sniffing network traffic) from the cookie can masquerade as that user at any time (years later even), bypassing authentication, and you have no way to stop them short of invalidating the user id. Session id's are always a bit of a trade off security wise, but you need some way to check that the return of the user is plausible and not just accept any connection that knows the magic words. Simon CISSP-ISSAP, ISSMP, GWAPT, OSWP Sent from my iPhone On Feb 20, 2013, at 11:08 AM, Jesse Tayler jtay...@oeinc.commailto:jtay...@oeinc.com wrote: you're only going to compare one resulted cypher to another resulted cypher you have stored -- knowing they calculate to the same result and are the same/correct is enough to ensure people haven't just made up a cookie and you'd never reveal a cookie that would be useful. On Feb 20, 2013, at 12:02 PM, Pascal Robert prob...@macti.camailto:prob...@macti.ca wrote: What would you use for storing details about an user in a cookie for stateless apps (e.g., in a keep me logged situation)? I see two solutions: - Using BlowFish to encrypt the username in the cookie, and to decrypt the value of the cookie to see who is the user; - Encrypting the username with BCrypt, storing the encrypted username in the database and in the cookie, and doing a comparison. Opinions? The only problem I see with the first one is that if someone find the cipher key, you're toast, but at the same time, if they find it, it's probably because it was stored in the file system or in a SCM, so if they found it, you will probably have other problems too. ___ 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/jtayler%40oeinc.com This email sent to jtay...@oeinc.commailto:jtay...@oeinc.com ___ 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/sjoliver%40memphis.edu This email sent to sjoli...@memphis.edumailto:sjoli...@memphis.edu
Re: Storing a user in a cookie
Long day 'application served solely over SSL' is what I meant, of course. Sent from my iPhone On Feb 20, 2013, at 8:26 PM, Simon J Oliver (sjoliver) sjoli...@memphis.edumailto:sjoli...@memphis.edu wrote: Forgot to copy the list... Sent from my iPhone Begin forwarded message: From: Simon J Oliver (sjoliver) sjoli...@memphis.edumailto:sjoli...@memphis.edu Date: February 20, 2013, 8:23:33 PM CST To: Ken Anderson kenli...@anderhome.commailto:kenli...@anderhome.com Subject: Re: Storing a user in a cookie Yes I think OAuth could potentially work, although you'd probably want some sort of local session management /caching anyway to avoid the need to validate every request with the identity provider. OAuth has the advantage at least over Pascal's original scheme that it provides an form of expiry/invalidation mechanism that allows a token to be repudiated if needed. Depending on how long you want the tokens to live and/or how sensitive the data is, you'd probably want to ensure that your app was served solely over SSH to minimize the risk of token theft. It really all depends on you, your users and your data... I can't imagine many circumstances where just re-locking the door to fix a confidentiality/integrity breach after the fact is a 'good enough' solution to keeping an app secure (especially where the breach can have happened through no identifiable fault of the user, as in the case of tokens sniffed off the network) but if that works for your scenario, then that's great. :-) Simon Sent from my iPhone On Feb 20, 2013, at 11:36 AM, Ken Anderson kenli...@anderhome.commailto:kenli...@anderhome.com wrote: Doesn't OAUTH do exactly what you're asking for? For users that use one of my iOS apps (RailTime), we get an OAUTH secret from Twitter that's unique to us. The user can always log onto Twitter and disable our OAUTH secret, but otherwise it lasts forever. If a user complains that they're seeing strange behavior on their account, revoke the secret and issue another one. Ken On Feb 20, 2013, at 10:24 AM, Simon J Oliver (sjoliver) sjoli...@memphis.edumailto:sjoli...@memphis.edu wrote: I think that first you have to think seriously if you really want to do this. There are two problems to guard against - making up tokens, and re-using other people's. Encryption might fix the first, but not the second. If you do REALLY want to do it, you have to basically emulate a session ID, and store that in the database or in a file or something, and then look it up - with some sort of expiry period built in. You can generate the tokens with a hash function, it doesn't need to be reversible encryption. If there is no expiry mechanism then anyone who has access to your token (e.g., from sniffing network traffic) from the cookie can masquerade as that user at any time (years later even), bypassing authentication, and you have no way to stop them short of invalidating the user id. Session id's are always a bit of a trade off security wise, but you need some way to check that the return of the user is plausible and not just accept any connection that knows the magic words. Simon CISSP-ISSAP, ISSMP, GWAPT, OSWP Sent from my iPhone On Feb 20, 2013, at 11:08 AM, Jesse Tayler jtay...@oeinc.commailto:jtay...@oeinc.com wrote: you're only going to compare one resulted cypher to another resulted cypher you have stored -- knowing they calculate to the same result and are the same/correct is enough to ensure people haven't just made up a cookie and you'd never reveal a cookie that would be useful. On Feb 20, 2013, at 12:02 PM, Pascal Robert prob...@macti.camailto:prob...@macti.ca wrote: What would you use for storing details about an user in a cookie for stateless apps (e.g., in a keep me logged situation)? I see two solutions: - Using BlowFish to encrypt the username in the cookie, and to decrypt the value of the cookie to see who is the user; - Encrypting the username with BCrypt, storing the encrypted username in the database and in the cookie, and doing a comparison. Opinions? The only problem I see with the first one is that if someone find the cipher key, you're toast, but at the same time, if they find it, it's probably because it was stored in the file system or in a SCM, so if they found it, you will probably have other problems too. ___ 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/jtayler%40oeinc.com This email sent to jtay...@oeinc.commailto:jtay...@oeinc.com ___ 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
Re: Immortal sessions in production
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: 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
WO Developers
Hello, I can offer two experienced WO developers in Germany right now. If you need us, please drop me a line. Kind Regards, Jürgen Simon ___ 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 apps under AWS ELB with sticky sessions, autoscaling EC2 instances.
we had problems with elb, wo and sticky sessions. we now run zeus load balancers on ec2. we never got to the bottom of it, just randomly the session would seem to loose it's stickyness, head off to another ec2 instance, new session and login page. i suspected it was due to switching between http and https and we intend to re-trial elb in a few months time because we are moving all of our apps to full-time https and secure cookies. sorry, not much help i know, but just a heads up that we did have problems. i'd be interested in knowing how you get on... simon On 12 June 2012 23:24, Matthew Ness m...@logicsquad.net wrote: Hello list! I've been working on a number of wonder applications the last year at my 9-5, all of which we have deployed to AWS in various development and staging/QA states. For the production environment of the main application, we are looking at a deployment setup quite similar to this reference diagram: http://d36cz9buwru1tt.cloudfront.net/architecturecenter/AWS_ac_ra_web_01.pdf (from http://aws.amazon.com/architecture/) It's important to the company to ensure we can run smoothly across multiple Availability Zones of a Region, so the diagram represents the 3 (+1) tier application setup we are looking for. We're really happy with the approach we've taken so far, and the ELB-session-stickiness and autoscaling of the application tiers in each AZ is something we are currently evaluating. Ignoring CloudFront and Route 53 for a moment, we're interested in setting up the ELB with sticky sessions/session affinity, apache on each AZ, and a number of application VMs on each AZ, each one of course running a number of WO instances. The persistence tier is absolutely fine and accounted for in both AZs. So two quick questions: 1. Has anyone had any experience with ELB and sticky sessions with regards to WO, WOMonitor, and wotaskd? If so, are there any gotchas or hurdles you foresee me coming across? Any tips for smooth sailing? Tied (or apposed really) to this is the concept of distributed session storage, which we are also considering, so I'm looking forward to your WOWODC session, Ramsey! 2. Currently we're looking at manual horizontal scaling of the application tiers in each AZ, but it would be great to design/have a solution for triggered horizontal EC2 VM scaling with respect to WO. This would presumably require updating the WOMonitor and wotaskd. Again, any one with previous experience wanting to warn me off/enthusiastically give me hope? Any knowledge in this area would be greatly appreciated! Cheers, and see you all at WOWODC. -- Matt 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: https://lists.apple.com/mailman/options/webobjects-dev/simon%40potwells.co.uk This email sent to si...@potwells.co.uk ___ 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
Problem with download link in 'appendToResponse'
Hi, I'm trying to generate some file content on the fly and return it when the user clicks a link. I'm doing this in a D2W context, the component is a propoerty level component. I had some success by overwriting appendToResponse like so: public void appendToResponse(com.webobjects.appserver.WOResponse response, WOContext context) { if ( shouldDownloadFile ) { String fileName = generated.properties; String contentType = text/ascii; response.setHeader( contentType + ; name=\ + fileName + \, Content-Type ); response.setHeader( attachment; filename=\ + fileName + \, Content-Disposition); String content = this.configuration(); response.setContent( content ); } else { super.appendToResponse( response, context ); } } The flag 'shouldDownloadFile' is set to true when the link contained in the component is clicked (normal action binding). However, instead of only the generated content, I also get some other generated HTML in the file. Does somebody know what the problem is? Kind Regards, J.L.Simon ___ 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: Inappropriate OGNL expression
should it not just be wo:BuildManifest transactions=~transactionsForSpec(revisionItem) / ? simon On 12 March 2012 14:30, Pascal Robert prob...@macti.ca wrote: Hi list, I was calling a method by OGNL inside a component to fetch an array inside a WORepetition, and it worked well. Now, I moved some code to a sub-component and I have to pass the array I get from the method to the component. So I did: wo:BuildManifest transactions=$~transactionsForSpec(revisionItem) / But I'm getting: ognl.InappropriateExpressionException: Inappropriate OGNL expression: transactionsForSpec(revisionItem) Funny thing is that it does work even if I'm getting this, the sub-component is called and the array have the right objects. So I'm curious of finding out why I'm getting this exception even if it works as expected. ___ 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/simon%40potwells.co.uk This email sent to si...@potwells.co.uk ___ 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: Opinions on OpenJDK
no, we build on ec2 (jenkins running on ec2) On 5 March 2012 17:03, John Huss johnth...@gmail.com wrote: Are you building with it on a Mac? If so, how? On Mon, Mar 5, 2012 at 10:40 AM, Simon si...@potwells.co.uk wrote: We're building on it as well as deploying on it On Monday, 5 March 2012, Paul Hoadley wrote: On 05/03/2012, at 8:24 PM, Kieran Kelleher wrote: I've been running it on a Centos server for a year or more with no issues so far: java version 1.6.0_17 OpenJDK Runtime Environment (IcedTea6 1.7.5) (rhel-1.16.b17.el5-x86_64) OpenJDK 64-Bit Server VM (build 14.0-b16, mixed mode) Actually, I wasn't clear in the original post. I've been running apps on EC2 using OpenJDK for over a year as well, absolutely no problem. Kieran, are you also _building_ apps using that JDK? -- 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: https://lists.apple.com/mailman/options/webobjects-dev/simon%40potwells.co.uk This email sent to si...@potwells.co.uk ___ 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: Opinions on OpenJDK
We're building on it as well as deploying on it On Monday, 5 March 2012, Paul Hoadley wrote: On 05/03/2012, at 8:24 PM, Kieran Kelleher wrote: I've been running it on a Centos server for a year or more with no issues so far: java version 1.6.0_17 OpenJDK Runtime Environment (IcedTea6 1.7.5) (rhel-1.16.b17.el5-x86_64) OpenJDK 64-Bit Server VM (build 14.0-b16, mixed mode) Actually, I wasn't clear in the original post. I've been running apps on EC2 using OpenJDK for over a year as well, absolutely no problem. Kieran, are you also _building_ apps using that JDK? -- Paul. http://logicsquad.net/ ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.comjavascript:; ) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/simon%40potwells.co.uk This email sent to si...@potwells.co.uk javascript:; ___ 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: JavaMonitor wotask SSD Problem.
I'm not sure you'd need to restart Apache if you could wait and start the WO processes at the right time. Or maybe you would, simply because if it starts too soon, as well. I'm working on setting up a new deployment environment, and was going to work on fleshing out that skeleton code. I'll share it here when I have it finished. On Feb 29, 2012, at 7:43 PM, Gaastra Dennis - WO Lists wrote: Now what booting script do you use to delay starting up wotaskd + JavaMonitor, and do an apache restart afterwards? Something similar to what Simon suggested? Thanks Dennis On 28/Feb/12 11:49 PM, Chuck Hill wrote: Yes. Four. :-) On Feb 29, 2012, at 12:48 PM, Gaastra Dennis - WO Lists webobjects_li...@webappz.commailto:webobjects_li...@webappz.com wrote: and the webobjects apache configuration WebObjectsConfig http://http:/hostname:1085 10 On 28/Feb/12 7:49 PM, Chuck Hill wrote: All three of wotaskd, java monitor, and your apps need to agree on WOHost On Feb 29, 2012, at 8:52 AM, Gaastra Dennis - WO Lists webobjects_li...@webappz.commailto:webobjects_li...@webappz.com wrote: Hi Ken et al, After restarting the launchdaemons, Monitor seems to be happy with its instances showing as running, but we still get the famous The requested application was not found on this server. Thanks Dennis. On 27/Feb/12 10:41 PM, ISHIMOTO Ken wrote: Hi, It looks we have a problem with JavaMonitor and wotask, that had to be fixed. I have seen this Problem now on several Machines, and found the problem, but think about a fix. Maybe the only way is to fix the Apps Javacode itself... Test Machine was OS X Lion OS X SnowLeopard What is going on: The correctway : If the Machine starts * LaunchD starts the Database * LaunchD start JavaMonitor wotask * wotask will start the Instances * Everybody is Happy The Problem only appears if the Boot disk is a SSD Drive. * LaunchD starts the Database * LaunchD start JavaMonitor wotask BUT, JavaMonitor and wotask Launches and try to get the Network Interface for making work, the OS Networking isn't setup at that time. The Boot was to fast. Both Apps try for several time, and give up. But running. a Zombi process * wotask can't start the Instances The only way after the Launch is to go to Activity Monitor to kill both processes, LaunchD will boot both again and everybody is happy. 1. Fix 1 : LaunchD Script - I have no idea if that is possible to say launch at Boot but delayed or so 2. Fix 2 : In the javacode after retry the App and can't get a Connection kill itself, and let launchD boot it again.. Thank you Ken Ishimoto K's ROOM [E-Mail] k...@ksroom.commailto:k...@ksroom.com [iChat:] ibase_...@mac.commailto:ibase_...@mac.com [HP] http://www.ksroom.com/ _ This e-mail has not been scanned for viruses because it was written on an Mac, and there are NO Viruses on an Apple Computer. For further information visit http://www.apple.comhttp://www.apple.com/ ___ 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/webobjects_lists%40webappz.com This email sent to webobjects_li...@webappz.commailto:webobjects_li...@webappz.com -- With Kind Regards, Dennis Gaastra, WEBAPPZ® Systems, Inc. (+1) 604.921.1333 www.webappz.comhttp://www.webappz.com/ www.scheduleDS.comhttp://www.scheduleDS.com/ www.1tracker.comhttp://www.1tracker.com/ This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. WEBAPPZ Systems, Inc., 726 - 1489 Marine Drive, West Vancouver, BC, CANADA V7T 1B8, www.webappz.comhttp://www.webappz.com/ ___ Do not post admin requests
Re: JavaMonitor wotask SSD Problem.
I was just diffing the application launch scripts for a default wotaskd/javamonitor that I had lying around (not exactly sure which version - probably from 5.3.x) and the Wonder versions - i.e., wotaskd.woa/wotaskd and JavaMonitor.woa/JavaMonitor (not the launchd code). In both cases the stock versions include the following code right before the application is launched - and which is not present in the Wonder versions of the apps (or in my own built apps): # Verify network services are intialized before starting # echo Checking network services if [ ${PLATFORM_TYPE} = Darwin ] then /usr/sbin/ipconfig waitall fi # It seems that Apple recognized this problem, and took steps to customize each of these 'likely to be launched boot time' applications' boot scripts to deal with it. Is there a way to build the Wonder versions to include modified launch scripts by default? Alternatively, I think you could go with my earlier idea of a dedicated launchd task to wait for the interfaces at that point, and then bring up wotaskd, Monitor and Apache once the network is ready. Simon On Mar 1, 2012, at 1:21 PM, gsbr...@umich.edumailto:gsbr...@umich.edu gsbr...@umich.edumailto:gsbr...@umich.edu wrote: I recall modifying the app.woa/app startup script at the end. Basically, wotaskd should start first (it will start your app), then after it is running javamonitor should start. The tail end of my wotaskd.woa/wotaskd is like: # # Launch the application. # # gsb 6/9/2010 # wait untill things boot all the way up /usr/sbin/ipconfig waitall #extra time for db /bin/sleep 100 # # Launch the application. # echo gb fixed? Launching ${SCRIPT_NAME}.woa ... echo Launching ${SCRIPT_NAME}.woa ... echo ${JAVA_EXECUTABLE} ${JAVA_EXECUTABLE_ARGS} -classpath WOBootstrap.jar com.webobjects._bootstrap.WOBootstrap ${COMMAND_LINE_ARGS} eval exec ${JAVA_EXECUTABLE} ${JAVA_EXECUTABLE_ARGS} -classpath WOBootstrap.jar com.webobjects._bootstrap.WOBootstrap ${COMMAND_LINE_ARGS} And for my JavaMonitor.woa/JavaMonitor: # gsb 6/9/2010 # wait untill things boot all the way up /usr/sbin/ipconfig waitall #extra time for db /bin/sleep 240 # # Launch the application. # echo gb fixed? Launching ${SCRIPT_NAME}.woa ... # # Launch the application. # echo Launching ${SCRIPT_NAME}.woa ... echo ${JAVA_EXECUTABLE} ${JAVA_EXECUTABLE_ARGS} -classpath WOBootstrap.jar com.webobjects._bootstrap.WOBootstrap ${COMMAND_LINE_ARGS} eval exec ${JAVA_EXECUTABLE} ${JAVA_EXECUTABLE_ARGS} -classpath WOBootstrap.jar com.webobjects._bootstrap.WOBootstrap ${COMMAND_LINE_ARGS} So I had javamonitor trying to restart wotaskd which was waiting for things to happen. This did not allow proper startup. With the wait and extra time for javamonitor reboots work properly. I think the apple wo 5.4.3 startups had some waiting; this is the Wonder versions I had to modify. A wait maybe should be added to the Wonder wotaskd and JavaMonitor startup scripts. I could be wrong, of course. Greg Brown gsbr...@umich.edumailto:gsbr...@umich.edu -- gsbr...@umich.edumailto:gsbr...@umich.edu ___ 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/sjoliver%40memphis.edu This email sent to sjoli...@memphis.edu -- Simon J. Oliver MA (Cantab.) CISSP-ISSAP, ISSMP, GWAPT, OSWP Information, Architecture Data Security Consultant Applied Information Technology Center/SBBER University of Memphis, TN Phone: 901 313 4485 Skype: SJO0923 AIM/Yahoo: simonjoliver ___ 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: Instances don't show up in Monitor and URLs do not work.
Dennis - In my experience FQDN is definitely the way to go - make sure your apps, monitor, and wotaskd all have the exact same thing. Run nslookup or similar at the command line to make sure the name resolves to the IP address of the NIC on the box, and the IP address resolves back to the name that you're using as the WOHost parameter. A handful of additional thoughts: 1) have you made sure that your adaptor config correctly has the correct hostnames and ports for the wotaskd(s) it needs to know about? What does the adaptor config page tell you about what apache thinks the world looks like? (Apologies if you already covered that... I just caught the last couple of posts). 2) have you checked your launchd boot scripts for wotaskd and monitor (if that's how you are launching them) to make sure that you don't have alternative WOHost entries in there as command line arguments? (if they aren't there already, maybe try adding them there, to make sure that the values you want are getting picked up). 3) I had an issue today (and I noticed someone else post something similar recently in connection with SSD boot drives) that wotaskd and womonitor were binding to the loopback address (only) not the ones I was asking them to - apparently because the nics weren't properly initialized at the time the apps were starting up at boot time. For me, killing the two java processes manually and allowing launchd to restart them fixed the problem. They came back up on the correct interfaces, and the IP's matched what they were expecting, and all was good. Have you tried manually killing/restarting the processes after the machine has booted up? 4) FWIW, I generally specify the WOHost for my apps as an additional command line argument in the app config in WOMonitor, rather than in the properties file. You may want to try that. I know from experience how frustrating the dance is to get things to work right, but it's generally always worked out for me, and I am deploying apps on Lion Server just fine, with the Wonder versions of monitor and wotaskd. Regards, Simon On Feb 28, 2012, at 3:26 PM, Gaastra Dennis - WO Lists wrote: Hi Tim, Thanks for your email. Yes DNS works correctly with 'changeip -checkhostname'; put full host names in wotask and JavaMonitor Properties files; and still nothing works. This is the most frustrating part of WO on Lion Server, however, this has always just worked for us in the past. Greetings, Dennis. -- Simon J. Oliver MA (Cantab.) CISSP-ISSAP, ISSMP, GWAPT, OSWP Information, Architecture Data Security Consultant Applied Information Technology Center/SBBER University of Memphis, TN Phone: 901 313 4485 Skype: SJO0923 AIM/Yahoo: simonjoliver ___ 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: JavaMonitor wotask SSD Problem.
I saw this problem (or something very much like it) today on a 2008 Mac Pro running Leopard, and not an SSD in sight... so while SSD's make it worse, it can happen in other circumstances. In what seems to me like an odd decision, given Apple's dependency on it (and hyping of it) launchd doesn't enforce dependencies. The best solution is probably that rather than launching wotaskd and womonitor directly from the launchd plist, instead call a shell script that first checks that the NICs are up, and then launches wotaskd and monitor for you. That shell script can use 'ipconfig waitall' to block until the NICs are up. I haven't done it for WO yet, but I use something similar to set up static routes on my boxes at launch time. Based on that chnk of code (which started life as http://www.macosxhints.com/article.php?story=20060329085850170 , in the routing context) , I *think* that something like this should work to start them up: #!/bin/sh # We need to trap on TERM signals, according to Apple's launchd docs: trap 'exit 1' 15 # Issue a log message so we know when we started syslog -s -l 1 WOMonitor_start: starting WOMonitor... # Use the ipconfig waitall command to wait for all the # interfaces to come up: ipconfig waitall # This is where we start WOMonitor put your WOMonitor startup command here with any command line args # Sleep for a while so Launchd won't think we never ran sleep 10 # Issue a log message so we'll know when we finished syslog -s -l 1 WOMonitor_start: Done. # Exit with a clean status exit 0 You should be able to launch that from launchd, instead of womonitor itself. Regards, Simon On Feb 28, 2012, at 4:11 PM, Gaastra Dennis - WO Lists wrote: Hi Ken, All java tasks start, but they all don't work. Please see excerpt. mm4:Logs admin$ ps -ax | grep java 131 ?? 0:05.28 /usr/bin/java -XX:NewSize=2m -Xmx64m -Xms32m -DWORootDirectory=/System -DWOLocalRootDirectory= -DWOUserDirectory=/ -DWOEnvClassPath= -DWOApplicationClass=com.webobjects.monitor.wotaskd.Application -DWOPlatform=MacOS -Dcom.webobjects.pid=131 -classpath WOBootstrap.jar com.webobjects._bootstrap.WOBootstrap -WOPort 1085 132 ?? 0:05.80 /usr/bin/java -XX:NewSize=2m -Xmx64m -Xms32m -DWORootDirectory=/System -DWOLocalRootDirectory= -DWOUserDirectory=/ -DWOEnvClassPath= -DWOApplicationClass=com.webobjects.monitor.application.Application -DWOPlatform=MacOS -Dcom.webobjects.pid=132 -classpath WOBootstrap.jar com.webobjects._bootstrap.WOBootstrap -WOPort 56789 298 ?? 0:02.28 /usr/bin/java -XX:NewSize=2m -Xmx64m -Xms32m -DWORootDirectory=/System -DWOLocalRootDirectory= -DWOUserDirectory=/Library/WebObjects/Deployment/wotaskd.woa -DWOEnvClassPath= -DWOApplicationClass=com.webappz.bizdav.Application -DWOPlatform=MacOS -Dcom.webobjects.pid=298 -Xms1024M -Xmx1024M -classpath WOBootstrap.jar com.webobjects._bootstrap.WOBootstrap -WOHost vds4.webappz.comhttp://vds4.webappz.com -WOPort 2003 -WOCachingEnabled YES -WODebuggingEnabled NO -WOOutputPath /Library/WebObjects/Logs/bizDAV_VDS/bizDAV_VDS-1 -WOAutoOpenInBrowser NO -WOAutoOpenClientApplication NO -WOLifebeatInterval 30 -WOLifebeatEnabled YES -WOLifebeatDestinationPort 1085 -WOAdaptor WODefaultAdaptor -WOWorkerThreadCount 8 -WOListenQueueSize 128 -WOWorkerThreadCountMin 16 -WOWorkerThreadCountMax 256 -NSProjectSearchPath () -WOSessionTimeOut 3600 -WOStatisticsPassword stats -WOApplicationName bizDAV_VDS -WOMonitorEnabled YES -WONoPause YES -bizDAV.variant VDS -WOFrameworksBaseURL /WebObjects/bizDAV.woa/Frameworks 450 ?? 0:02.24 /usr/bin/java -XX:NewSize=2m -Xmx64m -Xms32m -DWORootDirectory=/System -DWOLocalRootDirectory= -DWOUserDirectory=/Library/WebObjects/Deployment/wotaskd.woa -DWOEnvClassPath= -DWOApplicationClass=com.webappz.bizdav.Application -DWOPlatform=MacOS -Dcom.webobjects.pid=450 -Xms1024M -Xmx1024M -classpath WOBootstrap.jar com.webobjects._bootstrap.WOBootstrap -WOHost vds4.webappz.comhttp://vds4.webappz.com -WOPort 2004 -WOCachingEnabled YES -WODebuggingEnabled NO -WOOutputPath /Library/WebObjects/Logs/bizDAV_VDS/bizDAV_VDS-2 -WOAutoOpenInBrowser NO -WOAutoOpenClientApplication NO -WOLifebeatInterval 30 -WOLifebeatEnabled YES -WOLifebeatDestinationPort 1085 -WOAdaptor WODefaultAdaptor -WOWorkerThreadCount 8 -WOListenQueueSize 128 -WOWorkerThreadCountMin 16 -WOWorkerThreadCountMax 256 -NSProjectSearchPath () -WOSessionTimeOut 3600 -WOStatisticsPassword stats -WOApplicationName bizDAV_VDS -WOMonitorEnabled YES -WONoPause YES -bizDAV.variant VDS -WOFrameworksBaseURL /WebObjects/bizDAV.woa/Frameworks 518 ttys0000:00.00 grep java On 27/Feb/12 10:41 PM, ISHIMOTO Ken wrote: Hi, It looks we have a problem with JavaMonitor and wotask, that had to be fixed. I have seen this Problem now on several Machines, and found the problem, but think about a fix. Maybe the only way is to fix the Apps Javacode itself... Test Machine was OS X Lion OS X SnowLeopard
Re: Instances don't show up in Monitor and URLs do not work.
Dennis - In your apache config file you should be including a line similar to: Include /System/Library/WebObjects/Adaptors/Apache/apache.conf In that file that is referenced is where the apache adaptor gets configured: that's where you tell apache where to find the wotaskd's its talking to. Take a look at the WebObjectsConfig line in there, to see what it's trying to talk to. It should be something like: WebObjectsConfig http://hostname:1085 10 (I have localhost in there, and it seems to work - I'd try the FQDN in your case). Simon On Feb 28, 2012, at 8:24 PM, Gaastra Dennis - WO Lists wrote: Hi Simon et al, Thanks for your insightful response. Please see my comments inside: On 28/Feb/12 5:09 PM, Simon J Oliver (sjoliver) wrote: Dennis - In my experience FQDN is definitely the way to go - make sure your apps, monitor, and wotaskd all have the exact same thing. JavaMonitor: - In File Properties, we added a line: WOHost = vds4.webappz.comhttp://vds4.webappz.com - In its log, womonitor.log, we read back WOHost=vds4.webappz.com - also in the log, we see WOAdaptorURL=http://localhost/cgi-bin/WebObjects; is this wrong? wotaskd: - Resources, we added a line: WOHost = vds4.webappz.comhttp://vds4.webappz.com - In its log, womonitor.log, we read back WOHost=vds4.webappz.com - also in the log, we see WOAdaptorURL=http://localhost/cgi-bin/WebObjects; is this wrong? the appz: - we see that WOHost is added, when doing a ps -ax | grep java: 298 ?? 0:02.34 /usr/bin/java -XX:NewSize=2m -Xmx64m -Xms32m -DWORootDirectory=/System -DWOLocalRootDirectory= -DWOUserDirectory=/Library/WebObjects/Deployment/wotaskd.woa -DWOEnvClassPath= -DWOApplicationClass=com.webappz.bizdav.Application -DWOPlatform=MacOS -Dcom.webobjects.pid=298 -Xms1024M -Xmx1024M -classpath WOBootstrap.jar com.webobjects._bootstrap.WOBootstrap -WOHost vds4.webappz.comhttp://vds4.webappz.com -WOPort 2003 -WOCachingEnabled YES -WODebuggingEnabled NO -WOOutputPath /Library/WebObjects/Logs/bizDAV_VDS/bizDAV_VDS-1 -WOAutoOpenInBrowser NO -WOAutoOpenClientApplication NO -WOLifebeatInterval 30 -WOLifebeatEnabled YES -WOLifebeatDestinationPort 1085 -WOAdaptor WODefaultAdaptor -WOWorkerThreadCount 8 -WOListenQueueSize 128 -WOWorkerThreadCountMin 16 -WOWorkerThreadCountMax 256 -NSProjectSearchPath () -WOSessionTimeOut 3600 -WOStatisticsPassword stats -WOApplicationName bizDAV_VDS -WOMonitorEnabled YES -WONoPause YES -bizDAV.variant VDS -WOFrameworksBaseURL /WebObjects/bizDAV.woa/Frameworks Run nslookup or similar at the command line to make sure the name resolves to the IP address of the NIC on the box, and the IP address resolves back to the name that you're using as the WOHost parameter. bash-3.2# changeip -checkhostname Primary address = 10.5.1.204 Current HostName= vds4.webappz.comhttp://vds4.webappz.com DNS HostName= vds4.webappz.comhttp://vds4.webappz.com The names match. There is nothing to change. dirserv:success = success A handful of additional thoughts: 1) have you made sure that your adaptor config correctly has the correct hostnames and ports for the wotaskd(s) it needs to know about? What does the adaptor config page tell you about what apache thinks the world looks like? (Apologies if you already covered that... I just caught the last couple of posts). I am not quite sure about this; where these can be set? Doing http://vds4:1085/cgi-bin/WebObjects/wotaskd.woa/wa/woconfig shows: adaptorapplication name=bizDAV_VDS scheduler=ROUNDROBIN urlVersion=4instance id=1 port=2003 host=vds4.webappz.comhttp://vds4.webappz.com sendTimeout=300 recvTimeout=300 cnctTimeout=300/instance id=2 port=2004 host=vds4.webappz.comhttp://vds4.webappz.com sendTimeout=300 recvTimeout=300 cnctTimeout=300//application/adaptor 2) have you checked your launchd boot scripts for wotaskd and monitor (if that's how you are launching them) to make sure that you don't have alternative WOHost entries in there as command line arguments? (if they aren't there already, maybe try adding them there, to make sure that the values you want are getting picked up). Please see above, we set them in the Properties. 3) I had an issue today (and I noticed someone else post something similar recently in connection with SSD boot drives) that wotaskd and womonitor were binding to the loopback address (only) not the ones I was asking them to - apparently because the nics weren't properly initialized at the time the apps were starting up at boot time. Yes, that was us too; we only use SSDs for deployment. Restarting wotaskd and JavaMonitor still comes up with the famous The requested application was not found on this server. For me, killing the two java processes manually and allowing launchd to restart them fixed the problem. Exactly but still; The requested application was not found on this server. They came back up on the correct interfaces, and the IP's matched what they were expecting, and all
Re: Instances don't show up in Monitor and URLs do not work.
Actually, in my haste I was looking at the wrong version of the config file... I can confirm that I am using FQDN in the WebObjectsConfig line to make it work. On Feb 28, 2012, at 8:32 PM, Simon Oliver wrote: Dennis - In your apache config file you should be including a line similar to: Include /System/Library/WebObjects/Adaptors/Apache/apache.conf In that file that is referenced is where the apache adaptor gets configured: that's where you tell apache where to find the wotaskd's its talking to. Take a look at the WebObjectsConfig line in there, to see what it's trying to talk to. It should be something like: WebObjectsConfig http://hostname:1085 10 (I have localhost in there, and it seems to work - I'd try the FQDN in your case). Simon -- Simon J. Oliver MA (Cantab.) CISSP-ISSAP, ISSMP, GWAPT, OSWP Information, Architecture Data Security Consultant Applied Information Technology Center/SBBER University of Memphis, TN Phone: 901 313 4485 Skype: SJO0923 AIM/Yahoo: simonjoliver ___ 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: Instances don't show up in Monitor and URLs do not work.
Dennis - some further thoughts below On Feb 28, 2012, at 8:24 PM, Gaastra Dennis - WO Lists wrote: 1) have you made sure that your adaptor config correctly has the correct hostnames and ports for the wotaskd(s) it needs to know about? What does the adaptor config page tell you about what apache thinks the world looks like? (Apologies if you already covered that... I just caught the last couple of posts). I am not quite sure about this; where these can be set? As explained in more detail in my previous response, this stuff gets set in the Apache WO config file which typically lives somewhere like: /System/Library/WebObjects/Adaptors/Apache/apache.conf That file also allows you to set an adaptor info password, so that you can see what apache thinks are the available apps via a url along the lines of: http://webserver/cgi-bin/WebObjects/WOAdaptorInfo?user+password (The apache.conf explains this). If you look at that,you can see whether mod_webobjects is talking to your wotaskd. It sounds like it isn't. 2) have you checked your launchd boot scripts for wotaskd and monitor (if that's how you are launching them) to make sure that you don't have alternative WOHost entries in there as command line arguments? (if they aren't there already, maybe try adding them there, to make sure that the values you want are getting picked up). Please see above, we set them in the Properties. That's fine - my point was mostly just to double check that there isn't something set on the command line in the plist that's overriding what you think you have in the Properties. However, it sounds like you're running into the SSD/NIC issue in the first instance. Manually restarting the processes *might* be fixing that bit - but then if I had to guess I'd say that the apache.conf file has a problem that stops mod_webobjects talkign to wotaskd , so you still get the 'The requested application was not found on this server' error. 3) I had an issue today (and I noticed someone else post something similar recently in connection with SSD boot drives) that wotaskd and womonitor were binding to the loopback address (only) not the ones I was asking them to - apparently because the nics weren't properly initialized at the time the apps were starting up at boot time. Yes, that was us too; we only use SSDs for deployment. Restarting wotaskd and JavaMonitor still comes up with the famous The requested application was not found on this server. Once you've restarted them, compare what the wotaskd/woconfig thinks the situation is, compared to what the WOAdaptorInfo page thinks is going on. If the instances are running, and wotaskd sees them... then the focus should be on Apache, I think, as the source of your problems. For me, killing the two java processes manually and allowing launchd to restart them fixed the problem. Exactly but still; The requested application was not found on this server. They came back up on the correct interfaces, and the IP's matched what they were expecting, and all was good. Have you tried manually killing/restarting the processes after the machine has booted up? Yes; yes 4) FWIW, I generally specify the WOHost for my apps as an additional command line argument in the app config in WOMonitor, rather than in the properties file. You may want to try that. Tried that, it just showed up twice per instance that way, in the ps -ax | grep java; and did not help. Apparently, monitor added it already I know from experience how frustrating the dance is to get things to work right, but it's generally always worked out for me, and I am deploying apps on Lion Server just fine, with the Wonder versions of monitor and wotaskd. We also got the newest: _appserver _appserveradm 337112 20 Feb 17:44 mod_WebObjects.so That seems to be the version I'm using on Lion - same size at least. So why does this still not work; maybe I am missing something else? Thanks for any further help Dennis Regards, Simon -- With Kind Regards, Dennis Gaastra, WEBAPPZ® Systems, Inc. (+1) 604.921.1333 www.webappz.comhttp://www.webappz.com/ www.scheduleDS.comhttp://www.scheduleDS.com/ www.1tracker.comhttp://www.1tracker.com/ This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. WEBAPPZ Systems, Inc., 726
Re: Instances don't show up in Monitor and URLs do not work.
Glad to help; I don't know that it's Lion per se causing the start-up thing. My Lion servers have been fine, and as I mentioned in the other thread, I saw it today with Leopard :-) If you try the 'ipconfig waitall' thing, let me know if it solves the problem. Simon On Feb 28, 2012, at 8:51 PM, Gaastra Dennis - WO Lists wrote: Hi Simon, Yes, you are bang on! That did the trick for the classic error. Thanks. Is it true that Lion Server is more finicky so that we must do all these extra steps? Now back to that start-up issue... Thanks Dennis. On 28/Feb/12 6:45 PM, Simon J Oliver (sjoliver) wrote: Actually, in my haste I was looking at the wrong version of the config file... I can confirm that I am using FQDN in the WebObjectsConfig line to make it work. On Feb 28, 2012, at 8:32 PM, Simon Oliver wrote: Dennis - In your apache config file you should be including a line similar to: Include /System/Library/WebObjects/Adaptors/Apache/apache.conf In that file that is referenced is where the apache adaptor gets configured: that's where you tell apache where to find the wotaskd's its talking to. Take a look at the WebObjectsConfig line in there, to see what it's trying to talk to. It should be something like: WebObjectsConfig http://http:/hostname:1085 10 (I have localhost in there, and it seems to work - I'd try the FQDN in your case). Simon -- Simon J. Oliver MA (Cantab.) CISSP-ISSAP, ISSMP, GWAPT, OSWP Information, Architecture Data Security Consultant Applied Information Technology Center/SBBER University of Memphis, TN Phone: 901 313 4485 Skype: SJO0923 AIM/Yahoo: simonjoliver -- With Kind Regards, Dennis Gaastra, WEBAPPZ® Systems, Inc. (+1) 604.921.1333 www.webappz.comhttp://www.webappz.com/ www.scheduleDS.comhttp://www.scheduleDS.com/ www.1tracker.comhttp://www.1tracker.com/ This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. WEBAPPZ Systems, Inc., 726 - 1489 Marine Drive, West Vancouver, BC, CANADA V7T 1B8, www.webappz.comhttp://www.webappz.com/ -- Simon J. Oliver MA (Cantab.) CISSP-ISSAP, ISSMP, GWAPT, OSWP Information, Architecture Data Security Consultant Applied Information Technology Center/SBBER University of Memphis, TN Phone: 901 313 4485 Skype: SJO0923 AIM/Yahoo: simonjoliver ___ 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: AjaxConfirm ??
Do exactly what johnny suggested. On the update link you define the UC that you want to refresh after the js confirm On Sunday, 12 February 2012, James Cicenia ja...@jimijon.com wrote: I don't quite understand. My problem is that I don't see how update the parent window from the confirm dialog's ok button. James On Feb 11, 2012, at 10:16 PM, Johnny Miller wrote: Can you use an AjaxUpdateContainer and an AjaxUpdateLink? The you can use the binding: onClickBefore on your AjaxUpdateLinks to show your confirm dialog. Johnny Miller Kahalawai Media Corp. www.kahalawai.com On Feb 11, 2012, at 1:45 PM, James Cicenia wrote: Hello - I have a list in a modalbox window. I have a link to delete a row. How do I issue a confirm dialog with the ok action just updating the modalbox window and not dismissing it? ERXJSConfirm seems to close the modalbox window. Is there a confirm that can just run a script? Thanks James ___ 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/jlmiller%40kahalawai.com This email sent to jlmil...@kahalawai.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: IE6 and Ajax.framework
what doesn't work ? we use the ajax framework extensively and don't know of any ie6 issues. well, other than the usual issues. simon 2011/12/9 Jérémy DE ROYER [INGENCYS] jeremy.dero...@ingencys.net: Hello, It appears that the (new) Ajax.framework does not work with Internet Explorer 6 wich is still used by many users. Where can we find the last version for WebObjects 5.4.3 compatible with IE 6 ? Jérémy ___ 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%40potwells.co.uk This email sent to si...@potwells.co.uk ___ 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: Using NTLM Authentication in WO apps
if you don't mind commercial solutions you could try crow from atlassian - that seems capable of authenticating against world+dog simon On 21 November 2011 08:34, Karl kgret...@mac.com wrote: Hi, We have a client who wants to use NTLM authentication for our WOApp to provide single sign on for their Windows users. Has anyone actually done this before? We are hosting the app on Mac OS X 10.7 using Java 6 and Apache 2.x. Any information would be appreciated. Karl ___ 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%40potwells.co.uk This email sent to si...@potwells.co.uk ___ 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: Sencha Touch?
i know there are some big projects using sencha, but jquery on the whole has huge momentum behind it. we decided that even though jquery mobile is playing catchup at the moment we don't doubt it will win in the end. sencha also has one of those dubious free commercial licensing programs, and everyone on this list knows what a pain in the ass they can be :-) simon On 20 November 2011 03:55, James Cicenia ja...@jimijon.com wrote: What made you go with jquery mobile vs Sencha? I was thinking that since I had to also create a web front end, Sencha would be better with its ext. - James On Nov 19, 2011, at 2:54 PM, Simon wrote: we're working on a pure errest app at the moment, but with jquery mobile on the front end. simon On 19 November 2011 18:33, James Cicenia ja...@jimijon.com wrote: Hello - I am thinking that for our next project we would go the complete ERREST route and use a client side framework like Sencha / Sencha Touch for the UI. Anyone have any thoughts? Experiences? Other recommendations? Thanks James ___ 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%40potwells.co.uk This email sent to si...@potwells.co.uk ___ 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%40potwells.co.uk This email sent to si...@potwells.co.uk ___ 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: Sencha Touch?
we're working on a pure errest app at the moment, but with jquery mobile on the front end. simon On 19 November 2011 18:33, James Cicenia ja...@jimijon.com wrote: Hello - I am thinking that for our next project we would go the complete ERREST route and use a client side framework like Sencha / Sencha Touch for the UI. Anyone have any thoughts? Experiences? Other recommendations? Thanks James ___ 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%40potwells.co.uk This email sent to si...@potwells.co.uk ___ 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: Finding WO people for startups (cult of the dead)
renderContentOn: html html table: [ html tableRow: [ html tableData: [html text: 'Table entry']]; tableRow: [ html tableData: [html text: 'Table entry']]]. Look foreign? Perhaps but it's worth getting your feet wet and kicking these ideas around. I've seen many things and this is the first set of tools and processes that make me feel good. Like it is equivalent and perhaps better than WO. It's brain dead easy to install and there are a number of tutorials out there. OK, I see what you are talking about now. I am not sure if that is a win for me. I have this designer that I often work with and he is able to take an Eclipse project and edit the .HTML files to make design changes. He does not touch the WOD or the Java. This has been working pretty well for us. Switching to Seaside would mean that we would have to take the initial designs, convert them into code, and have the developers maintain them through the inevitable changes. I'd have to see how much time the rest of it would save me. totally agree. this is not a plus for us either. our UI people play with html (we don't do wod's, 100% inline bindings), and our java people play with Java. the thought that our java team would have the UI team on their backs all day saying er, can you change that table, tr and td mess you're pumping out for a list please (like i told you last time) fills me with fear! even if you keep your UI people to tidy up with css, surely they are going to be nagging java engineers to get the correct id's and classes pegged to the html the java code is pumping out ? it seems this is only a benefit if your java people actually look after the whole UI piece as well - and i've yet to find a java engineer that has style. no offence intended :-) Simon ___ 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: Ad-hoc reporting tool?
nope. we scoured the intertubes for ages, tried a gazillion different report / BI tools and never found anything that would do quite what we wanted. we're now using jaspersoft's professional BI suite which is pretty awesome. at the moment we hooking data out our DB directly using sql but we are just beginning to tinker with jasper's ETL product to fetch and process data via soap services from other systems that we need data from. i don't see why you can't use ETL to extract data from EOF.. simon On 11 August 2011 19:23, Pascal Robert prob...@macti.ca wrote: Anyone have seen a ad-hoc reporting tool that can work over an EOModel? My ex-employer use Oracle Discoverer, who happens to use a model-like tool to create entities and attributes over Oracle tables and views (an attribute can also be a calculated one, or a call to a stored procedure). But that means that when a new attribute is added, it must be added in a EOModel and in the Discoverer model, same thing for logic. So, does anyone have seen a tool that exposes entities and attributes out of loaded models and allow users to select them to create lists and other basic report types? ___ 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%40potwells.co.uk This email sent to si...@potwells.co.uk ___ 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: Lion and WO
what about upgrading a dev machine - anyone braved it yet ? On 20 July 2011 16:32, Pascal Robert prob...@macti.ca wrote: Just before people start asking. I installed Lion Server on a Mac Mini Server and the Wonder variants of wotaskd and Monitor works well. Apache WO adaptor compiles correctly too. But Java is not pre-installed, so just start any Java process (a simple call to /usr/bin/java will do) and Finder will ask you if you want to install Java. If you say so, it will download Java 1.6 (from Apple) and install 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/simon%40potwells.co.uk This email sent to si...@potwells.co.uk ___ 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: Occasional hang loading a particular large page
Have you tried using ERXBatchFetching stuff? I use ERXBatchingDisplayGroup for large pages and it has worked well. No I haven't. When it works, the page loads pretty quickly, faster than I would have expected. If I can just track down what causes the occasional hang and fix that, then everyone will be happy. we **always** use ERXBatchingDisplayGroup - doesn't matter if we're intend to fetch 5 objects or 50,000. we just assume that one day that someone will fetch 500,000 and hence we might as well get it right from the start... simon ___ 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: WebObjects vulnerabilities?
this sounds really interesting. is there any code you can share back with wonder around this stuff ? simoin On 13 July 2011 05:24, Dov Rosenberg drosenb...@inquira.com wrote: the general idea behind the OWASP approach is to provide encoders that will make your user input strings safe so that they wont activate some malicious scripting. The other thing it provides is the ability to define parameter specific whitelists that can be validated using REGEX expressions to ensure that the values that are provided are within an acceptable domain range. Of course it is very to come up with an unsafe REGEX expression that allows all sorts of bad behavior to come thru. We use both capabilities in our application. The REGEX portion is nice because it allows you perform good data validation which is essential to avoid cross site scripting errors. The encoders provide the ability to properly encode strings for various uses like SQL, HTML, URLs, CSS, javascripts, LDAP In your example below, the onfocus parameter would use the ESAPI encodeForJavascript() to convert the write(1) autofocus into HTML encoded text that would not be executable. Dov On 7/12/11 4:01 PM, Ramsey Gurley rgur...@smarthealth.com wrote: That's two votes for owasp it seems How does it handle new techniques introduced by html5? Will it catch stuff like: input onfocus=write(1) autofocus Found a rather large list of these at html5sec.org Ramsey On Jul 12, 2011, at 5:05 AM, Josef Burzler wrote: WO-Applications are indeed vulnerable to cross-site-scripting if end-users are allowed to submit HTML. An example would be an Online-HTML-editor which allows users to edit formatted text in their browsers. In order to remove unwanted and malicious code from the submitted HTML and avoid cross-site-Scripting issues one has to filter the submitted content on server side. For this task I have found AntiSamy to be a useful solution https://www.owasp.org/index.php/Category:OWASP_AntiSamy_Project Josef Am 12.07.2011 um 09:36 schrieb Simon: i think core WO is still plagued with the wosid cross-scripting issue too. we patch it in ERXRequest - not sure if the patch ever made it into wonder though... simon On 12 July 2011 02:43, Mike Schrag msch...@pobox.com wrote: You have to be mindful of ever rendering any tainted strings ... Any string that came from user input should be considered a risk for cross site scripting, so that's any field editable by a user, or any query parameter, etc. If you append those strings to response or WOString render them, make sure to escape HTML or strip HTML. ms On Jul 11, 2011, at 9:41 PM, Mai Nguyen wrote: Do you mean the issue of malicious HTML tags? I wonder what would be the best way to prevent those? thanks, mai On Jul 11, 2011, at 6:36 PM, George Domurot wrote: If you output strings with escapeHTML=false, you could have an issue. You may want to consider stripping all potential tags from strings prior to rendering, or at the time of entry. -G On Jul 11, 2011, at 6:01 PM, Mai Nguyen wrote: Hello, I have found some good information about WebObjects and security at the following wiki link: http://en.wikibooks.org/wiki/WebObjects/Web_Applications/Development/Aut hentication_and_Security However, there is no mention about SQL injections which seems to be an active subject lately. Is WebObjects pretty safe, as there is no need to generate SQL directly and access to the DB is going through the EOs normally? Are there any other loopholes that I am not aware of? About the following article: http://support.apple.com/kb/TA26730?viewlocale=en_US Would the normal WebObjects behavior be pretty safe if one does not allow the user to enter HTML tags? Does Project Wonder do something in this area? Many thanks for your advice, -mai ___ 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/george%40boxoffice tickets.com This email sent to geo...@boxofficetickets.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/mschrag%40pobox.co m This email sent to msch...@pobox.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/simon%40potwells.c o.uk This email sent to si...@potwells.co.uk ___ Do not post
Re: WebObjects vulnerabilities?
i think core WO is still plagued with the wosid cross-scripting issue too. we patch it in ERXRequest - not sure if the patch ever made it into wonder though... simon On 12 July 2011 02:43, Mike Schrag msch...@pobox.com wrote: You have to be mindful of ever rendering any tainted strings ... Any string that came from user input should be considered a risk for cross site scripting, so that's any field editable by a user, or any query parameter, etc. If you append those strings to response or WOString render them, make sure to escape HTML or strip HTML. ms On Jul 11, 2011, at 9:41 PM, Mai Nguyen wrote: Do you mean the issue of malicious HTML tags? I wonder what would be the best way to prevent those? thanks, mai On Jul 11, 2011, at 6:36 PM, George Domurot wrote: If you output strings with escapeHTML=false, you could have an issue. You may want to consider stripping all potential tags from strings prior to rendering, or at the time of entry. -G On Jul 11, 2011, at 6:01 PM, Mai Nguyen wrote: Hello, I have found some good information about WebObjects and security at the following wiki link: http://en.wikibooks.org/wiki/WebObjects/Web_Applications/Development/Authentication_and_Security However, there is no mention about SQL injections which seems to be an active subject lately. Is WebObjects pretty safe, as there is no need to generate SQL directly and access to the DB is going through the EOs normally? Are there any other loopholes that I am not aware of? About the following article: http://support.apple.com/kb/TA26730?viewlocale=en_US Would the normal WebObjects behavior be pretty safe if one does not allow the user to enter HTML tags? Does Project Wonder do something in this area? Many thanks for your advice, -mai ___ 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/george%40boxofficetickets.com This email sent to geo...@boxofficetickets.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/mschrag%40pobox.com This email sent to msch...@pobox.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/simon%40potwells.co.uk This email sent to si...@potwells.co.uk ___ 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: WebObjects vulnerabilities?
here you go, i just found a WO powered site on the web that will kindly demonstrate the issue. it is sensitive to encoding, but this link should work in chrome and firefox (not got any IE's nearby to test): https://secure.kagi.com/cgi-bin/WebObjects/PQ?wosid=3D%22%3E%3Cscript%3Ealert%281%29%3C/scri=pt%3E the issue is of course that rather than an alert, someone injects a location.href= that points to a fake site that has an identical login page to yours, and hence you customers unwittingly hand over your login details simon On 12 July 2011 18:27, Ramsey Gurley rgur...@smarthealth.com wrote: I never understood that JIRA. How does the bad session ID get back into the page? I would expect a session restoration error page if a bad session ID were maliciously injected. Ramsey On Jul 12, 2011, at 6:51 AM, Mike Schrag wrote: My recommendation is to only use cookie session ids and actually throw very early if you get a URL session id. Sent from my iPhone On Jul 12, 2011, at 3:36 AM, Simon si...@potwells.co.uk wrote: i think core WO is still plagued with the wosid cross-scripting issue too. we patch it in ERXRequest - not sure if the patch ever made it into wonder though... simon On 12 July 2011 02:43, Mike Schrag msch...@pobox.commsch...@pobox.comwrote: You have to be mindful of ever rendering any tainted strings ... Any string that came from user input should be considered a risk for cross site scripting, so that's any field editable by a user, or any query parameter, etc. If you append those strings to response or WOString render them, make sure to escape HTML or strip HTML. ms On Jul 11, 2011, at 9:41 PM, Mai Nguyen wrote: Do you mean the issue of malicious HTML tags? I wonder what would be the best way to prevent those? thanks, mai On Jul 11, 2011, at 6:36 PM, George Domurot wrote: If you output strings with escapeHTML=false, you could have an issue. You may want to consider stripping all potential tags from strings prior to rendering, or at the time of entry. -G On Jul 11, 2011, at 6:01 PM, Mai Nguyen wrote: Hello, I have found some good information about WebObjects and security at the following wiki link: http://en.wikibooks.org/wiki/WebObjects/Web_Applications/Development/Authentication_and_Security http://en.wikibooks.org/wiki/WebObjects/Web_Applications/Development/Authentication_and_Security However, there is no mention about SQL injections which seems to be an active subject lately. Is WebObjects pretty safe, as there is no need to generate SQL directly and access to the DB is going through the EOs normally? Are there any other loopholes that I am not aware of? About the following article: http://support.apple.com/kb/TA26730?viewlocale=en_US http://support.apple.com/kb/TA26730?viewlocale=en_US Would the normal WebObjects behavior be pretty safe if one does not allow the user to enter HTML tags? Does Project Wonder do something in this area? Many thanks for your advice, -mai ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list ( Webobjects-dev@lists.apple.com Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/george%40boxofficetickets.com http://lists.apple.com/mailman/options/webobjects-dev/george%40boxofficetickets.com This email sent to geo...@boxofficetickets.com geo...@boxofficetickets.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list ( Webobjects-dev@lists.apple.com Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/mschrag%40pobox.com http://lists.apple.com/mailman/options/webobjects-dev/mschrag%40pobox.com This email sent to msch...@pobox.commsch...@pobox.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list ( Webobjects-dev@lists.apple.com Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/simon%40potwells.co.uk http://lists.apple.com/mailman/options/webobjects-dev/simon%40potwells.co.uk This email sent to si...@potwells.co.uksi...@potwells.co.uk ___ 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/rgurley%40smarthealth.com This email sent to rgur...@smarthealth.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev
Re: WebObjects vulnerabilities?
nice one! yeah, that works. whacks in a new text field into your page and gives it focus :-) https://secure.kagi.com/cgi-bin/WebObjects/PQ?wosid=3D%22%3E%3Cinput%20onfocus=write(1)%20autofocus%3E the wosid parameter in a webobjects url is a gaping backdoor for cross site scripting (whether you are storing session id's in urls or not). the patch we are running in ERXRequest checks for a wosid parameter coming in on every request and makes sure it contains no dodgy looking characters. if it finds them, it throws the whole session key away. it's kinda like what mike suggested, but allows you to support non-cookie sessions. simon On 13 July 2011 00:01, Ramsey Gurley rgur...@smarthealth.com wrote: That's two votes for owasp it seems How does it handle new techniques introduced by html5? Will it catch stuff like: input onfocus=write(1) autofocus Found a rather large list of these at html5sec.org Ramsey On Jul 12, 2011, at 5:05 AM, Josef Burzler wrote: WO-Applications are indeed vulnerable to cross-site-scripting if end-users are allowed to submit HTML. An example would be an Online-HTML-editor which allows users to edit formatted text in their browsers. In order to remove unwanted and malicious code from the submitted HTML and avoid cross-site-Scripting issues one has to filter the submitted content on server side. For this task I have found AntiSamy to be a useful solution https://www.owasp.org/index.php/Category:OWASP_AntiSamy_Project Josef Am 12.07.2011 um 09:36 schrieb Simon: i think core WO is still plagued with the wosid cross-scripting issue too. we patch it in ERXRequest - not sure if the patch ever made it into wonder though... simon On 12 July 2011 02:43, Mike Schrag msch...@pobox.com wrote: You have to be mindful of ever rendering any tainted strings ... Any string that came from user input should be considered a risk for cross site scripting, so that's any field editable by a user, or any query parameter, etc. If you append those strings to response or WOString render them, make sure to escape HTML or strip HTML. ms On Jul 11, 2011, at 9:41 PM, Mai Nguyen wrote: Do you mean the issue of malicious HTML tags? I wonder what would be the best way to prevent those? thanks, mai On Jul 11, 2011, at 6:36 PM, George Domurot wrote: If you output strings with escapeHTML=false, you could have an issue. You may want to consider stripping all potential tags from strings prior to rendering, or at the time of entry. -G On Jul 11, 2011, at 6:01 PM, Mai Nguyen wrote: Hello, I have found some good information about WebObjects and security at the following wiki link: http://en.wikibooks.org/wiki/WebObjects/Web_Applications/Development/Authentication_and_Security However, there is no mention about SQL injections which seems to be an active subject lately. Is WebObjects pretty safe, as there is no need to generate SQL directly and access to the DB is going through the EOs normally? Are there any other loopholes that I am not aware of? About the following article: http://support.apple.com/kb/TA26730?viewlocale=en_US Would the normal WebObjects behavior be pretty safe if one does not allow the user to enter HTML tags? Does Project Wonder do something in this area? Many thanks for your advice, -mai ___ 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/george%40boxofficetickets.com This email sent to geo...@boxofficetickets.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/mschrag%40pobox.com This email sent to msch...@pobox.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/simon%40potwells.co.uk This email sent to si...@potwells.co.uk ___ 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/jmb-dev%40burzler.eu This email sent to jmb-...@burzler.eu -- Dr. Josef Burzler Phone +49-(0)941-69 84 84-37 j.burz...@selbstdenker.ag === SELBSTDENKER AG - No Vision Too Far Gesandtenstraße 10 93047 Regensburg Phone
Re: Apple Representation On WebObjects-Dev Mailing List?
my eldest son (6) finds it amazing that people used to have to find and then stand in a phone box to make a call... simon On 7 July 2011 02:30, Joel M. Benisch j...@paperfree.net wrote: OK, so as I watch this conversation go by and smile a lot, I find myself wondering We old folks sure did enjoy the ride during the period of great invention and achievement we and our peers participated in. But I sit here wondering what the youngsters will be reminiscing about forty years from now as mid 21st century arrives Will they remember what it was like when they had to fly to meetings rather than just transport to them? ( Beam me up Scotty ) And will some of the youngest ones among us actually remember, one day, what it was like when they lived back on Earth? Now that would be cool. -- Joel M. Benisch CPCU, President 973-992-6300 x303 PaperFree Corporation 973-992- FAX 909 Regal Boulevard j...@paperfree.net Livingston, NJ 07039-8249 WE CREATE PRODUCTS WE WOULD WANT TO USE! On Jul 6, 2011, at 9:15 PM, Pascal Robert wrote: Le 2011-07-06 à 21:11, Patrick Robinson a écrit : On Jul 6, 2011, at 8:50 PM, Chuck Hill wrote: On 2011-07-06, at 6:10 PM, Patrick Robinson wrote: I remember the first time I saw a DECwriter II, after a couple of years of using a Western Union teletype (with paper tape punch!) that used a 110 baud modem with acoustic coupler for the telephone handset to connect to the mainframe. A VT52 would have seemed like magic indeed! :-) Wow. I'd forgotten the name of it but I am pretty sure that VT52 is correct! See, _I'm_ so old that I *remember* the name of the VT52. Chuck, however, is so old that he's *forgotten* it! (My wife asks, Which is older? That's difficult to say...) :-) The coolest thing about the WO Community is that even if I'm 35, I'm still younger than most of the community :-) But I did have to use COBOL on a VAX 750 at college... And our lab with the first DEC Alpha stations (no need to activate the heat system in winter with those machines!). ___ 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/jmb%40paperfree.net This email sent to j...@paperfree.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/simon%40potwells.co.uk This email sent to si...@potwells.co.uk ___ 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: training materials
yeah, we still send new recruits down for a week with paul. he's updated all the original apple documentation and now runs the whole course in eclipse / wolips. we've got hard copies of all those docs and they are really comprehensive. simon On 6 July 2011 19:14, Pascal Robert prob...@macti.ca wrote: Paul Lynch (PL Software) in the UK still give the WO course too. Matthias Fricke still has some material that he maintained and updated. The page is German but I think his material is english: http://training.assense.com/cgi-bin/WebObjects/AATC.woa/wa/courses?name=WebObjects+Einführung+-+Eclipse%2FWOLipshttp://training.assense.com/cgi-bin/WebObjects/AATC.woa/wa/courses?name=WebObjects+Einf%C3%BChrung+-+Eclipse%2FWOLips Am 06.07.2011 um 19:09 schrieb Brook, James: I think I do have the training materials - I find it hard to throw stuff away! I need to go digging. I have the print books and maybe even a soft copy of the slides. Of course the tool-sets are different, but the materials do a good job on explaining the core WO concepts (request response loop, EOF, templating, etc). It would not be that hard to update them and I am sure that some people already have in order to run training courses with modern WO. From: David Holt [programming...@mac.com] Sent: 06 July 2011 19:08 To: Brook, James Cc: WebObjects Development Subject: Re: New mailing list for community future Do you have the training materials?? With the updates to the new tool set, I suspect they'd be VERY different documents. ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/probert%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: http://lists.apple.com/mailman/options/webobjects-dev/simon%40potwells.co.uk This email sent to si...@potwells.co.uk ___ 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: New ec2 image missing mod_WebObjects.so?
i just fixed the public script (wo-install.sh) to include installing make. it's in the webobjects bucket on s3 now. simon On 5 May 2011 20:19, Johan Carlberg jo...@oops.se wrote: That happens when I set up a micro instance, but not with a small instance. For some reason, the micro instances are missing the make command. Because of that, the WebObjects module for Apache won't be built, and the web server won't start. Ideally, this should be handled in the wo-install.sh script (it already installs gcc). But you can easily fix this by adding a row in the helloworld-userdata.sh script that you've downloaded. At the top, just before # Install WebObjects deployment environment add: yum -y install make Then create a new instance, and everything should install fine. Regards, Johan 5 maj 2011 kl. 16.01 skrev Jesse Tayler: I'm setting up a new instance on EC2 which I'd done before some time ago and maybe I've confused scripts or userdata? http://wiki.objectstyle.org/confluence/display/WO/Deploying+on+Amazon+EC2 I got an instance made and noticed I couldn't connect to apache but I can see WOMonitor running in the terminal, and the helloword user account is there etc. [ec2-user@ip-10-114-102-56 ~]$ sudo apachectl start httpd: Syntax error on line 222 of /etc/httpd/conf/httpd.conf: Syntax error on line 7 of /etc/httpd/conf.d/webobjects.conf: Cannot load /etc/httpd/modules/mod_WebObjects.so into server: /etc/httpd/modules/mod_WebObjects.so: cannot open shared object file: No such file or directory sure enough, mod_WebObjects.so is not there -- I can't figure out what might have got missed - is there a configuration error in the scripts right now? I noticed they have been updated slightly but I don't see anything related. ___ 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/johan%40oops.se This email sent to jo...@oops.se ___ 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%40potwells.co.uk This email sent to si...@potwells.co.uk ___ 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: New ec2 image missing mod_WebObjects.so?
you should fix that in your own scripts, because your timezone is different to mine :-) we have a subscript that we call as part of our user-data scripts that configures stuff like that on the linux box (we also use this script to install other software dependencies, ssl certificates etc) simon On 5 May 2011 23:25, Jesse Tayler jtay...@oeinc.com wrote: I was just going to say, the linux also comes in LA timezone, but I see different zones used so we might add a line like ln -sf /usr/share/zoneinfo/US/Eastern /etc/localtime On May 5, 2011, at 6:10 PM, Simon wrote: i just fixed the public script (wo-install.sh) to include installing make. it's in the webobjects bucket on s3 now. simon On 5 May 2011 20:19, Johan Carlberg jo...@oops.se wrote: That happens when I set up a micro instance, but not with a small instance. For some reason, the micro instances are missing the make command. Because of that, the WebObjects module for Apache won't be built, and the web server won't start. Ideally, this should be handled in the wo-install.sh script (it already installs gcc). But you can easily fix this by adding a row in the helloworld-userdata.sh script that you've downloaded. At the top, just before # Install WebObjects deployment environment add: yum -y install make Then create a new instance, and everything should install fine. Regards, Johan 5 maj 2011 kl. 16.01 skrev Jesse Tayler: I'm setting up a new instance on EC2 which I'd done before some time ago and maybe I've confused scripts or userdata? http://wiki.objectstyle.org/confluence/display/WO/Deploying+on+Amazon+EC2 I got an instance made and noticed I couldn't connect to apache but I can see WOMonitor running in the terminal, and the helloword user account is there etc. [ec2-user@ip-10-114-102-56 ~]$ sudo apachectl start httpd: Syntax error on line 222 of /etc/httpd/conf/httpd.conf: Syntax error on line 7 of /etc/httpd/conf.d/webobjects.conf: Cannot load /etc/httpd/modules/mod_WebObjects.so into server: /etc/httpd/modules/mod_WebObjects.so: cannot open shared object file: No such file or directory sure enough, mod_WebObjects.so is not there -- I can't figure out what might have got missed - is there a configuration error in the scripts right now? I noticed they have been updated slightly but I don't see anything related. ___ 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/johan%40oops.se This email sent to jo...@oops.se ___ 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%40potwells.co.uk This email sent to si...@potwells.co.uk ___ 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: Enums with WOXMLDecoder
We binned woxmlcoder some time ago in favour of simplexml http://simple.sourceforge.net/ It is miles more capable than woxmlcoder, might be worth a try. Simon On Thursday, April 21, 2011, Pascal Robert prob...@macti.ca wrote: Anyone had any luck with using WOXMLDecoder with enums? I can get them to encode properly, but I can't decode them since it's looking for a public constructor, and enums can't have public constructors. Any tricks beside trying to override WOXMLDecoder.decodeObjectForKey() to call another method instead of a constructor, or to stop using enums for cases where I want to use WOXMLCoder/Decoder? ___ 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%40potwells.co.uk This email sent to si...@potwells.co.uk ___ 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: JProfiler 6.2.2
hey giles we've done some extensive work with jprofiler this week with no problems at all. only difference is we're on java 1.6.0_22. otherwise same jprofiler version and same eclipse version. simon On 8 April 2011 20:04, Giles Palmer li...@cedarstone.co.uk wrote: Hi Having problems getting JProfiler 6.2.2 to run from Eclipse 3.6.1 with WOLips 3.6.6219 with java.version=1.6.0_24 When I try to profile the app in the console I just get.. JProfiler Protocol version 32 JProfiler Using JVMPI JProfiler The Java Virtual Machine Profiling Interface (JVMPI) is not present. Exiting. ERROR: JVMPI, an experimental interface, is no longer supported. Please use the supported interface: the JVM Tool Interface (JVM TI). Any ideas, how do I set things to use JVM TI? Thanks Giles ___ 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%40potwells.co.uk This email sent to si...@potwells.co.uk ___ 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: model connections to multiple DBs
i think it's a big no :-( but you can definitely have multiple models - one for each db - and relationships between the models. simon On 4 April 2011 16:00, Michael Gargano mgarg...@escholar.com wrote: Hi all, Is there a way to have a model connect to different databases simultaneously? So, I have a schema that is rev. eng'ed but that same schema is on 10 different databases, I want to fetch data from different DB's for different users of the system simultaneously. Is this possible? omg please say YES. :) Thanks. -Mike ___ 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%40potwells.co.uk This email sent to si...@potwells.co.uk ___ 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: Help with ERAttachments
hi daniel - we had exactly the same issue when we first set up ERAttachment. we worked around it by having all of our relationships to the specific subclasses. i never got time to figure out what it was doing but i'd guess the inheritance is getting mixed up somewhere - it's as if ERAttachment isn't abstract and hence it's trying to fetch an EO with pk = 5 and storageType = . maybe if you pump out the raw sql in your logs you could post the sql it's actually using to try and fetch the attachment...? simon On 2 April 2011 07:38, Daniel Mejia mej...@evol-tech.com wrote: Hi all, I need some help with ERAttachments. I configured an attachment for an entity as is explained in the Attachment tutorial. Everything goes fine at the beginning, I can add new attachments, display a list with all my attachments, I can logout the application and when I return everything looks Ok. I have checked the table and all looks Ok. for ERAttachment and ErAttachmentData, but if I restart the application I get the following error message: *Error:*java.lang.IllegalStateException: The object with globalID _EOIntegralKeyGlobalID[ERAttachment (java.lang.Integer)5] could not be found in the database. This could be result of a referential integrity problem with the database. An empty fault could not be created because the object's class could not be determined (e.g. the GID is temporary or it is for an abstract entity).*Reason:*The object with globalID _EOIntegralKeyGlobalID[ERAttachment (java.lang.Integer)5] could not be found in the database. This could be result of a referential integrity problem with the database. An empty fault could not be created because the object's class could not be determined (e.g. the GID is temporary or it is for an abstract entity). I changed the relationship to ERDatabaseAttachment and now I can restart the applicaiton aand I get the correct attachment data, but in the tutorial said that the relationship should be made to ERAttachment, what I'm missing? Regards, Daniel. ___ 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%40potwells.co.uk This email sent to si...@potwells.co.uk ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
OT: uk apple store caves in...
the apple store caved in for the first hour of ipad2 sales here in the uk. seems there is a bit of a bottle neck when signing in during check-out (looong hang), but then the entire proces dies with an oops page at payment stage. maybe they should have booted a few more instances... anyway, i got mine ordered so i don't care anymore :-) simon ___ 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: NSNotificationCenter
we do a lot of this type of thing using NSNotifications. the key is to use pass in the user as GID, not an EO, then use a thread execution pool to do your stuff. i've pasted below some sample code - this is a class that listens for a new ReportJob, then actually creates the report. I've ripped out all the code that is specific to the task but you should be able to figure the the general concept from what is left. public class ClickReportJob { public static class Queue extends Object { private static NSMutableDictionaryEOGlobalID, FutureTaskReportJobThread _queue; public static void addToQueue(FutureTaskReportJobThread ft, EOGlobalID gid) { getQueue().setObjectForKey(ft, gid); } public static NSMutableDictionaryEOGlobalID, FutureTaskReportJobThread getQueue() { if (_queue == null) { _queue = new NSMutableDictionaryEOGlobalID, FutureTaskReportJobThread(); } return _queue; } } class ReportJobThread extends Thread { public EOGlobalID gid; public ReportJobThread(String str, EOGlobalID gid) { super(str); this.gid = gid; } @Override public void run() { log.debug(ReportJobListner: Just started run() method...); EOEditingContext ec = ERXEC.newEditingContext(); ReportJob job = null; try { ec.lock(); // Fetch the ReportJob. job = (ReportJob) ERXEOControlUtilities.convertGIDtoEO(ec, gid); // Do stuff } catch (Exception e) { // Do stuff... } finally { ec.unlock(); ec.dispose(); } } } public Logger log = Logger.getLogger(this.getClass()); public ExecutorService pool = Executors.newFixedThreadPool(3); public ClickReportJob() { super(); log.debug(Registering + this.getClass() + for notifications); NSNotificationCenter nsnc = NSNotificationCenter.defaultCenter(); nsnc.addObserver(this, ERXSelectorUtilities.notificationSelector(trigger), ReportJob.NEW_REPORT_JOB_NOTIFICATION, null); } public void trigger(NSNotification notification) { log.debug(TRIGGER: + this.getClass()); try { EOGlobalID gid = (EOGlobalID) notification.object(); ReportJobThread t = new ReportJobThread(Job + gid, gid); FutureTaskReportJobThread ft = new FutureTaskReportJobThread(t, null); pool.submit(ft); ClickReportJob.Queue.addToQueue(ft, gid); } catch (Exception e) { log.debug(Exception whilst handing a report thread to the executor pool, e); } } } On 1 March 2011 09:48, Frédéric JECKER f.jec...@symaris.com wrote: Hello, Some customers asked us for adding some automatic per user notifications when some specific events happen within our application (each user should be able to specify its own criterias). I'm looking at NSNotification/NSNotificationCenter for this purpouse but I'm wondering if the notification dispatching and processing is performed on the main thread or on a separate one. Thanks Fred ___ 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%40potwells.co.uk This email sent to si...@potwells.co.uk ___ 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: Amazon EC2 Image
I haven't used those particular scripts, but eyeballing them they _seem_ to be dependent on the pre-rolled appserver AMIs, also supplied by Simon. nope. they are designed to be used with a scratch linux ami. we use amazon linux. the ami id's are likely to be different because amazon used to change them as they updated them. i don't think they do that anymore. but basically the scripts should work with any RHEL compatible linux distro. simon ps. the pre-rolled ami i put up some time ago should also be considered defunct. i'll remove it from the wiki now... ___ 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: ps: database failures not rolling up to eof stack ??
the repeatable situation that we see this happening is when we try and set a string value that is defined as width X in the model and DB to something greater than X. That should cause a validation error in EOF, not a string truncation error in the database. Did you write that backwards? hmmm, come to think of it, that does look the wrong way round... my guess is that we must somehow be disposing of the exception somewhere but i can't seem to figure it. any ideas ? If you are not catching and swallowing it in your code, my suspicions would like in the JDBC driver or in the EOF plugin for MySQL. I have never seen EOF swallow exceptions originating from a failure to commit. hokey cokey, i'll start poking around from the driver up. i suspect we've introduced something daft somewhere that is slurping them up, but there is nothing startlingly obvious. might have to dig out some books and remind myself how exceptions float up through the stack :-p thanks for the hint simon ps. is WOVNG still progressing ? ___ 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: Java Thread Queues/ Pools with WebObjects
we use executor pools all over the place. the only thing you have to remember with WO is to use GID's to ship EO's into your threads, otherwise you will get bitten... simon On 26 January 2011 19:24, Dan Beatty daniel.bea...@navy.mil wrote: Greetings gang, Does anyone have any tutorials on using thread queues with WO? I seem to remember Ravi’s talk on Scala, but that seemed to have a couple different ways to go. Thank you, Daniel Beatty, ABD Computer Scientist, Detonation Sciences Branch Code 474300D 2400 E. Pilot Plant Rd. M/S 1109 China Lake, CA 93555 daniel.bea...@navy.mil (760)939-7097 ___ 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%40potwells.co.uk This email sent to si...@potwells.co.uk ___ 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: what will we miss about Max OS X?
So, what will we miss? nothing. at all. this is the biggest favour apple have dished out in a while. mac os x server is bloatware that doesn't belong anywhere near a server farm. like you say, itunes ? wtf ? simon ___ 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: webobjects.mdimension.com
would that be a colo at apple that comes bundled with WO/WOnder 7 ? just look how those pigs can fly :-) On 22 December 2010 16:32, Mike Schrag msch...@pobox.com wrote: webobjects.mdimension.com will be down today to move to another colo. ms ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/simon%40potwells.co.uk This email sent to si...@potwells.co.uk ___ 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: Running through Apache, and testing in VMWare/Windows
hold on a second - on the bottom of that web page there is an oracle badge. let me guess: it's free to download and free to install, but drains a $1000 per second from your bank account when you're not looking ? :-) simon On 8 December 2010 00:25, Chuck Hill ch...@global-village.net wrote: Mostly unrelated, but I ran across this the other day: http://www.virtualbox.org/ Free(ish) and there is an OS X version. Chuck On Dec 7, 2010, at 4:22 PM, David Avendasora wrote: What is the networking setup of your VMWare virtual machine? Maybe a screen capture? Dave On Dec 7, 2010, at 5:30 PM, Andrew R. Kinnie wrote: That didn't work either, though that makes much less sense to me. On Dec 7, 2010, at 5:01 PM, David LeBer wrote: On 2010-12-07, at 4:52 PM, Andrew R. Kinnie wrote: Hi all, I have set up my dev box to run through apache rather than direct connect, but discovered a problem that seems likely to be related. When I test on Windows running in VMWare Fusion on my machine, it can't connect. I assume it's because apache is serving it as localhost, and the VM presumably has it's own ip, so it can't see the mac's 127.0.0.1 I assume someone does this, as it seems like a fairly common configuration and requirement. Can someone point me to what I need to do to configure this? Eclipse 3.6, WO 5.4.3, Wonder as of last week, WOLips as of . . . a week or two ago, Mac OS X 10.6.5 and the latest update to VMWare Fusion running an XP Virtual Machine. Any ideas? Thanks in advance. Can you use the current IP of the Mac? ;david -- David LeBer Codeferous Software 'co-def-er-ous' adj. Literally 'code-bearing' site: http://codeferous.com blog: http://davidleber.net profile:http://www.linkedin.com/in/davidleber twitter:http://twitter.com/rebeld -- Toronto Area Cocoa / WebObjects developers group: http://tacow.org ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/webobjects%40avendasora.com This email sent to webobje...@avendasora.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/chill%40global-village.net This email sent to 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/simon%40potwells.co.uk This email sent to si...@potwells.co.uk ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
[OT] Amazon AWS is now a level 1 PCI compliance service provider
following on from a thread a few months back regarding pci compliance and amazon ec2... AWS has achieved Level 1 PCI compliance and is now a validated PCI Service Provider. This is a key designation that provides a means for merchants and other service providers to become Payment Card Industry (PCI) certified while storing, processing, and transmitting credit card information in AWS. This validation also provides further clarity and assurance for customers evaluating the breadth and strength of our security practices. there's more info here: http://aws.amazon.com/security/pci-dss-level-1-compliance-faqs/ ___ 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: x-webobjects-request-id lacking uniqueness?
i was thinking the same - alternatively: - do whatever is you are doing in a background thread - switch on concurrent request handling, as i presume that it is actually the request that is blocking, not the DB as unless your are using something like m$ access (eeek!) then i would imagine your DB can actually do more than one thing at once - if you are using m$ access, change it if you can, or resign if you can't - re-work locking strategy to force an optimistic locking failure if more than one update goes through - even if that involves sticking a dummy attribute in that just increments with each transaction what you are suggesting feels a bit like sticking some pedals on a car because the engine keeps stalling - probably best to fix the engine :-) simon On 6 December 2010 13:52, r...@synapticstorm.com r...@synapticstorm.comwrote: Hi Patrick, Couldn't you just use WOLongResponse so that it keeps the first connection alive until it responds? Regards, Rob. On 6 Dec 2010, at 13:09, Patrick Middleton wrote: I have an app doing something superficially like web services which is sessionless and accessed via DirectActions. Because of other activity in the database sometimes, database i/o can block for several minutes. When this happens the Apache WebObjects adaptor's loadbalancing features come into play, and redirect the request it sent to an apparently unresponsive instance to a different instance, which may in turn block on database i/o. The caller's browser waits several minutes and then receives an no instance available page. When the other activity in the database clears an, if the request caused a database update, that update can be applied multiple times because of each instance attempting to process the request. If the first update changes the database in a way that prevents the other updates from succeeding, they might report update failed, and if the database i/o hold up was only a few minutes, that page can be returned to the caller -- a page saying that the update failed, when in fact the update succeeded but the caller won't get to see that page. What I thought about doing, and have largely done, is announce and listen for activity via multicast datagrams. If an instance receives a request via a direct action and I don't want it to be redirected via the load balancer, enough information is broadcast such that other instances waiting for requests will be able to tell that another instance should already be processing it, and then generate a response (without blocking on database i/o) to the effect that database congestion may be in progress, that their request is being processed, any database updates may or may not be committed but will be committed at most once. But what constitutes enough information? The WebObjects adaptor adds a header x-webobjects-request-id (aka REQUEST_ID_HEADER, in config.h) to a received request before writing it to an instance (this header is not leaked back to the client) and this appears to be unique: 24 chars long corresponding to three hexstrings of 32-bit numbers, being the time at which some initialization code was called in the process (httpd), the process identifier (of httpd), and a unique sequence counter defended by a lock. The point at which this header is added means that a redirected request will have the same x-webobjects-request-id header. And so to the subject line of this message: x-webobjects-request-id lacking uniqueness? Of those 24 chars, the first 16 are effectively fixed whenever httpd starts, and I appear to be seeing values being reused for the last 8. I'd guess that either the shared memory or the locking isn't working as expected. Anybody else seeing this? --- Regards Patrick OneStep Solutions (Research) LLP www.onestep.co.uk This email, including any attachments, is confidential and intended solely for the person or organisation to whom it is addressed. If you are not the intended recipient you must not disseminate, distribute or copy any part of this email nor take any action in reliance on it. If you have received this in error please notify the sender immediately by email or phone +44 (0)1702 426400 and delete this email and any attachments from your system. Email transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of email transmission. If verification is required please request a hard-copy version. OneStep Solutions LLP is registered in England and Wales under registration number OC337173 and has its registered office at 457 Southchurch Road, Southend-on-Sea, Essex SS1 2PH. ___ Do not post admin requests to the list
Re: datepicker on AMD problem
are you rendering the content inline ? we use ADP in AMD's quite a bit and not seen this issue, but we render content from a component action. i'm wondering if rendering inline is somehow causing it to get confused about the location of the text field. i'll also double check with our UI chap at work tomorrow because we've got various patches (read: hacks) associated with AMD and ADP. simon On 5 December 2010 17:05, Theodore Petrosky tedp...@yahoo.com wrote: I have a little problem with a datepicker on an AMD. Here is an example app. http://173.54.121.129/cgi-bin/WebObjects/DatePicker this is simulating if I had a table of data that extends past the bottom of the display so i have to scroll down to click the link that brings in the AMD. Is there something more I am supposed to be doing to make the DatePicker attach to the AMD and not the page that is bringing in the AMD? Am I not supposed to use a ADP on an AMD? 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: http://lists.apple.com/mailman/options/webobjects-dev/simon%40potwells.co.uk This email sent to si...@potwells.co.uk ___ 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: Memory control
jprofiler seems to be the way most people profile running apps. there are docs on the wiki about it. forcing garbage collection is normally a bad thing. if you've got old ec's kicking around the i would suspect bad code rather than bad jvm :-) simon On 30 November 2010 11:29, Gennady Kushnir genk...@rujel.net wrote: Hello list. I've got Out of memory error once, when an app was under significant load serving multiple users. I am wondering if there is a way to monitor memory usage and possibly force garbage-collection of unused objects. For example, when debugging with MultiECLockManager I noticed that formerly used editing contexts do not get garbage collected. Gennady ___ 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%40potwells.co.uk This email sent to si...@potwells.co.uk ___ 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: [Wonder-disc] new wolips and wonder --
hi there - i just booted an instance of ami-de91bbaa with a shiny new keypair and logged right in with ec2-user. ssh -i ec2.pem ec2-user@publicdns are you booting via the amazon console or command line ? i always use the console. there is a new version of the boot script too: http://webobjects.s3.amazonaws.com/wo-install.sh only a few minor tweaks, and the script now doesn't boot wo services - it leaves you (or whatever calls this script) to do that in case you have other tweaks to make before you want the services booting. i've got a work-in-progress page on the wiki too, together with some example scripts on how we are doing things. it's work in progress because the example scripts don't quite work yet - an instance will boot etc. but the AjaxExample apps don't run properly. i just need to spend a couple of hours figuring out why not when i've got the time. might be worth downloading the sample scripts and reading through them if you are heading in this direction... http://wiki.objectstyle.org/confluence/display/WO/Automated+Deployment+on+Amazon+EC2 Simon On 28 November 2010 18:28, Jesse Tayler jtay...@oeinc.com wrote: On Nov 28, 2010, at 4:05 AM, Paul Hoadley wrote: It's not too hard to roll your own. Simon McLean offers a public AMI (ami-de91bbaa) based on Amazon Linux in the eu-west-1 zone, and he's published a script that will bootstrap an application server from scratch: Now this seems like a good idea! I like control, and the script looks great, just my style. I found the image in eu-west, and sparked one up. I generated a keypair and tried to ssh -i as root and just got a permission failure which I associate with the wrong username for some reason. I googled around a bit, but I can't see if this AMI has a specific user? Did I get confused? I was able to get into wolastic as appser...@hostname and changed its default password...maybe something similar is going on here? ___ 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%40potwells.co.uk This email sent to si...@potwells.co.uk ___ 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: CSS resources problem (Was: Wonder's Monitor)
linux is case sensitive - we had a ton of web server resource issues transitioning from osx to linux deployment... simon On 29 November 2010 14:54, David LeBer dleber_wo...@codeferous.com wrote: I did some investigation with this last week. I believe it has something to do with the wr resource handling with direct connect and Wonder, specifically for resources that are embedded in the CSS file, and strangely, I only see the problem on Linux. For instance if I launch the JavaMonitor app from the command line on a Mac OS X box those two images load fine. If I do the same thing on a Linux box they do not. I've double checked all the usual culprits (permissions, firewall, etc), the url for the resource looks OK to me: http://127.0.0.1:56790/cgi-bin/WebObjects/JavaMonitor.woa/wr/wodata=/opt/Library/WebObjects/JavaApplications/JavaMonitor.woa/Contents/WebServerResources/ToggleDown.png As does the mime type of the resulting response. I'm kinda at a loss as to what the issue may be. On 2010-11-29, at 8:51 AM, Pascal Robert wrote: I just upgraded our staging server, and I'm getting the same behavior that you get. I see some odd behavior with the AjaxExpansions when JavaMonitor is running on a server. The images ToggleDown.png and ToggleRight.png are not appearing. Looking at the resource protocol of Safari the images are listed as 0 byte and a question mark though they are where WO should look for them (the URL is correct). All other images are displayed correctly and the files are not corrupted as Preview opens them and even dropping them into the apache htdocs shows the right graphics in a browser. I enabled logging in JavaMonitor but neither in that log nor in the apache log I can see any errors or hints. Running JavaMonitor in Eclipse the images show up. Though it is unimportant for the operation of JavaMonitor I am curious if anybody else sees the same behavior and why it fails. jw Am 25.11.2010 um 14:31 schrieb David LeBer: On 2010-11-25, at 5:21 AM, Johann Werner wrote: Looks quite shiny now :) There are some input fields that could be a little bit wider though. Which ones? Better yet, file a JIRA with a patch ;-) I found a small bug in the css-file: .AppControlScheduleOn, .AppControlAutoRecoverOn { color: #00eb29; } should have .AppControlRefusingNewSessions as selector too. Thanks for your effort David! jw Am 25.11.2010 um 10:13 schrieb Simon: I just built a new server and got the new monitor - it's superb! simon On 22 November 2010 23:38, David LeBer dleber_wo...@codeferous.com wrote: The Wonder Monitor looks like poo ;-) ;david -- David LeBer Codeferous Software 'co-def-er-ous' adj. Literally 'code-bearing' site: http://codeferous.com blog: http://davidleber.net profile: http://www.linkedin.com/in/davidleber twitter: http://twitter.com/rebeld -- Toronto Area Cocoa / WebObjects developers group: http://tacow.org ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/simon%40potwells.co.uk This email sent to si...@potwells.co.uk ___ 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: automatically session creation
look at the source code to ERXRedirect, line 175: WOSession aSession = session(); bingo. A session gets created. a quick scan through the code suggests that this only happens when handing a component to the redirect. Redirect to a DA or an explicit URL and you shouldn't get a session simon On 27 November 2010 08:17, Francesco Romano fra.makav...@gmail.com wrote: I don't understand... Ok for Ajax.. I think that I'll keep the session. But.. what abut going from secure to non secure page? Francesco On 26/nov/2010, at 13.31, Henrique Gomes wrote: A session is always created if you use statefull components or form actions. The page needs to be all made with stateless components and the form must use direct actions. As for Ajax, well, you might have to rethink it: http://osdir.com/ml/webobjects-dev/2009-07/msg00319.html Henrique Gomes On Nov 26, 2010, at 11:05 AM, Francesco Romano wrote: Hi. The title is not clear, I know... that's because I've 2 question related to session, redirection and direct action. 1) I have two pages which are secure (login and registration page). What I want to do is, after a successful login (or registration), redirect to a non secure page (like the home page). The submit buttons link to two Direct Actions. I don't have problem with the login page, because I need a session, so I do something like: nextPage = pageWithName(Main.class); ERXRedirect redirect = pageWithName(ERXRedirect.class); redirect.setSecure(false); redirect.setComponent(nextPage); return redirect; but.. for a registration page I don't want to create a session.. what can i do? 2) Ajax components need session? Because I've a ajax list product page and a session is automatically created Thank you Francesco Romano ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/lists%40farol.pt This email sent to li...@farol.pt ___ 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%40potwells.co.uk This email sent to si...@potwells.co.uk ___ 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: automatically session creation
looks good to me... simon On 27 November 2010 12:33, Francesco Romano fra.makav...@gmail.com wrote: What I want to do is changing this code inside a direct action (which does not create a session but does not allow me to change its secure flag) nextPage = pageWithName(RegisterUser.class); nextPage.takeValueForKey(Boolean.TRUE, success); return nextPage; to something equivalent where I can change the secure flag... If I understand correctly if I use ERXRedirect I have to use direct actions, so... I have to create a dummy direct action which simply redirect to the page I want, and than user ERXRedirect This is my code: ERXRedirect redirect = pageWithName(ERXRedirect.class); redirect.setUrl(context().directActionURLForActionNamed(UserAction/helpRedirect, new NSDictionaryString, Object(new Object[] {Boolean.TRUE}, new String[] {registration}), false, true)); return redirect; public WOActionResults helpRedirectAction() { WOComponent nextPage = pageWithName(UtilitiesPage.class); NSArrayString dict = request().formValueKeys(); for (String key: dict) nextPage.takeValueForKey(request().formValueForKey(key), key); return nextPage; } and in my utilities page: public void setRegistration(Object value) { if (value != null) { if (value.getClass().equals(String.class)) this._registration = new BooleanHolder(Boolean.parseBoolean((String)value)); else if (value.getClass().equals(Boolean.class)) this._registration = new BooleanHolder((Boolean)value); } else _registration = null; } It seems to work, but is this really necessary? Francesco On 27/nov/2010, at 11.08, Simon wrote: look at the source code to ERXRedirect, line 175: WOSession aSession = session(); bingo. A session gets created. a quick scan through the code suggests that this only happens when handing a component to the redirect. Redirect to a DA or an explicit URL and you shouldn't get a session simon On 27 November 2010 08:17, Francesco Romano fra.makav...@gmail.com wrote: I don't understand... Ok for Ajax.. I think that I'll keep the session. But.. what abut going from secure to non secure page? Francesco On 26/nov/2010, at 13.31, Henrique Gomes wrote: A session is always created if you use statefull components or form actions. The page needs to be all made with stateless components and the form must use direct actions. As for Ajax, well, you might have to rethink it: http://osdir.com/ml/webobjects-dev/2009-07/msg00319.html Henrique Gomes On Nov 26, 2010, at 11:05 AM, Francesco Romano wrote: Hi. The title is not clear, I know... that's because I've 2 question related to session, redirection and direct action. 1) I have two pages which are secure (login and registration page). What I want to do is, after a successful login (or registration), redirect to a non secure page (like the home page). The submit buttons link to two Direct Actions. I don't have problem with the login page, because I need a session, so I do something like: nextPage = pageWithName(Main.class); ERXRedirect redirect = pageWithName(ERXRedirect.class); redirect.setSecure(false); redirect.setComponent(nextPage); return redirect; but.. for a registration page I don't want to create a session.. what can i do? 2) Ajax components need session? Because I've a ajax list product page and a session is automatically created Thank you Francesco Romano ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/lists%40farol.pt This email sent to li...@farol.pt ___ 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%40potwells.co.uk This email sent to si...@potwells.co.uk ___ 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%40potwells.co.uk This email sent to si...@potwells.co.uk ___ 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: AMD is not working with ASB in IE Browser.
presumably it's a scripting error - have you checked the script error console on IE? what is it complaining about ? simon On 26 November 2010 13:40, Sreenivasulu A sreenivasul...@evergent.com wrote: Hi list, I am developing a small application with WOLips. I used Ajax Components to work with application. My app works good under Mozilla Browser, but it is not working with IE Browser, particularly AMD(AjaxModalDialog) is not working with AjaxSubmitButton(i.e., When I click on ASB, AMD is not opening). In my code, I followed this: AjaxModalDialog.open(context(), MyAMDDialog, title); Is there any possibilities to work with this? Thanks Regards, Sreenivasulu Arveti. ___ 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%40potwells.co.uk This email sent to si...@potwells.co.uk ___ 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: Wonder's Monitor
I just built a new server and got the new monitor - it's superb! simon On 22 November 2010 23:38, David LeBer dleber_wo...@codeferous.com wrote: Looks like poo ;-) ;david -- David LeBer Codeferous Software 'co-def-er-ous' adj. Literally 'code-bearing' site: http://codeferous.com blog: http://davidleber.net profile: http://www.linkedin.com/in/davidleber twitter: http://twitter.com/rebeld -- Toronto Area Cocoa / WebObjects developers group: http://tacow.org ;david -- David LeBer Codeferous Software 'co-def-er-ous' adj. Literally 'code-bearing' site: http://codeferous.com blog: http://davidleber.net profile: http://www.linkedin.com/in/davidleber twitter: http://twitter.com/rebeld -- Toronto Area Cocoa / WebObjects developers group: http://tacow.org ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/simon%40potwells.co.uk This email sent to si...@potwells.co.uk ___ 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: Imagemagick
Is there a recommended path to put the binaries for Imagemagick? What permissions need to be set so that the thumbnail processor can access the binaries? I would use MacPorts to install it, so ImageMagick will be put in /opt/local +1 or yum on linux ___ 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: Wonder's Monitor
has that been committed to the trunk yet ? can't wait to test drive it... Simon On 22 November 2010 23:38, David LeBer dleber_wo...@codeferous.com wrote: Looks like poo ;-) ;david -- David LeBer Codeferous Software 'co-def-er-ous' adj. Literally 'code-bearing' site: http://codeferous.com blog: http://davidleber.net profile: http://www.linkedin.com/in/davidleber twitter: http://twitter.com/rebeld -- Toronto Area Cocoa / WebObjects developers group: http://tacow.org ;david -- David LeBer Codeferous Software 'co-def-er-ous' adj. Literally 'code-bearing' site: http://codeferous.com blog: http://davidleber.net profile: http://www.linkedin.com/in/davidleber twitter: http://twitter.com/rebeld -- Toronto Area Cocoa / WebObjects developers group: http://tacow.org ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/simon%40potwells.co.uk This email sent to si...@potwells.co.uk ___ 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: New error about er.javamail ..
permissions on your properties file ? On 18 November 2010 18:11, James Cicenia ja...@jimijon.com wrote: I eliminated all whitespace in the Properties file. Still does nothing. On Nov 18, 2010, at 12:05 PM, Mark Wardle wrote: Spaces! Don't use whitespace. Mark -- Dr. Mark Wardle Specialist registrar, Neurology (Sent from my mobile) On 18 Nov 2010, at 17:53, James Cicenia ja...@jimijon.com wrote: Uh... yea... had that in there I believe it isn't reading my properties file. really! On Nov 18, 2010, at 11:41 AM, Chuck Hill wrote: Dude! Really? sent to 'er.javamail.adminEmail' instead of the normal TO addresses, but you did not provide a valid email for that property er.javamail.adminEmail ... did not provide a valid email for that property For giggles try er.javamail.adminemail=ja...@jimijon.com On Nov 18, 2010, at 9:39 AM, James Cicenia wrote: Read? hmm, what is there to read? Inside my properties file it says false. This setup works on the other workstations. - j- On Nov 18, 2010, at 11:33 AM, Chuck Hill wrote: On Nov 18, 2010, at 9:27 AM, James Cicenia wrote: Trying to get the new developer running... Things look the same but when I try to launch the app from eclipse I get: [2010-11-18 11:23:7 CST] main null [2010-11-18 11:23:7 CST] main A fatal exception occurred: When 'er.javamail.centralize' is true (default), all outgoing mails will get sent to 'er.javamail.adminEmail' instead of the normal TO addresses, but you did not provide a valid email for that property. [2010-11-18 11:23:7 CST] main java.lang.IllegalArgumentException: When 'er.javamail.centralize' is true (default), all outgoing mails will get sent to 'er.javamail.adminEmail' instead of the normal TO addresses, but you did not provide a valid email for that property. at er.javamail.ERJavaMail.initializeFrameworkFromSystemProperties(ERJavaMail.java:132) at er.javamail.ERJavaMail.finishInitialization(ERJavaMail.java:113) Any suggestions? My properties file: er.javamail.centralize = false Read? :-) sent to 'er.javamail.adminEmail' instead of the normal TO addresses, but you did not provide a valid email for that property -- 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/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/mark%40wardle.org This email sent to m...@wardle.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/simon%40potwells.co.uk This email sent to si...@potwells.co.uk ___ 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 framework's future
jQuery is the most likely future. It's on the task list, but nothing is particularly driving it. At one point I thought about making a pluggable impl but decided it wasn't worth the complexity for something that might only change every 4 years. jQuery seems to have most of the mineshare at this point and seems like a good choice. If I do it I'll probably make a new framework and copy everything over so it doesn't break people that have big investments in prototype. +100 our UI people are always pointing out that jQuery has so much momentum behind it, whereas prototypes seems to just be stagnating... simon ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: You cannot have more than 255 columns in a given row when creating Excel spreadsheet
On 19 November 2010 06:18, Karl kgret...@mac.com wrote: We use the Aspose.Cells libraries for Excel. ditto. it's commercial, but cheap as chips given the size of the problems it solves. and the support provided by aspose is fantastic. they've churned out numerous feature requests for us in just a few days... simon ___ 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 framework's future
I think it's just a matter of picking a horse. From my perspective, jQuery seems to have the strongest community and the most plugins that I've wanted to use. It's pretty quickly a religious debate, though. but i guess picking any horse that is actually still trotting around is better than flogging a dead one, and there doesn't seem much life left in prototype :-) simon ___ 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: WebObjects scalability question - WOSession?
http://mail.google.com/support/bin/answer.py?hl=enanswer=47787 On 17 November 2010 14:57, David Avendasora webobje...@avendasora.com wrote: Ah. It's a disused Omni list. Why would we want to fragment the community by taking a valuable conversation to a place that no one goes? Dave On Nov 17, 2010, at 9:32 AM, David Avendasora wrote: If we do, it's not an Apple list. THere's only wo-announce, wo-dev and wo-deploy. Anjo, where's wo-talk? Dave On Nov 17, 2010, at 6:50 AM, Kieran Kelleher wrote: wo-talk? We have a wo-talk mailing list? .. I never knew ... have I missed much wo-talk these past 7 years?! -Kieran On Nov 17, 2010, at 6:36 AM, Anjo Krank wrote: And can you PLEASE move this thread to wo-talk (where I'm not subscribed). I'm getting seriously annoyed and wouldn't like to have to unsubscribe here too. Cheers, Anjo ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/webobjects%40avendasora.com This email sent to webobje...@avendasora.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/simon%40potwells.co.uk This email sent to si...@potwells.co.uk ___ 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: WebObjects scalability question - WOSession?
I think it's also very much worth pointing out that client-side state has huge implications for security; as developers we basically should not trust anything that is supplied to us by the client. For any non-trivial app that actually requires session state be stored, the chances are high that you don't want malicious users to be able to mess with the internals of their session. -- Simon J. Oliver CISSP-ISSAP, ISSMP, GWAPT Applied Information Technology Center/SBBER University of Memphis, TN On Nov 15, 2010, at 7:02 PM, Chuck Hill wrote: On Nov 15, 2010, at 4:53 PM, Ian Joyner wrote: On 16 Nov 2010, at 11:35, David LeBer wrote: On 2010-11-15, at 7:09 PM, Ian Joyner wrote: (Not that I'm doing any WO these days, but I still like to follow.) One thing that has always worried me about scalability is keeping the per user application state on the server in WOSession. Knowing more about REST now, this is very unrestful and not stateless, which means will not scale. I don't see why something being unrestful and not stateless automatically equates to not being able to scale. Perhaps you could explain. The problem is that once you get 1000s and millions of users you have the problem of memory size storing all that session information in memory on the server. As with any system, the number of concurrent users that can be handled on a given server depends on both the application and the technology that it is built on. I will grant you that WO probably uses more memory per user than many technologies. But memory usage is only one part of the equation. Server must also manage all these sessions - clean them out every so often. And (in middleware systems I worked on in the 80s) keep track of state transitions with FSMs, etc. Yes you need session state, ie context, but it should be kept on the client, which sends it along with each request. Thus user state is kept only on the client which makes recoverability easier too, because if the server is rebooted, client can continue oblivious to any problem. Yes, recoverability is a nice to have feature, but really how often is it actually needed? Restarts should be planned with the instances being set to Refuse New Sessions so that there are no active sessions on a machine when it is rebooted. So recoverability is only strictly needed for accidental restarts, kernel panics and such. The problem with keeping the WO state on the client is that WO keeps a LOT of state (EO, changed attributes, page cache, etc). You would need to have a finely tuned way of getting that back and forth from the client, otherwise performance would suffer mightily. Chuck ___ 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: Oracle and Apple Announce OpenJDK Project for Mac OS X
Does this mean Java Client apps are safe now? surely mike's just teasing mr avendasora...? :-) ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: [OT] No more XServe
1) the ubiquity of inexpensive Linux solutions (hardware and/or VPS in the cloud) plus whilst the xserve is 1u form factor, it's completely useless in the data centre due to it being a power hog... before we saw the linux light we had at one point 5 xserves which were drawing more power than an entire rack of linux blades ___ 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 + InnoDB no longer free?
as far as i know, the community server is still free and supports innodb http://www.mysql.com/downloads/mysql/ simon On 4 November 2010 13:34, David LeBer dleber_wo...@codeferous.com wrote: http://www.mysql.com/products/ ;david -- David LeBer Codeferous Software 'co-def-er-ous' adj. Literally 'code-bearing' site: http://codeferous.com blog: http://davidleber.net profile: http://www.linkedin.com/in/davidleber twitter: http://twitter.com/rebeld -- Toronto Area Cocoa / WebObjects developers group: http://tacow.org ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/simon%40potwells.co.uk This email sent to si...@potwells.co.uk ___ 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: ERXJDBCConnectionAnalyser and Connections Exhausted!
i don't have the answer, but we see this same issue all the time simon On 28 October 2010 13:38, Farrukh Ijaz farrukh.i...@fuegodigitalmedia.com wrote: Hi Gurus, How can I release the JDBC connection that is hooked by ERXJDBCConnectionAnalyser class? I've defined following properties: er.extensions.ERXJDBCAdaptor.useConnectionBroker = true dbMinConnectionsGLOBAL=1 dbMaxConnectionsGLOBAL=5 dbMaxCheckoutGLOBAL=600 dbDebugLevelGLOBAL=3 I've following code being called one of my direct actions for testing purpose: public WOActionResults monitorAction() { NSMutableDictionaryString, String dictStatus = new NSMutableDictionaryString, String(); for (EOModel m : EOModelGroup.defaultGroup().models()) { ERXJDBCConnectionAnalyzer ca = new ERXJDBCConnectionAnalyzer(m); try { ca.testConnection(); dictStatus.put(m.name(), OK); } catch (Throwable t) { dictStatus.put(m.name(), Error: + t.getMessage()); } } WOComponent page = pageWithName(Monitor.class.getName()); page.takeValueForKey(dictStatus, dictStatus); return page; } If I set the useConnectionBroker property to false, it works okay. Otherwise I get following exception. er.transaction.adaptor.ConnectionAnalyzer (ERXJDBCConnectionAnalyzer.java:84) - Checking JDBC connection with information {minConnections = 1; ... ... ... ... ... ... 2010-10-28 15:33:39,297 INFO [-:12345 0] er.transaction.adaptor.ConnectionAnalyzer (ERXJDBCConnectionAnalyzer.java:105) - Trying to create JDBCAdaptor... 2010-10-28 15:33:39,297 INFO [-:12345 0] er.transaction.adaptor.ConnectionAnalyzer (ERXJDBCConnectionAnalyzer.java:115) - Successfully created adaptor er.extensions.jdbc.ERXJDBCAdaptor 2010-10-28 15:33:39,298 INFO [-:12345 0] er.transaction.adaptor.ConnectionAnalyzer (ERXJDBCConnectionAnalyzer.java:126) - Trying to create plugin... 2010-10-28 15:33:39,298 INFO [-:12345 0] er.transaction.adaptor.ConnectionAnalyzer (ERXJDBCConnectionAnalyzer.java:131) - Created plugin com.webobjects.jdbcadaptor.PostgresqlPlugIn 2010-10-28 15:33:39,298 INFO [-:12345 0] er.transaction.adaptor.ConnectionAnalyzer (ERXJDBCConnectionAnalyzer.java:170) - Trying to load JDBC driver org.postgresql.Driver... 2010-10-28 15:33:39,299 INFO [-:12345 0] er.transaction.adaptor.ConnectionAnalyzer (ERXJDBCConnectionAnalyzer.java:183) - Successfully loaded JDBC driver org.postgresql.Driver 2010-10-28 15:33:39,299 INFO [-:12345 0] er.transaction.adaptor.ConnectionAnalyzer (ERXJDBCConnectionAnalyzer.java:192) - JDBC driver and plugin are loaded, trying to connect... 2010-10-28 15:33:41,299 WARN [-:12345 0] er.extensions.jdbc.ERXJDBCConnectionBroker (ERXJDBCConnectionBroker.java:368) - Connections Exhausted! Will wait and try again in loop 0 2010-10-28 15:33:43,300 WARN [-:12345 0] er.extensions.jdbc.ERXJDBCConnectionBroker (ERXJDBCConnectionBroker.java:368) - Connections Exhausted! Will wait and try again in loop 1 2010-10-28 15:33:45,301 WARN [-:12345 0] er.extensions.jdbc.ERXJDBCConnectionBroker (ERXJDBCConnectionBroker.java:368) - Connections Exhausted! Will wait and try again in loop 2 How can I enforce ERXJDBCConnectionAnalyser to release connection? Thanks, Farrukh ___ 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%40potwells.co.uk This email sent to si...@potwells.co.uk ___ 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: New Wonder example : Movies
is there a plan to have running versions of the examples on the wocommunity site ? On 27 October 2010 03:09, Pascal Robert prob...@macti.ca wrote: A new example app was added to Wonder today : Movies. It's an app that Travis wrote for WOWODC East 2009, and I added simple REST routes in it for WOWODC 2010. This app is a good showcase of best practices, and usage of ERAttachment, ERTaggable, ERRest, ERChronic and inline bindings. Many thanks to Travis for his code! -- Pascal Robert prob...@macti.ca AIM/iChat : MacTICanada LinkedIn : http://www.linkedin.com/in/macti Twitter : pascal_robert ___ 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%40potwells.co.uk This email sent to si...@potwells.co.uk ___ 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
how to get the type of an attribute in code
hi all - is there an easy / quick way to figure out the type of a particular attribute in code ? e.g. i want to know what type (ie. Integer, BigDecimal, String) the column X is of entity Y thanks, simon ___ 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: how to get the type of an attribute in code
brilliant - thanks to all for the input !! Simon On 27 October 2010 14:08, Farrukh Ijaz farrukh.i...@fuegodigitalmedia.com wrote: Hi Simon, Does this make sense to you? EOModelGroup.defaultGroup().entityNamed(EntityName)._attributeForPath(attributeName).className() Farrukh On 2010-10-27, at 3:57 PM, Simon wrote: hi all - is there an easy / quick way to figure out the type of a particular attribute in code ? e.g. i want to know what type (ie. Integer, BigDecimal, String) the column X is of entity Y thanks, simon ___ 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/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: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: OpenJDK, Java and Mac
another interesting (related) question: IIRC, the WO license requires you to develop on mac os. that's gonna be pretty difficult if there's no suitable JDK... ? On 25 October 2010 19:49, Andrew Lindesay a...@lindesay.co.nz wrote: Hello; Excuse my ignorance, but I'm trying to get a handle on the impact of using OpenJDK for WebObjects and other java dev going forward if there's no official JDK for MacOS-X. I understand that OpenJDK on MacOS-X uses X11 for GUI material (swing/AWT) which would seem tolerable, but are there other substantive differences with OpenJDK with respect to the official JDK for non GUI applications? cheers. ___ Andrew Lindesay www.silvereye.co.nz ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/simon%40potwells.co.uk This email sent to si...@potwells.co.uk ___ 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: OpenJDK, Java and Mac
IIRC, the WO license requires you to develop on mac os. No, it just requires you to develop on an Apple-branded computer. It doesn't say anything about what OS it must be running. oh ok. hey - i just found a reason for those crappy white apple stickers that come with just about everything you buy from apple - whack one on the front of a shiny new Dell and you're good for WO development :-) Simon ___ 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: [Wonder-disc] Wonder54 wotaskd build product
There doesn't seem to be a built version of wotaskd here: http://webobjects.mdimension.com/hudson/job/Wonder54/lastSuccessfulBuild/artifact/dist/wotaskd.woa.tar.gz There's one under the Wonder53 project. Does anyone know why this is? This is killing me. You don't have a recent copy of wotaskd.woa.tar.gz lying around, do you? Otherwise I'm going to have to try and build it locally I suppose. sorry paul, i don't. this issue is killing me too because our auto-build's of new servers download javamonitor and wotaskd from the mdimension build server... i think we're going to break that dependency and build them ourselves from now on. i guess we can drop the builds into our public webobjects s3 bucket for anyone else to pluck off as they wish. simon ___ 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: WOWODC 2010 recordings and WOWODC 2011
just not in the summer holidays please! it's really expensive to get over from europe because all the flights are full of people on vacation simon On 22 October 2010 16:32, Pascal Robert prob...@macti.ca wrote: Ok, so we are thinking of releasing the WOWODC 2010 recordings as part of an annual membership. The money raised would be raised to give awards to major contributors to the community, pay for hosting of community tools/sites, etc. This is why I did the Google Moderator thing, so that we can know what people wants and to make sure it happens (well, it happens if the idea make sense). About WOWODC 2011, Montreal won as the first choice, Amsterdam won overall, but North America have more votes than Europe. This is not making things easy, so I would say let's do it in Montreal again since it's in the middle between West Coast and Europe, and since our currency is always low compared to the USD and the Euro, it's cheaper too. Comments welcome :-) -- Pascal Robert prob...@macti.ca AIM/iChat : MacTICanada LinkedIn : http://www.linkedin.com/in/macti Twitter : pascal_robert ___ 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%40potwells.co.uk This email sent to si...@potwells.co.uk ___ 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: WOWODC 2010 recordings and WOWODC 2011
June 24-25-26 is my vote simon On 22 October 2010 19:14, Pascal Robert prob...@macti.ca wrote: Le 2010-10-22 à 14:07, Simon a écrit : just not in the summer holidays please! it's really expensive to get over from europe because all the flights are full of people on vacation Dates I'm looking on, no matter where it's held : - June 24-25-26 - August 19-20-21 - August 26-27-28 - September 09-10-11 Hotel rate is $139 for all those dates except September ($145). Just don't come for the F1 week-end (June 10-11-12), the rates goes up to $379 (and we still manage to have 99% occupency). simon On 22 October 2010 16:32, Pascal Robert prob...@macti.ca wrote: Ok, so we are thinking of releasing the WOWODC 2010 recordings as part of an annual membership. The money raised would be raised to give awards to major contributors to the community, pay for hosting of community tools/sites, etc. This is why I did the Google Moderator thing, so that we can know what people wants and to make sure it happens (well, it happens if the idea make sense). About WOWODC 2011, Montreal won as the first choice, Amsterdam won overall, but North America have more votes than Europe. This is not making things easy, so I would say let's do it in Montreal again since it's in the middle between West Coast and Europe, and since our currency is always low compared to the USD and the Euro, it's cheaper too. Comments welcome :-) -- Pascal Robert prob...@macti.ca AIM/iChat : MacTICanada LinkedIn : http://www.linkedin.com/in/macti Twitter : pascal_robert ___ 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%40potwells.co.uk This email sent to si...@potwells.co.uk ___ 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: Java apps not in new Mac App Store???
This is great news for java developers on the mac platform. Apples development of the mac jvm has been dog slow for years. Where is java 7? Where is java 8? Oracle will pick up from here and we'll have regular updates and access to the latest kit Simon On Thursday, October 21, 2010, David Avendasora webobje...@avendasora.com wrote: Hi Matthias, Where did the X11 come from? I don't see that in the emails you are copying below. Also, as Rob Ross pointed out below, this ends up making MacOS X the same as every other OS out there, you will have to download and install a JVM yourself in future versions of OS X. Where to get a third-party JVM for Mac? That's another question. Now that Apple isn't providing their own JVM and they've opened OS X up for others, there should be a third-party, or even a Sun/Oracle VM soon. There's a _lot_ of Java coders out there using Macs. It's a vacuum that isn't going to last long. It does suck that Apple's own JVM is being deprecated, but it's not like Microsoft has their own JVM either and Java seems to work just fine there. Dave On Oct 21, 2010, at 6:12 AM, Matthias Jakob wrote: LLLOLOL and Eclipse with X11? At this time if there is no native gui java, macosx is dead for me our company our deployment an ALL our customers! so apple: think twice!! PS: WO Guys, Mike whats the hell is this - X11 ?? __ Dipl.-Inf.(FH) Matthias Jakob Entwickler Takwa GmbH Friedrich-List-Str. 36 99096 Erfurt Tel.: +49 361 6534096 Fax.: +49 361 6534097 eMail: matthias.ja...@takwa.de WWW: http://www.takwa.de http://www.takwa.de/ Sitz: Erfurt Amtsgericht Erfurt HRB 12964 Geschäftsführung: Ingo Buchholz __ Am 21.10.2010 um 12:03 schrieb Shawn Erickson: On Thu, Oct 21, 2010 at 1:12 PM, Rob Ross rob.r...@gmail.com wrote: It is worse than this. Not only are Java apps not going to be permitted, Apple is actually *removing* Java from future Mac OS versions. So even if you wanted to develop a Java app for the Mac App store, you are prohibited because Java is now deprecated...just in time for the Mac App store announcement. That these two announcements happen on the same day is very suspicious, and it is hard not to think they are quite related. If your product needs Java you are now free to bundle/install a JVM with your product (or point customers at it) and the OS will support using it. Many folks have been asking for this capability. This is like most other operating systems. It is also similar to products that use things like Qt, they bundle it with their application. If you purchased a Mac to do Java development you can continue to use it for that by using a 3rd party JVM, etc. Apple isn't planning to continue their JVM port essentially but they aren't preventing others from doing so. It sucks but... -Shawn ___ Do not post admin requests to the list. They will be ignored. Java-dev mailing list (java-...@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/java-dev/jakob%40takwa.de This email sent to ja...@takwa.de ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/webobjects%40avendasora.com This email sent to webobje...@avendasora.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: WebObjects Community ideas on Google Moderator
and our Wonder version is really heavy Documented. That makes it also hard to give back Frameworks to the Community. That is unfortunate. this is why the following idea on google moderator is so important: We need a way to link the JavaDoc and the wiki together. It could be special tags in the JavaDoc so that those tags are found, we automatically create a page in the wiki with a link to the JavaDoc. google translate could then sort it all out ! Simon ___ 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: OS X Java Deprecation JVM Source Code
openjdk6 is on macports. maybe they will get 7 soon simon On 21 October 2010 20:44, Ramsey Gurley ram...@xeotech.com wrote: From the sound of that, we really do just need OpenJDK7 to get started with Java 7 right away (^_^) Sweet! So, now all I need to do is figure out how to compile it. Ramsey On Oct 21, 2010, at 3:23 PM, David LeBer wrote: On 2010-10-21, at 3:15 PM, Joe Little wrote: Thanks for the clarification from you and David. I knew there was some apple java dependencies but not sure of which. The only way to make openjdk work now though is x11 I think, correct? No. http://greensopinion.blogspot.com/2010/01/eclipse-36-on-openjdk-on-mac-os-x.html See the comments: David Green said... @Axel Rauschmayer since SWT uses native widgets it does not run on X11, it uses the mac native controls (Cocoa in this case). As far as a screenshot, it looks the same as when run using the Apple VM. JANUARY 26, 2010 5:42 PM On Oct 21, 2010, at 11:38 AM, John Huss johnth...@gmail.com wrote: On Thu, Oct 21, 2010 at 1:26 PM, Joe Little jmlit...@gmail.com wrote: Perhaps but not cocoa/aqua native. In other words, eclipse can't use it to display GUI elements unless you rebuild eclipse to use x11, and then finder drag and drop is lost among other things That's not true, Eclipse uses native cocoa widgets, so it is largely unaffected by this. But it does rely on a few extensions to standard java provided by the mac version of the JVM, and these will have to be dealt with. X11 will never be necessary to run an SWT app on mac. John ___ 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/dleber_wodev%40codeferous.com This email sent to dleber_wo...@codeferous.com ;david -- David LeBer Codeferous Software 'co-def-er-ous' adj. Literally 'code-bearing' site: http://codeferous.com blog: http://davidleber.net profile: http://www.linkedin.com/in/davidleber twitter: http://twitter.com/rebeld -- Toronto Area Cocoa / WebObjects developers group: http://tacow.org ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/ramsey%40xeotech.com This email sent to ram...@xeotech.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/simon%40potwells.co.uk This email sent to si...@potwells.co.uk ___ 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: OS X Java Deprecation JVM Source Code
I'm just gutted that this means the end of swing. oh how much i loved swing apps. they were so elegant. simon On 21 October 2010 22:44, Ken Foust fou...@me.com wrote: Christ now you won't even be able to do Grails. On Oct 21, 2010, at 2:52 PM, Dov Rosenberg wrote: You forgot to mention that the obj-c - java bridge finally died after 3.5.1 - sometime in the 4.x I think We are on our 13th year with WO (damn that is a long time) Dov Rosenberg On 10/21/10 4:19 PM, Chuck Hill ch...@global-village.net wrote: On Oct 21, 2010, at 1:12 PM, Stefan Klein wrote: Can't remember the exact years but: 1990 I started with NeXTstep on a black box and then the horror began: Operating Systems: - NeXTstep on several plattforms - OpenStep - Black Hardware dies - YellowBox (anyone remenber?) Yes, and the only development platform was WINDOWS! Ick! - YellowBox died Several WO companies got sued... - Next buys apple WO: - Started with WO 3.5 - WebScript dies - Objective-C dies (I think 2001) - Last Windows Version WO 5.2 Now: Announcement OS X JVM will die I think we will survive that too! Stefan Am 21.10.10 21:29, schrieb Kieran Kelleher: My 2 cents: Relax, don't panic, There is always a way forward. Look at the positive. I am sure that in 5 years, much of this community will still be here developing WebObjects enterprise apps in Java 9 on Mac OS XI Cobra ;-) -Kieran On Oct 21, 2010, at 12:32 PM, Ken Foust wrote: I have not seen a response form Mike Schrag and would hold most comments until he responds. But what do you think of CocoaWO now My opinion Apple needs to incorporate and brilliant enterprise web dev app tied to Cocoa. On Oct 21, 2010, at 10:29 AM, Ken Anderson wrote: Couldn't we just use the SoyLatte JVM for WO development? On Oct 21, 2010, at 12:21 PM, Paulo Siqueira wrote: +1 =p Well, I hear that Ubuntu is nice this time of year... That was my thought as well, I swear :p -- Paulo JCranky Siqueira Visit my blog: http://www.jcranky.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/kenlists%40anderhom e.com This email sent to kenli...@anderhome.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/fousto%40me.com This email sent to fou...@me.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/kelleherk%40gmail.com This email sent to kelleh...@gmail.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list ( Webobjects-dev@lists.apple.com ) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/stefan.klein%40buero-s de.de This email sent to stefan.kl...@buero-sde.de ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/chill%40global-village. net This email sent to ch...@global-village.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/fousto%40me.com This email sent to fou...@me.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/simon%40potwells.co.uk This email sent to si...@potwells.co.uk ___ 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: RightScale Template?
nope, but there are plenty of amazon ec2 ami's: http://wiki.objectstyle.org/confluence/display/WO/Deploying+WO+on+Amazon+EC2 also checkout amazon's new free user tier - all the kit you need to get up and running in the cloud and it's free for a year !! http://aws.amazon.com/free/ simon On 21 October 2010 16:20, James Cicenia ja...@jimijon.com wrote: RightScale as a meta cloud system seems like a great place to have a Linux/Apache/WO/Wonder/sql (LAWWS) template. Anyone have and published one out there? - James ___ 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%40potwells.co.uk This email sent to si...@potwells.co.uk ___ 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: Replacing JavaMonitor and wotaskd with Wonder's ones
this is completely untested # Presuming you're deploying on standard mac os layout # Move the apple ones out of the way cd /System/Library/WebObjects/JavaApplications mv JavaMonitor.woa JavaMonitor.woa.apple.version mv wotaskd.woa wotaskd.woa.apple.version # Get the WOnder versions and unpack tem wget http://webobjects.mdimension.com/hudson/job/Wonder54/lastSuccessfulBuild/artifact/dist/JavaMonitor.woa.tar.gz -O /System/Library/WebObjects/JavaApplications/JavaMonitor.woa.tar.gz tar -zxf /System/Library/WebObjects/JavaApplications/JavaMonitor.woa.tar.gz -C /System/Library/WebObjects/JavaApplications/WODeployment/ rm /System/Library/WebObjects/JavaApplications/WODeployment/JavaMonitor.woa.tar.gz wget http://webobjects.mdimension.com/hudson/job/Wonder54/lastSuccessfulBuild/artifact/dist/wotaskd.woa.tar.gz -O /System/Library/WebObjects/JavaApplications/wotaskd.woa.tar.gz tar -zxf /System/Library/WebObjects/JavaApplications/WODeployment/wotaskd.woa.tar.gz -C /System/Library/WebObjects/JavaApplications/WODeployment/ rm /System/Library/WebObjects/JavaApplications/WODeployment/wotaskd.woa.tar.gz # Permissions sudo chown -R appserver:appserveradm /System/Library/WebObjects/JavaApplications sudo chmod -R 755 /System/Library/WebObjects/JavaApplications # if you've done anything funky with your JavaMonitor / wotaskd properties you will need copy that funkiness into the new JavaMonitor/wotaskd properties # Presuming you have launchd scripts sudo launchctl restart com.apple.webobjects.wotaskd ... and it should pick up where you left off. simon On 17 October 2010 10:42, Farrukh Ijaz farrukh.i...@fuegodigitalmedia.com wrote: Dear Super Gurus! I want to use Wonder version of JavaMonitor and wotaskd. What is the recipe with minimum downtime to replace the existing JavaMonitor and wotaskd. Note: Keeping in mind there are dozens of applications already running on the servers and the JavaMonitor is also secured with the password. Thanks in advance, Farrukh ___ 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%40potwells.co.uk This email sent to si...@potwells.co.uk ___ 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: Replacing JavaMonitor and wotaskd with Wonder's ones
good point, although i think apple installers forgot all about wo a few years back :-) we've been using the wonder versions in production for the past 4 months and agree, it's super stable. simon On 17 October 2010 12:37, Pascal Robert prob...@macti.ca wrote: Personnaly, I wouldn't change the versions in /System since Apple installers might replace with their own versions. Apple don't like having non-Apple stuff in /System and sometimes they disabled it in a OS X update. What I do in those situations : - Drag the builds from Wonder and put them in /Library/WebObjects/JavaApplications - chown -R appserver:appserveradm /Library/WebObjects/JavaApplications - stop Apple versions of the deployment stuff - sudo launchctl stop com.apple.webobjects.JavaMonitor - sudo launchctl stop com.apple.webobjects.wotaskd - modify the launchctl script so that the path to the executable goes to /Library/WebObjects/JavaApplications - start the launchctl scripts - sudo launchctl start com.apple.webobjects.JavaMonitor - sudo launchctl start com.apple.webobjects.wotaskd The other advantages is that you can switch back to the Apple versions just by changing the launchctl scripts. I'm running the Wonder versions of 4 servers (all CentOS Linux boxes) and it's super stable. Hi Simon, Thank you very much! Seems to be quite a detailed manual. I shall do it on a test server and see how it goes. Will let you know the findings soon. Farrukh On 2010-10-17, at 1:43 PM, Simon wrote: this is completely untested # Presuming you're deploying on standard mac os layout # Move the apple ones out of the way cd /System/Library/WebObjects/JavaApplications mv JavaMonitor.woa JavaMonitor.woa.apple.version mv wotaskd.woa wotaskd.woa.apple.version # Get the WOnder versions and unpack tem wget http://webobjects.mdimension.com/hudson/job/Wonder54/lastSuccessfulBuild/artifact/dist/JavaMonitor.woa.tar.gz -O /System/Library/WebObjects/JavaApplications/JavaMonitor.woa.tar.gz tar -zxf /System/Library/WebObjects/JavaApplications/JavaMonitor.woa.tar.gz -C /System/Library/WebObjects/JavaApplications/WODeployment/ rm /System/Library/WebObjects/JavaApplications/WODeployment/JavaMonitor.woa.tar.gz wget http://webobjects.mdimension.com/hudson/job/Wonder54/lastSuccessfulBuild/artifact/dist/wotaskd.woa.tar.gz -O /System/Library/WebObjects/JavaApplications/wotaskd.woa.tar.gz tar -zxf /System/Library/WebObjects/JavaApplications/WODeployment/wotaskd.woa.tar.gz -C /System/Library/WebObjects/JavaApplications/WODeployment/ rm /System/Library/WebObjects/JavaApplications/WODeployment/wotaskd.woa.tar.gz # Permissions sudo chown -R appserver:appserveradm /System/Library/WebObjects/JavaApplications sudo chmod -R 755 /System/Library/WebObjects/JavaApplications # if you've done anything funky with your JavaMonitor / wotaskd properties you will need copy that funkiness into the new JavaMonitor/wotaskd properties # Presuming you have launchd scripts sudo launchctl restart com.apple.webobjects.wotaskd ... and it should pick up where you left off. simon On 17 October 2010 10:42, Farrukh Ijaz farrukh.i...@fuegodigitalmedia.com wrote: Dear Super Gurus! I want to use Wonder version of JavaMonitor and wotaskd. What is the recipe with minimum downtime to replace the existing JavaMonitor and wotaskd. Note: Keeping in mind there are dozens of applications already running on the servers and the JavaMonitor is also secured with the password. Thanks in advance, Farrukh ___ 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%40potwells.co.uk This email sent to si...@potwells.co.uk ___ 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/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: http://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: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: javadocs removed from apple.com
i never go to the apple site anymore because mdimension host them: http://webobjects.mdimension.com/javadoc/WebObjects/5.3/ http://webobjects.mdimension.com/javadoc/WebObjects/5.4/ simon On 13 October 2010 14:52, Michael Schmiedgen schmied...@takwa.de wrote: Thanks for the fast reply! I am saved! :) Cheers Michael -- Michael Schmiedgen, BSc Takwa GmbH Friedrich-List-Str. 36 99096 Erfurt GERMANY Tel +49 361 6534096 Fax +49 361 6534097 Mail schmied...@takwa.de Web http://www.takwa.de/ Geschaeftsfuehrung: Ingo Buchholz HRB 112964, Amtsgericht Jena ___ 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%40potwells.co.uk This email sent to si...@potwells.co.uk ___ 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: Deployment setup on a OS X box
Are you deliberately compiling the adaptor from scratch? If nothing else I guess that means you don't have to determine what architecture you're on. I'm just thinking you could compile it once for each, store those somewhere and download them with that script, then you could avoid installing gcc. yeah, i know what you mean. at first i was just downloading the binary versions from mdimension but i thought building it each time will avoid any issues (or maybe even highlight issues) each time you boot a new instance, because each time you boot an amazon linux box you get the very latest version. i envisaged a situation where a minor upgrade to apache for example might rock the boat if we were using binaries, whereas building natively stands more chance of navigating around such issues. i don't have a lot of experience in this area - maybe someone with more knowledge of the woadaptor could recommend which is the best approach ? ultimately my vision for ec2 automation is that we have some uber-script that runs first to determine what sub-scripts you need to run based on the ami you are booting. we're going to publish some more scripts (hopefully this week) that are examples of how to auto-deploy your apps right the way from hudson to your freshly created ec2 instances... simon ___ 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: Textarea with character countdown
no component, but here is how we do it: label for = messageMessage/label wo:text value = $comments id = message onKeyUp = return count(this,255,'myCounter') / p class = descYou have span id = myCounterwo:str value = ~255-comments.length //span characters left./p function count(a,b,c){ var dif = b-a.value.length; while (dif 0) { a.value=a.value.replace(/.$/,'') dif = b-a.value.length; } document.getElementById(c).firstChild.data=dif; } Simon On 11 October 2010 12:50, Paul Hoadley pa...@logicsquad.net wrote: Hello, I have a use case for a textarea with a Twitter-style character countdown from some specifiable limit. Specifically: 1. Text area with a character limit count somewhere nearby. 2. Count decreases by one for each character typed. 3. Count decreases by the total length of anything pasted in. 4. Excess content is not prevented, but the count goes negative. Basically, I'm describing exactly (New)Twitter's widget. (I want to use it for SMS message content.) So, here's me as an optimist: does anyone have or know of a WOComponent that does exactly this that I can just drop right in? :-) Failing that, I'm not up to speed on Twitter's API or, in particular, exactly what parts of their UI are re-usable—does anyone know if this widget is freely usable in any form? Failing that, can anyone recommend a good Javascript implementation of something like this, preferably _not_ using JQuery (as I want to just drop it into pages already using Ajax.framework)? Failing all of those, I'll write one myself. -- 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/simon%40potwells.co.uk This email sent to si...@potwells.co.uk ___ 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: Deployment setup on a OS X box
my 2 cents... i got sick of trying to remember where all the bits and pieces go, so now on linux we use this structure: /opt/WOApplications /opt/WOWebServerResources /opt/WODeployment our apps go in WOApplications our web server resources go in - yes you guessed it - WOWebServerResources and javamonitor wotaskd go in WODeployment deployment for idiots. like me. oh, and we've published a script that builds a linux box inline with this from scratch: http://webobjects.s3.amazonaws.com/wo-install.sh it's only tested on amazon linux, but i guess it might work on simliar flavours (centos/redhat). the script is part of a wider effort to fully automate deployment on ec2... simon On 10 October 2010 19:25, Chuck Hill ch...@global-village.net wrote: On Oct 9, 2010, at 11:01 PM, Pascal Robert wrote: I'm setting up a Mac Mini Server, and it's the first time since 2008 that I'm setting up a OS X box just for deployment. I installed WO with woinstaller.jar, but I did forget that it won't install it in /, saying that /System already exists. So I installed it in /Developer, and had to create a symlink for /Library/WebObjects to /Developer/Library/WebObjects. Now, since it's a deployment box, I don't actually need WO on it, I only need the Apache adaptor, wotaskd and JavaMonitor with embedded frameworks. So I'm thinking of creating a installer (.pkg) that would : - create /Library/WebObjects and /Library/WebServer/Documents if they don't already exists And /Library/WebObjects/Configuration - install wotaskd.woa from Wonder, in /Library/WebObjects/JavaApplications - instal JavaMonitor.woa from Wonder, in /Library/WebObjects/JavaApplications I'd simplify this and put these both in the same directory. - install the two launchctl scripts - install and load the Apache HTTP adaptor from Wonder Where will this go? You will also need the apache.conf file. Any opinions on this? -- Pascal Robert prob...@macti.ca AIM/iChat : MacTICanada LinkedIn : http://www.linkedin.com/in/macti Twitter : pascal_robert ___ 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/simon%40potwells.co.uk This email sent to si...@potwells.co.uk ___ 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: REST routes in JavaMonitor
i've just started using these for auto-configuring production servers. it's cracking stuff - thanks! is there any javadoc, or a list somewhere of all the functions available ? if not, where do they live in the code (i.e what class handles them ?). stupid question, i know, but i'm new to rest and i can't find them anywhere! i'm still having to mangle the SiteConfig.xml with sed to set things like the adaptor URL, javamonitor password etc. are their functions for this kind of stuff ? thanks, simon On 29 September 2010 11:55, Pascal Robert prob...@macti.ca wrote: Good morning! Yesterday, I committed REST routes inside JavaMonitor, this is the stuff that was demonstrated at WOWODC 2010. With those routes + the direct actions Anjo added last year, you can control almost everything remotely (make sure JavaMonitor is not open to the world!). The code was added to the trunk of Wonder (the Wonder53 build) so if you want to play with it, make sure you get it from this build. Below is a couple of call examples. Please note that if JavaMonitor requires a password, you need to append ?passwd=X at the end of the URLs. Fetching the details of all applications : curl -X GET http://127.0.0.1:56789/cgi-bin/WebObjects/JavaMonitor.woa/ra/mApplications.json Adding a new application : curl -X POST -d {id: 'AjaxExample',type: 'MApplication', name: 'AjaxExample',unixOutputPath: '/opt/Local/Library/WebObjects/Logs', unixPath: '/opt/Local/Library/WebObjects/Applications/AjaxExample.woa/AjaxExample'} http://127.0.0.1:56789/cgi-bin/WebObjects/JavaMonitor.woa/ra/mApplications.json Adding a new instance : curl -X GET http://127.0.0.1:56789/cgi-bin/WebObjects/JavaMonitor.woa/ra/mApplications/AjaxExample/addInstancehost=localhost Delete an application : curl -X DELETE http://127.0.0.1:56789/cgi-bin/WebObjects/JavaMonitor.woa/ra/mApplications/AjaxExample.json Delete an instance : curl -X GET http://127.0.0.1:56789/cgi-bin/WebObjects/JavaMonitor.woa/ra/mApplications/AjaxExample/deleteInstance?id=1 Adding a new host : curl -X POST -d {id: 'otherserver.com',type: 'MHost', osType: 'MACOSX',address: '192.168.20.5', name: 'otherserver.com'} http://127.0.0.1:56789/apps/WebObjects/JavaMonitor.woa/ra/mHosts.json -- Pascal Robert prob...@macti.ca AIM/iChat : MacTICanada LinkedIn : http://www.linkedin.com/in/macti Twitter : pascal_robert ___ 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%40potwells.co.uk This email sent to si...@potwells.co.uk ___ 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