OT: PHP Decryption

2010-06-24 Thread David Griffith
Hi all, I just wondered if any of you out there can, or know someone that can, decrypt some encrypted PHP code for which I don't have the encryption key. Kind regards, David. ___ Do not post admin requests to the list. They will be ignored.

Re: Eclipse/WOLips Strange Chinese Characters

2010-05-12 Thread David Griffith
to Eclipse, WOLips and BBEdit :) Regards, David. On May 12, 2010, at 8:29 PM, David Griffith wrote: Hi Ken, I think this may be the solution. If I try and open the file in BBEdit with UTF8 it says it's corrupted or badly formatted. If I leave it on auto-detect, I can re-save it as UTF8

Re: Eclipse/WOLips Strange Chinese Characters

2010-05-10 Thread David Griffith
/ directory Properties in Eclipse. On May 9, 2010, at 12:16 PM, David Griffith wrote: Hi all, In one of my apps that I've converted over to Eclipse, I am having trouble updating the HTML pages. I've noticed that on some of the pages I am getting two strange symbols as the first entries

Re: Eclipse/WOLips Strange Chinese Characters

2010-05-10 Thread David Griffith
Yeah, have already done all that and no difference. Regards, David. On 10 May 2010, at 18:07, Chuck Hill wrote: On May 9, 2010, at 11:38 PM, David Griffith wrote: Well I've checked this in the Properties for the project, where else can I set it? I haven't found any other points where

Eclipse/WOLips Strange Chinese Characters

2010-05-09 Thread David Griffith
Hi all, In one of my apps that I've converted over to Eclipse, I am having trouble updating the HTML pages. I've noticed that on some of the pages I am getting two strange symbols as the first entries in the HTML file. Then, if I click in some text and try to delete it letter by letter, I

Re: Eclipse/WOLips Strange Chinese Characters

2010-05-09 Thread David Griffith
the originals, they work fine until I edit them, then the same behaviour. It's crazy. Makes no sense to me. Regards, David. On May 9, 2010, at 9:16 PM, David Griffith wrote: Hi all, In one of my apps that I've converted over to Eclipse, I am having trouble updating the HTML pages. I've noticed

Support for foreign currency formats

2010-05-08 Thread David Griffith
changed the formatter, I haven't tried new ones as yet). Will this formatter cause them to be stored differently in the database also or will I have to convert the data also? Kind regards, David Griffith. ___ Do not post admin requests to the list

Re: secure binding

2010-05-04 Thread David Griffith
practice : one secure app and one non-secure app, or one app to switch secure/non-secure? Sorry for interruption and don't mean to hijack.. Cheers Cheong Hee - Original Message - From: David Griffith da...@infinityspain.com To: WebObjects-Dev Mailing List List webobjects-dev

secure binding

2010-05-03 Thread David Griffith
Hi all, When you click certain buttons on my website, I want a secure URL returned. I have set the secure=true binding and the page does get returned using the https:// url instead of http:// but I have a question. It's not so much of a problem as an inconsistency. If you go to the website

HTML Editing Eclipse/WOLips

2010-05-02 Thread David Griffith
Hi all, What is anyone using as a replacement for WOBuilder? I have some complex components that are not handled well by standard HTML editors (so far anyway). Just wondered if there is a general consensus on a good editor? I'm developing on Mac OS 10.6 Thanks, David.

Re: HTML Editing Eclipse/WOLips

2010-05-02 Thread David Griffith
Neitzer wrote: I use the WOLips component editor. As I have broken down all things to manageable subcomponents this works absolutely great. Guido On 2. May, 2010, at 16:23 , David Griffith wrote: Hi all, What is anyone using as a replacement for WOBuilder? I have some complex components

Re: UTF8 and ContentEncoding

2010-04-27 Thread David Griffith
); } On Nov 16, 2009, at 5:55 PM, David Griffith wrote: Yep, I have that in the header and still the same problem. It's one thing or the other. Either the values from the database display correctly on the page, but values added from forms do not display correctly on the page but as €, or values

Re: UTF8 and ContentEncoding

2010-04-27 Thread David Griffith
...). JR On 2010-04-27, at 5:25 PM, David Griffith wrote: Ok, I have finally found some time to convert over our apps to use Eclipse and I have something to report, which I hope will spark someone to have another idea on what could be causing this problem. Firstly, I was having this problem

ERXApplication

2010-04-26 Thread David Griffith
Hi all, I have two apps, both of which extend the ERXApplication from Wonder. In one, it appears to extend it properly, shows a load of info in the console when you run the app and then shows log output on the console when I use System.out.println() from within the Application class. On the

