Re: just checking...

2016-04-19 Thread Chuck Hill
Hi, On 2016-04-19, 7:09 AM, "webobjects-dev-bounces+chill=gevityinc@lists.apple.com on behalf of OC" wrote: >Samuel, > >On 19. 4. 2016, at 15:49, Samuel Pelletier wrote: > >>

Re: Issues with ERXArrayUtilities.arrayMinusArray() and arrayMinusObject()

2016-04-15 Thread Chuck Hill
Good catch! It should use removeAll() not remove(). From: > on behalf of Paul Hoadley > Date: Friday, April 15, 2016

Re: Position available, Melbourne, Australia

2016-04-13 Thread Chuck Hill
Clearly that is because you have not moved to Australia yet! Personally, I feel quite tempted. From: > on behalf of Klaus Berkling

Re: NPE on startup from Mavenized project

2016-04-13 Thread Chuck Hill
doing WO-stuff before ERXApplication.main() was executed, a clear >Neddy no no. > >Why the problem appeared only with the mavenization of the project, I have no >idea. > >Thanks for the technical and moral support. > >- hugi > > >> On 13. apr. 2016, at

Re: ERXEOControlUtilities.objectCountForToManyRelationship for new objects fails?

2016-04-13 Thread Chuck Hill
Overriding awakeFromInsertion and not calling super? Chuck Hill Gevity Consulting Inc. Sent from my mobile device. > On Apr 13, 2016, at 11:27 AM, OC <o...@ocs.cz> wrote: > > Thanks both of you. Very weird: always, far as I can recall, even years ago > when in

Re: ERXEOControlUtilities.objectCountForToManyRelationship for new objects fails?

2016-04-13 Thread Chuck Hill
I suspect your code. If it is newly inserted and saved (and even unsaved I think) they should be an empty array, not null. On 2016-04-13, 10:12 AM, "webobjects-dev-bounces+chill=gevityinc@lists.apple.com on behalf of OC"

Re: You backtracked too far?

2016-04-13 Thread Chuck Hill
Try er.extensions.maxPageReplacementCacheSize On 2016-04-13, 8:56 AM, "webobjects-dev-bounces+chill=gevityinc@lists.apple.com on behalf of Hugi Thordarson" wrote: >Thanks Aaron, I’ll try this

Re: Framework resources folder and Maven

2016-04-12 Thread Chuck Hill
It should work. It sounds like the problem is that your business logic framework is not getting built correctly and so not recognized as a framework. pathForResourceNamed is deprecated (in reality if not JavaDoc), use pathURLForResourceNamed instead. But that won’t work unless your framework

Re: WOAdaptor build and test

2016-04-12 Thread Chuck Hill
l -f >App-1 and see the app initializing then can I assume that mod_WebObjects is >working? > >The app is dying at Migration but that’s not what I’m testing right now… > >Paul > >> On Apr 7, 2016, at 2:24 PM, Chuck Hill <ch...@gevityinc.com> wrote: >> >> A

Re: WOAdaptor build and test

2016-04-07 Thread Chuck Hill
Assuming you can access the app, yes. On 2016-04-07, 11:24 AM, "Paul Yu" <p...@mac.com> wrote: >So if I’ve got it compiled and loaded into Apache 2.4 and apachectl -M shows >the module loaded then I should be fine? > >Paul > >> On Apr 7, 2016, at 2:2

Re: WOAdaptor build and test

2016-04-07 Thread Chuck Hill
AM, "Paul Yu" <p...@mac.com> wrote: >Once I have the woadaptor built, how do I know that it is actually working by >itself? > >Paul > >Sent from my iPad > >> On Apr 6, 2016, at 5:43 PM, Chuck Hill <ch...@gevityinc.com> wrote: >> >>

Re: WOAdaptor build and test

2016-04-06 Thread Chuck Hill
Testing? Seriously? :-P If it does not crash, it is tested. Look in the archives for these threads: WebObjects and Apache 2.4 on El Capitan Apache Adaptor on debian:jessie That should get you started. Chuck On 2016-04-06, 11:45 AM,

Re: Extending the “No Instance Available” timeout

