We have have a Log4j appender which writes to a database. If we put the appender configuration in the conf/jboss-log4j.xml file we get error saying it could not find the datasource.
This to me makes sense, because the datasources have not been deployed yet. Can we make it depend on the datasource, so it is not created until the database is ready?
- JBoss Enterprise Application Platform (EAP)
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.