Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8411447
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T00:25:29+00:00 2026-06-10T00:25:29+00:00

I am developing a project which accesses the database on local, and then calls

  • 0

I am developing a project which accesses the database on local, and then calls remote EJB service in a JBoss AP server.

Therefore, I use the hibernate-release-4.1.5.Final for the hibernate and jbossall-client.jar for calling the remote EJB services.

However, when running jndiContext.lookup(“xxx”) method, an exception bumps out, and the messages shows as below.

Exception in thread "main" java.lang.NoSuchFieldError: TRACE
    at org.jboss.logging.Log4jLogger.translate(Log4jLogger.java:64)
    at org.jboss.logging.Log4jLogger.isEnabled(Log4jLogger.java:39)
    at org.jboss.logging.Logger.isTraceEnabled(Logger.java:98)
    at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:623)
    at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:590)
    at javax.naming.InitialContext.lookup(InitialContext.java:392)

I’ve tried and found out the jboss-logging-3.1.0.GA.jar of Hibernate framework will conflict with the jbossall-client.jar.

If this jar is excluded, the EJB works successfully, but the hibernate parts will not work.

I am curios whether this exception results from the difference of the versions between Log4J of jboss-logging-3.1.0.GA.jar and one of jbossall-client.jar.

The jars I put in my project are listed as below.

1.antlr-2.7.7.jar

2.dom4j-1.6.1.jar

3.hibernate-commons-annotations-4.0.1.Final.jar

4.hibernate-core-4.1.5.Final.jar

5.hibernate-jpa-2.0-api-1.0.1.Final.jar

6.javassist-3.15.0-GA.jar

7.jboss-logging-3.1.0.GA.jar

8.jboss-transaction-api_1.1_spec-1.0.0.Final.jar

9.jbossall-client.jar

JDK:jdk1.6.0_25

Could any one please give me a suggestion or a solution?
If there is any information needed, please feel free to tell me.

Thanks for your helps in advance.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T00:25:31+00:00Added an answer on June 10, 2026 at 12:25 am

    Try grabbing a newer version of log4j, hibernate 4 needs (I think) 1.2.12 or higher. You may need to put it in your server’s lib directory. If that doesn’t work, you may need to use hibernate 3 instead.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm developing a Windows Phone 7 project which uses a local SQLite database. The
I am using SQL Server 2008 and developing a project which is in maintenance
I am developing an iphone project in which I have to use Walrus S3
I'm developing a project in C# which I use a internal SQL DB, however
I'm developing project which use image processing technique. In that I'm using javacv package
I am developing a project which works with multiple arithmetic types. So I made
I'm currently developing on a project which uses some TimerJobs. One of the jobs
I am going to be developing a large project which will include a large
I am developing an android project in which I have to load from group
I am developing an android app in which I have included a library project,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.