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,
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
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
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
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
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.
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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.
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,
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,
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
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
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
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
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:
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
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
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,
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
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
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
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.
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
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.
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.
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
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
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
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
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
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
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
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
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
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
-
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
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
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
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
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
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.
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
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
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
# 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
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
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
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
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
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.
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
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
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
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
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
72 matches
Mail list logo