Hi all,
I'm probably not remembering my WO request/response loop correctly.
When a WO Session is created I'd like to find out the host name of the
request so I tried to log that info in the Session's constructor (see code
snippet below). Unfortunately, the context() is null at t
Can anyone recommend a simple CSV file reader for WO?
It needs to be smart enough to escape commas inside quotes, i.e.:
Name, Location
John Smith, "Cupertino, CA"
I'm sure that this wouldn't be hard to write, but code I don't have to
write is code that I don't have to debug. :^D
Many thanks,
, at 9:07 PM, Chuck Hill
wrote:
I think that should be fine. You might want to plan out how you
are going to qualify this for fetches.
On Jul 10, 2010, at 2:25 PM, Joe Moreno wrote:
Is it possible for EOF to support a reflexive relationship back to
the same Entity with the same rel
Is it possible for EOF to support a reflexive relationship back to the
same Entity with the same relationship property name through a
flattened many-to-many?
Think of a User entity in the case of LinkedIn where users are
"linked" to other users:
User <>>Connection<<>User
Connectio
r heavy lifting.
exiftool should do what you want too.
Cheers,
Matt
On 6 Jul 2010 19:50, "Joe Moreno" wrote:
*S**ummary*
Can anyone recommend either a Java library or command line app that
can
look
into a JPEG's EXIF data in order to determine its orientation (i.e.
which
ing on Mac OS X Server 10.4.11,
which doesn't have the exiftool command, but we can fix that.
Many thanks,
Joe
On Jul 6, 2010, at 15:54:04, Matthew Ness wrote:
We use MediaRich to do most of our heavy lifting.
exiftool should do what you want too.
Cheers,
Matt
On 6 Jul 2010 19:
The framework has to be installed on the dev machine in order for the
MacOS[Server]ClassPath.txt files pick up the correct class paths for
the dist woa.
On Jun 19, 2010, at 12:41:27, Joe Moreno wrote:
Hi,
I haven't upgraded my version of Eclipse and WOLips for a couple
years. I fi
It looks like this was an Eclipse bug. Under preferences, you'll need
to check the box to use the classic updater.
On Jun 19, 2010, at 12:41:27, Joe Moreno wrote:
Hi,
I haven't upgraded my version of Eclipse and WOLips for a couple
years. I finally decided to give it a try wi
Also, just to be clear, the class path files I'm looking to configure
are placed here when building the dist with ant:
MyWOProject.woa/Contents/MacOS/
On Jun 20, 2010, at 10:42:17, Joe Moreno wrote:
Hi Chuck,
Thanks for your response.
I probably should have mentioned that t
On the dev machine I do not find:
~/Library/Application Support/WOLips/wolips.properties
/Library/Application Support/WOLips/wolips.properties
Thanks,
Joe
On Jun 19, 2010, at 21:41:05, Chuck Hill wrote:
On Jun 19, 2010, at 3:18 PM, Joe Moreno wrote:
Where are the configuration setting
Where are the configuration setting in Eclipse that determine the
MacOS[Server]ClassPath.txt settings during an ant build?
When deployed on OS X Server, my MacOS[Server]ClassPath.txt settings
are not complete and the WOA app throws a
java.lang.NoClassDefFoundError.
But, if I manually edit
Chuck,
Thanks for the quick reply. What you're saying makes sense - so I'll
try removing the jar from /Library/Java/Extensions and add it to each
project.
Many thanks,
Joe
On Jan 24, 2010, at 20:15:50, Chuck Hill wrote:
On Jan 24, 2010, at 6:29 PM, Joe Moreno wrote:
Ecl
Eclipse 3.3.2
WOLips 3.3.5047
WO 5.3
Deployed on OS X Server 10.4.11
How can I get a WO app to use the jar that's inside the WOA (app.woa/
Contents/Resources/Java) instead of the jar under /Library/Java/
Extensions?
The build.xml seems to be configured correctly:
anks,
Joe
On Jan 14, 2010, at 21:47:45, Chuck Hill wrote:
It has been a while since I implemented this. I think the
"streamToFilePath" binding is what you need to use. What bindings
are you using?
Chuck
On Jan 14, 2010, at 8:44 PM, Joe Moreno wrote:
Chuck,
I hadn't
uploads of
large files over slow connections to GVC.SiteMaker go on for a very,
very long time with no timeout.
Chuck
On Jan 14, 2010, at 8:27 PM, Joe Moreno wrote:
Thanks for the reply.
I wouldn't up the time on the adaptor because other clients who
are using that instance will get
Thanks for the reply.
I wouldn't up the time on the adaptor because other clients who are
using that instance will get blocked and may reach their timeouts.
In my case, I don't think upping the adaptor timeout will block since
WOAllowsConcurrentRequestHandling is set to true. Does that soun
Does anyone have a recommendation on how to manage a file upload from
say, an iPhone, to a WO app (direct action) that takes longer than the
WO adaptor time out? Or, should I just set the WO adaptor timeout to
something like five or ten minutes to handle slow/flaky EDGE
connections?
Th
Jeremy,
You could try my "solution" - I see the exception in the logs and,
realizing it's just a call for the favicon.ico, just ignore it. Pretty
lazy, eh?
I've been toying with the idea of creating a direct action with this
name to return something.
- Joe
On May 11, 2009, at 13:25:51,
.. saves LOTS
of headaches!
On Apr 9, 2009, at 5:18 PM, Guido Neitzer wrote:
On 9. Apr. 2009, at 12:29 , Joe Moreno wrote:
Hi All,
I'm not familiar with the details of ERXEC and I was wondering,
when using it, if I should ever see the following exception?
(Perhaps I have a buggy v
Hi All,
I'm not familiar with the details of ERXEC and I was wondering, when
using it, if I should ever see the following exception? (Perhaps I
have a buggy version - 5.0.0.8093?)
Thanks,
Joe
[2009-04-09 12:24:57 PDT] Unable to release locks held by
a deallocated EOEditingContext.
[20
Hi all,
I'm just checking in to see what experiences anyone this list has had
with EOF and Amazon's SimpleDB. I'd be happy to share the results of
my experiments.
Thanks,
Joe
___
Do not post admin requests to the list. They will be ignored.
Webob
Rukmal,
Have you tried this?
http://developer.apple.com/documentation/InternetWeb/Reference/WO542Reference/com/webobjects/directtoweb/Assignment.html#keyPath()
- Joe
On Mar 12, 2009, at 01:00:14, Rukmal Dias wrote:
hi, how to get a keyPath of wo object ?
Thx
__
Hi all,
I have set my database Scale on all floats to 7. Sometimes, due to
match or rounding, the scale goes beyond that and I get the following
exception:
[2009-03-01 13:26:28 PST] :
Exception in performActionNamed() on the action "testIt" with the
message
: com.webobjects.eoaccess.EOG
Hi all,
It seems my graphical fetch spec is looking different when turned
into SQL.
I'm using the following graphical fetch spec:
(includeExcludeType = "0")
or
((includeExcludeType = "1" and ((not (excludeList like $lastName)) or
(not (excludeList like $firstName) or
((includeE
Andrew,
Another thing that's impressed me with OpenBase is the clustering
failover. I doubt many people have used this feature.
Any SQL written to any database in the cluster is automatically
propagated to other OpenBase databases in that cluster within five
seconds without any primary
it before the delete solved the problem is all
cases.
Cheers,
Joe
On Dec 31, 2008, at 17:33:12, Joe Moreno wrote:
Happy New Year!
I believe I've seen this issue before, but I don't recall what I'm
doing wrong...
I have an EO deleting itself from an editing context, but,
s
Happy New Year!
I believe I've seen this issue before, but I don't recall what I'm
doing wrong...
I have an EO deleting itself from an editing context, but, sometimes,
only the EO's foreign key is getting set to NULL, which has the same
effect of deleting the EO. Other times, the row in t
Hi Andrew,
I think I ran into the exact problem you mentioned about the deadlock
in OpenBase 10 using the default primary key generation.
Scott Keith advised me to compile the WO apps against the
OpenBasePKPlugin.framework which uses the OpenBaseJDBC.jar and, even
under heavy load, I've
Hi all,
Does anyone have any real world, recent, experience with OpenBase on a
large scale?
I've been using OpenBase for more than 10 years. During that time,
I've also used Oracle, Sybase, FrontBase, and MySQL, to name a few.
I've been extremely impressed with OpenBase's support of WebOb
What's a good way to handle a WO request, from a third party API call
(web service), that generates a long response?
For example, a web service call comes into a WO app whose response
takes 60 seconds (i.e. a large database fetch and data aggregation).
Normally, a WO long response page
Hi all,For anyone interested in experimenting with Amazon's SimpleDB and EOF...I've attached a very simple Java thread I've been using to copy EOs from RDBMS database tables into SimpleDB. Eventually, an ideal solution would be an EOF adaptor for SimpleDB. The attached code, which I manually edited
:14, Anjo Krank wrote:
Am 25.11.2008 um 23:37 schrieb Joe Moreno:
- ever used anything that is not a RDMS? Like SimpleDB or CouchDB?
One would think that the REST adaptor in Wonder might help here
I've been backing up some historical data that doesn't change to
SimpleDB. It doesn
Anjo,
- ever used anything that is not a RDMS? Like SimpleDB or CouchDB?
One would think that the REST adaptor in Wonder might help here
I've been backing up some historical data that doesn't change to
SimpleDB. It doesn't seem like the pricing is bad at all - I've put
more than a million r
Thanks, Chuck and cug. WOHost was the problem.
- Joe
On Nov 18, 2008, at 21:00:06, Chuck Hill wrote:
On Nov 18, 2008, at 8:27 PM, Joe Moreno wrote:
Hi All,
Is there a way for context().completeURLWithRequestHandlerKey() to
return 127.0.0.1?
I'm running WO 5.3.x in dev on 10.5.5
Hi All,
Is there a way for context().completeURLWithRequestHandlerKey() to
return 127.0.0.1?
I'm running WO 5.3.x in dev on 10.5.5 with Eclipse 3.3.2 & WOLips
3.3.5047.
I ran several OS X updates on the dev machine and now it seems that
context().completeURLWithRequestHandlerKey(), w
Q,
Thanks. That did the trick.
- Joe
On Oct 5, 2008, at 22:23:49, Q wrote:
If you want to supply a URL as a value like this you will need to
URL escape it in your javascript first and then decode it in your
code.
On 06/10/2008, at 3:08 PM, Joe Moreno <[EMAIL PROTECTED]>
ices.woa/wa/services?url=http://maps.google.com/maps?f=d&saddr=21412&daddr
=
bwi
&hl
=
en
&geocode
=
&mra
=
ls
&sll
=
39.162544
,-76.568527
&sspn
=
0.405151,0.459366
&ie=UTF8&ll=39.084238,-76.58844&spn=0.405602,0.459366&t=h&z=11
060794
, do I need both?
Thanks,
Joe
On Jul 29, 2008, at 05:09:58, Lachlan Deck wrote:
On 29/07/2008, at 4:35 PM, Joe Moreno wrote:
Hi,
Why does JavaWOExtensions have two red dots at 11 o'clock and 5
o'clock (see screenshot below)?
These are the hours of the day (5am to 11pm) which Mike
Mike & cug,
What are the gotchas when setting it to automatically lock &
unlock? Performance? It seems to be working like a charm.
I need to add this to the same Properties file ... Ditch all those
individual locking settings and just set:
er.extensions.ERXEC.safeLocking=true
Thanks for
Hi,
Why does JavaWOExtensions have two red dots at 11 o'clock and 5
o'clock (see screenshot below)?
Thanks,
Joe
<>
___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (Webobjects-dev@lists.apple.com
working like a charm.
Thanks,
Joe
## Specifies if new ECs should lock/unlock automatically. Use with
care...
# er.extensions.ERXEC.defaultAutomaticLockUnlock = true
On Jul 28, 2008, at 19:51:16, Guido Neitzer wrote:
On 28.07.2008, at 20:12, Joe Moreno wrote:
Thanks. I see the API references
t 11:48:36, Guido Neitzer wrote:
Is there no chance of using Wonder and the ERXEC autolocking? It
solves MANY problems and not only problems that are locking related.
cug
On 27.07.2008, at 12:11, Joe Moreno wrote:
Art,
I tracked down my editing context bug using the
LockErrorScreamerEdit
t are locking related.
cug
On 27.07.2008, at 12:11, Joe Moreno wrote:
Art,
I tracked down my editing context bug using the
LockErrorScreamerEditingContext (LESEC).
Every place I created an EOEdtingContext, in my app and the
supporting frameworks, I changed it to the LESEC which made it
well.
Thanks,
Joe
On Jul 26, 2008, at 10:50:50, Joe Moreno wrote:
Art,
Thanks for pointing me toward MultiECLockManager. I will take a
look at that.
I used the LockErrorScreamerEditingContext found here:
http://en.wikibooks.org/wiki/Programming:WebObjects/EOF/Using_EOF
n Jul 25, 2008, at 22:59:22, Art Isbell wrote:
On Jul 25, 2008, at 4:41 PM, Joe Moreno wrote:
I'm not quite sure what is causing these exceptions which I cannot
consistently reproduce.
[2008-07-22 14:47:10 PDT] Unable to release locks held
by a deallocated EOEditingContext.
[2008-07-2
WebObjects 5.3.3 on:
ProductName:Mac OS X Server
ProductVersion: 10.4.11
BuildVersion: 8S2169
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_13-
b05-241)
Java HotSpot(TM) Server VM (build 1.5.0_13-121, mixed mode)
In the WO app instance logs I'm getting seemingly random
Chuck,
When I start wondering if Safari is caching a page or if it's my own
bug I add something useless to the end of the URL (i.e. either server
side or client side via JavaScript). Usually, I'll just tag on a key/
value pair such as ?t=1212726377311 which is simply the time. To
Safari,
Hi all,
Does anyone have a generic workaround for WO 5.3.x to prevent
ampersands from getting escaped on R/R loop direct actionURLs?
I have a page which is sometimes returned as a session-less based
direct action and sometimes it's returned as a session based direct
action with a wosid
Chuck,
Thanks. It looks like it turned out to be my bug. I "crossed my
streams" (editing contexts).
- Joe
On Apr 15, 2008, at 14:03:30, Chuck Hill wrote:
On Apr 15, 2008, at 1:09 PM, Joe Moreno wrote:
Chuck,
Upon closer examination, I am seeing that if an EO field was nu
Does that make sense, or, am I'm overlooking a bug in my code?
Thanks,
Joe
On Apr 13, 2008, at 20:31:25, Joe Moreno wrote:
Chuck,
Yup, Sally is the new, unsaved, value. Somehow, I missed the fact
that localInstance only uses the snapshot values.
Thanks for pointing that out –
alInstance uses the last saved/
fetched values from the snapshot, NOT the values in the EO.
Chuck
On Apr 13, 2008, at 8:18 PM, Joe Moreno wrote:
Hi All,
Eclipse 3.3.2
WOLips 3.3.5047
Mac OS X 10.5.2
WO 5.3.3
Not using WOnder
In the process of moving an EO from one EC to another it seems to
g
Hi All,
Eclipse 3.3.2
WOLips 3.3.5047
Mac OS X 10.5.2
WO 5.3.3
Not using WOnder
In the process of moving an EO from one EC to another it seems to get
changed.
Am I overlooking something obvious, here?
The following code:
public void setPerson(Person newPerson)
{
NSLog.debug.appendln("1. Fi
WO 10.5.2, most recent Eclipse with stable WOLips. Running WO 5.3.3
I renamed a WO project in Eclipse in three steps:
1. File –> Rename
2. Changed the project name in build.xml
3. Changed the project name in build.properties
All seems well except w
On Feb 29, 2008, at 8:57 AM, Joe Moreno wrote:
Hi all,
Can someone recommend a light weight Java SMTP authentication
(password & SSL) package that works well with WO?
Thanks,
Joe
___
Do not post admin requests to the list. They will be ign
Hi all,
Can someone recommend a light weight Java SMTP authentication
(password & SSL) package that works well with WO?
Thanks,
Joe
___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (Webobjects-dev@l
I probably should have added that the WOHyperlink is wired up to a
WODisplayGroup's displayNextBatch & displayPreviousBatch.
- Joe
On Feb 24, 2008, at 14:55:10, Joe Moreno wrote:
Hi,
Has anyone seen a problem where, if you click too quickly (double
click) on a WO hyperlink i
Hi,
Has anyone seen a problem where, if you click too quickly (double
click) on a WO hyperlink it freezes the deployed WO instance?
I have a single 5.3.3 WO app deployed on Tiger Server under no load.
When I click quickly through many pages the app will just freeze, and,
repeated reques
Hi,
I had a problem deploying a WO app, built with ant. EOs, in another
framework, couldn't be found at runtime due to a NoClassDefFoundError.
But, all was well when running in Eclipse.
After digging around for a while I noticed that the a framework class
path was missing on in the WOA
Thanks, John, that's very much appreciated.
- Joe
On Jan 29, 2008, at 11:39:06, John Huss wrote:
There is now a velocity generator template reference page on the
wiki that shows all the bindings available for use in your velocity
templates. So if you've been wondering how to make better u
Hi All,
Before I roll my own, I thought I check to see if anyone knows of a
standalone WO framework that implements Amazon's Web Services?
Specifically, I'm looking for typica and JetS3t or something similar.
Many Thanks,
Joe ___
Do not po
Thanks, all. I upgraded to the latest WOLips build and, with some
helpful hints from cug (Guido Neitzer) I got it working.
- Joe
On Jan 27, 2008, at 07:54:18, Mike Schrag wrote:
I just tested this now with totally stock templates (I only use the
built-in ones) and it's working fine for me b
On 27.01.2008, at 00:22, Joe Moreno wrote:
I can't figure out where EOGenerator is picking up its template
files.
That is configured in the eogen file that is named like your model.
Oh, that helps! Thanks. I'm getting closer.
Interesting enough - I didn't have to do that
PROTECTED]
On Jan 26, 2008, at 21:05, Joe Moreno wrote:
Hi All,
I've followed the instructions here, but my generated files need
some clean up to compile:
http://wiki.objectstyle.org/confluence/display/WOL/Velocity+EOGenerator+(Veogen)
Specifically, my generated _EO files have
Hi All, I've followed the instructions here, but my generated files need some clean up to compile:http://wiki.objectstyle.org/confluence/display/WOL/Velocity+EOGenerator+(Veogen)Specifically, my generated _EO files have three errors that I can see:1.package ${entity.packageName};I'd like the entiti
Ken,
After you ran the script did you relaunch Eclipse?
- Joe
On Jan 17, 2008, at 18:53:09, Ken Anderson wrote:
Anyone have any comments or similar experiences?
Begin forwarded message:
From: Ken Anderson <[EMAIL PROTECTED]>
Date: January 17, 2008 1:37:22 PM EST
To: webobjects-dev
Hi all:
I've been having a problem with ant builds from the command line in
Eclipse 3.3.1.1 with WOLips 3.3.4574.
To isolate the problem, I created a Dummy project and when I run an
ant build from the command line and then launch the app I still get
the same error:
BUILD SUCCESSFUL
To
Are there any issues with simply coping WOOpenURL from Tiger into /
System/Library/WebObjects/Executables?
I'm thinking it was left out for a good reason - but I'm not sure why.
- Joe
On Dec 19, 2007, at 10:10:51, Guido Neitzer wrote:
On 19.12.2007, at 10:52, Ricardo Parada wrote:
[2007-12-
Now, I only need to use EOModeler 4.5.1 to view (read only) the
models graphically (in diagram mode)
... also coming ... (held up by a bug in the scalable graphics
context with bezier curves in SWT)
Fantastic.
and occasional data browsing.
... MMAAAYYBE coming ...lower priority.
Ok, no w
hings about subversion.
You are only one key stroke away from disaster.
Cheers
Pierre
--
Pierre Frisch
[EMAIL PROTECTED]
On Jan 13, 2008, at 19:45, Joe Moreno wrote:
Hi all:
I've used WO for 10 years and I was reluctant to give up Xcode,
EOModeler and WOBuilder. But, there's no
Hi all:
I've used WO for 10 years and I was reluctant to give up Xcode,
EOModeler and WOBuilder. But, there's no better Java IDE for WO than
Eclipse with WOLips and Entity Modeler. I should have switched over
earlier than I did.
Sometimes, though, I really miss the ctrl-drag between pri
e Frisch
[EMAIL PROTECTED]
On Jan 10, 2008, at 22:35, Joe Moreno wrote:
Hi All,
I just upgraded from Tiger client to Leopard and I've noticed two
issues.
First, the Eclipse Console correctly reports the time zone as PST,
but the actual time digits are GMT. Am I missing something? I
Hi All,
I just upgraded from Tiger client to Leopard and I've noticed two
issues.
First, the Eclipse Console correctly reports the time zone as PST,
but the actual time digits are GMT. Am I missing something? I'm
running Eclipse 3.3.1.1 and WOLips 3.3.4574.
Second, I keep getting An
For simple PDF creation in WO, I'm real cheap...
I create a TXT files, and make a couple calls to the command line:
ENSCRIPT to convert the TXT file to PS and then PS2PDF for the final
PDF which I end up queueing in the LPR queue to fax out. It works
surprisingly well for simple stuff.
-
This tricked me, I thought Apple had released Java 1.6.
Anyway, is there any good reason not to upgrade on either Tiger or
Leopard to the latest Java update?
Thanks,
Joe
___
Do not post admin requests to the list. They will be ignored.
We
I haven't upgraded to Leopard, yet, and I know all the WO tools have
been deprecated on Leopard.
But, does Xcode still have the EOModel plug in? I know Xcode's
rendering of EO Models wasn't that hot, but I just wanted to check.
On Dec 15, 2007, at 06:07:46, Tobias Crawley wrote:
read: http:
t Darwin)?
Ok, I'm back from fantasy land,
Joe Moreno
On Dec 14, 2007, at 09:15:03, Chuck Hill wrote:
I was going to reply to Joe with "Show it to Mike and bet him that
he can't do it in a weekend." :-P Looks like he does not even
need to do that.
Chuck
On Dec 14,
An EOF adaptor for Amazon's SimpleDB Web service seems like it could
be promising (limited, but promising):
http://www.amazon.com/gp/browse.html?node=342335011
Does anyone have any thoughts on this?
- Joe Moreno
___
Do not post admin requests t
My 2¢:
The following code snippet works for me in most cases, but, it
doesn't work if the app tries to access the to-many relationship
prior to saving the changes to the database. Such access would fire
the fault which would not contain the added object because it hadn't
been saved to th
steady:
http://www.google.com/trends?q=xcode
(Eclipse is too generic of a term to see its trends and WOLips
doesn't have enough volume.)
- Joe Moreno
___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing
Hi, I was just recently bitten by WOContext's directActionURLForActionNamed bug: The key/value pairs generated by this method are joined by & instead of just &. Obviously, that was a simple bug to work around (just replace & with & as Jeff Schmitz suggested).But, now for a tougher problem. I have
On Jun 25, 2007, at 12:00:19, Chuck Hill wrote:
On Jun 24, 2007, at 6:50 PM, Joe Moreno wrote:
Hi,
Summary
I changed the apache.conf WebObjectsAlias from /cgi-bin/
WebObjects to /WebObjects to shorten the URL but the images broke
when the app was deployed.
Details
I l
Hi,
Summary
I changed the apache.conf WebObjectsAlias from /cgi-bin/WebObjects
to /WebObjects to shorten the URL but the images broke when the app
was deployed.
Details
I looked through the WO archive to figure out how to remove cgi-bin
from the WO URL while keeping WebO
Hi,
Summary
I changed the apache.conf WebObjectsAlias from /cgi-bin/WebObjects
to /WebObjects to shorten the URL but the images broke when the app
was deployed.
Details
I looked through the WO archive to figure out how to remove cgi-bin
from the WO URL while keeping WebO
Is there a trick to adding two classes, with the same name but in
different packages, to a WebObjects Xcode project?
For example, what's the best way to add the following two classes
to a single Xcode project:
com.abc.Customer.java (in package com.abc)
com.xyz.Customer.j
Gino,Does anyone know if it is possible to host more than 1 domain under https for name based hosting?If you're asking if you can host multiple SSL sites on the same server (machine) with different domain names then the answer is Yes. But, you'll need a separate public IP address for each SSL host.
Miguel, What type of criteria are you trying to sort by? Here's a code snippet if you wanted to sort a relationship. In this example there's a relationship between Cafe <--->> Menu public NSArray orderedMenus() { EOSortOrdering sortOrdering = new EOSortOrdering("ordering", EOSortOrdering.Compare
86 matches
Mail list logo