Re: [OT] Frontbase Export/Dump

2008-05-12 Thread Guido Neitzer
As long as you stay on FrontBase it is very easy. The only thing to do is to have the files to be imported in the same location because FrontBase stores absolute references in the dump. So, if you dumped to /Library/Databases/dumps/MyDump, you have to create that path on the new machine,

Re: [OT] Moscone center infected?

2008-05-12 Thread Pierre Bernard
I love the food court at the Westfield shopping mall. Yes, WWDC food got worse. Food in San Jose was quite good actually. The first year or 2 in SF we got Jamba Juice, so we could skip a meal or two. Now we get warm food on Monday which is quite OK. The rest of the week we get only

Inner Classes EOF

2008-05-12 Thread David Avendasora
Hi all, Is it possible to use Inner Classes inside EOs? Since they are Inner, are they automatically in the same EditingContext as the EO they are inside of? I would think so, but I just want to make sure. Thanks, Dave ___ Do not post admin

fckeditor and DirectConnect

2008-05-12 Thread Helmut Schottmüller
Hi, maybe very stupid but when I try to integrate the fckeditor with DirectConnect, I have problems to set the oFCKeditor.BasePath property. How can I retrieve a working path from my WebServerResources directory? urlForResourceNamed seems to work on files only... Regards, Helmut

Re: [OT] Frontbase Export/Dump

2008-05-12 Thread Daniele Corti
Hi List, I'm trying to migrate a DB from remote to my pc using ERXJDBCUtilities._copyDatabaseDefinedByEOModelAndConnectionDictionaryToDatabaseWithConnectionDictionary but I'm getting this error ERROR er.extensions.ERXJDBCUtilities - could not commit destCon java.sql.SQLException: Syntax error

Re: [OT] Frontbase Export/Dump

2008-05-12 Thread Mike Schrag
5.5.5 Export Into Flat-Files FrontBase can export an entire database, schema definitions and contents, into flat files in ASCII format from which a database can later be rebuilt. Two purposes of the flat-file export/import functionality are: 1. Backup and Restore of a database in ASCII form.

Re: [OT] Frontbase Export/Dump

2008-05-12 Thread Mike Schrag
sourceDict.setObjectForKey(Boolean.TRUE.toString(), quote); destDict.setObjectForKey(Boolean.FALSE.toString(), quote); Why did you turn on quoting on one and turn it off on the other? I think FB wants this to be true. ms ___ Do

Re: [OT] Frontbase Export/Dump

2008-05-12 Thread Mike Schrag
ERROR er.extensions.ERXJDBCUtilities - could not commit destCon java.sql.SQLException: Semantic error 116. Referenced TABLE - _SYSTEM.GWS_ACTIVATION - does not exist. at com .frontbase .jdbc.FBJErrorMetaData.errorMessageAtIndex(FBJErrorMetaData.java:162) Only half-read that message

Re: [OT] Frontbase Export/Dump

2008-05-12 Thread Daniele Corti
2008/5/12 Mike Schrag [EMAIL PROTECTED]: ERROR er.extensions.ERXJDBCUtilities - could not commit destCon java.sql.SQLException: Semantic error 116. Referenced TABLE - _SYSTEM.GWS_ACTIVATION - does not exist. at

Re: [OT] Frontbase Export/Dump

2008-05-12 Thread Mike Schrag
of course, the TABLE exits, but now I start to think that something of really problematic occurs using FrontBase under leopard, I say this because I cannot imports backups made on others machines on my leoparded iMac, when on other Tiger machines it work without problems. Does the table

Re: [OT] Frontbase Export/Dump

2008-05-12 Thread Daniele Corti
2008/5/12 Mike Schrag [EMAIL PROTECTED]: of course, the TABLE exits, but now I start to think that something of really problematic occurs using FrontBase under leopard, I say this because I cannot imports backups made on others machines on my leoparded iMac, when on other Tiger machines it

Re: [OT] Frontbase Export/Dump

2008-05-12 Thread Mike Schrag
Are your Tiger machines PPC and your iMac Intel? FB backups are endian-sensitive. my two servers are PPC, my iMac Intel... So yeah, you can't restore a backup on Intel that was created on PPC because of endianness differences. ms ___ Do not

