Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: My first Eclipse D2W



Hola David, thanks for your replay...

On 29 Jul 2009, at 12:58 PM, David Holt wrote:

Back to basics in case there is a step you missed along the way.

On 28-Jul-09, at 10:55 AM, Dino Strausz wrote:

Hola tod@s!

Finally, I am trying, no without some frustrations, to move to Eclipse and the "new" tools... recall please I am an old dog, and is hard to me to learn new tricks...
I did the following:

1. created a sample database (a couple of tables) in Postgres

Ok. It has content?

not yet


2. created a model using Alex's EOModeler

What is Alex's EOModeler? I assume you mean that you reverse engineered using the EOModeler perspective in Eclipse??

it is an open sourced Objective-C version of EOModeler which runs on nicely on Leopard (via Rosseta)


3. created a D2W project within Eclipse, importing from the wizard the model

Can you try creating a Wonder D2W project that doesn't point to any model and see if it starts up? I have just tested that the Wonder D2W wizard creates a runnable app.

I will try...


Did you include the plugin framework for your database in your classpath?

How do I do that? I am using the Postgres that came with the nice-installable WO-new-tools.pkg ;^)


4. pushed the green button

My Safari started with the following error on the page:

Application: JavaFoundation
Error: java.lang.IllegalStateException exception
Reason:
java.lang.IllegalStateException: An Exception occurred while generating the Exception page 'WOExceptionPage'. This is most likely due to an error in 'WOExceptionPage' itself or WebObjects encountered an uncaught exception while creating a Session object.


Below are the logs of the original Exception which occured in com.webobjects.appserver.WOApplication, then the later Exception in WOExceptionPage.

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.
at com.webobjects.appserver.WOApplication._sessionClass(WOApplication.java:1925)
at com.webobjects.appserver.WOApplication.createSessionForRequest(WOApplication.java:1964)
at com.webobjects.appserver.WOApplication._initializeSessionInContext(WOApplication.java:2101)
at com.webobjects.appserver._private.WOComponentRequestHandler._dispatchWithPreparedApplication(WOComponentRequestHandler.java:319)
at com.webobjects.appserver._private.WOComponentRequestHandler._handleRequest(WOComponentRequestHandler.java:369)
at com.webobjects.appserver._private.WOComponentRequestHandler.handleRequest(WOComponentRequestHandler.java:442)
at com.webobjects.appserver.WOApplication.dispatchRequest(WOApplication.java:1678)
at com.webobjects.appserver._private.WOWorkerThread.runOnce(WOWorkerThread.java:144)
at com.webobjects.appserver._private.WOWorkerThread.run(WOWorkerThread.java:226)
at java.lang.Thread.run(Thread.java:613)


What did I wrong??

Dino
 _______________________________________________
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


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

This email sent to email@hidden

References: 
 >My first Eclipse D2W (From: Dino Strausz <email@hidden>)
 >Re: My first Eclipse D2W (From: David Holt <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.