2016-04-06 Thread Chuck Hill
or not. That might also be why setting the app up in JavaMonitor is not picking this up either. From: Lon Varscsak <lon.varsc...@gmail.com<mailto:lon.varsc...@gmail.com>> Date: Wednesday, April 6, 2016 at 10:28 AM To: Chuck Hill <ch...@gevityinc.com<mailto:ch...@gevityinc.com>> Cc:

Re: Extending the “No Instance Available” timeout

2016-04-06 Thread Chuck Hill
>> if it does run all right in a different setup, (b) at the very least, you >> should be waiting for the “No Instance Available“ report much, much longer. >> >> Sorry for an extremely dumb question, but is there perhaps any possibility >> you are changing the timeouts of anot

Re: Extending the “No Instance Available” timeout

2016-04-06 Thread Chuck Hill
Receive Timeout is set in JavaMonitor. From: Benjamin Chew <bc...@smarthealth.com<mailto:bc...@smarthealth.com>> Date: Tuesday, April 5, 2016 at 11:52 PM To: Chuck Hill <ch...@gevityinc.com<mailto:ch...@gevityinc.com>> Cc: OC <o...@ocs.cz<mailto:o...@ocs.cz&

Re: Deadlock / stack interpretation

2016-04-05 Thread Chuck Hill
6 at 3:14 PM To: Chuck Hill <ch...@gevityinc.com<mailto:ch...@gevityinc.com>> Cc: WebObjects Dev Apple <webobjects-dev@lists.apple.com<mailto:webobjects-dev@lists.apple.com>> Subject: Re: Deadlock / stack interpretation Thanks Chuck. I have looked at this code. I do sp

Re: Deadlock / stack interpretation

2016-04-05 Thread Chuck Hill
That is a good idea, but that is not the source of the original deadlock as far as I can see. From: Jon Nolan <j...@lochgarman.com<mailto:j...@lochgarman.com>> Date: Tuesday, April 5, 2016 at 3:29 PM To: Mark Wardle <m...@wardle.org<mailto:m...@wardle.org>> Cc: Chuck H

Re: Extending the “No Instance Available” timeout

2016-04-05 Thread Chuck Hill
I assume that you are running the app locally through Apache as that message is from wotaskd. As OC pointed out, the Receive Timeout is what you need to adjust up and up and up. It sounds like latency is what is killing you, I don’t recall how chatty JDBC is but it is probably along the lines

Re: Sad news

2016-04-01 Thread Chuck Hill
scene." A fine man, killed by someone who drank too much and got into a car. My plea to NOT drive after drinking was to everyone else, not directed at François. Chuck From: Philippe Rabier <prab...@icloud.com<mailto:prab...@icloud.com>> Date: Thursday, March 31, 2016 at 10:51

Re: Deadlock / stack interpretation

2016-03-31 Thread Chuck Hill
Hi Mark Found one Java-level deadlock: = "WorkerThread127": waiting for ownable synchronizer 0xec9b7b48, (a java.util.concurrent.locks.ReentrantLock$NonfairSync), which is held by "Thread-5” So this is waiting for an OSC lock: "WorkerThread127": at

Re: Sad news

2016-03-31 Thread Chuck Hill
That is very sad news indeed. If you drink, don’t drive. Please. On 2016-03-31, 11:00 AM, "webobjects-dev-bounces+chill=gevityinc@lists.apple.com on behalf of Gavin Eadie" wrote: >> On Mar 31,

Re: prevent memory drain through sessions?

2016-03-24 Thread Chuck Hill
Moving session IDs to cookies will also open you up to CSRF attacks. :-) On 2016-03-24, 10:21 AM, "webobjects-dev-bounces+chill=gevityinc@lists.apple.com on behalf of OC" wrote: >Hello there, > >one

Re: Performance issue

2016-03-21 Thread Chuck Hill
by advisers to Donald Trump. Maybe. From: Gerald Jones <gerald.jo...@cmehawaii.com<mailto:gerald.jo...@cmehawaii.com>> Date: Monday, March 21, 2016 at 8:20 PM To: Chuck Hill <ch...@gevityinc.com<mailto:ch...@gevityinc.com>>, 'Ken Anderson' <kenli...@anderhome.com<

Re: Performance issue

2016-03-21 Thread Chuck Hill
this is the cause of any performance issues. Chuck From: Gerald Jones <gerald.jo...@cmehawaii.com<mailto:gerald.jo...@cmehawaii.com>> Date: Monday, March 21, 2016 at 8:20 PM To: Chuck Hill <ch...@gevityinc.com<mailto:ch...@gevityinc.com>>, 'Ken Anderson' <kenli...

