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 t...@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?
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??
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.
Did you include the plugin framework for your database in your
classpath?
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._dispatchW
ithPreparedApplication(WOComponentRequestHandler.java:319)
at
com.webobjects.appserver._private.WOComponentRequestHandler._handleReq
uest(WOComponentRequestHandler.java:369)
at
com.webobjects.appserver._private.WOComponentRequestHandler.handleRequ
est(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 protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/programmingosx
%40mac.com
This email sent to [email protected]
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com
This email sent to [email protected]