Re: SerializerFactory and Leopard 10.5 (eclipse and xcode)

2009-05-21 Thread Carlos Maldonado
yep: axis-ant.jar axis.jar commons-discovery-0.2.jar commons-logging-1.0.4.jar derby.jar derbyclient.jar javaxml.jar jaxrpc.jar log4j-1.2.14.jar saaj.jar serializer.jar servlet.jar wsdl4j-1.5.1.jar xalan.jar xercesImpl.jar xml-apis.jar And now that you mention I must do a clean on the libraries

Re: SerializerFactory and Leopard 10.5 (eclipse and xcode)

2009-05-21 Thread Chuck Hill
On May 21, 2009, at 11:00 PM, Carlos Maldonado wrote: Hi, I'm migrating some WO5.3 projects from Tiger to Leopard with WO5.4 and got to a strange error that looks like is a classpath error. My code is now free of compile errors but at runtime I got java.lang.NoClassDefFoundError: javax/x

SerializerFactory and Leopard 10.5 (eclipse and xcode)

2009-05-21 Thread Carlos Maldonado
Hi, I'm migrating some WO5.3 projects from Tiger to Leopard with WO5.4 and got to a strange error that looks like is a classpath error. My code is now free of compile errors but at runtime I got java.lang.NoClassDefFoundError: javax/xml/rpc/encoding/ SerializerFactory when calling new Bean

Re: self-contained deployment

2009-05-21 Thread Anjo Krank
In your main(), get, grep and set the property "java.class.path" and remove all ":/Library.*?(:|$)" (untested regex). Look at ERXApp's main to get an idea. Cheers, Anjo Am 22.05.2009 um 03:21 schrieb Josh Paul: ...anyone have a solution on how to configure a deployed app to ignore/skip th

WebServerResources subfolder?

2009-05-21 Thread Jeff Schmitz
Hello, I'd like to use the webserverResources folder to hold and deploy my css and javascript files. I've tried creating a "css" subfolder in it and I reference it as follows: however, when I run my app, it doesn't find the css file. If I move the css file directly under webserverRes

Re: ERXEC.useSharedEditingContext

2009-05-21 Thread Anjo Krank
Not that I'm the expert here, as I never really used the SEC willingly, but: - you don't ever fetch into the SEC, you use bindXXX - if you ever change an object, you create a new EC, set the SEC to null, localinstance the object and save - you (maybe) need to watch fot the different locking s

SOLVED: WebServerResources under servlet deploy - WOAppMode=Deployment

2009-05-21 Thread Jon Nolan
Jon Nolan wrote: >>> The ERXStyleSheet is assuming that the file is in the location it would be if you were having the Web Server serve the static files. >>> >>> This path maps to: /Library/WebServer/Documents/WebObjects/Frameworks/WDExtensions.framework/WebServerResources/css/default-styles.cs

Re: self-contained deployment

2009-05-21 Thread Andrew Lindesay
Hello; Is there anything stopping one from assembling the classpath and then running the WOA without using the "bootstrap" jar or does the bootstrap process do some foo which isn't terribly obvious? cheers. ...anyone have a solution on how to configure a deployed app to ignore/ skip the

Re: self-contained deployment

2009-05-21 Thread Dov Rosenberg
Deploy as a servlet On 5/21/09 9:21 PM, "Josh Paul" wrote: > ...anyone have a solution on how to configure a deployed app to ignore/ > skip the /Library/WebObjects/Extensions dir? > > TIA > > On May 21, 2009, at 11:10 AM, Josh Paul wrote: > >> It's cruft from currently deployed instances. >>

Re: Using Jmeter to test WO

2009-05-21 Thread Amiel Montecillo
I am running to some annoying stuff using JMeter to test my wo app. I used the HTTP Proxy Server to layout the samplers. Then had the Regular expression extractor to handle the session_id. But when I run the JMeter script. I often get a "You backtracked too far" error. On some of the sample. I th

Re: self-contained deployment

2009-05-21 Thread Josh Paul
...anyone have a solution on how to configure a deployed app to ignore/ skip the /Library/WebObjects/Extensions dir? TIA On May 21, 2009, at 11:10 AM, Josh Paul wrote: It's cruft from currently deployed instances. On May 21, 2009, at 11:03 AM, David Avendasora wrote: Hi Josh, On May 21, 2

Re: WOAction returning current page instead of next page.