Re: ERXApplication

2010-04-26 Thread David Griffith
to the console. Regards, David. On Apr 26, 2010, at 4:00 PM, John Huss wrote: Check the logging level in your Properties file (Resources/Properties): log4j.rootLogger = INFO, A1 What is it? DEBUG, INFO, WARN, or ERROR? John On Mon, Apr 26, 2010 at 4:58 AM, David Griffith da...@infinityspain.com

Re: ERXApplication

2010-04-26 Thread David Griffith
, 2010 at 4:58 AM, David Griffith da...@infinityspain.com wrote: Hi all, I have two apps, both of which extend the ERXApplication from Wonder. In one, it appears to extend it properly, shows a load of info in the console when you run the app and then shows log output on the console when I use

Re: Installing WO 543 on Linux

2010-04-26 Thread David Griffith
the WebObjects and Wonder ones, won't change much then only the first upload will take a long time. Cheers, John On Mon, Nov 9, 2009 at 10:23 PM, David Griffith da...@infinityspain.com wrote: Hi John, Yes several people have suggested that, and it's probably what I will do in the end. The problem

Eclipse - Embedding Frameworks

2010-04-21 Thread David Griffith
Hi all, I know this is a basic question but I can't remember how to do it. If I want to embed the Wonder frameworks rather than just linking to them, how do I do it? I'm using Eclipse on Mac OS X. Thanks, David. ___ Do not post admin requests to

Re: Eclipse - Embedding Frameworks

2010-04-21 Thread David Griffith
or can you indicate which frameworks would come under which classification above? Thanks for the help, David. On Apr 21, 2010, at 1:43 PM, David LeBer wrote: On 2010-04-21, at 7:32 AM, David Griffith wrote: Hi all, I know this is a basic question but I can't remember how to do it. If I

Re: UTF8 and ContentEncoding

2009-11-16 Thread David Griffith
Yep, I have that in the header and still the same problem. It's one thing or the other. Either the values from the database display correctly on the page, but values added from forms do not display correctly on the page but as €, or values from the database display as '?' and values

Re: Cenos Linux

2009-11-16 Thread David Griffith
because :-) On Nov 15, 2009, at 3:51 PM, David Griffith wrote: Hi Kieran, I struggled with this for quite a while and in the end I downloaded, installed and am now using the pre-compiled adaptor for Apache 2.2.3 on CentOS 5. Works great. I never did manage to get the adaptor to complile

Re: Cenos Linux

2009-11-16 Thread David Griffith
. The instructions are not exact for centos filesystem layout, but the general procedure is as indicated on the wiki Regards, Kieran On Nov 16, 2009, at 11:57 AM, David Griffith wrote: Hi Kieran, Where did the WebObjects.la show up? I did actually run that command in the Adaptors dir as well

Re: Cenos Linux

2009-11-15 Thread David Griffith
Hi Kieran, I struggled with this for quite a while and in the end I downloaded, installed and am now using the pre-compiled adaptor for Apache 2.2.3 on CentOS 5. Works great. I never did manage to get the adaptor to complile. Same problems as you are having. Regards, David. On Nov 15,

Re: Cenos Linux

2009-11-15 Thread David Griffith
Just in case you don't have it, here's the link: http://webobjects.mdimension.com/wonder/mod_WebObjects/Apache2.2/centos/5/ On Nov 15, 2009, at 9:51 PM, David Griffith wrote: Hi Kieran, I struggled with this for quite a while and in the end I downloaded, installed and am now using the pre

Re: UTF-8 forms and database, still some special characters get through as things like #64257; Why?

2009-11-12 Thread David Griffith
Hi Johan, Interesting. I still haven't found a solution, been trying all sorts of things to try and determine exactly what is happening. Everything else displays fine on the page, but entering the € symbol on the form converts to strange characters when added to the display group that

Re: Installing WO 543 on Linux

2009-11-11 Thread David Griffith
(Gmail) wrote: afaik, you will need to define the ip address use in JavaMonitor. See if it help adding a line to /etc/hosts, e.g: 192.168.1.10yourserver.domain.com servername Cheers Cheong Hee - Original Message - From: David Griffith da...@infinityspain.com To: Cheong Hee

Re: UTF8 and ContentEncoding

