Unknown Source ?

2009-10-16 Thread Simon McLean
an ideas what causes deployed app stack traces to start saying "unknown source" rather than the line number ? i've pasted a snippet below. it seems to be only our source that is affected - wonder source and webobjects source have their line numbers thanks, simon WOComponent.appendToResponse(WO

Re: analysing a production failure

2009-10-16 Thread Simon McLean
Hi Chuck - Good holiday ? 2) why would a problem with one host start knocking out other hosts? >> > > Bad coding in JavaMonitor? Bad config getting sent to the other hosts due > to mishandling of an exception somewhere? Right, of course. if JavaMonitor splattered a duff config around then that

analysing a production failure

2009-10-15 Thread Simon McLean
earlier on today javamonitor started reporting that it was unable to write it's config to one of our app servers, hinting that it could be a permissions issue. within minutes of me starting to debug it we had apps starting to fall over all over the shop until our entire production environment had g

Re: How to achieve a fuzzy match searcher

2009-10-15 Thread Simon McLean
do you know if there are there any docs on erindexing ? or maybe an old wowodc presentation or something to get me started ? i've checked the usual places (package.html, wiki, google) if not i'll start poking around the code. thanks, simon > > Depending on how 'fuzzy' you really need your match

Re: Connector/J 5.1, Euro Symbol as '?'

2009-09-24 Thread Simon McLean
so something else must have changed. you're in eclipse, right ? check your workspace encoding (prefs > general > workspace). if you're on a mac it normally defaults to system default of macroman. i'd change that to "other > UTF-8". eclipse will then whirr away for a while whilst it changes everythi

Re: Connector/J 5.1, Euro Symbol as '?'

2009-09-24 Thread Simon McLean
sounds suspiciously like you are fetching your entire database somewhere. i'd start with checking your model. look for a relationship(s) that could accidently fault in an entire table. classic example would be something like a client entity that has a relationship to transactions, and one of your c

Re: Periodic tasks

