erxiframe example??

2010-08-26 Thread Theodore Petrosky
I am trying to use an erxiframe but can not find any examples of it usage. does anyone have an example? Ted ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com)

Wrong application class in classpath files

2010-08-26 Thread Pascal Robert
I'm trying to fix a problem with ERModernMoviesLook for the Hudson session. We are building ERModernMoviesDemo, but the app won't start because the ApplicationClass in UNIXClasspath.txt (and in MacOSClasspath.txt too) is : # ApplicationClass == Application when it should be : #

Re: Wrong application class in classpath files

2010-08-26 Thread Pascal Robert
Look like something is really wrong with that project. Frameworks are embedded but the classpath files referenced the frameworks in LOCALROOT and WOROOT instead of APPROOT. I'm trying to fix a problem with ERModernMoviesLook for the Hudson session. We are building ERModernMoviesDemo, but the

Re: Wrong application class in classpath files

2010-08-26 Thread Mike Schrag
My guess is that wonder builds don't use that value. grep for Application in the build folder and you'll probably find one. Sent from my iPhone On Aug 26, 2010, at 9:07 AM, Pascal Robert prob...@macti.ca wrote: I'm trying to fix a problem with ERModernMoviesLook for the Hudson session. We

Re: Wrong application class in classpath files

2010-08-26 Thread David LeBer
On 2010-08-26, at 9:16 AM, Mike Schrag wrote: My guess is that wonder builds don't use that value. grep for Application in the build folder and you'll probably find one. This entry in Build/build/build.xml is probably the culprit: target name=ERModernMoviesDemo.all antcall

Debugging db exception with Openbase and raw rows date type

2010-08-26 Thread William Hatch
I hope this is on topic enough; OB list seems to be dead. I've got a utility app using latest wo and wonder, openbase db, that performs raw fetches to then bulk export data in csv. Basically a simple data export/dumper thing. This had been working perfectly for a long time, but a recent run

Re: Wrong application class in classpath files

2010-08-26 Thread David Avendasora
I modified the build.XML file to be a normal build.XML file. Other than the projectName value, they are identical. Sent from my iPad On Aug 26, 2010, at 9:46 AM, David LeBer dleber_wo...@codeferous.com wrote: On 2010-08-26, at 9:16 AM, Mike Schrag wrote: My guess is that wonder builds

Re: Wrong application class in classpath files

2010-08-26 Thread David LeBer
On 2010-08-26, at 12:39 PM, David Avendasora wrote: I modified the build.XML file to be a normal build.XML file. Other than the projectName value, they are identical. Erm, which build xml file are we talking about? That entry below is from Wonder's global build.xml, found in

Re: Wrong application class in classpath files

2010-08-26 Thread David Avendasora
This project was exported out of Wonder, I then modified the project's build.XML file to match a normal one. Hudson is building this version, not trying to build it directly out of Wonder. The fact that it looks like it is using the Wonder build.XML file is part of what makes this so

Interacting from command line with wotaskd

2010-08-26 Thread Valerio Luccio
I usually start and stop my application using JavaMonitor. Is there a way to send signals to wotaskd from the command line without using JavaMonitor ? I tried kill -HUP, but despite having Auto Recover on it didn't restart. Other signals either had the same behaviour or didn't kill the app at

insertion on AjaxExpansion

2010-08-26 Thread Frank Stock
Hi All, I've been working for implementing the AccordionEffect for a few days now, without a decent result. So now I work with AjaxExpansion, but I want to add an effect but I can't find a working example. How do you specify the 'insertion'? Can someone give me a hint? Thanks, Frank Stock

Re: Interacting from command line with wotaskd

2010-08-26 Thread Johann Werner
Hi Valerio, you can access JavaMonitor via the command line. Look at the AdminAction class of Wonder's JavaMonitor to find all the methods you can easily trigger with curl or such sort of command. jw Am 26.08.2010 um 20:03 schrieb Valerio Luccio: I usually start and stop my application

Fwd: Having Troubles with JUnit

2010-08-26 Thread Johnny Miller
Still stuck. Here is the stack trace: java.lang.IllegalStateException: Adaptor com.webobjects.jdbcadaptor.jdbcadap...@35de7497 failed to provide new primary keys for entity 'HPPoster' at

ERXJDBCConnectionBroker Question

2010-08-26 Thread Dov Rosenberg
During some testing today I turned on support for connection pooling in my application using the ERXJDBCAdaptor and the ERXJDBCConnectionBroker. I could see the connections being used fine and all of the things that did fetches seemed to work without any issues. However when I tried doing

Re: Having Troubles with JUnit

