Re: Zombies and Dead WOAs... Part Two..

2008-06-26 Thread Pierce T. Wetter III
I am currently having issues with instances "gumming up" and seemingly deadlocking and I also noticing lots of Zombie Java processes being created after an application restarts. So my questions are really two fold.. Firstly, is it possible to attach Eclipse as a debugger to a remote runnin

Re: Zombies and Dead WOAs... Part Two..

2008-06-26 Thread Chuck Hill
On Jun 26, 2008, at 9:22 PM, John Lennard wrote: Okay, So I will try this again, having been bested by my mail program :-/ I restrained myself from poking fun at you. :-P I am currently having issues with instances "gumming up" and seemingly deadlocking and I also noticing lots of Zombie

Zombies and Dead WOAs... Part Two..

2008-06-26 Thread John Lennard
Okay, So I will try this again, having been bested by my mail program :-/ I am currently having issues with instances "gumming up" and seemingly deadlocking and I also noticing lots of Zombie Java processes being created after an application restarts. So my questions are really two fold..

Zombie instance conundrum.

2008-06-26 Thread John Lennard
Hi, I am finding my self in a bit of a conundrum ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mail

Re: context().hasSession() returns false... then true?

2008-06-26 Thread Rams
Yes, the application has a login with the logged in user entity stored in the session. I do have an error in the log file, although I don't know what it means... Jun 26, 2008 6:05:13 PM org.apache.catalina.core.StandardContext processTlds SEVERE: Error reading tld listeners javax.servlet

Re: context().hasSession() returns false... then true?

2008-06-26 Thread Don Lindsay
Hello; Are there any errors in your catalina.out or localhost_%DATETIME%.log files? Is this an application that requires a user to login? Don Sorry this was supposed to apply to this message not Wonder/Tomcat Documentation. Don On Jun 26, 2008, at 7:21 PM, Rams wrote: Hi Everyone...

Re: Wonder/Tomcat Deployment

2008-06-26 Thread Don Lindsay
Hello; Are there any errors in your catalina.out or localhost_%DATETIME%.log files? Is this an application that requires a user to login? Don On Jun 26, 2008, at 3:10 PM, Rams wrote: Hi everybody, I'm testing deployment of an app on Tomcat with a WAR file. I am using WO 5.3.3, Project

Re: move from using EO_PK_TABLE to OpenBase plugin

2008-06-26 Thread Shelley Eitzen
Thanks, but still no go. I have completed Amedeo suggestion, but still I get the same fatal exception. [2008-06-27 09:08:35 CST] A fatal exception occurred: ERXExtensions have not been initialized. Please report the classpath and the rest of the bundles to the Wonder mailing list: Remaining fra

Re: Maven

2008-06-26 Thread Kazutaka KAMIYA
Hello, I tried below wiki and I could build .woa. http://wiki.objectstyle.org/confluence/display/WO/Apple+Maven+Support+and+Nightly+Builds but that .woa could not launch. Are there any problem WOBootstrap.jar of maven2? (.woa launched correctly after I changed WOBootstrap.jar from other

context().hasSession() returns false... then true?

