• 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: Newbie and Java desktop apps not starting
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Newbie and Java desktop apps not starting


  • Subject: Re: Newbie and Java desktop apps not starting
  • From: Ray Ackland <email@hidden>
  • Date: Sun, 30 Nov 2003 09:35:50 +1300

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).

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.

References: 
 >Newbie and Java desktop apps not starting (From: Franco Solerio <email@hidden>)

  • Prev by Date: Re: XCode and EOModels...
  • Next by Date: Re: Newbie and Java desktop apps not starting
  • Previous by thread: Newbie and Java desktop apps not starting
  • Next by thread: Re: Newbie and Java desktop apps not starting
  • Index(es):
    • Date
    • Thread