Re: No template found for component Main

2015-03-02 Thread Chuck Hill
It sounds like it is not able to find the bundle resources. The problem is more likely to be with your launch configuration than with the project files. Check the configuration in the launcher and compare to something that is working. Chuck On 2015-03-02, 12:22 PM, "Calven Eggert" wrote: n

Re: No template found for component Main

2015-03-02 Thread Calven Eggert
could this be a hint? In an older message by Johnny Miller his error was this: Jun 11 10:01:07 MauiBanglesSite[53581] DEBUG NSLog - No template found for component KMEmailConcealer at "file:/Users/jlmiller/Documents/workspace2/KMFoundation/build/KMFoundation.framework/". Where mine msg is t

Re: No template found for component Main

2015-03-02 Thread Calven Eggert
new projects work fine in the old workspace. I've even create a new WOComponent and had it called by overriding the PageWithName. It too came up with the same issue. I guess I have to create a new project and import all my files from the old project. Didn't want to do that but If there is no

Re: No template found for component Main

2015-03-02 Thread Theodore Petrosky
I had that same problem and creating a new workspace fixed it. what happens when you create a new project in the new and old workspaces? On Mar 2, 2015, at 2:33 PM, Calven Eggert wrote: > being silly didn't work. :-) > > same result. > > No template found for component Main > > and the bro

Re: No template found for component Main

2015-03-02 Thread Calven Eggert
being silly didn't work. :-) same result. No template found for component Main and the browser page is blank. :-( On 2015-03-02, at 10:08 AM, Theodore Petrosky wrote: > be silly, create a new workspace, then import this project into the new > workspace. see what happens. > > > > On Mar 2,

Re: No template found for component Main

2015-03-02 Thread Calven Eggert
>Date: Mon, 02 Mar 2015 16:24:48 +0100 >From: Bogdan Zlatanov >To: webobjects-dev@lists.apple.com >Subject: Re: No template found for component Main >Message-ID: <54f480c0.6070...@gmail.com> >Content-Type: text/plain; charset="utf-8"; Format="flowed" >See if Main.wo is in your Eclipse build folde

work-around: The JDBC driver does not show columns of some tables

2015-03-02 Thread OC
Just in case someone sooner or later bumps into the same problem -- this still does not work, but meantime I've found work-around, based on extremely ugly and completely unportable fetches like select t0."COLUMN_NAME" from information_schema.columns t0, information_schema.tables t1 where t1."TA

Re: global EO representant / locking on EO?

2015-03-02 Thread OC
Ramsey, On 2. 3. 2015, at 17:37, Ramsey Gurley wrote: > What you are asking about is the EC that shall not be named. Nobody uses it. > It’s the bane of WO’s existence. Usage of this EC encourages what I once > heard referred to as the “EO Constant idiot pattern.” It causes strange > errors th

Re: global EO representant / locking on EO?

2015-03-02 Thread Chuck Hill
On 2015-03-02, 3:39 AM, "OC" wrote: Bogdan, On 2. 3. 2015, at 12:05, Bogdan Zlatanov mailto:bogdan.zlata...@gmail.com>> wrote: ERXGenericRecord has permanentGlobalID() which returns a EOKeyGlobalID that might give you the unique instance you want. Aha... is that guaranteed? That would be ea

Re: global EO representant / locking on EO?

2015-03-02 Thread Chuck Hill
No, there is nothing like that, except for the shared EC that Ramsey mentioned. Chuck On 2015-03-02, 1:39 AM, "OC" wrote: Hello there, is there an object whose _instance_ (not just value like it seems to be with the global ID) would consistently represent one EO, regardless the EC in which t

Re: efficient copy?

2015-03-02 Thread Chuck Hill
Hi, On 2015-03-01, 7:51 AM, "OC" wrote: Hello there, I'll need to copy thousands of objects from one table to another; the copying'll be almost verbatim, but for a relationship. Namely, entity OldAuction <->> OldRecord (relationships records->> and inverse <-auction) entity NewAuction <->> Ne

Re: WOInstaller.jar crashes

2015-03-02 Thread Ramsey Gurley
Yeah. Works for me™ too. botulism:~ rgurley$ cd /tmp botulism:tmp rgurley$ curl -O http://wocommunity.org/tools/WOInstaller.jar % Total% Received % Xferd Average Speed TimeTime Time Current Dload Upload Total SpentLeft Speed 100 175k 1

Re: order of INSERTs

2015-03-02 Thread Ramsey Gurley
Blind chance. Use deferred constraints. If your DB doesn’t have deferred constraints, you might have some success by adding the following to your properties file com.webobjects.eoaccess.ERXEntityDependencyOrderingDelegate.active=true But that is only if your database is lame and you can’t use d

