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.eodatabasecont...@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 = "jdbc:mysql://mylocalhost/mydb"; }
> [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 =
> "jdbc:mysql://mylocalhost/mydb"; }
> [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=jdbc:mysql://mylocalhost/mydb
>
> 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 protected])
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/webobjects-dev/mschrag%40pobox.com
>
> This email sent to [email protected]
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com
This email sent to [email protected]