2009-09-17 Thread Simon McLean
>> we have a scheduler app (wo app) that uses quartz >> (http://www.opensymphony.com/quartz/) to run all sorts of things, from >> maintenance stuff to billing systems. > > I also wrote a nice quartz-integrated scheduling app. > > I put all the business logic for the automated tasks in my core frame

Re: Periodic tasks

2009-09-17 Thread Simon McLean
we have a scheduler app (wo app) that uses quartz (http://www.opensymphony.com/quartz/) to run all sorts of things, from maintenance stuff to billing systems. simon 2009/9/17 Chan Yeow Heong, Jerome : > Is there a mechanism for performing periodic database house cleaning tasks > under WebObjects?

Re: WebObjects become opensource ?

2009-09-13 Thread Simon McLean
threads like this are exactly what google mail filters were made for... http://screencast.com/t/XxJIr9dzI 2009/9/13 Chuck Hill : > > On Sep 13, 2009, at 12:07 PM, Massimiliano Picone wrote: > >> Il giorno 13/set/2009, alle ore 20.45, David LeBer ha scritto: >> >>> >>> On 2009-09-13, at 1:13 PM,

Re: EOF inheritance

2009-09-07 Thread Simon McLean
Yeah, we use single table all over the place. works perfectly. simon 2009/9/7 Travis Britt : > > On Sep 6, 2009, at 7:18 PM, Jon Nolan wrote: >> >> I now have a project which begs for it.  What say you?  Do you use >> inheritance or is my gut feeling correct in telling me to keep on staying >> aw

Re: Detecting Javascript enabled (browser side)

2009-09-03 Thread Simon McLean
Erxsession has a method which is something like "jsEnabled()" -I don't have access to th docs so can't tell you what it is exactly problem is it doesn't work - it's been broken for a while good news is I submitted a patch for it. Bad news is o don't think it's made or onto the core yet. But tou c

Re: high availability & WO

2009-08-20 Thread Simon McLean
>>>> >>>> ms >>>> >>>> On Aug 20, 2009, at 1:35 PM, Alan Ward wrote: >>>> >>>>> >>>>> Not sure about 2 adaptors sharing app instances but what you can do is >>>>> use a Netscaler on the front end.

Re: Generating Tumbnails

2009-08-18 Thread Simon McLean
launching the jar thing is probably something to do with using java awt and not running in headless mode (you can set java.awt.headless=true to stop it) you might want to look at ERAttachment - i've not used it's thumbnailing capability but i belive it is quite nifty. at the moment i think you ha

Re: WebObjects and HTTPS

2009-07-30 Thread Simon McLean
i think the easiest way to think of it is that the "s" bit all happens between the client's browser and apache. WO sit's behind apache and therefore doesn't really give a monkeys about whether the communication with the client is secure or not. regarding the app switching etc. nothing happens auto

Do AjaxTabs cause session creation?

2009-07-14 Thread Simon McLean
h. i've been trying to fix a login page so that it doesn't cause session creation. I've narrowed it down to AjaxTabbedPanel. I presumed it must be something in one of the tabs AjaxTabbedPanel so i stripped it down to a real basic:- 1 2 http://lists.apple.com/mailman/options/webobjects

Fwd: user.home system property [SOLVED]

2009-07-13 Thread Simon McLean
FWIW: open workgroup manager, show system users, select appserver, change it's home directory from "/var/empty" to "/var/appserver" ...and bobs your uncle. Simon -- Forwarded message -- From: Simon McLean Date: 2009/7/12 Subject: user.home syste

user.home system property

2009-07-12 Thread Simon McLean
hi all - webobjects 5.3.3, wonderfied apps, deploying on tiger. we've got a number of xserves used to serve our applications. with some of them i can just copy a new build of the app up, unpack it and crack it up no problem. but with a couple of them the apps won't start up unless i edit the appl

Re: Listening for changes on an EO

2009-07-09 Thread Simon McLean
also, if you are using wonder, check out hasKeyChangedFromCommittedSnapshot in ERXGenericRecord. maybe listen for the notification mentioned by chuck, then use hasKeyChangedFromCommittedSnapshot to check the particular key you are looking at. simon 2009/7/9 Chuck Hill : > > On Jul 9, 2009, at 10:

[SOLVED] deploying across multiple app servers

2009-07-02 Thread Simon McLean
Hi Clark - Thanks for the hint. I've solved both issues now but in a slightly different way: >> problem 1: >> >> i'm trying to use configuration file method for state discovery, and i >> want monitor to write out the file automatically. i need to pass >> wotaskd the property -WOSavesAdaptorConfigu

deploying across multiple app servers

2009-06-30 Thread Simon McLean
hi - trying to get a couple of xserves set up but having a couple of problems. tiger server, wo5.3.3, wonderfied apps one xserve is being webserver + appserver, second is just an app server problem 1: i'm trying to use configuration file method for state discovery, and i want monitor to write ou

Monitor Error Adding new Host

2009-06-29 Thread Simon McLean
Hi All - i found the post below which is from late 2007 and i have almost exactly the same problem (the only difference being that our servers do have domain names) Unfortunately nobody replied to the original post :-( Anyone got any ideas on what is wrong with monitor? Thanks, Simon HI --

Re: Snow Leopard compatibility and the future of webobjects

2009-06-13 Thread Simon McLean
I think it takes about 5 years development experience with WO for these kind of posts not to phase you. it's a bit like a jehovah witness: they knock at your door from time to time, predict doom, gloom and the end of existence as we know it. but then a few days later it's all forgotten - like a ba

Re: Any chocolate announcements

2009-06-12 Thread Simon McLean
wow. you mean it was a wowodc-only thing ? cudos! 2009/6/12 Chuck Hill : > No announcement. > > > On Jun 11, 2009, at 5:53 PM, Ricardo J. Parada wrote: > >> >> Were there any public announcements at WWDC along the lines of that >> chocolate containing about 30% hazelnut paste, invented by Caffarel

Re: Hudson Setup

2009-06-12 Thread Simon McLean
i'm at exactly the same point, and have been for a few days. i decided to shelve it until the wowodc dvd came out and i could go back over mike's presentation :-) i agree - mike made it all look so easy!! i just thought "yeah, get that sorted when i get home" :-) Simon 2009/6/12 David Avend

Re: Hudson gives awt.headless error [SOLVED] (Where to put on the Wiki?)

2009-06-10 Thread Simon McLean
hey that would be great. I'm guessing that's the missing piece to my hudson headache... /Users/admin/.hudson/jobs/ClickPoint/workspace/ClickPoint/build.xml:204: taskdef class org.objectstyle.woproject.ant.WOCompile cannot be found johan has already put the page up ready for you :-) http://wiki.o

Re: Meetup Friday in San Fran