Re: [OT] Frontbase Export/Dump

2008-05-12 Thread Daniele Corti
2008/5/12 Mike Schrag [EMAIL PROTECTED]: Are your Tiger machines PPC and your iMac Intel? FB backups are endian-sensitive. my two servers are PPC, my iMac Intel... So yeah, you can't restore a backup on Intel that was created on PPC because of endianness differences. D'ho, thank you

Re: [OT] Frontbase Export/Dump

2008-05-12 Thread Mike Schrag
D'ho, thank you mike... I passed half friday on this... I typically use the write all output way to get a copy into development ... This is not a valid backup/restore method (I believe it's not transactionally safe like write backup is), but as a second- level-of-defense backup, it's better

Re: [OT] Frontbase Export/Dump

2008-05-12 Thread Daniele Corti
2008/5/12 Mike Schrag [EMAIL PROTECTED]: D'ho, thank you mike... I passed half friday on this... I typically use the write all output way to get a copy into development ... This is not a valid backup/restore method (I believe it's not transactionally safe like write backup is), but as a

Re: [OT] Frontbase Export/Dump

2008-05-12 Thread Mike Schrag
The Frontbase site is not available right now, so I figured I'd turn here for help... Does anyone know how to dump data out of one FB database for use in another? The FB website is back up now, btw. ms ___ Do not post admin requests to the

Re: [OT] Frontbase Export/Dump

2008-05-12 Thread Mike Schrag
I was thinking also about it, but when I tried to use I get: Exception 377. Deprecated API, is no longer supported. Exception 363. Transaction rollback. What version are you using? I'm on the latest build (4.2.8) and it works fine ... What is the exact command you are using? ms

Re: [OT] Frontbase Export/Dump

2008-05-12 Thread Daniele Corti
2008/5/12 Mike Schrag [EMAIL PROTECTED]: I was thinking also about it, but when I tried to use I get: Exception 377. Deprecated API, is no longer supported. Exception 363. Transaction rollback. What version are you using? I'm on the latest build (4.2.8) and it works fine ... What is

Re: [OT] Frontbase Export/Dump

2008-05-12 Thread Daniele Corti
2008/5/12 Daniele Corti [EMAIL PROTECTED]: 2008/5/12 Mike Schrag [EMAIL PROTECTED]: I was thinking also about it, but when I tried to use I get: Exception 377. Deprecated API, is no longer supported. Exception 363. Transaction rollback. What version are you using? I'm on

Re: [OT] Frontbase Export/Dump

2008-05-12 Thread Mike Schrag
After setted up connection to DB i write: WRITE ALL OUTPUT('/Volumes/DATA/Progetti/WebObjects/GWSupport/ Database/'); Yeah, this is the wrong syntax ... write all output(dir='/path/to/export/dir', type = 'FrontBase', content=true); ms ___ Do

Re: [OT] Frontbase Export/Dump

2008-05-12 Thread Daniele Corti
2008/5/12 Mike Schrag [EMAIL PROTECTED]: After setted up connection to DB i write: WRITE ALL OUTPUT('/Volumes/DATA/Progetti/WebObjects/GWSupport/Database/'); Yeah, this is the wrong syntax ... write all output(dir='/path/to/export/dir', type = 'FrontBase', content=true); WOW, It

Re: [OT] Frontbase Export/Dump

2008-05-12 Thread Mike Schrag
WOW, It works perfectly, THANK YOU Mike! read back in this thread (actually guido pointed it out before i did i noticed) about restrictions on restoring ... and I will reiterate that FrontBase does not recommend this method as a valid backup/restore procedure -- you still need to do write

Re: [OT] Frontbase Export/Dump

2008-05-12 Thread Daniele Corti
2008/5/12 Mike Schrag [EMAIL PROTECTED]: WOW, It works perfectly, THANK YOU Mike! read back in this thread (actually guido pointed it out before i did i noticed) about restrictions on restoring ... and I will reiterate that FrontBase does not recommend this method as a valid backup/restore

Migration and use of ERXJDBCUtilities.executeUpdate

