• 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 all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Liutauras Vilda
  • Bear Bibeault
  • Jeanne Boyarsky
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Piet Souris
  • salvin francis
  • Stephan van Hulst
  • Frits Walraven
  • Carey Brown
  • Jj Roberts

java.lang.ClassCircularityError: java/util/logging/LogRecord from Tomcat8

Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have configured logback.xml for my spring boot application. My spring boot version - 1.3.3.RELEASE, java version - 1.8 update 45, tomcat version - 8.

I have put logback.xml file in my local tomcats /lib folder.

Whenever I am running my tomcat without debug configuration it works fine.

But whenever I am trying run server with debug configured in catalina.bat file (with this option - set "JAVA_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket...... ) it displays java.lang.ClassCircularityError: java/util/logging/LogRecord and tomcat window closes.

Detailed error trace :
java.lang.ClassCircularityError: java/util/logging/LogRecord
at org.slf4j.bridge.SLF4JBridgeHandler.getSLF4JLogger(SLF4JBridgeHandler.java:200)
at org.slf4j.bridge.SLF4JBridgeHandler.publish(SLF4JBridgeHandler.java:289)
at java.util.logging.Logger.log(Logger.java:458)
at java.util.logging.Logger.doLog(Logger.java:480)
at java.util.logging.Logger.logp(Logger.java:596)

I have tried all the solutions given in thread - http://stackoverflow.com/questions/2656565/classcircularityerror-when-running-tomcat-6-from-eclipse. But nothing is working.

Does anyone faced this issue recently? Is there any solution or workaround for this issue?

Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I ma facing this issue now,
But not getting much help about this topic
Posts: 71093
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the Ranch Afraid I don't know about that problem myself.
Saloon Keeper
Posts: 22801
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It probably doesn't help that the original poster put what appears to be a config file in the TOMCAT_HOME/lib directory.

For a single webapp, the usual place for config files is either under the webapp's /WEB-INF or /WEB-INF/classes directory. Commonly it would be /WEB-INF/classes, since that allows classloader access to the config file.

For stuff that really is made a part of Tomcat, such as Connection Pool JDBC driver jars, config files would usually be placed under TOMCAT_HOME/conf.
Consider Paul's rocket mass heater.
    Bookmark Topic Watch Topic
  • New Topic