JDBC failed to resolve default logging config file

classic Classic list List threaded Threaded
2 messages Options
Marco Marco
Reply | Threaded
Open this post in threaded view
|

JDBC failed to resolve default logging config file

This post has NOT been accepted by the mailing list yet.
This post was updated on .
Hi,
I'm using Ignite JDBC in a RESTFUL service,it works well,
But I hope if I could find a solution to fix following logger issue.

INFO: Starting ProtocolHandler ["ajp-bio-9009"]
Apr 07, 2016 2:43:45 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 5259 ms
Apr 07, 2016 2:43:52 PM java.util.logging.LogManager$RootLogger log
SEVERE: Failed to resolve default logging config file: config/java.util.logging.properties



    Context.xml for connection pool
    <Resource name="jdbc/historydb" auth="Container"
        type="javax.sql.DataSource" username="" password=""
        driverClassName="org.apache.ignite.IgniteJdbcDriver"
        url="jdbc:ignite://10.1.54.62:11211/so_history"
        maxActive="20" maxIdle="5" />

     
     Context initCtx  = new InitialContext();
     Context envContext  = (Context)initCtx.lookup("java:/comp/env");
     DataSource dataSource = (DataSource)envContext.lookup("jdbc/historydb");
     Statement stmt = (Statement) conn.createStatement();
     .......

     referenced libraries:
     ignite-core-1.5.0.jar
     ignite-shmem-1.0.0.jar
     cache-api-1.0.0.0.jar
 
     
    This is JDBC interface, I have no idea where I could use the bean file.

    Thank you very much.


vkulichenko vkulichenko
Reply | Threaded
Open this post in threaded view
|

Re: JDBC failed to resolve default logging config file

Hi,

Can you please properly subscribe to the mailing list so that the community can receive email notifications? Here is the instruction: http://apache-ignite-users.70518.x6.nabble.com/mailing_list/MailingListOptions.jtp?forum=1

Marco wrote
I'm using Ignite JDBC in a RESTFUL service,it works well,
But I hope if I could find a solution to fix following logger issue.

INFO: Starting ProtocolHandler ["ajp-bio-9009"]
Apr 07, 2016 2:43:45 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 5259 ms
Apr 07, 2016 2:43:52 PM java.util.logging.LogManager$RootLogger log
SEVERE: Failed to resolve default logging config file: config/java.util.logging.properties
JDBC driver uses Java logger and tries to use the config/java.util.logging.properties file by default. If it's not available, it will switch to default Java logger settings, so the warning itself is absolutely harmless. If you already have logger settings, you can specify the path to the file in 'java.util.logging.config.file' system property.

-Val