2009-06-04 Thread Simon McLean
according to weather.com: San Francisco = 16 degrees C Birmingham UK = 16 degrees C ... and everyone here thinks we're off to some californian beach party! Simon 2009/6/4 Kieran Kelleher : > This is June! What's up with S.F. weather? - 20 degree temperature drop from > FL! - "Freezing in San Fr

Re: [WOWODC] Student discount

2009-05-06 Thread Simon McLean
how about a discount for europeans ? :-) i'm not sure we can rack up the demand, but would a plea of evil exchange rates suffice ? Simon 2009/5/6 Pascal Robert : > Due to demand, we are now offering on a WOWODC (West and/or East) ticket for > STUDENTS. If you are a student and want to attend WOW

A "get..." gotcha!

2009-04-30 Thread Simon McLean
hopefully this post will avoid someone else wasting needless hours ... we use the "get" and "set" convention across all of our projects. Today I put together the classic way of handling checkboxes in an WORepetition using the following "get" and "set" methods: public boolean getGroupSele

Re: Getters without the "get" part

2009-03-31 Thread Simon McLean
> > Crikey. For a while I've been tempted to suggest that we move the whole of >>> Wonder to use the "get" prefix >>> >> >> Grr >> > > Can I ask why WO as a whole doesn't use the 'get' prefix? "Think Different" :-) Simon ___ Do not post admin req

Re: Getters without the "get" part

2009-03-31 Thread Simon McLean
> > Hello, >>> >>> Eclipse offers "Generate Getters and Setters" from its "Source" menu. >>> >>> Is there any way to have this feature add getters without the "get" >>> prefix? I don't see any way to change this in the Java->Code Style->Code >>> Templates preferences. >>> >>> There are other place

WOWODC West

2009-03-27 Thread Simon McLean
thought i would be cheeky and start a vote for additional WOWODC West topics, purely based on what I want to know more about :-) Feel free to vote for these topics, or add more of your own - Build & deployment: capistrano anyone ? status/benefits of wonder's javamonitor ? scaling WO depl

OT: is WWDC worth it for WO developers ?

2009-03-27 Thread Simon McLean
We're looking at coming over for WOWODC West this year. We're debating whether to just come for WOWODC, or whether to stick around for WWDC as well (never been to either before) Just wondering what the general opinion is on the value of WWDC for WebObjects people ? Given that there is usually only

Re: Check / Force field uniqueness in EOF

2009-03-25 Thread Simon McLean
might be worth checking this out - from the wonder blog :-) ERXEOControlUtilities. validateUniquenessOf provides a utility method for validating unique EO attribute values. 2009/3/25 Dan Grec : > Full of questions today > I have an EO that has a field "RemoteSystemID" that must be unique in

Re: [Wonder-disc] blogs?

2009-03-20 Thread Simon McLean
> See, the problem is that the person who has been doing most of the work on > those projects lately is also the person who wrote most of those blogs. >  Rumours has it that he also has a job. :-) are you saying this person actually has to do a real job for a living ? That is criminal. His employe

Re: Delay when posting a notification to NSNotificationCentre