2010-08-26 Thread Mike Schrag
It's using the default jdbc adaptor instead of your plugin. Make sure the plugin for your db is in your classpath. Sent from my iPhone On Aug 26, 2010, at 8:01 PM, Johnny Miller jlmil...@kahalawai.com wrote: Still stuck. Here is the stack trace: java.lang.IllegalStateException: Adaptor

Re: ERXJDBCConnectionBroker Question

2010-08-26 Thread Mike Schrag
Connection pooling won't really do anything for you because each stack is single threaded. You want object store coordinator pooling. Sent from my iPhone On Aug 26, 2010, at 8:45 PM, Dov Rosenberg drosenb...@inquira.com wrote: During some testing today I turned on support for connection

Re: Having Troubles with JUnit

2010-08-26 Thread Johnny Miller
Thanks for the help Mike. I have the mysql driver in the Libraries folder and I had added it to the classpath. Prior to receiving your email I decided to go for the scorched Earth policy to fix this as it's been going on for the better part of a day. So I moved my $workspace/.metadata folder

Re: Having Troubles with JUnit

2010-08-26 Thread Mike Schrag
Not the driver, the mysql plugin. Project metadata is in .classpath and .project. My guess is that you weren't linked to the mysqlplugin framework. Sent from my iPhone On Aug 26, 2010, at 9:14 PM, Johnny Miller jlmil...@kahalawai.com wrote: Thanks for the help Mike. I have the mysql driver

Re: Having Troubles with JUnit

2010-08-26 Thread Johnny Miller
Here is the .classpath file for the project. I have not changed the classpaths since I moved the .metadata folder. Maybe it was written over? Does the order they are written in matter? ?xml version=1.0 encoding=UTF-8? classpath classpathentry kind=src path=Sources/

Re: Having Troubles with JUnit

2010-08-26 Thread Mike Schrag
Looks reasonable ... Not sure what .metadata would impact for this issue. Sent from my iPhone On Aug 26, 2010, at 9:30 PM, Johnny Miller jlmil...@kahalawai.com wrote: Here is the .classpath file for the project. I have not changed the classpaths since I moved the .metadata folder. Maybe

Re: ERXJDBCConnectionBroker Question

2010-08-26 Thread Dov Rosenberg
Hmmm - I did a little jmeter test and definitely saw an improvement in page view performance and saw activity on multiple DB connections during the test. By simply adding the connection broker with a single OSC. If I set up object store pooling wont that increase issues with concurrency within my

Re: ERXJDBCConnectionBroker Question

2010-08-26 Thread Mike Schrag
With one osc you saw activity on multiple connections concurrently? I can't imagine that scenario has a happy ending. I don't even know how I would be possible given that all your db access should be behind a dbc lock. You might see use of multiple connections, but that would probably explain

Re: ERXJDBCConnectionBroker Question

2010-08-26 Thread Dov Rosenberg
Is it not a good idea to use the ERXJDBCAdaptor and ConnectionBroker together? I would have thought if I only used a single OSC it would have made sure that each transaction went to the correct connection. Should there only be a single db connection for each OSC? Thanks Dov Rosenberg On

Re: ERXJDBCConnectionBroker Question

2010-08-26 Thread Mike Schrag
I can't vouch for connectionbroker's accuracy of impl, but I would expect all your db access to be behind a single lock and therefore not benefit from multiple channels. Of course most of the people who might challenge my claims are probably drunk in Montreal right now. I'll check source later

Re: ERXJDBCConnectionBroker Question

2010-08-26 Thread Chuck Hill
On Aug 26, 2010, at 9:58 PM, Mike Schrag wrote: I can't vouch for connectionbroker's accuracy of impl, but I would expect all your db access to be behind a single lock and therefore not benefit from multiple channels. Of course most of the people who might challenge my claims are probably

Re: ERXJDBCConnectionBroker Question

2010-08-26 Thread Chuck Hill
I remember those docs. I think they are just wrong. Chuck On Aug 26, 2010, at 10:21 PM, Dov Rosenberg wrote: Looking thru some old EOF documentation (v5.2) I found - http://developer.apple.com/legacy/mac/library/documentation/WebObjects/Enterprise_Objects/EnterpriseObjects.pdf The

Re: ERXJDBCConnectionBroker Question

2010-08-26 Thread Mike Schrag
It's not wrong, I suppose, if you're doing direct custom access to the database. In that case, you would actually benefit from multiple database channels. But you're not going to benefit from EOF :) ms On Aug 26, 2010, at 11:55 PM, Chuck Hill wrote: I remember those docs. I think they are