2009-05-21 Thread Phillip Hutchings
On Fri, May 22, 2009 at 10:32, Chuck Hill wrote: > > On May 21, 2009, at 3:22 PM, Phillip Hutchings wrote: > >> On Thu, May 21, 2009 at 14:17, Chuck Hill >> wrote: >>> >>> On May 20, 2009, at 4:13 PM, Phillip Hutchings wrote: >>> I'm having an interesting problem with a WO web application. >

Re: WOAction returning current page instead of next page.

2009-05-21 Thread Chuck Hill
On May 21, 2009, at 3:22 PM, Phillip Hutchings wrote: On Thu, May 21, 2009 at 14:17, Chuck Hill wrote: On May 20, 2009, at 4:13 PM, Phillip Hutchings wrote: I'm having an interesting problem with a WO web application. Sort of like "May you live in interesting times"? The application

Re: WOAction returning current page instead of next page.

2009-05-21 Thread Phillip Hutchings
On Thu, May 21, 2009 at 14:17, Chuck Hill wrote: > > On May 20, 2009, at 4:13 PM, Phillip Hutchings wrote: > >> I'm having an interesting problem with a WO web application. > > Sort of like "May you live in interesting times"? > > >> The application is stateful, and sometimes when submitting a for

Re: ERXEC.useSharedEditingContext

2009-05-21 Thread Dov Rosenberg
That is what we do for our wonder based apps You should leave the wonder setting to false Dov Sent from my iPhone On May 21, 2009, at 6:15 PM, "Amedeo Mantica" wrote: my code in Application.java EOSharedEditingContext sharedContext = EOSharedEditingContext.defaultSharedEditingContext

Re: lock operation locked more than one row issue!

2009-05-21 Thread Chuck Hill
Are you using Vertical Inheritance? On May 21, 2009, at 3:12 PM, Fred Wells wrote: This has bewildered me for two days. First not exactly the most standard set up running on windows wo 5.2.3, sql server 2000 using the jtds sql driver. On a certain table in my db I keep getting the "lock ope

Re: Question on fetching theory

2009-05-21 Thread Chuck Hill
On May 21, 2009, at 2:32 PM, Dan Grec wrote: On 21-May-09, at 12:00 PM, Chuck Hill wrote: On May 21, 2009, at 12:57 AM, Gustavo Adolfo Pizano wrote: Aha, so, if I use the Cache in memory property in the EO, the framework will not fetch all the time, unless I tell the EO to flushCachePr

Re: ERXEC.useSharedEditingContext

2009-05-21 Thread Amedeo Mantica
my code in Application.java EOSharedEditingContext sharedContext = EOSharedEditingContext.defaultSharedEditingContext(); EOFetchSpecification fetchSpec; fetchSpec = new EOFetchSpecification("CFArticle",null,null); articlesArray = sharedContext.objectsWithFetchSpecification(fetchSpec); in the

lock operation locked more than one row issue!

2009-05-21 Thread Fred Wells
This has bewildered me for two days.First not exactly the most standard set up  running on windows wo 5.2.3, sql server 2000 using the jtds sql driver.On a certain table in my db I keep getting the "lock operation locked more than one row" what I do know is that when it tries the Lock statement it

Re: JavaFSAdaptor and non-working EO methods

2009-05-21 Thread Joe Little
Ok. Model purports url to be of type String, and its java.net.URL. I hacked around that. Still can't get it to avoid trying to set length and other attributes on update. I'm thinking the workaround approach is to never update a given row (ie file), but to delete/insert the object each time into the

Re: ERXEC.useSharedEditingContext

2009-05-21 Thread Dov Rosenberg
You have to manually do a local instance of any object that was fetched using a shared EC otherwise if you try doing an update - bad things happen. We have used the shared EC for several years but it definitely has its share of gotchas. Dov On 5/21/09 4:35 PM, "Mike Schrag" wrote: >> Maybe th

Re: Question on fetching theory

2009-05-21 Thread Dan Grec
On 21-May-09, at 12:00 PM, Chuck Hill wrote: On May 21, 2009, at 12:57 AM, Gustavo Adolfo Pizano wrote: Aha, so, if I use the Cache in memory property in the EO, the framework will not fetch all the time, unless I tell the EO to flushCacheProcessor, and do the fetch again?.. I read the