2009-11-11 Thread David Griffith
Also, another thing to note, if I just type a € on the WOComponent page, it also displays as a '?' when the page loads. It seems like it's not applying the UTF-8 encoding. Regards, David. On Nov 11, 2009, at 1:30 PM, David Griffith wrote: meta http-equiv=Content-Type content=text/html

Re: UTF8 and ContentEncoding

2009-11-11 Thread David Griffith
Release = WebObjects 5.0; encoding = UTF-8; } I hope these help! Dave On Nov 11, 2009, at 7:33 AM, David Griffith wrote: Also, another thing to note, if I just type a € on the WOComponent page, it also displays as a '?' when the page loads. It seems like it's not applying the UTF-8

Re: UTF8 and ContentEncoding

2009-11-11 Thread David Griffith
: On Nov 11, 2009, at 8:38 AM, David Griffith wrote: I'm still using Xcode on this one at the moment That's a key bit of information that you might want to include in your first post next time. :-) Dave David Avendasora Senior Software Engineer K12, Inc. * WebObjects Documentation Wiki

Re: UTF8 and ContentEncoding

2009-11-11 Thread David Griffith
, David Griffith wrote: Doh. Sorry. I'm actually in the middle of changing over to Eclipse, but as I don't have a working deployment server for 5.4.3 as yet, I have to continue to develop with Xcode on OS X 10.4 for fixes in the meantime. Regards, David. On Nov 11, 2009, at 2:41 PM

Re: Installing WO 543 on Linux

2009-11-10 Thread David Griffith
, David. On Nov 10, 2009, at 10:12 AM, David Griffith wrote: Thanks Bogdan, that's where I went wrong. Doh. I put them in / Library/Frameworks instead of /Local/Library/Frameworks. Have another problem now, of course, but I'll look into it later and post if I can't sort it myself. Thanks

Re: Numbers Only in WOTextField

2009-11-10 Thread David Griffith
Hi Kieran, Where can I find that - I'd love to watch it Regards, David. On Nov 10, 2009, at 10:19 PM, Kieran Kelleher wrote: David, Easy way ... just make a custom stateless reusable component SmartNumberTextField.wo or whatever you want to call it. Make it binding compatible with

Re: Installing WO 543 on Linux

2009-11-10 Thread David Griffith
and running on port 56789. Host is 192.168.1.10. Adaptor URL is /app/WebObjects Where to start looking for clues? Regards, David. On Nov 10, 2009, at 10:19 PM, David Griffith wrote: By the way, can someone tell me what the DWOEnvClassPath is? It seems to be picked up from the $CLASSPATH env

Re: Installing WO 543 on Linux

2009-11-10 Thread David Griffith
the same result. No start, no log. Regards, David. On Nov 11, 2009, at 12:57 AM, Pascal Robert wrote: - David Griffith da...@infinityspain.com a écrit : Ok, I have managed to get the app up and running finally :-) At least, I can launch it from the command line on a specific port

Re: Installing WO 543 on Linux

2009-11-10 Thread David Griffith
Yep, no problem there. On Nov 11, 2009, at 1:04 AM, Pascal Robert wrote: - David Griffith da...@infinityspain.com a écrit : Hi Pascal, Yes, as I said, I can run it from the command line (as appserver) and it runs fine. I can access it on the specified port no problem. The app

Re: Installing WO 543 on Linux

2009-11-10 Thread David Griffith
/etc/hosts: # Do not remove the following line, or various programs # that require network functionality will fail. 127.0.0.1 localhost localhost.localdomain localhost ::1 localhost6.localdomain6 localhost6 Does there need to be a specific entry here for 192.168.1.10?

Re: Installing WO 543 on Linux

2009-11-09 Thread David Griffith
having to adjust the make file in too locations, force the gcc somewhere else. But Pascal is correct in that there are also prebuilt one's available. I'm thinking I should reconsider packaging though and perhaps remake my RPMs available at some point. On Sat, Nov 7, 2009 at 11:59 AM, David Griffith da

Re: Installing WO 543 on Linux

2009-11-09 Thread David Griffith
Zlatanov wrote: Hi David, JavaMonitor starts at port 56789 by default. If you haven't made any changes to that, http://192.168.1.10:56789/app/WebObjects/JavaMonitor should do the trick. Cheers On 9 Nov 2009, at 14:07, David Griffith wrote: Hi, Yeah I've installed the prebuilt one now

Re: Installing WO 543 on Linux

2009-11-09 Thread David Griffith
, 2009, at 1:22 PM, Bogdan Zlatanov wrote: Hi David, JavaMonitor starts at port 56789 by default. If you haven't made any changes to that, http://192.168.1.10:56789/app/WebObjects/JavaMonitor should do the trick. Cheers On 9 Nov 2009, at 14:07, David Griffith wrote: Hi, Yeah I've

