On 29-Jul-09, at 11:05 AM, Dino Strausz wrote:


On 29 Jul 2009, at 12:57 PM, Chuck Hill wrote:


On Jul 29, 2009, at 10:23 AM, Dino Strausz wrote:

Hola Chuck et al.,


On 28 Jul 2009, at 1:02 PM, Chuck Hill wrote:

Original Exception:
java.lang.IllegalArgumentException: <com.webobjects.appserver.WOApplication> Class 'Session' exists (interface org.apache.axis.session.Session) but is not a subclass of WOSession.

It is picking up the wrong session. Using WO 5.3? You really want / need to use Wonder if you are doing D2W. Wonder will fix this problem.

I am running the latest version of WO (I suppose)

Might want to check that.

My WebServiceAsistent reports being 5.4 (I suppose all my WO is too).

http://support.apple.com/kb/TA26706?viewlocale=en_US

You need to open /System/Library/Frameworks/JavaWebObjects.framework/ Resources/version.plist and check the value of CFBundleShortVersionString





on top of Leopard 5.7 on an Aluminium MacBook
I did try both D2W type of project (one of them being Wonder's) with the same result/error

A proper Wonder project should fix this.

strange...



If you really won't use Wonder (and you will regret it), add this to you Application class:

protected Class _sessionClass() {
        return your.package.here.Session.class;
}

Tried but did not worked...

You got the same error?  A different error?

exactly same error... I will start from scratch to see what happens...



Chuck


I think I did something wrong from the beginning ... didn't I?

D2W is supposed to work "from the box" just with a model and a running database, right?
Does Wonder's D2W needs something else?
Are there some versions issues I am not seeing?

Please, gimme some light on how to start using D2W with in the Eclipse+WOlips+... environment!

Gracias!
Dino




And change "your.package.here" to the package your Session class is in.


Chuck



--
Chuck Hill             Senior Consultant / VP Development

Learn WO at WOWODC'09 East in Montréal this August!
http://www.wocommunity.org/wowodc09/east

http://arstechnica.com/apple/news/2009/07/webobjects-sliced- from-106but-prognosis-of-death-premature.ars


_______________________________________________
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/mailman/options/webobjects-dev/programmingosx %40mac.com

This email sent to programming...@mac.com

 _______________________________________________
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/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to