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

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

  • Follow-Ups:
    • RE: Calculator Web Service example - log4j/commons-logging discovery
      • From: "Randy Wigginton" <email@hidden>
  • Prev by Date: Re: Common library, how to
  • Next by Date: Re: EnterpriseObjects in a regular Java application
  • Previous by thread: Re: Using a dynamic library with Java
  • Next by thread: RE: Calculator Web Service example - log4j/commons-logging discovery
  • Index(es):
    • Date
    • Thread