2009-03-12 Thread Simon McLean
2009/3/12 Chuck Hill : > > On Mar 12, 2009, at 5:43 AM, Simon McLean wrote: > >> Thanks for the tips chaps. I've popped everything into an executor >> pool now and the notifications now behave how as i want them to. But >> now i've run back into an issue (bug?

Re: Delay when posting a notification to NSNotificationCentre

2009-03-12 Thread Simon McLean
Thanks for the tips chaps. I've popped everything into an executor pool now and the notifications now behave how as i want them to. But now i've run back into an issue (bug?) with ERXFetchSpecificationBatchIterator which throws a wobbly when running in a thread :-( http://lists.apple.com/archives/

Delay when posting a notification to NSNotificationCentre

2009-03-10 Thread Simon McLean
HI All - I've got a method that creates an EO then posts a notification to NSNotificationCentre to tell it's just created the object. A listener then receives the notification and does a bunch of stuff on the EO. However, the method that creates the EO and fires the notification appears to be wait

Re: LDAP Integration

2009-03-05 Thread Simon McLean
We are working on single sign-on at the moment based on the SAML 2.0 specification. It supports LDAP in that the client has to run an SSO service (such as OpenSSO) that hooks up to their directory (LDAP, Exchange, whatever) to authenticate their users. Simon 2009/3/5 Gustavo Pizano > Hello, List

Re: ERXFetchSpecificationBatchIterator : Cannot obtain globalId for an object which is registered in an other than the databaseContext's active editingContext

2009-03-03 Thread Simon McLean
one of the wo-commandments somewhere in there, but i've been through it over and over again and can't see where the second ec was getting created. Simon 2009/3/2 Lachlan Deck > On 02/03/2009, at 10:46 PM, Simon McLean wrote: > > I've got a bizarre error that I'm s

ERXFetchSpecificationBatchIterator : Cannot obtain globalId for an object which is registered in an other than the databaseContext's active editingContext

2009-03-02 Thread Simon McLean
I've got a bizarre error that I'm struggling to debug. Wondering if anyone can give me a point in the right direction...? I've got a pretty boring fetch spec, and if i call this: NSArray batch = ec.objectsWithFetchSpecification(fs); ... i get an array of objects. No issue. But I've been worki

Re: Chuck, you branching out?

2009-02-24 Thread Simon McLean
> > I received this helpful suggestion from Amazon this morning: >> >> Dear Amazon.com Customer, >>> >>> We've noticed that customers who have purchased or rated books by George >>> Ruzek have also purchased Developmental History Of Primary Segments Of The >>> Vertebrate Head (1900) by Charles Hil

Re: Parsing XML

2009-02-11 Thread Simon McLean
we do a stack of xml stuff. everything is piped through XSLT and then through WOXMLCoder to give us objects. on the way out we create objects, use WOXMLCoder to give us an xml representation of it, then pipe through XSLT to give us it in a format that the service wants. all the xml translation is

OT: Freemarker

2009-02-01 Thread Simon McLean
Looks pretty similar to WO's templating. http://www.freemarker.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

Re: WOXMLCoder with mapping question

2008-12-31 Thread Simon McLean
able to figure out how to handle this with XSLT. Any ideas on how to avoid this? Thanks Kamal On 30-Dec-08, at 10:28 PM, Simon McLean wrote: trying to get xmlcoder to give you what you are looking for is like trying to get blood out of a stone. by introducing a pojo to represent the

Re: WOXMLCoder with mapping question

2008-12-30 Thread Simon McLean
trying to get xmlcoder to give you what you are looking for is like trying to get blood out of a stone. by introducing a pojo to represent the tag you will be able to bodge it, but it's much more straight forward to just take the raw un-bodged output and stick it through an XSLT styleshe

Re: Recording and looking up dates, when day-wide precision is required

2008-12-23 Thread Simon McLean
How about stuff timestamp formatters completely and stick with good old string ? text field, user enters "21/12/2008". parse the string by hand to get the day, month and year, then build an NSTimestamp in whatever timezone you want using those raw values ? We even store some date related

New WOLips - bug when building wonder frameworks

2008-12-15 Thread Simon McLean
I know wobuild.properties is being replaced by wolips.properties, but there seems to be a minor bug with this. We currently set this property in wobuild.properties: wonder.framework.install.root=/Developer/WebObjects53/Library/Frameworks to tell wonder where to install it's frameworks. if i

Re: New WOLips is Coming

2008-12-11 Thread Simon McLean
if you are are using the woswitch.sh script make sure you download the latest one from the wiki to avoid lots of head scratching.. Simon On 11 Dec 2008, at 15:31, Mike Schrag wrote: New WOLips is going to go stable this week (I thought yesterday, but things came up). Here are the upgrade

Re: New WOLips is Coming

2008-12-11 Thread Simon McLean
yeah, i'd definitely recommend replacing your build.properties in each project with a new one too. you then of course have to go through and set them all up properly - ie. change these ones: project.name=ClickPoint project.name.lowercase=clickpoint principalClass=com.clicktravel.point.app.Ap

Re: Question about UI technique for adding a new object to a list

2008-12-08 Thread Simon McLean
You could try not adding it to the relationship until they hit save. Alternatively wire the edit interface up to a dictionary and build the whole object when they hit the save button. that way you don't have to faff around tidying up if they bail out instead. Simon On 8 Dec 2008, at 21:35,

Brand new WOLips install = Failed to process eclipse frameworks

2008-12-05 Thread Simon McLean
Hi All - Attempting to move to 3.4.1 Downloaded very latest Eclipse today - Version: 3.4.1 Build id: M20080911-1700) Downloaded latest WOLips nightly build today (3.4.5581) Downloaded wonder source & imported frameworks as projects in my brand new 3.4.1 workspace Create a brand new WOnder

Re: Null value in column on insert when marked as mandatory in EO Model?

2008-12-05 Thread Simon McLean
5.3.2 + latest wonder. On 5 Dec 2008, at 16:04, Ken Anderson wrote: What release of webobjects are you both running? On Dec 5, 2008, at 10:59 AM, Simon McLean wrote: Hi - We've seen this too, but running on MySQL. It's really bizarre. The EO's are built, the relationsh

Re: Null value in column on insert when marked as mandatory in EO Model?

2008-12-05 Thread Simon McLean
Hi - We've seen this too, but running on MySQL. It's really bizarre. The EO's are built, the relationship set but then sometime between saveChanges() and the raw SQL being sent to the DB it seems to forget the foreign key in the relationship. I've asked myself the same question too: how t

SOLVED: Mysql Prototypes exception

2008-12-03 Thread Simon McLean
Gurley wrote: On Dec 3, 2008, at 4:49 AM, Simon McLean wrote: As far as how Wonder uses prototypes differently, Wonder (and now 5.4) have vendor-specific prototypes, meaning you can define EOJDBCFrontBasePrototypes (or is it EOFrontBaseJDBCPrototypes ... I never remember) and Entity Mode

Re: Wonder prototypes docs ?

2008-12-03 Thread Simon McLean
As far as how Wonder uses prototypes differently, Wonder (and now 5.4) have vendor-specific prototypes, meaning you can define EOJDBCFrontBasePrototypes (or is it EOFrontBaseJDBCPrototypes ... I never remember) and Entity Modeler and the runtime will automatically "do the right thing" wit

Wonder prototypes docs ?

2008-12-02 Thread Simon McLean
are there any current docs on how to use wonder prototypes ? i can't find anything on the wiki or via google. thanks, simon ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.

Re: MySQL generate SQL problem

2008-11-27 Thread Simon McLean
minor tip: we never use the pre-installed version. i can't remember why now, but we had problems with it. it's much more straightforward to download the latest binary from mysql. make sure your connection dictionary looks like this: url: jdbc:mysql://127.0.0.1/yourdb? capitalizeTypeNames=tr

Re: capistrano deployments w/ wo

2008-11-18 Thread Simon McLean
Wow, thanks for this. Capistrano looks fantastic. Going to have a play with this tonight... Simon On 18 Nov 2008, at 11:46, Michael Bushkov wrote: Hi, I've posted some initial information here: http://wiki.objectstyle.org/confluence/display/WO/Web+Applications-Deployment-Capistrano+%28Overvie

Re: Pushing for WebObjects?

2008-11-14 Thread Simon McLean
it runs the itunes music store it runs me.com it runs the jesusphone app store it runs the apple store i get the feeling they are pretty committed to it. Simon On 14 Nov 2008, at 14:35, Timothy Reaves wrote: I'm trying to convince our development staff to drop our proprietary dev stack and

Re: SOLVED: Zombie sessions

2008-10-23 Thread Simon McLean
Blimey, this has taken me weeks to figure out... We've been plagued with zombie sessions for weeks on a couple of production apps. One, for example, is used by a team of 5 people who sign on in the morning and out in the evening, by which time the app is busy running 300+ sessions! Anyway

Re: SOLVED: Zombie sessions

2008-10-22 Thread Simon McLean
That is kind of how i found it in the end - log a fatal each time a session is created with a full stack trace and then trawl through them looking for something strange. Simon On 22 Oct 2008, at 19:18, Chuck Hill wrote: We aren't calling this method, so I'm trying to understand other ways

SOLVED: Zombie sessions

2008-10-22 Thread Simon McLean
Blimey, this has taken me weeks to figure out... We've been plagued with zombie sessions for weeks on a couple of production apps. One, for example, is used by a team of 5 people who sign on in the morning and out in the evening, by which time the app is busy running 300+ sessions! Anyway

OT: Nextstep... Oldie but goody

2008-10-10 Thread Simon McLean
did you see this related movie ? fascinating stuff... http://uk.youtube.com/watch?v=k_CSRoA0MkA&feature=related On 10 Oct 2008, at 20:18, Gino Pacitti wrote: http://uk.youtube.com/watch?v=j02b8Fuz73A&feature=related ___ Do not post admin requests

Re: MySQL and Generate SQL, and inline bindings problems

2008-10-10 Thread Simon McLean
Yep, I've been living with it - or lumping it really. I started having a look at porting the postgresql plugin a few weeks back but got bored -- er distracted by work. Anyone willing to collaborate on this? I'd be interested in helping out. I can certainly help on the testing front. happ

Confusing lock error solved, but now a restoreSessionWithID lock issue

2008-10-09 Thread Simon McLean
Hi All - I found a localInstanceOf in a long response, whose removal seems to have got rid of a pile of ec errors. I've still got one though. The stack trace is below, but the problem looks like a locked thread trying to restore a session here: com .webobjects .appserver.WOApplication.r

Re: Confusing locking error

2008-10-08 Thread Simon McLean
Hi Mike - TrainSearchLongResponsePage actually does extend ERXWOLongResponsePage. So i guess i can take out the manual locking and just let wonder do it's stuff there. Maybe the manual locking is getting in the way of the auto locking, or vice versa ? Simon On 8 Oct 2008, at 16:33, Mike

Confusing locking error

2008-10-08 Thread Simon McLean
Hi All - We have a problem with sessions locking up, so I turned on the screaming editing context to see if that highlighted any problems. Anyway, the trace below has really confused me. I've bolded the lines that are of interest. It's saying that it attempted to lock an editing context i

Re: mysql AUTO_INCREMENT

2008-10-04 Thread Simon McLean
if you have to get WO to work with an auto increment column then i wouldn't have thought changing DB is going to help you much ? i wouldn't recommend tinkering with how WO does it's PK stuff. it's more than likely going to be less pain to change the PHP apps. maybe look at stored procedures

Re: Apple dropping WO from own sites

2008-10-03 Thread Simon McLean
I believe WO still sits underneath me.com. There is just a fancy sproutcore UI on the front of it. Simon On 3 Oct 2008, at 15:13, Alexander Spohr wrote: (Sorry if this was already on the list.) Why did Apple drop WO from the shop? .mac has already dropped WO as me.com is something else. An

Re: Cappuccino

2008-09-05 Thread Simon McLean
All this excitement, but it's just no good for me. I HATE coffee. How about a Twinnings framework - now that would get me excited. Preferably Early Grey. :-) On 5 Sep 2008, at 21:52, Florijan Stamenkovic wrote: Uhm, I've taken a peek at the API. Seems to have some interesting stuff in the

Re: Use of finalize methods in WO

2008-08-21 Thread Simon McLean
Oh dear It looks like Nilton has one of those embarrassing conversations coming where you have to some how politely point out to a paying client that they are in fact being a dick. Ah, just tell them they are a bunch of ignorant bog trotters! ;-) Well, OK ... seriously ... isn't that what

