Re: NIB and Java Client
Re: NIB and Java Client
- Subject: Re: NIB and Java Client
- From: Fabrice Pipart <email@hidden>
- Date: Mon, 31 Jan 2005 11:44:32 +0100
OK thanks to Andres Toussaint, I found the solution.
The problem came from XCode 1.5.
As noted in the release notes :
Known Issues
◦ For Java Client projects: When creating a new java client project, you'll notice that the <x-tad-smaller>JavaClient.java</x-tad-smaller> source file are not correctly added to the Application Servers target and are in the Bundle Resources build phase and not in the Sources build phase. The <x-tad-smaller>[applicationName]InterfaceController.java</x-tad-smaller> source file is not correctly added to the Web Server target and are in the Bundle Resources build phase and not in the Sources build phase. After creating a new project, open the Web Server target in the Groups & Files view and drag the <x-tad-smaller>[applicationName]InterfaceController.java</x-tad-smaller> source file from the Bundle Resources build phase to Sources build phase. Then open the Application Servers target in the Groups & Files view and drag the <x-tad-smaller>JavaClient.java</x-tad-smaller> source file from the Bundle Resources build phase to Sources build phase.
I hope that will help someone else.
Fabrice
On Jan 25, 2005, at 1:35 PM, Fabrice Pipart wrote:
Hello everyone
I know that this problem has been discussed several times here but I looked at soo many archives and people seem to be able to get a little bit further than I personally can.
First, here is my configuration :
WebObjects 5.2.2 (it seems that 5.2.3 can be problem so I switched back)
Mac OS X.3.7
Java 1.4.2_05
XCode 1.5
As I am a new WebObjects developer, I started reading the tutorials provided by Apple. I am currently reading the book "Java Client Desktop Applications", chapter 8 : "Nondirect Java Client Development". Unfortunately at the end of the chapter I cannot start the application. Everything seems to go well until a jar starts (with name com.webobjects.eoapplication.client.EOClientApplicationSupport), displays nothing and quits.
I even tried something far more simple : a Java Client application in which I only drag one entity into the nib's window. Again, when I test the interface in IB it works fine. But when I start the application from XCode, I have the same problem.
I checked that in any case I have the _mycontroller_Archive.java file.
I cannot find any log of the client application and the and of the server logs is :
[2005-01-25 13:31:18 CET] <main> The URL for webserver connect is:
http://A-Casino.local/cgi-bin/WebObjects/AdmissionsStaticSimple.woa/-50169
The URL for direct connect is:
http://A-Casino.local:50169/cgi-bin/WebObjects/AdmissionsStaticSimple.woa
[2005-01-25 13:31:17 CET] <main> Waiting for requests...
[2005-01-25 13:31:19 CET] <WorkerThread0> <com.webobjects.appserver._private.WOComponentDefinition> WARNING: Unable to find component class named "JavaClient". If this is not intended to be a classless component, check your framework settings and the contents of your classpath file (in the .woa's Contents/<PLATFORM_NAME> subdirectory).
Is WebObjects so buggy you cannot even display a simple nib or am I missing something?
Some people say they are able to build Java Client applications? How do you do that guys???
Thanks to anyone who could help me...
Fabrice Pipart
www.icconsulting.mc
International Corporate Consulting
25, Boulevard de Belgique
MC - 98000 Monaco _______________________________________________
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
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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