Calculator Web Service example - log4j/commons-logging discovery
Calculator Web Service example - log4j/commons-logging discovery
- Subject: Calculator Web Service example - log4j/commons-logging discovery
- From: Thomas B Winans <email@hidden>
- Date: Sun, 29 Jan 2006 17:12:03 -0700
Greetings -
I am new to Apple OS X WebObjects web services, so I will apologize
in advance for the remedial nature of my comments.
Attached to this email please find a compressed pdf form of a stack
trace I consistently got when attempting to invoke the simple
Calculator Web Service. The trace indicates there is some problem
with either log4j or commons-logging. I suspected the WebObjects
installation and ensured I had the latest version of both log4j and
commons-logging. Alas, the problem persisted and I continued to
search until I determined that the problem was mine ... I found a
rogue commons-logging.jar in my own ~/Library/java/extensions folder
that was used when launching the WebObjects server. It was my
impression that the script used to start the WebObjects server would
somehow prefer the /Library/WebObjects/extensions folder over
mine ... but it did not.
I searched through various message threads in this mail list to
determine whether or not anyone else had determined a root cause for
Calculator example failure. I saw lots of questions but no answers
clear enough (in my perhaps audacious view) to help a novice, so I
will register mine here for the record and hope it will save someone
some time going forward.
I also see that folks have had difficulty finding source code for the
calculator and related client. I simply cut and pasted from Apple
documentation for the calculator and built a very simple client. I've
attached them for your convenience here - XCode 2.2 project files.
Tom Winans
Attachment:
WO_CalcStackT.tar.gz
Description: GNU Zip compressed data
Attachment:
CalculatorWS.tar.gz
Description: GNU Zip compressed data
Attachment:
CalculatorClient.tar.gz
Description: GNU Zip compressed data
_______________________________________________
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