Re: A little hint

2008-08-21 Thread Simon McLean
Hi Guido - If we need to set a property and make absolutely sure that it doesn't get replaced by another framework, or even the application itself, we put it in WebObjects.properties. If i remember correctly, the WebObjects.properties are always the very last properties to be read in, so

Re: Immortal sessions in production

2008-08-20 Thread Simon McLean
So what could be going on ? Deadlocks somewhere? Something appears to be creating immortal sessions, but forced session termination (by the user logging out) and session expiration seem to be behaving themselves. Can you get a stacktrace of the app? We had things like that with a deadlock

Immortal sessions in production

2008-08-20 Thread Simon McLean
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 d

Re: CSS background images

2008-08-13 Thread Simon McLean
Ahh. The fluffy bunny. It all becomes clear :-) Simon On 13 Aug 2008, at 18:19, Mike Schrag wrote: See Also: http://webobjects.mdimension.com/wonder/Anjo.jpg ms ___ Do not post admin requests to the list. They will be ignored. Webobjects-

Re: Parse URL

2008-07-28 Thread Simon McLean
apache mod_rewrite is your friend So in your site config for 127.0.0.1 www.adminpage.com do something like RewriteCond %{HTTP_HOST} ^adminpage\.com$ [NC] RewriteCond %{REQUEST_URI} ^/$ RewriteRule ^/(.*) http://www.adminpage.com/cgi-bin/WebObjects/YourApp.woa/wa/DirectAction/daThatRetu

