• Post Reply Bookmark Topic Watch Topic
  • New Topic

EJB and logging

 
Brett Favro
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a project in an ear file which contains an ejb.jar and the project.war file deployed in weblogic 8.1 environment. I am trying to use log4j from the bean to no avail. The war contains non jarred packages in WEB-INF/ directory. The log4j.properties file is in the war under WEB-INF/classes/ directory.
Previous to bundling ejb.jar into ear I had the ejb deployed as a container wide ejb and logging with log4j worked fine. I should also mention that I have the .class ejb files in war under WEB-INF/classes/ so webapp compiles correctly.
Any ideas?
 
Brett Favro
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Also log4j.jar in server's classpath weblogic81/server/lib/ directory.
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!