Re: Newbie and Java desktop apps not starting
Re: Newbie and Java desktop apps not starting
- Subject: Re: Newbie and Java desktop apps not starting
- From: Franco Solerio <email@hidden>
- Date: Sun, 30 Nov 2003 18:17:08 +0100
Thanks a lot for your help! Using your hints I discovered that my java
client could not find its server on the network. I stopped my adsl
connection and everything went ok. Looked like wo was looking somewhere
outside my computer to find the server.
So I tried to add another network interface with a local ip address
(192.168.x.x) to the one with the PPPoE setup and now everything works
ok even when I'm connected to the net!
Thanks again
Franco
Il giorno 30/nov/03, alle 08:53, Jean Pierre Malrieu ha scritto:
Franco,
That sometimes happens to me to. The menu is correct, as that is the
utility Xcode (I assume you are using Xcode and not PB) calls to
connect to the woa. It seems to be a case of when there is an error in
the data or logic of your WO app, or you have some rules that are not
valid (such as making an entity a main entity when it doesn't actually
exist).
Ray's comment is correct, but client-side errors are directed to the
console (look for it in the utilities folders in MacOS X).
Open it before launching your D2JC app to see what is happening.
JP.
To check for errors, go to XCode and find the "Executables" group and
open it. This should show the resulting executable file. Double click
on this (not the one on the right hand side). In there, you can add a
few command line arguments. Put the following in:
-NSDebugGroups -1
-NSDebugLevel 1
This will get WO to display a number of things that are happening in
the background (such as SQL calls). Any errors that occur should now
get listed in the run log. This may give you "some" idea of where
things are going wrong.
Personally, I have found it very hard to debug Direct to Java (D2J) as
the Java client is running in its own JVM space, so you can't control
it from Xcode (which can only debug the server side).
Let me know how you go. More help is available.
Ray.
On 30/11/2003, at 6:43, Franco Solerio wrote:
Hello, I am evaluating WO 5.2.2 on my Panther-ized PB 12''.
I tried to create a simple DB with EOmodeler and make a Direct to web
app with that EOmodel: everything works fine.
Then I tried Direct To Java on the same EOmodel, the project builds
with no errors and a java icon appears in the dock with no window
associated with it and menu caption is:
"com.webobjects.eoapplication.client.EOClientApplicationSupport". I
can wait for ages but no app window appears.
Tried one of webobjects java examples (JCDiscussionBoard) and the
result is exactly the same: project builds and starts with no errors,
but no window appears.
What am I doing wrong?
--__--__--
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.