Re: WOApplication cannot be cast to Application

2014-04-07 Thread Jon Kleiser
, all of you. /Jon On 7. Apr, 2014, at 13:03, Paul Yu wrote: > Jon > > When you created the run configuration for your old project in eclipse, which > Application did you choose? > > Paul > > Sent from my iPad > >> On Apr 7, 2014, at 6:23 AM, Pascal Robert

Re: WOApplication cannot be cast to Application

2014-04-07 Thread Jon Kleiser
e? > > Paul > > Sent from my iPad > >> On Apr 7, 2014, at 6:23 AM, Pascal Robert wrote: >> >> >>> Le 2014-04-07 à 05:25, Jon Kleiser a écrit : >>> >>> Hi Hugi, >>> >>> I cannot see how imports can be the problem her

Re: WOApplication cannot be cast to Application

2014-04-07 Thread Jon Kleiser
n (com.webobjects..., java.io). - This is no problem on my old Mac /Jon On 7. Apr, 2014, at 10:44, Hugi Thordarson wrote: > Hi Jon. > Check your imports, you're probably importing the wrong Application > class(com.apple.eawt.Application or some such). > > Cheers, > - h

WOApplication cannot be cast to Application

2014-04-07 Thread Jon Kleiser
Hi, I just try to run an old WO project on a "new" Mac with OSX 10.8.5. I installed Eclipse/WOLips using Golipse as described on this page . However, I had to install WOLips separately, as it didn't seem to be installed by Go

Re: EnhancedFileUploadTools package, questions

2013-04-23 Thread Jon Kleiser
once in a while the progression info shows briefly at the end of the upload, but that's way too late. Do you have any experience with this package? /Jon On 4/23/13 1:05 PM, Theodore Petrosky wrote: Are you embedding frameworks when you built to deploy? Sent from my iPad On Apr 23, 2013, at 6:

EnhancedFileUploadTools package, questions

2013-04-23 Thread Jon Kleiser
Hi, I have just started to include Jonathan Rochkind's EnhancedFileUploadTools package code (2003) in our old WebObjects project. From what I can see, it works quite well. There is one thing, however, that I would very much like fix. When I run our application on our Linux server (with Apache

Changing IP addresses

2012-11-19 Thread Jon Kleiser
Hi, We have an old WO application where we require that the requests that concerns the same session come from the same IP address. We did this to avoid session theft, as sessions are identified by some code in the URL. When our application detects a request with an IP address other than the e

Re: jar confusion

2012-06-13 Thread Jon Kleiser
2012 at 7:42 AM, Jon Kleiser <mailto:jon.klei...@usit.uio.no>> wrote: Hi, I maintain an old WO project that I "ported" to WOLips last year. I now use the new directory structure (jar files in "Libraries" etc.) on my developer Mac, but I've ke

jar confusion

2012-06-13 Thread Jon Kleiser
method I'm calling just before the exception is also available in one of the other jar files that I have included, but from all the source code and pom.xml files that I have checked, I cannot see that this should be the case. Any ideas? - My time is running shortish ... Sincerely, Jo

Re: App switching from https to http port 443 on logout

2012-02-09 Thread Jon Kleiser
On 2/8/12 12:32 PM, Jon Kleiser wrote: On 2/8/12 5:53 AM, Klaus Berkling wrote: On Feb 7, 2012, at 7:42 AM, Jon Kleiser wrote: This is roughly how we handles the logout (simplified): public WOComponent logout() { WORedirect redirect = new WORedirect(context()); loginUrl = context

Re: App switching from https to http port 443 on logout

2012-02-08 Thread Jon Kleiser
On 2/8/12 5:53 AM, Klaus Berkling wrote: On Feb 7, 2012, at 7:42 AM, Jon Kleiser wrote: This is roughly how we handles the logout (simplified): public WOComponent logout() { WORedirect redirect = new WORedirect(context()); loginUrl = context().directActionURLForActionNamed("default&q

App switching from https to http port 443 on logout

2012-02-07 Thread Jon Kleiser
, null); redirect.setUrl(loginUrl); // ... calling session logout method return redirect; } Is this problem familiar to anyone out there? Sincerely, Jon Kleiser ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list

Re: Wrong charset from WOLips in browser

2011-08-05 Thread Jon Kleiser
Thanks, Stefan! That was the solution. /Jon > Hi Jon, > > did you set WOMessage.setDefaultEncoding("ISO-8859-1"); in you > Application class ? > > Stefan > > > Am 05.08.11 10:55, schrieb Jon Kleiser: >> Hi, >> >> I have now managed to run my

Wrong charset from WOLips in browser

2011-08-05 Thread Jon Kleiser
Hi, I have now managed to run my migrated WO application on my new Mac, thanks to WOLips. Since ISO-8859-1 was the standard charset in the old application, I decided to continue using it, at least for a while. So I have specified ISO-8859-1 at all levels, right from Eclipse's General > Workspace p

Re: Migrate from old Xcode to WOLips on OSX 10.6.8

2011-08-01 Thread Jon Kleiser
;543"? /Jon On 01-08-11 15:17 , Pascal Robert wrote: Le 2011-08-01 à 08:48, Jon Kleiser a écrit : I have now found the field for the WOLips properties file: If I click on the WOLips node itself, not the Build subnode, then I get a lot of fields where the first one is for the name of th

Re: Migrate from old Xcode to WOLips on OSX 10.6.8

2011-08-01 Thread Jon Kleiser
vaEOAccess' does not exist." I have also looked at Java->Build Path->Classpath Variables, and see a variable WEBAPP_LIBS with a value that ends with "org.eclipse.osgi/bundles/230/1/.cp/lib", but on my Mac this 230/1/ directory is empty. Is this something I should

Re: Migrate from old Xcode to WOLips on OSX 10.6.8

2011-08-01 Thread Jon Kleiser
e: Le 2011-07-27 à 10:04, Jon Kleiser a écrit : Thanks, Pascal. When I ceated the new WO Application, I left the package fields empty, and under Sources I now have a "(default package)". Should all my .java files go into that one? If your Java classes are not in a package, yes they go

Re: Migrate from old Xcode to WOLips on OSX 10.6.8

2011-07-27 Thread Jon Kleiser
Thanks, Pascal. When I ceated the new WO Application, I left the package fields empty, and under Sources I now have a "(default package)". Should all my .java files go into that one? In build.properties, I have entered "wolips.properties=/Users//Library/Application Support/WOLips/wolips.543

Migrate from old Xcode to WOLips on OSX 10.6.8

2011-07-27 Thread Jon Kleiser
Hi, I want to migrate an old WO project (in CVS) from Xcode to WOLips on OSX 10.6.8 (unless there should be better alternatives than WOLips). I have installed Eclipse Helios (3.6.2) and WOLips, and the WebObjects frameworks (533 and 543). Following this tutorial ... http://wiki.objectstyle.o