Re: Component caching?

2014-11-07 Thread Chuck Hill
Could it be this?


public boolean isPageRefreshOnBacktrackEnabled()

Returns whether caching of pages is disabled in the client. If it is, the 
client does not restore request pages from its cache but re-creates them "from 
scratch" by resending the URL to the server. This flag is set to true by 
default.


On 2014-11-07, 12:48 PM, "Mark Wardle" wrote:

Thanks Johann. I'm not caching anything but it is a subclass of 
ERDCustomEditComponent so perhaps so state information is being cached 
inappropriately only in production. I might have to try debugging in a 
production environment.

Mark

On 7 Nov 2014, at 10:20, Johann Werner mailto:j...@oyosys.de>> 
wrote:
Hi Mark,
do you cache the binding values within your component? When using stateless 
components you need to clean any local variables yourself within the reset 
method.
jw
Am 07.11.2014 um 10:33 schrieb Mark Wardle 
mailto:m...@wardle.org>>:
Hi.  I'm generating a PDF report :
WOComponent page = ERXApplication.application().pageWithName(componentName(), 
privateContext());
page.takeValueForKey(obj, "object");
page.takeValueForKey(report, "report");
WOResponse response = page.generateResponse();
report.setInterimHtml(response.contentString());
This looks up a named WOComponent and generates the response, storing the HTML 
and allowing users to fine-tune the HTML in a web-based HTML editor. This has 
worked perfectly previously.
Now I have added a custom "display boolean" component which is used within the 
report WOComponent. This is a stateless component but it displays the same 
value again and again when in production. In development, the component works 
properly.
It is like the content of the component is being cached inappropriately. I 
thought component caching was related to caching the contents of the WOD file, 
not the bindings.
Does anyone have any thoughts? Debugging this on a production machine quite 
tricky so if anyone can thing of something obvious, I'll try that first!
Thanks,
Mark


___
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:
https://lists.apple.com/mailman/options/webobjects-dev/chill%40gevityinc.com

This email sent to ch...@gevityinc.com
 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: Can't find Framework

2014-11-03 Thread Chuck Hill
Probably path or directory related.  WOLips is installed?  Running it as a 
WOApp not a Java app?  What is the working directory?  You don't have bundles 
turned on, do you?


On 2014-11-03, 10:03 AM, "James Cicenia" wrote:

I have a nice new laptop.

Started back on a project I pulled from my repo. Installed all the wonder, wo 
frameworks, etc.

Tried to run my app from Eclipse and I get:

However, PurplePush is the main app not a framework. I swear I had something 
like this happen to me before.
Any obvious answers?

Thanks
James


DEBUG (ERXNSLogLog4jBridge.java:47) - DirectToWeb WebAssistant launch line: 
appletviewer 
http://localhost:60977/cgi-bin/WebObjects/PurplePush.woa/wa/D2WActions/openWebAssistant
After effect...
DEBUG (ERXNSLogLog4jBridge.java:47) - Waiting for requests...
) method=GET 
uri=/cgi-bin/WebObjects/PurplePush.woa defaultFormValueEncoding=UTF-8 
formValueEncodingDetectionEnabled=NO formValueEncoding=UTF-8 formValues={} >
ERROR (ERD2WDirectAction.java:473) - Error with action 
default:java.lang.IllegalStateException: Unable to find framework named 
"PurplePush"., formValues:{}
java.lang.IllegalStateException: Unable to find framework named "PurplePush".
at 
com.webobjects.appserver._private.WOComponentDefinition.(WOComponentDefinition.java:249)
at 
com.webobjects.appserver.WOApplication._componentDefinitionFromClassNamed(WOApplication.java:2785)
at 
com.webobjects.appserver.WOApplication._componentDefinition(WOApplication.java:2889)
at 
er.extensions.appserver.ERXApplication._componentDefinition(ERXApplication.java:1544)
at com.webobjects.appserver.WOApplication.pageWithName(WOApplication.java:2321)
at com.webobjects.appserver.WOAction.pageWithName(WOAction.java:125)
at com.pp.app.DirectAction.defaultAction(DirectAction.java:26)
 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: external width for attribute?

2014-10-27 Thread Chuck Hill
It is just eo.entity().attributeNamed("foo").width()



On 2014-10-26, 8:51 PM, "Klaus Berkling" wrote:


Is there a way to get the external width of an entity attribute as specified in 
the model?
This might be a useful addition to the entity template/entity class generation 
if it's not otherwise available.


kib

"The essence of training is to allow error without consequence."
Orson Scott Card

Klaus Berkling
www.berkling.us | @kiberkli | 
Photography



 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: mod_proxy as mod_WebObjects alternative [Was: Re: Yosemite]

2014-10-26 Thread Chuck Hill
As Johann indicated, you don't need wotaskd running in order for the requests 
to get from Apache to the app.  You do need something to start them.  And if 
you want to stop them with a Web UI and have scheduling, crash notification 
etc, then Monitor and wotaskd are something that works.

Chuck



On 2014-10-26, 9:13 AM, "Tom Woteki" wrote:

All:

Contrary to Chuck's remark, I was not able to unload wotaskd and still have the 
successful configuration I posted elsewhere in this thread continue to work. 
Whereas I have dispensed with mod_webobjects I still require  both the 
WOMonitor and wotaskd daemons running.

Tom



On Aug 12, 2014, at 11:04 PM, Chuck Hill 
mailto:ch...@global-village.net>> wrote:
You don't need wotaskd (at the cost of instant reconfiguration) and you are not 
dependant on having mod_webobjects compiled for the Apache version and platform 
that you are using.
Chuck


 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: Eclipse Luna (4.4.1) and WOLips: so close

2014-10-21 Thread Chuck Hill
Hi Paul,

Did you try these instructions?  
https://github.com/swklein/wolips/blob/master/README.md


Chuck


On 2014-10-21, 4:24 PM, "Paul Hoadley" wrote:

Hi Samuel,

On 22 Oct 2014, at 5:47 am, Samuel Pelletier 
mailto:sam...@samkar.com>> wrote:

I wrote about this problem in the past but receive no ack, I was feeling 
alone...

I have an ugly patch that at least prevent the NPE and keep the workspace in 
working condition. I tried to dig further in the debugger but the eclipse UI 
code is really hard to follow.

Thanks for that.  Somewhat embarrassingly, I don't even know how to pull the 
WOLips source into Eclipse to edit it as a project-importing it as an existing 
project seems to drag it in as dozens of tiny sub-projects.  I gave up.

However, your patch does suggest a barely-acceptable manual workaround: I can 
pull the divider down to roughly 85% by eyeballing it, and further tabs open 
just fine (to the same relative dimensions), even after a restart.  Not 
perfect, but it will do for me for now.


--
Paul Hoadley
http://logicsquad.net/


 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: Eclipse Luna (4.4.1) and WOLips: so close

2014-10-21 Thread Chuck Hill
You were looking for WO work earlier...  ;-)

On 2014-10-21, 7:26 AM, "Hugi Thordarson" wrote:

I wonder if we could pay someone that already knows how to develop WOLips to 
create a screencast (or good instructions on any other format) on how to get 
started working with developing it. "Throw a man a fish..." you know. We'd 
happily chip in $50-100 towards that work.

Yeah, for sure.  There were a few similar offers back in February.  I think the 
hard part is going to be finding someone that can do it.  Who is left

Indeed... But if anyone's up for this, it would be great if he/she would set a 
price and (for example) create a Kickstarter.

Cheers,
- hugi
 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: Eclipse Luna (4.4.1) and WOLips: so close

2014-10-20 Thread Chuck Hill
Yeah, I had the same reaction when I was trying to get details on an unrelated 
exception in Eclipse.  You have to know what you are looking for now.  :-)

I don't think it is 4.4.1, I use it in another context and it is very stable.

Chuck


On 2014-10-20, 7:58 PM, "Paul Hoadley" wrote:

On 21 Oct 2014, at 11:40 am, Chuck Hill 
mailto:ch...@gevityinc.com>> wrote:

Does the Error Log view give a stack trace for the exception?

I wondered where the log output was going.  Err, short answer yes, something 
seems to be going to the Error Log view, but the longer answer is that every 
time I click on an entry in that view, I get more errors logged in that view, 
to the extent that I can't quite tell where the complaint about the component 
viewer is.  Here's the top of a stack trace that at least seems to reference 
WOLips:

java.lang.NullPointerException
at 
org.eclipse.ui.part.MultiPageEditorPart.pageChange(MultiPageEditorPart.java:859)
at 
org.objectstyle.wolips.componenteditor.part.ComponentEditorPart.pageChange(ComponentEditorPart.java:386)
at 
org.objectstyle.wolips.componenteditor.part.HtmlWodTab$4.handleEvent(HtmlWodTab.java:138)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4188)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1467)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1490)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1475)

The fact that every time I click on Eclipse's own UI I'm getting more errors 
logged would seem suspicious.  Maybe 4.4.1 itself is broken?


--
Paul Hoadley
http://logicsquad.net/


 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: Eclipse Luna (4.4.1) and WOLips: so close

2014-10-20 Thread Chuck Hill
Does the Error Log view give a stack trace for the exception?



On 2014-10-20, 6:07 PM, "Paul Hoadley" wrote:

On 19 Oct 2014, at 9:05 am, Paul Hoadley 
mailto:pa...@logicsquad.net>> wrote:

On 19 Oct 2014, at 1:04 am, Gino Pacitti 
mailto:ginok...@mac.com>> wrote:

I had to reinstall Luna and build WOLips again...

Maybe there is a better way  but it worked for me...

Thanks Gino.  It turned out that starting a new workspace from scratch and 
importing everything again was sufficient for me.  Perhaps there was an issue 
with my converted 3.7 workspace.

It's back.  Same symptoms, now from a pristine new workspace.  I can create new 
components and they will open in the component editor.  Existing components 
won't open: I get a new tab, with no title, and no content and clicking close 
on it brings up an error dialog referring to a NullPointerException.

This is obviously something of a show-stopper.  Anyone else seeing this?


--
Paul Hoadley
http://logicsquad.net/


 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: EOCustomObject valueForKey avoiding infinite recursion

2014-10-10 Thread Chuck Hill
Yeah, that would make me nervous.  I have never used this with JavaClient, and 
it sounds like this hack is not compatible.

Before you go too much further, are these two things even true for your 
application:

 * 1. The editing context has multiple generations, meaning that saveChanges() 
has been called one or more times after one or more EOs has been created / 
inserted / updated.
 * 2. An EO is deleted from the editing context by deleteObject().
 * 3. saveChanges() fails due to an NSValidation.ValidationException raised in 
validateForDelete.

I’d guess that (1) and (2) are, but is (3)?  Do you have rules in the model or 
the code that could refused a delete?  If not, this is not your problem.

EODistributionContext.responseToClientMessage(EODistributionContext.java:627)
Is done when handling a thrown exception that is normally silently swallowed.  
You can set the NSLog debug level to DebugLevelInformational and the enable the 
NSLog.DebugGroupIO to log this root cause, though that will likely log a lot of 
other stuff in WO.


The
Chuck




On 2014-10-10, 3:07 AM, "John Pollard" wrote:

If after clearing the undo stack I open a dummy undo group i.e.
undoManager().removeAllActions();
undoManager().beginUndoGrouping();
Then things do seem to run ok, so there is a dummy undoGrouping for the java 
client server side request handling code to close off, but seems a bit 
outlandish to do this, asking for more future problems?
John

On 10 Oct 2014, at 10:40, John Pollard 
mailto:j...@pollardweb.com>> wrote:

I instead used the property er.extensions.ERXEC.editingContextClassName to 
specify the ForgetfulEC which I had  change to be subclassed from ERXEC

However, with the call to undoManager().removeAllActions() seems to tread on 
some toes; a later endUndoGrouping() called by some other code is now falling 
over with this exception...

- : Exception occurred 
while handling request:
java.lang.IllegalStateException: endUndoGrouping: undo manager is in invalid 
state, endUndoGrouping called with no matching begin
Oct 10 09:33:25 InraxServer[] DEBUG NSLog  - Handle Application Exception
Reporting exception at: 09:33
From: Application.handleException()

Original Request IP: 192.168.0.124 URI: 
/cgi-bin/WebObjects/InraxServer.woa/-/wo/0g6rgMRRb2p4aTaQYIIW7g/0.1.0.1.0 
Session: 0g6rgMRRb2p4aTaQYIIW7g

Component: com.webobjects.eodistribution.WOJavaClientApplet

Exception message: endUndoGrouping: undo manager is in invalid state, 
endUndoGrouping called with no matching begin

Stack Trace...

java.lang.IllegalStateException: endUndoGrouping: undo manager is in invalid 
state, endUndoGrouping called with no matching begin
at 
com.webobjects.foundation.NSUndoManager.endUndoGrouping(NSUndoManager.java:565)
at 
com.webobjects.eodistribution.EODistributionContext.responseToClientMessage(EODistributionContext.java:626)
at 
com.webobjects.eodistribution.WOJavaClientApplet.handleClientRequest(WOJavaClientApplet.java:978)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
...



On 10 Oct 2014, at 09:50, John Pollard 
mailto:j...@pollardweb.com>> wrote:

Thanks, I will give this a try.
I am using Java Client, not sure about the "applets" bit.
Currently the client session ec is created using 
ERXEC.newEditingContext(objStore)
So should I...
Create a sublcass of ERXEC.DefaultFactory and override _createEditingContext() 
in it, to return a ForgetfulEC
Install my factory using ERXEC.setFactory()
Anything else?
Thanks
John

On 9 Oct 2014, at 17:27, Chuck Hill 
mailto:ch...@gevityinc.com>> wrote:

First question, are you using JavaClient applets?

Below is a Java class that might both explain and solve what you are seeing.


Chuck


package net.global_village.eofextensions;

import com.webobjects.eocontrol.*;