Re: WO5.4 app deployed on Tiger: SSL Problem

2008-07-28 Thread Simon McLean
this doesn't sound like a code problem at all - more like an apache config problem. it sounds to me like you don't have the SSL port open, or you don't have an SSL web site configured for that domain. first of all just make sure you can connect to https://gamp.murdoch.edu.au i'm guessing you

Re: generics fun

2008-07-21 Thread Simon McLean
one of the things that frustrates me about generics is working with collections. Just that one? Generics are the worst thing since Windows 3.11 ... I try to keep my code clean and add generics where they make sense but I hate them. There is absolutely NO GAIN in using them, just annoyance

Re: processing incoming e-mails

2008-07-14 Thread Simon McLean
http://james.apache.org/ On 15 Jul 2008, at 01:02, Michael DeMan wrote: Hi, I was wondering if anybody could recommend an open source package for processing incoming e-mails. Basically, we need a way to receive an e-mail body (the mail server by piping it directly into a java app on STDI

Re: pageWithName

2008-06-21 Thread Simon McLean
you should do pageWithName(MyPageClass.class.getName()); if anything, because then it will be "seen" by all the refactoring tools in eclipse. So change the page name, move it to a different package etc. and you can confidently expect refactor to get it right. the compiler will also pick up

Re: Migrating a WO app from Oracle to Frontbase

