Authentication failed for account from Empire

35 views
Skip to first unread message

Raj

unread,
May 15, 2015, 2:50:01 PM5/15/15
to sta...@clarkparsia.com
Hi, I am not able to identify root cause for this error. Connection url is configured in empire config file (
http://xxxx:5820/mydb;username=admin;password=admin). But unfortunately each and every time the username changes somehow admin to "admiin", "admiiz", "aadmin" etc., and authentication fails. 

[null] - 05/07/2015 20:52:05 [saveInternal] ERROR me.socure.service.queue.processor.impl.OntologyEntityProcessor - Could not save Ontology Entity[]
org.springframework.orm.jpa.JpaSystemException: com.clarkparsia.empire.ds.QueryException: com.complexible.stardog.security.StardogAuthenticationException: Authentication failed for account 'admiin'; nested exception is javax.persistence.PersistenceException: com.clarkparsia.empire.ds.QueryException: com.complexible.stardog.security.StardogAuthenticationException: Authentication failed for account 'admiin'
        at org.springframework.orm.jpa.EntityManagerFactoryUtils.convertJpaAccessExceptionIfPossible(EntityManagerFactoryUtils.java:418)
        at org.springframework.orm.jpa.aspectj.JpaExceptionTranslatorAspect.ajc$afterThrowing$org_springframework_orm_jpa_aspectj_JpaExceptionTranslatorAspect$1$18a1ac9(JpaExceptionTranslatorAspect.aj:33)
        at me.socure.service.ontoop.service.EmpireConnection.getObject(EmpireConnection.java:144)
        at me.socure.service.ontoop.service.impl.SocialMediaServiceImpl.save(SocialMediaServiceImpl.java:51)
        at me.socure.service.queue.processor.impl.OntologyEntityProcessor.saveInternal(OntologyEntityProcessor.java:59)
        at me.socure.service.queue.processor.impl.OntologyEntityProcessor.save_aroundBody0(OntologyEntityProcessor.java:28)
        at me.socure.service.queue.processor.impl.OntologyEntityProcessor$AjcClosure1.run(OntologyEntityProcessor.java:1)
        at org.springframework.scheduling.aspectj.AbstractAsyncExecutionAspect.ajc$around$org_springframework_scheduling_aspectj_AbstractAsyncExecutionAspect$1$6c004c3eproceed(AbstractAsyncExecutionAspect.aj:58)
        at org.springframework.scheduling.aspectj.AbstractAsyncExecutionAspect$AbstractAsyncExecutionAspect$1.call(AbstractAsyncExecutionAspect.aj:66)
        at java.util.concurrent.FutureTask.run(FutureTask.java:262)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
        at java.lang.Thread.run(Thread.java:745)
Caused by: javax.persistence.PersistenceException: com.clarkparsia.empire.ds.QueryException: com.complexible.stardog.security.StardogAuthenticationException: Authentication failed for account 'admiin'
        at com.clarkparsia.empire.impl.EntityManagerImpl.find(EntityManagerImpl.java:664)
        ... 11 more
Caused by: com.clarkparsia.empire.ds.QueryException: com.complexible.stardog.security.StardogAuthenticationException: Authentication failed for account 'admiin'
        at com.complexible.stardog.empire.StardogEmpireDataSource.selectQuery(StardogEmpireDataSource.java:131)
        at com.clarkparsia.empire.ds.DataSourceUtil.exists(DataSourceUtil.java:187)
        at com.clarkparsia.empire.impl.EntityManagerImpl.find(EntityManagerImpl.java:649)
        ... 11 more
Caused by: com.complexible.stardog.security.StardogAuthenticationException: Authentication failed for account 'admiin'
        at com.complexible.stardog.protocols.client.SPECClientUtil.toStardogException(SPECClientUtil.java:53)
        at com.complexible.stardog.protocols.client.SPECClientUtil.toStardogException(SPECClientUtil.java:32)
        at com.complexible.stardog.api.impl.SPECSelectQuery.execute(SPECSelectQuery.java:52)
        at com.complexible.stardog.api.impl.SPECSelectQuery.execute(SPECSelectQuery.java:31)
        at com.complexible.stardog.empire.StardogEmpireDataSource.selectQuery(StardogEmpireDataSource.java:97)
        ... 13 more
Caused by: com.complexible.common.protocols.AuthenticationException: Authentication failed for account 'admiin'
        at com.complexible.stardog.protocols.http.client.BaseHttpClient.checkResponseCode(BaseHttpClient.java:353)
        at com.complexible.stardog.protocols.http.client.BaseHttpClient.execute(BaseHttpClient.java:241)
        at com.complexible.stardog.protocols.http.client.HttpClientImpl.select(HttpClientImpl.java:300)
        at com.complexible.stardog.protocols.http.client.HttpClientImpl.select(HttpClientImpl.java:92)
        at com.complexible.stardog.api.impl.SPECSelectQuery.execute(SPECSelectQuery.java:45)



[null] - 05/15/2015 09:52:13 [saveInternal] ERROR me.socure.service.queue.processor.impl.OntologyEntityProcessor - Could not save Ontology Entity[]
org.springframework.orm.jpa.JpaSystemException: com.clarkparsia.empire.ds.QueryException: com.complexible.stardog.security.StardogAuthenticationException: Authentication failed for account 'admiiz'; nested exception is javax.persistence.PersistenceException: com.clarkparsia.empire.ds.QueryException: com.complexible.stardog.security.StardogAuthenticationException: Authentication failed foraccount 'admiiz'
        at org.springframework.orm.jpa.EntityManagerFactoryUtils.convertJpaAccessExceptionIfPossible(EntityManagerFactoryUtils.java:418)
        at org.springframework.orm.jpa.aspectj.JpaExceptionTranslatorAspect.ajc$afterThrowing$org_springframework_orm_jpa_aspectj_JpaExceptionTranslatorAspect$1$18a1ac9(JpaExceptionTranslatorAspect.aj:33)
        at me.socure.service.ontoop.service.EmpireConnection.getObject(EmpireConnection.java:144)
        at me.socure.service.ontoop.service.impl.SocialMediaServiceImpl.save(SocialMediaServiceImpl.java:51)
        at me.socure.service.queue.processor.impl.OntologyEntityProcessor.saveInternal(OntologyEntityProcessor.java:59)
        at me.socure.service.queue.processor.impl.OntologyEntityProcessor.save_aroundBody0(OntologyEntityProcessor.java:28)
        at me.socure.service.queue.processor.impl.OntologyEntityProcessor$AjcClosure1.run(OntologyEntityProcessor.java:1)
        at org.springframework.scheduling.aspectj.AbstractAsyncExecutionAspect.ajc$around$org_springframework_scheduling_aspectj_AbstractAsyncExecutionAspect$1$6c004c3eproceed(AbstractAsyncExecutionAspect.aj:58)
        at org.springframework.scheduling.aspectj.AbstractAsyncExecutionAspect$AbstractAsyncExecutionAspect$1.call(AbstractAsyncExecutionAspect.aj:66)
        at java.util.concurrent.FutureTask.run(FutureTask.java:262)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
        at java.lang.Thread.run(Thread.java:745)
Caused by: javax.persistence.PersistenceException: com.clarkparsia.empire.ds.QueryException: com.complexible.stardog.security.StardogAuthenticationException: Authentication failed for account 'admiiz'
        at com.clarkparsia.empire.impl.EntityManagerImpl.find(EntityManagerImpl.java:664)
        ... 11 more
Caused by: com.clarkparsia.empire.ds.QueryException: com.complexible.stardog.security.StardogAuthenticationException: Authenticationfailed for account 'admiiz'
        at com.complexible.stardog.empire.StardogEmpireDataSource.selectQuery(StardogEmpireDataSource.java:131)
        at com.clarkparsia.empire.ds.DataSourceUtil.exists(DataSourceUtil.java:187)
        at com.clarkparsia.empire.impl.EntityManagerImpl.find(EntityManagerImpl.java:649)
        ... 11 more
Caused by: com.complexible.stardog.security.StardogAuthenticationException: Authentication failed for account 'admiiz'
        at com.complexible.stardog.protocols.client.SPECClientUtil.toStardogException(SPECClientUtil.java:53)
        at com.complexible.stardog.protocols.client.SPECClientUtil.toStardogException(SPECClientUtil.java:32)
        at com.complexible.stardog.api.impl.SPECSelectQuery.execute(SPECSelectQuery.java:52)
        at com.complexible.stardog.api.impl.SPECSelectQuery.execute(SPECSelectQuery.java:31)
        at com.complexible.stardog.empire.StardogEmpireDataSource.selectQuery(StardogEmpireDataSource.java:97)
        ... 13 more
Caused by: com.complexible.common.protocols.AuthenticationException: Authentication failed for account 'admiiz'
        at com.complexible.stardog.protocols.http.client.BaseHttpClient.checkResponseCode(BaseHttpClient.java:353)
        at com.complexible.stardog.protocols.http.client.BaseHttpClient.execute(BaseHttpClient.java:241)
        at com.complexible.stardog.protocols.http.client.HttpClientImpl.select(HttpClientImpl.java:300)
        at com.complexible.stardog.protocols.http.client.HttpClientImpl.select(HttpClientImpl.java:92)
        at com.complexible.stardog.api.impl.SPECSelectQuery.execute(SPECSelectQuery.java:45)
        ... 15 more



[null] - 05/07/2015 08:00:50 [fromRdf] WARN  com.clarkparsia.empire.annotation.RdfGenerator - Probable type mismatch: 1 public java.lang.Short me.socure.service.ontoop.entity.email.ScoringComponent.providerType
[null] - 05/07/2015 08:00:50 [fromRdf] WARN  com.clarkparsia.empire.annotation.RdfGenerator - Probable type mismatch: 15 public java.lang.Short me.socure.service.ontoop.entity.email.ScoringComponent.providerType
[null] - 05/07/2015 08:12:25 [saveInternal] ERROR me.socure.service.queue.processor.impl.OntologyEntityProcessor - Could not save Ontology Entity[]
org.springframework.orm.jpa.JpaSystemException: com.clarkparsia.empire.ds.QueryException: com.complexible.stardog.security.StardogAuthenticationException: Authentication failed for account 'aadmin'; nested exception is javax.persistence.PersistenceException: com.clarkparsia.empire.ds.QueryException: com.complexible.stardog.security.StardogAuthenticationException: Authentication failed foraccount 'aadmin'
        at org.springframework.orm.jpa.EntityManagerFactoryUtils.convertJpaAccessExceptionIfPossible(EntityManagerFactoryUtils.java:418)
        at org.springframework.orm.jpa.aspectj.JpaExceptionTranslatorAspect.ajc$afterThrowing$org_springframework_orm_jpa_aspectj_JpaExceptionTranslatorAspect$1$18a1ac9(JpaExceptionTranslatorAspect.aj:33)
        at me.socure.service.ontoop.service.EmpireConnection.getObject(EmpireConnection.java:144)
        at me.socure.service.ontoop.service.impl.SocialMediaServiceImpl.save(SocialMediaServiceImpl.java:51)
        at me.socure.service.queue.processor.impl.OntologyEntityProcessor.saveInternal(OntologyEntityProcessor.java:59)
        at me.socure.service.queue.processor.impl.OntologyEntityProcessor.save_aroundBody0(OntologyEntityProcessor.java:28)
        at me.socure.service.queue.processor.impl.OntologyEntityProcessor$AjcClosure1.run(OntologyEntityProcessor.java:1)
        at org.springframework.scheduling.aspectj.AbstractAsyncExecutionAspect.ajc$around$org_springframework_scheduling_aspectj_AbstractAsyncExecutionAspect$1$6c004c3eproceed(AbstractAsyncExecutionAspect.aj:58)
        at org.springframework.scheduling.aspectj.AbstractAsyncExecutionAspect$AbstractAsyncExecutionAspect$1.call(AbstractAsyncExecutionAspect.aj:66)
        at java.util.concurrent.FutureTask.run(FutureTask.java:262)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
        at java.lang.Thread.run(Thread.java:745)
Caused by: javax.persistence.PersistenceException: com.clarkparsia.empire.ds.QueryException: com.complexible.stardog.security.StardogAuthenticationException: Authentication failed for account 'aadmin'
        at com.clarkparsia.empire.impl.EntityManagerImpl.find(EntityManagerImpl.java:664)
        ... 11 more
Caused by: com.clarkparsia.empire.ds.QueryException: com.complexible.stardog.security.StardogAuthenticationException: Authenticationfailed for account 'aadmin'
        at com.complexible.stardog.empire.StardogEmpireDataSource.selectQuery(StardogEmpireDataSource.java:131)
        at com.clarkparsia.empire.ds.DataSourceUtil.exists(DataSourceUtil.java:187)
        at com.clarkparsia.empire.impl.EntityManagerImpl.find(EntityManagerImpl.java:649)
        ... 11 more
Caused by: com.complexible.stardog.security.StardogAuthenticationException: Authentication failed for account 'aadmin'
        at com.complexible.stardog.protocols.client.SPECClientUtil.toStardogException(SPECClientUtil.java:53)
        at com.complexible.stardog.protocols.client.SPECClientUtil.toStardogException(SPECClientUtil.java:32)
        at com.complexible.stardog.api.impl.SPECSelectQuery.execute(SPECSelectQuery.java:52)
        at com.complexible.stardog.api.impl.SPECSelectQuery.execute(SPECSelectQuery.java:31)
        at com.complexible.stardog.empire.StardogEmpireDataSource.selectQuery(StardogEmpireDataSource.java:97)
        ... 13 more
Caused by: com.complexible.common.protocols.AuthenticationException: Authentication failed for account 'aadmin'
        at com.complexible.stardog.protocols.http.client.BaseHttpClient.checkResponseCode(BaseHttpClient.java:353)
        at com.complexible.stardog.protocols.http.client.BaseHttpClient.execute(BaseHttpClient.java:241)
        at com.complexible.stardog.protocols.http.client.HttpClientImpl.select(HttpClientImpl.java:300)
        at com.complexible.stardog.protocols.http.client.HttpClientImpl.select(HttpClientImpl.java:92)
        at com.complexible.stardog.api.impl.SPECSelectQuery.execute(SPECSelectQuery.java:45)
        ... 15 more

anand...@gmail.com

unread,
May 18, 2015, 5:10:50 PM5/18/15
to sta...@clarkparsia.com, anand...@gmail.com
Anyone has got solution for this?
Reply all
Reply to author
Forward
0 new messages