App stopped running but not auto-recovered

2007-10-03 Thread Corin Lawson
Hi List, I'm having difficulties with Auto Recover (in JavaMonitor). (1) When I add a new instance it is added with Auto Recover turned on but doesn't automatically start (I've been waiting over 22 mins now). (2) When I kill an instance (ie `kill -KILL $pid`) JavaMonitor shows the instance

Re: Stale data

2007-09-30 Thread Corin Lawson
otificationJMS. Quite a lot has been written on the topic of fresh data, take a look at this: http://wiki.objectstyle.org/confluence/display/WO/EOF-Using+EOF- Caching+and+Freshness Gordon On 28-Sep-07, at 5:14 AM, Corin Lawson wrote: Thanks Gordon, I'll be sure to try it, but how do I test? Cheers,

Re: Stale data

2007-09-28 Thread Corin Lawson
efetchedObjects(true); String [] keypaths = {"toRelationship"}; fs.setPreftechingRelationhsipKeyPaths(new NSArray(keypaths)); cheers, Gordon On 27-Sep-07, at 1:12 AM, Corin Lawson wrote: Hi List, I have been experiencing the following problem for som

Stale data

2007-09-26 Thread Corin Lawson
Hi List, I have been experiencing the following problem for some time now and have not been able to establish a pattern or replicate the problem, let alone solve it, please help. The symptom is that a certain process fails because the WO (5.2.4) app is using stale or cached data, where th

Upgrade xerces?

2007-05-01 Thread Corin Lawson
Hi List, I have recently encountered the following error using WO 5.2.4: java.lang.NoSuchMethodError: org.apache.xerces.xni.XMLResourceIdentifier.getNamespace()Ljava/lang/ String I take this to mean that a third party api that I'm using requires xerces 2.6.0 and the distribution provided

Fetching empty EOs

2007-03-20 Thread Corin Lawson
Hi List, I've run into a rather nasty little problem after making some changes to my app recently. The problem never showed in testing and is difficult to contrive (which is the nasty bit). After an arbitrary and large number of requests, an arbitrary and small proportion of fetches fail.

Re: JDBCChannel method failed to update

2006-07-26 Thread Corin Lawson
whose object store has become dirty. So in addition to reducing the locking attributes I have ensured that the EOEditingContext refaults before each transaction. (I suspect only one would be necessary.) Cheers, Corin. On 25/07/2006, at 6:42 PM, shaun wrote: Hi, Corin Lawson wrote: Hi

JDBCChannel method failed to update

2006-07-25 Thread Corin Lawson
Hi List, As volume has increased on our woapp so has the occurrence of this particular error, below. I am using WO 5.2.4 with MySQL 5.0. com.webobjects.eoaccess.EOGeneralAdaptorException: updateValuesInRowDescribedByQualifier -- com.webobjects.jdbcadaptor.JDBCChannel method failed to upda

Solution: Custom namespace in soap response

2006-06-14 Thread Corin Lawson
Also does anyone know of any caveats about overloading this method? Thanks, Corin. Begin forwarded message: From: Corin Lawson <[EMAIL PROTECTED]> Date: 14 June 2006 4:58:41 PM To: webobjects-dev@lists.apple.com Subject: Custom namespace in soap response Hi, How do I customise the nam

Custom namespace in soap response

2006-06-13 Thread Corin Lawson
Hi, How do I customise the namespace of the *Response element in an soap message? For example the ns1 shown below. http://schemas.xmlsoap.org/soap/ envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";> http://127.0.0.1/cgi- b

Null d2ws inputs

2006-06-13 Thread Corin Lawson
Hi, Can a d2ws operation accept a null input value? I get this exception: [2006-06-14 14:03:22 EST] AxisFault faultCode: {http://xml.apache.org/axis/}Server.userException faultString: java.lang.IllegalArgumentException: Attempt to insert null into an com.webobjects.foundation.NSArray. fault

Dynamic WOOperation

2006-06-08 Thread Corin Lawson
Hi, I'm discovering the rich world of D2WS, the component-based operations look great but I wish I had more documentation that's more programmatically minded. I have some questions: Is it possible (and how) for a WOOperation instance (or subtype thereof) to discover it's 'operationName'

Web services app to D2WS

2006-06-05 Thread Corin Lawson
Hi, I have developed an app using WOLips that registers a web service using the methods from a class as the source of operations. How would I convert this app into D2WS so that I may take advantage of the d2w rules? I tried simply adding a d2w.d2wmodel to the resources but that didn't wor

[Answer and more Qs] Namespaces in WSDL and SOAP

2006-06-05 Thread Corin Lawson
quot;) and (serviceName="Service")) -> serviceLocationURL="https://host.net/cgi-bin/Service.woa/ws/ Service" On 05/06/2006, at 3:37 PM, Corin Lawson wrote: Hi, How do I (partly) customize the target namespace of the definitions element in a wsdl doc generated by WO (5

Namespaces in WSDL and SOAP

2006-06-04 Thread Corin Lawson
Hi, How do I (partly) customize the target namespace of the definitions element in a wsdl doc generated by WO (5.2.4) and the corresponding ns used in soap messages to and from services described in that wsdl doc? I find this in the wsdl doc generated: http://host/cgi-bin/WebObjects/ A

Cannot find service

2006-05-30 Thread Corin Lawson
Hi, I believe that this is a bug or a design flaw. Any comments or suggestions? I am using WO 5.2.4 on Mac OS X Server. Under certain conditions I receive the following exception when trying to invoke an operation of a web service that has more than one instance running. com.webobjects

Re: URGENT issues with CLOSE_WAIT states

2006-04-02 Thread Corin Lawson
6, at 5:04 AM, Sacha Michel Mallais wrote: On Mar 28, 2006, at 7:23 PM, Corin Lawson wrote: Recently I have found that under a increased load there is a large number of tcp connections in CLOSE_WAIT state. When there is enough of them the adapter to no longer able to find any app (inc

URGENT issues with CLOSE_WAIT states

2006-03-28 Thread Corin Lawson
Hi all, Recently I have found that under a increased load there is a large number of tcp connections in CLOSE_WAIT state. When there is enough of them the adapter to no longer able to find any app (including the JavaMonitor) and the whole system grinds to a halt... I have confirmed that W

How to removing instance number from target namespace

2006-03-07 Thread Corin Lawson
Hi List, How does one (or is it possible) to change the target namespace of the definitions (root) element of a wsdl doc of a web service registered by WO 5.2.4? I should like to remove the instance number, at least. To be more specific I have this in the wsdl doc that is located at htt

Re: Unable to read index.eomodeld

2005-12-29 Thread Corin Lawson
ing is a variation to the syntactic format, and that is always a bad thing. Yours Miguel Arroz On 2005/12/29, at 01:46, Corin Lawson wrote: Hi, What could be causing this problem? [2005-12-29 12:29:29 EST] A fatal exception occurred: Unable to read either 'file:/Library/Frameworks/

Re: Unable to read index.eomodeld

2005-12-28 Thread Corin Lawson
more files in the model directory is corrupt. Chuck On Dec 28, 2005, at 5:46 PM, Corin Lawson wrote: Hi, What could be causing this problem? [2005-12-29 12:29:29 EST] A fatal exception occurred: Unable to read either 'file:/Library/Frameworks/BDERSEOM.framework/ Reso

Unable to read index.eomodeld

2005-12-28 Thread Corin Lawson
Hi, What could be causing this problem? [2005-12-29 12:29:29 EST] A fatal exception occurred: Unable to read either 'file:/Library/Frameworks/BDERSEOM.framework/Resources/ bottledomains.eomodeld/index.eomodeld' or 'file:/Library/Frameworks/ BDERSEOM.framework/Resources/bottledomains.eomodel

Re: Cannot find service Error

2005-12-22 Thread Corin Lawson
31 and wsdl. I was just checking. I suppose that you have verified that checkDomain is part of the allowedMethods for the BDERS service? What is the call you used to register it? Thanks Pierre On 22-Dec-05, at 1:53 PM, Corin Lawson wrote: I am using WO 5.2.3, do you recommend upgrading?

Re: Cannot find service Error

2005-12-22 Thread Corin Lawson
I am using WO 5.2.3, do you recommend upgrading? On 22/12/2005, at 10:38 PM, Pierre Frisch wrote: Hi Corin, Which version of WO are you using? Did you upgrade Axis? Pierre On 21-Dec-05, at 6:43 PM, Corin Lawson wrote: Hi, I am having trouble calling a web service that has multiple

Fwd: Cannot find service Error

2005-12-21 Thread Corin Lawson
Hi, I am having trouble calling a web service that has multiple instances. I have written a quick and dirty client invoke it using WOWebServiceClient. This is the error that I get... com.webobjects.foundation.NSForwardException [javax.xml.rpc.ServiceException] Error processing WSDL docume

Cannot find service Error

2005-12-21 Thread Corin Lawson
Hi, I am having trouble calling a web service that has multiple instances. I have written a quick and dirty client invoke it using WOWebServiceClient. This is the error that I get... com.webobjects.foundation.NSForwardException [javax.xml.rpc.ServiceException] Error processing WSDL docume

_EOCheapCopyMutableArray blocks

2005-12-06 Thread Corin Lawson
Hi, Recently found this peculiar anomaly... calling a method on _EOCheapCopyMutableArray blocks! Something as simple as calling count() doesn't return ... WTF? Please help. Here is a code snippet and a bunch of logs (log4j)... public class EOReseller extends EOGenericRecord { // *snip*

Re: EO_PK_TABLE and auto_increment

2005-11-16 Thread Corin Lawson
Furthermore, if I'm wrong in my assumption it should be possible for the plugin (or the channel?) to maintain a space of new PKs. I would need to know more about the life of the objects involved to make those decisions. Corin. On 17/11/2005, at 9:23 AM, Corin Lawson wrote: Then th

Re: EO_PK_TABLE and auto_increment

2005-11-16 Thread Corin Lawson
increased? Cheers, Corin. On 16/11/2005, at 6:34 PM, Anjo Krank wrote: Am 16.11.2005 um 08:08 schrieb Corin Lawson: The only concern I have is how do retrieve the auto_increment field for a particular table. Which is exactly the part that can't be done... From what I recall with My

Re: EO_PK_TABLE and auto_increment

2005-11-15 Thread Corin Lawson
does for Postgresql and Oracle. You may want to take those and modify them to work with the way that your legacy system works. I think there was is a delegate in EOF that lets you generate primary keys how ever you would want to. -arturo On Nov 15, 2005, at 9:10 PM, Corin Lawson wrote:

Re: EO_PK_TABLE and auto_increment

2005-11-15 Thread Corin Lawson
Hi, More questions here to build upon the one below... Would Project Wonder offer a solution? If yes, how would one go about it or begin? Can I import WOnder into Eclipse? If yes, do any guides/instructions exist and where? Cheers, Corin. On 08/11/2005, at 5:00 PM, Corin Lawson wrote

plist problem

2005-11-07 Thread Corin Lawson
Hi, I made some changes, by hand, to some of the .plist files of my eo model. When I ran my app next it gave this error: "Property list parsing failed while attempting to read array. No comma found between array elements." I have searched for the missing comma but I can not find it. I tri

Re: EO_PK_TABLE and auto_increment

2005-11-07 Thread Corin Lawson
Mysql... (sorry I forgot to mention.) On 01/11/2005, at 11:11 PM, Ken Anderson wrote: What database are you using? On Nov 1, 2005, at 3:53 AM, Corin Lawson wrote: On 01/11/2005, at 7:39 PM, Corin Lawson wrote: Hi all, I have a WO app that accesses an existing database which is

Re: EO_PK_TABLE and auto_increment

2005-11-01 Thread Corin Lawson
On 01/11/2005, at 7:39 PM, Corin Lawson wrote: Hi all, I have a WO app that accesses an existing database which is currently used by a larger system. My requirement is to integrate these systems that share the one database. This means that WO does not have exclusive control of

EO_PK_TABLE and auto_increment

2005-11-01 Thread Corin Lawson
Hi all, I have a WO app that accesses an existing database which is currently used by a larger system. My requirement is to integrate these systems that share the one database. This means that WO does not have exclusive control of generating primary keys. Furthermore the older system reli

Web Services and Axis

2005-10-12 Thread Corin Lawson
Hi all, I've been successfully developing web services with WO 5.2.3 and have Axis 1.0 installed using Eclipse. The time has come for those services to be consumed. A consumer, however, has had difficulty parsing the wsdl doc. (Apparently a 'schema' element containing empty 'import' and '