Re: Frustrated by WO / Eclipse / WOLips :(

2009-05-21 Thread Miguel Angel Torres Avila
Hi I have just bought a new MacBook two weeks ago and installed Eclipse / WebObjects / WOLips with no problems. My combination Mac osx developer tools from MacBoook's DVD's (WebObjects 5.4) Eclipse http://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/ganymede/S

Re: Frustrated by WO / Eclipse / WOLips :(

2009-05-21 Thread David Holt
Hi Andrew, It sounds like you already have too many variables to figure out what went wrong where. I know that I experienced the same frustration when I bought a new MacBook Pro. I have yet to get Eclipse/WOLips working on a system that was migrated from my old computer. I started a brand

Re: Frustrated by WO / Eclipse / WOLips :(

2009-05-21 Thread Kantala, Dmytro R.
Double check your web browser settings in Eclipse. Go to Eclipse -> Preferences. Under General / Web Browser. Check the settings there. If Safari is your default web browser, make sure the ³Use external Web browser² is marked and check ³Default system Web browser² The options should be pretty

Re: JavaFSAdaptor and non-working EO methods

2009-05-21 Thread Joe Little
Taking the url class out of the model (no code generation for FSItem or FSFile), I got a different error: [2009-5-21 14:2:4 PDT] : Exception occurred while handling request: java.lang.IllegalStateException: cannot update read-only key 'length' on object:{values = {isAbsolute = true; path = "/tmp/

Re: Frustrated by WO / Eclipse / WOLips :(

2009-05-21 Thread Chuck Hill
On May 21, 2009, at 1:44 PM, Andrew Satori wrote: Adding to the frustration, having finally gotten a new WO app to build, and try to run, rather than come up in Safari, it attempts to load the 'Web Sevices Assistant'. This feels like the dark ages of setting up Slackware Linux from 30 s

Re: Frustrated by WO / Eclipse / WOLips :(

2009-05-21 Thread Andrew Satori
On May 21, 2009, at 4:08 PM, Chuck Hill wrote: On May 21, 2009, at 1:06 PM, Andrew Satori wrote: The file that Joe Little sent is what was missing. Chuck Adding to the frustration, having finally gotten a new WO app to build, and try to run, rather than come up in Safari, it attempt

Re: JavaFSAdaptor and non-working EO methods

2009-05-21 Thread Joe Little
So, I'm stuck whenever I make any attempt to update an EO via this adaptor. The first creation + add content works, but the second attempt upon reading the file does work: FSFile myFile; NSData sampleData = new NSData("Test Text\n"); EOEditingContex

Re: ERXEC.useSharedEditingContext

2009-05-21 Thread Mike Schrag
Maybe the property is controlling the setting of the shared editing context when you create a new EC like EOEditingContext ec = new EOEditingContext(); If (project wonder property = false){ Ec.setSharedEditingContext(null); } yes .. it is doing this ... If your app uses the shared editing

Re: ERXEC.useSharedEditingContext

2009-05-21 Thread Dov Rosenberg
Maybe the property is controlling the setting of the shared editing context when you create a new EC like EOEditingContext ec = new EOEditingContext(); If (project wonder property = false){ Ec.setSharedEditingContext(null); } If your app uses the shared editing context you probably aren't ge

Re: Frustrated by WO / Eclipse / WOLips :(

2009-05-21 Thread Andrew Satori
On May 21, 2009, at 4:08 PM, Chuck Hill wrote: On May 21, 2009, at 1:06 PM, Andrew Satori wrote: On May 21, 2009, at 4:00 PM, Chuck Hill wrote: On May 21, 2009, at 12:46 PM, Andrew Satori wrote: Alright, so I am not an 'old school' WO dev. I have used it for a few years now for sever

Re: Oracle ojdbc5.jar file

2009-05-21 Thread Don Lindsay
You are trying otn.oracle.com? Don On May 19, 2009, at 11:50 AM, Sherry Tirko wrote: I was wondering if someone could email me this driver or point me to a place to download it. I've been trying to download it from the Oracle site with no luck. It's giving me a 404 error. _

Re: Frustrated by WO / Eclipse / WOLips :(

2009-05-21 Thread Chuck Hill
On May 21, 2009, at 1:06 PM, Andrew Satori wrote: On May 21, 2009, at 4:00 PM, Chuck Hill wrote: On May 21, 2009, at 12:46 PM, Andrew Satori wrote: Alright, so I am not an 'old school' WO dev. I have used it for a few years now for several projects and overall I really like the platfo

Re: Frustrated by WO / Eclipse / WOLips :(

2009-05-21 Thread Andrew Satori
On May 21, 2009, at 4:00 PM, Chuck Hill wrote: On May 21, 2009, at 12:46 PM, Andrew Satori wrote: Alright, so I am not an 'old school' WO dev. I have used it for a few years now for several projects and overall I really like the platform. That said, I am so frustrated by the tools right

Re: Frustrated by WO / Eclipse / WOLips :(

2009-05-21 Thread Andrew Lindesay
Hello Andrew; I know those teething situations are quite a drain on ones patience. Where are you physically situated? If you are somewhere with some other WebObjects experts around, it may pay to try to get a few hours of time from somebody more experienced to get things setup correctly.

Re: Frustrated by WO / Eclipse / WOLips :(

2009-05-21 Thread Chuck Hill
On May 21, 2009, at 12:46 PM, Andrew Satori wrote: Alright, so I am not an 'old school' WO dev. I have used it for a few years now for several projects and overall I really like the platform. That said, I am so frustrated by the tools right now, I am about to throw the whole platform in

Re: Frustrated by WO / Eclipse / WOLips :(

2009-05-21 Thread Joe Little
On Thu, May 21, 2009 at 12:46 PM, Andrew Satori wrote: > Alright, so I am not an 'old school' WO dev.  I have used it for a few years > now for several projects and overall I really like the platform.  That said, > I am so frustrated by the tools right now, I am about to throw the whole > platform

Re: Question on fetching theory

2009-05-21 Thread Gustavo Adolfo Pizano
LOL ok, Im using a NSdictionary storing the EOglobalIDs of the EO I have fetched related with their groups,.. so then I just ask the EC for those objects. G On May 21, 2009, at 9:12 PM, Mike Schrag wrote: Yeah, Cache in Memory has a (completely stupid) behavior that if you make any cha

Frustrated by WO / Eclipse / WOLips :(

2009-05-21 Thread Andrew Satori
Alright, so I am not an 'old school' WO dev. I have used it for a few years now for several projects and overall I really like the platform. That said, I am so frustrated by the tools right now, I am about to throw the whole platform in the trash bin. Up until about 3 weeks ago, I was man

Re: ERXEC.useSharedEditingContext

2009-05-21 Thread Mike Schrag
I'm surprised your app works, actually ... I'm pretty sure that setting kills the SEC completely so there's no SEC hanging off of the ERXEC after it's created. I guess maybe that code doesn't work as expected :) ms On May 21, 2009, at 3:11 PM, Amedeo Mantica wrote: Hi I use shared EOin

Re: Question on fetching theory

2009-05-21 Thread Mike Schrag
Yeah, Cache in Memory has a (completely stupid) behavior that if you make any change to an EO in the cache, it throws away the entire freaking cache. Remind me to put this on my to-be-killed list for future WO versions. ms On May 21, 2009, at 2:00 PM, Chuck Hill wrote: On May 21, 2009,

Re: ERXEC.useSharedEditingContext

2009-05-21 Thread Amedeo Mantica
Hi I use shared EOin my app, but I have that property set to off... My app works fine,... Ehat is the advanted to turn it on? On 21/mag/09, at 20:01, Chuck Hill wrote: On May 21, 2009, at 2:44 AM, Amedeo Mantica wrote: Hello, my application ( Winder app ) use shared editing context, now

Re: JavaFSAdaptor and non-working EO methods

2009-05-21 Thread Joe Little
Still not resolved are the issues that Chuck and are are trying to address, but here's the diff that at least gets it to NSData and allows content to be updated/inserted. Other stuff in the takeValueFor is breaking, but nothing else is presently read-write. On Thu, May 21, 2009 at 10:04 AM, Joe

Re: self-contained deployment

2009-05-21 Thread Josh Paul
It's cruft from currently deployed instances. On May 21, 2009, at 11:03 AM, David Avendasora wrote: Hi Josh, On May 21, 2009, at 1:54 PM, Josh Paul wrote: I'm attempting to deploy a .woa as a completely self-contained app. To do so, I've embedded the required .jar files from the dev machi

Re: self-contained deployment

2009-05-21 Thread David Avendasora
Hi Josh, On May 21, 2009, at 1:54 PM, Josh Paul wrote: I'm attempting to deploy a .woa as a completely self-contained app. To do so, I've embedded the required .jar files from the dev machine's WebObjects/Extensions directory to the app's Contents/ Extensions directory. I then changed the w

Re: ERXEC.useSharedEditingContext

2009-05-21 Thread Chuck Hill
On May 21, 2009, at 2:44 AM, Amedeo Mantica wrote: Hello, my application ( Winder app ) use shared editing context, now I have noticed that there is a property called er.extensions.ERXEC.useSharedEditingContext=false Now my App seem to be working fine, what is the purpose of this property

Re: Question on fetching theory

2009-05-21 Thread Chuck Hill
On May 21, 2009, at 12:57 AM, Gustavo Adolfo Pizano wrote: Aha, so, if I use the Cache in memory property in the EO, the framework will not fetch all the time, unless I tell the EO to flushCacheProcessor, and do the fetch again?.. I read the documentation about this method after have read

self-contained deployment

2009-05-21 Thread Josh Paul
I'm attempting to deploy a .woa as a completely self-contained app. To do so, I've embedded the required .jar files from the dev machine's WebObjects/Extensions directory to the app's Contents/Extensions directory. I then changed the wo.extensions property to point to the 'new' extensions d

Re: JavaFSAdaptor and non-working EO methods

2009-05-21 Thread Joe Little
On Thu, May 21, 2009 at 7:39 AM, Anjo Krank wrote: > > Am 20.05.2009 um 22:23 schrieb Chuck Hill: > > It's been ages (6years+) since I tried to create a simple D2W app from > that > code, but AFAIR, I had no trouble writing to a file. The only downside > then > was that you don

Re: JavaFSAdaptor and non-working EO methods

2009-05-21 Thread Joe Little
On Wed, May 20, 2009 at 1:23 PM, Chuck Hill wrote: > Sounds like EOF is confused as to which entity/class it has.  Duplicated > primary keys perhaps?  Try adding some logging as below. > I also had it list the output at the end of each saveChanges() as well as right before the second saveChange (

Re: ANT build

2009-05-21 Thread Amedeo Mantica
I have the default build.xml it works file if i do the standard build, but how to get the split install build? Amedeo On 21/mag/09, at 14:36, David Avendasora wrote: Is this a customized build.xml file? The normal WO Application build.xml file contains the following at the top:

Re: JavaFSAdaptor and non-working EO methods

2009-05-21 Thread Anjo Krank
Am 20.05.2009 um 22:23 schrieb Chuck Hill: It's been ages (6years+) since I tried to create a simple D2W app from that code, but AFAIR, I had no trouble writing to a file. The only downside then was that you don't have working rollback. So I may have hacked the thing a bit, way back when.

Re: JavaFSAdaptor and non-working EO methods

2009-05-21 Thread Chuck Hill
Sounds like EOF is confused as to which entity/class it has. Duplicated primary keys perhaps? Try adding some logging as below. On May 20, 2009, at 12:57 PM, Joe Little wrote: On Wed, May 20, 2009 at 11:32 AM, Joe Little wrote: On Wed, May 20, 2009 at 11:26 AM, Anjo Krank wrote: One c

Re: ANT build

2009-05-21 Thread David Avendasora
Is this a customized build.xml file? The normal WO Application build.xml file contains the following at the top: That should define the ${dest.dir} variable for you. Da

ANT build

2009-05-21 Thread Amedeo Mantica
just a question if I try to do package build i get this error BUILD FAILED /Users/Shared/amedeomantica/Eclipse/ConfindustriaNet/build.xml:59: / Users/Shared/amedeomantica/Eclipse/ConfindustriaNet/${dest.dir} not found. Now surely I'm missing a parameter, but I don't know where to set it...

Security control

2009-05-21 Thread Frank Stock
Hi, At the login of my WO-app, I want to know the identity of who is entering in the system. So now I have a fingerprint-control-system from Eikon to do some testing. Does anyone have some information (or where to look) on how to implement a digital-signature in a web-application (WO) Tha

ERXEC.useSharedEditingContext

2009-05-21 Thread Amedeo Mantica
Hello, my application ( Winder app ) use shared editing context, now I have noticed that there is a property called er.extensions.ERXEC.useSharedEditingContext=false Now my App seem to be working fine, what is the purpose of this property? Regards Amedeo ___

Re: compacting html, whitespaces

2009-05-21 Thread Patrick Middleton
Back in the WO451 days I overrode Application.handleRequest to do some very simple HTML parsing to remove excess whitespace while remaining aware of comments, tags and the like. We used it for some years but abandoned it; it ate CPU, and in terms of the time for a request/response cycle t

Re: Question on fetching theory

2009-05-21 Thread Gustavo Adolfo Pizano
Aha, so, if I use the Cache in memory property in the EO, the framework will not fetch all the time, unless I tell the EO to flushCacheProcessor, and do the fetch again?.. I read the documentation about this method after have read and thought in implementing a Proxy Cache.. which I impleme