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

  • Home
  • SEARCH
  • 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 6113829
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T14:54:13+00:00 2026-05-23T14:54:13+00:00

I am using Weblogic 11g, EJB3.0. I am struggling for weeks with this problem.

  • 0

I am using Weblogic 11g, EJB3.0.

I am struggling for weeks with this problem.

I have several deployments(Stateless beans).

each one has it’s own log4j jar (log4j-1.2.15.jar) and each one has it’s own log4j.properties.

problem is: when the I write to log(debug/error/info etc.) all logs from all deployments are written to the same log file.

this is annoying since I want each deployment to write to it’s own and only log file (which configured in it’s log4j.properties)

this is my log4j.properties file:

log4j.rootCategory=debug, R

log4j.appender.R=org.apache.log4j.RollingFileAppender

the next line has different path+name in each project.

log4j.appender.R.File=D\:\bea11\user_projects\domains\base_domain\autodeploy\MyProject\logs\MyProject.log

log4j.appender.R.MaxFileSize=8192KB

log4j.appender.R.MaxBackupIndex=100

log4j.appender.R.layout=org.apache.log4j.PatternLayout

log4j.appender.R.layout.ConversionPattern=%d{dd
MMM yyyy HH:mm:ss} %p %m%n

log4j.logger.org.hibernate=info

log4j.logger.org.hibernate.SQL=debug

log4j.logger.org.hibernate.type=info

log4j.logger.org.hibernate.tool.hbm2ddl=info

log4j.logger.org.hibernate.cache=info

my project is divided to three dependencies in Myeclipse:

ProjectName

ProjectNameEJB

ProjectnameWeb

and I have installed in in Weblogic as Exploded Archive

the jar is located under this dir path: ProjectName/ear/app-inf/lib/log4j-1.2.15.jar

and log4j.properties located under the root dir: ProjectName/log4j.properties

Thanks,
ray

  • 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-05-23T14:54:14+00:00Added an answer on May 23, 2026 at 2:54 pm

    must locate the properties.xml under app-inf/classes

    and the the log4j.jar under app-inf/lib

    and make sure you dont have the log4j.jar under the server/lib dir.

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

Sidebar

Related Questions

We are using Seam 2.2.0 Java 1.6.14 Weblogic 10.3.1.0 (named 11g Doh!) I have
Using Ejb3.0, Weblogic 11g, JDBC I am invoking a method which is running remotely
I am using Weblogic 11, ejb3.0 I have code which is doing lookup to
I have a peculiar problem with Log4j. We are deploying on Weblogic 10 using
I am using Weblogic 11g, EJB3.0. I am trying to do simple look up
I am using EJB3.0, Weblogic 11g I am trying to do simple lookup from
I am using Weblogic 116, Ejb3.0 , quartz-all 1.8.5. I have issues with quartz
I have been using Weblogic as my company used it. Now I want to
The Weblogic servers we are using have been configured to allow JNDI datasource names
I have an application running under WebLogic that is using standard forms authentication. The

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.