2008-06-26 Thread Rams
Hi Everyone... I have an app deployed on Tomcat 6.0.16 and it appears that context().hasSession() is failing to produce reliable results. In my Main WO I have: public Boolean authenticated() { return (context().hasSession() && session().valueForKey(User.ENTITY_NAME.toLowerCase(

Re: Disable displaying contents of WOComponent

2008-06-26 Thread Don Lindsay
Hello; I show and hide, as well as enable and disable components within my applications.Using the conditional in #2 works flawlessly for showing/hiding components the user should not have access to view. As suggested, if you do not like seeing the conditionals in your code, create

Re: [OT] Objective-c library that would resemble EO talking to SQLite

2008-06-26 Thread Lon Varscsak
You can also look at AJRDatabase ( http://sourceforge.net/projects/ajrdatabase/) which is an opensource (Objective-C) clone of EOF. Last I looked it's pretty thorough. They do have a SQLite adaptor. Lon On Thu, Jun 26, 2008 at 3:14 PM, Paul Lynch <[EMAIL PROTECTED]> wrote: > This doesn't quite

Re: [OT] Objective-c library that would resemble EO talking to SQLite

2008-06-26 Thread Paul Lynch
This doesn't quite resemble EO, but you might take a look at QuickLite. http://www.webbotech.com/ I'd describe it as being loosely at JDBC level - probably better than most likely quick hacks, but a long way from Enterprise Objects. I have used it in an app that had to run on pre-Core Data

Re: Disable displaying contents of WOComponent

2008-06-26 Thread Lachlan Deck
On 27/06/2008, at 12:38 AM, Freddie Tilley wrote: ((WOComponentReference)el)._contentElement = null; You're toying with private data. So you should expect strange behaviour unless you reinstate the component behaviour via similar custom code. You've got a couple of options: 1) public cl

Re: Problems deploying app on Leopard server

2008-06-26 Thread Art Isbell
On Jun 26, 2008, at 4:26 AM, Yves Selliez wrote: I don’t know if that may help you, but what is sure is that you should modify your woapp with this set of permission : chown -R appserver:appserveradm yourapp.woa chmod -R 755 yourapp.woa For me the group “appserverusr” (as written somewhere)

Re: Maven

2008-06-26 Thread Lachlan Deck
You might also need to customise the perspective to reveal that as a standard option from the New menu. Otherwise click on other... On 26/06/2008, at 7:02 AM, Jake MacMullin wrote: Make sure you installed the required Maven plugin before installing the Apple plugin. On 25/06/2008, at 10:23

Re: [OT] Objective-c library that would resemble EO talking to SQLite

2008-06-26 Thread Miguel Arroz
Hi! I may be missing the point, but if it's an WO app, why do you need to care about all that stuff? You just need Safari... Yours Miguel Arroz On 2008/06/26, at 19:39, Baiss Eric Magnusson wrote: I have been implementing my WebObjects based Track-Your-Finances on the iPhone, still a

Re: Problems deploying app on Leopard server

2008-06-26 Thread Xia, Wen
I tried the command, the host name matches the reverse DNS lookup. On 6/26/08 1:43 PM, "Pascal Robert" <[EMAIL PROTECTED]> wrote: > To do a reserve DNS (IP -> name) lookup, open Terminal and type : > > host 192.168.11.21 > > And to check forward DNS (name -> IP): > > host budgetdevxs.dof.fina

Re: Class cast exception thrown in in EODistributionContext

2008-06-26 Thread Florijan Stamenkovic
Daryl, Dave, This is the Entity... It is a somewhat tricky one, but I think I got it right: StructureItem.plist Description: Binary data Let me know if clarification of anything in it is necessary. I am doing this on 5.3, but should be able to test it against 5.4 sometime soon... F

Re: Problems deploying app on Leopard server

2008-06-26 Thread Pascal Robert
To do a reserve DNS (IP -> name) lookup, open Terminal and type : host 192.168.11.21 And to check forward DNS (name -> IP): host budgetdevxs.dof.finance On the deployment machine, in Java Monitor -> Hosts tab, I got the host name as "budgetdevxs.dof.finance" with IP address

Re: Problems deploying app on Leopard server

2008-06-26 Thread Xia, Wen
On the deployment machine, in Java Monitor -> Hosts tab, I got the host name as "budgetdevxs.dof.finance" with IP address 192.168.11.21. When I ran the application from command line on the server with -WOHost budgetdevxs.dof.finance, the URL for web server connect is: http://192.168.11.21/cgi-bin/

Re: Problems deploying app on Leopard server

2008-06-26 Thread Chuck Hill
What host name are you using? For a dev machine, this should be localhost. For deployment it should be the same as what hostname returns. I think. It should match the reverse DNS lookup On Jun 26, 2008, at 1:14 PM, Xia, Wen wrote: Thank you, Chuck. I got the host name in wotaskd conf

Re: Problems deploying app on Leopard server

2008-06-26 Thread Xia, Wen
Thank you, Chuck. I got the host name in wotaskd configuration and used it as -WOHost when launching the app, but still the same error occurred. I wonder what else I should check? On 6/26/08 11:59 AM, "Chuck Hill" <[EMAIL PROTECTED]> wrote: > > On Jun 26, 2008, at 11:35 AM, Xia, Wen wrote: >

Re: Wonder/Tomcat Deployment

2008-06-26 Thread Alan Zebchuk
The ERXServletAdaptor is in the ERJars frameworks in the erxservletadaptor.jar file. Alan On 26-Jun-08, at 10:10 PM, Rams wrote: Hi everybody, I'm testing deployment of an app on Tomcat with a WAR file. I am using WO 5.3.3, Project Wonder, Tomcat 6.0.16. After discovering that I neede

Re: Problems deploying app on Leopard server

2008-06-26 Thread David Avendasora
It may be filtered out though. If you are not seeing it, WOLips is likely filtering it out so you don't see it (as you really _shouldn't_ have to mess with it). See the Wiki here for instructions on changing WOLips' filtering settings: http://wiki.objectstyle.org/confluence/display/WOL/WO

[solved]Re: No resources when setting a framework project dependency

2008-06-26 Thread Tonny Staunsbrink
Answering my own post but maybe someone will find it in the archive and find it usefull one day :-) I turned out that using a maven like project layout and not caching the include patterns did no go well together. The resources was just not copied into the build directory where Eclipse was running

Wonder/Tomcat Deployment

2008-06-26 Thread Rams
Hi everybody, I'm testing deployment of an app on Tomcat with a WAR file. I am using WO 5.3.3, Project Wonder, Tomcat 6.0.16. After discovering that I needed to include the JavaWOJSPServlet.jar in my build path, I was able to run the app on the server. However, I'm getting some wonkine

Re: Class cast exception thrown in in EODistributionContext

2008-06-26 Thread David Avendasora
Flor, This sounds very familiar to me, but I can't remember exactly. Can you send me the .plist for the Entity from your model? Dave On Jun 26, 2008, at 2:45 PM, Florijan Stamenkovic wrote: Hi all, I get a class cast exception on the server when I try to save a certain type of EOs. Wit

Re: Class cast exception thrown in in EODistributionContext

2008-06-26 Thread Daryl Lee
Is this with WO 5.4.x? What does the EOClassDescription look like for your EO's? Are all the attribute keys strings? On Jun 26, 2008, at 11:45 AM, Florijan Stamenkovic wrote: Hi all, I get a class cast exception on the server when I try to save a certain type of EOs. With other types I

Re: Problems deploying app on Leopard server

2008-06-26 Thread Chuck Hill
On Jun 26, 2008, at 11:35 AM, Xia, Wen wrote: Thank you both for your help. But where is build.properties? It should be in the top level of your project. In build.xml, it looks for it in my home directory, but I can't find it there. Is it generated/updated when I compiled the applicatio

Class cast exception thrown in in EODistributionContext

2008-06-26 Thread Florijan Stamenkovic
Hi all, I get a class cast exception on the server when I try to save a certain type of EOs. With other types I do not have this problem. This is a JavaClient issue, as you can see in the stack trace below. I've added a breakpoint in the client app at a point where I am done with the EO,

[OT] Objective-c library that would resemble EO talking to SQLite

2008-06-26 Thread Baiss Eric Magnusson
I have been implementing my WebObjects based Track-Your-Finances on the iPhone, still at the early phases. I assume I'm not violating the NDA below... On the iPhone we have SQLite . In a sample app, "they", have written an objective-c class that, well from t

Re: Problems deploying app on Leopard server

2008-06-26 Thread Xia, Wen
Thank you, Yves. But doing this does not solve the problem. On 6/26/08 7:26 AM, "Yves Selliez" <[EMAIL PROTECTED]> wrote: > Hi Wen, > > I also encountered a lot of problem deploying my apps on a very new Leopard > server. Strangely, I had no problem at all with another Leopard server I set > u

Re: Problems deploying app on Leopard server

2008-06-26 Thread Xia, Wen
Thank you both for your help. But where is build.properties? In build.xml, it looks for it in my home directory, but I can't find it there. Is it generated/updated when I compiled the application? I changed the principal class in the Properties for the project, and now it launches the applicati

Re: Question about WOImage binding value

2008-06-26 Thread Lon Varscsak
Does getPictureImage return a WOElement? Anyway, I've never used that binding, but I have used the "data" binding and you can return an NSData (also look at "key"). Lon On Wed, Jun 25, 2008 at 8:21 PM, Ren, Kevin <[EMAIL PROTECTED]> wrote: > > Hi, > > Actually it's validation error for my old ap

Re: [Annoucement] New WOLips Java Client / Direct To Java Client Tutorial

2008-06-26 Thread David Avendasora
Good point Flor. I have updated the Wiki to reflect that you can create a JC app without using WebStart. At some point I'll do a tutorial on how to add a Java Client to an existing application Dave On Jun 25, 2008, at 5:41 PM, Florijan Stamenkovic wrote: Dave, I have not actually done t

Re: Disable displaying contents of WOComponent

2008-06-26 Thread Freddie Tilley
I'm currently testing with this code, but the problem is once the elements have been removed, they do not return until I restart the webobjects app. There must be some easier way of doing this Freddie Tilley Hello, I'm trying to build a permission system that will disable the contents of t

Re: Problems deploying app on Leopard server

2008-06-26 Thread Yves Selliez
Hi Wen, I also encountered a lot of problem deploying my apps on a very new Leopard server. Strangely, I had no problem at all with another Leopard server I set up just one month ago. I don¹t know if that may help you, but what is sure is that you should modify your woapp with this set of permiss

Re: [Annoucement] New WOLips Java Client / Direct To Java Client Tutorial

2008-06-26 Thread David Avendasora
Yes, using two separate projects in some cases makes more sense, it certainly makes the separation between client and server more apparent. Using WebStart is how Xcode used to setup a JC project so it's how I started out, and it can be much easier to get started when you only have to mainta

Re: Problems deploying app on Leopard server

2008-06-26 Thread Mike Schrag
This is the problem ... Or rather, your build.properties is probably the root cause. This variable should have been resolved at the time build.properties was generated. Isn't that changed whenever you change the principal class in the Properties for that project? Yep. ms ___

Re: WOLips Installer

2008-06-26 Thread Jeremy Matthews
+1 ... Most folks using the installers are either new or inexperienced...or lazy, like me, and want things to more or less "just work". Introducing these instabilities can be a _huge_ turn-off to (potential) developerswhen we were mucking with that idea we had quite a bit of negative

Re: [Annoucement] New WOLips Java Client / Direct To Java Client Tutorial

2008-06-26 Thread Pierre Bernard
Interesting! I used to create 2 distinct projects: one pretty plain WOLips project for the server and on non-WOLips Java project for the client. If you care to have a look at it, I'm sure I can dig up one such project. Best, Pierre Bernard Houdah Software s.à r.l. On 25 Jun 2008, at 16:46,

Re: Disable displaying contents of WOComponent

2008-06-26 Thread Freddie Tilley
On 26 jun 2008, at 12:17, Thomas wrote: Why not just put a conditional inside the wrapper around the component content? No code is required. I want to allow subclasses, with the permissions working without requiring a conditional Freddie Tilley Regards Thomas On 26/06/2008, at 7:49 PM

Re: move from using EO_PK_TABLE to OpenBase plugin

2008-06-26 Thread Amedeo Mantica
Hello, if you have put plugin: com.webobjects.jdbcadaptor.OpenBasePKPlugIn in your model, then you should NOT add JDBCPlugIn .setPlugInNameForSubprotocol ("com.webobjects.jdbcadaptor.OpenBasePKPlugIn" in the Application constructor (remove the unnecessary imports too) Hope this helps Regar

Re: Disable displaying contents of WOComponent

2008-06-26 Thread Thomas
Why not just put a conditional inside the wrapper around the component content? No code is required. Regards Thomas On 26/06/2008, at 7:49 PM, Freddie Tilley wrote: Hello, I'm trying to build a permission system that will disable the contents of the entire component. I guess normally I shou

Disable displaying contents of WOComponent

2008-06-26 Thread Freddie Tilley
Hello, I'm trying to build a permission system that will disable the contents of the entire component. I guess normally I should override appendToResponse and disable the writing of the component contents there. But the problem is if I have a wrapper in the component I still want to show the

Fred Wells is out of the office.

2008-06-26 Thread Fred Wells
I will be out of the office starting Thu 06/26/2008 and will not return until Mon 06/30/2008. I will respond to your message when I return. Disclaimer The information in this email and any attachments may contain propriet

move from using EO_PK_TABLE to OpenBase plugin

2008-06-26 Thread Shelley Eitzen
HI All, Webobjects 5.3 Xcode 2.2 Openbase 10 Project Wonder last updated approx April. I am trying to move from using EO_PK_TABLE to using OpenbasePKPlugin I have: 1) added the OpenbasePKPlugin framework to the application 2) added the following to the adapter settings in the model Driver: com