2008-05-12 Thread Helmut Schottmüller
Hi, I tried so set some default data into my tables in my migration classes using ERXJDBCUtilities.executeUpdate(database.adaptorChannel(), INSERT INTO ...) like in the screencast example David LeBer provided (thanks David for these magnificent screencasts). My problem is that I am

Re: Migration and use of ERXJDBCUtilities.executeUpdate

2008-05-12 Thread Mike Schrag
which indicates that the primary key has already been used. Is it a bad practice to use the standard EO way to create my datasets in migration e.g. User user = new User(); ec.insertObject(user); user.set... ... ec.saveChanges(); This would set the correct PK's and then everything works fine.

Re: Versioning ... CVS or Subversion?

2008-05-12 Thread Jean-François Veillette
Le 08-05-11 à 15:50, Gennady Kushnir a écrit : Thank you all for your opinions. I see all hands are for SVN except built in Eclipse integration. Count me as one hand down for cvs/svn ... mainly for its tag/ branching model. Count me as a Git happy user ! Maybe I should have used google,

Re: Versioning ... CVS or Subversion?

2008-05-12 Thread Mike Schrag
Do not base your decision based on the quality of the interface, but based on the quality of the model. If the model fit yours, then it's a fit for you. I doubt cvs/svn will be a fit for you based on your distributed / disconnected nature of your workflow. I will say that git is very cool,

Re: Versioning ... CVS or Subversion?

2008-05-12 Thread Jean-François Veillette
I do agree, though, that your partial disconnectedness makes CVS/ SVN a bit of a tougher workflow. However, I would be nervous of turning you off to version control by going to git out of the gates (Brought to you by the Makers of the Linux Kernel :) ). It matters far more that you use

Re: fckeditor and DirectConnect

2008-05-12 Thread Gordon Belray
Hi Helmut, you can try putting moving it to your WebServer and passing in a base url instead, e.g. http://localhost/FCKEdtior. Gordon On 12-May-08, at 5:09 AM, Helmut Schottmüller wrote: Hi, maybe very stupid but when I try to integrate the fckeditor with DirectConnect, I have problems

Re: Migration and use of ERXJDBCUtilities.executeUpdate

2008-05-12 Thread Helmut Schottmüller
Hi Mike, thanks a lot for that hint. I will try this instantly. Best regards, Helmut Am 12.05.2008 um 15:52 schrieb Mike Schrag: which indicates that the primary key has already been used. Is it a bad practice to use the standard EO way to create my datasets in migration e.g. User user

Re: fckeditor and DirectConnect

2008-05-12 Thread Helmut Schottmüller
Hi Gordon, thanks. I know that. But I am curious how it is possible to set a javascript path in a DirectConnect application. Maybe it's not working at all but I doubt that... Best regards, Helmut Am 12.05.2008 um 16:31 schrieb Gordon Belray: Hi Helmut, you can try putting moving it to

Re: Application became sluggish when deployed on 5.4

2008-05-12 Thread George Domurot
Gennady: Have you tried running your app from the command line on your deployment app server? Do this and see if your app is still sluggish. If it isn't, then your app may be fine, and you can focus on your deployment environment. -George On May 11, 2008, at 2:27 PM, Lachlan Deck wrote:

Re: [OT] Moscone center infected?

2008-05-12 Thread Ken Anderson
The food in San Jose was so much better, it isn't even funny... On May 11, 2008, at 9:18 PM, David LeBer wrote: On 11-May-08, at 9:14 PM, Miguel Arroz wrote: Hi! Is there any reason to do so, besides the fact that it's already payed? :) Sometimes you meet interesting people in the

Re: Inner Classes EOF

2008-05-12 Thread Chuck Hill
On May 12, 2008, at 1:34 AM, David Avendasora wrote: Hi all, Is it possible to use Inner Classes inside EOs? Since they are Inner, are they automatically in the same EditingContext as the EO they are inside of? I would think so, but I just want to make sure. It would probably have

Re: Connection pooling + WebObjects

2008-05-12 Thread Chuck Hill
On May 11, 2008, at 8:45 PM, Shravan Kumar.M wrote: Hello Group, Can any one advise me what is the difference between : * Deploying Multiple Instances of a WebObjects application from deploying a WebObjects application with Connection pooling configured. i.e., I have a WebObjects app,

Re: [OT] Frontbase Export/Dump