Re: Installing WO 543 on Linux

2009-11-09 Thread David Griffith
Hi Pascal, That's obviously the issue then. I'll have to connect to it on the port first and add it within JavaMonitor. I'll try the scripts and hopefully that will sort it! Thanks for you help, David. On Nov 9, 2009, at 2:36 PM, Pascal Robert wrote: Le 09-11-09 à 07:35, David Griffith

Re: Installing WO 543 on Linux

2009-11-09 Thread David Griffith
, 2009, at 1:22 PM, Bogdan Zlatanov wrote: Hi David, JavaMonitor starts at port 56789 by default. If you haven't made any changes to that, http://192.168.1.10:56789/app/WebObjects/JavaMonitor should do the trick. Cheers On 9 Nov 2009, at 14:07, David Griffith wrote: Hi, Yeah I've

Re: Installing WO 543 on Linux

2009-11-09 Thread David Griffith
. WebObjectsAlias /Apps/WebObjects - John On Mon, Nov 9, 2009 at 12:35 PM, David Griffith da...@infinityspain.com wrote: Hi, Thanks for that. I didn't change the port and I guess it would probably connect on that, but I am trying to do it through Apache without any specified port. I don't have

Re: Installing WO 543 on Linux

2009-11-09 Thread David Griffith
Nov 2009, at 14:07, David Griffith wrote: Hi, Yeah I've installed the prebuilt one now and I'm trying to get wotaskd and JavaMonitor to load on startup but no idea how. I've used some of the script that I've found on wiki.objectstyle, have chmod +x them, put them in init.d and created

Re: Installing WO 543 on Linux

2009-11-09 Thread David Griffith
it to run at level 2 as well. - John On Mon, Nov 9, 2009 at 2:30 PM, David Griffith da...@infinityspain.com wrote: Immediately after reboot: root 2764 0.0 0.1 3916 664 pts/0R+ 17:29 0:00 grep java Regards, David. On Nov 9, 2009, at 3:23 PM, Pascal Robert wrote: ps auxww

Re: Installing WO 543 on Linux

2009-11-09 Thread David Griffith
. On Mon, Nov 9, 2009 at 1:30 PM, David Griffith da...@infinityspain.com wrote: Hi John, I did have an error in the path to the apps, I've fixed that and it works great now. To start the apps I mean. I can connect to JavaMonitor on port 56789. I've installed all the Wonder frameworks

Re: Installing WO 543 on Linux

2009-11-09 Thread David Griffith
. That way I can depoy different apps that use differnt WO versions alongside each other. Cheers, John On Mon, Nov 9, 2009 at 9:30 PM, David Griffith da...@infinityspain.com wrote: Hi John, I did have an error in the path to the apps, I've fixed that and it works great now. To start the apps I

Re: Installing WO 543 on Linux

2009-11-09 Thread David Griffith
. That way I can depoy different apps that use differnt WO versions alongside each other. Cheers, John On Mon, Nov 9, 2009 at 9:30 PM, David Griffith da...@infinityspain.com wrote: Hi John, I did have an error in the path to the apps, I've fixed that and it works great now. To start

Re: Installing WO 543 on Linux

2009-11-09 Thread David Griffith
(URLClassLoader.java:188) at java.lang.ClassLoader.loadClass(ClassLoader.java:303) at java.lang.ClassLoader.loadClass(ClassLoader.java:248) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:316) ... 11 more On Nov 9, 2009, at 11:35 PM, David Griffith wrote: I've

Re: Installing WO 543 on Linux

2009-11-09 Thread David Griffith
: Hi David, Whats the classpath entry for ERExtensions.jar in UNIXClassPath.txt? Also ERExtensions.jar needs to appear before the entry for javafoundation.jar. Cheers, John On Mon, Nov 9, 2009 at 11:47 PM, David Griffith da...@infinityspain.com wrote: Well I think I figured out how to set

Re: Installing WO 543 on Linux

2009-11-09 Thread David Griffith
issue but rather just making sure the jars are loaded inthe right order (once the paths are correct of course :) ) On Tue, Nov 10, 2009 at 12:04 AM, David Griffith da...@infinityspain.com wrote: LOCALROOT/Library/Frameworks/ERExtensions.framework/Resources/Java/ ERExtensions.jar I've moved

Re: Installing WO 543 on Linux

