• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • paul wheaton
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
  • Himai Minh
Bartenders:

Commons Logging with Protomatter

 
Ranch Hand
Posts: 188
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am having trouble using Protomatter as the logging package as explained here.
I have a commons-logging.properties file which specifies using com.protomatter.syslog.commons.SyslogChannelLogFactory as the implementation of org.apache.commons.logging.LogFactory. I launch my program in debug mode in Eclipse, and I get the following error:

The protomatter.jar is in the classpath for the project, I can see this as well in the debug launch options.

Can anyone advise as to what the problem might be? Thanks in advance for any suggestions!


--James
 
Sheriff
Posts: 67754
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Moved to the Other Open Source Projects forum.
 
James Adams
Ranch Hand
Posts: 188
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The problem has disappeared as mysteriously as it appeared. No clue as to why the problem went away.

--James
 
James Adams
Ranch Hand
Posts: 188
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
This error has reappeared now that I am running this program on a Linux box from a run script which includes the protomatter.jar on the classpath. I can't figure out why the class com.protomatter.syslog.commons.SyslogChannelLogFactory can't be found since the JAR containing this class is one the classpath. Is there perhaps another class loader which runs without the script's classpath setting? BTW (I don't think this has any real relevance) this application is using the Spring framework (v1.2.8).

Thanks in advance for any suggestions.


--James
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic