• 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: Calculator Web Service example - log4j/commons-logging discovery
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Calculator Web Service example - log4j/commons-logging discovery


  • Subject: RE: Calculator Web Service example - log4j/commons-logging discovery
  • From: "Randy Wigginton" <email@hidden>
  • Date: Wed, 1 Feb 2006 13:50:31 -0500

The calculator example does work.  The source code is cleverly hidden at
/ADC Reference
Library/documentation/WebObjects/Web_Services/Web_services.tar.gz

Try that, see if it doesn't help.

-----Original Message-----
From: webobjects-dev-bounces+cawineguy=email@hidden
[mailto:webobjects-dev-bounces+cawineguy=email@hidden] On
Behalf Of Thomas B Winans
Sent: Sunday, January 29, 2006 7:12 PM
To: email@hidden
Subject: Calculator Web Service example - log4j/commons-logging discovery

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


 _______________________________________________
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

References: 
 >Calculator Web Service example - log4j/commons-logging discovery (From: Thomas B Winans <email@hidden>)

  • Prev by Date: Re: D2WQuery Component Frustration
  • Next by Date: Re: D2WQuery Component Frustration
  • Previous by thread: Calculator Web Service example - log4j/commons-logging discovery
  • Next by thread: Re: EnterpriseObjects in a regular Java application
  • Index(es):
    • Date
    • Thread