• 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: Missing com.apple.client.directtoweb
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Missing com.apple.client.directtoweb


  • Subject: Re: Missing com.apple.client.directtoweb
  • From: Dustin Withers <email@hidden>
  • Date: Sun, 20 Aug 2006 15:42:51 -0500

Ok that's kind of the direction I went when I noticed that the WOnder Application gave me logging. So I copied the file out of the WOnder apps project folder into the D2W app and it made no difference. What is the "legal" Eclipse way of editing the Properties files? I've right clicked the project itself and went to Properties but I'm not seeing anything pertaining to log4j in either my D2W project or the WOnder Application project.

-dustin

On Aug 20, 2006, at 1:30 PM, RedBugz Software wrote:

On 8/20/06, Dustin Withers <email@hidden> wrote:
> Also does anybody have any knowledge about configuring log4j? If I include
Wonder libraries into my app Eclipse no longer logs anything it just gives
me:


log4j:WARN No appenders could be found for logger (org.apache.log4j.Logger).
log4j:WARN Please initialize the log4j system properly.
1789 [main] INFO org.apache.log4j.Logger - Updated the logging
configuration with the current system properties.
1835 [main] WARN NSLog -

If you're using WOLips, then my best guess is your Properties file is not correct. If you use the WOLips WOnderApplication project template, then it creates a Properties file that should work just fine. If you created your project with Xcode or using a normal WOApplication template, then you will need to add some stuff to your Properties file.

If you don't have a bunch of stuff that looks like this in your Properties file:
# Log4j Configuration
log4j.loggerFactory=er.extensions.ERXLogger$Factory


# Set root category priority to DEBUG and its only appender to A1.
log4j.rootCategory=DEBUG, A1

# A1 is set to be a FileAppender which outputs to System.out.
log4j.appender.A1=org.apache.log4j.ConsoleAppender
..... <a bunch more stuff>

then I'd recommend you use the new WOnderApplication Wizard to create
a new project and copy all of those entries from that project's
Properties file into
your existing project.

If you do have those entries, then I'd have to start looking at the
classpath to make sure that all the correct classes are there and you
aren't accidentally picking up a really old copy of log4j from
somewhere like /Library/Java/Extensions.

You can also try running the project with -Dlog4j.debug=true which
will tell you where it's loading the configuration from and any errors
it encounters.

HTH,
Logan
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40griffintechnology.com


This email sent to email@hidden

_______________________________________________ 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: 
 >Missing com.apple.client.directtoweb (From: Dustin Withers <email@hidden>)
 >Re: Missing com.apple.client.directtoweb (From: Ulrich Köster <email@hidden>)
 >Re: Missing com.apple.client.directtoweb (From: Dustin Withers <email@hidden>)
 >Re: Re: Missing com.apple.client.directtoweb (From: "RedBugz Software" <email@hidden>)

  • Prev by Date: Re: Lets Start doing it
  • Next by Date: Re: Missing com.apple.client.directtoweb
  • Previous by thread: Re: Re: Missing com.apple.client.directtoweb
  • Next by thread: Re: Missing com.apple.client.directtoweb
  • Index(es):
    • Date
    • Thread