Re: “undelete”?

2016-03-21 Thread Chuck Hill
that “wherever and >how-ever an EC gets created, it will always be my class”? > >Thanks a lot, >OC > >On 21. 3. 2016, at 21:23, Chuck Hill <ch...@gevityinc.com> wrote: > >> As a first idea, you could make an EC subclass that was able to identify >> these ready

Re: “undelete”?

2016-03-21 Thread Chuck Hill
Revert will revert all changes. Undo will revert a set of changes (the most recent group) but that won’t help unless the most recent group is only the delete action he does not want. On 2016-03-21, 1:23 PM, "webobjects-dev-bounces+chill=gevityinc@lists.apple.com on behalf of Klaus

Re: “undelete”?

2016-03-21 Thread Chuck Hill
As a first idea, you could make an EC subclass that was able to identify these ready only instances and not call super in deleteObject(). Chuck On 2016-03-21, 1:17 PM, "webobjects-dev-bounces+chill=gevityinc@lists.apple.com on behalf of OC"

Re: Quick EOModel Column Locking ?

2016-03-19 Thread Chuck Hill
Hi Jeff, Yes, if a column is not marked as locking, then it won’t appear in the WHERE clause. The danger is that you might save changes that are inconsistent with what the database has stored in the columns that you are not locking on. As a contrived example, consider the update below

Re: Performance issue

2016-03-15 Thread Chuck Hill
And most of those ERXRemoteSynchronizer log messages are pretty far apart (minutes). So I doubt this is what is causing the CPU spike. The next time this happens try attaching a VisualVM (https://visualvm.java.net) or doing several iterations of sudo jstack –F And comparing what the threads

Re: FrontBase SQL: date formatting, „local variable“?

2016-03-11 Thread Chuck Hill
It is supposed to be SQL92 compliant. If standard SQL can’t do it, you might be out of luck. This is not something you can do client-side? Chuck On 2016-03-11, 12:47 PM, "webobjects-dev-bounces+chill=gevityinc@lists.apple.com on behalf of OC"

Re: FrontBase SQL: date formatting, „local variable“?

2016-03-11 Thread Chuck Hill
The message looked fine to me both on my iPhone and in my mail client. On 2016-03-11, 12:52 PM, "webobjects-dev-bounces+chill=gevityinc@lists.apple.com on behalf of Amedeo Mantica" wrote:

Re: (col1,col2) in ((a,b), (c,d), ...)?

2016-03-10 Thread Chuck Hill
Not that I can think of. Time to learn how to write a qualifier! :-) On 2016-03-10, 11:46 AM, "webobjects-dev-bounces+chill=gevityinc@lists.apple.com on behalf of OC" wrote: >Hello there, > >is

Re: Can I force a reload of a database's JDBC info?

2016-03-04 Thread Chuck Hill
That seems safe enough given when you are doing it but is slightly to somewhat more odious than the PlugIn subclass. From: Paul Hoadley <pa...@logicsquad.net<mailto:pa...@logicsquad.net>> Date: Friday, March 4, 2016 at 5:43 PM To: Chuck Hill <ch...@gevityinc.com<mailto:ch...@

Re: Can I force a reload of a database's JDBC info?

2016-03-04 Thread Chuck Hill
. That is probably the cleanest most reliable solution. Chuck From: Paul Hoadley <pa...@logicsquad.net<mailto:pa...@logicsquad.net>> Date: Thursday, March 3, 2016 at 11:01 PM To: Chuck Hill <ch...@gevityinc.com<mailto:ch...@gevityinc.com>> Cc: WebObjects Development <web

Re: Can I force a reload of a database's JDBC info?

2016-03-03 Thread Chuck Hill
day, March 3, 2016 at 10:25 PM To: Chuck Hill <ch...@gevityinc.com<mailto:ch...@gevityinc.com>> Cc: WebObjects Development <webobjects-dev@lists.apple.com<mailto:webobjects-dev@lists.apple.com>> Subject: Re: Can I force a reload of a database's JDBC info? Hi Chuck, On 4 M

Re: Can I force a reload of a database's JDBC info?

