Connection Pooling + WOAdaptor ?

2008-04-22 Thread Shravan Kumar.M
Hello Group, We launch our WO apps using scripts and the core launch command is as follows: *nohup /MyApps/JuciyAdmin/Juicy -WOPort 8001 -Config JuicyPAdmin -IsRMLicInstalled true -Xms64m -Xmx512m -WOSMTPHost 192.168.1.10 -WOOutputPath /MyApps/logs/ | tee **/MyApps/logs/JuicyAppLog**.8001.lo

Re: WOWebServiceRegistrar.setSecurityDelegate failure

2008-04-22 Thread Gaastra Dennis - WO Lists
Hi Pierre, Is there a reason WO 5.4.2 is only available with the iPhone SDK? Is it a 5.4.2 beta - not a real 5.4.2? When will 5.4.2 be available for general downloading + and Mac OS X Server update? Thanks for your answers. With Kind Regards, Dennis Gaastra, M.B.A.[sfu.ca], B.Sc.[ubc.ca]

Re: WOComponent children

2008-04-22 Thread Lachlan Deck
On 23/04/2008, at 9:42 AM, Mike Schrag wrote: On Jan 16, 2008, at 6:09 PM, [EMAIL PROTECTED] wrote: In parting, I hope you do get that DOM manipulation working and we can all benefit from it. Yours, -- Aaron Just to tie a ribbon on this thread (which I've lugged around in my inbox for mon

Re: WOFileUpload

2008-04-22 Thread Chuck Hill
Offhand, I am not certain. LimitRequestBody sounds correct. It has been a while.. Chuck On Apr 22, 2008, at 7:29 PM, sirius black wrote: Chuck, I'm curious how you would have Apache handle this. I know of LimitRequestBody, but I haven't used it much, is this the route you were thinki

Re: WOFileUpload

2008-04-22 Thread sirius black
Chuck, I'm curious how you would have Apache handle this. I know of LimitRequestBody, but I haven't used it much, is this the route you were thinking? Thanks. On Fri, Apr 18, 2008 at 5:23 PM, Chuck Hill <[EMAIL PROTECTED]> wrote: > > On Apr 18, 2008, at 5:10 PM, sirius black wrote: > > I'm t

Re: The type NSMutableArray is not generic; it cannot be parameterized with arguments

2008-04-22 Thread Archibald Singleton
On 23 Apr 2008, at 04:12, Mike Schrag wrote: I keep getting the above error message even though I've included Wonder JavaWOExtensions as both a project and a frameworks in the examples project (using the Java Build Path project properties. Since JavaWOExtensions provides an implementation of

Re: The type NSMutableArray is not generic; it cannot be parameterized with arguments

2008-04-22 Thread Mike Schrag
I keep getting the above error message even though I've included Wonder JavaWOExtensions as both a project and a frameworks in the examples project (using the Java Build Path project properties. Since JavaWOExtensions provides an implementation of NSArray with generics I would expect this the

Re: The type NSMutableArray is not generic; it cannot be parameterized with arguments

2008-04-22 Thread Jeff Schmitz
I'm pretty sure it's purely a versioning problem. NSMutableArray didn't become generic until WO5.4. If you want to know about Java Generics I'd suggest googling on the subject. There is LOTS of info on it. Jeff On Apr 22, 2008, at 8:39 PM, Archibald Singleton wrote: HI All, OK, I'm s

The type NSMutableArray is not generic; it cannot be parameterized with arguments

2008-04-22 Thread Archibald Singleton
HI All, OK, I'm stuck. I'm trying to make some Apple provided WO examples to work. The examples came with WO 5.4 but I'm running WO 5.3.(I could switch to using 5.4 just to run the examples but I'd like to understand what's going on) I keep getting the above error message even though I'v

Re: CLOSE_WAIT processes/ instances HANG ???

2008-04-22 Thread shravan
Hello Alexandar, Not really I think! I installed Apache 1.3.36 recently and then compiled mod_WebObjects.so in the same system later. Any other idea? Thank You Shravan -- On Wed, April 23, 2008 1:22 am, Alexander Spohr wrote: > I think you are using an old Apache-pl

Re: WOComponent children

2008-04-22 Thread Mike Schrag
On Jan 16, 2008, at 6:09 PM, [EMAIL PROTECTED] wrote: In parting, I hope you do get that DOM manipulation working and we can all benefit from it. Yours, -- Aaron Just to tie a ribbon on this thread (which I've lugged around in my inbox for months :) ), on-demand loading of Javascript has fi

Re: WOWebServiceRegistrar.setSecurityDelegate failure

2008-04-22 Thread Mr. Pierre Frisch
Without going into too much details when WebServices for WebObjects were created with Axis 1.0 type information in WDSL document was optional, WebOjects did not include it. With Axis 1.1 and event more for Axis 1.4 it became required for custom types. This was fixed in WO 5.4.x unfortunatel

Re: ERXMigrationTable.newColumn does not set default value

2008-04-22 Thread David Avendasora
On Apr 22, 2008, at 3:05 PM, David Avendasora wrote: Which generates an error stating that either it has to be NULL, or a default be passed. As you can see, I did define a default value ("Default") in the Migration, but the plugin isn't picking it up. I'm working on getting the ERXMicrosof

Re: Extract the component name from a binding

2008-04-22 Thread Helmut Schottmüller
Hi Mike, thanks, especially for 4) Sometimes it's hard to identify the suitable component... regards, Helmut Am 22.04.2008 um 23:02 schrieb Mike Schrag: comp1, comp2, comp3 The name of the component is set via an AjaxUpdateLink to a binding "selectedComponent". Depending on the value of s

Re: Extract the component name from a binding

2008-04-22 Thread Mike Schrag
comp1, comp2, comp3 The name of the component is set via an AjaxUpdateLink to a binding "selectedComponent". Depending on the value of selectedComponent, one of the components is shown in the update container: false"> Comments: 1) use 'comp1' instead of "comp1" -- no need for escaping the

Extract the component name from a binding

2008-04-22 Thread Helmut Schottmüller
Hi, surely another stupid question but I am stuck and can't think straight... Maybe it's time to go to bed. Assume I have three components: comp1, comp2, comp3 The name of the component is set via an AjaxUpdateLink to a binding "selectedComponent". Depending on the value of selectedCompone

WOEventDisplay (WOEvent logging password)

2008-04-22 Thread Gavin Eadie
I've been trying to get the /wa/WOEventDisplay direct action to work. The description in the Javadoc for WOEvent says you need a property "EOEventLoggingPassword" set to provide a password that will let you access the event displays. In fact, this does NOT work as described -- you need to:

Re: WOWebServiceRegistrar.setSecurityDelegate failure

2008-04-22 Thread Anjo Krank
5.4.1 wouldn't even start without serious prodding, there where pretty serious bugs in registering a service. In 5.4.2, all the issues I have left are in axis itself and not really under Pierre's control to fix (which are related to special client and server libs). In particular the bug rep

Re: WOWebServiceRegistrar.setSecurityDelegate failure

2008-04-22 Thread Mike Schrag
Pierre, if 5.4.x versions all use Axis 1.4 how does moving to 5.4.2 help? Regarding the call to org.apache.xml.security.Init, I'm sorry, it's extraneous to this conversation and I didn't mean to post it. I use it for some webservice encryption needs. Any advice on a somewhat guaranteed stab

Re: WOWebServiceRegistrar.setSecurityDelegate failure

2008-04-22 Thread Jon Nolan
Thanks guys. Pierre, if 5.4.x versions all use Axis 1.4 how does moving to 5.4.2 help? Regarding the call to org.apache.xml.security.Init, I'm sorry, it's extraneous to this conversation and I didn't mean to post it. I use it for some webservice encryption needs. Any advice on a somewhat guar

Re: Removing extra blank lines from generated html?

2008-04-22 Thread Mark Morris
I think if you look at your component, you'll see that the blank lines are in there, not generated by WebObjects. I've put enough conditionals in the middle of a line that I definitely would have been bit by now if that was the case! ;-) Regards, Mark On Apr 18, 2008, at 4:35 PM, John Hus

