|
|
Index
| Recent Threads
| Who's Online
| User List
| Search
| Help
| |
|
Forum has been closed down This forum has been closed down due to extensive spamming activities. Please use the mailing list instead. |
![]() |
openRDF.org Forum » Sesame & Rio: Open Discussion » Thread: Sesame and logging |
|
Total posts in this thread: 3 |
[Add To My Favorites] [Watch this Thread] |
| Author |
|
|
Apr 1, 2009 12:52:13 PM
turnguard Regular Joined: Mar 22, 2008 Posts: 34 Status: Offline |
hi there! in my project i'm using the sesame 2.2.4 api and the aperture api which needs the rdf2go [ rdf2go.impl.sesame22-4.7.0.jar ] my project only deploys correctly [ i'm using netbeans 6.5 ] having the following jars on my classpath slf4j-simple-1.5.6.jar log4j-over-slf4j-1.5.6.jar slf4j-api-1.5.0.jar [ from the sesame download ] slf4j-jdk14-1.5.0.jar [ from the sesame download ] logback-core-0.9.9.jar logback-classic-0.9.9.jar jcl-over-slf4j-1.5.0.jar commons-logging.jar and still , when i redeploy my project from the netbeans ide - i get nullpointerexceptions logback with some slf locationaware stuff in the stack trace where there arent any [ only restarting the whole server helps ]. i read in one post that you should get rid of log4j.jar - what if i have in my server lib and need it for another project? is there any real reason , one can't do a project with just java.util.logging or log4j? also any help concerning logging in a webapplication really appreciated wkr www.turnguard.com |
||
|
|
Apr 1, 2009 2:16:57 PM
james OpenRDF.org Consultant Canada Joined: Jul 21, 2005 Posts: 650 Status: Offline |
The jars: jcl-over-slf4j-1.5.0.jar and commons-logging.jar conflict with each other. Try removing the one of them. The jars: slf4j-jdk14-1.5.0.jar and logback-core-0.9.9.jar also conflict with each other. Try removing logback-core-0.9.9.jar and logback-classic-0.9.9.jar. Tomcat has it own logger that speaks the jdk14 API. By removing the logback jars your application should start using tomcat's logger. ---------------------------------------- Sesame Consultant http://leighnet.ca http://jamesrdf.blogspot.com |
||
|
|
Apr 1, 2009 3:12:45 PM
turnguard Regular Joined: Mar 22, 2008 Posts: 34 Status: Offline |
hi james, thanks a log! :) since i also replaced some logging jars in my tomcat/common/lib it works. thank god, jackrabbit is happy with the slf4j jars from the sesame download and doesnt need any commons-logging stuff. i need them in my server lib, since i'm accessing a jackrabbit repository via jndi. thanks and wkr www.turnguard.com |
||
|
| [Show Printable Version of Thread] |