2016-03-03 Thread Chuck Hill
at 10:02 PM To: Chuck Hill <ch...@gevityinc.com<mailto:ch...@gevityinc.com>> Cc: WebObjects Development <webobjects-dev@lists.apple.com<mailto:webobjects-dev@lists.apple.com>> Subject: Re: Can I force a reload of a database's JDBC info? On 4 Mar 2016, at 2:45 pm, Chuck

Re: a trick to model a complex derived relationship?

2016-03-03 Thread Chuck Hill
instance to do this processing? Chuck On 2016-03-02, 12:18 PM, "OC" <o...@ocs.cz> wrote: >Chuck, > >On 2. 3. 2016, at 19:32, Chuck Hill <ch...@gevityinc.com> wrote: > >> There is no way to filter/qualify relationships in the model. You could

Re: a trick to model a complex derived relationship?

2016-03-03 Thread Chuck Hill
Hi, On 2016-03-02, 4:30 PM, "OC" wrote: >Chuck, > >On 2. 3. 2016, at 21:18, OC wrote: > >>> Defining additional entities with the appropriate restricting qualifiers >>> for these conditions might possibly work. Then you could define the >>> flattened relationship

Re: Can I force a reload of a database's JDBC info?

2016-03-03 Thread Chuck Hill
You can remove the jdbc2Info key from the connection dictionary(ies) and then call setConnectionDictionary on the adaptor for each model (or just one if they all connect to the same database). Then call JDBCAdaptor.typeInfoModel(EOModel) get get things setup again. That looks like it should

Re: a trick to model a complex derived relationship?

2016-03-02 Thread Chuck Hill
There is no way to filter/qualify relationships in the model. You could model and flatten Auction ->> Users but that is going to include users for whom access is not allowed and non-owner users. Defining additional entities with the appropriate restricting qualifiers for these conditions

Re: Use case for a "case insensitive equals" qualifier

2016-02-24 Thread Chuck Hill
If you always want the comparison to be case insensitive, then you should be able to specify a database collation for the column that is insensitive. Then just just a regular equals qualifier. If you want it case sensitive sometimes and insensitive others, that is a different problem.

Re: raw rows post-processing, (im)mutable?

2016-02-23 Thread Chuck Hill
In theory your more optimized code is relying on an undocumented implementation detail which is bad. The next release of WO could break your code. But as Donald Trump has a better chance of being selected as the next Pope than of Apple making a new WO release it seems safe in actual practice.

Re: import from an external DB

2016-02-23 Thread Chuck Hill
grep -ir jceb * Try that. There is an adaptorName setting in the index.eomodeld file that can be used for this. It forms it as “Java” + adaptorName() + “Adaptor” Chuck On 2016-02-23, 12:41 PM, "webobjects-dev-bounces+chill=gevityinc@lists.apple.com on behalf of OC"

Re: import from an external DB

2016-02-22 Thread Chuck Hill
of each EO. You don’t want to me altering the model in a multi-threaded app while those threads are running. Havoc would result. Chuck On 2016-02-22, 11:30 AM, "OC" <o...@ocs.cz> wrote: >Chuck, > >On 22. 2. 2016, at 19:18, Chuck Hill <ch...@gevityinc.com> w

Re: import from an external DB

2016-02-22 Thread Chuck Hill
It sounds to me like sharing the model would be less effort. Rather than use rawRowsForSQL you can just make regular fetch specs and tell them to fetch raw rows. You might get more data back than you need, but all the join and name translation etc will be handled for you. Chuck On

Re: very old app (no wonder) crashes with _EOGlobalModelLock:java.lang.NoSuchFieldError

2016-02-10 Thread Chuck Hill
Yeah, the WO version you are using does not match what the app was written against: Exception logging in User: com.webobjects.foundation.NSForwardException [java.lang.NoSuchFieldError] _EOGlobalModelLock:java.lang.NoSuchFieldError: _EOGlobalModelLock Caused by: java.lang.NoSuchFieldError:

Re: read-only binding

2016-02-04 Thread Chuck Hill
No, he is talking about a binding in a .wo template. There is no “read only” setting in the API file. I’ve always done the "empty do-nothing setter” thing and documented why in a comment. On 2016-02-04, 1:29 PM, "webobjects-dev-bounces+chill=gevityinc@lists.apple.com on behalf of