2009-11-09 Thread David Griffith
making sure the jars are loaded inthe right order (once the paths are correct of course :) ) On Tue, Nov 10, 2009 at 12:04 AM, David Griffith da...@infinityspain.com wrote: LOCALROOT/Library/Frameworks/ERExtensions.framework/Resources/Java/ ERExtensions.jar I've moved ERExtensions to appear above

Installing WO 543 on Linux

2009-11-07 Thread David Griffith
Hi all, Following the instructions at: http://wiki.objectstyle.org/confluence/display/WO/Installing+WO+5.3+or+WO+5.4+on+Linux Building the Apache WO Module, I'm running into this problem: /usr/local/apache/bin/apxs -i -a -n WebObjects mod_WebObjects.la I get: -bash:

Re: Installing WO 543 on Linux

2009-11-07 Thread David Griffith
/modules/ libtool: install: `mod_WebObjects.la' is not a valid libtool archive Try `libtool --help --mode=install' for more information. apxs:Error: Command failed with rc=65536 On Nov 7, 2009, at 10:35 AM, David Griffith wrote: Hi all, Following the instructions at: http

Re: Installing WO 543 on Linux

2009-11-07 Thread David Griffith
for, or rather is that the appropriate file to use? Regards, David. On Nov 7, 2009, at 4:22 PM, Joe Little wrote: On Sat, Nov 7, 2009 at 2:00 AM, David Griffith da...@infinityspain.com wrote: Sorry, I found apxs but this is the error I'm getting: apxs -i -a -n WebObjects mod_WebObjects.la

Frameworks and Subcomponents

2009-11-04 Thread David Griffith
HI all, I have a questions about reusable components in frameworks. I've never done this before so please bear with me. I have an application, let's call it Distributor. This has a component called Wrapper which is basically the page wrapper I use for all pages. I then have another

Re: Frameworks and Subcomponents

2009-11-04 Thread David Griffith
to know if this is the correct way to go about it? It seems logical enough and so far seems to work. Any comments? Regards, David. On Nov 4, 2009, at 1:39 PM, David Griffith wrote: HI all, I have a questions about reusable components in frameworks. I've never done this before so

Re: Frameworks and Subcomponents

2009-11-04 Thread David Griffith
of the framework component named Wrapper since app bundle is searched first IIRC. On Nov 4, 2009, at 7:39 AM, David Griffith wrote: HI all, I have a questions about reusable components in frameworks. I've never done this before so please bear with me. I have an application, let's call it Distributor

Deploying App built with Eclipse - where did the .CMD go?

2009-11-04 Thread David Griffith
Hi all, Finally seem to have gotten the app all working well. Building fine on Snow Leopard. Running fine. But what I find in the build directory is not a package, it's just a folder. It does not contain the .CMD file either. I need to deploy this on Linux. Certainly something

Re: Deploying App built with Eclipse - where did the .CMD go?

2009-11-04 Thread David Griffith
Hi Pascall, Thanks for that. I figured it out and found the relevant files - there was no shell script of course in the build directory. However I am now getting this when i try and launch the app on linux: 158 [main] WARN NSLog - A fatal exception occurred: org/apache/oro/

Re: Deploying App built with Eclipse - where did the .CMD go?

2009-11-04 Thread David Griffith
Um I do have the mysql-connector-java in there.. why? Is that what's causing it? Regards, Dave. On Nov 5, 2009, at 3:03 AM, Chuck Hill wrote: Have you been naughty and added jars to /Library/Java/Extensions? On Nov 4, 2009, at 5:59 PM, David Griffith wrote: Hi Pascall

Re: Deploying App built with Eclipse - where did the .CMD go?

2009-11-04 Thread David Griffith
, or else it will complain about missing JARs). Have you been naughty and added jars to /Library/Java/Extensions? On Nov 4, 2009, at 5:59 PM, David Griffith wrote: Hi Pascall, Thanks for that. I figured it out and found the relevant files - there was no shell script of course in the build

Re: Deploying App built with Eclipse - where did the .CMD go?

2009-11-04 Thread David Griffith
Well I haven't a clue what it is, but I've just had a thought... maybe it's got something to do with Project Wonder. Probably need to update to the latest version on the linux box... On Nov 5, 2009, at 3:15 AM, David LeBer wrote: On 2009-11-04, at 9:12 PM, David Griffith wrote: I don't

Re: Deploying App built with Eclipse - where did the .CMD go?