2008-05-12 Thread Chuck Hill
On May 11, 2008, at 11:18 PM, Guido Neitzer wrote: As long as you stay on FrontBase it is very easy. The only thing to do is to have the files to be imported in the same location because FrontBase stores absolute references in the dump. So, if you dumped to

Re: one step closer

2008-05-12 Thread Chuck Hill
On May 10, 2008, at 9:51 AM, Jaime Magiera wrote: Ok, I've finally gotten to the point of at least being able to launch my app from the command line successfully. Thanks for the help. Now, there are a few errors/warnings of concern, and the app fails when I try to load components that use

Re: What can we legally zip up and distribute?

2008-05-12 Thread Chuck Hill
On May 10, 2008, at 10:52 AM, Mike Schrag wrote: I got bored and decided to make an executable jar of your installation process: I am so very happy that the cure for your boredom is not bomb making or serial killing. :-P Chuck -- Practical WebObjects - for developers who want to

Re: [OT] Frontbase Export/Dump

2008-05-12 Thread Gaastra Dennis - WO Lists
Hi Mike, But what if you have to migrate from a PPC deployment to an Intel deployment? Isn't this the only valid way to migrate correctly; or are we missing something? Thanks. With Kind Regards, Dennis Gaastra, M.B.A.[sfu.ca], B.Sc.[ubc.ca] Chief Technology Officer, WEBAPPZ Systems, Inc.

Re: Connection pooling + WebObjects

2008-05-12 Thread Mike Schrag
Can any one advise me what is the difference between : * Deploying Multiple Instances of a WebObjects application from deploying a WebObjects application with Connection pooling configured. i.e., I have a WebObjects app, now I will deploy this app with 5 instances (or) I configure my

Re: Connection pooling + WebObjects

2008-05-12 Thread Mike Schrag
Personally, I would only use connection pooling in combination with multiple instances. Chuck and I disagree here :) In retrospect, I don't disagree ... I think I see what Chuck is saying, which is I think basically what I'm saying, too. Connection pool gives you scale without resilience.

Re: Connection pooling + WebObjects

2008-05-12 Thread Chuck Hill
On May 12, 2008, at 10:13 AM, Mike Schrag wrote: Personally, I would only use connection pooling in combination with multiple instances. Chuck and I disagree here :) In retrospect, I don't disagree ... I think I see what Chuck is saying, which is I think basically what I'm saying, too.

Re: [OT] Frontbase Export/Dump

2008-05-12 Thread Kieran Kelleher
This is one thing that is easy in mysql on command line # To dump a database to a SQL file $ mysqldump mydatabase mydatabasedump.sql # To import a database form an SQL file $ mysql myremotedatabase mydatabasedump.sql Surely FrontBase can just dump a SQL file with all the SQL statements

Re: Connection pooling + WebObjects

2008-05-12 Thread Chuck Hill
On May 12, 2008, at 10:11 AM, Mike Schrag wrote: Can any one advise me what is the difference between : * Deploying Multiple Instances of a WebObjects application from deploying a WebObjects application with Connection pooling configured. i.e., I have a WebObjects app, now I will deploy

Re: [OT] Frontbase Export/Dump

2008-05-12 Thread Chuck Hill
On May 12, 2008, at 9:53 AM, Gaastra Dennis - WO Lists wrote: Hi Mike, But what if you have to migrate from a PPC deployment to an Intel deployment? Isn't this the only valid way to migrate correctly; or are we missing something? Thanks. Yes, it is how to _migrate_ the data. But for

Re: Connection pooling + WebObjects

2008-05-12 Thread Miguel Arroz
Hi! For all the reasons other people presented, I believe the way to scalability is, in most cases, multiple instances. That doesn't mean you shouldn't use connection pooling: I think both techniques complement each other, they are not mutually exclusive. I use connection pooling

Re: Inner Classes EOF

2008-05-12 Thread David Avendasora
Yeah, it's giving me a queasy feeling too. Mix it in with Java Client and it gets even more nauseating. The basics of what I'm trying to do is I have Parts that each have at least one BillOfMaterial Each BillOfMaterial has 0 or more Components. These Components are each a certain quantity

Re: [OT] Moscone center infected?

