Hi Rich,

On 2012-03-12, at 8:57 PM, Rich wrote:

> Hi Pascal & Chuck,
> 
> Thanks so much for your response,
> 
> I'm using WebObjects 5.4.3 on my dev mac and the Wonder source from December 
> time (I installed via Eclipse - How do I find out exactly which version I've 
> have?).

It is less straightforward now that it is on git.  Wonder changes so fast that 
there are not really any "versions".  You have to manage that yourself.


> I'm convinced I would have used the same version on the Deployment machine as 
> I built it at the same time as my Dev environment... This sounds really 
> Noobish, but how do I find the installed version on my Deployment machine?
> 
> I thought I had done an embeded install (the frameworks appear to be in the 
> Frameworks directory under <AppName>.woa/Contents/Frameworks)

If that is where the framework are, then that should be considered the 
"installed version".  You can confirm by looking at the classpath file at
<AppName>.woa/Contents/UNIX/UNIXClassPath.txt

You should see lines like this:

APPROOT/Frameworks/ERExtensions.framework/Resources/Java/ERExtensions.jar


Chuck


> On 13/03/2012, at 4:32 PM, Pascal Robert wrote:
> 
>> 
>> Le 2012-03-12 à 23:09, Rich a écrit :
>> 
>>> Hi,
>>> 
>>> This is my first post to this list, so apologies if my protocol is not 
>>> correct, or I miss something.
>>> 
>>> I've been pulling my hair out for nearly a week now as I can't get my WO 
>>> application running on my Linux server.
>>> I am a Noobie to WebObjects (1st project), and developed a back end 
>>> web-service for an iPhone / iPad application prototype project I was 
>>> contracted to do.
>>> The project is at the point of completion, and I've been trying to make the 
>>> WO application (Which runs just fine in Eclipse), work on the deployment 
>>> server so I can hand it over (The Linux machine is running in VMWare).
>>> 
>>> So, I have followed (several times), the 'Setup' and 'Deployment' 
>>> instructions on http://wiki.wocommunity.org/display/WO/Deploying+on+Linux 
>>> and think that I have everything deployed OK (Application and frameworks). 
>>> When I start up the WO application instance from the Java Monitor it seems 
>>> to launch OK - The application log seems to have no issues and states the 
>>> URL and "Waiting for requests...", it's just when I make a request (GET) 
>>> just using a browser, I don't get any response data - No error at all in 
>>> the browser, just an empty / blank page - I know I should be getting some 
>>> data back as there's data to serve for the request.
>>> 
>>> The WO application is a fairly simple and has been based upon the 
>>> ERRestRouteExample included with the ProjectWonder sources, but as I said I 
>>> know the application runs just fine if launched form Eclipse (with the 
>>> Eclipse http engine).
>>> 
>>> I've got a suspicion it's something in my Apache setup, but I can't for the 
>>> life of me think / see what it is - I'm not even use I need Apache as I 
>>> don't need to serve any HTTP pages, just JSON response data (Please correct 
>>> me if I'm wrong)
>> 
>> JSON is a representation, you do need a HTTP transport! Ok, you can use 
>> Direct Connect, which have its own mini Web server integrated, but by using 
>> Direct Connect, you can't use Apache caching, mod_rewrite, so yes you should 
>> use Apache in deployment.
>> 
>>> 
>>> I know requests are getting through to the Linux server (checked with 
>>> tcpdump), and I can see the request in the WO application log with the 
>>> following error, which I can't see to find anywhere on the net.
>>> 
>>>> [2012-3-13 2:40:43 GMT+00:00] <WorkerThread14> 
>>>> java.lang.InstantiationError: <jaboo.proto.websvc.Application>: Unable to 
>>>> create ERXWOContext54
>> 
>> Ok, so you get requests, but it fails. Which version of WebObjects are you 
>> running, and how did you install the Wonder frameworks?
>> 
>>>>    at 
>>>> com.webobjects.appserver.WOApplication.createContextForRequest(WOApplication.java:2039)
>>>>    at 
>>>> er.extensions.appserver.ERXApplication.createContextForRequest(ERXApplication.java:2083)
>>>>    at 
>>>> er.extensions.appserver.ERXApplication.handleActionRequestError(ERXApplication.java:1735)
>>>>    at 
>>>> com.webobjects.appserver._private.WOActionRequestHandler._handleRequest(WOActionRequestHandler.java:245)
>>>>    at 
>>>> com.webobjects.appserver._private.WOActionRequestHandler.handleRequest(WOActionRequestHandler.java:158)
>>>>    at 
>>>> er.extensions.appserver.ERXDirectActionRequestHandler.handleRequest(ERXDirectActionRequestHandler.java:126)
>>>>    at 
>>>> com.webobjects.appserver.WOApplication.dispatchRequest(WOApplication.java:1687)
>>>>    at 
>>>> er.extensions.appserver.ERXApplication.dispatchRequestImmediately(ERXApplication.java:2021)
>>>>    at 
>>>> er.extensions.appserver.ERXApplication.dispatchRequest(ERXApplication.java:1986)
>>>>    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:636)
>>>> 
>>>> Mar 13 02:40:43 Jaboo[2002] WARN  NSLog  - <WOWorkerThread id=14 
>>>> socket=null> Workerthread exiting due to error, respawning with ID 10014...
>>>> Exception in thread "WorkerThread14" 
>>>> com.webobjects.foundation.NSForwardException 
>>>> [java.lang.InstantiationError] <jaboo.proto.websvc.Application>: Unable to 
>>>> create ERXWOContext54:java.lang.InstantiationError: 
>>>> <jaboo.proto.websvc.Application>: Unable to create ERXWOContext54
>>> 
>>> I've bypassed Apache and wotaskd and am just doing a DirectConnection 
>>> (which I've enabled) to the application
>>> 
>>> I would really appreciate any help of guidance on how to troubleshoot 
>>> further.. as I'm about to lose what little hair I've got left - my time is 
>>> running out
>>> 
>>> Warmest regards and a big hug to anyone who can help (please..)
>>> Rich
>>> _______________________________________________
>>> Do not post admin requests to the list. They will be ignored.
>>> Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
>>> Help/Unsubscribe/Update your Subscription:
>>> https://lists.apple.com/mailman/options/webobjects-dev/probert%40macti.ca
>>> 
>>> This email sent to prob...@macti.ca
>> 
> 

-- 
Chuck Hill             Senior Consultant / VP Development

Practical WebObjects - for developers who want to increase their overall 
knowledge of WebObjects or who are trying to solve specific problems.    
http://www.global-village.net/gvc/practical_webobjects








Attachment: smime.p7s
Description: S/MIME cryptographic signature

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

This email sent to arch...@mail-archive.com

Reply via email to