Re: Session Timeouts

2016-01-29 Thread Chuck Hill
ary 29, 2016 at 3:13 PM To: Chuck Hill <ch...@gevityinc.com<mailto:ch...@gevityinc.com>>, "gerald.jo...@cmehawaii.com<mailto:gerald.jo...@cmehawaii.com>" <gerald.jo...@cmehawaii.com<mailto:gerald.jo...@cmehawaii.com>>, "webobjects-dev@lists.apple.com

Re: Session Timeouts

2016-01-29 Thread Chuck Hill
each will lead to the last request waiting for30 seconds. Adding more instances in one way of addressing this. Chuck From: Gerald Jones <gerald.jo...@cmehawaii.com<mailto:gerald.jo...@cmehawaii.com>> Date: Friday, January 29, 2016 at 5:18 PM To: Chuck Hill <ch...@gev

Re: Odd NPE from deep inside EOF

2016-01-29 Thread Chuck Hill
sorting the relationship but I’d guess that to be a co-incidence. I don’t think are you going to find the cause in either of these bits of code. Chuck From: Mark Wardle <m...@wardle.org<mailto:m...@wardle.org>> Date: Friday, January 29, 2016 at 1:33 PM To: Chuck Hill <ch...@gevityin

Re: Session Timeouts

2016-01-29 Thread Chuck Hill
Hi Gerald, I suspect that what you are seeing is not a true session timeout. First, some questions. How long does it take to process these updates and inserts? How long after clicking submit does the session timeout message appear? Are you running with concurrent dispatch enabled? How loaded

Re: Odd NPE from deep inside EOF

2016-01-28 Thread Chuck Hill
That is nasty. While processing this fetch, a snapshot is going missing. I don’t think we can tell anything else from that stack trace. It is likely that the cause of this missing snapshot is in another concurrently executing thread. And it is likely related to an error in snapshot

Re: Instance becomes unresponsive after 12 hours

2016-01-27 Thread Chuck Hill
Hi Maik, The snapshots are purged from the cache when an EC is disposed if no other EO in another EC is still referencing them. That is, disposing will decrement the reference count for the snapshot of the EOs in the EC. That should happen automatically when the page is garbage collecting,

Re: Instance becomes unresponsive after 12 hours

2016-01-26 Thread Chuck Hill
Hi Maik, I will guess that the answer to the following is No as you said if you restart the apps at 3PM the problem does not a happen. Could it be something other than garbage collection? I’ve seen a similar problem when someone installed backup software that ran during business hours.

Re: Use LocalDate as primary key

2016-01-26 Thread Chuck Hill
How did you define the PK? You will need to set it up as a custom data type, the same as if you were using it as a regular attribute. Why does it think it is a NSTimestamp? Chuck On 2016-01-22, 2:35 PM, "webobjects-dev-bounces+chill=gevityinc@lists.apple.com on behalf of Samuel

Re: Use LocalDate as primary key

2016-01-26 Thread Chuck Hill
t; > public DateMTA dateMta() { > if (dateMta == null) { > dateMta = DateMTA.forDate(editingContext(), date()); > } > return dateMta; > } > > >It would be much nicer to simply create the relationship but for in memory

Re: enum attribute conundrum

2016-01-19 Thread Chuck Hill
Your method is missing the ‘static’ keyword. This can’t be an instance method as there is not an instance yet. Chuck From: > on behalf of T Worman

Re: Practical WebObjects

2016-01-17 Thread Chuck Hill
-) > >Ah… I thought they must have made their way in - I was just trying to avoid >re-inventing the wheel by not taking advantage of some already functional >Framework. > >Was there a specific named Framework ? > >Gino > > >> On 17 Jan 2016, at 13:39, Chuck Hill <ch.

Re: Practical WebObjects

2016-01-17 Thread Chuck Hill
A couple of them have made it in. They have different names that start with ER. Feel free to add any other ones that you want to Chuck Hill Gevity Consulting Inc. Sent from my mobile device. > On Jan 17, 2016, at 3:34 AM, Theodore Petrosky <tedp...@yahoo.com> wrote: > > I b

Re: WOLips EntityModeler error in SQL generation

2016-01-14 Thread Chuck Hill
Generate the classes first? From: > on behalf of "Ruggentaler, JR" > Date: Thursday, January 14, 2016