2008-05-12 Thread David den Boer
Well, the food at JavaOne was about 1% better than WWDC food, and served in bio-degradable dishes, so that deals somewhat with the waste issue. San Jose food in the 90's was so far beyond what they call food now. One thing that San Jose WWDC's had over the current ones is that there were

Re: Versioning ... CVS or Subversion?

2008-05-12 Thread Gennady Kushnir
Hello All. I'm very grateful for your comments. They are very useful and give very interesting information for final choice. I think I'll get unto it as soon as I have time for learning - I think in a few weeks. And I'll make my final decision then. Good integration is quite important for me, but

Re: Versioning ... CVS or Subversion?

2008-05-12 Thread Chuck Hill
On May 12, 2008, at 12:23 PM, Gennady Kushnir wrote: P.S. For those who are stunned about lacking internet on the workplace of web-developer =) My web development is not done for them - they don't care about it (so they won't implement repository for me in LAN). They don't much care about my

Re: Inner Classes EOF

2008-05-12 Thread Chuck Hill
On May 12, 2008, at 10:03 AM, David Avendasora wrote: Yeah, it's giving me a queasy feeling too. Mix it in with Java Client and it gets even more nauseating. The basics of what I'm trying to do is I have Parts that each have at least one BillOfMaterial Each BillOfMaterial has 0 or more

[Meeting] Chicago CocoaHeads / CAWUG - More WO development with Eclipse

2008-05-12 Thread Bob Frank
Hi All, The Chicago CocoaHeads / Chicago Cocoa and WebObjects User Group (CAWUG) is holding our next meeting Tuesday, May 13th, at 7:00 PM at the Apple Store on Michigan Ave. Agenda: - Introductions Announcements - Bob on WO development with Eclipse -

Re: [OT] Frontbase Export/Dump

2008-05-12 Thread Mike Schrag
Surely FrontBase can just dump a SQL file with all the SQL statements needs to recreate the database? Doesn't it have a sql command line tool? Maybe there is a terminal command to do an SQL file dump? Yes it does have a commandline tool, but no freaking SQL dump ... #1 rant. Their dump

That dreaded eclipse NPE again

2008-05-12 Thread David den Boer
So I upgraded to leopard on my primary dev machine finally, and am now getting the dreaded eclipse Null Pointer Exception whenever trying to open a project. The error is below. Any pointers are greatly appreciated. java.lang.NullPointerException at org .eclipse .jdt .internal

Re: Connection pooling + WebObjects