/**
 * EOEditingContext that clears undo stack after a successful save.  This is 
used as a work around for a bug in EOF. There is a rather serious bug when 
validateForDelete() fails to allow a deletion.  This will occur if you are 
using the Deny delete rule, the relationship is mandatory, or you have a custom 
validateForDelete() method.  The error occurs in this scenario:
 * 1. The editing context has multiple generations, meaning that saveChanges() 
has been called one or more times after one or more EOs has been created / 
inserted / updated.
 * 2. An EO is deleted from the editing context by deleteObject().
 * 3. saveChanges() fails due to an NSValidation.ValidationException raised in 
validateForDelete.
 *
 * This result of this appears to be that undo() is called on the editing 
context's undo manager too many times.  Instead of rolling back to the state 
when saveChanges() was called it rolls back past several of previous 
saveChanges()!  The result 

Re: EOCustomObject valueForKey avoiding infinite recursion

2014-10-09 Thread Chuck Hill
ject(NSKeyValueCoding.java:1134)
at 
com.webobjects.foundation.NSKeyValueCoding$DefaultImplementation.valueForKey(NSKeyValueCoding.java:1324)
at com.webobjects.appserver.WOComponent.valueForKey(WOComponent.java:1736)
at 
com.webobjects.foundation.NSKeyValueCoding$Utility.valueForKey(NSKeyValueCoding.java:447)
at 
com.webobjects.foundation.NSKeyValueCodingAdditions$DefaultImplementation.valueForKeyPath(NSKeyValueCodingAdditions.java:212)
at com.webobjects.appserver.WOComponent.valueForKeyPath(WOComponent.java:1804)
at 
com.webobjects.appserver._private.WOKeyValueAssociation.valueInComponent(WOKeyValueAssociation.java:50)
at 
com.webobjects.appserver._private.WOGenericElement.invokeAction(WOGenericElement.java:121)
at 
com.webobjects.appserver._private.WODynamicGroup.invokeChildrenAction(WODynamicGroup.java:105)
at 
com.webobjects.appserver._private.WOGenericContainer.invokeAction(WOGenericContainer.java:29)
at 
com.webobjects.appserver._private.WODynamicGroup.invokeChildrenAction(WODynamicGroup.java:105)
at 
com.webobjects.appserver._private.WODynamicGroup.invokeAction(WODynamicGroup.java:115)
at 
com.webobjects.appserver._private.WOConditional.invokeAction(WOConditional.java:86)
at 
com.webobjects.appserver._private.WODynamicGroup.invokeChildrenAction(WODynamicGroup.java:105)
at 
com.webobjects.appserver._private.WODynamicGroup.invokeAction(WODynamicGroup.java:115)
at com.webobjects.appserver.WOComponent.invokeAction(WOComponent.java:1079)
at 
com.webobjects.appserver._private.WOComponentReference.invokeAction(WOComponentReference.java:127)
at 
com.webobjects.appserver._private.WODynamicGroup.invokeChildrenAction(WODynamicGroup.java:105)
at 
com.webobjects.appserver._private.WODynamicGroup.invokeAction(WODynamicGroup.java:115)
at com.webobjects.appserver.WOComponent.invokeAction(WOComponent.java:1079)
at com.webobjects.appserver.WOSession.invokeAction(WOSession.java:1357)
at com.webobjects.appserver.WOApplication.invokeAction(WOApplication.java:1745)
at 
er.extensions.appserver.ajax.ERXAjaxApplication.invokeAction(ERXAjaxApplication.java:119)
at er.extensions.appserver.ERXApplication.invokeAction(ERXApplication.java:1988)
at 
er.extensions.appserver.ERXComponentRequestHandler._dispatchWithPreparedPage(ERXComponentRequestHandler.java:157)
at 
er.extensions.appserver.ERXComponentRequestHandler._dispatchWithPreparedSession(ERXComponentRequestHandler.java:235)
at 
er.extensions.appserver.ERXComponentRequestHandler._dispatchWithPreparedApplication(ERXComponentRequestHandler.java:268)
at 
er.extensions.appserver.ERXComponentRequestHandler._handleRequest(ERXComponentRequestHandler.java:302)
at 
er.extensions.appserver.ERXComponentRequestHandler.handleRequest(ERXComponentRequestHandler.java:378)
at 
com.webobjects.appserver.WOApplication.dispatchRequest(WOApplication.java:1687)
at 
er.extensions.appserver.ERXApplication.dispatchRequestImmediately(ERXApplication.java:2109)
at 
er.extensions.appserver.ERXApplication.dispatchRequest(ERXApplication.java:2074)
at mpServer.Application.dispatchRequest(Application.java:168)
at 
com.webobjects.appserver._private.WOWorkerThread.runOnce(WOWorkerThread.java:144)
at com.webobjects.appserver._private.WOWorkerThread.run(WOWorkerThread.java:226)
at java.lang.Thread.run(Thread.java:701)
On 12 Sep 2014, at 09:18, John Pollard 
mailto:j...@pollardweb.com>> wrote:

Hmm, hairy palms, not sure I want that, but thanks for this anyway. The related 
attribute is a to-one relationship, does that mean it is a FK attribute? It is 
the to-one relationship that becomes null against my will and I need to find 
out where/why.

I have now cobbled some code up in takeStoredValueForKey() which avoids the 
recursion when checking the existing value using storedValueForKey() and 
ignores the (temp) null value caused by clearProperties() when the EO is 
invalidated. Hence I believe I now have the code to scream if my property is 
set to null from a pre-existing value and I should get an email + stack trace 
to report the exciting news. These intermittents are about once every two 
months so will have to wait.

On 11 Sep 2014, at 23:04, Chuck Hill 
mailto:ch...@global-village.net>> wrote:

You are going to grow hair on your palms doing this but...

willRead();
Object value = __dictionary().valueForKey("your attribute");

Should, I think, do what you want.  Of course, it is package protected so you 
will need to use reflection to get access.  And the result may be null if the 
object is still a fault.

Is this an FK or PK by chance?


Chuck





On 2014-09-11, 12:22 PM, "John Pollard" wrote:

Apologies, I meant takeStoredValueForKey(). Within there, how can I safely see 
what the value currently is when when this method is called, before I invoke 
super. takeStoredValueForKey() to take on the new value?
John

On 11 Sep 2014, at 18:10, John Huss 
mailto:johnth...@gmail.com>> wrote:

The order of calls is:

takeValueForKey -> setXXX -> takeStoredValueForKey

All of these maybe skipped ex

Re: Data model suggestions...

2014-10-06 Thread Chuck Hill
Have you considered a business rules engine?  Have a look at some of these
http://java-source.net/open-source/rule-engines

Would a rules engine solve your problem?

Chuck


On 2014-10-06, 1:57 PM, "Flavio Donadio" wrote:

On 06/10/2014, at 16:51, Chuck Hill 
mailto:ch...@global-village.net>> wrote:

I think Flavio’s question was more of how to model this so that the 
configurations were not hard-coded in Java.  I don’t have an immediate answer, 
but it is an interesting modelling problem.
Chuck

Chuck is right. I have something more into the lines:

Product <--->> ProductOption <<---> Option <--->> OptionValue

... where Option is something like "Display Type" and OptionValue is something 
like "Monochrome". And ProductOption is just a proxy table for the many-to-many 
relationship.

Maybe I should have two more relationships:

OptionValue <--->> OptionRequire
OptionValue <--->> OptionExclude

An AJAX interface would be preferable, so the user gets an error message when 
changing the selections, not when the application saves the context...


Cheers,
Flavio


 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: Data model suggestions...

2014-10-06 Thread Chuck Hill
I think Flavio’s question was more of how to model this so that the 
configurations were not hard-coded in Java.  I don’t have an immediate answer, 
but it is an interesting modelling problem.

Chuck


On 2014-10-06, 11:49 AM, "Ramsey Gurley" wrote:


On Oct 6, 2014, at 11:16 AM, Flavio Donadio 
mailto:fla...@donadio.com.br>> wrote:

Hello, people!
This is a not a WO or WOnder question per se, but I think you guys can help me. 
Since English is not my native language, I couldn't find anything on the web...
I have this feature I want to implement in a website, which I call 
"configurator".
In a database of products, each product has options, for example: memory 
capacity (integer), display type (enum: color, monochrome), audio (boolean), 
WLAN regulatory domain (enum: FCC, EU, Japan), and so on.
My problem is that some options require other specific option(s) to have a 
specific value, for example: audio is only available in configurations with a 
color display.
And, to confuse it a little more, different products have different options 
with their own rules.
How can I create a model in a way I can input these rules for "valid" 
configurations? Also, when the user browses the website, he/she can configure 
the products the way they want and be assured that they won't select an invalid 
configuration.
I am trying to figure this out, but it doesn't look easy.
Cheers,
Flavio

Specifically in WO/Wonder, you can do this using NSValidation. Using your 
example, you have a Product EO

Product
-capacity
-display
-audio
-domain

On your Product’s EO class, you would then implement validation methods for 
these attributes like

public Boolean validateAudio(Boolean audio) throws 
NSValidation.ValidationException {
//TODO validate boolean here
boolean notValid = …;
if(notValid) {
ERXValidationFactory factory = ERXValidationFactory.defaultFactory();
ERXValidationException ex = factory.createException(this, Product.AUDIO_KEY, 
audio, ERXValidationException.InvalidValueException);
throw ex;
}
return audio;
}

where the method signature is validate where  is the name of your 
attribute being validated. If you need validation that depends on values set on 
multiple attributes, you would probably do that in the EO’s validateFor* 
methods... validateForInsert, validateForUpdate, validateForSave, 
validateForDelete.

public void validateForSave() throws NSValidation.ValidationException {
if(display() != DisplayType.COLOR && audio() == true) {
ERXValidationFactory factory = ERXValidationFactory.defaultFactory();
ERXValidationException ex = factory.createCustomException(this, 
“AudioNotAvailableWithMonoChrome”);
throw ex;
}
}

Then in your Resources/English.lproj/ValidationTemplate.strings file, you would 
have something like

{
“Product.AudioNotAvailableWithMonoChrome” = “Sorry, monochrome products are not 
available with audio.”;
}

If you’re using D2W, that’s it. You’re done. If you aren’t, then you need to 
wire up some way to display validation errors in your page component. That 
means overriding

public void validationFailedWithException(Throwable t, Object value, String 
keyPath) {
//TODO catch validation errors here to display to the user.
}

along with some other internal array structure to handle multiple validation 
exceptions, possibly nested ones down in the EO’s relationships, etc.


___
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:
https://lists.apple.com/mailman/options/webobjects-dev/chill%40global-village.net

This email sent to ch...@global-village.net
 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: Primary keys

2014-10-02 Thread Chuck Hill


On 2014-10-02, 10:45 AM, "Mark Wardle" wrote:

Thanks Ted, that is interesting. Unfortunately, the existing primary key is 
used in joins from other tables so I think it will need to be a multi-step 
procedure.

Take home message for me is never ever have primary keys with any kind of 
meaning, even if coming from an external reputable third-party because even 
they will decide to change their primary keys in the future.  I’ve not done it 
since but this is from work from years ago so I blame my younger self!

At least you are coming FROM that and not going TO that!  :-)  I’ve seen that 
done.

Chuck



Mark

On 2 Oct 2014, at 12:01, Theodore Petrosky 
mailto:tedp...@yahoo.com>> wrote:

if there is already a primary key, then I think the correct thing to do is to 
drop the first and add what you want. I have no experience doing this, but it 
seems logical.


ERXMigrationTable theTable = database.existingTableNamed(“yourTable”);

theTable.dropPrimaryKey(columns);
theTable.setPrimaryKey(columns);

interesting that when I ask WOLips, it comes up with columns (plural). I assume 
you can add a multi column primary key. I have no idea where that would be 
useful. or this implications as a primary key does not want to be a class 
property.

Ted


On Oct 2, 2014, at 5:00 AM, Mark Wardle 
mailto:m...@wardle.org>> wrote:

Dear all,

I need to add a new primary key to a table that already contains data.

Is it possible to use migrations to add this and have the column auto-populated 
with a serial number?

My other plan was to create an integer column and then, in code, iterate 
through the objects manually setting the serial integer, and then later on 
migrating that to a primary key. Would this then break primary key generation 
for newly created objects?

All advice appreciated!

Many thanks,

Mark


--
Dr. Mark Wardle
Consultant Neurologist, University Hospital Wales, Cardiff, UK
Email: mark.war...@wales.nhs.uk or 
m...@wardle.org  Twitter: @mwardle
Telephone: 02920745274 (secretary) or facsimile: 02920744166





___
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:
https://lists.apple.com/mailman/options/webobjects-dev/tedpet5%40yahoo.com

This email sent to tedp...@yahoo.com


 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: URGENT help needed: app simply stopped working (sort of)

2014-09-30 Thread Chuck Hill
On 2014-09-30, 1:49 AM, "Markus Ruggiero" wrote:


On 29.09.2014, at 22:35, Mailinglists 
mailto:mailingli...@kataputt.com>> wrote:

Why should Apache be the culprit? Direct connect bypasses Apache. Connecting 
directly to port 2001 does not change a thing. And monitor as well as taskd 
work and respond when talking to them wirh curl or Safari. But anyway will look 
into this tomorrow.
Maybe the easiest thing to do might be restoring a backup and take it from 
there again.

Thanks a lot for you help and suggestions (and if you have more good ideas)
---markus---


Well, things aren't what they look like. It *was* Apache. And then it wasn't. I 
have no idea what really happened.

Indeed, the Apache config has been zapped by the required Server.app update for 
10.9.5. After fixing this the application is now again reachable. However still 
no joy with direct connect. So the failing direct connect kind of ruled out 
Apache and lead me to a false trail. Anyway, I am happy and the customer is 
happy. And I have won time for further investigation.

Direct connect is disabled by default in deployment, have you explicitly 
enabled it in the Monitor config?


This community is really great. I am sad that my bread and butter job currently 
does not allow to give back more to the community. I am still toying with the 
idea of writing a successor to Learning The Wonders. But right now I will have 
to focus on teaching . and there I can introduce almost 50 students to 
Wonder over the next couple months. Isn't it great when the federal regulations 
only tell you what concepts the students must learn but not what 
tools/languages/environments to use?

It is great when the regulations are actually like that!

Chuck


Again thanks a lot to all who helped me.

---markus---

Sent from my mobile phone

Am 29.09.2014 um 20:53 schrieb Timothy Worman 
mailto:li...@thetimmy.com>>:

This. Apple’s update likely changed your apache conf. For this reason I always 
install apache using homebrew and run that instead of the built-in apache.

Tim
UCLA GSE&IS


On Sep 29, 2014, at 11:47 AM, Frank Stock 
mailto:frank.st...@telenet.be>> wrote:

Marcus,


did you check the Apache settings?


Folks,

I don't get it anymore. I have a Mac Mini Server running one Wonder app. 
Deployment is with JavaMonitor from Wonder. The app has been running for a 
couple months. This weekend I updated Max OS X from 10.9.4 to 10.9.5. Now my 
application simply does not accept any network connection anymore. Besides the 
system update I installed a patched bash. These are the only changes. I do not 
suspect bash, I have already verified that the problem is independent of bash 
version.

wotaskd runs and answers properly on port 1085
Monitor runs, configured to use port . Works perfectly.

I start an instance of my app -> Monitor is happy, app is running, no deaths 
reported, logfile generated, last line reads waiting for requests (the standard 
blabla), URL looks good. Monitor tells me the app is on port 2001.

When I try to connect to the app I get nothing, just a white screen, no proper 
html. The same happens whether I connect through Apache or directly to port 
2001.
I built another deployment tar from my build system (also 10.9.5, Eclipse 3.8 
with matching WOLips). App runs fine inside Eclipse. Moving the tarball over 
the the deployment machine, unpacking, setting correct owner/group, starting 
via Monitor -> everything looks great, still no output at all. Tried with 
Safari as well as from the command line with curl. -> Empty response. Still 
Monitor is happy, no deaths reported, logfile is on "waiting for requests".

The same happens when I start the app manually from the command line. 
Everything looks good, just nothing comes back from the port 2001 (and there is 
no connection failure, connect but empty reply!)

HELP! What the h** is going on here? Any idea how to debug such a thing?
I'll attach the log file as well as Properties. Maybe anybody spots something

 Properties **

# Project Encoding
er.extensions.ERXApplication.DefaultEncoding=UTF-8

# OGNL
ognl.helperFunctions=true
ognl.inlineBindings=true

# Misc
er.extensions.stackTrace.cleanup=true

# EOF
er.extensions.ERXEC.safeLocking=true
er.extensions.ERXEC.useSharedEditingContext=false
er.extensions.ERXEnterpriseObject.applyRestrictingQualifierOnInsert=true
er.extensions.ERXEnterpriseObject.updateInverseRelationships=true

# MySQL Connection Dictionary
#dbConnectUserGLOBAL=
#dbConnectPasswordGLOBAL=
#dbConnectDriverGLOBAL=com.mysql.jdbc.Driver
#Movies.URL=jdbc:mysql://localhost/movies?capitalizeTypenames=true&zeroDateTimeBehavior=convertToNull&characterEncoding=UTF-8


# Migrations
#er.migration.migrateAtStartup=true
#er.migration.createTablesIfNecessary=true
#er.migration.modelNames=YourModel

# Misc Components
er.extensions.ERXWOForm.multipleSubmitDefault=true
#er.extensions.ERXWORepetition.checkHashCodes=true
#er.extensions.ERXWORepetition.

Re: URGENT help needed: app simply stopped working (sort of)

2014-09-29 Thread Chuck Hill
A couple of other thoughts:  Monitor and wotaskd working suggest that the issue 
is not in WO itself or in Wonder.  That you app is talking to monitor/wotaskd 
shows that it is accepting connections.  So it is the standard direct or 
component action that is causing problems.  That would lead me to focus on your 
Application, DirectAction, and Session subclasses.  It is probably an exception 
that is getting thrown and then swallowed and not logged or otherwise handled.  
And that, sadly, is probably in WO.


Chuck


On 2014-09-29, 1:35 PM, "Mailinglists" wrote:

Why should Apache be the culprit? Direct connect bypasses Apache. Connecting 
directly to port 2001 does not change a thing. And monitor as well as taskd 
work and respond when talking to them wirh curl or Safari. But anyway will look 
into this tomorrow.
Maybe the easiest thing to do might be restoring a backup and take it from 
there again.

Thanks a lot for you help and suggestions (and if you have more good ideas)
---markus---

Sent from my mobile phone

Am 29.09.2014 um 20:53 schrieb Timothy Worman 
mailto:li...@thetimmy.com>>:

This. Apple’s update likely changed your apache conf. For this reason I always 
install apache using homebrew and run that instead of the built-in apache.

Tim
UCLA GSE&IS


On Sep 29, 2014, at 11:47 AM, Frank Stock 
mailto:frank.st...@telenet.be>> wrote:

Marcus,


did you check the Apache settings?


Folks,

I don't get it anymore. I have a Mac Mini Server running one Wonder app. 
Deployment is with JavaMonitor from Wonder. The app has been running for a 
couple months. This weekend I updated Max OS X from 10.9.4 to 10.9.5. Now my 
application simply does not accept any network connection anymore. Besides the 
system update I installed a patched bash. These are the only changes. I do not 
suspect bash, I have already verified that the problem is independent of bash 
version.

wotaskd runs and answers properly on port 1085
Monitor runs, configured to use port . Works perfectly.

I start an instance of my app -> Monitor is happy, app is running, no deaths 
reported, logfile generated, last line reads waiting for requests (the standard 
blabla), URL looks good. Monitor tells me the app is on port 2001.

When I try to connect to the app I get nothing, just a white screen, no proper 
html. The same happens whether I connect through Apache or directly to port 
2001.
I built another deployment tar from my build system (also 10.9.5, Eclipse 3.8 
with matching WOLips). App runs fine inside Eclipse. Moving the tarball over 
the the deployment machine, unpacking, setting correct owner/group, starting 
via Monitor -> everything looks great, still no output at all. Tried with 
Safari as well as from the command line with curl. -> Empty response. Still 
Monitor is happy, no deaths reported, logfile is on "waiting for requests".

The same happens when I start the app manually from the command line. 
Everything looks good, just nothing comes back from the port 2001 (and there is 
no connection failure, connect but empty reply!)

HELP! What the h** is going on here? Any idea how to debug such a thing?
I'll attach the log file as well as Properties. Maybe anybody spots something

 Properties **

# Project Encoding
er.extensions.ERXApplication.DefaultEncoding=UTF-8

# OGNL
ognl.helperFunctions=true
ognl.inlineBindings=true

# Misc
er.extensions.stackTrace.cleanup=true

# EOF
er.extensions.ERXEC.safeLocking=true
er.extensions.ERXEC.useSharedEditingContext=false
er.extensions.ERXEnterpriseObject.applyRestrictingQualifierOnInsert=true
er.extensions.ERXEnterpriseObject.updateInverseRelationships=true

# MySQL Connection Dictionary
#dbConnectUserGLOBAL=
#dbConnectPasswordGLOBAL=
#dbConnectDriverGLOBAL=com.mysql.jdbc.Driver
#Movies.URL=jdbc:mysql://localhost/movies?capitalizeTypenames=true&zeroDateTimeBehavior=convertToNull&characterEncoding=UTF-8


# Migrations
#er.migration.migrateAtStartup=true
#er.migration.createTablesIfNecessary=true
#er.migration.modelNames=YourModel

# Misc Components
er.extensions.ERXWOForm.multipleSubmitDefault=true
#er.extensions.ERXWORepetition.checkHashCodes=true
#er.extensions.ERXWORepetition.raiseOnUnmatchedObject=true
#er.extensions.ERXWORepetition.eoSupport=true

er.component.clickToOpen=true
wolips.password=my_password

# ERJavaMail
er.javamail.centralize=true
er.javamail.adminEmail=mar...@example.com
er.javamail.debugEnabled=false
er.javamail.smtpHost=192.168.11.33
er.javamail.smtpAuth=false
er.javamail.smtpUser=
er.javamail.smtpPassword=

# Log4j Configuration
log4j.loggerFactory=er.extensions.logging.ERXLogger$Factory
log4j.rootCategory=INFO,A1
log4j.appender.A1=er.extensions.logging.ERXConsoleAppender
log4j.appender.A1.layout=er.extensions.logging.ERXPatternLayout
log4j.appender.A1.layout.ConversionPattern=%d{MMM dd HH:mm:ss} %$[%#] %-5p %c 
%x - %m%n

# Log4j Categories
# Here are a few log4j sub-categori

Re: URGENT help needed: app simply stopped working (sort of)

2014-09-29 Thread Chuck Hill
But Marcus said, "The same happens whether I connect through Apache or directly 
to port 2001.” — that should rule out Apache as the issue.  And if it was 
Apache, I’d expect a 404 or 500 response.

Chuck


On 2014-09-29, 11:53 AM, "Timothy Worman" wrote:

This. Apple’s update likely changed your apache conf. For this reason I always 
install apache using homebrew and run that instead of the built-in apache.

Tim
UCLA GSE&IS


On Sep 29, 2014, at 11:47 AM, Frank Stock 
mailto:frank.st...@telenet.be>> wrote:

Marcus,


did you check the Apache settings?


Folks,

I don't get it anymore. I have a Mac Mini Server running one Wonder app. 
Deployment is with JavaMonitor from Wonder. The app has been running for a 
couple months. This weekend I updated Max OS X from 10.9.4 to 10.9.5. Now my 
application simply does not accept any network connection anymore. Besides the 
system update I installed a patched bash. These are the only changes. I do not 
suspect bash, I have already verified that the problem is independent of bash 
version.

wotaskd runs and answers properly on port 1085
Monitor runs, configured to use port . Works perfectly.

I start an instance of my app -> Monitor is happy, app is running, no deaths 
reported, logfile generated, last line reads waiting for requests (the standard 
blabla), URL looks good. Monitor tells me the app is on port 2001.

When I try to connect to the app I get nothing, just a white screen, no proper 
html. The same happens whether I connect through Apache or directly to port 
2001.
I built another deployment tar from my build system (also 10.9.5, Eclipse 3.8 
with matching WOLips). App runs fine inside Eclipse. Moving the tarball over 
the the deployment machine, unpacking, setting correct owner/group, starting 
via Monitor -> everything looks great, still no output at all. Tried with 
Safari as well as from the command line with curl. -> Empty response. Still 
Monitor is happy, no deaths reported, logfile is on "waiting for requests".

The same happens when I start the app manually from the command line. 
Everything looks good, just nothing comes back from the port 2001 (and there is 
no connection failure, connect but empty reply!)

HELP! What the h** is going on here? Any idea how to debug such a thing?
I'll attach the log file as well as Properties. Maybe anybody spots something

 Properties **

# Project Encoding
er.extensions.ERXApplication.DefaultEncoding=UTF-8

# OGNL
ognl.helperFunctions=true
ognl.inlineBindings=true

# Misc
er.extensions.stackTrace.cleanup=true

# EOF
er.extensions.ERXEC.safeLocking=true
er.extensions.ERXEC.useSharedEditingContext=false
er.extensions.ERXEnterpriseObject.applyRestrictingQualifierOnInsert=true
er.extensions.ERXEnterpriseObject.updateInverseRelationships=true

# MySQL Connection Dictionary
#dbConnectUserGLOBAL=
#dbConnectPasswordGLOBAL=
#dbConnectDriverGLOBAL=com.mysql.jdbc.Driver
#Movies.URL=jdbc:mysql://localhost/movies?capitalizeTypenames=true&zeroDateTimeBehavior=convertToNull&characterEncoding=UTF-8


# Migrations
#er.migration.migrateAtStartup=true
#er.migration.createTablesIfNecessary=true
#er.migration.modelNames=YourModel

# Misc Components
er.extensions.ERXWOForm.multipleSubmitDefault=true
#er.extensions.ERXWORepetition.checkHashCodes=true
#er.extensions.ERXWORepetition.raiseOnUnmatchedObject=true
#er.extensions.ERXWORepetition.eoSupport=true

er.component.clickToOpen=true
wolips.password=my_password

# ERJavaMail
er.javamail.centralize=true
er.javamail.adminEmail=mar...@example.com
er.javamail.debugEnabled=false
er.javamail.smtpHost=192.168.11.33
er.javamail.smtpAuth=false
er.javamail.smtpUser=
er.javamail.smtpPassword=

# Log4j Configuration
log4j.loggerFactory=er.extensions.logging.ERXLogger$Factory
log4j.rootCategory=INFO,A1
log4j.appender.A1=er.extensions.logging.ERXConsoleAppender
log4j.appender.A1.layout=er.extensions.logging.ERXPatternLayout
log4j.appender.A1.layout.ConversionPattern=%d{MMM dd HH:mm:ss} %$[%#] %-5p %c 
%x - %m%n

# Log4j Categories
# Here are a few log4j sub-categories that are interesting.
# Don't forget that in developement mode this file will get reloaded
# everytime it changes, so if you say want to turn adaptor debugging
# on in the middle of the app simply set the below category to debug.
# Very handy.
# Base Category
log4j.logger.er=INFO

# ERExtensions
# Transaction - Switching this to debug will start the sql ouputting.
log4j.logger.er.transaction.adaptor.EOAdaptorDebugEnabled=DEBUG

# Fixes - Turning this on will show all the models that are loaded
log4j.logger.er.extensions.fixes.ERSharedEOLoader=INFO

er.extensions.ERXNSLogLog4jBridge=INFO
#log4j.logger.er.eo.ERXGenericRecord=DEBUG
#log4j.logger.er.validation.ERXEntityClassDescription=DEBUG
#log4j.logger.er.default.ERXEntityClassDescription=DEBUG
log4j.logger.er.extensions.ERXDatabaseContextDelegate=WARN
log4j.logger.er.extensions.ERXConfigurati

Re: URGENT help needed: app simply stopped working (sort of)

2014-09-29 Thread Chuck Hill
This sounds like what can happen if there is an exception very early in the R-R 
loop (maybe very late too).  Are you getting a standard 200 response or a 500?  
Did the Java version change?  You might need to start instrumenting and getting 
your app to use subclasses of WOWorkerThread and WOClassicAdaptor to sort this 
out.  Good fun!

Chuck


On 2014-09-29, 11:39 AM, "Markus Ruggiero" wrote:

Folks,

I don't get it anymore. I have a Mac Mini Server running one Wonder app. 
Deployment is with JavaMonitor from Wonder. The app has been running for a 
couple months. This weekend I updated Max OS X from 10.9.4 to 10.9.5. Now my 
application simply does not accept any network connection anymore. Besides the 
system update I installed a patched bash. These are the only changes. I do not 
suspect bash, I have already verified that the problem is independent of bash 
version.

wotaskd runs and answers properly on port 1085
Monitor runs, configured to use port . Works perfectly.

I start an instance of my app -> Monitor is happy, app is running, no deaths 
reported, logfile generated, last line reads waiting for requests (the standard 
blabla), URL looks good. Monitor tells me the app is on port 2001.

When I try to connect to the app I get nothing, just a white screen, no proper 
html. The same happens whether I connect through Apache or directly to port 
2001.
I built another deployment tar from my build system (also 10.9.5, Eclipse 3.8 
with matching WOLips). App runs fine inside Eclipse. Moving the tarball over 
the the deployment machine, unpacking, setting correct owner/group, starting 
via Monitor -> everything looks great, still no output at all. Tried with 
Safari as well as from the command line with curl. -> Empty response. Still 
Monitor is happy, no deaths reported, logfile is on "waiting for requests".

The same happens when I start the app manually from the command line. 
Everything looks good, just nothing comes back from the port 2001 (and there is 
no connection failure, connect but empty reply!)

HELP! What the h** is going on here? Any idea how to debug such a thing?
I'll attach the log file as well as Properties. Maybe anybody spots something

 Properties **

# Project Encoding
er.extensions.ERXApplication.DefaultEncoding=UTF-8

# OGNL
ognl.helperFunctions=true
ognl.inlineBindings=true

# Misc
er.extensions.stackTrace.cleanup=true

# EOF
er.extensions.ERXEC.safeLocking=true
er.extensions.ERXEC.useSharedEditingContext=false
er.extensions.ERXEnterpriseObject.applyRestrictingQualifierOnInsert=true
er.extensions.ERXEnterpriseObject.updateInverseRelationships=true

# MySQL Connection Dictionary
#dbConnectUserGLOBAL=
#dbConnectPasswordGLOBAL=
#dbConnectDriverGLOBAL=com.mysql.jdbc.Driver
#Movies.URL=jdbc:mysql://localhost/movies?capitalizeTypenames=true&zeroDateTimeBehavior=convertToNull&characterEncoding=UTF-8


# Migrations
#er.migration.migrateAtStartup=true
#er.migration.createTablesIfNecessary=true
#er.migration.modelNames=YourModel

# Misc Components
er.extensions.ERXWOForm.multipleSubmitDefault=true
#er.extensions.ERXWORepetition.checkHashCodes=true
#er.extensions.ERXWORepetition.raiseOnUnmatchedObject=true
#er.extensions.ERXWORepetition.eoSupport=true

er.component.clickToOpen=true
wolips.password=my_password

# ERJavaMail
er.javamail.centralize=true
er.javamail.adminEmail=mar...@example.com
er.javamail.debugEnabled=false
er.javamail.smtpHost=192.168.11.33
er.javamail.smtpAuth=false
er.javamail.smtpUser=
er.javamail.smtpPassword=

# Log4j Configuration
log4j.loggerFactory=er.extensions.logging.ERXLogger$Factory
log4j.rootCategory=INFO,A1
log4j.appender.A1=er.extensions.logging.ERXConsoleAppender
log4j.appender.A1.layout=er.extensions.logging.ERXPatternLayout
log4j.appender.A1.layout.ConversionPattern=%d{MMM dd HH:mm:ss} %$[%#] %-5p %c 
%x - %m%n

# Log4j Categories
# Here are a few log4j sub-categories that are interesting.
# Don't forget that in developement mode this file will get reloaded
# everytime it changes, so if you say want to turn adaptor debugging
# on in the middle of the app simply set the below category to debug.
# Very handy.
# Base Category
log4j.logger.er=INFO

# ERExtensions
# Transaction - Switching this to debug will start the sql ouputting.
log4j.logger.er.transaction.adaptor.EOAdaptorDebugEnabled=DEBUG

# Fixes - Turning this on will show all the models that are loaded
log4j.logger.er.extensions.fixes.ERSharedEOLoader=INFO

er.extensions.ERXNSLogLog4jBridge=INFO
#log4j.logger.er.eo.ERXGenericRecord=DEBUG
#log4j.logger.er.validation.ERXEntityClassDescription=DEBUG
#log4j.logger.er.default.ERXEntityClassDescription=DEBUG
log4j.logger.er.extensions.ERXDatabaseContextDelegate=WARN
log4j.logger.er.extensions.ERXConfigurationManager=INFO
#log4j.logger.er.extensions.ERXApplication.RequestHandling=DEBUG

#ERXNavigation

er.extensions.ERXNavigationManager.localizeDisplayKeys=true


Re: Shellshock and mod_webobjects

2014-09-25 Thread Chuck Hill
Better safe than hacked, I say!

On 2014-09-25, 11:29 AM, "Ramsey Gurley" wrote:

Thanks Chuck. I assumed this was the case, but it never hurts to ask :)

On Sep 25, 2014, at 11:27 AM, Chuck Hill 
mailto:ch...@global-village.net>> wrote:

mod_webobjects does not runs scripts so you should be good.

Chuck


On 2014-09-25, 11:21 AM, "Ramsey Gurley" wrote:

Does anyone know if the mod_webobjects module has similar issues to mod_cgi 
with regards to the Shellshock vulnerability? I’ve disabled mod_cgi as a 
precaution since WO seems to work fine without it.

https://access.redhat.com/articles/1200223
___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  
(Webobjects-dev@lists.apple.com<mailto:Webobjects-dev@lists.apple.com>)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/chill%40global-village.net

This email sent to ch...@global-village.net<mailto:ch...@global-village.net>

 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: Shellshock and mod_webobjects

2014-09-25 Thread Chuck Hill
mod_webobjects does not runs scripts so you should be good.

Chuck


On 2014-09-25, 11:21 AM, "Ramsey Gurley" wrote:

Does anyone know if the mod_webobjects module has similar issues to mod_cgi 
with regards to the Shellshock vulnerability? I’ve disabled mod_cgi as a 
precaution since WO seems to work fine without it.

https://access.redhat.com/articles/1200223
___
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:
https://lists.apple.com/mailman/options/webobjects-dev/chill%40global-village.net

This email sent to ch...@global-village.net
 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: EOCustomObject valueForKey avoiding infinite recursion

2014-09-12 Thread Chuck Hill
The problem here is that committedSnapshot is created on demand, and if it has 
not been recreated when you call it in takeStoredValueForKey then you are going 
to get the same sort of recursion.  You could grab the rootObjectStore snapshot 
and use that safely.

Chuck


On 2014-09-12, 1:10 AM, "John Pollard" wrote:

So committedSnapshot records the last committed state so that as yet unsaved 
changes can be compared? My value shouldn't change at all in an update ever so 
this might be a good place to check for null -> B happening.
What I have noticed in takeStoredValueForKey is that clearProperties() is 
invoked if the EO is invalidated, which does lead to a B -> null -> B 
transition where in fact the value doesn't change, so I have to ignore the case 
where the property goes to null temporarily if an EO is invalidated. Though I 
haven't checked that willUpdate() is impacted by clearProperties() in the same 
way.

On 11 Sep 2014, at 22:54, Chuck Hill 
mailto:ch...@global-village.net>> wrote:

That might not give you what you want.  committedSnapshot is set when the 
object is first mutated.  If you if the value is changed like:

null -> B -> null

Then this won’t log what is desired.

Chuck


On 2014-09-11, 12:28 PM, "Theodore Petrosky" wrote:

I have used the

@Override
public void willUpdate() {

)method

then I get the original value and compare it

if (committedSnapshotValueForKey(PROJECT_DESCRIPTION_KEY) != 
NSKeyValueCoding.NullValue) {
setOldPD((String)committedSnapshotValueForKey(PROJECT_DESCRIPTION_KEY));

}

and in your case check for == NSKeyValueCoding.NullValue

does that do what you want?

Ted


On Sep 11, 2014, at 3:20 PM, John Pollard 
mailto:j...@pollardweb.com>> wrote:

Ray,

Thanks for the thought. I do want to log the stack trace but as I can't predict 
when this issue might happen and it is rare. I want to narrow down to the close 
circumstances first, or else I will be logging thousands of these stack traces 
in normal operation when there isn't a problem. What I need to do is detect 
when a given attribute is changed from non-null to null (which should never 
happen), so I need to check what it was before it is being set i.e. just check 
it was non-null before being set to null.

John

On 11 Sep 2014, at 18:05, Ray Kiddy 
mailto:r...@ganymede.org>> wrote:

On Thu, 11 Sep 2014 14:55:16 +0100
John Pollard mailto:j...@pollardweb.com>> wrote:

Hi List,

In some debugging within takeValueForKey() I want to find out if the
key already has a value set. If I call valueForKey() or
storedValueForKey() and the value isn't already set I get infinite
recursion as it triggers a fault and tries to load with
takeValueForKey() and so on.

I am trying to debug where a value is being set to null, but
apparently not going via validateXXX() or setXXX() methods, so I want
to trap the case where the takeValueForKey() is passed null when the
key value was previously non-null and log a stack trace.

Thanks
John

One way to prevent the recursion you are talking about is to actually
look at the stack trace inside the method. Call the static method in
Wonder, ERXUtilities.stackTrace(), and look at what is in it. If you
find the method you are in, you have already been called.

Without Wonder, you can instantiate a Throwable and get the stack trace
from that.

Doing this is a smell. You do not want to leave this in your code.

But since you are putting this in to find something, having this check
there temporarily can be useful.

- ray



___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  
(Webobjects-dev@lists.apple.com<mailto:Webobjects-dev@lists.apple.com>)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/john%40pollardweb.com

This email sent to j...@pollardweb.com<mailto:j...@pollardweb.com>


___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  
(Webobjects-dev@lists.apple.com<mailto:Webobjects-dev@lists.apple.com>)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/tedpet5%40yahoo.com

This email sent to tedp...@yahoo.com<mailto:tedp...@yahoo.com>


 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: EOCustomObject valueForKey avoiding infinite recursion

2014-09-12 Thread Chuck Hill
I recall some modelling problem that could result in this, but that would not 
explain your “intermittent about once every two months” unless these objects 
are rarely edited.

Chuck


On 2014-09-12, 1:18 AM, "John Pollard" wrote:

Hmm, hairy palms, not sure I want that, but thanks for this anyway. The related 
attribute is a to-one relationship, does that mean it is a FK attribute? It is 
the to-one relationship that becomes null against my will and I need to find 
out where/why.

I have now cobbled some code up in takeStoredValueForKey() which avoids the 
recursion when checking the existing value using storedValueForKey() and 
ignores the (temp) null value caused by clearProperties() when the EO is 
invalidated. Hence I believe I now have the code to scream if my property is 
set to null from a pre-existing value and I should get an email + stack trace 
to report the exciting news. These intermittents are about once every two 
months so will have to wait.

On 11 Sep 2014, at 23:04, Chuck Hill 
mailto:ch...@global-village.net>> wrote:

You are going to grow hair on your palms doing this but…

willRead();
Object value = __dictionary().valueForKey(“your attribute”);

Should, I think, do what you want.  Of course, it is package protected so you 
will need to use reflection to get access.  And the result may be null if the 
object is still a fault.

Is this an FK or PK by chance?


Chuck





On 2014-09-11, 12:22 PM, "John Pollard" wrote:

Apologies, I meant takeStoredValueForKey(). Within there, how can I safely see 
what the value currently is when when this method is called, before I invoke 
super. takeStoredValueForKey() to take on the new value?
John

On 11 Sep 2014, at 18:10, John Huss 
mailto:johnth...@gmail.com>> wrote:

The order of calls is:

takeValueForKey -> setXXX -> takeStoredValueForKey

All of these maybe skipped except for takeStoredValueForKey, so that is the 
only one you should override to see what is getting saved.


On Thu, Sep 11, 2014 at 8:55 AM, John Pollard 
mailto:j...@pollardweb.com>> wrote:
Hi List,

In some debugging within takeValueForKey() I want to find out if the key 
already has a value set. If I call valueForKey() or storedValueForKey() and the 
value isn't already set I get infinite recursion as it triggers a fault and 
tries to load with takeValueForKey() and so on.

I am trying to debug where a value is being set to null, but apparently not 
going via validateXXX() or setXXX() methods, so I want to trap the case where 
the takeValueForKey() is passed null when the key value was previously non-null 
and log a stack trace.

Thanks
John
 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  
(Webobjects-dev@lists.apple.com<mailto:Webobjects-dev@lists.apple.com>)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/johnthuss%40gmail.com

This email sent to johnth...@gmail.com<mailto:johnth...@gmail.com>



 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: EOCustomObject valueForKey avoiding infinite recursion

2014-09-11 Thread Chuck Hill
You are going to grow hair on your palms doing this but…

willRead();
Object value = __dictionary().valueForKey(“your attribute”);

Should, I think, do what you want.  Of course, it is package protected so you 
will need to use reflection to get access.  And the result may be null if the 
object is still a fault.

Is this an FK or PK by chance?


Chuck





On 2014-09-11, 12:22 PM, "John Pollard" wrote:

Apologies, I meant takeStoredValueForKey(). Within there, how can I safely see 
what the value currently is when when this method is called, before I invoke 
super. takeStoredValueForKey() to take on the new value?
John

On 11 Sep 2014, at 18:10, John Huss 
mailto:johnth...@gmail.com>> wrote:

The order of calls is:

takeValueForKey -> setXXX -> takeStoredValueForKey

All of these maybe skipped except for takeStoredValueForKey, so that is the 
only one you should override to see what is getting saved.


On Thu, Sep 11, 2014 at 8:55 AM, John Pollard 
mailto:j...@pollardweb.com>> wrote:
Hi List,

In some debugging within takeValueForKey() I want to find out if the key 
already has a value set. If I call valueForKey() or storedValueForKey() and the 
value isn't already set I get infinite recursion as it triggers a fault and 
tries to load with takeValueForKey() and so on.

I am trying to debug where a value is being set to null, but apparently not 
going via validateXXX() or setXXX() methods, so I want to trap the case where 
the takeValueForKey() is passed null when the key value was previously non-null 
and log a stack trace.

Thanks
John
 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/johnthuss%40gmail.com

This email sent to johnth...@gmail.com


 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: EOCustomObject valueForKey avoiding infinite recursion

2014-09-11 Thread Chuck Hill
That might not give you what you want.  committedSnapshot is set when the 
object is first mutated.  If you if the value is changed like:

null -> B -> null

Then this won’t log what is desired.

Chuck


On 2014-09-11, 12:28 PM, "Theodore Petrosky" wrote:

I have used the

@Override
public void willUpdate() {

)method

then I get the original value and compare it

if (committedSnapshotValueForKey(PROJECT_DESCRIPTION_KEY) != 
NSKeyValueCoding.NullValue) {
setOldPD((String)committedSnapshotValueForKey(PROJECT_DESCRIPTION_KEY));

}

and in your case check for == NSKeyValueCoding.NullValue

does that do what you want?

Ted


On Sep 11, 2014, at 3:20 PM, John Pollard 
mailto:j...@pollardweb.com>> wrote:

Ray,

Thanks for the thought. I do want to log the stack trace but as I can't predict 
when this issue might happen and it is rare. I want to narrow down to the close 
circumstances first, or else I will be logging thousands of these stack traces 
in normal operation when there isn't a problem. What I need to do is detect 
when a given attribute is changed from non-null to null (which should never 
happen), so I need to check what it was before it is being set i.e. just check 
it was non-null before being set to null.

John

On 11 Sep 2014, at 18:05, Ray Kiddy 
mailto:r...@ganymede.org>> wrote:

On Thu, 11 Sep 2014 14:55:16 +0100
John Pollard mailto:j...@pollardweb.com>> wrote:

Hi List,

In some debugging within takeValueForKey() I want to find out if the
key already has a value set. If I call valueForKey() or
storedValueForKey() and the value isn't already set I get infinite
recursion as it triggers a fault and tries to load with
takeValueForKey() and so on.

I am trying to debug where a value is being set to null, but
apparently not going via validateXXX() or setXXX() methods, so I want
to trap the case where the takeValueForKey() is passed null when the
key value was previously non-null and log a stack trace.

Thanks
John

One way to prevent the recursion you are talking about is to actually
look at the stack trace inside the method. Call the static method in
Wonder, ERXUtilities.stackTrace(), and look at what is in it. If you
find the method you are in, you have already been called.

Without Wonder, you can instantiate a Throwable and get the stack trace
from that.

Doing this is a smell. You do not want to leave this in your code.

But since you are putting this in to find something, having this check
there temporarily can be useful.

- ray



___
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:
https://lists.apple.com/mailman/options/webobjects-dev/john%40pollardweb.com

This email sent to j...@pollardweb.com


___
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:
https://lists.apple.com/mailman/options/webobjects-dev/tedpet5%40yahoo.com

This email sent to tedp...@yahoo.com

 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: WOCompile/ant class loader issue

2014-09-04 Thread Chuck Hill
Hi Tim,

Trying running ant with –verbose –debug
That missing class is obviously part of Ant, so it should not be missing.   
Either it is finding something else on the class path (and running with 
–verbose –debug should let you see that), or some exception is getting caught 
and mis-reported.

It could also be a class loader issue, but as AntClassLoader is being used 
here, that seems unlikely.  Is this a straight up ant command line build, or 
are you running this inside of Eclipse for something?


Chuck


On 2014-09-04, 1:51 PM, "Timothy Worman" wrote:

All:

I’m getting this error when I try to run app builds:

build.xml:203: taskdef A class needed by class 
org.objectstyle.woproject.ant.WOCompile cannot be found: 
org/apache/tools/ant/taskdefs/Javac
 using the classloader AntClassLoader[]

All framework install ant tasks are working normally and other ant tasks work 
as well. I found this past message on the dev list where this issue was solved 
by removing WOCompile.jar from /Library/Java/Extensions. I don’t have any jars 
in the extensions folder so I am not sure what is going on there.

Any ideas how I could solve this before I go ballistic and start blowing stuff 
up?

Tim
UCLA GSE&IS
 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: WOPort ?

2014-08-20 Thread Chuck Hill
-DWOPort=1234 or –WOPort 1234


On 2014-08-20, 7:09 PM, "Theodore Petrosky" wrote:


Is there a way to set the port as a property? I googled and there were a few 
references to adding a line WOPort=51234.

I’ve tried it but it doesn’t take. Is there a property for WOPort?

Ted
___
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:
https://lists.apple.com/mailman/options/webobjects-dev/chill%40global-village.net

This email sent to ch...@global-village.net
 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: How to fetch an entity from an id ?

2014-08-20 Thread Chuck Hill
It is in EOUtilities

static EOEnterpriseObject objectWithPrimaryKey(EOEditingContext ec, String 
entityName, NSDictionary pkDict)
  Fetches the Enterprise Object identified by the specified primary key 
dictionary.

On 2014-08-20, 12:07 PM, "Fred Opims" wrote:

Thank you John!
I've used this format in an url.
But how can i fetch Person 100 with fetch methode directly in Java ?

Here are the fetch method provided in a ERXGenericRecord.

I have not found a method using the primary key.

public static ERXFetchSpecification fetchSpec()
public static NSArray fetchAllUsers(EOEditingContext editingContext)
public static NSArray fetchAllUsers(EOEditingContext editingContext, 
NSArray sortOrderings)
public static NSArray fetchUsers(EOEditingContext editingContext, 
EOQualifier qualifier, NSArray sortOrderings)
public static User fetchUser(EOEditingContext editingContext, String keyName, 
Object value)
public static User fetchUser(EOEditingContext editingContext, EOQualifier 
qualifier)
public static User fetchRequiredUser(EOEditingContext editingContext, String 
keyName, Object value)
public static User fetchRequiredUser(EOEditingContext editingContext, 
EOQualifier qualifier)

Thank you!



On Wed, Aug 20, 2014 at 2:27 PM, John Huss 
mailto:johnth...@gmail.com>> wrote:
.../Person/100

It's /


On Wed, Aug 20, 2014 at 12:26 PM, Fred Opims 
mailto:ropims...@gmail.com>> wrote:
Hello!
I'm using ErRest and i would like to fetch an entity from an id.

So far  I'm using an keyName (attribute) to fetch an entity. For the case i'm 
working on, I only have its id.

Do you know how to do that ?

Thank you

Best!

Fred

 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/johnthuss%40gmail.com

This email sent to johnth...@gmail.com


 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: eclipse 4.4 server IP

2014-08-19 Thread Chuck Hill
Sorry, I missed the "I would do this to show someone here in the office” part.  
Try setting –WOHost to 10.1.12.138

Otherwise… I dunno.

Chuck


On 2014-08-19, 9:25 AM, "Theodore Petrosky" wrote:

Thanks Chuck but no joy. In the url I see:

http://localhost:68005/cgi-bin/WebObjects/ArticleD2W.woa

and that works on my machine but below does not!!

http://10.1.12.138:68005/cgi-bin/WebObjects/ArticleD2W.woa
where 10.1.12.138 is my IP

Safari can’t open the page 
“‎10.1.12.138:64005/cgi-bin/WebObjects/ArticleD2W.woa” because Safari can’t 
connect to the server “10.1.12.138”.

I know this used to work. Any other ideas ??  OS X Mavericks eclipse 4.4

Ted


On Aug 19, 2014, at 11:56 AM, Chuck Hill 
mailto:ch...@global-village.net>> wrote:

Set –WOHost to localhost?

On 2014-08-19, 8:01 AM, "Theodore Petrosky" wrote:

yes, I saw that. however, in the past, I left that alone and I could use the 
local loopback address for me, and then the internal IP to people that i wanted 
to have looking at my progress. Then there is the issue of DHCP. My IP will 
change, so I would have to update that setting.




On Aug 19, 2014, at 10:44 AM, Þór Sigurðsson 
mailto:th...@samgongustofa.is>> wrote:

It should be a runtime property to the WOApplication ( Run -> Run 
Configurations ... -> WOApplication -> YourApplication -> WO [tab] -> 
-WOAdaptorURL = "http://10.1.12.138/cgi-bin/WebObjects";
The rest should be manhandled automagically
On 19.8.2014, at 14:21, Theodore Petrosky 
mailto:tedp...@yahoo.com>> wrote:
In the New Eclipse 4.4, so far I am working beautifully. but I hit a little 
snag. When I debug my app, Safari opens with a URL
http://127.0.0.1:62432/cgi-bin/WebObjects/ArticleD2W.woa
local loop back address.
so I copy and paste the address but use the computer IP
http://10.1.12.138:62432/cgi-bin/WebObjects/ArticleD2W.woa
I would do this to show someone here in the office and in the old Eclipse it 
would work. Is there a property I need to set to get this functionality? I’ve 
been hunting in the preferences but don’t see anything that looks like the 
solution.
Ted
___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  
(Webobjects-dev@lists.apple.com<mailto:Webobjects-dev@lists.apple.com>)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/thors%40samgongustofa.is
This email sent to th...@samgongustofa.is<mailto:th...@samgongustofa.is>

Fyrirvari á tölvupósti / e-mail disclaimer
http://samgongustofa.is/fyrirvari/


___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  
(Webobjects-dev@lists.apple.com<mailto:Webobjects-dev@lists.apple.com>)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/chill%40global-village.net

This email sent to ch...@global-village.net<mailto:ch...@global-village.net>

 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: eclipse 4.4 server IP

2014-08-19 Thread Chuck Hill
Set –WOHost to localhost?

On 2014-08-19, 8:01 AM, "Theodore Petrosky" wrote:

yes, I saw that. however, in the past, I left that alone and I could use the 
local loopback address for me, and then the internal IP to people that i wanted 
to have looking at my progress. Then there is the issue of DHCP. My IP will 
change, so I would have to update that setting.




On Aug 19, 2014, at 10:44 AM, Þór Sigurðsson 
mailto:th...@samgongustofa.is>> wrote:

It should be a runtime property to the WOApplication ( Run -> Run 
Configurations ... -> WOApplication -> YourApplication -> WO [tab] -> 
-WOAdaptorURL = "http://10.1.12.138/cgi-bin/WebObjects";
The rest should be manhandled automagically
On 19.8.2014, at 14:21, Theodore Petrosky 
mailto:tedp...@yahoo.com>> wrote:
In the New Eclipse 4.4, so far I am working beautifully. but I hit a little 
snag. When I debug my app, Safari opens with a URL
http://127.0.0.1:62432/cgi-bin/WebObjects/ArticleD2W.woa
local loop back address.
so I copy and paste the address but use the computer IP
http://10.1.12.138:62432/cgi-bin/WebObjects/ArticleD2W.woa
I would do this to show someone here in the office and in the old Eclipse it 
would work. Is there a property I need to set to get this functionality? I’ve 
been hunting in the preferences but don’t see anything that looks like the 
solution.
Ted
___
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:
https://lists.apple.com/mailman/options/webobjects-dev/thors%40samgongustofa.is
This email sent to th...@samgongustofa.is

Fyrirvari á tölvupósti / e-mail disclaimer
http://samgongustofa.is/fyrirvari/


___
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:
https://lists.apple.com/mailman/options/webobjects-dev/chill%40global-village.net

This email sent to ch...@global-village.net
 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: subclassing an Entity

2014-08-18 Thread Chuck Hill
What Ramsey said: your implementation is a Really Bad Idea (tm).  This is a 
state not a sub-type.


On 2014-08-18, 1:17 PM, "Ramsey Gurley" wrote:

Sounds like you’re about to shoot yourself in the foot :) I really wouldn’t 
subclass here. If is_important can change, that’s a bad idea. It sounds like a 
mutable attribute.

You can set up a method on your article EO called importantPDFs() and use that 
as a propertyKey in your rules. Since it isn’t a real relationship, you’ll need 
to manually set up the things that are set automatically by D2W when 
EORelationship info is available. Stuff like componentName, 
keyWhenRelationship, etc.

To answer your question about why the result is duplicated… you’d need to 
fs.setIsDeep(false) [default true] or fs.setUsesDistinct(true) [default false] 
on your EOFetchspecification.

On Aug 18, 2014, at 12:07 PM, Theodore Petrosky 
mailto:tedp...@yahoo.com>> wrote:

I have an Entity Article with a to-many to pdfs and to-one to thePDF.
I subclassed the Entity ‘PDF’ to ImportantPDF with a qualifierisImportant = 
1   and I set up the relationship from Article to ImportantPDF.
it almost works. If I have an  Article with one uploaded pdf, and isImportant 
is false, I see the asset listed in the pdfs List. however if I isImportant = 
true (attribute of pdf) then the asset is listed on the isImportant list and 
twice on the pdf list.
___
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:
https://lists.apple.com/mailman/options/webobjects-dev/rgurley%40smarthealth.com
This email sent to rgur...@smarthealth.com


___
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:
https://lists.apple.com/mailman/options/webobjects-dev/chill%40global-village.net

This email sent to ch...@global-village.net
 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: Kill hung instances

2014-08-14 Thread Chuck Hill
It depends on how hung it is.  If you scroll down to the bottom of the config 
page for an instance, there is a Force Quit button.  But that relies on the app 
being responsive to admin requests.  If there are no worker threads available, 
it won’t work.  And and I don’t think it can kill the app if there is an actual 
deadlock or live lock, e.g it is not a kill -KILL

Chuck


On 2014-08-14, 11:13 AM, "Ramsey Gurley" wrote:

Is there a built in way through java monitor to kill any instance that becomes 
non-responsive automatically? I’d rather not reinvent the wheel if something 
like this exists already.

Also, is there any good documentation on enabling JMX monitoring of woapps? In 
combination with a monitoring tool like Nagios or some other monitoring 
solution?

Thanks,

Ramsey
___
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:
https://lists.apple.com/mailman/options/webobjects-dev/chill%40global-village.net

This email sent to ch...@global-village.net
 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: mod_proxy as mod_WebObjects alternative [Was: Re: Yosemite]

2014-08-12 Thread Chuck Hill
You don’t need wotaskd (at the cost of instant reconfiguration) and you are not 
dependant on having mod_webobjects compiled for the Apache version and platform 
that you are using.

Chuck



On 2014-08-12, 7:05 PM, "Michael Kondratov" wrote:

What makes mod proxy better than apache adapter?

Michael

Sent from my iPad

On Aug 12, 2014, at 19:22, Paul Hoadley 
mailto:pa...@logicsquad.net>> wrote:

Hi Larry,

On 13 Aug 2014, at 7:12 am, Larry Mills-Gahl 
mailto:elem...@gmail.com>> wrote:

I’m new to the mod_proxy config also (but I’m digging it… thanks Chuck)

One piece that I needed to do in addition to setting the proxy config from the 
Migrations tab was to add this line to the apache config:

RequestHeader append x-webobjects-adaptor-version “mod_proxy"

Thanks for the additional info.  I lost momentum looking into this last week (I 
was only curious and have no burning need to get it going).  Would you have a 
few minutes to throw together a list of the steps you took?


--
Paul Hoadley
http://logicsquad.net/



___
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:
https://lists.apple.com/mailman/options/webobjects-dev/michael%40aspireauctions.com

This email sent to mich...@aspireauctions.com
 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: mod_proxy as mod_WebObjects alternative [Was: Re: Yosemite]

2014-08-05 Thread Chuck Hill
If you are using Wonder’s JavaMonitor (and if a property has not disabled it) 
you should see a Migration (Migrations?) tab on the right side.  That should 
give you instructions and a mod_proxy config that matches the current 
JavaMonitor setting.  I believe this is the work of Anjo.  And, yes, it 
absolutely works.

Chuck



On 2014-08-05, 4:22 PM, "Paul Hoadley" wrote:

Hi Chuck,

On 6 Aug 2014, at 2:27 am, Chuck Hill 
mailto:ch...@global-village.net>> wrote:

I’d take a long, hard look at moving to mod_proxy and ending this dependance on 
third party Apache plugins.  Unless your configuration changes frequently this 
seems like a better choice.

Tell me more.  Is this something that someone has successfully done (if so, is 
there documentation?), or just something you think would work?


--
Paul Hoadley
http://logicsquad.net/



 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: Yosemite

2014-08-05 Thread Chuck Hill
I’d take a long, hard look at moving to mod_proxy and ending this dependance on 
third party Apache plugins.  Unless your configuration changes frequently this 
seems like a better choice.

Chuck


On 2014-08-05, 9:08 AM, "Mark Wardle" wrote:

Yosemite upgrades Apache from 2.2 and 2.4.

I’ve tried recompiling the apache adaptor but compilation files despite 
entering a magic incantation:

make ADAPTORS=Apache2.4 LTFLAGS='--tag CC’


/usr/share/apr-1/build-1/libtool: line 8962: 
/Applications/Xcode.app/Contents/Developer/Toolchains/OSX10.10.xctoolchain/usr/bin/cc:
 No such file or directory
apxs:Error: Command failed with rc=8323072

It looks like it may be a problem with the new yosemite Xcode but I’m not sure.

Has anyone either downgraded gracefully to apache 2.2 or got a binary apache 
2.4 mac os x yosemite adapter. For the latter, we then have to do battle with 
the updated configuration files which look like they’re more restrictive than 
before.

If this doesn’t work, then I might have to face the horror of remembering how 
to do development in direct connect mode and somehow dynamically switch SSL on 
or off depending on whether in development!

Mark
--
Dr. Mark Wardle
Consultant Neurologist, University Hospital Wales, Cardiff, UK
Email: mark.war...@wales.nhs.uk or 
m...@wardle.org  Twitter: @mwardle
Telephone: 02920745274 (secretary) or facsimile: 02920744166





 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: Sharing an EO model between applications... ?

2014-07-22 Thread Chuck Hill
Hi Chris,

The word you are looking for is “framework”.  Put the model and EO classes and 
anything else you want shared in a  framework project and include that in the 
two application projects.
http://wiki.wocommunity.org/display/documentation/Development-Frameworks<http://wiki.wocommunity.org/display/documentation/Development-Frameworks?src=search>
http://wiki.wocommunity.org/display/WEB/Your+First+Framework<http://wiki.wocommunity.org/display/WEB/Your+First+Framework?src=search>
http://wiki.wocommunity.org/display/documentation/Add+a+Framework+Dependency


As for locking… do you run more than one instance of your application now?  If 
so, you should not run into any new problems.  If not, it is possible that your 
code is relying on there being only one process updating the database and that 
a second app could result in optimistic locking failures that you will need to 
now handle and will result in data freshness concerns that you will need to 
accommodate.


http://wiki.wocommunity.org/display/documentation/EOF-Using+EOF-Optimistic+Locking
http://wiki.wocommunity.org/display/documentation/EOF-Using+EOF-Concurrency
http://wiki.wocommunity.org/display/documentation/EOF-Using+EOF-Problems
http://wiki.wocommunity.org/display/documentation/EOF-Using+EOF-Caching+and+Freshness


Chuck

--
Chuck Hill
Executive Managing Partner, VP Development and Technical Services

Practical WebObjects - for developers who want to increase their overall 
knowledge of WebObjects or who are trying to solve specific problems.
http://www.global-village.net/gvc/practical_webobjects

Global Village Consulting ranks 13th in 2012 in BIV's Top 100 Fastest Growing 
Companies in B.C!

Global Village ranks 56th in the 26th annual PROFIT 500 ranking of Canada's 
Fastest-Growing Companies by PROFIT Magazine!


On 2014-07-22, 5:03 PM, "Chris Klein/IcontactWeb" wrote:

Folks,

I have a webobjects application that I want to split into two
separate applications: one to do slow, batch-oriented tasks; the
second to manage simple, fast user queries.

Ideally, the two applications would exchange data through a
database using a common EO model. However, I have no idea
whether the WO runtime provides any kind of concurrency/locking
protection for this scenario.

I have a rudimentary understanding of locking, but this is way
beyond my understanding, and I haven't found any hints on-line.

Any help, including a pointer to somewhere that this may have
already have been answered, would be greatly appreciated.

WebObjects 5.3.3
OS X 10.4.11
XCode 2.4.1
(I know, old-timey)

Thanks in advance.

Chris Klein






___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  
(Webobjects-dev@lists.apple.com<mailto:Webobjects-dev@lists.apple.com>)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/chill%40global-village.net

This email sent to ch...@global-village.net<mailto:ch...@global-village.net>
 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: EO*Qualifier implements equals() but not hashcode()

2014-07-18 Thread Chuck Hill
That is a favorite interview question. :-)

> On Jul 18, 2014, at 4:00 PM, "Ramsey Gurley"  wrote:
> 
> Just a note. ERXArrayUtilities.distinct doesn’t work on an array of 
> EOOrQualifiers because the qualifier classes implement equals without 
> implementing hashcode. sigh...
> ___
> 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:
> https://lists.apple.com/mailman/options/webobjects-dev/chill%40global-village.net
> 
> This email sent to ch...@global-village.net

 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: Accessing a framework's resources in WOUnit tests

2014-07-14 Thread Chuck Hill
If the jar files are the class path, then I don’t recall why the bundles would 
not be found.  You might have to take a peek inside of NSBundle.

Chuck

On 2014-07-14, 2:15 AM, "Musall Maik" wrote:

Hi Chuck,

the frameworks as such are in the class path, but the list doesn't include 
their jars specifically in addition to that. Accessing any class of these 
frameworks from plain Java code works fine though.

Maik


Am 11.07.2014 um 19:46 schrieb Chuck Hill 
mailto:ch...@global-village.net>>:

Hi Maik,

You mis-understood what I say.  It uses the current working directory to find 
the bundles, but that does not form the bundle path.  The paths that you have 
below look correct to me.  Are the jar files of your custom frameworks on the 
class path when the unit tests run?


Chuck


On 2014-07-11, 8:26 AM, "Musall Maik" wrote:

Hi Chuck,

how can I do something about that that?

I have a @BeforeClass init method in my abstract Unit test base class, doing 
this:

NSBundle bundle = NSBundle.mainBundle();
System.out.println( "Using NSBundle " + bundle.name() + " on path " + 
bundle.bundlePathURL() );
for( NSBundle fbundle : NSBundle.frameworkBundles() ) {
System.out.println( "Using Framework NSBundle " + fbundle.name() + " on path " 
+ fbundle.bundlePathURL() );
}

which produces the following output:

Using NSBundle MyApp on path file:/Users/maik/src/git/Foo/MyApp/build/MyApp.woa
Using Framework NSBundle JavaEOAccess on path 
file:/System/Library/Frameworks/JavaEOAccess.framework
Using Framework NSBundle JavaEOControl on path 
file:/System/Library/Frameworks/JavaEOControl.framework
Using Framework NSBundle JavaFoundation on path 
file:/System/Library/Frameworks/JavaFoundation.framework
Using Framework NSBundle JavaJDBCAdaptor on path 
file:/System/Library/Frameworks/JavaJDBCAdaptor.framework
Using Framework NSBundle JavaWebObjects on path 
file:/System/Library/Frameworks/JavaWebObjects.framework
Using Framework NSBundle JavaXML on path 
file:/System/Library/Frameworks/JavaXML.framework
Using Framework NSBundle JavaEOProject on path 
file:/System/Library/Frameworks/JavaEOProject.framework
Using Framework NSBundle JavaWOJSPServlet on path 
file:/System/Library/Frameworks/JavaWOJSPServlet.framework

Maik


Am 10.07.2014 um 19:31 schrieb Chuck Hill 
mailto:ch...@global-village.net>>:

NSBundle uses the current working directory as a base to locate the bundles.  
That is one thing to check.  For frameworks, I think this needs to be 
My.framework/Resources/Java

Chuck


On 2014-07-09, 11:49 PM, "Musall Maik" wrote:

Hi,

thanks for the suggestion. Turns out that none of my frameworks are loaded. 
NSBundle.frameworkBundles() contains only the basic Java… bundles, nothing 
else. Any idea?

Maik


Am 09.07.2014 um 22:40 schrieb Markus Stoll, junidas GmbH 
mailto:markus.st...@junidas.de>>:

Hi,
I use
NSBundle.bundleForClass(myclass.class).pathURLForResourcePath(_resource);
when I need things to work from unit tests, too
hope this helps, Markus
Am 09.07.2014 um 18:56 schrieb Musall Maik 
mailto:m...@selbstdenker.ag>>:
Oh, sorry for not making that clear.
It's involved in that everything works for the running application, but not 
from within unit tests. The effect that the pathURLForResourceNamed() call 
returns null happens only in unit tests.
Maik
Am 09.07.2014 um 18:11 schrieb John Huss 
mailto:johnth...@gmail.com>>:
Sorry, how is WOUnit involved?
On Wed, Jul 9, 2014 at 10:09 AM, Musall Maik 
mailto:m...@selbstdenker.ag>> wrote:
Hi,
I have an application that uses a few custom frameworks. When I use
WOResourceManager resourceManager = 
WOApplication.application().resourceManager();
URL url = resourceManager.pathURLForResourceNamed( "foo.dat", null, null );
from within the main application, I get a proper URL to my resource file. But 
when I use
WOResourceManager resourceManager = 
WOApplication.application().resourceManager();
URL url = resourceManager.pathURLForResourceNamed( "bar.dat", "MyFramework", 
null );
with the second parameter (framework name) given, I only get back null. 
Regardless of whether
this is called from within the main application or from the framework's code 
itself.
Does anybody have a hint for me?
Thanks
Maik
___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  
(Webobjects-dev@lists.apple.com<mailto:Webobjects-dev@lists.apple.com>)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/johnthuss%40gmail.com
This email sent to johnth...@gmail.com<mailto:johnth...@gmail.com>
___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  
(Webobjects-dev@lists.apple.com<mailto:Webobjects-dev@lists.apple.com>

Re: Accessing a framework's resources in WOUnit tests

2014-07-11 Thread Chuck Hill
Hi Maik,

You mis-understood what I say.  It uses the current working directory to find 
the bundles, but that does not form the bundle path.  The paths that you have 
below look correct to me.  Are the jar files of your custom frameworks on the 
class path when the unit tests run?


Chuck


On 2014-07-11, 8:26 AM, "Musall Maik" wrote:

Hi Chuck,

how can I do something about that that?

I have a @BeforeClass init method in my abstract Unit test base class, doing 
this:

NSBundle bundle = NSBundle.mainBundle();
System.out.println( "Using NSBundle " + bundle.name() + " on path " + 
bundle.bundlePathURL() );
for( NSBundle fbundle : NSBundle.frameworkBundles() ) {
System.out.println( "Using Framework NSBundle " + fbundle.name() + " on path " 
+ fbundle.bundlePathURL() );
}

which produces the following output:

Using NSBundle MyApp on path file:/Users/maik/src/git/Foo/MyApp/build/MyApp.woa
Using Framework NSBundle JavaEOAccess on path 
file:/System/Library/Frameworks/JavaEOAccess.framework
Using Framework NSBundle JavaEOControl on path 
file:/System/Library/Frameworks/JavaEOControl.framework
Using Framework NSBundle JavaFoundation on path 
file:/System/Library/Frameworks/JavaFoundation.framework
Using Framework NSBundle JavaJDBCAdaptor on path 
file:/System/Library/Frameworks/JavaJDBCAdaptor.framework
Using Framework NSBundle JavaWebObjects on path 
file:/System/Library/Frameworks/JavaWebObjects.framework
Using Framework NSBundle JavaXML on path 
file:/System/Library/Frameworks/JavaXML.framework
Using Framework NSBundle JavaEOProject on path 
file:/System/Library/Frameworks/JavaEOProject.framework
Using Framework NSBundle JavaWOJSPServlet on path 
file:/System/Library/Frameworks/JavaWOJSPServlet.framework

Maik


Am 10.07.2014 um 19:31 schrieb Chuck Hill 
mailto:ch...@global-village.net>>:

NSBundle uses the current working directory as a base to locate the bundles.  
That is one thing to check.  For frameworks, I think this needs to be 
My.framework/Resources/Java

Chuck


On 2014-07-09, 11:49 PM, "Musall Maik" wrote:

Hi,

thanks for the suggestion. Turns out that none of my frameworks are loaded. 
NSBundle.frameworkBundles() contains only the basic Java… bundles, nothing 
else. Any idea?

Maik


Am 09.07.2014 um 22:40 schrieb Markus Stoll, junidas GmbH 
mailto:markus.st...@junidas.de>>:

Hi,
I use
NSBundle.bundleForClass(myclass.class).pathURLForResourcePath(_resource);
when I need things to work from unit tests, too
hope this helps, Markus
Am 09.07.2014 um 18:56 schrieb Musall Maik 
mailto:m...@selbstdenker.ag>>:
Oh, sorry for not making that clear.
It's involved in that everything works for the running application, but not 
from within unit tests. The effect that the pathURLForResourceNamed() call 
returns null happens only in unit tests.
Maik
Am 09.07.2014 um 18:11 schrieb John Huss 
mailto:johnth...@gmail.com>>:
Sorry, how is WOUnit involved?
On Wed, Jul 9, 2014 at 10:09 AM, Musall Maik 
mailto:m...@selbstdenker.ag>> wrote:
Hi,
I have an application that uses a few custom frameworks. When I use
WOResourceManager resourceManager = 
WOApplication.application().resourceManager();
URL url = resourceManager.pathURLForResourceNamed( "foo.dat", null, null );
from within the main application, I get a proper URL to my resource file. But 
when I use
WOResourceManager resourceManager = 
WOApplication.application().resourceManager();
URL url = resourceManager.pathURLForResourceNamed( "bar.dat", "MyFramework", 
null );
with the second parameter (framework name) given, I only get back null. 
Regardless of whether
this is called from within the main application or from the framework's code 
itself.
Does anybody have a hint for me?
Thanks
Maik
___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  
(Webobjects-dev@lists.apple.com<mailto:Webobjects-dev@lists.apple.com>)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/johnthuss%40gmail.com
This email sent to johnth...@gmail.com<mailto:johnth...@gmail.com>
___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  
(Webobjects-dev@lists.apple.com<mailto:Webobjects-dev@lists.apple.com>)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/markus.stoll%40junidas.de
This email sent to markus.st...@junidas.de<mailto:markus.st...@junidas.de>
--
Dr. Markus Stoll (Geschäftsführer)
markus.st...@junidas.de<mailto:markus.st...@junidas.de>
junidas GmbH, Aixheimer Str. 12, 70619 Stuttgart
Tel. +49 (711) 4599799-11, Fax +49 (711) 4599799-10
Geschäftsführer: Dr. Markus Stoll, Matthias Zepf
Amtsgericht Stuttgart, HRB 21939



 ___

Re: build directory path is not working

2014-07-10 Thread Chuck Hill
Please respond to the list, not me.

What is on the Arguments and Classpath tabs?

Chuck


On 2014-07-10, 10:34 AM, "Pawan Tiwari" wrote:

Hi,

   PFA for screenshot of WOLipse launch.

an


On Thu, Jul 10, 2014 at 10:52 PM, Chuck Hill 
mailto:ch...@global-village.net>> wrote:
Please provide us full and total details of the launch configuration.  
Screenshots would be best.


Chuck


On 2014-07-10, 8:30 AM, "Pawan Tiwari" wrote:

Hi,


  Now i have migrate from WebObjects 5.2.4 to WebObjects 5.4.3 using on Eclipse 
Indigo 3.7 ,when when we create a new woapplication project and run it by 
WOLipse then it gives the following result:-

  [2014-7-10 20:50:4 IST]  WOMaxIOBufferSize=8196
[2014-7-10 20:50:4 IST]  WOWorkerThreadCountMin=16
[2014-7-10 20:50:4 IST]  WOSocketMonitorSleepTime=50
[2014-7-10 20:50:4 IST]  WODirectConnectEnabled=true
[2014-7-10 20:50:4 IST]  WOIncludeCommentsInResponse=false
[2014-7-10 20:50:4 IST]  WOWorkerThreadCount=8
[2014-7-10 20:50:4 IST]  WOAdaptorURL=http://127.0.0.1/cgi-bin/WebObjects
[2014-7-10 20:50:4 IST]  WOLaunchdEnabled=false
[2014-7-10 20:50:4 IST]  WOHost=localhost
[2014-7-10 20:50:4 IST]  WOIDE=WOLips
[2014-7-10 20:50:4 IST]  WODebuggingEnabled=true
[2014-7-10 20:50:4 IST]  WOListenQueueSize=128
[2014-7-10 20:50:4 IST]  WOMissingResourceSearchEnabled=true
[2014-7-10 20:50:4 IST]  WOApplicationClassName=Application
[2014-7-10 20:50:4 IST]  WOSessionStoreClassName=WOServerSessionStore
[2014-7-10 20:50:4 IST]  WOContextClassName=WOContext
[2014-7-10 20:50:4 IST]  WOCachingEnabled=false
[2014-7-10 20:50:4 IST]  WOAcceptMalformedCookies=false
[2014-7-10 20:50:4 IST]  NSProjectSearchPath=(..,../..)
[2014-7-10 20:50:4 IST]  WOMonitorEnabled=false
[2014-7-10 20:50:4 IST]  WOAllowRapidTurnaround=true
[2014-7-10 20:50:4 IST]  
WORootDirectory=c:\Apple\Developer\WebObjects\Versions\WebObjects543\System
[2014-7-10 20:50:4 IST]  WOGenerateWSDL=true
[2014-7-10 20:50:4 IST]  WOWorkerThreadCountMax=256
[2014-7-10 20:50:4 IST]  WOAllowsConcurrentRequestHandling=false
[2014-7-10 20:50:4 IST]  WOAdaptor=WODefaultAdaptor
[2014-7-10 20:50:4 IST]  WOSessionTimeOut=3600
[2014-7-10 20:50:4 IST]  
WORoot=c:\Apple\Developer\WebObjects\Versions\WebObjects543\System
[2014-7-10 20:50:4 IST]  WOMaxSocketIdleTime=18
[2014-7-10 20:50:4 IST]  WODefaultUndoStackLimit=10
[2014-7-10 20:50:4 IST]  WOAutoOpenClientApplication=true
[2014-7-10 20:50:4 IST]  WOAutoOpenInBrowser=true
[2014-7-10 20:50:4 IST]  WOApplicationBaseURL=/WebObjects
[2014-7-10 20:50:4 IST]  WOMaxHeaders=200
[2014-7-10 20:50:4 IST]  WOLifebeatEnabled=true
[2014-7-10 20:50:4 IST]  WOAllowsCacheControlHeader=true
[2014-7-10 20:50:4 IST]  WOSMTPHost=smtp
[2014-7-10 20:50:4 IST]  WOFrameworksBaseURL=/WebObjects/Frameworks
[2014-7-10 20:50:4 IST]  WOStatisticsStoreSessionMax=50
[2014-7-10 20:50:4 IST]  WOAdditionalAdaptors=()
[2014-7-10 20:50:4 IST]  WOLifebeatDestinationPort=1085
[2014-7-10 20:50:4 IST]  WOPort=-1
[2014-7-10 20:50:4 IST]  WOLifebeatInterval=30
[2014-7-10 20:50:4 IST]  WOSocketCacheSize=100
[2014-7-10 20:50:4 IST]  
WOUserDirectory=X:\WOMavenProject\TestNewWoProject
[2014-7-10 20:50:4 IST]  WODisplayExceptionPages=true
[2014-7-10 20:50:4 IST]  
[2014-7-10 20:50:4 IST]  WebObjects version = 5.4.3
[2014-7-10 20:50:4 IST]  Created adaptor of class WODefaultAdaptor on 
port 4256 and address localhost/127.0.0.1<http://127.0.0.1> with WOWorkerThread 
minimum of 16 and maximum of 256
[2014-7-10 20:50:4 IST]  NSBundle is unable to find 
"ExtensionsForResources.plist" in the main bundle.  Ignoring optional 
configuration file.
[2014-7-10 20:50:5 IST]  Creating LifebeatThread now with: JavaFoundation 
-1 localhost/127.0.0.1<http://127.0.0.1> 1085 3
--Application Directory 
path--C:\Users\dev1\Library\Frameworks\JavaFoundation.framework
Welcome to JavaFoundation !
[2014-7-10 20:50:5 IST]  null
[2014-7-10 20:50:5 IST]  Your application is not running on a supported 
development platform. AutoLaunch will not work.
Your application's URL is:
http://127.0.0.1:4256/cgi-bin/WebObjects/JavaFoundation.woa
[2014-7-10 20:50:5 IST]  Waiting for requests...


Please sea the application URL which is wrong ,it should be our projectName.woa 
but not in result .Why?

Also sea the application Directory path which is also wrong ,it should be our 
project directory path but it is showing webobject installation directory path.


What is happenig here ,if my launch configuration is wrong then please suggest 
me.Please help!

Thanks & Regards
Pawan Kumar Tiwari


 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: Accessing a framework's resources in WOUnit tests

2014-07-10 Thread Chuck Hill
NSBundle uses the current working directory as a base to locate the bundles.  
That is one thing to check.  For frameworks, I think this needs to be 
My.framework/Resources/Java

Chuck


On 2014-07-09, 11:49 PM, "Musall Maik" wrote:

Hi,

thanks for the suggestion. Turns out that none of my frameworks are loaded. 
NSBundle.frameworkBundles() contains only the basic Java… bundles, nothing 
else. Any idea?

Maik


Am 09.07.2014 um 22:40 schrieb Markus Stoll, junidas GmbH 
mailto:markus.st...@junidas.de>>:

Hi,
I use
NSBundle.bundleForClass(myclass.class).pathURLForResourcePath(_resource);
when I need things to work from unit tests, too
hope this helps, Markus
Am 09.07.2014 um 18:56 schrieb Musall Maik 
mailto:m...@selbstdenker.ag>>:
Oh, sorry for not making that clear.
It's involved in that everything works for the running application, but not 
from within unit tests. The effect that the pathURLForResourceNamed() call 
returns null happens only in unit tests.
Maik
Am 09.07.2014 um 18:11 schrieb John Huss 
mailto:johnth...@gmail.com>>:
Sorry, how is WOUnit involved?
On Wed, Jul 9, 2014 at 10:09 AM, Musall Maik 
mailto:m...@selbstdenker.ag>> wrote:
Hi,
I have an application that uses a few custom frameworks. When I use
WOResourceManager resourceManager = 
WOApplication.application().resourceManager();
URL url = resourceManager.pathURLForResourceNamed( "foo.dat", null, null );
from within the main application, I get a proper URL to my resource file. But 
when I use
WOResourceManager resourceManager = 
WOApplication.application().resourceManager();
URL url = resourceManager.pathURLForResourceNamed( "bar.dat", "MyFramework", 
null );
with the second parameter (framework name) given, I only get back null. 
Regardless of whether
this is called from within the main application or from the framework's code 
itself.
Does anybody have a hint for me?
Thanks
Maik
___
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:
https://lists.apple.com/mailman/options/webobjects-dev/johnthuss%40gmail.com
This email sent to johnth...@gmail.com
___
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:
https://lists.apple.com/mailman/options/webobjects-dev/markus.stoll%40junidas.de
This email sent to markus.st...@junidas.de
--
Dr. Markus Stoll (Geschäftsführer)
markus.st...@junidas.de
junidas GmbH, Aixheimer Str. 12, 70619 Stuttgart
Tel. +49 (711) 4599799-11, Fax +49 (711) 4599799-10
Geschäftsführer: Dr. Markus Stoll, Matthias Zepf
Amtsgericht Stuttgart, HRB 21939


 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: build directory path is not working

2014-07-10 Thread Chuck Hill
Please provide us full and total details of the launch configuration.  
Screenshots would be best.


Chuck


On 2014-07-10, 8:30 AM, "Pawan Tiwari" wrote:

Hi,


  Now i have migrate from WebObjects 5.2.4 to WebObjects 5.4.3 using on Eclipse 
Indigo 3.7 ,when when we create a new woapplication project and run it by 
WOLipse then it gives the following result:-

  [2014-7-10 20:50:4 IST]  WOMaxIOBufferSize=8196
[2014-7-10 20:50:4 IST]  WOWorkerThreadCountMin=16
[2014-7-10 20:50:4 IST]  WOSocketMonitorSleepTime=50
[2014-7-10 20:50:4 IST]  WODirectConnectEnabled=true
[2014-7-10 20:50:4 IST]  WOIncludeCommentsInResponse=false
[2014-7-10 20:50:4 IST]  WOWorkerThreadCount=8
[2014-7-10 20:50:4 IST]  WOAdaptorURL=http://127.0.0.1/cgi-bin/WebObjects
[2014-7-10 20:50:4 IST]  WOLaunchdEnabled=false
[2014-7-10 20:50:4 IST]  WOHost=localhost
[2014-7-10 20:50:4 IST]  WOIDE=WOLips
[2014-7-10 20:50:4 IST]  WODebuggingEnabled=true
[2014-7-10 20:50:4 IST]  WOListenQueueSize=128
[2014-7-10 20:50:4 IST]  WOMissingResourceSearchEnabled=true
[2014-7-10 20:50:4 IST]  WOApplicationClassName=Application
[2014-7-10 20:50:4 IST]  WOSessionStoreClassName=WOServerSessionStore
[2014-7-10 20:50:4 IST]  WOContextClassName=WOContext
[2014-7-10 20:50:4 IST]  WOCachingEnabled=false
[2014-7-10 20:50:4 IST]  WOAcceptMalformedCookies=false
[2014-7-10 20:50:4 IST]  NSProjectSearchPath=(..,../..)
[2014-7-10 20:50:4 IST]  WOMonitorEnabled=false
[2014-7-10 20:50:4 IST]  WOAllowRapidTurnaround=true
[2014-7-10 20:50:4 IST]  
WORootDirectory=c:\Apple\Developer\WebObjects\Versions\WebObjects543\System
[2014-7-10 20:50:4 IST]  WOGenerateWSDL=true
[2014-7-10 20:50:4 IST]  WOWorkerThreadCountMax=256
[2014-7-10 20:50:4 IST]  WOAllowsConcurrentRequestHandling=false
[2014-7-10 20:50:4 IST]  WOAdaptor=WODefaultAdaptor
[2014-7-10 20:50:4 IST]  WOSessionTimeOut=3600
[2014-7-10 20:50:4 IST]  
WORoot=c:\Apple\Developer\WebObjects\Versions\WebObjects543\System
[2014-7-10 20:50:4 IST]  WOMaxSocketIdleTime=18
[2014-7-10 20:50:4 IST]  WODefaultUndoStackLimit=10
[2014-7-10 20:50:4 IST]  WOAutoOpenClientApplication=true
[2014-7-10 20:50:4 IST]  WOAutoOpenInBrowser=true
[2014-7-10 20:50:4 IST]  WOApplicationBaseURL=/WebObjects
[2014-7-10 20:50:4 IST]  WOMaxHeaders=200
[2014-7-10 20:50:4 IST]  WOLifebeatEnabled=true
[2014-7-10 20:50:4 IST]  WOAllowsCacheControlHeader=true
[2014-7-10 20:50:4 IST]  WOSMTPHost=smtp
[2014-7-10 20:50:4 IST]  WOFrameworksBaseURL=/WebObjects/Frameworks
[2014-7-10 20:50:4 IST]  WOStatisticsStoreSessionMax=50
[2014-7-10 20:50:4 IST]  WOAdditionalAdaptors=()
[2014-7-10 20:50:4 IST]  WOLifebeatDestinationPort=1085
[2014-7-10 20:50:4 IST]  WOPort=-1
[2014-7-10 20:50:4 IST]  WOLifebeatInterval=30
[2014-7-10 20:50:4 IST]  WOSocketCacheSize=100
[2014-7-10 20:50:4 IST]  
WOUserDirectory=X:\WOMavenProject\TestNewWoProject
[2014-7-10 20:50:4 IST]  WODisplayExceptionPages=true
[2014-7-10 20:50:4 IST]  
[2014-7-10 20:50:4 IST]  WebObjects version = 5.4.3
[2014-7-10 20:50:4 IST]  Created adaptor of class WODefaultAdaptor on 
port 4256 and address localhost/127.0.0.1 with WOWorkerThread 
minimum of 16 and maximum of 256
[2014-7-10 20:50:4 IST]  NSBundle is unable to find 
"ExtensionsForResources.plist" in the main bundle.  Ignoring optional 
configuration file.
[2014-7-10 20:50:5 IST]  Creating LifebeatThread now with: JavaFoundation 
-1 localhost/127.0.0.1 1085 3
--Application Directory 
path--C:\Users\dev1\Library\Frameworks\JavaFoundation.framework
Welcome to JavaFoundation !
[2014-7-10 20:50:5 IST]  null
[2014-7-10 20:50:5 IST]  Your application is not running on a supported 
development platform. AutoLaunch will not work.
Your application's URL is:
http://127.0.0.1:4256/cgi-bin/WebObjects/JavaFoundation.woa
[2014-7-10 20:50:5 IST]  Waiting for requests...


Please sea the application URL which is wrong ,it should be our projectName.woa 
but not in result .Why?

Also sea the application Directory path which is also wrong ,it should be our 
project directory path but it is showing webobject installation directory path.


What is happenig here ,if my launch configuration is wrong then please suggest 
me.Please help!

Thanks & Regards
Pawan Kumar Tiwari

 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: Application directory path not found.

2014-07-10 Thread Chuck Hill
This is what I was referring to
http://wiki.wocommunity.org/display/WEB/Project+Wonder+Installation


On 2014-07-10, 9:30 AM, "Theodore Petrosky" wrote:

BTW, Chuck, I have been looking at the community site and I cannot find the 
info for the latest recommended toolset. I could use some help also.

What is the recommended toolset?

Ted


On Jul 9, 2014, at 5:16 PM, Chuck Hill 
mailto:ch...@global-village.net>> wrote:

Please keep all replies on the list.

On 2014-07-09, 1:02 PM, "Pawan Tiwari" wrote:


But the same project works on eclipse europa 3.3.2 version.

Can I install maven on eclipse europa 3.3.2 version.

3.3.2 is ancient.  WO 5.2.4 is ancient.  I have no idea what works or does not 
work and I doubt anyone here does either.  And very, very, few of us use Maven. 
 You are pretty much on your own here.  My best advice is to upgrade your 
project to WebObjects 5.4.3 and use the latest toolset as described on the 
community site.

Chuck


My main aim is to build our project using maven, our compny use webobjects 
5.2.4 with eclipse europa 3.3.2 and use Ant build tool, that works fine.Now I 
have to build the same project using maven.So how can I do this.

I have run the webobjects and our project successfully using maven tool by 
command promt but on eclipse its not working.

Is there any solution? Please help us.

On 10 Jul 2014 01:22, "Chuck Hill" 
mailto:ch...@global-village.net>> wrote:
Webobjects version:5.2.4

That is ancient.  Nothing supports that.

On 2014-07-09, 12:50 PM, "Pawan Tiwari" wrote:


There are following things that i used here:-
Eclipse version:-Indigo 3.7
Webobjects version:5.2.4
WOLipse launch condiguration:-
-DNSProjectSearchPath:  Automatic
-ApplicationName :MyProjectName
-NSProjectBundleEnables:true

and many more.

These are our configuraton, then where I am wrong? I am continuously working on 
this issue since last one month but not able to do this!

Thanks & Regards
Pawan Kumar Tiwari

On 10 Jul 2014 01:05, "Chuck Hill" 
mailto:ch...@global-village.net>> wrote:
That and your other problem come from the WebObjects frameworks not seeing your 
application as the main bundle.  This can mean that the app bundle is broken 
(maybe code is too old for current WO or Eclipse?) or that the working 
directory in your Launch config is incorrect or… something else.  Unless you 
give us some useful information to go on, we are just guessing.

What does your launch config give for the working directory?  What is the 
contents of your project directory?

Chuck


On 2014-07-09, 12:20 PM, "Pawan Tiwari" wrote:


Hi,
 After building the project when we run the project via WOLips then it does 
not find the application directory path.
Exampple:-
Application.application ().path ()

When we print this path then it goes to framework directory where our 
JavaFounfation.Framework jar present.

The resultent path is:- c:/Apple/Library/Frameworks/...

But it should be our project directory path.

Please help us!

Thanks & Regards
Pawan Kumar Tiwari

___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  
(Webobjects-dev@lists.apple.com<mailto:Webobjects-dev@lists.apple.com>)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/tedpet5%40yahoo.com

This email sent to tedp...@yahoo.com<mailto:tedp...@yahoo.com>

 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: Application directory path not found.

2014-07-09 Thread Chuck Hill
Please keep all replies on the list.

On 2014-07-09, 1:02 PM, "Pawan Tiwari" wrote:


But the same project works on eclipse europa 3.3.2 version.

Can I install maven on eclipse europa 3.3.2 version.

3.3.2 is ancient.  WO 5.2.4 is ancient.  I have no idea what works or does not 
work and I doubt anyone here does either.  And very, very, few of us use Maven. 
 You are pretty much on your own here.  My best advice is to upgrade your 
project to WebObjects 5.4.3 and use the latest toolset as described on the 
community site.

Chuck


My main aim is to build our project using maven, our compny use webobjects 
5.2.4 with eclipse europa 3.3.2 and use Ant build tool, that works fine.Now I 
have to build the same project using maven.So how can I do this.

I have run the webobjects and our project successfully using maven tool by 
command promt but on eclipse its not working.

Is there any solution? Please help us.

On 10 Jul 2014 01:22, "Chuck Hill" 
mailto:ch...@global-village.net>> wrote:
Webobjects version:5.2.4

That is ancient.  Nothing supports that.

On 2014-07-09, 12:50 PM, "Pawan Tiwari" wrote:


There are following things that i used here:-
Eclipse version:-Indigo 3.7
Webobjects version:5.2.4
WOLipse launch condiguration:-
-DNSProjectSearchPath:  Automatic
-ApplicationName :MyProjectName
-NSProjectBundleEnables:true

and many more.

These are our configuraton, then where I am wrong? I am continuously working on 
this issue since last one month but not able to do this!

Thanks & Regards
Pawan Kumar Tiwari

On 10 Jul 2014 01:05, "Chuck Hill" 
mailto:ch...@global-village.net>> wrote:
That and your other problem come from the WebObjects frameworks not seeing your 
application as the main bundle.  This can mean that the app bundle is broken 
(maybe code is too old for current WO or Eclipse?) or that the working 
directory in your Launch config is incorrect or… something else.  Unless you 
give us some useful information to go on, we are just guessing.

What does your launch config give for the working directory?  What is the 
contents of your project directory?

Chuck


On 2014-07-09, 12:20 PM, "Pawan Tiwari" wrote:


Hi,
 After building the project when we run the project via WOLips then it does 
not find the application directory path.
Exampple:-
Application.application ().path ()

When we print this path then it goes to framework directory where our 
JavaFounfation.Framework jar present.

The resultent path is:- c:/Apple/Library/Frameworks/...

But it should be our project directory path.

Please help us!

Thanks & Regards
Pawan Kumar Tiwari
 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: Application directory path not found.

2014-07-09 Thread Chuck Hill
That and your other problem come from the WebObjects frameworks not seeing your 
application as the main bundle.  This can mean that the app bundle is broken 
(maybe code is too old for current WO or Eclipse?) or that the working 
directory in your Launch config is incorrect or… something else.  Unless you 
give us some useful information to go on, we are just guessing.

What does your launch config give for the working directory?  What is the 
contents of your project directory?

Chuck


On 2014-07-09, 12:20 PM, "Pawan Tiwari" wrote:


Hi,
 After building the project when we run the project via WOLips then it does 
not find the application directory path.
Exampple:-
Application.application ().path ()

When we print this path then it goes to framework directory where our 
JavaFounfation.Framework jar present.

The resultent path is:- c:/Apple/Library/Frameworks/...

But it should be our project directory path.

Please help us!

Thanks & Regards
Pawan Kumar Tiwari
 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: Webobject project is not runing!

2014-07-07 Thread Chuck Hill
When NSBundle can’t find the main bundle, it falls back to using 
JavaFoundation.  I have no idea why it does this, maybe it had a use in the 
past.

So the question here is, why is it not finding the main bundle?  Two likely 
answers are that the Launch config is eclipse is using the wrong working 
directory or that the Maven layout of this project is incomplete or incorrect 
and so NSBundle does not see it as a Maven project.

This could also be a mismatch between a bundle-less build and a traditional 
build.


Chuck


On 2014-07-07, 2:46 PM, "Philippe Rabier" wrote:

I don't think so.

I got something similar several years ago: it was unable to find the 
Application class.

I was unable to fix it and I think I reinstalled everything on another computer 
I guess.

Do you have a Mac? Can you try also to create a Wonder app?

Philippe Rabier
-
http://twitter.com/prabier

Sent from my iPhone

On 07 Jul 2014, at 22:27, Ted Archibald 
mailto:ted.archib...@gmail.com>> wrote:

Your app name is JavaFoundation?


On Mon, Jul 7, 2014 at 2:03 PM, Pawan Tiwari 
mailto:pawan0...@gmail.com>> wrote:
FYI


-- Forwarded message --
From: Pawan Tiwari mailto:pawan0...@gmail.com>>
Date: Tue, Jul 8, 2014 at 1:30 AM
Subject: Webobject project is not runing!
To: Webobjects-dev@lists.apple.com


I have latest eclipse (Eclipse juno 4.2 ) and i have installed wolips plugin 
accoriding your instruction that are given in wocommunity .I have make a simple 
programe and run it then it gives the error .I have attached the error log.

 Please help us! Actually my main purpose is to run the woapplication project 
using maven,but doing before we have to run a simple woapplication project.

Note:-I tried on almost ever Eclipse version of Indigo and Juno but gives the 
same error.

Thanks & Regards

Pawan Kumar tiwari


 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/ted.archibald%40gmail.com

This email sent to ted.archib...@gmail.com

___
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:
https://lists.apple.com/mailman/options/webobjects-dev/prabier%40icloud.com

This email sent to prab...@icloud.com
 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: App not starting from Monitor

2014-07-03 Thread Chuck Hill
What was the problem?

On 2014-07-03, 11:22 AM, "Gino Pacitti" wrote:

Hi Chuck
Actually its OK I resolved the problems…

All working now…

Gino
On 3 Jul 2014, at 19:21, Chuck Hill 
mailto:ch...@global-village.net>> wrote:

Hi Gino,
On 2014-07-03, 2:29 AM, "Gino Pacitti" wrote:
Ok so I have 3 servers.
Server1 WOMonitor, WOTaskd, Apache2
Why is wotaskd on this machine if there are no applications?
Server2 WOTaskd, Apache2, WOApplications
Why is Apache on this machine if it is also on Server 1?
This is not necessarily wrong, just curious.
Server3 Database
I have DNS and reverse look up on 2 domains. domain1.com points to Server1 and 
domain2 points to Server2
Server1 has the WOAdaptor loaded and has this setting in
/etc/httpd/conf.d/webobjects.conf
WebObjectsConfig http://domain1.com:1085,http://domain2.com:1085 10
Properties file for wotaskd properties
/opt/Local/Library/WebObjects/JavaApplications/wotaskd.woa/Contents/Resources/Properties
WOHost=domain1.com
Server2 has the WOAdaptor loaded and has this setting in
/etc/httpd/conf.d/webobjects.conf
WebObjectsConfig http://domain1.com:1085,http://domain2.com:1085 10
/opt/Local/Library/WebObjects/JavaApplications/wotaskd.woa/Contents/Resources/Properties
WOHost=domain2.com

Using WOMonitor on Server1 I have both HOSTS set up and can view the config 
files from both WOTaskd SiteConfig.xml
I have an instance set up but it just will not start….
Won’t start (probably a permissions problem on the log file or path to log 
file) or Monitor does not see it start (communications problem).
There is no WOHost set in the application Properties file or WOPort setting.
I’d set the WOHost to the domain of the server.
I have debugging turned  on but it never creates the log file in location...
That does sound like a permission problem.
Any help in resolving this?
I presented some improvements to wotaskd and Monitor at WOWODC this year.  You 
can get the presentation from the community site and the code from 
https://github.com/chillatgvc/wonder/tree/WOWODC14
It provides much better debug and diagnostic information.  See if that sheds 
some light on your problem.
Chuck


___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  
(Webobjects-dev@lists.apple.com<mailto:Webobjects-dev@lists.apple.com>)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/chill%40global-village.net

This email sent to ch...@global-village.net<mailto:ch...@global-village.net>
 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: App not starting from Monitor

2014-07-03 Thread Chuck Hill
Hi Gino,


On 2014-07-03, 2:29 AM, "Gino Pacitti" wrote:

Ok so I have 3 servers.

Server1 WOMonitor, WOTaskd, Apache2

Why is wotaskd on this machine if there are no applications?


Server2 WOTaskd, Apache2, WOApplications

Why is Apache on this machine if it is also on Server 1?

This is not necessarily wrong, just curious.


Server3 Database


I have DNS and reverse look up on 2 domains. domain1.com points to Server1 and 
domain2 points to Server2

Server1 has the WOAdaptor loaded and has this setting in

/etc/httpd/conf.d/webobjects.conf
WebObjectsConfig http://domain1.com:1085,http://domain2.com:1085 10

Properties file for wotaskd properties
/opt/Local/Library/WebObjects/JavaApplications/wotaskd.woa/Contents/Resources/Properties
WOHost=domain1.com


Server2 has the WOAdaptor loaded and has this setting in

/etc/httpd/conf.d/webobjects.conf
WebObjectsConfig http://domain1.com:1085,http://domain2.com:1085 10

/opt/Local/Library/WebObjects/JavaApplications/wotaskd.woa/Contents/Resources/Properties
WOHost=domain2.com



Using WOMonitor on Server1 I have both HOSTS set up and can view the config 
files from both WOTaskd SiteConfig.xml

I have an instance set up but it just will not start….

Won’t start (probably a permissions problem on the log file or path to log 
file) or Monitor does not see it start (communications problem).


There is no WOHost set in the application Properties file or WOPort setting.

I’d set the WOHost to the domain of the server.


I have debugging turned  on but it never creates the log file in location...

That does sound like a permission problem.

Any help in resolving this?

I presented some improvements to wotaskd and Monitor at WOWODC this year.  You 
can get the presentation from the community site and the code from 
https://github.com/chillatgvc/wonder/tree/WOWODC14

It provides much better debug and diagnostic information.  See if that sheds 
some light on your problem.

Chuck

 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: App not starting using 2 servers

2014-07-02 Thread Chuck Hill
Hi Gino,

Please keep messages on the list.

On 2014-07-02, 2:05 PM, "Gino Pacitti" wrote:

Hi Chuck
Could it really come down to the reverse lookup?

The domain is resolving to the IP address but the reverse is not… But I will 
get a PTR record set up to check.

Yes, it can come down to reverse lookup.  WO and wotaskd are unusually 
particular about this.


Another funny thing is that the config information of the SiteConfig.xml is 
lost on Server1 on server restart or WOMonitor restart…  Am I right to have the 
host and adaptor set to be on Server 2 and not Server 1?

I am not sure what you mean.  Both servers should be setup as hosts in Monitor. 
 If the SiteConfig.xml is actually getting written to the file system on that 
server and then over written, that would indicate a JavaMonitor / wotaskd 
communication problem… I think.  Make sure that you don’t accidentally have 
Monitor running on both machines.

Chuck



Gino
On 2 Jul 2014, at 21:04, Chuck Hill 
mailto:ch...@global-village.net>> wrote:

Hi Gino,
On 2014-07-02, 11:08 AM, "Gino Pacitti" wrote:
Hi Chuck I tried localhost in the Properties file of wotaskd on both machines 
only to get an error message that WOMonitor could not contact the wotaskd on 
the second server.
Localhost is best used only on your development machine.  You want the fully 
qualified domain name and it needs to reverse-resolve correctly (e.g. Needs to 
be a canonical name).
I then set them to the IP address for each server and that seemed to allow 
WOMonitor to continue to talk to the second server.
I also changed the ServerName property of apache2.2 to the IP address on each 
machine…
That is not relevant to this problem.
I did try and launch again and I got this:
logging.ERXNSLogLog4jBridge (ERXNSLogLog4jBridge.java:44) - Application 
'Daysout-1' on apps.daysout.co.uk:2001 stopped running at 2014-07-02 18:05:56 
Etc/GMT.
The app's current state was: STARTING.
The app did not respond for 63530244236seconds which is greater than the 
allowed threshold of 12 seconds (Lifebeat Interval * 
WOAssumeApplicationIsDeadMultiplier) so it is assumed to be dead.
The last successful communication occurred at: 1-04-25 00:00:00 Etc/GMT. This 
may be the result of a crash or an intentional shutdown from outside of wotaskd
I expect that is caused by name / IP confusion between the machines.
Have you reviewed this?
http://wiki.wocommunity.org/pages/viewpage.action?pageId=7143530
Chuck
On 2 Jul 2014, at 18:42, Chuck Hill 
mailto:ch...@global-village.net>> wrote:
Lots of details here
http://wiki.wocommunity.org/dosearchsite.action?queryString=WOHost
On 2014-07-02, 10:09 AM, "Gino Pacitti" wrote:
Are you referring to Property files Chuck ?
Perhaps you can point me in the right direction?
G
On 2 Jul 2014, at 18:04, Chuck Hill 
mailto:ch...@global-village.net>> wrote:
How have you set WOHost for wotaskd, monitor, and the apps?
Chuck
On 2014-07-02, 9:52 AM, "Gino Pacitti" wrote:
I have WOMonitor and WOTaskd running on server1 and only WOTaskd running on 
server 2 but cannot get the app on Server 2 to start using WOMonitor...
Tying a different configuration with WOMonitor and WOTaskd on Server 1
I can get server 1 to run the app and all is well if I us server 1 as the Host 
and Adaptor location.
And again with a different configuration with WOMonitor and WOTaskd on Server 2
I can get server 2 to run the app and is well if I use server 2 and the Host 
and Adaptor location…
But when I try to use Server1 as  the Load balancer with WOMonitor and WOTaskd 
using Server 2 as the host I cannot get the app to start from Monitor ?
I can start it by command line … I have looked around but don’t seem to find 
anything definitive as to what the issue can be…
Any help?
Gino
___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  
(Webobjects-dev@lists.apple.com<mailto:Webobjects-dev@lists.apple.com>)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/chill%40global-village.net
This email sent to ch...@global-village.net<mailto:ch...@global-village.net>


 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: App not starting using 2 servers

2014-07-02 Thread Chuck Hill
Hi Gino,

On 2014-07-02, 11:08 AM, "Gino Pacitti" wrote:

Hi Chuck I tried localhost in the Properties file of wotaskd on both machines 
only to get an error message that WOMonitor could not contact the wotaskd on 
the second server.

Localhost is best used only on your development machine.  You want the fully 
qualified domain name and it needs to reverse-resolve correctly (e.g. Needs to 
be a canonical name).


I then set them to the IP address for each server and that seemed to allow 
WOMonitor to continue to talk to the second server.

I also changed the ServerName property of apache2.2 to the IP address on each 
machine…

That is not relevant to this problem.


I did try and launch again and I got this:

logging.ERXNSLogLog4jBridge (ERXNSLogLog4jBridge.java:44) - Application 
'Daysout-1' on apps.daysout.co.uk:2001 stopped running at 2014-07-02 18:05:56 
Etc/GMT.
The app's current state was: STARTING.
The app did not respond for 63530244236seconds which is greater than the 
allowed threshold of 12 seconds (Lifebeat Interval * 
WOAssumeApplicationIsDeadMultiplier) so it is assumed to be dead.
The last successful communication occurred at: 1-04-25 00:00:00 Etc/GMT. This 
may be the result of a crash or an intentional shutdown from outside of wotaskd

I expect that is caused by name / IP confusion between the machines.

Have you reviewed this?
http://wiki.wocommunity.org/pages/viewpage.action?pageId=7143530


Chuck


On 2 Jul 2014, at 18:42, Chuck Hill 
mailto:ch...@global-village.net>> wrote:

Lots of details here
http://wiki.wocommunity.org/dosearchsite.action?queryString=WOHost
On 2014-07-02, 10:09 AM, "Gino Pacitti" wrote:
Are you referring to Property files Chuck ?
Perhaps you can point me in the right direction?
G
On 2 Jul 2014, at 18:04, Chuck Hill 
mailto:ch...@global-village.net>> wrote:
How have you set WOHost for wotaskd, monitor, and the apps?
Chuck
On 2014-07-02, 9:52 AM, "Gino Pacitti" wrote:
I have WOMonitor and WOTaskd running on server1 and only WOTaskd running on 
server 2 but cannot get the app on Server 2 to start using WOMonitor...
Tying a different configuration with WOMonitor and WOTaskd on Server 1
I can get server 1 to run the app and all is well if I us server 1 as the Host 
and Adaptor location.
And again with a different configuration with WOMonitor and WOTaskd on Server 2
I can get server 2 to run the app and is well if I use server 2 and the Host 
and Adaptor location…
But when I try to use Server1 as  the Load balancer with WOMonitor and WOTaskd 
using Server 2 as the host I cannot get the app to start from Monitor ?
I can start it by command line … I have looked around but don’t seem to find 
anything definitive as to what the issue can be…
Any help?
Gino
___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  
(Webobjects-dev@lists.apple.com<mailto:Webobjects-dev@lists.apple.com>)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/chill%40global-village.net
This email sent to ch...@global-village.net<mailto:ch...@global-village.net>


 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: App not starting using 2 servers

2014-07-02 Thread Chuck Hill
How have you set WOHost for wotaskd, monitor, and the apps?

Chuck


On 2014-07-02, 9:52 AM, "Gino Pacitti" wrote:

I have WOMonitor and WOTaskd running on server1 and only WOTaskd running on 
server 2 but cannot get the app on Server 2 to start using WOMonitor...

Tying a different configuration with WOMonitor and WOTaskd on Server 1
I can get server 1 to run the app and all is well if I us server 1 as the Host 
and Adaptor location.


And again with a different configuration with WOMonitor and WOTaskd on Server 2
I can get server 2 to run the app and is well if I use server 2 and the Host 
and Adaptor location…

But when I try to use Server1 as  the Load balancer with WOMonitor and WOTaskd 
using Server 2 as the host I cannot get the app to start from Monitor ?

I can start it by command line … I have looked around but don’t seem to find 
anything definitive as to what the issue can be…

Any help?

Gino
___
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:
https://lists.apple.com/mailman/options/webobjects-dev/chill%40global-village.net

This email sent to ch...@global-village.net
 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: Obscure bug involving AjaxFlexibleFileUpload

2014-06-24 Thread Chuck Hill
On 2014-06-24, 5:59 PM, "Paul Hoadley" wrote:

On 23/06/2014, at 3:43 PM, Paul Hoadley 
mailto:pa...@logicsquad.net>> wrote:

I've been using AjaxFlexibleFileUpload in a project for a few months now, but 
I've been getting reports of occasional failures.  The symptoms are very 
specific:

1.  User clicks "Select File..." and selects a file.
2.  User clicks "Upload", and nothing happens.

That is, the expected behaviour at 2 is, obviously, a progress meter appears, 
and the file is uploaded.  What actually happens is the the "Upload" link 
disappears, but nothing else happens.  The "clear" icon remains, and is the 
only work-around for the issue: the user can clear the selected file and try 
again, at which point the upload succeeds.

There are some features that make me think this is going to be terrible to 
track down.

I never did get to the bottom of the issue, but there's a workaround which is 
mostly satisfactory.  Given that the user can only select a single file, the 
"Upload" button is essentially superfluous.  So it turns out that setting 
$autoSubmit="$true" side-steps the issue by removing step 2 from the list 
above.  I've convinced myself that this is a marginally better user experience 
anyway, so I don't have to dive into the bowels of the page and its myriad 
resources to find the actual root cause.

I’ve solved several Ajax problems in a similar manner.  It really does make you 
wish for a more stable UI platform.

Chuck

 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: Child editing context not getting updated with save

2014-06-18 Thread Chuck Hill
Is the child EC locked?

On 2014-06-18, 2:27 PM, "Benjamin Chew" wrote:

Hi All,

I'm new to dealing with child editing contexts and am wondering if anyone can 
help shed some light on this issue.

So I have a parent EC and a child EC, and I fetch an object into the child EC. 
I then modify the object by using code like this:


EOEditingContext tempEC = ERXEC.newEditingContext();

Object objectInTempEC = theObject.localInstanceIn(tempEC);

objectInTempEC.setFlag(1);

tempEC.saveChanges();

The change gets saved to the database and is propagated to the parent EC 
(because it is a peer to the "tempEC"), but the problem is that the change 
doesn't then get propagated down to the child EC.

Does anyone know why this happens and what to do about it?

As usual, thanks in advance!

Ben
 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: Multi Application Instance and propagation of EO changes

2014-06-18 Thread Chuck Hill
Something like /Wonder/Frameworks/EOF/ERChangeNotificationJMS or 
Wonder/Frameworks/EOF/ERJGroupsSynchronizer/ would be worth considering.

Chuck


On 2014-06-18, 5:29 AM, "Gino Pacitti" wrote:

Hi list
Im working on an App that requires an initial cache of read only EOs which will 
drive searches and result in paginated pages for display across the app 
instances.

But I also need to provide some administration of the database rows and for 
those changes to be propagated across the apps so that they are available to 
the EditingContexts/EOs so that the all post searches draw from updated objects.

Is there a Framework or strategy that can help with that?



___
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:
https://lists.apple.com/mailman/options/webobjects-dev/chill%40global-village.net

This email sent to ch...@global-village.net
 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: any reason not to be building Utilities/NSFoundation?

2014-06-06 Thread Chuck Hill
I have no idea what that is then.

On 2014-06-06, 5:29 PM, "Ray Kiddy" wrote:

On Fri, 6 Jun 2014 23:49:54 +0000
Chuck Hill mailto:ch...@global-village.net>> wrote:

IIRC, it is a manual build and the jar is then added to ERJars.

I am not sure that makes sense.

The contents of the Utilities/NSFoundation project seem to be the same
as the contents of Q's repo:

  https://github.com/qdolan/NSFoundation4J

The contents of the jar file here:

  ~/Roots/ERJars.framework/Resources/Java/ERFoundation.jar

seem to be different. There are fewer classes in ERFoundation than in
the NSFoundation project. And there are classes in ERFoundation which
have no corresponding java file in Wonder.

So what the heck this means, I have no idea. O well. Whatever.

- ray


On 2014-06-06, 4:37 PM, "Ray Kiddy" wrote:
This is not being built by ant in Wonder. I was just going to check in
changes to build it. But then I thought I would check.
It is not in Archives. Any reason not to build it? Perhaps it was
deliberately left out?
- ray
___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list
(Webobjects-dev@lists.apple.com<mailto:Webobjects-dev@lists.apple.com><mailto:Webobjects-dev@lists.apple.com>)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/chill%40global-village.net
This email sent to
ch...@global-village.net<mailto:ch...@global-village.net><mailto:ch...@global-village.net>

___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  
(Webobjects-dev@lists.apple.com<mailto:Webobjects-dev@lists.apple.com>)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/chill%40global-village.net

This email sent to ch...@global-village.net<mailto:ch...@global-village.net>
 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: any reason not to be building Utilities/NSFoundation?

2014-06-06 Thread Chuck Hill
IIRC, it is a manual build and the jar is then added to ERJars.


On 2014-06-06, 4:37 PM, "Ray Kiddy" wrote:


This is not being built by ant in Wonder. I was just going to check in
changes to build it. But then I thought I would check.

It is not in Archives. Any reason not to build it? Perhaps it was
deliberately left out?

- ray
___
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:
https://lists.apple.com/mailman/options/webobjects-dev/chill%40global-village.net

This email sent to ch...@global-village.net
 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: Latency

2014-05-31 Thread Chuck Hill
Serving through the app will add latency.  Statically serving from the app 
bundle (ERXResourceManager in deployment) won’t as it does not go through the 
WO adaptor.

Chuck


On 2014-05-31, 10:02 AM, "Michael Kondratov" wrote:

Would anyone know if WebObjects adapter ads latency to apache serving static 
content? It seems a separate server serving static content is a bit faster than 
one with WebObjects.

Michael

Sent from my iPhone
___
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:
https://lists.apple.com/mailman/options/webobjects-dev/chill%40global-village.net

This email sent to ch...@global-village.net
 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: Announcement: EROldFart Interface and a solid default implementation

2014-05-30 Thread Chuck Hill
It is frighteningly accurate!


On 2014-05-30, 9:48 AM, "Timothy Worman" wrote:

That is really good stuff. Happy birthday Chuck.

My favorite part is the default case for process(memory).  :-)

Tim
UCLA GSE&IS

On May 30, 2014, at 8:41 AM, David Avendasora 
mailto:webobje...@avendasora.com>> wrote:

Ken Ishimoto actually merged it about 30 seconds after I submitted it!

On May 30, 2014, at 11:35 AM, Ângelo Andrade Cirino 
mailto:aacir...@gmail.com>> wrote:

Cheers

Happy birthday Chuck

Nice work Dave, I think the pull request should be accepted without much 
concern.

Ângelo


2014-05-30 12:30 GMT-03:00 David Avendasora 
mailto:webobje...@avendasora.com>>:
In honor of Chuck’s 50th birthday...

https://github.com/wocommunity/wonder/pull/583/files

Yours in Beer,
Dave Avendasora

—
WebObjects - so easy that even Dave Avendasora can do it!™
—
David Avendasora
Senior Software Abuser
Nekesto, Inc.






 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/aacirino%40gmail.com

This email sent to aacir...@gmail.com



—
WebObjects - so easy that even Dave Avendasora can do it!™
—
David Avendasora
Senior Software Abuser
Nekesto, Inc.





___
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:
https://lists.apple.com/mailman/options/webobjects-dev/lists%40thetimmy.com

This email sent to li...@thetimmy.com

 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: Wonder addition - updated openbase plugin

2014-05-28 Thread Chuck Hill
The replacement plugins are in ERExtensions which is forced into the class path 
before any of the WO frameworks.  As such any classes that they contain that 
have the same package and class names as in WO proper will render the original 
classes invisible to the JVM.

Chuck



On 2014-05-28, 1:13 PM, "David Avendasora" wrote:

All of the other PlugIns (Oracle excluded) seem to use the same name as the one 
included in the WO binaries, but I do see your point about it possibly causing 
confusion for all the WO developers out there using OpenBase.

…

…

…

snk. snrk. cough. cough…

Okay, seriously though, I think it would be best to use the expected name 
(OpenBasePlugIn) and use the same mechanisms that the other DB plugins use to 
keep there from being conflicts.

Now, let me get back to my servlet-based D2JC project with vertical inheritance 
and sharedEC on SQLServer.

Which reminds me, somewhere around here I have Chuck’s MicrosoftPlugIn… I 
should look at updating that and getting it into Wonder, too - as I promised I 
would … a couple years ago.

:-)

Dave


On May 28, 2014, at 12:27 PM, Timothy Worman 
mailto:li...@thetimmy.com>> wrote:

I received permission to include a modified OpenBasePlugIn into Wonder. Thought 
I’d open this up to a best practice discussion here. Since the original plugin 
was bundled with the WO frameworks, my assumption is that the plugin class 
should be renamed - sth like EROpenBasePlugIn? By doing so we could eliminate 
any possible confusion.
It was communicated to me that the plugin was an enhanced version of the one 
that shipped with WO. I have modified it to correct immediate issues with 
migrations in Wonder (including updates to WO 5.4 synchronization classes). 
This would also make it somewhat dependent on a version of Wonder that has been 
updated in the same fashion - which I also have and, if it passes muster, could 
be pulled into Wonder as well.
Tim
UCLA GSE&IS
___
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:
https://lists.apple.com/mailman/options/webobjects-dev/webobjects%40avendasora.com
This email sent to webobje...@avendasora.com


—
WebObjects - so easy that even Dave Avendasora can do it!™
—
David Avendasora
Senior Software Abuser
Nekesto, Inc.







___
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:
https://lists.apple.com/mailman/options/webobjects-dev/chill%40global-village.net

This email sent to ch...@global-village.net
 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: AjaxGrid single row select UPDATE

2014-05-07 Thread Chuck Hill
Hi Jens,

On 2014-05-07, 1:59 AM, "Dipl.-Ing. Jens Lünstedt" wrote:

Hello,
for my AjaxGrid I have two questions. (I'm not very familiar with JavaScript)
How to define a single row selection? (At the moment I can select and deselect 
multiple rows).

You mean that you want to prevent the user from selecting more than one row?  
It does not support that.  You probably could in JavaScript, but this is 
probably the wrong UI for what you are doing.


How can I react on the selection and deselection event in my Java Class? The 
setSelectedObjects method is not called.

You can’t directly, AjaxGrid does that.

I think what you want is to have a link or button in each row that does 
something when activated.  Otherwise you are trying to bend AjaxGrid to do 
something it was not intended for.  Neither you nor your users are likely to be 
happy.

First you need a grid configuration like this:

 *{

 *title =  "Actions";

 *keyPath = "";   // Missing or 
empty keypath results in the current object itself being passed to component

 *component = "EmployeeActions";  // Name of 
WOComponent to be displayed in this column.  Gets passed two bindings: value 
(Object),

 *  // and grid 
(AjaxGrid) so that any other needed data can be accessed

 *cssClass = "alignCenter";

 *}

Then in the component some simple HTML like:



Then use a regular link or an Ajax one, depending on what you want to happen:

Remove: WOHyperlink {

action = remove;

string = "Remove";

}

And implement the action method to do what you want.


Chuck




I can't find a description / example in the web.

Thanks
Jens

UPDATE: I found a solution in checking the change of selectedObjects in public 
WODisplayGroup displayGroup()
I don't know if that is a good solution but it works.
 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: Wonder documentation on jenkins.wocommunity.org broken?

2014-05-06 Thread Chuck Hill
+1


On 2014-05-06, 1:33 PM, "Pascal Robert" wrote:

IHMO, the Wonder mailing list should go away. I don't see why we need two 
mailing lists when 95% of the community use Wonder too. And the Apple mailing 
list have more people in it.

- Mail original -
De: "CHRISTOPH WICK | i4innovation GmbH, Bonn" 
mailto:c...@i4innovation.de>>
À: webobjects-dev@lists.apple.com
Envoyé: Mardi 6 Mai 2014 16:27:16
Objet: Re: Wonder documentation on jenkins.wocommunity.org broken?

Hi there,

First of all thanks to those who fixed it.

Second: On 06.05.2014, at 21:40, Ray Kiddy 
mailto:r...@ganymede.org>> wrote:

ps: By the way, is there a reason that this entire question has been on
the WO list? There is a wonder list, yes? And this question does seem
to be completely wonder-specific and not about WebObjects. Just curious.

Yes, there is a wonder list. It was probably my fault to post this original 
question on this (WebObjects) list. Sorry for that.

But does it really make sense these days to distinguish between WO and Wonder? 
The community has become relatively small and I personally don't know nobody 
who is using pure WebObjects without Wonder. IMHO we should concentrate on as 
few resources as possible. And this Apple-provided list is still my first 
address.

So once again sorry, if I bothered someone.

C.U.CW
--
What are the three enemies of a programmer? Sunlight, oxygen, and the appalling 
roar of the birds.


On 06.05.2014, at 21:40, Ray Kiddy 
mailto:r...@ganymede.org>> wrote:

On Tue, 6 May 2014 09:34:30 +0200
"Markus Stoll, junidas GmbH" 
mailto:markus.st...@junidas.de>> wrote:
looks nice again, but why are explaining code snippets (wrapped in
 tags) set to "display: none;" ?
I would prefer to include them.
Markus
I am not sure, but obviously the new stylesheet has changed things. I
also noticed that both the Japanese and English comments are shown even
though the same CSS "display:none;" thing is supposed to block one of
them. By default, the Japanese should not be visible. That is what I
see at the bottom of the mystylesheet.css file.
We will see.
I figured it would be better to get it back up looking mostly right,
than slow that down to fix all the issues.
- ray
ps: By the way, is there a reason that this entire question has been on
the WO list? There is a wonder list, yes? And this question does seem
to be completely wonder-specific and not about WebObjects. Just curious.
Am 06.05.2014 um 04:44 schrieb Ray Kiddy 
mailto:r...@ganymede.org>>:
The javadoc has been updated and is looking fairly normal. A new
stylesheet had to be included.
cheers - ray
http://jenkins.wocommunity.org/job/Wonder/lastSuccessfulBuild/javadoc/?
On Sun, 04 May 2014 22:01:03 +0200
Christoph Wick mailto:wi...@me.com>> wrote:
Hi List,
is the Wonder documentation on
http://jenkins.wocommunity.org/job/Wonder/javadoc broken?
It looks as if all the style information is missing.
C.U.CW
___
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:
https://lists.apple.com/mailman/options/webobjects-dev/cw%40i4innovation.de
This email sent to c...@i4innovation.de


___
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:
https://lists.apple.com/mailman/options/webobjects-dev/probert%40macti.ca

This email sent to prob...@macti.ca

___
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:
https://lists.apple.com/mailman/options/webobjects-dev/chill%40global-village.net

This email sent to ch...@global-village.net
 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: PrimaryKey generation takes a lot of time

2014-05-05 Thread Chuck Hill
Are you creating the objects and saving them all at once?  If so, that is your 
problem.  Save them in batches of 500 or 1000 and it will go much quicker.  You 
might want to try making a new editing context for each batch.


Chuck


On 2014-05-05, 4:29 PM, "Tobias Janz" wrote:

Hi all,

i need to import a csv-file with about 58.000 Lines und 60 Columns. I have 8 
Entitys where the values will be stored. The conversion of a line to entitys 
takes almost no time. But the full prozess, from conversion until saveChanges 
is done, takes several hours (5-6h). After profiling it points me to the 
generating of primary keys. This part uses half of the time.

I need to do the import several times.
Do you see a way to improve the speed?
I'm using WebObject 5.4.3 (with Wonder). My Development is on Mac. Database is 
a Frontbase in the cloud on centOS.

Thanks for any advice.

Tobias
 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: ERXEC RR loop locking

2014-04-29 Thread Chuck Hill
Does your app have the properties set that enable auto-locking?

On 2014-04-29, 4:38 AM, "John Pollard" wrote:

We have an application that uses ERXECs yet exhibits deadlock which appears 
resolved with introduction of manual lock / unlock in at the start and end of 
performAction.. within a subclass of ERXDefaultRouteController.

Is RR loop locking of ERXECs automatic for every EC, or just for default ECs?

My impression was that when using ERXECs, it is wise and unnecessary to do any 
lock/unlock manually at all.

Thanks
John
___
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:
https://lists.apple.com/mailman/options/webobjects-dev/chill%40global-village.net

This email sent to ch...@global-village.net
 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: Mixing and matching prototypes

2014-04-25 Thread Chuck Hill
That sounds about right.  You are lucky it did not contact an American legal 
firm and sue you!

On 2014-04-25, 8:13 AM, "Hugi Thordarson" wrote:

P.S. Missed you at WOWODC. I stayed surprisingly sober. It’s all your fault. A 
fun group of 5 Germans did a good job of trying to replace 1 Icelandic crazy 
man, but fell short - we found our way back to the Hotel on only the 2nd try.
My liver was actually pretty relieved that Hugi did NOT make it.  It still 
lives in fear of WWDC years ago.

You’re lucky. My liver escaped through my navel the night before the flight 
home and took out a restraining order against me. Last I heard from him, he was 
living in a trauma center somewhere in the States.

- hugi
 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: SQL Generation Issue

2014-04-24 Thread Chuck Hill
On 2014-04-24, 8:05 AM, "David Avendasora" wrote:

Lack of good code hygiene beyond pretty formatting has now bit me.

I should have had the following like a real developer:

protected static ERXEnterpriseObjectCache cacheByPrimaryKey = null;

protected static ERXEnterpriseObjectCache cacheByPrimaryKey() {
If (cacheByPrimaryKey == null) {
// could add some double checked locking here if you want
cacheByPrimaryKey = new ERXEnterpriseObjectCache(Airport.ENTITY_NAME,
  "primaryKey", 
// Cache Key
   null,
 // qualifier
   30L, 
 // timeout - 0=never
   true,
 // shouldRetainObjects
   true,
 // shouldFetchInitialValues
   false);  
 // shouldReturnUnsavedObjects
}
return cacheByPrimaryKey;
}

:-P

true, // shouldFetchInitialValues

This does a fetch, which requires EOF to be fully setup.   That is not a good 
thing to do in a static init block.  But I guess that is obvious now.

Chuck

On 2014-04-24, 8:05 AM, "David Avendasora" wrote:

This is now biting me.

I have the following:

public static ERXEnterpriseObjectCache cacheByPrimaryKey = new 
ERXEnterpriseObjectCache(Airport.ENTITY_NAME,

  "primaryKey", // Cache Key

  null, // qualifier

  30L,  // timeout - 0=never

  true, // shouldRetainObjects

  true, // shouldFetchInitialValues

  false);   // shouldReturnUnsavedObjects

Which is tripping the same bug.

Why, oh why, does SQL generation need to initialize the EO’s class?? Shouldn’t 
the EOClassDescription or EOGenericRecord be enough? I don’t see what getting 
the actual class accomplishes, other than make SQL Generation more fragile. If 
ERXEnterpriseObjectCache breaks it, what else can?

Yes, I’m second-guessing Mike Schrag. (Hi Mike)

So, Mike, is this something that is possible to change (yes, I know it would be 
on me to do it - be afraid) or is there something about how the sql generation 
works that requires more than the Entity itself?

Thanks,

Dave


On Oct 26, 2011, at 5:19 PM, Chuck Hill 
mailto:ch...@global-village.net>> wrote:

The fundamental issue is that ERXEnterpriseObjectCache is intended to be used 
in a Wonder application, where those properties are read and used.  Generating 
SQL only loads the classes, it does not run in the context of a running WO 
application.

You probably DO want to retain the objects, you just don't want to initialize 
this in a static block.  Use lazy initialization so that the class can load 
without setting up the cache.


Chuck


On 2011-10-26, at 2:16 PM, Issam Maamria wrote:

Thanks Chuck for the pointer.

The issue was in a static initialiser that executes the following line in its 
call trace:
new ERXEnterpriseObjectCache(entityName, XXX.NAME_KEY, null, 
CACHE_TIMEOUT, true, false, false);

I changed the argument 'shouldRetainObjects''s value from true to false, and it 
did the trick.

However, I do not fully understand what was the fundamental issue!

Regards

Issam

On 26 October 2011 19:26, Chuck Hill 
mailto:ch...@global-village.net>> wrote:
Hi Issam,

It is a bad idea to do anything in the constructor of an EO, which I assume is 
what is happening here:


 at 
er.extensions.eof.ERXEnterpriseObjectCache.setRetainObjects(ERXEnterpriseObjectCache.java:789)
 at 
er.extensions.eof.ERXEnterpriseObjectCache.(ERXEnterpriseObjectCache.java:201)
 at indoc.app.common.IDStaticTag.tagCacheForEntity(IDStaticTag.java:75)
 at indoc.app.common.IDStaticTag.(IDStaticTag.java:61)
 at indoc.app.entities.Content.(Content.java:39)

This can often cause EOF problems.  A better choice is to use lazy 
initialization.
http://en.wikipedia.org/wiki/Lazy_initialization


Chuck


On 2011-10-26, at 11:00 AM, Issam Maamria wrote:

Hi all,

Thank you very much for the pointers. They, however, were not the cause of the 
problem.

An interesting thing is that the following exception always happens before the 
one I men

Re: [Wonder-disc] SQL Generation Issue

2014-04-24 Thread Chuck Hill
Still working on my first cup of coffee… is the issue here that you are suing a 
static initializer on an EO?  If so, I think you need to show it to us, or tell 
us why.   That is a bad thing to do if it touches any of EOF.  It just is.

Chuck


On 2014-04-24, 8:42 AM, "David Avendasora" wrote:


On Apr 24, 2014, at 11:05 AM, David Avendasora 
mailto:webobje...@avendasora.com>> wrote:

 If ERXEnterpriseObjectCache breaks it, what else can?

That was *supposed* to be rhetorical. But, well, guess what?  I can tell you at 
least one other thing that breaks it: 
ERXFrameworkPrincipal.setUpFrameworkPrincipalClass(Class)

Seriously, does SQL Generation work for anyone using Wonder? I’m just curious 
because I can’t see how it does.

Either that or I’m doing something fundamentally wrong. Place your bets!

Dave


java.lang.NoClassDefFoundError: com/webobjects/directtoweb/D2W
at java.lang.Class.getDeclaredFields0(Native Method)
at java.lang.Class.privateGetDeclaredFields(Class.java:2348)
at java.lang.Class.getField0(Class.java:2675)
at java.lang.Class.getField(Class.java:1554)
at 
er.extensions.ERXFrameworkPrincipal.setUpFrameworkPrincipalClass(ERXFrameworkPrincipal.java:157)
at 
er.extensions.ERXFrameworkPrincipal.setUpFrameworkPrincipalClass(ERXFrameworkPrincipal.java:163)
at 
er.corebusinesslogic.ERCoreBusinessLogic.(ERCoreBusinessLogic.java:82)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:171)
at 
com.webobjects.foundation._NSUtilities._classWithPartialName(_NSUtilities.java:348)
at com.webobjects.foundation._NSUtilities.classWithName(_NSUtilities.java:335)
at com.webobjects.foundation.NSBundle.initPrincipalClass(NSBundle.java:1760)
at com.webobjects.foundation.NSBundle.InitPrincipalClasses(NSBundle.java:700)
at com.webobjects.foundation.NSBundle.(NSBundle.java:344)
at 
com.webobjects.eoaccess.EOAdaptor.infoDictionaryForAdaptorNamed(EOAdaptor.java:230)
at 
com.webobjects.eoaccess.EOAdaptor.classNameForAdaptorNamed(EOAdaptor.java:246)
at com.webobjects.eoaccess.EOAdaptor.classForAdaptorNamed(EOAdaptor.java:262)
at com.webobjects.eoaccess.EOAdaptor.adaptorWithName(EOAdaptor.java:287)
at com.webobjects.eoaccess.EOAdaptor.adaptorWithModel(EOAdaptor.java:312)
at com.webobjects.eoaccess.EOModel.createPrototypeCache(EOModel.java:624)
at com.webobjects.eoaccess.EOModel.prototypeAttributeNamed(EOModel.java:699)
at com.webobjects.eoaccess.EOAttribute.(EOAttribute.java:998)
at com.webobjects.eoaccess.EOEntity.attributes(EOEntity.java:816)
at 
org.objectstyle.wolips.eomodeler.core.sql.EOFSQLGenerator53.createLocalizedAttributes(EOFSQLGenerator53.java:339)
at 
org.objectstyle.wolips.eomodeler.core.sql.EOFSQLGenerator53.localizeEntities(EOFSQLGenerator53.java:276)
at 
org.objectstyle.wolips.eomodeler.core.sql.EOFSQLGenerator53.(EOFSQLGenerator53.java:206)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at 
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at 
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at 
org.objectstyle.wolips.eomodeler.core.sql.EOFSQLGeneratorFactory.sqlGenerator(EOFSQLGeneratorFactory.java:43)
at 
org.objectstyle.wolips.eomodeler.actions.GenerateSQLDialog.generateSql(GenerateSQLDialog.java:297)
at 
org.objectstyle.wolips.eomodeler.actions.GenerateSQLDialog$1.run(GenerateSQLDialog.java:279)
at java.lang.Thread.run(Thread.java:695)
Caused by: java.lang.ClassNotFoundException: com.webobjects.directtoweb.D2W
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at java.net.FactoryURLClassLoader.loadClass(URLClassLoader.java:627)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
... 34 more




—
WebObjects - so easy that even Dave Avendasora can do it!™
—
David Avendasora
Senior Software Abuser
Nekesto, Inc.





 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: Deploy on CentOS

2014-04-23 Thread Chuck Hill
I added several additional checks for launch problems, fixed bugs, and added 
better logging and messages for my presentation at WOWODC this year.  If you 
want to build wotaskd and monitor yourself, you can clone my repo from here:
https://github.com/chillatgvc/wonder/tree/WOWODC14

I still have a few more cleanup tasks before I send a pull request to Wonder.

Chuck



On 2014-04-23, 12:59 PM, "jazz" wrote:

Hi list,

I am running a simple webobjects app on CentOS. Installed with Pascal's 
excellent packages: 
http://wiki.wocommunity.org/display/documentation/Installing+a+deployment+environment+on+RedHat%2C+CentOS+or+Amazon+Linux

wotaskd and javamonitor are running fine. I can deploy the app from the command 
line. Everything works fine.

Now I would like to deploy in javamonitor. Does not work. Application dies. I 
have two questions:

1. How do I log JavaMonitor (debug logging)?

2. What could be wrong?

  *   Firewall is open on 1085 and 2001 (port for app)
  *   SE linux allows apache network connections (sudo setsebool -P 
httpd_can_network_connect=1,  
http://lists.apple.com/archives/webobjects-deploy/2011/Jun/msg9.html
  *   I compiled a new policy module for SElinux (wotaskd).
  *   SElinux disabled makes no difference
  *   owner of the app in /opt/Local/Library/Applications) is 
appserver:appserveradm

Thanks for your help in advance!

Bart
 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: "Manual" form submission with Ajax.framework

2014-04-21 Thread Chuck Hill
On 2014-04-21, 10:35 PM, "Paul Hoadley" wrote:
In any case, my designer's patience was exceeded while waiting for me to fix 
this, and he's using a different drop-in replacement

And that is what we call a WIN!  :-P
 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: Mixing and matching prototypes

2014-04-16 Thread Chuck Hill
On 2014-04-16, 12:40 PM, "David Avendasora" wrote:

P.S. Missed you at WOWODC. I stayed surprisingly sober. It’s all your fault. A 
fun group of 5 Germans did a good job of trying to replace 1 Icelandic crazy 
man, but fell short - we found our way back to the Hotel on only the 2nd try.

My liver was actually pretty relieved that Hugi did NOT make it.  It still 
lives in fear of WWDC years ago.


Chuck

 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: What stands in the way becomes the way

2014-04-16 Thread Chuck Hill
I just won’t be the same if you don’t present at least three sessions!


On 2014-04-16, 11:29 AM, "Pascal Robert" wrote:

I'm gonna get kill, but I have said at WOWODC this year that I'm willing to 
organize it in Montreal again, as long as I'm not presenting (beside the State 
of the Community presentation, it takes 15 minutes to prepare) and we have the 
event manager.


De: "Ken Anderson" mailto:kenli...@anderhome.com>>
À: "Timothy Worman" mailto:li...@thetimmy.com>>
Cc: "WebObjects-Dev List" 
mailto:webobjects-dev@lists.apple.com>>
Envoyé: Mercredi 16 Avril 2014 14:20:14
Objet: Re: What stands in the way becomes the way

There will be another, and who knows?  Maybe someone in Montreal will pick up 
the torch!

On Apr 16, 2014, at 12:45 PM, Timothy Worman 
mailto:li...@thetimmy.com>> wrote:

I will always be disappointed that I didn’t get to make a WOWODC in Montreal. 
Awesome community. I’m hoping I’ll still have an opportunity to attend 
something with WO’ers. This truly IS a great community.

Tim
UCLA GSE&IS

On Apr 15, 2014, at 11:54 PM, Dev WO 
mailto:webobje...@anazys.com>> wrote:

Hi Aaron,

You did find something nice coming from France, lucky you:)

I was just telling my wife that I'd like to test that setup and I got "you're 
fat enough, no way" in response;) So guess I won't buy that French product for 
the foreseeable future.

WOWODC is clearly my best conference/community/favorite people, wherever will 
be next year, I'm in.

Xavier




Hi Dan,

I got it from the “Healthy Back Store” so I guess it’s ok ;-) I spend most of 
my time in the “zero gravity” position.

It’s kinda funny when you video conference with me. It looks like I’m on the 
space station.

Hahah, sometimes when people come to service the furnace, etc. they assume I’m 
a vegetable. They have that look of pity on their face you know. Usually I just 
go with it, have some fun.

Actually, sometimes I move the chair and adjust the arm to use it as a standing 
desk. Variation can be good.

It comes from France, the brand is “La Fuma.” It should run around $150 USD. It 
is meant to be an outdoor chair but I use it indoors. It’s a folding chair that 
can be moved out of the way or taken with you. The “lacing” breaks every 6 
months from daily use. It’s like a long shoe-lace.

It’s basically the poor man’s gravitonus:
http://gravitonus.com
AARON ROSENZWEIG / Chat 'n Bike
e:  aa...@chatnbike.com  t:  (301) 956-2319
[Chat 'n Bike]  [Chat 'n Bike]

On Apr 15, 2014, at 10:15 PM, Daniel Beatty 
mailto:danielbea...@mac.com>> wrote:

Hi,
I love the chair Aaron has in the picture.  If you don't mind me asking, how is 
it for the back?  Do they make versions of that chair for people with really 
bad backs with an addiction to WebObjects and WOnder?

V/R,
Dan Beatty

___
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:
https://lists.apple.com/mailman/options/webobjects-dev/webobjects%40anazys.com

This email sent to webobje...@anazys.com

___
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:
https://lists.apple.com/mailman/options/webobjects-dev/lists%40thetimmy.com

This email sent to li...@thetimmy.com

___
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:
https://lists.apple.com/mailman/options/webobjects-dev/kenlists%40anderhome.com

This email sent to kenli...@anderhome.com

 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/probert%40macti.ca

This email sent to prob...@macti.ca

 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: Convert WebObjects app to pure java

2014-04-15 Thread Chuck Hill
Yes.


On 2014-04-15, 5:25 PM, "Ada" wrote:

So I should be able to take this app as it stands now and deploy it on a linux 
box without any code change if I wanted to?


On Tue, Apr 15, 2014 at 8:24 PM, Ada 
mailto:mersi...@gmail.com>> wrote:
Chuck, I guess I'd have to go back tomorrow and Check my WO version, but my gut 
feeling tells me it is 5.4.2, that was the version released in late '07 early 
'08 that supported the Mac Intels.


On Tue, Apr 15, 2014 at 8:12 PM, Chuck Hill 
mailto:ch...@global-village.net>> wrote:
Hi,

On 2014-04-15, 4:48 PM, "Ada" wrote:

Thanks all for the responses!

Some answers to your questions:

"I think what you are saying is that you were using Apple Development tools 
including Xcode and WOBuilder to design your apps but now… now you’ve upgraded 
your Mac and you can’t run them anymore…. You sorta know that your only choice 
is to go Eclipse… does this sound like your situation? I’m guessing too :-) ""  
 -- Yes, can no longer run WO on my current machine. It is dying, and cannot 
patch it with anymore old parts.

Plain JSP is what I am thinking of switching to.

The reason we're stripping out the webobjects from the code is due to the 
server it lies on. It is running on a decade old mac, version 10.5.8.
My understanding is that i cannot run a webobjects app on a windows box (or 
maybe Red Hat)? Am I correct with my thoughts on that?

If you are running WebObjects 5.4.x, then it will run on any box with JDK 1.5 – 
1.7 (not sure about 1.8).  If you meant WebObjects 4.5.x then that is 
Objective-C based and you have a much worse problem.  As of version 5.0, 
WebObjects is pure java.


Chuck


I need a simple Java framework to convert all the code in, JSP is what I first 
thought of, but I'm open to suggestions.
The application listserv type app, where users are creating, adding, removing 
people form listservs.
As, one of you mentioned it does use the EOF, so I would need to rewrite that, 
and I don't know much as to what it is involved in there eitehr either.
Any guidance as to what to expect would be greatly appreciated.
Apologies for the confusing questions.

Thank you all!


On Tue, Apr 15, 2014 at 4:44 PM, Timothy Worman 
mailto:li...@thetimmy.com>> wrote:
Golipse should install Eclipse 3.8.2, WOLips, and some other tools, etc.

Tim

On Apr 15, 2014, at 1:24 PM, Aaron Rosenzweig 
mailto:aa...@chatnbike.com>> wrote:

Hi Ada,

Hey sorry… so many responses and we’re all confused.

I think what you are saying is that you were using Apple Development tools 
including Xcode and WOBuilder to design your apps but now… now you’ve upgraded 
your Mac and you can’t run them anymore…. You sorta know that your only choice 
is to go Eclipse… does this sound like your situation? I’m guessing too :-)

WO 5.4 is pure java. There is nothing to convert.

When you switch to Eclipse and install the WOLips plugin it will work. You 
don’t need to convert anything.

Get Eclipse version 3.7.x and WOLips.

Cheers,
AARON ROSENZWEIG / Chat 'n Bike<http://www.chatnbike.com/>

e:  aa...@chatnbike.com<mailto:aa...@chatnbike.com>  t:  (301) 
956-2319

[Chat 'n Bike]  [Chat 'n Bike]

On Apr 15, 2014, at 4:16 PM, David LeBer 
mailto:dleber_wo...@codeferous.com>> wrote:

WebObjects *is* pure java (there is no magic ‘other’ language or anything). It 
is a full web publishing stack.

If you have a WebObjects application, you are probably talking to a database, 
if so that uses the entity relational mapping layer of WebObjects called EOF.

The display layer of the stack builds UI elements using WOComponents (each 
comprised of a chunk of HTML, it’s associated Java and a bindings file (.wod) 
to tie them together), and has classes to handle session management etc.

If by “pure java” you mean “unencumbered by Apple’s frameworks” then you are 
faced with rewriting your application to use a different ERM layer and display 
layer. Perhaps Tapestry/Cayenne. Regardless, this is not a simple undertaking.

D

On Apr 15, 2014, at 3:48 PM, Ada 
mailto:mersi...@gmail.com>> wrote:

The GUI of the app is in webobjects; there's components which utilize WO.
I am not sure what to expect if I were to take the code and run it on Eclipse 
without WOLips, I am going to try that soon, but was looking some guidance on 
how to rewrite the GUI (it is rather simple) into Java.


On Tue, Apr 15, 2014 at 3:30 PM, Chuck Hill 
mailto:ch...@global-village.net>> wrote:
How is it not pure Java now?

Chuck


On 2014-04-15, 12:25 PM, "Ada" wrote:


Hello all,

We're looking to convert one of our WebObjects Apps to pure java. Wondering if 
there's a tool which could help with this process. The application is running 
WO 5.4 on Java 5.

Any advice would be greatly appreciated

___
Do not post admin requests to the list. They will be igno

Re: Convert WebObjects app to pure java

2014-04-15 Thread Chuck Hill
You probably also want to update to 5.4.3 which has some useful bug fixes.  See 
Getting Started here http://wiki.wocommunity.org/display/WEB/Home

WebObjects was pure Java by the start of the Mac Intel era.
Chuck


On 2014-04-15, 5:24 PM, "Ada" wrote:

Chuck, I guess I'd have to go back tomorrow and Check my WO version, but my gut 
feeling tells me it is 5.4.2, that was the version released in late '07 early 
'08 that supported the Mac Intels.


On Tue, Apr 15, 2014 at 8:12 PM, Chuck Hill 
mailto:ch...@global-village.net>> wrote:
Hi,

On 2014-04-15, 4:48 PM, "Ada" wrote:

Thanks all for the responses!

Some answers to your questions:

"I think what you are saying is that you were using Apple Development tools 
including Xcode and WOBuilder to design your apps but now… now you’ve upgraded 
your Mac and you can’t run them anymore…. You sorta know that your only choice 
is to go Eclipse… does this sound like your situation? I’m guessing too :-) ""  
 -- Yes, can no longer run WO on my current machine. It is dying, and cannot 
patch it with anymore old parts.

Plain JSP is what I am thinking of switching to.

The reason we're stripping out the webobjects from the code is due to the 
server it lies on. It is running on a decade old mac, version 10.5.8.
My understanding is that i cannot run a webobjects app on a windows box (or 
maybe Red Hat)? Am I correct with my thoughts on that?

If you are running WebObjects 5.4.x, then it will run on any box with JDK 1.5 – 
1.7 (not sure about 1.8).  If you meant WebObjects 4.5.x then that is 
Objective-C based and you have a much worse problem.  As of version 5.0, 
WebObjects is pure java.


Chuck


I need a simple Java framework to convert all the code in, JSP is what I first 
thought of, but I'm open to suggestions.
The application listserv type app, where users are creating, adding, removing 
people form listservs.
As, one of you mentioned it does use the EOF, so I would need to rewrite that, 
and I don't know much as to what it is involved in there eitehr either.
Any guidance as to what to expect would be greatly appreciated.
Apologies for the confusing questions.

Thank you all!


On Tue, Apr 15, 2014 at 4:44 PM, Timothy Worman 
mailto:li...@thetimmy.com>> wrote:
Golipse should install Eclipse 3.8.2, WOLips, and some other tools, etc.

Tim

On Apr 15, 2014, at 1:24 PM, Aaron Rosenzweig 
mailto:aa...@chatnbike.com>> wrote:

Hi Ada,

Hey sorry… so many responses and we’re all confused.

I think what you are saying is that you were using Apple Development tools 
including Xcode and WOBuilder to design your apps but now… now you’ve upgraded 
your Mac and you can’t run them anymore…. You sorta know that your only choice 
is to go Eclipse… does this sound like your situation? I’m guessing too :-)

WO 5.4 is pure java. There is nothing to convert.

When you switch to Eclipse and install the WOLips plugin it will work. You 
don’t need to convert anything.

Get Eclipse version 3.7.x and WOLips.

Cheers,
AARON ROSENZWEIG / Chat 'n Bike<http://www.chatnbike.com/>

e:  aa...@chatnbike.com<mailto:aa...@chatnbike.com>  t:  (301) 
956-2319

[Chat 'n Bike]  [Chat 'n Bike]

On Apr 15, 2014, at 4:16 PM, David LeBer 
mailto:dleber_wo...@codeferous.com>> wrote:

WebObjects *is* pure java (there is no magic ‘other’ language or anything). It 
is a full web publishing stack.

If you have a WebObjects application, you are probably talking to a database, 
if so that uses the entity relational mapping layer of WebObjects called EOF.

The display layer of the stack builds UI elements using WOComponents (each 
comprised of a chunk of HTML, it’s associated Java and a bindings file (.wod) 
to tie them together), and has classes to handle session management etc.

If by “pure java” you mean “unencumbered by Apple’s frameworks” then you are 
faced with rewriting your application to use a different ERM layer and display 
layer. Perhaps Tapestry/Cayenne. Regardless, this is not a simple undertaking.

D

On Apr 15, 2014, at 3:48 PM, Ada 
mailto:mersi...@gmail.com>> wrote:

The GUI of the app is in webobjects; there's components which utilize WO.
I am not sure what to expect if I were to take the code and run it on Eclipse 
without WOLips, I am going to try that soon, but was looking some guidance on 
how to rewrite the GUI (it is rather simple) into Java.


On Tue, Apr 15, 2014 at 3:30 PM, Chuck Hill 
mailto:ch...@global-village.net>> wrote:
How is it not pure Java now?

Chuck


On 2014-04-15, 12:25 PM, "Ada" wrote:


Hello all,

We're looking to convert one of our WebObjects Apps to pure java. Wondering if 
there's a tool which could help with this process. The application is running 
WO 5.4 on Java 5.

Any advice would be greatly appreciated

___
Do not post admin requests to the list. The

Re: Convert WebObjects app to pure java

2014-04-15 Thread Chuck Hill
Those are also pure Java WebObjects applications.  You can use Apache’d 
mod_proxy if you really need to not use them.


On 2014-04-15, 5:16 PM, "Ada" wrote:

Lon, wow! I didn't now that. What about Java Monitor where you control the 
WebObjects instances running and the WOTaskD?
Do you still need to have them on your linux box?


On Tue, Apr 15, 2014 at 8:10 PM, Lon Varscsak 
mailto:lon.varsc...@gmail.com>> wrote:
Because WebObjects is written in Java, it can pretty much run anywhere you need 
it to.  We almost exclusively deploy our applications on Linux, but there are 
others who deploy on Windows (we call them crazy though :D).

There was a restriction in the license (I don't remember if this ever changed) 
that required you to do development on a Mac OS X box, but I know there are 
devs that do development on other platforms.

-Lon


On Tue, Apr 15, 2014 at 4:48 PM, Ada 
mailto:mersi...@gmail.com>> wrote:
Thanks all for the responses!

Some answers to your questions:

"I think what you are saying is that you were using Apple Development tools 
including Xcode and WOBuilder to design your apps but now… now you’ve upgraded 
your Mac and you can’t run them anymore…. You sorta know that your only choice 
is to go Eclipse… does this sound like your situation? I’m guessing too :-) ""  
 -- Yes, can no longer run WO on my current machine. It is dying, and cannot 
patch it with anymore old parts.

Plain JSP is what I am thinking of switching to.

The reason we're stripping out the webobjects from the code is due to the 
server it lies on. It is running on a decade old mac, version 10.5.8.
My understanding is that i cannot run a webobjects app on a windows box (or 
maybe Red Hat)? Am I correct with my thoughts on that?
I need a simple Java framework to convert all the code in, JSP is what I first 
thought of, but I'm open to suggestions.
The application listserv type app, where users are creating, adding, removing 
people form listservs.
As, one of you mentioned it does use the EOF, so I would need to rewrite that, 
and I don't know much as to what it is involved in there eitehr either.
Any guidance as to what to expect would be greatly appreciated.
Apologies for the confusing questions.

Thank you all!


On Tue, Apr 15, 2014 at 4:44 PM, Timothy Worman 
mailto:li...@thetimmy.com>> wrote:
Golipse should install Eclipse 3.8.2, WOLips, and some other tools, etc.

Tim

On Apr 15, 2014, at 1:24 PM, Aaron Rosenzweig 
mailto:aa...@chatnbike.com>> wrote:

Hi Ada,

Hey sorry… so many responses and we’re all confused.

I think what you are saying is that you were using Apple Development tools 
including Xcode and WOBuilder to design your apps but now… now you’ve upgraded 
your Mac and you can’t run them anymore…. You sorta know that your only choice 
is to go Eclipse… does this sound like your situation? I’m guessing too :-)

WO 5.4 is pure java. There is nothing to convert.

When you switch to Eclipse and install the WOLips plugin it will work. You 
don’t need to convert anything.

Get Eclipse version 3.7.x and WOLips.

Cheers,
AARON ROSENZWEIG / Chat 'n Bike<http://www.chatnbike.com/>

e:  aa...@chatnbike.com<mailto:aa...@chatnbike.com>  t:  (301) 
956-2319

[Chat 'n Bike]  [Chat 'n Bike]

On Apr 15, 2014, at 4:16 PM, David LeBer 
mailto:dleber_wo...@codeferous.com>> wrote:

WebObjects *is* pure java (there is no magic ‘other’ language or anything). It 
is a full web publishing stack.

If you have a WebObjects application, you are probably talking to a database, 
if so that uses the entity relational mapping layer of WebObjects called EOF.

The display layer of the stack builds UI elements using WOComponents (each 
comprised of a chunk of HTML, it’s associated Java and a bindings file (.wod) 
to tie them together), and has classes to handle session management etc.

If by “pure java” you mean “unencumbered by Apple’s frameworks” then you are 
faced with rewriting your application to use a different ERM layer and display 
layer. Perhaps Tapestry/Cayenne. Regardless, this is not a simple undertaking.

D

On Apr 15, 2014, at 3:48 PM, Ada 
mailto:mersi...@gmail.com>> wrote:

The GUI of the app is in webobjects; there's components which utilize WO.
I am not sure what to expect if I were to take the code and run it on Eclipse 
without WOLips, I am going to try that soon, but was looking some guidance on 
how to rewrite the GUI (it is rather simple) into Java.


On Tue, Apr 15, 2014 at 3:30 PM, Chuck Hill 
mailto:ch...@global-village.net>> wrote:
How is it not pure Java now?

Chuck


On 2014-04-15, 12:25 PM, "Ada" wrote:


Hello all,

We're looking to convert one of our WebObjects Apps to pure java. Wondering if 
there's a tool which could help with this process. The application is running 
WO 5.4 on Java 5.

Any advice would be greatly appreciated

___

Re: Convert WebObjects app to pure java

2014-04-15 Thread Chuck Hill
Hi,

On 2014-04-15, 4:48 PM, "Ada" wrote:

Thanks all for the responses!

Some answers to your questions:

"I think what you are saying is that you were using Apple Development tools 
including Xcode and WOBuilder to design your apps but now… now you’ve upgraded 
your Mac and you can’t run them anymore…. You sorta know that your only choice 
is to go Eclipse… does this sound like your situation? I’m guessing too :-) ""  
 -- Yes, can no longer run WO on my current machine. It is dying, and cannot 
patch it with anymore old parts.

Plain JSP is what I am thinking of switching to.

The reason we're stripping out the webobjects from the code is due to the 
server it lies on. It is running on a decade old mac, version 10.5.8.
My understanding is that i cannot run a webobjects app on a windows box (or 
maybe Red Hat)? Am I correct with my thoughts on that?

If you are running WebObjects 5.4.x, then it will run on any box with JDK 1.5 – 
1.7 (not sure about 1.8).  If you meant WebObjects 4.5.x then that is 
Objective-C based and you have a much worse problem.  As of version 5.0, 
WebObjects is pure java.


Chuck


I need a simple Java framework to convert all the code in, JSP is what I first 
thought of, but I'm open to suggestions.
The application listserv type app, where users are creating, adding, removing 
people form listservs.
As, one of you mentioned it does use the EOF, so I would need to rewrite that, 
and I don't know much as to what it is involved in there eitehr either.
Any guidance as to what to expect would be greatly appreciated.
Apologies for the confusing questions.

Thank you all!


On Tue, Apr 15, 2014 at 4:44 PM, Timothy Worman 
mailto:li...@thetimmy.com>> wrote:
Golipse should install Eclipse 3.8.2, WOLips, and some other tools, etc.

Tim

On Apr 15, 2014, at 1:24 PM, Aaron Rosenzweig 
mailto:aa...@chatnbike.com>> wrote:

Hi Ada,

Hey sorry… so many responses and we’re all confused.

I think what you are saying is that you were using Apple Development tools 
including Xcode and WOBuilder to design your apps but now… now you’ve upgraded 
your Mac and you can’t run them anymore…. You sorta know that your only choice 
is to go Eclipse… does this sound like your situation? I’m guessing too :-)

WO 5.4 is pure java. There is nothing to convert.

When you switch to Eclipse and install the WOLips plugin it will work. You 
don’t need to convert anything.

Get Eclipse version 3.7.x and WOLips.

Cheers,
AARON ROSENZWEIG / Chat 'n Bike<http://www.chatnbike.com/>

e:  aa...@chatnbike.com<mailto:aa...@chatnbike.com>  t:  (301) 
956-2319

[Chat 'n Bike]  [Chat 'n Bike]

On Apr 15, 2014, at 4:16 PM, David LeBer 
mailto:dleber_wo...@codeferous.com>> wrote:

WebObjects *is* pure java (there is no magic ‘other’ language or anything). It 
is a full web publishing stack.

If you have a WebObjects application, you are probably talking to a database, 
if so that uses the entity relational mapping layer of WebObjects called EOF.

The display layer of the stack builds UI elements using WOComponents (each 
comprised of a chunk of HTML, it’s associated Java and a bindings file (.wod) 
to tie them together), and has classes to handle session management etc.

If by “pure java” you mean “unencumbered by Apple’s frameworks” then you are 
faced with rewriting your application to use a different ERM layer and display 
layer. Perhaps Tapestry/Cayenne. Regardless, this is not a simple undertaking.

D

On Apr 15, 2014, at 3:48 PM, Ada 
mailto:mersi...@gmail.com>> wrote:

The GUI of the app is in webobjects; there's components which utilize WO.
I am not sure what to expect if I were to take the code and run it on Eclipse 
without WOLips, I am going to try that soon, but was looking some guidance on 
how to rewrite the GUI (it is rather simple) into Java.


On Tue, Apr 15, 2014 at 3:30 PM, Chuck Hill 
mailto:ch...@global-village.net>> wrote:
How is it not pure Java now?

Chuck


On 2014-04-15, 12:25 PM, "Ada" wrote:


Hello all,

We're looking to convert one of our WebObjects Apps to pure java. Wondering if 
there's a tool which could help with this process. The application is running 
WO 5.4 on Java 5.

Any advice would be greatly appreciated

___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  
(Webobjects-dev@lists.apple.com<mailto:Webobjects-dev@lists.apple.com>)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/dleber_wodev%40codeferous.com

This email sent to 
dleber_wo...@codeferous.com<mailto:dleber_wo...@codeferous.com>


___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  
(Webobjects-dev@lists.apple.com<mailto:Webobjects-dev@lists.apple.com>)
He

Re: Convert WebObjects app to pure java

2014-04-15 Thread Chuck Hill


On 2014-04-15, 12:48 PM, "Ada" wrote:

The GUI of the app is in webobjects; there's components which utilize WO.

And WO is Pure Java, so what is the problem?  You wan’t to move to Tapestry?   
JSP?


I am not sure what to expect if I were to take the code and run it on Eclipse 
without WOLips, I am going to try that soon, but was looking some guidance on 
how to rewrite the GUI (it is rather simple) into Java.

WOLips is just a _development time_ plugin for Eclipse.  It is the IDE!  You 
can develop WebObjects without it, but it is a lot more work.  You can develop 
WebObject with emacs and Ant if you really want the pain.   WOLips is NOT used 
for deployed apps.


Chuck




On Tue, Apr 15, 2014 at 3:30 PM, Chuck Hill 
mailto:ch...@global-village.net>> wrote:
How is it not pure Java now?

Chuck


On 2014-04-15, 12:25 PM, "Ada" wrote:


Hello all,

We're looking to convert one of our WebObjects Apps to pure java. Wondering if 
there's a tool which could help with this process. The application is running 
WO 5.4 on Java 5.

Any advice would be greatly appreciated

 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: Convert WebObjects app to pure java

2014-04-15 Thread Chuck Hill
How is it not pure Java now?

Chuck


On 2014-04-15, 12:25 PM, "Ada" wrote:


Hello all,

We're looking to convert one of our WebObjects Apps to pure java. Wondering if 
there's a tool which could help with this process. The application is running 
WO 5.4 on Java 5.

Any advice would be greatly appreciated
 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: Apache adaptor error with http header

2014-04-15 Thread Chuck Hill
That is great news!  Thanks for letting us know.

Chuck


On 2014-04-15, 7:59 AM, "Schoenenberger Dominique" wrote:

Big thanks ! That was a good advise !

I downloaded an already compiled adaptor available with this procedure:
http://wiki.wocommunity.org/display/documentation/Installing+a+deployment+environment+on+RedHat%2C+CentOS+or+Amazon+Linux<http://wiki.wocommunity.org/display/documentation/Installing+a+deployment+environment+on+RedHat,+CentOS+or+Amazon+Linux>

and with this apache adaptor, the problem is solved. That was a problem 
impacting us for 3 years ! Thanks again !

Dominique

On 09 Apr 2014, at 19:09, Chuck Hill 
mailto:ch...@global-village.net>> wrote:

My best guess at this point (and it is only a guess and on half a cup of 
coffee) is that you have a threading model error in how you configured the 
build – two threads are sharing data structures at the same time.  That 
explains why it is not systematic.  I can’t help you any more than that, 
hopefully someone else can.

Chuck



On 2014-04-09, 10:03 AM, "Schoenenberger Dominique" wrote:

It’s
Apache: 2.2.3
on Linux: Redhat 2.6.18-194.el5
Adaptor: latest version of Apache adaptor from Wonder (checked out end of 
march), built by myself

Dominique

On 09 Apr 2014, at 18:38, Chuck Hill 
mailto:ch...@global-village.net>> wrote:



On 2014-04-09, 8:10 AM, "Schoenenberger Dominique" wrote:

We have errors reported by the WebObjects Apache adaptor:

04-Apr-2014 18:36:23 - Error: Header length > 10240
04-Apr-2014 18:36:23 - Error: header text:DVL_S_IV 
1.0.1mailto:Webobjects-dev@lists.apple.com>)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/chill%40global-village.net

This email sent to ch...@global-village.net<mailto:ch...@global-village.net>


 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: Frameworks/Ajax/Ajax/WebServerResources in Wonder

2014-04-14 Thread Chuck Hill
Yes, they are created by the build.  I am not sure why they are under source 
control.

On 2014-04-14, 2:50 PM, "Klaus Berkling" wrote:


Can someone confirm that wondaculous-min.js and wondaculous.js in 
Frameworks/Ajax/Ajax/WebServerResources is auto-updated by some other task?
I'm asking because the files changed from under me. I'm guessing ant will 
update it ether running 'ant frameworks' or 'and frameworks.install'?

(Same seems to apply to 'Frameworks/Misc/WOJRebel/manifest.mf')

Thanks.



kib

"We keep moving forward, opening new doors, and doing new things, because we're 
curious and curiosity keeps leading us down new paths."
Walt Disney

Klaus Berkling
www.berkling.us | @kiberkli | Buy My iPhone 
app



 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: Apache adaptor error with http header

2014-04-09 Thread Chuck Hill
My best guess at this point (and it is only a guess and on half a cup of 
coffee) is that you have a threading model error in how you configured the 
build – two threads are sharing data structures at the same time.  That 
explains why it is not systematic.  I can’t help you any more than that, 
hopefully someone else can.

Chuck



On 2014-04-09, 10:03 AM, "Schoenenberger Dominique" wrote:

It’s
Apache: 2.2.3
on Linux: Redhat 2.6.18-194.el5
Adaptor: latest version of Apache adaptor from Wonder (checked out end of 
march), built by myself

Dominique

On 09 Apr 2014, at 18:38, Chuck Hill 
mailto:ch...@global-village.net>> wrote:



On 2014-04-09, 8:10 AM, "Schoenenberger Dominique" wrote:

We have errors reported by the WebObjects Apache adaptor:

04-Apr-2014 18:36:23 - Error: Header length > 10240
04-Apr-2014 18:36:23 - Error: header text:DVL_S_IV 
1.0.1mailto:Webobjects-dev@lists.apple.com>)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/chill%40global-village.net

This email sent to ch...@global-village.net<mailto:ch...@global-village.net>

 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: Apache adaptor error with http header

2014-04-09 Thread Chuck Hill


On 2014-04-09, 8:10 AM, "Schoenenberger Dominique" wrote:

We have errors reported by the WebObjects Apache adaptor:

04-Apr-2014 18:36:23 - Error: Header length > 10240
04-Apr-2014 18:36:23 - Error: header text:DVL_S_IV 
1.0.1mailto:Webobjects-dev@lists.apple.com>)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/chill%40global-village.net

This email sent to ch...@global-village.net
 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: WWDC (not WOWODC, the other one)

2014-04-08 Thread Chuck Hill
You would think that would result in something better than sending Avendasora 
to WWDC.  What has happened to Apple’s standards?



On 2014-04-08, 11:44 AM, "Miguel Arroz" wrote:

Hi,

  
http://www.foxnews.com/science/2014/04/08/brightest-planets-in-april-night-sky-see-mars-jupiter-and-more/

  They did, indeed!

  Regards,

Miguel Arroz

On Apr 8, 2014, at 5:48, David Avendasora 
mailto:webobje...@avendasora.com>> wrote:

Somehow the planets aligned and I was selected in the lottery for the 
opportunity to buy a WWDC ticket.

Who else is planning on going to WWDC?

Dave


—
WebObjects - so easy that even Dave Avendasora can do it!™
—
David Avendasora
Senior Software Abuser
Nekesto, Inc.





___
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:
https://lists.apple.com/mailman/options/webobjects-dev/arroz%40guiamac.com

This email sent to ar...@guiamac.com


 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: Java 8

2014-03-26 Thread Chuck Hill
The real question I think is whether HyperCard will run on Java 8.


On 2014-03-26, 4:10 PM, "Hugi Thordarson" wrote:

So… I went ahead and upgraded my production servers (with a quick route to an 
emergency downgrade). Everything seems to be running nicely, ~30 WO apps there. 
I’ll let you know when/if/how the shit hits the fan.

Until then, enjoy (among others) the Icelandic Red Cross, running on WO using 
Java 8 :)

http://www.redcross.is/

- hugi


On 26.3.2014, at 21:56, Bogdan Zlatanov 
mailto:bogdan.zlata...@gmail.com>> wrote:

For anyone that needs Java 8 support on Eclipse 4.3.2 -> 
https://wiki.eclipse.org/JDT_Core/Java8
Cheers
On Wed, 26 Mar 2014 22:19:49 +0100, Hugi Thordarson 
mailto:h...@karlmenn.is>> wrote:
Been running it in my dev environment for the past week. Works like a charm. I 
was planning to wait for Eclipse 4.4 before deploying to production, but if 
things keep going this well I might take the plunge earlier. I seem to have 
caught quite a serious case of the lambdas.
- hugi
On 26.3.2014, at 21:07, Fredrik Lindgren 
mailto:fre...@timeoff.se>> wrote:
Anyone tried it with WebObjects?
Fredrik Lindgren
___
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:
https://lists.apple.com/mailman/options/webobjects-dev/hugi%40karlmenn.is
This email sent to h...@karlmenn.is
___
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:
https://lists.apple.com/mailman/options/webobjects-dev/hugi%40karlmenn.is
This email sent to h...@karlmenn.is


 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: Am I hallucinating...

2014-03-25 Thread Chuck Hill
The new HyperCard will be released the quarter after WebObjects 6.0  ;-)

On 2014-03-25, 7:10 PM, "Michelle Parker" wrote:

Oh You guys are so cruel!
I actually believed that HyperCard link, I am so gullible :-(

Now back to the real world...

mich

On 26 Mar 2014, at 8:13 am, Chuck Hill 
mailto:ch...@global-village.net>> wrote:

Looks totally legit to me.
On 2014-03-25, 2:10 PM, "David Avendasora" wrote:
Agreed. Very suspicious.

On Mar 25, 2014, at 4:35 PM, Louis Demers 
mailto:louisdem...@mac.com>> wrote:
Very suspicious...

On Mar 25, 2014, at 16:19, James Cicenia 
mailto:ja...@jimijon.com>> wrote:
LOL!
On Tue, Mar 25, 2014 at 3:15 PM, Hugi Thordarson 
mailto:h...@karlmenn.is>> wrote:
Hope springs eternal…

On 25.3.2014, at 19:52, Theodore Petrosky 
mailto:tedp...@yahoo.com>> wrote:
Interesting as I clicked around in the webobjects area, I was invited to take a 
survey.
On Mar 25, 2014, at 3:38 PM, David LeBer 
mailto:dleber_wo...@codeferous.com>> wrote:
Yeah, I don’t know,
http://apple.com -> Click the Support Tab -> Click on iPod
Now do the same but click on Server + Enterprise
Same layout.
Including WO may be a mistake…
D
On Mar 25, 2014, at 3:14 PM, Chuck Hill 
mailto:ch...@global-village.net>> wrote:
And OS X Server.   Looks like someone revived a long dead page by accident.
On 2014-03-25, 12:08 PM, "Gino Pacitti" wrote:
http://www.apple.com/support/server-enterprise/
Link to WebObjects….
___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  
(Webobjects-dev@lists.apple.com<mailto:Webobjects-dev@lists.apple.com>)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/chill%40global-village.net
This email sent to ch...@global-village.net<mailto:ch...@global-village.net>
___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  
(Webobjects-dev@lists.apple.com<mailto:Webobjects-dev@lists.apple.com>)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/dleber_wodev%40codeferous.com
This email sent to 
dleber_wo...@codeferous.com<mailto:dleber_wo...@codeferous.com>
___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  
(Webobjects-dev@lists.apple.com<mailto:Webobjects-dev@lists.apple.com>)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/tedpet5%40yahoo.com
This email sent to tedp...@yahoo.com<mailto:tedp...@yahoo.com>
___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  
(Webobjects-dev@lists.apple.com<mailto:Webobjects-dev@lists.apple.com>)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/hugi%40karlmenn.is
This email sent to h...@karlmenn.is<mailto:h...@karlmenn.is>
  ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  
(Webobjects-dev@lists.apple.com<mailto:Webobjects-dev@lists.apple.com>)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/james%40jimijon.com
This email sent to ja...@jimijon.com<mailto:ja...@jimijon.com>
___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  
(Webobjects-dev@lists.apple.com<mailto:Webobjects-dev@lists.apple.com>)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/louisdemers%40mac.com
This email sent to louisdem...@mac.com<mailto:louisdem...@mac.com>
Louis Demers eng.
www.obzerv.com
___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  
(Webobjects-dev@lists.apple.com<mailto:Webobjects-dev@lists.apple.com>)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/webobjects%40avendasora.com
This email sent to webobje...@avendasora.com<mailto:webobje...@avendasora.com>
—
WebObjects - so easy that even Dave Avendasora can do it!™
—
David Avendasora
Senior Software Abuser
Nekesto, Inc.
 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  
(Webobjects-dev@lists.apple.com<mailto:Webobjects-dev@lists.apple.com>)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/mich%40webobjectives.com.au

Re: WOLips gives WO Template Problems (keypaths) even if not real problems!

2014-03-25 Thread Chuck Hill
I would have thought that WOGNL expressions were exempt from validation.  If 
not, the //VALID should work for them too.

Did you mean inline bindings?  I am not sure if there is anything to use with 
inline bindings.

Chuck


On 2014-03-25, 2:57 PM, "Christoph Wick" wrote:

Hi Chuck,

is there something like the "// VALID" marker if you are using WOOngl?

"// VALID" is working only if you are using WOD, isn't it?

C.U.CW
--
What are the three enemies of a programmer? Sunlight, oxygen, and the appalling 
roar of the birds.


On 25.03.2014, at 17:47, Chuck Hill 
mailto:ch...@global-village.net>> wrote:

The // VALID marker is the intended way to fix validation problems like this.
Chuck
On 2014-03-25, 7:33 AM, "Filippo Laurìa" wrote:
Hello everybody,
I have a simple `component id generator` that implements
`NSKeyValueCodingAdditions`. Something like this:
public class ComponentIDGenerator implements NSKeyValueCodingAdditions {
   private String idBase;
   public ComponentIDGenerator(
WOComponent component) {
 idBase = "_" + component.context().elementID().replace('.', '_');
   }
   public Object valueForKeyPath(String keypath) {
 return get(keypath);
   }
   public String get(String keypath) {
 String suffix = keypath.replace('.', '_');
 return idBase + "_" + suffix;
   }
   ...
}
I pasted it because it is really simple to understand.
When initializing a component (in the appendToResponse() method) the
generator is called like this:
`String idFor = new ComponentIDGenerator(this);`
In the wod, when I try to access keys like:
`idFor.foo` or `idFor.bar` i get WO Template errors from WOLips:
"there is no key foo for the keypath idFor".
It's useless to say that at runtime everything runs fine.
I found two ways to workaround this issues:
1) use WOGNL expression in the wod. So i use ~idFor.foo
2) foreach key create a getKey method. For example: getFoo()
   return idFor.valueForKey("foo").toString();
I don't like those two ways:
the first because it is not our purpose to use WOGNL framework in the
application,
the second because the work load becomes very huge.
Maybe there is a third way:
put // VALID next to the wod defecting property-value pair, like
id = idFor.foo; // VALID
I want to know if is there a correct way to remove this kind of errors
between those i mentioned before, or maybe something better.
Thank you for reading.
Regards,
   Filippo Lauria
___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  
(Webobjects-dev@lists.apple.com<mailto:Webobjects-dev@lists.apple.com>)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/chill%40global-village.net
This email sent to ch...@global-village.net<mailto:ch...@global-village.net>
___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  
(Webobjects-dev@lists.apple.com<mailto:Webobjects-dev@lists.apple.com>)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/wicki%40me.com
This email sent to wi...@me.com<mailto:wi...@me.com>


___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  
(Webobjects-dev@lists.apple.com<mailto:Webobjects-dev@lists.apple.com>)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/chill%40global-village.net

This email sent to ch...@global-village.net<mailto:ch...@global-village.net>
 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: Am I hallucinating...

2014-03-25 Thread Chuck Hill
HyperCard, no question.

On 2014-03-25, 1:56 PM, "David Avendasora" wrote:

On Mar 25, 2014, at 4:15 PM, Hugi Thordarson 
mailto:h...@karlmenn.is>> wrote:

Hope springs eternal…

For which? WebObjects or HyperCard.

With Hugi, I’m not sure which one he’s more excited about.

Dave


[cid:3E5838BC-4CD6-4A65-AD05-2437B681A534@home]



—
WebObjects - so easy that even Dave Avendasora can do it!™
—
David Avendasora
Senior Software Abuser
Nekesto, Inc.





<> ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: Am I hallucinating...

2014-03-25 Thread Chuck Hill
And OS X Server.   Looks like someone revived a long dead page by accident.



On 2014-03-25, 12:08 PM, "Gino Pacitti" wrote:

http://www.apple.com/support/server-enterprise/

Link to WebObjects….
___
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:
https://lists.apple.com/mailman/options/webobjects-dev/chill%40global-village.net

This email sent to ch...@global-village.net
 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: WOWODC'14 Calendar

2014-03-25 Thread Chuck Hill
Thanks!

Chuck


On 2014-03-24, 10:45 PM, "Klaus Berkling" wrote:


Here are the calendars for WOWODC 2014.

Room 1 (Opus 2):
http://www.berkling.us/wowodc14/WOWODC14-Room1.ics

Room 2 (Vivaldi):
http://www.berkling.us/wowodc14/WOWODC14-Room2.ics

Breakfast, Lunch, Dinner, Events:
http://www.berkling.us/wowodc14/WOWODC14-Events.ics

Subject to updates, etc...

These are timezone enabled.  I tried to create a calendar without timezone 
support which however, still contained my default timezone (America/LosAngeles) 
which I'm sure is worse than America/Montreal time.


kib

"The essence of training is to allow error without consequence."
Orson Scott Card

Klaus Berkling
www.berkling.us | @kiberkli | Buy My iPhone 
app



 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: WOLips gives WO Template Problems (keypaths) even if not real problems!

2014-03-25 Thread Chuck Hill
The // VALID marker is the intended way to fix validation problems like this.

Chuck


On 2014-03-25, 7:33 AM, "Filippo Laurìa" wrote:

Hello everybody,

I have a simple `component id generator` that implements
`NSKeyValueCodingAdditions`. Something like this:

public class ComponentIDGenerator implements NSKeyValueCodingAdditions {
  private String idBase;

  public ComponentIDGenerator(
WOComponent component) {
idBase = "_" + component.context().elementID().replace('.', '_');
  }

  public Object valueForKeyPath(String keypath) {
return get(keypath);
  }

  public String get(String keypath) {
String suffix = keypath.replace('.', '_');
return idBase + "_" + suffix;
  }
  ...
}

I pasted it because it is really simple to understand.

When initializing a component (in the appendToResponse() method) the
generator is called like this:
`String idFor = new ComponentIDGenerator(this);`

In the wod, when I try to access keys like:
`idFor.foo` or `idFor.bar` i get WO Template errors from WOLips:
"there is no key foo for the keypath idFor".

It's useless to say that at runtime everything runs fine.

I found two ways to workaround this issues:
1) use WOGNL expression in the wod. So i use ~idFor.foo
2) foreach key create a getKey method. For example: getFoo()
  return idFor.valueForKey("foo").toString();

I don't like those two ways:
the first because it is not our purpose to use WOGNL framework in the
application,
the second because the work load becomes very huge.

Maybe there is a third way:
put // VALID next to the wod defecting property-value pair, like
id = idFor.foo; // VALID

I want to know if is there a correct way to remove this kind of errors
between those i mentioned before, or maybe something better.

Thank you for reading.

Regards,
  Filippo Lauria
___
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:
https://lists.apple.com/mailman/options/webobjects-dev/chill%40global-village.net

This email sent to ch...@global-village.net
 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: RawRow cross DB compatibility

2014-03-24 Thread Chuck Hill
Hi Oscar,


On 2014-03-24, 5:54 PM, "Oscar González" wrote:

Hi all,
I'm migrating a few projects from Oracle to Postgresql, there are a lot 
straight RawRow for performance.

Raw rows or raw SQL?  Most raw row stuff can take a qualifier which removes the 
need for raw (custom) SQL.  You are using Wonder, right?


Now I'm facing the problem of changing every incompatibility like nvl for 
coalesce for example.
1. I will like to know the right way of doing a RawRow to use the JdbcPlugin 
for better cross databases

There might be some stuff in JDBCPlugin or in the SQLHelper family to make this 
easier, but it might be more trouble than it is worth unless you plan on 
migrating the projects again.


2. For my own problem is there any workaround instead of doing it by the long 
way.

I think you might be stuck with it.  Oracle is known for doing things its own 
way.


Chuck



Appreciate any help

Saludos,

Óscar González Pérez
TECH un AGRO S.A
 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: Saving NSDictionary to DB

2014-03-24 Thread Chuck Hill
See NSPropertyListSerialization.  There should be examples in Wonder and maybe 
support for using it.


Chuck


On 2014-03-24, 2:56 PM, "Oscar González" wrote:

Hi all,
I need to save a NSDictionary to the DB and then recovery it back.
Is there some formatter to do this?

Saludos,

Oscar González Pérez
TECH in AGRO S.A.
 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: Error after adding entity and relationship to model

2014-03-24 Thread Chuck Hill
Then I don’t understand how it is getting out of sync…


On 2014-03-24, 12:35 PM, "Ângelo Andrade Cirino" wrote:

It is the Eclipse plugin.


2014-03-24 16:28 GMT-03:00 Chuck Hill 
mailto:ch...@global-village.net>>:


On 2014-03-24, 12:08 PM, "Ângelo Andrade Cirino" wrote:

Hi David,

It is a unidirectional relationship.

Entity Modeler and Eclipse aren't talking adequately to each other. My model 
will very often become out of sync. I guess the model file got corrupted 
sometime and I didn't notice it until the model was loaded.

Are you using the external EntityModeler.app instead of the Eclipse plugin?



Angelo


2014-03-24 14:29 GMT-03:00 David Avendasora 
mailto:webobje...@avendasora.com>>:
Having a bad value in the “definition” attribute of the relationship’s entry of 
the Entity.plist is what probably caused the error. When you recreated it that 
cleared out the value.

Now, on the subject of a "one-to-one” relationship… Is it a true, 
bi-directional "one-to-one" where the FK in each table is also the PK? If so, 
that is not going to work.

Dave


On Mar 24, 2014, at 12:38 PM, Ângelo Andrade Cirino 
mailto:aacir...@gmail.com>> wrote:

Hi Chuck,

Never mind, I deleted the entity and recreated it with a new name and was able 
to circumvent the error.

I did not model the relationship as flattened neither did anything other then 
the usual for a one to one relationship.

Angelo


2014-03-24 13:30 GMT-03:00 Chuck Hill 
mailto:ch...@global-village.net>>:
>From the stack trace, it looks like you modelled this as a flattened 
>relationship and did it wrong.  Can you post the plist section for this?


Chuck


On 2014-03-24, 9:03 AM, "Ângelo Andrade Cirino" wrote:

Hi,

After simply adding a new entity and a relationship to an existing entity I get 
the following error:

Mar 24 12:54:47 TesteModelos[52428] INFO  
er.extensions.appserver.ERXApplication  - Wonder version: 6.1.2-SNAPSHOT
Mar 24 12:54:47 TesteModelos[52428] INFO  
er.extensions.appserver.ERXApplication  - Welcome to TesteModelos !
Mar 24 12:54:47 TesteModelos[52428] WARN  er.extensions.eof.ERXModelGroup  - 
Clearing previous class descriptions
Mar 24 12:54:47 TesteModelos[52428] DEBUG NSLog  - Using JDBCPlugIn 
'com.webobjects.jdbcadaptor.JDBCPlugIn' for JDBCAdaptor@218940734
Mar 24 12:54:47 TesteModelos[52428] DEBUG NSLog  - Using JDBCPlugIn 
'MySQLPlugIn' for JDBCAdaptor@1450090084
Mar 24 12:54:47 TesteModelos[52428] ERROR 
er.extensions.appserver.ERXApplication  - TesteModelos failed to start.
ClassCastException: com.webobjects.eoaccess.EORelationship cannot be cast to 
com.webobjects.eoaccess._EOExpressionArray
  at 
com.webobjects.eoaccess.EOAttribute._normalizeDefinitionPath(EOAttribute.java:2935)
  at 
com.webobjects.eoaccess.EOAttribute._normalizeDefinitionPath(EOAttribute.java:2967)
  at 
com.webobjects.eoaccess.EOAttribute._setDefinitionWithoutFlushingCaches(EOAttribute.java:2772)
  at 
com.webobjects.eoaccess.EOAttribute.awakeWithPropertyList(EOAttribute.java:1217)
  at com.webobjects.eoaccess.EOEntity.attributes(EOEntity.java:830)
  at 
er.extensions.eof.ERXModelGroup.modifyModelsFromProperties(ERXModelGroup.java:1146)
  at 
er.extensions.eof.ERXModelGroup.loadModelsFromLoadedBundles(ERXModelGroup.java:258)
  at er.extensions.ERXExtensions.defaultModelGroup(ERXExtensions.java:148)
 ... skipped 5 stack elements
  at com.webobjects.foundation._NSDelegate._perform(_NSDelegate.java:223)
  at com.webobjects.foundation._NSDelegate.perform(_NSDelegate.java:155)
  at com.webobjects.eoaccess.EOModelGroup.defaultGroup(EOModelGroup.java:328)
  at er.extensions.migration.ERXMigrator.migrateToLatest(ERXMigrator.java:169)
  at 
er.extensions.appserver.ERXApplication.finishInitialization(ERXApplication.java:1300)
  ... skipped 13 stack elements
Mar 24 12:54:47 TesteModelos[52428] WARN  NSLog  - A fatal exception occurred: 
com.webobjects.eoaccess.EORelationship cannot be cast to 
com.webobjects.eoaccess._EOExpressionArray
[2014-3-24 12:54:47 BRT]  java.lang.ClassCastException: 
com.webobjects.eoaccess.EORelationship cannot be cast to 
com.webobjects.eoaccess._EOExpressionArray
at 
com.webobjects.eoaccess.EOAttribute._normalizeDefinitionPath(EOAttribute.java:2935)
at 
com.webobjects.eoaccess.EOAttribute._normalizeDefinitionPath(EOAttribute.java:2967)
at 
com.webobjects.eoaccess.EOAttribute._setDefinitionWithoutFlushingCaches(EOAttribute.java:2772)
at 
com.webobjects.eoaccess.EOAttribute.awakeWithPropertyList(EOAttribute.java:1217)
at com.webobjects.eoaccess.EOEntity.attributes(EOEntity.java:830)
at 
er.extensions.eof.ERXModelGroup.modifyModelsFromProperties(ERXModelGroup.java:1146)
at 
er.extensions.eof.ERXModelGroup.loadModelsFromLoadedBundles(ERXModelGroup.java:258)
at er.extensions.ERXExtensions.defaultModelGroup(ERXExtensions.java:148)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethod

Re: Error after adding entity and relationship to model

2014-03-24 Thread Chuck Hill


On 2014-03-24, 12:08 PM, "Ângelo Andrade Cirino" wrote:

Hi David,

It is a unidirectional relationship.

Entity Modeler and Eclipse aren't talking adequately to each other. My model 
will very often become out of sync. I guess the model file got corrupted 
sometime and I didn't notice it until the model was loaded.

Are you using the external EntityModeler.app instead of the Eclipse plugin?



Angelo


2014-03-24 14:29 GMT-03:00 David Avendasora 
mailto:webobje...@avendasora.com>>:
Having a bad value in the “definition” attribute of the relationship’s entry of 
the Entity.plist is what probably caused the error. When you recreated it that 
cleared out the value.

Now, on the subject of a "one-to-one” relationship… Is it a true, 
bi-directional "one-to-one" where the FK in each table is also the PK? If so, 
that is not going to work.

Dave


On Mar 24, 2014, at 12:38 PM, Ângelo Andrade Cirino 
mailto:aacir...@gmail.com>> wrote:

Hi Chuck,

Never mind, I deleted the entity and recreated it with a new name and was able 
to circumvent the error.

I did not model the relationship as flattened neither did anything other then 
the usual for a one to one relationship.

Angelo


2014-03-24 13:30 GMT-03:00 Chuck Hill 
mailto:ch...@global-village.net>>:
>From the stack trace, it looks like you modelled this as a flattened 
>relationship and did it wrong.  Can you post the plist section for this?


Chuck


On 2014-03-24, 9:03 AM, "Ângelo Andrade Cirino" wrote:

Hi,

After simply adding a new entity and a relationship to an existing entity I get 
the following error:

Mar 24 12:54:47 TesteModelos[52428] INFO  
er.extensions.appserver.ERXApplication  - Wonder version: 6.1.2-SNAPSHOT
Mar 24 12:54:47 TesteModelos[52428] INFO  
er.extensions.appserver.ERXApplication  - Welcome to TesteModelos !
Mar 24 12:54:47 TesteModelos[52428] WARN  er.extensions.eof.ERXModelGroup  - 
Clearing previous class descriptions
Mar 24 12:54:47 TesteModelos[52428] DEBUG NSLog  - Using JDBCPlugIn 
'com.webobjects.jdbcadaptor.JDBCPlugIn' for JDBCAdaptor@218940734
Mar 24 12:54:47 TesteModelos[52428] DEBUG NSLog  - Using JDBCPlugIn 
'MySQLPlugIn' for JDBCAdaptor@1450090084
Mar 24 12:54:47 TesteModelos[52428] ERROR 
er.extensions.appserver.ERXApplication  - TesteModelos failed to start.
ClassCastException: com.webobjects.eoaccess.EORelationship cannot be cast to 
com.webobjects.eoaccess._EOExpressionArray
  at 
com.webobjects.eoaccess.EOAttribute._normalizeDefinitionPath(EOAttribute.java:2935)
  at 
com.webobjects.eoaccess.EOAttribute._normalizeDefinitionPath(EOAttribute.java:2967)
  at 
com.webobjects.eoaccess.EOAttribute._setDefinitionWithoutFlushingCaches(EOAttribute.java:2772)
  at 
com.webobjects.eoaccess.EOAttribute.awakeWithPropertyList(EOAttribute.java:1217)
  at com.webobjects.eoaccess.EOEntity.attributes(EOEntity.java:830)
  at 
er.extensions.eof.ERXModelGroup.modifyModelsFromProperties(ERXModelGroup.java:1146)
  at 
er.extensions.eof.ERXModelGroup.loadModelsFromLoadedBundles(ERXModelGroup.java:258)
  at er.extensions.ERXExtensions.defaultModelGroup(ERXExtensions.java:148)
 ... skipped 5 stack elements
  at com.webobjects.foundation._NSDelegate._perform(_NSDelegate.java:223)
  at com.webobjects.foundation._NSDelegate.perform(_NSDelegate.java:155)
  at com.webobjects.eoaccess.EOModelGroup.defaultGroup(EOModelGroup.java:328)
  at er.extensions.migration.ERXMigrator.migrateToLatest(ERXMigrator.java:169)
  at 
er.extensions.appserver.ERXApplication.finishInitialization(ERXApplication.java:1300)
  ... skipped 13 stack elements
Mar 24 12:54:47 TesteModelos[52428] WARN  NSLog  - A fatal exception occurred: 
com.webobjects.eoaccess.EORelationship cannot be cast to 
com.webobjects.eoaccess._EOExpressionArray
[2014-3-24 12:54:47 BRT]  java.lang.ClassCastException: 
com.webobjects.eoaccess.EORelationship cannot be cast to 
com.webobjects.eoaccess._EOExpressionArray
at 
com.webobjects.eoaccess.EOAttribute._normalizeDefinitionPath(EOAttribute.java:2935)
at 
com.webobjects.eoaccess.EOAttribute._normalizeDefinitionPath(EOAttribute.java:2967)
at 
com.webobjects.eoaccess.EOAttribute._setDefinitionWithoutFlushingCaches(EOAttribute.java:2772)
at 
com.webobjects.eoaccess.EOAttribute.awakeWithPropertyList(EOAttribute.java:1217)
at com.webobjects.eoaccess.EOEntity.attributes(EOEntity.java:830)
at 
er.extensions.eof.ERXModelGroup.modifyModelsFromProperties(ERXModelGroup.java:1146)
at 
er.extensions.eof.ERXModelGroup.loadModelsFromLoadedBundles(ERXModelGroup.java:258)
at er.extensions.ERXExtensions.defaultModelGroup(ERXExtensions.java:148)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.webobjects.foundation.NSSelector

Re: Session-ID randomness

2014-03-24 Thread Chuck Hill
Ramsey, that is evil.  I like that in man!

On 2014-03-24, 11:28 AM, "Ramsey Gurley" wrote:

I’m not aware of any weakness. The method that generates the id is in 
WOUniqueIDGenerator.longUniqueID(long) method.

If there is an issue, you could pretty easily fix it in your session 
constructor:

public MySession() {
super(myRandomUUIDGenerator());
}

Then again, if you know it is happening, you could have some fun with it.

Create a session with the ID they submit. Then they always succeed! You could 
drop ERXModernizr on them and see a) if javascript is enabled, and if so b) 
what their potential client side capabilities/vulnerabilities are. If 
javascript is disabled, that limits the amount of fun you can have with them, 
but other things will still work. For instance, you could initiate a gzip bomb 
that will fill their disk with zeros until they run out of disk space.

Use your imagination :D


On Mar 24, 2014, at 3:08 AM, Markus Stoll, junidas GmbH 
mailto:markus.st...@junidas.de>> wrote:

Hi,
for quite some time someone is fireing on one of my customers WebObjects 
applications,
that very much looks like a bot net.
The firing occurs always on the same instance and the same WO action for each 
request, its
trying another session id. So this looks like someone is doing a brute force
attack to guess a valid session id.
So I am wondering: is there a known weakness in the randomness of generated 
session ids,
that is making this (guessing a valid session id) possible at all?
Regards, Markus
PS: the attacker is using this user agent: 
"Mozilla/5.0+(compatible;+AhrefsBot/5.0;++http://ahrefs.com/robot/)“
they are obviously not respecting the robots.txt and the observed behaviour 
does not match
the expected behaviour for a crawler/bot
___
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:
https://lists.apple.com/mailman/options/webobjects-dev/rgurley%40smarthealth.com
This email sent to rgur...@smarthealth.com


___
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:
https://lists.apple.com/mailman/options/webobjects-dev/chill%40global-village.net

This email sent to ch...@global-village.net
 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: Session-ID randomness

2014-03-24 Thread Chuck Hill
Hi Markus,

I think the session ID is pretty strong so any attack will require a random 
session ID.  I’d rate the chances of success as low.  To be extra sure, capture 
the originating IP, user agent, etc from the request that starts a session.  If 
those ever change, kill the session as a preventative measure.

And as someone else suggested, you can use Apache to block this IP or user 
agent from getting near your app.


Chuck


On 2014-03-24, 3:08 AM, "Markus Stoll, junidas GmbH" wrote:

Hi,

for quite some time someone is fireing on one of my customers WebObjects 
applications,
that very much looks like a bot net.

The firing occurs always on the same instance and the same WO action for each 
request, its
trying another session id. So this looks like someone is doing a brute force
attack to guess a valid session id.

So I am wondering: is there a known weakness in the randomness of generated 
session ids,
that is making this (guessing a valid session id) possible at all?

Regards, Markus

PS: the attacker is using this user agent: 
"Mozilla/5.0+(compatible;+AhrefsBot/5.0;++http://ahrefs.com/robot/)“
they are obviously not respecting the robots.txt and the observed behaviour 
does not match
the expected behaviour for a crawler/bot


 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: Error after adding entity and relationship to model

2014-03-24 Thread Chuck Hill
>From the stack trace, it looks like you modelled this as a flattened 
>relationship and did it wrong.  Can you post the plist section for this?


Chuck


On 2014-03-24, 9:03 AM, "Ângelo Andrade Cirino" wrote:

Hi,

After simply adding a new entity and a relationship to an existing entity I get 
the following error:


Mar 24 12:54:47 TesteModelos[52428] INFO  
er.extensions.appserver.ERXApplication  - Wonder version: 6.1.2-SNAPSHOT

Mar 24 12:54:47 TesteModelos[52428] INFO  
er.extensions.appserver.ERXApplication  - Welcome to TesteModelos !

Mar 24 12:54:47 TesteModelos[52428] WARN  er.extensions.eof.ERXModelGroup  - 
Clearing previous class descriptions

Mar 24 12:54:47 TesteModelos[52428] DEBUG NSLog  - Using JDBCPlugIn 
'com.webobjects.jdbcadaptor.JDBCPlugIn' for JDBCAdaptor@218940734

Mar 24 12:54:47 TesteModelos[52428] DEBUG NSLog  - Using JDBCPlugIn 
'MySQLPlugIn' for JDBCAdaptor@1450090084

Mar 24 12:54:47 TesteModelos[52428] ERROR 
er.extensions.appserver.ERXApplication  - TesteModelos failed to start.

ClassCastException: com.webobjects.eoaccess.EORelationship cannot be cast to 
com.webobjects.eoaccess._EOExpressionArray

  at 
com.webobjects.eoaccess.EOAttribute._normalizeDefinitionPath(EOAttribute.java:2935)

  at 
com.webobjects.eoaccess.EOAttribute._normalizeDefinitionPath(EOAttribute.java:2967)

  at 
com.webobjects.eoaccess.EOAttribute._setDefinitionWithoutFlushingCaches(EOAttribute.java:2772)

  at 
com.webobjects.eoaccess.EOAttribute.awakeWithPropertyList(EOAttribute.java:1217)

  at com.webobjects.eoaccess.EOEntity.attributes(EOEntity.java:830)

  at 
er.extensions.eof.ERXModelGroup.modifyModelsFromProperties(ERXModelGroup.java:1146)

  at 
er.extensions.eof.ERXModelGroup.loadModelsFromLoadedBundles(ERXModelGroup.java:258)

  at er.extensions.ERXExtensions.defaultModelGroup(ERXExtensions.java:148)

 ... skipped 5 stack elements

  at com.webobjects.foundation._NSDelegate._perform(_NSDelegate.java:223)

  at com.webobjects.foundation._NSDelegate.perform(_NSDelegate.java:155)

  at com.webobjects.eoaccess.EOModelGroup.defaultGroup(EOModelGroup.java:328)

  at er.extensions.migration.ERXMigrator.migrateToLatest(ERXMigrator.java:169)

  at 
er.extensions.appserver.ERXApplication.finishInitialization(ERXApplication.java:1300)

  ... skipped 13 stack elements

Mar 24 12:54:47 TesteModelos[52428] WARN  NSLog  - A fatal exception occurred: 
com.webobjects.eoaccess.EORelationship cannot be cast to 
com.webobjects.eoaccess._EOExpressionArray

[2014-3-24 12:54:47 BRT]  java.lang.ClassCastException: 
com.webobjects.eoaccess.EORelationship cannot be cast to 
com.webobjects.eoaccess._EOExpressionArray

at 
com.webobjects.eoaccess.EOAttribute._normalizeDefinitionPath(EOAttribute.java:2935)

at 
com.webobjects.eoaccess.EOAttribute._normalizeDefinitionPath(EOAttribute.java:2967)

at 
com.webobjects.eoaccess.EOAttribute._setDefinitionWithoutFlushingCaches(EOAttribute.java:2772)

at 
com.webobjects.eoaccess.EOAttribute.awakeWithPropertyList(EOAttribute.java:1217)

at com.webobjects.eoaccess.EOEntity.attributes(EOEntity.java:830)

at 
er.extensions.eof.ERXModelGroup.modifyModelsFromProperties(ERXModelGroup.java:1146)

at 
er.extensions.eof.ERXModelGroup.loadModelsFromLoadedBundles(ERXModelGroup.java:258)

at er.extensions.ERXExtensions.defaultModelGroup(ERXExtensions.java:148)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:597)

at com.webobjects.foundation.NSSelector._safeInvokeMethod(NSSelector.java:122)

at com.webobjects.foundation._NSDelegate._perform(_NSDelegate.java:223)

at com.webobjects.foundation._NSDelegate.perform(_NSDelegate.java:155)

at com.webobjects.eoaccess.EOModelGroup.defaultGroup(EOModelGroup.java:328)

at er.extensions.migration.ERXMigrator.migrateToLatest(ERXMigrator.java:169)

at 
er.extensions.appserver.ERXApplication.finishInitialization(ERXApplication.java:1300)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:597)

at com.webobjects.foundation.NSSelector._safeInvokeMethod(NSSelector.java:122)

at 
com.webobjects.foundation.NSNotificationCenter$_Entry.invokeMethod(NSNotificationCenter.java:588)

at 
com.webobjects.foundation.NSNotificationCenter.postNotification(NSNotificationCenter.java:532)

at 
com.webobjects.foundation.NSNotificationCenter.postNotification(NSNotificationCenter.java:546)

at com.webobjects.appserver.WOApplication.run(WOApplication.java:1229)

at er.extensions.appserver.ERXApplication.run(ERXApplication.java:1417)

at com.webobjects.appserver.WOApplication.main(WOApplication.java:548)

at er.

Re: Wrong object

2014-03-22 Thread Chuck Hill
IIRC that was added to catch the case where a to-many was being iterated and 
got updated on the server.

Chuck


On 2014-03-22, 1:12 PM, "Timothy Worman" wrote:

Hi Jeff:

Just stepping through the code ERXWORepetition, this warning is fired in 
invokeAction. It looks like a check is happening to make sure that objects are 
still in the expected position in the repetition. Is an action being fired that 
could be removing items from the repetition list or changing the order, or…..?

Tim

On Mar 21, 2014, at 10:57 PM, Jeffrey Schmitz 
mailto:j...@netbrackets.com>> wrote:

Am seeing some of these warnings and wondering what they might indicate...
Mar 21 20:19:12 netBrackets[2002] WARN  
er.extensions.components._private.ERXWORepetition  - Wrong object: 243620065 vs 
34923469 (array = (, 
, , , 
, , , 
, , , 
, , , 
, , , 
, , , 
))
Mar 21 20:27:48 netBrackets[2002] WARN  
er.extensions.components._private.ERXWORepetition  - Wrong object: 569528470 vs 
417462206 (array = (, 
, , , 
, , , 
, , ))
Mar 21 20:27:48 netBrackets[2002] WARN  
er.extensions.components._private.ERXWORepetition  - Wrong object: 569528470 vs 
415571783 (array = (, 
, , , 
, , , 
, , ))
Mar 21 20:27:51 netBrackets[2002] WARN  
er.extensions.components._private.ERXWORepetition  - Wrong object: 569528470 vs 
694846676 (array = (, 
, , , 
, , , 
, , ))
Mar 21 20:27:53 netBrackets[2002] WARN  
er.extensions.components._private.ERXWORepetition  - Wrong object: 569528470 vs 
87
___
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:
https://lists.apple.com/mailman/options/webobjects-dev/lists%40thetimmy.com
This email sent to li...@thetimmy.com


___
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:
https://lists.apple.com/mailman/options/webobjects-dev/chill%40global-village.net

This email sent to ch...@global-village.net
 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: Notification or handler after an EO got snapshot update

2014-03-21 Thread Chuck Hill
turnIntoFault is the only method that I can think of that might work.

Chuck

On 2014-03-21, 6:18 AM, "Samuel Pelletier" wrote:

Hi,

I have a class where I added an ivar to keep a cache of some values extracted 
from toMany relationships. I want to clear this cache if the toMany is updated 
from another editingContext but I do not find a proper way to catch this event.

For simple attributes, creating a "public void_setAtributeName(ValueClass 
value)" method works but this is not called for toMany relationships. The 
EOEnterpriseObject method "void updateFromSnapshot(NSDictionary 
snapshot)" has a promising name but is not called.

Is there a way to trap this event, either with a notification or a method 
overrides? Something like "didUpdateFromSnapshot" would be wonderful.

Samuel


___
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:
https://lists.apple.com/mailman/options/webobjects-dev/chill%40global-village.net

This email sent to ch...@global-village.net
 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: Application not start in womonitor

2014-03-21 Thread Chuck Hill
Hi Oscar,

It looks like the app is waiting for some TCP connections.  The second one 
below is what is preventing your app from starting.  Something to do with 
ERChangeNotifications.

Chuck


On 2014-03-21, 6:33 AM, "Oscar González" wrote:

Hi Chuck,
This is what sudo jstack shows.

Attaching to process ID 1542, please wait...
Debugger attached successfully.
Server compiler detected.
JVM version is 24.51-b03
Deadlock Detection:

No deadlocks found.

Thread 1609: (state = IN_NATIVE)
 - java.net.PlainSocketImpl.socketConnect(java.net.InetAddress, int, int) 
@bci=0 (Interpreted frame)
 - java.net.AbstractPlainSocketImpl.doConnect(java.net.InetAddress, int, int) 
@bci=64, line=339 (Interpreted frame)
 - java.net.AbstractPlainSocketImpl.connectToAddress(java.net.InetAddress, int, 
int) @bci=23, line=200 (Interpreted frame)
 - java.net.AbstractPlainSocketImpl.connect(java.net.SocketAddress, int) 
@bci=78, line=182 (Interpreted frame)
 - java.net.SocksSocketImpl.connect(java.net.SocketAddress, int) @bci=378, 
line=392 (Interpreted frame)
 - java.net.Socket.connect(java.net.SocketAddress, int) @bci=179, line=579 
(Interpreted frame)
 - java.net.Socket.connect(java.net.SocketAddress) @bci=3, line=528 
(Interpreted frame)
 - java.net.Socket.(java.net.SocketAddress, java.net.SocketAddress, 
boolean) @bci=86, line=425 (Interpreted frame)
 - java.net.Socket.(java.lang.String, int) @bci=34, line=208 (Interpreted 
frame)
 - 
sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(java.lang.String, 
int) @bci=6, line=40 (Interpreted frame)
 - 
sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(java.lang.String, 
int) @bci=65, line=147 (Interpreted frame)
 - sun.rmi.transport.tcp.TCPEndpoint.newSocket() @bci=62, line=613 (Interpreted 
frame)
 - sun.rmi.transport.tcp.TCPChannel.createConnection() @bci=22, line=216 
(Interpreted frame)
 - sun.rmi.transport.tcp.TCPChannel.newConnection() @bci=101, line=202 
(Interpreted frame)
 - sun.rmi.server.UnicastRef.newCall(java.rmi.server.RemoteObject, 
java.rmi.server.Operation[], int, long) @bci=18, line=341 (Interpreted frame)
 - sun.rmi.transport.DGCImpl_Stub.dirty(java.rmi.server.ObjID[], long, 
java.rmi.dgc.Lease) @bci=12 (Interpreted frame)
 - sun.rmi.transport.DGCClient$EndpointEntry.makeDirtyCall(java.util.Set, long) 
@bci=64, line=360 (Interpreted frame)
 - 
sun.rmi.transport.DGCClient$EndpointEntry.access$1600(sun.rmi.transport.DGCClient$EndpointEntry,
 java.util.Set, long) @bci=3, line=171 (Interpreted frame)
 - sun.rmi.transport.DGCClient$EndpointEntry$RenewCleanThread.run() @bci=233, 
line=574 (Interpreted frame)
 - java.lang.Thread.run() @bci=11, line=744 (Interpreted frame)


Thread 1578: (state = IN_NATIVE)
 - java.net.PlainSocketImpl.socketConnect(java.net.InetAddress, int, int) 
@bci=0 (Interpreted frame)
 - java.net.AbstractPlainSocketImpl.doConnect(java.net.InetAddress, int, int) 
@bci=64, line=339 (Interpreted frame)
 - java.net.AbstractPlainSocketImpl.connectToAddress(java.net.InetAddress, int, 
int) @bci=23, line=200 (Interpreted frame)
 - java.net.AbstractPlainSocketImpl.connect(java.net.SocketAddress, int) 
@bci=78, line=182 (Interpreted frame)
 - java.net.SocksSocketImpl.connect(java.net.SocketAddress, int) @bci=378, 
line=392 (Interpreted frame)
 - java.net.Socket.connect(java.net.SocketAddress, int) @bci=179, line=579 
(Interpreted frame)
 - java.net.Socket.connect(java.net.SocketAddress) @bci=3, line=528 
(Interpreted frame)
 - java.net.Socket.(java.net.SocketAddress, java.net.SocketAddress, 
boolean) @bci=86, line=425 (Interpreted frame)
 - java.net.Socket.(java.lang.String, int) @bci=34, line=208 (Interpreted 
frame)
 - 
sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(java.lang.String, 
int) @bci=6, line=40 (Interpreted frame)
 - 
sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(java.lang.String, 
int) @bci=65, line=147 (Interpreted frame)
 - sun.rmi.transport.tcp.TCPEndpoint.newSocket() @bci=62, line=613 (Interpreted 
frame)
 - sun.rmi.transport.tcp.TCPChannel.createConnection() @bci=22, line=216 
(Interpreted frame)
 - sun.rmi.transport.tcp.TCPChannel.newConnection() @bci=101, line=202 
(Interpreted frame)
 - sun.rmi.server.UnicastRef.invoke(java.rmi.Remote, java.lang.reflect.Method, 
java.lang.Object[], long) @bci=65, line=129 (Interpreted frame)
 - 
org.exolab.jms.net.rmi.RMIInvokerFactoryImpl_Stub.createInvoker(java.security.Principal,
 org.exolab.jms.net.rmi.RMIInvoker, java.lang.String) @bci=27 (Interpreted 
frame)
 - org.exolab.jms.net.rmi.RMIManagedConnection.(java.security.Principal, 
org.exolab.jms.net.rmi.RMIRequestInfo) @bci=275, line=180 (Interpreted frame)
 - 
org.exolab.jms.net.rmi.RMIManagedConnectionFactory.createManagedConnection(java.security.Principal,
 org.exolab.jms.net.connector.ConnectionRequestInfo) @bci=66, line=99 
(Interpreted frame)
 - 
org.exolab.jms.net.connector.DefaultConnectionPool.createManagedConnection(java.security.Principal,
 org.exolab.jms.net.connector.ConnectionRequestInfo) 

Re: Application not start in womonitor

2014-03-20 Thread Chuck Hill
Hi Oscar,

It sounds like your app is deadlocking hanging waiting for a timeout.  This can 
make wotaskd think that it is dead.  When this happens, try doing this

sudo jstack –F 

And post the results to the list.


Chuck


On 2014-03-20, 4:58 PM, "Oscar González" wrote:

Hi list,
I have a problem staring my application from monitor it appear dead.
The process is alive in the system I have to kill it to be able try again.
I don't know what is this issue.

webobjects 5.3.3
ubuntu linux 12.04
apache 2.2
java version "1.7.0_51"
Java(TM) SE Runtime Environment (build 1.7.0_51-b13)
Java HotSpot(TM) 64-Bit Server VM (build 24.51-b03, mixed mode)

sudo lsof -P -i tcp:1085
COMMAND  PID  USER   FD   TYPE DEVICE SIZE/OFF NODE NAME
java1720 appserver  116u  IPv4  42087  0t0  TCP *:1085 (LISTEN)


The wotaskd log throw this.
2014-03-20 17:47:03,154 WARN  79.76 MB/72.24 MB [main] 
logging.ERXNSLogLog4jBridge (ERXNSLogLog4jBridge.java:44) - Application 
'logistica-1' on localhost:2002 stopped running at 2014-03-20 23:47:03 Etc/GMT.
The app's current state was: STARTING.
The app did not respond for 63521279103seconds which is greater than the 
allowed threshold of 12 seconds (Lifebeat Interval * 
WOAssumeApplicationIsDeadMultiplier) so it is assumed to be dead.
The last successful communication occurred at: 1-04-25 00:00:00 Etc/GMT. This 
may be the result of a crash or an intentional shutdown from outside of wotaskd

Thanks in advance.

Oscar Gonzalez Perez
TECH in AGRO S.A
 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: D2WKeys link in JavaDoc is missing

2014-03-19 Thread Chuck Hill
Do dockets still work with modern Java?  I thought there was some push to 
modernize the API that left them broken and then abandoned.


On 2014-03-19, 1:30 PM, "David Holt" wrote:

Hi All,

>From Ray Kiddy Oct 2013:

See http://jenkins.wocommunity.org/job/Wonder/lastSuccessfulBuild/javadoc/?

"There is a custom doclet that we use that produces some extra pages on that. 
For example, you can go to the "D2WKeys" link at the top of the page and see a 
humongous list of D2W components and there is, for many of them, structured doc 
on their keys."

Did someone remove this link from the JavaDoc? If so was it deliberately or a 
mistake?

Thanks,
David
 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: WebObjects development

2014-03-07 Thread Chuck Hill
Unlike iOS and OS X, Apple does not own the server platform.  Communication is 
via standard protocols.  And Apple is no longer in the server market.  Bringing 
back WO as a product is NOT going to sell more iPhones.  It is NOT going to 
make more money for Apple.   Making a really good SDK and development tool for 
iOS IS going to sell more iPhones.  Apple may not do what you want, but they 
are smart!  They know a winning business model when they see one.  
Unfortunately for those who appreciate it, WO just never had a winning business 
model.  Deal with it.

Chuck


On 2014-03-07, 6:30 PM, "Jonathan Miller" wrote:

It's all about iPhone and iPad sales and one of the things that makes Apple's 
devices the best is the quantity and quality of the applications in the 
platform.  And the application server is an essential component to many iOS and 
Mac applications with the prime example being iTunes.


On Fri, Mar 7, 2014 at 4:22 PM, Pascal Robert 
mailto:prob...@macti.ca>> wrote:


Envoyé de mon iPhone

Le 2014-03-07 à 21:05, Jonathan Miller 
mailto:jlmil...@kahalawai.com>> a écrit :

I know you guys are right and I loathe to involve myself in this discussion but 
here goes nothing...

Does Apple make a lot of money selling XCode?

They make money by selling laptops to developers and by taking 30% of revenues 
in the app stores.

 It seems to me that WO is another tool that Apple could support that enables 
developers to make great applications for their platform.  After all, the 
application server is an important component to many if not most iOS apps.

my 2 cents...


On Fri, Mar 7, 2014 at 3:36 PM, Nilton Lessa 
mailto:nle...@molequedeideias.net>> wrote:
>
> Em 07/03/2014, às 21:46, Pascal Robert 
> mailto:prob...@macti.ca>> escreveu:
>
>
>> Le 2014-03-07 à 19:21, Aaron Rosenzweig 
>> mailto:aa...@chatnbike.com>> a écrit :
>>
>> Am I right or what? WO is an elite “gentleman’s club” There are those “in 
>> the circle” and those outside.
>
> For the record, I’m not the one who contacted a senior VP.
>
>> If Mark wants to send a note of praise to someone, why not? Even if it is 
>> Tim Cook. Will anything bad come of that? It may fall on deaf ears but 
>> that’s ok.
>
> It’s just that every year, in the answers in the surveys, I still people 
> asking for something from Apple. Even if we said many times that Apple 
> management don’t give a damn.

>
>> Mark, I’m glad you love WO.
>>
>> For those who may wonder, I’ll summarize what I believe Pascal is alluding 
>> to:
>>
>> Even if WO sold very well, “well” would be a relative term. Compared to 
>> their other product lines, a good line of sales related to WO would mean 
>> nothing compared to Apple’s other product lines. How many developers are 
>> there in the world? Compare that to consumers.
>>
>> Apple does not need to make other programmer’s lives easier on the server. 
>> It would be nice but there is no need (for Apple).
>>
>> If Apple were to open source WO, it may mean they have less of an ace up 
>> their sleeve in negotiations with other companies when legal issues crop up. 
>> “You want to sue me for this? then I’ll sue you for your use of 
>> Key-Value-Coding so why don’t we just not sue each other ok?” Open sourcing 
>> WO could weaken Apple’s stance in legal battles for no monetary gain.
>>
>> The ONLY way to open source WO would be to buy it from Apple… but even then… 
>> it would have to be a lot of money to make it worth the legal trouble of 
>> figuring out if that is a good financial deal for Apple.
>
> And since a major group (iTunes) use it, not going to happen. But we could 
> open source it, by rewriting it and by replacing some stuff by alternatives.
Yes, I strongly agree with Pascal, it's the only(and good) option for future.
>
>> I can think of a few cases where Apple technology was freed up to the world 
>> but in both of those cases they had strong supporters on the inside to make 
>> it happen:
>>
>> 1. Apple released it’s Smalltalk and core team to Walt Disney and Disney let 
>> it be open source:
>> http://ftp.squeak.org/docs/OOPSLA.Squeak.html
>>
>> 2. Apple Newton’s “Dylan” language was released and became a commercial 
>> product for a while:
>> http://en.wikipedia.org/wiki/History_of_the_Dylan_programming_language
>
> Both happened in the 90s.
>
>> AARON ROSENZWEIG / Chat 'n Bike
>> e:  aa...@chatnbike.com  t:  (301) 
>> 956-2319
>>
>>
>>> On Mar 7, 2014, at 6:04 PM, Pascal Robert 
>>> mailto:prob...@macti.ca>> wrote:
>>>
>>> Please please please... Someone went as far as asking for support by 
>>> talking to an Apple Senior VP, and the answer was: NO! Stop thinking that 
>>> Apple will help us after 5 years without any help from Apple. They even 
>>> stopped contributing to Wonder 3 years ago.
>>>
>>> Envoyé de mon iPhone
>>>
 Le 2014-03-07 à 17:59, Mark Wardle 
 mailto:m...@wardle.org>> a écrit :

 Hi all.

 It is sad to hear the despondency permeating through the em

Re: WebObjects-Projects?

2014-03-07 Thread Chuck Hill


On 2014-03-07, 4:51 PM, "Ray Kiddy" wrote:

On Fri, 07 Mar 2014 09:50:01 -0600
James Cicenia mailto:ja...@jimijon.com>> wrote:

Yep. WO is dead.
I was thinking of starting learning Ruby. I love Objective-C and
iPhone development. And now was thinking about Node or Ruby for the
back end. Thoughts?



"WebObjects" as a brand has been DOA for a while.

Ray Kiddy, Master of Understatement

:-)

If your business is selling WO as a technology, just give up and go home.  The 
winning strategy, as many have pointed out in the past and continue to 
successfully implement, is to sell solving business problems in a cost 
effective way.  Keep the word “WebObjects” to yourself.


Chuck


The technology still
works. Even with much to lament about WOLips, it works. I am using it
on Ubuntu and there is a surprising lack of suckage in the tools.
Although it is also true that I may finally be developing more of a
tolerance for suckage in general.

I am learning Clojure and I have a suspicion that functional
programming is going to (once I grok what I am looking at) be an easier
way to do things like REST apps. Also, is there a rule-system based
technology in WO that people keep using? Yeah, ya betcha. And if a rule
engine does not end up being easier to manage in a functional language,
then I must be missing something.

One last point. I still end up referring to my copies of, for instance,
the EOF Developer's Guide, written for OpenStep. So, if something
has died, why are these concepts still useful?

- ray
___
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:
https://lists.apple.com/mailman/options/webobjects-dev/chill%40global-village.net

This email sent to ch...@global-village.net
 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

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