2009-11-04 Thread David Griffith
LeBer wrote: On 2009-11-04, at 9:12 PM, David Griffith wrote: I don't even know what jakarta-oro is to be honest. Never seen it before. Is it something I need to have installed? oro is a text processing (i.e: regex etc) library. http://jakarta.apache.org/oro/ And the error you

Re: Deploying App built with Eclipse - where did the .CMD go?

2009-11-04 Thread David Griffith
Thanks for that. And yes, it was Project Wonder causing the problem. Updated the frameworks and it seems fine now. Regards, David. On Nov 5, 2009, at 3:29 AM, David LeBer wrote: On 2009-11-04, at 9:26 PM, David Griffith wrote: So how do I go about embedding them? They are added

Re: Deploying App built with Eclipse - where did the .CMD go?

2009-11-04 Thread David Griffith
Griffith wrote: Thanks for that. And yes, it was Project Wonder causing the problem. Updated the frameworks and it seems fine now. Regards, David. On Nov 5, 2009, at 3:29 AM, David LeBer wrote: On 2009-11-04, at 9:26 PM, David Griffith wrote: So how do I go about embedding them? They are added

Re: Deploying App built with Eclipse - where did the .CMD go?

2009-11-04 Thread David Griffith
exactly what it's complaining about... Dave. On Nov 5, 2009, at 3:57 AM, David Griffith wrote: Thanks for that. And yes, it was Project Wonder causing the problem. Updated the frameworks and it seems fine now. Regards, David. On Nov 5, 2009, at 3:29 AM, David LeBer wrote: On 2009-11-04, at 9:26

Re: Deploying App built with Eclipse - where did the .CMD go?