2008-05-12 Thread Mike Schrag
I am not sure what you mean by the complications of being in multiple instances. Stack / instance synchronization or not, you still have to handle optimistic locking errors. You have to handle them less frequently if you are synchronizing, but they still have to be handles (or ignored

Re: Connection pooling + WebObjects

2008-05-12 Thread Mike Schrag
I use connection pooling (together with multiple instances) mainly to avoid problems in the way EOF works (as in, locking everything). Optimistic locking in EOF is, IMO, broken by design (http://terminalapp.net/dr-optimistic-locking/ ), so I have to run some critical parts of my code with

Re: That dreaded eclipse NPE again

2008-05-12 Thread Mike Schrag
So I upgraded to leopard on my primary dev machine finally, and am now getting the dreaded eclipse Null Pointer Exception whenever trying to open a project. The error is below. Any pointers are greatly appreciated. java.lang.NullPointerException at org .eclipse .jdt .internal .ui

Re: [OT] Frontbase Export/Dump

2008-05-12 Thread Guido Neitzer
On 12.05.2008, at 10:53, Gaastra Dennis - WO Lists wrote: But what if you have to migrate from a PPC deployment to an Intel deployment? Isn't this the only valid way to migrate correctly; or are we missing something? Thanks. You have to stop your apps if you want to make that a safe task.

Re: Inner Classes EOF

2008-05-12 Thread Chuck Hill
On May 12, 2008, at 1:17 PM, David Avendasora wrote: On May 12, 2008, at 3:33 PM, Chuck Hill wrote: Well, that does not sound so back. JavaClient may throw a spanner into it. Biggest issue is that you can't do the work on the server, then send the EOs containing the Inner Class down

Re: Connection pooling + WebObjects

2008-05-12 Thread Miguel Arroz
Hi! On 2008/05/12, at 21:16, Mike Schrag wrote: For the vast majority of apps, I don't believe people will notice the brokenness, but I do agree that it is broken. The fix, unfortunately may be worse than the brokenness. voice of that irritating guy in SouthparkConcurrency issues are

Re: Connection pooling + WebObjects

2008-05-12 Thread Chuck Hill
On May 12, 2008, at 1:30 PM, Miguel Arroz wrote: I'm not even sure if the core of twitter is Rails or not. But as you say, it doesn't matter. Scaling is a nightmare. Makes me nervous (as almost everything, including concurrency issues, that must be fixed!). Makes goat herding look

Re: [OT] Frontbase Export/Dump

2008-05-12 Thread Mike Schrag
# To dump a database to a SQL file $ mysqldump mydatabase mydatabasedump.sql # To import a database form an SQL file $ mysql myremotedatabase mydatabasedump.sql Out of scientific curiosity, I went digging -- if you're using InnoDB, these appears to not be transactionally safe(much like FB's

Re: Connection pooling + WebObjects

2008-05-12 Thread Andrew Lindesay
Hello Mike; Is this implemented through object store coordinator pooling? I was wondering about that recently. cheers. So anyway, if you're having scaling problems and you want the fastest way to a solution with the least amount of trouble, adding stacks is probably it. If you want

Re: Connection pooling + WebObjects

2008-05-12 Thread Mike Schrag
Is this implemented through object store coordinator pooling? I was wondering about that recently. Yep ... It's actually the same plumbing as multiple instance synchronization, to shuffle the data around with the exception that in local syncing, it can actually inject the snapshots directly

Not going to WOWODC this year?

2008-05-12 Thread Chuck Hill
Hi, Not coming to WOWODC (http://www.wocommunity.org/wowodc08/) this year? Why is that? We had over 80 people at last year's WOWODC, but only 64 have registered so far for this year's conference. There seemed to be a lot of interest at last year's conference in doing it again and

Re: [OT] Frontbase Export/Dump

2008-05-12 Thread Kieran Kelleher
Yes, I did not want to cloud my simple command line example by discussing any of the various and plentiful command line options to mysqldump. http://dev.mysql.com/doc/refman/5.0/en/mysqldump.html So for a live production database, you could use the --single- transaction option for innodb

Re: [OT] Frontbase Export/Dump

2008-05-12 Thread Mike Schrag
I smell a Kieran blog post in the making :) ms On May 12, 2008, at 6:39 PM, Kieran Kelleher wrote: Yes, I did not want to cloud my simple command line example by discussing any of the various and plentiful command line options to mysqldump.

Re: That dreaded eclipse NPE again

2008-05-12 Thread Don Lindsay
Hello; I encountered this, however only with one project, after I upgraded to leopard. I believe I deleted all of the .* directories and .* files in the root workspace and then reopened the workspace and reimported the project into my workspace. This seems to have solved the problem

Re: Connection pooling + WebObjects

2008-05-12 Thread Kieran Kelleher
So if I have Wonder OSC synchronization going on inside a single app and I lock an OSC (in a background long running thread for example), how does that affect the synchronization between it and other OSCs while it is locked? How are snapshots affected in the locked OSC during the lock

Re: Connection pooling + WebObjects

2008-05-12 Thread Mike Schrag
So if I have Wonder OSC synchronization going on inside a single app and I lock an OSC (in a background long running thread for example), how does that affect the synchronization between it and other OSCs while it is locked? How are snapshots affected in the locked OSC during the lock

Re: Connection pooling + WebObjects

2008-05-12 Thread Anjo Krank
Am 12.05.2008 um 19:11 schrieb Mike Schrag: Where multiple instances is really a win is 1) if you DO have a problem in your app instance, you don't bring down the entire app. So multiple instances gives you VM isolation (like an OutOfMemoryError, for instance). Which you are also

Customizing Java class template

2008-05-12 Thread Paul Hoadley
Hello, Is there a straightforward way to customize the Java class stub that is produced by the WOLips Templateengine Plug-in whenever I create a new component? I'd like to add in a few more items of boilerplate to these classes. (I couldn't find any hooks in WOLips preferences, and I