• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: DB UserName and Passwords are showing in the Console...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: DB UserName and Passwords are showing in the Console...


  • Subject: Re: DB UserName and Passwords are showing in the Console...
  • From: Mike Schrag <email@hidden>
  • Date: Fri, 17 Sep 2010 13:06:11 -0400

fix committed

On Sep 17, 2010, at 10:17 AM, Sreenivasulu A wrote:

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
References: 
 >DB UserName and Passwords are showing in the Console... (From: Sreenivasulu A <email@hidden>)

  • Prev by Date: Re: ERModernDirectToWeb SortButton
  • Next by Date: Re: ERModernDirectToWeb SortButton
  • Previous by thread: DB UserName and Passwords are showing in the Console...
  • Next by thread: ERModernDirectToWeb SortButton
  • Index(es):
    • Date
    • Thread