Re: What's new?

2016-01-13 Thread Chuck Hill
led AjaxSwing. http://www.creamtec.com/products/ajaxswing/ On 13 jan. 2016, at 20:27, James Cicenia <ja...@jimijon.com<mailto:ja...@jimijon.com>> wrote: Here’s a very interesting back end setup: mongoDb and vert.x FrontEnd… react meteor angular2 . . . bootstrap On Jan 13, 201

Re: What's new?

2016-01-13 Thread Chuck Hill
if I recall. I had a hard time finding documentation on it. > >Crap, now I need to learn JavaScript and REST? Yes, all of the cool kids are doing it. The real question is “Which JavaScript framework(s) will I learn?”. There seems to be a new on almost every day! Chuck > >Tim >UC

Re: What's new?

2016-01-13 Thread Chuck Hill
<dleber_wo...@codeferous.com<mailto:dleber_wo...@codeferous.com>> Cc: Chuck Hill <ch...@gevityinc.com<mailto:ch...@gevityinc.com>>, "Webobjects-dev@lists.apple.com<mailto:Webobjects-dev@lists.apple.com>" <webobjects-dev@lists.apple.com<mailto:webobject

Re: What's new?

2016-01-13 Thread Chuck Hill
On 2016-01-13, 5:19 PM, "webobjects-dev-bounces+chill=gevityinc@lists.apple.com on behalf of Pascal Robert" wrote: > >> Le 2016-01-13 à 18:59, Hugi Thordarson a écrit : >> >>> I

Re: What's new?

2016-01-12 Thread Chuck Hill
Hi Lachlan, Nice to see you around, welcome back. Yes, I am still here though snail harvesting sounds tempting and soothing. The community is getting smaller and more fragmented. Several people have joined Apple now and they tend not to be around much. The last time I tried Golips it also

Re: when is derived column resolved

2016-01-12 Thread Chuck Hill
I can’t come up with a better case. I don’t recall ever using them. As Paul said, it would have to be a read only column. This might have made more sense years ago when offloading processing to the database made sense. If it ever really did. For more data inconsistency fun, you can

Re: er.transaction.adaptor.Exceptions - Database Exception occured: java.lang.IllegalStateException: _obtainOpenChannel -- com.webobjects.eoaccess.EODatabaseContext

2016-01-07 Thread Chuck Hill
to me. It is puzzling that disabling Wonder startup makes the problem go away. Did you keep the class path the same? Chuck From: Kwasi O-Ahoofe <koa...@icloud.com<mailto:koa...@icloud.com>> Date: Thursday, January 7, 2016 at 11:46 AM To: Chuck Hill <ch...@gevityin

Re: ERQMAjaxUpdateContainer : lookup of unknown key: 'value'

2016-01-07 Thread Chuck Hill
Is there a stack trace? It would be useful to know which object it was looking up “value” on. From: > on behalf of Mark Gowdy

Re: Wonder 7: NoClassDefFoundError: com/webobjects/jdbcadaptor/FrontbasePlugIn

2016-01-06 Thread Chuck Hill
IIRC, a long time ago there were two versions, FrontBasePlugin and FrontBasePlugIn (notice in vs In). Is it finding the one from FrontBase (rather than Wonder)? Chuck From:

Re: er.transaction.adaptor.Exceptions - Database Exception occured: java.lang.IllegalStateException: _obtainOpenChannel -- com.webobjects.eoaccess.EODatabaseContext

2016-01-05 Thread Chuck Hill
That looks like a Postgres configuration problem. EOF is able to load the adaptor, plugin, and driver: INFO er.transaction.adaptor.ConnectionAnalyzer - Trying to create JDBCAdaptor... INFO er.transaction.adaptor.ConnectionAnalyzer - Successfully created adaptor

Re: Build error java.lang.NoClassDefFoundError:

2015-12-29 Thread Chuck Hill
That means that WebObjects is not installed not your server, or is not on your application’s class path. Chuck From: > on behalf of HOUNKPONOU Ronald

Re: Using ERXThreadStorage

2015-12-16 Thread Chuck Hill
The contents of the thread storage are removed at the end of each R-R loop to prevent data leaking between requests (and to prevent memory leaks too). Wonder already puts the session in thread storage under “session” so you could just use that and ask it for the region in your EOs. Chuck

Re: Suppressing javax.naming.NameNotFoundException: Name "comp/env/jdbc" not found in context

2015-12-14 Thread Chuck Hill
g.NameNotFoundException: Name "comp/env/jdbc" not found in context Nope. The ConnectionDictionairies of the models in use are all empty... René Am 11.12.2015 um 19:03 schrieb Chuck Hill <ch...@gevityinc.com<mailto:ch...@gevityinc.com>>: Check your models. I think you

Re: Suppressing javax.naming.NameNotFoundException: Name "comp/env/jdbc" not found in context

2015-12-11 Thread Chuck Hill
Check your models. I think you will find somewhere a connection dictionary with a value for the key DataSourceJndiName. Remove that. Chuck From: > on behalf of René

Re: Using multiple servers

2015-12-08 Thread Chuck Hill
I have not tried that either. I have no idea if that is a real problem or why. From: > on behalf of Klaus Berkling

Re: WODisplayGroup, ERXWORepetition and object deletion

2015-12-03 Thread Chuck Hill
I’d look at a less than generic solution in my thought experiment. Maybe ERXEORepetition. And use some form of the global ID as the element ID for the elements. Then in the implementation, you would do a map look up of the global ID to get the EO, rather than an index lookup. I have not

Re: Vector graphics in Flying Saucer / ERPDFWrapper

2015-12-01 Thread Chuck Hill
If they were compiled with Java 1.7, they won’t run in a Java 5 JVM unless that was specifically targeted. And that seems unlikely given how old Java 1.5 is. Chuck On 2015-12-01, 10:41 AM, "webobjects-dev-bounces+chill=gevityinc@lists.apple.com on behalf of Ricardo Parada"

Re: wotaskd reliability

2015-11-29 Thread Chuck Hill
t an acceptable amount >for a 64bit system? > >Michael > > >> On Nov 29, 2015, at 4:09 PM, Chuck Hill <ch...@gevityinc.com> wrote: >> >> If it is load related, I’d look at the application first. You might also be >> running low on file handles or other syste

Re: wotaskd reliability

2015-11-29 Thread Chuck Hill
Crashing or hanging? Those are different. If it is crashing, do you have a stack trace? Is it hard exit? If it is hanging, get a thread dump (sudo jstack -f ). Or is it your app that is hanging? If the app takes too long to respond to a wotaskd request, it can appear that the problem is

Re: wotaskd reliability

2015-11-29 Thread Chuck Hill
If it is load related, I’d look at the application first. You might also be running low on file handles or other system resources. Linux is likely better configured in that respect. WO should easily be able to handle that load, but that assumes that the application does not have have issues

Re: Odd backtracking error