Re: global EO representant / locking on EO?

2015-03-02 Thread Ramsey Gurley
What you are asking about is the EC that shall not be named. Nobody uses it. It’s the bane of WO’s existence. Usage of this EC encourages what I once heard referred to as the “EO Constant idiot pattern.” It causes strange errors throughout your code and will decimate your concurrent performance.

Re: No template found for component Main

2015-03-02 Thread Bogdan Zlatanov
See if Main.wo is in your Eclipse build folder (usually under build/WOAppName/Contents/Resources). On 02/03/2015 15:56, Calven Eggert wrote: I've put a breakpoint in my Main's constructor and it gets there and it seems to be doing everything there fine. The browser page is blank. How can tha

Re: No template found for component Main

2015-03-02 Thread Theodore Petrosky
be silly, create a new workspace, then import this project into the new workspace. see what happens. On Mar 2, 2015, at 9:56 AM, Calven Eggert wrote: > I've put a breakpoint in my Main's constructor and it gets there and it seems > to be doing everything there fine. The browser page is blan

Re: No template found for component Main

2015-03-02 Thread Calven Eggert
I've put a breakpoint in my Main's constructor and it gets there and it seems to be doing everything there fine. The browser page is blank. How can that be? I've also done what you have suggested Chuck, but same results. On 2015-02-27, at 5:17 PM, Chuck Hill wrote: > It might be picking up a

order of INSERTs

2015-03-02 Thread OC
Hello there, the order of INSERT adaptor ops, it is essentially random or is there some logic behind? Months ago, on a server the admin added a DB foreign key restraint (immediate not deferrable, alas); since it worked all right, they did not bother to tell me. I do not re-order adaptor ops in

Re: WOInstaller.jar crashes

2015-03-02 Thread Markus Ruggiero
Thanks, that'd be great ---markus--- > On 02.03.2015, at 13:45, Bogdan Zlatanov wrote: > > Hi Markus, > > Never used the WOInstaller, but I built it from Wonder-6.1.1 source on my > machine, ran it and it deployed WO 5.4.3 without any issues. > > Judging by the error that you get I'd say th

Re: WOInstaller.jar crashes

2015-03-02 Thread Bogdan Zlatanov
Hi Markus, Never used the WOInstaller, but I built it from Wonder-6.1.1 source on my machine, ran it and it deployed WO 5.4.3 without any issues. Judging by the error that you get I'd say the DMG got messed up during download. Could be network issues, bad memory... I can send you the WOInst

Re: global EO representant / locking on EO?

2015-03-02 Thread Bogdan Zlatanov
OC, see comments below. On 02/03/2015 12:39, OC wrote: Bogdan, On 2. 3. 2015, at 12:05, Bogdan Zlatanov wrote: ERXGenericRecord has permanentGlobalID() which returns a EOKeyGlobalID that might give you the unique instance you want. Aha... is that guaranteed? That would be easier, but quic

Re: global EO representant / locking on EO?

2015-03-02 Thread OC
Bogdan, On 2. 3. 2015, at 12:05, Bogdan Zlatanov wrote: > ERXGenericRecord has permanentGlobalID() which returns a EOKeyGlobalID that > might give you the unique instance you want. Aha... is that guaranteed? That would be easier, but quickly checking the Wonder sources I got an impression tha

Re: global EO representant / locking on EO?

2015-03-02 Thread Bogdan Zlatanov
Hi again, ERXGenericRecord has permanentGlobalID() which returns a EOKeyGlobalID that might give you the unique instance you want. Is there something that prevents you from isolating the processing code in its own method/class that is called by all threads and is guarded by a lock of your ch

Re: WOInstaller.jar crashes

2015-03-02 Thread Markus Ruggiero
Anyone there who can help me? I am currently under extrem pressure timewise and do not have any time to debug this. But I do need a functioning installer by Thursday. I did try to compile the installer source from the Wonder source distribution. It does work, it does download something, but then

Re: global EO representant / locking on EO?

2015-03-02 Thread Bogdan Zlatanov
This response will not be very helpful, but this sounds like an X-Y problem. Could you elaborate more on what exactly you'd like to achieve? Cheers, Bogdan On 02/03/2015 10:39, OC wrote: Hello there, is there an object whose _instance_ (not just value like it seems to be with the global ID)

global EO representant / locking on EO?

2015-03-02 Thread OC
Hello there, is there an object whose _instance_ (not just value like it seems to be with the global ID) would consistently represent one EO, regardless the EC in which the EO just happens to be? I would need to lock on an EO, but I would need that it worked over all ECs, i.e. === synchronize