• 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 ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Bear Bibeault
  • Knute Snortum
  • Liutauras Vilda
Sheriffs:
  • Tim Cooke
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Tim Moores
  • Frits Walraven
  • Ron McLeod
  • Ganesh Patekar
  • salvin francis
Bartenders:
  • Tim Holloway
  • Carey Brown
  • Stephan van Hulst

EJB and logging  RSS feed

 
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.
 
Acetylsalicylic acid is aspirin. This could be handy too:
RavenDB is an Open Source NoSQL Database that’s fully transactional (ACID) across your database
https://coderanch.com/t/704633/RavenDB-Open-Source-NoSQL-Database
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!