Hi there,
If I have:
searchString = '*' + input + '*';
new EOKeyValueQualifier( anAttribute,
EOQualifier.QualifierOperatorCaseInsensitiveLike, searchString );
And someone puts in some strange characters (e.g., "find[me"), I get
the following exception.
java.lang.IllegalArgumentException:
On 02.04.2008, at 21:25, Eleni Manou wrote:
I am just copying some lines from my project in WO 5.3. There in
Session.java I define
public String userName;
and then in a component I set this variable using
((Session)session()).userName = .
This is not working in WOLips project, wher I g
wonder sources. Works great for Apache 2 and 2.2
On Tue, Apr 1, 2008 at 11:58 PM, Aleksey Novicov <[EMAIL PROTECTED]> wrote:
> Which source do you recommend using? The source that is distributed with
> Xcode and is in /Developer/Examples/WebObjects/Source/Adaptors? Or the
> source in Project Wonde
Please keep questions on the list.
On 2-Apr-08, at 11:19 PM, Eleni Manou wrote:
Hi David
I am just copying some lines from my project in WO 5.3. There in
Session.java I define
public String userName;
and then in a component I set this variable using
((Session)session()).userName = .
i've successfully implemented the SWFUpload with WO.
unfortunately i didn't know how to play nice with all the javascript
SWFUpload and WO stuff so i placed the PHP upload feature (which is
quite nice with smooth ajax interface) in an inline frame and send the
results to a DA for processing
They can't do WO sessions, almost all the great speakers of the
community are speaking at WOWODC :-)
WWDC sessions are out and there are no WO sessions!It is the
end! WebObjects is dead! Dead, dead I say!
http://developer.apple.com/wwdc/sessions/
Was I first this year? Was I? Someone
I can't wait for the annual noob fest where they all jump in with...
"I'm not gonna spend my time learning this if Apple is EOL'ing it".
I look forward to that *every* year :-)
Alan
On Apr 2, 2008, at 5:03 PM, David Holt wrote:
Darn, you beat me to it!
David
:-)
On 2-Apr-08, at 3:57 PM,
On 03/04/2008, at 10:03 AM, David Holt wrote:
Darn, you beat me to it!
David
:-)
+1
___
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 S
Darn, you beat me to it!
David
:-)
On 2-Apr-08, at 3:57 PM, Chuck Hill wrote:
WWDC sessions are out and there are no WO sessions!It is the
end! WebObjects is dead! Dead, dead I say!
http://developer.apple.com/wwdc/sessions/
Was I first this year? Was I? Someone was going to start th
WWDC sessions are out and there are no WO sessions!It is the end!
WebObjects is dead! Dead, dead I say!
http://developer.apple.com/wwdc/sessions/
Was I first this year? Was I? Someone was going to start the panic.
It was my turn.
For anyone new to WO: the WO sessions get announced
On Apr 2, 2008, at 3:27 PM, Lachlan Deck wrote:
On 03/04/2008, at 9:11 AM, Chuck Hill wrote:
On Apr 2, 2008, at 2:57 PM, Lachlan Deck wrote:
On 03/04/2008, at 4:55 AM, Chuck Hill wrote:
On Apr 2, 2008, at 10:38 AM, David Avendasora wrote:
If the SELECT ... FOR LOCK can't find any rows th
On 03/04/2008, at 9:11 AM, Chuck Hill wrote:
On Apr 2, 2008, at 2:57 PM, Lachlan Deck wrote:
On 03/04/2008, at 4:55 AM, Chuck Hill wrote:
On Apr 2, 2008, at 10:38 AM, David Avendasora wrote:
If the SELECT ... FOR LOCK can't find any rows that have fields
with values that match exactly wit
On Apr 2, 2008, at 4:19 PM, Chuck Hill wrote:
On Apr 2, 2008, at 1:09 PM, netBrackets wrote:
Thanks for the great comments. And 1:1, owned/mandatory data etc.
is what I want.
I perhaps have an unusual case in that for a small minority of days
I experience bursts very heavy activity, wi
On Apr 2, 2008, at 2:57 PM, Lachlan Deck wrote:
On 03/04/2008, at 4:55 AM, Chuck Hill wrote:
On Apr 2, 2008, at 10:38 AM, David Avendasora wrote:
If the SELECT ... FOR LOCK can't find any rows that have fields
with values that match exactly with what the DB has, then it
wouldn't get any
On 03/04/2008, at 4:55 AM, Chuck Hill wrote:
On Apr 2, 2008, at 10:38 AM, David Avendasora wrote:
If the SELECT ... FOR LOCK can't find any rows that have fields
with values that match exactly with what the DB has, then it
wouldn't get any rows either. No?
Yes, but... SELECT ... FOR LOCK
On Apr 2, 2008, at 2:37 PM, Archibald Singleton wrote:
Hello,
From the WO API docs: "For extra efficiency, you can create
stateless components: components that can be shared between
sessions. Stateless components aren't replicated each time they're
needed; rather, a single shared instanc
Hello,
From the WO API docs: "For extra efficiency, you can create stateless
components: components that can be shared between sessions. Stateless
components aren't replicated each time they're needed; rather, a
single shared instance is referenced each time the component is used."
But lo
Hi there,
On 02/04/2008, at 5:37 PM, Aleksey Novicov wrote:
I tried this and found that the latest Eclipse/WOLips tools are very
complete in packaging up woapps for servlet deployment. However,
there were a couple of caveats worth mentioning:
1. Starting with a WOnder Application template t
On Apr 2, 2008, at 2:18 PM, Art Isbell wrote:
On Apr 2, 2008, at 7:38 AM, David Avendasora wrote:
Couldn't this be the same problem though? If the SELECT ... FOR
LOCK can't find any rows that have fields with values that match
exactly with what the DB has, then it wouldn't get any rows ei
This does not cause any problems ... It's an obnoxious error that
isn't really an error. It's been a couple months since I tracked down
what exactly was going on, but I _believe_ it's trying to lookup the
jdbc datasource in your tomcat server config, and if it's not there,
it displays this
On Apr 2, 2008, at 1:09 PM, netBrackets wrote:
Thanks for the great comments. And 1:1, owned/mandatory data etc.
is what I want.
I perhaps have an unusual case in that for a small minority of days
I experience bursts very heavy activity, with changes occurring on
only a small subset of
On Apr 2, 2008, at 7:38 AM, David Avendasora wrote:
Couldn't this be the same problem though? If the SELECT ... FOR LOCK
can't find any rows that have fields with values that match exactly
with what the DB has, then it wouldn't get any rows either. No?
Maybe, but I think Chuck's point is
Have their been any network changes? Have you made the WOHost changes
here: http://wiki.objectstyle.org/confluence/display/WO/Development+Tools-Running+Through+Apache
On Apr 2, 2008, at 12:56 PM, Helmut Schottmüller wrote:
Hi Group,
since a few hours my WO httpd adaptor seems to be broke
FWIW, I'm getting the "java name not found in context" as well and I
haven't figure out a way around getting the messages either including
specifying my data source in the web.xml. Doesn't seem to hurt
anything but it does clog up the log file.
On Apr 2, 2008, at 10:34 AM, Aleksey Novicov
On Apr 2, 2008, at 9:56 AM, Helmut Schottmüller wrote:
since a few hours my WO httpd adaptor seems to be broken. I'm
getting getting constant "No Instance Available" messages when I am
trying to run my projects with webserver connect from Eclipse.
If a "No instance available" response occu
Couldn't this be the same problem though? If the SELECT ... FOR LOCK
can't find any rows that have fields with values that match exactly
with what the DB has, then it wouldn't get any rows either. No?
Maybe log the SQL and then compare what WO is looking for with what is
actually in the DB?
On Apr 2, 2008, at 9:52 AM, Sacha Michel Mallais wrote:
It is definitely possible to have an optional to-one, just not one
where the FK is also the PK.
But if the FK isn't the PK, then the FK isn't guaranteed to be
unique. But it must be unique because it joins with the PK of another
o
On Apr 2, 2008, at 9:10 AM, Chuck Hill wrote:
What the LockScreamingEditingContext won't tell you is when you are
using the EC but it is NOT locked. Unless you are doing the locking
using ERXEC and friends or the MultiECLockManager (whatever its real
name is), there is a very good chance
Thanks for the great comments. And 1:1, owned/mandatory data etc. is what I
want.
I perhaps have an unusual case in that for a small minority of days I
experience bursts very heavy activity, with changes occurring on only a small
subset of my data during this period and furthermore, changes t
Hi Group,
since a few hours my WO httpd adaptor seems to be broken. I'm getting
getting constant "No Instance Available" messages when I am trying to
run my projects with webserver connect from Eclipse.
I already checked the adaptor log file (enabled it with Debug in
the .conf file) but not
On Apr 2, 2008, at 12:02 PM, Art Isbell wrote:
I think that this agrees with relational database theory; i.e., all
one-to-one relationships must be 1:1, not 1:0. A 1:0 relationship
is just a special case of a 1:many relationship.
It is definitely possible to have an optional to-one, just
On Apr 2, 2008, at 12:04 PM, Dov Rosenberg wrote:
Anywhere we created a new EOEditingContext - we replaced it with the
LockScreamingEditingContext so we can track lock and unlocks
properly. All
of our locks and unlocks are in TRY/FINALLY methods. Not a perfect
solution
but it certainly hel
Anywhere we created a new EOEditingContext - we replaced it with the
LockScreamingEditingContext so we can track lock and unlocks properly. All
of our locks and unlocks are in TRY/FINALLY methods. Not a perfect solution
but it certainly helped clean up our stability issues.
I removed the lock we w
On Apr 2, 2008, at 8:45 AM, Robert Walker wrote:
Yes, it is possible to create one-to-one relationships, joined on
the primary keys. One side of the relationship will need "Propagates
primary key," as has been mentioned.
I just wanted to add one caveat to this configuration: The
relations
Yes, it is possible to create one-to-one relationships, joined on the
primary keys. One side of the relationship will need "Propagates
primary key," as has been mentioned.
I just wanted to add one caveat to this configuration: The
relationship will always be 1-to-1 and will never be 1-to-0.
Yes, but... SELECT ... FOR LOCK is _pessimistic_ locking and EOF
should be using optimistic locking. If EOF is issuing pessimistic
locking SQL, then something has gone wrong.
Ah. I see. Who cares why it isn't returning rows. It shouldn't be
doing this in the first place.
Maybe log t
On Apr 2, 2008, at 10:38 AM, David Avendasora wrote:
Couldn't this be the same problem though?
No. :-)
If the SELECT ... FOR LOCK can't find any rows that have fields with
values that match exactly with what the DB has, then it wouldn't get
any rows either. No?
Yes, but... SELECT ..
Hi Jeff,
I've decided to fully EOize my app to replace my current use of
flat files, mainly to better deal with concurrency issues. In
creating my analogous tables, I found that there's no way to
specify a "1 to 1" relationship between tables using the Entity
Modeler tool. Is there a sp
On Apr 1, 2008, at 8:17 AM, Dov Rosenberg wrote:
I have been tracking down a strange error in our app.
java.lang.IllegalStateException: There is no database snapshot
available for the object
In a lot of places we use a new EditingContext instead of the
default Editing Context for the sess
On Apr 2, 2008, at 4:30 AM, David Avendasora wrote:
The fact that Chuck didn't come up with this makes me doubt my
memory, but...
It seems that when I've run into this in my applications, it usually
means that between the time the EO was read out of the database, and
the time it is writt
Yes, I will post what I've learned on the WO wiki as soon as I think I
have everything worked out.
Aleksey
On Apr 2, 2008, at 2:05 AM, Andrew Lindesay wrote:
Hello Aleksey;
It would be really great if you could write-up your experiences an
tips in the WO wiki for others to read about.
Hi!
I see... I specially like this quote:
"The drawback of using locales other than C or POSIX in PostgreSQL
is its performance impact. It slows character handling and prevents
ordinary indexes from being used by LIKE. For this reason use locales
only if you actually need them."
In
> See: the "Data Source for Model Database Configuration" section of
> http://wiki.objectstyle.org/confluence/display/WO/Web+Applications-Deployment-
> Tomcat+Deployment#WebApplications-Deployment-TomcatDeployment-DataSourceforMod
> elDatabaseConfiguration
btw: I have deployed a Wonder App as a S
Hey Aleksey,
You are right Tomcat has it's own DB connection stuff, which can be a
pain in the a** at times. I ran into this and it actually was a show-
stopper when I had two (or more) EOModels.
See: the "Data Source for Model Database Configuration" section of http://wiki.objectstyle.org/c
Hi Miguel,
I think you must initialize your database cluster with the correct
locale, to get this working (see http://www.postgresql.org/docs/8.3/
interactive/locale.html).
Ralf Schuchardt
Am 02.04.2008 um 03:34 schrieb Miguel Arroz:
I created an UNIQUE INDEX using the lower() function t
The fact that Chuck didn't come up with this makes me doubt my memory,
but...
It seems that when I've run into this in my applications, it usually
means that between the time the EO was read out of the database, and
the time it is written back in, something in one of the locking fields
ch
Hi,
I'm not entirely sure the problem is related to locking the editing
context.
This exception can be produced by objects, which are disconnected from
their editing context but keep hovering about.
Could it be your application holds onto an object, which has been
deleted
(in the EO sense)
Hello Aleksey;
It would be really great if you could write-up your experiences an
tips in the WO wiki for others to read about.
http://wiki.objectstyle.org/confluence/display/WO/Home
4. For the static resources to be served correctly via port 80 of
the Apache web server (as opposed
Hi,
I posted this message to the WOLips list at first. But since this
seems to be more
of a WebObjects isue, I'll cross post it here.
I'm trying to develop a D2WS application on Eclipse with WOLips.
Starting the
web service assistant and connecting to the application fails. The
error mess
Thanks for that, obviously frameworks are the way to go, I haven't
really needed to make my own up to now but clearly I should have :-)
Back to the bookshelf then :-)
Regards,
David.
On 27 Mar 2008, at 18:52, Chuck Hill wrote:
On Mar 27, 2008, at 1:57 AM, David Griffith wrote:
Hi all,
50 matches
Mail list logo