Re: CLOSE_WAIT processes/ instances HANG ???

2008-04-22 Thread Alexander Spohr
I think you are using an old Apache-plugin (mod_WebObjects.so). Grab, compile and install a new one. atze Am 22.04.2008 um 15:47 schrieb Shravan Kumar.M: We have been battered by CLOSE_WAIT processes and instances hang. We see CLOSE_WAIT state of a process for both java and httpd p

Re: ERXMigrationTable.newColumn does not set default value

2008-04-22 Thread David Avendasora
On Apr 22, 2008, at 1:23 PM, Mike Schrag wrote: Okay, I'll get the ability to read the "er.extensions.eoattribute.default" along with the simpler "Default" from the userInfo dictionary setup in the ERXMicrosoftPlugIn like it is in the FrontbasePlugIn, and then hand it off you you and Chu

Re: ERXMigrationTable.newColumn does not set default value

2008-04-22 Thread David Avendasora
The problem is that even though I use: table.newStringColumn("Some_Column", 255, false, "Default") The SQL generated is be: ALTER TABLE dbo.My_Table ADD Some_Column varchar(255) NOT NULL Which generates an error stating that either it has to be NULL, or a default be passed. As you can see,

Re: WOWebServiceRegistrar.setSecurityDelegate failure

2008-04-22 Thread Mr. Pierre Frisch
Actually 5.3.x has most of the same issues as 5.4.1. Grab 5.4.2 from the iPhone SDK beta if you can. WebObjects 5.3.x and 5.4.x use different versions of Axis. 5.3.x uses Axis 1.1. 5.4.x uses Axis 1.4. I am a bit puzzled by the statement: org.apache.xml.security.Init.init(); Where does this

