0 Replies Latest reply on Oct 16, 2016 6:12 PM by Gabriela Maldonado Morales

    Ayuda Jboss Server 7.1.1 Final, Help me Jboss Server 7.1.1

    Gabriela Maldonado Morales Newbie

      Cuando ejecuto el comando C:\Program Files\jboss\bin>standalone.bat -c standalone.xml -b 0.0.0.0, tengo los siguientes errores y warnings y ya no se ejecuta mi servidor Jboss.

       

      C:\Program Files\jboss\bin>standalone.bat -c standalone.xml -b 0.0.0.0

      Calling "C:\Program Files\jboss\bin\standalone.conf.bat"

      ===============================================================================

        JBoss Bootstrap Environment

       

      JBOSS_HOME: C:\Program Files\jboss

      JAVA: C:\Program Files\Java\jdk1.7.0_79\bin\java

       

      JAVA_OPTS: -XX:+TieredCompilation -Dprogram.name=standalone.bat -Xms64M -Xmx512M -XX:MaxPermSize=256M -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djava.net.preferIPv4Stack=true -Dorg.jboss.resolver.warning=true -Djboss.modules.system.pkgs=org.jboss.byteman -Djboss.server.default.config=standalone.xml

       

       

      ===============================================================================

       

       

      12:20:09,549 INFORMACIËN [org.jboss.modules] JBoss Modules version 1.1.1.GA

      12:20:13,482 INFO  [org.jboss.msc] JBoss MSC version 1.0.2.GA

      12:20:13,636 INFO  [org.jboss.as] JBAS015899: JBoss AS 7.1.1.Final "Brontes" starting

      12:20:25,107 INFO  [org.jboss.as.server] JBAS015888: Creating http management service using socket-binding (management-http)

      12:20:25,112 INFO  [org.xnio] XNIO Version 3.0.3.GA

      12:20:25,170 INFO  [org.xnio.nio] XNIO NIO Implementation Version 3.0.3.GA

      12:20:25,279 INFO  [org.jboss.remoting] JBoss Remoting version 3.2.3.GA

      12:20:25,392 INFO  [org.jboss.as.configadmin] JBAS016200: Activating ConfigAdmin Subsystem

      12:20:25,377 INFO  [org.jboss.as.logging] JBAS011502: Removing bootstrap log handlers

      12:20:25,403 INFO  [org.jboss.as.clustering.infinispan] JBAS010280: Activating Infinispan subsystem.

      12:20:25,399 INFO  [org.jboss.as.osgi] JBAS011940: Activating OSGi Subsystem

      12:20:25,392 INFO  [org.jboss.as.security] JBAS013101: Activating Security Subsystem

      12:20:25,476 INFO  [org.jboss.as.naming] (ServerService Thread Pool -- 48) JBAS011800: Activating Naming Subsystem

      12:20:25,532 INFO  [org.jboss.as.security] (MSC service thread 1-8) JBAS013100: Current PicketBox version=4.0.7.Final

      12:20:25,528 INFO  [org.jboss.as.webservices] (ServerService Thread Pool -- 58) JBAS015537: Activating WebServices Extension

      12:20:25,780 INFO  [org.jboss.as.connector] (MSC service thread 1-7) JBAS010408: Starting JCA Subsystem (JBoss IronJacamar 1.0.9.Final)

      12:20:26,798 INFO  [org.jboss.as.connector.subsystems.datasources] (ServerService Thread Pool -- 37) JBAS010403: Deploying JDBC-compliant driver class org.h2.Driver (version 1.3)

      12:20:27,329 INFO  [org.jboss.as.naming] (MSC service thread 1-8) JBAS011802: Starting Naming Service

      12:20:27,352 INFO  [org.jboss.as.mail.extension] (MSC service thread 1-8) JBAS015400: Bound mail session [java:jboss/mail/Default]

      12:20:29,499 INFO  [org.apache.coyote.ajp.AjpAprProtocol] (MSC service thread 1-8) Arrancando Coyote AJP/1.3 en ajp--0.0.0.0-8009

      12:20:29,499 INFO  [org.apache.coyote.http11.Http11AprProtocol] (MSC service thread 1-6) Arrancando Coyote HTTP/1.1 en puerto http--0.0.0.0-8080

      12:20:30,376 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-1) JBAS010400: Bound data source [java:jboss/datasources/ExampleDS]

      12:20:33,078 INFO  [org.jboss.ws.common.management.AbstractServerConfig] (MSC service thread 1-3) JBoss Web Services - Stack CXF Server 4.0.2.GA

      12:20:34,079 INFO  [org.jboss.as.server.deployment.scanner] (MSC service thread 1-7) JBAS015012: Started FileSystemDeploymentService for directory C:\Program Files\jboss\standalone\deployments

      12:20:34,079 INFO  [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) JBAS015014: Re-attempting failed deployment lsm-light.server.war

      12:20:34,110 INFO  [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) JBAS015014: Re-attempting failed deployment security.management.war

      12:20:34,195 INFO  [org.jboss.as.remoting] (MSC service thread 1-4) JBAS017100: Listening on /0.0.0.0:4447

      12:20:34,195 INFO  [org.jboss.as.remoting] (MSC service thread 1-5) JBAS017100: Listening on /127.0.0.1:9999

      12:20:34,679 INFO  [org.jboss.as] (Controller Boot Thread) JBAS015951: Admin console listening on http://127.0.0.1:9990

      12:20:34,695 INFO  [org.jboss.as] (Controller Boot Thread) JBAS015874: JBoss AS 7.1.1.Final "Brontes" started in 27071ms - Started 135 of 213 services (74 services are passive or on-demand)

      12:20:34,695 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-5) JBAS015876: Starting deployment of "lsm-light.server.war"

      12:20:34,695 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-8) JBAS015876: Starting deployment of "security.management.war"

      12:20:59,478 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-8) Class Path entry jaxb-api.jar in "/C:/Program Files/jboss/bin/content/security.management.war/WEB-INF/lib/jaxb-impl-2.2.4.jar"  does not point to a valid jar for a Class-Path reference.

      12:20:59,482 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-8) Class Path entry activation.jar in "/C:/Program Files/jboss/bin/content/security.management.war/WEB-INF/lib/jaxb-impl-2.2.4.jar"  does not point to a valid jar for a Class-Path reference.

      12:20:59,491 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-8) Class Path entry jsr173_1.0_api.jar in "/C:/Program Files/jboss/bin/content/security.management.war/WEB-INF/lib/jaxb-impl-2.2.4.jar"  does not point to a valid jar for a Class-Path reference.

      12:20:59,493 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-8) Class Path entry jaxb1-impl.jar in "/C:/Program Files/jboss/bin/content/security.management.war/WEB-INF/lib/jaxb-impl-2.2.4.jar"  does not point to a valid jar for a Class-Path reference.

      12:20:59,498 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-8) Class Path entry xml-apis.jar in "/C:/Program Files/jboss/bin/content/security.management.war/WEB-INF/lib/serializer-2.7.1.jar"  does not point to a valid jar for a Class-Path reference.

      12:20:59,505 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-8) Class Path entry xercesImpl.jar in "/C:/Program Files/jboss/bin/content/security.management.war/WEB-INF/lib/xalan-2.7.1.jar"  does not point to a valid jar for a Class-Path reference.

      12:20:59,506 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-8) Class Path entry xml-apis.jar in "/C:/Program Files/jboss/bin/content/security.management.war/WEB-INF/lib/xalan-2.7.1.jar"  does not point to a valid jar for a Class-Path reference.

      12:20:59,510 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-8) Class Path entry serializer.jar in "/C:/Program Files/jboss/bin/content/security.management.war/WEB-INF/lib/xalan-2.7.1.jar"  does not point to a valid jar for a Class-Path reference.

      12:21:03,656 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-5) Class Path entry jaxb-api.jar in "/C:/Program Files/jboss/bin/content/lsm-light.server.war/WEB-INF/lib/jaxb-impl-2.2.4.jar"  does not point to a valid jar for a Class-Path reference.

      12:21:03,658 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-5) Class Path entry activation.jar in "/C:/Program Files/jboss/bin/content/lsm-light.server.war/WEB-INF/lib/jaxb-impl-2.2.4.jar"  does not point to a valid jar for a Class-Path reference.

      12:21:03,661 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-5) Class Path entry jsr173_1.0_api.jar in "/C:/Program Files/jboss/bin/content/lsm-light.server.war/WEB-INF/lib/jaxb-impl-2.2.4.jar"  does not point to a valid jar for a Class-Path reference.

      12:21:03,667 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-5) Class Path entry jaxb1-impl.jar in "/C:/Program Files/jboss/bin/content/lsm-light.server.war/WEB-INF/lib/jaxb-impl-2.2.4.jar"  does not point to a valid jar for a Class-Path reference.

      12:21:03,677 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-5) Class Path entry xml-apis.jar in "/C:/Program Files/jboss/bin/content/lsm-light.server.war/WEB-INF/lib/serializer-2.7.1.jar"  does not point to a valid jar for a Class-Path reference.

      12:21:03,685 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-5) Class Path entry xercesImpl.jar in "/C:/Program Files/jboss/bin/content/lsm-light.server.war/WEB-INF/lib/xalan-2.7.1.jar"  does not point to a valid jar for a Class-Path reference.

      12:21:03,689 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-5) Class Path entry xml-apis.jar in "/C:/Program Files/jboss/bin/content/lsm-light.server.war/WEB-INF/lib/xalan-2.7.1.jar"  does not point to a valid jar for a Class-Path reference.

      12:21:03,691 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-5) Class Path entry serializer.jar in "/C:/Program Files/jboss/bin/content/lsm-light.server.war/WEB-INF/lib/xalan-2.7.1.jar"  does not point to a valid jar for a Class-Path reference.

      12:21:03,735 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-1) JBAS015893: Encountered invalid class name 'http\://java.sun.com/jaxp/xpath/dom:    net.sf.saxon.xpath.XPathFactoryImpl' for service type 'javax.xml.xpath.XPathFactory'

      12:21:03,738 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-1) JBAS015893: Encountered invalid class name 'http\://saxon.sf.net/jaxp/xpath/om:     net.sf.saxon.xpath.XPathFactoryImpl' for service type 'javax.xml.xpath.XPathFactory'

      12:21:03,890 INFO  [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/security.management]] (MSC service thread 1-2) No Spring WebApplicationInitializer types detected on classpath

      12:21:04,031 INFO  [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/lsm-light.server]] (MSC service thread 1-6) No Spring WebApplicationInitializer types detected on classpath

      12:21:04,273 INFO  [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/security.management]] (MSC service thread 1-2) Initializing Shiro environment

      12:21:04,280 INFO  [stdout] (MSC service thread 1-2) [SecM] INFO  o.a.shiro.web.env.EnvironmentLoader - Starting Shiro environment initialization.

      12:21:04,745 INFO  [stdout] (MSC service thread 1-6) [LSM-S] INFO  o.o.lsm.pooling.ConnectionManager - Loading property file

      12:21:04,771 INFO  [stdout] (MSC service thread 1-6) [LSM-S] INFO  o.o.lsm.pooling.ConnectionManager - loading database server driver virtuoso.jdbc4.Driver

      12:21:04,817 INFO  [stdout] (MSC service thread 1-2) [SecM] INFO  o.o.security.client.ConfigFileReader - Loading ini configuration from C:\Program Files\jboss\standalone\configuration/security-config.ini

      12:21:05,283 INFO  [stdout] (MSC service thread 1-2) [SecM] INFO  o.a.shiro.realm.AuthorizingRealm - No cache or cacheManager properties have been set.  Authorization cache cannot be obtained.

      12:21:05,655 INFO  [stdout] (MSC service thread 1-2) [SecM] INFO  o.a.s.cache.ehcache.EhCacheManager - Cache with name 'clientsRealm.authorizationCache' does not yet exist.  Creating now.

      12:21:05,671 INFO  [stdout] (MSC service thread 1-2) [SecM] INFO  o.a.s.cache.ehcache.EhCacheManager - Added EhCache named [clientsRealm.authorizationCache]

      12:21:05,689 INFO  [stdout] (MSC service thread 1-2) [SecM] INFO  o.a.shiro.web.env.EnvironmentLoader - Shiro environment initialized in 1406 ms.

      12:21:05,845 INFORMACIËN [javax.enterprise.resource.webcontainer.jsf.config] (MSC service thread 1-2) Inicializando Mojarra 2.1.7-jbossorg-1 (20120227-1401) para el contexto '/security.management'

      12:21:08,258 INFO  [stdout] (net.sf.ehcache.CacheManager@636abb7c) [SecM] INFO  net.sf.ehcache.util.UpdateChecker - New update(s) found: 2.6.5 [http://www.terracotta.org/confluence/display/release/Release+Notes+Ehcache+Core+2.6]. Please check http://ehcache.org for the latest version.

      12:21:10,011 INFO  [org.hibernate.validator.util.Version] (MSC service thread 1-2) Hibernate Validator 4.2.0.Final

      12:21:12,691 INFORMACIËN [org.primefaces.webapp.PostConstructApplicationEventListener] (MSC service thread 1-2) Running on PrimeFaces 4.0

      12:21:12,697 INFORMACIËN [org.primefaces.extensions.application.PostConstructApplicationEventListener] (MSC service thread 1-2) Running on PrimeFaces Extensions 1.1.0

      12:21:12,708 INFORMACIËN [javax.enterprise.resource.webcontainer.jsf.config] (MSC service thread 1-2) Monitoring jndi:/default-host/security.management/WEB-INF/faces-config.xml for modifications

      12:21:12,856 INFO  [org.jboss.web] (MSC service thread 1-2) JBAS018210: Registering web context: /security.management

      12:21:26,540 INFO  [stdout] (MSC service thread 1-6) [LSM-S] ERROR o.o.lsm.pooling.ConnectionManager - Error making pool:

      12:21:26,542 INFO  [stdout] (MSC service thread 1-6) java.sql.SQLException: Unable to open a test connection to the given database. JDBC url = jdbc:virtuoso://lsm.deri.ie:1111/log_enable=2, username = <database username>. Terminating connection pool. Original Exception: ------

      12:21:26,549 INFO  [stdout] (MSC service thread 1-6) virtuoso.jdbc4.VirtuosoException: Connection failed: Connection timed out: connect

      12:21:26,552 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source)

      12:21:26,556 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source)

      12:21:26,558 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.<init>(Unknown Source)

      12:21:26,560 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.Driver.connect(Unknown Source)

      12:21:26,561 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:571)

      12:21:26,563 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:215)

      12:21:26,569 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.obtainRawInternalConnection(BoneCP.java:256)

      12:21:26,572 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.<init>(BoneCP.java:305)

      12:21:26,574 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.pooling.ConnectionManager.init(ConnectionManager.java:75)

      12:21:26,578 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.ContextListener.contextInitialized(ContextListener.java:33)

      12:21:26,584 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392)

      12:21:26,587 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850)

      12:21:26,591 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90)

      12:21:26,596 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)

      12:21:26,600 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)

      12:21:26,606 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)

      12:21:26,610 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

      12:21:26,613 INFO  [stdout] (MSC service thread 1-6)    at java.lang.Thread.run(Thread.java:745)

      12:21:26,618 INFO  [stdout] (MSC service thread 1-6) ------

      12:21:26,619 INFO  [stdout] (MSC service thread 1-6)

      12:21:26,621 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.<init>(BoneCP.java:312) ~[bonecp-0.7.1.RELEASE.jar:0.7.1.RELEASE]

      12:21:26,624 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.pooling.ConnectionManager.init(ConnectionManager.java:75) ~[classes:na]

      12:21:26,628 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.ContextListener.contextInitialized(ContextListener.java:33) [classes:na]

      12:21:26,634 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392) [jbossweb-7.0.13.Final.jar!/:na]

      12:21:26,638 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850) [jbossweb-7.0.13.Final.jar!/:na]

      12:21:26,643 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90) [jboss-as-web-7.1.1.Final.jar!/:7.1.1.Final]

      12:21:26,646 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:21:26,651 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:21:26,657 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_79]

      12:21:26,662 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_79]

      12:21:26,668 INFO  [stdout] (MSC service thread 1-6)    at java.lang.Thread.run(Thread.java:745) [na:1.7.0_79]

      12:21:26,670 INFO  [stdout] (MSC service thread 1-6) Caused by: virtuoso.jdbc4.VirtuosoException: Connection failed: Connection timed out: connect

      12:21:26,673 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:21:26,679 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:21:26,682 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.<init>(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:21:26,686 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.Driver.connect(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:21:26,690 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:571) ~[na:1.7.0_79]

      12:21:26,693 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:215) ~[na:1.7.0_79]

      12:21:26,696 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.obtainRawInternalConnection(BoneCP.java:256) ~[bonecp-0.7.1.RELEASE.jar:0.7.1.RELEASE]

      12:21:26,702 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.<init>(BoneCP.java:305) ~[bonecp-0.7.1.RELEASE.jar:0.7.1.RELEASE]

      12:21:26,705 INFO  [stdout] (MSC service thread 1-6)    ... 10 common frames omitted

      12:21:26,770 INFO  [stdout] (MSC service thread 1-6) [LSM-S] INFO  o.o.lsm.pooling.ConnectionManager - Loading property file

      12:21:26,772 INFO  [stdout] (MSC service thread 1-6) [LSM-S] INFO  o.o.lsm.pooling.ConnectionManager - loading database server driver virtuoso.jdbc4.Driver

      12:21:47,801 INFO  [stdout] (MSC service thread 1-6) [LSM-S] ERROR o.o.lsm.pooling.ConnectionManager - Error making pool:

      12:21:47,803 INFO  [stdout] (MSC service thread 1-6) java.sql.SQLException: Unable to open a test connection to the given database. JDBC url = jdbc:virtuoso://lsm.deri.ie:1111/log_enable=2, username = <database username>. Terminating connection pool. Original Exception: ------

      12:21:47,810 INFO  [stdout] (MSC service thread 1-6) virtuoso.jdbc4.VirtuosoException: Connection failed: Connection timed out: connect

      12:21:47,813 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source)

      12:21:47,818 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source)

      12:21:47,820 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.<init>(Unknown Source)

      12:21:47,822 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.Driver.connect(Unknown Source)

      12:21:47,824 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:571)

      12:21:47,825 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:215)

      12:21:47,829 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.obtainRawInternalConnection(BoneCP.java:256)

      12:21:47,833 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.<init>(BoneCP.java:305)

      12:21:47,835 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.pooling.ConnectionManager.init(ConnectionManager.java:75)

      12:21:47,838 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.manager.SensorManager.<init>(SensorManager.java:71)

      12:21:47,842 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.init(SecurityInitializer.java:78)

      12:21:47,845 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.ContextListener.contextInitialized(ContextListener.java:34)

      12:21:47,849 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392)

      12:21:47,855 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850)

      12:21:47,858 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90)

      12:21:47,861 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)

      12:21:47,866 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)

      12:21:47,869 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)

      12:21:47,872 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

      12:21:47,878 INFO  [stdout] (MSC service thread 1-6)    at java.lang.Thread.run(Thread.java:745)

      12:21:47,880 INFO  [stdout] (MSC service thread 1-6) ------

      12:21:47,883 INFO  [stdout] (MSC service thread 1-6)

      12:21:47,884 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.<init>(BoneCP.java:312) ~[bonecp-0.7.1.RELEASE.jar:0.7.1.RELEASE]

      12:21:47,890 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.pooling.ConnectionManager.init(ConnectionManager.java:75) ~[classes:na]

      12:21:47,894 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.manager.SensorManager.<init>(SensorManager.java:71) [classes:na]

      12:21:47,897 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.init(SecurityInitializer.java:78) [classes:na]

      12:21:47,903 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.ContextListener.contextInitialized(ContextListener.java:34) [classes:na]

      12:21:47,906 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392) [jbossweb-7.0.13.Final.jar!/:na]

      12:21:47,910 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850) [jbossweb-7.0.13.Final.jar!/:na]

      12:21:47,916 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90) [jboss-as-web-7.1.1.Final.jar!/:7.1.1.Final]

      12:21:47,920 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:21:47,923 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:21:47,928 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_79]

      12:21:47,932 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_79]

      12:21:47,935 INFO  [stdout] (MSC service thread 1-6)    at java.lang.Thread.run(Thread.java:745) [na:1.7.0_79]

      12:21:47,939 INFO  [stdout] (MSC service thread 1-6) Caused by: virtuoso.jdbc4.VirtuosoException: Connection failed: Connection timed out: connect

      12:21:47,942 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:21:47,944 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:21:47,948 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.<init>(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:21:47,953 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.Driver.connect(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:21:47,955 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:571) ~[na:1.7.0_79]

      12:21:47,958 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:215) ~[na:1.7.0_79]

      12:21:47,962 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.obtainRawInternalConnection(BoneCP.java:256) ~[bonecp-0.7.1.RELEASE.jar:0.7.1.RELEASE]

      12:21:47,968 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.<init>(BoneCP.java:305) ~[bonecp-0.7.1.RELEASE.jar:0.7.1.RELEASE]

      12:21:47,971 INFO  [stdout] (MSC service thread 1-6)    ... 12 common frames omitted

      12:21:47,975 INFO  [stdout] (MSC service thread 1-6) [LSM-S] DEBUG o.o.lsm.http.SecurityInitializer - Retrieving all registered services

      12:21:48,001 ERROR [stderr] (MSC service thread 1-6) java.lang.NullPointerException

      12:21:48,003 ERROR [stderr] (MSC service thread 1-6)    at org.openiot.lsm.manager.SensorManager.getAllRegisteredServices(SensorManager.java:1597)

      12:21:48,008 ERROR [stderr] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.init(SecurityInitializer.java:83)

      12:21:48,012 ERROR [stderr] (MSC service thread 1-6)    at org.openiot.lsm.http.ContextListener.contextInitialized(ContextListener.java:34)

      12:21:48,016 ERROR [stderr] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392)

      12:21:48,022 ERROR [stderr] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850)

      12:21:48,026 ERROR [stderr] (MSC service thread 1-6)    at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90)

      12:21:48,029 ERROR [stderr] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)

      12:21:48,035 ERROR [stderr] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)

      12:21:48,038 ERROR [stderr] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)

      12:21:48,042 ERROR [stderr] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

      12:21:48,047 ERROR [stderr] (MSC service thread 1-6)    at java.lang.Thread.run(Thread.java:745)

      12:21:48,050 INFO  [stdout] (MSC service thread 1-6) [LSM-S] DEBUG o.o.lsm.http.SecurityInitializer - No registered services found. Initializing ...

      12:21:48,070 INFO  [stdout] (MSC service thread 1-6) [LSM-S] INFO  o.o.security.client.ConfigFileReader - Loading ini configuration from C:\Program Files\jboss\standalone\configuration/security-config.ini

      12:21:48,302 INFO  [stdout] (MSC service thread 1-6) [LSM-S] INFO  o.a.shiro.realm.AuthorizingRealm - No cache or cacheManager properties have been set.  Authorization cache cannot be obtained.

      12:21:48,320 INFO  [stdout] (MSC service thread 1-6) [LSM-S] INFO  o.o.lsm.pooling.ConnectionManager - Loading property file

      12:21:48,322 INFO  [stdout] (MSC service thread 1-6) [LSM-S] INFO  o.o.lsm.pooling.ConnectionManager - loading database server driver virtuoso.jdbc4.Driver

                                                                                           12:22:09,348 INFO  [stdout] (MSC service thread 1-6) [LSM-S] ERROR o.o.lsm.pooling.ConnectionManager - Error making pool:

      12:22:09,349 INFO  [stdout] (MSC service thread 1-6) java.sql.SQLException: Unable to open a test connection to the given database. JDBC url = jdbc:virtuoso://lsm.deri.ie:1111/log_enable=2, username = <database username>. Terminating connection pool. Original Exception: ------

      12:22:09,353 INFO  [stdout] (MSC service thread 1-6) virtuoso.jdbc4.VirtuosoException: Connection failed: Connection timed out: connect

      12:22:09,355 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source)

      12:22:09,357 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source)

      12:22:09,358 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.<init>(Unknown Source)

      12:22:09,361 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.Driver.connect(Unknown Source)

      12:22:09,363 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:571)

      12:22:09,365 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:215)

      12:22:09,367 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.obtainRawInternalConnection(BoneCP.java:256)

      12:22:09,374 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.<init>(BoneCP.java:305)

      12:22:09,377 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.pooling.ConnectionManager.init(ConnectionManager.java:75)

      12:22:09,386 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.manager.SensorManager.<init>(SensorManager.java:71)

      12:22:09,389 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.OauthServletHelper.feedToServer(OauthServletHelper.java:18)

      12:22:09,392 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.add(SecurityInitializer.java:394)

      12:22:09,400 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.addPermission(SecurityInitializer.java:378)

      12:22:09,403 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.generateAuthorizationData(SecurityInitializer.java:117)

      12:22:09,406 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.initialize(SecurityInitializer.java:92)

      12:22:09,413 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.init(SecurityInitializer.java:87)

      12:22:09,416 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.ContextListener.contextInitialized(ContextListener.java:34)

      12:22:09,419 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392)

      12:22:09,427 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850)

      12:22:09,429 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90)

      12:22:09,434 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)

      12:22:09,440 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)

      12:22:09,444 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)

      12:22:09,446 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

      12:22:09,447 INFO  [stdout] (MSC service thread 1-6)    at java.lang.Thread.run(Thread.java:745)

      12:22:09,449 INFO  [stdout] (MSC service thread 1-6) ------

      12:22:09,455 INFO  [stdout] (MSC service thread 1-6)

      12:22:09,457 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.<init>(BoneCP.java:312) ~[bonecp-0.7.1.RELEASE.jar:0.7.1.RELEASE]

      12:22:09,459 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.pooling.ConnectionManager.init(ConnectionManager.java:75) ~[classes:na]

      12:22:09,461 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.manager.SensorManager.<init>(SensorManager.java:71) [classes:na]

      12:22:09,462 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.OauthServletHelper.feedToServer(OauthServletHelper.java:18) [classes:na]

      12:22:09,469 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.add(SecurityInitializer.java:394) [classes:na]

      12:22:09,473 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.addPermission(SecurityInitializer.java:378) [classes:na]

      12:22:09,475 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.generateAuthorizationData(SecurityInitializer.java:117) [classes:na]

      12:22:09,478 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.initialize(SecurityInitializer.java:92) [classes:na]

      12:22:09,485 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.init(SecurityInitializer.java:87) [classes:na]

      12:22:09,487 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.ContextListener.contextInitialized(ContextListener.java:34) [classes:na]

      12:22:09,488 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392) [jbossweb-7.0.13.Final.jar!/:na]

      12:22:09,491 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850) [jbossweb-7.0.13.Final.jar!/:na]

      12:22:09,497 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90) [jboss-as-web-7.1.1.Final.jar!/:7.1.1.Final]

      12:22:09,501 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:22:09,504 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:22:09,510 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_79]

      12:22:09,513 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_79]

      12:22:09,516 INFO  [stdout] (MSC service thread 1-6)    at java.lang.Thread.run(Thread.java:745) [na:1.7.0_79]

      12:22:09,519 INFO  [stdout] (MSC service thread 1-6) Caused by: virtuoso.jdbc4.VirtuosoException: Connection failed: Connection timed out: connect

      12:22:09,527 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:22:09,531 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:22:09,534 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.<init>(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:22:09,540 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.Driver.connect(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:22:09,542 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:571) ~[na:1.7.0_79]

      12:22:09,544 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:215) ~[na:1.7.0_79]

      12:22:09,545 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.obtainRawInternalConnection(BoneCP.java:256) ~[bonecp-0.7.1.RELEASE.jar:0.7.1.RELEASE]

      12:22:09,548 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.<init>(BoneCP.java:305) ~[bonecp-0.7.1.RELEASE.jar:0.7.1.RELEASE]

      12:22:09,555 INFO  [stdout] (MSC service thread 1-6)    ... 17 common frames omitted

      12:22:09,569 INFO  [stdout] (MSC service thread 1-6) [LSM-S] INFO  o.openiot.lsm.manager.SensorManager - insert triples into graph http://lsm.deri.ie/OpenIoT/OAuth#

      12:22:09,572 INFO  [stdout] (MSC service thread 1-6) [LSM-S] WARN  o.openiot.lsm.manager.SensorManager - Fail to insert triples into graph http://lsm.deri.ie/OpenIoT/OAuth#

      12:22:09,574 INFO  [stdout] (MSC service thread 1-6) java.lang.NullPointerException: null

      12:22:09,580 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.manager.SensorManager.insertTriplesToGraph(SensorManager.java:122) ~[classes:na]

      12:22:09,583 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.OauthServletHelper.feedToServer(OauthServletHelper.java:41) [classes:na]

      12:22:09,585 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.add(SecurityInitializer.java:394) [classes:na]

      12:22:09,593 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.addPermission(SecurityInitializer.java:378) [classes:na]

      12:22:09,595 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.generateAuthorizationData(SecurityInitializer.java:117) [classes:na]

      12:22:09,597 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.initialize(SecurityInitializer.java:92) [classes:na]

      12:22:09,599 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.init(SecurityInitializer.java:87) [classes:na]

      12:22:09,601 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.ContextListener.contextInitialized(ContextListener.java:34) [classes:na]

      12:22:09,607 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392) [jbossweb-7.0.13.Final.jar!/:na]

      12:22:09,610 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850) [jbossweb-7.0.13.Final.jar!/:na]

      12:22:09,611 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90) [jboss-as-web-7.1.1.Final.jar!/:7.1.1.Final]

      12:22:09,613 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:22:09,621 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:22:09,624 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_79]

      12:22:09,626 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_79]

      12:22:09,628 INFO  [stdout] (MSC service thread 1-6)    at java.lang.Thread.run(Thread.java:745) [na:1.7.0_79]

      12:22:09,649 INFO  [stdout] (MSC service thread 1-6) [LSM-S] INFO  o.o.lsm.pooling.ConnectionManager - Loading property file

      12:22:09,652 INFO  [stdout] (MSC service thread 1-6) [LSM-S] INFO  o.o.lsm.pooling.ConnectionManager - loading database server driver virtuoso.jdbc4.Driver

      12:22:30,671 INFO  [stdout] (MSC service thread 1-6) [LSM-S] ERROR o.o.lsm.pooling.ConnectionManager - Error making pool:

      12:22:30,673 INFO  [stdout] (MSC service thread 1-6) java.sql.SQLException: Unable to open a test connection to the given database. JDBC url = jdbc:virtuoso://lsm.deri.ie:1111/log_enable=2, username = <database username>. Terminating connection pool. Original Exception: ------

      12:22:30,680 INFO  [stdout] (MSC service thread 1-6) virtuoso.jdbc4.VirtuosoException: Connection failed: Connection timed out: connect

      12:22:30,682 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source)

      12:22:30,684 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source)

      12:22:30,685 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.<init>(Unknown Source)

      12:22:30,691 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.Driver.connect(Unknown Source)

      12:22:30,692 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:571)

      12:22:30,693 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:215)

      12:22:30,695 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.obtainRawInternalConnection(BoneCP.java:256)

      12:22:30,698 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.<init>(BoneCP.java:305)

      12:22:30,704 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.pooling.ConnectionManager.init(ConnectionManager.java:75)

      12:22:30,706 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.manager.SensorManager.<init>(SensorManager.java:71)

      12:22:30,708 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.OauthServletHelper.feedToServer(OauthServletHelper.java:18)

      12:22:30,709 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.add(SecurityInitializer.java:394)

      12:22:30,711 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.addRole(SecurityInitializer.java:382)

      12:22:30,718 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.generateAuthorizationData(SecurityInitializer.java:118)

      12:22:30,720 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.initialize(SecurityInitializer.java:92)

      12:22:30,721 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.init(SecurityInitializer.java:87)

      12:22:30,723 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.ContextListener.contextInitialized(ContextListener.java:34)

      12:22:30,724 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392)

      12:22:30,731 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850)

      12:22:30,733 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90)

      12:22:30,735 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)

      12:22:30,737 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)

      12:22:30,744 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)

      12:22:30,745 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

      12:22:30,747 INFO  [stdout] (MSC service thread 1-6)    at java.lang.Thread.run(Thread.java:745)

      12:22:30,749 INFO  [stdout] (MSC service thread 1-6) ------

      12:22:30,750 INFO  [stdout] (MSC service thread 1-6)

      12:22:30,751 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.<init>(BoneCP.java:312) ~[bonecp-0.7.1.RELEASE.jar:0.7.1.RELEASE]

      12:22:30,757 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.pooling.ConnectionManager.init(ConnectionManager.java:75) ~[classes:na]

      12:22:30,760 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.manager.SensorManager.<init>(SensorManager.java:71) [classes:na]

      12:22:30,762 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.OauthServletHelper.feedToServer(OauthServletHelper.java:18) [classes:na]

      12:22:30,764 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.add(SecurityInitializer.java:394) [classes:na]

      12:22:30,766 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.addRole(SecurityInitializer.java:382) [classes:na]

      12:22:30,771 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.generateAuthorizationData(SecurityInitializer.java:118) [classes:na]

      12:22:30,773 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.initialize(SecurityInitializer.java:92) [classes:na]

      12:22:30,775 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.init(SecurityInitializer.java:87) [classes:na]

      12:22:30,777 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.ContextListener.contextInitialized(ContextListener.java:34) [classes:na]

      12:22:30,784 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392) [jbossweb-7.0.13.Final.jar!/:na]

      12:22:30,788 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850) [jbossweb-7.0.13.Final.jar!/:na]

      12:22:30,792 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90) [jboss-as-web-7.1.1.Final.jar!/:7.1.1.Final]

      12:22:30,794 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:22:30,800 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:22:30,802 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_79]

      12:22:30,803 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_79]

      12:22:30,805 INFO  [stdout] (MSC service thread 1-6)    at java.lang.Thread.run(Thread.java:745) [na:1.7.0_79]

      12:22:30,806 INFO  [stdout] (MSC service thread 1-6) Caused by: virtuoso.jdbc4.VirtuosoException: Connection failed: Connection timed out: connect

      12:22:30,813 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:22:30,815 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:22:30,817 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.<init>(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:22:30,819 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.Driver.connect(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:22:30,820 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:571) ~[na:1.7.0_79]

      12:22:30,826 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:215) ~[na:1.7.0_79]

      12:22:30,828 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.obtainRawInternalConnection(BoneCP.java:256) ~[bonecp-0.7.1.RELEASE.jar:0.7.1.RELEASE]

      12:22:30,830 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.<init>(BoneCP.java:305) ~[bonecp-0.7.1.RELEASE.jar:0.7.1.RELEASE]

      12:22:30,833 INFO  [stdout] (MSC service thread 1-6)    ... 17 common frames omitted

      12:22:30,836 INFO  [stdout] (MSC service thread 1-6) [LSM-S] INFO  o.openiot.lsm.manager.SensorManager - insert triples into graph http://lsm.deri.ie/OpenIoT/OAuth#

      12:22:30,844 INFO  [stdout] (MSC service thread 1-6) [LSM-S] WARN  o.openiot.lsm.manager.SensorManager - Fail to insert triples into graph http://lsm.deri.ie/OpenIoT/OAuth#

      12:22:30,846 INFO  [stdout] (MSC service thread 1-6) java.lang.NullPointerException: null

      12:22:30,855 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.manager.SensorManager.insertTriplesToGraph(SensorManager.java:122) ~[classes:na]

      12:22:30,858 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.OauthServletHelper.feedToServer(OauthServletHelper.java:41) [classes:na]

      12:22:30,861 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.add(SecurityInitializer.java:394) [classes:na]

      12:22:30,869 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.addRole(SecurityInitializer.java:382) [classes:na]

      12:22:30,871 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.generateAuthorizationData(SecurityInitializer.java:118) [classes:na]

      12:22:30,873 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.initialize(SecurityInitializer.java:92) [classes:na]

      12:22:30,876 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.init(SecurityInitializer.java:87) [classes:na]

      12:22:30,882 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.ContextListener.contextInitialized(ContextListener.java:34) [classes:na]

      12:22:30,885 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392) [jbossweb-7.0.13.Final.jar!/:na]

      12:22:30,887 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850) [jbossweb-7.0.13.Final.jar!/:na]

      12:22:30,889 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90) [jboss-as-web-7.1.1.Final.jar!/:7.1.1.Final]

      12:22:30,891 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:22:30,897 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:22:30,899 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_79]

      12:22:30,901 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_79]

      12:22:30,903 INFO  [stdout] (MSC service thread 1-6)    at java.lang.Thread.run(Thread.java:745) [na:1.7.0_79]

      12:22:30,911 INFO  [stdout] (MSC service thread 1-6) [LSM-S] INFO  o.o.lsm.pooling.ConnectionManager - Loading property file

      12:22:30,913 INFO  [stdout] (MSC service thread 1-6) [LSM-S] INFO  o.o.lsm.pooling.ConnectionManager - loading database server driver virtuoso.jdbc4.Driver

      12:22:51,944 INFO  [stdout] (MSC service thread 1-6) [LSM-S] ERROR o.o.lsm.pooling.ConnectionManager - Error making pool:

      12:22:51,945 INFO  [stdout] (MSC service thread 1-6) java.sql.SQLException: Unable to open a test connection to the given database. JDBC url = jdbc:virtuoso://lsm.deri.ie:1111/log_enable=2, username = <database username>. Terminating connection pool. Original Exception: ------

      12:22:51,955 INFO  [stdout] (MSC service thread 1-6) virtuoso.jdbc4.VirtuosoException: Connection failed: Connection timed out: connect

      12:22:51,957 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source)

      12:22:51,963 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source)

      12:22:51,966 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.<init>(Unknown Source)

      12:22:51,969 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.Driver.connect(Unknown Source)

      12:22:51,971 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:571)

      12:22:51,977 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:215)

      12:22:51,979 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.obtainRawInternalConnection(BoneCP.java:256)

      12:22:51,981 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.<init>(BoneCP.java:305)

      12:22:51,982 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.pooling.ConnectionManager.init(ConnectionManager.java:75)

      12:22:51,985 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.manager.SensorManager.<init>(SensorManager.java:71)

      12:22:51,994 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.OauthServletHelper.feedToServer(OauthServletHelper.java:18)

      12:22:51,995 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.add(SecurityInitializer.java:394)

      12:22:51,997 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.addUser(SecurityInitializer.java:386)

      12:22:52,000 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.generateAuthorizationData(SecurityInitializer.java:119)

      12:22:52,009 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.initialize(SecurityInitializer.java:92)

      12:22:52,012 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.init(SecurityInitializer.java:87)

      12:22:52,014 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.ContextListener.contextInitialized(ContextListener.java:34)

      12:22:52,016 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392)

      12:22:52,024 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850)

      12:22:52,026 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90)

      12:22:52,028 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)

      12:22:52,030 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)

      12:22:52,037 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)

      12:22:52,039 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

      12:22:52,042 INFO  [stdout] (MSC service thread 1-6)    at java.lang.Thread.run(Thread.java:745)

      12:22:52,043 INFO  [stdout] (MSC service thread 1-6) ------

      12:22:52,045 INFO  [stdout] (MSC service thread 1-6)

      12:22:52,046 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.<init>(BoneCP.java:312) ~[bonecp-0.7.1.RELEASE.jar:0.7.1.RELEASE]

      12:22:52,054 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.pooling.ConnectionManager.init(ConnectionManager.java:75) ~[classes:na]

      12:22:52,057 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.manager.SensorManager.<init>(SensorManager.java:71) [classes:na]

      12:22:52,059 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.OauthServletHelper.feedToServer(OauthServletHelper.java:18) [classes:na]

      12:22:52,066 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.add(SecurityInitializer.java:394) [classes:na]

      12:22:52,070 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.addUser(SecurityInitializer.java:386) [classes:na]

      12:22:52,072 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.generateAuthorizationData(SecurityInitializer.java:119) [classes:na]

      12:22:52,078 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.initialize(SecurityInitializer.java:92) [classes:na]

      12:22:52,080 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.init(SecurityInitializer.java:87) [classes:na]

      12:22:52,082 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.ContextListener.contextInitialized(ContextListener.java:34) [classes:na]

      12:22:52,091 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392) [jbossweb-7.0.13.Final.jar!/:na]

      12:22:52,094 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850) [jbossweb-7.0.13.Final.jar!/:na]

      12:22:52,095 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90) [jboss-as-web-7.1.1.Final.jar!/:7.1.1.Final]

      12:22:52,098 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:22:52,098 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:22:52,108 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_79]

      12:22:52,110 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_79]

      12:22:52,113 INFO  [stdout] (MSC service thread 1-6)    at java.lang.Thread.run(Thread.java:745) [na:1.7.0_79]

      12:22:52,114 INFO  [stdout] (MSC service thread 1-6) Caused by: virtuoso.jdbc4.VirtuosoException: Connection failed: Connection timed out: connect

      12:22:52,126 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:22:52,128 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:22:52,130 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.<init>(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:22:52,132 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.Driver.connect(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:22:52,140 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:571) ~[na:1.7.0_79]

      12:22:52,145 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:215) ~[na:1.7.0_79]

      12:22:52,146 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.obtainRawInternalConnection(BoneCP.java:256) ~[bonecp-0.7.1.RELEASE.jar:0.7.1.RELEASE]

      12:22:52,155 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.<init>(BoneCP.java:305) ~[bonecp-0.7.1.RELEASE.jar:0.7.1.RELEASE]

      12:22:52,160 INFO  [stdout] (MSC service thread 1-6)    ... 17 common frames omitted

      12:22:52,163 INFO  [stdout] (MSC service thread 1-6) [LSM-S] INFO  o.openiot.lsm.manager.SensorManager - insert triples into graph http://lsm.deri.ie/OpenIoT/OAuth#

      12:22:52,175 INFO  [stdout] (MSC service thread 1-6) [LSM-S] WARN  o.openiot.lsm.manager.SensorManager - Fail to insert triples into graph http://lsm.deri.ie/OpenIoT/OAuth#

      12:22:52,179 INFO  [stdout] (MSC service thread 1-6) java.lang.NullPointerException: null

      12:22:52,180 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.manager.SensorManager.insertTriplesToGraph(SensorManager.java:122) ~[classes:na]

      12:22:52,193 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.OauthServletHelper.feedToServer(OauthServletHelper.java:41) [classes:na]

      12:22:52,204 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.add(SecurityInitializer.java:394) [classes:na]

      12:22:52,207 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.addUser(SecurityInitializer.java:386) [classes:na]

      12:22:52,211 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.generateAuthorizationData(SecurityInitializer.java:119) [classes:na]

      12:22:52,219 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.initialize(SecurityInitializer.java:92) [classes:na]

      12:22:52,221 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.init(SecurityInitializer.java:87) [classes:na]

      12:22:52,223 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.ContextListener.contextInitialized(ContextListener.java:34) [classes:na]

      12:22:52,226 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392) [jbossweb-7.0.13.Final.jar!/:na]

      12:22:52,233 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850) [jbossweb-7.0.13.Final.jar!/:na]

      12:22:52,239 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90) [jboss-as-web-7.1.1.Final.jar!/:7.1.1.Final]

      12:22:52,247 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:22:52,251 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:22:52,261 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_79]

      12:22:52,263 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_79]

      12:22:52,264 INFO  [stdout] (MSC service thread 1-6)    at java.lang.Thread.run(Thread.java:745) [na:1.7.0_79]

      12:22:52,269 INFO  [stdout] (MSC service thread 1-6) [LSM-S] INFO  o.o.lsm.pooling.ConnectionManager - Loading property file

      12:22:52,275 INFO  [stdout] (MSC service thread 1-6) [LSM-S] INFO  o.o.lsm.pooling.ConnectionManager - loading database server driver virtuoso.jdbc4.Driver

      12:23:13,343 INFO  [stdout] (MSC service thread 1-6) [LSM-S] ERROR o.o.lsm.pooling.ConnectionManager - Error making pool:

      12:23:13,343 INFO  [stdout] (MSC service thread 1-6) java.sql.SQLException: Unable to open a test connection to the given database. JDBC url = jdbc:virtuoso://lsm.deri.ie:1111/log_enable=2, username = <database username>. Terminating connection pool. Original Exception: ------

      12:23:13,343 INFO  [stdout] (MSC service thread 1-6) virtuoso.jdbc4.VirtuosoException: Connection failed: Connection timed out: connect

      12:23:13,343 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source)

      12:23:13,343 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source)

      12:23:13,358 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.<init>(Unknown Source)

      12:23:13,358 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.Driver.connect(Unknown Source)

      12:23:13,358 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:571)

      12:23:13,358 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:215)

      12:23:13,358 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.obtainRawInternalConnection(BoneCP.java:256)

      12:23:13,358 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.<init>(BoneCP.java:305)

      12:23:13,358 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.pooling.ConnectionManager.init(ConnectionManager.java:75)

      12:23:13,358 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.manager.SensorManager.<init>(SensorManager.java:71)

      12:23:13,358 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.OauthServletHelper.feedToServer(OauthServletHelper.java:18)

      12:23:13,374 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.add(SecurityInitializer.java:394)

      12:23:13,374 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.addPermission(SecurityInitializer.java:378)

      12:23:13,374 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.generateAuthorizationData(SecurityInitializer.java:128)

      12:23:13,374 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.initialize(SecurityInitializer.java:92)

      12:23:13,374 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.init(SecurityInitializer.java:87)

      12:23:13,394 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.ContextListener.contextInitialized(ContextListener.java:34)

      12:23:13,395 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392)

      12:23:13,395 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850)

      12:23:13,395 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90)

      12:23:13,395 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)

      12:23:13,395 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)

      12:23:13,395 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)

      12:23:13,395 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

      12:23:13,395 INFO  [stdout] (MSC service thread 1-6)    at java.lang.Thread.run(Thread.java:745)

      12:23:13,419 INFO  [stdout] (MSC service thread 1-6) ------

      12:23:13,420 INFO  [stdout] (MSC service thread 1-6)

      12:23:13,421 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.<init>(BoneCP.java:312) ~[bonecp-0.7.1.RELEASE.jar:0.7.1.RELEASE]

      12:23:13,423 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.pooling.ConnectionManager.init(ConnectionManager.java:75) ~[classes:na]

      12:23:13,426 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.manager.SensorManager.<init>(SensorManager.java:71) [classes:na]

      12:23:13,427 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.OauthServletHelper.feedToServer(OauthServletHelper.java:18) [classes:na]

      12:23:13,436 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.add(SecurityInitializer.java:394) [classes:na]

      12:23:13,438 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.addPermission(SecurityInitializer.java:378) [classes:na]

      12:23:13,440 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.generateAuthorizationData(SecurityInitializer.java:128) [classes:na]

      12:23:13,442 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.initialize(SecurityInitializer.java:92) [classes:na]

      12:23:13,443 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.init(SecurityInitializer.java:87) [classes:na]

      12:23:13,450 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.ContextListener.contextInitialized(ContextListener.java:34) [classes:na]

      12:23:13,452 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392) [jbossweb-7.0.13.Final.jar!/:na]

      12:23:13,454 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850) [jbossweb-7.0.13.Final.jar!/:na]

      12:23:13,457 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90) [jboss-as-web-7.1.1.Final.jar!/:7.1.1.Final]

      12:23:13,459 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:23:13,465 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:23:13,468 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_79]

      12:23:13,470 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_79]

      12:23:13,473 INFO  [stdout] (MSC service thread 1-6)    at java.lang.Thread.run(Thread.java:745) [na:1.7.0_79]

      12:23:13,476 INFO  [stdout] (MSC service thread 1-6) Caused by: virtuoso.jdbc4.VirtuosoException: Connection failed: Connection timed out: connect

      12:23:13,476 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:23:13,476 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:23:13,476 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.<init>(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:23:13,476 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.Driver.connect(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:23:13,476 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:571) ~[na:1.7.0_79]

      12:23:13,476 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:215) ~[na:1.7.0_79]

      12:23:13,476 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.obtainRawInternalConnection(BoneCP.java:256) ~[bonecp-0.7.1.RELEASE.jar:0.7.1.RELEASE]

      12:23:13,496 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.<init>(BoneCP.java:305) ~[bonecp-0.7.1.RELEASE.jar:0.7.1.RELEASE]

      12:23:13,496 INFO  [stdout] (MSC service thread 1-6)    ... 17 common frames omitted

      12:23:13,496 INFO  [stdout] (MSC service thread 1-6) [LSM-S] INFO  o.openiot.lsm.manager.SensorManager - insert triples into graph http://lsm.deri.ie/OpenIoT/OAuth#

      12:23:13,496 INFO  [stdout] (MSC service thread 1-6) [LSM-S] WARN  o.openiot.lsm.manager.SensorManager - Fail to insert triples into graph http://lsm.deri.ie/OpenIoT/OAuth#

      12:23:13,496 INFO  [stdout] (MSC service thread 1-6) java.lang.NullPointerException: null

      12:23:13,512 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.manager.SensorManager.insertTriplesToGraph(SensorManager.java:122) ~[classes:na]

      12:23:13,512 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.OauthServletHelper.feedToServer(OauthServletHelper.java:41) [classes:na]

      12:23:13,512 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.add(SecurityInitializer.java:394) [classes:na]

      12:23:13,512 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.addPermission(SecurityInitializer.java:378) [classes:na]

      12:23:13,512 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.generateAuthorizationData(SecurityInitializer.java:128) [classes:na]

      12:23:13,527 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.initialize(SecurityInitializer.java:92) [classes:na]

      12:23:13,527 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.init(SecurityInitializer.java:87) [classes:na]

      12:23:13,527 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.ContextListener.contextInitialized(ContextListener.java:34) [classes:na]

      12:23:13,527 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392) [jbossweb-7.0.13.Final.jar!/:na]

      12:23:13,527 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850) [jbossweb-7.0.13.Final.jar!/:na]

      12:23:13,527 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90) [jboss-as-web-7.1.1.Final.jar!/:7.1.1.Final]

      12:23:13,543 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:23:13,543 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:23:13,543 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_79]

      12:23:13,543 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_79]

      12:23:13,543 INFO  [stdout] (MSC service thread 1-6)    at java.lang.Thread.run(Thread.java:745) [na:1.7.0_79]

      12:23:13,559 INFO  [stdout] (MSC service thread 1-6) [LSM-S] INFO  o.o.lsm.pooling.ConnectionManager - Loading property file

      12:23:13,593 INFO  [stdout] (MSC service thread 1-6) [LSM-S] INFO  o.o.lsm.pooling.ConnectionManager - loading database server driver virtuoso.jdbc4.Driver

      12:23:34,655 INFO  [stdout] (MSC service thread 1-6) [LSM-S] ERROR o.o.lsm.pooling.ConnectionManager - Error making pool:

      12:23:34,655 INFO  [stdout] (MSC service thread 1-6) java.sql.SQLException: Unable to open a test connection to the given database. JDBC url = jdbc:virtuoso://lsm.deri.ie:1111/log_enable=2, username = <database username>. Terminating connection pool. Original Exception: ------

      12:23:34,655 INFO  [stdout] (MSC service thread 1-6) virtuoso.jdbc4.VirtuosoException: Connection failed: Connection timed out: connect

      12:23:34,655 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source)

      12:23:34,655 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source)

      12:23:34,670 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.<init>(Unknown Source)

      12:23:34,670 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.Driver.connect(Unknown Source)

      12:23:34,670 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:571)

      12:23:34,670 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:215)

      12:23:34,670 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.obtainRawInternalConnection(BoneCP.java:256)

      12:23:34,670 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.<init>(BoneCP.java:305)

      12:23:34,670 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.pooling.ConnectionManager.init(ConnectionManager.java:75)

      12:23:34,670 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.manager.SensorManager.<init>(SensorManager.java:71)

      12:23:34,670 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.OauthServletHelper.feedToServer(OauthServletHelper.java:18)

      12:23:34,670 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.add(SecurityInitializer.java:394)

      12:23:34,670 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.addRole(SecurityInitializer.java:382)

      12:23:34,686 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.generateAuthorizationData(SecurityInitializer.java:129)

      12:23:34,686 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.initialize(SecurityInitializer.java:92)

      12:23:34,686 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.init(SecurityInitializer.java:87)

      12:23:34,686 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.ContextListener.contextInitialized(ContextListener.java:34)

      12:23:34,686 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392)

      12:23:34,701 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850)

      12:23:34,701 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90)

      12:23:34,701 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)

      12:23:34,701 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)

      12:23:34,701 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)

      12:23:34,701 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

      12:23:34,717 INFO  [stdout] (MSC service thread 1-6)    at java.lang.Thread.run(Thread.java:745)

      12:23:34,717 INFO  [stdout] (MSC service thread 1-6) ------

      12:23:34,717 INFO  [stdout] (MSC service thread 1-6)

      12:23:34,717 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.<init>(BoneCP.java:312) ~[bonecp-0.7.1.RELEASE.jar:0.7.1.RELEASE]

      12:23:34,717 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.pooling.ConnectionManager.init(ConnectionManager.java:75) ~[classes:na]

      12:23:34,717 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.manager.SensorManager.<init>(SensorManager.java:71) [classes:na]

      12:23:34,717 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.OauthServletHelper.feedToServer(OauthServletHelper.java:18) [classes:na]

      12:23:34,739 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.add(SecurityInitializer.java:394) [classes:na]

      12:23:34,739 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.addRole(SecurityInitializer.java:382) [classes:na]

      12:23:34,739 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.generateAuthorizationData(SecurityInitializer.java:129) [classes:na]

      12:23:34,739 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.initialize(SecurityInitializer.java:92) [classes:na]

      12:23:34,739 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.init(SecurityInitializer.java:87) [classes:na]

      12:23:34,739 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.ContextListener.contextInitialized(ContextListener.java:34) [classes:na]

      12:23:34,739 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392) [jbossweb-7.0.13.Final.jar!/:na]

      12:23:34,739 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850) [jbossweb-7.0.13.Final.jar!/:na]

      12:23:34,739 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90) [jboss-as-web-7.1.1.Final.jar!/:7.1.1.Final]

      12:23:34,755 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:23:34,755 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:23:34,755 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_79]

      12:23:34,755 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_79]

      12:23:34,770 INFO  [stdout] (MSC service thread 1-6)    at java.lang.Thread.run(Thread.java:745) [na:1.7.0_79]

      12:23:34,770 INFO  [stdout] (MSC service thread 1-6) Caused by: virtuoso.jdbc4.VirtuosoException: Connection failed: Connection timed out: connect

      12:23:34,770 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:23:34,770 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:23:34,770 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.<init>(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:23:34,770 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.Driver.connect(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:23:34,770 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:571) ~[na:1.7.0_79]

      12:23:34,770 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:215) ~[na:1.7.0_79]

      12:23:34,770 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.obtainRawInternalConnection(BoneCP.java:256) ~[bonecp-0.7.1.RELEASE.jar:0.7.1.RELEASE]

      12:23:34,786 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.<init>(BoneCP.java:305) ~[bonecp-0.7.1.RELEASE.jar:0.7.1.RELEASE]

      12:23:34,786 INFO  [stdout] (MSC service thread 1-6)    ... 17 common frames omitted

      12:23:34,786 INFO  [stdout] (MSC service thread 1-6) [LSM-S] INFO  o.openiot.lsm.manager.SensorManager - insert triples into graph http://lsm.deri.ie/OpenIoT/OAuth#

      12:23:34,786 INFO  [stdout] (MSC service thread 1-6) [LSM-S] WARN  o.openiot.lsm.manager.SensorManager - Fail to insert triples into graph http://lsm.deri.ie/OpenIoT/OAuth#

      12:23:34,802 INFO  [stdout] (MSC service thread 1-6) java.lang.NullPointerException: null

      12:23:34,802 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.manager.SensorManager.insertTriplesToGraph(SensorManager.java:122) ~[classes:na]

      12:23:34,802 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.OauthServletHelper.feedToServer(OauthServletHelper.java:41) [classes:na]

      12:23:34,802 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.add(SecurityInitializer.java:394) [classes:na]

      12:23:34,802 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.addRole(SecurityInitializer.java:382) [classes:na]

      12:23:34,802 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.generateAuthorizationData(SecurityInitializer.java:129) [classes:na]

      12:23:34,802 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.initialize(SecurityInitializer.java:92) [classes:na]

      12:23:34,817 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.init(SecurityInitializer.java:87) [classes:na]

      12:23:34,817 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.ContextListener.contextInitialized(ContextListener.java:34) [classes:na]

      12:23:34,817 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392) [jbossweb-7.0.13.Final.jar!/:na]

      12:23:34,817 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850) [jbossweb-7.0.13.Final.jar!/:na]

      12:23:34,817 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90) [jboss-as-web-7.1.1.Final.jar!/:7.1.1.Final]

      12:23:34,817 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:23:34,839 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:23:34,839 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_79]

      12:23:34,839 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_79]

      12:23:34,839 INFO  [stdout] (MSC service thread 1-6)    at java.lang.Thread.run(Thread.java:745) [na:1.7.0_79]

      12:23:34,839 INFO  [stdout] (MSC service thread 1-6) [LSM-S] INFO  o.o.lsm.pooling.ConnectionManager - Loading property file

      12:23:34,839 INFO  [stdout] (MSC service thread 1-6) [LSM-S] INFO  o.o.lsm.pooling.ConnectionManager - loading database server driver virtuoso.jdbc4.Driver

      12:23:55,910 INFO  [stdout] (MSC service thread 1-6) [LSM-S] ERROR o.o.lsm.pooling.ConnectionManager - Error making pool:

      12:23:55,912 INFO  [stdout] (MSC service thread 1-6) java.sql.SQLException: Unable to open a test connection to the given database. JDBC url = jdbc:virtuoso://lsm.deri.ie:1111/log_enable=2, username = <database username>. Terminating connection pool. Original Exception: ------

      12:23:55,915 INFO  [stdout] (MSC service thread 1-6) virtuoso.jdbc4.VirtuosoException: Connection failed: Connection timed out: connect

      12:23:55,915 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source)

      12:23:55,915 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source)

      12:23:55,915 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.<init>(Unknown Source)

      12:23:55,915 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.Driver.connect(Unknown Source)

      12:23:55,915 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:571)

      12:23:55,915 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:215)

      12:23:55,930 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.obtainRawInternalConnection(BoneCP.java:256)

      12:23:55,930 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.<init>(BoneCP.java:305)

      12:23:55,930 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.pooling.ConnectionManager.init(ConnectionManager.java:75)

      12:23:55,930 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.manager.SensorManager.<init>(SensorManager.java:71)

      12:23:55,930 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.OauthServletHelper.feedToServer(OauthServletHelper.java:18)

      12:23:55,946 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.add(SecurityInitializer.java:394)

      12:23:55,946 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.addUser(SecurityInitializer.java:386)

      12:23:55,946 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.generateAuthorizationData(SecurityInitializer.java:130)

      12:23:55,946 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.initialize(SecurityInitializer.java:92)

      12:23:55,946 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.init(SecurityInitializer.java:87)

      12:23:55,946 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.ContextListener.contextInitialized(ContextListener.java:34)

      12:23:55,961 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392)

      12:23:55,961 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850)

      12:23:55,961 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90)

      12:23:55,961 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)

      12:23:55,961 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)

      12:23:55,961 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)

      12:23:55,977 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

      12:23:55,977 INFO  [stdout] (MSC service thread 1-6)    at java.lang.Thread.run(Thread.java:745)

      12:23:55,977 INFO  [stdout] (MSC service thread 1-6) ------

      12:23:55,977 INFO  [stdout] (MSC service thread 1-6)

      12:23:55,977 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.<init>(BoneCP.java:312) ~[bonecp-0.7.1.RELEASE.jar:0.7.1.RELEASE]

      12:23:55,993 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.pooling.ConnectionManager.init(ConnectionManager.java:75) ~[classes:na]

      12:23:55,993 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.manager.SensorManager.<init>(SensorManager.java:71) [classes:na]

      12:23:55,993 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.OauthServletHelper.feedToServer(OauthServletHelper.java:18) [classes:na]

      12:23:55,993 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.add(SecurityInitializer.java:394) [classes:na]

      12:23:55,993 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.addUser(SecurityInitializer.java:386) [classes:na]

      12:23:56,013 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.generateAuthorizationData(SecurityInitializer.java:130) [classes:na]

      12:23:56,015 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.initialize(SecurityInitializer.java:92) [classes:na]

      12:23:56,015 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.init(SecurityInitializer.java:87) [classes:na]

      12:23:56,015 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.ContextListener.contextInitialized(ContextListener.java:34) [classes:na]

      12:23:56,015 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392) [jbossweb-7.0.13.Final.jar!/:na]

      12:23:56,015 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850) [jbossweb-7.0.13.Final.jar!/:na]

      12:23:56,015 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90) [jboss-as-web-7.1.1.Final.jar!/:7.1.1.Final]

      12:23:56,015 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:23:56,015 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:23:56,031 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_79]

      12:23:56,031 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_79]

      12:23:56,031 INFO  [stdout] (MSC service thread 1-6)    at java.lang.Thread.run(Thread.java:745) [na:1.7.0_79]

      12:23:56,031 INFO  [stdout] (MSC service thread 1-6) Caused by: virtuoso.jdbc4.VirtuosoException: Connection failed: Connection timed out: connect

      12:23:56,031 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:23:56,046 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:23:56,046 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.<init>(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:23:56,046 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.Driver.connect(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:23:56,046 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:571) ~[na:1.7.0_79]

      12:23:56,046 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:215) ~[na:1.7.0_79]

      12:23:56,046 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.obtainRawInternalConnection(BoneCP.java:256) ~[bonecp-0.7.1.RELEASE.jar:0.7.1.RELEASE]

      12:23:56,062 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.<init>(BoneCP.java:305) ~[bonecp-0.7.1.RELEASE.jar:0.7.1.RELEASE]

      12:23:56,062 INFO  [stdout] (MSC service thread 1-6)    ... 17 common frames omitted

      12:23:56,062 INFO  [stdout] (MSC service thread 1-6) [LSM-S] INFO  o.openiot.lsm.manager.SensorManager - insert triples into graph http://lsm.deri.ie/OpenIoT/OAuth#

      12:23:56,062 INFO  [stdout] (MSC service thread 1-6) [LSM-S] WARN  o.openiot.lsm.manager.SensorManager - Fail to insert triples into graph http://lsm.deri.ie/OpenIoT/OAuth#

      12:23:56,062 INFO  [stdout] (MSC service thread 1-6) java.lang.NullPointerException: null

      12:23:56,077 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.manager.SensorManager.insertTriplesToGraph(SensorManager.java:122) ~[classes:na]

      12:23:56,077 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.OauthServletHelper.feedToServer(OauthServletHelper.java:41) [classes:na]

      12:23:56,077 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.add(SecurityInitializer.java:394) [classes:na]

      12:23:56,077 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.addUser(SecurityInitializer.java:386) [classes:na]

      12:23:56,093 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.generateAuthorizationData(SecurityInitializer.java:130) [classes:na]

      12:23:56,093 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.initialize(SecurityInitializer.java:92) [classes:na]

      12:23:56,093 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.init(SecurityInitializer.java:87) [classes:na]

      12:23:56,093 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.ContextListener.contextInitialized(ContextListener.java:34) [classes:na]

      12:23:56,093 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392) [jbossweb-7.0.13.Final.jar!/:na]

      12:23:56,115 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850) [jbossweb-7.0.13.Final.jar!/:na]

      12:23:56,115 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90) [jboss-as-web-7.1.1.Final.jar!/:7.1.1.Final]

      12:23:56,115 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:23:56,115 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:23:56,115 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_79]

      12:23:56,115 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_79]

      12:23:56,131 INFO  [stdout] (MSC service thread 1-6)    at java.lang.Thread.run(Thread.java:745) [na:1.7.0_79]

      12:23:56,131 INFO  [stdout] (MSC service thread 1-6) [LSM-S] INFO  o.o.lsm.pooling.ConnectionManager - Loading property file

      12:23:56,146 INFO  [stdout] (MSC service thread 1-6) [LSM-S] INFO  o.o.lsm.pooling.ConnectionManager - loading database server driver virtuoso.jdbc4.Driver

      12:24:17,186 INFO  [stdout] (MSC service thread 1-6) [LSM-S] ERROR o.o.lsm.pooling.ConnectionManager - Error making pool:

      12:24:17,188 INFO  [stdout] (MSC service thread 1-6) java.sql.SQLException: Unable to open a test connection to the given database. JDBC url = jdbc:virtuoso://lsm.deri.ie:1111/log_enable=2, username = <database username>. Terminating connection pool. Original Exception: ------

      12:24:17,196 INFO  [stdout] (MSC service thread 1-6) virtuoso.jdbc4.VirtuosoException: Connection failed: Connection timed out: connect

      12:24:17,197 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source)

      12:24:17,200 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source)

      12:24:17,206 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.<init>(Unknown Source)

      12:24:17,209 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.Driver.connect(Unknown Source)

      12:24:17,211 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:571)

      12:24:17,212 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:215)

      12:24:17,214 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.obtainRawInternalConnection(BoneCP.java:256)

      12:24:17,224 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.<init>(BoneCP.java:305)

      12:24:17,226 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.pooling.ConnectionManager.init(ConnectionManager.java:75)

      12:24:17,229 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.manager.SensorManager.<init>(SensorManager.java:71)

      12:24:17,231 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.OauthServletHelper.feedToServer(OauthServletHelper.java:18)

      12:24:17,239 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.add(SecurityInitializer.java:394)

      12:24:17,241 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.addPermission(SecurityInitializer.java:378)

      12:24:17,243 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.generateAuthorizationData(SecurityInitializer.java:188)

      12:24:17,246 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.initialize(SecurityInitializer.java:92)

      12:24:17,255 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.init(SecurityInitializer.java:87)

      12:24:17,257 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.ContextListener.contextInitialized(ContextListener.java:34)

      12:24:17,259 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392)

      12:24:17,262 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850)

      12:24:17,271 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90)

      12:24:17,274 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)

      12:24:17,276 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)

      12:24:17,278 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)

      12:24:17,288 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

      12:24:17,292 INFO  [stdout] (MSC service thread 1-6)    at java.lang.Thread.run(Thread.java:745)

      12:24:17,293 INFO  [stdout] (MSC service thread 1-6) ------

      12:24:17,295 INFO  [stdout] (MSC service thread 1-6)

      12:24:17,303 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.<init>(BoneCP.java:312) ~[bonecp-0.7.1.RELEASE.jar:0.7.1.RELEASE]

      12:24:17,305 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.pooling.ConnectionManager.init(ConnectionManager.java:75) ~[classes:na]

      12:24:17,307 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.manager.SensorManager.<init>(SensorManager.java:71) [classes:na]

      12:24:17,310 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.OauthServletHelper.feedToServer(OauthServletHelper.java:18) [classes:na]

      12:24:17,319 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.add(SecurityInitializer.java:394) [classes:na]

      12:24:17,324 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.addPermission(SecurityInitializer.java:378) [classes:na]

      12:24:17,331 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.generateAuthorizationData(SecurityInitializer.java:188) [classes:na]

      12:24:17,337 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.initialize(SecurityInitializer.java:92) [classes:na]

      12:24:17,347 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.init(SecurityInitializer.java:87) [classes:na]

      12:24:17,349 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.ContextListener.contextInitialized(ContextListener.java:34) [classes:na]

      12:24:17,359 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392) [jbossweb-7.0.13.Final.jar!/:na]

      12:24:17,363 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850) [jbossweb-7.0.13.Final.jar!/:na]

      12:24:17,365 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90) [jboss-as-web-7.1.1.Final.jar!/:7.1.1.Final]

      12:24:17,374 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:24:17,377 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:24:17,379 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_79]

      12:24:17,382 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_79]

      12:24:17,392 INFO  [stdout] (MSC service thread 1-6)    at java.lang.Thread.run(Thread.java:745) [na:1.7.0_79]

      12:24:17,394 INFO  [stdout] (MSC service thread 1-6) Caused by: virtuoso.jdbc4.VirtuosoException: Connection failed: Connection timed out: connect

      12:24:17,397 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:24:17,399 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:24:17,400 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.<init>(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:24:17,410 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.Driver.connect(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:24:17,414 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:571) ~[na:1.7.0_79]

      12:24:17,416 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:215) ~[na:1.7.0_79]

      12:24:17,424 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.obtainRawInternalConnection(BoneCP.java:256) ~[bonecp-0.7.1.RELEASE.jar:0.7.1.RELEASE]

      12:24:17,426 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.<init>(BoneCP.java:305) ~[bonecp-0.7.1.RELEASE.jar:0.7.1.RELEASE]

      12:24:17,429 INFO  [stdout] (MSC service thread 1-6)    ... 17 common frames omitted

      12:24:17,431 INFO  [stdout] (MSC service thread 1-6) [LSM-S] INFO  o.openiot.lsm.manager.SensorManager - insert triples into graph http://lsm.deri.ie/OpenIoT/OAuth#

      12:24:17,443 INFO  [stdout] (MSC service thread 1-6) [LSM-S] WARN  o.openiot.lsm.manager.SensorManager - Fail to insert triples into graph http://lsm.deri.ie/OpenIoT/OAuth#

      12:24:17,445 INFO  [stdout] (MSC service thread 1-6) java.lang.NullPointerException: null

      12:24:17,448 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.manager.SensorManager.insertTriplesToGraph(SensorManager.java:122) ~[classes:na]

      12:24:17,450 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.OauthServletHelper.feedToServer(OauthServletHelper.java:41) [classes:na]

      12:24:17,458 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.add(SecurityInitializer.java:394) [classes:na]

      12:24:17,463 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.addPermission(SecurityInitializer.java:378) [classes:na]

      12:24:17,465 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.generateAuthorizationData(SecurityInitializer.java:188) [classes:na]

      12:24:17,478 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.initialize(SecurityInitializer.java:92) [classes:na]

      12:24:17,480 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.init(SecurityInitializer.java:87) [classes:na]

      12:24:17,494 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.ContextListener.contextInitialized(ContextListener.java:34) [classes:na]

      12:24:17,496 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392) [jbossweb-7.0.13.Final.jar!/:na]

      12:24:17,514 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850) [jbossweb-7.0.13.Final.jar!/:na]

      12:24:17,526 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90) [jboss-as-web-7.1.1.Final.jar!/:7.1.1.Final]

      12:24:17,529 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:24:17,546 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:24:17,548 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_79]

      12:24:17,557 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_79]

      12:24:17,560 INFO  [stdout] (MSC service thread 1-6)    at java.lang.Thread.run(Thread.java:745) [na:1.7.0_79]

      12:24:17,565 INFO  [stdout] (MSC service thread 1-6) [LSM-S] INFO  o.o.lsm.pooling.ConnectionManager - Loading property file

      12:24:17,575 INFO  [stdout] (MSC service thread 1-6) [LSM-S] INFO  o.o.lsm.pooling.ConnectionManager - loading database server driver virtuoso.jdbc4.Driver

      12:24:38,624 INFO  [stdout] (MSC service thread 1-6) [LSM-S] ERROR o.o.lsm.pooling.ConnectionManager - Error making pool:

      12:24:38,626 INFO  [stdout] (MSC service thread 1-6) java.sql.SQLException: Unable to open a test connection to the given database. JDBC url = jdbc:virtuoso://lsm.deri.ie:1111/log_enable=2, username = <database username>. Terminating connection pool. Original Exception: ------

      12:24:38,628 INFO  [stdout] (MSC service thread 1-6) virtuoso.jdbc4.VirtuosoException: Connection failed: Connection timed out: connect

      12:24:38,628 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source)

      12:24:38,628 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source)

      12:24:38,628 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.<init>(Unknown Source)

      12:24:38,628 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.Driver.connect(Unknown Source)

      12:24:38,628 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:571)

      12:24:38,628 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:215)

      12:24:38,628 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.obtainRawInternalConnection(BoneCP.java:256)

      12:24:38,643 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.<init>(BoneCP.java:305)

      12:24:38,643 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.pooling.ConnectionManager.init(ConnectionManager.java:75)

      12:24:38,643 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.manager.SensorManager.<init>(SensorManager.java:71)

      12:24:38,643 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.OauthServletHelper.feedToServer(OauthServletHelper.java:18)

      12:24:38,643 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.add(SecurityInitializer.java:394)

      12:24:38,643 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.addPermission(SecurityInitializer.java:378)

      12:24:38,659 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.generateAuthorizationData(SecurityInitializer.java:188)

      12:24:38,659 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.initialize(SecurityInitializer.java:92)

      12:24:38,659 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.init(SecurityInitializer.java:87)

      12:24:38,659 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.ContextListener.contextInitialized(ContextListener.java:34)

      12:24:38,659 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392)

      12:24:38,659 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850)

      12:24:38,674 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90)

      12:24:38,674 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)

      12:24:38,674 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)

      12:24:38,674 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)

      12:24:38,674 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

      12:24:38,674 INFO  [stdout] (MSC service thread 1-6)    at java.lang.Thread.run(Thread.java:745)

      12:24:38,674 INFO  [stdout] (MSC service thread 1-6) ------

      12:24:38,690 INFO  [stdout] (MSC service thread 1-6)

      12:24:38,690 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.<init>(BoneCP.java:312) ~[bonecp-0.7.1.RELEASE.jar:0.7.1.RELEASE]

      12:24:38,690 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.pooling.ConnectionManager.init(ConnectionManager.java:75) ~[classes:na]

      12:24:38,690 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.manager.SensorManager.<init>(SensorManager.java:71) [classes:na]

      12:24:38,690 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.OauthServletHelper.feedToServer(OauthServletHelper.java:18) [classes:na]

      12:24:38,690 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.add(SecurityInitializer.java:394) [classes:na]

      12:24:38,706 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.addPermission(SecurityInitializer.java:378) [classes:na]

      12:24:38,706 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.generateAuthorizationData(SecurityInitializer.java:188) [classes:na]

      12:24:38,706 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.initialize(SecurityInitializer.java:92) [classes:na]

      12:24:38,706 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.init(SecurityInitializer.java:87) [classes:na]

      12:24:38,706 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.ContextListener.contextInitialized(ContextListener.java:34) [classes:na]

      12:24:38,706 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392) [jbossweb-7.0.13.Final.jar!/:na]

      12:24:38,727 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850) [jbossweb-7.0.13.Final.jar!/:na]

      12:24:38,727 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90) [jboss-as-web-7.1.1.Final.jar!/:7.1.1.Final]

      12:24:38,727 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:24:38,727 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:24:38,727 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_79]

      12:24:38,727 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_79]

      12:24:38,727 INFO  [stdout] (MSC service thread 1-6)    at java.lang.Thread.run(Thread.java:745) [na:1.7.0_79]

      12:24:38,727 INFO  [stdout] (MSC service thread 1-6) Caused by: virtuoso.jdbc4.VirtuosoException: Connection failed: Connection timed out: connect

      12:24:38,727 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:24:38,743 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:24:38,743 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.<init>(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:24:38,743 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.Driver.connect(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:24:38,743 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:571) ~[na:1.7.0_79]

      12:24:38,743 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:215) ~[na:1.7.0_79]

      12:24:38,743 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.obtainRawInternalConnection(BoneCP.java:256) ~[bonecp-0.7.1.RELEASE.jar:0.7.1.RELEASE]

      12:24:38,759 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.<init>(BoneCP.java:305) ~[bonecp-0.7.1.RELEASE.jar:0.7.1.RELEASE]

      12:24:38,759 INFO  [stdout] (MSC service thread 1-6)    ... 17 common frames omitted

      12:24:38,759 INFO  [stdout] (MSC service thread 1-6) [LSM-S] INFO  o.openiot.lsm.manager.SensorManager - insert triples into graph http://lsm.deri.ie/OpenIoT/OAuth#

      12:24:38,759 INFO  [stdout] (MSC service thread 1-6) [LSM-S] WARN  o.openiot.lsm.manager.SensorManager - Fail to insert triples into graph http://lsm.deri.ie/OpenIoT/OAuth#

      12:24:38,759 INFO  [stdout] (MSC service thread 1-6) java.lang.NullPointerException: null

      12:24:38,774 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.manager.SensorManager.insertTriplesToGraph(SensorManager.java:122) ~[classes:na]

      12:24:38,774 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.OauthServletHelper.feedToServer(OauthServletHelper.java:41) [classes:na]

      12:24:38,774 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.add(SecurityInitializer.java:394) [classes:na]

      12:24:38,774 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.addPermission(SecurityInitializer.java:378) [classes:na]

      12:24:38,774 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.generateAuthorizationData(SecurityInitializer.java:188) [classes:na]

      12:24:38,790 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.initialize(SecurityInitializer.java:92) [classes:na]

      12:24:38,790 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.init(SecurityInitializer.java:87) [classes:na]

      12:24:38,790 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.ContextListener.contextInitialized(ContextListener.java:34) [classes:na]

      12:24:38,790 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392) [jbossweb-7.0.13.Final.jar!/:na]

      12:24:38,790 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850) [jbossweb-7.0.13.Final.jar!/:na]

      12:24:38,790 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90) [jboss-as-web-7.1.1.Final.jar!/:7.1.1.Final]

      12:24:38,806 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:24:38,806 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:24:38,806 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_79]

      12:24:38,806 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_79]

      12:24:38,806 INFO  [stdout] (MSC service thread 1-6)    at java.lang.Thread.run(Thread.java:745) [na:1.7.0_79]

      12:24:38,828 INFO  [stdout] (MSC service thread 1-6) [LSM-S] INFO  o.o.lsm.pooling.ConnectionManager - Loading property file

      12:24:38,828 INFO  [stdout] (MSC service thread 1-6) [LSM-S] INFO  o.o.lsm.pooling.ConnectionManager - loading database server driver virtuoso.jdbc4.Driver

      12:24:59,870 INFO  [stdout] (MSC service thread 1-6) [LSM-S] ERROR o.o.lsm.pooling.ConnectionManager - Error making pool:

      12:24:59,872 INFO  [stdout] (MSC service thread 1-6) java.sql.SQLException: Unable to open a test connection to the given database. JDBC url = jdbc:virtuoso://lsm.deri.ie:1111/log_enable=2, username = <database username>. Terminating connection pool. Original Exception: ------

      12:24:59,880 INFO  [stdout] (MSC service thread 1-6) virtuoso.jdbc4.VirtuosoException: Connection failed: Connection timed out: connect

      12:24:59,882 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source)

      12:24:59,883 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source)

      12:24:59,892 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.<init>(Unknown Source)

      12:24:59,893 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.Driver.connect(Unknown Source)

      12:24:59,895 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:571)

      12:24:59,896 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:215)

      12:24:59,898 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.obtainRawInternalConnection(BoneCP.java:256)

      12:24:59,906 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.<init>(BoneCP.java:305)

      12:24:59,908 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.pooling.ConnectionManager.init(ConnectionManager.java:75)

      12:24:59,910 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.manager.SensorManager.<init>(SensorManager.java:71)

      12:24:59,912 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.OauthServletHelper.feedToServer(OauthServletHelper.java:18)

      12:24:59,914 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.add(SecurityInitializer.java:394)

      12:24:59,921 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.addPermission(SecurityInitializer.java:378)

      12:24:59,923 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.generateAuthorizationData(SecurityInitializer.java:188)

      12:24:59,925 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.initialize(SecurityInitializer.java:92)

      12:24:59,927 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.init(SecurityInitializer.java:87)

      12:24:59,933 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.ContextListener.contextInitialized(ContextListener.java:34)

      12:24:59,936 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392)

      12:24:59,938 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850)

      12:24:59,940 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90)

      12:24:59,946 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)

      12:24:59,948 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)

      12:24:59,950 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)

      12:24:59,953 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

      12:24:59,962 INFO  [stdout] (MSC service thread 1-6)    at java.lang.Thread.run(Thread.java:745)

      12:24:59,964 INFO  [stdout] (MSC service thread 1-6) ------

      12:24:59,977 INFO  [stdout] (MSC service thread 1-6)

      12:24:59,978 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.<init>(BoneCP.java:312) ~[bonecp-0.7.1.RELEASE.jar:0.7.1.RELEASE]

      12:24:59,981 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.pooling.ConnectionManager.init(ConnectionManager.java:75) ~[classes:na]

      12:24:59,983 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.manager.SensorManager.<init>(SensorManager.java:71) [classes:na]

      12:24:59,991 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.OauthServletHelper.feedToServer(OauthServletHelper.java:18) [classes:na]

      12:24:59,994 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.add(SecurityInitializer.java:394) [classes:na]

      12:24:59,996 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.addPermission(SecurityInitializer.java:378) [classes:na]

      12:24:59,998 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.generateAuthorizationData(SecurityInitializer.java:188) [classes:na]

      12:25:00,008 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.initialize(SecurityInitializer.java:92) [classes:na]

      12:25:00,012 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.init(SecurityInitializer.java:87) [classes:na]

      12:25:00,020 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.ContextListener.contextInitialized(ContextListener.java:34) [classes:na]

      12:25:00,022 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392) [jbossweb-7.0.13.Final.jar!/:na]

      12:25:00,025 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850) [jbossweb-7.0.13.Final.jar!/:na]

      12:25:00,039 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90) [jboss-as-web-7.1.1.Final.jar!/:7.1.1.Final]

      12:25:00,041 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:25:00,049 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:25:00,052 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_79]

      12:25:00,055 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_79]

      12:25:00,063 INFO  [stdout] (MSC service thread 1-6)    at java.lang.Thread.run(Thread.java:745) [na:1.7.0_79]

      12:25:00,065 INFO  [stdout] (MSC service thread 1-6) Caused by: virtuoso.jdbc4.VirtuosoException: Connection failed: Connection timed out: connect

      12:25:00,067 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:25:00,070 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:25:00,071 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.<init>(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:25:00,079 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.Driver.connect(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:25:00,090 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:571) ~[na:1.7.0_79]

      12:25:00,092 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:215) ~[na:1.7.0_79]

      12:25:00,095 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.obtainRawInternalConnection(BoneCP.java:256) ~[bonecp-0.7.1.RELEASE.jar:0.7.1.RELEASE]

      12:25:00,098 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.<init>(BoneCP.java:305) ~[bonecp-0.7.1.RELEASE.jar:0.7.1.RELEASE]

      12:25:00,106 INFO  [stdout] (MSC service thread 1-6)    ... 17 common frames omitted

      12:25:00,109 INFO  [stdout] (MSC service thread 1-6) [LSM-S] INFO  o.openiot.lsm.manager.SensorManager - insert triples into graph http://lsm.deri.ie/OpenIoT/OAuth#

      12:25:00,112 INFO  [stdout] (MSC service thread 1-6) [LSM-S] WARN  o.openiot.lsm.manager.SensorManager - Fail to insert triples into graph http://lsm.deri.ie/OpenIoT/OAuth#

      12:25:00,114 INFO  [stdout] (MSC service thread 1-6) java.lang.NullPointerException: null

      12:25:00,122 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.manager.SensorManager.insertTriplesToGraph(SensorManager.java:122) ~[classes:na]

      12:25:00,124 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.OauthServletHelper.feedToServer(OauthServletHelper.java:41) [classes:na]

      12:25:00,126 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.add(SecurityInitializer.java:394) [classes:na]

      12:25:00,127 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.addPermission(SecurityInitializer.java:378) [classes:na]

      12:25:00,134 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.generateAuthorizationData(SecurityInitializer.java:188) [classes:na]

      12:25:00,138 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.initialize(SecurityInitializer.java:92) [classes:na]

      12:25:00,140 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.init(SecurityInitializer.java:87) [classes:na]

      12:25:00,141 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.ContextListener.contextInitialized(ContextListener.java:34) [classes:na]

      12:25:00,147 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392) [jbossweb-7.0.13.Final.jar!/:na]

      12:25:00,149 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850) [jbossweb-7.0.13.Final.jar!/:na]

      12:25:00,152 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90) [jboss-as-web-7.1.1.Final.jar!/:7.1.1.Final]

      12:25:00,154 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:25:00,161 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:25:00,163 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_79]

      12:25:00,165 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_79]

      12:25:00,167 INFO  [stdout] (MSC service thread 1-6)    at java.lang.Thread.run(Thread.java:745) [na:1.7.0_79]

      12:25:00,178 INFO  [stdout] (MSC service thread 1-6) [LSM-S] INFO  o.o.lsm.pooling.ConnectionManager - Loading property file

      12:25:00,180 INFO  [stdout] (MSC service thread 1-6) [LSM-S] INFO  o.o.lsm.pooling.ConnectionManager - loading database server driver virtuoso.jdbc4.Driver

      12:25:21,199 INFO  [stdout] (MSC service thread 1-6) [LSM-S] ERROR o.o.lsm.pooling.ConnectionManager - Error making pool:

      12:25:21,230 INFO  [stdout] (MSC service thread 1-6) java.sql.SQLException: Unable to open a test connection to the given database. JDBC url = jdbc:virtuoso://lsm.deri.ie:1111/log_enable=2, username = <database username>. Terminating connection pool. Original Exception: ------

      12:25:21,243 INFO  [stdout] (MSC service thread 1-6) virtuoso.jdbc4.VirtuosoException: Connection failed: Connection timed out: connect

      12:25:21,246 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source)

      12:25:21,265 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source)

      12:25:21,272 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.<init>(Unknown Source)

      12:25:21,279 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.Driver.connect(Unknown Source)

      12:25:21,280 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:571)

      12:25:21,282 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:215)

      12:25:21,283 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.obtainRawInternalConnection(BoneCP.java:256)

      12:25:21,293 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.<init>(BoneCP.java:305)

      12:25:21,296 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.pooling.ConnectionManager.init(ConnectionManager.java:75)

      12:25:21,298 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.manager.SensorManager.<init>(SensorManager.java:71)

      12:25:21,299 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.OauthServletHelper.feedToServer(OauthServletHelper.java:18)

      12:25:21,301 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.add(SecurityInitializer.java:394)

      12:25:21,315 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.addPermission(SecurityInitializer.java:378)

      12:25:21,324 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.generateAuthorizationData(SecurityInitializer.java:188)

      12:25:21,331 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.initialize(SecurityInitializer.java:92)

      12:25:21,334 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.init(SecurityInitializer.java:87)

      12:25:21,337 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.ContextListener.contextInitialized(ContextListener.java:34)

      12:25:21,343 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392)

      12:25:21,346 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850)

      12:25:21,348 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90)

      12:25:21,350 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)

      12:25:21,359 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)

      12:25:21,362 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)

      12:25:21,365 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

      12:25:21,366 INFO  [stdout] (MSC service thread 1-6)    at java.lang.Thread.run(Thread.java:745)

      12:25:21,386 INFO  [stdout] (MSC service thread 1-6) ------

      12:25:21,389 INFO  [stdout] (MSC service thread 1-6)

      12:25:21,391 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.<init>(BoneCP.java:312) ~[bonecp-0.7.1.RELEASE.jar:0.7.1.RELEASE]

      12:25:21,394 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.pooling.ConnectionManager.init(ConnectionManager.java:75) ~[classes:na]

      12:25:21,401 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.manager.SensorManager.<init>(SensorManager.java:71) [classes:na]

      12:25:21,405 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.OauthServletHelper.feedToServer(OauthServletHelper.java:18) [classes:na]

      12:25:21,409 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.add(SecurityInitializer.java:394) [classes:na]

      12:25:21,424 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.addPermission(SecurityInitializer.java:378) [classes:na]

      12:25:21,430 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.generateAuthorizationData(SecurityInitializer.java:188) [classes:na]

      12:25:21,433 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.initialize(SecurityInitializer.java:92) [classes:na]

      12:25:21,437 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.init(SecurityInitializer.java:87) [classes:na]

      12:25:21,445 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.ContextListener.contextInitialized(ContextListener.java:34) [classes:na]

      12:25:21,447 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392) [jbossweb-7.0.13.Final.jar!/:na]

      12:25:21,450 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850) [jbossweb-7.0.13.Final.jar!/:na]

      12:25:21,459 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90) [jboss-as-web-7.1.1.Final.jar!/:7.1.1.Final]

      12:25:21,463 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:25:21,475 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:25:21,478 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_79]

      12:25:21,491 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_79]

      12:25:21,494 INFO  [stdout] (MSC service thread 1-6)    at java.lang.Thread.run(Thread.java:745) [na:1.7.0_79]

      12:25:21,496 INFO  [stdout] (MSC service thread 1-6) Caused by: virtuoso.jdbc4.VirtuosoException: Connection failed: Connection timed out: connect

      12:25:21,505 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:25:21,508 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:25:21,510 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.<init>(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:25:21,513 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.Driver.connect(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:25:21,519 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:571) ~[na:1.7.0_79]

      12:25:21,524 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:215) ~[na:1.7.0_79]

      12:25:21,527 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.obtainRawInternalConnection(BoneCP.java:256) ~[bonecp-0.7.1.RELEASE.jar:0.7.1.RELEASE]

      12:25:21,533 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.<init>(BoneCP.java:305) ~[bonecp-0.7.1.RELEASE.jar:0.7.1.RELEASE]

      12:25:21,538 INFO  [stdout] (MSC service thread 1-6)    ... 17 common frames omitted

      12:25:21,541 INFO  [stdout] (MSC service thread 1-6) [LSM-S] INFO  o.openiot.lsm.manager.SensorManager - insert triples into graph http://lsm.deri.ie/OpenIoT/OAuth#

      12:25:21,547 INFO  [stdout] (MSC service thread 1-6) [LSM-S] WARN  o.openiot.lsm.manager.SensorManager - Fail to insert triples into graph http://lsm.deri.ie/OpenIoT/OAuth#

      12:25:21,549 INFO  [stdout] (MSC service thread 1-6) java.lang.NullPointerException: null

      12:25:21,551 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.manager.SensorManager.insertTriplesToGraph(SensorManager.java:122) ~[classes:na]

      12:25:21,554 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.OauthServletHelper.feedToServer(OauthServletHelper.java:41) [classes:na]

      12:25:21,561 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.add(SecurityInitializer.java:394) [classes:na]

      12:25:21,564 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.addPermission(SecurityInitializer.java:378) [classes:na]

      12:25:21,566 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.generateAuthorizationData(SecurityInitializer.java:188) [classes:na]

      12:25:21,568 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.initialize(SecurityInitializer.java:92) [classes:na]

      12:25:21,577 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.init(SecurityInitializer.java:87) [classes:na]

      12:25:21,581 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.ContextListener.contextInitialized(ContextListener.java:34) [classes:na]

      12:25:21,582 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392) [jbossweb-7.0.13.Final.jar!/:na]

      12:25:21,593 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850) [jbossweb-7.0.13.Final.jar!/:na]

      12:25:21,594 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90) [jboss-as-web-7.1.1.Final.jar!/:7.1.1.Final]

      12:25:21,597 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:25:21,600 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:25:21,608 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_79]

      12:25:21,612 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_79]

      12:25:21,616 INFO  [stdout] (MSC service thread 1-6)    at java.lang.Thread.run(Thread.java:745) [na:1.7.0_79]

      12:25:21,637 INFO  [stdout] (MSC service thread 1-6) [LSM-S] INFO  o.o.lsm.pooling.ConnectionManager - Loading property file

      12:25:21,642 INFO  [stdout] (MSC service thread 1-6) [LSM-S] INFO  o.o.lsm.pooling.ConnectionManager - loading database server driver virtuoso.jdbc4.Driver

      12:25:34,156 INFO  [org.jboss.as.server] (DeploymentScanner-threads - 2) JBAS015870: Deploy of deployment "security.management.war" was rolled back with failure message Operation cancelled

      12:25:34,187 INFO  [org.jboss.as.server] (DeploymentScanner-threads - 2) JBAS015871: Deploy of deployment "lsm-light.server.war" was rolled back with no failure message

      12:25:34,158 ERROR [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) JBAS015052: Did not receive a response to the deployment operation within the allowed timeout period [300 seconds]. Check the server configuration file and the server logs to find more about the status of the deployment.

      12:25:34,253 INFO  [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/security.management]] (MSC service thread 1-8) Cleaning up Shiro Environment

      12:25:34,283 ERROR [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) JBAS015052: Did not receive a response to the deployment operation within the allowed timeout period [300 seconds]. Check the server configuration file and the server logs to find more about the status of the deployment.

      12:25:35,786 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015877: Stopped deployment security.management.war in 1627ms

      12:25:42,673 INFO  [stdout] (MSC service thread 1-6) [LSM-S] ERROR o.o.lsm.pooling.ConnectionManager - Error making pool:

      12:25:42,674 INFO  [stdout] (MSC service thread 1-6) java.sql.SQLException: Unable to open a test connection to the given database. JDBC url = jdbc:virtuoso://lsm.deri.ie:1111/log_enable=2, username = <database username>. Terminating connection pool. Original Exception: ------

      12:25:42,680 INFO  [stdout] (MSC service thread 1-6) virtuoso.jdbc4.VirtuosoException: Connection failed: Connection timed out: connect

      12:25:42,682 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source)

      12:25:42,684 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source)

      12:25:42,685 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.<init>(Unknown Source)

      12:25:42,687 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.Driver.connect(Unknown Source)

      12:25:42,693 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:571)

      12:25:42,695 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:215)

      12:25:42,696 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.obtainRawInternalConnection(BoneCP.java:256)

      12:25:42,698 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.<init>(BoneCP.java:305)

      12:25:42,699 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.pooling.ConnectionManager.init(ConnectionManager.java:75)

      12:25:42,708 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.manager.SensorManager.<init>(SensorManager.java:71)

      12:25:42,709 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.OauthServletHelper.feedToServer(OauthServletHelper.java:18)

      12:25:42,711 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.add(SecurityInitializer.java:394)

      12:25:42,713 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.addPermission(SecurityInitializer.java:378)

      12:25:42,715 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.generateAuthorizationData(SecurityInitializer.java:188)

      12:25:42,721 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.initialize(SecurityInitializer.java:92)

      12:25:42,723 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.init(SecurityInitializer.java:87)

      12:25:42,725 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.ContextListener.contextInitialized(ContextListener.java:34)

      12:25:42,726 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392)

      12:25:42,728 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850)

      12:25:42,734 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90)

      12:25:42,737 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)

      12:25:42,739 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)

      12:25:42,741 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)

      12:25:42,743 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

      12:25:42,750 INFO  [stdout] (MSC service thread 1-6)    at java.lang.Thread.run(Thread.java:745)

      12:25:42,752 INFO  [stdout] (MSC service thread 1-6) ------

      12:25:42,754 INFO  [stdout] (MSC service thread 1-6)

      12:25:42,755 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.<init>(BoneCP.java:312) ~[bonecp-0.7.1.RELEASE.jar:0.7.1.RELEASE]

      12:25:42,762 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.pooling.ConnectionManager.init(ConnectionManager.java:75) ~[classes:na]

      12:25:42,764 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.manager.SensorManager.<init>(SensorManager.java:71) [classes:na]

      12:25:42,765 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.OauthServletHelper.feedToServer(OauthServletHelper.java:18) [classes:na]

      12:25:42,767 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.add(SecurityInitializer.java:394) [classes:na]

      12:25:42,775 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.addPermission(SecurityInitializer.java:378) [classes:na]

      12:25:42,777 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.generateAuthorizationData(SecurityInitializer.java:188) [classes:na]

      12:25:42,779 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.initialize(SecurityInitializer.java:92) [classes:na]

      12:25:42,782 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.init(SecurityInitializer.java:87) [classes:na]

      12:25:42,789 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.ContextListener.contextInitialized(ContextListener.java:34) [classes:na]

      12:25:42,792 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392) [jbossweb-7.0.13.Final.jar!/:na]

      12:25:42,794 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850) [jbossweb-7.0.13.Final.jar!/:na]

      12:25:42,796 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90) [jboss-as-web-7.1.1.Final.jar!/:7.1.1.Final]

      12:25:42,802 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:25:42,806 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:25:42,808 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_79]

      12:25:42,810 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_79]

      12:25:42,819 INFO  [stdout] (MSC service thread 1-6)    at java.lang.Thread.run(Thread.java:745) [na:1.7.0_79]

      12:25:42,821 INFO  [stdout] (MSC service thread 1-6) Caused by: virtuoso.jdbc4.VirtuosoException: Connection failed: Connection timed out: connect

      12:25:42,824 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:25:42,831 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:25:42,833 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.<init>(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:25:42,836 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.Driver.connect(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:25:42,838 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:571) ~[na:1.7.0_79]

      12:25:42,845 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:215) ~[na:1.7.0_79]

      12:25:42,848 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.obtainRawInternalConnection(BoneCP.java:256) ~[bonecp-0.7.1.RELEASE.jar:0.7.1.RELEASE]

      12:25:42,853 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.<init>(BoneCP.java:305) ~[bonecp-0.7.1.RELEASE.jar:0.7.1.RELEASE]

      12:25:42,859 INFO  [stdout] (MSC service thread 1-6)    ... 17 common frames omitted

      12:25:42,879 INFO  [stdout] (MSC service thread 1-6) [LSM-S] INFO  o.openiot.lsm.manager.SensorManager - insert triples into graph http://lsm.deri.ie/OpenIoT/OAuth#

      12:25:42,887 INFO  [stdout] (MSC service thread 1-6) [LSM-S] WARN  o.openiot.lsm.manager.SensorManager - Fail to insert triples into graph http://lsm.deri.ie/OpenIoT/OAuth#

      12:25:42,894 INFO  [stdout] (MSC service thread 1-6) java.lang.NullPointerException: null

      12:25:42,897 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.manager.SensorManager.insertTriplesToGraph(SensorManager.java:122) ~[classes:na]

      12:25:42,900 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.OauthServletHelper.feedToServer(OauthServletHelper.java:41) [classes:na]

      12:25:42,909 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.add(SecurityInitializer.java:394) [classes:na]

      12:25:42,913 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.addPermission(SecurityInitializer.java:378) [classes:na]

      12:25:42,915 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.generateAuthorizationData(SecurityInitializer.java:188) [classes:na]

      12:25:42,924 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.initialize(SecurityInitializer.java:92) [classes:na]

      12:25:42,926 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.init(SecurityInitializer.java:87) [classes:na]

      12:25:42,929 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.ContextListener.contextInitialized(ContextListener.java:34) [classes:na]

      12:25:42,931 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392) [jbossweb-7.0.13.Final.jar!/:na]

      12:25:42,939 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850) [jbossweb-7.0.13.Final.jar!/:na]

      12:25:42,941 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90) [jboss-as-web-7.1.1.Final.jar!/:7.1.1.Final]

      12:25:42,944 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:25:42,954 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:25:42,957 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_79]

      12:25:42,960 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_79]

      12:25:42,962 INFO  [stdout] (MSC service thread 1-6)    at java.lang.Thread.run(Thread.java:745) [na:1.7.0_79]

      12:25:42,974 INFO  [stdout] (MSC service thread 1-6) [LSM-S] INFO  o.o.lsm.pooling.ConnectionManager - Loading property file

      12:25:42,976 INFO  [stdout] (MSC service thread 1-6) [LSM-S] INFO  o.o.lsm.pooling.ConnectionManager - loading database server driver virtuoso.jdbc4.Driver

      12:26:03,999 INFO  [stdout] (MSC service thread 1-6) [LSM-S] ERROR o.o.lsm.pooling.ConnectionManager - Error making pool:

      12:26:04,001 INFO  [stdout] (MSC service thread 1-6) java.sql.SQLException: Unable to open a test connection to the given database. JDBC url = jdbc:virtuoso://lsm.deri.ie:1111/log_enable=2, username = <database username>. Terminating connection pool. Original Exception: ------

      12:26:04,008 INFO  [stdout] (MSC service thread 1-6) virtuoso.jdbc4.VirtuosoException: Connection failed: Connection timed out: connect

      12:26:04,010 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source)

      12:26:04,012 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source)

      12:26:04,013 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.<init>(Unknown Source)

      12:26:04,015 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.Driver.connect(Unknown Source)

      12:26:04,022 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:571)

      12:26:04,024 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:215)

      12:26:04,025 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.obtainRawInternalConnection(BoneCP.java:256)

      12:26:04,027 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.<init>(BoneCP.java:305)

      12:26:04,029 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.pooling.ConnectionManager.init(ConnectionManager.java:75)

      12:26:04,037 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.manager.SensorManager.<init>(SensorManager.java:71)

      12:26:04,039 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.OauthServletHelper.feedToServer(OauthServletHelper.java:18)

      12:26:04,042 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.add(SecurityInitializer.java:394)

      12:26:04,044 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.addPermission(SecurityInitializer.java:378)

      12:26:04,052 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.generateAuthorizationData(SecurityInitializer.java:188)

      12:26:04,054 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.initialize(SecurityInitializer.java:92)

      12:26:04,057 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.init(SecurityInitializer.java:87)

      12:26:04,059 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.ContextListener.contextInitialized(ContextListener.java:34)

      12:26:04,067 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392)

      12:26:04,071 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850)

      12:26:04,073 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90)

      12:26:04,075 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)

      12:26:04,081 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)

      12:26:04,083 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)

      12:26:04,085 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

      12:26:04,088 INFO  [stdout] (MSC service thread 1-6)    at java.lang.Thread.run(Thread.java:745)

      12:26:04,094 INFO  [stdout] (MSC service thread 1-6) ------

      12:26:04,096 INFO  [stdout] (MSC service thread 1-6)

      12:26:04,097 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.<init>(BoneCP.java:312) ~[bonecp-0.7.1.RELEASE.jar:0.7.1.RELEASE]

      12:26:04,100 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.pooling.ConnectionManager.init(ConnectionManager.java:75) ~[classes:na]

      12:26:04,102 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.manager.SensorManager.<init>(SensorManager.java:71) [classes:na]

      12:26:04,110 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.OauthServletHelper.feedToServer(OauthServletHelper.java:18) [classes:na]

      12:26:04,112 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.add(SecurityInitializer.java:394) [classes:na]

      12:26:04,114 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.addPermission(SecurityInitializer.java:378) [classes:na]

      12:26:04,115 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.generateAuthorizationData(SecurityInitializer.java:188) [classes:na]

      12:26:04,118 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.initialize(SecurityInitializer.java:92) [classes:na]

      12:26:04,127 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.init(SecurityInitializer.java:87) [classes:na]

      12:26:04,129 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.ContextListener.contextInitialized(ContextListener.java:34) [classes:na]

      12:26:04,131 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392) [jbossweb-7.0.13.Final.jar!/:na]

      12:26:04,133 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850) [jbossweb-7.0.13.Final.jar!/:na]

      12:26:04,142 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90) [jboss-as-web-7.1.1.Final.jar!/:7.1.1.Final]

      12:26:04,145 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:26:04,148 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:26:04,155 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_79]

      12:26:04,160 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_79]

      12:26:04,163 INFO  [stdout] (MSC service thread 1-6)    at java.lang.Thread.run(Thread.java:745) [na:1.7.0_79]

      12:26:04,164 INFO  [stdout] (MSC service thread 1-6) Caused by: virtuoso.jdbc4.VirtuosoException: Connection failed: Connection timed out: connect

      12:26:04,171 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:26:04,176 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:26:04,180 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.<init>(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:26:04,183 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.Driver.connect(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:26:04,191 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:571) ~[na:1.7.0_79]

      12:26:04,194 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:215) ~[na:1.7.0_79]

      12:26:04,196 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.obtainRawInternalConnection(BoneCP.java:256) ~[bonecp-0.7.1.RELEASE.jar:0.7.1.RELEASE]

      12:26:04,208 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.<init>(BoneCP.java:305) ~[bonecp-0.7.1.RELEASE.jar:0.7.1.RELEASE]

      12:26:04,210 INFO  [stdout] (MSC service thread 1-6)    ... 17 common frames omitted

      12:26:04,215 INFO  [stdout] (MSC service thread 1-6) [LSM-S] INFO  o.openiot.lsm.manager.SensorManager - insert triples into graph http://lsm.deri.ie/OpenIoT/OAuth#

      12:26:04,223 INFO  [stdout] (MSC service thread 1-6) [LSM-S] WARN  o.openiot.lsm.manager.SensorManager - Fail to insert triples into graph http://lsm.deri.ie/OpenIoT/OAuth#

      12:26:04,225 INFO  [stdout] (MSC service thread 1-6) java.lang.NullPointerException: null

      12:26:04,227 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.manager.SensorManager.insertTriplesToGraph(SensorManager.java:122) ~[classes:na]

      12:26:04,229 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.OauthServletHelper.feedToServer(OauthServletHelper.java:41) [classes:na]

      12:26:04,231 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.add(SecurityInitializer.java:394) [classes:na]

      12:26:04,232 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.addPermission(SecurityInitializer.java:378) [classes:na]

      12:26:04,240 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.generateAuthorizationData(SecurityInitializer.java:188) [classes:na]

      12:26:04,242 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.initialize(SecurityInitializer.java:92) [classes:na]

      12:26:04,245 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.init(SecurityInitializer.java:87) [classes:na]

      12:26:04,247 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.ContextListener.contextInitialized(ContextListener.java:34) [classes:na]

      12:26:04,256 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392) [jbossweb-7.0.13.Final.jar!/:na]

      12:26:04,258 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850) [jbossweb-7.0.13.Final.jar!/:na]

      12:26:04,260 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90) [jboss-as-web-7.1.1.Final.jar!/:7.1.1.Final]

      12:26:04,262 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:26:04,272 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:26:04,276 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_79]

      12:26:04,279 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_79]

      12:26:04,286 INFO  [stdout] (MSC service thread 1-6)    at java.lang.Thread.run(Thread.java:745) [na:1.7.0_79]

      12:26:04,291 INFO  [stdout] (MSC service thread 1-6) [LSM-S] INFO  o.o.lsm.pooling.ConnectionManager - Loading property file

      12:26:04,293 INFO  [stdout] (MSC service thread 1-6) [LSM-S] INFO  o.o.lsm.pooling.ConnectionManager - loading database server driver virtuoso.jdbc4.Driver

      12:26:25,323 INFO  [stdout] (MSC service thread 1-6) [LSM-S] ERROR o.o.lsm.pooling.ConnectionManager - Error making pool:

      12:26:25,324 INFO  [stdout] (MSC service thread 1-6) java.sql.SQLException: Unable to open a test connection to the given database. JDBC url = jdbc:virtuoso://lsm.deri.ie:1111/log_enable=2, username = <database username>. Terminating connection pool. Original Exception: ------

      12:26:25,330 INFO  [stdout] (MSC service thread 1-6) virtuoso.jdbc4.VirtuosoException: Connection failed: Connection timed out: connect

      12:26:25,332 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source)

      12:26:25,333 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source)

      12:26:25,335 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.<init>(Unknown Source)

      12:26:25,338 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.Driver.connect(Unknown Source)

      12:26:25,344 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:571)

      12:26:25,346 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:215)

      12:26:25,347 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.obtainRawInternalConnection(BoneCP.java:256)

      12:26:25,348 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.<init>(BoneCP.java:305)

      12:26:25,350 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.pooling.ConnectionManager.init(ConnectionManager.java:75)

      12:26:25,351 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.manager.SensorManager.<init>(SensorManager.java:71)

      12:26:25,359 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.OauthServletHelper.feedToServer(OauthServletHelper.java:18)

      12:26:25,361 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.add(SecurityInitializer.java:394)

      12:26:25,362 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.addPermission(SecurityInitializer.java:378)

      12:26:25,364 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.generateAuthorizationData(SecurityInitializer.java:188)

      12:26:25,365 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.initialize(SecurityInitializer.java:92)

      12:26:25,368 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.init(SecurityInitializer.java:87)

      12:26:25,377 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.ContextListener.contextInitialized(ContextListener.java:34)

      12:26:25,379 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392)

      12:26:25,381 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850)

      12:26:25,382 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90)

      12:26:25,385 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)

      12:26:25,392 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)

      12:26:25,394 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)

      12:26:25,396 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

      12:26:25,398 INFO  [stdout] (MSC service thread 1-6)    at java.lang.Thread.run(Thread.java:745)

      12:26:25,399 INFO  [stdout] (MSC service thread 1-6) ------

      12:26:25,401 INFO  [stdout] (MSC service thread 1-6)

      12:26:25,408 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.<init>(BoneCP.java:312) ~[bonecp-0.7.1.RELEASE.jar:0.7.1.RELEASE]

      12:26:25,410 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.pooling.ConnectionManager.init(ConnectionManager.java:75) ~[classes:na]

      12:26:25,411 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.manager.SensorManager.<init>(SensorManager.java:71) [classes:na]

      12:26:25,415 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.OauthServletHelper.feedToServer(OauthServletHelper.java:18) [classes:na]

      12:26:25,423 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.add(SecurityInitializer.java:394) [classes:na]

      12:26:25,426 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.addPermission(SecurityInitializer.java:378) [classes:na]

      12:26:25,428 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.generateAuthorizationData(SecurityInitializer.java:188) [classes:na]

      12:26:25,430 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.initialize(SecurityInitializer.java:92) [classes:na]

      12:26:25,441 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.init(SecurityInitializer.java:87) [classes:na]

      12:26:25,444 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.ContextListener.contextInitialized(ContextListener.java:34) [classes:na]

      12:26:25,446 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392) [jbossweb-7.0.13.Final.jar!/:na]

      12:26:25,448 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850) [jbossweb-7.0.13.Final.jar!/:na]

      12:26:25,457 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90) [jboss-as-web-7.1.1.Final.jar!/:7.1.1.Final]

      12:26:25,460 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:26:25,462 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:26:25,465 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_79]

      12:26:25,477 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_79]

      12:26:25,479 INFO  [stdout] (MSC service thread 1-6)    at java.lang.Thread.run(Thread.java:745) [na:1.7.0_79]

      12:26:25,487 INFO  [stdout] (MSC service thread 1-6) Caused by: virtuoso.jdbc4.VirtuosoException: Connection failed: Connection timed out: connect

      12:26:25,491 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:26:25,492 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:26:25,498 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.<init>(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:26:25,503 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.Driver.connect(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:26:25,504 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:571) ~[na:1.7.0_79]

      12:26:25,506 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:215) ~[na:1.7.0_79]

      12:26:25,514 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.obtainRawInternalConnection(BoneCP.java:256) ~[bonecp-0.7.1.RELEASE.jar:0.7.1.RELEASE]

      12:26:25,516 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.<init>(BoneCP.java:305) ~[bonecp-0.7.1.RELEASE.jar:0.7.1.RELEASE]

      12:26:25,517 INFO  [stdout] (MSC service thread 1-6)    ... 17 common frames omitted

      12:26:25,522 INFO  [stdout] (MSC service thread 1-6) [LSM-S] INFO  o.openiot.lsm.manager.SensorManager - insert triples into graph http://lsm.deri.ie/OpenIoT/OAuth#

      12:26:25,528 INFO  [stdout] (MSC service thread 1-6) [LSM-S] WARN  o.openiot.lsm.manager.SensorManager - Fail to insert triples into graph http://lsm.deri.ie/OpenIoT/OAuth#

      12:26:25,530 INFO  [stdout] (MSC service thread 1-6) java.lang.NullPointerException: null

      12:26:25,531 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.manager.SensorManager.insertTriplesToGraph(SensorManager.java:122) ~[classes:na]

      12:26:25,533 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.OauthServletHelper.feedToServer(OauthServletHelper.java:41) [classes:na]

      12:26:25,541 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.add(SecurityInitializer.java:394) [classes:na]

      12:26:25,543 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.addPermission(SecurityInitializer.java:378) [classes:na]

      12:26:25,545 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.generateAuthorizationData(SecurityInitializer.java:188) [classes:na]

      12:26:25,547 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.initialize(SecurityInitializer.java:92) [classes:na]

      12:26:25,548 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.init(SecurityInitializer.java:87) [classes:na]

      12:26:25,556 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.ContextListener.contextInitialized(ContextListener.java:34) [classes:na]

      12:26:25,558 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392) [jbossweb-7.0.13.Final.jar!/:na]

      12:26:25,560 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850) [jbossweb-7.0.13.Final.jar!/:na]

      12:26:25,563 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90) [jboss-as-web-7.1.1.Final.jar!/:7.1.1.Final]

      12:26:25,569 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:26:25,573 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:26:25,576 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_79]

      12:26:25,582 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_79]

      12:26:25,584 INFO  [stdout] (MSC service thread 1-6)    at java.lang.Thread.run(Thread.java:745) [na:1.7.0_79]

      12:26:25,587 INFO  [stdout] (MSC service thread 1-6) [LSM-S] INFO  o.o.lsm.pooling.ConnectionManager - Loading property file

      12:26:25,588 INFO  [stdout] (MSC service thread 1-6) [LSM-S] INFO  o.o.lsm.pooling.ConnectionManager - loading database server driver virtuoso.jdbc4.Driver

      12:26:46,652 INFO  [stdout] (MSC service thread 1-6) [LSM-S] ERROR o.o.lsm.pooling.ConnectionManager - Error making pool:

      12:26:46,654 INFO  [stdout] (MSC service thread 1-6) java.sql.SQLException: Unable to open a test connection to the given database. JDBC url = jdbc:virtuoso://lsm.deri.ie:1111/log_enable=2, username = <database username>. Terminating connection pool. Original Exception: ------

      12:26:46,662 INFO  [stdout] (MSC service thread 1-6) virtuoso.jdbc4.VirtuosoException: Connection failed: Connection timed out: connect

      12:26:46,664 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source)

      12:26:46,666 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source)

      12:26:46,674 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.<init>(Unknown Source)

      12:26:46,676 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.Driver.connect(Unknown Source)

      12:26:46,678 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:571)

      12:26:46,679 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:215)

      12:26:46,681 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.obtainRawInternalConnection(BoneCP.java:256)

      12:26:46,689 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.<init>(BoneCP.java:305)

      12:26:46,690 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.pooling.ConnectionManager.init(ConnectionManager.java:75)

      12:26:46,692 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.manager.SensorManager.<init>(SensorManager.java:71)

      12:26:46,694 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.OauthServletHelper.feedToServer(OauthServletHelper.java:18)

      12:26:46,695 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.add(SecurityInitializer.java:394)

      12:26:46,697 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.addPermission(SecurityInitializer.java:378)

      12:26:46,704 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.generateAuthorizationData(SecurityInitializer.java:188)

      12:26:46,706 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.initialize(SecurityInitializer.java:92)

      12:26:46,708 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.init(SecurityInitializer.java:87)

      12:26:46,710 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.ContextListener.contextInitialized(ContextListener.java:34)

      12:26:46,717 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392)

      12:26:46,720 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850)

      12:26:46,722 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90)

      12:26:46,724 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)

      12:26:46,732 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)

      12:26:46,734 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)

      12:26:46,737 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

      12:26:46,738 INFO  [stdout] (MSC service thread 1-6)    at java.lang.Thread.run(Thread.java:745)

      12:26:46,744 INFO  [stdout] (MSC service thread 1-6) ------

      12:26:46,745 INFO  [stdout] (MSC service thread 1-6)

      12:26:46,746 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.<init>(BoneCP.java:312) ~[bonecp-0.7.1.RELEASE.jar:0.7.1.RELEASE]

      12:26:46,749 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.pooling.ConnectionManager.init(ConnectionManager.java:75) ~[classes:na]

      12:26:46,751 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.manager.SensorManager.<init>(SensorManager.java:71) [classes:na]

      12:26:46,752 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.OauthServletHelper.feedToServer(OauthServletHelper.java:18) [classes:na]

      12:26:46,761 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.add(SecurityInitializer.java:394) [classes:na]

      12:26:46,763 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.addPermission(SecurityInitializer.java:378) [classes:na]

      12:26:46,765 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.generateAuthorizationData(SecurityInitializer.java:188) [classes:na]

      12:26:46,766 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.initialize(SecurityInitializer.java:92) [classes:na]

      12:26:46,768 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.init(SecurityInitializer.java:87) [classes:na]

      12:26:46,776 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.ContextListener.contextInitialized(ContextListener.java:34) [classes:na]

      12:26:46,778 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392) [jbossweb-7.0.13.Final.jar!/:na]

      12:26:46,781 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850) [jbossweb-7.0.13.Final.jar!/:na]

      12:26:46,783 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90) [jboss-as-web-7.1.1.Final.jar!/:7.1.1.Final]

      12:26:46,784 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:26:46,792 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:26:46,795 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_79]

      12:26:46,796 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_79]

      12:26:46,798 INFO  [stdout] (MSC service thread 1-6)    at java.lang.Thread.run(Thread.java:745) [na:1.7.0_79]

      12:26:46,799 INFO  [stdout] (MSC service thread 1-6) Caused by: virtuoso.jdbc4.VirtuosoException: Connection failed: Connection timed out: connect

      12:26:46,808 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:26:46,810 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:26:46,811 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.<init>(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:26:46,815 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.Driver.connect(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:26:46,816 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:571) ~[na:1.7.0_79]

      12:26:46,824 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:215) ~[na:1.7.0_79]

      12:26:46,827 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.obtainRawInternalConnection(BoneCP.java:256) ~[bonecp-0.7.1.RELEASE.jar:0.7.1.RELEASE]

      12:26:46,829 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.<init>(BoneCP.java:305) ~[bonecp-0.7.1.RELEASE.jar:0.7.1.RELEASE]

      12:26:46,831 INFO  [stdout] (MSC service thread 1-6)    ... 17 common frames omitted

      12:26:46,832 INFO  [stdout] (MSC service thread 1-6) [LSM-S] INFO  o.openiot.lsm.manager.SensorManager - insert triples into graph http://lsm.deri.ie/OpenIoT/OAuth#

      12:26:46,851 INFO  [stdout] (MSC service thread 1-6) [LSM-S] WARN  o.openiot.lsm.manager.SensorManager - Fail to insert triples into graph http://lsm.deri.ie/OpenIoT/OAuth#

      12:26:46,854 INFO  [stdout] (MSC service thread 1-6) java.lang.NullPointerException: null

      12:26:46,855 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.manager.SensorManager.insertTriplesToGraph(SensorManager.java:122) ~[classes:na]

      12:26:46,857 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.OauthServletHelper.feedToServer(OauthServletHelper.java:41) [classes:na]

      12:26:46,865 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.add(SecurityInitializer.java:394) [classes:na]

      12:26:46,868 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.addPermission(SecurityInitializer.java:378) [classes:na]

      12:26:46,871 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.generateAuthorizationData(SecurityInitializer.java:188) [classes:na]

      12:26:46,878 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.initialize(SecurityInitializer.java:92) [classes:na]

      12:26:46,879 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.init(SecurityInitializer.java:87) [classes:na]

      12:26:46,882 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.ContextListener.contextInitialized(ContextListener.java:34) [classes:na]

      12:26:46,883 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392) [jbossweb-7.0.13.Final.jar!/:na]

      12:26:46,891 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850) [jbossweb-7.0.13.Final.jar!/:na]

      12:26:46,893 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90) [jboss-as-web-7.1.1.Final.jar!/:7.1.1.Final]

      12:26:46,896 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:26:46,898 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:26:46,906 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_79]

      12:26:46,908 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_79]

      12:26:46,909 INFO  [stdout] (MSC service thread 1-6)    at java.lang.Thread.run(Thread.java:745) [na:1.7.0_79]

      12:26:46,912 INFO  [stdout] (MSC service thread 1-6) [LSM-S] INFO  o.o.lsm.pooling.ConnectionManager - Loading property file

      12:26:46,914 INFO  [stdout] (MSC service thread 1-6) [LSM-S] INFO  o.o.lsm.pooling.ConnectionManager - loading database server driver virtuoso.jdbc4.Driver

      12:27:07,933 INFO  [stdout] (MSC service thread 1-6) [LSM-S] ERROR o.o.lsm.pooling.ConnectionManager - Error making pool:

      12:27:07,934 INFO  [stdout] (MSC service thread 1-6) java.sql.SQLException: Unable to open a test connection to the given database. JDBC url = jdbc:virtuoso://lsm.deri.ie:1111/log_enable=2, username = <database username>. Terminating connection pool. Original Exception: ------

      12:27:07,942 INFO  [stdout] (MSC service thread 1-6) virtuoso.jdbc4.VirtuosoException: Connection failed: Connection timed out: connect

      12:27:07,944 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source)

      12:27:07,945 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source)

      12:27:07,947 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.<init>(Unknown Source)

      12:27:07,954 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.Driver.connect(Unknown Source)

      12:27:07,956 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:571)

      12:27:07,958 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:215)

      12:27:07,959 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.obtainRawInternalConnection(BoneCP.java:256)

      12:27:07,961 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.<init>(BoneCP.java:305)

      12:27:07,963 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.pooling.ConnectionManager.init(ConnectionManager.java:75)

      12:27:07,970 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.manager.SensorManager.<init>(SensorManager.java:71)

      12:27:07,972 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.OauthServletHelper.feedToServer(OauthServletHelper.java:18)

      12:27:07,974 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.add(SecurityInitializer.java:394)

      12:27:07,976 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.addPermission(SecurityInitializer.java:378)

      12:27:07,978 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.generateAuthorizationData(SecurityInitializer.java:188)

      12:27:07,984 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.initialize(SecurityInitializer.java:92)

      12:27:07,987 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.init(SecurityInitializer.java:87)

      12:27:07,990 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.ContextListener.contextInitialized(ContextListener.java:34)

      12:27:07,992 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392)

      12:27:07,998 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850)

      12:27:08,000 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90)

      12:27:08,001 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)

      12:27:08,004 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)

      12:27:08,011 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)

      12:27:08,013 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

      12:27:08,015 INFO  [stdout] (MSC service thread 1-6)    at java.lang.Thread.run(Thread.java:745)

      12:27:08,016 INFO  [stdout] (MSC service thread 1-6) ------

      12:27:08,018 INFO  [stdout] (MSC service thread 1-6)

      12:27:08,026 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.<init>(BoneCP.java:312) ~[bonecp-0.7.1.RELEASE.jar:0.7.1.RELEASE]

      12:27:08,028 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.pooling.ConnectionManager.init(ConnectionManager.java:75) ~[classes:na]

      12:27:08,029 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.manager.SensorManager.<init>(SensorManager.java:71) [classes:na]

      12:27:08,032 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.OauthServletHelper.feedToServer(OauthServletHelper.java:18) [classes:na]

      12:27:08,038 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.add(SecurityInitializer.java:394) [classes:na]

      12:27:08,041 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.addPermission(SecurityInitializer.java:378) [classes:na]

      12:27:08,044 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.generateAuthorizationData(SecurityInitializer.java:188) [classes:na]

      12:27:08,046 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.initialize(SecurityInitializer.java:92) [classes:na]

      12:27:08,052 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.init(SecurityInitializer.java:87) [classes:na]

      12:27:08,055 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.ContextListener.contextInitialized(ContextListener.java:34) [classes:na]

      12:27:08,057 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392) [jbossweb-7.0.13.Final.jar!/:na]

      12:27:08,060 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850) [jbossweb-7.0.13.Final.jar!/:na]

      12:27:08,067 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90) [jboss-as-web-7.1.1.Final.jar!/:7.1.1.Final]

      12:27:08,069 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:27:08,077 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:27:08,082 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_79]

      12:27:08,084 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_79]

      12:27:08,088 INFO  [stdout] (MSC service thread 1-6)    at java.lang.Thread.run(Thread.java:745) [na:1.7.0_79]

      12:27:08,095 INFO  [stdout] (MSC service thread 1-6) Caused by: virtuoso.jdbc4.VirtuosoException: Connection failed: Connection timed out: connect

      12:27:08,096 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:27:08,099 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:27:08,100 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.<init>(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:27:08,109 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.Driver.connect(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:27:08,110 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:571) ~[na:1.7.0_79]

      12:27:08,113 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:215) ~[na:1.7.0_79]

      12:27:08,115 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.obtainRawInternalConnection(BoneCP.java:256) ~[bonecp-0.7.1.RELEASE.jar:0.7.1.RELEASE]

      12:27:08,117 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.<init>(BoneCP.java:305) ~[bonecp-0.7.1.RELEASE.jar:0.7.1.RELEASE]

      12:27:08,124 INFO  [stdout] (MSC service thread 1-6)    ... 17 common frames omitted

      12:27:08,127 INFO  [stdout] (MSC service thread 1-6) [LSM-S] INFO  o.openiot.lsm.manager.SensorManager - insert triples into graph http://lsm.deri.ie/OpenIoT/OAuth#

      12:27:08,130 INFO  [stdout] (MSC service thread 1-6) [LSM-S] WARN  o.openiot.lsm.manager.SensorManager - Fail to insert triples into graph http://lsm.deri.ie/OpenIoT/OAuth#

      12:27:08,132 INFO  [stdout] (MSC service thread 1-6) java.lang.NullPointerException: null

      12:27:08,133 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.manager.SensorManager.insertTriplesToGraph(SensorManager.java:122) ~[classes:na]

      12:27:08,142 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.OauthServletHelper.feedToServer(OauthServletHelper.java:41) [classes:na]

      12:27:08,144 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.add(SecurityInitializer.java:394) [classes:na]

      12:27:08,147 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.addPermission(SecurityInitializer.java:378) [classes:na]

      12:27:08,153 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.generateAuthorizationData(SecurityInitializer.java:188) [classes:na]

      12:27:08,157 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.initialize(SecurityInitializer.java:92) [classes:na]

      12:27:08,159 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.init(SecurityInitializer.java:87) [classes:na]

      12:27:08,160 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.ContextListener.contextInitialized(ContextListener.java:34) [classes:na]

      12:27:08,166 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392) [jbossweb-7.0.13.Final.jar!/:na]

      12:27:08,171 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850) [jbossweb-7.0.13.Final.jar!/:na]

      12:27:08,174 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90) [jboss-as-web-7.1.1.Final.jar!/:7.1.1.Final]

      12:27:08,180 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:27:08,183 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:27:08,185 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_79]

      12:27:08,188 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_79]

      12:27:08,196 INFO  [stdout] (MSC service thread 1-6)    at java.lang.Thread.run(Thread.java:745) [na:1.7.0_79]

      12:27:08,199 INFO  [stdout] (MSC service thread 1-6) [LSM-S] INFO  o.o.lsm.pooling.ConnectionManager - Loading property file

      12:27:08,207 INFO  [stdout] (MSC service thread 1-6) [LSM-S] INFO  o.o.lsm.pooling.ConnectionManager - loading database server driver virtuoso.jdbc4.Driver

      12:27:29,248 INFO  [stdout] (MSC service thread 1-6) [LSM-S] ERROR o.o.lsm.pooling.ConnectionManager - Error making pool:

      12:27:29,249 INFO  [stdout] (MSC service thread 1-6) java.sql.SQLException: Unable to open a test connection to the given database. JDBC url = jdbc:virtuoso://lsm.deri.ie:1111/log_enable=2, username = <database username>. Terminating connection pool. Original Exception: ------

      12:27:29,252 INFO  [stdout] (MSC service thread 1-6) virtuoso.jdbc4.VirtuosoException: Connection failed: Connection timed out: connect

      12:27:29,252 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source)

      12:27:29,252 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source)

      12:27:29,252 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.<init>(Unknown Source)

      12:27:29,252 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.Driver.connect(Unknown Source)

      12:27:29,252 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:571)

      12:27:29,252 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:215)

      12:27:29,252 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.obtainRawInternalConnection(BoneCP.java:256)

      12:27:29,267 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.<init>(BoneCP.java:305)

      12:27:29,267 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.pooling.ConnectionManager.init(ConnectionManager.java:75)

      12:27:29,267 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.manager.SensorManager.<init>(SensorManager.java:71)

      12:27:29,267 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.OauthServletHelper.feedToServer(OauthServletHelper.java:18)

      12:27:29,267 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.add(SecurityInitializer.java:394)

      12:27:29,267 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.addPermission(SecurityInitializer.java:378)

      12:27:29,283 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.generateAuthorizationData(SecurityInitializer.java:188)

      12:27:29,283 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.initialize(SecurityInitializer.java:92)

      12:27:29,283 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.init(SecurityInitializer.java:87)

      12:27:29,283 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.ContextListener.contextInitialized(ContextListener.java:34)

      12:27:29,283 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392)

      12:27:29,299 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850)

      12:27:29,299 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90)

      12:27:29,299 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)

      12:27:29,299 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)

      12:27:29,299 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)

      12:27:29,299 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

      12:27:29,299 INFO  [stdout] (MSC service thread 1-6)    at java.lang.Thread.run(Thread.java:745)

      12:27:29,299 INFO  [stdout] (MSC service thread 1-6) ------

      12:27:29,299 INFO  [stdout] (MSC service thread 1-6)

      12:27:29,314 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.<init>(BoneCP.java:312) ~[bonecp-0.7.1.RELEASE.jar:0.7.1.RELEASE]

      12:27:29,314 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.pooling.ConnectionManager.init(ConnectionManager.java:75) ~[classes:na]

      12:27:29,314 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.manager.SensorManager.<init>(SensorManager.java:71) [classes:na]

      12:27:29,314 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.OauthServletHelper.feedToServer(OauthServletHelper.java:18) [classes:na]

      12:27:29,314 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.add(SecurityInitializer.java:394) [classes:na]

      12:27:29,314 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.addPermission(SecurityInitializer.java:378) [classes:na]

      12:27:29,330 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.generateAuthorizationData(SecurityInitializer.java:188) [classes:na]

      12:27:29,330 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.initialize(SecurityInitializer.java:92) [classes:na]

      12:27:29,341 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.init(SecurityInitializer.java:87) [classes:na]

      12:27:29,343 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.ContextListener.contextInitialized(ContextListener.java:34) [classes:na]

      12:27:29,345 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392) [jbossweb-7.0.13.Final.jar!/:na]

      12:27:29,347 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850) [jbossweb-7.0.13.Final.jar!/:na]

      12:27:29,349 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90) [jboss-as-web-7.1.1.Final.jar!/:7.1.1.Final]

      12:27:29,357 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:27:29,359 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:27:29,364 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_79]

      12:27:29,371 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_79]

      12:27:29,373 INFO  [stdout] (MSC service thread 1-6)    at java.lang.Thread.run(Thread.java:745) [na:1.7.0_79]

      12:27:29,375 INFO  [stdout] (MSC service thread 1-6) Caused by: virtuoso.jdbc4.VirtuosoException: Connection failed: Connection timed out: connect

      12:27:29,376 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:27:29,378 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:27:29,385 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.<init>(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:27:29,389 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.Driver.connect(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:27:29,391 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:571) ~[na:1.7.0_79]

      12:27:29,393 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:215) ~[na:1.7.0_79]

      12:27:29,401 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.obtainRawInternalConnection(BoneCP.java:256) ~[bonecp-0.7.1.RELEASE.jar:0.7.1.RELEASE]

      12:27:29,406 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.<init>(BoneCP.java:305) ~[bonecp-0.7.1.RELEASE.jar:0.7.1.RELEASE]

      12:27:29,413 INFO  [stdout] (MSC service thread 1-6)    ... 17 common frames omitted

      12:27:29,415 INFO  [stdout] (MSC service thread 1-6) [LSM-S] INFO  o.openiot.lsm.manager.SensorManager - insert triples into graph http://lsm.deri.ie/OpenIoT/OAuth#

      12:27:29,418 INFO  [stdout] (MSC service thread 1-6) [LSM-S] WARN  o.openiot.lsm.manager.SensorManager - Fail to insert triples into graph http://lsm.deri.ie/OpenIoT/OAuth#

      12:27:29,421 INFO  [stdout] (MSC service thread 1-6) java.lang.NullPointerException: null

      12:27:29,426 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.manager.SensorManager.insertTriplesToGraph(SensorManager.java:122) ~[classes:na]

      12:27:29,428 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.OauthServletHelper.feedToServer(OauthServletHelper.java:41) [classes:na]

      12:27:29,431 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.add(SecurityInitializer.java:394) [classes:na]

      12:27:29,432 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.addPermission(SecurityInitializer.java:378) [classes:na]

      12:27:29,434 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.generateAuthorizationData(SecurityInitializer.java:188) [classes:na]

      12:27:29,440 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.initialize(SecurityInitializer.java:92) [classes:na]

      12:27:29,442 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.init(SecurityInitializer.java:87) [classes:na]

      12:27:29,444 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.ContextListener.contextInitialized(ContextListener.java:34) [classes:na]

      12:27:29,446 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392) [jbossweb-7.0.13.Final.jar!/:na]

      12:27:29,447 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850) [jbossweb-7.0.13.Final.jar!/:na]

      12:27:29,450 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90) [jboss-as-web-7.1.1.Final.jar!/:7.1.1.Final]

      12:27:29,451 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:27:29,451 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:27:29,451 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_79]

      12:27:29,451 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_79]

      12:27:29,451 INFO  [stdout] (MSC service thread 1-6)    at java.lang.Thread.run(Thread.java:745) [na:1.7.0_79]

      12:27:29,451 INFO  [stdout] (MSC service thread 1-6) [LSM-S] INFO  o.o.lsm.pooling.ConnectionManager - Loading property file

      12:27:29,451 INFO  [stdout] (MSC service thread 1-6) [LSM-S] INFO  o.o.lsm.pooling.ConnectionManager - loading database server driver virtuoso.jdbc4.Driver

      12:27:50,512 INFO  [stdout] (MSC service thread 1-6) [LSM-S] ERROR o.o.lsm.pooling.ConnectionManager - Error making pool:

      12:27:50,513 INFO  [stdout] (MSC service thread 1-6) java.sql.SQLException: Unable to open a test connection to the given database. JDBC url = jdbc:virtuoso://lsm.deri.ie:1111/log_enable=2, username = <database username>. Terminating connection pool. Original Exception: ------

      12:27:50,517 INFO  [stdout] (MSC service thread 1-6) virtuoso.jdbc4.VirtuosoException: Connection failed: Connection timed out: connect

      12:27:50,522 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source)

      12:27:50,524 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source)

      12:27:50,529 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.<init>(Unknown Source)

      12:27:50,531 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.Driver.connect(Unknown Source)

      12:27:50,532 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:571)

      12:27:50,534 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:215)

      12:27:50,535 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.obtainRawInternalConnection(BoneCP.java:256)

      12:27:50,537 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.<init>(BoneCP.java:305)

      12:27:50,544 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.pooling.ConnectionManager.init(ConnectionManager.java:75)

      12:27:50,546 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.manager.SensorManager.<init>(SensorManager.java:71)

      12:27:50,547 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.OauthServletHelper.feedToServer(OauthServletHelper.java:18)

      12:27:50,549 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.add(SecurityInitializer.java:394)

      12:27:50,551 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.addPermission(SecurityInitializer.java:378)

      12:27:50,560 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.generateAuthorizationData(SecurityInitializer.java:188)

      12:27:50,563 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.initialize(SecurityInitializer.java:92)

      12:27:50,564 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.init(SecurityInitializer.java:87)

      12:27:50,567 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.ContextListener.contextInitialized(ContextListener.java:34)

      12:27:50,568 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392)

      12:27:50,571 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850)

      12:27:50,571 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90)

      12:27:50,571 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)

      12:27:50,571 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)

      12:27:50,571 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)

      12:27:50,571 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

      12:27:50,586 INFO  [stdout] (MSC service thread 1-6)    at java.lang.Thread.run(Thread.java:745)

      12:27:50,586 INFO  [stdout] (MSC service thread 1-6) ------

      12:27:50,586 INFO  [stdout] (MSC service thread 1-6)

      12:27:50,586 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.<init>(BoneCP.java:312) ~[bonecp-0.7.1.RELEASE.jar:0.7.1.RELEASE]

      12:27:50,586 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.pooling.ConnectionManager.init(ConnectionManager.java:75) ~[classes:na]

      12:27:50,586 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.manager.SensorManager.<init>(SensorManager.java:71) [classes:na]

      12:27:50,586 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.OauthServletHelper.feedToServer(OauthServletHelper.java:18) [classes:na]

      12:27:50,607 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.add(SecurityInitializer.java:394) [classes:na]

      12:27:50,609 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.addPermission(SecurityInitializer.java:378) [classes:na]

      12:27:50,611 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.generateAuthorizationData(SecurityInitializer.java:188) [classes:na]

      12:27:50,613 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.initialize(SecurityInitializer.java:92) [classes:na]

      12:27:50,615 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.init(SecurityInitializer.java:87) [classes:na]

      12:27:50,616 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.ContextListener.contextInitialized(ContextListener.java:34) [classes:na]

      12:27:50,616 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392) [jbossweb-7.0.13.Final.jar!/:na]

      12:27:50,616 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850) [jbossweb-7.0.13.Final.jar!/:na]

      12:27:50,616 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90) [jboss-as-web-7.1.1.Final.jar!/:7.1.1.Final]

      12:27:50,616 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:27:50,616 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:27:50,616 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_79]

      12:27:50,616 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_79]

      12:27:50,632 INFO  [stdout] (MSC service thread 1-6)    at java.lang.Thread.run(Thread.java:745) [na:1.7.0_79]

      12:27:50,632 INFO  [stdout] (MSC service thread 1-6) Caused by: virtuoso.jdbc4.VirtuosoException: Connection failed: Connection timed out: connect

      12:27:50,632 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:27:50,632 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:27:50,648 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.<init>(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:27:50,648 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.Driver.connect(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:27:50,648 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:571) ~[na:1.7.0_79]

      12:27:50,648 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:215) ~[na:1.7.0_79]

      12:27:50,648 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.obtainRawInternalConnection(BoneCP.java:256) ~[bonecp-0.7.1.RELEASE.jar:0.7.1.RELEASE]

      12:27:50,648 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.<init>(BoneCP.java:305) ~[bonecp-0.7.1.RELEASE.jar:0.7.1.RELEASE]

      12:27:50,648 INFO  [stdout] (MSC service thread 1-6)    ... 17 common frames omitted

      12:27:50,648 INFO  [stdout] (MSC service thread 1-6) [LSM-S] INFO  o.openiot.lsm.manager.SensorManager - insert triples into graph http://lsm.deri.ie/OpenIoT/OAuth#

      12:27:50,648 INFO  [stdout] (MSC service thread 1-6) [LSM-S] WARN  o.openiot.lsm.manager.SensorManager - Fail to insert triples into graph http://lsm.deri.ie/OpenIoT/OAuth#

      12:27:50,663 INFO  [stdout] (MSC service thread 1-6) java.lang.NullPointerException: null

      12:27:50,663 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.manager.SensorManager.insertTriplesToGraph(SensorManager.java:122) ~[classes:na]

      12:27:50,663 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.OauthServletHelper.feedToServer(OauthServletHelper.java:41) [classes:na]

      12:27:50,663 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.add(SecurityInitializer.java:394) [classes:na]

      12:27:50,663 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.addPermission(SecurityInitializer.java:378) [classes:na]

      12:27:50,663 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.generateAuthorizationData(SecurityInitializer.java:188) [classes:na]

      12:27:50,679 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.initialize(SecurityInitializer.java:92) [classes:na]

      12:27:50,679 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.init(SecurityInitializer.java:87) [classes:na]

      12:27:50,679 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.ContextListener.contextInitialized(ContextListener.java:34) [classes:na]

      12:27:50,679 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392) [jbossweb-7.0.13.Final.jar!/:na]

      12:27:50,679 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850) [jbossweb-7.0.13.Final.jar!/:na]

      12:27:50,679 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90) [jboss-as-web-7.1.1.Final.jar!/:7.1.1.Final]

      12:27:50,695 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:27:50,695 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:27:50,695 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_79]

      12:27:50,695 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_79]

      12:27:50,695 INFO  [stdout] (MSC service thread 1-6)    at java.lang.Thread.run(Thread.java:745) [na:1.7.0_79]

      12:27:50,717 INFO  [stdout] (MSC service thread 1-6) [LSM-S] INFO  o.o.lsm.pooling.ConnectionManager - Loading property file

      12:27:50,717 INFO  [stdout] (MSC service thread 1-6) [LSM-S] INFO  o.o.lsm.pooling.ConnectionManager - loading database server driver virtuoso.jdbc4.Driver

      12:28:11,757 INFO  [stdout] (MSC service thread 1-6) [LSM-S] ERROR o.o.lsm.pooling.ConnectionManager - Error making pool:

      12:28:11,757 INFO  [stdout] (MSC service thread 1-6) java.sql.SQLException: Unable to open a test connection to the given database. JDBC url = jdbc:virtuoso://lsm.deri.ie:1111/log_enable=2, username = <database username>. Terminating connection pool. Original Exception: ------

      12:28:11,757 INFO  [stdout] (MSC service thread 1-6) virtuoso.jdbc4.VirtuosoException: Connection failed: Connection timed out: connect

      12:28:11,757 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source)

      12:28:11,757 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source)

      12:28:11,772 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.<init>(Unknown Source)

      12:28:11,774 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.Driver.connect(Unknown Source)

      12:28:11,775 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:571)

      12:28:11,776 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:215)

      12:28:11,778 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.obtainRawInternalConnection(BoneCP.java:256)

      12:28:11,779 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.<init>(BoneCP.java:305)

      12:28:11,779 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.pooling.ConnectionManager.init(ConnectionManager.java:75)

      12:28:11,779 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.manager.SensorManager.<init>(SensorManager.java:71)

      12:28:11,779 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.OauthServletHelper.feedToServer(OauthServletHelper.java:18)

      12:28:11,779 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.add(SecurityInitializer.java:394)

      12:28:11,779 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.addPermission(SecurityInitializer.java:378)

      12:28:11,779 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.generateAuthorizationData(SecurityInitializer.java:188)

      12:28:11,779 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.initialize(SecurityInitializer.java:92)

      12:28:11,779 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.init(SecurityInitializer.java:87)

      12:28:11,779 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.ContextListener.contextInitialized(ContextListener.java:34)

      12:28:11,800 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392)

      12:28:11,800 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850)

      12:28:11,800 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90)

      12:28:11,800 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)

      12:28:11,800 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)

      12:28:11,800 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)

      12:28:11,800 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

      12:28:11,800 INFO  [stdout] (MSC service thread 1-6)    at java.lang.Thread.run(Thread.java:745)

      12:28:11,800 INFO  [stdout] (MSC service thread 1-6) ------

      12:28:11,815 INFO  [stdout] (MSC service thread 1-6)

      12:28:11,815 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.<init>(BoneCP.java:312) ~[bonecp-0.7.1.RELEASE.jar:0.7.1.RELEASE]

      12:28:11,815 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.pooling.ConnectionManager.init(ConnectionManager.java:75) ~[classes:na]

      12:28:11,815 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.manager.SensorManager.<init>(SensorManager.java:71) [classes:na]

      12:28:11,815 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.OauthServletHelper.feedToServer(OauthServletHelper.java:18) [classes:na]

      12:28:11,815 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.add(SecurityInitializer.java:394) [classes:na]

      12:28:11,831 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.addPermission(SecurityInitializer.java:378) [classes:na]

      12:28:11,831 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.generateAuthorizationData(SecurityInitializer.java:188) [classes:na]

      12:28:11,831 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.initialize(SecurityInitializer.java:92) [classes:na]

      12:28:11,831 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.init(SecurityInitializer.java:87) [classes:na]

      12:28:11,831 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.ContextListener.contextInitialized(ContextListener.java:34) [classes:na]

      12:28:11,831 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392) [jbossweb-7.0.13.Final.jar!/:na]

      12:28:11,847 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850) [jbossweb-7.0.13.Final.jar!/:na]

      12:28:11,847 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90) [jboss-as-web-7.1.1.Final.jar!/:7.1.1.Final]

      12:28:11,847 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:28:11,847 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:28:11,847 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_79]

      12:28:11,847 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_79]

      12:28:11,868 INFO  [stdout] (MSC service thread 1-6)    at java.lang.Thread.run(Thread.java:745) [na:1.7.0_79]

      12:28:11,870 INFO  [stdout] (MSC service thread 1-6) Caused by: virtuoso.jdbc4.VirtuosoException: Connection failed: Connection timed out: connect

      12:28:11,871 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:28:11,873 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:28:11,875 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.<init>(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:28:11,877 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.Driver.connect(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:28:11,879 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:571) ~[na:1.7.0_79]

      12:28:11,879 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:215) ~[na:1.7.0_79]

      12:28:11,879 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.obtainRawInternalConnection(BoneCP.java:256) ~[bonecp-0.7.1.RELEASE.jar:0.7.1.RELEASE]

      12:28:11,879 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.<init>(BoneCP.java:305) ~[bonecp-0.7.1.RELEASE.jar:0.7.1.RELEASE]

      12:28:11,879 INFO  [stdout] (MSC service thread 1-6)    ... 17 common frames omitted

      12:28:11,879 INFO  [stdout] (MSC service thread 1-6) [LSM-S] INFO  o.openiot.lsm.manager.SensorManager - insert triples into graph http://lsm.deri.ie/OpenIoT/OAuth#

      12:28:11,894 INFO  [stdout] (MSC service thread 1-6) [LSM-S] WARN  o.openiot.lsm.manager.SensorManager - Fail to insert triples into graph http://lsm.deri.ie/OpenIoT/OAuth#

      12:28:11,894 INFO  [stdout] (MSC service thread 1-6) java.lang.NullPointerException: null

      12:28:11,894 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.manager.SensorManager.insertTriplesToGraph(SensorManager.java:122) ~[classes:na]

      12:28:11,894 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.OauthServletHelper.feedToServer(OauthServletHelper.java:41) [classes:na]

      12:28:11,894 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.add(SecurityInitializer.java:394) [classes:na]

      12:28:11,894 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.addPermission(SecurityInitializer.java:378) [classes:na]

      12:28:11,894 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.generateAuthorizationData(SecurityInitializer.java:188) [classes:na]

      12:28:11,910 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.initialize(SecurityInitializer.java:92) [classes:na]

      12:28:11,910 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.init(SecurityInitializer.java:87) [classes:na]

      12:28:11,910 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.ContextListener.contextInitialized(ContextListener.java:34) [classes:na]

      12:28:11,910 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392) [jbossweb-7.0.13.Final.jar!/:na]

      12:28:11,910 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850) [jbossweb-7.0.13.Final.jar!/:na]

      12:28:11,910 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90) [jboss-as-web-7.1.1.Final.jar!/:7.1.1.Final]

      12:28:11,926 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:28:11,926 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:28:11,926 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_79]

      12:28:11,926 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_79]

      12:28:11,926 INFO  [stdout] (MSC service thread 1-6)    at java.lang.Thread.run(Thread.java:745) [na:1.7.0_79]

      12:28:11,941 INFO  [stdout] (MSC service thread 1-6) [LSM-S] INFO  o.o.lsm.pooling.ConnectionManager - Loading property file

      12:28:11,941 INFO  [stdout] (MSC service thread 1-6) [LSM-S] INFO  o.o.lsm.pooling.ConnectionManager - loading database server driver virtuoso.jdbc4.Driver

      12:28:32,976 INFO  [stdout] (MSC service thread 1-6) [LSM-S] ERROR o.o.lsm.pooling.ConnectionManager - Error making pool:

      12:28:32,976 INFO  [stdout] (MSC service thread 1-6) java.sql.SQLException: Unable to open a test connection to the given database. JDBC url = jdbc:virtuoso://lsm.deri.ie:1111/log_enable=2, username = <database username>. Terminating connection pool. Original Exception: ------

      12:28:32,976 INFO  [stdout] (MSC service thread 1-6) virtuoso.jdbc4.VirtuosoException: Connection failed: Connection timed out: connect

      12:28:32,976 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source)

      12:28:32,976 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source)

      12:28:32,991 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.<init>(Unknown Source)

      12:28:32,991 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.Driver.connect(Unknown Source)

      12:28:32,991 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:571)

      12:28:32,991 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:215)

      12:28:32,991 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.obtainRawInternalConnection(BoneCP.java:256)

      12:28:32,991 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.<init>(BoneCP.java:305)

      12:28:32,991 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.pooling.ConnectionManager.init(ConnectionManager.java:75)

      12:28:32,991 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.manager.SensorManager.<init>(SensorManager.java:71)

      12:28:33,007 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.OauthServletHelper.feedToServer(OauthServletHelper.java:18)

      12:28:33,007 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.add(SecurityInitializer.java:394)

      12:28:33,007 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.addPermission(SecurityInitializer.java:378)

      12:28:33,007 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.generateAuthorizationData(SecurityInitializer.java:188)

      12:28:33,028 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.initialize(SecurityInitializer.java:92)

      12:28:33,029 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.init(SecurityInitializer.java:87)

      12:28:33,029 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.ContextListener.contextInitialized(ContextListener.java:34)

      12:28:33,029 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392)

      12:28:33,029 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850)

      12:28:33,029 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90)

      12:28:33,029 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)

      12:28:33,029 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)

      12:28:33,029 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)

      12:28:33,045 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

      12:28:33,045 INFO  [stdout] (MSC service thread 1-6)    at java.lang.Thread.run(Thread.java:745)

      12:28:33,045 INFO  [stdout] (MSC service thread 1-6) ------

      12:28:33,045 INFO  [stdout] (MSC service thread 1-6)

      12:28:33,045 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.<init>(BoneCP.java:312) ~[bonecp-0.7.1.RELEASE.jar:0.7.1.RELEASE]

      12:28:33,060 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.pooling.ConnectionManager.init(ConnectionManager.java:75) ~[classes:na]

      12:28:33,060 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.manager.SensorManager.<init>(SensorManager.java:71) [classes:na]

      12:28:33,060 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.OauthServletHelper.feedToServer(OauthServletHelper.java:18) [classes:na]

      12:28:33,060 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.add(SecurityInitializer.java:394) [classes:na]

      12:28:33,060 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.addPermission(SecurityInitializer.java:378) [classes:na]

      12:28:33,060 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.generateAuthorizationData(SecurityInitializer.java:188) [classes:na]

      12:28:33,076 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.initialize(SecurityInitializer.java:92) [classes:na]

      12:28:33,076 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.init(SecurityInitializer.java:87) [classes:na]

      12:28:33,076 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.ContextListener.contextInitialized(ContextListener.java:34) [classes:na]

      12:28:33,076 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392) [jbossweb-7.0.13.Final.jar!/:na]

      12:28:33,076 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850) [jbossweb-7.0.13.Final.jar!/:na]

      12:28:33,092 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90) [jboss-as-web-7.1.1.Final.jar!/:7.1.1.Final]

      12:28:33,092 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:28:33,092 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:28:33,092 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_79]

      12:28:33,092 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_79]

      12:28:33,107 INFO  [stdout] (MSC service thread 1-6)    at java.lang.Thread.run(Thread.java:745) [na:1.7.0_79]

      12:28:33,107 INFO  [stdout] (MSC service thread 1-6) Caused by: virtuoso.jdbc4.VirtuosoException: Connection failed: Connection timed out: connect

      12:28:33,107 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:28:33,107 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:28:33,107 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.<init>(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:28:33,107 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.Driver.connect(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:28:33,123 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:571) ~[na:1.7.0_79]

      12:28:33,129 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:215) ~[na:1.7.0_79]

      12:28:33,129 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.obtainRawInternalConnection(BoneCP.java:256) ~[bonecp-0.7.1.RELEASE.jar:0.7.1.RELEASE]

      12:28:33,129 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.<init>(BoneCP.java:305) ~[bonecp-0.7.1.RELEASE.jar:0.7.1.RELEASE]

      12:28:33,129 INFO  [stdout] (MSC service thread 1-6)    ... 17 common frames omitted

      12:28:33,129 INFO  [stdout] (MSC service thread 1-6) [LSM-S] INFO  o.openiot.lsm.manager.SensorManager - insert triples into graph http://lsm.deri.ie/OpenIoT/OAuth#

      12:28:33,129 INFO  [stdout] (MSC service thread 1-6) [LSM-S] WARN  o.openiot.lsm.manager.SensorManager - Fail to insert triples into graph http://lsm.deri.ie/OpenIoT/OAuth#

      12:28:33,145 INFO  [stdout] (MSC service thread 1-6) java.lang.NullPointerException: null

      12:28:33,145 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.manager.SensorManager.insertTriplesToGraph(SensorManager.java:122) ~[classes:na]

      12:28:33,145 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.OauthServletHelper.feedToServer(OauthServletHelper.java:41) [classes:na]

      12:28:33,145 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.add(SecurityInitializer.java:394) [classes:na]

      12:28:33,145 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.addPermission(SecurityInitializer.java:378) [classes:na]

      12:28:33,145 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.generateAuthorizationData(SecurityInitializer.java:188) [classes:na]

      12:28:33,145 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.initialize(SecurityInitializer.java:92) [classes:na]

      12:28:33,160 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.init(SecurityInitializer.java:87) [classes:na]

      12:28:33,160 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.ContextListener.contextInitialized(ContextListener.java:34) [classes:na]

      12:28:33,160 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392) [jbossweb-7.0.13.Final.jar!/:na]

      12:28:33,160 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850) [jbossweb-7.0.13.Final.jar!/:na]

      12:28:33,160 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90) [jboss-as-web-7.1.1.Final.jar!/:7.1.1.Final]

      12:28:33,176 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:28:33,176 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:28:33,176 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_79]

      12:28:33,176 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_79]

      12:28:33,176 INFO  [stdout] (MSC service thread 1-6)    at java.lang.Thread.run(Thread.java:745) [na:1.7.0_79]

      12:28:33,176 INFO  [stdout] (MSC service thread 1-6) [LSM-S] INFO  o.o.lsm.pooling.ConnectionManager - Loading property file

      12:28:33,191 INFO  [stdout] (MSC service thread 1-6) [LSM-S] INFO  o.o.lsm.pooling.ConnectionManager - loading database server driver virtuoso.jdbc4.Driver

      12:28:54,239 INFO  [stdout] (MSC service thread 1-6) [LSM-S] ERROR o.o.lsm.pooling.ConnectionManager - Error making pool:

      12:28:54,240 INFO  [stdout] (MSC service thread 1-6) java.sql.SQLException: Unable to open a test connection to the given database. JDBC url = jdbc:virtuoso://lsm.deri.ie:1111/log_enable=2, username = <database username>. Terminating connection pool. Original Exception: ------

      12:28:54,244 INFO  [stdout] (MSC service thread 1-6) virtuoso.jdbc4.VirtuosoException: Connection failed: Connection timed out: connect

      12:28:54,244 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source)

      12:28:54,244 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source)

      12:28:54,244 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.<init>(Unknown Source)

      12:28:54,244 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.Driver.connect(Unknown Source)

      12:28:54,244 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:571)

      12:28:54,244 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:215)

      12:28:54,244 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.obtainRawInternalConnection(BoneCP.java:256)

      12:28:54,244 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.<init>(BoneCP.java:305)

      12:28:54,259 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.pooling.ConnectionManager.init(ConnectionManager.java:75)

      12:28:54,259 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.manager.SensorManager.<init>(SensorManager.java:71)

      12:28:54,259 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.OauthServletHelper.feedToServer(OauthServletHelper.java:18)

      12:28:54,259 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.add(SecurityInitializer.java:394)

      12:28:54,259 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.addPermission(SecurityInitializer.java:378)

      12:28:54,259 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.generateAuthorizationData(SecurityInitializer.java:188)

      12:28:54,275 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.initialize(SecurityInitializer.java:92)

      12:28:54,275 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.init(SecurityInitializer.java:87)

      12:28:54,275 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.ContextListener.contextInitialized(ContextListener.java:34)

      12:28:54,275 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392)

      12:28:54,275 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850)

      12:28:54,275 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90)

      12:28:54,291 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)

      12:28:54,291 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)

      12:28:54,291 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)

      12:28:54,291 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

      12:28:54,291 INFO  [stdout] (MSC service thread 1-6)    at java.lang.Thread.run(Thread.java:745)

      12:28:54,291 INFO  [stdout] (MSC service thread 1-6) ------

      12:28:54,291 INFO  [stdout] (MSC service thread 1-6)

      12:28:54,291 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.<init>(BoneCP.java:312) ~[bonecp-0.7.1.RELEASE.jar:0.7.1.RELEASE]

      12:28:54,306 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.pooling.ConnectionManager.init(ConnectionManager.java:75) ~[classes:na]

      12:28:54,306 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.manager.SensorManager.<init>(SensorManager.java:71) [classes:na]

      12:28:54,306 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.OauthServletHelper.feedToServer(OauthServletHelper.java:18) [classes:na]

      12:28:54,306 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.add(SecurityInitializer.java:394) [classes:na]

      12:28:54,306 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.addPermission(SecurityInitializer.java:378) [classes:na]

      12:28:54,322 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.generateAuthorizationData(SecurityInitializer.java:188) [classes:na]

      12:28:54,322 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.initialize(SecurityInitializer.java:92) [classes:na]

      12:28:54,322 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.init(SecurityInitializer.java:87) [classes:na]

      12:28:54,322 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.ContextListener.contextInitialized(ContextListener.java:34) [classes:na]

      12:28:54,322 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392) [jbossweb-7.0.13.Final.jar!/:na]

      12:28:54,322 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850) [jbossweb-7.0.13.Final.jar!/:na]

      12:28:54,322 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90) [jboss-as-web-7.1.1.Final.jar!/:7.1.1.Final]

      12:28:54,322 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:28:54,344 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:28:54,344 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_79]

      12:28:54,344 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_79]

      12:28:54,344 INFO  [stdout] (MSC service thread 1-6)    at java.lang.Thread.run(Thread.java:745) [na:1.7.0_79]

      12:28:54,344 INFO  [stdout] (MSC service thread 1-6) Caused by: virtuoso.jdbc4.VirtuosoException: Connection failed: Connection timed out: connect

      12:28:54,344 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:28:54,344 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:28:54,344 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.<init>(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:28:54,360 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.Driver.connect(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:28:54,360 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:571) ~[na:1.7.0_79]

      12:28:54,360 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:215) ~[na:1.7.0_79]

      12:28:54,360 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.obtainRawInternalConnection(BoneCP.java:256) ~[bonecp-0.7.1.RELEASE.jar:0.7.1.RELEASE]

      12:28:54,360 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.<init>(BoneCP.java:305) ~[bonecp-0.7.1.RELEASE.jar:0.7.1.RELEASE]

      12:28:54,360 INFO  [stdout] (MSC service thread 1-6)    ... 17 common frames omitted

      12:28:54,375 INFO  [stdout] (MSC service thread 1-6) [LSM-S] INFO  o.openiot.lsm.manager.SensorManager - insert triples into graph http://lsm.deri.ie/OpenIoT/OAuth#

      12:28:54,375 INFO  [stdout] (MSC service thread 1-6) [LSM-S] WARN  o.openiot.lsm.manager.SensorManager - Fail to insert triples into graph http://lsm.deri.ie/OpenIoT/OAuth#

      12:28:54,375 INFO  [stdout] (MSC service thread 1-6) java.lang.NullPointerException: null

      12:28:54,375 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.manager.SensorManager.insertTriplesToGraph(SensorManager.java:122) ~[classes:na]

      12:28:54,375 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.OauthServletHelper.feedToServer(OauthServletHelper.java:41) [classes:na]

      12:28:54,375 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.add(SecurityInitializer.java:394) [classes:na]

      12:28:54,391 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.addPermission(SecurityInitializer.java:378) [classes:na]

      12:28:54,391 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.generateAuthorizationData(SecurityInitializer.java:188) [classes:na]

      12:28:54,391 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.initialize(SecurityInitializer.java:92) [classes:na]

      12:28:54,391 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.init(SecurityInitializer.java:87) [classes:na]

      12:28:54,391 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.ContextListener.contextInitialized(ContextListener.java:34) [classes:na]

      12:28:54,391 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392) [jbossweb-7.0.13.Final.jar!/:na]

      12:28:54,407 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850) [jbossweb-7.0.13.Final.jar!/:na]

      12:28:54,407 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90) [jboss-as-web-7.1.1.Final.jar!/:7.1.1.Final]

      12:28:54,407 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:28:54,407 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:28:54,407 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_79]

      12:28:54,407 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_79]

      12:28:54,422 INFO  [stdout] (MSC service thread 1-6)    at java.lang.Thread.run(Thread.java:745) [na:1.7.0_79]

      12:28:54,422 INFO  [stdout] (MSC service thread 1-6) [LSM-S] INFO  o.o.lsm.pooling.ConnectionManager - Loading property file

      12:28:54,444 INFO  [stdout] (MSC service thread 1-6) [LSM-S] INFO  o.o.lsm.pooling.ConnectionManager - loading database server driver virtuoso.jdbc4.Driver

      12:29:15,472 INFO  [stdout] (MSC service thread 1-6) [LSM-S] ERROR o.o.lsm.pooling.ConnectionManager - Error making pool:

      12:29:15,473 INFO  [stdout] (MSC service thread 1-6) java.sql.SQLException: Unable to open a test connection to the given database. JDBC url = jdbc:virtuoso://lsm.deri.ie:1111/log_enable=2, username = <database username>. Terminating connection pool. Original Exception: ------

      12:29:15,480 INFO  [stdout] (MSC service thread 1-6) virtuoso.jdbc4.VirtuosoException: Connection failed: Connection timed out: connect

      12:29:15,482 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source)

      12:29:15,484 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source)

      12:29:15,486 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.<init>(Unknown Source)

      12:29:15,487 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.Driver.connect(Unknown Source)

      12:29:15,489 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:571)

      12:29:15,489 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:215)

      12:29:15,489 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.obtainRawInternalConnection(BoneCP.java:256)

      12:29:15,489 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.<init>(BoneCP.java:305)

      12:29:15,489 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.pooling.ConnectionManager.init(ConnectionManager.java:75)

      12:29:15,489 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.manager.SensorManager.<init>(SensorManager.java:71)

      12:29:15,489 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.OauthServletHelper.feedToServer(OauthServletHelper.java:18)

      12:29:15,489 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.add(SecurityInitializer.java:394)

      12:29:15,489 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.addPermission(SecurityInitializer.java:378)

      12:29:15,489 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.generateAuthorizationData(SecurityInitializer.java:188)

      12:29:15,505 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.initialize(SecurityInitializer.java:92)

      12:29:15,505 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.init(SecurityInitializer.java:87)

      12:29:15,505 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.ContextListener.contextInitialized(ContextListener.java:34)

      12:29:15,505 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392)

      12:29:15,505 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850)

      12:29:15,521 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90)

      12:29:15,521 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)

      12:29:15,521 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)

      12:29:15,521 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)

      12:29:15,521 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

      12:29:15,521 INFO  [stdout] (MSC service thread 1-6)    at java.lang.Thread.run(Thread.java:745)

      12:29:15,521 INFO  [stdout] (MSC service thread 1-6) ------

      12:29:15,521 INFO  [stdout] (MSC service thread 1-6)

      12:29:15,521 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.<init>(BoneCP.java:312) ~[bonecp-0.7.1.RELEASE.jar:0.7.1.RELEASE]

      12:29:15,521 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.pooling.ConnectionManager.init(ConnectionManager.java:75) ~[classes:na]

      12:29:15,537 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.manager.SensorManager.<init>(SensorManager.java:71) [classes:na]

      12:29:15,537 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.OauthServletHelper.feedToServer(OauthServletHelper.java:18) [classes:na]

      12:29:15,537 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.add(SecurityInitializer.java:394) [classes:na]

      12:29:15,552 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.addPermission(SecurityInitializer.java:378) [classes:na]

      12:29:15,552 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.generateAuthorizationData(SecurityInitializer.java:188) [classes:na]

      12:29:15,552 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.initialize(SecurityInitializer.java:92) [classes:na]

      12:29:15,552 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.init(SecurityInitializer.java:87) [classes:na]

      12:29:15,552 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.ContextListener.contextInitialized(ContextListener.java:34) [classes:na]

      12:29:15,552 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392) [jbossweb-7.0.13.Final.jar!/:na]

      12:29:15,552 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850) [jbossweb-7.0.13.Final.jar!/:na]

      12:29:15,552 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90) [jboss-as-web-7.1.1.Final.jar!/:7.1.1.Final]

      12:29:15,568 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:29:15,568 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:29:15,568 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_79]

      12:29:15,568 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_79]

      12:29:15,568 INFO  [stdout] (MSC service thread 1-6)    at java.lang.Thread.run(Thread.java:745) [na:1.7.0_79]

      12:29:15,568 INFO  [stdout] (MSC service thread 1-6) Caused by: virtuoso.jdbc4.VirtuosoException: Connection failed: Connection timed out: connect

      12:29:15,585 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:29:15,587 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:29:15,589 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.<init>(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:29:15,590 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.Driver.connect(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:29:15,590 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:571) ~[na:1.7.0_79]

      12:29:15,590 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:215) ~[na:1.7.0_79]

      12:29:15,590 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.obtainRawInternalConnection(BoneCP.java:256) ~[bonecp-0.7.1.RELEASE.jar:0.7.1.RELEASE]

      12:29:15,590 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.<init>(BoneCP.java:305) ~[bonecp-0.7.1.RELEASE.jar:0.7.1.RELEASE]

      12:29:15,590 INFO  [stdout] (MSC service thread 1-6)    ... 17 common frames omitted

      12:29:15,590 INFO  [stdout] (MSC service thread 1-6) [LSM-S] INFO  o.openiot.lsm.manager.SensorManager - insert triples into graph http://lsm.deri.ie/OpenIoT/OAuth#

      12:29:15,590 INFO  [stdout] (MSC service thread 1-6) [LSM-S] WARN  o.openiot.lsm.manager.SensorManager - Fail to insert triples into graph http://lsm.deri.ie/OpenIoT/OAuth#

      12:29:15,606 INFO  [stdout] (MSC service thread 1-6) java.lang.NullPointerException: null

      12:29:15,606 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.manager.SensorManager.insertTriplesToGraph(SensorManager.java:122) ~[classes:na]

      12:29:15,606 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.OauthServletHelper.feedToServer(OauthServletHelper.java:41) [classes:na]

      12:29:15,606 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.add(SecurityInitializer.java:394) [classes:na]

      12:29:15,606 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.addPermission(SecurityInitializer.java:378) [classes:na]

      12:29:15,621 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.generateAuthorizationData(SecurityInitializer.java:188) [classes:na]

      12:29:15,621 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.initialize(SecurityInitializer.java:92) [classes:na]

      12:29:15,621 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.init(SecurityInitializer.java:87) [classes:na]

      12:29:15,621 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.ContextListener.contextInitialized(ContextListener.java:34) [classes:na]

      12:29:15,621 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392) [jbossweb-7.0.13.Final.jar!/:na]

      12:29:15,621 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850) [jbossweb-7.0.13.Final.jar!/:na]

      12:29:15,637 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90) [jboss-as-web-7.1.1.Final.jar!/:7.1.1.Final]

      12:29:15,637 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:29:15,637 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:29:15,637 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_79]

      12:29:15,637 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_79]

      12:29:15,653 INFO  [stdout] (MSC service thread 1-6)    at java.lang.Thread.run(Thread.java:745) [na:1.7.0_79]

      12:29:15,653 INFO  [stdout] (MSC service thread 1-6) [LSM-S] INFO  o.o.lsm.pooling.ConnectionManager - Loading property file

      12:29:15,653 INFO  [stdout] (MSC service thread 1-6) [LSM-S] INFO  o.o.lsm.pooling.ConnectionManager - loading database server driver virtuoso.jdbc4.Driver

      12:29:36,686 INFO  [stdout] (MSC service thread 1-6) [LSM-S] ERROR o.o.lsm.pooling.ConnectionManager - Error making pool:

      12:29:36,687 INFO  [stdout] (MSC service thread 1-6) java.sql.SQLException: Unable to open a test connection to the given database. JDBC url = jdbc:virtuoso://lsm.deri.ie:1111/log_enable=2, username = <database username>. Terminating connection pool. Original Exception: ------

      12:29:36,689 INFO  [stdout] (MSC service thread 1-6) virtuoso.jdbc4.VirtuosoException: Connection failed: Connection timed out: connect

      12:29:36,689 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source)

      12:29:36,689 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source)

      12:29:36,689 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.<init>(Unknown Source)

      12:29:36,689 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.Driver.connect(Unknown Source)

      12:29:36,689 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:571)

      12:29:36,689 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:215)

      12:29:36,689 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.obtainRawInternalConnection(BoneCP.java:256)

      12:29:36,689 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.<init>(BoneCP.java:305)

      12:29:36,704 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.pooling.ConnectionManager.init(ConnectionManager.java:75)

      12:29:36,704 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.manager.SensorManager.<init>(SensorManager.java:71)

      12:29:36,704 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.OauthServletHelper.feedToServer(OauthServletHelper.java:18)

      12:29:36,704 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.add(SecurityInitializer.java:394)

      12:29:36,704 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.addPermission(SecurityInitializer.java:378)

      12:29:36,704 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.generateAuthorizationData(SecurityInitializer.java:188)

      12:29:36,720 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.initialize(SecurityInitializer.java:92)

      12:29:36,720 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.init(SecurityInitializer.java:87)

      12:29:36,720 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.ContextListener.contextInitialized(ContextListener.java:34)

      12:29:36,720 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392)

      12:29:36,720 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850)

      12:29:36,720 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90)

      12:29:36,735 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)

      12:29:36,735 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)

      12:29:36,735 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)

      12:29:36,735 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

      12:29:36,735 INFO  [stdout] (MSC service thread 1-6)    at java.lang.Thread.run(Thread.java:745)

      12:29:36,735 INFO  [stdout] (MSC service thread 1-6) ------

      12:29:36,752 INFO  [stdout] (MSC service thread 1-6)

      12:29:36,757 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.<init>(BoneCP.java:312) ~[bonecp-0.7.1.RELEASE.jar:0.7.1.RELEASE]

      12:29:36,759 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.pooling.ConnectionManager.init(ConnectionManager.java:75) ~[classes:na]

      12:29:36,761 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.manager.SensorManager.<init>(SensorManager.java:71) [classes:na]

      12:29:36,762 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.OauthServletHelper.feedToServer(OauthServletHelper.java:18) [classes:na]

      12:29:36,764 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.add(SecurityInitializer.java:394) [classes:na]

      12:29:36,770 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.addPermission(SecurityInitializer.java:378) [classes:na]

      12:29:36,773 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.generateAuthorizationData(SecurityInitializer.java:188) [classes:na]

      12:29:36,774 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.initialize(SecurityInitializer.java:92) [classes:na]

      12:29:36,776 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.init(SecurityInitializer.java:87) [classes:na]

      12:29:36,778 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.ContextListener.contextInitialized(ContextListener.java:34) [classes:na]

      12:29:36,784 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392) [jbossweb-7.0.13.Final.jar!/:na]

      12:29:36,786 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850) [jbossweb-7.0.13.Final.jar!/:na]

      12:29:36,787 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90) [jboss-as-web-7.1.1.Final.jar!/:7.1.1.Final]

      12:29:36,790 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:29:36,796 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:29:36,798 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_79]

      12:29:36,800 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_79]

      12:29:36,801 INFO  [stdout] (MSC service thread 1-6)    at java.lang.Thread.run(Thread.java:745) [na:1.7.0_79]

      12:29:36,803 INFO  [stdout] (MSC service thread 1-6) Caused by: virtuoso.jdbc4.VirtuosoException: Connection failed: Connection timed out: connect

      12:29:36,810 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:29:36,812 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:29:36,814 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.<init>(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:29:36,816 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.Driver.connect(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:29:36,817 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:571) ~[na:1.7.0_79]

      12:29:36,818 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:215) ~[na:1.7.0_79]

      12:29:36,824 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.obtainRawInternalConnection(BoneCP.java:256) ~[bonecp-0.7.1.RELEASE.jar:0.7.1.RELEASE]

      12:29:36,826 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.<init>(BoneCP.java:305) ~[bonecp-0.7.1.RELEASE.jar:0.7.1.RELEASE]

      12:29:36,828 INFO  [stdout] (MSC service thread 1-6)    ... 17 common frames omitted

      12:29:36,829 INFO  [stdout] (MSC service thread 1-6) [LSM-S] INFO  o.openiot.lsm.manager.SensorManager - insert triples into graph http://lsm.deri.ie/OpenIoT/OAuth#

      12:29:36,833 INFO  [stdout] (MSC service thread 1-6) [LSM-S] WARN  o.openiot.lsm.manager.SensorManager - Fail to insert triples into graph http://lsm.deri.ie/OpenIoT/OAuth#

      12:29:36,837 INFO  [stdout] (MSC service thread 1-6) java.lang.NullPointerException: null

      12:29:36,839 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.manager.SensorManager.insertTriplesToGraph(SensorManager.java:122) ~[classes:na]

      12:29:36,842 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.OauthServletHelper.feedToServer(OauthServletHelper.java:41) [classes:na]

      12:29:36,844 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.add(SecurityInitializer.java:394) [classes:na]

      12:29:36,851 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.addPermission(SecurityInitializer.java:378) [classes:na]

      12:29:36,853 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.generateAuthorizationData(SecurityInitializer.java:188) [classes:na]

      12:29:36,855 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.initialize(SecurityInitializer.java:92) [classes:na]

      12:29:36,858 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.init(SecurityInitializer.java:87) [classes:na]

      12:29:36,863 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.ContextListener.contextInitialized(ContextListener.java:34) [classes:na]

      12:29:36,866 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392) [jbossweb-7.0.13.Final.jar!/:na]

      12:29:36,868 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850) [jbossweb-7.0.13.Final.jar!/:na]

      12:29:36,869 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90) [jboss-as-web-7.1.1.Final.jar!/:7.1.1.Final]

      12:29:36,872 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:29:36,878 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:29:36,881 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_79]

      12:29:36,882 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_79]

      12:29:36,884 INFO  [stdout] (MSC service thread 1-6)    at java.lang.Thread.run(Thread.java:745) [na:1.7.0_79]

      12:29:36,886 INFO  [stdout] (MSC service thread 1-6) [LSM-S] INFO  o.o.lsm.pooling.ConnectionManager - Loading property file

      12:29:36,893 INFO  [stdout] (MSC service thread 1-6) [LSM-S] INFO  o.o.lsm.pooling.ConnectionManager - loading database server driver virtuoso.jdbc4.Driver

      12:29:57,923 INFO  [stdout] (MSC service thread 1-6) [LSM-S] ERROR o.o.lsm.pooling.ConnectionManager - Error making pool:

      12:29:57,925 INFO  [stdout] (MSC service thread 1-6) java.sql.SQLException: Unable to open a test connection to the given database. JDBC url = jdbc:virtuoso://lsm.deri.ie:1111/log_enable=2, username = <database username>. Terminating connection pool. Original Exception: ------

      12:29:57,933 INFO  [stdout] (MSC service thread 1-6) virtuoso.jdbc4.VirtuosoException: Connection failed: Connection timed out: connect

      12:29:57,935 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source)

      12:29:57,936 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source)

      12:29:57,939 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.<init>(Unknown Source)

      12:29:57,951 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.Driver.connect(Unknown Source)

      12:29:57,955 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:571)

      12:29:57,957 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:215)

      12:29:57,960 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.obtainRawInternalConnection(BoneCP.java:256)

      12:29:57,967 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.<init>(BoneCP.java:305)

      12:29:57,969 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.pooling.ConnectionManager.init(ConnectionManager.java:75)

      12:29:57,970 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.manager.SensorManager.<init>(SensorManager.java:71)

      12:29:57,972 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.OauthServletHelper.feedToServer(OauthServletHelper.java:18)

      12:29:57,982 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.add(SecurityInitializer.java:394)

      12:29:57,984 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.addPermission(SecurityInitializer.java:378)

      12:29:57,987 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.generateAuthorizationData(SecurityInitializer.java:188)

      12:29:57,989 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.initialize(SecurityInitializer.java:92)

      12:29:57,997 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.init(SecurityInitializer.java:87)

      12:29:57,999 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.ContextListener.contextInitialized(ContextListener.java:34)

      12:29:58,002 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392)

      12:29:58,003 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850)

      12:29:58,012 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90)

      12:29:58,015 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)

      12:29:58,017 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)

      12:29:58,019 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)

      12:29:58,027 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

      12:29:58,029 INFO  [stdout] (MSC service thread 1-6)    at java.lang.Thread.run(Thread.java:745)

      12:29:58,031 INFO  [stdout] (MSC service thread 1-6) ------

      12:29:58,032 INFO  [stdout] (MSC service thread 1-6)

      12:29:58,034 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.<init>(BoneCP.java:312) ~[bonecp-0.7.1.RELEASE.jar:0.7.1.RELEASE]

      12:29:58,041 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.pooling.ConnectionManager.init(ConnectionManager.java:75) ~[classes:na]

      12:29:58,044 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.manager.SensorManager.<init>(SensorManager.java:71) [classes:na]

      12:29:58,046 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.OauthServletHelper.feedToServer(OauthServletHelper.java:18) [classes:na]

      12:29:58,049 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.add(SecurityInitializer.java:394) [classes:na]

      12:29:58,055 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.addPermission(SecurityInitializer.java:378) [classes:na]

      12:29:58,059 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.generateAuthorizationData(SecurityInitializer.java:188) [classes:na]

      12:29:58,062 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.initialize(SecurityInitializer.java:92) [classes:na]

      12:29:58,064 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.init(SecurityInitializer.java:87) [classes:na]

      12:29:58,070 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.ContextListener.contextInitialized(ContextListener.java:34) [classes:na]

      12:29:58,072 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392) [jbossweb-7.0.13.Final.jar!/:na]

      12:29:58,075 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850) [jbossweb-7.0.13.Final.jar!/:na]

      12:29:58,077 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90) [jboss-as-web-7.1.1.Final.jar!/:7.1.1.Final]

      12:29:58,084 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:29:58,086 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:29:58,088 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_79]

      12:29:58,091 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_79]

      12:29:58,099 INFO  [stdout] (MSC service thread 1-6)    at java.lang.Thread.run(Thread.java:745) [na:1.7.0_79]

      12:29:58,101 INFO  [stdout] (MSC service thread 1-6) Caused by: virtuoso.jdbc4.VirtuosoException: Connection failed: Connection timed out: connect

      12:29:58,103 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:29:58,104 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:29:58,106 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.<init>(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:29:58,113 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.Driver.connect(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:29:58,116 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:571) ~[na:1.7.0_79]

      12:29:58,118 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:215) ~[na:1.7.0_79]

      12:29:58,120 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.obtainRawInternalConnection(BoneCP.java:256) ~[bonecp-0.7.1.RELEASE.jar:0.7.1.RELEASE]

      12:29:58,127 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.<init>(BoneCP.java:305) ~[bonecp-0.7.1.RELEASE.jar:0.7.1.RELEASE]

      12:29:58,129 INFO  [stdout] (MSC service thread 1-6)    ... 17 common frames omitted

      12:29:58,131 INFO  [stdout] (MSC service thread 1-6) [LSM-S] INFO  o.openiot.lsm.manager.SensorManager - insert triples into graph http://lsm.deri.ie/OpenIoT/OAuth#

      12:29:58,135 INFO  [stdout] (MSC service thread 1-6) [LSM-S] WARN  o.openiot.lsm.manager.SensorManager - Fail to insert triples into graph http://lsm.deri.ie/OpenIoT/OAuth#

      12:29:58,142 INFO  [stdout] (MSC service thread 1-6) java.lang.NullPointerException: null

      12:29:58,144 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.manager.SensorManager.insertTriplesToGraph(SensorManager.java:122) ~[classes:na]

      12:29:58,146 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.OauthServletHelper.feedToServer(OauthServletHelper.java:41) [classes:na]

      12:29:58,149 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.add(SecurityInitializer.java:394) [classes:na]

      12:29:58,150 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.addPermission(SecurityInitializer.java:378) [classes:na]

      12:29:58,157 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.generateAuthorizationData(SecurityInitializer.java:188) [classes:na]

      12:29:58,160 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.initialize(SecurityInitializer.java:92) [classes:na]

      12:29:58,162 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.init(SecurityInitializer.java:87) [classes:na]

      12:29:58,164 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.ContextListener.contextInitialized(ContextListener.java:34) [classes:na]

      12:29:58,171 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392) [jbossweb-7.0.13.Final.jar!/:na]

      12:29:58,174 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850) [jbossweb-7.0.13.Final.jar!/:na]

      12:29:58,176 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90) [jboss-as-web-7.1.1.Final.jar!/:7.1.1.Final]

      12:29:58,178 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:29:58,186 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:29:58,188 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_79]

      12:29:58,190 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_79]

      12:29:58,192 INFO  [stdout] (MSC service thread 1-6)    at java.lang.Thread.run(Thread.java:745) [na:1.7.0_79]

      12:29:58,195 INFO  [stdout] (MSC service thread 1-6) [LSM-S] INFO  o.o.lsm.pooling.ConnectionManager - Loading property file

      12:29:58,201 INFO  [stdout] (MSC service thread 1-6) [LSM-S] INFO  o.o.lsm.pooling.ConnectionManager - loading database server driver virtuoso.jdbc4.Driver

      12:30:19,234 INFO  [stdout] (MSC service thread 1-6) [LSM-S] ERROR o.o.lsm.pooling.ConnectionManager - Error making pool:

      12:30:19,236 INFO  [stdout] (MSC service thread 1-6) java.sql.SQLException: Unable to open a test connection to the given database. JDBC url = jdbc:virtuoso://lsm.deri.ie:1111/log_enable=2, username = <database username>. Terminating connection pool. Original Exception: ------

      12:30:19,245 INFO  [stdout] (MSC service thread 1-6) virtuoso.jdbc4.VirtuosoException: Connection failed: Connection timed out: connect

      12:30:19,247 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source)

      12:30:19,252 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source)

      12:30:19,253 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.<init>(Unknown Source)

      12:30:19,255 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.Driver.connect(Unknown Source)

      12:30:19,257 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:571)

      12:30:19,258 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:215)

      12:30:19,260 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.obtainRawInternalConnection(BoneCP.java:256)

      12:30:19,266 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.<init>(BoneCP.java:305)

      12:30:19,267 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.pooling.ConnectionManager.init(ConnectionManager.java:75)

      12:30:19,269 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.manager.SensorManager.<init>(SensorManager.java:71)

      12:30:19,271 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.OauthServletHelper.feedToServer(OauthServletHelper.java:18)

      12:30:19,273 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.add(SecurityInitializer.java:394)

      12:30:19,279 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.addPermission(SecurityInitializer.java:378)

      12:30:19,281 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.generateAuthorizationData(SecurityInitializer.java:188)

      12:30:19,282 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.initialize(SecurityInitializer.java:92)

      12:30:19,284 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.init(SecurityInitializer.java:87)

      12:30:19,285 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.ContextListener.contextInitialized(ContextListener.java:34)

      12:30:19,292 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392)

      12:30:19,294 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850)

      12:30:19,296 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90)

      12:30:19,298 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)

      12:30:19,300 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)

      12:30:19,309 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)

      12:30:19,311 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

      12:30:19,312 INFO  [stdout] (MSC service thread 1-6)    at java.lang.Thread.run(Thread.java:745)

      12:30:19,313 INFO  [stdout] (MSC service thread 1-6) ------

      12:30:19,315 INFO  [stdout] (MSC service thread 1-6)

      12:30:19,316 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.<init>(BoneCP.java:312) ~[bonecp-0.7.1.RELEASE.jar:0.7.1.RELEASE]

      12:30:19,321 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.pooling.ConnectionManager.init(ConnectionManager.java:75) ~[classes:na]

      12:30:19,324 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.manager.SensorManager.<init>(SensorManager.java:71) [classes:na]

      12:30:19,327 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.OauthServletHelper.feedToServer(OauthServletHelper.java:18) [classes:na]

      12:30:19,328 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.add(SecurityInitializer.java:394) [classes:na]

      12:30:19,330 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.addPermission(SecurityInitializer.java:378) [classes:na]

      12:30:19,336 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.generateAuthorizationData(SecurityInitializer.java:188) [classes:na]

      12:30:19,338 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.initialize(SecurityInitializer.java:92) [classes:na]

      12:30:19,340 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.init(SecurityInitializer.java:87) [classes:na]

      12:30:19,342 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.ContextListener.contextInitialized(ContextListener.java:34) [classes:na]

      12:30:19,343 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392) [jbossweb-7.0.13.Final.jar!/:na]

      12:30:19,350 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850) [jbossweb-7.0.13.Final.jar!/:na]

      12:30:19,352 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90) [jboss-as-web-7.1.1.Final.jar!/:7.1.1.Final]

      12:30:19,355 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:30:19,358 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:30:19,366 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_79]

      12:30:19,368 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_79]

      12:30:19,369 INFO  [stdout] (MSC service thread 1-6)    at java.lang.Thread.run(Thread.java:745) [na:1.7.0_79]

      12:30:19,371 INFO  [stdout] (MSC service thread 1-6) Caused by: virtuoso.jdbc4.VirtuosoException: Connection failed: Connection timed out: connect

      12:30:19,373 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:30:19,379 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:30:19,381 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.<init>(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:30:19,383 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.Driver.connect(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:30:19,384 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:571) ~[na:1.7.0_79]

      12:30:19,386 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:215) ~[na:1.7.0_79]

      12:30:19,387 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.obtainRawInternalConnection(BoneCP.java:256) ~[bonecp-0.7.1.RELEASE.jar:0.7.1.RELEASE]

      12:30:19,394 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.<init>(BoneCP.java:305) ~[bonecp-0.7.1.RELEASE.jar:0.7.1.RELEASE]

      12:30:19,396 INFO  [stdout] (MSC service thread 1-6)    ... 17 common frames omitted

      12:30:19,398 INFO  [stdout] (MSC service thread 1-6) [LSM-S] INFO  o.openiot.lsm.manager.SensorManager - insert triples into graph http://lsm.deri.ie/OpenIoT/OAuth#

      12:30:19,401 INFO  [stdout] (MSC service thread 1-6) [LSM-S] WARN  o.openiot.lsm.manager.SensorManager - Fail to insert triples into graph http://lsm.deri.ie/OpenIoT/OAuth#

      12:30:19,409 INFO  [stdout] (MSC service thread 1-6) java.lang.NullPointerException: null

      12:30:19,411 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.manager.SensorManager.insertTriplesToGraph(SensorManager.java:122) ~[classes:na]

      12:30:19,413 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.OauthServletHelper.feedToServer(OauthServletHelper.java:41) [classes:na]

      12:30:19,415 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.add(SecurityInitializer.java:394) [classes:na]

      12:30:19,417 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.addPermission(SecurityInitializer.java:378) [classes:na]

      12:30:19,424 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.generateAuthorizationData(SecurityInitializer.java:188) [classes:na]

      12:30:19,426 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.initialize(SecurityInitializer.java:92) [classes:na]

      12:30:19,428 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.init(SecurityInitializer.java:87) [classes:na]

      12:30:19,429 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.ContextListener.contextInitialized(ContextListener.java:34) [classes:na]

      12:30:19,431 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392) [jbossweb-7.0.13.Final.jar!/:na]

      12:30:19,437 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850) [jbossweb-7.0.13.Final.jar!/:na]

      12:30:19,439 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90) [jboss-as-web-7.1.1.Final.jar!/:7.1.1.Final]

      12:30:19,442 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:30:19,444 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:30:19,452 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_79]

      12:30:19,453 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_79]

      12:30:19,455 INFO  [stdout] (MSC service thread 1-6)    at java.lang.Thread.run(Thread.java:745) [na:1.7.0_79]

      12:30:19,458 INFO  [stdout] (MSC service thread 1-6) [LSM-S] INFO  o.o.lsm.pooling.ConnectionManager - Loading property file

      12:30:19,460 INFO  [stdout] (MSC service thread 1-6) [LSM-S] INFO  o.o.lsm.pooling.ConnectionManager - loading database server driver virtuoso.jdbc4.Driver

      12:30:40,480 INFO  [stdout] (MSC service thread 1-6) [LSM-S] ERROR o.o.lsm.pooling.ConnectionManager - Error making pool:

      12:30:40,483 INFO  [stdout] (MSC service thread 1-6) java.sql.SQLException: Unable to open a test connection to the given database. JDBC url = jdbc:virtuoso://lsm.deri.ie:1111/log_enable=2, username = <database username>. Terminating connection pool. Original Exception: ------

      12:30:40,492 INFO  [stdout] (MSC service thread 1-6) virtuoso.jdbc4.VirtuosoException: Connection failed: Connection timed out: connect

      12:30:40,494 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source)

      12:30:40,495 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source)

      12:30:40,503 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.<init>(Unknown Source)

      12:30:40,505 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.Driver.connect(Unknown Source)

      12:30:40,508 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:571)

      12:30:40,510 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:215)

      12:30:40,512 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.obtainRawInternalConnection(BoneCP.java:256)

      12:30:40,519 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.<init>(BoneCP.java:305)

      12:30:40,521 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.pooling.ConnectionManager.init(ConnectionManager.java:75)

      12:30:40,524 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.manager.SensorManager.<init>(SensorManager.java:71)

      12:30:40,525 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.OauthServletHelper.feedToServer(OauthServletHelper.java:18)

      12:30:40,534 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.add(SecurityInitializer.java:394)

      12:30:40,536 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.addPermission(SecurityInitializer.java:378)

      12:30:40,539 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.generateAuthorizationData(SecurityInitializer.java:188)

      12:30:40,541 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.initialize(SecurityInitializer.java:92)

      12:30:40,547 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.init(SecurityInitializer.java:87)

      12:30:40,550 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.ContextListener.contextInitialized(ContextListener.java:34)

      12:30:40,552 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392)

      12:30:40,554 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850)

      12:30:40,562 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90)

      12:30:40,564 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)

      12:30:40,567 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)

      12:30:40,569 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)

      12:30:40,577 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

      12:30:40,580 INFO  [stdout] (MSC service thread 1-6)    at java.lang.Thread.run(Thread.java:745)

      12:30:40,581 INFO  [stdout] (MSC service thread 1-6) ------

      12:30:40,583 INFO  [stdout] (MSC service thread 1-6)

      12:30:40,585 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.<init>(BoneCP.java:312) ~[bonecp-0.7.1.RELEASE.jar:0.7.1.RELEASE]

      12:30:40,594 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.pooling.ConnectionManager.init(ConnectionManager.java:75) ~[classes:na]

      12:30:40,597 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.manager.SensorManager.<init>(SensorManager.java:71) [classes:na]

      12:30:40,599 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.OauthServletHelper.feedToServer(OauthServletHelper.java:18) [classes:na]

      12:30:40,602 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.add(SecurityInitializer.java:394) [classes:na]

      12:30:40,610 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.addPermission(SecurityInitializer.java:378) [classes:na]

      12:30:40,613 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.generateAuthorizationData(SecurityInitializer.java:188) [classes:na]

      12:30:40,616 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.initialize(SecurityInitializer.java:92) [classes:na]

      12:30:40,618 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.init(SecurityInitializer.java:87) [classes:na]

      12:30:40,626 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.ContextListener.contextInitialized(ContextListener.java:34) [classes:na]

      12:30:40,629 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392) [jbossweb-7.0.13.Final.jar!/:na]

      12:30:40,631 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850) [jbossweb-7.0.13.Final.jar!/:na]

      12:30:40,633 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90) [jboss-as-web-7.1.1.Final.jar!/:7.1.1.Final]

      12:30:40,643 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:30:40,648 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:30:40,661 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_79]

      12:30:40,665 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_79]

      12:30:40,672 INFO  [stdout] (MSC service thread 1-6)    at java.lang.Thread.run(Thread.java:745) [na:1.7.0_79]

      12:30:40,674 INFO  [stdout] (MSC service thread 1-6) Caused by: virtuoso.jdbc4.VirtuosoException: Connection failed: Connection timed out: connect

      12:30:40,679 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:30:40,685 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:30:40,689 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.<init>(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:30:40,701 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.Driver.connect(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:30:40,711 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:571) ~[na:1.7.0_79]

      12:30:40,717 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:215) ~[na:1.7.0_79]

      12:30:40,723 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.obtainRawInternalConnection(BoneCP.java:256) ~[bonecp-0.7.1.RELEASE.jar:0.7.1.RELEASE]

      12:30:40,730 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.<init>(BoneCP.java:305) ~[bonecp-0.7.1.RELEASE.jar:0.7.1.RELEASE]

      12:30:40,733 INFO  [stdout] (MSC service thread 1-6)    ... 17 common frames omitted

      12:30:40,737 INFO  [stdout] (MSC service thread 1-6) [LSM-S] INFO  o.openiot.lsm.manager.SensorManager - insert triples into graph http://lsm.deri.ie/OpenIoT/OAuth#

      12:30:40,748 INFO  [stdout] (MSC service thread 1-6) [LSM-S] WARN  o.openiot.lsm.manager.SensorManager - Fail to insert triples into graph http://lsm.deri.ie/OpenIoT/OAuth#

      12:30:40,751 INFO  [stdout] (MSC service thread 1-6) java.lang.NullPointerException: null

      12:30:40,752 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.manager.SensorManager.insertTriplesToGraph(SensorManager.java:122) ~[classes:na]

      12:30:40,761 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.OauthServletHelper.feedToServer(OauthServletHelper.java:41) [classes:na]

      12:30:40,764 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.add(SecurityInitializer.java:394) [classes:na]

      12:30:40,769 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.addPermission(SecurityInitializer.java:378) [classes:na]

      12:30:40,781 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.generateAuthorizationData(SecurityInitializer.java:188) [classes:na]

      12:30:40,784 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.initialize(SecurityInitializer.java:92) [classes:na]

      12:30:40,786 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.init(SecurityInitializer.java:87) [classes:na]

      12:30:40,789 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.ContextListener.contextInitialized(ContextListener.java:34) [classes:na]

      12:30:40,799 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392) [jbossweb-7.0.13.Final.jar!/:na]

      12:30:40,802 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850) [jbossweb-7.0.13.Final.jar!/:na]

      12:30:40,804 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90) [jboss-as-web-7.1.1.Final.jar!/:7.1.1.Final]

      12:30:40,816 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:30:40,820 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:30:40,835 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_79]

      12:30:40,850 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_79]

      12:30:40,853 INFO  [stdout] (MSC service thread 1-6)    at java.lang.Thread.run(Thread.java:745) [na:1.7.0_79]

      12:30:40,870 INFO  [stdout] (MSC service thread 1-6) [LSM-S] INFO  o.o.lsm.pooling.ConnectionManager - Loading property file

      12:30:40,876 INFO  [stdout] (MSC service thread 1-6) [LSM-S] INFO  o.o.lsm.pooling.ConnectionManager - loading database server driver virtuoso.jdbc4.Driver

      12:31:01,927 INFO  [stdout] (MSC service thread 1-6) [LSM-S] ERROR o.o.lsm.pooling.ConnectionManager - Error making pool:

      12:31:01,929 INFO  [stdout] (MSC service thread 1-6) java.sql.SQLException: Unable to open a test connection to the given database. JDBC url = jdbc:virtuoso://lsm.deri.ie:1111/log_enable=2, username = <database username>. Terminating connection pool. Original Exception: ------

      12:31:01,943 INFO  [stdout] (MSC service thread 1-6) virtuoso.jdbc4.VirtuosoException: Connection failed: Connection timed out: connect

      12:31:01,951 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source)

      12:31:01,953 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source)

      12:31:01,957 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.<init>(Unknown Source)

      12:31:01,958 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.Driver.connect(Unknown Source)

      12:31:01,967 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:571)

      12:31:01,970 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:215)

      12:31:01,972 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.obtainRawInternalConnection(BoneCP.java:256)

      12:31:01,974 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.<init>(BoneCP.java:305)

      12:31:01,981 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.pooling.ConnectionManager.init(ConnectionManager.java:75)

      12:31:01,983 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.manager.SensorManager.<init>(SensorManager.java:71)

      12:31:01,985 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.OauthServletHelper.feedToServer(OauthServletHelper.java:18)

      12:31:01,987 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.add(SecurityInitializer.java:394)

      12:31:01,994 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.addPermission(SecurityInitializer.java:378)

      12:31:01,996 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.generateAuthorizationData(SecurityInitializer.java:188)

      12:31:01,998 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.initialize(SecurityInitializer.java:92)

      12:31:02,001 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.init(SecurityInitializer.java:87)

      12:31:02,010 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.ContextListener.contextInitialized(ContextListener.java:34)

      12:31:02,011 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392)

      12:31:02,014 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850)

      12:31:02,016 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90)

      12:31:02,025 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)

      12:31:02,028 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)

      12:31:02,029 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)

      12:31:02,032 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

      12:31:02,039 INFO  [stdout] (MSC service thread 1-6)    at java.lang.Thread.run(Thread.java:745)

      12:31:02,043 INFO  [stdout] (MSC service thread 1-6) ------

      12:31:02,044 INFO  [stdout] (MSC service thread 1-6)

      12:31:02,045 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.<init>(BoneCP.java:312) ~[bonecp-0.7.1.RELEASE.jar:0.7.1.RELEASE]

      12:31:02,047 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.pooling.ConnectionManager.init(ConnectionManager.java:75) ~[classes:na]

      12:31:02,055 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.manager.SensorManager.<init>(SensorManager.java:71) [classes:na]

      12:31:02,058 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.OauthServletHelper.feedToServer(OauthServletHelper.java:18) [classes:na]

      12:31:02,060 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.add(SecurityInitializer.java:394) [classes:na]

      12:31:02,062 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.addPermission(SecurityInitializer.java:378) [classes:na]

      12:31:02,068 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.generateAuthorizationData(SecurityInitializer.java:188) [classes:na]

      12:31:02,070 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.initialize(SecurityInitializer.java:92) [classes:na]

      12:31:02,071 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.init(SecurityInitializer.java:87) [classes:na]

      12:31:02,074 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.ContextListener.contextInitialized(ContextListener.java:34) [classes:na]

      12:31:02,082 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392) [jbossweb-7.0.13.Final.jar!/:na]

      12:31:02,084 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850) [jbossweb-7.0.13.Final.jar!/:na]

      12:31:02,086 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90) [jboss-as-web-7.1.1.Final.jar!/:7.1.1.Final]

      12:31:02,089 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:31:02,096 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:31:02,098 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_79]

      12:31:02,101 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_79]

      12:31:02,103 INFO  [stdout] (MSC service thread 1-6)    at java.lang.Thread.run(Thread.java:745) [na:1.7.0_79]

      12:31:02,104 INFO  [stdout] (MSC service thread 1-6) Caused by: virtuoso.jdbc4.VirtuosoException: Connection failed: Connection timed out: connect

      12:31:02,113 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:31:02,116 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:31:02,118 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.<init>(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:31:02,120 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.Driver.connect(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:31:02,128 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:571) ~[na:1.7.0_79]

      12:31:02,130 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:215) ~[na:1.7.0_79]

      12:31:02,132 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.obtainRawInternalConnection(BoneCP.java:256) ~[bonecp-0.7.1.RELEASE.jar:0.7.1.RELEASE]

      12:31:02,135 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.<init>(BoneCP.java:305) ~[bonecp-0.7.1.RELEASE.jar:0.7.1.RELEASE]

      12:31:02,143 INFO  [stdout] (MSC service thread 1-6)    ... 17 common frames omitted

      12:31:02,145 INFO  [stdout] (MSC service thread 1-6) [LSM-S] INFO  o.openiot.lsm.manager.SensorManager - insert triples into graph http://lsm.deri.ie/OpenIoT/OAuth#

      12:31:02,149 INFO  [stdout] (MSC service thread 1-6) [LSM-S] WARN  o.openiot.lsm.manager.SensorManager - Fail to insert triples into graph http://lsm.deri.ie/OpenIoT/OAuth#

      12:31:02,158 INFO  [stdout] (MSC service thread 1-6) java.lang.NullPointerException: null

      12:31:02,160 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.manager.SensorManager.insertTriplesToGraph(SensorManager.java:122) ~[classes:na]

      12:31:02,163 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.OauthServletHelper.feedToServer(OauthServletHelper.java:41) [classes:na]

      12:31:02,170 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.add(SecurityInitializer.java:394) [classes:na]

      12:31:02,174 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.addPermission(SecurityInitializer.java:378) [classes:na]

      12:31:02,177 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.generateAuthorizationData(SecurityInitializer.java:188) [classes:na]

      12:31:02,184 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.initialize(SecurityInitializer.java:92) [classes:na]

      12:31:02,186 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.init(SecurityInitializer.java:87) [classes:na]

      12:31:02,188 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.ContextListener.contextInitialized(ContextListener.java:34) [classes:na]

      12:31:02,191 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392) [jbossweb-7.0.13.Final.jar!/:na]

      12:31:02,198 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850) [jbossweb-7.0.13.Final.jar!/:na]

      12:31:02,200 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90) [jboss-as-web-7.1.1.Final.jar!/:7.1.1.Final]

      12:31:02,202 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:31:02,205 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:31:02,214 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_79]

      12:31:02,216 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_79]

      12:31:02,219 INFO  [stdout] (MSC service thread 1-6)    at java.lang.Thread.run(Thread.java:745) [na:1.7.0_79]

      12:31:02,221 INFO  [stdout] (MSC service thread 1-6) [LSM-S] INFO  o.o.lsm.pooling.ConnectionManager - Loading property file

      12:31:02,224 INFO  [stdout] (MSC service thread 1-6) [LSM-S] INFO  o.o.lsm.pooling.ConnectionManager - loading database server driver virtuoso.jdbc4.Driver

      12:31:23,267 INFO  [stdout] (MSC service thread 1-6) [LSM-S] ERROR o.o.lsm.pooling.ConnectionManager - Error making pool:

      12:31:23,269 INFO  [stdout] (MSC service thread 1-6) java.sql.SQLException: Unable to open a test connection to the given database. JDBC url = jdbc:virtuoso://lsm.deri.ie:1111/log_enable=2, username = <database username>. Terminating connection pool. Original Exception: ------

      12:31:23,278 INFO  [stdout] (MSC service thread 1-6) virtuoso.jdbc4.VirtuosoException: Connection failed: Connection timed out: connect

      12:31:23,279 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source)

      12:31:23,281 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source)

      12:31:23,282 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.<init>(Unknown Source)

      12:31:23,290 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.Driver.connect(Unknown Source)

      12:31:23,294 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:571)

      12:31:23,296 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:215)

      12:31:23,297 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.obtainRawInternalConnection(BoneCP.java:256)

      12:31:23,303 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.<init>(BoneCP.java:305)

      12:31:23,307 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.pooling.ConnectionManager.init(ConnectionManager.java:75)

      12:31:23,309 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.manager.SensorManager.<init>(SensorManager.java:71)

      12:31:23,311 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.OauthServletHelper.feedToServer(OauthServletHelper.java:18)

      12:31:23,317 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.add(SecurityInitializer.java:394)

      12:31:23,320 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.addPermission(SecurityInitializer.java:378)

      12:31:23,325 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.generateAuthorizationData(SecurityInitializer.java:188)

      12:31:23,332 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.initialize(SecurityInitializer.java:92)

      12:31:23,334 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.init(SecurityInitializer.java:87)

      12:31:23,336 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.ContextListener.contextInitialized(ContextListener.java:34)

      12:31:23,337 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392)

      12:31:23,341 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850)

      12:31:23,349 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90)

      12:31:23,351 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)

      12:31:23,353 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)

      12:31:23,356 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)

      12:31:23,364 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

      12:31:23,366 INFO  [stdout] (MSC service thread 1-6)    at java.lang.Thread.run(Thread.java:745)

      12:31:23,367 INFO  [stdout] (MSC service thread 1-6) ------

      12:31:23,369 INFO  [stdout] (MSC service thread 1-6)

      12:31:23,371 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.<init>(BoneCP.java:312) ~[bonecp-0.7.1.RELEASE.jar:0.7.1.RELEASE]

      12:31:23,383 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.pooling.ConnectionManager.init(ConnectionManager.java:75) ~[classes:na]

      12:31:23,386 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.manager.SensorManager.<init>(SensorManager.java:71) [classes:na]

      12:31:23,388 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.OauthServletHelper.feedToServer(OauthServletHelper.java:18) [classes:na]

      12:31:23,391 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.add(SecurityInitializer.java:394) [classes:na]

      12:31:23,398 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.addPermission(SecurityInitializer.java:378) [classes:na]

      12:31:23,400 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.generateAuthorizationData(SecurityInitializer.java:188) [classes:na]

      12:31:23,402 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.initialize(SecurityInitializer.java:92) [classes:na]

      12:31:23,404 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.init(SecurityInitializer.java:87) [classes:na]

      12:31:23,414 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.ContextListener.contextInitialized(ContextListener.java:34) [classes:na]

      12:31:23,416 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392) [jbossweb-7.0.13.Final.jar!/:na]

      12:31:23,419 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850) [jbossweb-7.0.13.Final.jar!/:na]

      12:31:23,421 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90) [jboss-as-web-7.1.1.Final.jar!/:7.1.1.Final]

      12:31:23,430 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:31:23,433 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:31:23,435 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_79]

      12:31:23,438 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_79]

      12:31:23,448 INFO  [stdout] (MSC service thread 1-6)    at java.lang.Thread.run(Thread.java:745) [na:1.7.0_79]

      12:31:23,450 INFO  [stdout] (MSC service thread 1-6) Caused by: virtuoso.jdbc4.VirtuosoException: Connection failed: Connection timed out: connect

      12:31:23,453 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:31:23,455 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:31:23,464 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.<init>(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:31:23,466 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.Driver.connect(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:31:23,468 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:571) ~[na:1.7.0_79]

      12:31:23,469 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:215) ~[na:1.7.0_79]

      12:31:23,481 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.obtainRawInternalConnection(BoneCP.java:256) ~[bonecp-0.7.1.RELEASE.jar:0.7.1.RELEASE]

      12:31:23,484 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.<init>(BoneCP.java:305) ~[bonecp-0.7.1.RELEASE.jar:0.7.1.RELEASE]

      12:31:23,486 INFO  [stdout] (MSC service thread 1-6)    ... 17 common frames omitted

      12:31:23,508 INFO  [stdout] (MSC service thread 1-6) [LSM-S] INFO  o.openiot.lsm.manager.SensorManager - insert triples into graph http://lsm.deri.ie/OpenIoT/OAuth#

      12:31:23,513 INFO  [stdout] (MSC service thread 1-6) [LSM-S] WARN  o.openiot.lsm.manager.SensorManager - Fail to insert triples into graph http://lsm.deri.ie/OpenIoT/OAuth#

      12:31:23,515 INFO  [stdout] (MSC service thread 1-6) java.lang.NullPointerException: null

      12:31:23,517 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.manager.SensorManager.insertTriplesToGraph(SensorManager.java:122) ~[classes:na]

      12:31:23,519 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.OauthServletHelper.feedToServer(OauthServletHelper.java:41) [classes:na]

      12:31:23,527 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.add(SecurityInitializer.java:394) [classes:na]

      12:31:23,529 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.addPermission(SecurityInitializer.java:378) [classes:na]

      12:31:23,531 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.generateAuthorizationData(SecurityInitializer.java:188) [classes:na]

      12:31:23,532 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.initialize(SecurityInitializer.java:92) [classes:na]

      12:31:23,534 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.init(SecurityInitializer.java:87) [classes:na]

      12:31:23,542 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.ContextListener.contextInitialized(ContextListener.java:34) [classes:na]

      12:31:23,543 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392) [jbossweb-7.0.13.Final.jar!/:na]

      12:31:23,546 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850) [jbossweb-7.0.13.Final.jar!/:na]

      12:31:23,548 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90) [jboss-as-web-7.1.1.Final.jar!/:7.1.1.Final]

      12:31:23,550 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:31:23,558 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:31:23,560 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_79]

      12:31:23,562 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_79]

      12:31:23,563 INFO  [stdout] (MSC service thread 1-6)    at java.lang.Thread.run(Thread.java:745) [na:1.7.0_79]

      12:31:23,567 INFO  [stdout] (MSC service thread 1-6) [LSM-S] INFO  o.o.lsm.pooling.ConnectionManager - Loading property file

      12:31:23,573 INFO  [stdout] (MSC service thread 1-6) [LSM-S] INFO  o.o.lsm.pooling.ConnectionManager - loading database server driver virtuoso.jdbc4.Driver

      12:31:44,596 INFO  [stdout] (MSC service thread 1-6) [LSM-S] ERROR o.o.lsm.pooling.ConnectionManager - Error making pool:

      12:31:44,596 INFO  [stdout] (MSC service thread 1-6) java.sql.SQLException: Unable to open a test connection to the given database. JDBC url = jdbc:virtuoso://lsm.deri.ie:1111/log_enable=2, username = <database username>. Terminating connection pool. Original Exception: ------

      12:31:44,596 INFO  [stdout] (MSC service thread 1-6) virtuoso.jdbc4.VirtuosoException: Connection failed: Connection timed out: connect

      12:31:44,596 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source)

      12:31:44,596 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source)

      12:31:44,596 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.<init>(Unknown Source)

      12:31:44,611 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.Driver.connect(Unknown Source)

      12:31:44,616 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:571)

      12:31:44,618 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:215)

      12:31:44,620 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.obtainRawInternalConnection(BoneCP.java:256)

      12:31:44,622 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.<init>(BoneCP.java:305)

      12:31:44,622 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.pooling.ConnectionManager.init(ConnectionManager.java:75)

      12:31:44,622 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.manager.SensorManager.<init>(SensorManager.java:71)

      12:31:44,622 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.OauthServletHelper.feedToServer(OauthServletHelper.java:18)

      12:31:44,622 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.add(SecurityInitializer.java:394)

      12:31:44,622 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.addPermission(SecurityInitializer.java:378)

      12:31:44,622 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.generateAuthorizationData(SecurityInitializer.java:188)

      12:31:44,622 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.initialize(SecurityInitializer.java:92)

      12:31:44,638 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.init(SecurityInitializer.java:87)

      12:31:44,638 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.ContextListener.contextInitialized(ContextListener.java:34)

      12:31:44,638 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392)

      12:31:44,638 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850)

      12:31:44,638 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90)

      12:31:44,638 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)

      12:31:44,653 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)

      12:31:44,653 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)

      12:31:44,653 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

      12:31:44,653 INFO  [stdout] (MSC service thread 1-6)    at java.lang.Thread.run(Thread.java:745)

      12:31:44,653 INFO  [stdout] (MSC service thread 1-6) ------

      12:31:44,653 INFO  [stdout] (MSC service thread 1-6)

      12:31:44,653 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.<init>(BoneCP.java:312) ~[bonecp-0.7.1.RELEASE.jar:0.7.1.RELEASE]

      12:31:44,669 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.pooling.ConnectionManager.init(ConnectionManager.java:75) ~[classes:na]

      12:31:44,669 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.manager.SensorManager.<init>(SensorManager.java:71) [classes:na]

      12:31:44,669 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.OauthServletHelper.feedToServer(OauthServletHelper.java:18) [classes:na]

      12:31:44,669 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.add(SecurityInitializer.java:394) [classes:na]

      12:31:44,669 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.addPermission(SecurityInitializer.java:378) [classes:na]

      12:31:44,669 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.generateAuthorizationData(SecurityInitializer.java:188) [classes:na]

      12:31:44,669 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.initialize(SecurityInitializer.java:92) [classes:na]

      12:31:44,685 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.init(SecurityInitializer.java:87) [classes:na]

      12:31:44,685 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.ContextListener.contextInitialized(ContextListener.java:34) [classes:na]

      12:31:44,685 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392) [jbossweb-7.0.13.Final.jar!/:na]

      12:31:44,685 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850) [jbossweb-7.0.13.Final.jar!/:na]

      12:31:44,685 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90) [jboss-as-web-7.1.1.Final.jar!/:7.1.1.Final]

      12:31:44,700 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:31:44,700 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:31:44,700 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_79]

      12:31:44,700 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_79]

      12:31:44,700 INFO  [stdout] (MSC service thread 1-6)    at java.lang.Thread.run(Thread.java:745) [na:1.7.0_79]

      12:31:44,700 INFO  [stdout] (MSC service thread 1-6) Caused by: virtuoso.jdbc4.VirtuosoException: Connection failed: Connection timed out: connect

      12:31:44,721 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:31:44,723 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:31:44,723 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.<init>(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:31:44,723 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.Driver.connect(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:31:44,723 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:571) ~[na:1.7.0_79]

      12:31:44,723 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:215) ~[na:1.7.0_79]

      12:31:44,723 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.obtainRawInternalConnection(BoneCP.java:256) ~[bonecp-0.7.1.RELEASE.jar:0.7.1.RELEASE]

      12:31:44,723 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.<init>(BoneCP.java:305) ~[bonecp-0.7.1.RELEASE.jar:0.7.1.RELEASE]

      12:31:44,723 INFO  [stdout] (MSC service thread 1-6)    ... 17 common frames omitted

      12:31:44,723 INFO  [stdout] (MSC service thread 1-6) [LSM-S] INFO  o.openiot.lsm.manager.SensorManager - insert triples into graph http://lsm.deri.ie/OpenIoT/OAuth#

      12:31:44,738 INFO  [stdout] (MSC service thread 1-6) [LSM-S] WARN  o.openiot.lsm.manager.SensorManager - Fail to insert triples into graph http://lsm.deri.ie/OpenIoT/OAuth#

      12:31:44,738 INFO  [stdout] (MSC service thread 1-6) java.lang.NullPointerException: null

      12:31:44,738 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.manager.SensorManager.insertTriplesToGraph(SensorManager.java:122) ~[classes:na]

      12:31:44,738 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.OauthServletHelper.feedToServer(OauthServletHelper.java:41) [classes:na]

      12:31:44,738 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.add(SecurityInitializer.java:394) [classes:na]

      12:31:44,754 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.addPermission(SecurityInitializer.java:378) [classes:na]

      12:31:44,754 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.generateAuthorizationData(SecurityInitializer.java:188) [classes:na]

      12:31:44,754 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.initialize(SecurityInitializer.java:92) [classes:na]

      12:31:44,754 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.init(SecurityInitializer.java:87) [classes:na]

      12:31:44,754 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.ContextListener.contextInitialized(ContextListener.java:34) [classes:na]

      12:31:44,754 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392) [jbossweb-7.0.13.Final.jar!/:na]

      12:31:44,770 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850) [jbossweb-7.0.13.Final.jar!/:na]

      12:31:44,770 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90) [jboss-as-web-7.1.1.Final.jar!/:7.1.1.Final]

      12:31:44,770 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:31:44,770 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:31:44,770 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_79]

      12:31:44,785 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_79]

      12:31:44,785 INFO  [stdout] (MSC service thread 1-6)    at java.lang.Thread.run(Thread.java:745) [na:1.7.0_79]

      12:31:44,785 INFO  [stdout] (MSC service thread 1-6) [LSM-S] INFO  o.o.lsm.pooling.ConnectionManager - Loading property file

      12:31:44,785 INFO  [stdout] (MSC service thread 1-6) [LSM-S] INFO  o.o.lsm.pooling.ConnectionManager - loading database server driver virtuoso.jdbc4.Driver

      12:32:05,833 INFO  [stdout] (MSC service thread 1-6) [LSM-S] ERROR o.o.lsm.pooling.ConnectionManager - Error making pool:

      12:32:05,833 INFO  [stdout] (MSC service thread 1-6) java.sql.SQLException: Unable to open a test connection to the given database. JDBC url = jdbc:virtuoso://lsm.deri.ie:1111/log_enable=2, username = <database username>. Terminating connection pool. Original Exception: ------

      12:32:05,833 INFO  [stdout] (MSC service thread 1-6) virtuoso.jdbc4.VirtuosoException: Connection failed: Connection timed out: connect

      12:32:05,833 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source)

      12:32:05,833 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source)

      12:32:05,833 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.<init>(Unknown Source)

      12:32:05,848 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.Driver.connect(Unknown Source)

      12:32:05,848 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:571)

      12:32:05,848 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:215)

      12:32:05,848 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.obtainRawInternalConnection(BoneCP.java:256)

      12:32:05,848 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.<init>(BoneCP.java:305)

      12:32:05,848 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.pooling.ConnectionManager.init(ConnectionManager.java:75)

      12:32:05,848 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.manager.SensorManager.<init>(SensorManager.java:71)

      12:32:05,848 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.OauthServletHelper.feedToServer(OauthServletHelper.java:18)

      12:32:05,864 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.add(SecurityInitializer.java:394)

      12:32:05,864 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.addPermission(SecurityInitializer.java:378)

      12:32:05,864 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.generateAuthorizationData(SecurityInitializer.java:188)

      12:32:05,864 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.initialize(SecurityInitializer.java:92)

      12:32:05,864 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.init(SecurityInitializer.java:87)

      12:32:05,864 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.ContextListener.contextInitialized(ContextListener.java:34)

      12:32:05,884 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392)

      12:32:05,886 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850)

      12:32:05,886 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90)

      12:32:05,886 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)

      12:32:05,886 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)

      12:32:05,886 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)

      12:32:05,886 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

      12:32:05,886 INFO  [stdout] (MSC service thread 1-6)    at java.lang.Thread.run(Thread.java:745)

      12:32:05,886 INFO  [stdout] (MSC service thread 1-6) ------

      12:32:05,886 INFO  [stdout] (MSC service thread 1-6)

      12:32:05,886 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.<init>(BoneCP.java:312) ~[bonecp-0.7.1.RELEASE.jar:0.7.1.RELEASE]

      12:32:05,886 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.pooling.ConnectionManager.init(ConnectionManager.java:75) ~[classes:na]

      12:32:05,901 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.manager.SensorManager.<init>(SensorManager.java:71) [classes:na]

      12:32:05,901 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.OauthServletHelper.feedToServer(OauthServletHelper.java:18) [classes:na]

      12:32:05,901 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.add(SecurityInitializer.java:394) [classes:na]

      12:32:05,901 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.addPermission(SecurityInitializer.java:378) [classes:na]

      12:32:05,901 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.generateAuthorizationData(SecurityInitializer.java:188) [classes:na]

      12:32:05,917 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.initialize(SecurityInitializer.java:92) [classes:na]

      12:32:05,917 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.init(SecurityInitializer.java:87) [classes:na]

      12:32:05,917 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.ContextListener.contextInitialized(ContextListener.java:34) [classes:na]

      12:32:05,917 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392) [jbossweb-7.0.13.Final.jar!/:na]

      12:32:05,917 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850) [jbossweb-7.0.13.Final.jar!/:na]

      12:32:05,917 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90) [jboss-as-web-7.1.1.Final.jar!/:7.1.1.Final]

      12:32:05,933 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:32:05,933 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:32:05,933 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_79]

      12:32:05,933 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_79]

      12:32:05,933 INFO  [stdout] (MSC service thread 1-6)    at java.lang.Thread.run(Thread.java:745) [na:1.7.0_79]

      12:32:05,933 INFO  [stdout] (MSC service thread 1-6) Caused by: virtuoso.jdbc4.VirtuosoException: Connection failed: Connection timed out: connect

      12:32:05,933 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:32:05,948 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:32:05,948 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.<init>(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:32:05,948 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.Driver.connect(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:32:05,948 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:571) ~[na:1.7.0_79]

      12:32:05,948 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:215) ~[na:1.7.0_79]

      12:32:05,948 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.obtainRawInternalConnection(BoneCP.java:256) ~[bonecp-0.7.1.RELEASE.jar:0.7.1.RELEASE]

      12:32:05,964 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.<init>(BoneCP.java:305) ~[bonecp-0.7.1.RELEASE.jar:0.7.1.RELEASE]

      12:32:05,964 INFO  [stdout] (MSC service thread 1-6)    ... 17 common frames omitted

      12:32:05,964 INFO  [stdout] (MSC service thread 1-6) [LSM-S] INFO  o.openiot.lsm.manager.SensorManager - insert triples into graph http://lsm.deri.ie/OpenIoT/OAuth#

      12:32:05,964 INFO  [stdout] (MSC service thread 1-6) [LSM-S] WARN  o.openiot.lsm.manager.SensorManager - Fail to insert triples into graph http://lsm.deri.ie/OpenIoT/OAuth#

      12:32:05,964 INFO  [stdout] (MSC service thread 1-6) java.lang.NullPointerException: null

      12:32:05,964 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.manager.SensorManager.insertTriplesToGraph(SensorManager.java:122) ~[classes:na]

      12:32:05,984 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.OauthServletHelper.feedToServer(OauthServletHelper.java:41) [classes:na]

      12:32:05,985 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.add(SecurityInitializer.java:394) [classes:na]

      12:32:05,985 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.addPermission(SecurityInitializer.java:378) [classes:na]

      12:32:05,985 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.generateAuthorizationData(SecurityInitializer.java:188) [classes:na]

      12:32:05,985 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.initialize(SecurityInitializer.java:92) [classes:na]

      12:32:05,985 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.init(SecurityInitializer.java:87) [classes:na]

      12:32:05,985 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.ContextListener.contextInitialized(ContextListener.java:34) [classes:na]

      12:32:05,985 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392) [jbossweb-7.0.13.Final.jar!/:na]

      12:32:05,985 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850) [jbossweb-7.0.13.Final.jar!/:na]

      12:32:06,001 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90) [jboss-as-web-7.1.1.Final.jar!/:7.1.1.Final]

      12:32:06,001 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:32:06,001 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:32:06,001 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_79]

      12:32:06,001 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_79]

      12:32:06,017 INFO  [stdout] (MSC service thread 1-6)    at java.lang.Thread.run(Thread.java:745) [na:1.7.0_79]

      12:32:06,017 INFO  [stdout] (MSC service thread 1-6) [LSM-S] INFO  o.o.lsm.pooling.ConnectionManager - Loading property file

      12:32:06,017 INFO  [stdout] (MSC service thread 1-6) [LSM-S] INFO  o.o.lsm.pooling.ConnectionManager - loading database server driver virtuoso.jdbc4.Driver

      12:32:27,061 INFO  [stdout] (MSC service thread 1-6) [LSM-S] ERROR o.o.lsm.pooling.ConnectionManager - Error making pool:

      12:32:27,062 INFO  [stdout] (MSC service thread 1-6) java.sql.SQLException: Unable to open a test connection to the given database. JDBC url = jdbc:virtuoso://lsm.deri.ie:1111/log_enable=2, username = <database username>. Terminating connection pool. Original Exception: ------

      12:32:27,069 INFO  [stdout] (MSC service thread 1-6) virtuoso.jdbc4.VirtuosoException: Connection failed: Connection timed out: connect

      12:32:27,071 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source)

      12:32:27,073 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source)

      12:32:27,081 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.<init>(Unknown Source)

      12:32:27,082 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.Driver.connect(Unknown Source)

      12:32:27,084 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:571)

      12:32:27,085 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:215)

      12:32:27,088 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.obtainRawInternalConnection(BoneCP.java:256)

      12:32:27,098 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.<init>(BoneCP.java:305)

      12:32:27,099 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.pooling.ConnectionManager.init(ConnectionManager.java:75)

      12:32:27,101 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.manager.SensorManager.<init>(SensorManager.java:71)

      12:32:27,103 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.OauthServletHelper.feedToServer(OauthServletHelper.java:18)

      12:32:27,105 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.add(SecurityInitializer.java:394)

      12:32:27,107 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.addPermission(SecurityInitializer.java:378)

      12:32:27,118 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.generateAuthorizationData(SecurityInitializer.java:188)

      12:32:27,120 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.initialize(SecurityInitializer.java:92)

      12:32:27,125 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.init(SecurityInitializer.java:87)

      12:32:27,132 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.ContextListener.contextInitialized(ContextListener.java:34)

      12:32:27,134 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392)

      12:32:27,136 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850)

      12:32:27,138 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90)

      12:32:27,148 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)

      12:32:27,151 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)

      12:32:27,153 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)

      12:32:27,155 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

      12:32:27,164 INFO  [stdout] (MSC service thread 1-6)    at java.lang.Thread.run(Thread.java:745)

      12:32:27,166 INFO  [stdout] (MSC service thread 1-6) ------

      12:32:27,167 INFO  [stdout] (MSC service thread 1-6)

      12:32:27,168 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.<init>(BoneCP.java:312) ~[bonecp-0.7.1.RELEASE.jar:0.7.1.RELEASE]

      12:32:27,170 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.pooling.ConnectionManager.init(ConnectionManager.java:75) ~[classes:na]

      12:32:27,172 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.manager.SensorManager.<init>(SensorManager.java:71) [classes:na]

      12:32:27,181 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.OauthServletHelper.feedToServer(OauthServletHelper.java:18) [classes:na]

      12:32:27,183 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.add(SecurityInitializer.java:394) [classes:na]

      12:32:27,185 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.addPermission(SecurityInitializer.java:378) [classes:na]

      12:32:27,186 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.generateAuthorizationData(SecurityInitializer.java:188) [classes:na]

      12:32:27,188 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.initialize(SecurityInitializer.java:92) [classes:na]

      12:32:27,196 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.init(SecurityInitializer.java:87) [classes:na]

      12:32:27,198 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.ContextListener.contextInitialized(ContextListener.java:34) [classes:na]

      12:32:27,200 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392) [jbossweb-7.0.13.Final.jar!/:na]

      12:32:27,202 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850) [jbossweb-7.0.13.Final.jar!/:na]

      12:32:27,204 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90) [jboss-as-web-7.1.1.Final.jar!/:7.1.1.Final]

      12:32:27,211 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:32:27,214 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:32:27,216 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_79]

      12:32:27,218 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_79]

      12:32:27,226 INFO  [stdout] (MSC service thread 1-6)    at java.lang.Thread.run(Thread.java:745) [na:1.7.0_79]

      12:32:27,228 INFO  [stdout] (MSC service thread 1-6) Caused by: virtuoso.jdbc4.VirtuosoException: Connection failed: Connection timed out: connect

      12:32:27,229 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:32:27,231 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:32:27,234 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.<init>(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:32:27,239 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.Driver.connect(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:32:27,241 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:571) ~[na:1.7.0_79]

      12:32:27,244 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:215) ~[na:1.7.0_79]

      12:32:27,246 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.obtainRawInternalConnection(BoneCP.java:256) ~[bonecp-0.7.1.RELEASE.jar:0.7.1.RELEASE]

      12:32:27,248 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.<init>(BoneCP.java:305) ~[bonecp-0.7.1.RELEASE.jar:0.7.1.RELEASE]

      12:32:27,254 INFO  [stdout] (MSC service thread 1-6)    ... 17 common frames omitted

      12:32:27,255 INFO  [stdout] (MSC service thread 1-6) [LSM-S] INFO  o.openiot.lsm.manager.SensorManager - insert triples into graph http://lsm.deri.ie/OpenIoT/OAuth#

      12:32:27,271 INFO  [stdout] (MSC service thread 1-6) [LSM-S] WARN  o.openiot.lsm.manager.SensorManager - Fail to insert triples into graph http://lsm.deri.ie/OpenIoT/OAuth#

      12:32:27,272 INFO  [stdout] (MSC service thread 1-6) java.lang.NullPointerException: null

      12:32:27,278 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.manager.SensorManager.insertTriplesToGraph(SensorManager.java:122) ~[classes:na]

      12:32:27,280 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.OauthServletHelper.feedToServer(OauthServletHelper.java:41) [classes:na]

      12:32:27,281 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.add(SecurityInitializer.java:394) [classes:na]

      12:32:27,283 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.addPermission(SecurityInitializer.java:378) [classes:na]

      12:32:27,285 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.generateAuthorizationData(SecurityInitializer.java:188) [classes:na]

      12:32:27,287 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.initialize(SecurityInitializer.java:92) [classes:na]

      12:32:27,294 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.init(SecurityInitializer.java:87) [classes:na]

      12:32:27,296 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.ContextListener.contextInitialized(ContextListener.java:34) [classes:na]

      12:32:27,298 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392) [jbossweb-7.0.13.Final.jar!/:na]

      12:32:27,300 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850) [jbossweb-7.0.13.Final.jar!/:na]

      12:32:27,302 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90) [jboss-as-web-7.1.1.Final.jar!/:7.1.1.Final]

      12:32:27,310 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:32:27,312 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:32:27,314 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_79]

      12:32:27,317 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_79]

      12:32:27,324 INFO  [stdout] (MSC service thread 1-6)    at java.lang.Thread.run(Thread.java:745) [na:1.7.0_79]

      12:32:27,328 INFO  [stdout] (MSC service thread 1-6) [LSM-S] INFO  o.o.lsm.pooling.ConnectionManager - Loading property file

      12:32:27,330 INFO  [stdout] (MSC service thread 1-6) [LSM-S] INFO  o.o.lsm.pooling.ConnectionManager - loading database server driver virtuoso.jdbc4.Driver

      12:32:48,372 INFO  [stdout] (MSC service thread 1-6) [LSM-S] ERROR o.o.lsm.pooling.ConnectionManager - Error making pool:

      12:32:48,374 INFO  [stdout] (MSC service thread 1-6) java.sql.SQLException: Unable to open a test connection to the given database. JDBC url = jdbc:virtuoso://lsm.deri.ie:1111/log_enable=2, username = <database username>. Terminating connection pool. Original Exception: ------

      12:32:48,377 INFO  [stdout] (MSC service thread 1-6) virtuoso.jdbc4.VirtuosoException: Connection failed: Connection timed out: connect

      12:32:48,377 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source)

      12:32:48,377 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source)

      12:32:48,377 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.<init>(Unknown Source)

      12:32:48,377 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.Driver.connect(Unknown Source)

      12:32:48,377 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:571)

      12:32:48,393 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:215)

      12:32:48,393 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.obtainRawInternalConnection(BoneCP.java:256)

      12:32:48,393 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.<init>(BoneCP.java:305)

      12:32:48,393 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.pooling.ConnectionManager.init(ConnectionManager.java:75)

      12:32:48,393 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.manager.SensorManager.<init>(SensorManager.java:71)

      12:32:48,393 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.OauthServletHelper.feedToServer(OauthServletHelper.java:18)

      12:32:48,408 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.add(SecurityInitializer.java:394)

      12:32:48,408 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.addPermission(SecurityInitializer.java:378)

      12:32:48,408 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.generateAuthorizationData(SecurityInitializer.java:188)

      12:32:48,408 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.initialize(SecurityInitializer.java:92)

      12:32:48,408 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.init(SecurityInitializer.java:87)

      12:32:48,408 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.ContextListener.contextInitialized(ContextListener.java:34)

      12:32:48,408 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392)

      12:32:48,408 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850)

      12:32:48,424 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90)

      12:32:48,424 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)

      12:32:48,424 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)

      12:32:48,424 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)

      12:32:48,440 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

      12:32:48,440 INFO  [stdout] (MSC service thread 1-6)    at java.lang.Thread.run(Thread.java:745)

      12:32:48,440 INFO  [stdout] (MSC service thread 1-6) ------

      12:32:48,440 INFO  [stdout] (MSC service thread 1-6)

      12:32:48,440 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.<init>(BoneCP.java:312) ~[bonecp-0.7.1.RELEASE.jar:0.7.1.RELEASE]

      12:32:48,440 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.pooling.ConnectionManager.init(ConnectionManager.java:75) ~[classes:na]

      12:32:48,440 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.manager.SensorManager.<init>(SensorManager.java:71) [classes:na]

      12:32:48,440 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.OauthServletHelper.feedToServer(OauthServletHelper.java:18) [classes:na]

      12:32:48,440 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.add(SecurityInitializer.java:394) [classes:na]

      12:32:48,455 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.addPermission(SecurityInitializer.java:378) [classes:na]

      12:32:48,455 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.generateAuthorizationData(SecurityInitializer.java:188) [classes:na]

      12:32:48,455 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.initialize(SecurityInitializer.java:92) [classes:na]

      12:32:48,455 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.init(SecurityInitializer.java:87) [classes:na]

      12:32:48,472 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.ContextListener.contextInitialized(ContextListener.java:34) [classes:na]

      12:32:48,475 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392) [jbossweb-7.0.13.Final.jar!/:na]

      12:32:48,477 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850) [jbossweb-7.0.13.Final.jar!/:na]

      12:32:48,477 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90) [jboss-as-web-7.1.1.Final.jar!/:7.1.1.Final]

      12:32:48,477 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:32:48,477 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:32:48,477 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_79]

      12:32:48,477 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_79]

      12:32:48,477 INFO  [stdout] (MSC service thread 1-6)    at java.lang.Thread.run(Thread.java:745) [na:1.7.0_79]

      12:32:48,493 INFO  [stdout] (MSC service thread 1-6) Caused by: virtuoso.jdbc4.VirtuosoException: Connection failed: Connection timed out: connect

      12:32:48,493 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:32:48,493 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:32:48,493 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.<init>(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:32:48,509 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.Driver.connect(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:32:48,509 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:571) ~[na:1.7.0_79]

      12:32:48,509 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:215) ~[na:1.7.0_79]

      12:32:48,509 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.obtainRawInternalConnection(BoneCP.java:256) ~[bonecp-0.7.1.RELEASE.jar:0.7.1.RELEASE]

      12:32:48,509 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.<init>(BoneCP.java:305) ~[bonecp-0.7.1.RELEASE.jar:0.7.1.RELEASE]

      12:32:48,509 INFO  [stdout] (MSC service thread 1-6)    ... 17 common frames omitted

      12:32:48,509 INFO  [stdout] (MSC service thread 1-6) [LSM-S] INFO  o.openiot.lsm.manager.SensorManager - insert triples into graph http://lsm.deri.ie/OpenIoT/OAuth#

      12:32:48,509 INFO  [stdout] (MSC service thread 1-6) [LSM-S] WARN  o.openiot.lsm.manager.SensorManager - Fail to insert triples into graph http://lsm.deri.ie/OpenIoT/OAuth#

      12:32:48,524 INFO  [stdout] (MSC service thread 1-6) java.lang.NullPointerException: null

      12:32:48,524 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.manager.SensorManager.insertTriplesToGraph(SensorManager.java:122) ~[classes:na]

      12:32:48,524 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.OauthServletHelper.feedToServer(OauthServletHelper.java:41) [classes:na]

      12:32:48,524 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.add(SecurityInitializer.java:394) [classes:na]

      12:32:48,524 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.addPermission(SecurityInitializer.java:378) [classes:na]

      12:32:48,524 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.generateAuthorizationData(SecurityInitializer.java:188) [classes:na]

      12:32:48,540 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.initialize(SecurityInitializer.java:92) [classes:na]

      12:32:48,540 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.init(SecurityInitializer.java:87) [classes:na]

      12:32:48,540 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.ContextListener.contextInitialized(ContextListener.java:34) [classes:na]

      12:32:48,540 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392) [jbossweb-7.0.13.Final.jar!/:na]

      12:32:48,540 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850) [jbossweb-7.0.13.Final.jar!/:na]

      12:32:48,540 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90) [jboss-as-web-7.1.1.Final.jar!/:7.1.1.Final]

      12:32:48,556 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:32:48,556 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:32:48,556 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_79]

      12:32:48,556 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_79]

      12:32:48,556 INFO  [stdout] (MSC service thread 1-6)    at java.lang.Thread.run(Thread.java:745) [na:1.7.0_79]

      12:32:48,571 INFO  [stdout] (MSC service thread 1-6) [LSM-S] INFO  o.o.lsm.pooling.ConnectionManager - Loading property file

      12:32:48,578 INFO  [stdout] (MSC service thread 1-6) [LSM-S] INFO  o.o.lsm.pooling.ConnectionManager - loading database server driver virtuoso.jdbc4.Driver

      12:33:09,606 INFO  [stdout] (MSC service thread 1-6) [LSM-S] ERROR o.o.lsm.pooling.ConnectionManager - Error making pool:

      12:33:09,608 INFO  [stdout] (MSC service thread 1-6) java.sql.SQLException: Unable to open a test connection to the given database. JDBC url = jdbc:virtuoso://lsm.deri.ie:1111/log_enable=2, username = <database username>. Terminating connection pool. Original Exception: ------

      12:33:09,618 INFO  [stdout] (MSC service thread 1-6) virtuoso.jdbc4.VirtuosoException: Connection failed: Connection timed out: connect

      12:33:09,620 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source)

      12:33:09,621 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source)

      12:33:09,624 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.<init>(Unknown Source)

      12:33:09,634 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.Driver.connect(Unknown Source)

      12:33:09,637 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:571)

      12:33:09,639 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:215)

      12:33:09,641 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.obtainRawInternalConnection(BoneCP.java:256)

      12:33:09,650 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.<init>(BoneCP.java:305)

      12:33:09,652 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.pooling.ConnectionManager.init(ConnectionManager.java:75)

      12:33:09,656 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.manager.SensorManager.<init>(SensorManager.java:71)

      12:33:09,658 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.OauthServletHelper.feedToServer(OauthServletHelper.java:18)

      12:33:09,667 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.add(SecurityInitializer.java:394)

      12:33:09,669 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.addPermission(SecurityInitializer.java:378)

      12:33:09,671 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.generateAuthorizationData(SecurityInitializer.java:188)

      12:33:09,682 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.initialize(SecurityInitializer.java:92)

      12:33:09,686 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.init(SecurityInitializer.java:87)

      12:33:09,688 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.ContextListener.contextInitialized(ContextListener.java:34)

      12:33:09,698 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392)

      12:33:09,700 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850)

      12:33:09,702 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90)

      12:33:09,704 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)

      12:33:09,715 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)

      12:33:09,718 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)

      12:33:09,720 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

      12:33:09,722 INFO  [stdout] (MSC service thread 1-6)    at java.lang.Thread.run(Thread.java:745)

      12:33:09,733 INFO  [stdout] (MSC service thread 1-6) ------

      12:33:09,735 INFO  [stdout] (MSC service thread 1-6)

      12:33:09,738 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.<init>(BoneCP.java:312) ~[bonecp-0.7.1.RELEASE.jar:0.7.1.RELEASE]

      12:33:09,748 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.pooling.ConnectionManager.init(ConnectionManager.java:75) ~[classes:na]

      12:33:09,751 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.manager.SensorManager.<init>(SensorManager.java:71) [classes:na]

      12:33:09,752 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.OauthServletHelper.feedToServer(OauthServletHelper.java:18) [classes:na]

      12:33:09,755 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.add(SecurityInitializer.java:394) [classes:na]

      12:33:09,766 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.addPermission(SecurityInitializer.java:378) [classes:na]

      12:33:09,768 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.generateAuthorizationData(SecurityInitializer.java:188) [classes:na]

      12:33:09,770 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.initialize(SecurityInitializer.java:92) [classes:na]

      12:33:09,773 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.init(SecurityInitializer.java:87) [classes:na]

      12:33:09,783 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.ContextListener.contextInitialized(ContextListener.java:34) [classes:na]

      12:33:09,786 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392) [jbossweb-7.0.13.Final.jar!/:na]

      12:33:09,789 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850) [jbossweb-7.0.13.Final.jar!/:na]

      12:33:09,801 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90) [jboss-as-web-7.1.1.Final.jar!/:7.1.1.Final]

      12:33:09,803 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:33:09,811 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:33:09,816 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_79]

      12:33:09,818 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_79]

      12:33:09,820 INFO  [stdout] (MSC service thread 1-6)    at java.lang.Thread.run(Thread.java:745) [na:1.7.0_79]

      12:33:09,822 INFO  [stdout] (MSC service thread 1-6) Caused by: virtuoso.jdbc4.VirtuosoException: Connection failed: Connection timed out: connect

      12:33:09,833 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:33:09,837 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:33:09,840 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.<init>(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:33:09,852 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.Driver.connect(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:33:09,856 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:571) ~[na:1.7.0_79]

      12:33:09,866 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:215) ~[na:1.7.0_79]

      12:33:09,867 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.obtainRawInternalConnection(BoneCP.java:256) ~[bonecp-0.7.1.RELEASE.jar:0.7.1.RELEASE]

      12:33:09,871 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.<init>(BoneCP.java:305) ~[bonecp-0.7.1.RELEASE.jar:0.7.1.RELEASE]

      12:33:09,875 INFO  [stdout] (MSC service thread 1-6)    ... 17 common frames omitted

      12:33:09,882 INFO  [stdout] (MSC service thread 1-6) [LSM-S] INFO  o.openiot.lsm.manager.SensorManager - insert triples into graph http://lsm.deri.ie/OpenIoT/OAuth#

      12:33:09,884 INFO  [stdout] (MSC service thread 1-6) [LSM-S] WARN  o.openiot.lsm.manager.SensorManager - Fail to insert triples into graph http://lsm.deri.ie/OpenIoT/OAuth#

      12:33:09,885 INFO  [stdout] (MSC service thread 1-6) java.lang.NullPointerException: null

      12:33:09,887 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.manager.SensorManager.insertTriplesToGraph(SensorManager.java:122) ~[classes:na]

      12:33:09,888 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.OauthServletHelper.feedToServer(OauthServletHelper.java:41) [classes:na]

      12:33:09,897 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.add(SecurityInitializer.java:394) [classes:na]

      12:33:09,898 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.addPermission(SecurityInitializer.java:378) [classes:na]

      12:33:09,900 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.generateAuthorizationData(SecurityInitializer.java:188) [classes:na]

      12:33:09,902 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.initialize(SecurityInitializer.java:92) [classes:na]

      12:33:09,913 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.init(SecurityInitializer.java:87) [classes:na]

      12:33:09,916 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.ContextListener.contextInitialized(ContextListener.java:34) [classes:na]

      12:33:09,925 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392) [jbossweb-7.0.13.Final.jar!/:na]

      12:33:09,928 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850) [jbossweb-7.0.13.Final.jar!/:na]

      12:33:09,930 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90) [jboss-as-web-7.1.1.Final.jar!/:7.1.1.Final]

      12:33:09,932 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:33:09,939 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:33:09,943 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_79]

      12:33:09,946 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_79]

      12:33:09,952 INFO  [stdout] (MSC service thread 1-6)    at java.lang.Thread.run(Thread.java:745) [na:1.7.0_79]

      12:33:09,955 INFO  [stdout] (MSC service thread 1-6) [LSM-S] INFO  o.o.lsm.pooling.ConnectionManager - Loading property file

      12:33:09,956 INFO  [stdout] (MSC service thread 1-6) [LSM-S] INFO  o.o.lsm.pooling.ConnectionManager - loading database server driver virtuoso.jdbc4.Driver

      12:33:30,976 INFO  [stdout] (MSC service thread 1-6) [LSM-S] ERROR o.o.lsm.pooling.ConnectionManager - Error making pool:

      12:33:30,977 INFO  [stdout] (MSC service thread 1-6) java.sql.SQLException: Unable to open a test connection to the given database. JDBC url = jdbc:virtuoso://lsm.deri.ie:1111/log_enable=2, username = <database username>. Terminating connection pool. Original Exception: ------

      12:33:30,984 INFO  [stdout] (MSC service thread 1-6) virtuoso.jdbc4.VirtuosoException: Connection failed: Connection timed out: connect

      12:33:30,986 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source)

      12:33:30,987 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source)

      12:33:30,988 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.<init>(Unknown Source)

      12:33:30,990 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.Driver.connect(Unknown Source)

      12:33:30,991 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:571)

      12:33:30,991 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:215)

      12:33:30,991 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.obtainRawInternalConnection(BoneCP.java:256)

      12:33:30,991 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.<init>(BoneCP.java:305)

      12:33:30,991 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.pooling.ConnectionManager.init(ConnectionManager.java:75)

      12:33:30,991 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.manager.SensorManager.<init>(SensorManager.java:71)

      12:33:30,991 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.OauthServletHelper.feedToServer(OauthServletHelper.java:18)

      12:33:30,991 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.add(SecurityInitializer.java:394)

      12:33:30,991 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.addPermission(SecurityInitializer.java:378)

      12:33:30,991 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.generateAuthorizationData(SecurityInitializer.java:188)

      12:33:30,991 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.initialize(SecurityInitializer.java:92)

      12:33:31,006 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.init(SecurityInitializer.java:87)

      12:33:31,006 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.ContextListener.contextInitialized(ContextListener.java:34)

      12:33:31,006 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392)

      12:33:31,006 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850)

      12:33:31,006 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90)

      12:33:31,022 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)

      12:33:31,022 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)

      12:33:31,022 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)

      12:33:31,022 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

      12:33:31,022 INFO  [stdout] (MSC service thread 1-6)    at java.lang.Thread.run(Thread.java:745)

      12:33:31,022 INFO  [stdout] (MSC service thread 1-6) ------

      12:33:31,022 INFO  [stdout] (MSC service thread 1-6)

      12:33:31,022 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.<init>(BoneCP.java:312) ~[bonecp-0.7.1.RELEASE.jar:0.7.1.RELEASE]

      12:33:31,022 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.pooling.ConnectionManager.init(ConnectionManager.java:75) ~[classes:na]

      12:33:31,037 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.manager.SensorManager.<init>(SensorManager.java:71) [classes:na]

      12:33:31,037 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.OauthServletHelper.feedToServer(OauthServletHelper.java:18) [classes:na]

      12:33:31,037 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.add(SecurityInitializer.java:394) [classes:na]

      12:33:31,037 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.addPermission(SecurityInitializer.java:378) [classes:na]

      12:33:31,053 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.generateAuthorizationData(SecurityInitializer.java:188) [classes:na]

      12:33:31,053 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.initialize(SecurityInitializer.java:92) [classes:na]

      12:33:31,053 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.init(SecurityInitializer.java:87) [classes:na]

      12:33:31,053 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.ContextListener.contextInitialized(ContextListener.java:34) [classes:na]

      12:33:31,053 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392) [jbossweb-7.0.13.Final.jar!/:na]

      12:33:31,053 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850) [jbossweb-7.0.13.Final.jar!/:na]

      12:33:31,053 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90) [jboss-as-web-7.1.1.Final.jar!/:7.1.1.Final]

      12:33:31,053 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:33:31,053 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:33:31,069 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_79]

      12:33:31,069 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_79]

      12:33:31,069 INFO  [stdout] (MSC service thread 1-6)    at java.lang.Thread.run(Thread.java:745) [na:1.7.0_79]

      12:33:31,069 INFO  [stdout] (MSC service thread 1-6) Caused by: virtuoso.jdbc4.VirtuosoException: Connection failed: Connection timed out: connect

      12:33:31,069 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:33:31,084 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:33:31,086 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.<init>(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:33:31,088 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.Driver.connect(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:33:31,089 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:571) ~[na:1.7.0_79]

      12:33:31,090 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:215) ~[na:1.7.0_79]

      12:33:31,090 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.obtainRawInternalConnection(BoneCP.java:256) ~[bonecp-0.7.1.RELEASE.jar:0.7.1.RELEASE]

      12:33:31,090 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.<init>(BoneCP.java:305) ~[bonecp-0.7.1.RELEASE.jar:0.7.1.RELEASE]

      12:33:31,090 INFO  [stdout] (MSC service thread 1-6)    ... 17 common frames omitted

      12:33:31,090 INFO  [stdout] (MSC service thread 1-6) [LSM-S] INFO  o.openiot.lsm.manager.SensorManager - insert triples into graph http://lsm.deri.ie/OpenIoT/OAuth#

      12:33:31,090 INFO  [stdout] (MSC service thread 1-6) [LSM-S] WARN  o.openiot.lsm.manager.SensorManager - Fail to insert triples into graph http://lsm.deri.ie/OpenIoT/OAuth#

      12:33:31,090 INFO  [stdout] (MSC service thread 1-6) java.lang.NullPointerException: null

      12:33:31,090 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.manager.SensorManager.insertTriplesToGraph(SensorManager.java:122) ~[classes:na]

      12:33:31,090 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.OauthServletHelper.feedToServer(OauthServletHelper.java:41) [classes:na]

      12:33:31,106 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.add(SecurityInitializer.java:394) [classes:na]

      12:33:31,106 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.addPermission(SecurityInitializer.java:378) [classes:na]

      12:33:31,106 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.generateAuthorizationData(SecurityInitializer.java:188) [classes:na]

      12:33:31,106 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.initialize(SecurityInitializer.java:92) [classes:na]

      12:33:31,122 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.init(SecurityInitializer.java:87) [classes:na]

      12:33:31,129 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.ContextListener.contextInitialized(ContextListener.java:34) [classes:na]

      12:33:31,131 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392) [jbossweb-7.0.13.Final.jar!/:na]

      12:33:31,133 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850) [jbossweb-7.0.13.Final.jar!/:na]

      12:33:31,135 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90) [jboss-as-web-7.1.1.Final.jar!/:7.1.1.Final]

      12:33:31,137 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:33:31,146 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:33:31,148 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_79]

      12:33:31,150 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_79]

      12:33:31,152 INFO  [stdout] (MSC service thread 1-6)    at java.lang.Thread.run(Thread.java:745) [na:1.7.0_79]

      12:33:31,171 INFO  [stdout] (MSC service thread 1-6) [LSM-S] INFO  o.o.lsm.pooling.ConnectionManager - Loading property file

      12:33:31,173 INFO  [stdout] (MSC service thread 1-6) [LSM-S] INFO  o.o.lsm.pooling.ConnectionManager - loading database server driver virtuoso.jdbc4.Driver

      12:33:52,205 INFO  [stdout] (MSC service thread 1-6) [LSM-S] ERROR o.o.lsm.pooling.ConnectionManager - Error making pool:

      12:33:52,205 INFO  [stdout] (MSC service thread 1-6) java.sql.SQLException: Unable to open a test connection to the given database. JDBC url = jdbc:virtuoso://lsm.deri.ie:1111/log_enable=2, username = <database username>. Terminating connection pool. Original Exception: ------

      12:33:52,205 INFO  [stdout] (MSC service thread 1-6) virtuoso.jdbc4.VirtuosoException: Connection failed: Connection timed out: connect

      12:33:52,205 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source)

      12:33:52,205 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source)

      12:33:52,205 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.<init>(Unknown Source)

      12:33:52,205 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.Driver.connect(Unknown Source)

      12:33:52,220 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:571)

      12:33:52,220 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:215)

      12:33:52,220 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.obtainRawInternalConnection(BoneCP.java:256)

      12:33:52,220 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.<init>(BoneCP.java:305)

      12:33:52,220 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.pooling.ConnectionManager.init(ConnectionManager.java:75)

      12:33:52,220 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.manager.SensorManager.<init>(SensorManager.java:71)

      12:33:52,220 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.OauthServletHelper.feedToServer(OauthServletHelper.java:18)

      12:33:52,236 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.add(SecurityInitializer.java:394)

      12:33:52,236 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.addPermission(SecurityInitializer.java:378)

      12:33:52,236 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.generateAuthorizationData(SecurityInitializer.java:188)

      12:33:52,236 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.initialize(SecurityInitializer.java:92)

      12:33:52,236 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.init(SecurityInitializer.java:87)

      12:33:52,236 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.ContextListener.contextInitialized(ContextListener.java:34)

      12:33:52,257 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392)

      12:33:52,258 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850)

      12:33:52,258 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90)

      12:33:52,258 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)

      12:33:52,258 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)

      12:33:52,258 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)

      12:33:52,258 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

      12:33:52,274 INFO  [stdout] (MSC service thread 1-6)    at java.lang.Thread.run(Thread.java:745)

      12:33:52,274 INFO  [stdout] (MSC service thread 1-6) ------

      12:33:52,274 INFO  [stdout] (MSC service thread 1-6)

      12:33:52,274 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.<init>(BoneCP.java:312) ~[bonecp-0.7.1.RELEASE.jar:0.7.1.RELEASE]

      12:33:52,289 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.pooling.ConnectionManager.init(ConnectionManager.java:75) ~[classes:na]

      12:33:52,289 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.manager.SensorManager.<init>(SensorManager.java:71) [classes:na]

      12:33:52,289 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.OauthServletHelper.feedToServer(OauthServletHelper.java:18) [classes:na]

      12:33:52,289 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.add(SecurityInitializer.java:394) [classes:na]

      12:33:52,289 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.addPermission(SecurityInitializer.java:378) [classes:na]

      12:33:52,289 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.generateAuthorizationData(SecurityInitializer.java:188) [classes:na]

      12:33:52,305 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.initialize(SecurityInitializer.java:92) [classes:na]

      12:33:52,305 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.init(SecurityInitializer.java:87) [classes:na]

      12:33:52,305 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.ContextListener.contextInitialized(ContextListener.java:34) [classes:na]

      12:33:52,305 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392) [jbossweb-7.0.13.Final.jar!/:na]

      12:33:52,305 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850) [jbossweb-7.0.13.Final.jar!/:na]

      12:33:52,321 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90) [jboss-as-web-7.1.1.Final.jar!/:7.1.1.Final]

      12:33:52,321 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:33:52,321 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:33:52,321 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_79]

      12:33:52,321 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_79]

      12:33:52,336 INFO  [stdout] (MSC service thread 1-6)    at java.lang.Thread.run(Thread.java:745) [na:1.7.0_79]

      12:33:52,336 INFO  [stdout] (MSC service thread 1-6) Caused by: virtuoso.jdbc4.VirtuosoException: Connection failed: Connection timed out: connect

      12:33:52,336 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:33:52,336 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:33:52,336 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.<init>(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:33:52,336 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.Driver.connect(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:33:52,336 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:571) ~[na:1.7.0_79]

      12:33:52,357 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:215) ~[na:1.7.0_79]

      12:33:52,358 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.obtainRawInternalConnection(BoneCP.java:256) ~[bonecp-0.7.1.RELEASE.jar:0.7.1.RELEASE]

      12:33:52,358 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.<init>(BoneCP.java:305) ~[bonecp-0.7.1.RELEASE.jar:0.7.1.RELEASE]

      12:33:52,358 INFO  [stdout] (MSC service thread 1-6)    ... 17 common frames omitted

      12:33:52,358 INFO  [stdout] (MSC service thread 1-6) [LSM-S] INFO  o.openiot.lsm.manager.SensorManager - insert triples into graph http://lsm.deri.ie/OpenIoT/OAuth#

      12:33:52,358 INFO  [stdout] (MSC service thread 1-6) [LSM-S] WARN  o.openiot.lsm.manager.SensorManager - Fail to insert triples into graph http://lsm.deri.ie/OpenIoT/OAuth#

      12:33:52,358 INFO  [stdout] (MSC service thread 1-6) java.lang.NullPointerException: null

      12:33:52,358 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.manager.SensorManager.insertTriplesToGraph(SensorManager.java:122) ~[classes:na]

      12:33:52,358 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.OauthServletHelper.feedToServer(OauthServletHelper.java:41) [classes:na]

      12:33:52,374 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.add(SecurityInitializer.java:394) [classes:na]

      12:33:52,374 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.addPermission(SecurityInitializer.java:378) [classes:na]

      12:33:52,374 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.generateAuthorizationData(SecurityInitializer.java:188) [classes:na]

      12:33:52,374 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.initialize(SecurityInitializer.java:92) [classes:na]

      12:33:52,374 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.init(SecurityInitializer.java:87) [classes:na]

      12:33:52,389 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.ContextListener.contextInitialized(ContextListener.java:34) [classes:na]

      12:33:52,389 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392) [jbossweb-7.0.13.Final.jar!/:na]

      12:33:52,389 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850) [jbossweb-7.0.13.Final.jar!/:na]

      12:33:52,389 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90) [jboss-as-web-7.1.1.Final.jar!/:7.1.1.Final]

      12:33:52,389 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:33:52,389 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:33:52,405 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_79]

      12:33:52,405 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_79]

      12:33:52,405 INFO  [stdout] (MSC service thread 1-6)    at java.lang.Thread.run(Thread.java:745) [na:1.7.0_79]

      12:33:52,405 INFO  [stdout] (MSC service thread 1-6) [LSM-S] INFO  o.o.lsm.pooling.ConnectionManager - Loading property file

      12:33:52,420 INFO  [stdout] (MSC service thread 1-6) [LSM-S] INFO  o.o.lsm.pooling.ConnectionManager - loading database server driver virtuoso.jdbc4.Driver

      12:34:13,450 INFO  [stdout] (MSC service thread 1-6) [LSM-S] ERROR o.o.lsm.pooling.ConnectionManager - Error making pool:

      12:34:13,450 INFO  [stdout] (MSC service thread 1-6) java.sql.SQLException: Unable to open a test connection to the given database. JDBC url = jdbc:virtuoso://lsm.deri.ie:1111/log_enable=2, username = <database username>. Terminating connection pool. Original Exception: ------

      12:34:13,450 INFO  [stdout] (MSC service thread 1-6) virtuoso.jdbc4.VirtuosoException: Connection failed: Connection timed out: connect

      12:34:13,450 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source)

      12:34:13,450 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source)

      12:34:13,450 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.<init>(Unknown Source)

      12:34:13,450 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.Driver.connect(Unknown Source)

      12:34:13,465 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:571)

      12:34:13,465 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:215)

      12:34:13,465 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.obtainRawInternalConnection(BoneCP.java:256)

      12:34:13,465 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.<init>(BoneCP.java:305)

      12:34:13,465 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.pooling.ConnectionManager.init(ConnectionManager.java:75)

      12:34:13,465 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.manager.SensorManager.<init>(SensorManager.java:71)

      12:34:13,465 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.OauthServletHelper.feedToServer(OauthServletHelper.java:18)

      12:34:13,481 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.add(SecurityInitializer.java:394)

      12:34:13,481 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.addPermission(SecurityInitializer.java:378)

      12:34:13,481 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.generateAuthorizationData(SecurityInitializer.java:188)

      12:34:13,481 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.initialize(SecurityInitializer.java:92)

      12:34:13,481 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.init(SecurityInitializer.java:87)

      12:34:13,481 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.ContextListener.contextInitialized(ContextListener.java:34)

      12:34:13,501 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392)

      12:34:13,503 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850)

      12:34:13,503 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90)

      12:34:13,503 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)

      12:34:13,503 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)

      12:34:13,503 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)

      12:34:13,503 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

      12:34:13,503 INFO  [stdout] (MSC service thread 1-6)    at java.lang.Thread.run(Thread.java:745)

      12:34:13,503 INFO  [stdout] (MSC service thread 1-6) ------

      12:34:13,503 INFO  [stdout] (MSC service thread 1-6)

      12:34:13,503 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.<init>(BoneCP.java:312) ~[bonecp-0.7.1.RELEASE.jar:0.7.1.RELEASE]

      12:34:13,519 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.pooling.ConnectionManager.init(ConnectionManager.java:75) ~[classes:na]

      12:34:13,519 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.manager.SensorManager.<init>(SensorManager.java:71) [classes:na]

      12:34:13,519 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.OauthServletHelper.feedToServer(OauthServletHelper.java:18) [classes:na]

      12:34:13,519 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.add(SecurityInitializer.java:394) [classes:na]

      12:34:13,519 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.addPermission(SecurityInitializer.java:378) [classes:na]

      12:34:13,519 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.generateAuthorizationData(SecurityInitializer.java:188) [classes:na]

      12:34:13,534 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.initialize(SecurityInitializer.java:92) [classes:na]

      12:34:13,534 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.init(SecurityInitializer.java:87) [classes:na]

      12:34:13,534 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.ContextListener.contextInitialized(ContextListener.java:34) [classes:na]

      12:34:13,534 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392) [jbossweb-7.0.13.Final.jar!/:na]

      12:34:13,534 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850) [jbossweb-7.0.13.Final.jar!/:na]

      12:34:13,534 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90) [jboss-as-web-7.1.1.Final.jar!/:7.1.1.Final]

      12:34:13,550 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:34:13,550 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:34:13,550 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_79]

      12:34:13,550 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_79]

      12:34:13,550 INFO  [stdout] (MSC service thread 1-6)    at java.lang.Thread.run(Thread.java:745) [na:1.7.0_79]

      12:34:13,550 INFO  [stdout] (MSC service thread 1-6) Caused by: virtuoso.jdbc4.VirtuosoException: Connection failed: Connection timed out: connect

      12:34:13,566 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:34:13,566 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:34:13,566 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.<init>(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:34:13,566 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.Driver.connect(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:34:13,566 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:571) ~[na:1.7.0_79]

      12:34:13,581 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:215) ~[na:1.7.0_79]

      12:34:13,581 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.obtainRawInternalConnection(BoneCP.java:256) ~[bonecp-0.7.1.RELEASE.jar:0.7.1.RELEASE]

      12:34:13,581 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.<init>(BoneCP.java:305) ~[bonecp-0.7.1.RELEASE.jar:0.7.1.RELEASE]

      12:34:13,581 INFO  [stdout] (MSC service thread 1-6)    ... 17 common frames omitted

      12:34:13,581 INFO  [stdout] (MSC service thread 1-6) [LSM-S] INFO  o.openiot.lsm.manager.SensorManager - insert triples into graph http://lsm.deri.ie/OpenIoT/OAuth#

      12:34:13,581 INFO  [stdout] (MSC service thread 1-6) [LSM-S] WARN  o.openiot.lsm.manager.SensorManager - Fail to insert triples into graph http://lsm.deri.ie/OpenIoT/OAuth#

      12:34:13,602 INFO  [stdout] (MSC service thread 1-6) java.lang.NullPointerException: null

      12:34:13,603 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.manager.SensorManager.insertTriplesToGraph(SensorManager.java:122) ~[classes:na]

      12:34:13,603 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.OauthServletHelper.feedToServer(OauthServletHelper.java:41) [classes:na]

      12:34:13,603 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.add(SecurityInitializer.java:394) [classes:na]

      12:34:13,603 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.addPermission(SecurityInitializer.java:378) [classes:na]

      12:34:13,603 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.generateAuthorizationData(SecurityInitializer.java:188) [classes:na]

      12:34:13,603 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.initialize(SecurityInitializer.java:92) [classes:na]

      12:34:13,603 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.init(SecurityInitializer.java:87) [classes:na]

      12:34:13,603 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.ContextListener.contextInitialized(ContextListener.java:34) [classes:na]

      12:34:13,603 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392) [jbossweb-7.0.13.Final.jar!/:na]

      12:34:13,619 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850) [jbossweb-7.0.13.Final.jar!/:na]

      12:34:13,619 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90) [jboss-as-web-7.1.1.Final.jar!/:7.1.1.Final]

      12:34:13,619 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:34:13,619 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:34:13,619 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_79]

      12:34:13,634 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_79]

      12:34:13,634 INFO  [stdout] (MSC service thread 1-6)    at java.lang.Thread.run(Thread.java:745) [na:1.7.0_79]

      12:34:13,634 INFO  [stdout] (MSC service thread 1-6) [LSM-S] INFO  o.o.lsm.pooling.ConnectionManager - Loading property file

      12:34:13,634 INFO  [stdout] (MSC service thread 1-6) [LSM-S] INFO  o.o.lsm.pooling.ConnectionManager - loading database server driver virtuoso.jdbc4.Driver

      12:34:34,659 INFO  [stdout] (MSC service thread 1-6) [LSM-S] ERROR o.o.lsm.pooling.ConnectionManager - Error making pool:

      12:34:34,659 INFO  [stdout] (MSC service thread 1-6) java.sql.SQLException: Unable to open a test connection to the given database. JDBC url = jdbc:virtuoso://lsm.deri.ie:1111/log_enable=2, username = <database username>. Terminating connection pool. Original Exception: ------

      12:34:34,659 INFO  [stdout] (MSC service thread 1-6) virtuoso.jdbc4.VirtuosoException: Connection failed: Connection timed out: connect

      12:34:34,659 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source)

      12:34:34,659 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source)

      12:34:34,659 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.<init>(Unknown Source)

      12:34:34,659 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.Driver.connect(Unknown Source)

      12:34:34,674 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:571)

      12:34:34,674 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:215)

      12:34:34,674 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.obtainRawInternalConnection(BoneCP.java:256)

      12:34:34,674 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.<init>(BoneCP.java:305)

      12:34:34,674 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.pooling.ConnectionManager.init(ConnectionManager.java:75)

      12:34:34,674 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.manager.SensorManager.<init>(SensorManager.java:71)

      12:34:34,674 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.OauthServletHelper.feedToServer(OauthServletHelper.java:18)

      12:34:34,690 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.add(SecurityInitializer.java:394)

      12:34:34,690 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.addPermission(SecurityInitializer.java:378)

      12:34:34,690 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.generateAuthorizationData(SecurityInitializer.java:188)

      12:34:34,690 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.initialize(SecurityInitializer.java:92)

      12:34:34,690 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.init(SecurityInitializer.java:87)

      12:34:34,690 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.ContextListener.contextInitialized(ContextListener.java:34)

      12:34:34,690 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392)

      12:34:34,712 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850)

      12:34:34,714 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90)

      12:34:34,716 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)

      12:34:34,718 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)

      12:34:34,720 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)

      12:34:34,727 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

      12:34:34,728 INFO  [stdout] (MSC service thread 1-6)    at java.lang.Thread.run(Thread.java:745)

      12:34:34,730 INFO  [stdout] (MSC service thread 1-6) ------

      12:34:34,731 INFO  [stdout] (MSC service thread 1-6)

      12:34:34,732 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.<init>(BoneCP.java:312) ~[bonecp-0.7.1.RELEASE.jar:0.7.1.RELEASE]

      12:34:34,734 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.pooling.ConnectionManager.init(ConnectionManager.java:75) ~[classes:na]

      12:34:34,741 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.manager.SensorManager.<init>(SensorManager.java:71) [classes:na]

      12:34:34,744 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.OauthServletHelper.feedToServer(OauthServletHelper.java:18) [classes:na]

      12:34:34,747 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.add(SecurityInitializer.java:394) [classes:na]

      12:34:34,756 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.addPermission(SecurityInitializer.java:378) [classes:na]

      12:34:34,760 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.generateAuthorizationData(SecurityInitializer.java:188) [classes:na]

      12:34:34,762 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.initialize(SecurityInitializer.java:92) [classes:na]

      12:34:34,764 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.init(SecurityInitializer.java:87) [classes:na]

      12:34:34,770 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.ContextListener.contextInitialized(ContextListener.java:34) [classes:na]

      12:34:34,772 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392) [jbossweb-7.0.13.Final.jar!/:na]

      12:34:34,774 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850) [jbossweb-7.0.13.Final.jar!/:na]

      12:34:34,777 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90) [jboss-as-web-7.1.1.Final.jar!/:7.1.1.Final]

      12:34:34,786 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:34:34,790 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:34:34,793 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_79]

      12:34:34,799 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_79]

      12:34:34,801 INFO  [stdout] (MSC service thread 1-6)    at java.lang.Thread.run(Thread.java:745) [na:1.7.0_79]

      12:34:34,803 INFO  [stdout] (MSC service thread 1-6) Caused by: virtuoso.jdbc4.VirtuosoException: Connection failed: Connection timed out: connect

      12:34:34,804 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:34:34,806 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:34:34,807 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.<init>(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:34:34,816 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.Driver.connect(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:34:34,820 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:571) ~[na:1.7.0_79]

      12:34:34,823 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:215) ~[na:1.7.0_79]

      12:34:34,829 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.obtainRawInternalConnection(BoneCP.java:256) ~[bonecp-0.7.1.RELEASE.jar:0.7.1.RELEASE]

      12:34:34,832 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.<init>(BoneCP.java:305) ~[bonecp-0.7.1.RELEASE.jar:0.7.1.RELEASE]

      12:34:34,833 INFO  [stdout] (MSC service thread 1-6)    ... 17 common frames omitted

      12:34:34,835 INFO  [stdout] (MSC service thread 1-6) [LSM-S] INFO  o.openiot.lsm.manager.SensorManager - insert triples into graph http://lsm.deri.ie/OpenIoT/OAuth#

      12:34:34,839 INFO  [stdout] (MSC service thread 1-6) [LSM-S] WARN  o.openiot.lsm.manager.SensorManager - Fail to insert triples into graph http://lsm.deri.ie/OpenIoT/OAuth#

      12:34:34,847 INFO  [stdout] (MSC service thread 1-6) java.lang.NullPointerException: null

      12:34:34,851 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.manager.SensorManager.insertTriplesToGraph(SensorManager.java:122) ~[classes:na]

      12:34:34,859 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.OauthServletHelper.feedToServer(OauthServletHelper.java:41) [classes:na]

      12:34:34,862 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.add(SecurityInitializer.java:394) [classes:na]

      12:34:34,864 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.addPermission(SecurityInitializer.java:378) [classes:na]

      12:34:34,866 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.generateAuthorizationData(SecurityInitializer.java:188) [classes:na]

      12:34:34,873 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.initialize(SecurityInitializer.java:92) [classes:na]

      12:34:34,877 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.init(SecurityInitializer.java:87) [classes:na]

      12:34:34,879 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.ContextListener.contextInitialized(ContextListener.java:34) [classes:na]

      12:34:34,881 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392) [jbossweb-7.0.13.Final.jar!/:na]

      12:34:34,888 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850) [jbossweb-7.0.13.Final.jar!/:na]

      12:34:34,891 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90) [jboss-as-web-7.1.1.Final.jar!/:7.1.1.Final]

      12:34:34,894 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:34:34,896 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:34:34,903 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_79]

      12:34:34,905 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_79]

      12:34:34,907 INFO  [stdout] (MSC service thread 1-6)    at java.lang.Thread.run(Thread.java:745) [na:1.7.0_79]

      12:34:34,911 INFO  [stdout] (MSC service thread 1-6) [LSM-S] INFO  o.o.lsm.pooling.ConnectionManager - Loading property file

      12:34:34,939 INFO  [stdout] (MSC service thread 1-6) [LSM-S] INFO  o.o.lsm.pooling.ConnectionManager - loading database server driver virtuoso.jdbc4.Driver

      12:34:55,961 INFO  [stdout] (MSC service thread 1-6) [LSM-S] ERROR o.o.lsm.pooling.ConnectionManager - Error making pool:

      12:34:55,963 INFO  [stdout] (MSC service thread 1-6) java.sql.SQLException: Unable to open a test connection to the given database. JDBC url = jdbc:virtuoso://lsm.deri.ie:1111/log_enable=2, username = <database username>. Terminating connection pool. Original Exception: ------

      12:34:55,970 INFO  [stdout] (MSC service thread 1-6) virtuoso.jdbc4.VirtuosoException: Connection failed: Connection timed out: connect

      12:34:55,971 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source)

      12:34:55,973 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source)

      12:34:55,974 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.<init>(Unknown Source)

      12:34:55,981 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.Driver.connect(Unknown Source)

      12:34:55,982 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:571)

      12:34:55,984 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:215)

      12:34:55,985 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.obtainRawInternalConnection(BoneCP.java:256)

      12:34:55,987 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.<init>(BoneCP.java:305)

      12:34:55,988 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.pooling.ConnectionManager.init(ConnectionManager.java:75)

      12:34:55,997 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.manager.SensorManager.<init>(SensorManager.java:71)

      12:34:55,998 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.OauthServletHelper.feedToServer(OauthServletHelper.java:18)

      12:34:56,000 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.add(SecurityInitializer.java:394)

      12:34:56,002 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.addPermission(SecurityInitializer.java:378)

      12:34:56,003 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.generateAuthorizationData(SecurityInitializer.java:188)

      12:34:56,009 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.initialize(SecurityInitializer.java:92)

      12:34:56,011 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.init(SecurityInitializer.java:87)

      12:34:56,013 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.ContextListener.contextInitialized(ContextListener.java:34)

      12:34:56,015 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392)

      12:34:56,016 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850)

      12:34:56,022 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90)

      12:34:56,024 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)

      12:34:56,025 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)

      12:34:56,028 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)

      12:34:56,029 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

      12:34:56,036 INFO  [stdout] (MSC service thread 1-6)    at java.lang.Thread.run(Thread.java:745)

      12:34:56,037 INFO  [stdout] (MSC service thread 1-6) ------

      12:34:56,038 INFO  [stdout] (MSC service thread 1-6)

      12:34:56,040 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.<init>(BoneCP.java:312) ~[bonecp-0.7.1.RELEASE.jar:0.7.1.RELEASE]

      12:34:56,041 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.pooling.ConnectionManager.init(ConnectionManager.java:75) ~[classes:na]

      12:34:56,043 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.manager.SensorManager.<init>(SensorManager.java:71) [classes:na]

      12:34:56,049 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.OauthServletHelper.feedToServer(OauthServletHelper.java:18) [classes:na]

      12:34:56,051 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.add(SecurityInitializer.java:394) [classes:na]

      12:34:56,053 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.addPermission(SecurityInitializer.java:378) [classes:na]

      12:34:56,054 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.generateAuthorizationData(SecurityInitializer.java:188) [classes:na]

      12:34:56,056 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.initialize(SecurityInitializer.java:92) [classes:na]

      12:34:56,063 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.init(SecurityInitializer.java:87) [classes:na]

      12:34:56,064 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.ContextListener.contextInitialized(ContextListener.java:34) [classes:na]

      12:34:56,067 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392) [jbossweb-7.0.13.Final.jar!/:na]

      12:34:56,068 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850) [jbossweb-7.0.13.Final.jar!/:na]

      12:34:56,070 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90) [jboss-as-web-7.1.1.Final.jar!/:7.1.1.Final]

      12:34:56,077 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:34:56,079 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:34:56,081 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_79]

      12:34:56,082 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_79]

      12:34:56,083 INFO  [stdout] (MSC service thread 1-6)    at java.lang.Thread.run(Thread.java:745) [na:1.7.0_79]

      12:34:56,085 INFO  [stdout] (MSC service thread 1-6) Caused by: virtuoso.jdbc4.VirtuosoException: Connection failed: Connection timed out: connect

      12:34:56,092 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:34:56,095 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:34:56,096 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.<init>(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:34:56,098 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.Driver.connect(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:34:56,103 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:571) ~[na:1.7.0_79]

      12:34:56,104 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:215) ~[na:1.7.0_79]

      12:34:56,106 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.obtainRawInternalConnection(BoneCP.java:256) ~[bonecp-0.7.1.RELEASE.jar:0.7.1.RELEASE]

      12:34:56,108 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.<init>(BoneCP.java:305) ~[bonecp-0.7.1.RELEASE.jar:0.7.1.RELEASE]

      12:34:56,110 INFO  [stdout] (MSC service thread 1-6)    ... 17 common frames omitted

      12:34:56,112 INFO  [stdout] (MSC service thread 1-6) [LSM-S] INFO  o.openiot.lsm.manager.SensorManager - insert triples into graph http://lsm.deri.ie/OpenIoT/OAuth#

      12:34:56,120 INFO  [stdout] (MSC service thread 1-6) [LSM-S] WARN  o.openiot.lsm.manager.SensorManager - Fail to insert triples into graph http://lsm.deri.ie/OpenIoT/OAuth#

      12:34:56,121 INFO  [stdout] (MSC service thread 1-6) java.lang.NullPointerException: null

      12:34:56,123 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.manager.SensorManager.insertTriplesToGraph(SensorManager.java:122) ~[classes:na]

      12:34:56,130 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.OauthServletHelper.feedToServer(OauthServletHelper.java:41) [classes:na]

      12:34:56,132 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.add(SecurityInitializer.java:394) [classes:na]

      12:34:56,134 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.addPermission(SecurityInitializer.java:378) [classes:na]

      12:34:56,135 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.generateAuthorizationData(SecurityInitializer.java:188) [classes:na]

      12:34:56,137 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.initialize(SecurityInitializer.java:92) [classes:na]

      12:34:56,144 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.init(SecurityInitializer.java:87) [classes:na]

      12:34:56,146 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.ContextListener.contextInitialized(ContextListener.java:34) [classes:na]

      12:34:56,147 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392) [jbossweb-7.0.13.Final.jar!/:na]

      12:34:56,150 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850) [jbossweb-7.0.13.Final.jar!/:na]

      12:34:56,151 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90) [jboss-as-web-7.1.1.Final.jar!/:7.1.1.Final]

      12:34:56,157 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:34:56,161 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:34:56,163 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_79]

      12:34:56,165 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_79]

      12:34:56,171 INFO  [stdout] (MSC service thread 1-6)    at java.lang.Thread.run(Thread.java:745) [na:1.7.0_79]

      12:34:56,173 INFO  [stdout] (MSC service thread 1-6) [LSM-S] INFO  o.o.lsm.pooling.ConnectionManager - Loading property file

      12:34:56,175 INFO  [stdout] (MSC service thread 1-6) [LSM-S] INFO  o.o.lsm.pooling.ConnectionManager - loading database server driver virtuoso.jdbc4.Driver

      12:35:17,208 INFO  [stdout] (MSC service thread 1-6) [LSM-S] ERROR o.o.lsm.pooling.ConnectionManager - Error making pool:

      12:35:17,208 INFO  [stdout] (MSC service thread 1-6) java.sql.SQLException: Unable to open a test connection to the given database. JDBC url = jdbc:virtuoso://lsm.deri.ie:1111/log_enable=2, username = <database username>. Terminating connection pool. Original Exception: ------

      12:35:17,208 INFO  [stdout] (MSC service thread 1-6) virtuoso.jdbc4.VirtuosoException: Connection failed: Connection timed out: connect

      12:35:17,208 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source)

      12:35:17,208 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source)

      12:35:17,208 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.<init>(Unknown Source)

      12:35:17,223 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.Driver.connect(Unknown Source)

      12:35:17,223 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:571)

      12:35:17,223 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:215)

      12:35:17,223 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.obtainRawInternalConnection(BoneCP.java:256)

      12:35:17,223 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.<init>(BoneCP.java:305)

      12:35:17,223 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.pooling.ConnectionManager.init(ConnectionManager.java:75)

      12:35:17,223 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.manager.SensorManager.<init>(SensorManager.java:71)

      12:35:17,239 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.OauthServletHelper.feedToServer(OauthServletHelper.java:18)

      12:35:17,239 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.add(SecurityInitializer.java:394)

      12:35:17,239 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.addPermission(SecurityInitializer.java:378)

      12:35:17,239 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.generateAuthorizationData(SecurityInitializer.java:188)

      12:35:17,254 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.initialize(SecurityInitializer.java:92)

      12:35:17,254 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.init(SecurityInitializer.java:87)

      12:35:17,254 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.ContextListener.contextInitialized(ContextListener.java:34)

      12:35:17,254 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392)

      12:35:17,254 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850)

      12:35:17,254 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90)

      12:35:17,254 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)

      12:35:17,254 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)

      12:35:17,254 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)

      12:35:17,270 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

      12:35:17,270 INFO  [stdout] (MSC service thread 1-6)    at java.lang.Thread.run(Thread.java:745)

      12:35:17,270 INFO  [stdout] (MSC service thread 1-6) ------

      12:35:17,270 INFO  [stdout] (MSC service thread 1-6)

      12:35:17,270 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.<init>(BoneCP.java:312) ~[bonecp-0.7.1.RELEASE.jar:0.7.1.RELEASE]

      12:35:17,270 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.pooling.ConnectionManager.init(ConnectionManager.java:75) ~[classes:na]

      12:35:17,270 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.manager.SensorManager.<init>(SensorManager.java:71) [classes:na]

      12:35:17,292 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.OauthServletHelper.feedToServer(OauthServletHelper.java:18) [classes:na]

      12:35:17,292 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.add(SecurityInitializer.java:394) [classes:na]

      12:35:17,292 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.addPermission(SecurityInitializer.java:378) [classes:na]

      12:35:17,292 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.generateAuthorizationData(SecurityInitializer.java:188) [classes:na]

      12:35:17,292 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.initialize(SecurityInitializer.java:92) [classes:na]

      12:35:17,292 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.init(SecurityInitializer.java:87) [classes:na]

      12:35:17,292 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.ContextListener.contextInitialized(ContextListener.java:34) [classes:na]

      12:35:17,292 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392) [jbossweb-7.0.13.Final.jar!/:na]

      12:35:17,292 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850) [jbossweb-7.0.13.Final.jar!/:na]

      12:35:17,308 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90) [jboss-as-web-7.1.1.Final.jar!/:7.1.1.Final]

      12:35:17,308 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:35:17,308 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:35:17,308 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_79]

      12:35:17,323 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_79]

      12:35:17,323 INFO  [stdout] (MSC service thread 1-6)    at java.lang.Thread.run(Thread.java:745) [na:1.7.0_79]

      12:35:17,323 INFO  [stdout] (MSC service thread 1-6) Caused by: virtuoso.jdbc4.VirtuosoException: Connection failed: Connection timed out: connect

      12:35:17,323 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:35:17,323 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:35:17,323 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.<init>(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:35:17,323 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.Driver.connect(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:35:17,339 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:571) ~[na:1.7.0_79]

      12:35:17,339 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:215) ~[na:1.7.0_79]

      12:35:17,339 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.obtainRawInternalConnection(BoneCP.java:256) ~[bonecp-0.7.1.RELEASE.jar:0.7.1.RELEASE]

      12:35:17,339 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.<init>(BoneCP.java:305) ~[bonecp-0.7.1.RELEASE.jar:0.7.1.RELEASE]

      12:35:17,339 INFO  [stdout] (MSC service thread 1-6)    ... 17 common frames omitted

      12:35:17,355 INFO  [stdout] (MSC service thread 1-6) [LSM-S] INFO  o.openiot.lsm.manager.SensorManager - insert triples into graph http://lsm.deri.ie/OpenIoT/OAuth#

      12:35:17,365 INFO  [stdout] (MSC service thread 1-6) [LSM-S] WARN  o.openiot.lsm.manager.SensorManager - Fail to insert triples into graph http://lsm.deri.ie/OpenIoT/OAuth#

      12:35:17,367 INFO  [stdout] (MSC service thread 1-6) java.lang.NullPointerException: null

      12:35:17,368 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.manager.SensorManager.insertTriplesToGraph(SensorManager.java:122) ~[classes:na]

      12:35:17,370 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.OauthServletHelper.feedToServer(OauthServletHelper.java:41) [classes:na]

      12:35:17,377 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.add(SecurityInitializer.java:394) [classes:na]

      12:35:17,379 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.addPermission(SecurityInitializer.java:378) [classes:na]

      12:35:17,381 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.generateAuthorizationData(SecurityInitializer.java:188) [classes:na]

      12:35:17,382 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.initialize(SecurityInitializer.java:92) [classes:na]

      12:35:17,384 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.init(SecurityInitializer.java:87) [classes:na]

      12:35:17,392 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.ContextListener.contextInitialized(ContextListener.java:34) [classes:na]

      12:35:17,392 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392) [jbossweb-7.0.13.Final.jar!/:na]

      12:35:17,392 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850) [jbossweb-7.0.13.Final.jar!/:na]

      12:35:17,392 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90) [jboss-as-web-7.1.1.Final.jar!/:7.1.1.Final]

      12:35:17,392 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:35:17,392 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:35:17,392 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_79]

      12:35:17,392 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_79]

      12:35:17,408 INFO  [stdout] (MSC service thread 1-6)    at java.lang.Thread.run(Thread.java:745) [na:1.7.0_79]

      12:35:17,408 INFO  [stdout] (MSC service thread 1-6) [LSM-S] INFO  o.o.lsm.pooling.ConnectionManager - Loading property file

      12:35:17,408 INFO  [stdout] (MSC service thread 1-6) [LSM-S] INFO  o.o.lsm.pooling.ConnectionManager - loading database server driver virtuoso.jdbc4.Driver

      12:35:38,455 INFO  [stdout] (MSC service thread 1-6) [LSM-S] ERROR o.o.lsm.pooling.ConnectionManager - Error making pool:

      12:35:38,457 INFO  [stdout] (MSC service thread 1-6) java.sql.SQLException: Unable to open a test connection to the given database. JDBC url = jdbc:virtuoso://lsm.deri.ie:1111/log_enable=2, username = <database username>. Terminating connection pool. Original Exception: ------

      12:35:38,459 INFO  [stdout] (MSC service thread 1-6) virtuoso.jdbc4.VirtuosoException: Connection failed: Connection timed out: connect

      12:35:38,459 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source)

      12:35:38,459 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source)

      12:35:38,459 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.<init>(Unknown Source)

      12:35:38,459 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.Driver.connect(Unknown Source)

      12:35:38,459 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:571)

      12:35:38,459 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:215)

      12:35:38,459 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.obtainRawInternalConnection(BoneCP.java:256)

      12:35:38,459 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.<init>(BoneCP.java:305)

      12:35:38,475 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.pooling.ConnectionManager.init(ConnectionManager.java:75)

      12:35:38,475 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.manager.SensorManager.<init>(SensorManager.java:71)

      12:35:38,475 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.OauthServletHelper.feedToServer(OauthServletHelper.java:18)

      12:35:38,475 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.add(SecurityInitializer.java:394)

      12:35:38,475 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.addPermission(SecurityInitializer.java:378)

      12:35:38,475 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.generateAuthorizationData(SecurityInitializer.java:188)

      12:35:38,490 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.initialize(SecurityInitializer.java:92)

      12:35:38,490 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.init(SecurityInitializer.java:87)

      12:35:38,490 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.ContextListener.contextInitialized(ContextListener.java:34)

      12:35:38,490 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392)

      12:35:38,490 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850)

      12:35:38,490 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90)

      12:35:38,506 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)

      12:35:38,506 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)

      12:35:38,506 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)

      12:35:38,506 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

      12:35:38,506 INFO  [stdout] (MSC service thread 1-6)    at java.lang.Thread.run(Thread.java:745)

      12:35:38,506 INFO  [stdout] (MSC service thread 1-6) ------

      12:35:38,522 INFO  [stdout] (MSC service thread 1-6)

      12:35:38,522 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.<init>(BoneCP.java:312) ~[bonecp-0.7.1.RELEASE.jar:0.7.1.RELEASE]

      12:35:38,522 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.pooling.ConnectionManager.init(ConnectionManager.java:75) ~[classes:na]

      12:35:38,522 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.manager.SensorManager.<init>(SensorManager.java:71) [classes:na]

      12:35:38,522 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.OauthServletHelper.feedToServer(OauthServletHelper.java:18) [classes:na]

      12:35:38,522 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.add(SecurityInitializer.java:394) [classes:na]

      12:35:38,522 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.addPermission(SecurityInitializer.java:378) [classes:na]

      12:35:38,537 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.generateAuthorizationData(SecurityInitializer.java:188) [classes:na]

      12:35:38,537 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.initialize(SecurityInitializer.java:92) [classes:na]

      12:35:38,537 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.init(SecurityInitializer.java:87) [classes:na]

      12:35:38,537 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.ContextListener.contextInitialized(ContextListener.java:34) [classes:na]

      12:35:38,537 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392) [jbossweb-7.0.13.Final.jar!/:na]

      12:35:38,554 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850) [jbossweb-7.0.13.Final.jar!/:na]

      12:35:38,555 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90) [jboss-as-web-7.1.1.Final.jar!/:7.1.1.Final]

      12:35:38,558 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:35:38,559 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:35:38,559 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_79]

      12:35:38,559 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_79]

      12:35:38,559 INFO  [stdout] (MSC service thread 1-6)    at java.lang.Thread.run(Thread.java:745) [na:1.7.0_79]

      12:35:38,559 INFO  [stdout] (MSC service thread 1-6) Caused by: virtuoso.jdbc4.VirtuosoException: Connection failed: Connection timed out: connect

      12:35:38,559 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:35:38,559 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:35:38,559 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.<init>(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:35:38,559 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.Driver.connect(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:35:38,559 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:571) ~[na:1.7.0_79]

      12:35:38,587 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:215) ~[na:1.7.0_79]

      12:35:38,589 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.obtainRawInternalConnection(BoneCP.java:256) ~[bonecp-0.7.1.RELEASE.jar:0.7.1.RELEASE]

      12:35:38,591 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.<init>(BoneCP.java:305) ~[bonecp-0.7.1.RELEASE.jar:0.7.1.RELEASE]

      12:35:38,593 INFO  [stdout] (MSC service thread 1-6)    ... 17 common frames omitted

      12:35:38,595 INFO  [stdout] (MSC service thread 1-6) [LSM-S] INFO  o.openiot.lsm.manager.SensorManager - insert triples into graph http://lsm.deri.ie/OpenIoT/OAuth#

      12:35:38,601 INFO  [stdout] (MSC service thread 1-6) [LSM-S] WARN  o.openiot.lsm.manager.SensorManager - Fail to insert triples into graph http://lsm.deri.ie/OpenIoT/OAuth#

      12:35:38,604 INFO  [stdout] (MSC service thread 1-6) java.lang.NullPointerException: null

      12:35:38,605 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.manager.SensorManager.insertTriplesToGraph(SensorManager.java:122) ~[classes:na]

      12:35:38,607 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.OauthServletHelper.feedToServer(OauthServletHelper.java:41) [classes:na]

      12:35:38,614 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.add(SecurityInitializer.java:394) [classes:na]

      12:35:38,617 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.addPermission(SecurityInitializer.java:378) [classes:na]

      12:35:38,619 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.generateAuthorizationData(SecurityInitializer.java:188) [classes:na]

      12:35:38,620 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.initialize(SecurityInitializer.java:92) [classes:na]

      12:35:38,622 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.init(SecurityInitializer.java:87) [classes:na]

      12:35:38,628 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.ContextListener.contextInitialized(ContextListener.java:34) [classes:na]

      12:35:38,628 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392) [jbossweb-7.0.13.Final.jar!/:na]

      12:35:38,628 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850) [jbossweb-7.0.13.Final.jar!/:na]

      12:35:38,628 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90) [jboss-as-web-7.1.1.Final.jar!/:7.1.1.Final]

      12:35:38,628 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:35:38,628 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:35:38,628 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_79]

      12:35:38,643 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_79]

      12:35:38,643 INFO  [stdout] (MSC service thread 1-6)    at java.lang.Thread.run(Thread.java:745) [na:1.7.0_79]

      12:35:38,643 INFO  [stdout] (MSC service thread 1-6) [LSM-S] INFO  o.o.lsm.pooling.ConnectionManager - Loading property file

      12:35:38,643 INFO  [stdout] (MSC service thread 1-6) [LSM-S] INFO  o.o.lsm.pooling.ConnectionManager - loading database server driver virtuoso.jdbc4.Driver

      12:35:59,702 INFO  [stdout] (MSC service thread 1-6) [LSM-S] ERROR o.o.lsm.pooling.ConnectionManager - Error making pool:

      12:35:59,702 INFO  [stdout] (MSC service thread 1-6) java.sql.SQLException: Unable to open a test connection to the given database. JDBC url = jdbc:virtuoso://lsm.deri.ie:1111/log_enable=2, username = <database username>. Terminating connection pool. Original Exception: ------

      12:35:59,702 INFO  [stdout] (MSC service thread 1-6) virtuoso.jdbc4.VirtuosoException: Connection failed: Connection timed out: connect

      12:35:59,702 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source)

      12:35:59,702 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source)

      12:35:59,702 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.<init>(Unknown Source)

      12:35:59,718 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.Driver.connect(Unknown Source)

      12:35:59,724 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:571)

      12:35:59,724 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:215)

      12:35:59,724 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.obtainRawInternalConnection(BoneCP.java:256)

      12:35:59,724 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.<init>(BoneCP.java:305)

      12:35:59,724 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.pooling.ConnectionManager.init(ConnectionManager.java:75)

      12:35:59,724 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.manager.SensorManager.<init>(SensorManager.java:71)

      12:35:59,724 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.OauthServletHelper.feedToServer(OauthServletHelper.java:18)

      12:35:59,724 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.add(SecurityInitializer.java:394)

      12:35:59,724 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.addPermission(SecurityInitializer.java:378)

      12:35:59,724 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.generateAuthorizationData(SecurityInitializer.java:188)

      12:35:59,724 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.initialize(SecurityInitializer.java:92)

      12:35:59,740 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.init(SecurityInitializer.java:87)

      12:35:59,740 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.ContextListener.contextInitialized(ContextListener.java:34)

      12:35:59,740 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392)

      12:35:59,740 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850)

      12:35:59,740 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90)

      12:35:59,740 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)

      12:35:59,755 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)

      12:35:59,755 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)

      12:35:59,755 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

      12:35:59,755 INFO  [stdout] (MSC service thread 1-6)    at java.lang.Thread.run(Thread.java:745)

      12:35:59,755 INFO  [stdout] (MSC service thread 1-6) ------

      12:35:59,755 INFO  [stdout] (MSC service thread 1-6)

      12:35:59,755 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.<init>(BoneCP.java:312) ~[bonecp-0.7.1.RELEASE.jar:0.7.1.RELEASE]

      12:35:59,755 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.pooling.ConnectionManager.init(ConnectionManager.java:75) ~[classes:na]

      12:35:59,771 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.manager.SensorManager.<init>(SensorManager.java:71) [classes:na]

      12:35:59,771 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.OauthServletHelper.feedToServer(OauthServletHelper.java:18) [classes:na]

      12:35:59,771 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.add(SecurityInitializer.java:394) [classes:na]

      12:35:59,771 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.addPermission(SecurityInitializer.java:378) [classes:na]

      12:35:59,771 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.generateAuthorizationData(SecurityInitializer.java:188) [classes:na]

      12:35:59,771 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.initialize(SecurityInitializer.java:92) [classes:na]

      12:35:59,787 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.init(SecurityInitializer.java:87) [classes:na]

      12:35:59,787 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.ContextListener.contextInitialized(ContextListener.java:34) [classes:na]

      12:35:59,787 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392) [jbossweb-7.0.13.Final.jar!/:na]

      12:35:59,787 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850) [jbossweb-7.0.13.Final.jar!/:na]

      12:35:59,787 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90) [jboss-as-web-7.1.1.Final.jar!/:7.1.1.Final]

      12:35:59,787 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:35:59,802 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:35:59,802 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_79]

      12:35:59,802 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_79]

      12:35:59,802 INFO  [stdout] (MSC service thread 1-6)    at java.lang.Thread.run(Thread.java:745) [na:1.7.0_79]

      12:35:59,802 INFO  [stdout] (MSC service thread 1-6) Caused by: virtuoso.jdbc4.VirtuosoException: Connection failed: Connection timed out: connect

      12:35:59,802 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:35:59,823 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:35:59,824 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.<init>(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:35:59,824 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.Driver.connect(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:35:59,824 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:571) ~[na:1.7.0_79]

      12:35:59,824 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:215) ~[na:1.7.0_79]

      12:35:59,824 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.obtainRawInternalConnection(BoneCP.java:256) ~[bonecp-0.7.1.RELEASE.jar:0.7.1.RELEASE]

      12:35:59,824 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.<init>(BoneCP.java:305) ~[bonecp-0.7.1.RELEASE.jar:0.7.1.RELEASE]

      12:35:59,824 INFO  [stdout] (MSC service thread 1-6)    ... 17 common frames omitted

      12:35:59,824 INFO  [stdout] (MSC service thread 1-6) [LSM-S] INFO  o.openiot.lsm.manager.SensorManager - insert triples into graph http://lsm.deri.ie/OpenIoT/OAuth#

      12:35:59,824 INFO  [stdout] (MSC service thread 1-6) [LSM-S] WARN  o.openiot.lsm.manager.SensorManager - Fail to insert triples into graph http://lsm.deri.ie/OpenIoT/OAuth#

      12:35:59,848 INFO  [stdout] (MSC service thread 1-6) java.lang.NullPointerException: null

      12:35:59,850 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.manager.SensorManager.insertTriplesToGraph(SensorManager.java:122) ~[classes:na]

      12:35:59,853 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.OauthServletHelper.feedToServer(OauthServletHelper.java:41) [classes:na]

      12:35:59,853 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.add(SecurityInitializer.java:394) [classes:na]

      12:35:59,853 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.addPermission(SecurityInitializer.java:378) [classes:na]

      12:35:59,853 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.generateAuthorizationData(SecurityInitializer.java:188) [classes:na]

      12:35:59,853 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.initialize(SecurityInitializer.java:92) [classes:na]

      12:35:59,853 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.init(SecurityInitializer.java:87) [classes:na]

      12:35:59,853 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.ContextListener.contextInitialized(ContextListener.java:34) [classes:na]

      12:35:59,868 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392) [jbossweb-7.0.13.Final.jar!/:na]

      12:35:59,868 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850) [jbossweb-7.0.13.Final.jar!/:na]

      12:35:59,868 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90) [jboss-as-web-7.1.1.Final.jar!/:7.1.1.Final]

      12:35:59,868 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:35:59,868 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:35:59,884 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_79]

      12:35:59,884 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_79]

      12:35:59,884 INFO  [stdout] (MSC service thread 1-6)    at java.lang.Thread.run(Thread.java:745) [na:1.7.0_79]

      12:35:59,884 INFO  [stdout] (MSC service thread 1-6) [LSM-S] INFO  o.o.lsm.pooling.ConnectionManager - Loading property file

      12:35:59,884 INFO  [stdout] (MSC service thread 1-6) [LSM-S] INFO  o.o.lsm.pooling.ConnectionManager - loading database server driver virtuoso.jdbc4.Driver

      12:36:20,933 INFO  [stdout] (MSC service thread 1-6) [LSM-S] ERROR o.o.lsm.pooling.ConnectionManager - Error making pool:

      12:36:20,934 INFO  [stdout] (MSC service thread 1-6) java.sql.SQLException: Unable to open a test connection to the given database. JDBC url = jdbc:virtuoso://lsm.deri.ie:1111/log_enable=2, username = <database username>. Terminating connection pool. Original Exception: ------

      12:36:20,942 INFO  [stdout] (MSC service thread 1-6) virtuoso.jdbc4.VirtuosoException: Connection failed: Connection timed out: connect

      12:36:20,944 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source)

      12:36:20,946 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source)

      12:36:20,947 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.<init>(Unknown Source)

      12:36:20,953 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.Driver.connect(Unknown Source)

      12:36:20,955 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:571)

      12:36:20,957 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:215)

      12:36:20,958 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.obtainRawInternalConnection(BoneCP.java:256)

      12:36:20,961 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.<init>(BoneCP.java:305)

      12:36:20,969 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.pooling.ConnectionManager.init(ConnectionManager.java:75)

      12:36:20,972 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.manager.SensorManager.<init>(SensorManager.java:71)

      12:36:20,974 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.OauthServletHelper.feedToServer(OauthServletHelper.java:18)

      12:36:20,983 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.add(SecurityInitializer.java:394)

      12:36:20,984 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.addRole(SecurityInitializer.java:382)

      12:36:20,986 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.generateAuthorizationData(SecurityInitializer.java:193)

      12:36:20,988 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.initialize(SecurityInitializer.java:92)

      12:36:20,989 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.init(SecurityInitializer.java:87)

      12:36:20,997 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.ContextListener.contextInitialized(ContextListener.java:34)

      12:36:20,998 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392)

      12:36:21,001 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850)

      12:36:21,002 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90)

      12:36:21,004 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)

      12:36:21,010 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)

      12:36:21,012 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)

      12:36:21,014 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

      12:36:21,016 INFO  [stdout] (MSC service thread 1-6)    at java.lang.Thread.run(Thread.java:745)

      12:36:21,017 INFO  [stdout] (MSC service thread 1-6) ------

      12:36:21,024 INFO  [stdout] (MSC service thread 1-6)

      12:36:21,025 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.<init>(BoneCP.java:312) ~[bonecp-0.7.1.RELEASE.jar:0.7.1.RELEASE]

      12:36:21,028 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.pooling.ConnectionManager.init(ConnectionManager.java:75) ~[classes:na]

      12:36:21,030 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.manager.SensorManager.<init>(SensorManager.java:71) [classes:na]

      12:36:21,031 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.OauthServletHelper.feedToServer(OauthServletHelper.java:18) [classes:na]

      12:36:21,037 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.add(SecurityInitializer.java:394) [classes:na]

      12:36:21,039 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.addRole(SecurityInitializer.java:382) [classes:na]

      12:36:21,041 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.generateAuthorizationData(SecurityInitializer.java:193) [classes:na]

      12:36:21,044 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.initialize(SecurityInitializer.java:92) [classes:na]

      12:36:21,050 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.init(SecurityInitializer.java:87) [classes:na]

      12:36:21,052 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.ContextListener.contextInitialized(ContextListener.java:34) [classes:na]

      12:36:21,053 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392) [jbossweb-7.0.13.Final.jar!/:na]

      12:36:21,056 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850) [jbossweb-7.0.13.Final.jar!/:na]

      12:36:21,057 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90) [jboss-as-web-7.1.1.Final.jar!/:7.1.1.Final]

      12:36:21,066 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:36:21,068 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:36:21,070 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_79]

      12:36:21,072 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_79]

      12:36:21,073 INFO  [stdout] (MSC service thread 1-6)    at java.lang.Thread.run(Thread.java:745) [na:1.7.0_79]

      12:36:21,074 INFO  [stdout] (MSC service thread 1-6) Caused by: virtuoso.jdbc4.VirtuosoException: Connection failed: Connection timed out: connect

      12:36:21,081 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:36:21,083 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:36:21,085 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.<init>(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:36:21,087 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.Driver.connect(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:36:21,088 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:571) ~[na:1.7.0_79]

      12:36:21,093 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:215) ~[na:1.7.0_79]

      12:36:21,096 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.obtainRawInternalConnection(BoneCP.java:256) ~[bonecp-0.7.1.RELEASE.jar:0.7.1.RELEASE]

      12:36:21,098 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.<init>(BoneCP.java:305) ~[bonecp-0.7.1.RELEASE.jar:0.7.1.RELEASE]

      12:36:21,099 INFO  [stdout] (MSC service thread 1-6)    ... 17 common frames omitted

      12:36:21,101 INFO  [stdout] (MSC service thread 1-6) [LSM-S] INFO  o.openiot.lsm.manager.SensorManager - insert triples into graph http://lsm.deri.ie/OpenIoT/OAuth#

      12:36:21,108 INFO  [stdout] (MSC service thread 1-6) [LSM-S] WARN  o.openiot.lsm.manager.SensorManager - Fail to insert triples into graph http://lsm.deri.ie/OpenIoT/OAuth#

      12:36:21,110 INFO  [stdout] (MSC service thread 1-6) java.lang.NullPointerException: null

      12:36:21,112 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.manager.SensorManager.insertTriplesToGraph(SensorManager.java:122) ~[classes:na]

      12:36:21,113 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.OauthServletHelper.feedToServer(OauthServletHelper.java:41) [classes:na]

      12:36:21,119 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.add(SecurityInitializer.java:394) [classes:na]

      12:36:21,121 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.addRole(SecurityInitializer.java:382) [classes:na]

      12:36:21,123 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.generateAuthorizationData(SecurityInitializer.java:193) [classes:na]

      12:36:21,125 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.initialize(SecurityInitializer.java:92) [classes:na]

      12:36:21,127 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.init(SecurityInitializer.java:87) [classes:na]

      12:36:21,133 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.ContextListener.contextInitialized(ContextListener.java:34) [classes:na]

      12:36:21,134 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392) [jbossweb-7.0.13.Final.jar!/:na]

      12:36:21,136 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850) [jbossweb-7.0.13.Final.jar!/:na]

      12:36:21,138 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90) [jboss-as-web-7.1.1.Final.jar!/:7.1.1.Final]

      12:36:21,140 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:36:21,147 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:36:21,149 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_79]

      12:36:21,151 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_79]

      12:36:21,153 INFO  [stdout] (MSC service thread 1-6)    at java.lang.Thread.run(Thread.java:745) [na:1.7.0_79]

      12:36:21,156 INFO  [stdout] (MSC service thread 1-6) [LSM-S] INFO  o.o.lsm.pooling.ConnectionManager - Loading property file

      12:36:21,162 INFO  [stdout] (MSC service thread 1-6) [LSM-S] INFO  o.o.lsm.pooling.ConnectionManager - loading database server driver virtuoso.jdbc4.Driver

      12:36:42,194 INFO  [stdout] (MSC service thread 1-6) [LSM-S] ERROR o.o.lsm.pooling.ConnectionManager - Error making pool:

      12:36:42,194 INFO  [stdout] (MSC service thread 1-6) java.sql.SQLException: Unable to open a test connection to the given database. JDBC url = jdbc:virtuoso://lsm.deri.ie:1111/log_enable=2, username = <database username>. Terminating connection pool. Original Exception: ------

      12:36:42,194 INFO  [stdout] (MSC service thread 1-6) virtuoso.jdbc4.VirtuosoException: Connection failed: Connection timed out: connect

      12:36:42,194 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source)

      12:36:42,194 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source)

      12:36:42,210 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.<init>(Unknown Source)

      12:36:42,210 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.Driver.connect(Unknown Source)

      12:36:42,210 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:571)

      12:36:42,210 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:215)

      12:36:42,210 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.obtainRawInternalConnection(BoneCP.java:256)

      12:36:42,210 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.<init>(BoneCP.java:305)

      12:36:42,210 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.pooling.ConnectionManager.init(ConnectionManager.java:75)

      12:36:42,210 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.manager.SensorManager.<init>(SensorManager.java:71)

      12:36:42,210 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.OauthServletHelper.feedToServer(OauthServletHelper.java:18)

      12:36:42,210 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.add(SecurityInitializer.java:394)

      12:36:42,225 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.addUser(SecurityInitializer.java:386)

      12:36:42,225 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.generateAuthorizationData(SecurityInitializer.java:200)

      12:36:42,225 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.initialize(SecurityInitializer.java:92)

      12:36:42,225 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.init(SecurityInitializer.java:87)

      12:36:42,225 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.ContextListener.contextInitialized(ContextListener.java:34)

      12:36:42,225 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392)

      12:36:42,247 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850)

      12:36:42,248 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90)

      12:36:42,248 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)

      12:36:42,248 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)

      12:36:42,248 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)

      12:36:42,248 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

      12:36:42,248 INFO  [stdout] (MSC service thread 1-6)    at java.lang.Thread.run(Thread.java:745)

      12:36:42,248 INFO  [stdout] (MSC service thread 1-6) ------

      12:36:42,248 INFO  [stdout] (MSC service thread 1-6)

      12:36:42,248 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.<init>(BoneCP.java:312) ~[bonecp-0.7.1.RELEASE.jar:0.7.1.RELEASE]

      12:36:42,248 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.pooling.ConnectionManager.init(ConnectionManager.java:75) ~[classes:na]

      12:36:42,248 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.manager.SensorManager.<init>(SensorManager.java:71) [classes:na]

      12:36:42,263 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.OauthServletHelper.feedToServer(OauthServletHelper.java:18) [classes:na]

      12:36:42,263 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.add(SecurityInitializer.java:394) [classes:na]

      12:36:42,263 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.addUser(SecurityInitializer.java:386) [classes:na]

      12:36:42,263 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.generateAuthorizationData(SecurityInitializer.java:200) [classes:na]

      12:36:42,279 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.initialize(SecurityInitializer.java:92) [classes:na]

      12:36:42,279 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.init(SecurityInitializer.java:87) [classes:na]

      12:36:42,279 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.ContextListener.contextInitialized(ContextListener.java:34) [classes:na]

      12:36:42,279 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392) [jbossweb-7.0.13.Final.jar!/:na]

      12:36:42,279 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850) [jbossweb-7.0.13.Final.jar!/:na]

      12:36:42,279 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90) [jboss-as-web-7.1.1.Final.jar!/:7.1.1.Final]

      12:36:42,294 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:36:42,294 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:36:42,294 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_79]

      12:36:42,294 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_79]

      12:36:42,294 INFO  [stdout] (MSC service thread 1-6)    at java.lang.Thread.run(Thread.java:745) [na:1.7.0_79]

      12:36:42,294 INFO  [stdout] (MSC service thread 1-6) Caused by: virtuoso.jdbc4.VirtuosoException: Connection failed: Connection timed out: connect

      12:36:42,310 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:36:42,310 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:36:42,310 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.<init>(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:36:42,310 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.Driver.connect(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:36:42,310 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:571) ~[na:1.7.0_79]

      12:36:42,310 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:215) ~[na:1.7.0_79]

      12:36:42,310 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.obtainRawInternalConnection(BoneCP.java:256) ~[bonecp-0.7.1.RELEASE.jar:0.7.1.RELEASE]

      12:36:42,326 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.<init>(BoneCP.java:305) ~[bonecp-0.7.1.RELEASE.jar:0.7.1.RELEASE]

      12:36:42,326 INFO  [stdout] (MSC service thread 1-6)    ... 17 common frames omitted

      12:36:42,326 INFO  [stdout] (MSC service thread 1-6) [LSM-S] INFO  o.openiot.lsm.manager.SensorManager - insert triples into graph http://lsm.deri.ie/OpenIoT/OAuth#

      12:36:42,326 INFO  [stdout] (MSC service thread 1-6) [LSM-S] WARN  o.openiot.lsm.manager.SensorManager - Fail to insert triples into graph http://lsm.deri.ie/OpenIoT/OAuth#

      12:36:42,326 INFO  [stdout] (MSC service thread 1-6) java.lang.NullPointerException: null

      12:36:42,326 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.manager.SensorManager.insertTriplesToGraph(SensorManager.java:122) ~[classes:na]

      12:36:42,347 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.OauthServletHelper.feedToServer(OauthServletHelper.java:41) [classes:na]

      12:36:42,347 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.add(SecurityInitializer.java:394) [classes:na]

      12:36:42,347 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.addUser(SecurityInitializer.java:386) [classes:na]

      12:36:42,347 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.generateAuthorizationData(SecurityInitializer.java:200) [classes:na]

      12:36:42,347 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.initialize(SecurityInitializer.java:92) [classes:na]

      12:36:42,347 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.init(SecurityInitializer.java:87) [classes:na]

      12:36:42,347 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.ContextListener.contextInitialized(ContextListener.java:34) [classes:na]

      12:36:42,347 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392) [jbossweb-7.0.13.Final.jar!/:na]

      12:36:42,347 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850) [jbossweb-7.0.13.Final.jar!/:na]

      12:36:42,363 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90) [jboss-as-web-7.1.1.Final.jar!/:7.1.1.Final]

      12:36:42,363 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:36:42,363 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:36:42,363 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_79]

      12:36:42,363 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_79]

      12:36:42,363 INFO  [stdout] (MSC service thread 1-6)    at java.lang.Thread.run(Thread.java:745) [na:1.7.0_79]

      12:36:42,378 INFO  [stdout] (MSC service thread 1-6) [LSM-S] INFO  o.o.lsm.pooling.ConnectionManager - Loading property file

      12:36:42,378 INFO  [stdout] (MSC service thread 1-6) [LSM-S] INFO  o.o.lsm.pooling.ConnectionManager - loading database server driver virtuoso.jdbc4.Driver

      12:37:03,401 INFO  [stdout] (MSC service thread 1-6) [LSM-S] ERROR o.o.lsm.pooling.ConnectionManager - Error making pool:

      12:37:03,402 INFO  [stdout] (MSC service thread 1-6) java.sql.SQLException: Unable to open a test connection to the given database. JDBC url = jdbc:virtuoso://lsm.deri.ie:1111/log_enable=2, username = <database username>. Terminating connection pool. Original Exception: ------

      12:37:03,410 INFO  [stdout] (MSC service thread 1-6) virtuoso.jdbc4.VirtuosoException: Connection failed: Connection timed out: connect

      12:37:03,412 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source)

      12:37:03,414 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source)

      12:37:03,421 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.<init>(Unknown Source)

      12:37:03,422 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.Driver.connect(Unknown Source)

      12:37:03,424 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:571)

      12:37:03,426 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:215)

      12:37:03,427 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.obtainRawInternalConnection(BoneCP.java:256)

      12:37:03,435 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.<init>(BoneCP.java:305)

      12:37:03,436 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.pooling.ConnectionManager.init(ConnectionManager.java:75)

      12:37:03,439 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.manager.SensorManager.<init>(SensorManager.java:71)

      12:37:03,440 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.OauthServletHelper.feedToServer(OauthServletHelper.java:18)

      12:37:03,442 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.add(SecurityInitializer.java:394)

      12:37:03,451 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.addRole(SecurityInitializer.java:382)

      12:37:03,453 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.generateAuthorizationData(SecurityInitializer.java:204)

      12:37:03,455 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.initialize(SecurityInitializer.java:92)

      12:37:03,457 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.init(SecurityInitializer.java:87)

      12:37:03,459 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.ContextListener.contextInitialized(ContextListener.java:34)

      12:37:03,467 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392)

      12:37:03,469 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850)

      12:37:03,472 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90)

      12:37:03,476 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)

      12:37:03,484 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)

      12:37:03,486 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)

      12:37:03,488 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

      12:37:03,489 INFO  [stdout] (MSC service thread 1-6)    at java.lang.Thread.run(Thread.java:745)

      12:37:03,491 INFO  [stdout] (MSC service thread 1-6) ------

      12:37:03,496 INFO  [stdout] (MSC service thread 1-6)

      12:37:03,496 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.<init>(BoneCP.java:312) ~[bonecp-0.7.1.RELEASE.jar:0.7.1.RELEASE]

      12:37:03,496 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.pooling.ConnectionManager.init(ConnectionManager.java:75) ~[classes:na]

      12:37:03,496 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.manager.SensorManager.<init>(SensorManager.java:71) [classes:na]

      12:37:03,496 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.OauthServletHelper.feedToServer(OauthServletHelper.java:18) [classes:na]

      12:37:03,496 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.add(SecurityInitializer.java:394) [classes:na]

      12:37:03,496 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.addRole(SecurityInitializer.java:382) [classes:na]

      12:37:03,513 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.generateAuthorizationData(SecurityInitializer.java:204) [classes:na]

      12:37:03,513 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.initialize(SecurityInitializer.java:92) [classes:na]

      12:37:03,513 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.init(SecurityInitializer.java:87) [classes:na]

      12:37:03,513 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.ContextListener.contextInitialized(ContextListener.java:34) [classes:na]

      12:37:03,513 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392) [jbossweb-7.0.13.Final.jar!/:na]

      12:37:03,528 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850) [jbossweb-7.0.13.Final.jar!/:na]

      12:37:03,528 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90) [jboss-as-web-7.1.1.Final.jar!/:7.1.1.Final]

      12:37:03,528 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:37:03,528 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:37:03,528 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_79]

      12:37:03,544 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_79]

      12:37:03,544 INFO  [stdout] (MSC service thread 1-6)    at java.lang.Thread.run(Thread.java:745) [na:1.7.0_79]

      12:37:03,544 INFO  [stdout] (MSC service thread 1-6) Caused by: virtuoso.jdbc4.VirtuosoException: Connection failed: Connection timed out: connect

      12:37:03,544 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:37:03,544 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:37:03,544 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.<init>(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:37:03,560 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.Driver.connect(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:37:03,560 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:571) ~[na:1.7.0_79]

      12:37:03,560 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:215) ~[na:1.7.0_79]

      12:37:03,560 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.obtainRawInternalConnection(BoneCP.java:256) ~[bonecp-0.7.1.RELEASE.jar:0.7.1.RELEASE]

      12:37:03,560 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.<init>(BoneCP.java:305) ~[bonecp-0.7.1.RELEASE.jar:0.7.1.RELEASE]

      12:37:03,560 INFO  [stdout] (MSC service thread 1-6)    ... 17 common frames omitted

      12:37:03,591 INFO  [stdout] (MSC service thread 1-6) [LSM-S] INFO  o.openiot.lsm.manager.SensorManager - insert triples into graph http://lsm.deri.ie/OpenIoT/OAuth#

      12:37:03,591 INFO  [stdout] (MSC service thread 1-6) [LSM-S] WARN  o.openiot.lsm.manager.SensorManager - Fail to insert triples into graph http://lsm.deri.ie/OpenIoT/OAuth#

      12:37:03,591 INFO  [stdout] (MSC service thread 1-6) java.lang.NullPointerException: null

      12:37:03,591 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.manager.SensorManager.insertTriplesToGraph(SensorManager.java:122) ~[classes:na]

      12:37:03,591 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.OauthServletHelper.feedToServer(OauthServletHelper.java:41) [classes:na]

      12:37:03,591 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.add(SecurityInitializer.java:394) [classes:na]

      12:37:03,613 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.addRole(SecurityInitializer.java:382) [classes:na]

      12:37:03,613 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.generateAuthorizationData(SecurityInitializer.java:204) [classes:na]

      12:37:03,613 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.initialize(SecurityInitializer.java:92) [classes:na]

      12:37:03,613 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.init(SecurityInitializer.java:87) [classes:na]

      12:37:03,613 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.ContextListener.contextInitialized(ContextListener.java:34) [classes:na]

      12:37:03,613 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392) [jbossweb-7.0.13.Final.jar!/:na]

      12:37:03,613 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850) [jbossweb-7.0.13.Final.jar!/:na]

      12:37:03,613 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90) [jboss-as-web-7.1.1.Final.jar!/:7.1.1.Final]

      12:37:03,628 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:37:03,628 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:37:03,628 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_79]

      12:37:03,628 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_79]

      12:37:03,644 INFO  [stdout] (MSC service thread 1-6)    at java.lang.Thread.run(Thread.java:745) [na:1.7.0_79]

      12:37:03,644 INFO  [stdout] (MSC service thread 1-6) [LSM-S] INFO  o.o.lsm.pooling.ConnectionManager - Loading property file

      12:37:03,644 INFO  [stdout] (MSC service thread 1-6) [LSM-S] INFO  o.o.lsm.pooling.ConnectionManager - loading database server driver virtuoso.jdbc4.Driver

      12:37:24,671 INFO  [stdout] (MSC service thread 1-6) [LSM-S] ERROR o.o.lsm.pooling.ConnectionManager - Error making pool:

      12:37:24,671 INFO  [stdout] (MSC service thread 1-6) java.sql.SQLException: Unable to open a test connection to the given database. JDBC url = jdbc:virtuoso://lsm.deri.ie:1111/log_enable=2, username = <database username>. Terminating connection pool. Original Exception: ------

      12:37:24,671 INFO  [stdout] (MSC service thread 1-6) virtuoso.jdbc4.VirtuosoException: Connection failed: Connection timed out: connect

      12:37:24,671 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source)

      12:37:24,671 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source)

      12:37:24,671 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.<init>(Unknown Source)

      12:37:24,671 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.Driver.connect(Unknown Source)

      12:37:24,671 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:571)

      12:37:24,687 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:215)

      12:37:24,687 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.obtainRawInternalConnection(BoneCP.java:256)

      12:37:24,687 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.<init>(BoneCP.java:305)

      12:37:24,687 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.pooling.ConnectionManager.init(ConnectionManager.java:75)

      12:37:24,687 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.manager.SensorManager.<init>(SensorManager.java:71)

      12:37:24,687 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.OauthServletHelper.feedToServer(OauthServletHelper.java:18)

      12:37:24,687 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.add(SecurityInitializer.java:394)

      12:37:24,702 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.addUser(SecurityInitializer.java:386)

      12:37:24,702 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.generateAuthorizationData(SecurityInitializer.java:208)

      12:37:24,702 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.initialize(SecurityInitializer.java:92)

      12:37:24,702 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.init(SecurityInitializer.java:87)

      12:37:24,702 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.ContextListener.contextInitialized(ContextListener.java:34)

      12:37:24,702 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392)

      12:37:24,702 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850)

      12:37:24,718 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90)

      12:37:24,718 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)

      12:37:24,718 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)

      12:37:24,718 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)

      12:37:24,718 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

      12:37:24,734 INFO  [stdout] (MSC service thread 1-6)    at java.lang.Thread.run(Thread.java:745)

      12:37:24,734 INFO  [stdout] (MSC service thread 1-6) ------

      12:37:24,734 INFO  [stdout] (MSC service thread 1-6)

      12:37:24,734 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.<init>(BoneCP.java:312) ~[bonecp-0.7.1.RELEASE.jar:0.7.1.RELEASE]

      12:37:24,734 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.pooling.ConnectionManager.init(ConnectionManager.java:75) ~[classes:na]

      12:37:24,734 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.manager.SensorManager.<init>(SensorManager.java:71) [classes:na]

      12:37:24,734 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.OauthServletHelper.feedToServer(OauthServletHelper.java:18) [classes:na]

      12:37:24,734 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.add(SecurityInitializer.java:394) [classes:na]

      12:37:24,749 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.addUser(SecurityInitializer.java:386) [classes:na]

      12:37:24,749 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.generateAuthorizationData(SecurityInitializer.java:208) [classes:na]

      12:37:24,749 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.initialize(SecurityInitializer.java:92) [classes:na]

      12:37:24,749 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.init(SecurityInitializer.java:87) [classes:na]

      12:37:24,749 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.ContextListener.contextInitialized(ContextListener.java:34) [classes:na]

      12:37:24,749 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392) [jbossweb-7.0.13.Final.jar!/:na]

      12:37:24,770 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850) [jbossweb-7.0.13.Final.jar!/:na]

      12:37:24,771 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90) [jboss-as-web-7.1.1.Final.jar!/:7.1.1.Final]

      12:37:24,771 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:37:24,771 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:37:24,771 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_79]

      12:37:24,771 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_79]

      12:37:24,771 INFO  [stdout] (MSC service thread 1-6)    at java.lang.Thread.run(Thread.java:745) [na:1.7.0_79]

      12:37:24,771 INFO  [stdout] (MSC service thread 1-6) Caused by: virtuoso.jdbc4.VirtuosoException: Connection failed: Connection timed out: connect

      12:37:24,771 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:37:24,771 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:37:24,787 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.<init>(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:37:24,787 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.Driver.connect(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:37:24,787 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:571) ~[na:1.7.0_79]

      12:37:24,787 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:215) ~[na:1.7.0_79]

      12:37:24,787 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.obtainRawInternalConnection(BoneCP.java:256) ~[bonecp-0.7.1.RELEASE.jar:0.7.1.RELEASE]

      12:37:24,787 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.<init>(BoneCP.java:305) ~[bonecp-0.7.1.RELEASE.jar:0.7.1.RELEASE]

      12:37:24,803 INFO  [stdout] (MSC service thread 1-6)    ... 17 common frames omitted

      12:37:24,803 INFO  [stdout] (MSC service thread 1-6) [LSM-S] INFO  o.openiot.lsm.manager.SensorManager - insert triples into graph http://lsm.deri.ie/OpenIoT/OAuth#

      12:37:24,803 INFO  [stdout] (MSC service thread 1-6) [LSM-S] WARN  o.openiot.lsm.manager.SensorManager - Fail to insert triples into graph http://lsm.deri.ie/OpenIoT/OAuth#

      12:37:24,803 INFO  [stdout] (MSC service thread 1-6) java.lang.NullPointerException: null

      12:37:24,803 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.manager.SensorManager.insertTriplesToGraph(SensorManager.java:122) ~[classes:na]

      12:37:24,803 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.OauthServletHelper.feedToServer(OauthServletHelper.java:41) [classes:na]

      12:37:24,818 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.add(SecurityInitializer.java:394) [classes:na]

      12:37:24,818 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.addUser(SecurityInitializer.java:386) [classes:na]

      12:37:24,818 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.generateAuthorizationData(SecurityInitializer.java:208) [classes:na]

      12:37:24,818 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.initialize(SecurityInitializer.java:92) [classes:na]

      12:37:24,818 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.init(SecurityInitializer.java:87) [classes:na]

      12:37:24,818 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.ContextListener.contextInitialized(ContextListener.java:34) [classes:na]

      12:37:24,834 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392) [jbossweb-7.0.13.Final.jar!/:na]

      12:37:24,834 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850) [jbossweb-7.0.13.Final.jar!/:na]

      12:37:24,834 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90) [jboss-as-web-7.1.1.Final.jar!/:7.1.1.Final]

      12:37:24,834 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:37:24,834 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:37:24,834 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_79]

      12:37:24,849 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_79]

      12:37:24,849 INFO  [stdout] (MSC service thread 1-6)    at java.lang.Thread.run(Thread.java:745) [na:1.7.0_79]

      12:37:24,849 INFO  [stdout] (MSC service thread 1-6) [LSM-S] INFO  o.o.lsm.pooling.ConnectionManager - Loading property file

      12:37:24,849 INFO  [stdout] (MSC service thread 1-6) [LSM-S] INFO  o.o.lsm.pooling.ConnectionManager - loading database server driver virtuoso.jdbc4.Driver

      12:37:45,887 INFO  [stdout] (MSC service thread 1-6) [LSM-S] ERROR o.o.lsm.pooling.ConnectionManager - Error making pool:

      12:37:45,887 INFO  [stdout] (MSC service thread 1-6) java.sql.SQLException: Unable to open a test connection to the given database. JDBC url = jdbc:virtuoso://lsm.deri.ie:1111/log_enable=2, username = <database username>. Terminating connection pool. Original Exception: ------

      12:37:45,887 INFO  [stdout] (MSC service thread 1-6) virtuoso.jdbc4.VirtuosoException: Connection failed: Connection timed out: connect

      12:37:45,887 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source)

      12:37:45,887 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source)

      12:37:45,887 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.<init>(Unknown Source)

      12:37:45,903 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.Driver.connect(Unknown Source)

      12:37:45,903 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:571)

      12:37:45,903 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:215)

      12:37:45,903 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.obtainRawInternalConnection(BoneCP.java:256)

      12:37:45,903 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.<init>(BoneCP.java:305)

      12:37:45,903 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.pooling.ConnectionManager.init(ConnectionManager.java:75)

      12:37:45,903 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.manager.SensorManager.<init>(SensorManager.java:71)

      12:37:45,903 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.OauthServletHelper.feedToServer(OauthServletHelper.java:18)

      12:37:45,918 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.add(SecurityInitializer.java:394)

      12:37:45,918 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.addUser(SecurityInitializer.java:386)

      12:37:45,918 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.generateAuthorizationData(SecurityInitializer.java:215)

      12:37:45,918 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.initialize(SecurityInitializer.java:92)

      12:37:45,918 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.init(SecurityInitializer.java:87)

      12:37:45,918 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.ContextListener.contextInitialized(ContextListener.java:34)

      12:37:45,938 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392)

      12:37:45,940 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850)

      12:37:45,940 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90)

      12:37:45,940 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)

      12:37:45,940 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)

      12:37:45,940 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)

      12:37:45,940 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

      12:37:45,940 INFO  [stdout] (MSC service thread 1-6)    at java.lang.Thread.run(Thread.java:745)

      12:37:45,940 INFO  [stdout] (MSC service thread 1-6) ------

      12:37:45,940 INFO  [stdout] (MSC service thread 1-6)

      12:37:45,940 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.<init>(BoneCP.java:312) ~[bonecp-0.7.1.RELEASE.jar:0.7.1.RELEASE]

      12:37:45,956 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.pooling.ConnectionManager.init(ConnectionManager.java:75) ~[classes:na]

      12:37:45,956 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.manager.SensorManager.<init>(SensorManager.java:71) [classes:na]

      12:37:45,956 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.OauthServletHelper.feedToServer(OauthServletHelper.java:18) [classes:na]

      12:37:45,956 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.add(SecurityInitializer.java:394) [classes:na]

      12:37:45,956 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.addUser(SecurityInitializer.java:386) [classes:na]

      12:37:45,956 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.generateAuthorizationData(SecurityInitializer.java:215) [classes:na]

      12:37:45,972 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.initialize(SecurityInitializer.java:92) [classes:na]

      12:37:45,972 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.init(SecurityInitializer.java:87) [classes:na]

      12:37:45,972 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.ContextListener.contextInitialized(ContextListener.java:34) [classes:na]

      12:37:45,972 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392) [jbossweb-7.0.13.Final.jar!/:na]

      12:37:45,972 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850) [jbossweb-7.0.13.Final.jar!/:na]

      12:37:45,972 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90) [jboss-as-web-7.1.1.Final.jar!/:7.1.1.Final]

      12:37:45,987 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:37:45,987 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:37:45,987 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_79]

      12:37:45,987 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_79]

      12:37:46,003 INFO  [stdout] (MSC service thread 1-6)    at java.lang.Thread.run(Thread.java:745) [na:1.7.0_79]

      12:37:46,003 INFO  [stdout] (MSC service thread 1-6) Caused by: virtuoso.jdbc4.VirtuosoException: Connection failed: Connection timed out: connect

      12:37:46,003 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:37:46,003 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:37:46,003 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.<init>(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:37:46,003 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.Driver.connect(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:37:46,003 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:571) ~[na:1.7.0_79]

      12:37:46,019 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:215) ~[na:1.7.0_79]

      12:37:46,019 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.obtainRawInternalConnection(BoneCP.java:256) ~[bonecp-0.7.1.RELEASE.jar:0.7.1.RELEASE]

      12:37:46,019 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.<init>(BoneCP.java:305) ~[bonecp-0.7.1.RELEASE.jar:0.7.1.RELEASE]

      12:37:46,019 INFO  [stdout] (MSC service thread 1-6)    ... 17 common frames omitted

      12:37:46,040 INFO  [stdout] (MSC service thread 1-6) [LSM-S] INFO  o.openiot.lsm.manager.SensorManager - insert triples into graph http://lsm.deri.ie/OpenIoT/OAuth#

      12:37:46,040 INFO  [stdout] (MSC service thread 1-6) [LSM-S] WARN  o.openiot.lsm.manager.SensorManager - Fail to insert triples into graph http://lsm.deri.ie/OpenIoT/OAuth#

      12:37:46,040 INFO  [stdout] (MSC service thread 1-6) java.lang.NullPointerException: null

      12:37:46,040 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.manager.SensorManager.insertTriplesToGraph(SensorManager.java:122) ~[classes:na]

      12:37:46,040 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.OauthServletHelper.feedToServer(OauthServletHelper.java:41) [classes:na]

      12:37:46,040 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.add(SecurityInitializer.java:394) [classes:na]

      12:37:46,040 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.addUser(SecurityInitializer.java:386) [classes:na]

      12:37:46,040 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.generateAuthorizationData(SecurityInitializer.java:215) [classes:na]

      12:37:46,056 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.initialize(SecurityInitializer.java:92) [classes:na]

      12:37:46,056 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.init(SecurityInitializer.java:87) [classes:na]

      12:37:46,056 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.ContextListener.contextInitialized(ContextListener.java:34) [classes:na]

      12:37:46,056 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392) [jbossweb-7.0.13.Final.jar!/:na]

      12:37:46,056 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850) [jbossweb-7.0.13.Final.jar!/:na]

      12:37:46,056 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90) [jboss-as-web-7.1.1.Final.jar!/:7.1.1.Final]

      12:37:46,072 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:37:46,072 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:37:46,072 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_79]

      12:37:46,072 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_79]

      12:37:46,072 INFO  [stdout] (MSC service thread 1-6)    at java.lang.Thread.run(Thread.java:745) [na:1.7.0_79]

      12:37:46,087 INFO  [stdout] (MSC service thread 1-6) [LSM-S] INFO  o.o.lsm.pooling.ConnectionManager - Loading property file

      12:37:46,087 INFO  [stdout] (MSC service thread 1-6) [LSM-S] INFO  o.o.lsm.pooling.ConnectionManager - loading database server driver virtuoso.jdbc4.Driver

      12:38:07,141 INFO  [stdout] (MSC service thread 1-6) [LSM-S] ERROR o.o.lsm.pooling.ConnectionManager - Error making pool:

      12:38:07,141 INFO  [stdout] (MSC service thread 1-6) java.sql.SQLException: Unable to open a test connection to the given database. JDBC url = jdbc:virtuoso://lsm.deri.ie:1111/log_enable=2, username = <database username>. Terminating connection pool. Original Exception: ------

      12:38:07,141 INFO  [stdout] (MSC service thread 1-6) virtuoso.jdbc4.VirtuosoException: Connection failed: Connection timed out: connect

      12:38:07,141 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source)

      12:38:07,141 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source)

      12:38:07,141 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.<init>(Unknown Source)

      12:38:07,141 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.Driver.connect(Unknown Source)

      12:38:07,157 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:571)

      12:38:07,172 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:215)

      12:38:07,172 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.obtainRawInternalConnection(BoneCP.java:256)

      12:38:07,172 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.<init>(BoneCP.java:305)

      12:38:07,172 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.pooling.ConnectionManager.init(ConnectionManager.java:75)

      12:38:07,172 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.manager.SensorManager.<init>(SensorManager.java:71)

      12:38:07,172 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.OauthServletHelper.feedToServer(OauthServletHelper.java:18)

      12:38:07,172 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.add(SecurityInitializer.java:394)

      12:38:07,188 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.addRole(SecurityInitializer.java:382)

      12:38:07,194 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.generateAuthorizationData(SecurityInitializer.java:220)

      12:38:07,194 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.initialize(SecurityInitializer.java:92)

      12:38:07,194 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.init(SecurityInitializer.java:87)

      12:38:07,194 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.ContextListener.contextInitialized(ContextListener.java:34)

      12:38:07,194 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392)

      12:38:07,194 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850)

      12:38:07,194 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90)

      12:38:07,194 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)

      12:38:07,194 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)

      12:38:07,210 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)

      12:38:07,210 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

      12:38:07,210 INFO  [stdout] (MSC service thread 1-6)    at java.lang.Thread.run(Thread.java:745)

      12:38:07,210 INFO  [stdout] (MSC service thread 1-6) ------

      12:38:07,210 INFO  [stdout] (MSC service thread 1-6)

      12:38:07,210 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.<init>(BoneCP.java:312) ~[bonecp-0.7.1.RELEASE.jar:0.7.1.RELEASE]

      12:38:07,210 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.pooling.ConnectionManager.init(ConnectionManager.java:75) ~[classes:na]

      12:38:07,226 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.manager.SensorManager.<init>(SensorManager.java:71) [classes:na]

      12:38:07,226 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.OauthServletHelper.feedToServer(OauthServletHelper.java:18) [classes:na]

      12:38:07,226 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.add(SecurityInitializer.java:394) [classes:na]

      12:38:07,226 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.addRole(SecurityInitializer.java:382) [classes:na]

      12:38:07,226 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.generateAuthorizationData(SecurityInitializer.java:220) [classes:na]

      12:38:07,226 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.initialize(SecurityInitializer.java:92) [classes:na]

      12:38:07,241 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.init(SecurityInitializer.java:87) [classes:na]

      12:38:07,241 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.ContextListener.contextInitialized(ContextListener.java:34) [classes:na]

      12:38:07,241 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392) [jbossweb-7.0.13.Final.jar!/:na]

      12:38:07,241 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850) [jbossweb-7.0.13.Final.jar!/:na]

      12:38:07,241 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90) [jboss-as-web-7.1.1.Final.jar!/:7.1.1.Final]

      12:38:07,257 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:38:07,257 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:38:07,257 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_79]

      12:38:07,257 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_79]

      12:38:07,257 INFO  [stdout] (MSC service thread 1-6)    at java.lang.Thread.run(Thread.java:745) [na:1.7.0_79]

      12:38:07,257 INFO  [stdout] (MSC service thread 1-6) Caused by: virtuoso.jdbc4.VirtuosoException: Connection failed: Connection timed out: connect

      12:38:07,272 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:38:07,272 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:38:07,272 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.<init>(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:38:07,272 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.Driver.connect(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:38:07,272 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:571) ~[na:1.7.0_79]

      12:38:07,272 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:215) ~[na:1.7.0_79]

      12:38:07,272 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.obtainRawInternalConnection(BoneCP.java:256) ~[bonecp-0.7.1.RELEASE.jar:0.7.1.RELEASE]

      12:38:07,294 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.<init>(BoneCP.java:305) ~[bonecp-0.7.1.RELEASE.jar:0.7.1.RELEASE]

      12:38:07,294 INFO  [stdout] (MSC service thread 1-6)    ... 17 common frames omitted

      12:38:07,294 INFO  [stdout] (MSC service thread 1-6) [LSM-S] INFO  o.openiot.lsm.manager.SensorManager - insert triples into graph http://lsm.deri.ie/OpenIoT/OAuth#

      12:38:07,310 INFO  [stdout] (MSC service thread 1-6) [LSM-S] WARN  o.openiot.lsm.manager.SensorManager - Fail to insert triples into graph http://lsm.deri.ie/OpenIoT/OAuth#

      12:38:07,310 INFO  [stdout] (MSC service thread 1-6) java.lang.NullPointerException: null

      12:38:07,310 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.manager.SensorManager.insertTriplesToGraph(SensorManager.java:122) ~[classes:na]

      12:38:07,310 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.OauthServletHelper.feedToServer(OauthServletHelper.java:41) [classes:na]

      12:38:07,310 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.add(SecurityInitializer.java:394) [classes:na]

      12:38:07,310 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.addRole(SecurityInitializer.java:382) [classes:na]

      12:38:07,310 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.generateAuthorizationData(SecurityInitializer.java:220) [classes:na]

      12:38:07,326 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.initialize(SecurityInitializer.java:92) [classes:na]

      12:38:07,326 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.init(SecurityInitializer.java:87) [classes:na]

      12:38:07,326 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.ContextListener.contextInitialized(ContextListener.java:34) [classes:na]

      12:38:07,326 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392) [jbossweb-7.0.13.Final.jar!/:na]

      12:38:07,326 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850) [jbossweb-7.0.13.Final.jar!/:na]

      12:38:07,326 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90) [jboss-as-web-7.1.1.Final.jar!/:7.1.1.Final]

      12:38:07,349 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:38:07,350 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:38:07,353 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_79]

      12:38:07,354 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_79]

      12:38:07,357 INFO  [stdout] (MSC service thread 1-6)    at java.lang.Thread.run(Thread.java:745) [na:1.7.0_79]

      12:38:07,361 INFO  [stdout] (MSC service thread 1-6) [LSM-S] INFO  o.o.lsm.pooling.ConnectionManager - Loading property file

      12:38:07,376 INFO  [stdout] (MSC service thread 1-6) [LSM-S] INFO  o.o.lsm.pooling.ConnectionManager - loading database server driver virtuoso.jdbc4.Driver

      12:38:28,408 INFO  [stdout] (MSC service thread 1-6) [LSM-S] ERROR o.o.lsm.pooling.ConnectionManager - Error making pool:

      12:38:28,410 INFO  [stdout] (MSC service thread 1-6) java.sql.SQLException: Unable to open a test connection to the given database. JDBC url = jdbc:virtuoso://lsm.deri.ie:1111/log_enable=2, username = <database username>. Terminating connection pool. Original Exception: ------

      12:38:28,419 INFO  [stdout] (MSC service thread 1-6) virtuoso.jdbc4.VirtuosoException: Connection failed: Connection timed out: connect

      12:38:28,420 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source)

      12:38:28,421 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source)

      12:38:28,423 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.<init>(Unknown Source)

      12:38:28,425 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.Driver.connect(Unknown Source)

      12:38:28,432 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:571)

      12:38:28,434 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:215)

      12:38:28,435 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.obtainRawInternalConnection(BoneCP.java:256)

      12:38:28,437 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.<init>(BoneCP.java:305)

      12:38:28,439 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.pooling.ConnectionManager.init(ConnectionManager.java:75)

      12:38:28,446 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.manager.SensorManager.<init>(SensorManager.java:71)

      12:38:28,448 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.OauthServletHelper.feedToServer(OauthServletHelper.java:18)

      12:38:28,450 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.add(SecurityInitializer.java:394)

      12:38:28,451 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.addRegisteredService(SecurityInitializer.java:390)

      12:38:28,458 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.initialize(SecurityInitializer.java:95)

      12:38:28,459 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.init(SecurityInitializer.java:87)

      12:38:28,461 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.ContextListener.contextInitialized(ContextListener.java:34)

      12:38:28,463 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392)

      12:38:28,465 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850)

      12:38:28,471 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90)

      12:38:28,473 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)

      12:38:28,475 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)

      12:38:28,476 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)

      12:38:28,478 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

      12:38:28,485 INFO  [stdout] (MSC service thread 1-6)    at java.lang.Thread.run(Thread.java:745)

      12:38:28,487 INFO  [stdout] (MSC service thread 1-6) ------

      12:38:28,489 INFO  [stdout] (MSC service thread 1-6)

      12:38:28,490 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.<init>(BoneCP.java:312) ~[bonecp-0.7.1.RELEASE.jar:0.7.1.RELEASE]

      12:38:28,492 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.pooling.ConnectionManager.init(ConnectionManager.java:75) ~[classes:na]

      12:38:28,500 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.manager.SensorManager.<init>(SensorManager.java:71) [classes:na]

      12:38:28,502 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.OauthServletHelper.feedToServer(OauthServletHelper.java:18) [classes:na]

      12:38:28,503 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.add(SecurityInitializer.java:394) [classes:na]

      12:38:28,506 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.addRegisteredService(SecurityInitializer.java:390) [classes:na]

      12:38:28,508 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.initialize(SecurityInitializer.java:95) [classes:na]

      12:38:28,515 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.init(SecurityInitializer.java:87) [classes:na]

      12:38:28,516 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.ContextListener.contextInitialized(ContextListener.java:34) [classes:na]

      12:38:28,518 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392) [jbossweb-7.0.13.Final.jar!/:na]

      12:38:28,520 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850) [jbossweb-7.0.13.Final.jar!/:na]

      12:38:28,522 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90) [jboss-as-web-7.1.1.Final.jar!/:7.1.1.Final]

      12:38:28,527 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:38:28,531 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:38:28,534 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_79]

      12:38:28,535 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_79]

      12:38:28,541 INFO  [stdout] (MSC service thread 1-6)    at java.lang.Thread.run(Thread.java:745) [na:1.7.0_79]

      12:38:28,543 INFO  [stdout] (MSC service thread 1-6) Caused by: virtuoso.jdbc4.VirtuosoException: Connection failed: Connection timed out: connect

      12:38:28,544 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:38:28,547 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:38:28,549 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.<init>(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:38:28,555 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.Driver.connect(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:38:28,556 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:571) ~[na:1.7.0_79]

      12:38:28,558 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:215) ~[na:1.7.0_79]

      12:38:28,560 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.obtainRawInternalConnection(BoneCP.java:256) ~[bonecp-0.7.1.RELEASE.jar:0.7.1.RELEASE]

      12:38:28,568 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.<init>(BoneCP.java:305) ~[bonecp-0.7.1.RELEASE.jar:0.7.1.RELEASE]

      12:38:28,569 INFO  [stdout] (MSC service thread 1-6)    ... 16 common frames omitted

      12:38:28,571 INFO  [stdout] (MSC service thread 1-6) [LSM-S] INFO  o.openiot.lsm.manager.SensorManager - insert triples into graph http://lsm.deri.ie/OpenIoT/OAuth#

      12:38:28,574 INFO  [stdout] (MSC service thread 1-6) [LSM-S] WARN  o.openiot.lsm.manager.SensorManager - Fail to insert triples into graph http://lsm.deri.ie/OpenIoT/OAuth#

      12:38:28,580 INFO  [stdout] (MSC service thread 1-6) java.lang.NullPointerException: null

      12:38:28,581 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.manager.SensorManager.insertTriplesToGraph(SensorManager.java:122) ~[classes:na]

      12:38:28,583 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.OauthServletHelper.feedToServer(OauthServletHelper.java:41) [classes:na]

      12:38:28,585 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.add(SecurityInitializer.java:394) [classes:na]

      12:38:28,587 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.addRegisteredService(SecurityInitializer.java:390) [classes:na]

      12:38:28,593 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.initialize(SecurityInitializer.java:95) [classes:na]

      12:38:28,596 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.init(SecurityInitializer.java:87) [classes:na]

      12:38:28,598 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.ContextListener.contextInitialized(ContextListener.java:34) [classes:na]

      12:38:28,601 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392) [jbossweb-7.0.13.Final.jar!/:na]

      12:38:28,608 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850) [jbossweb-7.0.13.Final.jar!/:na]

      12:38:28,609 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90) [jboss-as-web-7.1.1.Final.jar!/:7.1.1.Final]

      12:38:28,611 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:38:28,613 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:38:28,621 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_79]

      12:38:28,624 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_79]

      12:38:28,625 INFO  [stdout] (MSC service thread 1-6)    at java.lang.Thread.run(Thread.java:745) [na:1.7.0_79]

      12:38:28,628 INFO  [stdout] (MSC service thread 1-6) [LSM-S] INFO  o.o.lsm.pooling.ConnectionManager - Loading property file

      12:38:28,629 INFO  [stdout] (MSC service thread 1-6) [LSM-S] INFO  o.o.lsm.pooling.ConnectionManager - loading database server driver virtuoso.jdbc4.Driver

      12:38:49,655 INFO  [stdout] (MSC service thread 1-6) [LSM-S] ERROR o.o.lsm.pooling.ConnectionManager - Error making pool:

      12:38:49,655 INFO  [stdout] (MSC service thread 1-6) java.sql.SQLException: Unable to open a test connection to the given database. JDBC url = jdbc:virtuoso://lsm.deri.ie:1111/log_enable=2, username = <database username>. Terminating connection pool. Original Exception: ------

      12:38:49,655 INFO  [stdout] (MSC service thread 1-6) virtuoso.jdbc4.VirtuosoException: Connection failed: Connection timed out: connect

      12:38:49,655 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source)

      12:38:49,671 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source)

      12:38:49,671 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.<init>(Unknown Source)

      12:38:49,671 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.Driver.connect(Unknown Source)

      12:38:49,671 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:571)

      12:38:49,671 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:215)

      12:38:49,671 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.obtainRawInternalConnection(BoneCP.java:256)

      12:38:49,686 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.<init>(BoneCP.java:305)

      12:38:49,686 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.pooling.ConnectionManager.init(ConnectionManager.java:75)

      12:38:49,686 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.manager.SensorManager.<init>(SensorManager.java:71)

      12:38:49,686 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.OauthServletHelper.feedToServer(OauthServletHelper.java:18)

      12:38:49,686 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.add(SecurityInitializer.java:394)

      12:38:49,686 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.addRegisteredService(SecurityInitializer.java:390)

      12:38:49,708 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.initialize(SecurityInitializer.java:95)

      12:38:49,708 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.init(SecurityInitializer.java:87)

      12:38:49,708 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.ContextListener.contextInitialized(ContextListener.java:34)

      12:38:49,708 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392)

      12:38:49,708 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850)

      12:38:49,708 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90)

      12:38:49,708 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)

      12:38:49,724 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)

      12:38:49,724 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)

      12:38:49,724 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

      12:38:49,724 INFO  [stdout] (MSC service thread 1-6)    at java.lang.Thread.run(Thread.java:745)

      12:38:49,740 INFO  [stdout] (MSC service thread 1-6) ------

      12:38:49,740 INFO  [stdout] (MSC service thread 1-6)

      12:38:49,740 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.<init>(BoneCP.java:312) ~[bonecp-0.7.1.RELEASE.jar:0.7.1.RELEASE]

      12:38:49,755 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.pooling.ConnectionManager.init(ConnectionManager.java:75) ~[classes:na]

      12:38:49,755 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.manager.SensorManager.<init>(SensorManager.java:71) [classes:na]

      12:38:49,755 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.OauthServletHelper.feedToServer(OauthServletHelper.java:18) [classes:na]

      12:38:49,771 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.add(SecurityInitializer.java:394) [classes:na]

      12:38:49,771 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.addRegisteredService(SecurityInitializer.java:390) [classes:na]

      12:38:49,771 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.initialize(SecurityInitializer.java:95) [classes:na]

      12:38:49,771 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.init(SecurityInitializer.java:87) [classes:na]

      12:38:49,787 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.ContextListener.contextInitialized(ContextListener.java:34) [classes:na]

      12:38:49,787 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392) [jbossweb-7.0.13.Final.jar!/:na]

      12:38:49,787 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850) [jbossweb-7.0.13.Final.jar!/:na]

      12:38:49,809 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90) [jboss-as-web-7.1.1.Final.jar!/:7.1.1.Final]

      12:38:49,809 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:38:49,809 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:38:49,809 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_79]

      12:38:49,809 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_79]

      12:38:49,809 INFO  [stdout] (MSC service thread 1-6)    at java.lang.Thread.run(Thread.java:745) [na:1.7.0_79]

      12:38:49,824 INFO  [stdout] (MSC service thread 1-6) Caused by: virtuoso.jdbc4.VirtuosoException: Connection failed: Connection timed out: connect

      12:38:49,824 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:38:49,824 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:38:49,840 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.<init>(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:38:49,840 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.Driver.connect(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:38:49,840 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:571) ~[na:1.7.0_79]

      12:38:49,840 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:215) ~[na:1.7.0_79]

      12:38:49,840 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.obtainRawInternalConnection(BoneCP.java:256) ~[bonecp-0.7.1.RELEASE.jar:0.7.1.RELEASE]

      12:38:49,840 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.<init>(BoneCP.java:305) ~[bonecp-0.7.1.RELEASE.jar:0.7.1.RELEASE]

      12:38:49,840 INFO  [stdout] (MSC service thread 1-6)    ... 16 common frames omitted

      12:38:49,856 INFO  [stdout] (MSC service thread 1-6) [LSM-S] INFO  o.openiot.lsm.manager.SensorManager - insert triples into graph http://lsm.deri.ie/OpenIoT/OAuth#

      12:38:49,856 INFO  [stdout] (MSC service thread 1-6) [LSM-S] WARN  o.openiot.lsm.manager.SensorManager - Fail to insert triples into graph http://lsm.deri.ie/OpenIoT/OAuth#

      12:38:49,871 INFO  [stdout] (MSC service thread 1-6) java.lang.NullPointerException: null

      12:38:49,871 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.manager.SensorManager.insertTriplesToGraph(SensorManager.java:122) ~[classes:na]

      12:38:49,871 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.OauthServletHelper.feedToServer(OauthServletHelper.java:41) [classes:na]

      12:38:49,871 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.add(SecurityInitializer.java:394) [classes:na]

      12:38:49,871 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.addRegisteredService(SecurityInitializer.java:390) [classes:na]

      12:38:49,871 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.initialize(SecurityInitializer.java:95) [classes:na]

      12:38:49,871 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.init(SecurityInitializer.java:87) [classes:na]

      12:38:49,871 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.ContextListener.contextInitialized(ContextListener.java:34) [classes:na]

      12:38:49,887 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392) [jbossweb-7.0.13.Final.jar!/:na]

      12:38:49,887 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850) [jbossweb-7.0.13.Final.jar!/:na]

      12:38:49,887 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90) [jboss-as-web-7.1.1.Final.jar!/:7.1.1.Final]

      12:38:49,905 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:38:49,908 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:38:49,909 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_79]

      12:38:49,909 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_79]

      12:38:49,909 INFO  [stdout] (MSC service thread 1-6)    at java.lang.Thread.run(Thread.java:745) [na:1.7.0_79]

      12:38:49,909 INFO  [stdout] (MSC service thread 1-6) [LSM-S] INFO  o.o.lsm.pooling.ConnectionManager - Loading property file

      12:38:49,909 INFO  [stdout] (MSC service thread 1-6) [LSM-S] INFO  o.o.lsm.pooling.ConnectionManager - loading database server driver virtuoso.jdbc4.Driver

      12:39:10,949 INFO  [stdout] (MSC service thread 1-6) [LSM-S] ERROR o.o.lsm.pooling.ConnectionManager - Error making pool:

      12:39:10,951 INFO  [stdout] (MSC service thread 1-6) java.sql.SQLException: Unable to open a test connection to the given database. JDBC url = jdbc:virtuoso://lsm.deri.ie:1111/log_enable=2, username = <database username>. Terminating connection pool. Original Exception: ------

      12:39:10,960 INFO  [stdout] (MSC service thread 1-6) virtuoso.jdbc4.VirtuosoException: Connection failed: Connection timed out: connect

      12:39:10,962 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source)

      12:39:10,964 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source)

      12:39:10,971 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.<init>(Unknown Source)

      12:39:10,971 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.Driver.connect(Unknown Source)

      12:39:10,973 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:571)

      12:39:10,975 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:215)

      12:39:10,976 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.obtainRawInternalConnection(BoneCP.java:256)

      12:39:10,980 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.<init>(BoneCP.java:305)

      12:39:10,987 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.pooling.ConnectionManager.init(ConnectionManager.java:75)

      12:39:10,988 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.manager.SensorManager.<init>(SensorManager.java:71)

      12:39:10,991 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.OauthServletHelper.feedToServer(OauthServletHelper.java:18)

      12:39:10,993 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.add(SecurityInitializer.java:394)

      12:39:10,995 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.addRegisteredService(SecurityInitializer.java:390)

      12:39:11,003 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.initialize(SecurityInitializer.java:95)

      12:39:11,005 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.init(SecurityInitializer.java:87)

      12:39:11,007 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.ContextListener.contextInitialized(ContextListener.java:34)

      12:39:11,009 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392)

      12:39:11,010 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850)

      12:39:11,019 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90)

      12:39:11,022 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)

      12:39:11,024 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)

      12:39:11,026 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)

      12:39:11,033 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

      12:39:11,038 INFO  [stdout] (MSC service thread 1-6)    at java.lang.Thread.run(Thread.java:745)

      12:39:11,039 INFO  [stdout] (MSC service thread 1-6) ------

      12:39:11,041 INFO  [stdout] (MSC service thread 1-6)

      12:39:11,042 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.<init>(BoneCP.java:312) ~[bonecp-0.7.1.RELEASE.jar:0.7.1.RELEASE]

      12:39:11,050 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.pooling.ConnectionManager.init(ConnectionManager.java:75) ~[classes:na]

      12:39:11,052 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.manager.SensorManager.<init>(SensorManager.java:71) [classes:na]

      12:39:11,053 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.OauthServletHelper.feedToServer(OauthServletHelper.java:18) [classes:na]

      12:39:11,056 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.add(SecurityInitializer.java:394) [classes:na]

      12:39:11,063 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.addRegisteredService(SecurityInitializer.java:390) [classes:na]

      12:39:11,066 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.initialize(SecurityInitializer.java:95) [classes:na]

      12:39:11,068 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.init(SecurityInitializer.java:87) [classes:na]

      12:39:11,070 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.ContextListener.contextInitialized(ContextListener.java:34) [classes:na]

      12:39:11,071 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392) [jbossweb-7.0.13.Final.jar!/:na]

      12:39:11,080 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850) [jbossweb-7.0.13.Final.jar!/:na]

      12:39:11,084 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90) [jboss-as-web-7.1.1.Final.jar!/:7.1.1.Final]

      12:39:11,087 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:39:11,097 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:39:11,099 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_79]

      12:39:11,101 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_79]

      12:39:11,103 INFO  [stdout] (MSC service thread 1-6)    at java.lang.Thread.run(Thread.java:745) [na:1.7.0_79]

      12:39:11,114 INFO  [stdout] (MSC service thread 1-6) Caused by: virtuoso.jdbc4.VirtuosoException: Connection failed: Connection timed out: connect

      12:39:11,116 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:39:11,118 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:39:11,126 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.<init>(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:39:11,128 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.Driver.connect(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:39:11,134 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:571) ~[na:1.7.0_79]

      12:39:11,141 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:215) ~[na:1.7.0_79]

      12:39:11,147 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.obtainRawInternalConnection(BoneCP.java:256) ~[bonecp-0.7.1.RELEASE.jar:0.7.1.RELEASE]

      12:39:11,155 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.<init>(BoneCP.java:305) ~[bonecp-0.7.1.RELEASE.jar:0.7.1.RELEASE]

      12:39:11,159 INFO  [stdout] (MSC service thread 1-6)    ... 16 common frames omitted

      12:39:11,161 INFO  [stdout] (MSC service thread 1-6) [LSM-S] INFO  o.openiot.lsm.manager.SensorManager - insert triples into graph http://lsm.deri.ie/OpenIoT/OAuth#

      12:39:11,173 INFO  [stdout] (MSC service thread 1-6) [LSM-S] WARN  o.openiot.lsm.manager.SensorManager - Fail to insert triples into graph http://lsm.deri.ie/OpenIoT/OAuth#

      12:39:11,175 INFO  [stdout] (MSC service thread 1-6) java.lang.NullPointerException: null

      12:39:11,191 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.manager.SensorManager.insertTriplesToGraph(SensorManager.java:122) ~[classes:na]

      12:39:11,203 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.OauthServletHelper.feedToServer(OauthServletHelper.java:41) [classes:na]

      12:39:11,209 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.add(SecurityInitializer.java:394) [classes:na]

      12:39:11,219 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.addRegisteredService(SecurityInitializer.java:390) [classes:na]

      12:39:11,225 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.initialize(SecurityInitializer.java:95) [classes:na]

      12:39:11,238 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.init(SecurityInitializer.java:87) [classes:na]

      12:39:11,250 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.ContextListener.contextInitialized(ContextListener.java:34) [classes:na]

      12:39:11,254 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392) [jbossweb-7.0.13.Final.jar!/:na]

      12:39:11,266 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850) [jbossweb-7.0.13.Final.jar!/:na]

      12:39:11,277 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90) [jboss-as-web-7.1.1.Final.jar!/:7.1.1.Final]

      12:39:11,288 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:39:11,290 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:39:11,293 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_79]

      12:39:11,301 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_79]

      12:39:11,304 INFO  [stdout] (MSC service thread 1-6)    at java.lang.Thread.run(Thread.java:745) [na:1.7.0_79]

      12:39:11,325 INFO  [stdout] (MSC service thread 1-6) [LSM-S] INFO  o.o.lsm.pooling.ConnectionManager - Loading property file

      12:39:11,330 INFO  [stdout] (MSC service thread 1-6) [LSM-S] INFO  o.o.lsm.pooling.ConnectionManager - loading database server driver virtuoso.jdbc4.Driver

      12:39:32,357 INFO  [stdout] (MSC service thread 1-6) [LSM-S] ERROR o.o.lsm.pooling.ConnectionManager - Error making pool:

      12:39:32,359 INFO  [stdout] (MSC service thread 1-6) java.sql.SQLException: Unable to open a test connection to the given database. JDBC url = jdbc:virtuoso://lsm.deri.ie:1111/log_enable=2, username = <database username>. Terminating connection pool. Original Exception: ------

      12:39:32,366 INFO  [stdout] (MSC service thread 1-6) virtuoso.jdbc4.VirtuosoException: Connection failed: Connection timed out: connect

      12:39:32,367 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source)

      12:39:32,368 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source)

      12:39:32,370 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.<init>(Unknown Source)

      12:39:32,371 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.Driver.connect(Unknown Source)

      12:39:32,377 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:571)

      12:39:32,378 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:215)

      12:39:32,379 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.obtainRawInternalConnection(BoneCP.java:256)

      12:39:32,381 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.<init>(BoneCP.java:305)

      12:39:32,382 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.pooling.ConnectionManager.init(ConnectionManager.java:75)

      12:39:32,383 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.manager.SensorManager.<init>(SensorManager.java:71)

      12:39:32,390 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.OauthServletHelper.feedToServer(OauthServletHelper.java:18)

      12:39:32,392 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.add(SecurityInitializer.java:394)

      12:39:32,394 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.addRegisteredService(SecurityInitializer.java:390)

      12:39:32,396 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.initialize(SecurityInitializer.java:95)

      12:39:32,397 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.init(SecurityInitializer.java:87)

      12:39:32,405 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.ContextListener.contextInitialized(ContextListener.java:34)

      12:39:32,406 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392)

      12:39:32,408 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850)

      12:39:32,409 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90)

      12:39:32,411 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)

      12:39:32,418 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)

      12:39:32,419 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)

      12:39:32,421 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

      12:39:32,424 INFO  [stdout] (MSC service thread 1-6)    at java.lang.Thread.run(Thread.java:745)

      12:39:32,425 INFO  [stdout] (MSC service thread 1-6) ------

      12:39:32,426 INFO  [stdout] (MSC service thread 1-6)

      12:39:32,432 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.<init>(BoneCP.java:312) ~[bonecp-0.7.1.RELEASE.jar:0.7.1.RELEASE]

      12:39:32,434 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.pooling.ConnectionManager.init(ConnectionManager.java:75) ~[classes:na]

      12:39:32,436 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.manager.SensorManager.<init>(SensorManager.java:71) [classes:na]

      12:39:32,437 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.OauthServletHelper.feedToServer(OauthServletHelper.java:18) [classes:na]

      12:39:32,438 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.add(SecurityInitializer.java:394) [classes:na]

      12:39:32,444 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.addRegisteredService(SecurityInitializer.java:390) [classes:na]

      12:39:32,446 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.initialize(SecurityInitializer.java:95) [classes:na]

      12:39:32,448 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.init(SecurityInitializer.java:87) [classes:na]

      12:39:32,449 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.ContextListener.contextInitialized(ContextListener.java:34) [classes:na]

      12:39:32,452 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392) [jbossweb-7.0.13.Final.jar!/:na]

      12:39:32,458 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850) [jbossweb-7.0.13.Final.jar!/:na]

      12:39:32,460 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90) [jboss-as-web-7.1.1.Final.jar!/:7.1.1.Final]

      12:39:32,462 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:39:32,464 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:39:32,466 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_79]

      12:39:32,472 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_79]

      12:39:32,474 INFO  [stdout] (MSC service thread 1-6)    at java.lang.Thread.run(Thread.java:745) [na:1.7.0_79]

      12:39:32,475 INFO  [stdout] (MSC service thread 1-6) Caused by: virtuoso.jdbc4.VirtuosoException: Connection failed: Connection timed out: connect

      12:39:32,477 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:39:32,479 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:39:32,485 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.<init>(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:39:32,486 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.Driver.connect(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:39:32,488 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:571) ~[na:1.7.0_79]

      12:39:32,490 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:215) ~[na:1.7.0_79]

      12:39:32,492 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.obtainRawInternalConnection(BoneCP.java:256) ~[bonecp-0.7.1.RELEASE.jar:0.7.1.RELEASE]

      12:39:32,498 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.<init>(BoneCP.java:305) ~[bonecp-0.7.1.RELEASE.jar:0.7.1.RELEASE]

      12:39:32,501 INFO  [stdout] (MSC service thread 1-6)    ... 16 common frames omitted

      12:39:32,504 INFO  [stdout] (MSC service thread 1-6) [LSM-S] INFO  o.openiot.lsm.manager.SensorManager - insert triples into graph http://lsm.deri.ie/OpenIoT/OAuth#

      12:39:32,507 INFO  [stdout] (MSC service thread 1-6) [LSM-S] WARN  o.openiot.lsm.manager.SensorManager - Fail to insert triples into graph http://lsm.deri.ie/OpenIoT/OAuth#

      12:39:32,511 INFO  [stdout] (MSC service thread 1-6) java.lang.NullPointerException: null

      12:39:32,513 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.manager.SensorManager.insertTriplesToGraph(SensorManager.java:122) ~[classes:na]

      12:39:32,515 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.OauthServletHelper.feedToServer(OauthServletHelper.java:41) [classes:na]

      12:39:32,517 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.add(SecurityInitializer.java:394) [classes:na]

      12:39:32,519 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.addRegisteredService(SecurityInitializer.java:390) [classes:na]

      12:39:32,525 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.initialize(SecurityInitializer.java:95) [classes:na]

      12:39:32,526 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.init(SecurityInitializer.java:87) [classes:na]

      12:39:32,528 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.ContextListener.contextInitialized(ContextListener.java:34) [classes:na]

      12:39:32,530 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392) [jbossweb-7.0.13.Final.jar!/:na]

      12:39:32,532 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850) [jbossweb-7.0.13.Final.jar!/:na]

      12:39:32,538 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90) [jboss-as-web-7.1.1.Final.jar!/:7.1.1.Final]

      12:39:32,540 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:39:32,542 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:39:32,544 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_79]

      12:39:32,545 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_79]

      12:39:32,552 INFO  [stdout] (MSC service thread 1-6)    at java.lang.Thread.run(Thread.java:745) [na:1.7.0_79]

      12:39:32,555 INFO  [stdout] (MSC service thread 1-6) [LSM-S] INFO  o.o.lsm.pooling.ConnectionManager - Loading property file

      12:39:32,556 INFO  [stdout] (MSC service thread 1-6) [LSM-S] INFO  o.o.lsm.pooling.ConnectionManager - loading database server driver virtuoso.jdbc4.Driver

      12:39:53,571 INFO  [stdout] (MSC service thread 1-6) [LSM-S] ERROR o.o.lsm.pooling.ConnectionManager - Error making pool:

      12:39:53,572 INFO  [stdout] (MSC service thread 1-6) java.sql.SQLException: Unable to open a test connection to the given database. JDBC url = jdbc:virtuoso://lsm.deri.ie:1111/log_enable=2, username = <database username>. Terminating connection pool. Original Exception: ------

      12:39:53,579 INFO  [stdout] (MSC service thread 1-6) virtuoso.jdbc4.VirtuosoException: Connection failed: Connection timed out: connect

      12:39:53,581 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source)

      12:39:53,582 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source)

      12:39:53,583 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.<init>(Unknown Source)

      12:39:53,589 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.Driver.connect(Unknown Source)

      12:39:53,590 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:571)

      12:39:53,591 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:215)

      12:39:53,592 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.obtainRawInternalConnection(BoneCP.java:256)

      12:39:53,595 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.<init>(BoneCP.java:305)

      12:39:53,596 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.pooling.ConnectionManager.init(ConnectionManager.java:75)

      12:39:53,598 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.manager.SensorManager.<init>(SensorManager.java:71)

      12:39:53,604 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.OauthServletHelper.feedToServer(OauthServletHelper.java:18)

      12:39:53,605 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.add(SecurityInitializer.java:394)

      12:39:53,607 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.addRegisteredService(SecurityInitializer.java:390)

      12:39:53,609 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.initialize(SecurityInitializer.java:95)

      12:39:53,610 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.init(SecurityInitializer.java:87)

      12:39:53,617 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.ContextListener.contextInitialized(ContextListener.java:34)

      12:39:53,618 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392)

      12:39:53,621 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850)

      12:39:53,623 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90)

      12:39:53,624 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)

      12:39:53,630 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)

      12:39:53,632 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)

      12:39:53,634 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

      12:39:53,635 INFO  [stdout] (MSC service thread 1-6)    at java.lang.Thread.run(Thread.java:745)

      12:39:53,637 INFO  [stdout] (MSC service thread 1-6) ------

      12:39:53,638 INFO  [stdout] (MSC service thread 1-6)

      12:39:53,644 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.<init>(BoneCP.java:312) ~[bonecp-0.7.1.RELEASE.jar:0.7.1.RELEASE]

      12:39:53,645 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.pooling.ConnectionManager.init(ConnectionManager.java:75) ~[classes:na]

      12:39:53,647 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.manager.SensorManager.<init>(SensorManager.java:71) [classes:na]

      12:39:53,649 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.OauthServletHelper.feedToServer(OauthServletHelper.java:18) [classes:na]

      12:39:53,650 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.add(SecurityInitializer.java:394) [classes:na]

      12:39:53,657 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.addRegisteredService(SecurityInitializer.java:390) [classes:na]

      12:39:53,658 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.initialize(SecurityInitializer.java:95) [classes:na]

      12:39:53,660 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.init(SecurityInitializer.java:87) [classes:na]

      12:39:53,661 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.ContextListener.contextInitialized(ContextListener.java:34) [classes:na]

      12:39:53,663 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392) [jbossweb-7.0.13.Final.jar!/:na]

      12:39:53,669 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850) [jbossweb-7.0.13.Final.jar!/:na]

      12:39:53,671 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90) [jboss-as-web-7.1.1.Final.jar!/:7.1.1.Final]

      12:39:53,673 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:39:53,675 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:39:53,677 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_79]

      12:39:53,684 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_79]

      12:39:53,686 INFO  [stdout] (MSC service thread 1-6)    at java.lang.Thread.run(Thread.java:745) [na:1.7.0_79]

      12:39:53,687 INFO  [stdout] (MSC service thread 1-6) Caused by: virtuoso.jdbc4.VirtuosoException: Connection failed: Connection timed out: connect

      12:39:53,689 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:39:53,691 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:39:53,698 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.<init>(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:39:53,699 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.Driver.connect(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:39:53,701 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:571) ~[na:1.7.0_79]

      12:39:53,702 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:215) ~[na:1.7.0_79]

      12:39:53,704 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.obtainRawInternalConnection(BoneCP.java:256) ~[bonecp-0.7.1.RELEASE.jar:0.7.1.RELEASE]

      12:39:53,706 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.<init>(BoneCP.java:305) ~[bonecp-0.7.1.RELEASE.jar:0.7.1.RELEASE]

      12:39:53,712 INFO  [stdout] (MSC service thread 1-6)    ... 16 common frames omitted

      12:39:53,715 INFO  [stdout] (MSC service thread 1-6) [LSM-S] INFO  o.openiot.lsm.manager.SensorManager - insert triples into graph http://lsm.deri.ie/OpenIoT/OAuth#

      12:39:53,717 INFO  [stdout] (MSC service thread 1-6) [LSM-S] WARN  o.openiot.lsm.manager.SensorManager - Fail to insert triples into graph http://lsm.deri.ie/OpenIoT/OAuth#

      12:39:53,719 INFO  [stdout] (MSC service thread 1-6) java.lang.NullPointerException: null

      12:39:53,725 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.manager.SensorManager.insertTriplesToGraph(SensorManager.java:122) ~[classes:na]

      12:39:53,726 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.OauthServletHelper.feedToServer(OauthServletHelper.java:41) [classes:na]

      12:39:53,728 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.add(SecurityInitializer.java:394) [classes:na]

      12:39:53,730 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.addRegisteredService(SecurityInitializer.java:390) [classes:na]

      12:39:53,732 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.initialize(SecurityInitializer.java:95) [classes:na]

      12:39:53,738 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.init(SecurityInitializer.java:87) [classes:na]

      12:39:53,739 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.ContextListener.contextInitialized(ContextListener.java:34) [classes:na]

      12:39:53,741 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392) [jbossweb-7.0.13.Final.jar!/:na]

      12:39:53,743 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850) [jbossweb-7.0.13.Final.jar!/:na]

      12:39:53,744 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90) [jboss-as-web-7.1.1.Final.jar!/:7.1.1.Final]

      12:39:53,752 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:39:53,753 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:39:53,756 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_79]

      12:39:53,757 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_79]

      12:39:53,759 INFO  [stdout] (MSC service thread 1-6)    at java.lang.Thread.run(Thread.java:745) [na:1.7.0_79]

      12:39:53,761 INFO  [stdout] (MSC service thread 1-6) [LSM-S] INFO  o.o.lsm.pooling.ConnectionManager - Loading property file

      12:39:53,768 INFO  [stdout] (MSC service thread 1-6) [LSM-S] INFO  o.o.lsm.pooling.ConnectionManager - loading database server driver virtuoso.jdbc4.Driver

      12:40:14,779 INFO  [stdout] (MSC service thread 1-6) [LSM-S] ERROR o.o.lsm.pooling.ConnectionManager - Error making pool:

      12:40:14,779 INFO  [stdout] (MSC service thread 1-6) java.sql.SQLException: Unable to open a test connection to the given database. JDBC url = jdbc:virtuoso://lsm.deri.ie:1111/log_enable=2, username = <database username>. Terminating connection pool. Original Exception: ------

      12:40:14,779 INFO  [stdout] (MSC service thread 1-6) virtuoso.jdbc4.VirtuosoException: Connection failed: Connection timed out: connect

      12:40:14,779 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source)

      12:40:14,779 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source)

      12:40:14,779 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.<init>(Unknown Source)

      12:40:14,779 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.Driver.connect(Unknown Source)

      12:40:14,795 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:571)

      12:40:14,795 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:215)

      12:40:14,795 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.obtainRawInternalConnection(BoneCP.java:256)

      12:40:14,795 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.<init>(BoneCP.java:305)

      12:40:14,795 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.pooling.ConnectionManager.init(ConnectionManager.java:75)

      12:40:14,795 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.manager.SensorManager.<init>(SensorManager.java:71)

      12:40:14,795 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.OauthServletHelper.feedToServer(OauthServletHelper.java:18)

      12:40:14,795 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.add(SecurityInitializer.java:394)

      12:40:14,811 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.addRegisteredService(SecurityInitializer.java:390)

      12:40:14,811 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.initialize(SecurityInitializer.java:95)

      12:40:14,811 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.init(SecurityInitializer.java:87)

      12:40:14,811 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.ContextListener.contextInitialized(ContextListener.java:34)

      12:40:14,811 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392)

      12:40:14,811 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850)

      12:40:14,826 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90)

      12:40:14,826 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)

      12:40:14,826 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)

      12:40:14,826 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)

      12:40:14,826 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

      12:40:14,826 INFO  [stdout] (MSC service thread 1-6)    at java.lang.Thread.run(Thread.java:745)

      12:40:14,826 INFO  [stdout] (MSC service thread 1-6) ------

      12:40:14,848 INFO  [stdout] (MSC service thread 1-6)

      12:40:14,848 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.<init>(BoneCP.java:312) ~[bonecp-0.7.1.RELEASE.jar:0.7.1.RELEASE]

      12:40:14,848 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.pooling.ConnectionManager.init(ConnectionManager.java:75) ~[classes:na]

      12:40:14,848 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.manager.SensorManager.<init>(SensorManager.java:71) [classes:na]

      12:40:14,848 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.OauthServletHelper.feedToServer(OauthServletHelper.java:18) [classes:na]

      12:40:14,848 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.add(SecurityInitializer.java:394) [classes:na]

      12:40:14,848 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.addRegisteredService(SecurityInitializer.java:390) [classes:na]

      12:40:14,848 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.initialize(SecurityInitializer.java:95) [classes:na]

      12:40:14,848 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.init(SecurityInitializer.java:87) [classes:na]

      12:40:14,848 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.ContextListener.contextInitialized(ContextListener.java:34) [classes:na]

      12:40:14,864 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392) [jbossweb-7.0.13.Final.jar!/:na]

      12:40:14,864 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850) [jbossweb-7.0.13.Final.jar!/:na]

      12:40:14,864 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90) [jboss-as-web-7.1.1.Final.jar!/:7.1.1.Final]

      12:40:14,864 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:40:14,864 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:40:14,879 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_79]

      12:40:14,879 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_79]

      12:40:14,879 INFO  [stdout] (MSC service thread 1-6)    at java.lang.Thread.run(Thread.java:745) [na:1.7.0_79]

      12:40:14,879 INFO  [stdout] (MSC service thread 1-6) Caused by: virtuoso.jdbc4.VirtuosoException: Connection failed: Connection timed out: connect

      12:40:14,879 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:40:14,879 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:40:14,895 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.<init>(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:40:14,895 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.Driver.connect(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:40:14,895 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:571) ~[na:1.7.0_79]

      12:40:14,895 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:215) ~[na:1.7.0_79]

      12:40:14,895 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.obtainRawInternalConnection(BoneCP.java:256) ~[bonecp-0.7.1.RELEASE.jar:0.7.1.RELEASE]

      12:40:14,895 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.<init>(BoneCP.java:305) ~[bonecp-0.7.1.RELEASE.jar:0.7.1.RELEASE]

      12:40:14,895 INFO  [stdout] (MSC service thread 1-6)    ... 16 common frames omitted

      12:40:14,911 INFO  [stdout] (MSC service thread 1-6) [LSM-S] INFO  o.openiot.lsm.manager.SensorManager - insert triples into graph http://lsm.deri.ie/OpenIoT/OAuth#

      12:40:14,911 INFO  [stdout] (MSC service thread 1-6) [LSM-S] WARN  o.openiot.lsm.manager.SensorManager - Fail to insert triples into graph http://lsm.deri.ie/OpenIoT/OAuth#

      12:40:14,911 INFO  [stdout] (MSC service thread 1-6) java.lang.NullPointerException: null

      12:40:14,911 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.manager.SensorManager.insertTriplesToGraph(SensorManager.java:122) ~[classes:na]

      12:40:14,911 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.OauthServletHelper.feedToServer(OauthServletHelper.java:41) [classes:na]

      12:40:14,926 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.add(SecurityInitializer.java:394) [classes:na]

      12:40:14,926 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.addRegisteredService(SecurityInitializer.java:390) [classes:na]

      12:40:14,926 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.initialize(SecurityInitializer.java:95) [classes:na]

      12:40:14,926 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.init(SecurityInitializer.java:87) [classes:na]

      12:40:14,926 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.ContextListener.contextInitialized(ContextListener.java:34) [classes:na]

      12:40:14,926 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392) [jbossweb-7.0.13.Final.jar!/:na]

      12:40:14,946 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850) [jbossweb-7.0.13.Final.jar!/:na]

      12:40:14,948 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90) [jboss-as-web-7.1.1.Final.jar!/:7.1.1.Final]

      12:40:14,948 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:40:14,948 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:40:14,948 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_79]

      12:40:14,948 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_79]

      12:40:14,948 INFO  [stdout] (MSC service thread 1-6)    at java.lang.Thread.run(Thread.java:745) [na:1.7.0_79]

      12:40:14,948 INFO  [stdout] (MSC service thread 1-6) [LSM-S] INFO  o.o.lsm.pooling.ConnectionManager - Loading property file

      12:40:14,964 INFO  [stdout] (MSC service thread 1-6) [LSM-S] INFO  o.o.lsm.pooling.ConnectionManager - loading database server driver virtuoso.jdbc4.Driver

      12:40:35,988 INFO  [stdout] (MSC service thread 1-6) [LSM-S] ERROR o.o.lsm.pooling.ConnectionManager - Error making pool:

      12:40:35,990 INFO  [stdout] (MSC service thread 1-6) java.sql.SQLException: Unable to open a test connection to the given database. JDBC url = jdbc:virtuoso://lsm.deri.ie:1111/log_enable=2, username = <database username>. Terminating connection pool. Original Exception: ------

      12:40:35,998 INFO  [stdout] (MSC service thread 1-6) virtuoso.jdbc4.VirtuosoException: Connection failed: Connection timed out: connect

      12:40:36,001 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source)

      12:40:36,008 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source)

      12:40:36,010 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.<init>(Unknown Source)

      12:40:36,011 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.Driver.connect(Unknown Source)

      12:40:36,013 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:571)

      12:40:36,016 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:215)

      12:40:36,023 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.obtainRawInternalConnection(BoneCP.java:256)

      12:40:36,025 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.<init>(BoneCP.java:305)

      12:40:36,026 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.pooling.ConnectionManager.init(ConnectionManager.java:75)

      12:40:36,028 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.manager.SensorManager.<init>(SensorManager.java:71)

      12:40:36,030 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.OauthServletHelper.feedToServer(OauthServletHelper.java:18)

      12:40:36,037 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.add(SecurityInitializer.java:394)

      12:40:36,039 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.addRegisteredService(SecurityInitializer.java:390)

      12:40:36,041 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.initialize(SecurityInitializer.java:95)

      12:40:36,043 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.init(SecurityInitializer.java:87)

      12:40:36,045 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.ContextListener.contextInitialized(ContextListener.java:34)

      12:40:36,053 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392)

      12:40:36,056 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850)

      12:40:36,058 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90)

      12:40:36,060 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)

      12:40:36,067 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)

      12:40:36,069 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)

      12:40:36,071 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

      12:40:36,073 INFO  [stdout] (MSC service thread 1-6)    at java.lang.Thread.run(Thread.java:745)

      12:40:36,074 INFO  [stdout] (MSC service thread 1-6) ------

      12:40:36,075 INFO  [stdout] (MSC service thread 1-6)

      12:40:36,082 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.<init>(BoneCP.java:312) ~[bonecp-0.7.1.RELEASE.jar:0.7.1.RELEASE]

      12:40:36,085 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.pooling.ConnectionManager.init(ConnectionManager.java:75) ~[classes:na]

      12:40:36,086 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.manager.SensorManager.<init>(SensorManager.java:71) [classes:na]

      12:40:36,089 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.OauthServletHelper.feedToServer(OauthServletHelper.java:18) [classes:na]

      12:40:36,096 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.add(SecurityInitializer.java:394) [classes:na]

      12:40:36,098 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.addRegisteredService(SecurityInitializer.java:390) [classes:na]

      12:40:36,100 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.initialize(SecurityInitializer.java:95) [classes:na]

      12:40:36,102 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.init(SecurityInitializer.java:87) [classes:na]

      12:40:36,110 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.ContextListener.contextInitialized(ContextListener.java:34) [classes:na]

      12:40:36,111 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392) [jbossweb-7.0.13.Final.jar!/:na]

      12:40:36,115 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850) [jbossweb-7.0.13.Final.jar!/:na]

      12:40:36,117 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90) [jboss-as-web-7.1.1.Final.jar!/:7.1.1.Final]

      12:40:36,124 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:40:36,126 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:40:36,127 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_79]

      12:40:36,131 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_79]

      12:40:36,139 INFO  [stdout] (MSC service thread 1-6)    at java.lang.Thread.run(Thread.java:745) [na:1.7.0_79]

      12:40:36,140 INFO  [stdout] (MSC service thread 1-6) Caused by: virtuoso.jdbc4.VirtuosoException: Connection failed: Connection timed out: connect

      12:40:36,142 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:40:36,144 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:40:36,145 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.<init>(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:40:36,153 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.Driver.connect(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:40:36,155 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:571) ~[na:1.7.0_79]

      12:40:36,156 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:215) ~[na:1.7.0_79]

      12:40:36,158 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.obtainRawInternalConnection(BoneCP.java:256) ~[bonecp-0.7.1.RELEASE.jar:0.7.1.RELEASE]

      12:40:36,160 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.<init>(BoneCP.java:305) ~[bonecp-0.7.1.RELEASE.jar:0.7.1.RELEASE]

      12:40:36,167 INFO  [stdout] (MSC service thread 1-6)    ... 16 common frames omitted

      12:40:36,169 INFO  [stdout] (MSC service thread 1-6) [LSM-S] INFO  o.openiot.lsm.manager.SensorManager - insert triples into graph http://lsm.deri.ie/OpenIoT/OAuth#

      12:40:36,171 INFO  [stdout] (MSC service thread 1-6) [LSM-S] WARN  o.openiot.lsm.manager.SensorManager - Fail to insert triples into graph http://lsm.deri.ie/OpenIoT/OAuth#

      12:40:36,173 INFO  [stdout] (MSC service thread 1-6) java.lang.NullPointerException: null

      12:40:36,174 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.manager.SensorManager.insertTriplesToGraph(SensorManager.java:122) ~[classes:na]

      12:40:36,182 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.OauthServletHelper.feedToServer(OauthServletHelper.java:41) [classes:na]

      12:40:36,184 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.add(SecurityInitializer.java:394) [classes:na]

      12:40:36,187 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.addRegisteredService(SecurityInitializer.java:390) [classes:na]

      12:40:36,189 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.initialize(SecurityInitializer.java:95) [classes:na]

      12:40:36,190 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.init(SecurityInitializer.java:87) [classes:na]

      12:40:36,196 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.ContextListener.contextInitialized(ContextListener.java:34) [classes:na]

      12:40:36,198 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392) [jbossweb-7.0.13.Final.jar!/:na]

      12:40:36,200 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850) [jbossweb-7.0.13.Final.jar!/:na]

      12:40:36,201 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90) [jboss-as-web-7.1.1.Final.jar!/:7.1.1.Final]

      12:40:36,203 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:40:36,209 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:40:36,212 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_79]

      12:40:36,213 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_79]

      12:40:36,215 INFO  [stdout] (MSC service thread 1-6)    at java.lang.Thread.run(Thread.java:745) [na:1.7.0_79]

      12:40:36,218 INFO  [stdout] (MSC service thread 1-6) [LSM-S] INFO  o.o.lsm.pooling.ConnectionManager - Loading property file

      12:40:36,223 INFO  [stdout] (MSC service thread 1-6) [LSM-S] INFO  o.o.lsm.pooling.ConnectionManager - loading database server driver virtuoso.jdbc4.Driver

      12:40:57,236 INFO  [stdout] (MSC service thread 1-6) [LSM-S] ERROR o.o.lsm.pooling.ConnectionManager - Error making pool:

      12:40:57,237 INFO  [stdout] (MSC service thread 1-6) java.sql.SQLException: Unable to open a test connection to the given database. JDBC url = jdbc:virtuoso://lsm.deri.ie:1111/log_enable=2, username = <database username>. Terminating connection pool. Original Exception: ------

      12:40:57,253 INFO  [stdout] (MSC service thread 1-6) virtuoso.jdbc4.VirtuosoException: Connection failed: Connection timed out: connect

      12:40:57,255 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source)

      12:40:57,257 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source)

      12:40:57,263 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.<init>(Unknown Source)

      12:40:57,266 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.Driver.connect(Unknown Source)

      12:40:57,268 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:571)

      12:40:57,269 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:215)

      12:40:57,271 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.obtainRawInternalConnection(BoneCP.java:256)

      12:40:57,279 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.<init>(BoneCP.java:305)

      12:40:57,280 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.pooling.ConnectionManager.init(ConnectionManager.java:75)

      12:40:57,283 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.manager.SensorManager.<init>(SensorManager.java:71)

      12:40:57,285 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.OauthServletHelper.feedToServer(OauthServletHelper.java:18)

      12:40:57,292 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.add(SecurityInitializer.java:394)

      12:40:57,294 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.addRegisteredService(SecurityInitializer.java:390)

      12:40:57,296 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.initialize(SecurityInitializer.java:95)

      12:40:57,298 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.init(SecurityInitializer.java:87)

      12:40:57,300 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.ContextListener.contextInitialized(ContextListener.java:34)

      12:40:57,307 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392)

      12:40:57,309 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850)

      12:40:57,311 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90)

      12:40:57,315 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)

      12:40:57,321 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)

      12:40:57,323 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)

      12:40:57,325 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

      12:40:57,327 INFO  [stdout] (MSC service thread 1-6)    at java.lang.Thread.run(Thread.java:745)

      12:40:57,329 INFO  [stdout] (MSC service thread 1-6) ------

      12:40:57,336 INFO  [stdout] (MSC service thread 1-6)

      12:40:57,338 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.<init>(BoneCP.java:312) ~[bonecp-0.7.1.RELEASE.jar:0.7.1.RELEASE]

      12:40:57,339 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.pooling.ConnectionManager.init(ConnectionManager.java:75) ~[classes:na]

      12:40:57,342 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.manager.SensorManager.<init>(SensorManager.java:71) [classes:na]

      12:40:57,344 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.OauthServletHelper.feedToServer(OauthServletHelper.java:18) [classes:na]

      12:40:57,350 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.add(SecurityInitializer.java:394) [classes:na]

      12:40:57,351 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.addRegisteredService(SecurityInitializer.java:390) [classes:na]

      12:40:57,354 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.initialize(SecurityInitializer.java:95) [classes:na]

      12:40:57,356 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.init(SecurityInitializer.java:87) [classes:na]

      12:40:57,357 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.ContextListener.contextInitialized(ContextListener.java:34) [classes:na]

      12:40:57,363 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392) [jbossweb-7.0.13.Final.jar!/:na]

      12:40:57,366 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850) [jbossweb-7.0.13.Final.jar!/:na]

      12:40:57,368 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90) [jboss-as-web-7.1.1.Final.jar!/:7.1.1.Final]

      12:40:57,370 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:40:57,376 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:40:57,378 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_79]

      12:40:57,380 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_79]

      12:40:57,383 INFO  [stdout] (MSC service thread 1-6)    at java.lang.Thread.run(Thread.java:745) [na:1.7.0_79]

      12:40:57,384 INFO  [stdout] (MSC service thread 1-6) Caused by: virtuoso.jdbc4.VirtuosoException: Connection failed: Connection timed out: connect

      12:40:57,391 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:40:57,392 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:40:57,394 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.<init>(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:40:57,397 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.Driver.connect(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:40:57,403 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:571) ~[na:1.7.0_79]

      12:40:57,405 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:215) ~[na:1.7.0_79]

      12:40:57,407 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.obtainRawInternalConnection(BoneCP.java:256) ~[bonecp-0.7.1.RELEASE.jar:0.7.1.RELEASE]

      12:40:57,409 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.<init>(BoneCP.java:305) ~[bonecp-0.7.1.RELEASE.jar:0.7.1.RELEASE]

      12:40:57,411 INFO  [stdout] (MSC service thread 1-6)    ... 16 common frames omitted

      12:40:57,418 INFO  [stdout] (MSC service thread 1-6) [LSM-S] INFO  o.openiot.lsm.manager.SensorManager - insert triples into graph http://lsm.deri.ie/OpenIoT/OAuth#

      12:40:57,421 INFO  [stdout] (MSC service thread 1-6) [LSM-S] WARN  o.openiot.lsm.manager.SensorManager - Fail to insert triples into graph http://lsm.deri.ie/OpenIoT/OAuth#

      12:40:57,423 INFO  [stdout] (MSC service thread 1-6) java.lang.NullPointerException: null

      12:40:57,424 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.manager.SensorManager.insertTriplesToGraph(SensorManager.java:122) ~[classes:na]

      12:40:57,431 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.OauthServletHelper.feedToServer(OauthServletHelper.java:41) [classes:na]

      12:40:57,433 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.add(SecurityInitializer.java:394) [classes:na]

      12:40:57,435 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.addRegisteredService(SecurityInitializer.java:390) [classes:na]

      12:40:57,437 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.initialize(SecurityInitializer.java:95) [classes:na]

      12:40:57,443 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.init(SecurityInitializer.java:87) [classes:na]

      12:40:57,444 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.ContextListener.contextInitialized(ContextListener.java:34) [classes:na]

      12:40:57,445 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392) [jbossweb-7.0.13.Final.jar!/:na]

      12:40:57,449 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850) [jbossweb-7.0.13.Final.jar!/:na]

      12:40:57,450 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90) [jboss-as-web-7.1.1.Final.jar!/:7.1.1.Final]

      12:40:57,457 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:40:57,459 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:40:57,461 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_79]

      12:40:57,463 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_79]

      12:40:57,470 INFO  [stdout] (MSC service thread 1-6)    at java.lang.Thread.run(Thread.java:745) [na:1.7.0_79]

      12:40:57,473 INFO  [stdout] (MSC service thread 1-6) [LSM-S] INFO  o.o.lsm.pooling.ConnectionManager - Loading property file

      12:40:57,474 INFO  [stdout] (MSC service thread 1-6) [LSM-S] INFO  o.o.lsm.pooling.ConnectionManager - loading database server driver virtuoso.jdbc4.Driver

      12:41:18,490 INFO  [stdout] (MSC service thread 1-6) [LSM-S] ERROR o.o.lsm.pooling.ConnectionManager - Error making pool:

      12:41:18,491 INFO  [stdout] (MSC service thread 1-6) java.sql.SQLException: Unable to open a test connection to the given database. JDBC url = jdbc:virtuoso://lsm.deri.ie:1111/log_enable=2, username = <database username>. Terminating connection pool. Original Exception: ------

      12:41:18,508 INFO  [stdout] (MSC service thread 1-6) virtuoso.jdbc4.VirtuosoException: Connection failed: Connection timed out: connect

      12:41:18,510 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source)

      12:41:18,511 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source)

      12:41:18,513 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.<init>(Unknown Source)

      12:41:18,515 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.Driver.connect(Unknown Source)

      12:41:18,520 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:571)

      12:41:18,522 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:215)

      12:41:18,523 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.obtainRawInternalConnection(BoneCP.java:256)

      12:41:18,525 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.<init>(BoneCP.java:305)

      12:41:18,527 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.pooling.ConnectionManager.init(ConnectionManager.java:75)

      12:41:18,534 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.manager.SensorManager.<init>(SensorManager.java:71)

      12:41:18,536 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.OauthServletHelper.feedToServer(OauthServletHelper.java:18)

      12:41:18,538 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.add(SecurityInitializer.java:394)

      12:41:18,540 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.addRegisteredService(SecurityInitializer.java:390)

      12:41:18,542 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.initialize(SecurityInitializer.java:95)

      12:41:18,549 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.init(SecurityInitializer.java:87)

      12:41:18,551 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.ContextListener.contextInitialized(ContextListener.java:34)

      12:41:18,553 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392)

      12:41:18,555 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850)

      12:41:18,557 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90)

      12:41:18,563 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)

      12:41:18,566 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)

      12:41:18,568 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)

      12:41:18,570 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

      12:41:18,571 INFO  [stdout] (MSC service thread 1-6)    at java.lang.Thread.run(Thread.java:745)

      12:41:18,578 INFO  [stdout] (MSC service thread 1-6) ------

      12:41:18,579 INFO  [stdout] (MSC service thread 1-6)

      12:41:18,581 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.<init>(BoneCP.java:312) ~[bonecp-0.7.1.RELEASE.jar:0.7.1.RELEASE]

      12:41:18,583 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.pooling.ConnectionManager.init(ConnectionManager.java:75) ~[classes:na]

      12:41:18,585 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.manager.SensorManager.<init>(SensorManager.java:71) [classes:na]

      12:41:18,592 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.OauthServletHelper.feedToServer(OauthServletHelper.java:18) [classes:na]

      12:41:18,594 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.add(SecurityInitializer.java:394) [classes:na]

      12:41:18,596 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.addRegisteredService(SecurityInitializer.java:390) [classes:na]

      12:41:18,598 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.initialize(SecurityInitializer.java:95) [classes:na]

      12:41:18,604 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.init(SecurityInitializer.java:87) [classes:na]

      12:41:18,606 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.ContextListener.contextInitialized(ContextListener.java:34) [classes:na]

      12:41:18,608 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392) [jbossweb-7.0.13.Final.jar!/:na]

      12:41:18,610 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850) [jbossweb-7.0.13.Final.jar!/:na]

      12:41:18,611 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90) [jboss-as-web-7.1.1.Final.jar!/:7.1.1.Final]

      12:41:18,619 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:41:18,621 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:41:18,624 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_79]

      12:41:18,625 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_79]

      12:41:18,627 INFO  [stdout] (MSC service thread 1-6)    at java.lang.Thread.run(Thread.java:745) [na:1.7.0_79]

      12:41:18,635 INFO  [stdout] (MSC service thread 1-6) Caused by: virtuoso.jdbc4.VirtuosoException: Connection failed: Connection timed out: connect

      12:41:18,637 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:41:18,639 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:41:18,641 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.<init>(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:41:18,643 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.Driver.connect(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:41:18,650 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:571) ~[na:1.7.0_79]

      12:41:18,652 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:215) ~[na:1.7.0_79]

      12:41:18,654 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.obtainRawInternalConnection(BoneCP.java:256) ~[bonecp-0.7.1.RELEASE.jar:0.7.1.RELEASE]

      12:41:18,656 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.<init>(BoneCP.java:305) ~[bonecp-0.7.1.RELEASE.jar:0.7.1.RELEASE]

      12:41:18,658 INFO  [stdout] (MSC service thread 1-6)    ... 16 common frames omitted

      12:41:18,665 INFO  [stdout] (MSC service thread 1-6) [LSM-S] INFO  o.openiot.lsm.manager.SensorManager - insert triples into graph http://lsm.deri.ie/OpenIoT/OAuth#

      12:41:18,668 INFO  [stdout] (MSC service thread 1-6) [LSM-S] WARN  o.openiot.lsm.manager.SensorManager - Fail to insert triples into graph http://lsm.deri.ie/OpenIoT/OAuth#

      12:41:18,670 INFO  [stdout] (MSC service thread 1-6) java.lang.NullPointerException: null

      12:41:18,671 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.manager.SensorManager.insertTriplesToGraph(SensorManager.java:122) ~[classes:na]

      12:41:18,677 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.OauthServletHelper.feedToServer(OauthServletHelper.java:41) [classes:na]

      12:41:18,678 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.add(SecurityInitializer.java:394) [classes:na]

      12:41:18,681 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.addRegisteredService(SecurityInitializer.java:390) [classes:na]

      12:41:18,683 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.initialize(SecurityInitializer.java:95) [classes:na]

      12:41:18,684 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.init(SecurityInitializer.java:87) [classes:na]

      12:41:18,691 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.ContextListener.contextInitialized(ContextListener.java:34) [classes:na]

      12:41:18,693 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392) [jbossweb-7.0.13.Final.jar!/:na]

      12:41:18,695 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850) [jbossweb-7.0.13.Final.jar!/:na]

      12:41:18,698 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90) [jboss-as-web-7.1.1.Final.jar!/:7.1.1.Final]

      12:41:18,704 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:41:18,706 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:41:18,708 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_79]

      12:41:18,710 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_79]

      12:41:18,717 INFO  [stdout] (MSC service thread 1-6)    at java.lang.Thread.run(Thread.java:745) [na:1.7.0_79]

      12:41:18,721 INFO  [stdout] (MSC service thread 1-6) [LSM-S] INFO  o.o.lsm.pooling.ConnectionManager - Loading property file

      12:41:18,723 INFO  [stdout] (MSC service thread 1-6) [LSM-S] INFO  o.o.lsm.pooling.ConnectionManager - loading database server driver virtuoso.jdbc4.Driver

      12:41:39,747 INFO  [stdout] (MSC service thread 1-6) [LSM-S] ERROR o.o.lsm.pooling.ConnectionManager - Error making pool:

      12:41:39,749 INFO  [stdout] (MSC service thread 1-6) java.sql.SQLException: Unable to open a test connection to the given database. JDBC url = jdbc:virtuoso://lsm.deri.ie:1111/log_enable=2, username = <database username>. Terminating connection pool. Original Exception: ------

      12:41:39,756 INFO  [stdout] (MSC service thread 1-6) virtuoso.jdbc4.VirtuosoException: Connection failed: Connection timed out: connect

      12:41:39,757 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source)

      12:41:39,758 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source)

      12:41:39,760 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.<init>(Unknown Source)

      12:41:39,761 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.Driver.connect(Unknown Source)

      12:41:39,769 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:571)

      12:41:39,770 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:215)

      12:41:39,772 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.obtainRawInternalConnection(BoneCP.java:256)

      12:41:39,773 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.<init>(BoneCP.java:305)

      12:41:39,774 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.pooling.ConnectionManager.init(ConnectionManager.java:75)

      12:41:39,776 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.manager.SensorManager.<init>(SensorManager.java:71)

      12:41:39,777 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.OauthServletHelper.feedToServer(OauthServletHelper.java:18)

      12:41:39,784 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.add(SecurityInitializer.java:394)

      12:41:39,786 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.addRegisteredService(SecurityInitializer.java:390)

      12:41:39,788 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.initialize(SecurityInitializer.java:95)

      12:41:39,789 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.init(SecurityInitializer.java:87)

      12:41:39,791 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.ContextListener.contextInitialized(ContextListener.java:34)

      12:41:39,792 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392)

      12:41:39,799 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850)

      12:41:39,801 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90)

      12:41:39,803 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)

      12:41:39,805 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)

      12:41:39,807 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)

      12:41:39,813 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

      12:41:39,814 INFO  [stdout] (MSC service thread 1-6)    at java.lang.Thread.run(Thread.java:745)

      12:41:39,817 INFO  [stdout] (MSC service thread 1-6) ------

      12:41:39,818 INFO  [stdout] (MSC service thread 1-6)

      12:41:39,819 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.<init>(BoneCP.java:312) ~[bonecp-0.7.1.RELEASE.jar:0.7.1.RELEASE]

      12:41:39,826 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.pooling.ConnectionManager.init(ConnectionManager.java:75) ~[classes:na]

      12:41:39,828 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.manager.SensorManager.<init>(SensorManager.java:71) [classes:na]

      12:41:39,829 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.OauthServletHelper.feedToServer(OauthServletHelper.java:18) [classes:na]

      12:41:39,831 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.add(SecurityInitializer.java:394) [classes:na]

      12:41:39,834 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.addRegisteredService(SecurityInitializer.java:390) [classes:na]

      12:41:39,840 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.initialize(SecurityInitializer.java:95) [classes:na]

      12:41:39,842 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.init(SecurityInitializer.java:87) [classes:na]

      12:41:39,844 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.ContextListener.contextInitialized(ContextListener.java:34) [classes:na]

      12:41:39,845 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392) [jbossweb-7.0.13.Final.jar!/:na]

      12:41:39,847 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850) [jbossweb-7.0.13.Final.jar!/:na]

      12:41:39,855 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90) [jboss-as-web-7.1.1.Final.jar!/:7.1.1.Final]

      12:41:39,857 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:41:39,859 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:41:39,861 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_79]

      12:41:39,862 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_79]

      12:41:39,871 INFO  [stdout] (MSC service thread 1-6)    at java.lang.Thread.run(Thread.java:745) [na:1.7.0_79]

      12:41:39,872 INFO  [stdout] (MSC service thread 1-6) Caused by: virtuoso.jdbc4.VirtuosoException: Connection failed: Connection timed out: connect

      12:41:39,874 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:41:39,876 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.connect(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:41:39,877 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.VirtuosoConnection.<init>(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:41:39,884 INFO  [stdout] (MSC service thread 1-6)    at virtuoso.jdbc4.Driver.connect(Unknown Source) ~[virtjdbc4-4.jar:na]

      12:41:39,885 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:571) ~[na:1.7.0_79]

      12:41:39,887 INFO  [stdout] (MSC service thread 1-6)    at java.sql.DriverManager.getConnection(DriverManager.java:215) ~[na:1.7.0_79]

      12:41:39,889 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.obtainRawInternalConnection(BoneCP.java:256) ~[bonecp-0.7.1.RELEASE.jar:0.7.1.RELEASE]

      12:41:39,890 INFO  [stdout] (MSC service thread 1-6)    at com.jolbox.bonecp.BoneCP.<init>(BoneCP.java:305) ~[bonecp-0.7.1.RELEASE.jar:0.7.1.RELEASE]

      12:41:39,892 INFO  [stdout] (MSC service thread 1-6)    ... 16 common frames omitted

      12:41:39,901 INFO  [stdout] (MSC service thread 1-6) [LSM-S] INFO  o.openiot.lsm.manager.SensorManager - insert triples into graph http://lsm.deri.ie/OpenIoT/OAuth#

      12:41:39,904 INFO  [stdout] (MSC service thread 1-6) [LSM-S] WARN  o.openiot.lsm.manager.SensorManager - Fail to insert triples into graph http://lsm.deri.ie/OpenIoT/OAuth#

      12:41:39,906 INFO  [stdout] (MSC service thread 1-6) java.lang.NullPointerException: null

      12:41:39,907 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.manager.SensorManager.insertTriplesToGraph(SensorManager.java:122) ~[classes:na]

      12:41:39,915 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.OauthServletHelper.feedToServer(OauthServletHelper.java:41) [classes:na]

      12:41:39,917 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.add(SecurityInitializer.java:394) [classes:na]

      12:41:39,920 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.addRegisteredService(SecurityInitializer.java:390) [classes:na]

      12:41:39,922 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.initialize(SecurityInitializer.java:95) [classes:na]

      12:41:39,929 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.SecurityInitializer.init(SecurityInitializer.java:87) [classes:na]

      12:41:39,931 INFO  [stdout] (MSC service thread 1-6)    at org.openiot.lsm.http.ContextListener.contextInitialized(ContextListener.java:34) [classes:na]

      12:41:39,933 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392) [jbossweb-7.0.13.Final.jar!/:na]

      12:41:39,935 INFO  [stdout] (MSC service thread 1-6)    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850) [jbossweb-7.0.13.Final.jar!/:na]

      12:41:39,941 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90) [jboss-as-web-7.1.1.Final.jar!/:7.1.1.Final]

      12:41:39,944 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:41:39,946 INFO  [stdout] (MSC service thread 1-6)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar!/:1.0.2.GA]

      12:41:39,949 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_79]

      12:41:39,956 INFO  [stdout] (MSC service thread 1-6)    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_79]

      12:41:39,958 INFO  [stdout] (MSC service thread 1-6)    at java.lang.Thread.run(Thread.java:745) [na:1.7.0_79]

      12:41:40,054 INFORMACIËN [javax.enterprise.resource.webcontainer.jsf.config] (MSC service thread 1-6) Inicializando Mojarra 2.1.7-jbossorg-1 (20120227-1401) para el contexto '/lsm-light.server'

      12:41:44,639 INFO  [org.jboss.web] (MSC service thread 1-6) JBAS018210: Registering web context: /lsm-light.server

      12:41:45,148 WARN  [org.jboss.msc.service.fail] (MSC service thread 1-4) MSC00004: Failure during stop of service jboss.web.deployment.default-host."/lsm-light.server": java.lang.NoSuchMethodError: org.apache.log4j.Logger.removeAppender(Lorg/apache/log4j/Appender;)V

              at net.bull.javamelody.Log4JAppender.deregister(Log4JAppender.java:56)

              at net.bull.javamelody.FilterContext.deregisterLogs(FilterContext.java:366)

              at net.bull.javamelody.FilterContext.destroy(FilterContext.java:319)

              at net.bull.javamelody.MonitoringFilter.destroy(MonitoringFilter.java:141)

              at org.apache.catalina.core.ApplicationFilterConfig.release(ApplicationFilterConfig.java:504)

              at org.apache.catalina.core.StandardContext.filterStop(StandardContext.java:3301)

              at org.apache.catalina.core.StandardContext.stop(StandardContext.java:3989)

              at org.jboss.as.web.deployment.WebDeploymentService.stop(WebDeploymentService.java:108)

              at org.jboss.msc.service.ServiceControllerImpl$StopTask.stopService(ServiceControllerImpl.java:1911) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]

              at org.jboss.msc.service.ServiceControllerImpl$StopTask.run(ServiceControllerImpl.java:1874) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]

              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_79]

              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_79]

              at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_79]

       

       

      12:41:45,208 INFO  [org.apache.catalina.core.ContainerBase] (MSC service thread 1-4) No se ha arrancado el Contenedor org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/lsm-light.server].[UploadFileServlet]

      12:41:45,211 INFO  [org.apache.catalina.core.ContainerBase] (MSC service thread 1-4) No se ha arrancado el Contenedor org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/lsm-light.server].[org.openiot.lsm.http.UploadFileServlet]

      12:41:45,220 INFO  [org.apache.catalina.core.ContainerBase] (MSC service thread 1-4) No se ha arrancado el Contenedor org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/lsm-light.server].[jsp]

      12:41:45,223 INFO  [org.apache.catalina.core.ContainerBase] (MSC service thread 1-4) No se ha arrancado el Contenedor org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/lsm-light.server].[TriplesServlet]

      12:41:45,226 INFO  [org.apache.catalina.core.ContainerBase] (MSC service thread 1-4) No se ha arrancado el Contenedor org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/lsm-light.server].[ObjectServlet]

      12:41:45,236 INFO  [org.apache.catalina.core.ContainerBase] (MSC service thread 1-4) No se ha arrancado el Contenedor org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/lsm-light.server].[SDUMServlet]

      12:41:45,239 INFO  [org.apache.catalina.core.ContainerBase] (MSC service thread 1-4) No se ha arrancado el Contenedor org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/lsm-light.server].[OauthServlet]

      12:41:45,242 INFO  [org.apache.catalina.core.ContainerBase] (MSC service thread 1-4) No se ha arrancado el Contenedor org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/lsm-light.server].[FacesServlet]

      12:41:45,252 INFO  [org.apache.catalina.core.ContainerBase] (MSC service thread 1-4) No se ha arrancado el Contenedor org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/lsm-light.server].[default]

      12:41:45,255 INFO  [org.apache.catalina.core.ContainerBase] (MSC service thread 1-4) No se ha arrancado el Contenedor org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/lsm-light.server].[javax.ws.rs.core.Application]

      12:41:45,258 INFO  [org.apache.catalina.core.ContainerBase] (MSC service thread 1-4) No se ha arrancado el Contenedor org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/lsm-light.server].[org.openiot.lsm.http.TriplesServlet]

      12:41:45,267 INFO  [org.apache.catalina.core.ContainerBase] (MSC service thread 1-4) No se ha arrancado el Contenedor org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/lsm-light.server].[DownloadFileServlet]

      12:41:45,271 INFO  [org.apache.catalina.core.ContainerBase] (MSC service thread 1-4) No se ha arrancado el Contenedor org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/lsm-light.server].[org.openiot.lsm.http.ObjectServlet]

      12:41:45,276 INFO  [stdout] (MSC service thread 1-4) [LSM-S] INFO  o.o.lsm.pooling.ConnectionManager - contextDestroyed....

      12:41:46,520 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015877: Stopped deployment lsm-light.server.war in 972330ms