• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: My first Eclipse D2W
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: My first Eclipse D2W


  • Subject: Re: My first Eclipse D2W
  • From: David Holt <email@hidden>
  • Date: Wed, 29 Jul 2009 11:01:43 -0700


On 29-Jul-09, 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) 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

Which Wonder version are you using? What version of Eclipse/WOLips? Stable? Nightly? You might be seeing an issue with the templates for creating Wonder D2W projects...




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... I think I did something wrong from the beginning ... didn't I?

Maybe :-)


D2W is supposed to work "from the box" just with a model and a running database, right?

Yes. An app created from the Wonder D2W template will start up without a model as well.


Does Wonder's D2W needs something else?

No

Are there some versions issues I am not seeing?

Try the project with no model and see what happens.


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

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
@mac.com


This email sent to email@hidden

_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >My first Eclipse D2W (From: Dino Strausz <email@hidden>)
 >Re: My first Eclipse D2W (From: Chuck Hill <email@hidden>)
 >Re: My first Eclipse D2W (From: Dino Strausz <email@hidden>)

  • Prev by Date: Re: My first Eclipse D2W
  • Next by Date: Re: My first Eclipse D2W
  • Previous by thread: Re: My first Eclipse D2W
  • Next by thread: Re: My first Eclipse D2W
  • Index(es):
    • Date
    • Thread