Re: ERXMigrationTable.newColumn does not set default value

2008-04-22 Thread Mike Schrag
Microsoft is so helpful in that after the initial creation of a table it doesn't allow you to add a new column and mark it as NOT NULL without defining a default value. You can _not_ create the column, then populate it after. You have to do it all in one function. I suppose the work around

Re: Fake Entity Modeler validation errors preventing veogen running

2008-04-22 Thread Simon McLean
I've updated to WOLips 3.3.5047 but now can't veogenerate because of model validation errors relating to key paths in model based fetch specifications: /Users/Eclipse2/ClickTravelSystem/Resources/TravelSystem.eogen: Error: The fetch specification TrainLegSearch has a qualifier that refers

iBox Question

2008-04-22 Thread James Cicenia
Hello - I am trying to use iBox and create a dialog in my browser. I am using the embedded noshow div to hide that part of the form. However, I can't for the life of me figure why it is sending me null back for any webobject bound in that noshow div area. Has anyone used iBox? Thanks James

Re: ERXMigrationTable.newColumn does not set default value

2008-04-22 Thread Mike Schrag
Okay, I'll get the ability to read the "er.extensions.eoattribute.default" along with the simpler "Default" from the userInfo dictionary setup in the ERXMicrosoftPlugIn like it is in the FrontbasePlugIn, and then hand it off you you and Chuck for review. "Default" is a contrivance added in

Re: ERXMigrationTable.newColumn does not set default value

2008-04-22 Thread David Avendasora
Okay, I'll get the ability to read the "er.extensions.eoattribute.default" along with the simpler "Default" from the userInfo dictionary setup in the ERXMicrosoftPlugIn like it is in the FrontbasePlugIn, and then hand it off you you and Chuck for review. Out of curiosity, what does the de

Re: Fake Entity Modeler validation errors preventing veogen running

2008-04-22 Thread Mike Schrag
I've updated to WOLips 3.3.5047 but now can't veogenerate because of model validation errors relating to key paths in model based fetch specifications: /Users/Eclipse2/ClickTravelSystem/Resources/TravelSystem.eogen: Error: The fetch specification TrainLegSearch has a qualifier that refers

Re: ERXMigrationTable.newColumn does not set default value

2008-04-22 Thread Mike Schrag
Defaults are not covered by the spec at all ... Wonder migrations set the default value into the "er.extensions.eoattribute.default" attribute in the attribute's userInfo during the migration process, so that's the one you should use. FrontBasePlugIn has an example of this. ms On Apr 22,

Re: WOWebServiceRegistrar.setSecurityDelegate failure