2015-11-26 Thread Chuck Hill
Is your web server (or Wonder) protecting /favicon.ico from getting to your app or handling it? That request won’t contain the cookies (IIRC) which results in a new session getting created and the app will return the cookie from the new session (usually with an error response as it is not

Re: Maven builds and WOBootstrap.jar

2015-11-18 Thread Chuck Hill
Getting rid of the archaic dependancy on that jar and removing that ancient script seems to be the right thing to do. Chuck From: > on behalf of Ramsey Gurley

Re: WOCompile cannot be found.

2015-11-14 Thread Chuck Hill
Hi Douglas, "Override ignored for property² sounds like an Ant message. Ant will only set a property once. Trying to alter it after that will result in this message. That means that somewhere in your build process before this point, the values for these have been set. And set incorrectly as

Re: Documenting the EO Model

2015-11-06 Thread Chuck Hill
I¹Ve used EOModelDoc. Below are some Ant fragments to get you started. I am also attaching a eogen template showing how to drive the documentation from the EOModel into the classes where JavaDoc and you IDE will pick it up. I find that generally more useful. Chuck

Re: model insights (inheritance)

2015-10-28 Thread Chuck Hill
Also take a look at the Role pattern which may be what you want here. Chuck On 2015-10-28, 6:13 AM, "webobjects-dev-bounces+chill=gevityinc@lists.apple.com on behalf of Alexander Spohr" wrote: >One

Re: Transactions

2015-10-28 Thread Chuck Hill
Hi Birthe, Here are a couple of ideas for you to look at. Entities can be backed by a stored procedure, see the Procedures tab on an Entity in the Entity Modeler. If you can model this as a changed EO, that will be the simplest. There is also the EOAdaptorContext.Delegate which has a methods

Re: Default Model Group - Error or Warning?

2015-10-27 Thread Chuck Hill
It looks like you have that as the Entity name for one of your entities in the model? It is a modelling issue in any case. Chuck From: > on behalf of Calven Eggert

Re: Framework needs access to Application - How?

2015-10-27 Thread Chuck Hill
Yep, defaults in the framework, overrides in the Application, and production overrides on the command line. On 2015-10-27, 9:32 AM, "webobjects-dev-bounces+chill=gevityinc@lists.apple.com on behalf of Hugi Thordarson"

Re: Default Model Group - Error or Warning?

2015-10-27 Thread Chuck Hill
And that null response is what triggers this exception. This is in response to a notification asking for a class description for an entity named X. Could be a bad prototype? From: Calven Eggert <cal...@mac.com<mailto:cal...@mac.com>> Date: Tuesday, October 27, 2015 at 10:17 AM To

Re: Apache 2.4 binary anyone?

2015-10-27 Thread Chuck Hill
http://prod.lists.apple.com/archives/webobjects-dev/2015/Oct/msg00047.html From: > on behalf of Calven Eggert > Date: Tuesday,

Re: El Capitan - setting java timezone

2015-10-26 Thread Chuck Hill
I am just the man who has shot off all of his toes at one time or another and just just happens to remember why. :-) From: Calven Eggert <cal...@mac.com<mailto:cal...@mac.com>> Date: Monday, October 26, 2015 at 10:38 AM To: Chuck Hill <ch...@gevityinc.com<mailto:ch...@

Re: El Capitan - setting java timezone

2015-10-26 Thread Chuck Hill
As a guess, your OS might have this set to some name that Java is not recognizing. Take a look in system preferences, and try changing it to something else and back again. Chuck From:

Re: Apps launch fine from the command line but not from JavaMonitor - CentOS 6.5

2015-10-25 Thread Chuck Hill
I think this is usually a permissions difference in the user that JavaMonitor/wotaskd is being run under vs what you a logged in as at the command line. From: > on

Re: Can't get WOlips installed properly

2015-10-21 Thread Chuck Hill
You can just create that directory manually and place the file there. From: > on behalf of Calven Eggert > Date: Wednesday, October

Re: Does the tutorial work?

2015-10-20 Thread Chuck Hill
Look under Preferences - WOLips - Build. Make sure that Generate Bundles is NOT checked off. Chuck From: > on behalf of Barry Starrfield

Re: Yosemite deployment problem with MySQL

2015-10-16 Thread Chuck Hill
Wonder's ERXJDBCConnectionAnalyzer should help here. I though it was automatically activated in the case of a connection failure, but maybe I am imagining that. From:

Re: woadaptor howto?

2015-10-06 Thread Chuck Hill
Gleaned from the list, slightly hard to read: Anfang der weitergeleiteten Nachricht: Von: Benjamin Chew Betreff: Aw: Precompiled WOAdaptor for apache 2.4 Datum: 6. November 2014 18:58:28 MEZ An: John Pollard Kopie: WebObjects-Dev Mailing List List

Re: EOQualifier for an optional to many relationship

2015-10-05 Thread Chuck Hill
"fetch all As that are either assigned to a given B or not assigned at all". That sounds like a right outer join. You can set the join semantics on the relationship in EOModeler. You probably don't want that for the main relationship, but I think you can define one that is not a class

Re: Abandonware???

2015-10-02 Thread Chuck Hill
Will we have fermented shark loin for breakfast? :-) On 2015-10-02, 3:55 PM, "webobjects-dev-bounces+chill=gevityinc@lists.apple.com on behalf of Pascal Robert" wrote: > >> Le 2015-10-02 à 18:00, Hugi

Re: Abandonware???

2015-10-02 Thread Chuck Hill
No question in MY mind which it is! On 2015-10-02, 5:17 PM, "Hugi Thordarson" wrote: >If I make it, we will. I’ll allow you to decide if that’s a promise or a >threat :). > >- hugi > > >> Will we have fermented shark loin for breakfast? :-) >> >> On 2015-10-02, 3:55 PM, >>

<    1   2   3   4   5   6   7   8   9   10   >