2008-06-18 Thread Simon McLean
Checkout javaeoutil. should be in the dev tools somewhere. Simon On 18 Jun 2008, at 13:53, Ralph Scheuer wrote: Hello everybody, sorry for cross-posting this but the topic somehow fits into both lists. I would like to migrate a WebObjects 5.2 application from an Oracle 9 db on Solaris

Re: [Wonder-disc] SproutCore and WO?

2008-06-16 Thread Simon McLean
I believe you interact using JSON and JSON-RPC. I believe Andrew Lindsay's LEWOStuff framework has code to do that type of thing. I took a look at the Sproutcore stuff, and even installed it. More details on backend web service development assume RoR, but in the end, its just JSON-RPC. So,

Re: Sparklines?

2008-06-16 Thread Simon McLean
Hi Alex - I've been doing some work on a WO framework that implements Googles chart API. This API includes sparklines, but i've not got that bid done yet. It's seriously easily to work with though so might be worth you starting there. http://code.google.com/apis/chart/ http://code.goog

Re: NSTimestamp problem

2008-06-15 Thread Simon McLean
time zone. Europe / London is currently in BST which is 1 hour ahead of GMT. i think if you also print out GregorianCalendar.HOUR_OF_DAY you'll find it's = 11, not 12, because it's using GMT. depending on what you are trying to achieve you may find it easier to work everything at GMT rath

Re: ERJavamail bug ?? - [SOLVED]

2008-06-13 Thread Simon McLean
nice chilled Hoegaarden Simon On 13 Jun 2008, at 23:40, Chuck Hill wrote: On Jun 13, 2008, at 3:26 PM, Simon McLean wrote: hi mike - for education purposes: is ApplicationWillFinishLaunching a wonder- only notification ? After posting my thoughts to Amed i did wonder whether a

Re: ERJavamail bug ?? - [SOLVED]

2008-06-13 Thread Simon McLean
it to ERXAjaxApplication following a tutorial for Ajax applications in the wonder blog, may be the tutorial was outdated, or I made some mistakes. However now all works fine. Thank you Amedeo :) On 13/giu/08, at 12:43, Simon McLean wrote: Hi Amed - I've done some more digging on this. Like I s

Re: ERJavamail bug ?? - ApplicationWillFinishLaunching isn't called

2008-06-13 Thread Simon McLean
dingForAllLanguages("UTF8"); ERJavaMail.sharedInstance().initializeFrameworkFromSystemProperties(); } } Amed On 12/giu/08, at 14:07, Simon McLean wrote: so does you Application class subclass ERXAjaxApplication ? if so then that's the problem. You need to subclass ERXApplication (which i

Re: ERJavamail bug ?? - TEMPORARY SOLVED BUT NEED INVESTIGATING