2009-11-04 Thread David Griffith
number in .class file aka You built this with Java 1.5 and are trying to run it on an older Java 1.4 JVM (or similar version mismatch). Chuck On Nov 4, 2009, at 7:24 PM, David Griffith wrote: Thanks, I thought it had been set but it hadn't. Now this is what I'm getting. [2009-11

Re: Deploying App built with Eclipse - where did the .CMD go?

2009-11-04 Thread David Griffith
Yes and yes. Bit strange eh? Gonna upgrade the JRE I think. On Nov 5, 2009, at 4:43 AM, Chuck Hill wrote: On Nov 4, 2009, at 7:31 PM, David Griffith wrote: Yeah that's what it's saying, but I have built it with 1.5 compliance and JVM 1.5, and the linux box is running 1.5.0_06 /usr/java

Re: Sharing a Model using Eclipse

2009-10-29 Thread David Griffith
of this. The other option is that you have things in the wrong place in your framework project. On Oct 28, 2009, at 5:00 PM, David Griffith wrote: Hi Chuck, It was that very tutorial which I was following before I typed the email, thanks. I just wasn't too sure how to handle the model

Re: Sharing a Model using Eclipse

2009-10-29 Thread David Griffith
Doh... it was too late in the night when I was doing it. Clicked the wrong button when I added the framework. David. On Oct 29, 2009, at 3:45 AM, Chuck Hill wrote: On Oct 28, 2009, at 6:20 PM, David Griffith wrote: Ok, well I've made my framework with the EOModel and the java classes

Session and WOSession

2009-10-29 Thread David Griffith
When I used XCode, it was always possible to refer to Session instead of WOSession and everything worked well. WOLips is now telling me that it cannot cast from WOSession to Session. I'm sure all the frameworks that I've added are the same as before, is this something I'm going to have

Re: Session and WOSession

2009-10-29 Thread David Griffith
Not to worry, I figured out what was wrong. Another error adding the frameworks and I had to do an Organise Imports on all the classes. I really was sleepy last night :-( David. On Oct 29, 2009, at 8:22 AM, David Griffith wrote: When I used XCode, it was always possible to refer

WebObjects Development on 10.6 with Eclipse and WOLips

2009-10-28 Thread David Griffith
HI all, I am going to switch to using Eclipse and I want to start developing on 10.6 Snow Leopard. I'm sure this has been discussed but I can't find where to search the archives easily. 1) Can someone tell me where there is a good search so I don't duplicate questions. 2) Can anyone

Sharing a Model using Eclipse

2009-10-28 Thread David Griffith
Hi all, I am slowly getting to grips with Eclipse/WOLips but I am struggling to import some existing apps that I have which were built in XCode. My problem is this, and it's probably very simple, but I'd appreciate any help: I have 3 apps that all use the same EOModel and associated

Re: Sharing a Model using Eclipse

2009-10-28 Thread David Griffith
+a+WebObjects+Framework http://wiki.objectstyle.org/confluence/display/WOL/Add+a+Framework+Dependency Chuck On Oct 28, 2009, at 4:42 PM, David Griffith wrote: Hi all, I am slowly getting to grips with Eclipse/WOLips but I am struggling to import some existing apps that I have which were built

Re: Sharing a Model using Eclipse

2009-10-28 Thread David Griffith
, David Griffith wrote: Hi all, I am slowly getting to grips with Eclipse/WOLips but I am struggling to import some existing apps that I have which were built in XCode. My problem is this, and it's probably very simple, but I'd appreciate any help: I have 3 apps that all use the same EOModel

Re: Sharing a Model using Eclipse

2009-10-28 Thread David Griffith
Sorry, I didn't explain that clearly. It's the same model and associated classes, stored in one location, being referenced by the 3 apps. On Oct 29, 2009, at 12:59 AM, Chuck Hill wrote: On Oct 28, 2009, at 4:55 PM, David LeBer wrote: ...the same EOModel and associated java classes ... are

Connector/J 5.1, Euro Symbol as '?'

2009-09-24 Thread David Griffith
Hi all, I've been having a real problem over the past 12 months with my WebObjects and mySQL installation. It has been getting gradually worse to the point now where the apps crash every 10 or 15 mins. The are crashing out with Java.OutOfHeapSpace errors. We've tried everything to

Re: Connector/J 5.1, Euro Symbol as '?'

2009-09-24 Thread David Griffith
-Xmx1536m I am very tight on time myself, but if no one offers to get their hands on to track this down in the next 24 hours, I might be able to help tomorrow (Friday) let me know if that is the case. Regards, Kieran On Sep 24, 2009, at 4:36 AM, David Griffith wrote: Hi all, I've

Re: Out of memory

2008-05-07 Thread David Griffith
Hi all, Does anyone know if there is a fix for this, other than moving from mySQL to another DB? I am experiencing the same problems. Regards, David. On 21 Apr 2008, at 19:04, Simon McLean wrote: Yes, I've seen it with MySQL. We still get it now, but very very rarely. Simon On 21 Apr

Re: Multiple EOModels

2008-04-02 Thread David Griffith
Thanks for that, obviously frameworks are the way to go, I haven't really needed to make my own up to now but clearly I should have :-) Back to the bookshelf then :-) Regards, David. On 27 Mar 2008, at 18:52, Chuck Hill wrote: On Mar 27, 2008, at 1:57 AM, David Griffith wrote: Hi all

Multiple EOModels

2008-03-27 Thread David Griffith
Hi all, I have two apps that have two distinct EOModels. I now need to link these two apps so that they have access to each other's data, so I was going to add both models to each app and recompile. However, it transpires that both models have a couple of entity names in common. I can

SQL Error

2007-04-02 Thread David Griffith
Hi all, Things have been working well for over a year and now suddenly I have started to get this error: com.webobjects.eoaccess.EOGeneralAdaptorException: EvaluateExpression failed: com.webobjects.jdbcadaptor.MySQLPlugIn$MySQLExpression: UPDATE WEB_HOSTING SET WH_NEXT_RENEWAL_DATE = ?,

WO On Linux

2006-10-10 Thread David Griffith
Hi all, I was wondering if anyone else is using WO on Linux? It works great most of the time, but sometimes it crashes the server which finally reboots. The biggest problem is that when the server reboots, WO starts to load each of the applications and something happens which stops it

Re: Error updating row in database

2006-09-13 Thread David Griffith
locking on DATETIME also.On Sep 12, 2006, at 12:32 PM, David Griffith wrote:Hi Paul,Yes there is indeed a date field with locking switched on.  Not deliberately, but it was like that by default and I didn't change it.  I don't see how it affect referential integrity but I'll give it a go :-)Thanks

Error updating row in database

2006-09-12 Thread David Griffith
Hi all, Using WO 5.3 with mySQL, I have an entity that has a primary key (int) and when I save a record in the database, another attribute (of type String) gets assigned the value of the primary key also. To do this, I have to first save the record in the database in order for the

Re: Snapshot error

2006-08-03 Thread David Griffith
this happens the first thing I do is swear. :-) Then I quit Xcode, rm -r build/ in the project(s). Open Xcode and the project and run it again. Chuck On Aug 2, 2006, at 9:58 AM, David Griffith wrote: _globalID = _EOIntegralKeyGlobalID[Product (java.lang.Integer) 246]; _databaseOperator

Snapshot error

