DB UserName and Passwords are showing in the Console...
DB UserName and Passwords are showing in the Console...
- Subject: DB UserName and Passwords are showing in the Console...
- From: Sreenivasulu A <email@hidden>
- Date: Fri, 17 Sep 2010 19:47:26 +0530
Hi List,
I am using WOLips plug-in with myeclipse. I am using MySQL as database for my app.
When database connection goes, and reconnect to my app, User Name and Password information
is displaying in the Console as a log shown below:
[2010-09-17 19:01:42 IST] [INFO ] <WorkerThread10> - Database Exception occured: java.lang.IllegalStateException: _obtainOpenChannel -- com.webobjects.eoaccess.EODatabaseContext com.webobjects.eoaccess.EODatabaseContext@1aecf45: failed to open database channel. Check your connection dictionary, and ensure your database is correctly configured.
[2010-09-17 19:01:42 IST] [INFO ] <WorkerThread10> - User: {plugin = "MySQL"; username = "
myuser"; driver = "com.mysql.jdbc.Driver"; password = "
mypassword"; URL = "" }
[2010-09-17 19:01:42 IST] [INFO ] <WorkerThread10> - Checking JDBC connection with information {plugin = "MySQL"; username = "
myuser"; driver = "com.mysql.jdbc.Driver"; password = "<
password deleted for log>"; URL = "" }
[2010-09-17 19:01:42 IST] [INFO ] <WorkerThread10> - Trying to create JDBCAdaptor...
EOModeler:User
UserName:myuser
Password:mypassword
These details are showing in my app console.
In my app properties, UserName and Password info is there.
Properties File:
===========
myapp.Model.username=myuser
myapp.Model.password=mypassword
myapp.Model.URL="">
log4j.rootLogger=INFO, A1
log4j.loggerFactory=er.extensions.logging.ERXLogger$Factory
# A1 is a ConsoleAppender
log4j.appender.A1=org.apache.log4j.ConsoleAppender
log4j.appender.A1.layout=er.extensions.logging.ERXPatternLayout
How to prevent this information from logging?
What is the purpose of
StackTraceSkipPatterns-Normal.plist, StackTraceSkipPatterns-Pro.plist under ERExtensions.framework\Resources folder?
If these files will solve my issue, how to use these files in my app and which patterns I append to these files?
Thanks in Advance,
Sreenivasulu Arveti.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden