This content has been marked as final.
Show 1 reply
-
1. Re: Jdbcappender is not working in fuse esb 6.1
prabhu.padala Apr 26, 2016 12:49 PM (in response to prabhu.padala)- I did following changes
- Reverted all my changes
- Added nullable to my table
- added below configuration back to configuration file log4j.rootLogger=INFO, out, osgi:VmLogAppender, DB log4j.appender.DB=org.apache.log4j.jdbc.JDBCAppender log4j.appender.DB.URL=jdbc:oracle:thin:@//xxxx:1521/xxxx log4j.appender.DB.driver=oracle.jdbc.OracleDriver log4j.appender.DB.user=xxx log4j.appender.DB.password=xx log4j.appender.DB.Threshold=INFO log4j.appender.DB.sql=INSERT INTO xx_LOGS (USER_ID, DATED, LOGGER, LOG_LEVEL, MESSAGE) VALUES ('%x','%d','%C','%p','%m')
- Installed ojdbc5.jar(without any fragment host-since we need this bundle for other dependency)
- Enabled root logger as DB
- Restarted by fuse server
- It started to inserting log in database .
If you have any problem , Please reach me out through (prabhupmb@gmail.com)
Thanks
Prabhu Padala