2008-04-22 Thread Mike Schrag
There are known issues with WebServices on 5.4.1. I don't know if this one in particular is fixed in 5.4.2 or not, but you should definitely get a baseline on 5.3 FIRST before doing the full move to 5.4.1. ms On Apr 22, 2008, at 12:09 PM, Jon Nolan wrote: I'm in the process of upgrading

Re: Inheritance and overriding

2008-04-22 Thread Florijan Stamenkovic
On Apr 21, 2008, at 17:14, Chuck Hill wrote: I have never used flattened relationships. For performance, you can cache in the EOs as long as you are careful to clear or rebuild the cache when it is no longer valid. I have an idea using JBND (which takes care of listening along keypaths,

Fake Entity Modeler validation errors preventing veogen running

2008-04-22 Thread Simon McLean
Hi All - I've updated to WOLips 3.3.5047 but now can't veogenerate because of model validation errors relating to key paths in model based fetch specifications: /Users/Eclipse2/ClickTravelSystem/Resources/TravelSystem.eogen: Error: The fetch specification TrainLegSearch has a qualifier tha

Re: Database Design - Multiple locations

2008-04-22 Thread James Cicenia
About that irrational fear... Sometimes code is your best friend. I like your URL approach. -j- On Apr 22, 2008, at 9:35 AM, Mr. Frank Cobia wrote: I had thought of something along theses lines, but I was worried about searches. Most of the time I will not be accessing the locations throu

Re: ERXMigrationTable.newColumn does not set default value

2008-04-22 Thread David Avendasora
Hey Mike, I'm trying to add this to the ERXMicrosoftPlugin. I've added a MicrosoftExpression Inner Class, and copied over much of what was in the FrontbaseExpression IC with some modifications, but it looks like where it's looking for the default value is from the UserInfo dictionary in t

WOWebServiceRegistrar.setSecurityDelegate failure

2008-04-22 Thread Jon Nolan
I'm in the process of upgrading all my WebObjects projects from Xcode/Java1.4/WebObjects5.2.3 to Eclipse/WOLips/Java1.5/WebObjects5.4.1. I've possibly bitten off way too big a bite all at once. ;-) I'm muddling through without too much trouble except when it comes to webservices. I make sub

Re: Database Design - Multiple locations

2008-04-22 Thread Mr. Frank Cobia
Correction, the search below with the code would be where location.code like "us.georgia.metroatlanta%" On Apr 22, 2008, at 10:35 AM, Mr. Frank Cobia wrote: I had thought of something along theses lines, but I was worried about searches. Most of the time I will not be accessing the location

Re: Database Design - Multiple locations

2008-04-22 Thread Mr. Frank Cobia
I had thought of something along theses lines, but I was worried about searches. Most of the time I will not be accessing the locations through the tree, but doing a search such as where location = Georgia which will also need to pull up anything with a location in a country, metro region o

Re: Database Design - Multiple locations

2008-04-22 Thread Ken Anderson
Robert, Since Frank had said he already had separate tables for each type of location, this didn't seem like a workable solution. Of course, you could always do both: - Have a recursive structure of generic Location objects like you suggest - Have the generic Location include a to-one

CLOSE_WAIT processes/ instances HANG ???

2008-04-22 Thread Shravan Kumar.M
Hello Group, We have been battered by CLOSE_WAIT processes and instances hang. We are running our application on Solaris 5.8 boxes with WebObjects 5.2.4, Java 1.4.2_17. We have collected some process dumps and consulted Sun, they analyzed and blame our code, alas!!! We see CLOSE_WAIT state

Re: Database Design - Multiple locations

2008-04-22 Thread Robert Walker
Optionally, you could use a reflexive relationship for this. I've used them in the past for this type of situation and it seemed to work out well. This would allow you to have an arbitrarily deep tree structure using a single database table and single EO. I can't think of any particular dis

Re: Database Design - Multiple locations

2008-04-22 Thread Mr. Frank Cobia
Thanks. I will look into this and see if I can make it work. Frank On Apr 21, 2008, at 3:45 PM, Chuck Hill wrote: On Apr 20, 2008, at 6:15 PM, Mr. Frank Cobia wrote: I have a database design question. I am posting it to the WebObjects list because I am building a WebObjects app and want a