2008-06-12 Thread Simon McLean
pplication. Thank you all Regards Amedeo On 12/giu/08, at 12:54, Simon McLean wrote: it is a wonder app (are you subclassing ERXApplication / ERXSession etc) ? if you are then you can create a properties file in your user directory called WebObjects.properties (/users/simon/ WebObjects.prop

Re: ERJavamail bug ??

2008-06-12 Thread Simon McLean
es --- OK i have set er.javamail.centralize = false or in the framework properties -- OK, er.javamail.centralize = false suggestion?? Thanks Regards Amedeo On 11/giu/08, at 23:25, Simon McLean wrote: Strange... The ERJavaMail shared instance can't see your properties. Are you running

Re: The "Mobile me" web apps

2008-06-11 Thread Simon McLean
On 12 Jun 2008, at 00:22, Chuck Hill wrote: Anyways, I'm just so curious if Apple is using the wonderful Ajax frameworks shown at WOWODC or if they are using their own stuff. Mobile Me is based on an open source JavaScript library. I don't recall which one. The Mobile Me codebase is obvi

Re: ERJavamail bug ??

2008-06-11 Thread Simon McLean
System.out.println("Error sending mail to esagono"); emailSent = false; } On 11/giu/08, at 20:50, Simon McLean wrote: Can you post the actual code ? Simon On 11 Jun 2008, at 19:00, Amedeo Mantica wrote: Hi Simon, it's very strange! The value i

Re: ERJavamail bug ??

2008-06-11 Thread Simon McLean
Can you post the actual code ? Simon On 11 Jun 2008, at 19:00, Amedeo Mantica wrote: Hi Simon, it's very strange! The value is not null !, is exactly the value i put on the properties file! Regards Amedeo On 11/giu/08, at 16:58, Simon McLean wrote: Are you sure that property i

Re: ERJavamail bug ??

2008-06-11 Thread Simon McLean
Are you sure that property is not getting overridden somewhere else (like from the default wonder properties) ? just before your exception do a: log.debug("My admin email = "+System.getProperty("er.javamail.adminEmail")); and check it's value. i bet it's null, in which case do a full text

Re: Fluffy Bunny + Re: WebObjects Nightly Builds and WOLips addition

2008-06-11 Thread Simon McLean
Hi George - Please someone will correct me if i'm wrong, but i believe it's all in the build.xml file:- FBL just implies how the build process locates your resources, web server resources etc. So when using FBL anything in a /Resources is added to resources, anything in /WebServerResource

Re: WebObjects Nightly Builds and WOLips addition

2008-06-10 Thread Simon McLean
Bloody hell! When did hell freeze over ? Simon On 10 Jun 2008, at 18:36, Mark Ritchie wrote: Hi Everyone! WebObjects Nightly Builds are now available on the ADC site. WOLips has been extended to be able to build WOF apps against the nightly builds. We have it on good authority that this

Re: Entity Modeler + Fetch Specs + null oddness

2008-06-10 Thread Simon McLean
it's definitely fixed because we were hit with this and had to role back our wolips version for a while. the latest nightly builds are fine. Simon On 10 Jun 2008, at 07:12, Mike Schrag wrote: I've started to convert my models form EOModeler to Entity Modeler, and I can't seem to figure some

Re: WO running problem.

2008-06-09 Thread Simon McLean
Forget xCode. Eclipse is your friend:- http://wiki.objectstyle.org/confluence/display/WOL/Tutorials Simon On 9 Jun 2008, at 20:18, Overkill wrote: I have bought his dev tools, and after installing for some reason it won't start. All I got is message "it quitted unexpectedly". I have Leopar

Re: WOOgnl future

2008-06-04 Thread Simon McLean
If Ognl dies I'll probably follow it. Simon On 4 Jun 2008, at 16:48, Don Lindsay wrote: Hello; I have been asked to include WO-Ognl in the installation for WOLips. My concern is, the last release date of Wo Ognl was May of 2006. Is it still an active project? Will it continue to be m

Re: This is very strange for me - need help

2008-05-30 Thread Simon McLean
It's a SQL error so the complaint is from your DB. I would try dropping the contents of your EO PK table and see if it goes away. Simon On 30 May 2008, at 17:38, Amedeo Mantica wrote: I got this error: [2008-5-30 18:31:43 CEST] com.webobjects.eoaccess.EOGeneralAdaptorException: Eval

Re: Tracing GC while stalking an OutOfMemoryError

2008-05-22 Thread Simon McLean
If you are using log4j you can also get it to print out memory usage which can be helpful: # * P is set to be a RollingFileAppender. log4j.appender.P=org.apache.log4j.RollingFileAppender log4j.appender.P.Threshold=WARN log4j.appender.P.File=/Logs/Pattern/log.txt # * Max file size is se

  1   2   3   4   >