2006-08-02 Thread David Griffith
_globalID = _EOIntegralKeyGlobalID[Product (java.lang.Integer)246]; _databaseOperator = "EODatabaseUpdateOperator"; } does not contain value for attribute named prodMainLocation with snapshot key: prodMainLocationprodMainLocation is an attribute of one of the entities in the EOModel.  I added it

Re: WOHTTPConnection WORequest

2006-07-28 Thread David Griffith
to urlEncode if you have spaces or special characters for more complex stuff, use /Developer/Examples/TCPMonitor. You can capture the content of the form submission from a web browser to see exactly how it is composed... abc On Jul 28, 2006, at 4:09 AM, David Griffith wrote: Thanks, I had

WOHTTPConnection WORequest

2006-07-27 Thread David Griffith
Hi all, I want to allow a user to enter details into a HTML Form (in a WOComponent) and when they click the Submit button, I would like to open a connection to a standard HTTP server with a specific URL and pass it the form values that the user entered. Can someone tell me an easy way

Re: WOHTTPConnection WORequest

2006-07-27 Thread David Griffith
, but if yours was a simple question, then that should answer it without another round of What are you really trying to do? If it wasn't a simple question, hit us again. Regards, Jerry On Jul 27, 2006, at 9:29 AM, David Griffith wrote: Hi Paul, Because ultimately I will be submitting values

Re: WOHTTPConnection WORequest

2006-07-27 Thread David Griffith
couldn't provide more direct help to your question. Regards, Jerry On Jul 27, 2006, at 10:40 AM, David Griffith wrote: Hi Jerry, Thanks for the detailed response. Actually I am already aware of all of this and no I don't find the answer patronising as it is great to see someone answer any

EOUtilities.primaryKeyForObject

2006-07-13 Thread David Griffith
Hi all, In an application that has been working great for a long time, suddenly I am getting this error: [2006-07-13 11:19:22 CEST] WorkerThread1 java.lang.NullPointerException at com.webobjects.eoaccess.EOUtilities.primaryKeyForObject (EOUtilities.java:834) at

Re: EOUtilities.primaryKeyForObject

2006-07-13 Thread David Griffith
should run EditingContext.saveChanges() before you can access the primary key of you object. Regards, Gennady Kushnir On 13.07.2006, at 13:46, David Griffith wrote: Hi all, In an application that has been working great for a long time, suddenly I am getting this error: [2006-07-13 11:19:22

Re: Character Set Problems

2006-06-15 Thread David Griffith
' as a; and had mysql spit out a euro sign. If I try to store it in a table, it puts a ? in there. (David - about as frustrating as figuring out why my iterator isn't iterating) John On Jun 15, 2006, at 8:19 AM, David Griffith wrote: Have finally discovered that the mySQL server

Re: Euro symbol and other characters distorted

2006-06-15 Thread David Griffith
context using the other EOModel.Can I do it this way and if so, can someone tell me how to create the 2nd connection...?Thanks,David.On 14 Jun 2006, at 13:57, David Griffith wrote:Ok I have just written a little routine to load each BLOB in WO and then write that back to a TEXT column instead.  What

Re: Euro symbol and other characters distorted

2006-06-14 Thread David Griffith
web pages it shows: 'â?¢'.This is the same problem I am having with the euro symbol.  Any ideas?Kind regards,David.On 13 Jun 2006, at 17:07, David Griffith wrote:Just let me be sure that I am clear on all of this:The JDBC adaptor uses a default encoding of UTF-8 so I should not need to specify

Re: Euro symbol and other characters distorted

2006-06-14 Thread David Griffith
web pages it shows: 'â?¢'.This is the same problem I am having with the euro symbol.  Any ideas?Kind regards,David.On 13 Jun 2006, at 17:07, David Griffith wrote:Just let me be sure that I am clear on all of this:The JDBC adaptor uses a default encoding of UTF-8 so I should not need to specify

Euro symbol and other characters distorted

2006-06-13 Thread David Griffith
HI all, I have a database (using mySQL) with a number of BLOB fields that store long text values. Apparently BLOBs have no character encoding so I presume this is applied at the time it is retrieved from the database. Previously everything was working fine but now I am getting all sorts

Re: Euro symbol and other characters distorted

2006-06-13 Thread David Griffith
Hi Xavier, Thank you for your reply. I'm not sure what you meant about starting a new email, I thought I did, but anyway I'll bear that in mind. The problem is that I tried to convert the columns from BLOB to TEXT already but it truncated virtually every field. Can you tell me how you

  1   2   >