Re: NSArray.iterator and NSArray.listIterator bug

2006-06-14 Thread Chuck Hill
I can't confirm it, but I would not be surprised. Sounds like whoever added this method neglected to fire the fault before creating the iterator. I'll suggest using objectEnumerator() instead of calling count(). Chuck On Jun 14, 2006, at 7:35 PM, John Larson wrote: Hello all, can any

Re: Anybody know what this exception means on startup?

2006-06-14 Thread Chuck Hill
Sounds like you have a signed jar on the classpath. Google suggests this may hold a clue http://forum.java.sun.com/thread.jspa?threadID=562040&tstart=270 http://www.google.com/search?q=signer+information+does+not+match +signer+information Chuck On Jun 14, 2006, at 6:57 PM, James Cicenia w

NSArray.iterator and NSArray.listIterator bug

2006-06-14 Thread John Larson
Hello all,can anyone please confirm this as a bug in WebObjects 5.3.1.  When using an NSArray that is a to-many relationship from an entity, the listIterator() method returns an empty list if the NSArray has not had at least count() executed against it.  The same happens when using the iterator() m

Solution: Custom namespace in soap response

2006-06-14 Thread Corin Lawson
Hi, I found a solution but it is not wholly satisfying. I found that overloading the protected _invoke method and only calling the super method messed with the response soap message. I.e. adding this to my WOOperation subclass protected Object _invoke(D2WContext d2wContext) {

Anybody know what this exception means on startup?

2006-06-14 Thread James Cicenia
Any comments greatly appreciated -James /usr/local/apple/Library/Frameworks/NoxymoHelperRome.framework/ Resources/Java/rome-0.7.jar [2006-06-14 18:41:58 CDT] Unable to initialize WOProperties for reason: Cannot find JavaWebObjects framework ! java.lang.SecurityException: class "com.web

Re: WORepitition not saving (Sorry for messy last message)

2006-06-14 Thread Don Lindsay
Hello Ken; That worked perfectly. THanks Don On Jun 12, 2006, at 12:32 PM, Ken Anderson wrote: Don, Why do you have 2 methods for each? I see setIsCustodian and setCustodian... Also, in setIsCustodian, you're sending a string to takeStoredValueForKey: takeStoredValueForKey((b

Re: Problem with webobject attributes in WOBuilder

2006-06-14 Thread David Masters
John, On 14 Jun 2006, at 12:54, John Stewart wrote: If I create a ul wrapper "styleContainer" as below, I'd like to include the "open" or "closed" styles, as well as a common "clear" style. The output would be of the form: ... ... One approach (as I think David LeBer menti

Re: Broken Pipe error using batik (SVG conversion)

2006-06-14 Thread Paul Lynch
On 14 Jun 2006, at 21:42, Chuck Hill wrote: On Jun 14, 2006, at 1:32 PM, Paul Lynch wrote: On 14 Jun 2006, at 20:56, Robert Walker wrote: I would say that Chuck's suggestions are ordered from "Best" to "Worst." Use of the WOLongResponsePage definitely sounds like the best solution in yo

Re: Broken Pipe error using batik (SVG conversion)

2006-06-14 Thread Randy Wigginton
Adjusting the timeout makes a LOT of sense if you are writing an admin app, and thus able to influence your user's expectations. If it is a public site, don't bother, because you'll make things worse. When a public page takes more than a few seconds to load, you end up with users hitting t

Re: Broken Pipe error using batik (SVG conversion)

2006-06-14 Thread Chuck Hill
On Jun 14, 2006, at 1:32 PM, Paul Lynch wrote: On 14 Jun 2006, at 20:56, Robert Walker wrote: I would say that Chuck's suggestions are ordered from "Best" to "Worst." Use of the WOLongResponsePage definitely sounds like the best solution in your case. Agreed. WOLongResponsePage isn't ve

Re: Broken Pipe error using batik (SVG conversion)

2006-06-14 Thread Paul Lynch
On 14 Jun 2006, at 20:56, Robert Walker wrote: I would say that Chuck's suggestions are ordered from "Best" to "Worst." Use of the WOLongResponsePage definitely sounds like the best solution in your case. Agreed. WOLongResponsePage isn't very well documented - your only option is to l

WebObjects on Windows 2003 Server

2006-06-14 Thread Watkins, Garry
Title: Motley Rice LLC Has anyone gotten WO 5.2.4 to run on Win2003 Server with JRE1.4.2.  It seems to have some issues, with the path.  See log info below.  However, when I direct connect to the port I have no problems.  However, if I try to use the IIS adaptor it gives me a service unavail

Re: Broken Pipe error using batik (SVG conversion)

2006-06-14 Thread Robert Walker
I would say that Chuck's suggestions are ordered from "Best" to "Worst." Use of the WOLongResponsePage definitely sounds like the best solution in your case. Generally speaking, IMHO, resorting to extending connection timeouts is a "stop-gap" measure. Doing so may even reduce the quality

Re: Broken Pipe error using batik (SVG conversion)

2006-06-14 Thread Dev WO
Hello Chuck, On Jun 14, 2006, at 10:05 AM, Dev WO wrote: Hi guys, I've created a method to rasterize an SVG image (using Batik). When I try to use this method in my application it appears it takes too long to execute (at least that's what I'm guessing), here's what I have in the log:

Re: Broken Pipe error using batik (SVG conversion)

2006-06-14 Thread Chuck Hill
On Jun 14, 2006, at 10:05 AM, Dev WO wrote: Hi guys, I've created a method to rasterize an SVG image (using Batik). When I try to use this method in my application it appears it takes too long to execute (at least that's what I'm guessing), here's what I have in the log: [2006-06-14 16

Re: Euro symbol and other characters distorted

2006-06-14 Thread Paul Lynch
On 14 Jun 2006, at 18:08, David Griffith wrote: If I add a duplicate EOModel to my project which uses a different adaptor setting to connect to FrontBase, can I connect to mySQL with one of the EOModels and FrontBase with the other and using the custom java classes just load the data from

Re: Euro symbol and other characters distorted

2006-06-14 Thread David Griffith
Ok after a few more hours of fiddling around: It seems like originally all the data was in Latin 1 encoding. When I change everything back to Latin 1, the € symbol appears fine again. However I still see all the '?' in any data the comes from a BLOB. This seems to indicate that all those

Broken Pipe error using batik (SVG conversion)

2006-06-14 Thread Dev WO
Hi guys,I've created a method to rasterize an SVG image (using Batik). When I try to use this method in my application it appears it takes too long to execute (at least that's what I'm guessing), here's what I have in the log:[2006-06-14 16:26:52 CEST]  Exception while sending response: java.net.S

Re: Euro symbol and other characters distorted

2006-06-14 Thread David Griffith
Ok I have just written a little routine to load each BLOB in WO and then write that back to a TEXT column instead.  What is happening now is that WO is receiving the text but with '?' instead of special characters.  When I then write that back to the TEXT column, the '?' is written instead of the o

Re: Null d2ws inputs

2006-06-14 Thread Robert Walker
stackTrace: java.lang.IllegalArgumentException: Attempt to insert null into an com.webobjects.foundation.NSArray. NSArray cannot hold a null value. I don't think it is directly related to your web server. On Jun 14, 2006, at 12:13 AM, Corin Lawson wrote: Hi, Can a d2ws operation a

Re: Bind WOString to WOActiveImage binding

2006-06-14 Thread Marcos Trejo Munguia
Hi Paul: You're right I was trying to do a Localizable Image using a WXLocalizableString, that's why I was asking if it was possible to bind a WOString to a WOActiveImage, shame on me!, Yesterday I found that you can make an Image Loalizable just by doing the Image Localizable through XCode.

Re: Problem with webobject attributes in WOBuilder

2006-06-14 Thread shaun
Hi John, This is a bit of a long winded answer, I apologise for that. On Wed, 2006-06-14 at 12:54 +0100, John Stewart wrote: > OK, I've refined down what I'm trying to do. > > I'd like to keep this as MVC as possible, so the Java code should not > deal directly with the alternative styles, thoug

Re: Problem with webobject attributes in WOBuilder

2006-06-14 Thread Paul Lynch
On 14 Jun 2006, at 12:54, John Stewart wrote: I'd like to keep this as MVC as possible, so the Java code should not deal directly with the alternative styles, though It will provide the logic to select the styles. There's a mismatch here between what you seem to think MVC is, and what you a

Re: Euro symbol and other characters distorted

2006-06-14 Thread Paul Lynch
On 14 Jun 2006, at 12:57, David Griffith wrote: Ok I have just written a little routine to load each BLOB in WO and then write that back to a TEXT column instead. What is happening now is that WO is receiving the text but with '?' instead of special characters. When I then write that bac

Re: Euro symbol and other characters distorted

2006-06-14 Thread David Griffith
Ok I have just written a little routine to load each BLOB in WO and then write that back to a TEXT column instead.  What is happening now is that WO is receiving the text but with '?' instead of special characters.  When I then write that back to the TEXT column, the '?' is written instead of the o

Re: Problem with webobject attributes in WOBuilder

2006-06-14 Thread John Stewart
OK, I've refined down what I'm trying to do.I'd like to keep this as MVC as possible, so the Java code should notdeal directly with the alternative styles, though It will provide the logic to select the styles.The simplest version of this is a straight boolean describing "open"or "closed" styles.  

Re: Perforce + XCode + WO?

2006-06-14 Thread hans-martin . mensch
I work with this combination for a while now and in general it works fine (as WO is the best app server/dev system around, Perforce is the best SCM I know). The behaviour you describe is not Perforce's or Xcode's fault but comes from the fact, that WOBuilder does not care about SCM or read-

jc and proxy

2006-06-14 Thread Paolo Sommaruga
Hi, we have installed a java client (client side) application on a customer computer in order to perform some backoffice activities. The problem is that such computer (xp) can only use a proxy connection. Someone has had a such problem ? There is a way to arrange the java client connecti

Re: Postgresql and bracket expression

2006-06-14 Thread Anjo Krank
Using the PostgresqlPlugin from Wonder and using a queryOperator of "*~" should do the trick. Or one of the selectors in PostgresqlExpression. Am 14.06.2006 um 01:54 schrieb Mac Dev: Dear WO-dev gurus, I am running into a problem and couldn't find any mention in the list archive or googl