You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@syncope.apache.org by "Dalrymple, Philip" <pw...@mdtsoft.com> on 2019/09/05 13:32:53 UTC
Syncope trying to deploy using Maven and not getting login
I am trying to deploy Syncope using the Maven method. I have followed the
instructions in
http://syncope.apache.org/docs/2.1/getting-started.html#maven-project
and then edited core/src/main/resources/domains/Master.properties
to have the correct postgres password, I re-did the mvn clean install
and placed the war files in my tomcat/webapps directory, they deployed
without me restarting tomcat.
When I got to http://XXXXX:8080/syncope-console I get a 500 error (see below)
when I got to .../syncope or .../syncope/index.html or .../syncope-enduser I get a 404 error.
I checked in WEB-INF/classes/persistence.properties (in syncope) and it had the
correct DB user, host, and password info and I verified that I could connect to the DB BUT
the DB was empty.
the stack trace on the syncope-console
type Exception report
message Unable to instantiate web session class org.apache.syncope.client.console.SyncopeConsoleSession
description The server encountered an internal error that prevented it from fulfilling this request.
exception
org.apache.wicket.WicketRuntimeException: Unable to instantiate web session class org.apache.syncope.client.console.SyncopeConsoleSession
org.apache.wicket.authroles.authentication.AuthenticatedWebApplication.newSession(AuthenticatedWebApplication.java:121)
org.apache.wicket.Application.fetchCreateAndSetSession(Application.java:1555)
org.apache.wicket.Session.get(Session.java:176)
org.apache.syncope.client.console.SyncopeConsoleSession.get(SyncopeConsoleSession.java:91)
org.apache.syncope.client.console.SyncopeConsoleRequestCycleListener.onException(SyncopeConsoleRequestCycleListener.java:80)
org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:126)
org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:122)
org.apache.wicket.util.listener.ListenerCollection.notify(ListenerCollection.java:80)
org.apache.wicket.request.cycle.RequestCycleListenerCollection.onException(RequestCycleListenerCollection.java:121)
org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:126)
org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:122)
org.apache.wicket.util.listener.ListenerCollection.notify(ListenerCollection.java:80)
org.apache.wicket.request.cycle.RequestCycleListenerCollection.onException(RequestCycleListenerCollection.java:121)
org.apache.wicket.request.cycle.RequestCycle.handleException(RequestCycle.java:368)
org.apache.wicket.request.cycle.RequestCycle.executeExceptionRequestHandler(RequestCycle.java:314)
org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:259)
org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:221)
org.apache.wicket.protocol.ws.AbstractUpgradeFilter.processRequestCycle(AbstractUpgradeFilter.java:70)
org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:206)
org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:299)
root cause
java.lang.reflect.InvocationTargetException
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
java.lang.reflect.Constructor.newInstance(Constructor.java:423)
org.apache.wicket.authroles.authentication.AuthenticatedWebApplication.newSession(AuthenticatedWebApplication.java:117)
org.apache.wicket.Application.fetchCreateAndSetSession(Application.java:1555)
org.apache.wicket.Session.get(Session.java:176)
org.apache.syncope.client.console.SyncopeConsoleSession.get(SyncopeConsoleSession.java:91)
org.apache.syncope.client.console.SyncopeConsoleRequestCycleListener.onException(SyncopeConsoleRequestCycleListener.java:80)
org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:126)
org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:122)
org.apache.wicket.util.listener.ListenerCollection.notify(ListenerCollection.java:80)
org.apache.wicket.request.cycle.RequestCycleListenerCollection.onException(RequestCycleListenerCollection.java:121)
org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:126)
org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:122)
org.apache.wicket.util.listener.ListenerCollection.notify(ListenerCollection.java:80)
org.apache.wicket.request.cycle.RequestCycleListenerCollection.onException(RequestCycleListenerCollection.java:121)
org.apache.wicket.request.cycle.RequestCycle.handleException(RequestCycle.java:368)
org.apache.wicket.request.cycle.RequestCycle.executeExceptionRequestHandler(RequestCycle.java:314)
org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:259)
org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:221)
org.apache.wicket.protocol.ws.AbstractUpgradeFilter.processRequestCycle(AbstractUpgradeFilter.java:70)
org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:206)
org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:299)
root cause
javax.xml.ws.WebServiceException: Remote exception with status code: NOT_FOUND
org.apache.syncope.client.lib.RestClientExceptionMapper.fromResponse(RestClientExceptionMapper.java:76)
org.apache.syncope.client.lib.RestClientExceptionMapper.fromResponse(RestClientExceptionMapper.java:42)
org.apache.cxf.jaxrs.client.ClientProxyImpl.checkResponse(ClientProxyImpl.java:372)
org.apache.cxf.jaxrs.client.ClientProxyImpl.handleResponse(ClientProxyImpl.java:948)
org.apache.cxf.jaxrs.client.ClientProxyImpl.doChainedInvocation(ClientProxyImpl.java:854)
org.apache.cxf.jaxrs.client.ClientProxyImpl.invoke(ClientProxyImpl.java:295)
com.sun.proxy.$Proxy119.platform(Unknown Source)
org.apache.syncope.client.console.SyncopeConsoleSession.<init>(SyncopeConsoleSession.java:103)
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
java.lang.reflect.Constructor.newInstance(Constructor.java:423)
org.apache.wicket.authroles.authentication.AuthenticatedWebApplication.newSession(AuthenticatedWebApplication.java:117)
org.apache.wicket.Application.fetchCreateAndSetSession(Application.java:1555)
org.apache.wicket.Session.get(Session.java:176)
org.apache.syncope.client.console.SyncopeConsoleSession.get(SyncopeConsoleSession.java:91)
org.apache.syncope.client.console.SyncopeConsoleRequestCycleListener.onException(SyncopeConsoleRequestCycleListener.java:80)
org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:126)
org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:122)
org.apache.wicket.util.listener.ListenerCollection.notify(ListenerCollection.java:80)
org.apache.wicket.request.cycle.RequestCycleListenerCollection.onException(RequestCycleListenerCollection.java:121)
org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:126)
org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:122)
org.apache.wicket.util.listener.ListenerCollection.notify(ListenerCollection.java:80)
org.apache.wicket.request.cycle.RequestCycleListenerCollection.onException(RequestCycleListenerCollection.java:121)
org.apache.wicket.request.cycle.RequestCycle.handleException(RequestCycle.java:368)
org.apache.wicket.request.cycle.RequestCycle.executeExceptionRequestHandler(RequestCycle.java:314)
org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:259)
org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:221)
org.apache.wicket.protocol.ws.AbstractUpgradeFilter.processRequestCycle(AbstractUpgradeFilter.java:70)
org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:206)
org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:299)
thanks
--
This email, and any files transmitted with it, are confidential
and intended solely for the use of the individual or entity to
whom they are addressed. If you have received this email in error,
please advise postmaster@mdtsoft.com <ma...@mdtsoft.com>.
3480 Preston Ridge Road
Suite 450
Alpharetta, GA 30005
Philip W. Dalrymple III <pw...@mdtsoft.com>
MDT Software - Automation Management Company
+1 678 297 1001
Fax +1 678 297 1003
Re: Syncope trying to deploy using Maven and not getting login
Posted by "Dalrymple, Philip" <pw...@mdtsoft.com>.
OK I was able to get 1.8 on my testing VM Still getting the same error
Now running
Apache Tomcat/9.0.24 Java/1.8.0_222-b10
14:09:13.507 INFO org.springframework.web.context.ContextLoader - Root WebApplicationContext: initialization started
14:09:16.452 WARN org.springframework.web.context.support.XmlWebApplicationContext - Exception encountered during context initialization - cancelling refresh attempt: org.springframework
.beans.factory.BeanCreationException: Error creating bean with name 'MasterEntityManagerFactory' defined in URL [jar:file:/opt/apache-tomcat-9.0.24/webapps/syncope/WEB-INF/lib/syncope-cor
e-persistence-jpa-2.1.4.jar!/domains/MasterDomain.xml]: Cannot resolve reference to bean 'MasterDataSource' while setting bean property 'dataSource'; nested exception is org.springframewo
rk.beans.factory.BeanCreationException: Error creating bean with name 'MasterDataSource' defined in URL [jar:file:/opt/apache-tomcat-9.0.24/webapps/syncope/WEB-INF/lib/syncope-core-persis
tence-jpa-2.1.4.jar!/domains/MasterDomain.xml]: Cannot resolve reference to bean 'localMasterDataSource' while setting bean property 'defaultObject'; nested exception is org.springframewo
rk.beans.factory.BeanCreationException: Error creating bean with name 'localMasterDataSource' defined in URL [jar:file:/opt/apache-tomcat-9.0.24/webapps/syncope/WEB-INF/lib/syncope-core-p
ersistence-jpa-2.1.4.jar!/domains/MasterDomain.xml]: Error setting property values; nested exception is org.springframework.beans.PropertyBatchUpdateException; nested PropertyAccessExcept
ions (1) are:
PropertyAccessException 1: org.springframework.beans.MethodInvocationException: Property 'driverClassName' threw exception; nested exception is java.lang.RuntimeException: Failed to load
driver class org.postgresql.Driver in either of HikariConfig class loader or Thread context classloader
Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'MasterDataSource' defined in URL [jar:file:/opt/apache-tomcat-9.0.24/webapps/syncope
/WEB-INF/lib/syncope-core-persistence-jpa-2.1.4.jar!/domains/MasterDomain.xml]: Cannot resolve reference to bean 'localMasterDataSource' while setting bean property 'defaultObject'; neste
d exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'localMasterDataSource' defined in URL [jar:file:/opt/apache-tomcat-9.0.24/webapps/sy
ncope/WEB-INF/lib/syncope-core-persistence-jpa-2.1.4.jar!/domains/MasterDomain.xml]: Error setting property values; nested exception is org.springframework.beans.PropertyBatchUpdateExcept
ion; nested PropertyAccessExceptions (1) are:
PropertyAccessException 1: org.springframework.beans.MethodInvocationException: Property 'driverClassName' threw exception; nested exception is java.lang.RuntimeException: Failed to load
driver class org.postgresql.Driver in either of HikariConfig class loader or Thread context classloader
14:09:16.455 ERROR org.springframework.web.context.ContextLoader - Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'MasterEntityManagerFactory' defined in URL [jar:file:/opt/apache-tomcat-9.0.24/webapps/syncope/WEB-
INF/lib/syncope-core-persistence-jpa-2.1.4.jar!/domains/MasterDomain.xml]: Cannot resolve reference to bean 'MasterDataSource' while setting bean property 'dataSource'; nested exception i
s org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'MasterDataSource' defined in URL [jar:file:/opt/apache-tomcat-9.0.24/webapps/syncope/WEB-INF/lib/
syncope-core-persistence-jpa-2.1.4.jar!/domains/MasterDomain.xml]: Cannot resolve reference to bean 'localMasterDataSource' while setting bean property 'defaultObject'; nested exception i
s org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'localMasterDataSource' defined in URL [jar:file:/opt/apache-tomcat-9.0.24/webapps/syncope/WEB-INF
/lib/syncope-core-persistence-jpa-2.1.4.jar!/domains/MasterDomain.xml]: Error setting property values; nested exception is org.springframework.beans.PropertyBatchUpdateException; nested P
ropertyAccessExceptions (1) are:
PropertyAccessException 1: org.springframework.beans.MethodInvocationException: Property 'driverClassName' threw exception; nested exception is java.lang.RuntimeException: Failed to load
driver class org.postgresql.Driver in either of HikariConfig class loader or Thread context classloader
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:378) ~[spring-beans-5.1.6.RELEASE.jar:5.1.6.RELEASE]
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:110) ~[spring-beans-5.1.6.RELEASE.jar:5.1.6.RELEA
SE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1681) ~[spring-beans-5.1.6.RELEASE.jar:
5.1.6.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1433) ~[spring-beans-5.1.6.RELEASE.jar:5.1.6.R
ELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:592) ~[spring-beans-5.1.6.RELEASE.jar:5.1.6.RE
LEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:515) ~[spring-beans-5.1.6.RELEASE.jar:5.1.6.RELE
ASE]
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:320) ~[spring-beans-5.1.6.RELEASE.jar:5.1.6.RELEASE]
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) ~[spring-beans-5.1.6.RELEASE.jar:5.1.6.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:318) ~[spring-beans-5.1.6.RELEASE.jar:5.1.6.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199) ~[spring-beans-5.1.6.RELEASE.jar:5.1.6.RELEASE]
at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1105) ~[spring-context-5.1.6.RELEASE.jar:5.1.6.RELEASE]
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:867) ~[spring-context-5.1.6.RELEASE.jar:5.1.6.REL
--
This email, and any files transmitted with it, are confidential
and intended solely for the use of the individual or entity to
whom they are addressed. If you have received this email in error,
please advise postmaster@mdtsoft.com <ma...@mdtsoft.com>.
3480 Preston Ridge Road
Suite 450
Alpharetta, GA 30005
Philip W. Dalrymple III <pw...@mdtsoft.com>
MDT Software - Automation Management Company
+1 678 297 1001
Fax +1 678 297 1003
________________________________________
From: Dalrymple, Philip <pw...@mdtsoft.com>
Sent: Thursday, September 12, 2019 8:58
To: user@syncope.apache.org
Subject: Re: Syncope trying to deploy using Maven and not getting login
I will have to build a new vm to have Java 1.8 with tomcat 9
--
This email, and any files transmitted with it, are confidential
and intended solely for the use of the individual or entity to
whom they are addressed. If you have received this email in error,
please advise postmaster@mdtsoft.com <ma...@mdtsoft.com>.
3480 Preston Ridge Road
Suite 450
Alpharetta, GA 30005
Philip W. Dalrymple III <pw...@mdtsoft.com>
MDT Software - Automation Management Company
+1 678 297 1001
Fax +1 678 297 1003
________________________________________
From: Andrea Patricelli <an...@tirasa.net>
Sent: Thursday, September 12, 2019 8:54
To: user@syncope.apache.org
Subject: Re: Syncope trying to deploy using Maven and not getting login
Il 12/09/19 14:40, Dalrymple, Philip ha scritto:
My tomcat for this is Apache Tomcat/7.0.76
DBMS is postgres 11
Java is 1.8.
I have another test VM (where I was doing the build) with
Apache Tomcat/9.0.24 Java/12.0.2+10
(I don't have a system with tomcat 8.5+ and java just 1.8)
Should it work on the java12.0.2 version?
No, please work on Tomcat 8.5+ and Java 8.
This error
tence-jpa-2.1.4.jar!/persistenceContext.xml]: Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError: javax/el/ELManager
seems to be caused by JEE version used by Tomcat and for building artifacts.
Please build the project with Java 8 and deploy on JEE container laying on Java 8 JVM (Tomcat 9 is fine).
--
This email, and any files transmitted with it, are confidential
and intended solely for the use of the individual or entity to
whom they are addressed. If you have received this email in error,
please advise postmaster@mdtsoft.com<ma...@mdtsoft.com> <ma...@mdtsoft.com>.
3480 Preston Ridge Road
Suite 450
Alpharetta, GA 30005
Philip W. Dalrymple III <pw...@mdtsoft.com>
MDT Software - Automation Management Company
+1 678 297 1001
Fax +1 678 297 1003
________________________________________
From: Andrea Patricelli <an...@apache.org>
Sent: Thursday, September 12, 2019 8:36
To: user@syncope.apache.org<ma...@syncope.apache.org>
Subject: Re: Syncope trying to deploy using Maven and not getting login
Are you respecting versions of:
- JEE container [1] (at least Tomcat 8.5, better 9)
- Java (1.8)
- DBMS [2]
Best regards,
Andrea
[1]
https://syncope.apache.org/docs/2.1/getting-started.html#java-ee-container
[2]
https://syncope.apache.org/docs/2.1/getting-started.html#internal-storage
Il 12/09/19 14:28, Dalrymple, Philip ha scritto:
I had not looked int the rest log, that had the error in it. see the bottom of this message
All the tables are there
List of relations
Schema | Name | Type | Owner
--------+--------------------------------+-------+---------
public | accesstoken | table | syncope
public | accountpolicy | table | syncope
public | accountpolicy_externalresource | table | syncope
public | accountpolicyrule | table | syncope
public | adyngroupmembers | table | syncope
public | adyngroupmembership | table | syncope
public | amembership | table | syncope
public | anyabout | table | syncope
public | anyobject | table | syncope
public | anyobject_anytypeclass | table | syncope
public | anyobject_externalresource | table | syncope
public | anytemplatepulltask | table | syncope
public | anytemplaterealm | table | syncope
public | anytype | table | syncope
public | anytype_anytypeclass | table | syncope
public | anytypeclass | table | syncope
public | aplainattr | table | syncope
public | aplainattruniquevalue | table | syncope
public | aplainattrvalue | table | syncope
public | application | table | syncope
public | arelationship | table | syncope
public | conninstance | table | syncope
public | conninstance_capabilities | table | syncope
public | conninstancehistoryconf | table | syncope
public | cplainattr | table | syncope
public | cplainattruniquevalue | table | syncope
public | cplainattrvalue | table | syncope
public | derschema | table | syncope
public | dynrealm | table | syncope
public | dynrealmmembers | table | syncop
--
This email, and any files transmitted with it, are confidential
and intended solely for the use of the individual or entity to
whom they are addressed. If you have received this email in error,
please advise postmaster@mdtsoft.com<ma...@mdtsoft.com> <ma...@mdtsoft.com>.
At least I think that they are all there.
The full core-connid log for this startup is
08:04:04.430 INFO Add ConnectorInfo ConnectorKey( bundleName=net.tirasa.connid.bundles.soap bundleVersion=1.4.3 connectorName=net.tirasa.connid.bundles.soap.WebServiceConnector ) to Local C
onnector Info Manager from file:/opt/syncope/bundles/net.tirasa.connid.bundles.soap-1.4.3.jar Method: lambda$null$3
08:04:04.451 INFO Add ConnectorInfo ConnectorKey( bundleName=net.tirasa.connid.bundles.rest bundleVersion=1.0.4 connectorName=net.tirasa.connid.bundles.rest.RESTConnector ) to Local Connect
or Info Manager from file:/opt/syncope/bundles/net.tirasa.connid.bundles.rest-1.0.4.jar Method: lambda$null$3
08:04:04.460 INFO Add ConnectorInfo ConnectorKey( bundleName=net.tirasa.connid.bundles.csvdir bundleVersion=0.8.8 connectorName=net.tirasa.connid.bundles.csvdir.CSVDirConnector ) to Local C
onnector Info Manager from file:/opt/syncope/bundles/net.tirasa.connid.bundles.csvdir-0.8.8.jar Method: lambda$null$3
08:04:04.483 INFO Add ConnectorInfo ConnectorKey( bundleName=net.tirasa.connid.bundles.db.table bundleVersion=2.2.6 connectorName=net.tirasa.connid.bundles.db.table.DatabaseTableConnector )
to Local Connector Info Manager from file:/opt/syncope/bundles/net.tirasa.connid.bundles.db.table-2.2.6.jar Method: lambda$null$3
08:04:04.494 INFO Add ConnectorInfo ConnectorKey( bundleName=net.tirasa.connid.bundles.db.scriptedsql bundleVersion=2.2.6 connectorName=net.tirasa.connid.bundles.db.scriptedsql.ScriptedSQLC
onnector ) to Local Connector Info Manager from file:/opt/syncope/bundles/net.tirasa.connid.bundles.db.scriptedsql-2.2.6.jar Method: lambda$null$3
08:04:04.517 INFO Add ConnectorInfo ConnectorKey( bundleName=net.tirasa.connid.bundles.ldap bundleVersion=1.5.3 connectorName=net.tirasa.connid.bundles.ldap.LdapConnector ) to Local Connect
or Info Manager from file:/opt/syncope/bundles/net.tirasa.connid.bundles.ldap-1.5.3.jar Method: lambda$null$3
08:04:04.543 INFO Add ConnectorInfo ConnectorKey( bundleName=net.tirasa.connid.bundles.ad bundleVersion=1.3.6 connectorName=net.tirasa.connid.bundles.ad.ADConnector ) to Local Connector Inf
o Manager from file:/opt/syncope/bundles/net.tirasa.connid.bundles.ad-1.3.6.jar Method: lambda$null$3
08:04:04.593 INFO Add ConnectorInfo ConnectorKey( bundleName=net.tirasa.connid.bundles.googleapps bundleVersion=1.4.2 connectorName=net.tirasa.connid.bundles.googleapps.GoogleAppsConnector
) to Local Connector Info Manager from file:/opt/syncope/bundles/net.tirasa.connid.bundles.googleapps-1.4.2.jar Method: lambda$null$3
08:04:04.618 INFO Add ConnectorInfo ConnectorKey( bundleName=net.tirasa.connid.bundles.azure bundleVersion=1.0.1 connectorName=net.tirasa.connid.bundles.azure.AzureConnector ) to Local Conn
ector Info Manager from file:/opt/syncope/bundles/net.tirasa.connid.bundles.azure-1.0.1.jar Method: lambda$null$3
08:04:04.629 INFO Add ConnectorInfo ConnectorKey( bundleName=net.tirasa.connid.bundles.scimv11 bundleVersion=1.0.1 connectorName=net.tirasa.connid.bundles.scimv11.SCIMv11Connector ) to Loca
l Connector Info Manager from file:/opt/syncope/bundles/net.tirasa.connid.bundles.scimv11-1.0.1.jar Method: lambda$null$3
08:04:04.644 INFO Add ConnectorInfo ConnectorKey( bundleName=net.tirasa.connid.bundles.servicenow bundleVersion=1.0.0 connectorName=net.tirasa.connid.bundles.servicenow.SNConnector ) to Loc
al Connector Info Manager from file:/opt/syncope/bundles/net.tirasa.connid.bundles.servicenow-1.0.0.jar Method: lambda$null$3
The core-persistence.log is
08:03:57.754 INFO org.apache.syncope.core.persistence.jpa.spring.DomainEntityManagerFactoryBean - Initialized JPA EntityManagerFactory for persistence unit 'Master'
08:04:02.302 INFO org.apache.syncope.core.persistence.jpa.content.AbstractContentDealer - [Master] Data found in the database, leaving untouched
08:04:05.334 INFO org.apache.syncope.core.persistence.jpa.spring.DomainEntityManagerFactoryBean - Closing JPA EntityManagerFactory for persistence unit 'Master'
The core rest log is where the error was
8:03:55.283 INFO org.springframework.web.context.ContextLoader - Root WebApplicationContext: initialization started
08:04:05.317 WARN org.springframework.web.context.support.XmlWebApplicationContext - Exception encountered during context initialization - cancelling refresh attempt: org.springframework.be
ans.factory.BeanCreationException: Error creating bean with name 'logicInitializer' defined in URL [jar:file:/var/lib/tomcat/webapps/syncope/WEB-INF/lib/syncope-core-logic-2.1.4.jar!/org/apa
che/syncope/core/logic/init/LogicInitializer.class]: Invocation of init method failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with n
ame 'org.springframework.validation.beanvalidation.LocalValidatorFactoryBean#0' defined in URL [jar:file:/var/lib/tomcat/webapps/syncope/WEB-INF/lib/syncope-core-persistence-jpa-2.1.4.jar!/p
ersistenceContext.xml]: Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError: javax/el/ELManager
08:04:05.344 ERROR org.springframework.web.context.ContextLoader - Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'logicInitializer' defined in URL [jar:file:/var/lib/tomcat/webapps/syncope/WEB-INF/lib/syncope-core-lo
gic-2.1.4.jar!/org/apache/syncope/core/logic/init/LogicInitializer.class]: Invocation of init method failed; nested exception is org.springframework.beans.factory.BeanCreationException: Erro
r creating bean with name 'org.springframework.validation.beanvalidation.LocalValidatorFactoryBean#0' defined in URL [jar:file:/var/lib/tomcat/webapps/syncope/WEB-INF/lib/syncope-core-persis
tence-jpa-2.1.4.jar!/persistenceContext.xml]: Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError: javax/el/ELManager
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1778) ~[spring-beans-5.1.6.RELEASE.jar:5.1.6.RE
LEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:593) ~[spring-beans-5.1.6.RELEASE.jar:5.1.6.RELEA
SE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:515) ~[spring-beans-5.1.6.RELEASE.jar:5.1.6.RELEASE
]
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:320) ~[spring-beans-5.1.6.RELEASE.jar:5.1.6.RELEASE]
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) ~[spring-beans-5.1.6.RELEASE.jar:5.1.6.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:318) ~[spring-beans-5.1.6.RELEASE.jar:5.1.6.RELEASE]
3480 Preston Ridge Road
Suite 450
Alpharetta, GA 30005
Philip W. Dalrymple III <pw...@mdtsoft.com>
MDT Software - Automation Management Company
+1 678 297 1001
Fax +1 678 297 1003
________________________________________
From: Andrea Patricelli <an...@apache.org>
Sent: Thursday, September 12, 2019 8:18
To: user@syncope.apache.org<ma...@syncope.apache.org>
Subject: Re: Syncope trying to deploy using Maven and not getting login
Hi Philip,
Logs attached are not enough to understand what is the problem.
Did you check also core-persistence.log, core-rest.log and core-connid.log files? They should be under /opt/syncope/log/.
Moreover has the database been populated with Syncope tables? For example you can check the presence of syncopeuser table.
Best regards,
Andrea
Il 12/09/19 14:05, Dalrymple, Philip ha scritto:
Having the domains directory in /opt/syncope/conf did not help.
It does not appear that there are any changes in the logs (other than the times)
--
This email, and any files transmitted with it, are confidential
and intended solely for the use of the individual or entity to
whom they are addressed. If you have received this email in error,
please advise postmaster@mdtsoft.com<ma...@mdtsoft.com> <ma...@mdtsoft.com>.
3480 Preston Ridge Road
Suite 450
Alpharetta, GA 30005
Philip W. Dalrymple III <pw...@mdtsoft.com>
MDT Software - Automation Management Company
+1 678 297 1001
Fax +1 678 297 1003
________________________________________
From: Dalrymple, Philip <pw...@mdtsoft.com>
Sent: Thursday, September 12, 2019 7:55
To: user@syncope.apache.org<ma...@syncope.apache.org>
Subject: Re: Syncope trying to deploy using Maven and not getting login
OK went off and did a source build to help me understand and I will need
to, at some point, get into that.
I cleaned out the DB and undeployed the three applications and then re-deployed
them.
Still, no luck.
~ tree /opt/syncope/conf
/opt/syncope/conf
|-- connid.properties
|-- console.properties
|-- customFormAttributes.json
|-- customTemplate.json
|-- enduser.properties
|-- logic.properties
|-- mail.properties
|-- persistence.properties
|-- provisioning.properties
`-- security.properties
with no domain in it (I may putting that in the /opt/syncope/conf)
the logs have the following (snip for thing that repeat)
07:53:12.491 INFO org.springframework.security.core.SpringSecurityCoreVersion - You are running with Spring Security Core 5.1.5.RELEASE
07:53:12.494 INFO org.springframework.security.config.SecurityNamespaceHandler - Spring Security 'config' module version is 5.1.5.RELEASE
07:53:12.514 INFO org.springframework.security.config.method.GlobalMethodSecurityBeanDefinitionParser - Expressions were enabled for method security but no SecurityExpressionHandler was configured. All hasPermision() expressions will evaluate to false.
07:53:12.556 INFO org.springframework.security.config.http.HttpSecurityBeanDefinitionParser - Checking sorted filter chain: [Root bean: class [org.springframework.security.web.context.SecurityContextPersistenceFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 200, Root bean: class [org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 400, <jwtAuthenticationFilter>, order = 1799, Root bean: class [org.springframework.security.web.authentication.www.BasicAuthenticationFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 1800, Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=org.springframework.security.config.http.HttpConfigurationBuilder$SecurityContextHolderAwareRequestFilterBeanFactory#0; factoryMethodName=getBean; initMethodName=null; destroyMethodName=null, order = 2000, Root bean: class [org.springframework.security.web.authentication.AnonymousAuthenticationFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 2300, Root bean: class [org.springframework.security.web.access.ExceptionTranslationFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 2500, <mustChangePasswordFilter>, order = 2599, <org.springframework.security.web.access.intercept.FilterSecurityInterceptor#0>, order = 2600]
07:53:14.055 INFO org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor - Initializing ExecutorService
07:53:14.055 INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'asyncConnectorFacadeExecutor' of type [org.springframework.scheduling.config.TaskExecutorFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
07:53:14.055 INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'asyncConnectorFacadeExecutor' of type [org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
07:53:14.696 WARN openjpa.Runtime - An error occurred while registering a ClassTransformer with PersistenceUnitInfo: name 'Master', root URL [file:/var/lib/tomcat/webapps/syncope/WEB-INF/lib/syncope-core-persistence-jpa-2.1.4.jar]. The error has been consumed. To see it, set your openjpa.Runtime log level to TRACE. Load-time class transformation will not be available.
07:53:14.860 INFO org.springframework.security.web.DefaultSecurityFilterChain - Creating filter chain: any request, [org.springframework.security.web.context.SecurityContextPersistenceFilter@551267bf]
07:53:15.440 INFO org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor - Initializing ExecutorService
07:53:15.624 INFO org.apache.syncope.core.provisioning.java.job.SchedulerDBInit - No Quartz tables found, creating
07:53:15.835 INFO org.quartz.impl.StdSchedulerFactory - Using default implementation for ThreadExecutor
07:53:15.861 INFO org.quartz.core.SchedulerSignalerImpl - Initialized Scheduler Signaller of type: class org.quartz.core.SchedulerSignalerImpl
07:53:15.861 INFO org.quartz.core.QuartzScheduler - Quartz Scheduler v.2.3.1 created.
07:53:15.865 INFO org.springframework.scheduling.quartz.LocalDataSourceJobStore - Using db table-based data access locking (synchronization).
07:53:15.868 INFO org.springframework.scheduling.quartz.LocalDataSourceJobStore - JobStoreCMT initialized.
07:53:15.874 INFO org.quartz.core.QuartzScheduler - Scheduler meta-data: Quartz Scheduler (v2.3.1) 'ClusteredScheduler' with instanceId 'gluu-prs9.mdtsoft.com1568289195837'
Scheduler class: 'org.quartz.core.QuartzScheduler' - running locally.
NOT STARTED.
Currently in standby mode.
Number of jobs executed: 0
Using thread pool 'org.quartz.simpl.SimpleThreadPool' - with 10 threads.
Using job-store 'org.springframework.scheduling.quartz.LocalDataSourceJobStore' - which supports persistence. and is clustered.
07:53:15.874 INFO org.quartz.impl.StdSchedulerFactory - Quartz scheduler 'ClusteredScheduler' initialized from an externally provided properties instance.
07:53:15.874 INFO org.quartz.impl.StdSchedulerFactory - Quartz scheduler version: 2.3.1
07:53:15.874 INFO org.quartz.core.QuartzScheduler - JobFactory set to: org.apache.syncope.core.provisioning.java.job.AutowiringSpringBeanJobFactory@414ca8cc
07:53:15.879 INFO openjpa.Runtime - Starting OpenJPA 3.1.0
07:53:15.914 INFO openjpa.jdbc.JDBC - Using dictionary class "org.apache.openjpa.jdbc.sql.PostgresDictionary".
07:53:15.973 INFO openjpa.jdbc.JDBC - Connected to PostgreSQL version 11.11 using JDBC driver PostgreSQL JDBC Driver version 42.2.6.
07:53:16.314 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.group.JPAGroup". Ignoring.
07:53:16.314 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.group.JPATypeExtension". Ignoring.
07:53:16.314 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.user.JPAURelationship". Ignoring.
07:53:16.314 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.anyobject.JPAADynGroupMembership". Ignoring.
07:53:16.314 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.anyobject.JPAARelationship". Ignoring.
07:53:16.314 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.anyobject.JPAAPlainAttrUniqueValue". Ignoring.
07:53:16.314 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.user.JPAUPlainAttrUniqueValue". Ignoring.
07:53:16.314 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.group.JPAGPlainAttrUniqueValue". Ignoring.
07:53:16.315 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.conf.JPACPlainAttrUniqueValue". Ignoring.
07:53:16.350 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.group.JPAGroup". Ignoring.
07:53:16.350 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.group.JPATypeExtension". Ignoring.
07:53:16.351 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.user.JPAURelationship". Ignoring.
07:53:16.351 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.anyobject.JPAAMembership". Ignoring.
07:53:16.351 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.anyobject.JPAADynGroupMembership". Ignoring.
07:53:16.351 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.anyobject.JPAARelationship". Ignoring.
07:53:16.351 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.anyobject.JPAAPlainAttrUniqueValue". Ignoring.
07:53:16.351 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.user.JPAUPlainAttrUniqueValue". Ignoring.
07:53:16.351 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.group.JPAGPlainAttrUniqueValue". Ignoring.
07:53:16.351 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.conf.JPACPlainAttrUniqueValue". Ignoring.
07:53:16.361 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.group.JPAGroup". Ignoring.
07:53:16.361 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.group.JPATypeExtension". Ignoring.
07:53:16.361 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.user.JPAUDynGroupMembership". Ignoring.
07:53:16.361 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.user.JPAURelationship". Ignoring.
07:53:16.361 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.anyobject.JPAAMembership". Ignoring.
07:53:16.361 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.anyobject.JPAADynGroupMembership". Ignoring.
07:53:16.361 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.anyobject.JPAARelationship". Ignoring.
07:53:16.362 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.anyobject.JPAAPlainAttrUniqueValue". Ignoring.
07:53:16.362 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.user.JPAUPlainAttrUniqueValue". Ignoring.
07:53:16.362 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.group.JPAGPlainAttrUniqueValue". Ignoring.
07:53:16.362 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.conf.JPACPlainAttrUniqueValue". Ignoring.
07:53:16.370 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.group.JPAGroup". Ignoring.
07:53:16.371 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.group.JPATypeExtension". Ignoring.
07:53:16.371 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.user.JPAUMembership". Ignoring.
07:53:16.371 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.user.JPAUDynGroupMembership". Ignoring.
07:53:16.371 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.user.JPAURelationship". Ignoring.
--------snip-------------------
07:53:22.087 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.anyobject.JPAAPlainAttrUniqueValue". Ignoring.
07:53:22.087 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.user.JPAUPlainAttrUniqueValue". Ignoring.
07:53:22.087 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.group.JPAGPlainAttrUniqueValue". Ignoring.
07:53:22.087 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.conf.JPACPlainAttrUniqueValue". Ignoring.
07:53:22.653 INFO org.springframework.scheduling.quartz.SchedulerFactoryBean - Shutting down Quartz Scheduler
07:53:22.653 INFO org.quartz.core.QuartzScheduler - Scheduler ClusteredScheduler_$_gluu-prs9.mdtsoft.com1568289195837 shutting down.
07:53:22.653 INFO org.quartz.core.QuartzScheduler - Scheduler ClusteredScheduler_$_gluu-prs9.mdtsoft.com1568289195837 paused.
07:53:22.857 INFO org.quartz.core.QuartzScheduler - Scheduler unregistered from name 'quartz:type=QuartzScheduler,name=ClusteredScheduler,instance=gluu-prs9.mdtsoft.com1568289195837' in the local MBeanServer.
07:53:22.857 INFO org.quartz.core.QuartzScheduler - Scheduler ClusteredScheduler_$_gluu-prs9.mdtsoft.com1568289195837 shutdown complete.
07:53:22.859 INFO org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor - Shutting down ExecutorService
07:53:22.869 INFO org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor - Shutting down ExecutorService
I get clean logs with no errors.
my config directory is
--
This email, and any files transmitted with it, are confidential
and intended solely for the use of the individual or entity to
whom they are addressed. If you have received this email in error,
please advise postmaster@mdtsoft.com<ma...@mdtsoft.com> <ma...@mdtsoft.com>.
3480 Preston Ridge Road
Suite 450
Alpharetta, GA 30005
Philip W. Dalrymple III <pw...@mdtsoft.com>
MDT Software - Automation Management Company
+1 678 297 1001
Fax +1 678 297 1003
________________________________________
From: Andrea Patricelli <an...@apache.org>
Sent: Friday, September 6, 2019 4:20
To: user@syncope.apache.org<ma...@syncope.apache.org>
Subject: Re: Syncope trying to deploy using Maven and not getting login
Hi Philip,
in order to make a correct deploy on your application server follow [2].
As the warning in the doc states:
Be sure to put the corresponding JDBC driver JAR file under $CATALINA_HOME/lib for each datasource defined.
You should provide postgres driver to Syncope by putting it into Tomcat lib folder.
About the maven buld error: did you give the correct r/w permissions to /opt/syncope/buldles directory? If you want more info about the build please add the -X option to your maven build command.
Best regards,
Andrea
[2] https://syncope.apache.org/docs/2.1/reference-guide.html#apache-tomcat-9
Il 05/09/19 16:38, Dalrymple, Philip ha scritto:
OK I had one issue in that to make it work my build script needed to look like
#!/bin/bash
cd syncope
sudo mkdir -p /opt/syncope/bundles
sudo mkdir -p /opt/syncope/log
sudo chmod 0777 /opt/syncope/log
sudo mkdir -p /opt/syncope/conf
# mvn clean verify \
# -Dconf.directory=/opt/syncope/conf \
# -Dbundles.directory=/opt/syncope/bundles \
# -Dlog.directory=/opt/syncope/log
mvn clean verify \
-Dconf.directory=/opt/syncope/conf \
-Dlog.directory=/opt/syncope/log
sudo cp core/target/classes/*properties /opt/syncope/conf
sudo cp console/target/classes/*properties /opt/syncope/conf
sudo cp enduser/target/classes/*properties /opt/syncope/conf
sudo cp enduser/target/classes/customFormAttributes.json /opt/syncope/conf
sudo cp enduser/target/classes/customTemplate.json /opt/syncope/conf
i.e. not changing the bundles directory (which I want to do as I want to build in
the bundles into the war files).
When I do that I DO get logs (in /opt/syncope/log) Looks like I don't have the postgres dirver.
I checked and the
core/target/classes/provisioning.properties
already had the changes for postgres
? syncope git:(master) ? more /opt/syncope/log/core.log
10:22:58.367 INFO org.springframework.security.core.SpringSecurityCoreVersion - You are running with Spring Security Core 5.1.5.RELEASE
10:22:58.370 INFO org.springframework.security.config.SecurityNamespaceHandler - Spring Security 'config' module version is 5.1.5.RELEASE
10:22:58.391 INFO org.springframework.security.config.method.GlobalMethodSecurityBeanDefinitionParser - Expressions were enabled for method security but no SecurityExpressionHandle
r was configured. All hasPermision() expressions will evaluate to false.
10:22:58.437 INFO org.springframework.security.config.http.HttpSecurityBeanDefinitionParser - Checking sorted filter chain: [Root bean: class [org.springframework.security.web.cont
ext.SecurityContextPersistenceFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factor
yMethodName=null; initMethodName=null; destroyMethodName=null, order = 200, Root bean: class [org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter
]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=nul
l; destroyMethodName=null, order = 400, <jwtAuthenticationFilter>, order = 1799, Root bean: class [org.springframework.security.web.authentication.www.BasicAuthenticationFilter]; sc
ope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; de
stroyMethodName=null, order = 1800, Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factor
yBeanName=org.springframework.security.config.http.HttpConfigurationBuilder$SecurityContextHolderAwareRequestFilterBeanFactory#0; factoryMethodName=getBean; initMethodName=null; des
troyMethodName=null, order = 2000, Root bean: class [org.springframework.security.web.authentication.AnonymousAuthenticationFilter]; scope=; abstract=false; lazyInit=false; autowire
Mode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 2300, Root bean:
class [org.springframework.security.web.access.ExceptionTranslationFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; prima
ry=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 2500, <mustChangePasswordFilter>, order = 2599, <org.springframework.sec
urity.web.access.intercept.FilterSecurityInterceptor#0>, order = 2600]
10:23:00.130 INFO org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor - Initializing ExecutorService
10:23:00.130 INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'asyncConnectorFacadeExecutor' of type [org.springframework.
scheduling.config.TaskExecutorFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
10:23:00.130 INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'asyncConnectorFacadeExecutor' of type [org.springframework.
scheduling.concurrent.ThreadPoolTaskExecutor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
10:23:00.394 ERROR com.zaxxer.hikari.HikariConfig - Failed to load driver class org.postgresql.Driver from HikariConfig class classloader WebappClassLoader
context: /syncope
delegate: false
repositories:
/WEB-INF/classes/
----------> Parent Classloader:
java.net.URLClassLoader@7a81197d
10:23:00.444 ERROR com.zaxxer.hikari.HikariConfig - Failed to load driver class org.postgresql.Driver from HikariConfig class classloader WebappClassLoader
context: /syncope
delegate: false
repositories:
/WEB-INF/classes/
----------> Parent Classloader:
java.net.URLClassLoader@7a81197d
10:23:00.445 INFO org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor - Shutting down ExecutorService
10:23:18.326 INFO org.springframework.security.core.SpringSecurityCoreVersion - You are running with Spring Security Core 5.1.5.RELEASE
10:23:18.329 INFO org.springframework.security.config.SecurityNamespaceHandler - Spring Security 'config' module version is 5.1.5.RELEASE
10:23:18.349 INFO org.springframework.security.config.method.GlobalMethodSecurityBeanDefinitionParser - Expressions were enabled for method security but no SecurityExpressionHandle
r was configured. All hasPermision() expressions will evaluate to false.
10:23:18.395 INFO org.springframework.security.config.http.HttpSecurityBeanDefinitionParser - Checking sorted filter chain: [Root bean: class [org.springframework.security.web.cont
ext.SecurityContextPersistenceFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factor
yMethodName=null; initMethodName=null; destroyMethodName=null, order = 200, Root bean: class [org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter
]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=nul
l; destroyMethodName=null, order = 400, <jwtAuthenticationFilter>, order = 1799, Root bean: class [org.springframework.security.web.authentication.www.BasicAuthenticationFilter]; sc
ope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; de
stroyMethodName=null, order = 1800, Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factor
yBeanName=org.springframework.security.config.http.HttpConfigurationBuilder$SecurityContextHolderAwareRequestFilterBeanFactory#0; factoryMethodName=getBean; initMethodName=null; des
troyMethodName=null, order = 2000, Root bean: class [org.springframework.security.web.authentication.AnonymousAuthenticationFilter]; scope=; abstract=false; lazyInit=false; autowire
Mode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 2300, Root bean:
class [org.springframework.security.web.access.ExceptionTranslationFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; prima
ry=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 2500, <mustChangePasswordFilter>, order = 2599, <org.springframework.sec
urity.web.access.intercept.FilterSecurityInterceptor#0>, order = 2600]
10:23:20.012 INFO org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor - Initializing ExecutorService
10:23:20.012 INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'asyncConnectorFacadeExecutor' of type [org.springframework.
scheduling.config.TaskExecutorFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
10:23:20.012 INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'asyncConnectorFacadeExecutor' of type [org.springframework.
scheduling.concurrent.ThreadPoolTaskExecutor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
10:23:20.285 ERROR com.zaxxer.hikari.HikariConfig - Failed to load driver class org.postgresql.Driver from HikariConfig class classloader WebappClassLoader
context: /syncope
delegate: false
repositories:
/WEB-INF/classes/
----------> Parent Classloader:
java.net.URLClassLoader@7a81197d
10:23:20.337 ERROR com.zaxxer.hikari.HikariConfig - Failed to load driver class org.postgresql.Driver from HikariConfig class classloader WebappClassLoader
context: /syncope
delegate: false
repositories:
/WEB-INF/classes/
----------> Parent Classloader:
java.net.URLClassLoader@7a81197d
10:23:20.338 INFO org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor - Shutting down ExecutorService
10:23:32.831 INFO org.springframework.security.core.SpringSecurityCoreVersion - You are running with Spring Security Core 5.1.5.RELEASE
10:23:32.835 INFO org.springframework.security.config.SecurityNamespaceHandler - Spring Security 'config' module version is 5.1.5.RELEASE
10:23:32.859 INFO org.springframework.security.config.method.GlobalMethodSecurityBeanDefinitionParser - Expressions were enabled for method security but no SecurityExpressionHandle
r was configured. All hasPermision() expressions will evaluate to false.
10:23:32.910 INFO org.springframework.security.config.http.HttpSecurityBeanDefinitionParser - Checking sorted filter chain: [Root bean: class [org.springframework.security.web.cont
ext.SecurityContextPersistenceFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factor
yMethodName=null; initMethodName=null; destroyMethodName=null, order = 200, Root bean: class [org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter
]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=nul
l; destroyMethodName=null, order = 400, <jwtAuthenticationFilter>, order = 1799, Root bean: class [org.springframework.security.web.authentication.www.BasicAuthenticationFilter]; sc
ope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; de
stroyMethodName=null, order = 1800, Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factor
yBeanName=org.springframework.security.config.http.HttpConfigurationBuilder$SecurityContextHolderAwareRequestFilterBeanFactory#0; factoryMethodName=getBean; initMethodName=null; des
troyMethodName=null, order = 2000, Root bean: class [org.springframework.security.web.authentication.AnonymousAuthenticationFilter]; scope=; abstract=false; lazyInit=false; autowire
Mode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 2300, Root bean:
class [org.springframework.security.web.access.ExceptionTranslationFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; prima
ry=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 2500, <mustChangePasswordFilter>, order = 2599, <org.springframework.sec
urity.web.access.intercept.FilterSecurityInterceptor#0>, order = 2600]
10:23:34.490 INFO org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor - Initializing ExecutorService
10:23:34.490 INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'asyncConnectorFacadeExecutor' of type [org.springframework.
scheduling.config.TaskExecutorFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
10:23:34.490 INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'asyncConnectorFacadeExecutor' of type [org.springframework.
scheduling.concurrent.ThreadPoolTaskExecutor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
10:23:34.757 ERROR com.zaxxer.hikari.HikariConfig - Failed to load driver class org.postgresql.Driver from HikariConfig class classloader WebappClassLoader
context: /syncope
delegate: false
repositories:
/WEB-INF/classes/
----------> Parent Classloader:
java.net.URLClassLoader@7a81197d
10:23:34.809 ERROR com.zaxxer.hikari.HikariConfig - Failed to load driver class org.postgresql.Driver from HikariConfig class classloader WebappClassLoader
context: /syncope
delegate: false
repositories:
/WEB-INF/classes/
----------> Parent Classloader:
java.net.URLClassLoader@7a81197d
10:23:34.810 INFO org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor - Shutting down ExecutorService
if I left in the bundles I get the following error:
? syncope git:(master) ? mvn clean verify \
-Dconf.directory=/opt/syncope/conf \
-Dbundles.directory=/opt/syncope/bundles \
-Dlog.directory=/opt/syncope/log
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] Apache Syncope sample project
[INFO] Apache Syncope sample project - Common
[INFO] Apache Syncope sample project - Core
[INFO] Apache Syncope sample project - Console
[INFO] Apache Syncope sample project - Enduser
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache Syncope sample project 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ syncope ---
[INFO] Deleting /home/pwd/src/EIandAS/syncope/target
[INFO]
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven-version) @ syncope ---
[INFO]
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven) @ syncope ---
[INFO]
[INFO] --- gmaven-plugin:1.5:execute (default) @ syncope ---
[INFO]
[INFO] --- maven-remote-resources-plugin:1.5:process (process-resource-bundles) @ syncope ---
[INFO]
[INFO] --- maven-resources-plugin:3.1.0:copy-resources (copy-artifact-legal-files) @ syncope ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 0 resource
[INFO]
[INFO] --- maven-resources-plugin:3.1.0:copy-resources (copy-javadoc-legal-files) @ syncope ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 0 resource
[INFO]
[INFO] --- jacoco-maven-plugin:0.8.3:prepare-agent (jacoco-agent-ut) @ syncope ---
[INFO] argLine set to -javaagent:/home/pwd/.m2/repository/org/jacoco/org.jacoco.agent/0.8.3/org.jacoco.agent-0.8.3-runtime.jar=destfile=/home/pwd/src/EIandAS/syncope/target/jacoco.ut.exec,append=true -Xms512m -Xmx1024m -Xss256k
[INFO]
[INFO] --- maven-site-plugin:3.7.1:attach-descriptor (attach-descriptor) @ syncope ---
[INFO] No site descriptor found: nothing to attach.
[INFO]
[INFO] --- jacoco-maven-plugin:0.8.3:prepare-agent-integration (jacoco-agent-it) @ syncope ---
[INFO] argLine set to -javaagent:/home/pwd/.m2/repository/org/jacoco/org.jacoco.agent/0.8.3/org.jacoco.agent-0.8.3-runtime.jar=destfile=/home/pwd/src/EIandAS/syncope/target/jacoco.it.exec,append=true -Xms512m -Xmx1024m -Xss256k
[INFO]
[INFO] --- modernizer-maven-plugin:1.8.0:modernizer (modernizer-check) @ syncope ---
[INFO]
[INFO] --- maven-checkstyle-plugin:3.0.0:check (checkstyle-check) @ syncope ---
[INFO]
[INFO] --- jacoco-maven-plugin:0.8.3:report-aggregate (jacoco-site) @ syncope ---
[INFO]
[INFO] --- apache-rat-plugin:0.12:check (rat-check) @ syncope ---
[INFO] RAT will not execute since it is configured to be skipped via system property 'rat.skip'.
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache Syncope sample project - Common 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ syncope-common ---
[INFO] Deleting /home/pwd/src/EIandAS/syncope/common/target
[INFO]
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven-version) @ syncope-common ---
[INFO]
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven) @ syncope-common ---
[INFO]
[INFO] --- gmaven-plugin:1.5:execute (default) @ syncope-common ---
[INFO]
[INFO] --- maven-remote-resources-plugin:1.5:process (process-resource-bundles) @ syncope-common ---
[INFO]
[INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ syncope-common ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 0 resource
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-resources-plugin:3.1.0:copy-resources (copy-artifact-legal-files) @ syncope-common ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 0 resource
[INFO]
[INFO] --- maven-resources-plugin:3.1.0:copy-resources (copy-javadoc-legal-files) @ syncope-common ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 0 resource
[INFO]
[INFO] --- maven-compiler-plugin:3.8.0:compile (default-compile) @ syncope-common ---
[INFO] No sources to compile
[INFO]
[INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ syncope-common ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 0 resource
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.8.0:testCompile (default-testCompile) @ syncope-common ---
[INFO] No sources to compile
[INFO]
[INFO] --- jacoco-maven-plugin:0.8.3:prepare-agent (jacoco-agent-ut) @ syncope-common ---
[INFO] argLine set to -javaagent:/home/pwd/.m2/repository/org/jacoco/org.jacoco.agent/0.8.3/org.jacoco.agent-0.8.3-runtime.jar=destfile=/home/pwd/src/EIandAS/syncope/common/target/jacoco.ut.exec,append=true -Xms512m -Xmx1024m -Xss256k
[INFO]
[INFO] --- maven-surefire-plugin:2.22.1:test (default-test) @ syncope-common ---
[INFO]
[INFO] --- maven-jar-plugin:3.1.1:jar (default-jar) @ syncope-common ---
[INFO] Building jar: /home/pwd/src/EIandAS/syncope/common/target/syncope-common-1.0-SNAPSHOT.jar
[INFO]
[INFO] --- maven-site-plugin:3.7.1:attach-descriptor (attach-descriptor) @ syncope-common ---
[INFO] Skipping because packaging 'jar' is not pom.
[INFO]
[INFO] --- jacoco-maven-plugin:0.8.3:prepare-agent-integration (jacoco-agent-it) @ syncope-common ---
[INFO] argLine set to -javaagent:/home/pwd/.m2/repository/org/jacoco/org.jacoco.agent/0.8.3/org.jacoco.agent-0.8.3-runtime.jar=destfile=/home/pwd/src/EIandAS/syncope/common/target/jacoco.it.exec,append=true -Xms512m -Xmx1024m -Xss256k
[INFO]
[INFO] --- modernizer-maven-plugin:1.8.0:modernizer (modernizer-check) @ syncope-common ---
[INFO]
[INFO] --- maven-checkstyle-plugin:3.0.0:check (checkstyle-check) @ syncope-common ---
[INFO]
[INFO] --- jacoco-maven-plugin:0.8.3:report-aggregate (jacoco-site) @ syncope-common ---
[INFO]
[INFO] --- apache-rat-plugin:0.12:check (rat-check) @ syncope-common ---
[INFO] RAT will not execute since it is configured to be skipped via system property 'rat.skip'.
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache Syncope sample project - Core 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ syncope-core ---
[INFO] Deleting /home/pwd/src/EIandAS/syncope/core/target
[INFO]
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven-version) @ syncope-core ---
[INFO]
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven) @ syncope-core ---
[INFO]
[INFO] --- gmaven-plugin:1.5:execute (default) @ syncope-core ---
[INFO]
[INFO] --- maven-remote-resources-plugin:1.5:process (process-resource-bundles) @ syncope-core ---
[INFO]
[INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ syncope-core ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 32 resources
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-resources-plugin:3.1.0:copy-resources (copy-artifact-legal-files) @ syncope-core ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 0 resource
[INFO]
[INFO] --- maven-resources-plugin:3.1.0:copy-resources (copy-javadoc-legal-files) @ syncope-core ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 0 resource
[INFO]
[INFO] --- maven-compiler-plugin:3.8.0:compile (default-compile) @ syncope-core ---
[INFO] No sources to compile
[INFO]
[INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ syncope-core ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 26 resources
[INFO] Copying 1 resource
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-dependency-plugin:3.1.1:copy (set-bundles) @ syncope-core ---
[INFO] Configured Artifact: net.tirasa.connid.bundles.soap:net.tirasa.connid.bundles.soap:1.4.3:jar
[INFO] Configured Artifact: net.tirasa.connid.bundles:net.tirasa.connid.bundles.rest:1.0.4:jar
[INFO] Configured Artifact: net.tirasa.connid.bundles:net.tirasa.connid.bundles.csvdir:0.8.8:jar
[INFO] Configured Artifact: net.tirasa.connid.bundles.db:net.tirasa.connid.bundles.db.table:2.2.6:jar
[INFO] Configured Artifact: net.tirasa.connid.bundles.db:net.tirasa.connid.bundles.db.scriptedsql:2.2.6:jar
[INFO] Configured Artifact: net.tirasa.connid.bundles:net.tirasa.connid.bundles.ldap:1.5.3:jar
[INFO] Configured Artifact: net.tirasa.connid.bundles:net.tirasa.connid.bundles.ad:1.3.6:jar
[INFO] Configured Artifact: net.tirasa.connid.bundles:net.tirasa.connid.bundles.googleapps:1.4.2:jar
[INFO] Configured Artifact: net.tirasa.connid.bundles:net.tirasa.connid.bundles.azure:1.0.1:jar
[INFO] Configured Artifact: net.tirasa.connid.bundles:net.tirasa.connid.bundles.scimv11:1.0.1:jar
[INFO] Configured Artifact: net.tirasa.connid.bundles:net.tirasa.connid.bundles.servicenow:1.0.0:jar
[INFO] Copying net.tirasa.connid.bundles.soap-1.4.3.jar to /opt/syncope/bundles/net.tirasa.connid.bundles.soap-1.4.3.jar
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Apache Syncope sample project ..................... SUCCESS [4.310s]
[INFO] Apache Syncope sample project - Common ............ SUCCESS [1.233s]
[INFO] Apache Syncope sample project - Core .............. FAILURE [2.534s]
[INFO] Apache Syncope sample project - Console ........... SKIPPED
[INFO] Apache Syncope sample project - Enduser ........... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 8.341s
[INFO] Finished at: Thu Sep 05 10:29:47 EDT 2019
[INFO] Final Memory: 48M/628M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-dependency-plugin:3.1.1:copy (set-bundles) on project syncope-core: Error copying artifact from /home/pwd/.m2/repository/net/tirasa/connid/bundles/soap/net.tirasa.connid.bundles.soap/1.4.3/net.tirasa.connid.bundles.soap-1.4.3.jar to /opt/syncope/bundles/net.tirasa.connid.bundles.soap-1.4.3.jar -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :syncope-core
--
This email, and any files transmitted with it, are confidential
and intended solely for the use of the individual or entity to
whom they are addressed. If you have received this email in error,
please advise postmaster@mdtsoft.com<ma...@mdtsoft.com> <ma...@mdtsoft.com>.
3480 Preston Ridge Road
Suite 450
Alpharetta, GA 30005
Philip W. Dalrymple III <pw...@mdtsoft.com>
MDT Software - Automation Management Company
+1 678 297 1001
Fax +1 678 297 1003
________________________________________
From: Andrea Patricelli <an...@tirasa.net>
Sent: Thursday, September 5, 2019 10:07
To: user@syncope.apache.org<ma...@syncope.apache.org>
Subject: Re: Syncope trying to deploy using Maven and not getting login
P.S.
About the attached link: please take care to the doc starting from
documentation at "Deployment directories" section.
Il 05/09/19 16:04, Dalrymple, Philip ha scritto:
OK I will give that a go.
--
This email, and any files transmitted with it, are confidential
and intended solely for the use of the individual or entity to
whom they are addressed. If you have received this email in error,
please advise postmaster@mdtsoft.com<ma...@mdtsoft.com> <ma...@mdtsoft.com>.
3480 Preston Ridge Road
Suite 450
Alpharetta, GA 30005
Philip W. Dalrymple III <pw...@mdtsoft.com>
MDT Software - Automation Management Company
+1 678 297 1001
Fax +1 678 297 1003
________________________________________
From: Andrea Patricelli <an...@apache.org>
Sent: Thursday, September 5, 2019 10:03
To: user@syncope.apache.org<ma...@syncope.apache.org>
Subject: Re: Syncope trying to deploy using Maven and not getting login
Ok, maybe I got your first problem.
Please follow this [1]. Basically, in order to do a correct deploy, you
should build with a special mvn command specifying bundles, logs and
conf directories and, moreover, in order to let Syncope take correct
configuration parameters (like for the jdbc connection) copy some of the
properties files in sources under the specific conf directory.
HTH,
Andrea
[1] https://syncope.apache.org/docs/2.1/reference-guide.html#customization
Il 05/09/19 15:56, Dalrymple, Philip ha scritto:
OK this is weird
I did a
sudo find / -name "*core*.log*" -print
and only find the logs from my first try using docker.
(was not able to customize well enough and switched to
maven deleting the docker images)
I will keep looking.
--
This email, and any files transmitted with it, are confidential
and intended solely for the use of the individual or entity to
whom they are addressed. If you have received this email in error,
please advise postmaster@mdtsoft.com<ma...@mdtsoft.com> <ma...@mdtsoft.com>.
3480 Preston Ridge Road
Suite 450
Alpharetta, GA 30005
Philip W. Dalrymple III <pw...@mdtsoft.com>
MDT Software - Automation Management Company
+1 678 297 1001
Fax +1 678 297 1003
________________________________________
From: Dalrymple, Philip <pw...@mdtsoft.com>
Sent: Thursday, September 5, 2019 9:53
To: user@syncope.apache.org<ma...@syncope.apache.org>
Subject: Re: Syncope trying to deploy using Maven and not getting login
OK I need to find where the logs are.
--
This email, and any files transmitted with it, are confidential
and intended solely for the use of the individual or entity to
whom they are addressed. If you have received this email in error,
please advise postmaster@mdtsoft.com<ma...@mdtsoft.com> <ma...@mdtsoft.com>.
3480 Preston Ridge Road
Suite 450
Alpharetta, GA 30005
Philip W. Dalrymple III <pw...@mdtsoft.com>
MDT Software - Automation Management Company
+1 678 297 1001
Fax +1 678 297 1003
________________________________________
From: Andrea Patricelli <an...@apache.org>
Sent: Thursday, September 5, 2019 9:52
To: user@syncope.apache.org<ma...@syncope.apache.org>
Subject: Re: Syncope trying to deploy using Maven and not getting login
Hi Philip,
you should check core.log, core-rest.log, core-persistence.log and
core-connid.log files in order to understand what is the problem.
The NOT FOUND error in console simply means that core is unavailable,
probably because it failed to start.
Please check for exceptions in core*.log files and attach it into this
thread.
Best regards,
Andrea
Il 05/09/19 15:32, Dalrymple, Philip ha scritto:
I am trying to deploy Syncope using the Maven method. I have followed the
instructions in
http://syncope.apache.org/docs/2.1/getting-started.html#maven-project
and then edited core/src/main/resources/domains/Master.properties
to have the correct postgres password, I re-did the mvn clean install
and placed the war files in my tomcat/webapps directory, they deployed
without me restarting tomcat.
When I got to http://XXXXX:8080/syncope-console I get a 500 error (see below)
when I got to .../syncope or .../syncope/index.html or .../syncope-enduser I get a 404 error.
I checked in WEB-INF/classes/persistence.properties (in syncope) and it had the
correct DB user, host, and password info and I verified that I could connect to the DB BUT
the DB was empty.
the stack trace on the syncope-console
type Exception report
message Unable to instantiate web session class org.apache.syncope.client.console.SyncopeConsoleSession
description The server encountered an internal error that prevented it from fulfilling this request.
exception
org.apache.wicket.WicketRuntimeException: Unable to instantiate web session class org.apache.syncope.client.console.SyncopeConsoleSession
org.apache.wicket.authroles.authentication.AuthenticatedWebApplication.newSession(AuthenticatedWebApplication.java:121)
org.apache.wicket.Application.fetchCreateAndSetSession(Application.java:1555)
org.apache.wicket.Session.get(Session.java:176)
org.apache.syncope.client.console.SyncopeConsoleSession.get(SyncopeConsoleSession.java:91)
org.apache.syncope.client.console.SyncopeConsoleRequestCycleListener.onException(SyncopeConsoleRequestCycleListener.java:80)
org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:126)
org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:122)
org.apache.wicket.util.listener.ListenerCollection.notify(ListenerCollection.java:80)
org.apache.wicket.request.cycle.RequestCycleListenerCollection.onException(RequestCycleListenerCollection.java:121)
org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:126)
org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:122)
org.apache.wicket.util.listener.ListenerCollection.notify(ListenerCollection.java:80)
org.apache.wicket.request.cycle.RequestCycleListenerCollection.onException(RequestCycleListenerCollection.java:121)
org.apache.wicket.request.cycle.RequestCycle.handleException(RequestCycle.java:368)
org.apache.wicket.request.cycle.RequestCycle.executeExceptionRequestHandler(RequestCycle.java:314)
org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:259)
org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:221)
org.apache.wicket.protocol.ws.AbstractUpgradeFilter.processRequestCycle(AbstractUpgradeFilter.java:70)
org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:206)
org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:299)
root cause
java.lang.reflect.InvocationTargetException
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
java.lang.reflect.Constructor.newInstance(Constructor.java:423)
org.apache.wicket.authroles.authentication.AuthenticatedWebApplication.newSession(AuthenticatedWebApplication.java:117)
org.apache.wicket.Application.fetchCreateAndSetSession(Application.java:1555)
org.apache.wicket.Session.get(Session.java:176)
org.apache.syncope.client.console.SyncopeConsoleSession.get(SyncopeConsoleSession.java:91)
org.apache.syncope.client.console.SyncopeConsoleRequestCycleListener.onException(SyncopeConsoleRequestCycleListener.java:80)
org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:126)
org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:122)
org.apache.wicket.util.listener.ListenerCollection.notify(ListenerCollection.java:80)
org.apache.wicket.request.cycle.RequestCycleListenerCollection.onException(RequestCycleListenerCollection.java:121)
org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:126)
org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:122)
org.apache.wicket.util.listener.ListenerCollection.notify(ListenerCollection.java:80)
org.apache.wicket.request.cycle.RequestCycleListenerCollection.onException(RequestCycleListenerCollection.java:121)
org.apache.wicket.request.cycle.RequestCycle.handleException(RequestCycle.java:368)
org.apache.wicket.request.cycle.RequestCycle.executeExceptionRequestHandler(RequestCycle.java:314)
org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:259)
org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:221)
org.apache.wicket.protocol.ws.AbstractUpgradeFilter.processRequestCycle(AbstractUpgradeFilter.java:70)
org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:206)
org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:299)
root cause
javax.xml.ws.WebServiceException: Remote exception with status code: NOT_FOUND
org.apache.syncope.client.lib.RestClientExceptionMapper.fromResponse(RestClientExceptionMapper.java:76)
org.apache.syncope.client.lib.RestClientExceptionMapper.fromResponse(RestClientExceptionMapper.java:42)
org.apache.cxf.jaxrs.client.ClientProxyImpl.checkResponse(ClientProxyImpl.java:372)
org.apache.cxf.jaxrs.client.ClientProxyImpl.handleResponse(ClientProxyImpl.java:948)
org.apache.cxf.jaxrs.client.ClientProxyImpl.doChainedInvocation(ClientProxyImpl.java:854)
org.apache.cxf.jaxrs.client.ClientProxyImpl.invoke(ClientProxyImpl.java:295)
com.sun.proxy.$Proxy119.platform(Unknown Source)
org.apache.syncope.client.console.SyncopeConsoleSession.<init>(SyncopeConsoleSession.java:103)
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
java.lang.reflect.Constructor.newInstance(Constructor.java:423)
org.apache.wicket.authroles.authentication.AuthenticatedWebApplication.newSession(AuthenticatedWebApplication.java:117)
org.apache.wicket.Application.fetchCreateAndSetSession(Application.java:1555)
org.apache.wicket.Session.get(Session.java:176)
org.apache.syncope.client.console.SyncopeConsoleSession.get(SyncopeConsoleSession.java:91)
org.apache.syncope.client.console.SyncopeConsoleRequestCycleListener.onException(SyncopeConsoleRequestCycleListener.java:80)
org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:126)
org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:122)
org.apache.wicket.util.listener.ListenerCollection.notify(ListenerCollection.java:80)
org.apache.wicket.request.cycle.RequestCycleListenerCollection.onException(RequestCycleListenerCollection.java:121)
org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:126)
org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:122)
org.apache.wicket.util.listener.ListenerCollection.notify(ListenerCollection.java:80)
org.apache.wicket.request.cycle.RequestCycleListenerCollection.onException(RequestCycleListenerCollection.java:121)
org.apache.wicket.request.cycle.RequestCycle.handleException(RequestCycle.java:368)
org.apache.wicket.request.cycle.RequestCycle.executeExceptionRequestHandler(RequestCycle.java:314)
org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:259)
org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:221)
org.apache.wicket.protocol.ws.AbstractUpgradeFilter.processRequestCycle(AbstractUpgradeFilter.java:70)
org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:206)
org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:299)
thanks
--
This email, and any files transmitted with it, are confidential
and intended solely for the use of the individual or entity to
whom they are addressed. If you have received this email in error,
please advise postmaster@mdtsoft.com<ma...@mdtsoft.com> <ma...@mdtsoft.com>.
3480 Preston Ridge Road
Suite 450
Alpharetta, GA 30005
Philip W. Dalrymple III <pw...@mdtsoft.com>
MDT Software - Automation Management Company
+1 678 297 1001
Fax +1 678 297 1003
--
Dott. Andrea Patricelli
Tel. +39 3204524292
Engineer @ Tirasa S.r.l.
Viale Vittoria Colonna 97 - 65127 Pescara
Tel +39 0859116307 / FAX +39 0859111173
http://www.tirasa.net
Apache Syncope PMC Member
--
Dott. Andrea Patricelli
Tel. +39 3204524292
Engineer @ Tirasa S.r.l.
Viale Vittoria Colonna 97 - 65127 Pescara
Tel +39 0859116307 / FAX +39 0859111173
http://www.tirasa.net
Apache Syncope PMC Member
--
Dott. Andrea Patricelli
Tel. +39 3204524292
Engineer @ Tirasa S.r.l.
Viale Vittoria Colonna 97 - 65127 Pescara
Tel +39 0859116307 / FAX +39 0859111173
http://www.tirasa.net
Apache Syncope PMC Member
--
Dott. Andrea Patricelli
Tel. +39 3204524292
Engineer @ Tirasa S.r.l.
Viale Vittoria Colonna 97 - 65127 Pescara
Tel +39 0859116307 / FAX +39 0859111173
http://www.tirasa.net
Apache Syncope PMC Member
--
Dott. Andrea Patricelli
Tel. +39 3204524292
Engineer @ Tirasa S.r.l.
Viale Vittoria Colonna 97 - 65127 Pescara
Tel +39 0859116307 / FAX +39 0859111173
http://www.tirasa.net
Apache Syncope PMC Member
--
Dott. Andrea Patricelli
Tel. +39 3204524292
Engineer @ Tirasa S.r.l.
Viale Vittoria Colonna 97 - 65127 Pescara
Tel +39 0859116307 / FAX +39 0859111173
http://www.tirasa.net
Apache Syncope PMC Member
--
Dott. Andrea Patricelli
Tel. +39 3204524292
Engineer @ Tirasa S.r.l.
Viale Vittoria Colonna 97 - 65127 Pescara
Tel +39 0859116307 / FAX +39 0859111173
http://www.tirasa.net
Apache Syncope PMC Member
Re: Syncope trying to deploy using Maven and not getting login
Posted by "Dalrymple, Philip" <pw...@mdtsoft.com>.
I will have to build a new vm to have Java 1.8 with tomcat 9
--
This email, and any files transmitted with it, are confidential
and intended solely for the use of the individual or entity to
whom they are addressed. If you have received this email in error,
please advise postmaster@mdtsoft.com <ma...@mdtsoft.com>.
3480 Preston Ridge Road
Suite 450
Alpharetta, GA 30005
Philip W. Dalrymple III <pw...@mdtsoft.com>
MDT Software - Automation Management Company
+1 678 297 1001
Fax +1 678 297 1003
________________________________________
From: Andrea Patricelli <an...@tirasa.net>
Sent: Thursday, September 12, 2019 8:54
To: user@syncope.apache.org
Subject: Re: Syncope trying to deploy using Maven and not getting login
Il 12/09/19 14:40, Dalrymple, Philip ha scritto:
My tomcat for this is Apache Tomcat/7.0.76
DBMS is postgres 11
Java is 1.8.
I have another test VM (where I was doing the build) with
Apache Tomcat/9.0.24 Java/12.0.2+10
(I don't have a system with tomcat 8.5+ and java just 1.8)
Should it work on the java12.0.2 version?
No, please work on Tomcat 8.5+ and Java 8.
This error
tence-jpa-2.1.4.jar!/persistenceContext.xml]: Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError: javax/el/ELManager
seems to be caused by JEE version used by Tomcat and for building artifacts.
Please build the project with Java 8 and deploy on JEE container laying on Java 8 JVM (Tomcat 9 is fine).
--
This email, and any files transmitted with it, are confidential
and intended solely for the use of the individual or entity to
whom they are addressed. If you have received this email in error,
please advise postmaster@mdtsoft.com<ma...@mdtsoft.com> <ma...@mdtsoft.com>.
3480 Preston Ridge Road
Suite 450
Alpharetta, GA 30005
Philip W. Dalrymple III <pw...@mdtsoft.com>
MDT Software - Automation Management Company
+1 678 297 1001
Fax +1 678 297 1003
________________________________________
From: Andrea Patricelli <an...@apache.org>
Sent: Thursday, September 12, 2019 8:36
To: user@syncope.apache.org<ma...@syncope.apache.org>
Subject: Re: Syncope trying to deploy using Maven and not getting login
Are you respecting versions of:
- JEE container [1] (at least Tomcat 8.5, better 9)
- Java (1.8)
- DBMS [2]
Best regards,
Andrea
[1]
https://syncope.apache.org/docs/2.1/getting-started.html#java-ee-container
[2]
https://syncope.apache.org/docs/2.1/getting-started.html#internal-storage
Il 12/09/19 14:28, Dalrymple, Philip ha scritto:
I had not looked int the rest log, that had the error in it. see the bottom of this message
All the tables are there
List of relations
Schema | Name | Type | Owner
--------+--------------------------------+-------+---------
public | accesstoken | table | syncope
public | accountpolicy | table | syncope
public | accountpolicy_externalresource | table | syncope
public | accountpolicyrule | table | syncope
public | adyngroupmembers | table | syncope
public | adyngroupmembership | table | syncope
public | amembership | table | syncope
public | anyabout | table | syncope
public | anyobject | table | syncope
public | anyobject_anytypeclass | table | syncope
public | anyobject_externalresource | table | syncope
public | anytemplatepulltask | table | syncope
public | anytemplaterealm | table | syncope
public | anytype | table | syncope
public | anytype_anytypeclass | table | syncope
public | anytypeclass | table | syncope
public | aplainattr | table | syncope
public | aplainattruniquevalue | table | syncope
public | aplainattrvalue | table | syncope
public | application | table | syncope
public | arelationship | table | syncope
public | conninstance | table | syncope
public | conninstance_capabilities | table | syncope
public | conninstancehistoryconf | table | syncope
public | cplainattr | table | syncope
public | cplainattruniquevalue | table | syncope
public | cplainattrvalue | table | syncope
public | derschema | table | syncope
public | dynrealm | table | syncope
public | dynrealmmembers | table | syncop
--
This email, and any files transmitted with it, are confidential
and intended solely for the use of the individual or entity to
whom they are addressed. If you have received this email in error,
please advise postmaster@mdtsoft.com<ma...@mdtsoft.com> <ma...@mdtsoft.com>.
At least I think that they are all there.
The full core-connid log for this startup is
08:04:04.430 INFO Add ConnectorInfo ConnectorKey( bundleName=net.tirasa.connid.bundles.soap bundleVersion=1.4.3 connectorName=net.tirasa.connid.bundles.soap.WebServiceConnector ) to Local C
onnector Info Manager from file:/opt/syncope/bundles/net.tirasa.connid.bundles.soap-1.4.3.jar Method: lambda$null$3
08:04:04.451 INFO Add ConnectorInfo ConnectorKey( bundleName=net.tirasa.connid.bundles.rest bundleVersion=1.0.4 connectorName=net.tirasa.connid.bundles.rest.RESTConnector ) to Local Connect
or Info Manager from file:/opt/syncope/bundles/net.tirasa.connid.bundles.rest-1.0.4.jar Method: lambda$null$3
08:04:04.460 INFO Add ConnectorInfo ConnectorKey( bundleName=net.tirasa.connid.bundles.csvdir bundleVersion=0.8.8 connectorName=net.tirasa.connid.bundles.csvdir.CSVDirConnector ) to Local C
onnector Info Manager from file:/opt/syncope/bundles/net.tirasa.connid.bundles.csvdir-0.8.8.jar Method: lambda$null$3
08:04:04.483 INFO Add ConnectorInfo ConnectorKey( bundleName=net.tirasa.connid.bundles.db.table bundleVersion=2.2.6 connectorName=net.tirasa.connid.bundles.db.table.DatabaseTableConnector )
to Local Connector Info Manager from file:/opt/syncope/bundles/net.tirasa.connid.bundles.db.table-2.2.6.jar Method: lambda$null$3
08:04:04.494 INFO Add ConnectorInfo ConnectorKey( bundleName=net.tirasa.connid.bundles.db.scriptedsql bundleVersion=2.2.6 connectorName=net.tirasa.connid.bundles.db.scriptedsql.ScriptedSQLC
onnector ) to Local Connector Info Manager from file:/opt/syncope/bundles/net.tirasa.connid.bundles.db.scriptedsql-2.2.6.jar Method: lambda$null$3
08:04:04.517 INFO Add ConnectorInfo ConnectorKey( bundleName=net.tirasa.connid.bundles.ldap bundleVersion=1.5.3 connectorName=net.tirasa.connid.bundles.ldap.LdapConnector ) to Local Connect
or Info Manager from file:/opt/syncope/bundles/net.tirasa.connid.bundles.ldap-1.5.3.jar Method: lambda$null$3
08:04:04.543 INFO Add ConnectorInfo ConnectorKey( bundleName=net.tirasa.connid.bundles.ad bundleVersion=1.3.6 connectorName=net.tirasa.connid.bundles.ad.ADConnector ) to Local Connector Inf
o Manager from file:/opt/syncope/bundles/net.tirasa.connid.bundles.ad-1.3.6.jar Method: lambda$null$3
08:04:04.593 INFO Add ConnectorInfo ConnectorKey( bundleName=net.tirasa.connid.bundles.googleapps bundleVersion=1.4.2 connectorName=net.tirasa.connid.bundles.googleapps.GoogleAppsConnector
) to Local Connector Info Manager from file:/opt/syncope/bundles/net.tirasa.connid.bundles.googleapps-1.4.2.jar Method: lambda$null$3
08:04:04.618 INFO Add ConnectorInfo ConnectorKey( bundleName=net.tirasa.connid.bundles.azure bundleVersion=1.0.1 connectorName=net.tirasa.connid.bundles.azure.AzureConnector ) to Local Conn
ector Info Manager from file:/opt/syncope/bundles/net.tirasa.connid.bundles.azure-1.0.1.jar Method: lambda$null$3
08:04:04.629 INFO Add ConnectorInfo ConnectorKey( bundleName=net.tirasa.connid.bundles.scimv11 bundleVersion=1.0.1 connectorName=net.tirasa.connid.bundles.scimv11.SCIMv11Connector ) to Loca
l Connector Info Manager from file:/opt/syncope/bundles/net.tirasa.connid.bundles.scimv11-1.0.1.jar Method: lambda$null$3
08:04:04.644 INFO Add ConnectorInfo ConnectorKey( bundleName=net.tirasa.connid.bundles.servicenow bundleVersion=1.0.0 connectorName=net.tirasa.connid.bundles.servicenow.SNConnector ) to Loc
al Connector Info Manager from file:/opt/syncope/bundles/net.tirasa.connid.bundles.servicenow-1.0.0.jar Method: lambda$null$3
The core-persistence.log is
08:03:57.754 INFO org.apache.syncope.core.persistence.jpa.spring.DomainEntityManagerFactoryBean - Initialized JPA EntityManagerFactory for persistence unit 'Master'
08:04:02.302 INFO org.apache.syncope.core.persistence.jpa.content.AbstractContentDealer - [Master] Data found in the database, leaving untouched
08:04:05.334 INFO org.apache.syncope.core.persistence.jpa.spring.DomainEntityManagerFactoryBean - Closing JPA EntityManagerFactory for persistence unit 'Master'
The core rest log is where the error was
8:03:55.283 INFO org.springframework.web.context.ContextLoader - Root WebApplicationContext: initialization started
08:04:05.317 WARN org.springframework.web.context.support.XmlWebApplicationContext - Exception encountered during context initialization - cancelling refresh attempt: org.springframework.be
ans.factory.BeanCreationException: Error creating bean with name 'logicInitializer' defined in URL [jar:file:/var/lib/tomcat/webapps/syncope/WEB-INF/lib/syncope-core-logic-2.1.4.jar!/org/apa
che/syncope/core/logic/init/LogicInitializer.class]: Invocation of init method failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with n
ame 'org.springframework.validation.beanvalidation.LocalValidatorFactoryBean#0' defined in URL [jar:file:/var/lib/tomcat/webapps/syncope/WEB-INF/lib/syncope-core-persistence-jpa-2.1.4.jar!/p
ersistenceContext.xml]: Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError: javax/el/ELManager
08:04:05.344 ERROR org.springframework.web.context.ContextLoader - Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'logicInitializer' defined in URL [jar:file:/var/lib/tomcat/webapps/syncope/WEB-INF/lib/syncope-core-lo
gic-2.1.4.jar!/org/apache/syncope/core/logic/init/LogicInitializer.class]: Invocation of init method failed; nested exception is org.springframework.beans.factory.BeanCreationException: Erro
r creating bean with name 'org.springframework.validation.beanvalidation.LocalValidatorFactoryBean#0' defined in URL [jar:file:/var/lib/tomcat/webapps/syncope/WEB-INF/lib/syncope-core-persis
tence-jpa-2.1.4.jar!/persistenceContext.xml]: Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError: javax/el/ELManager
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1778) ~[spring-beans-5.1.6.RELEASE.jar:5.1.6.RE
LEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:593) ~[spring-beans-5.1.6.RELEASE.jar:5.1.6.RELEA
SE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:515) ~[spring-beans-5.1.6.RELEASE.jar:5.1.6.RELEASE
]
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:320) ~[spring-beans-5.1.6.RELEASE.jar:5.1.6.RELEASE]
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) ~[spring-beans-5.1.6.RELEASE.jar:5.1.6.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:318) ~[spring-beans-5.1.6.RELEASE.jar:5.1.6.RELEASE]
3480 Preston Ridge Road
Suite 450
Alpharetta, GA 30005
Philip W. Dalrymple III <pw...@mdtsoft.com>
MDT Software - Automation Management Company
+1 678 297 1001
Fax +1 678 297 1003
________________________________________
From: Andrea Patricelli <an...@apache.org>
Sent: Thursday, September 12, 2019 8:18
To: user@syncope.apache.org<ma...@syncope.apache.org>
Subject: Re: Syncope trying to deploy using Maven and not getting login
Hi Philip,
Logs attached are not enough to understand what is the problem.
Did you check also core-persistence.log, core-rest.log and core-connid.log files? They should be under /opt/syncope/log/.
Moreover has the database been populated with Syncope tables? For example you can check the presence of syncopeuser table.
Best regards,
Andrea
Il 12/09/19 14:05, Dalrymple, Philip ha scritto:
Having the domains directory in /opt/syncope/conf did not help.
It does not appear that there are any changes in the logs (other than the times)
--
This email, and any files transmitted with it, are confidential
and intended solely for the use of the individual or entity to
whom they are addressed. If you have received this email in error,
please advise postmaster@mdtsoft.com<ma...@mdtsoft.com> <ma...@mdtsoft.com>.
3480 Preston Ridge Road
Suite 450
Alpharetta, GA 30005
Philip W. Dalrymple III <pw...@mdtsoft.com>
MDT Software - Automation Management Company
+1 678 297 1001
Fax +1 678 297 1003
________________________________________
From: Dalrymple, Philip <pw...@mdtsoft.com>
Sent: Thursday, September 12, 2019 7:55
To: user@syncope.apache.org<ma...@syncope.apache.org>
Subject: Re: Syncope trying to deploy using Maven and not getting login
OK went off and did a source build to help me understand and I will need
to, at some point, get into that.
I cleaned out the DB and undeployed the three applications and then re-deployed
them.
Still, no luck.
~ tree /opt/syncope/conf
/opt/syncope/conf
|-- connid.properties
|-- console.properties
|-- customFormAttributes.json
|-- customTemplate.json
|-- enduser.properties
|-- logic.properties
|-- mail.properties
|-- persistence.properties
|-- provisioning.properties
`-- security.properties
with no domain in it (I may putting that in the /opt/syncope/conf)
the logs have the following (snip for thing that repeat)
07:53:12.491 INFO org.springframework.security.core.SpringSecurityCoreVersion - You are running with Spring Security Core 5.1.5.RELEASE
07:53:12.494 INFO org.springframework.security.config.SecurityNamespaceHandler - Spring Security 'config' module version is 5.1.5.RELEASE
07:53:12.514 INFO org.springframework.security.config.method.GlobalMethodSecurityBeanDefinitionParser - Expressions were enabled for method security but no SecurityExpressionHandler was configured. All hasPermision() expressions will evaluate to false.
07:53:12.556 INFO org.springframework.security.config.http.HttpSecurityBeanDefinitionParser - Checking sorted filter chain: [Root bean: class [org.springframework.security.web.context.SecurityContextPersistenceFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 200, Root bean: class [org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 400, <jwtAuthenticationFilter>, order = 1799, Root bean: class [org.springframework.security.web.authentication.www.BasicAuthenticationFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 1800, Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=org.springframework.security.config.http.HttpConfigurationBuilder$SecurityContextHolderAwareRequestFilterBeanFactory#0; factoryMethodName=getBean; initMethodName=null; destroyMethodName=null, order = 2000, Root bean: class [org.springframework.security.web.authentication.AnonymousAuthenticationFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 2300, Root bean: class [org.springframework.security.web.access.ExceptionTranslationFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 2500, <mustChangePasswordFilter>, order = 2599, <org.springframework.security.web.access.intercept.FilterSecurityInterceptor#0>, order = 2600]
07:53:14.055 INFO org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor - Initializing ExecutorService
07:53:14.055 INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'asyncConnectorFacadeExecutor' of type [org.springframework.scheduling.config.TaskExecutorFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
07:53:14.055 INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'asyncConnectorFacadeExecutor' of type [org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
07:53:14.696 WARN openjpa.Runtime - An error occurred while registering a ClassTransformer with PersistenceUnitInfo: name 'Master', root URL [file:/var/lib/tomcat/webapps/syncope/WEB-INF/lib/syncope-core-persistence-jpa-2.1.4.jar]. The error has been consumed. To see it, set your openjpa.Runtime log level to TRACE. Load-time class transformation will not be available.
07:53:14.860 INFO org.springframework.security.web.DefaultSecurityFilterChain - Creating filter chain: any request, [org.springframework.security.web.context.SecurityContextPersistenceFilter@551267bf]
07:53:15.440 INFO org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor - Initializing ExecutorService
07:53:15.624 INFO org.apache.syncope.core.provisioning.java.job.SchedulerDBInit - No Quartz tables found, creating
07:53:15.835 INFO org.quartz.impl.StdSchedulerFactory - Using default implementation for ThreadExecutor
07:53:15.861 INFO org.quartz.core.SchedulerSignalerImpl - Initialized Scheduler Signaller of type: class org.quartz.core.SchedulerSignalerImpl
07:53:15.861 INFO org.quartz.core.QuartzScheduler - Quartz Scheduler v.2.3.1 created.
07:53:15.865 INFO org.springframework.scheduling.quartz.LocalDataSourceJobStore - Using db table-based data access locking (synchronization).
07:53:15.868 INFO org.springframework.scheduling.quartz.LocalDataSourceJobStore - JobStoreCMT initialized.
07:53:15.874 INFO org.quartz.core.QuartzScheduler - Scheduler meta-data: Quartz Scheduler (v2.3.1) 'ClusteredScheduler' with instanceId 'gluu-prs9.mdtsoft.com1568289195837'
Scheduler class: 'org.quartz.core.QuartzScheduler' - running locally.
NOT STARTED.
Currently in standby mode.
Number of jobs executed: 0
Using thread pool 'org.quartz.simpl.SimpleThreadPool' - with 10 threads.
Using job-store 'org.springframework.scheduling.quartz.LocalDataSourceJobStore' - which supports persistence. and is clustered.
07:53:15.874 INFO org.quartz.impl.StdSchedulerFactory - Quartz scheduler 'ClusteredScheduler' initialized from an externally provided properties instance.
07:53:15.874 INFO org.quartz.impl.StdSchedulerFactory - Quartz scheduler version: 2.3.1
07:53:15.874 INFO org.quartz.core.QuartzScheduler - JobFactory set to: org.apache.syncope.core.provisioning.java.job.AutowiringSpringBeanJobFactory@414ca8cc
07:53:15.879 INFO openjpa.Runtime - Starting OpenJPA 3.1.0
07:53:15.914 INFO openjpa.jdbc.JDBC - Using dictionary class "org.apache.openjpa.jdbc.sql.PostgresDictionary".
07:53:15.973 INFO openjpa.jdbc.JDBC - Connected to PostgreSQL version 11.11 using JDBC driver PostgreSQL JDBC Driver version 42.2.6.
07:53:16.314 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.group.JPAGroup". Ignoring.
07:53:16.314 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.group.JPATypeExtension". Ignoring.
07:53:16.314 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.user.JPAURelationship". Ignoring.
07:53:16.314 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.anyobject.JPAADynGroupMembership". Ignoring.
07:53:16.314 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.anyobject.JPAARelationship". Ignoring.
07:53:16.314 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.anyobject.JPAAPlainAttrUniqueValue". Ignoring.
07:53:16.314 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.user.JPAUPlainAttrUniqueValue". Ignoring.
07:53:16.314 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.group.JPAGPlainAttrUniqueValue". Ignoring.
07:53:16.315 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.conf.JPACPlainAttrUniqueValue". Ignoring.
07:53:16.350 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.group.JPAGroup". Ignoring.
07:53:16.350 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.group.JPATypeExtension". Ignoring.
07:53:16.351 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.user.JPAURelationship". Ignoring.
07:53:16.351 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.anyobject.JPAAMembership". Ignoring.
07:53:16.351 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.anyobject.JPAADynGroupMembership". Ignoring.
07:53:16.351 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.anyobject.JPAARelationship". Ignoring.
07:53:16.351 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.anyobject.JPAAPlainAttrUniqueValue". Ignoring.
07:53:16.351 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.user.JPAUPlainAttrUniqueValue". Ignoring.
07:53:16.351 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.group.JPAGPlainAttrUniqueValue". Ignoring.
07:53:16.351 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.conf.JPACPlainAttrUniqueValue". Ignoring.
07:53:16.361 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.group.JPAGroup". Ignoring.
07:53:16.361 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.group.JPATypeExtension". Ignoring.
07:53:16.361 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.user.JPAUDynGroupMembership". Ignoring.
07:53:16.361 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.user.JPAURelationship". Ignoring.
07:53:16.361 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.anyobject.JPAAMembership". Ignoring.
07:53:16.361 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.anyobject.JPAADynGroupMembership". Ignoring.
07:53:16.361 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.anyobject.JPAARelationship". Ignoring.
07:53:16.362 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.anyobject.JPAAPlainAttrUniqueValue". Ignoring.
07:53:16.362 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.user.JPAUPlainAttrUniqueValue". Ignoring.
07:53:16.362 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.group.JPAGPlainAttrUniqueValue". Ignoring.
07:53:16.362 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.conf.JPACPlainAttrUniqueValue". Ignoring.
07:53:16.370 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.group.JPAGroup". Ignoring.
07:53:16.371 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.group.JPATypeExtension". Ignoring.
07:53:16.371 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.user.JPAUMembership". Ignoring.
07:53:16.371 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.user.JPAUDynGroupMembership". Ignoring.
07:53:16.371 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.user.JPAURelationship". Ignoring.
--------snip-------------------
07:53:22.087 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.anyobject.JPAAPlainAttrUniqueValue". Ignoring.
07:53:22.087 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.user.JPAUPlainAttrUniqueValue". Ignoring.
07:53:22.087 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.group.JPAGPlainAttrUniqueValue". Ignoring.
07:53:22.087 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.conf.JPACPlainAttrUniqueValue". Ignoring.
07:53:22.653 INFO org.springframework.scheduling.quartz.SchedulerFactoryBean - Shutting down Quartz Scheduler
07:53:22.653 INFO org.quartz.core.QuartzScheduler - Scheduler ClusteredScheduler_$_gluu-prs9.mdtsoft.com1568289195837 shutting down.
07:53:22.653 INFO org.quartz.core.QuartzScheduler - Scheduler ClusteredScheduler_$_gluu-prs9.mdtsoft.com1568289195837 paused.
07:53:22.857 INFO org.quartz.core.QuartzScheduler - Scheduler unregistered from name 'quartz:type=QuartzScheduler,name=ClusteredScheduler,instance=gluu-prs9.mdtsoft.com1568289195837' in the local MBeanServer.
07:53:22.857 INFO org.quartz.core.QuartzScheduler - Scheduler ClusteredScheduler_$_gluu-prs9.mdtsoft.com1568289195837 shutdown complete.
07:53:22.859 INFO org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor - Shutting down ExecutorService
07:53:22.869 INFO org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor - Shutting down ExecutorService
I get clean logs with no errors.
my config directory is
--
This email, and any files transmitted with it, are confidential
and intended solely for the use of the individual or entity to
whom they are addressed. If you have received this email in error,
please advise postmaster@mdtsoft.com<ma...@mdtsoft.com> <ma...@mdtsoft.com>.
3480 Preston Ridge Road
Suite 450
Alpharetta, GA 30005
Philip W. Dalrymple III <pw...@mdtsoft.com>
MDT Software - Automation Management Company
+1 678 297 1001
Fax +1 678 297 1003
________________________________________
From: Andrea Patricelli <an...@apache.org>
Sent: Friday, September 6, 2019 4:20
To: user@syncope.apache.org<ma...@syncope.apache.org>
Subject: Re: Syncope trying to deploy using Maven and not getting login
Hi Philip,
in order to make a correct deploy on your application server follow [2].
As the warning in the doc states:
Be sure to put the corresponding JDBC driver JAR file under $CATALINA_HOME/lib for each datasource defined.
You should provide postgres driver to Syncope by putting it into Tomcat lib folder.
About the maven buld error: did you give the correct r/w permissions to /opt/syncope/buldles directory? If you want more info about the build please add the -X option to your maven build command.
Best regards,
Andrea
[2] https://syncope.apache.org/docs/2.1/reference-guide.html#apache-tomcat-9
Il 05/09/19 16:38, Dalrymple, Philip ha scritto:
OK I had one issue in that to make it work my build script needed to look like
#!/bin/bash
cd syncope
sudo mkdir -p /opt/syncope/bundles
sudo mkdir -p /opt/syncope/log
sudo chmod 0777 /opt/syncope/log
sudo mkdir -p /opt/syncope/conf
# mvn clean verify \
# -Dconf.directory=/opt/syncope/conf \
# -Dbundles.directory=/opt/syncope/bundles \
# -Dlog.directory=/opt/syncope/log
mvn clean verify \
-Dconf.directory=/opt/syncope/conf \
-Dlog.directory=/opt/syncope/log
sudo cp core/target/classes/*properties /opt/syncope/conf
sudo cp console/target/classes/*properties /opt/syncope/conf
sudo cp enduser/target/classes/*properties /opt/syncope/conf
sudo cp enduser/target/classes/customFormAttributes.json /opt/syncope/conf
sudo cp enduser/target/classes/customTemplate.json /opt/syncope/conf
i.e. not changing the bundles directory (which I want to do as I want to build in
the bundles into the war files).
When I do that I DO get logs (in /opt/syncope/log) Looks like I don't have the postgres dirver.
I checked and the
core/target/classes/provisioning.properties
already had the changes for postgres
? syncope git:(master) ? more /opt/syncope/log/core.log
10:22:58.367 INFO org.springframework.security.core.SpringSecurityCoreVersion - You are running with Spring Security Core 5.1.5.RELEASE
10:22:58.370 INFO org.springframework.security.config.SecurityNamespaceHandler - Spring Security 'config' module version is 5.1.5.RELEASE
10:22:58.391 INFO org.springframework.security.config.method.GlobalMethodSecurityBeanDefinitionParser - Expressions were enabled for method security but no SecurityExpressionHandle
r was configured. All hasPermision() expressions will evaluate to false.
10:22:58.437 INFO org.springframework.security.config.http.HttpSecurityBeanDefinitionParser - Checking sorted filter chain: [Root bean: class [org.springframework.security.web.cont
ext.SecurityContextPersistenceFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factor
yMethodName=null; initMethodName=null; destroyMethodName=null, order = 200, Root bean: class [org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter
]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=nul
l; destroyMethodName=null, order = 400, <jwtAuthenticationFilter>, order = 1799, Root bean: class [org.springframework.security.web.authentication.www.BasicAuthenticationFilter]; sc
ope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; de
stroyMethodName=null, order = 1800, Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factor
yBeanName=org.springframework.security.config.http.HttpConfigurationBuilder$SecurityContextHolderAwareRequestFilterBeanFactory#0; factoryMethodName=getBean; initMethodName=null; des
troyMethodName=null, order = 2000, Root bean: class [org.springframework.security.web.authentication.AnonymousAuthenticationFilter]; scope=; abstract=false; lazyInit=false; autowire
Mode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 2300, Root bean:
class [org.springframework.security.web.access.ExceptionTranslationFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; prima
ry=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 2500, <mustChangePasswordFilter>, order = 2599, <org.springframework.sec
urity.web.access.intercept.FilterSecurityInterceptor#0>, order = 2600]
10:23:00.130 INFO org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor - Initializing ExecutorService
10:23:00.130 INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'asyncConnectorFacadeExecutor' of type [org.springframework.
scheduling.config.TaskExecutorFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
10:23:00.130 INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'asyncConnectorFacadeExecutor' of type [org.springframework.
scheduling.concurrent.ThreadPoolTaskExecutor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
10:23:00.394 ERROR com.zaxxer.hikari.HikariConfig - Failed to load driver class org.postgresql.Driver from HikariConfig class classloader WebappClassLoader
context: /syncope
delegate: false
repositories:
/WEB-INF/classes/
----------> Parent Classloader:
java.net.URLClassLoader@7a81197d
10:23:00.444 ERROR com.zaxxer.hikari.HikariConfig - Failed to load driver class org.postgresql.Driver from HikariConfig class classloader WebappClassLoader
context: /syncope
delegate: false
repositories:
/WEB-INF/classes/
----------> Parent Classloader:
java.net.URLClassLoader@7a81197d
10:23:00.445 INFO org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor - Shutting down ExecutorService
10:23:18.326 INFO org.springframework.security.core.SpringSecurityCoreVersion - You are running with Spring Security Core 5.1.5.RELEASE
10:23:18.329 INFO org.springframework.security.config.SecurityNamespaceHandler - Spring Security 'config' module version is 5.1.5.RELEASE
10:23:18.349 INFO org.springframework.security.config.method.GlobalMethodSecurityBeanDefinitionParser - Expressions were enabled for method security but no SecurityExpressionHandle
r was configured. All hasPermision() expressions will evaluate to false.
10:23:18.395 INFO org.springframework.security.config.http.HttpSecurityBeanDefinitionParser - Checking sorted filter chain: [Root bean: class [org.springframework.security.web.cont
ext.SecurityContextPersistenceFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factor
yMethodName=null; initMethodName=null; destroyMethodName=null, order = 200, Root bean: class [org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter
]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=nul
l; destroyMethodName=null, order = 400, <jwtAuthenticationFilter>, order = 1799, Root bean: class [org.springframework.security.web.authentication.www.BasicAuthenticationFilter]; sc
ope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; de
stroyMethodName=null, order = 1800, Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factor
yBeanName=org.springframework.security.config.http.HttpConfigurationBuilder$SecurityContextHolderAwareRequestFilterBeanFactory#0; factoryMethodName=getBean; initMethodName=null; des
troyMethodName=null, order = 2000, Root bean: class [org.springframework.security.web.authentication.AnonymousAuthenticationFilter]; scope=; abstract=false; lazyInit=false; autowire
Mode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 2300, Root bean:
class [org.springframework.security.web.access.ExceptionTranslationFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; prima
ry=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 2500, <mustChangePasswordFilter>, order = 2599, <org.springframework.sec
urity.web.access.intercept.FilterSecurityInterceptor#0>, order = 2600]
10:23:20.012 INFO org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor - Initializing ExecutorService
10:23:20.012 INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'asyncConnectorFacadeExecutor' of type [org.springframework.
scheduling.config.TaskExecutorFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
10:23:20.012 INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'asyncConnectorFacadeExecutor' of type [org.springframework.
scheduling.concurrent.ThreadPoolTaskExecutor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
10:23:20.285 ERROR com.zaxxer.hikari.HikariConfig - Failed to load driver class org.postgresql.Driver from HikariConfig class classloader WebappClassLoader
context: /syncope
delegate: false
repositories:
/WEB-INF/classes/
----------> Parent Classloader:
java.net.URLClassLoader@7a81197d
10:23:20.337 ERROR com.zaxxer.hikari.HikariConfig - Failed to load driver class org.postgresql.Driver from HikariConfig class classloader WebappClassLoader
context: /syncope
delegate: false
repositories:
/WEB-INF/classes/
----------> Parent Classloader:
java.net.URLClassLoader@7a81197d
10:23:20.338 INFO org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor - Shutting down ExecutorService
10:23:32.831 INFO org.springframework.security.core.SpringSecurityCoreVersion - You are running with Spring Security Core 5.1.5.RELEASE
10:23:32.835 INFO org.springframework.security.config.SecurityNamespaceHandler - Spring Security 'config' module version is 5.1.5.RELEASE
10:23:32.859 INFO org.springframework.security.config.method.GlobalMethodSecurityBeanDefinitionParser - Expressions were enabled for method security but no SecurityExpressionHandle
r was configured. All hasPermision() expressions will evaluate to false.
10:23:32.910 INFO org.springframework.security.config.http.HttpSecurityBeanDefinitionParser - Checking sorted filter chain: [Root bean: class [org.springframework.security.web.cont
ext.SecurityContextPersistenceFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factor
yMethodName=null; initMethodName=null; destroyMethodName=null, order = 200, Root bean: class [org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter
]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=nul
l; destroyMethodName=null, order = 400, <jwtAuthenticationFilter>, order = 1799, Root bean: class [org.springframework.security.web.authentication.www.BasicAuthenticationFilter]; sc
ope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; de
stroyMethodName=null, order = 1800, Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factor
yBeanName=org.springframework.security.config.http.HttpConfigurationBuilder$SecurityContextHolderAwareRequestFilterBeanFactory#0; factoryMethodName=getBean; initMethodName=null; des
troyMethodName=null, order = 2000, Root bean: class [org.springframework.security.web.authentication.AnonymousAuthenticationFilter]; scope=; abstract=false; lazyInit=false; autowire
Mode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 2300, Root bean:
class [org.springframework.security.web.access.ExceptionTranslationFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; prima
ry=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 2500, <mustChangePasswordFilter>, order = 2599, <org.springframework.sec
urity.web.access.intercept.FilterSecurityInterceptor#0>, order = 2600]
10:23:34.490 INFO org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor - Initializing ExecutorService
10:23:34.490 INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'asyncConnectorFacadeExecutor' of type [org.springframework.
scheduling.config.TaskExecutorFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
10:23:34.490 INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'asyncConnectorFacadeExecutor' of type [org.springframework.
scheduling.concurrent.ThreadPoolTaskExecutor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
10:23:34.757 ERROR com.zaxxer.hikari.HikariConfig - Failed to load driver class org.postgresql.Driver from HikariConfig class classloader WebappClassLoader
context: /syncope
delegate: false
repositories:
/WEB-INF/classes/
----------> Parent Classloader:
java.net.URLClassLoader@7a81197d
10:23:34.809 ERROR com.zaxxer.hikari.HikariConfig - Failed to load driver class org.postgresql.Driver from HikariConfig class classloader WebappClassLoader
context: /syncope
delegate: false
repositories:
/WEB-INF/classes/
----------> Parent Classloader:
java.net.URLClassLoader@7a81197d
10:23:34.810 INFO org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor - Shutting down ExecutorService
if I left in the bundles I get the following error:
? syncope git:(master) ? mvn clean verify \
-Dconf.directory=/opt/syncope/conf \
-Dbundles.directory=/opt/syncope/bundles \
-Dlog.directory=/opt/syncope/log
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] Apache Syncope sample project
[INFO] Apache Syncope sample project - Common
[INFO] Apache Syncope sample project - Core
[INFO] Apache Syncope sample project - Console
[INFO] Apache Syncope sample project - Enduser
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache Syncope sample project 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ syncope ---
[INFO] Deleting /home/pwd/src/EIandAS/syncope/target
[INFO]
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven-version) @ syncope ---
[INFO]
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven) @ syncope ---
[INFO]
[INFO] --- gmaven-plugin:1.5:execute (default) @ syncope ---
[INFO]
[INFO] --- maven-remote-resources-plugin:1.5:process (process-resource-bundles) @ syncope ---
[INFO]
[INFO] --- maven-resources-plugin:3.1.0:copy-resources (copy-artifact-legal-files) @ syncope ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 0 resource
[INFO]
[INFO] --- maven-resources-plugin:3.1.0:copy-resources (copy-javadoc-legal-files) @ syncope ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 0 resource
[INFO]
[INFO] --- jacoco-maven-plugin:0.8.3:prepare-agent (jacoco-agent-ut) @ syncope ---
[INFO] argLine set to -javaagent:/home/pwd/.m2/repository/org/jacoco/org.jacoco.agent/0.8.3/org.jacoco.agent-0.8.3-runtime.jar=destfile=/home/pwd/src/EIandAS/syncope/target/jacoco.ut.exec,append=true -Xms512m -Xmx1024m -Xss256k
[INFO]
[INFO] --- maven-site-plugin:3.7.1:attach-descriptor (attach-descriptor) @ syncope ---
[INFO] No site descriptor found: nothing to attach.
[INFO]
[INFO] --- jacoco-maven-plugin:0.8.3:prepare-agent-integration (jacoco-agent-it) @ syncope ---
[INFO] argLine set to -javaagent:/home/pwd/.m2/repository/org/jacoco/org.jacoco.agent/0.8.3/org.jacoco.agent-0.8.3-runtime.jar=destfile=/home/pwd/src/EIandAS/syncope/target/jacoco.it.exec,append=true -Xms512m -Xmx1024m -Xss256k
[INFO]
[INFO] --- modernizer-maven-plugin:1.8.0:modernizer (modernizer-check) @ syncope ---
[INFO]
[INFO] --- maven-checkstyle-plugin:3.0.0:check (checkstyle-check) @ syncope ---
[INFO]
[INFO] --- jacoco-maven-plugin:0.8.3:report-aggregate (jacoco-site) @ syncope ---
[INFO]
[INFO] --- apache-rat-plugin:0.12:check (rat-check) @ syncope ---
[INFO] RAT will not execute since it is configured to be skipped via system property 'rat.skip'.
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache Syncope sample project - Common 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ syncope-common ---
[INFO] Deleting /home/pwd/src/EIandAS/syncope/common/target
[INFO]
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven-version) @ syncope-common ---
[INFO]
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven) @ syncope-common ---
[INFO]
[INFO] --- gmaven-plugin:1.5:execute (default) @ syncope-common ---
[INFO]
[INFO] --- maven-remote-resources-plugin:1.5:process (process-resource-bundles) @ syncope-common ---
[INFO]
[INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ syncope-common ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 0 resource
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-resources-plugin:3.1.0:copy-resources (copy-artifact-legal-files) @ syncope-common ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 0 resource
[INFO]
[INFO] --- maven-resources-plugin:3.1.0:copy-resources (copy-javadoc-legal-files) @ syncope-common ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 0 resource
[INFO]
[INFO] --- maven-compiler-plugin:3.8.0:compile (default-compile) @ syncope-common ---
[INFO] No sources to compile
[INFO]
[INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ syncope-common ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 0 resource
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.8.0:testCompile (default-testCompile) @ syncope-common ---
[INFO] No sources to compile
[INFO]
[INFO] --- jacoco-maven-plugin:0.8.3:prepare-agent (jacoco-agent-ut) @ syncope-common ---
[INFO] argLine set to -javaagent:/home/pwd/.m2/repository/org/jacoco/org.jacoco.agent/0.8.3/org.jacoco.agent-0.8.3-runtime.jar=destfile=/home/pwd/src/EIandAS/syncope/common/target/jacoco.ut.exec,append=true -Xms512m -Xmx1024m -Xss256k
[INFO]
[INFO] --- maven-surefire-plugin:2.22.1:test (default-test) @ syncope-common ---
[INFO]
[INFO] --- maven-jar-plugin:3.1.1:jar (default-jar) @ syncope-common ---
[INFO] Building jar: /home/pwd/src/EIandAS/syncope/common/target/syncope-common-1.0-SNAPSHOT.jar
[INFO]
[INFO] --- maven-site-plugin:3.7.1:attach-descriptor (attach-descriptor) @ syncope-common ---
[INFO] Skipping because packaging 'jar' is not pom.
[INFO]
[INFO] --- jacoco-maven-plugin:0.8.3:prepare-agent-integration (jacoco-agent-it) @ syncope-common ---
[INFO] argLine set to -javaagent:/home/pwd/.m2/repository/org/jacoco/org.jacoco.agent/0.8.3/org.jacoco.agent-0.8.3-runtime.jar=destfile=/home/pwd/src/EIandAS/syncope/common/target/jacoco.it.exec,append=true -Xms512m -Xmx1024m -Xss256k
[INFO]
[INFO] --- modernizer-maven-plugin:1.8.0:modernizer (modernizer-check) @ syncope-common ---
[INFO]
[INFO] --- maven-checkstyle-plugin:3.0.0:check (checkstyle-check) @ syncope-common ---
[INFO]
[INFO] --- jacoco-maven-plugin:0.8.3:report-aggregate (jacoco-site) @ syncope-common ---
[INFO]
[INFO] --- apache-rat-plugin:0.12:check (rat-check) @ syncope-common ---
[INFO] RAT will not execute since it is configured to be skipped via system property 'rat.skip'.
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache Syncope sample project - Core 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ syncope-core ---
[INFO] Deleting /home/pwd/src/EIandAS/syncope/core/target
[INFO]
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven-version) @ syncope-core ---
[INFO]
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven) @ syncope-core ---
[INFO]
[INFO] --- gmaven-plugin:1.5:execute (default) @ syncope-core ---
[INFO]
[INFO] --- maven-remote-resources-plugin:1.5:process (process-resource-bundles) @ syncope-core ---
[INFO]
[INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ syncope-core ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 32 resources
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-resources-plugin:3.1.0:copy-resources (copy-artifact-legal-files) @ syncope-core ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 0 resource
[INFO]
[INFO] --- maven-resources-plugin:3.1.0:copy-resources (copy-javadoc-legal-files) @ syncope-core ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 0 resource
[INFO]
[INFO] --- maven-compiler-plugin:3.8.0:compile (default-compile) @ syncope-core ---
[INFO] No sources to compile
[INFO]
[INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ syncope-core ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 26 resources
[INFO] Copying 1 resource
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-dependency-plugin:3.1.1:copy (set-bundles) @ syncope-core ---
[INFO] Configured Artifact: net.tirasa.connid.bundles.soap:net.tirasa.connid.bundles.soap:1.4.3:jar
[INFO] Configured Artifact: net.tirasa.connid.bundles:net.tirasa.connid.bundles.rest:1.0.4:jar
[INFO] Configured Artifact: net.tirasa.connid.bundles:net.tirasa.connid.bundles.csvdir:0.8.8:jar
[INFO] Configured Artifact: net.tirasa.connid.bundles.db:net.tirasa.connid.bundles.db.table:2.2.6:jar
[INFO] Configured Artifact: net.tirasa.connid.bundles.db:net.tirasa.connid.bundles.db.scriptedsql:2.2.6:jar
[INFO] Configured Artifact: net.tirasa.connid.bundles:net.tirasa.connid.bundles.ldap:1.5.3:jar
[INFO] Configured Artifact: net.tirasa.connid.bundles:net.tirasa.connid.bundles.ad:1.3.6:jar
[INFO] Configured Artifact: net.tirasa.connid.bundles:net.tirasa.connid.bundles.googleapps:1.4.2:jar
[INFO] Configured Artifact: net.tirasa.connid.bundles:net.tirasa.connid.bundles.azure:1.0.1:jar
[INFO] Configured Artifact: net.tirasa.connid.bundles:net.tirasa.connid.bundles.scimv11:1.0.1:jar
[INFO] Configured Artifact: net.tirasa.connid.bundles:net.tirasa.connid.bundles.servicenow:1.0.0:jar
[INFO] Copying net.tirasa.connid.bundles.soap-1.4.3.jar to /opt/syncope/bundles/net.tirasa.connid.bundles.soap-1.4.3.jar
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Apache Syncope sample project ..................... SUCCESS [4.310s]
[INFO] Apache Syncope sample project - Common ............ SUCCESS [1.233s]
[INFO] Apache Syncope sample project - Core .............. FAILURE [2.534s]
[INFO] Apache Syncope sample project - Console ........... SKIPPED
[INFO] Apache Syncope sample project - Enduser ........... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 8.341s
[INFO] Finished at: Thu Sep 05 10:29:47 EDT 2019
[INFO] Final Memory: 48M/628M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-dependency-plugin:3.1.1:copy (set-bundles) on project syncope-core: Error copying artifact from /home/pwd/.m2/repository/net/tirasa/connid/bundles/soap/net.tirasa.connid.bundles.soap/1.4.3/net.tirasa.connid.bundles.soap-1.4.3.jar to /opt/syncope/bundles/net.tirasa.connid.bundles.soap-1.4.3.jar -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :syncope-core
--
This email, and any files transmitted with it, are confidential
and intended solely for the use of the individual or entity to
whom they are addressed. If you have received this email in error,
please advise postmaster@mdtsoft.com<ma...@mdtsoft.com> <ma...@mdtsoft.com>.
3480 Preston Ridge Road
Suite 450
Alpharetta, GA 30005
Philip W. Dalrymple III <pw...@mdtsoft.com>
MDT Software - Automation Management Company
+1 678 297 1001
Fax +1 678 297 1003
________________________________________
From: Andrea Patricelli <an...@tirasa.net>
Sent: Thursday, September 5, 2019 10:07
To: user@syncope.apache.org<ma...@syncope.apache.org>
Subject: Re: Syncope trying to deploy using Maven and not getting login
P.S.
About the attached link: please take care to the doc starting from
documentation at "Deployment directories" section.
Il 05/09/19 16:04, Dalrymple, Philip ha scritto:
OK I will give that a go.
--
This email, and any files transmitted with it, are confidential
and intended solely for the use of the individual or entity to
whom they are addressed. If you have received this email in error,
please advise postmaster@mdtsoft.com<ma...@mdtsoft.com> <ma...@mdtsoft.com>.
3480 Preston Ridge Road
Suite 450
Alpharetta, GA 30005
Philip W. Dalrymple III <pw...@mdtsoft.com>
MDT Software - Automation Management Company
+1 678 297 1001
Fax +1 678 297 1003
________________________________________
From: Andrea Patricelli <an...@apache.org>
Sent: Thursday, September 5, 2019 10:03
To: user@syncope.apache.org<ma...@syncope.apache.org>
Subject: Re: Syncope trying to deploy using Maven and not getting login
Ok, maybe I got your first problem.
Please follow this [1]. Basically, in order to do a correct deploy, you
should build with a special mvn command specifying bundles, logs and
conf directories and, moreover, in order to let Syncope take correct
configuration parameters (like for the jdbc connection) copy some of the
properties files in sources under the specific conf directory.
HTH,
Andrea
[1] https://syncope.apache.org/docs/2.1/reference-guide.html#customization
Il 05/09/19 15:56, Dalrymple, Philip ha scritto:
OK this is weird
I did a
sudo find / -name "*core*.log*" -print
and only find the logs from my first try using docker.
(was not able to customize well enough and switched to
maven deleting the docker images)
I will keep looking.
--
This email, and any files transmitted with it, are confidential
and intended solely for the use of the individual or entity to
whom they are addressed. If you have received this email in error,
please advise postmaster@mdtsoft.com<ma...@mdtsoft.com> <ma...@mdtsoft.com>.
3480 Preston Ridge Road
Suite 450
Alpharetta, GA 30005
Philip W. Dalrymple III <pw...@mdtsoft.com>
MDT Software - Automation Management Company
+1 678 297 1001
Fax +1 678 297 1003
________________________________________
From: Dalrymple, Philip <pw...@mdtsoft.com>
Sent: Thursday, September 5, 2019 9:53
To: user@syncope.apache.org<ma...@syncope.apache.org>
Subject: Re: Syncope trying to deploy using Maven and not getting login
OK I need to find where the logs are.
--
This email, and any files transmitted with it, are confidential
and intended solely for the use of the individual or entity to
whom they are addressed. If you have received this email in error,
please advise postmaster@mdtsoft.com<ma...@mdtsoft.com> <ma...@mdtsoft.com>.
3480 Preston Ridge Road
Suite 450
Alpharetta, GA 30005
Philip W. Dalrymple III <pw...@mdtsoft.com>
MDT Software - Automation Management Company
+1 678 297 1001
Fax +1 678 297 1003
________________________________________
From: Andrea Patricelli <an...@apache.org>
Sent: Thursday, September 5, 2019 9:52
To: user@syncope.apache.org<ma...@syncope.apache.org>
Subject: Re: Syncope trying to deploy using Maven and not getting login
Hi Philip,
you should check core.log, core-rest.log, core-persistence.log and
core-connid.log files in order to understand what is the problem.
The NOT FOUND error in console simply means that core is unavailable,
probably because it failed to start.
Please check for exceptions in core*.log files and attach it into this
thread.
Best regards,
Andrea
Il 05/09/19 15:32, Dalrymple, Philip ha scritto:
I am trying to deploy Syncope using the Maven method. I have followed the
instructions in
http://syncope.apache.org/docs/2.1/getting-started.html#maven-project
and then edited core/src/main/resources/domains/Master.properties
to have the correct postgres password, I re-did the mvn clean install
and placed the war files in my tomcat/webapps directory, they deployed
without me restarting tomcat.
When I got to http://XXXXX:8080/syncope-console I get a 500 error (see below)
when I got to .../syncope or .../syncope/index.html or .../syncope-enduser I get a 404 error.
I checked in WEB-INF/classes/persistence.properties (in syncope) and it had the
correct DB user, host, and password info and I verified that I could connect to the DB BUT
the DB was empty.
the stack trace on the syncope-console
type Exception report
message Unable to instantiate web session class org.apache.syncope.client.console.SyncopeConsoleSession
description The server encountered an internal error that prevented it from fulfilling this request.
exception
org.apache.wicket.WicketRuntimeException: Unable to instantiate web session class org.apache.syncope.client.console.SyncopeConsoleSession
org.apache.wicket.authroles.authentication.AuthenticatedWebApplication.newSession(AuthenticatedWebApplication.java:121)
org.apache.wicket.Application.fetchCreateAndSetSession(Application.java:1555)
org.apache.wicket.Session.get(Session.java:176)
org.apache.syncope.client.console.SyncopeConsoleSession.get(SyncopeConsoleSession.java:91)
org.apache.syncope.client.console.SyncopeConsoleRequestCycleListener.onException(SyncopeConsoleRequestCycleListener.java:80)
org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:126)
org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:122)
org.apache.wicket.util.listener.ListenerCollection.notify(ListenerCollection.java:80)
org.apache.wicket.request.cycle.RequestCycleListenerCollection.onException(RequestCycleListenerCollection.java:121)
org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:126)
org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:122)
org.apache.wicket.util.listener.ListenerCollection.notify(ListenerCollection.java:80)
org.apache.wicket.request.cycle.RequestCycleListenerCollection.onException(RequestCycleListenerCollection.java:121)
org.apache.wicket.request.cycle.RequestCycle.handleException(RequestCycle.java:368)
org.apache.wicket.request.cycle.RequestCycle.executeExceptionRequestHandler(RequestCycle.java:314)
org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:259)
org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:221)
org.apache.wicket.protocol.ws.AbstractUpgradeFilter.processRequestCycle(AbstractUpgradeFilter.java:70)
org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:206)
org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:299)
root cause
java.lang.reflect.InvocationTargetException
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
java.lang.reflect.Constructor.newInstance(Constructor.java:423)
org.apache.wicket.authroles.authentication.AuthenticatedWebApplication.newSession(AuthenticatedWebApplication.java:117)
org.apache.wicket.Application.fetchCreateAndSetSession(Application.java:1555)
org.apache.wicket.Session.get(Session.java:176)
org.apache.syncope.client.console.SyncopeConsoleSession.get(SyncopeConsoleSession.java:91)
org.apache.syncope.client.console.SyncopeConsoleRequestCycleListener.onException(SyncopeConsoleRequestCycleListener.java:80)
org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:126)
org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:122)
org.apache.wicket.util.listener.ListenerCollection.notify(ListenerCollection.java:80)
org.apache.wicket.request.cycle.RequestCycleListenerCollection.onException(RequestCycleListenerCollection.java:121)
org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:126)
org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:122)
org.apache.wicket.util.listener.ListenerCollection.notify(ListenerCollection.java:80)
org.apache.wicket.request.cycle.RequestCycleListenerCollection.onException(RequestCycleListenerCollection.java:121)
org.apache.wicket.request.cycle.RequestCycle.handleException(RequestCycle.java:368)
org.apache.wicket.request.cycle.RequestCycle.executeExceptionRequestHandler(RequestCycle.java:314)
org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:259)
org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:221)
org.apache.wicket.protocol.ws.AbstractUpgradeFilter.processRequestCycle(AbstractUpgradeFilter.java:70)
org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:206)
org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:299)
root cause
javax.xml.ws.WebServiceException: Remote exception with status code: NOT_FOUND
org.apache.syncope.client.lib.RestClientExceptionMapper.fromResponse(RestClientExceptionMapper.java:76)
org.apache.syncope.client.lib.RestClientExceptionMapper.fromResponse(RestClientExceptionMapper.java:42)
org.apache.cxf.jaxrs.client.ClientProxyImpl.checkResponse(ClientProxyImpl.java:372)
org.apache.cxf.jaxrs.client.ClientProxyImpl.handleResponse(ClientProxyImpl.java:948)
org.apache.cxf.jaxrs.client.ClientProxyImpl.doChainedInvocation(ClientProxyImpl.java:854)
org.apache.cxf.jaxrs.client.ClientProxyImpl.invoke(ClientProxyImpl.java:295)
com.sun.proxy.$Proxy119.platform(Unknown Source)
org.apache.syncope.client.console.SyncopeConsoleSession.<init>(SyncopeConsoleSession.java:103)
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
java.lang.reflect.Constructor.newInstance(Constructor.java:423)
org.apache.wicket.authroles.authentication.AuthenticatedWebApplication.newSession(AuthenticatedWebApplication.java:117)
org.apache.wicket.Application.fetchCreateAndSetSession(Application.java:1555)
org.apache.wicket.Session.get(Session.java:176)
org.apache.syncope.client.console.SyncopeConsoleSession.get(SyncopeConsoleSession.java:91)
org.apache.syncope.client.console.SyncopeConsoleRequestCycleListener.onException(SyncopeConsoleRequestCycleListener.java:80)
org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:126)
org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:122)
org.apache.wicket.util.listener.ListenerCollection.notify(ListenerCollection.java:80)
org.apache.wicket.request.cycle.RequestCycleListenerCollection.onException(RequestCycleListenerCollection.java:121)
org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:126)
org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:122)
org.apache.wicket.util.listener.ListenerCollection.notify(ListenerCollection.java:80)
org.apache.wicket.request.cycle.RequestCycleListenerCollection.onException(RequestCycleListenerCollection.java:121)
org.apache.wicket.request.cycle.RequestCycle.handleException(RequestCycle.java:368)
org.apache.wicket.request.cycle.RequestCycle.executeExceptionRequestHandler(RequestCycle.java:314)
org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:259)
org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:221)
org.apache.wicket.protocol.ws.AbstractUpgradeFilter.processRequestCycle(AbstractUpgradeFilter.java:70)
org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:206)
org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:299)
thanks
--
This email, and any files transmitted with it, are confidential
and intended solely for the use of the individual or entity to
whom they are addressed. If you have received this email in error,
please advise postmaster@mdtsoft.com<ma...@mdtsoft.com> <ma...@mdtsoft.com>.
3480 Preston Ridge Road
Suite 450
Alpharetta, GA 30005
Philip W. Dalrymple III <pw...@mdtsoft.com>
MDT Software - Automation Management Company
+1 678 297 1001
Fax +1 678 297 1003
--
Dott. Andrea Patricelli
Tel. +39 3204524292
Engineer @ Tirasa S.r.l.
Viale Vittoria Colonna 97 - 65127 Pescara
Tel +39 0859116307 / FAX +39 0859111173
http://www.tirasa.net
Apache Syncope PMC Member
--
Dott. Andrea Patricelli
Tel. +39 3204524292
Engineer @ Tirasa S.r.l.
Viale Vittoria Colonna 97 - 65127 Pescara
Tel +39 0859116307 / FAX +39 0859111173
http://www.tirasa.net
Apache Syncope PMC Member
--
Dott. Andrea Patricelli
Tel. +39 3204524292
Engineer @ Tirasa S.r.l.
Viale Vittoria Colonna 97 - 65127 Pescara
Tel +39 0859116307 / FAX +39 0859111173
http://www.tirasa.net
Apache Syncope PMC Member
--
Dott. Andrea Patricelli
Tel. +39 3204524292
Engineer @ Tirasa S.r.l.
Viale Vittoria Colonna 97 - 65127 Pescara
Tel +39 0859116307 / FAX +39 0859111173
http://www.tirasa.net
Apache Syncope PMC Member
--
Dott. Andrea Patricelli
Tel. +39 3204524292
Engineer @ Tirasa S.r.l.
Viale Vittoria Colonna 97 - 65127 Pescara
Tel +39 0859116307 / FAX +39 0859111173
http://www.tirasa.net
Apache Syncope PMC Member
--
Dott. Andrea Patricelli
Tel. +39 3204524292
Engineer @ Tirasa S.r.l.
Viale Vittoria Colonna 97 - 65127 Pescara
Tel +39 0859116307 / FAX +39 0859111173
http://www.tirasa.net
Apache Syncope PMC Member
--
Dott. Andrea Patricelli
Tel. +39 3204524292
Engineer @ Tirasa S.r.l.
Viale Vittoria Colonna 97 - 65127 Pescara
Tel +39 0859116307 / FAX +39 0859111173
http://www.tirasa.net
Apache Syncope PMC Member
Re: Syncope trying to deploy using Maven and not getting login
Posted by Andrea Patricelli <an...@tirasa.net>.
Il 12/09/19 14:40, Dalrymple, Philip ha scritto:
> My tomcat for this is Apache Tomcat/7.0.76
>
> DBMS is postgres 11
>
> Java is 1.8.
>
> I have another test VM (where I was doing the build) with
> Apache Tomcat/9.0.24 Java/12.0.2+10
>
> (I don't have a system with tomcat 8.5+ and java just 1.8)
>
> Should it work on the java12.0.2 version?
No, please work on Tomcat 8.5+ and Java 8.
This error
tence-jpa-2.1.4.jar!/persistenceContext.xml]: Invocation of init method
failed; nested exception is java.lang.NoClassDefFoundError:
javax/el/ELManager
seems to be caused by JEE version *used**by Tomcat* and for *building*
artifacts.
Please build the project with Java 8 and deploy on JEE container laying
on Java 8 JVM (Tomcat 9 is fine).
>
> --
> This email, and any files transmitted with it, are confidential
> and intended solely for the use of the individual or entity to
> whom they are addressed. If you have received this email in error,
> please advise postmaster@mdtsoft.com <ma...@mdtsoft.com>.
>
> 3480 Preston Ridge Road
> Suite 450
> Alpharetta, GA 30005
>
> Philip W. Dalrymple III <pw...@mdtsoft.com>
> MDT Software - Automation Management Company
> +1 678 297 1001
> Fax +1 678 297 1003
>
> ________________________________________
> From: Andrea Patricelli <an...@apache.org>
> Sent: Thursday, September 12, 2019 8:36
> To: user@syncope.apache.org
> Subject: Re: Syncope trying to deploy using Maven and not getting login
>
> Are you respecting versions of:
>
> - JEE container [1] (at least Tomcat 8.5, better 9)
> - Java (1.8)
> - DBMS [2]
>
> Best regards,
> Andrea
>
> [1]
> https://syncope.apache.org/docs/2.1/getting-started.html#java-ee-container
> [2]
> https://syncope.apache.org/docs/2.1/getting-started.html#internal-storage
>
> Il 12/09/19 14:28, Dalrymple, Philip ha scritto:
>> I had not looked int the rest log, that had the error in it. see the bottom of this message
>>
>> All the tables are there
>>
>> List of relations
>> Schema | Name | Type | Owner
>> --------+--------------------------------+-------+---------
>> public | accesstoken | table | syncope
>> public | accountpolicy | table | syncope
>> public | accountpolicy_externalresource | table | syncope
>> public | accountpolicyrule | table | syncope
>> public | adyngroupmembers | table | syncope
>> public | adyngroupmembership | table | syncope
>> public | amembership | table | syncope
>> public | anyabout | table | syncope
>> public | anyobject | table | syncope
>> public | anyobject_anytypeclass | table | syncope
>> public | anyobject_externalresource | table | syncope
>> public | anytemplatepulltask | table | syncope
>> public | anytemplaterealm | table | syncope
>> public | anytype | table | syncope
>> public | anytype_anytypeclass | table | syncope
>> public | anytypeclass | table | syncope
>> public | aplainattr | table | syncope
>> public | aplainattruniquevalue | table | syncope
>> public | aplainattrvalue | table | syncope
>> public | application | table | syncope
>> public | arelationship | table | syncope
>> public | conninstance | table | syncope
>> public | conninstance_capabilities | table | syncope
>> public | conninstancehistoryconf | table | syncope
>> public | cplainattr | table | syncope
>> public | cplainattruniquevalue | table | syncope
>> public | cplainattrvalue | table | syncope
>> public | derschema | table | syncope
>> public | dynrealm | table | syncope
>> public | dynrealmmembers | table | syncop
>>
>>
>> --
>> This email, and any files transmitted with it, are confidential
>> and intended solely for the use of the individual or entity to
>> whom they are addressed. If you have received this email in error,
>> please advise postmaster@mdtsoft.com <ma...@mdtsoft.com>.
>>
>>
>> At least I think that they are all there.
>>
>> The full core-connid log for this startup is
>>
>> 08:04:04.430 INFO Add ConnectorInfo ConnectorKey( bundleName=net.tirasa.connid.bundles.soap bundleVersion=1.4.3 connectorName=net.tirasa.connid.bundles.soap.WebServiceConnector ) to Local C
>> onnector Info Manager from file:/opt/syncope/bundles/net.tirasa.connid.bundles.soap-1.4.3.jar Method: lambda$null$3
>> 08:04:04.451 INFO Add ConnectorInfo ConnectorKey( bundleName=net.tirasa.connid.bundles.rest bundleVersion=1.0.4 connectorName=net.tirasa.connid.bundles.rest.RESTConnector ) to Local Connect
>> or Info Manager from file:/opt/syncope/bundles/net.tirasa.connid.bundles.rest-1.0.4.jar Method: lambda$null$3
>> 08:04:04.460 INFO Add ConnectorInfo ConnectorKey( bundleName=net.tirasa.connid.bundles.csvdir bundleVersion=0.8.8 connectorName=net.tirasa.connid.bundles.csvdir.CSVDirConnector ) to Local C
>> onnector Info Manager from file:/opt/syncope/bundles/net.tirasa.connid.bundles.csvdir-0.8.8.jar Method: lambda$null$3
>> 08:04:04.483 INFO Add ConnectorInfo ConnectorKey( bundleName=net.tirasa.connid.bundles.db.table bundleVersion=2.2.6 connectorName=net.tirasa.connid.bundles.db.table.DatabaseTableConnector )
>> to Local Connector Info Manager from file:/opt/syncope/bundles/net.tirasa.connid.bundles.db.table-2.2.6.jar Method: lambda$null$3
>> 08:04:04.494 INFO Add ConnectorInfo ConnectorKey( bundleName=net.tirasa.connid.bundles.db.scriptedsql bundleVersion=2.2.6 connectorName=net.tirasa.connid.bundles.db.scriptedsql.ScriptedSQLC
>> onnector ) to Local Connector Info Manager from file:/opt/syncope/bundles/net.tirasa.connid.bundles.db.scriptedsql-2.2.6.jar Method: lambda$null$3
>> 08:04:04.517 INFO Add ConnectorInfo ConnectorKey( bundleName=net.tirasa.connid.bundles.ldap bundleVersion=1.5.3 connectorName=net.tirasa.connid.bundles.ldap.LdapConnector ) to Local Connect
>> or Info Manager from file:/opt/syncope/bundles/net.tirasa.connid.bundles.ldap-1.5.3.jar Method: lambda$null$3
>> 08:04:04.543 INFO Add ConnectorInfo ConnectorKey( bundleName=net.tirasa.connid.bundles.ad bundleVersion=1.3.6 connectorName=net.tirasa.connid.bundles.ad.ADConnector ) to Local Connector Inf
>> o Manager from file:/opt/syncope/bundles/net.tirasa.connid.bundles.ad-1.3.6.jar Method: lambda$null$3
>> 08:04:04.593 INFO Add ConnectorInfo ConnectorKey( bundleName=net.tirasa.connid.bundles.googleapps bundleVersion=1.4.2 connectorName=net.tirasa.connid.bundles.googleapps.GoogleAppsConnector
>> ) to Local Connector Info Manager from file:/opt/syncope/bundles/net.tirasa.connid.bundles.googleapps-1.4.2.jar Method: lambda$null$3
>> 08:04:04.618 INFO Add ConnectorInfo ConnectorKey( bundleName=net.tirasa.connid.bundles.azure bundleVersion=1.0.1 connectorName=net.tirasa.connid.bundles.azure.AzureConnector ) to Local Conn
>> ector Info Manager from file:/opt/syncope/bundles/net.tirasa.connid.bundles.azure-1.0.1.jar Method: lambda$null$3
>> 08:04:04.629 INFO Add ConnectorInfo ConnectorKey( bundleName=net.tirasa.connid.bundles.scimv11 bundleVersion=1.0.1 connectorName=net.tirasa.connid.bundles.scimv11.SCIMv11Connector ) to Loca
>> l Connector Info Manager from file:/opt/syncope/bundles/net.tirasa.connid.bundles.scimv11-1.0.1.jar Method: lambda$null$3
>> 08:04:04.644 INFO Add ConnectorInfo ConnectorKey( bundleName=net.tirasa.connid.bundles.servicenow bundleVersion=1.0.0 connectorName=net.tirasa.connid.bundles.servicenow.SNConnector ) to Loc
>> al Connector Info Manager from file:/opt/syncope/bundles/net.tirasa.connid.bundles.servicenow-1.0.0.jar Method: lambda$null$3
>>
>>
>> The core-persistence.log is
>>
>> 08:03:57.754 INFO org.apache.syncope.core.persistence.jpa.spring.DomainEntityManagerFactoryBean - Initialized JPA EntityManagerFactory for persistence unit 'Master'
>> 08:04:02.302 INFO org.apache.syncope.core.persistence.jpa.content.AbstractContentDealer - [Master] Data found in the database, leaving untouched
>> 08:04:05.334 INFO org.apache.syncope.core.persistence.jpa.spring.DomainEntityManagerFactoryBean - Closing JPA EntityManagerFactory for persistence unit 'Master'
>>
>>
>> The core rest log is where the error was
>>
>> 8:03:55.283 INFO org.springframework.web.context.ContextLoader - Root WebApplicationContext: initialization started
>> 08:04:05.317 WARN org.springframework.web.context.support.XmlWebApplicationContext - Exception encountered during context initialization - cancelling refresh attempt: org.springframework.be
>> ans.factory.BeanCreationException: Error creating bean with name 'logicInitializer' defined in URL [jar:file:/var/lib/tomcat/webapps/syncope/WEB-INF/lib/syncope-core-logic-2.1.4.jar!/org/apa
>> che/syncope/core/logic/init/LogicInitializer.class]: Invocation of init method failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with n
>> ame 'org.springframework.validation.beanvalidation.LocalValidatorFactoryBean#0' defined in URL [jar:file:/var/lib/tomcat/webapps/syncope/WEB-INF/lib/syncope-core-persistence-jpa-2.1.4.jar!/p
>> ersistenceContext.xml]: Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError: javax/el/ELManager
>> 08:04:05.344 ERROR org.springframework.web.context.ContextLoader - Context initialization failed
>> org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'logicInitializer' defined in URL [jar:file:/var/lib/tomcat/webapps/syncope/WEB-INF/lib/syncope-core-lo
>> gic-2.1.4.jar!/org/apache/syncope/core/logic/init/LogicInitializer.class]: Invocation of init method failed; nested exception is org.springframework.beans.factory.BeanCreationException: Erro
>> r creating bean with name 'org.springframework.validation.beanvalidation.LocalValidatorFactoryBean#0' defined in URL [jar:file:/var/lib/tomcat/webapps/syncope/WEB-INF/lib/syncope-core-persis
>> tence-jpa-2.1.4.jar!/persistenceContext.xml]: Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError: javax/el/ELManager
>> at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1778) ~[spring-beans-5.1.6.RELEASE.jar:5.1.6.RE
>> LEASE]
>> at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:593) ~[spring-beans-5.1.6.RELEASE.jar:5.1.6.RELEA
>> SE]
>> at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:515) ~[spring-beans-5.1.6.RELEASE.jar:5.1.6.RELEASE
>> ]
>> at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:320) ~[spring-beans-5.1.6.RELEASE.jar:5.1.6.RELEASE]
>> at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) ~[spring-beans-5.1.6.RELEASE.jar:5.1.6.RELEASE]
>> at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:318) ~[spring-beans-5.1.6.RELEASE.jar:5.1.6.RELEASE]
>>
>>
>>
>>
>> 3480 Preston Ridge Road
>> Suite 450
>> Alpharetta, GA 30005
>>
>> Philip W. Dalrymple III <pw...@mdtsoft.com>
>> MDT Software - Automation Management Company
>> +1 678 297 1001
>> Fax +1 678 297 1003
>>
>> ________________________________________
>> From: Andrea Patricelli <an...@apache.org>
>> Sent: Thursday, September 12, 2019 8:18
>> To: user@syncope.apache.org
>> Subject: Re: Syncope trying to deploy using Maven and not getting login
>>
>> Hi Philip,
>>
>> Logs attached are not enough to understand what is the problem.
>> Did you check also core-persistence.log, core-rest.log and core-connid.log files? They should be under /opt/syncope/log/.
>>
>> Moreover has the database been populated with Syncope tables? For example you can check the presence of syncopeuser table.
>>
>> Best regards,
>> Andrea
>>
>> Il 12/09/19 14:05, Dalrymple, Philip ha scritto:
>>
>> Having the domains directory in /opt/syncope/conf did not help.
>>
>> It does not appear that there are any changes in the logs (other than the times)
>>
>>
>> --
>> This email, and any files transmitted with it, are confidential
>> and intended solely for the use of the individual or entity to
>> whom they are addressed. If you have received this email in error,
>> please advise postmaster@mdtsoft.com<ma...@mdtsoft.com> <ma...@mdtsoft.com>.
>>
>> 3480 Preston Ridge Road
>> Suite 450
>> Alpharetta, GA 30005
>>
>> Philip W. Dalrymple III <pw...@mdtsoft.com>
>> MDT Software - Automation Management Company
>> +1 678 297 1001
>> Fax +1 678 297 1003
>>
>> ________________________________________
>> From: Dalrymple, Philip <pw...@mdtsoft.com>
>> Sent: Thursday, September 12, 2019 7:55
>> To: user@syncope.apache.org<ma...@syncope.apache.org>
>> Subject: Re: Syncope trying to deploy using Maven and not getting login
>>
>> OK went off and did a source build to help me understand and I will need
>> to, at some point, get into that.
>>
>> I cleaned out the DB and undeployed the three applications and then re-deployed
>> them.
>>
>> Still, no luck.
>> ~ tree /opt/syncope/conf
>> /opt/syncope/conf
>> |-- connid.properties
>> |-- console.properties
>> |-- customFormAttributes.json
>> |-- customTemplate.json
>> |-- enduser.properties
>> |-- logic.properties
>> |-- mail.properties
>> |-- persistence.properties
>> |-- provisioning.properties
>> `-- security.properties
>>
>> with no domain in it (I may putting that in the /opt/syncope/conf)
>>
>> the logs have the following (snip for thing that repeat)
>>
>> 07:53:12.491 INFO org.springframework.security.core.SpringSecurityCoreVersion - You are running with Spring Security Core 5.1.5.RELEASE
>> 07:53:12.494 INFO org.springframework.security.config.SecurityNamespaceHandler - Spring Security 'config' module version is 5.1.5.RELEASE
>> 07:53:12.514 INFO org.springframework.security.config.method.GlobalMethodSecurityBeanDefinitionParser - Expressions were enabled for method security but no SecurityExpressionHandler was configured. All hasPermision() expressions will evaluate to false.
>> 07:53:12.556 INFO org.springframework.security.config.http.HttpSecurityBeanDefinitionParser - Checking sorted filter chain: [Root bean: class [org.springframework.security.web.context.SecurityContextPersistenceFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 200, Root bean: class [org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 400, <jwtAuthenticationFilter>, order = 1799, Root bean: class [org.springframework.security.web.authentication.www.BasicAuthenticationFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 1800, Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=org.springframework.security.config.http.HttpConfigurationBuilder$SecurityContextHolderAwareRequestFilterBeanFactory#0; factoryMethodName=getBean; initMethodName=null; destroyMethodName=null, order = 2000, Root bean: class [org.springframework.security.web.authentication.AnonymousAuthenticationFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 2300, Root bean: class [org.springframework.security.web.access.ExceptionTranslationFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 2500, <mustChangePasswordFilter>, order = 2599, <org.springframework.security.web.access.intercept.FilterSecurityInterceptor#0>, order = 2600]
>> 07:53:14.055 INFO org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor - Initializing ExecutorService
>> 07:53:14.055 INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'asyncConnectorFacadeExecutor' of type [org.springframework.scheduling.config.TaskExecutorFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
>> 07:53:14.055 INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'asyncConnectorFacadeExecutor' of type [org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
>> 07:53:14.696 WARN openjpa.Runtime - An error occurred while registering a ClassTransformer with PersistenceUnitInfo: name 'Master', root URL [file:/var/lib/tomcat/webapps/syncope/WEB-INF/lib/syncope-core-persistence-jpa-2.1.4.jar]. The error has been consumed. To see it, set your openjpa.Runtime log level to TRACE. Load-time class transformation will not be available.
>> 07:53:14.860 INFO org.springframework.security.web.DefaultSecurityFilterChain - Creating filter chain: any request, [org.springframework.security.web.context.SecurityContextPersistenceFilter@551267bf]
>> 07:53:15.440 INFO org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor - Initializing ExecutorService
>> 07:53:15.624 INFO org.apache.syncope.core.provisioning.java.job.SchedulerDBInit - No Quartz tables found, creating
>> 07:53:15.835 INFO org.quartz.impl.StdSchedulerFactory - Using default implementation for ThreadExecutor
>> 07:53:15.861 INFO org.quartz.core.SchedulerSignalerImpl - Initialized Scheduler Signaller of type: class org.quartz.core.SchedulerSignalerImpl
>> 07:53:15.861 INFO org.quartz.core.QuartzScheduler - Quartz Scheduler v.2.3.1 created.
>> 07:53:15.865 INFO org.springframework.scheduling.quartz.LocalDataSourceJobStore - Using db table-based data access locking (synchronization).
>> 07:53:15.868 INFO org.springframework.scheduling.quartz.LocalDataSourceJobStore - JobStoreCMT initialized.
>> 07:53:15.874 INFO org.quartz.core.QuartzScheduler - Scheduler meta-data: Quartz Scheduler (v2.3.1) 'ClusteredScheduler' with instanceId 'gluu-prs9.mdtsoft.com1568289195837'
>> Scheduler class: 'org.quartz.core.QuartzScheduler' - running locally.
>> NOT STARTED.
>> Currently in standby mode.
>> Number of jobs executed: 0
>> Using thread pool 'org.quartz.simpl.SimpleThreadPool' - with 10 threads.
>> Using job-store 'org.springframework.scheduling.quartz.LocalDataSourceJobStore' - which supports persistence. and is clustered.
>>
>> 07:53:15.874 INFO org.quartz.impl.StdSchedulerFactory - Quartz scheduler 'ClusteredScheduler' initialized from an externally provided properties instance.
>> 07:53:15.874 INFO org.quartz.impl.StdSchedulerFactory - Quartz scheduler version: 2.3.1
>> 07:53:15.874 INFO org.quartz.core.QuartzScheduler - JobFactory set to: org.apache.syncope.core.provisioning.java.job.AutowiringSpringBeanJobFactory@414ca8cc
>> 07:53:15.879 INFO openjpa.Runtime - Starting OpenJPA 3.1.0
>> 07:53:15.914 INFO openjpa.jdbc.JDBC - Using dictionary class "org.apache.openjpa.jdbc.sql.PostgresDictionary".
>> 07:53:15.973 INFO openjpa.jdbc.JDBC - Connected to PostgreSQL version 11.11 using JDBC driver PostgreSQL JDBC Driver version 42.2.6.
>> 07:53:16.314 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.group.JPAGroup". Ignoring.
>> 07:53:16.314 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.group.JPATypeExtension". Ignoring.
>> 07:53:16.314 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.user.JPAURelationship". Ignoring.
>> 07:53:16.314 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.anyobject.JPAADynGroupMembership". Ignoring.
>> 07:53:16.314 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.anyobject.JPAARelationship". Ignoring.
>> 07:53:16.314 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.anyobject.JPAAPlainAttrUniqueValue". Ignoring.
>> 07:53:16.314 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.user.JPAUPlainAttrUniqueValue". Ignoring.
>> 07:53:16.314 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.group.JPAGPlainAttrUniqueValue". Ignoring.
>> 07:53:16.315 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.conf.JPACPlainAttrUniqueValue". Ignoring.
>> 07:53:16.350 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.group.JPAGroup". Ignoring.
>> 07:53:16.350 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.group.JPATypeExtension". Ignoring.
>> 07:53:16.351 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.user.JPAURelationship". Ignoring.
>> 07:53:16.351 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.anyobject.JPAAMembership". Ignoring.
>> 07:53:16.351 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.anyobject.JPAADynGroupMembership". Ignoring.
>> 07:53:16.351 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.anyobject.JPAARelationship". Ignoring.
>> 07:53:16.351 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.anyobject.JPAAPlainAttrUniqueValue". Ignoring.
>> 07:53:16.351 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.user.JPAUPlainAttrUniqueValue". Ignoring.
>> 07:53:16.351 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.group.JPAGPlainAttrUniqueValue". Ignoring.
>> 07:53:16.351 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.conf.JPACPlainAttrUniqueValue". Ignoring.
>> 07:53:16.361 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.group.JPAGroup". Ignoring.
>> 07:53:16.361 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.group.JPATypeExtension". Ignoring.
>> 07:53:16.361 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.user.JPAUDynGroupMembership". Ignoring.
>> 07:53:16.361 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.user.JPAURelationship". Ignoring.
>> 07:53:16.361 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.anyobject.JPAAMembership". Ignoring.
>> 07:53:16.361 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.anyobject.JPAADynGroupMembership". Ignoring.
>> 07:53:16.361 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.anyobject.JPAARelationship". Ignoring.
>> 07:53:16.362 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.anyobject.JPAAPlainAttrUniqueValue". Ignoring.
>> 07:53:16.362 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.user.JPAUPlainAttrUniqueValue". Ignoring.
>> 07:53:16.362 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.group.JPAGPlainAttrUniqueValue". Ignoring.
>> 07:53:16.362 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.conf.JPACPlainAttrUniqueValue". Ignoring.
>> 07:53:16.370 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.group.JPAGroup". Ignoring.
>> 07:53:16.371 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.group.JPATypeExtension". Ignoring.
>> 07:53:16.371 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.user.JPAUMembership". Ignoring.
>> 07:53:16.371 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.user.JPAUDynGroupMembership". Ignoring.
>> 07:53:16.371 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.user.JPAURelationship". Ignoring.
>>
>> --------snip-------------------
>>
>>
>> 07:53:22.087 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.anyobject.JPAAPlainAttrUniqueValue". Ignoring.
>> 07:53:22.087 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.user.JPAUPlainAttrUniqueValue". Ignoring.
>> 07:53:22.087 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.group.JPAGPlainAttrUniqueValue". Ignoring.
>> 07:53:22.087 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.conf.JPACPlainAttrUniqueValue". Ignoring.
>> 07:53:22.653 INFO org.springframework.scheduling.quartz.SchedulerFactoryBean - Shutting down Quartz Scheduler
>> 07:53:22.653 INFO org.quartz.core.QuartzScheduler - Scheduler ClusteredScheduler_$_gluu-prs9.mdtsoft.com1568289195837 shutting down.
>> 07:53:22.653 INFO org.quartz.core.QuartzScheduler - Scheduler ClusteredScheduler_$_gluu-prs9.mdtsoft.com1568289195837 paused.
>> 07:53:22.857 INFO org.quartz.core.QuartzScheduler - Scheduler unregistered from name 'quartz:type=QuartzScheduler,name=ClusteredScheduler,instance=gluu-prs9.mdtsoft.com1568289195837' in the local MBeanServer.
>> 07:53:22.857 INFO org.quartz.core.QuartzScheduler - Scheduler ClusteredScheduler_$_gluu-prs9.mdtsoft.com1568289195837 shutdown complete.
>> 07:53:22.859 INFO org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor - Shutting down ExecutorService
>> 07:53:22.869 INFO org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor - Shutting down ExecutorService
>>
>> I get clean logs with no errors.
>>
>> my config directory is
>>
>>
>>
>>
>> --
>> This email, and any files transmitted with it, are confidential
>> and intended solely for the use of the individual or entity to
>> whom they are addressed. If you have received this email in error,
>> please advise postmaster@mdtsoft.com<ma...@mdtsoft.com> <ma...@mdtsoft.com>.
>>
>> 3480 Preston Ridge Road
>> Suite 450
>> Alpharetta, GA 30005
>>
>> Philip W. Dalrymple III <pw...@mdtsoft.com>
>> MDT Software - Automation Management Company
>> +1 678 297 1001
>> Fax +1 678 297 1003
>>
>> ________________________________________
>> From: Andrea Patricelli <an...@apache.org>
>> Sent: Friday, September 6, 2019 4:20
>> To: user@syncope.apache.org<ma...@syncope.apache.org>
>> Subject: Re: Syncope trying to deploy using Maven and not getting login
>>
>> Hi Philip,
>>
>> in order to make a correct deploy on your application server follow [2].
>>
>> As the warning in the doc states:
>>
>> Be sure to put the corresponding JDBC driver JAR file under $CATALINA_HOME/lib for each datasource defined.
>>
>> You should provide postgres driver to Syncope by putting it into Tomcat lib folder.
>>
>> About the maven buld error: did you give the correct r/w permissions to /opt/syncope/buldles directory? If you want more info about the build please add the -X option to your maven build command.
>>
>> Best regards,
>> Andrea
>>
>> [2] https://syncope.apache.org/docs/2.1/reference-guide.html#apache-tomcat-9
>>
>> Il 05/09/19 16:38, Dalrymple, Philip ha scritto:
>>
>> OK I had one issue in that to make it work my build script needed to look like
>>
>> #!/bin/bash
>>
>> cd syncope
>>
>> sudo mkdir -p /opt/syncope/bundles
>> sudo mkdir -p /opt/syncope/log
>> sudo chmod 0777 /opt/syncope/log
>> sudo mkdir -p /opt/syncope/conf
>>
>> # mvn clean verify \
>> # -Dconf.directory=/opt/syncope/conf \
>> # -Dbundles.directory=/opt/syncope/bundles \
>> # -Dlog.directory=/opt/syncope/log
>>
>> mvn clean verify \
>> -Dconf.directory=/opt/syncope/conf \
>> -Dlog.directory=/opt/syncope/log
>>
>>
>> sudo cp core/target/classes/*properties /opt/syncope/conf
>> sudo cp console/target/classes/*properties /opt/syncope/conf
>> sudo cp enduser/target/classes/*properties /opt/syncope/conf
>> sudo cp enduser/target/classes/customFormAttributes.json /opt/syncope/conf
>> sudo cp enduser/target/classes/customTemplate.json /opt/syncope/conf
>>
>> i.e. not changing the bundles directory (which I want to do as I want to build in
>> the bundles into the war files).
>>
>> When I do that I DO get logs (in /opt/syncope/log) Looks like I don't have the postgres dirver.
>> I checked and the
>> core/target/classes/provisioning.properties
>>
>> already had the changes for postgres
>>
>> ? syncope git:(master) ? more /opt/syncope/log/core.log
>> 10:22:58.367 INFO org.springframework.security.core.SpringSecurityCoreVersion - You are running with Spring Security Core 5.1.5.RELEASE
>> 10:22:58.370 INFO org.springframework.security.config.SecurityNamespaceHandler - Spring Security 'config' module version is 5.1.5.RELEASE
>> 10:22:58.391 INFO org.springframework.security.config.method.GlobalMethodSecurityBeanDefinitionParser - Expressions were enabled for method security but no SecurityExpressionHandle
>> r was configured. All hasPermision() expressions will evaluate to false.
>> 10:22:58.437 INFO org.springframework.security.config.http.HttpSecurityBeanDefinitionParser - Checking sorted filter chain: [Root bean: class [org.springframework.security.web.cont
>> ext.SecurityContextPersistenceFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factor
>> yMethodName=null; initMethodName=null; destroyMethodName=null, order = 200, Root bean: class [org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter
>> ]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=nul
>> l; destroyMethodName=null, order = 400, <jwtAuthenticationFilter>, order = 1799, Root bean: class [org.springframework.security.web.authentication.www.BasicAuthenticationFilter]; sc
>> ope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; de
>> stroyMethodName=null, order = 1800, Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factor
>> yBeanName=org.springframework.security.config.http.HttpConfigurationBuilder$SecurityContextHolderAwareRequestFilterBeanFactory#0; factoryMethodName=getBean; initMethodName=null; des
>> troyMethodName=null, order = 2000, Root bean: class [org.springframework.security.web.authentication.AnonymousAuthenticationFilter]; scope=; abstract=false; lazyInit=false; autowire
>> Mode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 2300, Root bean:
>> class [org.springframework.security.web.access.ExceptionTranslationFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; prima
>> ry=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 2500, <mustChangePasswordFilter>, order = 2599, <org.springframework.sec
>> urity.web.access.intercept.FilterSecurityInterceptor#0>, order = 2600]
>> 10:23:00.130 INFO org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor - Initializing ExecutorService
>> 10:23:00.130 INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'asyncConnectorFacadeExecutor' of type [org.springframework.
>> scheduling.config.TaskExecutorFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
>> 10:23:00.130 INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'asyncConnectorFacadeExecutor' of type [org.springframework.
>> scheduling.concurrent.ThreadPoolTaskExecutor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
>> 10:23:00.394 ERROR com.zaxxer.hikari.HikariConfig - Failed to load driver class org.postgresql.Driver from HikariConfig class classloader WebappClassLoader
>> context: /syncope
>> delegate: false
>> repositories:
>> /WEB-INF/classes/
>> ----------> Parent Classloader:
>> java.net.URLClassLoader@7a81197d
>>
>> 10:23:00.444 ERROR com.zaxxer.hikari.HikariConfig - Failed to load driver class org.postgresql.Driver from HikariConfig class classloader WebappClassLoader
>> context: /syncope
>> delegate: false
>> repositories:
>> /WEB-INF/classes/
>> ----------> Parent Classloader:
>> java.net.URLClassLoader@7a81197d
>>
>> 10:23:00.445 INFO org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor - Shutting down ExecutorService
>> 10:23:18.326 INFO org.springframework.security.core.SpringSecurityCoreVersion - You are running with Spring Security Core 5.1.5.RELEASE
>> 10:23:18.329 INFO org.springframework.security.config.SecurityNamespaceHandler - Spring Security 'config' module version is 5.1.5.RELEASE
>> 10:23:18.349 INFO org.springframework.security.config.method.GlobalMethodSecurityBeanDefinitionParser - Expressions were enabled for method security but no SecurityExpressionHandle
>> r was configured. All hasPermision() expressions will evaluate to false.
>> 10:23:18.395 INFO org.springframework.security.config.http.HttpSecurityBeanDefinitionParser - Checking sorted filter chain: [Root bean: class [org.springframework.security.web.cont
>> ext.SecurityContextPersistenceFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factor
>> yMethodName=null; initMethodName=null; destroyMethodName=null, order = 200, Root bean: class [org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter
>> ]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=nul
>> l; destroyMethodName=null, order = 400, <jwtAuthenticationFilter>, order = 1799, Root bean: class [org.springframework.security.web.authentication.www.BasicAuthenticationFilter]; sc
>> ope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; de
>> stroyMethodName=null, order = 1800, Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factor
>> yBeanName=org.springframework.security.config.http.HttpConfigurationBuilder$SecurityContextHolderAwareRequestFilterBeanFactory#0; factoryMethodName=getBean; initMethodName=null; des
>> troyMethodName=null, order = 2000, Root bean: class [org.springframework.security.web.authentication.AnonymousAuthenticationFilter]; scope=; abstract=false; lazyInit=false; autowire
>> Mode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 2300, Root bean:
>> class [org.springframework.security.web.access.ExceptionTranslationFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; prima
>> ry=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 2500, <mustChangePasswordFilter>, order = 2599, <org.springframework.sec
>> urity.web.access.intercept.FilterSecurityInterceptor#0>, order = 2600]
>> 10:23:20.012 INFO org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor - Initializing ExecutorService
>> 10:23:20.012 INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'asyncConnectorFacadeExecutor' of type [org.springframework.
>> scheduling.config.TaskExecutorFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
>> 10:23:20.012 INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'asyncConnectorFacadeExecutor' of type [org.springframework.
>> scheduling.concurrent.ThreadPoolTaskExecutor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
>> 10:23:20.285 ERROR com.zaxxer.hikari.HikariConfig - Failed to load driver class org.postgresql.Driver from HikariConfig class classloader WebappClassLoader
>> context: /syncope
>> delegate: false
>> repositories:
>> /WEB-INF/classes/
>> ----------> Parent Classloader:
>> java.net.URLClassLoader@7a81197d
>>
>> 10:23:20.337 ERROR com.zaxxer.hikari.HikariConfig - Failed to load driver class org.postgresql.Driver from HikariConfig class classloader WebappClassLoader
>> context: /syncope
>> delegate: false
>> repositories:
>> /WEB-INF/classes/
>> ----------> Parent Classloader:
>> java.net.URLClassLoader@7a81197d
>>
>> 10:23:20.338 INFO org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor - Shutting down ExecutorService
>> 10:23:32.831 INFO org.springframework.security.core.SpringSecurityCoreVersion - You are running with Spring Security Core 5.1.5.RELEASE
>> 10:23:32.835 INFO org.springframework.security.config.SecurityNamespaceHandler - Spring Security 'config' module version is 5.1.5.RELEASE
>> 10:23:32.859 INFO org.springframework.security.config.method.GlobalMethodSecurityBeanDefinitionParser - Expressions were enabled for method security but no SecurityExpressionHandle
>> r was configured. All hasPermision() expressions will evaluate to false.
>> 10:23:32.910 INFO org.springframework.security.config.http.HttpSecurityBeanDefinitionParser - Checking sorted filter chain: [Root bean: class [org.springframework.security.web.cont
>> ext.SecurityContextPersistenceFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factor
>> yMethodName=null; initMethodName=null; destroyMethodName=null, order = 200, Root bean: class [org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter
>> ]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=nul
>> l; destroyMethodName=null, order = 400, <jwtAuthenticationFilter>, order = 1799, Root bean: class [org.springframework.security.web.authentication.www.BasicAuthenticationFilter]; sc
>> ope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; de
>> stroyMethodName=null, order = 1800, Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factor
>> yBeanName=org.springframework.security.config.http.HttpConfigurationBuilder$SecurityContextHolderAwareRequestFilterBeanFactory#0; factoryMethodName=getBean; initMethodName=null; des
>> troyMethodName=null, order = 2000, Root bean: class [org.springframework.security.web.authentication.AnonymousAuthenticationFilter]; scope=; abstract=false; lazyInit=false; autowire
>> Mode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 2300, Root bean:
>> class [org.springframework.security.web.access.ExceptionTranslationFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; prima
>> ry=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 2500, <mustChangePasswordFilter>, order = 2599, <org.springframework.sec
>> urity.web.access.intercept.FilterSecurityInterceptor#0>, order = 2600]
>> 10:23:34.490 INFO org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor - Initializing ExecutorService
>> 10:23:34.490 INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'asyncConnectorFacadeExecutor' of type [org.springframework.
>> scheduling.config.TaskExecutorFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
>> 10:23:34.490 INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'asyncConnectorFacadeExecutor' of type [org.springframework.
>> scheduling.concurrent.ThreadPoolTaskExecutor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
>> 10:23:34.757 ERROR com.zaxxer.hikari.HikariConfig - Failed to load driver class org.postgresql.Driver from HikariConfig class classloader WebappClassLoader
>> context: /syncope
>> delegate: false
>> repositories:
>> /WEB-INF/classes/
>> ----------> Parent Classloader:
>> java.net.URLClassLoader@7a81197d
>>
>> 10:23:34.809 ERROR com.zaxxer.hikari.HikariConfig - Failed to load driver class org.postgresql.Driver from HikariConfig class classloader WebappClassLoader
>> context: /syncope
>> delegate: false
>> repositories:
>> /WEB-INF/classes/
>> ----------> Parent Classloader:
>> java.net.URLClassLoader@7a81197d
>>
>> 10:23:34.810 INFO org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor - Shutting down ExecutorService
>>
>> if I left in the bundles I get the following error:
>>
>> ? syncope git:(master) ? mvn clean verify \
>>
>>
>> -Dconf.directory=/opt/syncope/conf \
>> -Dbundles.directory=/opt/syncope/bundles \
>> -Dlog.directory=/opt/syncope/log
>>
>>
>> [INFO] Scanning for projects...
>> [INFO] ------------------------------------------------------------------------
>> [INFO] Reactor Build Order:
>> [INFO]
>> [INFO] Apache Syncope sample project
>> [INFO] Apache Syncope sample project - Common
>> [INFO] Apache Syncope sample project - Core
>> [INFO] Apache Syncope sample project - Console
>> [INFO] Apache Syncope sample project - Enduser
>> [INFO]
>> [INFO] ------------------------------------------------------------------------
>> [INFO] Building Apache Syncope sample project 1.0-SNAPSHOT
>> [INFO] ------------------------------------------------------------------------
>> [INFO]
>> [INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ syncope ---
>> [INFO] Deleting /home/pwd/src/EIandAS/syncope/target
>> [INFO]
>> [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven-version) @ syncope ---
>> [INFO]
>> [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven) @ syncope ---
>> [INFO]
>> [INFO] --- gmaven-plugin:1.5:execute (default) @ syncope ---
>> [INFO]
>> [INFO] --- maven-remote-resources-plugin:1.5:process (process-resource-bundles) @ syncope ---
>> [INFO]
>> [INFO] --- maven-resources-plugin:3.1.0:copy-resources (copy-artifact-legal-files) @ syncope ---
>> [INFO] Using 'UTF-8' encoding to copy filtered resources.
>> [INFO] Copying 0 resource
>> [INFO]
>> [INFO] --- maven-resources-plugin:3.1.0:copy-resources (copy-javadoc-legal-files) @ syncope ---
>> [INFO] Using 'UTF-8' encoding to copy filtered resources.
>> [INFO] Copying 0 resource
>> [INFO]
>> [INFO] --- jacoco-maven-plugin:0.8.3:prepare-agent (jacoco-agent-ut) @ syncope ---
>> [INFO] argLine set to -javaagent:/home/pwd/.m2/repository/org/jacoco/org.jacoco.agent/0.8.3/org.jacoco.agent-0.8.3-runtime.jar=destfile=/home/pwd/src/EIandAS/syncope/target/jacoco.ut.exec,append=true -Xms512m -Xmx1024m -Xss256k
>> [INFO]
>> [INFO] --- maven-site-plugin:3.7.1:attach-descriptor (attach-descriptor) @ syncope ---
>> [INFO] No site descriptor found: nothing to attach.
>> [INFO]
>> [INFO] --- jacoco-maven-plugin:0.8.3:prepare-agent-integration (jacoco-agent-it) @ syncope ---
>> [INFO] argLine set to -javaagent:/home/pwd/.m2/repository/org/jacoco/org.jacoco.agent/0.8.3/org.jacoco.agent-0.8.3-runtime.jar=destfile=/home/pwd/src/EIandAS/syncope/target/jacoco.it.exec,append=true -Xms512m -Xmx1024m -Xss256k
>> [INFO]
>> [INFO] --- modernizer-maven-plugin:1.8.0:modernizer (modernizer-check) @ syncope ---
>> [INFO]
>> [INFO] --- maven-checkstyle-plugin:3.0.0:check (checkstyle-check) @ syncope ---
>> [INFO]
>> [INFO] --- jacoco-maven-plugin:0.8.3:report-aggregate (jacoco-site) @ syncope ---
>> [INFO]
>> [INFO] --- apache-rat-plugin:0.12:check (rat-check) @ syncope ---
>> [INFO] RAT will not execute since it is configured to be skipped via system property 'rat.skip'.
>> [INFO]
>> [INFO] ------------------------------------------------------------------------
>> [INFO] Building Apache Syncope sample project - Common 1.0-SNAPSHOT
>> [INFO] ------------------------------------------------------------------------
>> [INFO]
>> [INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ syncope-common ---
>> [INFO] Deleting /home/pwd/src/EIandAS/syncope/common/target
>> [INFO]
>> [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven-version) @ syncope-common ---
>> [INFO]
>> [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven) @ syncope-common ---
>> [INFO]
>> [INFO] --- gmaven-plugin:1.5:execute (default) @ syncope-common ---
>> [INFO]
>> [INFO] --- maven-remote-resources-plugin:1.5:process (process-resource-bundles) @ syncope-common ---
>> [INFO]
>> [INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ syncope-common ---
>> [INFO] Using 'UTF-8' encoding to copy filtered resources.
>> [INFO] Copying 0 resource
>> [INFO] Copying 3 resources
>> [INFO]
>> [INFO] --- maven-resources-plugin:3.1.0:copy-resources (copy-artifact-legal-files) @ syncope-common ---
>> [INFO] Using 'UTF-8' encoding to copy filtered resources.
>> [INFO] Copying 0 resource
>> [INFO]
>> [INFO] --- maven-resources-plugin:3.1.0:copy-resources (copy-javadoc-legal-files) @ syncope-common ---
>> [INFO] Using 'UTF-8' encoding to copy filtered resources.
>> [INFO] Copying 0 resource
>> [INFO]
>> [INFO] --- maven-compiler-plugin:3.8.0:compile (default-compile) @ syncope-common ---
>> [INFO] No sources to compile
>> [INFO]
>> [INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ syncope-common ---
>> [INFO] Using 'UTF-8' encoding to copy filtered resources.
>> [INFO] Copying 0 resource
>> [INFO] Copying 3 resources
>> [INFO]
>> [INFO] --- maven-compiler-plugin:3.8.0:testCompile (default-testCompile) @ syncope-common ---
>> [INFO] No sources to compile
>> [INFO]
>> [INFO] --- jacoco-maven-plugin:0.8.3:prepare-agent (jacoco-agent-ut) @ syncope-common ---
>> [INFO] argLine set to -javaagent:/home/pwd/.m2/repository/org/jacoco/org.jacoco.agent/0.8.3/org.jacoco.agent-0.8.3-runtime.jar=destfile=/home/pwd/src/EIandAS/syncope/common/target/jacoco.ut.exec,append=true -Xms512m -Xmx1024m -Xss256k
>> [INFO]
>> [INFO] --- maven-surefire-plugin:2.22.1:test (default-test) @ syncope-common ---
>> [INFO]
>> [INFO] --- maven-jar-plugin:3.1.1:jar (default-jar) @ syncope-common ---
>> [INFO] Building jar: /home/pwd/src/EIandAS/syncope/common/target/syncope-common-1.0-SNAPSHOT.jar
>> [INFO]
>> [INFO] --- maven-site-plugin:3.7.1:attach-descriptor (attach-descriptor) @ syncope-common ---
>> [INFO] Skipping because packaging 'jar' is not pom.
>> [INFO]
>> [INFO] --- jacoco-maven-plugin:0.8.3:prepare-agent-integration (jacoco-agent-it) @ syncope-common ---
>> [INFO] argLine set to -javaagent:/home/pwd/.m2/repository/org/jacoco/org.jacoco.agent/0.8.3/org.jacoco.agent-0.8.3-runtime.jar=destfile=/home/pwd/src/EIandAS/syncope/common/target/jacoco.it.exec,append=true -Xms512m -Xmx1024m -Xss256k
>> [INFO]
>> [INFO] --- modernizer-maven-plugin:1.8.0:modernizer (modernizer-check) @ syncope-common ---
>> [INFO]
>> [INFO] --- maven-checkstyle-plugin:3.0.0:check (checkstyle-check) @ syncope-common ---
>> [INFO]
>> [INFO] --- jacoco-maven-plugin:0.8.3:report-aggregate (jacoco-site) @ syncope-common ---
>> [INFO]
>> [INFO] --- apache-rat-plugin:0.12:check (rat-check) @ syncope-common ---
>> [INFO] RAT will not execute since it is configured to be skipped via system property 'rat.skip'.
>> [INFO]
>> [INFO] ------------------------------------------------------------------------
>> [INFO] Building Apache Syncope sample project - Core 1.0-SNAPSHOT
>> [INFO] ------------------------------------------------------------------------
>> [INFO]
>> [INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ syncope-core ---
>> [INFO] Deleting /home/pwd/src/EIandAS/syncope/core/target
>> [INFO]
>> [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven-version) @ syncope-core ---
>> [INFO]
>> [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven) @ syncope-core ---
>> [INFO]
>> [INFO] --- gmaven-plugin:1.5:execute (default) @ syncope-core ---
>> [INFO]
>> [INFO] --- maven-remote-resources-plugin:1.5:process (process-resource-bundles) @ syncope-core ---
>> [INFO]
>> [INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ syncope-core ---
>> [INFO] Using 'UTF-8' encoding to copy filtered resources.
>> [INFO] Copying 32 resources
>> [INFO] Copying 3 resources
>> [INFO]
>> [INFO] --- maven-resources-plugin:3.1.0:copy-resources (copy-artifact-legal-files) @ syncope-core ---
>> [INFO] Using 'UTF-8' encoding to copy filtered resources.
>> [INFO] Copying 0 resource
>> [INFO]
>> [INFO] --- maven-resources-plugin:3.1.0:copy-resources (copy-javadoc-legal-files) @ syncope-core ---
>> [INFO] Using 'UTF-8' encoding to copy filtered resources.
>> [INFO] Copying 0 resource
>> [INFO]
>> [INFO] --- maven-compiler-plugin:3.8.0:compile (default-compile) @ syncope-core ---
>> [INFO] No sources to compile
>> [INFO]
>> [INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ syncope-core ---
>> [INFO] Using 'UTF-8' encoding to copy filtered resources.
>> [INFO] Copying 26 resources
>> [INFO] Copying 1 resource
>> [INFO] Copying 3 resources
>> [INFO]
>> [INFO] --- maven-dependency-plugin:3.1.1:copy (set-bundles) @ syncope-core ---
>> [INFO] Configured Artifact: net.tirasa.connid.bundles.soap:net.tirasa.connid.bundles.soap:1.4.3:jar
>> [INFO] Configured Artifact: net.tirasa.connid.bundles:net.tirasa.connid.bundles.rest:1.0.4:jar
>> [INFO] Configured Artifact: net.tirasa.connid.bundles:net.tirasa.connid.bundles.csvdir:0.8.8:jar
>> [INFO] Configured Artifact: net.tirasa.connid.bundles.db:net.tirasa.connid.bundles.db.table:2.2.6:jar
>> [INFO] Configured Artifact: net.tirasa.connid.bundles.db:net.tirasa.connid.bundles.db.scriptedsql:2.2.6:jar
>> [INFO] Configured Artifact: net.tirasa.connid.bundles:net.tirasa.connid.bundles.ldap:1.5.3:jar
>> [INFO] Configured Artifact: net.tirasa.connid.bundles:net.tirasa.connid.bundles.ad:1.3.6:jar
>> [INFO] Configured Artifact: net.tirasa.connid.bundles:net.tirasa.connid.bundles.googleapps:1.4.2:jar
>> [INFO] Configured Artifact: net.tirasa.connid.bundles:net.tirasa.connid.bundles.azure:1.0.1:jar
>> [INFO] Configured Artifact: net.tirasa.connid.bundles:net.tirasa.connid.bundles.scimv11:1.0.1:jar
>> [INFO] Configured Artifact: net.tirasa.connid.bundles:net.tirasa.connid.bundles.servicenow:1.0.0:jar
>> [INFO] Copying net.tirasa.connid.bundles.soap-1.4.3.jar to /opt/syncope/bundles/net.tirasa.connid.bundles.soap-1.4.3.jar
>> [INFO] ------------------------------------------------------------------------
>> [INFO] Reactor Summary:
>> [INFO]
>> [INFO] Apache Syncope sample project ..................... SUCCESS [4.310s]
>> [INFO] Apache Syncope sample project - Common ............ SUCCESS [1.233s]
>> [INFO] Apache Syncope sample project - Core .............. FAILURE [2.534s]
>> [INFO] Apache Syncope sample project - Console ........... SKIPPED
>> [INFO] Apache Syncope sample project - Enduser ........... SKIPPED
>> [INFO] ------------------------------------------------------------------------
>> [INFO] BUILD FAILURE
>> [INFO] ------------------------------------------------------------------------
>> [INFO] Total time: 8.341s
>> [INFO] Finished at: Thu Sep 05 10:29:47 EDT 2019
>> [INFO] Final Memory: 48M/628M
>> [INFO] ------------------------------------------------------------------------
>> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-dependency-plugin:3.1.1:copy (set-bundles) on project syncope-core: Error copying artifact from /home/pwd/.m2/repository/net/tirasa/connid/bundles/soap/net.tirasa.connid.bundles.soap/1.4.3/net.tirasa.connid.bundles.soap-1.4.3.jar to /opt/syncope/bundles/net.tirasa.connid.bundles.soap-1.4.3.jar -> [Help 1]
>> [ERROR]
>> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
>> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
>> [ERROR]
>> [ERROR] For more information about the errors and possible solutions, please read the following articles:
>> [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
>> [ERROR]
>> [ERROR] After correcting the problems, you can resume the build with the command
>> [ERROR] mvn <goals> -rf :syncope-core
>>
>>
>>
>>
>>
>> --
>> This email, and any files transmitted with it, are confidential
>> and intended solely for the use of the individual or entity to
>> whom they are addressed. If you have received this email in error,
>> please advise postmaster@mdtsoft.com<ma...@mdtsoft.com> <ma...@mdtsoft.com>.
>>
>> 3480 Preston Ridge Road
>> Suite 450
>> Alpharetta, GA 30005
>>
>> Philip W. Dalrymple III <pw...@mdtsoft.com>
>> MDT Software - Automation Management Company
>> +1 678 297 1001
>> Fax +1 678 297 1003
>>
>> ________________________________________
>> From: Andrea Patricelli <an...@tirasa.net>
>> Sent: Thursday, September 5, 2019 10:07
>> To: user@syncope.apache.org<ma...@syncope.apache.org>
>> Subject: Re: Syncope trying to deploy using Maven and not getting login
>>
>> P.S.
>>
>> About the attached link: please take care to the doc starting from
>> documentation at "Deployment directories" section.
>>
>> Il 05/09/19 16:04, Dalrymple, Philip ha scritto:
>>
>>
>> OK I will give that a go.
>>
>>
>> --
>> This email, and any files transmitted with it, are confidential
>> and intended solely for the use of the individual or entity to
>> whom they are addressed. If you have received this email in error,
>> please advise postmaster@mdtsoft.com<ma...@mdtsoft.com> <ma...@mdtsoft.com>.
>>
>> 3480 Preston Ridge Road
>> Suite 450
>> Alpharetta, GA 30005
>>
>> Philip W. Dalrymple III <pw...@mdtsoft.com>
>> MDT Software - Automation Management Company
>> +1 678 297 1001
>> Fax +1 678 297 1003
>>
>> ________________________________________
>> From: Andrea Patricelli <an...@apache.org>
>> Sent: Thursday, September 5, 2019 10:03
>> To: user@syncope.apache.org<ma...@syncope.apache.org>
>> Subject: Re: Syncope trying to deploy using Maven and not getting login
>>
>> Ok, maybe I got your first problem.
>>
>> Please follow this [1]. Basically, in order to do a correct deploy, you
>> should build with a special mvn command specifying bundles, logs and
>> conf directories and, moreover, in order to let Syncope take correct
>> configuration parameters (like for the jdbc connection) copy some of the
>> properties files in sources under the specific conf directory.
>>
>> HTH,
>> Andrea
>>
>> [1] https://syncope.apache.org/docs/2.1/reference-guide.html#customization
>>
>> Il 05/09/19 15:56, Dalrymple, Philip ha scritto:
>>
>>
>> OK this is weird
>>
>> I did a
>>
>> sudo find / -name "*core*.log*" -print
>>
>> and only find the logs from my first try using docker.
>> (was not able to customize well enough and switched to
>> maven deleting the docker images)
>>
>> I will keep looking.
>>
>>
>> --
>> This email, and any files transmitted with it, are confidential
>> and intended solely for the use of the individual or entity to
>> whom they are addressed. If you have received this email in error,
>> please advise postmaster@mdtsoft.com<ma...@mdtsoft.com> <ma...@mdtsoft.com>.
>>
>> 3480 Preston Ridge Road
>> Suite 450
>> Alpharetta, GA 30005
>>
>> Philip W. Dalrymple III <pw...@mdtsoft.com>
>> MDT Software - Automation Management Company
>> +1 678 297 1001
>> Fax +1 678 297 1003
>>
>> ________________________________________
>> From: Dalrymple, Philip <pw...@mdtsoft.com>
>> Sent: Thursday, September 5, 2019 9:53
>> To: user@syncope.apache.org<ma...@syncope.apache.org>
>> Subject: Re: Syncope trying to deploy using Maven and not getting login
>>
>>
>> OK I need to find where the logs are.
>>
>> --
>> This email, and any files transmitted with it, are confidential
>> and intended solely for the use of the individual or entity to
>> whom they are addressed. If you have received this email in error,
>> please advise postmaster@mdtsoft.com<ma...@mdtsoft.com> <ma...@mdtsoft.com>.
>>
>> 3480 Preston Ridge Road
>> Suite 450
>> Alpharetta, GA 30005
>>
>> Philip W. Dalrymple III <pw...@mdtsoft.com>
>> MDT Software - Automation Management Company
>> +1 678 297 1001
>> Fax +1 678 297 1003
>>
>> ________________________________________
>> From: Andrea Patricelli <an...@apache.org>
>> Sent: Thursday, September 5, 2019 9:52
>> To: user@syncope.apache.org<ma...@syncope.apache.org>
>> Subject: Re: Syncope trying to deploy using Maven and not getting login
>>
>> Hi Philip,
>>
>> you should check core.log, core-rest.log, core-persistence.log and
>> core-connid.log files in order to understand what is the problem.
>> The NOT FOUND error in console simply means that core is unavailable,
>> probably because it failed to start.
>>
>> Please check for exceptions in core*.log files and attach it into this
>> thread.
>>
>> Best regards,
>> Andrea
>>
>> Il 05/09/19 15:32, Dalrymple, Philip ha scritto:
>>
>>
>> I am trying to deploy Syncope using the Maven method. I have followed the
>> instructions in
>>
>> http://syncope.apache.org/docs/2.1/getting-started.html#maven-project
>>
>> and then edited core/src/main/resources/domains/Master.properties
>>
>> to have the correct postgres password, I re-did the mvn clean install
>> and placed the war files in my tomcat/webapps directory, they deployed
>> without me restarting tomcat.
>>
>> When I got to http://XXXXX:8080/syncope-console I get a 500 error (see below)
>> when I got to .../syncope or .../syncope/index.html or .../syncope-enduser I get a 404 error.
>>
>> I checked in WEB-INF/classes/persistence.properties (in syncope) and it had the
>> correct DB user, host, and password info and I verified that I could connect to the DB BUT
>> the DB was empty.
>>
>> the stack trace on the syncope-console
>>
>>
>> type Exception report
>>
>> message Unable to instantiate web session class org.apache.syncope.client.console.SyncopeConsoleSession
>>
>> description The server encountered an internal error that prevented it from fulfilling this request.
>>
>> exception
>>
>> org.apache.wicket.WicketRuntimeException: Unable to instantiate web session class org.apache.syncope.client.console.SyncopeConsoleSession
>> org.apache.wicket.authroles.authentication.AuthenticatedWebApplication.newSession(AuthenticatedWebApplication.java:121)
>> org.apache.wicket.Application.fetchCreateAndSetSession(Application.java:1555)
>> org.apache.wicket.Session.get(Session.java:176)
>> org.apache.syncope.client.console.SyncopeConsoleSession.get(SyncopeConsoleSession.java:91)
>> org.apache.syncope.client.console.SyncopeConsoleRequestCycleListener.onException(SyncopeConsoleRequestCycleListener.java:80)
>> org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:126)
>> org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:122)
>> org.apache.wicket.util.listener.ListenerCollection.notify(ListenerCollection.java:80)
>> org.apache.wicket.request.cycle.RequestCycleListenerCollection.onException(RequestCycleListenerCollection.java:121)
>> org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:126)
>> org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:122)
>> org.apache.wicket.util.listener.ListenerCollection.notify(ListenerCollection.java:80)
>> org.apache.wicket.request.cycle.RequestCycleListenerCollection.onException(RequestCycleListenerCollection.java:121)
>> org.apache.wicket.request.cycle.RequestCycle.handleException(RequestCycle.java:368)
>> org.apache.wicket.request.cycle.RequestCycle.executeExceptionRequestHandler(RequestCycle.java:314)
>> org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:259)
>> org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:221)
>> org.apache.wicket.protocol.ws.AbstractUpgradeFilter.processRequestCycle(AbstractUpgradeFilter.java:70)
>> org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:206)
>> org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:299)
>>
>> root cause
>>
>> java.lang.reflect.InvocationTargetException
>> sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
>> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
>> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
>> java.lang.reflect.Constructor.newInstance(Constructor.java:423)
>> org.apache.wicket.authroles.authentication.AuthenticatedWebApplication.newSession(AuthenticatedWebApplication.java:117)
>> org.apache.wicket.Application.fetchCreateAndSetSession(Application.java:1555)
>> org.apache.wicket.Session.get(Session.java:176)
>> org.apache.syncope.client.console.SyncopeConsoleSession.get(SyncopeConsoleSession.java:91)
>> org.apache.syncope.client.console.SyncopeConsoleRequestCycleListener.onException(SyncopeConsoleRequestCycleListener.java:80)
>> org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:126)
>> org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:122)
>> org.apache.wicket.util.listener.ListenerCollection.notify(ListenerCollection.java:80)
>> org.apache.wicket.request.cycle.RequestCycleListenerCollection.onException(RequestCycleListenerCollection.java:121)
>> org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:126)
>> org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:122)
>> org.apache.wicket.util.listener.ListenerCollection.notify(ListenerCollection.java:80)
>> org.apache.wicket.request.cycle.RequestCycleListenerCollection.onException(RequestCycleListenerCollection.java:121)
>> org.apache.wicket.request.cycle.RequestCycle.handleException(RequestCycle.java:368)
>> org.apache.wicket.request.cycle.RequestCycle.executeExceptionRequestHandler(RequestCycle.java:314)
>> org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:259)
>> org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:221)
>> org.apache.wicket.protocol.ws.AbstractUpgradeFilter.processRequestCycle(AbstractUpgradeFilter.java:70)
>> org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:206)
>> org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:299)
>>
>> root cause
>>
>> javax.xml.ws.WebServiceException: Remote exception with status code: NOT_FOUND
>> org.apache.syncope.client.lib.RestClientExceptionMapper.fromResponse(RestClientExceptionMapper.java:76)
>> org.apache.syncope.client.lib.RestClientExceptionMapper.fromResponse(RestClientExceptionMapper.java:42)
>> org.apache.cxf.jaxrs.client.ClientProxyImpl.checkResponse(ClientProxyImpl.java:372)
>> org.apache.cxf.jaxrs.client.ClientProxyImpl.handleResponse(ClientProxyImpl.java:948)
>> org.apache.cxf.jaxrs.client.ClientProxyImpl.doChainedInvocation(ClientProxyImpl.java:854)
>> org.apache.cxf.jaxrs.client.ClientProxyImpl.invoke(ClientProxyImpl.java:295)
>> com.sun.proxy.$Proxy119.platform(Unknown Source)
>> org.apache.syncope.client.console.SyncopeConsoleSession.<init>(SyncopeConsoleSession.java:103)
>> sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
>> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
>> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
>> java.lang.reflect.Constructor.newInstance(Constructor.java:423)
>> org.apache.wicket.authroles.authentication.AuthenticatedWebApplication.newSession(AuthenticatedWebApplication.java:117)
>> org.apache.wicket.Application.fetchCreateAndSetSession(Application.java:1555)
>> org.apache.wicket.Session.get(Session.java:176)
>> org.apache.syncope.client.console.SyncopeConsoleSession.get(SyncopeConsoleSession.java:91)
>> org.apache.syncope.client.console.SyncopeConsoleRequestCycleListener.onException(SyncopeConsoleRequestCycleListener.java:80)
>> org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:126)
>> org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:122)
>> org.apache.wicket.util.listener.ListenerCollection.notify(ListenerCollection.java:80)
>> org.apache.wicket.request.cycle.RequestCycleListenerCollection.onException(RequestCycleListenerCollection.java:121)
>> org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:126)
>> org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:122)
>> org.apache.wicket.util.listener.ListenerCollection.notify(ListenerCollection.java:80)
>> org.apache.wicket.request.cycle.RequestCycleListenerCollection.onException(RequestCycleListenerCollection.java:121)
>> org.apache.wicket.request.cycle.RequestCycle.handleException(RequestCycle.java:368)
>> org.apache.wicket.request.cycle.RequestCycle.executeExceptionRequestHandler(RequestCycle.java:314)
>> org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:259)
>> org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:221)
>> org.apache.wicket.protocol.ws.AbstractUpgradeFilter.processRequestCycle(AbstractUpgradeFilter.java:70)
>> org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:206)
>> org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:299)
>>
>>
>> thanks
>>
>>
>> --
>> This email, and any files transmitted with it, are confidential
>> and intended solely for the use of the individual or entity to
>> whom they are addressed. If you have received this email in error,
>> please advise postmaster@mdtsoft.com<ma...@mdtsoft.com> <ma...@mdtsoft.com>.
>>
>> 3480 Preston Ridge Road
>> Suite 450
>> Alpharetta, GA 30005
>>
>> Philip W. Dalrymple III <pw...@mdtsoft.com>
>> MDT Software - Automation Management Company
>> +1 678 297 1001
>> Fax +1 678 297 1003
>>
>>
>> --
>> Dott. Andrea Patricelli
>> Tel. +39 3204524292
>>
>> Engineer @ Tirasa S.r.l.
>> Viale Vittoria Colonna 97 - 65127 Pescara
>> Tel +39 0859116307 / FAX +39 0859111173
>> http://www.tirasa.net
>>
>> Apache Syncope PMC Member
>>
>>
>>
>> --
>> Dott. Andrea Patricelli
>> Tel. +39 3204524292
>>
>> Engineer @ Tirasa S.r.l.
>> Viale Vittoria Colonna 97 - 65127 Pescara
>> Tel +39 0859116307 / FAX +39 0859111173
>> http://www.tirasa.net
>>
>> Apache Syncope PMC Member
>>
>>
>>
>> --
>> Dott. Andrea Patricelli
>> Tel. +39 3204524292
>>
>> Engineer @ Tirasa S.r.l.
>> Viale Vittoria Colonna 97 - 65127 Pescara
>> Tel +39 0859116307 / FAX +39 0859111173
>> http://www.tirasa.net
>>
>> Apache Syncope PMC Member
>>
>>
>>
>> --
>> Dott. Andrea Patricelli
>> Tel. +39 3204524292
>>
>> Engineer @ Tirasa S.r.l.
>> Viale Vittoria Colonna 97 - 65127 Pescara
>> Tel +39 0859116307 / FAX +39 0859111173
>> http://www.tirasa.net
>>
>> Apache Syncope PMC Member
>>
>>
>> --
>> Dott. Andrea Patricelli
>> Tel. +39 3204524292
>>
>> Engineer @ Tirasa S.r.l.
>> Viale Vittoria Colonna 97 - 65127 Pescara
>> Tel +39 0859116307 / FAX +39 0859111173
>> http://www.tirasa.net
>>
>> Apache Syncope PMC Member
> --
> Dott. Andrea Patricelli
> Tel. +39 3204524292
>
> Engineer @ Tirasa S.r.l.
> Viale Vittoria Colonna 97 - 65127 Pescara
> Tel +39 0859116307 / FAX +39 0859111173
> http://www.tirasa.net
>
> Apache Syncope PMC Member
>
>
>
>
--
Dott. Andrea Patricelli
Tel. +39 3204524292
Engineer @ Tirasa S.r.l.
Viale Vittoria Colonna 97 - 65127 Pescara
Tel +39 0859116307 / FAX +39 0859111173
http://www.tirasa.net
Apache Syncope PMC Member
Re: Syncope trying to deploy using Maven and not getting login
Posted by "Dalrymple, Philip" <pw...@mdtsoft.com>.
My tomcat for this is Apache Tomcat/7.0.76
DBMS is postgres 11
Java is 1.8.
I have another test VM (where I was doing the build) with
Apache Tomcat/9.0.24 Java/12.0.2+10
(I don't have a system with tomcat 8.5+ and java just 1.8)
Should it work on the java12.0.2 version?
--
This email, and any files transmitted with it, are confidential
and intended solely for the use of the individual or entity to
whom they are addressed. If you have received this email in error,
please advise postmaster@mdtsoft.com <ma...@mdtsoft.com>.
3480 Preston Ridge Road
Suite 450
Alpharetta, GA 30005
Philip W. Dalrymple III <pw...@mdtsoft.com>
MDT Software - Automation Management Company
+1 678 297 1001
Fax +1 678 297 1003
________________________________________
From: Andrea Patricelli <an...@apache.org>
Sent: Thursday, September 12, 2019 8:36
To: user@syncope.apache.org
Subject: Re: Syncope trying to deploy using Maven and not getting login
Are you respecting versions of:
- JEE container [1] (at least Tomcat 8.5, better 9)
- Java (1.8)
- DBMS [2]
Best regards,
Andrea
[1]
https://syncope.apache.org/docs/2.1/getting-started.html#java-ee-container
[2]
https://syncope.apache.org/docs/2.1/getting-started.html#internal-storage
Il 12/09/19 14:28, Dalrymple, Philip ha scritto:
> I had not looked int the rest log, that had the error in it. see the bottom of this message
>
> All the tables are there
>
> List of relations
> Schema | Name | Type | Owner
> --------+--------------------------------+-------+---------
> public | accesstoken | table | syncope
> public | accountpolicy | table | syncope
> public | accountpolicy_externalresource | table | syncope
> public | accountpolicyrule | table | syncope
> public | adyngroupmembers | table | syncope
> public | adyngroupmembership | table | syncope
> public | amembership | table | syncope
> public | anyabout | table | syncope
> public | anyobject | table | syncope
> public | anyobject_anytypeclass | table | syncope
> public | anyobject_externalresource | table | syncope
> public | anytemplatepulltask | table | syncope
> public | anytemplaterealm | table | syncope
> public | anytype | table | syncope
> public | anytype_anytypeclass | table | syncope
> public | anytypeclass | table | syncope
> public | aplainattr | table | syncope
> public | aplainattruniquevalue | table | syncope
> public | aplainattrvalue | table | syncope
> public | application | table | syncope
> public | arelationship | table | syncope
> public | conninstance | table | syncope
> public | conninstance_capabilities | table | syncope
> public | conninstancehistoryconf | table | syncope
> public | cplainattr | table | syncope
> public | cplainattruniquevalue | table | syncope
> public | cplainattrvalue | table | syncope
> public | derschema | table | syncope
> public | dynrealm | table | syncope
> public | dynrealmmembers | table | syncop
>
>
> --
> This email, and any files transmitted with it, are confidential
> and intended solely for the use of the individual or entity to
> whom they are addressed. If you have received this email in error,
> please advise postmaster@mdtsoft.com <ma...@mdtsoft.com>.
>
>
> At least I think that they are all there.
>
> The full core-connid log for this startup is
>
> 08:04:04.430 INFO Add ConnectorInfo ConnectorKey( bundleName=net.tirasa.connid.bundles.soap bundleVersion=1.4.3 connectorName=net.tirasa.connid.bundles.soap.WebServiceConnector ) to Local C
> onnector Info Manager from file:/opt/syncope/bundles/net.tirasa.connid.bundles.soap-1.4.3.jar Method: lambda$null$3
> 08:04:04.451 INFO Add ConnectorInfo ConnectorKey( bundleName=net.tirasa.connid.bundles.rest bundleVersion=1.0.4 connectorName=net.tirasa.connid.bundles.rest.RESTConnector ) to Local Connect
> or Info Manager from file:/opt/syncope/bundles/net.tirasa.connid.bundles.rest-1.0.4.jar Method: lambda$null$3
> 08:04:04.460 INFO Add ConnectorInfo ConnectorKey( bundleName=net.tirasa.connid.bundles.csvdir bundleVersion=0.8.8 connectorName=net.tirasa.connid.bundles.csvdir.CSVDirConnector ) to Local C
> onnector Info Manager from file:/opt/syncope/bundles/net.tirasa.connid.bundles.csvdir-0.8.8.jar Method: lambda$null$3
> 08:04:04.483 INFO Add ConnectorInfo ConnectorKey( bundleName=net.tirasa.connid.bundles.db.table bundleVersion=2.2.6 connectorName=net.tirasa.connid.bundles.db.table.DatabaseTableConnector )
> to Local Connector Info Manager from file:/opt/syncope/bundles/net.tirasa.connid.bundles.db.table-2.2.6.jar Method: lambda$null$3
> 08:04:04.494 INFO Add ConnectorInfo ConnectorKey( bundleName=net.tirasa.connid.bundles.db.scriptedsql bundleVersion=2.2.6 connectorName=net.tirasa.connid.bundles.db.scriptedsql.ScriptedSQLC
> onnector ) to Local Connector Info Manager from file:/opt/syncope/bundles/net.tirasa.connid.bundles.db.scriptedsql-2.2.6.jar Method: lambda$null$3
> 08:04:04.517 INFO Add ConnectorInfo ConnectorKey( bundleName=net.tirasa.connid.bundles.ldap bundleVersion=1.5.3 connectorName=net.tirasa.connid.bundles.ldap.LdapConnector ) to Local Connect
> or Info Manager from file:/opt/syncope/bundles/net.tirasa.connid.bundles.ldap-1.5.3.jar Method: lambda$null$3
> 08:04:04.543 INFO Add ConnectorInfo ConnectorKey( bundleName=net.tirasa.connid.bundles.ad bundleVersion=1.3.6 connectorName=net.tirasa.connid.bundles.ad.ADConnector ) to Local Connector Inf
> o Manager from file:/opt/syncope/bundles/net.tirasa.connid.bundles.ad-1.3.6.jar Method: lambda$null$3
> 08:04:04.593 INFO Add ConnectorInfo ConnectorKey( bundleName=net.tirasa.connid.bundles.googleapps bundleVersion=1.4.2 connectorName=net.tirasa.connid.bundles.googleapps.GoogleAppsConnector
> ) to Local Connector Info Manager from file:/opt/syncope/bundles/net.tirasa.connid.bundles.googleapps-1.4.2.jar Method: lambda$null$3
> 08:04:04.618 INFO Add ConnectorInfo ConnectorKey( bundleName=net.tirasa.connid.bundles.azure bundleVersion=1.0.1 connectorName=net.tirasa.connid.bundles.azure.AzureConnector ) to Local Conn
> ector Info Manager from file:/opt/syncope/bundles/net.tirasa.connid.bundles.azure-1.0.1.jar Method: lambda$null$3
> 08:04:04.629 INFO Add ConnectorInfo ConnectorKey( bundleName=net.tirasa.connid.bundles.scimv11 bundleVersion=1.0.1 connectorName=net.tirasa.connid.bundles.scimv11.SCIMv11Connector ) to Loca
> l Connector Info Manager from file:/opt/syncope/bundles/net.tirasa.connid.bundles.scimv11-1.0.1.jar Method: lambda$null$3
> 08:04:04.644 INFO Add ConnectorInfo ConnectorKey( bundleName=net.tirasa.connid.bundles.servicenow bundleVersion=1.0.0 connectorName=net.tirasa.connid.bundles.servicenow.SNConnector ) to Loc
> al Connector Info Manager from file:/opt/syncope/bundles/net.tirasa.connid.bundles.servicenow-1.0.0.jar Method: lambda$null$3
>
>
> The core-persistence.log is
>
> 08:03:57.754 INFO org.apache.syncope.core.persistence.jpa.spring.DomainEntityManagerFactoryBean - Initialized JPA EntityManagerFactory for persistence unit 'Master'
> 08:04:02.302 INFO org.apache.syncope.core.persistence.jpa.content.AbstractContentDealer - [Master] Data found in the database, leaving untouched
> 08:04:05.334 INFO org.apache.syncope.core.persistence.jpa.spring.DomainEntityManagerFactoryBean - Closing JPA EntityManagerFactory for persistence unit 'Master'
>
>
> The core rest log is where the error was
>
> 8:03:55.283 INFO org.springframework.web.context.ContextLoader - Root WebApplicationContext: initialization started
> 08:04:05.317 WARN org.springframework.web.context.support.XmlWebApplicationContext - Exception encountered during context initialization - cancelling refresh attempt: org.springframework.be
> ans.factory.BeanCreationException: Error creating bean with name 'logicInitializer' defined in URL [jar:file:/var/lib/tomcat/webapps/syncope/WEB-INF/lib/syncope-core-logic-2.1.4.jar!/org/apa
> che/syncope/core/logic/init/LogicInitializer.class]: Invocation of init method failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with n
> ame 'org.springframework.validation.beanvalidation.LocalValidatorFactoryBean#0' defined in URL [jar:file:/var/lib/tomcat/webapps/syncope/WEB-INF/lib/syncope-core-persistence-jpa-2.1.4.jar!/p
> ersistenceContext.xml]: Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError: javax/el/ELManager
> 08:04:05.344 ERROR org.springframework.web.context.ContextLoader - Context initialization failed
> org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'logicInitializer' defined in URL [jar:file:/var/lib/tomcat/webapps/syncope/WEB-INF/lib/syncope-core-lo
> gic-2.1.4.jar!/org/apache/syncope/core/logic/init/LogicInitializer.class]: Invocation of init method failed; nested exception is org.springframework.beans.factory.BeanCreationException: Erro
> r creating bean with name 'org.springframework.validation.beanvalidation.LocalValidatorFactoryBean#0' defined in URL [jar:file:/var/lib/tomcat/webapps/syncope/WEB-INF/lib/syncope-core-persis
> tence-jpa-2.1.4.jar!/persistenceContext.xml]: Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError: javax/el/ELManager
> at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1778) ~[spring-beans-5.1.6.RELEASE.jar:5.1.6.RE
> LEASE]
> at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:593) ~[spring-beans-5.1.6.RELEASE.jar:5.1.6.RELEA
> SE]
> at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:515) ~[spring-beans-5.1.6.RELEASE.jar:5.1.6.RELEASE
> ]
> at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:320) ~[spring-beans-5.1.6.RELEASE.jar:5.1.6.RELEASE]
> at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) ~[spring-beans-5.1.6.RELEASE.jar:5.1.6.RELEASE]
> at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:318) ~[spring-beans-5.1.6.RELEASE.jar:5.1.6.RELEASE]
>
>
>
>
> 3480 Preston Ridge Road
> Suite 450
> Alpharetta, GA 30005
>
> Philip W. Dalrymple III <pw...@mdtsoft.com>
> MDT Software - Automation Management Company
> +1 678 297 1001
> Fax +1 678 297 1003
>
> ________________________________________
> From: Andrea Patricelli <an...@apache.org>
> Sent: Thursday, September 12, 2019 8:18
> To: user@syncope.apache.org
> Subject: Re: Syncope trying to deploy using Maven and not getting login
>
> Hi Philip,
>
> Logs attached are not enough to understand what is the problem.
> Did you check also core-persistence.log, core-rest.log and core-connid.log files? They should be under /opt/syncope/log/.
>
> Moreover has the database been populated with Syncope tables? For example you can check the presence of syncopeuser table.
>
> Best regards,
> Andrea
>
> Il 12/09/19 14:05, Dalrymple, Philip ha scritto:
>
> Having the domains directory in /opt/syncope/conf did not help.
>
> It does not appear that there are any changes in the logs (other than the times)
>
>
> --
> This email, and any files transmitted with it, are confidential
> and intended solely for the use of the individual or entity to
> whom they are addressed. If you have received this email in error,
> please advise postmaster@mdtsoft.com<ma...@mdtsoft.com> <ma...@mdtsoft.com>.
>
> 3480 Preston Ridge Road
> Suite 450
> Alpharetta, GA 30005
>
> Philip W. Dalrymple III <pw...@mdtsoft.com>
> MDT Software - Automation Management Company
> +1 678 297 1001
> Fax +1 678 297 1003
>
> ________________________________________
> From: Dalrymple, Philip <pw...@mdtsoft.com>
> Sent: Thursday, September 12, 2019 7:55
> To: user@syncope.apache.org<ma...@syncope.apache.org>
> Subject: Re: Syncope trying to deploy using Maven and not getting login
>
> OK went off and did a source build to help me understand and I will need
> to, at some point, get into that.
>
> I cleaned out the DB and undeployed the three applications and then re-deployed
> them.
>
> Still, no luck.
> ~ tree /opt/syncope/conf
> /opt/syncope/conf
> |-- connid.properties
> |-- console.properties
> |-- customFormAttributes.json
> |-- customTemplate.json
> |-- enduser.properties
> |-- logic.properties
> |-- mail.properties
> |-- persistence.properties
> |-- provisioning.properties
> `-- security.properties
>
> with no domain in it (I may putting that in the /opt/syncope/conf)
>
> the logs have the following (snip for thing that repeat)
>
> 07:53:12.491 INFO org.springframework.security.core.SpringSecurityCoreVersion - You are running with Spring Security Core 5.1.5.RELEASE
> 07:53:12.494 INFO org.springframework.security.config.SecurityNamespaceHandler - Spring Security 'config' module version is 5.1.5.RELEASE
> 07:53:12.514 INFO org.springframework.security.config.method.GlobalMethodSecurityBeanDefinitionParser - Expressions were enabled for method security but no SecurityExpressionHandler was configured. All hasPermision() expressions will evaluate to false.
> 07:53:12.556 INFO org.springframework.security.config.http.HttpSecurityBeanDefinitionParser - Checking sorted filter chain: [Root bean: class [org.springframework.security.web.context.SecurityContextPersistenceFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 200, Root bean: class [org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 400, <jwtAuthenticationFilter>, order = 1799, Root bean: class [org.springframework.security.web.authentication.www.BasicAuthenticationFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 1800, Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=org.springframework.security.config.http.HttpConfigurationBuilder$SecurityContextHolderAwareRequestFilterBeanFactory#0; factoryMethodName=getBean; initMethodName=null; destroyMethodName=null, order = 2000, Root bean: class [org.springframework.security.web.authentication.AnonymousAuthenticationFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 2300, Root bean: class [org.springframework.security.web.access.ExceptionTranslationFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 2500, <mustChangePasswordFilter>, order = 2599, <org.springframework.security.web.access.intercept.FilterSecurityInterceptor#0>, order = 2600]
> 07:53:14.055 INFO org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor - Initializing ExecutorService
> 07:53:14.055 INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'asyncConnectorFacadeExecutor' of type [org.springframework.scheduling.config.TaskExecutorFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
> 07:53:14.055 INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'asyncConnectorFacadeExecutor' of type [org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
> 07:53:14.696 WARN openjpa.Runtime - An error occurred while registering a ClassTransformer with PersistenceUnitInfo: name 'Master', root URL [file:/var/lib/tomcat/webapps/syncope/WEB-INF/lib/syncope-core-persistence-jpa-2.1.4.jar]. The error has been consumed. To see it, set your openjpa.Runtime log level to TRACE. Load-time class transformation will not be available.
> 07:53:14.860 INFO org.springframework.security.web.DefaultSecurityFilterChain - Creating filter chain: any request, [org.springframework.security.web.context.SecurityContextPersistenceFilter@551267bf]
> 07:53:15.440 INFO org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor - Initializing ExecutorService
> 07:53:15.624 INFO org.apache.syncope.core.provisioning.java.job.SchedulerDBInit - No Quartz tables found, creating
> 07:53:15.835 INFO org.quartz.impl.StdSchedulerFactory - Using default implementation for ThreadExecutor
> 07:53:15.861 INFO org.quartz.core.SchedulerSignalerImpl - Initialized Scheduler Signaller of type: class org.quartz.core.SchedulerSignalerImpl
> 07:53:15.861 INFO org.quartz.core.QuartzScheduler - Quartz Scheduler v.2.3.1 created.
> 07:53:15.865 INFO org.springframework.scheduling.quartz.LocalDataSourceJobStore - Using db table-based data access locking (synchronization).
> 07:53:15.868 INFO org.springframework.scheduling.quartz.LocalDataSourceJobStore - JobStoreCMT initialized.
> 07:53:15.874 INFO org.quartz.core.QuartzScheduler - Scheduler meta-data: Quartz Scheduler (v2.3.1) 'ClusteredScheduler' with instanceId 'gluu-prs9.mdtsoft.com1568289195837'
> Scheduler class: 'org.quartz.core.QuartzScheduler' - running locally.
> NOT STARTED.
> Currently in standby mode.
> Number of jobs executed: 0
> Using thread pool 'org.quartz.simpl.SimpleThreadPool' - with 10 threads.
> Using job-store 'org.springframework.scheduling.quartz.LocalDataSourceJobStore' - which supports persistence. and is clustered.
>
> 07:53:15.874 INFO org.quartz.impl.StdSchedulerFactory - Quartz scheduler 'ClusteredScheduler' initialized from an externally provided properties instance.
> 07:53:15.874 INFO org.quartz.impl.StdSchedulerFactory - Quartz scheduler version: 2.3.1
> 07:53:15.874 INFO org.quartz.core.QuartzScheduler - JobFactory set to: org.apache.syncope.core.provisioning.java.job.AutowiringSpringBeanJobFactory@414ca8cc
> 07:53:15.879 INFO openjpa.Runtime - Starting OpenJPA 3.1.0
> 07:53:15.914 INFO openjpa.jdbc.JDBC - Using dictionary class "org.apache.openjpa.jdbc.sql.PostgresDictionary".
> 07:53:15.973 INFO openjpa.jdbc.JDBC - Connected to PostgreSQL version 11.11 using JDBC driver PostgreSQL JDBC Driver version 42.2.6.
> 07:53:16.314 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.group.JPAGroup". Ignoring.
> 07:53:16.314 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.group.JPATypeExtension". Ignoring.
> 07:53:16.314 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.user.JPAURelationship". Ignoring.
> 07:53:16.314 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.anyobject.JPAADynGroupMembership". Ignoring.
> 07:53:16.314 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.anyobject.JPAARelationship". Ignoring.
> 07:53:16.314 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.anyobject.JPAAPlainAttrUniqueValue". Ignoring.
> 07:53:16.314 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.user.JPAUPlainAttrUniqueValue". Ignoring.
> 07:53:16.314 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.group.JPAGPlainAttrUniqueValue". Ignoring.
> 07:53:16.315 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.conf.JPACPlainAttrUniqueValue". Ignoring.
> 07:53:16.350 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.group.JPAGroup". Ignoring.
> 07:53:16.350 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.group.JPATypeExtension". Ignoring.
> 07:53:16.351 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.user.JPAURelationship". Ignoring.
> 07:53:16.351 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.anyobject.JPAAMembership". Ignoring.
> 07:53:16.351 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.anyobject.JPAADynGroupMembership". Ignoring.
> 07:53:16.351 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.anyobject.JPAARelationship". Ignoring.
> 07:53:16.351 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.anyobject.JPAAPlainAttrUniqueValue". Ignoring.
> 07:53:16.351 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.user.JPAUPlainAttrUniqueValue". Ignoring.
> 07:53:16.351 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.group.JPAGPlainAttrUniqueValue". Ignoring.
> 07:53:16.351 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.conf.JPACPlainAttrUniqueValue". Ignoring.
> 07:53:16.361 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.group.JPAGroup". Ignoring.
> 07:53:16.361 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.group.JPATypeExtension". Ignoring.
> 07:53:16.361 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.user.JPAUDynGroupMembership". Ignoring.
> 07:53:16.361 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.user.JPAURelationship". Ignoring.
> 07:53:16.361 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.anyobject.JPAAMembership". Ignoring.
> 07:53:16.361 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.anyobject.JPAADynGroupMembership". Ignoring.
> 07:53:16.361 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.anyobject.JPAARelationship". Ignoring.
> 07:53:16.362 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.anyobject.JPAAPlainAttrUniqueValue". Ignoring.
> 07:53:16.362 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.user.JPAUPlainAttrUniqueValue". Ignoring.
> 07:53:16.362 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.group.JPAGPlainAttrUniqueValue". Ignoring.
> 07:53:16.362 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.conf.JPACPlainAttrUniqueValue". Ignoring.
> 07:53:16.370 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.group.JPAGroup". Ignoring.
> 07:53:16.371 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.group.JPATypeExtension". Ignoring.
> 07:53:16.371 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.user.JPAUMembership". Ignoring.
> 07:53:16.371 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.user.JPAUDynGroupMembership". Ignoring.
> 07:53:16.371 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.user.JPAURelationship". Ignoring.
>
> --------snip-------------------
>
>
> 07:53:22.087 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.anyobject.JPAAPlainAttrUniqueValue". Ignoring.
> 07:53:22.087 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.user.JPAUPlainAttrUniqueValue". Ignoring.
> 07:53:22.087 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.group.JPAGPlainAttrUniqueValue". Ignoring.
> 07:53:22.087 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.conf.JPACPlainAttrUniqueValue". Ignoring.
> 07:53:22.653 INFO org.springframework.scheduling.quartz.SchedulerFactoryBean - Shutting down Quartz Scheduler
> 07:53:22.653 INFO org.quartz.core.QuartzScheduler - Scheduler ClusteredScheduler_$_gluu-prs9.mdtsoft.com1568289195837 shutting down.
> 07:53:22.653 INFO org.quartz.core.QuartzScheduler - Scheduler ClusteredScheduler_$_gluu-prs9.mdtsoft.com1568289195837 paused.
> 07:53:22.857 INFO org.quartz.core.QuartzScheduler - Scheduler unregistered from name 'quartz:type=QuartzScheduler,name=ClusteredScheduler,instance=gluu-prs9.mdtsoft.com1568289195837' in the local MBeanServer.
> 07:53:22.857 INFO org.quartz.core.QuartzScheduler - Scheduler ClusteredScheduler_$_gluu-prs9.mdtsoft.com1568289195837 shutdown complete.
> 07:53:22.859 INFO org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor - Shutting down ExecutorService
> 07:53:22.869 INFO org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor - Shutting down ExecutorService
>
> I get clean logs with no errors.
>
> my config directory is
>
>
>
>
> --
> This email, and any files transmitted with it, are confidential
> and intended solely for the use of the individual or entity to
> whom they are addressed. If you have received this email in error,
> please advise postmaster@mdtsoft.com<ma...@mdtsoft.com> <ma...@mdtsoft.com>.
>
> 3480 Preston Ridge Road
> Suite 450
> Alpharetta, GA 30005
>
> Philip W. Dalrymple III <pw...@mdtsoft.com>
> MDT Software - Automation Management Company
> +1 678 297 1001
> Fax +1 678 297 1003
>
> ________________________________________
> From: Andrea Patricelli <an...@apache.org>
> Sent: Friday, September 6, 2019 4:20
> To: user@syncope.apache.org<ma...@syncope.apache.org>
> Subject: Re: Syncope trying to deploy using Maven and not getting login
>
> Hi Philip,
>
> in order to make a correct deploy on your application server follow [2].
>
> As the warning in the doc states:
>
> Be sure to put the corresponding JDBC driver JAR file under $CATALINA_HOME/lib for each datasource defined.
>
> You should provide postgres driver to Syncope by putting it into Tomcat lib folder.
>
> About the maven buld error: did you give the correct r/w permissions to /opt/syncope/buldles directory? If you want more info about the build please add the -X option to your maven build command.
>
> Best regards,
> Andrea
>
> [2] https://syncope.apache.org/docs/2.1/reference-guide.html#apache-tomcat-9
>
> Il 05/09/19 16:38, Dalrymple, Philip ha scritto:
>
> OK I had one issue in that to make it work my build script needed to look like
>
> #!/bin/bash
>
> cd syncope
>
> sudo mkdir -p /opt/syncope/bundles
> sudo mkdir -p /opt/syncope/log
> sudo chmod 0777 /opt/syncope/log
> sudo mkdir -p /opt/syncope/conf
>
> # mvn clean verify \
> # -Dconf.directory=/opt/syncope/conf \
> # -Dbundles.directory=/opt/syncope/bundles \
> # -Dlog.directory=/opt/syncope/log
>
> mvn clean verify \
> -Dconf.directory=/opt/syncope/conf \
> -Dlog.directory=/opt/syncope/log
>
>
> sudo cp core/target/classes/*properties /opt/syncope/conf
> sudo cp console/target/classes/*properties /opt/syncope/conf
> sudo cp enduser/target/classes/*properties /opt/syncope/conf
> sudo cp enduser/target/classes/customFormAttributes.json /opt/syncope/conf
> sudo cp enduser/target/classes/customTemplate.json /opt/syncope/conf
>
> i.e. not changing the bundles directory (which I want to do as I want to build in
> the bundles into the war files).
>
> When I do that I DO get logs (in /opt/syncope/log) Looks like I don't have the postgres dirver.
> I checked and the
> core/target/classes/provisioning.properties
>
> already had the changes for postgres
>
> ? syncope git:(master) ? more /opt/syncope/log/core.log
> 10:22:58.367 INFO org.springframework.security.core.SpringSecurityCoreVersion - You are running with Spring Security Core 5.1.5.RELEASE
> 10:22:58.370 INFO org.springframework.security.config.SecurityNamespaceHandler - Spring Security 'config' module version is 5.1.5.RELEASE
> 10:22:58.391 INFO org.springframework.security.config.method.GlobalMethodSecurityBeanDefinitionParser - Expressions were enabled for method security but no SecurityExpressionHandle
> r was configured. All hasPermision() expressions will evaluate to false.
> 10:22:58.437 INFO org.springframework.security.config.http.HttpSecurityBeanDefinitionParser - Checking sorted filter chain: [Root bean: class [org.springframework.security.web.cont
> ext.SecurityContextPersistenceFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factor
> yMethodName=null; initMethodName=null; destroyMethodName=null, order = 200, Root bean: class [org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter
> ]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=nul
> l; destroyMethodName=null, order = 400, <jwtAuthenticationFilter>, order = 1799, Root bean: class [org.springframework.security.web.authentication.www.BasicAuthenticationFilter]; sc
> ope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; de
> stroyMethodName=null, order = 1800, Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factor
> yBeanName=org.springframework.security.config.http.HttpConfigurationBuilder$SecurityContextHolderAwareRequestFilterBeanFactory#0; factoryMethodName=getBean; initMethodName=null; des
> troyMethodName=null, order = 2000, Root bean: class [org.springframework.security.web.authentication.AnonymousAuthenticationFilter]; scope=; abstract=false; lazyInit=false; autowire
> Mode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 2300, Root bean:
> class [org.springframework.security.web.access.ExceptionTranslationFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; prima
> ry=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 2500, <mustChangePasswordFilter>, order = 2599, <org.springframework.sec
> urity.web.access.intercept.FilterSecurityInterceptor#0>, order = 2600]
> 10:23:00.130 INFO org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor - Initializing ExecutorService
> 10:23:00.130 INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'asyncConnectorFacadeExecutor' of type [org.springframework.
> scheduling.config.TaskExecutorFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
> 10:23:00.130 INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'asyncConnectorFacadeExecutor' of type [org.springframework.
> scheduling.concurrent.ThreadPoolTaskExecutor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
> 10:23:00.394 ERROR com.zaxxer.hikari.HikariConfig - Failed to load driver class org.postgresql.Driver from HikariConfig class classloader WebappClassLoader
> context: /syncope
> delegate: false
> repositories:
> /WEB-INF/classes/
> ----------> Parent Classloader:
> java.net.URLClassLoader@7a81197d
>
> 10:23:00.444 ERROR com.zaxxer.hikari.HikariConfig - Failed to load driver class org.postgresql.Driver from HikariConfig class classloader WebappClassLoader
> context: /syncope
> delegate: false
> repositories:
> /WEB-INF/classes/
> ----------> Parent Classloader:
> java.net.URLClassLoader@7a81197d
>
> 10:23:00.445 INFO org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor - Shutting down ExecutorService
> 10:23:18.326 INFO org.springframework.security.core.SpringSecurityCoreVersion - You are running with Spring Security Core 5.1.5.RELEASE
> 10:23:18.329 INFO org.springframework.security.config.SecurityNamespaceHandler - Spring Security 'config' module version is 5.1.5.RELEASE
> 10:23:18.349 INFO org.springframework.security.config.method.GlobalMethodSecurityBeanDefinitionParser - Expressions were enabled for method security but no SecurityExpressionHandle
> r was configured. All hasPermision() expressions will evaluate to false.
> 10:23:18.395 INFO org.springframework.security.config.http.HttpSecurityBeanDefinitionParser - Checking sorted filter chain: [Root bean: class [org.springframework.security.web.cont
> ext.SecurityContextPersistenceFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factor
> yMethodName=null; initMethodName=null; destroyMethodName=null, order = 200, Root bean: class [org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter
> ]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=nul
> l; destroyMethodName=null, order = 400, <jwtAuthenticationFilter>, order = 1799, Root bean: class [org.springframework.security.web.authentication.www.BasicAuthenticationFilter]; sc
> ope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; de
> stroyMethodName=null, order = 1800, Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factor
> yBeanName=org.springframework.security.config.http.HttpConfigurationBuilder$SecurityContextHolderAwareRequestFilterBeanFactory#0; factoryMethodName=getBean; initMethodName=null; des
> troyMethodName=null, order = 2000, Root bean: class [org.springframework.security.web.authentication.AnonymousAuthenticationFilter]; scope=; abstract=false; lazyInit=false; autowire
> Mode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 2300, Root bean:
> class [org.springframework.security.web.access.ExceptionTranslationFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; prima
> ry=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 2500, <mustChangePasswordFilter>, order = 2599, <org.springframework.sec
> urity.web.access.intercept.FilterSecurityInterceptor#0>, order = 2600]
> 10:23:20.012 INFO org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor - Initializing ExecutorService
> 10:23:20.012 INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'asyncConnectorFacadeExecutor' of type [org.springframework.
> scheduling.config.TaskExecutorFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
> 10:23:20.012 INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'asyncConnectorFacadeExecutor' of type [org.springframework.
> scheduling.concurrent.ThreadPoolTaskExecutor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
> 10:23:20.285 ERROR com.zaxxer.hikari.HikariConfig - Failed to load driver class org.postgresql.Driver from HikariConfig class classloader WebappClassLoader
> context: /syncope
> delegate: false
> repositories:
> /WEB-INF/classes/
> ----------> Parent Classloader:
> java.net.URLClassLoader@7a81197d
>
> 10:23:20.337 ERROR com.zaxxer.hikari.HikariConfig - Failed to load driver class org.postgresql.Driver from HikariConfig class classloader WebappClassLoader
> context: /syncope
> delegate: false
> repositories:
> /WEB-INF/classes/
> ----------> Parent Classloader:
> java.net.URLClassLoader@7a81197d
>
> 10:23:20.338 INFO org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor - Shutting down ExecutorService
> 10:23:32.831 INFO org.springframework.security.core.SpringSecurityCoreVersion - You are running with Spring Security Core 5.1.5.RELEASE
> 10:23:32.835 INFO org.springframework.security.config.SecurityNamespaceHandler - Spring Security 'config' module version is 5.1.5.RELEASE
> 10:23:32.859 INFO org.springframework.security.config.method.GlobalMethodSecurityBeanDefinitionParser - Expressions were enabled for method security but no SecurityExpressionHandle
> r was configured. All hasPermision() expressions will evaluate to false.
> 10:23:32.910 INFO org.springframework.security.config.http.HttpSecurityBeanDefinitionParser - Checking sorted filter chain: [Root bean: class [org.springframework.security.web.cont
> ext.SecurityContextPersistenceFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factor
> yMethodName=null; initMethodName=null; destroyMethodName=null, order = 200, Root bean: class [org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter
> ]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=nul
> l; destroyMethodName=null, order = 400, <jwtAuthenticationFilter>, order = 1799, Root bean: class [org.springframework.security.web.authentication.www.BasicAuthenticationFilter]; sc
> ope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; de
> stroyMethodName=null, order = 1800, Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factor
> yBeanName=org.springframework.security.config.http.HttpConfigurationBuilder$SecurityContextHolderAwareRequestFilterBeanFactory#0; factoryMethodName=getBean; initMethodName=null; des
> troyMethodName=null, order = 2000, Root bean: class [org.springframework.security.web.authentication.AnonymousAuthenticationFilter]; scope=; abstract=false; lazyInit=false; autowire
> Mode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 2300, Root bean:
> class [org.springframework.security.web.access.ExceptionTranslationFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; prima
> ry=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 2500, <mustChangePasswordFilter>, order = 2599, <org.springframework.sec
> urity.web.access.intercept.FilterSecurityInterceptor#0>, order = 2600]
> 10:23:34.490 INFO org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor - Initializing ExecutorService
> 10:23:34.490 INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'asyncConnectorFacadeExecutor' of type [org.springframework.
> scheduling.config.TaskExecutorFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
> 10:23:34.490 INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'asyncConnectorFacadeExecutor' of type [org.springframework.
> scheduling.concurrent.ThreadPoolTaskExecutor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
> 10:23:34.757 ERROR com.zaxxer.hikari.HikariConfig - Failed to load driver class org.postgresql.Driver from HikariConfig class classloader WebappClassLoader
> context: /syncope
> delegate: false
> repositories:
> /WEB-INF/classes/
> ----------> Parent Classloader:
> java.net.URLClassLoader@7a81197d
>
> 10:23:34.809 ERROR com.zaxxer.hikari.HikariConfig - Failed to load driver class org.postgresql.Driver from HikariConfig class classloader WebappClassLoader
> context: /syncope
> delegate: false
> repositories:
> /WEB-INF/classes/
> ----------> Parent Classloader:
> java.net.URLClassLoader@7a81197d
>
> 10:23:34.810 INFO org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor - Shutting down ExecutorService
>
> if I left in the bundles I get the following error:
>
> ? syncope git:(master) ? mvn clean verify \
>
>
> -Dconf.directory=/opt/syncope/conf \
> -Dbundles.directory=/opt/syncope/bundles \
> -Dlog.directory=/opt/syncope/log
>
>
> [INFO] Scanning for projects...
> [INFO] ------------------------------------------------------------------------
> [INFO] Reactor Build Order:
> [INFO]
> [INFO] Apache Syncope sample project
> [INFO] Apache Syncope sample project - Common
> [INFO] Apache Syncope sample project - Core
> [INFO] Apache Syncope sample project - Console
> [INFO] Apache Syncope sample project - Enduser
> [INFO]
> [INFO] ------------------------------------------------------------------------
> [INFO] Building Apache Syncope sample project 1.0-SNAPSHOT
> [INFO] ------------------------------------------------------------------------
> [INFO]
> [INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ syncope ---
> [INFO] Deleting /home/pwd/src/EIandAS/syncope/target
> [INFO]
> [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven-version) @ syncope ---
> [INFO]
> [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven) @ syncope ---
> [INFO]
> [INFO] --- gmaven-plugin:1.5:execute (default) @ syncope ---
> [INFO]
> [INFO] --- maven-remote-resources-plugin:1.5:process (process-resource-bundles) @ syncope ---
> [INFO]
> [INFO] --- maven-resources-plugin:3.1.0:copy-resources (copy-artifact-legal-files) @ syncope ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 0 resource
> [INFO]
> [INFO] --- maven-resources-plugin:3.1.0:copy-resources (copy-javadoc-legal-files) @ syncope ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 0 resource
> [INFO]
> [INFO] --- jacoco-maven-plugin:0.8.3:prepare-agent (jacoco-agent-ut) @ syncope ---
> [INFO] argLine set to -javaagent:/home/pwd/.m2/repository/org/jacoco/org.jacoco.agent/0.8.3/org.jacoco.agent-0.8.3-runtime.jar=destfile=/home/pwd/src/EIandAS/syncope/target/jacoco.ut.exec,append=true -Xms512m -Xmx1024m -Xss256k
> [INFO]
> [INFO] --- maven-site-plugin:3.7.1:attach-descriptor (attach-descriptor) @ syncope ---
> [INFO] No site descriptor found: nothing to attach.
> [INFO]
> [INFO] --- jacoco-maven-plugin:0.8.3:prepare-agent-integration (jacoco-agent-it) @ syncope ---
> [INFO] argLine set to -javaagent:/home/pwd/.m2/repository/org/jacoco/org.jacoco.agent/0.8.3/org.jacoco.agent-0.8.3-runtime.jar=destfile=/home/pwd/src/EIandAS/syncope/target/jacoco.it.exec,append=true -Xms512m -Xmx1024m -Xss256k
> [INFO]
> [INFO] --- modernizer-maven-plugin:1.8.0:modernizer (modernizer-check) @ syncope ---
> [INFO]
> [INFO] --- maven-checkstyle-plugin:3.0.0:check (checkstyle-check) @ syncope ---
> [INFO]
> [INFO] --- jacoco-maven-plugin:0.8.3:report-aggregate (jacoco-site) @ syncope ---
> [INFO]
> [INFO] --- apache-rat-plugin:0.12:check (rat-check) @ syncope ---
> [INFO] RAT will not execute since it is configured to be skipped via system property 'rat.skip'.
> [INFO]
> [INFO] ------------------------------------------------------------------------
> [INFO] Building Apache Syncope sample project - Common 1.0-SNAPSHOT
> [INFO] ------------------------------------------------------------------------
> [INFO]
> [INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ syncope-common ---
> [INFO] Deleting /home/pwd/src/EIandAS/syncope/common/target
> [INFO]
> [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven-version) @ syncope-common ---
> [INFO]
> [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven) @ syncope-common ---
> [INFO]
> [INFO] --- gmaven-plugin:1.5:execute (default) @ syncope-common ---
> [INFO]
> [INFO] --- maven-remote-resources-plugin:1.5:process (process-resource-bundles) @ syncope-common ---
> [INFO]
> [INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ syncope-common ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 0 resource
> [INFO] Copying 3 resources
> [INFO]
> [INFO] --- maven-resources-plugin:3.1.0:copy-resources (copy-artifact-legal-files) @ syncope-common ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 0 resource
> [INFO]
> [INFO] --- maven-resources-plugin:3.1.0:copy-resources (copy-javadoc-legal-files) @ syncope-common ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 0 resource
> [INFO]
> [INFO] --- maven-compiler-plugin:3.8.0:compile (default-compile) @ syncope-common ---
> [INFO] No sources to compile
> [INFO]
> [INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ syncope-common ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 0 resource
> [INFO] Copying 3 resources
> [INFO]
> [INFO] --- maven-compiler-plugin:3.8.0:testCompile (default-testCompile) @ syncope-common ---
> [INFO] No sources to compile
> [INFO]
> [INFO] --- jacoco-maven-plugin:0.8.3:prepare-agent (jacoco-agent-ut) @ syncope-common ---
> [INFO] argLine set to -javaagent:/home/pwd/.m2/repository/org/jacoco/org.jacoco.agent/0.8.3/org.jacoco.agent-0.8.3-runtime.jar=destfile=/home/pwd/src/EIandAS/syncope/common/target/jacoco.ut.exec,append=true -Xms512m -Xmx1024m -Xss256k
> [INFO]
> [INFO] --- maven-surefire-plugin:2.22.1:test (default-test) @ syncope-common ---
> [INFO]
> [INFO] --- maven-jar-plugin:3.1.1:jar (default-jar) @ syncope-common ---
> [INFO] Building jar: /home/pwd/src/EIandAS/syncope/common/target/syncope-common-1.0-SNAPSHOT.jar
> [INFO]
> [INFO] --- maven-site-plugin:3.7.1:attach-descriptor (attach-descriptor) @ syncope-common ---
> [INFO] Skipping because packaging 'jar' is not pom.
> [INFO]
> [INFO] --- jacoco-maven-plugin:0.8.3:prepare-agent-integration (jacoco-agent-it) @ syncope-common ---
> [INFO] argLine set to -javaagent:/home/pwd/.m2/repository/org/jacoco/org.jacoco.agent/0.8.3/org.jacoco.agent-0.8.3-runtime.jar=destfile=/home/pwd/src/EIandAS/syncope/common/target/jacoco.it.exec,append=true -Xms512m -Xmx1024m -Xss256k
> [INFO]
> [INFO] --- modernizer-maven-plugin:1.8.0:modernizer (modernizer-check) @ syncope-common ---
> [INFO]
> [INFO] --- maven-checkstyle-plugin:3.0.0:check (checkstyle-check) @ syncope-common ---
> [INFO]
> [INFO] --- jacoco-maven-plugin:0.8.3:report-aggregate (jacoco-site) @ syncope-common ---
> [INFO]
> [INFO] --- apache-rat-plugin:0.12:check (rat-check) @ syncope-common ---
> [INFO] RAT will not execute since it is configured to be skipped via system property 'rat.skip'.
> [INFO]
> [INFO] ------------------------------------------------------------------------
> [INFO] Building Apache Syncope sample project - Core 1.0-SNAPSHOT
> [INFO] ------------------------------------------------------------------------
> [INFO]
> [INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ syncope-core ---
> [INFO] Deleting /home/pwd/src/EIandAS/syncope/core/target
> [INFO]
> [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven-version) @ syncope-core ---
> [INFO]
> [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven) @ syncope-core ---
> [INFO]
> [INFO] --- gmaven-plugin:1.5:execute (default) @ syncope-core ---
> [INFO]
> [INFO] --- maven-remote-resources-plugin:1.5:process (process-resource-bundles) @ syncope-core ---
> [INFO]
> [INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ syncope-core ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 32 resources
> [INFO] Copying 3 resources
> [INFO]
> [INFO] --- maven-resources-plugin:3.1.0:copy-resources (copy-artifact-legal-files) @ syncope-core ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 0 resource
> [INFO]
> [INFO] --- maven-resources-plugin:3.1.0:copy-resources (copy-javadoc-legal-files) @ syncope-core ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 0 resource
> [INFO]
> [INFO] --- maven-compiler-plugin:3.8.0:compile (default-compile) @ syncope-core ---
> [INFO] No sources to compile
> [INFO]
> [INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ syncope-core ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 26 resources
> [INFO] Copying 1 resource
> [INFO] Copying 3 resources
> [INFO]
> [INFO] --- maven-dependency-plugin:3.1.1:copy (set-bundles) @ syncope-core ---
> [INFO] Configured Artifact: net.tirasa.connid.bundles.soap:net.tirasa.connid.bundles.soap:1.4.3:jar
> [INFO] Configured Artifact: net.tirasa.connid.bundles:net.tirasa.connid.bundles.rest:1.0.4:jar
> [INFO] Configured Artifact: net.tirasa.connid.bundles:net.tirasa.connid.bundles.csvdir:0.8.8:jar
> [INFO] Configured Artifact: net.tirasa.connid.bundles.db:net.tirasa.connid.bundles.db.table:2.2.6:jar
> [INFO] Configured Artifact: net.tirasa.connid.bundles.db:net.tirasa.connid.bundles.db.scriptedsql:2.2.6:jar
> [INFO] Configured Artifact: net.tirasa.connid.bundles:net.tirasa.connid.bundles.ldap:1.5.3:jar
> [INFO] Configured Artifact: net.tirasa.connid.bundles:net.tirasa.connid.bundles.ad:1.3.6:jar
> [INFO] Configured Artifact: net.tirasa.connid.bundles:net.tirasa.connid.bundles.googleapps:1.4.2:jar
> [INFO] Configured Artifact: net.tirasa.connid.bundles:net.tirasa.connid.bundles.azure:1.0.1:jar
> [INFO] Configured Artifact: net.tirasa.connid.bundles:net.tirasa.connid.bundles.scimv11:1.0.1:jar
> [INFO] Configured Artifact: net.tirasa.connid.bundles:net.tirasa.connid.bundles.servicenow:1.0.0:jar
> [INFO] Copying net.tirasa.connid.bundles.soap-1.4.3.jar to /opt/syncope/bundles/net.tirasa.connid.bundles.soap-1.4.3.jar
> [INFO] ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO]
> [INFO] Apache Syncope sample project ..................... SUCCESS [4.310s]
> [INFO] Apache Syncope sample project - Common ............ SUCCESS [1.233s]
> [INFO] Apache Syncope sample project - Core .............. FAILURE [2.534s]
> [INFO] Apache Syncope sample project - Console ........... SKIPPED
> [INFO] Apache Syncope sample project - Enduser ........... SKIPPED
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 8.341s
> [INFO] Finished at: Thu Sep 05 10:29:47 EDT 2019
> [INFO] Final Memory: 48M/628M
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-dependency-plugin:3.1.1:copy (set-bundles) on project syncope-core: Error copying artifact from /home/pwd/.m2/repository/net/tirasa/connid/bundles/soap/net.tirasa.connid.bundles.soap/1.4.3/net.tirasa.connid.bundles.soap-1.4.3.jar to /opt/syncope/bundles/net.tirasa.connid.bundles.soap-1.4.3.jar -> [Help 1]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions, please read the following articles:
> [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
> [ERROR]
> [ERROR] After correcting the problems, you can resume the build with the command
> [ERROR] mvn <goals> -rf :syncope-core
>
>
>
>
>
> --
> This email, and any files transmitted with it, are confidential
> and intended solely for the use of the individual or entity to
> whom they are addressed. If you have received this email in error,
> please advise postmaster@mdtsoft.com<ma...@mdtsoft.com> <ma...@mdtsoft.com>.
>
> 3480 Preston Ridge Road
> Suite 450
> Alpharetta, GA 30005
>
> Philip W. Dalrymple III <pw...@mdtsoft.com>
> MDT Software - Automation Management Company
> +1 678 297 1001
> Fax +1 678 297 1003
>
> ________________________________________
> From: Andrea Patricelli <an...@tirasa.net>
> Sent: Thursday, September 5, 2019 10:07
> To: user@syncope.apache.org<ma...@syncope.apache.org>
> Subject: Re: Syncope trying to deploy using Maven and not getting login
>
> P.S.
>
> About the attached link: please take care to the doc starting from
> documentation at "Deployment directories" section.
>
> Il 05/09/19 16:04, Dalrymple, Philip ha scritto:
>
>
> OK I will give that a go.
>
>
> --
> This email, and any files transmitted with it, are confidential
> and intended solely for the use of the individual or entity to
> whom they are addressed. If you have received this email in error,
> please advise postmaster@mdtsoft.com<ma...@mdtsoft.com> <ma...@mdtsoft.com>.
>
> 3480 Preston Ridge Road
> Suite 450
> Alpharetta, GA 30005
>
> Philip W. Dalrymple III <pw...@mdtsoft.com>
> MDT Software - Automation Management Company
> +1 678 297 1001
> Fax +1 678 297 1003
>
> ________________________________________
> From: Andrea Patricelli <an...@apache.org>
> Sent: Thursday, September 5, 2019 10:03
> To: user@syncope.apache.org<ma...@syncope.apache.org>
> Subject: Re: Syncope trying to deploy using Maven and not getting login
>
> Ok, maybe I got your first problem.
>
> Please follow this [1]. Basically, in order to do a correct deploy, you
> should build with a special mvn command specifying bundles, logs and
> conf directories and, moreover, in order to let Syncope take correct
> configuration parameters (like for the jdbc connection) copy some of the
> properties files in sources under the specific conf directory.
>
> HTH,
> Andrea
>
> [1] https://syncope.apache.org/docs/2.1/reference-guide.html#customization
>
> Il 05/09/19 15:56, Dalrymple, Philip ha scritto:
>
>
> OK this is weird
>
> I did a
>
> sudo find / -name "*core*.log*" -print
>
> and only find the logs from my first try using docker.
> (was not able to customize well enough and switched to
> maven deleting the docker images)
>
> I will keep looking.
>
>
> --
> This email, and any files transmitted with it, are confidential
> and intended solely for the use of the individual or entity to
> whom they are addressed. If you have received this email in error,
> please advise postmaster@mdtsoft.com<ma...@mdtsoft.com> <ma...@mdtsoft.com>.
>
> 3480 Preston Ridge Road
> Suite 450
> Alpharetta, GA 30005
>
> Philip W. Dalrymple III <pw...@mdtsoft.com>
> MDT Software - Automation Management Company
> +1 678 297 1001
> Fax +1 678 297 1003
>
> ________________________________________
> From: Dalrymple, Philip <pw...@mdtsoft.com>
> Sent: Thursday, September 5, 2019 9:53
> To: user@syncope.apache.org<ma...@syncope.apache.org>
> Subject: Re: Syncope trying to deploy using Maven and not getting login
>
>
> OK I need to find where the logs are.
>
> --
> This email, and any files transmitted with it, are confidential
> and intended solely for the use of the individual or entity to
> whom they are addressed. If you have received this email in error,
> please advise postmaster@mdtsoft.com<ma...@mdtsoft.com> <ma...@mdtsoft.com>.
>
> 3480 Preston Ridge Road
> Suite 450
> Alpharetta, GA 30005
>
> Philip W. Dalrymple III <pw...@mdtsoft.com>
> MDT Software - Automation Management Company
> +1 678 297 1001
> Fax +1 678 297 1003
>
> ________________________________________
> From: Andrea Patricelli <an...@apache.org>
> Sent: Thursday, September 5, 2019 9:52
> To: user@syncope.apache.org<ma...@syncope.apache.org>
> Subject: Re: Syncope trying to deploy using Maven and not getting login
>
> Hi Philip,
>
> you should check core.log, core-rest.log, core-persistence.log and
> core-connid.log files in order to understand what is the problem.
> The NOT FOUND error in console simply means that core is unavailable,
> probably because it failed to start.
>
> Please check for exceptions in core*.log files and attach it into this
> thread.
>
> Best regards,
> Andrea
>
> Il 05/09/19 15:32, Dalrymple, Philip ha scritto:
>
>
> I am trying to deploy Syncope using the Maven method. I have followed the
> instructions in
>
> http://syncope.apache.org/docs/2.1/getting-started.html#maven-project
>
> and then edited core/src/main/resources/domains/Master.properties
>
> to have the correct postgres password, I re-did the mvn clean install
> and placed the war files in my tomcat/webapps directory, they deployed
> without me restarting tomcat.
>
> When I got to http://XXXXX:8080/syncope-console I get a 500 error (see below)
> when I got to .../syncope or .../syncope/index.html or .../syncope-enduser I get a 404 error.
>
> I checked in WEB-INF/classes/persistence.properties (in syncope) and it had the
> correct DB user, host, and password info and I verified that I could connect to the DB BUT
> the DB was empty.
>
> the stack trace on the syncope-console
>
>
> type Exception report
>
> message Unable to instantiate web session class org.apache.syncope.client.console.SyncopeConsoleSession
>
> description The server encountered an internal error that prevented it from fulfilling this request.
>
> exception
>
> org.apache.wicket.WicketRuntimeException: Unable to instantiate web session class org.apache.syncope.client.console.SyncopeConsoleSession
> org.apache.wicket.authroles.authentication.AuthenticatedWebApplication.newSession(AuthenticatedWebApplication.java:121)
> org.apache.wicket.Application.fetchCreateAndSetSession(Application.java:1555)
> org.apache.wicket.Session.get(Session.java:176)
> org.apache.syncope.client.console.SyncopeConsoleSession.get(SyncopeConsoleSession.java:91)
> org.apache.syncope.client.console.SyncopeConsoleRequestCycleListener.onException(SyncopeConsoleRequestCycleListener.java:80)
> org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:126)
> org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:122)
> org.apache.wicket.util.listener.ListenerCollection.notify(ListenerCollection.java:80)
> org.apache.wicket.request.cycle.RequestCycleListenerCollection.onException(RequestCycleListenerCollection.java:121)
> org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:126)
> org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:122)
> org.apache.wicket.util.listener.ListenerCollection.notify(ListenerCollection.java:80)
> org.apache.wicket.request.cycle.RequestCycleListenerCollection.onException(RequestCycleListenerCollection.java:121)
> org.apache.wicket.request.cycle.RequestCycle.handleException(RequestCycle.java:368)
> org.apache.wicket.request.cycle.RequestCycle.executeExceptionRequestHandler(RequestCycle.java:314)
> org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:259)
> org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:221)
> org.apache.wicket.protocol.ws.AbstractUpgradeFilter.processRequestCycle(AbstractUpgradeFilter.java:70)
> org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:206)
> org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:299)
>
> root cause
>
> java.lang.reflect.InvocationTargetException
> sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
> java.lang.reflect.Constructor.newInstance(Constructor.java:423)
> org.apache.wicket.authroles.authentication.AuthenticatedWebApplication.newSession(AuthenticatedWebApplication.java:117)
> org.apache.wicket.Application.fetchCreateAndSetSession(Application.java:1555)
> org.apache.wicket.Session.get(Session.java:176)
> org.apache.syncope.client.console.SyncopeConsoleSession.get(SyncopeConsoleSession.java:91)
> org.apache.syncope.client.console.SyncopeConsoleRequestCycleListener.onException(SyncopeConsoleRequestCycleListener.java:80)
> org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:126)
> org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:122)
> org.apache.wicket.util.listener.ListenerCollection.notify(ListenerCollection.java:80)
> org.apache.wicket.request.cycle.RequestCycleListenerCollection.onException(RequestCycleListenerCollection.java:121)
> org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:126)
> org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:122)
> org.apache.wicket.util.listener.ListenerCollection.notify(ListenerCollection.java:80)
> org.apache.wicket.request.cycle.RequestCycleListenerCollection.onException(RequestCycleListenerCollection.java:121)
> org.apache.wicket.request.cycle.RequestCycle.handleException(RequestCycle.java:368)
> org.apache.wicket.request.cycle.RequestCycle.executeExceptionRequestHandler(RequestCycle.java:314)
> org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:259)
> org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:221)
> org.apache.wicket.protocol.ws.AbstractUpgradeFilter.processRequestCycle(AbstractUpgradeFilter.java:70)
> org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:206)
> org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:299)
>
> root cause
>
> javax.xml.ws.WebServiceException: Remote exception with status code: NOT_FOUND
> org.apache.syncope.client.lib.RestClientExceptionMapper.fromResponse(RestClientExceptionMapper.java:76)
> org.apache.syncope.client.lib.RestClientExceptionMapper.fromResponse(RestClientExceptionMapper.java:42)
> org.apache.cxf.jaxrs.client.ClientProxyImpl.checkResponse(ClientProxyImpl.java:372)
> org.apache.cxf.jaxrs.client.ClientProxyImpl.handleResponse(ClientProxyImpl.java:948)
> org.apache.cxf.jaxrs.client.ClientProxyImpl.doChainedInvocation(ClientProxyImpl.java:854)
> org.apache.cxf.jaxrs.client.ClientProxyImpl.invoke(ClientProxyImpl.java:295)
> com.sun.proxy.$Proxy119.platform(Unknown Source)
> org.apache.syncope.client.console.SyncopeConsoleSession.<init>(SyncopeConsoleSession.java:103)
> sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
> java.lang.reflect.Constructor.newInstance(Constructor.java:423)
> org.apache.wicket.authroles.authentication.AuthenticatedWebApplication.newSession(AuthenticatedWebApplication.java:117)
> org.apache.wicket.Application.fetchCreateAndSetSession(Application.java:1555)
> org.apache.wicket.Session.get(Session.java:176)
> org.apache.syncope.client.console.SyncopeConsoleSession.get(SyncopeConsoleSession.java:91)
> org.apache.syncope.client.console.SyncopeConsoleRequestCycleListener.onException(SyncopeConsoleRequestCycleListener.java:80)
> org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:126)
> org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:122)
> org.apache.wicket.util.listener.ListenerCollection.notify(ListenerCollection.java:80)
> org.apache.wicket.request.cycle.RequestCycleListenerCollection.onException(RequestCycleListenerCollection.java:121)
> org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:126)
> org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:122)
> org.apache.wicket.util.listener.ListenerCollection.notify(ListenerCollection.java:80)
> org.apache.wicket.request.cycle.RequestCycleListenerCollection.onException(RequestCycleListenerCollection.java:121)
> org.apache.wicket.request.cycle.RequestCycle.handleException(RequestCycle.java:368)
> org.apache.wicket.request.cycle.RequestCycle.executeExceptionRequestHandler(RequestCycle.java:314)
> org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:259)
> org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:221)
> org.apache.wicket.protocol.ws.AbstractUpgradeFilter.processRequestCycle(AbstractUpgradeFilter.java:70)
> org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:206)
> org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:299)
>
>
> thanks
>
>
> --
> This email, and any files transmitted with it, are confidential
> and intended solely for the use of the individual or entity to
> whom they are addressed. If you have received this email in error,
> please advise postmaster@mdtsoft.com<ma...@mdtsoft.com> <ma...@mdtsoft.com>.
>
> 3480 Preston Ridge Road
> Suite 450
> Alpharetta, GA 30005
>
> Philip W. Dalrymple III <pw...@mdtsoft.com>
> MDT Software - Automation Management Company
> +1 678 297 1001
> Fax +1 678 297 1003
>
>
> --
> Dott. Andrea Patricelli
> Tel. +39 3204524292
>
> Engineer @ Tirasa S.r.l.
> Viale Vittoria Colonna 97 - 65127 Pescara
> Tel +39 0859116307 / FAX +39 0859111173
> http://www.tirasa.net
>
> Apache Syncope PMC Member
>
>
>
> --
> Dott. Andrea Patricelli
> Tel. +39 3204524292
>
> Engineer @ Tirasa S.r.l.
> Viale Vittoria Colonna 97 - 65127 Pescara
> Tel +39 0859116307 / FAX +39 0859111173
> http://www.tirasa.net
>
> Apache Syncope PMC Member
>
>
>
> --
> Dott. Andrea Patricelli
> Tel. +39 3204524292
>
> Engineer @ Tirasa S.r.l.
> Viale Vittoria Colonna 97 - 65127 Pescara
> Tel +39 0859116307 / FAX +39 0859111173
> http://www.tirasa.net
>
> Apache Syncope PMC Member
>
>
>
> --
> Dott. Andrea Patricelli
> Tel. +39 3204524292
>
> Engineer @ Tirasa S.r.l.
> Viale Vittoria Colonna 97 - 65127 Pescara
> Tel +39 0859116307 / FAX +39 0859111173
> http://www.tirasa.net
>
> Apache Syncope PMC Member
>
>
> --
> Dott. Andrea Patricelli
> Tel. +39 3204524292
>
> Engineer @ Tirasa S.r.l.
> Viale Vittoria Colonna 97 - 65127 Pescara
> Tel +39 0859116307 / FAX +39 0859111173
> http://www.tirasa.net
>
> Apache Syncope PMC Member
--
Dott. Andrea Patricelli
Tel. +39 3204524292
Engineer @ Tirasa S.r.l.
Viale Vittoria Colonna 97 - 65127 Pescara
Tel +39 0859116307 / FAX +39 0859111173
http://www.tirasa.net
Apache Syncope PMC Member
Re: Syncope trying to deploy using Maven and not getting login
Posted by Andrea Patricelli <an...@apache.org>.
Are you respecting versions of:
- JEE container [1] (at least Tomcat 8.5, better 9)
- Java (1.8)
- DBMS [2]
Best regards,
Andrea
[1]
https://syncope.apache.org/docs/2.1/getting-started.html#java-ee-container
[2]
https://syncope.apache.org/docs/2.1/getting-started.html#internal-storage
Il 12/09/19 14:28, Dalrymple, Philip ha scritto:
> I had not looked int the rest log, that had the error in it. see the bottom of this message
>
> All the tables are there
>
> List of relations
> Schema | Name | Type | Owner
> --------+--------------------------------+-------+---------
> public | accesstoken | table | syncope
> public | accountpolicy | table | syncope
> public | accountpolicy_externalresource | table | syncope
> public | accountpolicyrule | table | syncope
> public | adyngroupmembers | table | syncope
> public | adyngroupmembership | table | syncope
> public | amembership | table | syncope
> public | anyabout | table | syncope
> public | anyobject | table | syncope
> public | anyobject_anytypeclass | table | syncope
> public | anyobject_externalresource | table | syncope
> public | anytemplatepulltask | table | syncope
> public | anytemplaterealm | table | syncope
> public | anytype | table | syncope
> public | anytype_anytypeclass | table | syncope
> public | anytypeclass | table | syncope
> public | aplainattr | table | syncope
> public | aplainattruniquevalue | table | syncope
> public | aplainattrvalue | table | syncope
> public | application | table | syncope
> public | arelationship | table | syncope
> public | conninstance | table | syncope
> public | conninstance_capabilities | table | syncope
> public | conninstancehistoryconf | table | syncope
> public | cplainattr | table | syncope
> public | cplainattruniquevalue | table | syncope
> public | cplainattrvalue | table | syncope
> public | derschema | table | syncope
> public | dynrealm | table | syncope
> public | dynrealmmembers | table | syncop
>
>
> --
> This email, and any files transmitted with it, are confidential
> and intended solely for the use of the individual or entity to
> whom they are addressed. If you have received this email in error,
> please advise postmaster@mdtsoft.com <ma...@mdtsoft.com>.
>
>
> At least I think that they are all there.
>
> The full core-connid log for this startup is
>
> 08:04:04.430 INFO Add ConnectorInfo ConnectorKey( bundleName=net.tirasa.connid.bundles.soap bundleVersion=1.4.3 connectorName=net.tirasa.connid.bundles.soap.WebServiceConnector ) to Local C
> onnector Info Manager from file:/opt/syncope/bundles/net.tirasa.connid.bundles.soap-1.4.3.jar Method: lambda$null$3
> 08:04:04.451 INFO Add ConnectorInfo ConnectorKey( bundleName=net.tirasa.connid.bundles.rest bundleVersion=1.0.4 connectorName=net.tirasa.connid.bundles.rest.RESTConnector ) to Local Connect
> or Info Manager from file:/opt/syncope/bundles/net.tirasa.connid.bundles.rest-1.0.4.jar Method: lambda$null$3
> 08:04:04.460 INFO Add ConnectorInfo ConnectorKey( bundleName=net.tirasa.connid.bundles.csvdir bundleVersion=0.8.8 connectorName=net.tirasa.connid.bundles.csvdir.CSVDirConnector ) to Local C
> onnector Info Manager from file:/opt/syncope/bundles/net.tirasa.connid.bundles.csvdir-0.8.8.jar Method: lambda$null$3
> 08:04:04.483 INFO Add ConnectorInfo ConnectorKey( bundleName=net.tirasa.connid.bundles.db.table bundleVersion=2.2.6 connectorName=net.tirasa.connid.bundles.db.table.DatabaseTableConnector )
> to Local Connector Info Manager from file:/opt/syncope/bundles/net.tirasa.connid.bundles.db.table-2.2.6.jar Method: lambda$null$3
> 08:04:04.494 INFO Add ConnectorInfo ConnectorKey( bundleName=net.tirasa.connid.bundles.db.scriptedsql bundleVersion=2.2.6 connectorName=net.tirasa.connid.bundles.db.scriptedsql.ScriptedSQLC
> onnector ) to Local Connector Info Manager from file:/opt/syncope/bundles/net.tirasa.connid.bundles.db.scriptedsql-2.2.6.jar Method: lambda$null$3
> 08:04:04.517 INFO Add ConnectorInfo ConnectorKey( bundleName=net.tirasa.connid.bundles.ldap bundleVersion=1.5.3 connectorName=net.tirasa.connid.bundles.ldap.LdapConnector ) to Local Connect
> or Info Manager from file:/opt/syncope/bundles/net.tirasa.connid.bundles.ldap-1.5.3.jar Method: lambda$null$3
> 08:04:04.543 INFO Add ConnectorInfo ConnectorKey( bundleName=net.tirasa.connid.bundles.ad bundleVersion=1.3.6 connectorName=net.tirasa.connid.bundles.ad.ADConnector ) to Local Connector Inf
> o Manager from file:/opt/syncope/bundles/net.tirasa.connid.bundles.ad-1.3.6.jar Method: lambda$null$3
> 08:04:04.593 INFO Add ConnectorInfo ConnectorKey( bundleName=net.tirasa.connid.bundles.googleapps bundleVersion=1.4.2 connectorName=net.tirasa.connid.bundles.googleapps.GoogleAppsConnector
> ) to Local Connector Info Manager from file:/opt/syncope/bundles/net.tirasa.connid.bundles.googleapps-1.4.2.jar Method: lambda$null$3
> 08:04:04.618 INFO Add ConnectorInfo ConnectorKey( bundleName=net.tirasa.connid.bundles.azure bundleVersion=1.0.1 connectorName=net.tirasa.connid.bundles.azure.AzureConnector ) to Local Conn
> ector Info Manager from file:/opt/syncope/bundles/net.tirasa.connid.bundles.azure-1.0.1.jar Method: lambda$null$3
> 08:04:04.629 INFO Add ConnectorInfo ConnectorKey( bundleName=net.tirasa.connid.bundles.scimv11 bundleVersion=1.0.1 connectorName=net.tirasa.connid.bundles.scimv11.SCIMv11Connector ) to Loca
> l Connector Info Manager from file:/opt/syncope/bundles/net.tirasa.connid.bundles.scimv11-1.0.1.jar Method: lambda$null$3
> 08:04:04.644 INFO Add ConnectorInfo ConnectorKey( bundleName=net.tirasa.connid.bundles.servicenow bundleVersion=1.0.0 connectorName=net.tirasa.connid.bundles.servicenow.SNConnector ) to Loc
> al Connector Info Manager from file:/opt/syncope/bundles/net.tirasa.connid.bundles.servicenow-1.0.0.jar Method: lambda$null$3
>
>
> The core-persistence.log is
>
> 08:03:57.754 INFO org.apache.syncope.core.persistence.jpa.spring.DomainEntityManagerFactoryBean - Initialized JPA EntityManagerFactory for persistence unit 'Master'
> 08:04:02.302 INFO org.apache.syncope.core.persistence.jpa.content.AbstractContentDealer - [Master] Data found in the database, leaving untouched
> 08:04:05.334 INFO org.apache.syncope.core.persistence.jpa.spring.DomainEntityManagerFactoryBean - Closing JPA EntityManagerFactory for persistence unit 'Master'
>
>
> The core rest log is where the error was
>
> 8:03:55.283 INFO org.springframework.web.context.ContextLoader - Root WebApplicationContext: initialization started
> 08:04:05.317 WARN org.springframework.web.context.support.XmlWebApplicationContext - Exception encountered during context initialization - cancelling refresh attempt: org.springframework.be
> ans.factory.BeanCreationException: Error creating bean with name 'logicInitializer' defined in URL [jar:file:/var/lib/tomcat/webapps/syncope/WEB-INF/lib/syncope-core-logic-2.1.4.jar!/org/apa
> che/syncope/core/logic/init/LogicInitializer.class]: Invocation of init method failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with n
> ame 'org.springframework.validation.beanvalidation.LocalValidatorFactoryBean#0' defined in URL [jar:file:/var/lib/tomcat/webapps/syncope/WEB-INF/lib/syncope-core-persistence-jpa-2.1.4.jar!/p
> ersistenceContext.xml]: Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError: javax/el/ELManager
> 08:04:05.344 ERROR org.springframework.web.context.ContextLoader - Context initialization failed
> org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'logicInitializer' defined in URL [jar:file:/var/lib/tomcat/webapps/syncope/WEB-INF/lib/syncope-core-lo
> gic-2.1.4.jar!/org/apache/syncope/core/logic/init/LogicInitializer.class]: Invocation of init method failed; nested exception is org.springframework.beans.factory.BeanCreationException: Erro
> r creating bean with name 'org.springframework.validation.beanvalidation.LocalValidatorFactoryBean#0' defined in URL [jar:file:/var/lib/tomcat/webapps/syncope/WEB-INF/lib/syncope-core-persis
> tence-jpa-2.1.4.jar!/persistenceContext.xml]: Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError: javax/el/ELManager
> at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1778) ~[spring-beans-5.1.6.RELEASE.jar:5.1.6.RE
> LEASE]
> at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:593) ~[spring-beans-5.1.6.RELEASE.jar:5.1.6.RELEA
> SE]
> at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:515) ~[spring-beans-5.1.6.RELEASE.jar:5.1.6.RELEASE
> ]
> at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:320) ~[spring-beans-5.1.6.RELEASE.jar:5.1.6.RELEASE]
> at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) ~[spring-beans-5.1.6.RELEASE.jar:5.1.6.RELEASE]
> at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:318) ~[spring-beans-5.1.6.RELEASE.jar:5.1.6.RELEASE]
>
>
>
>
> 3480 Preston Ridge Road
> Suite 450
> Alpharetta, GA 30005
>
> Philip W. Dalrymple III <pw...@mdtsoft.com>
> MDT Software - Automation Management Company
> +1 678 297 1001
> Fax +1 678 297 1003
>
> ________________________________________
> From: Andrea Patricelli <an...@apache.org>
> Sent: Thursday, September 12, 2019 8:18
> To: user@syncope.apache.org
> Subject: Re: Syncope trying to deploy using Maven and not getting login
>
> Hi Philip,
>
> Logs attached are not enough to understand what is the problem.
> Did you check also core-persistence.log, core-rest.log and core-connid.log files? They should be under /opt/syncope/log/.
>
> Moreover has the database been populated with Syncope tables? For example you can check the presence of syncopeuser table.
>
> Best regards,
> Andrea
>
> Il 12/09/19 14:05, Dalrymple, Philip ha scritto:
>
> Having the domains directory in /opt/syncope/conf did not help.
>
> It does not appear that there are any changes in the logs (other than the times)
>
>
> --
> This email, and any files transmitted with it, are confidential
> and intended solely for the use of the individual or entity to
> whom they are addressed. If you have received this email in error,
> please advise postmaster@mdtsoft.com<ma...@mdtsoft.com> <ma...@mdtsoft.com>.
>
> 3480 Preston Ridge Road
> Suite 450
> Alpharetta, GA 30005
>
> Philip W. Dalrymple III <pw...@mdtsoft.com>
> MDT Software - Automation Management Company
> +1 678 297 1001
> Fax +1 678 297 1003
>
> ________________________________________
> From: Dalrymple, Philip <pw...@mdtsoft.com>
> Sent: Thursday, September 12, 2019 7:55
> To: user@syncope.apache.org<ma...@syncope.apache.org>
> Subject: Re: Syncope trying to deploy using Maven and not getting login
>
> OK went off and did a source build to help me understand and I will need
> to, at some point, get into that.
>
> I cleaned out the DB and undeployed the three applications and then re-deployed
> them.
>
> Still, no luck.
> ~ tree /opt/syncope/conf
> /opt/syncope/conf
> |-- connid.properties
> |-- console.properties
> |-- customFormAttributes.json
> |-- customTemplate.json
> |-- enduser.properties
> |-- logic.properties
> |-- mail.properties
> |-- persistence.properties
> |-- provisioning.properties
> `-- security.properties
>
> with no domain in it (I may putting that in the /opt/syncope/conf)
>
> the logs have the following (snip for thing that repeat)
>
> 07:53:12.491 INFO org.springframework.security.core.SpringSecurityCoreVersion - You are running with Spring Security Core 5.1.5.RELEASE
> 07:53:12.494 INFO org.springframework.security.config.SecurityNamespaceHandler - Spring Security 'config' module version is 5.1.5.RELEASE
> 07:53:12.514 INFO org.springframework.security.config.method.GlobalMethodSecurityBeanDefinitionParser - Expressions were enabled for method security but no SecurityExpressionHandler was configured. All hasPermision() expressions will evaluate to false.
> 07:53:12.556 INFO org.springframework.security.config.http.HttpSecurityBeanDefinitionParser - Checking sorted filter chain: [Root bean: class [org.springframework.security.web.context.SecurityContextPersistenceFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 200, Root bean: class [org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 400, <jwtAuthenticationFilter>, order = 1799, Root bean: class [org.springframework.security.web.authentication.www.BasicAuthenticationFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 1800, Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=org.springframework.security.config.http.HttpConfigurationBuilder$SecurityContextHolderAwareRequestFilterBeanFactory#0; factoryMethodName=getBean; initMethodName=null; destroyMethodName=null, order = 2000, Root bean: class [org.springframework.security.web.authentication.AnonymousAuthenticationFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 2300, Root bean: class [org.springframework.security.web.access.ExceptionTranslationFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 2500, <mustChangePasswordFilter>, order = 2599, <org.springframework.security.web.access.intercept.FilterSecurityInterceptor#0>, order = 2600]
> 07:53:14.055 INFO org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor - Initializing ExecutorService
> 07:53:14.055 INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'asyncConnectorFacadeExecutor' of type [org.springframework.scheduling.config.TaskExecutorFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
> 07:53:14.055 INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'asyncConnectorFacadeExecutor' of type [org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
> 07:53:14.696 WARN openjpa.Runtime - An error occurred while registering a ClassTransformer with PersistenceUnitInfo: name 'Master', root URL [file:/var/lib/tomcat/webapps/syncope/WEB-INF/lib/syncope-core-persistence-jpa-2.1.4.jar]. The error has been consumed. To see it, set your openjpa.Runtime log level to TRACE. Load-time class transformation will not be available.
> 07:53:14.860 INFO org.springframework.security.web.DefaultSecurityFilterChain - Creating filter chain: any request, [org.springframework.security.web.context.SecurityContextPersistenceFilter@551267bf]
> 07:53:15.440 INFO org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor - Initializing ExecutorService
> 07:53:15.624 INFO org.apache.syncope.core.provisioning.java.job.SchedulerDBInit - No Quartz tables found, creating
> 07:53:15.835 INFO org.quartz.impl.StdSchedulerFactory - Using default implementation for ThreadExecutor
> 07:53:15.861 INFO org.quartz.core.SchedulerSignalerImpl - Initialized Scheduler Signaller of type: class org.quartz.core.SchedulerSignalerImpl
> 07:53:15.861 INFO org.quartz.core.QuartzScheduler - Quartz Scheduler v.2.3.1 created.
> 07:53:15.865 INFO org.springframework.scheduling.quartz.LocalDataSourceJobStore - Using db table-based data access locking (synchronization).
> 07:53:15.868 INFO org.springframework.scheduling.quartz.LocalDataSourceJobStore - JobStoreCMT initialized.
> 07:53:15.874 INFO org.quartz.core.QuartzScheduler - Scheduler meta-data: Quartz Scheduler (v2.3.1) 'ClusteredScheduler' with instanceId 'gluu-prs9.mdtsoft.com1568289195837'
> Scheduler class: 'org.quartz.core.QuartzScheduler' - running locally.
> NOT STARTED.
> Currently in standby mode.
> Number of jobs executed: 0
> Using thread pool 'org.quartz.simpl.SimpleThreadPool' - with 10 threads.
> Using job-store 'org.springframework.scheduling.quartz.LocalDataSourceJobStore' - which supports persistence. and is clustered.
>
> 07:53:15.874 INFO org.quartz.impl.StdSchedulerFactory - Quartz scheduler 'ClusteredScheduler' initialized from an externally provided properties instance.
> 07:53:15.874 INFO org.quartz.impl.StdSchedulerFactory - Quartz scheduler version: 2.3.1
> 07:53:15.874 INFO org.quartz.core.QuartzScheduler - JobFactory set to: org.apache.syncope.core.provisioning.java.job.AutowiringSpringBeanJobFactory@414ca8cc
> 07:53:15.879 INFO openjpa.Runtime - Starting OpenJPA 3.1.0
> 07:53:15.914 INFO openjpa.jdbc.JDBC - Using dictionary class "org.apache.openjpa.jdbc.sql.PostgresDictionary".
> 07:53:15.973 INFO openjpa.jdbc.JDBC - Connected to PostgreSQL version 11.11 using JDBC driver PostgreSQL JDBC Driver version 42.2.6.
> 07:53:16.314 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.group.JPAGroup". Ignoring.
> 07:53:16.314 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.group.JPATypeExtension". Ignoring.
> 07:53:16.314 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.user.JPAURelationship". Ignoring.
> 07:53:16.314 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.anyobject.JPAADynGroupMembership". Ignoring.
> 07:53:16.314 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.anyobject.JPAARelationship". Ignoring.
> 07:53:16.314 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.anyobject.JPAAPlainAttrUniqueValue". Ignoring.
> 07:53:16.314 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.user.JPAUPlainAttrUniqueValue". Ignoring.
> 07:53:16.314 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.group.JPAGPlainAttrUniqueValue". Ignoring.
> 07:53:16.315 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.conf.JPACPlainAttrUniqueValue". Ignoring.
> 07:53:16.350 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.group.JPAGroup". Ignoring.
> 07:53:16.350 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.group.JPATypeExtension". Ignoring.
> 07:53:16.351 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.user.JPAURelationship". Ignoring.
> 07:53:16.351 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.anyobject.JPAAMembership". Ignoring.
> 07:53:16.351 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.anyobject.JPAADynGroupMembership". Ignoring.
> 07:53:16.351 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.anyobject.JPAARelationship". Ignoring.
> 07:53:16.351 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.anyobject.JPAAPlainAttrUniqueValue". Ignoring.
> 07:53:16.351 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.user.JPAUPlainAttrUniqueValue". Ignoring.
> 07:53:16.351 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.group.JPAGPlainAttrUniqueValue". Ignoring.
> 07:53:16.351 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.conf.JPACPlainAttrUniqueValue". Ignoring.
> 07:53:16.361 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.group.JPAGroup". Ignoring.
> 07:53:16.361 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.group.JPATypeExtension". Ignoring.
> 07:53:16.361 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.user.JPAUDynGroupMembership". Ignoring.
> 07:53:16.361 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.user.JPAURelationship". Ignoring.
> 07:53:16.361 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.anyobject.JPAAMembership". Ignoring.
> 07:53:16.361 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.anyobject.JPAADynGroupMembership". Ignoring.
> 07:53:16.361 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.anyobject.JPAARelationship". Ignoring.
> 07:53:16.362 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.anyobject.JPAAPlainAttrUniqueValue". Ignoring.
> 07:53:16.362 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.user.JPAUPlainAttrUniqueValue". Ignoring.
> 07:53:16.362 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.group.JPAGPlainAttrUniqueValue". Ignoring.
> 07:53:16.362 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.conf.JPACPlainAttrUniqueValue". Ignoring.
> 07:53:16.370 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.group.JPAGroup". Ignoring.
> 07:53:16.371 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.group.JPATypeExtension". Ignoring.
> 07:53:16.371 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.user.JPAUMembership". Ignoring.
> 07:53:16.371 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.user.JPAUDynGroupMembership". Ignoring.
> 07:53:16.371 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.user.JPAURelationship". Ignoring.
>
> --------snip-------------------
>
>
> 07:53:22.087 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.anyobject.JPAAPlainAttrUniqueValue". Ignoring.
> 07:53:22.087 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.user.JPAUPlainAttrUniqueValue". Ignoring.
> 07:53:22.087 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.group.JPAGPlainAttrUniqueValue". Ignoring.
> 07:53:22.087 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.conf.JPACPlainAttrUniqueValue". Ignoring.
> 07:53:22.653 INFO org.springframework.scheduling.quartz.SchedulerFactoryBean - Shutting down Quartz Scheduler
> 07:53:22.653 INFO org.quartz.core.QuartzScheduler - Scheduler ClusteredScheduler_$_gluu-prs9.mdtsoft.com1568289195837 shutting down.
> 07:53:22.653 INFO org.quartz.core.QuartzScheduler - Scheduler ClusteredScheduler_$_gluu-prs9.mdtsoft.com1568289195837 paused.
> 07:53:22.857 INFO org.quartz.core.QuartzScheduler - Scheduler unregistered from name 'quartz:type=QuartzScheduler,name=ClusteredScheduler,instance=gluu-prs9.mdtsoft.com1568289195837' in the local MBeanServer.
> 07:53:22.857 INFO org.quartz.core.QuartzScheduler - Scheduler ClusteredScheduler_$_gluu-prs9.mdtsoft.com1568289195837 shutdown complete.
> 07:53:22.859 INFO org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor - Shutting down ExecutorService
> 07:53:22.869 INFO org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor - Shutting down ExecutorService
>
> I get clean logs with no errors.
>
> my config directory is
>
>
>
>
> --
> This email, and any files transmitted with it, are confidential
> and intended solely for the use of the individual or entity to
> whom they are addressed. If you have received this email in error,
> please advise postmaster@mdtsoft.com<ma...@mdtsoft.com> <ma...@mdtsoft.com>.
>
> 3480 Preston Ridge Road
> Suite 450
> Alpharetta, GA 30005
>
> Philip W. Dalrymple III <pw...@mdtsoft.com>
> MDT Software - Automation Management Company
> +1 678 297 1001
> Fax +1 678 297 1003
>
> ________________________________________
> From: Andrea Patricelli <an...@apache.org>
> Sent: Friday, September 6, 2019 4:20
> To: user@syncope.apache.org<ma...@syncope.apache.org>
> Subject: Re: Syncope trying to deploy using Maven and not getting login
>
> Hi Philip,
>
> in order to make a correct deploy on your application server follow [2].
>
> As the warning in the doc states:
>
> Be sure to put the corresponding JDBC driver JAR file under $CATALINA_HOME/lib for each datasource defined.
>
> You should provide postgres driver to Syncope by putting it into Tomcat lib folder.
>
> About the maven buld error: did you give the correct r/w permissions to /opt/syncope/buldles directory? If you want more info about the build please add the -X option to your maven build command.
>
> Best regards,
> Andrea
>
> [2] https://syncope.apache.org/docs/2.1/reference-guide.html#apache-tomcat-9
>
> Il 05/09/19 16:38, Dalrymple, Philip ha scritto:
>
> OK I had one issue in that to make it work my build script needed to look like
>
> #!/bin/bash
>
> cd syncope
>
> sudo mkdir -p /opt/syncope/bundles
> sudo mkdir -p /opt/syncope/log
> sudo chmod 0777 /opt/syncope/log
> sudo mkdir -p /opt/syncope/conf
>
> # mvn clean verify \
> # -Dconf.directory=/opt/syncope/conf \
> # -Dbundles.directory=/opt/syncope/bundles \
> # -Dlog.directory=/opt/syncope/log
>
> mvn clean verify \
> -Dconf.directory=/opt/syncope/conf \
> -Dlog.directory=/opt/syncope/log
>
>
> sudo cp core/target/classes/*properties /opt/syncope/conf
> sudo cp console/target/classes/*properties /opt/syncope/conf
> sudo cp enduser/target/classes/*properties /opt/syncope/conf
> sudo cp enduser/target/classes/customFormAttributes.json /opt/syncope/conf
> sudo cp enduser/target/classes/customTemplate.json /opt/syncope/conf
>
> i.e. not changing the bundles directory (which I want to do as I want to build in
> the bundles into the war files).
>
> When I do that I DO get logs (in /opt/syncope/log) Looks like I don't have the postgres dirver.
> I checked and the
> core/target/classes/provisioning.properties
>
> already had the changes for postgres
>
> ? syncope git:(master) ? more /opt/syncope/log/core.log
> 10:22:58.367 INFO org.springframework.security.core.SpringSecurityCoreVersion - You are running with Spring Security Core 5.1.5.RELEASE
> 10:22:58.370 INFO org.springframework.security.config.SecurityNamespaceHandler - Spring Security 'config' module version is 5.1.5.RELEASE
> 10:22:58.391 INFO org.springframework.security.config.method.GlobalMethodSecurityBeanDefinitionParser - Expressions were enabled for method security but no SecurityExpressionHandle
> r was configured. All hasPermision() expressions will evaluate to false.
> 10:22:58.437 INFO org.springframework.security.config.http.HttpSecurityBeanDefinitionParser - Checking sorted filter chain: [Root bean: class [org.springframework.security.web.cont
> ext.SecurityContextPersistenceFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factor
> yMethodName=null; initMethodName=null; destroyMethodName=null, order = 200, Root bean: class [org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter
> ]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=nul
> l; destroyMethodName=null, order = 400, <jwtAuthenticationFilter>, order = 1799, Root bean: class [org.springframework.security.web.authentication.www.BasicAuthenticationFilter]; sc
> ope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; de
> stroyMethodName=null, order = 1800, Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factor
> yBeanName=org.springframework.security.config.http.HttpConfigurationBuilder$SecurityContextHolderAwareRequestFilterBeanFactory#0; factoryMethodName=getBean; initMethodName=null; des
> troyMethodName=null, order = 2000, Root bean: class [org.springframework.security.web.authentication.AnonymousAuthenticationFilter]; scope=; abstract=false; lazyInit=false; autowire
> Mode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 2300, Root bean:
> class [org.springframework.security.web.access.ExceptionTranslationFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; prima
> ry=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 2500, <mustChangePasswordFilter>, order = 2599, <org.springframework.sec
> urity.web.access.intercept.FilterSecurityInterceptor#0>, order = 2600]
> 10:23:00.130 INFO org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor - Initializing ExecutorService
> 10:23:00.130 INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'asyncConnectorFacadeExecutor' of type [org.springframework.
> scheduling.config.TaskExecutorFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
> 10:23:00.130 INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'asyncConnectorFacadeExecutor' of type [org.springframework.
> scheduling.concurrent.ThreadPoolTaskExecutor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
> 10:23:00.394 ERROR com.zaxxer.hikari.HikariConfig - Failed to load driver class org.postgresql.Driver from HikariConfig class classloader WebappClassLoader
> context: /syncope
> delegate: false
> repositories:
> /WEB-INF/classes/
> ----------> Parent Classloader:
> java.net.URLClassLoader@7a81197d
>
> 10:23:00.444 ERROR com.zaxxer.hikari.HikariConfig - Failed to load driver class org.postgresql.Driver from HikariConfig class classloader WebappClassLoader
> context: /syncope
> delegate: false
> repositories:
> /WEB-INF/classes/
> ----------> Parent Classloader:
> java.net.URLClassLoader@7a81197d
>
> 10:23:00.445 INFO org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor - Shutting down ExecutorService
> 10:23:18.326 INFO org.springframework.security.core.SpringSecurityCoreVersion - You are running with Spring Security Core 5.1.5.RELEASE
> 10:23:18.329 INFO org.springframework.security.config.SecurityNamespaceHandler - Spring Security 'config' module version is 5.1.5.RELEASE
> 10:23:18.349 INFO org.springframework.security.config.method.GlobalMethodSecurityBeanDefinitionParser - Expressions were enabled for method security but no SecurityExpressionHandle
> r was configured. All hasPermision() expressions will evaluate to false.
> 10:23:18.395 INFO org.springframework.security.config.http.HttpSecurityBeanDefinitionParser - Checking sorted filter chain: [Root bean: class [org.springframework.security.web.cont
> ext.SecurityContextPersistenceFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factor
> yMethodName=null; initMethodName=null; destroyMethodName=null, order = 200, Root bean: class [org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter
> ]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=nul
> l; destroyMethodName=null, order = 400, <jwtAuthenticationFilter>, order = 1799, Root bean: class [org.springframework.security.web.authentication.www.BasicAuthenticationFilter]; sc
> ope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; de
> stroyMethodName=null, order = 1800, Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factor
> yBeanName=org.springframework.security.config.http.HttpConfigurationBuilder$SecurityContextHolderAwareRequestFilterBeanFactory#0; factoryMethodName=getBean; initMethodName=null; des
> troyMethodName=null, order = 2000, Root bean: class [org.springframework.security.web.authentication.AnonymousAuthenticationFilter]; scope=; abstract=false; lazyInit=false; autowire
> Mode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 2300, Root bean:
> class [org.springframework.security.web.access.ExceptionTranslationFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; prima
> ry=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 2500, <mustChangePasswordFilter>, order = 2599, <org.springframework.sec
> urity.web.access.intercept.FilterSecurityInterceptor#0>, order = 2600]
> 10:23:20.012 INFO org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor - Initializing ExecutorService
> 10:23:20.012 INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'asyncConnectorFacadeExecutor' of type [org.springframework.
> scheduling.config.TaskExecutorFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
> 10:23:20.012 INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'asyncConnectorFacadeExecutor' of type [org.springframework.
> scheduling.concurrent.ThreadPoolTaskExecutor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
> 10:23:20.285 ERROR com.zaxxer.hikari.HikariConfig - Failed to load driver class org.postgresql.Driver from HikariConfig class classloader WebappClassLoader
> context: /syncope
> delegate: false
> repositories:
> /WEB-INF/classes/
> ----------> Parent Classloader:
> java.net.URLClassLoader@7a81197d
>
> 10:23:20.337 ERROR com.zaxxer.hikari.HikariConfig - Failed to load driver class org.postgresql.Driver from HikariConfig class classloader WebappClassLoader
> context: /syncope
> delegate: false
> repositories:
> /WEB-INF/classes/
> ----------> Parent Classloader:
> java.net.URLClassLoader@7a81197d
>
> 10:23:20.338 INFO org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor - Shutting down ExecutorService
> 10:23:32.831 INFO org.springframework.security.core.SpringSecurityCoreVersion - You are running with Spring Security Core 5.1.5.RELEASE
> 10:23:32.835 INFO org.springframework.security.config.SecurityNamespaceHandler - Spring Security 'config' module version is 5.1.5.RELEASE
> 10:23:32.859 INFO org.springframework.security.config.method.GlobalMethodSecurityBeanDefinitionParser - Expressions were enabled for method security but no SecurityExpressionHandle
> r was configured. All hasPermision() expressions will evaluate to false.
> 10:23:32.910 INFO org.springframework.security.config.http.HttpSecurityBeanDefinitionParser - Checking sorted filter chain: [Root bean: class [org.springframework.security.web.cont
> ext.SecurityContextPersistenceFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factor
> yMethodName=null; initMethodName=null; destroyMethodName=null, order = 200, Root bean: class [org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter
> ]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=nul
> l; destroyMethodName=null, order = 400, <jwtAuthenticationFilter>, order = 1799, Root bean: class [org.springframework.security.web.authentication.www.BasicAuthenticationFilter]; sc
> ope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; de
> stroyMethodName=null, order = 1800, Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factor
> yBeanName=org.springframework.security.config.http.HttpConfigurationBuilder$SecurityContextHolderAwareRequestFilterBeanFactory#0; factoryMethodName=getBean; initMethodName=null; des
> troyMethodName=null, order = 2000, Root bean: class [org.springframework.security.web.authentication.AnonymousAuthenticationFilter]; scope=; abstract=false; lazyInit=false; autowire
> Mode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 2300, Root bean:
> class [org.springframework.security.web.access.ExceptionTranslationFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; prima
> ry=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 2500, <mustChangePasswordFilter>, order = 2599, <org.springframework.sec
> urity.web.access.intercept.FilterSecurityInterceptor#0>, order = 2600]
> 10:23:34.490 INFO org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor - Initializing ExecutorService
> 10:23:34.490 INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'asyncConnectorFacadeExecutor' of type [org.springframework.
> scheduling.config.TaskExecutorFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
> 10:23:34.490 INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'asyncConnectorFacadeExecutor' of type [org.springframework.
> scheduling.concurrent.ThreadPoolTaskExecutor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
> 10:23:34.757 ERROR com.zaxxer.hikari.HikariConfig - Failed to load driver class org.postgresql.Driver from HikariConfig class classloader WebappClassLoader
> context: /syncope
> delegate: false
> repositories:
> /WEB-INF/classes/
> ----------> Parent Classloader:
> java.net.URLClassLoader@7a81197d
>
> 10:23:34.809 ERROR com.zaxxer.hikari.HikariConfig - Failed to load driver class org.postgresql.Driver from HikariConfig class classloader WebappClassLoader
> context: /syncope
> delegate: false
> repositories:
> /WEB-INF/classes/
> ----------> Parent Classloader:
> java.net.URLClassLoader@7a81197d
>
> 10:23:34.810 INFO org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor - Shutting down ExecutorService
>
> if I left in the bundles I get the following error:
>
> ? syncope git:(master) ? mvn clean verify \
>
>
> -Dconf.directory=/opt/syncope/conf \
> -Dbundles.directory=/opt/syncope/bundles \
> -Dlog.directory=/opt/syncope/log
>
>
> [INFO] Scanning for projects...
> [INFO] ------------------------------------------------------------------------
> [INFO] Reactor Build Order:
> [INFO]
> [INFO] Apache Syncope sample project
> [INFO] Apache Syncope sample project - Common
> [INFO] Apache Syncope sample project - Core
> [INFO] Apache Syncope sample project - Console
> [INFO] Apache Syncope sample project - Enduser
> [INFO]
> [INFO] ------------------------------------------------------------------------
> [INFO] Building Apache Syncope sample project 1.0-SNAPSHOT
> [INFO] ------------------------------------------------------------------------
> [INFO]
> [INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ syncope ---
> [INFO] Deleting /home/pwd/src/EIandAS/syncope/target
> [INFO]
> [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven-version) @ syncope ---
> [INFO]
> [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven) @ syncope ---
> [INFO]
> [INFO] --- gmaven-plugin:1.5:execute (default) @ syncope ---
> [INFO]
> [INFO] --- maven-remote-resources-plugin:1.5:process (process-resource-bundles) @ syncope ---
> [INFO]
> [INFO] --- maven-resources-plugin:3.1.0:copy-resources (copy-artifact-legal-files) @ syncope ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 0 resource
> [INFO]
> [INFO] --- maven-resources-plugin:3.1.0:copy-resources (copy-javadoc-legal-files) @ syncope ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 0 resource
> [INFO]
> [INFO] --- jacoco-maven-plugin:0.8.3:prepare-agent (jacoco-agent-ut) @ syncope ---
> [INFO] argLine set to -javaagent:/home/pwd/.m2/repository/org/jacoco/org.jacoco.agent/0.8.3/org.jacoco.agent-0.8.3-runtime.jar=destfile=/home/pwd/src/EIandAS/syncope/target/jacoco.ut.exec,append=true -Xms512m -Xmx1024m -Xss256k
> [INFO]
> [INFO] --- maven-site-plugin:3.7.1:attach-descriptor (attach-descriptor) @ syncope ---
> [INFO] No site descriptor found: nothing to attach.
> [INFO]
> [INFO] --- jacoco-maven-plugin:0.8.3:prepare-agent-integration (jacoco-agent-it) @ syncope ---
> [INFO] argLine set to -javaagent:/home/pwd/.m2/repository/org/jacoco/org.jacoco.agent/0.8.3/org.jacoco.agent-0.8.3-runtime.jar=destfile=/home/pwd/src/EIandAS/syncope/target/jacoco.it.exec,append=true -Xms512m -Xmx1024m -Xss256k
> [INFO]
> [INFO] --- modernizer-maven-plugin:1.8.0:modernizer (modernizer-check) @ syncope ---
> [INFO]
> [INFO] --- maven-checkstyle-plugin:3.0.0:check (checkstyle-check) @ syncope ---
> [INFO]
> [INFO] --- jacoco-maven-plugin:0.8.3:report-aggregate (jacoco-site) @ syncope ---
> [INFO]
> [INFO] --- apache-rat-plugin:0.12:check (rat-check) @ syncope ---
> [INFO] RAT will not execute since it is configured to be skipped via system property 'rat.skip'.
> [INFO]
> [INFO] ------------------------------------------------------------------------
> [INFO] Building Apache Syncope sample project - Common 1.0-SNAPSHOT
> [INFO] ------------------------------------------------------------------------
> [INFO]
> [INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ syncope-common ---
> [INFO] Deleting /home/pwd/src/EIandAS/syncope/common/target
> [INFO]
> [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven-version) @ syncope-common ---
> [INFO]
> [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven) @ syncope-common ---
> [INFO]
> [INFO] --- gmaven-plugin:1.5:execute (default) @ syncope-common ---
> [INFO]
> [INFO] --- maven-remote-resources-plugin:1.5:process (process-resource-bundles) @ syncope-common ---
> [INFO]
> [INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ syncope-common ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 0 resource
> [INFO] Copying 3 resources
> [INFO]
> [INFO] --- maven-resources-plugin:3.1.0:copy-resources (copy-artifact-legal-files) @ syncope-common ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 0 resource
> [INFO]
> [INFO] --- maven-resources-plugin:3.1.0:copy-resources (copy-javadoc-legal-files) @ syncope-common ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 0 resource
> [INFO]
> [INFO] --- maven-compiler-plugin:3.8.0:compile (default-compile) @ syncope-common ---
> [INFO] No sources to compile
> [INFO]
> [INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ syncope-common ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 0 resource
> [INFO] Copying 3 resources
> [INFO]
> [INFO] --- maven-compiler-plugin:3.8.0:testCompile (default-testCompile) @ syncope-common ---
> [INFO] No sources to compile
> [INFO]
> [INFO] --- jacoco-maven-plugin:0.8.3:prepare-agent (jacoco-agent-ut) @ syncope-common ---
> [INFO] argLine set to -javaagent:/home/pwd/.m2/repository/org/jacoco/org.jacoco.agent/0.8.3/org.jacoco.agent-0.8.3-runtime.jar=destfile=/home/pwd/src/EIandAS/syncope/common/target/jacoco.ut.exec,append=true -Xms512m -Xmx1024m -Xss256k
> [INFO]
> [INFO] --- maven-surefire-plugin:2.22.1:test (default-test) @ syncope-common ---
> [INFO]
> [INFO] --- maven-jar-plugin:3.1.1:jar (default-jar) @ syncope-common ---
> [INFO] Building jar: /home/pwd/src/EIandAS/syncope/common/target/syncope-common-1.0-SNAPSHOT.jar
> [INFO]
> [INFO] --- maven-site-plugin:3.7.1:attach-descriptor (attach-descriptor) @ syncope-common ---
> [INFO] Skipping because packaging 'jar' is not pom.
> [INFO]
> [INFO] --- jacoco-maven-plugin:0.8.3:prepare-agent-integration (jacoco-agent-it) @ syncope-common ---
> [INFO] argLine set to -javaagent:/home/pwd/.m2/repository/org/jacoco/org.jacoco.agent/0.8.3/org.jacoco.agent-0.8.3-runtime.jar=destfile=/home/pwd/src/EIandAS/syncope/common/target/jacoco.it.exec,append=true -Xms512m -Xmx1024m -Xss256k
> [INFO]
> [INFO] --- modernizer-maven-plugin:1.8.0:modernizer (modernizer-check) @ syncope-common ---
> [INFO]
> [INFO] --- maven-checkstyle-plugin:3.0.0:check (checkstyle-check) @ syncope-common ---
> [INFO]
> [INFO] --- jacoco-maven-plugin:0.8.3:report-aggregate (jacoco-site) @ syncope-common ---
> [INFO]
> [INFO] --- apache-rat-plugin:0.12:check (rat-check) @ syncope-common ---
> [INFO] RAT will not execute since it is configured to be skipped via system property 'rat.skip'.
> [INFO]
> [INFO] ------------------------------------------------------------------------
> [INFO] Building Apache Syncope sample project - Core 1.0-SNAPSHOT
> [INFO] ------------------------------------------------------------------------
> [INFO]
> [INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ syncope-core ---
> [INFO] Deleting /home/pwd/src/EIandAS/syncope/core/target
> [INFO]
> [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven-version) @ syncope-core ---
> [INFO]
> [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven) @ syncope-core ---
> [INFO]
> [INFO] --- gmaven-plugin:1.5:execute (default) @ syncope-core ---
> [INFO]
> [INFO] --- maven-remote-resources-plugin:1.5:process (process-resource-bundles) @ syncope-core ---
> [INFO]
> [INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ syncope-core ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 32 resources
> [INFO] Copying 3 resources
> [INFO]
> [INFO] --- maven-resources-plugin:3.1.0:copy-resources (copy-artifact-legal-files) @ syncope-core ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 0 resource
> [INFO]
> [INFO] --- maven-resources-plugin:3.1.0:copy-resources (copy-javadoc-legal-files) @ syncope-core ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 0 resource
> [INFO]
> [INFO] --- maven-compiler-plugin:3.8.0:compile (default-compile) @ syncope-core ---
> [INFO] No sources to compile
> [INFO]
> [INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ syncope-core ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 26 resources
> [INFO] Copying 1 resource
> [INFO] Copying 3 resources
> [INFO]
> [INFO] --- maven-dependency-plugin:3.1.1:copy (set-bundles) @ syncope-core ---
> [INFO] Configured Artifact: net.tirasa.connid.bundles.soap:net.tirasa.connid.bundles.soap:1.4.3:jar
> [INFO] Configured Artifact: net.tirasa.connid.bundles:net.tirasa.connid.bundles.rest:1.0.4:jar
> [INFO] Configured Artifact: net.tirasa.connid.bundles:net.tirasa.connid.bundles.csvdir:0.8.8:jar
> [INFO] Configured Artifact: net.tirasa.connid.bundles.db:net.tirasa.connid.bundles.db.table:2.2.6:jar
> [INFO] Configured Artifact: net.tirasa.connid.bundles.db:net.tirasa.connid.bundles.db.scriptedsql:2.2.6:jar
> [INFO] Configured Artifact: net.tirasa.connid.bundles:net.tirasa.connid.bundles.ldap:1.5.3:jar
> [INFO] Configured Artifact: net.tirasa.connid.bundles:net.tirasa.connid.bundles.ad:1.3.6:jar
> [INFO] Configured Artifact: net.tirasa.connid.bundles:net.tirasa.connid.bundles.googleapps:1.4.2:jar
> [INFO] Configured Artifact: net.tirasa.connid.bundles:net.tirasa.connid.bundles.azure:1.0.1:jar
> [INFO] Configured Artifact: net.tirasa.connid.bundles:net.tirasa.connid.bundles.scimv11:1.0.1:jar
> [INFO] Configured Artifact: net.tirasa.connid.bundles:net.tirasa.connid.bundles.servicenow:1.0.0:jar
> [INFO] Copying net.tirasa.connid.bundles.soap-1.4.3.jar to /opt/syncope/bundles/net.tirasa.connid.bundles.soap-1.4.3.jar
> [INFO] ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO]
> [INFO] Apache Syncope sample project ..................... SUCCESS [4.310s]
> [INFO] Apache Syncope sample project - Common ............ SUCCESS [1.233s]
> [INFO] Apache Syncope sample project - Core .............. FAILURE [2.534s]
> [INFO] Apache Syncope sample project - Console ........... SKIPPED
> [INFO] Apache Syncope sample project - Enduser ........... SKIPPED
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 8.341s
> [INFO] Finished at: Thu Sep 05 10:29:47 EDT 2019
> [INFO] Final Memory: 48M/628M
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-dependency-plugin:3.1.1:copy (set-bundles) on project syncope-core: Error copying artifact from /home/pwd/.m2/repository/net/tirasa/connid/bundles/soap/net.tirasa.connid.bundles.soap/1.4.3/net.tirasa.connid.bundles.soap-1.4.3.jar to /opt/syncope/bundles/net.tirasa.connid.bundles.soap-1.4.3.jar -> [Help 1]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions, please read the following articles:
> [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
> [ERROR]
> [ERROR] After correcting the problems, you can resume the build with the command
> [ERROR] mvn <goals> -rf :syncope-core
>
>
>
>
>
> --
> This email, and any files transmitted with it, are confidential
> and intended solely for the use of the individual or entity to
> whom they are addressed. If you have received this email in error,
> please advise postmaster@mdtsoft.com<ma...@mdtsoft.com> <ma...@mdtsoft.com>.
>
> 3480 Preston Ridge Road
> Suite 450
> Alpharetta, GA 30005
>
> Philip W. Dalrymple III <pw...@mdtsoft.com>
> MDT Software - Automation Management Company
> +1 678 297 1001
> Fax +1 678 297 1003
>
> ________________________________________
> From: Andrea Patricelli <an...@tirasa.net>
> Sent: Thursday, September 5, 2019 10:07
> To: user@syncope.apache.org<ma...@syncope.apache.org>
> Subject: Re: Syncope trying to deploy using Maven and not getting login
>
> P.S.
>
> About the attached link: please take care to the doc starting from
> documentation at "Deployment directories" section.
>
> Il 05/09/19 16:04, Dalrymple, Philip ha scritto:
>
>
> OK I will give that a go.
>
>
> --
> This email, and any files transmitted with it, are confidential
> and intended solely for the use of the individual or entity to
> whom they are addressed. If you have received this email in error,
> please advise postmaster@mdtsoft.com<ma...@mdtsoft.com> <ma...@mdtsoft.com>.
>
> 3480 Preston Ridge Road
> Suite 450
> Alpharetta, GA 30005
>
> Philip W. Dalrymple III <pw...@mdtsoft.com>
> MDT Software - Automation Management Company
> +1 678 297 1001
> Fax +1 678 297 1003
>
> ________________________________________
> From: Andrea Patricelli <an...@apache.org>
> Sent: Thursday, September 5, 2019 10:03
> To: user@syncope.apache.org<ma...@syncope.apache.org>
> Subject: Re: Syncope trying to deploy using Maven and not getting login
>
> Ok, maybe I got your first problem.
>
> Please follow this [1]. Basically, in order to do a correct deploy, you
> should build with a special mvn command specifying bundles, logs and
> conf directories and, moreover, in order to let Syncope take correct
> configuration parameters (like for the jdbc connection) copy some of the
> properties files in sources under the specific conf directory.
>
> HTH,
> Andrea
>
> [1] https://syncope.apache.org/docs/2.1/reference-guide.html#customization
>
> Il 05/09/19 15:56, Dalrymple, Philip ha scritto:
>
>
> OK this is weird
>
> I did a
>
> sudo find / -name "*core*.log*" -print
>
> and only find the logs from my first try using docker.
> (was not able to customize well enough and switched to
> maven deleting the docker images)
>
> I will keep looking.
>
>
> --
> This email, and any files transmitted with it, are confidential
> and intended solely for the use of the individual or entity to
> whom they are addressed. If you have received this email in error,
> please advise postmaster@mdtsoft.com<ma...@mdtsoft.com> <ma...@mdtsoft.com>.
>
> 3480 Preston Ridge Road
> Suite 450
> Alpharetta, GA 30005
>
> Philip W. Dalrymple III <pw...@mdtsoft.com>
> MDT Software - Automation Management Company
> +1 678 297 1001
> Fax +1 678 297 1003
>
> ________________________________________
> From: Dalrymple, Philip <pw...@mdtsoft.com>
> Sent: Thursday, September 5, 2019 9:53
> To: user@syncope.apache.org<ma...@syncope.apache.org>
> Subject: Re: Syncope trying to deploy using Maven and not getting login
>
>
> OK I need to find where the logs are.
>
> --
> This email, and any files transmitted with it, are confidential
> and intended solely for the use of the individual or entity to
> whom they are addressed. If you have received this email in error,
> please advise postmaster@mdtsoft.com<ma...@mdtsoft.com> <ma...@mdtsoft.com>.
>
> 3480 Preston Ridge Road
> Suite 450
> Alpharetta, GA 30005
>
> Philip W. Dalrymple III <pw...@mdtsoft.com>
> MDT Software - Automation Management Company
> +1 678 297 1001
> Fax +1 678 297 1003
>
> ________________________________________
> From: Andrea Patricelli <an...@apache.org>
> Sent: Thursday, September 5, 2019 9:52
> To: user@syncope.apache.org<ma...@syncope.apache.org>
> Subject: Re: Syncope trying to deploy using Maven and not getting login
>
> Hi Philip,
>
> you should check core.log, core-rest.log, core-persistence.log and
> core-connid.log files in order to understand what is the problem.
> The NOT FOUND error in console simply means that core is unavailable,
> probably because it failed to start.
>
> Please check for exceptions in core*.log files and attach it into this
> thread.
>
> Best regards,
> Andrea
>
> Il 05/09/19 15:32, Dalrymple, Philip ha scritto:
>
>
> I am trying to deploy Syncope using the Maven method. I have followed the
> instructions in
>
> http://syncope.apache.org/docs/2.1/getting-started.html#maven-project
>
> and then edited core/src/main/resources/domains/Master.properties
>
> to have the correct postgres password, I re-did the mvn clean install
> and placed the war files in my tomcat/webapps directory, they deployed
> without me restarting tomcat.
>
> When I got to http://XXXXX:8080/syncope-console I get a 500 error (see below)
> when I got to .../syncope or .../syncope/index.html or .../syncope-enduser I get a 404 error.
>
> I checked in WEB-INF/classes/persistence.properties (in syncope) and it had the
> correct DB user, host, and password info and I verified that I could connect to the DB BUT
> the DB was empty.
>
> the stack trace on the syncope-console
>
>
> type Exception report
>
> message Unable to instantiate web session class org.apache.syncope.client.console.SyncopeConsoleSession
>
> description The server encountered an internal error that prevented it from fulfilling this request.
>
> exception
>
> org.apache.wicket.WicketRuntimeException: Unable to instantiate web session class org.apache.syncope.client.console.SyncopeConsoleSession
> org.apache.wicket.authroles.authentication.AuthenticatedWebApplication.newSession(AuthenticatedWebApplication.java:121)
> org.apache.wicket.Application.fetchCreateAndSetSession(Application.java:1555)
> org.apache.wicket.Session.get(Session.java:176)
> org.apache.syncope.client.console.SyncopeConsoleSession.get(SyncopeConsoleSession.java:91)
> org.apache.syncope.client.console.SyncopeConsoleRequestCycleListener.onException(SyncopeConsoleRequestCycleListener.java:80)
> org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:126)
> org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:122)
> org.apache.wicket.util.listener.ListenerCollection.notify(ListenerCollection.java:80)
> org.apache.wicket.request.cycle.RequestCycleListenerCollection.onException(RequestCycleListenerCollection.java:121)
> org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:126)
> org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:122)
> org.apache.wicket.util.listener.ListenerCollection.notify(ListenerCollection.java:80)
> org.apache.wicket.request.cycle.RequestCycleListenerCollection.onException(RequestCycleListenerCollection.java:121)
> org.apache.wicket.request.cycle.RequestCycle.handleException(RequestCycle.java:368)
> org.apache.wicket.request.cycle.RequestCycle.executeExceptionRequestHandler(RequestCycle.java:314)
> org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:259)
> org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:221)
> org.apache.wicket.protocol.ws.AbstractUpgradeFilter.processRequestCycle(AbstractUpgradeFilter.java:70)
> org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:206)
> org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:299)
>
> root cause
>
> java.lang.reflect.InvocationTargetException
> sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
> java.lang.reflect.Constructor.newInstance(Constructor.java:423)
> org.apache.wicket.authroles.authentication.AuthenticatedWebApplication.newSession(AuthenticatedWebApplication.java:117)
> org.apache.wicket.Application.fetchCreateAndSetSession(Application.java:1555)
> org.apache.wicket.Session.get(Session.java:176)
> org.apache.syncope.client.console.SyncopeConsoleSession.get(SyncopeConsoleSession.java:91)
> org.apache.syncope.client.console.SyncopeConsoleRequestCycleListener.onException(SyncopeConsoleRequestCycleListener.java:80)
> org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:126)
> org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:122)
> org.apache.wicket.util.listener.ListenerCollection.notify(ListenerCollection.java:80)
> org.apache.wicket.request.cycle.RequestCycleListenerCollection.onException(RequestCycleListenerCollection.java:121)
> org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:126)
> org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:122)
> org.apache.wicket.util.listener.ListenerCollection.notify(ListenerCollection.java:80)
> org.apache.wicket.request.cycle.RequestCycleListenerCollection.onException(RequestCycleListenerCollection.java:121)
> org.apache.wicket.request.cycle.RequestCycle.handleException(RequestCycle.java:368)
> org.apache.wicket.request.cycle.RequestCycle.executeExceptionRequestHandler(RequestCycle.java:314)
> org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:259)
> org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:221)
> org.apache.wicket.protocol.ws.AbstractUpgradeFilter.processRequestCycle(AbstractUpgradeFilter.java:70)
> org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:206)
> org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:299)
>
> root cause
>
> javax.xml.ws.WebServiceException: Remote exception with status code: NOT_FOUND
> org.apache.syncope.client.lib.RestClientExceptionMapper.fromResponse(RestClientExceptionMapper.java:76)
> org.apache.syncope.client.lib.RestClientExceptionMapper.fromResponse(RestClientExceptionMapper.java:42)
> org.apache.cxf.jaxrs.client.ClientProxyImpl.checkResponse(ClientProxyImpl.java:372)
> org.apache.cxf.jaxrs.client.ClientProxyImpl.handleResponse(ClientProxyImpl.java:948)
> org.apache.cxf.jaxrs.client.ClientProxyImpl.doChainedInvocation(ClientProxyImpl.java:854)
> org.apache.cxf.jaxrs.client.ClientProxyImpl.invoke(ClientProxyImpl.java:295)
> com.sun.proxy.$Proxy119.platform(Unknown Source)
> org.apache.syncope.client.console.SyncopeConsoleSession.<init>(SyncopeConsoleSession.java:103)
> sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
> java.lang.reflect.Constructor.newInstance(Constructor.java:423)
> org.apache.wicket.authroles.authentication.AuthenticatedWebApplication.newSession(AuthenticatedWebApplication.java:117)
> org.apache.wicket.Application.fetchCreateAndSetSession(Application.java:1555)
> org.apache.wicket.Session.get(Session.java:176)
> org.apache.syncope.client.console.SyncopeConsoleSession.get(SyncopeConsoleSession.java:91)
> org.apache.syncope.client.console.SyncopeConsoleRequestCycleListener.onException(SyncopeConsoleRequestCycleListener.java:80)
> org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:126)
> org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:122)
> org.apache.wicket.util.listener.ListenerCollection.notify(ListenerCollection.java:80)
> org.apache.wicket.request.cycle.RequestCycleListenerCollection.onException(RequestCycleListenerCollection.java:121)
> org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:126)
> org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:122)
> org.apache.wicket.util.listener.ListenerCollection.notify(ListenerCollection.java:80)
> org.apache.wicket.request.cycle.RequestCycleListenerCollection.onException(RequestCycleListenerCollection.java:121)
> org.apache.wicket.request.cycle.RequestCycle.handleException(RequestCycle.java:368)
> org.apache.wicket.request.cycle.RequestCycle.executeExceptionRequestHandler(RequestCycle.java:314)
> org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:259)
> org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:221)
> org.apache.wicket.protocol.ws.AbstractUpgradeFilter.processRequestCycle(AbstractUpgradeFilter.java:70)
> org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:206)
> org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:299)
>
>
> thanks
>
>
> --
> This email, and any files transmitted with it, are confidential
> and intended solely for the use of the individual or entity to
> whom they are addressed. If you have received this email in error,
> please advise postmaster@mdtsoft.com<ma...@mdtsoft.com> <ma...@mdtsoft.com>.
>
> 3480 Preston Ridge Road
> Suite 450
> Alpharetta, GA 30005
>
> Philip W. Dalrymple III <pw...@mdtsoft.com>
> MDT Software - Automation Management Company
> +1 678 297 1001
> Fax +1 678 297 1003
>
>
> --
> Dott. Andrea Patricelli
> Tel. +39 3204524292
>
> Engineer @ Tirasa S.r.l.
> Viale Vittoria Colonna 97 - 65127 Pescara
> Tel +39 0859116307 / FAX +39 0859111173
> http://www.tirasa.net
>
> Apache Syncope PMC Member
>
>
>
> --
> Dott. Andrea Patricelli
> Tel. +39 3204524292
>
> Engineer @ Tirasa S.r.l.
> Viale Vittoria Colonna 97 - 65127 Pescara
> Tel +39 0859116307 / FAX +39 0859111173
> http://www.tirasa.net
>
> Apache Syncope PMC Member
>
>
>
> --
> Dott. Andrea Patricelli
> Tel. +39 3204524292
>
> Engineer @ Tirasa S.r.l.
> Viale Vittoria Colonna 97 - 65127 Pescara
> Tel +39 0859116307 / FAX +39 0859111173
> http://www.tirasa.net
>
> Apache Syncope PMC Member
>
>
>
> --
> Dott. Andrea Patricelli
> Tel. +39 3204524292
>
> Engineer @ Tirasa S.r.l.
> Viale Vittoria Colonna 97 - 65127 Pescara
> Tel +39 0859116307 / FAX +39 0859111173
> http://www.tirasa.net
>
> Apache Syncope PMC Member
>
>
> --
> Dott. Andrea Patricelli
> Tel. +39 3204524292
>
> Engineer @ Tirasa S.r.l.
> Viale Vittoria Colonna 97 - 65127 Pescara
> Tel +39 0859116307 / FAX +39 0859111173
> http://www.tirasa.net
>
> Apache Syncope PMC Member
--
Dott. Andrea Patricelli
Tel. +39 3204524292
Engineer @ Tirasa S.r.l.
Viale Vittoria Colonna 97 - 65127 Pescara
Tel +39 0859116307 / FAX +39 0859111173
http://www.tirasa.net
Apache Syncope PMC Member
Re: Syncope trying to deploy using Maven and not getting login
Posted by "Dalrymple, Philip" <pw...@mdtsoft.com>.
I had not looked int the rest log, that had the error in it. see the bottom of this message
All the tables are there
List of relations
Schema | Name | Type | Owner
--------+--------------------------------+-------+---------
public | accesstoken | table | syncope
public | accountpolicy | table | syncope
public | accountpolicy_externalresource | table | syncope
public | accountpolicyrule | table | syncope
public | adyngroupmembers | table | syncope
public | adyngroupmembership | table | syncope
public | amembership | table | syncope
public | anyabout | table | syncope
public | anyobject | table | syncope
public | anyobject_anytypeclass | table | syncope
public | anyobject_externalresource | table | syncope
public | anytemplatepulltask | table | syncope
public | anytemplaterealm | table | syncope
public | anytype | table | syncope
public | anytype_anytypeclass | table | syncope
public | anytypeclass | table | syncope
public | aplainattr | table | syncope
public | aplainattruniquevalue | table | syncope
public | aplainattrvalue | table | syncope
public | application | table | syncope
public | arelationship | table | syncope
public | conninstance | table | syncope
public | conninstance_capabilities | table | syncope
public | conninstancehistoryconf | table | syncope
public | cplainattr | table | syncope
public | cplainattruniquevalue | table | syncope
public | cplainattrvalue | table | syncope
public | derschema | table | syncope
public | dynrealm | table | syncope
public | dynrealmmembers | table | syncop
--
This email, and any files transmitted with it, are confidential
and intended solely for the use of the individual or entity to
whom they are addressed. If you have received this email in error,
please advise postmaster@mdtsoft.com <ma...@mdtsoft.com>.
At least I think that they are all there.
The full core-connid log for this startup is
08:04:04.430 INFO Add ConnectorInfo ConnectorKey( bundleName=net.tirasa.connid.bundles.soap bundleVersion=1.4.3 connectorName=net.tirasa.connid.bundles.soap.WebServiceConnector ) to Local C
onnector Info Manager from file:/opt/syncope/bundles/net.tirasa.connid.bundles.soap-1.4.3.jar Method: lambda$null$3
08:04:04.451 INFO Add ConnectorInfo ConnectorKey( bundleName=net.tirasa.connid.bundles.rest bundleVersion=1.0.4 connectorName=net.tirasa.connid.bundles.rest.RESTConnector ) to Local Connect
or Info Manager from file:/opt/syncope/bundles/net.tirasa.connid.bundles.rest-1.0.4.jar Method: lambda$null$3
08:04:04.460 INFO Add ConnectorInfo ConnectorKey( bundleName=net.tirasa.connid.bundles.csvdir bundleVersion=0.8.8 connectorName=net.tirasa.connid.bundles.csvdir.CSVDirConnector ) to Local C
onnector Info Manager from file:/opt/syncope/bundles/net.tirasa.connid.bundles.csvdir-0.8.8.jar Method: lambda$null$3
08:04:04.483 INFO Add ConnectorInfo ConnectorKey( bundleName=net.tirasa.connid.bundles.db.table bundleVersion=2.2.6 connectorName=net.tirasa.connid.bundles.db.table.DatabaseTableConnector )
to Local Connector Info Manager from file:/opt/syncope/bundles/net.tirasa.connid.bundles.db.table-2.2.6.jar Method: lambda$null$3
08:04:04.494 INFO Add ConnectorInfo ConnectorKey( bundleName=net.tirasa.connid.bundles.db.scriptedsql bundleVersion=2.2.6 connectorName=net.tirasa.connid.bundles.db.scriptedsql.ScriptedSQLC
onnector ) to Local Connector Info Manager from file:/opt/syncope/bundles/net.tirasa.connid.bundles.db.scriptedsql-2.2.6.jar Method: lambda$null$3
08:04:04.517 INFO Add ConnectorInfo ConnectorKey( bundleName=net.tirasa.connid.bundles.ldap bundleVersion=1.5.3 connectorName=net.tirasa.connid.bundles.ldap.LdapConnector ) to Local Connect
or Info Manager from file:/opt/syncope/bundles/net.tirasa.connid.bundles.ldap-1.5.3.jar Method: lambda$null$3
08:04:04.543 INFO Add ConnectorInfo ConnectorKey( bundleName=net.tirasa.connid.bundles.ad bundleVersion=1.3.6 connectorName=net.tirasa.connid.bundles.ad.ADConnector ) to Local Connector Inf
o Manager from file:/opt/syncope/bundles/net.tirasa.connid.bundles.ad-1.3.6.jar Method: lambda$null$3
08:04:04.593 INFO Add ConnectorInfo ConnectorKey( bundleName=net.tirasa.connid.bundles.googleapps bundleVersion=1.4.2 connectorName=net.tirasa.connid.bundles.googleapps.GoogleAppsConnector
) to Local Connector Info Manager from file:/opt/syncope/bundles/net.tirasa.connid.bundles.googleapps-1.4.2.jar Method: lambda$null$3
08:04:04.618 INFO Add ConnectorInfo ConnectorKey( bundleName=net.tirasa.connid.bundles.azure bundleVersion=1.0.1 connectorName=net.tirasa.connid.bundles.azure.AzureConnector ) to Local Conn
ector Info Manager from file:/opt/syncope/bundles/net.tirasa.connid.bundles.azure-1.0.1.jar Method: lambda$null$3
08:04:04.629 INFO Add ConnectorInfo ConnectorKey( bundleName=net.tirasa.connid.bundles.scimv11 bundleVersion=1.0.1 connectorName=net.tirasa.connid.bundles.scimv11.SCIMv11Connector ) to Loca
l Connector Info Manager from file:/opt/syncope/bundles/net.tirasa.connid.bundles.scimv11-1.0.1.jar Method: lambda$null$3
08:04:04.644 INFO Add ConnectorInfo ConnectorKey( bundleName=net.tirasa.connid.bundles.servicenow bundleVersion=1.0.0 connectorName=net.tirasa.connid.bundles.servicenow.SNConnector ) to Loc
al Connector Info Manager from file:/opt/syncope/bundles/net.tirasa.connid.bundles.servicenow-1.0.0.jar Method: lambda$null$3
The core-persistence.log is
08:03:57.754 INFO org.apache.syncope.core.persistence.jpa.spring.DomainEntityManagerFactoryBean - Initialized JPA EntityManagerFactory for persistence unit 'Master'
08:04:02.302 INFO org.apache.syncope.core.persistence.jpa.content.AbstractContentDealer - [Master] Data found in the database, leaving untouched
08:04:05.334 INFO org.apache.syncope.core.persistence.jpa.spring.DomainEntityManagerFactoryBean - Closing JPA EntityManagerFactory for persistence unit 'Master'
The core rest log is where the error was
8:03:55.283 INFO org.springframework.web.context.ContextLoader - Root WebApplicationContext: initialization started
08:04:05.317 WARN org.springframework.web.context.support.XmlWebApplicationContext - Exception encountered during context initialization - cancelling refresh attempt: org.springframework.be
ans.factory.BeanCreationException: Error creating bean with name 'logicInitializer' defined in URL [jar:file:/var/lib/tomcat/webapps/syncope/WEB-INF/lib/syncope-core-logic-2.1.4.jar!/org/apa
che/syncope/core/logic/init/LogicInitializer.class]: Invocation of init method failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with n
ame 'org.springframework.validation.beanvalidation.LocalValidatorFactoryBean#0' defined in URL [jar:file:/var/lib/tomcat/webapps/syncope/WEB-INF/lib/syncope-core-persistence-jpa-2.1.4.jar!/p
ersistenceContext.xml]: Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError: javax/el/ELManager
08:04:05.344 ERROR org.springframework.web.context.ContextLoader - Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'logicInitializer' defined in URL [jar:file:/var/lib/tomcat/webapps/syncope/WEB-INF/lib/syncope-core-lo
gic-2.1.4.jar!/org/apache/syncope/core/logic/init/LogicInitializer.class]: Invocation of init method failed; nested exception is org.springframework.beans.factory.BeanCreationException: Erro
r creating bean with name 'org.springframework.validation.beanvalidation.LocalValidatorFactoryBean#0' defined in URL [jar:file:/var/lib/tomcat/webapps/syncope/WEB-INF/lib/syncope-core-persis
tence-jpa-2.1.4.jar!/persistenceContext.xml]: Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError: javax/el/ELManager
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1778) ~[spring-beans-5.1.6.RELEASE.jar:5.1.6.RE
LEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:593) ~[spring-beans-5.1.6.RELEASE.jar:5.1.6.RELEA
SE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:515) ~[spring-beans-5.1.6.RELEASE.jar:5.1.6.RELEASE
]
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:320) ~[spring-beans-5.1.6.RELEASE.jar:5.1.6.RELEASE]
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) ~[spring-beans-5.1.6.RELEASE.jar:5.1.6.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:318) ~[spring-beans-5.1.6.RELEASE.jar:5.1.6.RELEASE]
3480 Preston Ridge Road
Suite 450
Alpharetta, GA 30005
Philip W. Dalrymple III <pw...@mdtsoft.com>
MDT Software - Automation Management Company
+1 678 297 1001
Fax +1 678 297 1003
________________________________________
From: Andrea Patricelli <an...@apache.org>
Sent: Thursday, September 12, 2019 8:18
To: user@syncope.apache.org
Subject: Re: Syncope trying to deploy using Maven and not getting login
Hi Philip,
Logs attached are not enough to understand what is the problem.
Did you check also core-persistence.log, core-rest.log and core-connid.log files? They should be under /opt/syncope/log/.
Moreover has the database been populated with Syncope tables? For example you can check the presence of syncopeuser table.
Best regards,
Andrea
Il 12/09/19 14:05, Dalrymple, Philip ha scritto:
Having the domains directory in /opt/syncope/conf did not help.
It does not appear that there are any changes in the logs (other than the times)
--
This email, and any files transmitted with it, are confidential
and intended solely for the use of the individual or entity to
whom they are addressed. If you have received this email in error,
please advise postmaster@mdtsoft.com<ma...@mdtsoft.com> <ma...@mdtsoft.com>.
3480 Preston Ridge Road
Suite 450
Alpharetta, GA 30005
Philip W. Dalrymple III <pw...@mdtsoft.com>
MDT Software - Automation Management Company
+1 678 297 1001
Fax +1 678 297 1003
________________________________________
From: Dalrymple, Philip <pw...@mdtsoft.com>
Sent: Thursday, September 12, 2019 7:55
To: user@syncope.apache.org<ma...@syncope.apache.org>
Subject: Re: Syncope trying to deploy using Maven and not getting login
OK went off and did a source build to help me understand and I will need
to, at some point, get into that.
I cleaned out the DB and undeployed the three applications and then re-deployed
them.
Still, no luck.
~ tree /opt/syncope/conf
/opt/syncope/conf
|-- connid.properties
|-- console.properties
|-- customFormAttributes.json
|-- customTemplate.json
|-- enduser.properties
|-- logic.properties
|-- mail.properties
|-- persistence.properties
|-- provisioning.properties
`-- security.properties
with no domain in it (I may putting that in the /opt/syncope/conf)
the logs have the following (snip for thing that repeat)
07:53:12.491 INFO org.springframework.security.core.SpringSecurityCoreVersion - You are running with Spring Security Core 5.1.5.RELEASE
07:53:12.494 INFO org.springframework.security.config.SecurityNamespaceHandler - Spring Security 'config' module version is 5.1.5.RELEASE
07:53:12.514 INFO org.springframework.security.config.method.GlobalMethodSecurityBeanDefinitionParser - Expressions were enabled for method security but no SecurityExpressionHandler was configured. All hasPermision() expressions will evaluate to false.
07:53:12.556 INFO org.springframework.security.config.http.HttpSecurityBeanDefinitionParser - Checking sorted filter chain: [Root bean: class [org.springframework.security.web.context.SecurityContextPersistenceFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 200, Root bean: class [org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 400, <jwtAuthenticationFilter>, order = 1799, Root bean: class [org.springframework.security.web.authentication.www.BasicAuthenticationFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 1800, Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=org.springframework.security.config.http.HttpConfigurationBuilder$SecurityContextHolderAwareRequestFilterBeanFactory#0; factoryMethodName=getBean; initMethodName=null; destroyMethodName=null, order = 2000, Root bean: class [org.springframework.security.web.authentication.AnonymousAuthenticationFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 2300, Root bean: class [org.springframework.security.web.access.ExceptionTranslationFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 2500, <mustChangePasswordFilter>, order = 2599, <org.springframework.security.web.access.intercept.FilterSecurityInterceptor#0>, order = 2600]
07:53:14.055 INFO org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor - Initializing ExecutorService
07:53:14.055 INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'asyncConnectorFacadeExecutor' of type [org.springframework.scheduling.config.TaskExecutorFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
07:53:14.055 INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'asyncConnectorFacadeExecutor' of type [org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
07:53:14.696 WARN openjpa.Runtime - An error occurred while registering a ClassTransformer with PersistenceUnitInfo: name 'Master', root URL [file:/var/lib/tomcat/webapps/syncope/WEB-INF/lib/syncope-core-persistence-jpa-2.1.4.jar]. The error has been consumed. To see it, set your openjpa.Runtime log level to TRACE. Load-time class transformation will not be available.
07:53:14.860 INFO org.springframework.security.web.DefaultSecurityFilterChain - Creating filter chain: any request, [org.springframework.security.web.context.SecurityContextPersistenceFilter@551267bf]
07:53:15.440 INFO org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor - Initializing ExecutorService
07:53:15.624 INFO org.apache.syncope.core.provisioning.java.job.SchedulerDBInit - No Quartz tables found, creating
07:53:15.835 INFO org.quartz.impl.StdSchedulerFactory - Using default implementation for ThreadExecutor
07:53:15.861 INFO org.quartz.core.SchedulerSignalerImpl - Initialized Scheduler Signaller of type: class org.quartz.core.SchedulerSignalerImpl
07:53:15.861 INFO org.quartz.core.QuartzScheduler - Quartz Scheduler v.2.3.1 created.
07:53:15.865 INFO org.springframework.scheduling.quartz.LocalDataSourceJobStore - Using db table-based data access locking (synchronization).
07:53:15.868 INFO org.springframework.scheduling.quartz.LocalDataSourceJobStore - JobStoreCMT initialized.
07:53:15.874 INFO org.quartz.core.QuartzScheduler - Scheduler meta-data: Quartz Scheduler (v2.3.1) 'ClusteredScheduler' with instanceId 'gluu-prs9.mdtsoft.com1568289195837'
Scheduler class: 'org.quartz.core.QuartzScheduler' - running locally.
NOT STARTED.
Currently in standby mode.
Number of jobs executed: 0
Using thread pool 'org.quartz.simpl.SimpleThreadPool' - with 10 threads.
Using job-store 'org.springframework.scheduling.quartz.LocalDataSourceJobStore' - which supports persistence. and is clustered.
07:53:15.874 INFO org.quartz.impl.StdSchedulerFactory - Quartz scheduler 'ClusteredScheduler' initialized from an externally provided properties instance.
07:53:15.874 INFO org.quartz.impl.StdSchedulerFactory - Quartz scheduler version: 2.3.1
07:53:15.874 INFO org.quartz.core.QuartzScheduler - JobFactory set to: org.apache.syncope.core.provisioning.java.job.AutowiringSpringBeanJobFactory@414ca8cc
07:53:15.879 INFO openjpa.Runtime - Starting OpenJPA 3.1.0
07:53:15.914 INFO openjpa.jdbc.JDBC - Using dictionary class "org.apache.openjpa.jdbc.sql.PostgresDictionary".
07:53:15.973 INFO openjpa.jdbc.JDBC - Connected to PostgreSQL version 11.11 using JDBC driver PostgreSQL JDBC Driver version 42.2.6.
07:53:16.314 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.group.JPAGroup". Ignoring.
07:53:16.314 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.group.JPATypeExtension". Ignoring.
07:53:16.314 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.user.JPAURelationship". Ignoring.
07:53:16.314 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.anyobject.JPAADynGroupMembership". Ignoring.
07:53:16.314 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.anyobject.JPAARelationship". Ignoring.
07:53:16.314 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.anyobject.JPAAPlainAttrUniqueValue". Ignoring.
07:53:16.314 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.user.JPAUPlainAttrUniqueValue". Ignoring.
07:53:16.314 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.group.JPAGPlainAttrUniqueValue". Ignoring.
07:53:16.315 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.conf.JPACPlainAttrUniqueValue". Ignoring.
07:53:16.350 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.group.JPAGroup". Ignoring.
07:53:16.350 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.group.JPATypeExtension". Ignoring.
07:53:16.351 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.user.JPAURelationship". Ignoring.
07:53:16.351 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.anyobject.JPAAMembership". Ignoring.
07:53:16.351 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.anyobject.JPAADynGroupMembership". Ignoring.
07:53:16.351 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.anyobject.JPAARelationship". Ignoring.
07:53:16.351 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.anyobject.JPAAPlainAttrUniqueValue". Ignoring.
07:53:16.351 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.user.JPAUPlainAttrUniqueValue". Ignoring.
07:53:16.351 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.group.JPAGPlainAttrUniqueValue". Ignoring.
07:53:16.351 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.conf.JPACPlainAttrUniqueValue". Ignoring.
07:53:16.361 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.group.JPAGroup". Ignoring.
07:53:16.361 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.group.JPATypeExtension". Ignoring.
07:53:16.361 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.user.JPAUDynGroupMembership". Ignoring.
07:53:16.361 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.user.JPAURelationship". Ignoring.
07:53:16.361 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.anyobject.JPAAMembership". Ignoring.
07:53:16.361 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.anyobject.JPAADynGroupMembership". Ignoring.
07:53:16.361 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.anyobject.JPAARelationship". Ignoring.
07:53:16.362 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.anyobject.JPAAPlainAttrUniqueValue". Ignoring.
07:53:16.362 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.user.JPAUPlainAttrUniqueValue". Ignoring.
07:53:16.362 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.group.JPAGPlainAttrUniqueValue". Ignoring.
07:53:16.362 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.conf.JPACPlainAttrUniqueValue". Ignoring.
07:53:16.370 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.group.JPAGroup". Ignoring.
07:53:16.371 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.group.JPATypeExtension". Ignoring.
07:53:16.371 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.user.JPAUMembership". Ignoring.
07:53:16.371 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.user.JPAUDynGroupMembership". Ignoring.
07:53:16.371 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.user.JPAURelationship". Ignoring.
--------snip-------------------
07:53:22.087 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.anyobject.JPAAPlainAttrUniqueValue". Ignoring.
07:53:22.087 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.user.JPAUPlainAttrUniqueValue". Ignoring.
07:53:22.087 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.group.JPAGPlainAttrUniqueValue". Ignoring.
07:53:22.087 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.conf.JPACPlainAttrUniqueValue". Ignoring.
07:53:22.653 INFO org.springframework.scheduling.quartz.SchedulerFactoryBean - Shutting down Quartz Scheduler
07:53:22.653 INFO org.quartz.core.QuartzScheduler - Scheduler ClusteredScheduler_$_gluu-prs9.mdtsoft.com1568289195837 shutting down.
07:53:22.653 INFO org.quartz.core.QuartzScheduler - Scheduler ClusteredScheduler_$_gluu-prs9.mdtsoft.com1568289195837 paused.
07:53:22.857 INFO org.quartz.core.QuartzScheduler - Scheduler unregistered from name 'quartz:type=QuartzScheduler,name=ClusteredScheduler,instance=gluu-prs9.mdtsoft.com1568289195837' in the local MBeanServer.
07:53:22.857 INFO org.quartz.core.QuartzScheduler - Scheduler ClusteredScheduler_$_gluu-prs9.mdtsoft.com1568289195837 shutdown complete.
07:53:22.859 INFO org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor - Shutting down ExecutorService
07:53:22.869 INFO org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor - Shutting down ExecutorService
I get clean logs with no errors.
my config directory is
--
This email, and any files transmitted with it, are confidential
and intended solely for the use of the individual or entity to
whom they are addressed. If you have received this email in error,
please advise postmaster@mdtsoft.com<ma...@mdtsoft.com> <ma...@mdtsoft.com>.
3480 Preston Ridge Road
Suite 450
Alpharetta, GA 30005
Philip W. Dalrymple III <pw...@mdtsoft.com>
MDT Software - Automation Management Company
+1 678 297 1001
Fax +1 678 297 1003
________________________________________
From: Andrea Patricelli <an...@apache.org>
Sent: Friday, September 6, 2019 4:20
To: user@syncope.apache.org<ma...@syncope.apache.org>
Subject: Re: Syncope trying to deploy using Maven and not getting login
Hi Philip,
in order to make a correct deploy on your application server follow [2].
As the warning in the doc states:
Be sure to put the corresponding JDBC driver JAR file under $CATALINA_HOME/lib for each datasource defined.
You should provide postgres driver to Syncope by putting it into Tomcat lib folder.
About the maven buld error: did you give the correct r/w permissions to /opt/syncope/buldles directory? If you want more info about the build please add the -X option to your maven build command.
Best regards,
Andrea
[2] https://syncope.apache.org/docs/2.1/reference-guide.html#apache-tomcat-9
Il 05/09/19 16:38, Dalrymple, Philip ha scritto:
OK I had one issue in that to make it work my build script needed to look like
#!/bin/bash
cd syncope
sudo mkdir -p /opt/syncope/bundles
sudo mkdir -p /opt/syncope/log
sudo chmod 0777 /opt/syncope/log
sudo mkdir -p /opt/syncope/conf
# mvn clean verify \
# -Dconf.directory=/opt/syncope/conf \
# -Dbundles.directory=/opt/syncope/bundles \
# -Dlog.directory=/opt/syncope/log
mvn clean verify \
-Dconf.directory=/opt/syncope/conf \
-Dlog.directory=/opt/syncope/log
sudo cp core/target/classes/*properties /opt/syncope/conf
sudo cp console/target/classes/*properties /opt/syncope/conf
sudo cp enduser/target/classes/*properties /opt/syncope/conf
sudo cp enduser/target/classes/customFormAttributes.json /opt/syncope/conf
sudo cp enduser/target/classes/customTemplate.json /opt/syncope/conf
i.e. not changing the bundles directory (which I want to do as I want to build in
the bundles into the war files).
When I do that I DO get logs (in /opt/syncope/log) Looks like I don't have the postgres dirver.
I checked and the
core/target/classes/provisioning.properties
already had the changes for postgres
? syncope git:(master) ? more /opt/syncope/log/core.log
10:22:58.367 INFO org.springframework.security.core.SpringSecurityCoreVersion - You are running with Spring Security Core 5.1.5.RELEASE
10:22:58.370 INFO org.springframework.security.config.SecurityNamespaceHandler - Spring Security 'config' module version is 5.1.5.RELEASE
10:22:58.391 INFO org.springframework.security.config.method.GlobalMethodSecurityBeanDefinitionParser - Expressions were enabled for method security but no SecurityExpressionHandle
r was configured. All hasPermision() expressions will evaluate to false.
10:22:58.437 INFO org.springframework.security.config.http.HttpSecurityBeanDefinitionParser - Checking sorted filter chain: [Root bean: class [org.springframework.security.web.cont
ext.SecurityContextPersistenceFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factor
yMethodName=null; initMethodName=null; destroyMethodName=null, order = 200, Root bean: class [org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter
]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=nul
l; destroyMethodName=null, order = 400, <jwtAuthenticationFilter>, order = 1799, Root bean: class [org.springframework.security.web.authentication.www.BasicAuthenticationFilter]; sc
ope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; de
stroyMethodName=null, order = 1800, Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factor
yBeanName=org.springframework.security.config.http.HttpConfigurationBuilder$SecurityContextHolderAwareRequestFilterBeanFactory#0; factoryMethodName=getBean; initMethodName=null; des
troyMethodName=null, order = 2000, Root bean: class [org.springframework.security.web.authentication.AnonymousAuthenticationFilter]; scope=; abstract=false; lazyInit=false; autowire
Mode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 2300, Root bean:
class [org.springframework.security.web.access.ExceptionTranslationFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; prima
ry=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 2500, <mustChangePasswordFilter>, order = 2599, <org.springframework.sec
urity.web.access.intercept.FilterSecurityInterceptor#0>, order = 2600]
10:23:00.130 INFO org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor - Initializing ExecutorService
10:23:00.130 INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'asyncConnectorFacadeExecutor' of type [org.springframework.
scheduling.config.TaskExecutorFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
10:23:00.130 INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'asyncConnectorFacadeExecutor' of type [org.springframework.
scheduling.concurrent.ThreadPoolTaskExecutor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
10:23:00.394 ERROR com.zaxxer.hikari.HikariConfig - Failed to load driver class org.postgresql.Driver from HikariConfig class classloader WebappClassLoader
context: /syncope
delegate: false
repositories:
/WEB-INF/classes/
----------> Parent Classloader:
java.net.URLClassLoader@7a81197d
10:23:00.444 ERROR com.zaxxer.hikari.HikariConfig - Failed to load driver class org.postgresql.Driver from HikariConfig class classloader WebappClassLoader
context: /syncope
delegate: false
repositories:
/WEB-INF/classes/
----------> Parent Classloader:
java.net.URLClassLoader@7a81197d
10:23:00.445 INFO org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor - Shutting down ExecutorService
10:23:18.326 INFO org.springframework.security.core.SpringSecurityCoreVersion - You are running with Spring Security Core 5.1.5.RELEASE
10:23:18.329 INFO org.springframework.security.config.SecurityNamespaceHandler - Spring Security 'config' module version is 5.1.5.RELEASE
10:23:18.349 INFO org.springframework.security.config.method.GlobalMethodSecurityBeanDefinitionParser - Expressions were enabled for method security but no SecurityExpressionHandle
r was configured. All hasPermision() expressions will evaluate to false.
10:23:18.395 INFO org.springframework.security.config.http.HttpSecurityBeanDefinitionParser - Checking sorted filter chain: [Root bean: class [org.springframework.security.web.cont
ext.SecurityContextPersistenceFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factor
yMethodName=null; initMethodName=null; destroyMethodName=null, order = 200, Root bean: class [org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter
]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=nul
l; destroyMethodName=null, order = 400, <jwtAuthenticationFilter>, order = 1799, Root bean: class [org.springframework.security.web.authentication.www.BasicAuthenticationFilter]; sc
ope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; de
stroyMethodName=null, order = 1800, Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factor
yBeanName=org.springframework.security.config.http.HttpConfigurationBuilder$SecurityContextHolderAwareRequestFilterBeanFactory#0; factoryMethodName=getBean; initMethodName=null; des
troyMethodName=null, order = 2000, Root bean: class [org.springframework.security.web.authentication.AnonymousAuthenticationFilter]; scope=; abstract=false; lazyInit=false; autowire
Mode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 2300, Root bean:
class [org.springframework.security.web.access.ExceptionTranslationFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; prima
ry=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 2500, <mustChangePasswordFilter>, order = 2599, <org.springframework.sec
urity.web.access.intercept.FilterSecurityInterceptor#0>, order = 2600]
10:23:20.012 INFO org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor - Initializing ExecutorService
10:23:20.012 INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'asyncConnectorFacadeExecutor' of type [org.springframework.
scheduling.config.TaskExecutorFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
10:23:20.012 INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'asyncConnectorFacadeExecutor' of type [org.springframework.
scheduling.concurrent.ThreadPoolTaskExecutor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
10:23:20.285 ERROR com.zaxxer.hikari.HikariConfig - Failed to load driver class org.postgresql.Driver from HikariConfig class classloader WebappClassLoader
context: /syncope
delegate: false
repositories:
/WEB-INF/classes/
----------> Parent Classloader:
java.net.URLClassLoader@7a81197d
10:23:20.337 ERROR com.zaxxer.hikari.HikariConfig - Failed to load driver class org.postgresql.Driver from HikariConfig class classloader WebappClassLoader
context: /syncope
delegate: false
repositories:
/WEB-INF/classes/
----------> Parent Classloader:
java.net.URLClassLoader@7a81197d
10:23:20.338 INFO org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor - Shutting down ExecutorService
10:23:32.831 INFO org.springframework.security.core.SpringSecurityCoreVersion - You are running with Spring Security Core 5.1.5.RELEASE
10:23:32.835 INFO org.springframework.security.config.SecurityNamespaceHandler - Spring Security 'config' module version is 5.1.5.RELEASE
10:23:32.859 INFO org.springframework.security.config.method.GlobalMethodSecurityBeanDefinitionParser - Expressions were enabled for method security but no SecurityExpressionHandle
r was configured. All hasPermision() expressions will evaluate to false.
10:23:32.910 INFO org.springframework.security.config.http.HttpSecurityBeanDefinitionParser - Checking sorted filter chain: [Root bean: class [org.springframework.security.web.cont
ext.SecurityContextPersistenceFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factor
yMethodName=null; initMethodName=null; destroyMethodName=null, order = 200, Root bean: class [org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter
]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=nul
l; destroyMethodName=null, order = 400, <jwtAuthenticationFilter>, order = 1799, Root bean: class [org.springframework.security.web.authentication.www.BasicAuthenticationFilter]; sc
ope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; de
stroyMethodName=null, order = 1800, Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factor
yBeanName=org.springframework.security.config.http.HttpConfigurationBuilder$SecurityContextHolderAwareRequestFilterBeanFactory#0; factoryMethodName=getBean; initMethodName=null; des
troyMethodName=null, order = 2000, Root bean: class [org.springframework.security.web.authentication.AnonymousAuthenticationFilter]; scope=; abstract=false; lazyInit=false; autowire
Mode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 2300, Root bean:
class [org.springframework.security.web.access.ExceptionTranslationFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; prima
ry=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 2500, <mustChangePasswordFilter>, order = 2599, <org.springframework.sec
urity.web.access.intercept.FilterSecurityInterceptor#0>, order = 2600]
10:23:34.490 INFO org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor - Initializing ExecutorService
10:23:34.490 INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'asyncConnectorFacadeExecutor' of type [org.springframework.
scheduling.config.TaskExecutorFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
10:23:34.490 INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'asyncConnectorFacadeExecutor' of type [org.springframework.
scheduling.concurrent.ThreadPoolTaskExecutor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
10:23:34.757 ERROR com.zaxxer.hikari.HikariConfig - Failed to load driver class org.postgresql.Driver from HikariConfig class classloader WebappClassLoader
context: /syncope
delegate: false
repositories:
/WEB-INF/classes/
----------> Parent Classloader:
java.net.URLClassLoader@7a81197d
10:23:34.809 ERROR com.zaxxer.hikari.HikariConfig - Failed to load driver class org.postgresql.Driver from HikariConfig class classloader WebappClassLoader
context: /syncope
delegate: false
repositories:
/WEB-INF/classes/
----------> Parent Classloader:
java.net.URLClassLoader@7a81197d
10:23:34.810 INFO org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor - Shutting down ExecutorService
if I left in the bundles I get the following error:
? syncope git:(master) ? mvn clean verify \
-Dconf.directory=/opt/syncope/conf \
-Dbundles.directory=/opt/syncope/bundles \
-Dlog.directory=/opt/syncope/log
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] Apache Syncope sample project
[INFO] Apache Syncope sample project - Common
[INFO] Apache Syncope sample project - Core
[INFO] Apache Syncope sample project - Console
[INFO] Apache Syncope sample project - Enduser
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache Syncope sample project 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ syncope ---
[INFO] Deleting /home/pwd/src/EIandAS/syncope/target
[INFO]
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven-version) @ syncope ---
[INFO]
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven) @ syncope ---
[INFO]
[INFO] --- gmaven-plugin:1.5:execute (default) @ syncope ---
[INFO]
[INFO] --- maven-remote-resources-plugin:1.5:process (process-resource-bundles) @ syncope ---
[INFO]
[INFO] --- maven-resources-plugin:3.1.0:copy-resources (copy-artifact-legal-files) @ syncope ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 0 resource
[INFO]
[INFO] --- maven-resources-plugin:3.1.0:copy-resources (copy-javadoc-legal-files) @ syncope ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 0 resource
[INFO]
[INFO] --- jacoco-maven-plugin:0.8.3:prepare-agent (jacoco-agent-ut) @ syncope ---
[INFO] argLine set to -javaagent:/home/pwd/.m2/repository/org/jacoco/org.jacoco.agent/0.8.3/org.jacoco.agent-0.8.3-runtime.jar=destfile=/home/pwd/src/EIandAS/syncope/target/jacoco.ut.exec,append=true -Xms512m -Xmx1024m -Xss256k
[INFO]
[INFO] --- maven-site-plugin:3.7.1:attach-descriptor (attach-descriptor) @ syncope ---
[INFO] No site descriptor found: nothing to attach.
[INFO]
[INFO] --- jacoco-maven-plugin:0.8.3:prepare-agent-integration (jacoco-agent-it) @ syncope ---
[INFO] argLine set to -javaagent:/home/pwd/.m2/repository/org/jacoco/org.jacoco.agent/0.8.3/org.jacoco.agent-0.8.3-runtime.jar=destfile=/home/pwd/src/EIandAS/syncope/target/jacoco.it.exec,append=true -Xms512m -Xmx1024m -Xss256k
[INFO]
[INFO] --- modernizer-maven-plugin:1.8.0:modernizer (modernizer-check) @ syncope ---
[INFO]
[INFO] --- maven-checkstyle-plugin:3.0.0:check (checkstyle-check) @ syncope ---
[INFO]
[INFO] --- jacoco-maven-plugin:0.8.3:report-aggregate (jacoco-site) @ syncope ---
[INFO]
[INFO] --- apache-rat-plugin:0.12:check (rat-check) @ syncope ---
[INFO] RAT will not execute since it is configured to be skipped via system property 'rat.skip'.
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache Syncope sample project - Common 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ syncope-common ---
[INFO] Deleting /home/pwd/src/EIandAS/syncope/common/target
[INFO]
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven-version) @ syncope-common ---
[INFO]
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven) @ syncope-common ---
[INFO]
[INFO] --- gmaven-plugin:1.5:execute (default) @ syncope-common ---
[INFO]
[INFO] --- maven-remote-resources-plugin:1.5:process (process-resource-bundles) @ syncope-common ---
[INFO]
[INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ syncope-common ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 0 resource
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-resources-plugin:3.1.0:copy-resources (copy-artifact-legal-files) @ syncope-common ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 0 resource
[INFO]
[INFO] --- maven-resources-plugin:3.1.0:copy-resources (copy-javadoc-legal-files) @ syncope-common ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 0 resource
[INFO]
[INFO] --- maven-compiler-plugin:3.8.0:compile (default-compile) @ syncope-common ---
[INFO] No sources to compile
[INFO]
[INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ syncope-common ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 0 resource
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.8.0:testCompile (default-testCompile) @ syncope-common ---
[INFO] No sources to compile
[INFO]
[INFO] --- jacoco-maven-plugin:0.8.3:prepare-agent (jacoco-agent-ut) @ syncope-common ---
[INFO] argLine set to -javaagent:/home/pwd/.m2/repository/org/jacoco/org.jacoco.agent/0.8.3/org.jacoco.agent-0.8.3-runtime.jar=destfile=/home/pwd/src/EIandAS/syncope/common/target/jacoco.ut.exec,append=true -Xms512m -Xmx1024m -Xss256k
[INFO]
[INFO] --- maven-surefire-plugin:2.22.1:test (default-test) @ syncope-common ---
[INFO]
[INFO] --- maven-jar-plugin:3.1.1:jar (default-jar) @ syncope-common ---
[INFO] Building jar: /home/pwd/src/EIandAS/syncope/common/target/syncope-common-1.0-SNAPSHOT.jar
[INFO]
[INFO] --- maven-site-plugin:3.7.1:attach-descriptor (attach-descriptor) @ syncope-common ---
[INFO] Skipping because packaging 'jar' is not pom.
[INFO]
[INFO] --- jacoco-maven-plugin:0.8.3:prepare-agent-integration (jacoco-agent-it) @ syncope-common ---
[INFO] argLine set to -javaagent:/home/pwd/.m2/repository/org/jacoco/org.jacoco.agent/0.8.3/org.jacoco.agent-0.8.3-runtime.jar=destfile=/home/pwd/src/EIandAS/syncope/common/target/jacoco.it.exec,append=true -Xms512m -Xmx1024m -Xss256k
[INFO]
[INFO] --- modernizer-maven-plugin:1.8.0:modernizer (modernizer-check) @ syncope-common ---
[INFO]
[INFO] --- maven-checkstyle-plugin:3.0.0:check (checkstyle-check) @ syncope-common ---
[INFO]
[INFO] --- jacoco-maven-plugin:0.8.3:report-aggregate (jacoco-site) @ syncope-common ---
[INFO]
[INFO] --- apache-rat-plugin:0.12:check (rat-check) @ syncope-common ---
[INFO] RAT will not execute since it is configured to be skipped via system property 'rat.skip'.
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache Syncope sample project - Core 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ syncope-core ---
[INFO] Deleting /home/pwd/src/EIandAS/syncope/core/target
[INFO]
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven-version) @ syncope-core ---
[INFO]
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven) @ syncope-core ---
[INFO]
[INFO] --- gmaven-plugin:1.5:execute (default) @ syncope-core ---
[INFO]
[INFO] --- maven-remote-resources-plugin:1.5:process (process-resource-bundles) @ syncope-core ---
[INFO]
[INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ syncope-core ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 32 resources
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-resources-plugin:3.1.0:copy-resources (copy-artifact-legal-files) @ syncope-core ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 0 resource
[INFO]
[INFO] --- maven-resources-plugin:3.1.0:copy-resources (copy-javadoc-legal-files) @ syncope-core ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 0 resource
[INFO]
[INFO] --- maven-compiler-plugin:3.8.0:compile (default-compile) @ syncope-core ---
[INFO] No sources to compile
[INFO]
[INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ syncope-core ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 26 resources
[INFO] Copying 1 resource
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-dependency-plugin:3.1.1:copy (set-bundles) @ syncope-core ---
[INFO] Configured Artifact: net.tirasa.connid.bundles.soap:net.tirasa.connid.bundles.soap:1.4.3:jar
[INFO] Configured Artifact: net.tirasa.connid.bundles:net.tirasa.connid.bundles.rest:1.0.4:jar
[INFO] Configured Artifact: net.tirasa.connid.bundles:net.tirasa.connid.bundles.csvdir:0.8.8:jar
[INFO] Configured Artifact: net.tirasa.connid.bundles.db:net.tirasa.connid.bundles.db.table:2.2.6:jar
[INFO] Configured Artifact: net.tirasa.connid.bundles.db:net.tirasa.connid.bundles.db.scriptedsql:2.2.6:jar
[INFO] Configured Artifact: net.tirasa.connid.bundles:net.tirasa.connid.bundles.ldap:1.5.3:jar
[INFO] Configured Artifact: net.tirasa.connid.bundles:net.tirasa.connid.bundles.ad:1.3.6:jar
[INFO] Configured Artifact: net.tirasa.connid.bundles:net.tirasa.connid.bundles.googleapps:1.4.2:jar
[INFO] Configured Artifact: net.tirasa.connid.bundles:net.tirasa.connid.bundles.azure:1.0.1:jar
[INFO] Configured Artifact: net.tirasa.connid.bundles:net.tirasa.connid.bundles.scimv11:1.0.1:jar
[INFO] Configured Artifact: net.tirasa.connid.bundles:net.tirasa.connid.bundles.servicenow:1.0.0:jar
[INFO] Copying net.tirasa.connid.bundles.soap-1.4.3.jar to /opt/syncope/bundles/net.tirasa.connid.bundles.soap-1.4.3.jar
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Apache Syncope sample project ..................... SUCCESS [4.310s]
[INFO] Apache Syncope sample project - Common ............ SUCCESS [1.233s]
[INFO] Apache Syncope sample project - Core .............. FAILURE [2.534s]
[INFO] Apache Syncope sample project - Console ........... SKIPPED
[INFO] Apache Syncope sample project - Enduser ........... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 8.341s
[INFO] Finished at: Thu Sep 05 10:29:47 EDT 2019
[INFO] Final Memory: 48M/628M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-dependency-plugin:3.1.1:copy (set-bundles) on project syncope-core: Error copying artifact from /home/pwd/.m2/repository/net/tirasa/connid/bundles/soap/net.tirasa.connid.bundles.soap/1.4.3/net.tirasa.connid.bundles.soap-1.4.3.jar to /opt/syncope/bundles/net.tirasa.connid.bundles.soap-1.4.3.jar -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :syncope-core
--
This email, and any files transmitted with it, are confidential
and intended solely for the use of the individual or entity to
whom they are addressed. If you have received this email in error,
please advise postmaster@mdtsoft.com<ma...@mdtsoft.com> <ma...@mdtsoft.com>.
3480 Preston Ridge Road
Suite 450
Alpharetta, GA 30005
Philip W. Dalrymple III <pw...@mdtsoft.com>
MDT Software - Automation Management Company
+1 678 297 1001
Fax +1 678 297 1003
________________________________________
From: Andrea Patricelli <an...@tirasa.net>
Sent: Thursday, September 5, 2019 10:07
To: user@syncope.apache.org<ma...@syncope.apache.org>
Subject: Re: Syncope trying to deploy using Maven and not getting login
P.S.
About the attached link: please take care to the doc starting from
documentation at "Deployment directories" section.
Il 05/09/19 16:04, Dalrymple, Philip ha scritto:
OK I will give that a go.
--
This email, and any files transmitted with it, are confidential
and intended solely for the use of the individual or entity to
whom they are addressed. If you have received this email in error,
please advise postmaster@mdtsoft.com<ma...@mdtsoft.com> <ma...@mdtsoft.com>.
3480 Preston Ridge Road
Suite 450
Alpharetta, GA 30005
Philip W. Dalrymple III <pw...@mdtsoft.com>
MDT Software - Automation Management Company
+1 678 297 1001
Fax +1 678 297 1003
________________________________________
From: Andrea Patricelli <an...@apache.org>
Sent: Thursday, September 5, 2019 10:03
To: user@syncope.apache.org<ma...@syncope.apache.org>
Subject: Re: Syncope trying to deploy using Maven and not getting login
Ok, maybe I got your first problem.
Please follow this [1]. Basically, in order to do a correct deploy, you
should build with a special mvn command specifying bundles, logs and
conf directories and, moreover, in order to let Syncope take correct
configuration parameters (like for the jdbc connection) copy some of the
properties files in sources under the specific conf directory.
HTH,
Andrea
[1] https://syncope.apache.org/docs/2.1/reference-guide.html#customization
Il 05/09/19 15:56, Dalrymple, Philip ha scritto:
OK this is weird
I did a
sudo find / -name "*core*.log*" -print
and only find the logs from my first try using docker.
(was not able to customize well enough and switched to
maven deleting the docker images)
I will keep looking.
--
This email, and any files transmitted with it, are confidential
and intended solely for the use of the individual or entity to
whom they are addressed. If you have received this email in error,
please advise postmaster@mdtsoft.com<ma...@mdtsoft.com> <ma...@mdtsoft.com>.
3480 Preston Ridge Road
Suite 450
Alpharetta, GA 30005
Philip W. Dalrymple III <pw...@mdtsoft.com>
MDT Software - Automation Management Company
+1 678 297 1001
Fax +1 678 297 1003
________________________________________
From: Dalrymple, Philip <pw...@mdtsoft.com>
Sent: Thursday, September 5, 2019 9:53
To: user@syncope.apache.org<ma...@syncope.apache.org>
Subject: Re: Syncope trying to deploy using Maven and not getting login
OK I need to find where the logs are.
--
This email, and any files transmitted with it, are confidential
and intended solely for the use of the individual or entity to
whom they are addressed. If you have received this email in error,
please advise postmaster@mdtsoft.com<ma...@mdtsoft.com> <ma...@mdtsoft.com>.
3480 Preston Ridge Road
Suite 450
Alpharetta, GA 30005
Philip W. Dalrymple III <pw...@mdtsoft.com>
MDT Software - Automation Management Company
+1 678 297 1001
Fax +1 678 297 1003
________________________________________
From: Andrea Patricelli <an...@apache.org>
Sent: Thursday, September 5, 2019 9:52
To: user@syncope.apache.org<ma...@syncope.apache.org>
Subject: Re: Syncope trying to deploy using Maven and not getting login
Hi Philip,
you should check core.log, core-rest.log, core-persistence.log and
core-connid.log files in order to understand what is the problem.
The NOT FOUND error in console simply means that core is unavailable,
probably because it failed to start.
Please check for exceptions in core*.log files and attach it into this
thread.
Best regards,
Andrea
Il 05/09/19 15:32, Dalrymple, Philip ha scritto:
I am trying to deploy Syncope using the Maven method. I have followed the
instructions in
http://syncope.apache.org/docs/2.1/getting-started.html#maven-project
and then edited core/src/main/resources/domains/Master.properties
to have the correct postgres password, I re-did the mvn clean install
and placed the war files in my tomcat/webapps directory, they deployed
without me restarting tomcat.
When I got to http://XXXXX:8080/syncope-console I get a 500 error (see below)
when I got to .../syncope or .../syncope/index.html or .../syncope-enduser I get a 404 error.
I checked in WEB-INF/classes/persistence.properties (in syncope) and it had the
correct DB user, host, and password info and I verified that I could connect to the DB BUT
the DB was empty.
the stack trace on the syncope-console
type Exception report
message Unable to instantiate web session class org.apache.syncope.client.console.SyncopeConsoleSession
description The server encountered an internal error that prevented it from fulfilling this request.
exception
org.apache.wicket.WicketRuntimeException: Unable to instantiate web session class org.apache.syncope.client.console.SyncopeConsoleSession
org.apache.wicket.authroles.authentication.AuthenticatedWebApplication.newSession(AuthenticatedWebApplication.java:121)
org.apache.wicket.Application.fetchCreateAndSetSession(Application.java:1555)
org.apache.wicket.Session.get(Session.java:176)
org.apache.syncope.client.console.SyncopeConsoleSession.get(SyncopeConsoleSession.java:91)
org.apache.syncope.client.console.SyncopeConsoleRequestCycleListener.onException(SyncopeConsoleRequestCycleListener.java:80)
org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:126)
org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:122)
org.apache.wicket.util.listener.ListenerCollection.notify(ListenerCollection.java:80)
org.apache.wicket.request.cycle.RequestCycleListenerCollection.onException(RequestCycleListenerCollection.java:121)
org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:126)
org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:122)
org.apache.wicket.util.listener.ListenerCollection.notify(ListenerCollection.java:80)
org.apache.wicket.request.cycle.RequestCycleListenerCollection.onException(RequestCycleListenerCollection.java:121)
org.apache.wicket.request.cycle.RequestCycle.handleException(RequestCycle.java:368)
org.apache.wicket.request.cycle.RequestCycle.executeExceptionRequestHandler(RequestCycle.java:314)
org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:259)
org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:221)
org.apache.wicket.protocol.ws.AbstractUpgradeFilter.processRequestCycle(AbstractUpgradeFilter.java:70)
org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:206)
org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:299)
root cause
java.lang.reflect.InvocationTargetException
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
java.lang.reflect.Constructor.newInstance(Constructor.java:423)
org.apache.wicket.authroles.authentication.AuthenticatedWebApplication.newSession(AuthenticatedWebApplication.java:117)
org.apache.wicket.Application.fetchCreateAndSetSession(Application.java:1555)
org.apache.wicket.Session.get(Session.java:176)
org.apache.syncope.client.console.SyncopeConsoleSession.get(SyncopeConsoleSession.java:91)
org.apache.syncope.client.console.SyncopeConsoleRequestCycleListener.onException(SyncopeConsoleRequestCycleListener.java:80)
org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:126)
org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:122)
org.apache.wicket.util.listener.ListenerCollection.notify(ListenerCollection.java:80)
org.apache.wicket.request.cycle.RequestCycleListenerCollection.onException(RequestCycleListenerCollection.java:121)
org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:126)
org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:122)
org.apache.wicket.util.listener.ListenerCollection.notify(ListenerCollection.java:80)
org.apache.wicket.request.cycle.RequestCycleListenerCollection.onException(RequestCycleListenerCollection.java:121)
org.apache.wicket.request.cycle.RequestCycle.handleException(RequestCycle.java:368)
org.apache.wicket.request.cycle.RequestCycle.executeExceptionRequestHandler(RequestCycle.java:314)
org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:259)
org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:221)
org.apache.wicket.protocol.ws.AbstractUpgradeFilter.processRequestCycle(AbstractUpgradeFilter.java:70)
org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:206)
org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:299)
root cause
javax.xml.ws.WebServiceException: Remote exception with status code: NOT_FOUND
org.apache.syncope.client.lib.RestClientExceptionMapper.fromResponse(RestClientExceptionMapper.java:76)
org.apache.syncope.client.lib.RestClientExceptionMapper.fromResponse(RestClientExceptionMapper.java:42)
org.apache.cxf.jaxrs.client.ClientProxyImpl.checkResponse(ClientProxyImpl.java:372)
org.apache.cxf.jaxrs.client.ClientProxyImpl.handleResponse(ClientProxyImpl.java:948)
org.apache.cxf.jaxrs.client.ClientProxyImpl.doChainedInvocation(ClientProxyImpl.java:854)
org.apache.cxf.jaxrs.client.ClientProxyImpl.invoke(ClientProxyImpl.java:295)
com.sun.proxy.$Proxy119.platform(Unknown Source)
org.apache.syncope.client.console.SyncopeConsoleSession.<init>(SyncopeConsoleSession.java:103)
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
java.lang.reflect.Constructor.newInstance(Constructor.java:423)
org.apache.wicket.authroles.authentication.AuthenticatedWebApplication.newSession(AuthenticatedWebApplication.java:117)
org.apache.wicket.Application.fetchCreateAndSetSession(Application.java:1555)
org.apache.wicket.Session.get(Session.java:176)
org.apache.syncope.client.console.SyncopeConsoleSession.get(SyncopeConsoleSession.java:91)
org.apache.syncope.client.console.SyncopeConsoleRequestCycleListener.onException(SyncopeConsoleRequestCycleListener.java:80)
org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:126)
org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:122)
org.apache.wicket.util.listener.ListenerCollection.notify(ListenerCollection.java:80)
org.apache.wicket.request.cycle.RequestCycleListenerCollection.onException(RequestCycleListenerCollection.java:121)
org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:126)
org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:122)
org.apache.wicket.util.listener.ListenerCollection.notify(ListenerCollection.java:80)
org.apache.wicket.request.cycle.RequestCycleListenerCollection.onException(RequestCycleListenerCollection.java:121)
org.apache.wicket.request.cycle.RequestCycle.handleException(RequestCycle.java:368)
org.apache.wicket.request.cycle.RequestCycle.executeExceptionRequestHandler(RequestCycle.java:314)
org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:259)
org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:221)
org.apache.wicket.protocol.ws.AbstractUpgradeFilter.processRequestCycle(AbstractUpgradeFilter.java:70)
org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:206)
org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:299)
thanks
--
This email, and any files transmitted with it, are confidential
and intended solely for the use of the individual or entity to
whom they are addressed. If you have received this email in error,
please advise postmaster@mdtsoft.com<ma...@mdtsoft.com> <ma...@mdtsoft.com>.
3480 Preston Ridge Road
Suite 450
Alpharetta, GA 30005
Philip W. Dalrymple III <pw...@mdtsoft.com>
MDT Software - Automation Management Company
+1 678 297 1001
Fax +1 678 297 1003
--
Dott. Andrea Patricelli
Tel. +39 3204524292
Engineer @ Tirasa S.r.l.
Viale Vittoria Colonna 97 - 65127 Pescara
Tel +39 0859116307 / FAX +39 0859111173
http://www.tirasa.net
Apache Syncope PMC Member
--
Dott. Andrea Patricelli
Tel. +39 3204524292
Engineer @ Tirasa S.r.l.
Viale Vittoria Colonna 97 - 65127 Pescara
Tel +39 0859116307 / FAX +39 0859111173
http://www.tirasa.net
Apache Syncope PMC Member
--
Dott. Andrea Patricelli
Tel. +39 3204524292
Engineer @ Tirasa S.r.l.
Viale Vittoria Colonna 97 - 65127 Pescara
Tel +39 0859116307 / FAX +39 0859111173
http://www.tirasa.net
Apache Syncope PMC Member
--
Dott. Andrea Patricelli
Tel. +39 3204524292
Engineer @ Tirasa S.r.l.
Viale Vittoria Colonna 97 - 65127 Pescara
Tel +39 0859116307 / FAX +39 0859111173
http://www.tirasa.net
Apache Syncope PMC Member
--
Dott. Andrea Patricelli
Tel. +39 3204524292
Engineer @ Tirasa S.r.l.
Viale Vittoria Colonna 97 - 65127 Pescara
Tel +39 0859116307 / FAX +39 0859111173
http://www.tirasa.net
Apache Syncope PMC Member
Re: Syncope trying to deploy using Maven and not getting login
Posted by Andrea Patricelli <an...@apache.org>.
Hi Philip,
Logs attached are not enough to understand what is the problem.
Did you check also core-persistence.log, core-rest.log and
core-connid.log files? They should be under /opt/syncope/log/.
Moreover has the database been populated with Syncope tables? For
example you can check the presence of *syncopeuser* table.
Best regards,
Andrea
Il 12/09/19 14:05, Dalrymple, Philip ha scritto:
> Having the domains directory in /opt/syncope/conf did not help.
>
> It does not appear that there are any changes in the logs (other than the times)
>
>
> --
> This email, and any files transmitted with it, are confidential
> and intended solely for the use of the individual or entity to
> whom they are addressed. If you have received this email in error,
> please advise postmaster@mdtsoft.com <ma...@mdtsoft.com>.
>
> 3480 Preston Ridge Road
> Suite 450
> Alpharetta, GA 30005
>
> Philip W. Dalrymple III <pw...@mdtsoft.com>
> MDT Software - Automation Management Company
> +1 678 297 1001
> Fax +1 678 297 1003
>
> ________________________________________
> From: Dalrymple, Philip <pw...@mdtsoft.com>
> Sent: Thursday, September 12, 2019 7:55
> To: user@syncope.apache.org
> Subject: Re: Syncope trying to deploy using Maven and not getting login
>
> OK went off and did a source build to help me understand and I will need
> to, at some point, get into that.
>
> I cleaned out the DB and undeployed the three applications and then re-deployed
> them.
>
> Still, no luck.
> ~ tree /opt/syncope/conf
> /opt/syncope/conf
> |-- connid.properties
> |-- console.properties
> |-- customFormAttributes.json
> |-- customTemplate.json
> |-- enduser.properties
> |-- logic.properties
> |-- mail.properties
> |-- persistence.properties
> |-- provisioning.properties
> `-- security.properties
>
> with no domain in it (I may putting that in the /opt/syncope/conf)
>
> the logs have the following (snip for thing that repeat)
>
> 07:53:12.491 INFO org.springframework.security.core.SpringSecurityCoreVersion - You are running with Spring Security Core 5.1.5.RELEASE
> 07:53:12.494 INFO org.springframework.security.config.SecurityNamespaceHandler - Spring Security 'config' module version is 5.1.5.RELEASE
> 07:53:12.514 INFO org.springframework.security.config.method.GlobalMethodSecurityBeanDefinitionParser - Expressions were enabled for method security but no SecurityExpressionHandler was configured. All hasPermision() expressions will evaluate to false.
> 07:53:12.556 INFO org.springframework.security.config.http.HttpSecurityBeanDefinitionParser - Checking sorted filter chain: [Root bean: class [org.springframework.security.web.context.SecurityContextPersistenceFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 200, Root bean: class [org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 400, <jwtAuthenticationFilter>, order = 1799, Root bean: class [org.springframework.security.web.authentication.www.BasicAuthenticationFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 1800, Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=org.springframework.security.config.http.HttpConfigurationBuilder$SecurityContextHolderAwareRequestFilterBeanFactory#0; factoryMethodName=getBean; initMethodName=null; destroyMethodName=null, order = 2000, Root bean: class [org.springframework.security.web.authentication.AnonymousAuthenticationFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 2300, Root bean: class [org.springframework.security.web.access.ExceptionTranslationFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 2500, <mustChangePasswordFilter>, order = 2599, <org.springframework.security.web.access.intercept.FilterSecurityInterceptor#0>, order = 2600]
> 07:53:14.055 INFO org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor - Initializing ExecutorService
> 07:53:14.055 INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'asyncConnectorFacadeExecutor' of type [org.springframework.scheduling.config.TaskExecutorFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
> 07:53:14.055 INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'asyncConnectorFacadeExecutor' of type [org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
> 07:53:14.696 WARN openjpa.Runtime - An error occurred while registering a ClassTransformer with PersistenceUnitInfo: name 'Master', root URL [file:/var/lib/tomcat/webapps/syncope/WEB-INF/lib/syncope-core-persistence-jpa-2.1.4.jar]. The error has been consumed. To see it, set your openjpa.Runtime log level to TRACE. Load-time class transformation will not be available.
> 07:53:14.860 INFO org.springframework.security.web.DefaultSecurityFilterChain - Creating filter chain: any request, [org.springframework.security.web.context.SecurityContextPersistenceFilter@551267bf]
> 07:53:15.440 INFO org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor - Initializing ExecutorService
> 07:53:15.624 INFO org.apache.syncope.core.provisioning.java.job.SchedulerDBInit - No Quartz tables found, creating
> 07:53:15.835 INFO org.quartz.impl.StdSchedulerFactory - Using default implementation for ThreadExecutor
> 07:53:15.861 INFO org.quartz.core.SchedulerSignalerImpl - Initialized Scheduler Signaller of type: class org.quartz.core.SchedulerSignalerImpl
> 07:53:15.861 INFO org.quartz.core.QuartzScheduler - Quartz Scheduler v.2.3.1 created.
> 07:53:15.865 INFO org.springframework.scheduling.quartz.LocalDataSourceJobStore - Using db table-based data access locking (synchronization).
> 07:53:15.868 INFO org.springframework.scheduling.quartz.LocalDataSourceJobStore - JobStoreCMT initialized.
> 07:53:15.874 INFO org.quartz.core.QuartzScheduler - Scheduler meta-data: Quartz Scheduler (v2.3.1) 'ClusteredScheduler' with instanceId 'gluu-prs9.mdtsoft.com1568289195837'
> Scheduler class: 'org.quartz.core.QuartzScheduler' - running locally.
> NOT STARTED.
> Currently in standby mode.
> Number of jobs executed: 0
> Using thread pool 'org.quartz.simpl.SimpleThreadPool' - with 10 threads.
> Using job-store 'org.springframework.scheduling.quartz.LocalDataSourceJobStore' - which supports persistence. and is clustered.
>
> 07:53:15.874 INFO org.quartz.impl.StdSchedulerFactory - Quartz scheduler 'ClusteredScheduler' initialized from an externally provided properties instance.
> 07:53:15.874 INFO org.quartz.impl.StdSchedulerFactory - Quartz scheduler version: 2.3.1
> 07:53:15.874 INFO org.quartz.core.QuartzScheduler - JobFactory set to: org.apache.syncope.core.provisioning.java.job.AutowiringSpringBeanJobFactory@414ca8cc
> 07:53:15.879 INFO openjpa.Runtime - Starting OpenJPA 3.1.0
> 07:53:15.914 INFO openjpa.jdbc.JDBC - Using dictionary class "org.apache.openjpa.jdbc.sql.PostgresDictionary".
> 07:53:15.973 INFO openjpa.jdbc.JDBC - Connected to PostgreSQL version 11.11 using JDBC driver PostgreSQL JDBC Driver version 42.2.6.
> 07:53:16.314 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.group.JPAGroup". Ignoring.
> 07:53:16.314 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.group.JPATypeExtension". Ignoring.
> 07:53:16.314 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.user.JPAURelationship". Ignoring.
> 07:53:16.314 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.anyobject.JPAADynGroupMembership". Ignoring.
> 07:53:16.314 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.anyobject.JPAARelationship". Ignoring.
> 07:53:16.314 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.anyobject.JPAAPlainAttrUniqueValue". Ignoring.
> 07:53:16.314 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.user.JPAUPlainAttrUniqueValue". Ignoring.
> 07:53:16.314 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.group.JPAGPlainAttrUniqueValue". Ignoring.
> 07:53:16.315 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.conf.JPACPlainAttrUniqueValue". Ignoring.
> 07:53:16.350 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.group.JPAGroup". Ignoring.
> 07:53:16.350 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.group.JPATypeExtension". Ignoring.
> 07:53:16.351 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.user.JPAURelationship". Ignoring.
> 07:53:16.351 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.anyobject.JPAAMembership". Ignoring.
> 07:53:16.351 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.anyobject.JPAADynGroupMembership". Ignoring.
> 07:53:16.351 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.anyobject.JPAARelationship". Ignoring.
> 07:53:16.351 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.anyobject.JPAAPlainAttrUniqueValue". Ignoring.
> 07:53:16.351 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.user.JPAUPlainAttrUniqueValue". Ignoring.
> 07:53:16.351 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.group.JPAGPlainAttrUniqueValue". Ignoring.
> 07:53:16.351 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.conf.JPACPlainAttrUniqueValue". Ignoring.
> 07:53:16.361 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.group.JPAGroup". Ignoring.
> 07:53:16.361 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.group.JPATypeExtension". Ignoring.
> 07:53:16.361 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.user.JPAUDynGroupMembership". Ignoring.
> 07:53:16.361 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.user.JPAURelationship". Ignoring.
> 07:53:16.361 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.anyobject.JPAAMembership". Ignoring.
> 07:53:16.361 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.anyobject.JPAADynGroupMembership". Ignoring.
> 07:53:16.361 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.anyobject.JPAARelationship". Ignoring.
> 07:53:16.362 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.anyobject.JPAAPlainAttrUniqueValue". Ignoring.
> 07:53:16.362 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.user.JPAUPlainAttrUniqueValue". Ignoring.
> 07:53:16.362 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.group.JPAGPlainAttrUniqueValue". Ignoring.
> 07:53:16.362 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.conf.JPACPlainAttrUniqueValue". Ignoring.
> 07:53:16.370 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.group.JPAGroup". Ignoring.
> 07:53:16.371 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.group.JPATypeExtension". Ignoring.
> 07:53:16.371 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.user.JPAUMembership". Ignoring.
> 07:53:16.371 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.user.JPAUDynGroupMembership". Ignoring.
> 07:53:16.371 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.user.JPAURelationship". Ignoring.
>
> --------snip-------------------
>
>
> 07:53:22.087 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.anyobject.JPAAPlainAttrUniqueValue". Ignoring.
> 07:53:22.087 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.user.JPAUPlainAttrUniqueValue". Ignoring.
> 07:53:22.087 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.group.JPAGPlainAttrUniqueValue". Ignoring.
> 07:53:22.087 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.conf.JPACPlainAttrUniqueValue". Ignoring.
> 07:53:22.653 INFO org.springframework.scheduling.quartz.SchedulerFactoryBean - Shutting down Quartz Scheduler
> 07:53:22.653 INFO org.quartz.core.QuartzScheduler - Scheduler ClusteredScheduler_$_gluu-prs9.mdtsoft.com1568289195837 shutting down.
> 07:53:22.653 INFO org.quartz.core.QuartzScheduler - Scheduler ClusteredScheduler_$_gluu-prs9.mdtsoft.com1568289195837 paused.
> 07:53:22.857 INFO org.quartz.core.QuartzScheduler - Scheduler unregistered from name 'quartz:type=QuartzScheduler,name=ClusteredScheduler,instance=gluu-prs9.mdtsoft.com1568289195837' in the local MBeanServer.
> 07:53:22.857 INFO org.quartz.core.QuartzScheduler - Scheduler ClusteredScheduler_$_gluu-prs9.mdtsoft.com1568289195837 shutdown complete.
> 07:53:22.859 INFO org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor - Shutting down ExecutorService
> 07:53:22.869 INFO org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor - Shutting down ExecutorService
>
> I get clean logs with no errors.
>
> my config directory is
>
>
>
>
> --
> This email, and any files transmitted with it, are confidential
> and intended solely for the use of the individual or entity to
> whom they are addressed. If you have received this email in error,
> please advise postmaster@mdtsoft.com <ma...@mdtsoft.com>.
>
> 3480 Preston Ridge Road
> Suite 450
> Alpharetta, GA 30005
>
> Philip W. Dalrymple III <pw...@mdtsoft.com>
> MDT Software - Automation Management Company
> +1 678 297 1001
> Fax +1 678 297 1003
>
> ________________________________________
> From: Andrea Patricelli <an...@apache.org>
> Sent: Friday, September 6, 2019 4:20
> To: user@syncope.apache.org
> Subject: Re: Syncope trying to deploy using Maven and not getting login
>
> Hi Philip,
>
> in order to make a correct deploy on your application server follow [2].
>
> As the warning in the doc states:
>
> Be sure to put the corresponding JDBC driver JAR file under $CATALINA_HOME/lib for each datasource defined.
>
> You should provide postgres driver to Syncope by putting it into Tomcat lib folder.
>
> About the maven buld error: did you give the correct r/w permissions to /opt/syncope/buldles directory? If you want more info about the build please add the -X option to your maven build command.
>
> Best regards,
> Andrea
>
> [2] https://syncope.apache.org/docs/2.1/reference-guide.html#apache-tomcat-9
>
> Il 05/09/19 16:38, Dalrymple, Philip ha scritto:
>
> OK I had one issue in that to make it work my build script needed to look like
>
> #!/bin/bash
>
> cd syncope
>
> sudo mkdir -p /opt/syncope/bundles
> sudo mkdir -p /opt/syncope/log
> sudo chmod 0777 /opt/syncope/log
> sudo mkdir -p /opt/syncope/conf
>
> # mvn clean verify \
> # -Dconf.directory=/opt/syncope/conf \
> # -Dbundles.directory=/opt/syncope/bundles \
> # -Dlog.directory=/opt/syncope/log
>
> mvn clean verify \
> -Dconf.directory=/opt/syncope/conf \
> -Dlog.directory=/opt/syncope/log
>
>
> sudo cp core/target/classes/*properties /opt/syncope/conf
> sudo cp console/target/classes/*properties /opt/syncope/conf
> sudo cp enduser/target/classes/*properties /opt/syncope/conf
> sudo cp enduser/target/classes/customFormAttributes.json /opt/syncope/conf
> sudo cp enduser/target/classes/customTemplate.json /opt/syncope/conf
>
> i.e. not changing the bundles directory (which I want to do as I want to build in
> the bundles into the war files).
>
> When I do that I DO get logs (in /opt/syncope/log) Looks like I don't have the postgres dirver.
> I checked and the
> core/target/classes/provisioning.properties
>
> already had the changes for postgres
>
> ➜ syncope git:(master) ✗ more /opt/syncope/log/core.log
> 10:22:58.367 INFO org.springframework.security.core.SpringSecurityCoreVersion - You are running with Spring Security Core 5.1.5.RELEASE
> 10:22:58.370 INFO org.springframework.security.config.SecurityNamespaceHandler - Spring Security 'config' module version is 5.1.5.RELEASE
> 10:22:58.391 INFO org.springframework.security.config.method.GlobalMethodSecurityBeanDefinitionParser - Expressions were enabled for method security but no SecurityExpressionHandle
> r was configured. All hasPermision() expressions will evaluate to false.
> 10:22:58.437 INFO org.springframework.security.config.http.HttpSecurityBeanDefinitionParser - Checking sorted filter chain: [Root bean: class [org.springframework.security.web.cont
> ext.SecurityContextPersistenceFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factor
> yMethodName=null; initMethodName=null; destroyMethodName=null, order = 200, Root bean: class [org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter
> ]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=nul
> l; destroyMethodName=null, order = 400, <jwtAuthenticationFilter>, order = 1799, Root bean: class [org.springframework.security.web.authentication.www.BasicAuthenticationFilter]; sc
> ope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; de
> stroyMethodName=null, order = 1800, Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factor
> yBeanName=org.springframework.security.config.http.HttpConfigurationBuilder$SecurityContextHolderAwareRequestFilterBeanFactory#0; factoryMethodName=getBean; initMethodName=null; des
> troyMethodName=null, order = 2000, Root bean: class [org.springframework.security.web.authentication.AnonymousAuthenticationFilter]; scope=; abstract=false; lazyInit=false; autowire
> Mode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 2300, Root bean:
> class [org.springframework.security.web.access.ExceptionTranslationFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; prima
> ry=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 2500, <mustChangePasswordFilter>, order = 2599, <org.springframework.sec
> urity.web.access.intercept.FilterSecurityInterceptor#0>, order = 2600]
> 10:23:00.130 INFO org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor - Initializing ExecutorService
> 10:23:00.130 INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'asyncConnectorFacadeExecutor' of type [org.springframework.
> scheduling.config.TaskExecutorFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
> 10:23:00.130 INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'asyncConnectorFacadeExecutor' of type [org.springframework.
> scheduling.concurrent.ThreadPoolTaskExecutor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
> 10:23:00.394 ERROR com.zaxxer.hikari.HikariConfig - Failed to load driver class org.postgresql.Driver from HikariConfig class classloader WebappClassLoader
> context: /syncope
> delegate: false
> repositories:
> /WEB-INF/classes/
> ----------> Parent Classloader:
> java.net.URLClassLoader@7a81197d
>
> 10:23:00.444 ERROR com.zaxxer.hikari.HikariConfig - Failed to load driver class org.postgresql.Driver from HikariConfig class classloader WebappClassLoader
> context: /syncope
> delegate: false
> repositories:
> /WEB-INF/classes/
> ----------> Parent Classloader:
> java.net.URLClassLoader@7a81197d
>
> 10:23:00.445 INFO org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor - Shutting down ExecutorService
> 10:23:18.326 INFO org.springframework.security.core.SpringSecurityCoreVersion - You are running with Spring Security Core 5.1.5.RELEASE
> 10:23:18.329 INFO org.springframework.security.config.SecurityNamespaceHandler - Spring Security 'config' module version is 5.1.5.RELEASE
> 10:23:18.349 INFO org.springframework.security.config.method.GlobalMethodSecurityBeanDefinitionParser - Expressions were enabled for method security but no SecurityExpressionHandle
> r was configured. All hasPermision() expressions will evaluate to false.
> 10:23:18.395 INFO org.springframework.security.config.http.HttpSecurityBeanDefinitionParser - Checking sorted filter chain: [Root bean: class [org.springframework.security.web.cont
> ext.SecurityContextPersistenceFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factor
> yMethodName=null; initMethodName=null; destroyMethodName=null, order = 200, Root bean: class [org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter
> ]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=nul
> l; destroyMethodName=null, order = 400, <jwtAuthenticationFilter>, order = 1799, Root bean: class [org.springframework.security.web.authentication.www.BasicAuthenticationFilter]; sc
> ope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; de
> stroyMethodName=null, order = 1800, Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factor
> yBeanName=org.springframework.security.config.http.HttpConfigurationBuilder$SecurityContextHolderAwareRequestFilterBeanFactory#0; factoryMethodName=getBean; initMethodName=null; des
> troyMethodName=null, order = 2000, Root bean: class [org.springframework.security.web.authentication.AnonymousAuthenticationFilter]; scope=; abstract=false; lazyInit=false; autowire
> Mode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 2300, Root bean:
> class [org.springframework.security.web.access.ExceptionTranslationFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; prima
> ry=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 2500, <mustChangePasswordFilter>, order = 2599, <org.springframework.sec
> urity.web.access.intercept.FilterSecurityInterceptor#0>, order = 2600]
> 10:23:20.012 INFO org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor - Initializing ExecutorService
> 10:23:20.012 INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'asyncConnectorFacadeExecutor' of type [org.springframework.
> scheduling.config.TaskExecutorFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
> 10:23:20.012 INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'asyncConnectorFacadeExecutor' of type [org.springframework.
> scheduling.concurrent.ThreadPoolTaskExecutor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
> 10:23:20.285 ERROR com.zaxxer.hikari.HikariConfig - Failed to load driver class org.postgresql.Driver from HikariConfig class classloader WebappClassLoader
> context: /syncope
> delegate: false
> repositories:
> /WEB-INF/classes/
> ----------> Parent Classloader:
> java.net.URLClassLoader@7a81197d
>
> 10:23:20.337 ERROR com.zaxxer.hikari.HikariConfig - Failed to load driver class org.postgresql.Driver from HikariConfig class classloader WebappClassLoader
> context: /syncope
> delegate: false
> repositories:
> /WEB-INF/classes/
> ----------> Parent Classloader:
> java.net.URLClassLoader@7a81197d
>
> 10:23:20.338 INFO org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor - Shutting down ExecutorService
> 10:23:32.831 INFO org.springframework.security.core.SpringSecurityCoreVersion - You are running with Spring Security Core 5.1.5.RELEASE
> 10:23:32.835 INFO org.springframework.security.config.SecurityNamespaceHandler - Spring Security 'config' module version is 5.1.5.RELEASE
> 10:23:32.859 INFO org.springframework.security.config.method.GlobalMethodSecurityBeanDefinitionParser - Expressions were enabled for method security but no SecurityExpressionHandle
> r was configured. All hasPermision() expressions will evaluate to false.
> 10:23:32.910 INFO org.springframework.security.config.http.HttpSecurityBeanDefinitionParser - Checking sorted filter chain: [Root bean: class [org.springframework.security.web.cont
> ext.SecurityContextPersistenceFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factor
> yMethodName=null; initMethodName=null; destroyMethodName=null, order = 200, Root bean: class [org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter
> ]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=nul
> l; destroyMethodName=null, order = 400, <jwtAuthenticationFilter>, order = 1799, Root bean: class [org.springframework.security.web.authentication.www.BasicAuthenticationFilter]; sc
> ope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; de
> stroyMethodName=null, order = 1800, Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factor
> yBeanName=org.springframework.security.config.http.HttpConfigurationBuilder$SecurityContextHolderAwareRequestFilterBeanFactory#0; factoryMethodName=getBean; initMethodName=null; des
> troyMethodName=null, order = 2000, Root bean: class [org.springframework.security.web.authentication.AnonymousAuthenticationFilter]; scope=; abstract=false; lazyInit=false; autowire
> Mode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 2300, Root bean:
> class [org.springframework.security.web.access.ExceptionTranslationFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; prima
> ry=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 2500, <mustChangePasswordFilter>, order = 2599, <org.springframework.sec
> urity.web.access.intercept.FilterSecurityInterceptor#0>, order = 2600]
> 10:23:34.490 INFO org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor - Initializing ExecutorService
> 10:23:34.490 INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'asyncConnectorFacadeExecutor' of type [org.springframework.
> scheduling.config.TaskExecutorFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
> 10:23:34.490 INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'asyncConnectorFacadeExecutor' of type [org.springframework.
> scheduling.concurrent.ThreadPoolTaskExecutor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
> 10:23:34.757 ERROR com.zaxxer.hikari.HikariConfig - Failed to load driver class org.postgresql.Driver from HikariConfig class classloader WebappClassLoader
> context: /syncope
> delegate: false
> repositories:
> /WEB-INF/classes/
> ----------> Parent Classloader:
> java.net.URLClassLoader@7a81197d
>
> 10:23:34.809 ERROR com.zaxxer.hikari.HikariConfig - Failed to load driver class org.postgresql.Driver from HikariConfig class classloader WebappClassLoader
> context: /syncope
> delegate: false
> repositories:
> /WEB-INF/classes/
> ----------> Parent Classloader:
> java.net.URLClassLoader@7a81197d
>
> 10:23:34.810 INFO org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor - Shutting down ExecutorService
>
> if I left in the bundles I get the following error:
>
> ➜ syncope git:(master) ✗ mvn clean verify \
>
>
> -Dconf.directory=/opt/syncope/conf \
> -Dbundles.directory=/opt/syncope/bundles \
> -Dlog.directory=/opt/syncope/log
>
>
> [INFO] Scanning for projects...
> [INFO] ------------------------------------------------------------------------
> [INFO] Reactor Build Order:
> [INFO]
> [INFO] Apache Syncope sample project
> [INFO] Apache Syncope sample project - Common
> [INFO] Apache Syncope sample project - Core
> [INFO] Apache Syncope sample project - Console
> [INFO] Apache Syncope sample project - Enduser
> [INFO]
> [INFO] ------------------------------------------------------------------------
> [INFO] Building Apache Syncope sample project 1.0-SNAPSHOT
> [INFO] ------------------------------------------------------------------------
> [INFO]
> [INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ syncope ---
> [INFO] Deleting /home/pwd/src/EIandAS/syncope/target
> [INFO]
> [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven-version) @ syncope ---
> [INFO]
> [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven) @ syncope ---
> [INFO]
> [INFO] --- gmaven-plugin:1.5:execute (default) @ syncope ---
> [INFO]
> [INFO] --- maven-remote-resources-plugin:1.5:process (process-resource-bundles) @ syncope ---
> [INFO]
> [INFO] --- maven-resources-plugin:3.1.0:copy-resources (copy-artifact-legal-files) @ syncope ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 0 resource
> [INFO]
> [INFO] --- maven-resources-plugin:3.1.0:copy-resources (copy-javadoc-legal-files) @ syncope ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 0 resource
> [INFO]
> [INFO] --- jacoco-maven-plugin:0.8.3:prepare-agent (jacoco-agent-ut) @ syncope ---
> [INFO] argLine set to -javaagent:/home/pwd/.m2/repository/org/jacoco/org.jacoco.agent/0.8.3/org.jacoco.agent-0.8.3-runtime.jar=destfile=/home/pwd/src/EIandAS/syncope/target/jacoco.ut.exec,append=true -Xms512m -Xmx1024m -Xss256k
> [INFO]
> [INFO] --- maven-site-plugin:3.7.1:attach-descriptor (attach-descriptor) @ syncope ---
> [INFO] No site descriptor found: nothing to attach.
> [INFO]
> [INFO] --- jacoco-maven-plugin:0.8.3:prepare-agent-integration (jacoco-agent-it) @ syncope ---
> [INFO] argLine set to -javaagent:/home/pwd/.m2/repository/org/jacoco/org.jacoco.agent/0.8.3/org.jacoco.agent-0.8.3-runtime.jar=destfile=/home/pwd/src/EIandAS/syncope/target/jacoco.it.exec,append=true -Xms512m -Xmx1024m -Xss256k
> [INFO]
> [INFO] --- modernizer-maven-plugin:1.8.0:modernizer (modernizer-check) @ syncope ---
> [INFO]
> [INFO] --- maven-checkstyle-plugin:3.0.0:check (checkstyle-check) @ syncope ---
> [INFO]
> [INFO] --- jacoco-maven-plugin:0.8.3:report-aggregate (jacoco-site) @ syncope ---
> [INFO]
> [INFO] --- apache-rat-plugin:0.12:check (rat-check) @ syncope ---
> [INFO] RAT will not execute since it is configured to be skipped via system property 'rat.skip'.
> [INFO]
> [INFO] ------------------------------------------------------------------------
> [INFO] Building Apache Syncope sample project - Common 1.0-SNAPSHOT
> [INFO] ------------------------------------------------------------------------
> [INFO]
> [INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ syncope-common ---
> [INFO] Deleting /home/pwd/src/EIandAS/syncope/common/target
> [INFO]
> [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven-version) @ syncope-common ---
> [INFO]
> [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven) @ syncope-common ---
> [INFO]
> [INFO] --- gmaven-plugin:1.5:execute (default) @ syncope-common ---
> [INFO]
> [INFO] --- maven-remote-resources-plugin:1.5:process (process-resource-bundles) @ syncope-common ---
> [INFO]
> [INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ syncope-common ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 0 resource
> [INFO] Copying 3 resources
> [INFO]
> [INFO] --- maven-resources-plugin:3.1.0:copy-resources (copy-artifact-legal-files) @ syncope-common ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 0 resource
> [INFO]
> [INFO] --- maven-resources-plugin:3.1.0:copy-resources (copy-javadoc-legal-files) @ syncope-common ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 0 resource
> [INFO]
> [INFO] --- maven-compiler-plugin:3.8.0:compile (default-compile) @ syncope-common ---
> [INFO] No sources to compile
> [INFO]
> [INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ syncope-common ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 0 resource
> [INFO] Copying 3 resources
> [INFO]
> [INFO] --- maven-compiler-plugin:3.8.0:testCompile (default-testCompile) @ syncope-common ---
> [INFO] No sources to compile
> [INFO]
> [INFO] --- jacoco-maven-plugin:0.8.3:prepare-agent (jacoco-agent-ut) @ syncope-common ---
> [INFO] argLine set to -javaagent:/home/pwd/.m2/repository/org/jacoco/org.jacoco.agent/0.8.3/org.jacoco.agent-0.8.3-runtime.jar=destfile=/home/pwd/src/EIandAS/syncope/common/target/jacoco.ut.exec,append=true -Xms512m -Xmx1024m -Xss256k
> [INFO]
> [INFO] --- maven-surefire-plugin:2.22.1:test (default-test) @ syncope-common ---
> [INFO]
> [INFO] --- maven-jar-plugin:3.1.1:jar (default-jar) @ syncope-common ---
> [INFO] Building jar: /home/pwd/src/EIandAS/syncope/common/target/syncope-common-1.0-SNAPSHOT.jar
> [INFO]
> [INFO] --- maven-site-plugin:3.7.1:attach-descriptor (attach-descriptor) @ syncope-common ---
> [INFO] Skipping because packaging 'jar' is not pom.
> [INFO]
> [INFO] --- jacoco-maven-plugin:0.8.3:prepare-agent-integration (jacoco-agent-it) @ syncope-common ---
> [INFO] argLine set to -javaagent:/home/pwd/.m2/repository/org/jacoco/org.jacoco.agent/0.8.3/org.jacoco.agent-0.8.3-runtime.jar=destfile=/home/pwd/src/EIandAS/syncope/common/target/jacoco.it.exec,append=true -Xms512m -Xmx1024m -Xss256k
> [INFO]
> [INFO] --- modernizer-maven-plugin:1.8.0:modernizer (modernizer-check) @ syncope-common ---
> [INFO]
> [INFO] --- maven-checkstyle-plugin:3.0.0:check (checkstyle-check) @ syncope-common ---
> [INFO]
> [INFO] --- jacoco-maven-plugin:0.8.3:report-aggregate (jacoco-site) @ syncope-common ---
> [INFO]
> [INFO] --- apache-rat-plugin:0.12:check (rat-check) @ syncope-common ---
> [INFO] RAT will not execute since it is configured to be skipped via system property 'rat.skip'.
> [INFO]
> [INFO] ------------------------------------------------------------------------
> [INFO] Building Apache Syncope sample project - Core 1.0-SNAPSHOT
> [INFO] ------------------------------------------------------------------------
> [INFO]
> [INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ syncope-core ---
> [INFO] Deleting /home/pwd/src/EIandAS/syncope/core/target
> [INFO]
> [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven-version) @ syncope-core ---
> [INFO]
> [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven) @ syncope-core ---
> [INFO]
> [INFO] --- gmaven-plugin:1.5:execute (default) @ syncope-core ---
> [INFO]
> [INFO] --- maven-remote-resources-plugin:1.5:process (process-resource-bundles) @ syncope-core ---
> [INFO]
> [INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ syncope-core ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 32 resources
> [INFO] Copying 3 resources
> [INFO]
> [INFO] --- maven-resources-plugin:3.1.0:copy-resources (copy-artifact-legal-files) @ syncope-core ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 0 resource
> [INFO]
> [INFO] --- maven-resources-plugin:3.1.0:copy-resources (copy-javadoc-legal-files) @ syncope-core ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 0 resource
> [INFO]
> [INFO] --- maven-compiler-plugin:3.8.0:compile (default-compile) @ syncope-core ---
> [INFO] No sources to compile
> [INFO]
> [INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ syncope-core ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 26 resources
> [INFO] Copying 1 resource
> [INFO] Copying 3 resources
> [INFO]
> [INFO] --- maven-dependency-plugin:3.1.1:copy (set-bundles) @ syncope-core ---
> [INFO] Configured Artifact: net.tirasa.connid.bundles.soap:net.tirasa.connid.bundles.soap:1.4.3:jar
> [INFO] Configured Artifact: net.tirasa.connid.bundles:net.tirasa.connid.bundles.rest:1.0.4:jar
> [INFO] Configured Artifact: net.tirasa.connid.bundles:net.tirasa.connid.bundles.csvdir:0.8.8:jar
> [INFO] Configured Artifact: net.tirasa.connid.bundles.db:net.tirasa.connid.bundles.db.table:2.2.6:jar
> [INFO] Configured Artifact: net.tirasa.connid.bundles.db:net.tirasa.connid.bundles.db.scriptedsql:2.2.6:jar
> [INFO] Configured Artifact: net.tirasa.connid.bundles:net.tirasa.connid.bundles.ldap:1.5.3:jar
> [INFO] Configured Artifact: net.tirasa.connid.bundles:net.tirasa.connid.bundles.ad:1.3.6:jar
> [INFO] Configured Artifact: net.tirasa.connid.bundles:net.tirasa.connid.bundles.googleapps:1.4.2:jar
> [INFO] Configured Artifact: net.tirasa.connid.bundles:net.tirasa.connid.bundles.azure:1.0.1:jar
> [INFO] Configured Artifact: net.tirasa.connid.bundles:net.tirasa.connid.bundles.scimv11:1.0.1:jar
> [INFO] Configured Artifact: net.tirasa.connid.bundles:net.tirasa.connid.bundles.servicenow:1.0.0:jar
> [INFO] Copying net.tirasa.connid.bundles.soap-1.4.3.jar to /opt/syncope/bundles/net.tirasa.connid.bundles.soap-1.4.3.jar
> [INFO] ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO]
> [INFO] Apache Syncope sample project ..................... SUCCESS [4.310s]
> [INFO] Apache Syncope sample project - Common ............ SUCCESS [1.233s]
> [INFO] Apache Syncope sample project - Core .............. FAILURE [2.534s]
> [INFO] Apache Syncope sample project - Console ........... SKIPPED
> [INFO] Apache Syncope sample project - Enduser ........... SKIPPED
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 8.341s
> [INFO] Finished at: Thu Sep 05 10:29:47 EDT 2019
> [INFO] Final Memory: 48M/628M
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-dependency-plugin:3.1.1:copy (set-bundles) on project syncope-core: Error copying artifact from /home/pwd/.m2/repository/net/tirasa/connid/bundles/soap/net.tirasa.connid.bundles.soap/1.4.3/net.tirasa.connid.bundles.soap-1.4.3.jar to /opt/syncope/bundles/net.tirasa.connid.bundles.soap-1.4.3.jar -> [Help 1]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions, please read the following articles:
> [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
> [ERROR]
> [ERROR] After correcting the problems, you can resume the build with the command
> [ERROR] mvn <goals> -rf :syncope-core
>
>
>
>
>
> --
> This email, and any files transmitted with it, are confidential
> and intended solely for the use of the individual or entity to
> whom they are addressed. If you have received this email in error,
> please advise postmaster@mdtsoft.com<ma...@mdtsoft.com> <ma...@mdtsoft.com>.
>
> 3480 Preston Ridge Road
> Suite 450
> Alpharetta, GA 30005
>
> Philip W. Dalrymple III <pw...@mdtsoft.com>
> MDT Software - Automation Management Company
> +1 678 297 1001
> Fax +1 678 297 1003
>
> ________________________________________
> From: Andrea Patricelli <an...@tirasa.net>
> Sent: Thursday, September 5, 2019 10:07
> To: user@syncope.apache.org<ma...@syncope.apache.org>
> Subject: Re: Syncope trying to deploy using Maven and not getting login
>
> P.S.
>
> About the attached link: please take care to the doc starting from
> documentation at "Deployment directories" section.
>
> Il 05/09/19 16:04, Dalrymple, Philip ha scritto:
>
>
> OK I will give that a go.
>
>
> --
> This email, and any files transmitted with it, are confidential
> and intended solely for the use of the individual or entity to
> whom they are addressed. If you have received this email in error,
> please advise postmaster@mdtsoft.com<ma...@mdtsoft.com> <ma...@mdtsoft.com>.
>
> 3480 Preston Ridge Road
> Suite 450
> Alpharetta, GA 30005
>
> Philip W. Dalrymple III <pw...@mdtsoft.com>
> MDT Software - Automation Management Company
> +1 678 297 1001
> Fax +1 678 297 1003
>
> ________________________________________
> From: Andrea Patricelli <an...@apache.org>
> Sent: Thursday, September 5, 2019 10:03
> To: user@syncope.apache.org<ma...@syncope.apache.org>
> Subject: Re: Syncope trying to deploy using Maven and not getting login
>
> Ok, maybe I got your first problem.
>
> Please follow this [1]. Basically, in order to do a correct deploy, you
> should build with a special mvn command specifying bundles, logs and
> conf directories and, moreover, in order to let Syncope take correct
> configuration parameters (like for the jdbc connection) copy some of the
> properties files in sources under the specific conf directory.
>
> HTH,
> Andrea
>
> [1] https://syncope.apache.org/docs/2.1/reference-guide.html#customization
>
> Il 05/09/19 15:56, Dalrymple, Philip ha scritto:
>
>
> OK this is weird
>
> I did a
>
> sudo find / -name "*core*.log*" -print
>
> and only find the logs from my first try using docker.
> (was not able to customize well enough and switched to
> maven deleting the docker images)
>
> I will keep looking.
>
>
> --
> This email, and any files transmitted with it, are confidential
> and intended solely for the use of the individual or entity to
> whom they are addressed. If you have received this email in error,
> please advise postmaster@mdtsoft.com<ma...@mdtsoft.com> <ma...@mdtsoft.com>.
>
> 3480 Preston Ridge Road
> Suite 450
> Alpharetta, GA 30005
>
> Philip W. Dalrymple III <pw...@mdtsoft.com>
> MDT Software - Automation Management Company
> +1 678 297 1001
> Fax +1 678 297 1003
>
> ________________________________________
> From: Dalrymple, Philip <pw...@mdtsoft.com>
> Sent: Thursday, September 5, 2019 9:53
> To: user@syncope.apache.org<ma...@syncope.apache.org>
> Subject: Re: Syncope trying to deploy using Maven and not getting login
>
>
> OK I need to find where the logs are.
>
> --
> This email, and any files transmitted with it, are confidential
> and intended solely for the use of the individual or entity to
> whom they are addressed. If you have received this email in error,
> please advise postmaster@mdtsoft.com<ma...@mdtsoft.com> <ma...@mdtsoft.com>.
>
> 3480 Preston Ridge Road
> Suite 450
> Alpharetta, GA 30005
>
> Philip W. Dalrymple III <pw...@mdtsoft.com>
> MDT Software - Automation Management Company
> +1 678 297 1001
> Fax +1 678 297 1003
>
> ________________________________________
> From: Andrea Patricelli <an...@apache.org>
> Sent: Thursday, September 5, 2019 9:52
> To: user@syncope.apache.org<ma...@syncope.apache.org>
> Subject: Re: Syncope trying to deploy using Maven and not getting login
>
> Hi Philip,
>
> you should check core.log, core-rest.log, core-persistence.log and
> core-connid.log files in order to understand what is the problem.
> The NOT FOUND error in console simply means that core is unavailable,
> probably because it failed to start.
>
> Please check for exceptions in core*.log files and attach it into this
> thread.
>
> Best regards,
> Andrea
>
> Il 05/09/19 15:32, Dalrymple, Philip ha scritto:
>
>
> I am trying to deploy Syncope using the Maven method. I have followed the
> instructions in
>
> http://syncope.apache.org/docs/2.1/getting-started.html#maven-project
>
> and then edited core/src/main/resources/domains/Master.properties
>
> to have the correct postgres password, I re-did the mvn clean install
> and placed the war files in my tomcat/webapps directory, they deployed
> without me restarting tomcat.
>
> When I got to http://XXXXX:8080/syncope-console I get a 500 error (see below)
> when I got to .../syncope or .../syncope/index.html or .../syncope-enduser I get a 404 error.
>
> I checked in WEB-INF/classes/persistence.properties (in syncope) and it had the
> correct DB user, host, and password info and I verified that I could connect to the DB BUT
> the DB was empty.
>
> the stack trace on the syncope-console
>
>
> type Exception report
>
> message Unable to instantiate web session class org.apache.syncope.client.console.SyncopeConsoleSession
>
> description The server encountered an internal error that prevented it from fulfilling this request.
>
> exception
>
> org.apache.wicket.WicketRuntimeException: Unable to instantiate web session class org.apache.syncope.client.console.SyncopeConsoleSession
> org.apache.wicket.authroles.authentication.AuthenticatedWebApplication.newSession(AuthenticatedWebApplication.java:121)
> org.apache.wicket.Application.fetchCreateAndSetSession(Application.java:1555)
> org.apache.wicket.Session.get(Session.java:176)
> org.apache.syncope.client.console.SyncopeConsoleSession.get(SyncopeConsoleSession.java:91)
> org.apache.syncope.client.console.SyncopeConsoleRequestCycleListener.onException(SyncopeConsoleRequestCycleListener.java:80)
> org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:126)
> org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:122)
> org.apache.wicket.util.listener.ListenerCollection.notify(ListenerCollection.java:80)
> org.apache.wicket.request.cycle.RequestCycleListenerCollection.onException(RequestCycleListenerCollection.java:121)
> org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:126)
> org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:122)
> org.apache.wicket.util.listener.ListenerCollection.notify(ListenerCollection.java:80)
> org.apache.wicket.request.cycle.RequestCycleListenerCollection.onException(RequestCycleListenerCollection.java:121)
> org.apache.wicket.request.cycle.RequestCycle.handleException(RequestCycle.java:368)
> org.apache.wicket.request.cycle.RequestCycle.executeExceptionRequestHandler(RequestCycle.java:314)
> org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:259)
> org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:221)
> org.apache.wicket.protocol.ws.AbstractUpgradeFilter.processRequestCycle(AbstractUpgradeFilter.java:70)
> org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:206)
> org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:299)
>
> root cause
>
> java.lang.reflect.InvocationTargetException
> sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
> java.lang.reflect.Constructor.newInstance(Constructor.java:423)
> org.apache.wicket.authroles.authentication.AuthenticatedWebApplication.newSession(AuthenticatedWebApplication.java:117)
> org.apache.wicket.Application.fetchCreateAndSetSession(Application.java:1555)
> org.apache.wicket.Session.get(Session.java:176)
> org.apache.syncope.client.console.SyncopeConsoleSession.get(SyncopeConsoleSession.java:91)
> org.apache.syncope.client.console.SyncopeConsoleRequestCycleListener.onException(SyncopeConsoleRequestCycleListener.java:80)
> org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:126)
> org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:122)
> org.apache.wicket.util.listener.ListenerCollection.notify(ListenerCollection.java:80)
> org.apache.wicket.request.cycle.RequestCycleListenerCollection.onException(RequestCycleListenerCollection.java:121)
> org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:126)
> org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:122)
> org.apache.wicket.util.listener.ListenerCollection.notify(ListenerCollection.java:80)
> org.apache.wicket.request.cycle.RequestCycleListenerCollection.onException(RequestCycleListenerCollection.java:121)
> org.apache.wicket.request.cycle.RequestCycle.handleException(RequestCycle.java:368)
> org.apache.wicket.request.cycle.RequestCycle.executeExceptionRequestHandler(RequestCycle.java:314)
> org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:259)
> org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:221)
> org.apache.wicket.protocol.ws.AbstractUpgradeFilter.processRequestCycle(AbstractUpgradeFilter.java:70)
> org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:206)
> org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:299)
>
> root cause
>
> javax.xml.ws.WebServiceException: Remote exception with status code: NOT_FOUND
> org.apache.syncope.client.lib.RestClientExceptionMapper.fromResponse(RestClientExceptionMapper.java:76)
> org.apache.syncope.client.lib.RestClientExceptionMapper.fromResponse(RestClientExceptionMapper.java:42)
> org.apache.cxf.jaxrs.client.ClientProxyImpl.checkResponse(ClientProxyImpl.java:372)
> org.apache.cxf.jaxrs.client.ClientProxyImpl.handleResponse(ClientProxyImpl.java:948)
> org.apache.cxf.jaxrs.client.ClientProxyImpl.doChainedInvocation(ClientProxyImpl.java:854)
> org.apache.cxf.jaxrs.client.ClientProxyImpl.invoke(ClientProxyImpl.java:295)
> com.sun.proxy.$Proxy119.platform(Unknown Source)
> org.apache.syncope.client.console.SyncopeConsoleSession.<init>(SyncopeConsoleSession.java:103)
> sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
> java.lang.reflect.Constructor.newInstance(Constructor.java:423)
> org.apache.wicket.authroles.authentication.AuthenticatedWebApplication.newSession(AuthenticatedWebApplication.java:117)
> org.apache.wicket.Application.fetchCreateAndSetSession(Application.java:1555)
> org.apache.wicket.Session.get(Session.java:176)
> org.apache.syncope.client.console.SyncopeConsoleSession.get(SyncopeConsoleSession.java:91)
> org.apache.syncope.client.console.SyncopeConsoleRequestCycleListener.onException(SyncopeConsoleRequestCycleListener.java:80)
> org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:126)
> org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:122)
> org.apache.wicket.util.listener.ListenerCollection.notify(ListenerCollection.java:80)
> org.apache.wicket.request.cycle.RequestCycleListenerCollection.onException(RequestCycleListenerCollection.java:121)
> org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:126)
> org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:122)
> org.apache.wicket.util.listener.ListenerCollection.notify(ListenerCollection.java:80)
> org.apache.wicket.request.cycle.RequestCycleListenerCollection.onException(RequestCycleListenerCollection.java:121)
> org.apache.wicket.request.cycle.RequestCycle.handleException(RequestCycle.java:368)
> org.apache.wicket.request.cycle.RequestCycle.executeExceptionRequestHandler(RequestCycle.java:314)
> org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:259)
> org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:221)
> org.apache.wicket.protocol.ws.AbstractUpgradeFilter.processRequestCycle(AbstractUpgradeFilter.java:70)
> org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:206)
> org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:299)
>
>
> thanks
>
>
> --
> This email, and any files transmitted with it, are confidential
> and intended solely for the use of the individual or entity to
> whom they are addressed. If you have received this email in error,
> please advise postmaster@mdtsoft.com<ma...@mdtsoft.com> <ma...@mdtsoft.com>.
>
> 3480 Preston Ridge Road
> Suite 450
> Alpharetta, GA 30005
>
> Philip W. Dalrymple III <pw...@mdtsoft.com>
> MDT Software - Automation Management Company
> +1 678 297 1001
> Fax +1 678 297 1003
>
>
> --
> Dott. Andrea Patricelli
> Tel. +39 3204524292
>
> Engineer @ Tirasa S.r.l.
> Viale Vittoria Colonna 97 - 65127 Pescara
> Tel +39 0859116307 / FAX +39 0859111173
> http://www.tirasa.net
>
> Apache Syncope PMC Member
>
>
>
> --
> Dott. Andrea Patricelli
> Tel. +39 3204524292
>
> Engineer @ Tirasa S.r.l.
> Viale Vittoria Colonna 97 - 65127 Pescara
> Tel +39 0859116307 / FAX +39 0859111173
> http://www.tirasa.net
>
> Apache Syncope PMC Member
>
>
>
> --
> Dott. Andrea Patricelli
> Tel. +39 3204524292
>
> Engineer @ Tirasa S.r.l.
> Viale Vittoria Colonna 97 - 65127 Pescara
> Tel +39 0859116307 / FAX +39 0859111173
> http://www.tirasa.net
>
> Apache Syncope PMC Member
>
>
>
> --
> Dott. Andrea Patricelli
> Tel. +39 3204524292
>
> Engineer @ Tirasa S.r.l.
> Viale Vittoria Colonna 97 - 65127 Pescara
> Tel +39 0859116307 / FAX +39 0859111173
> http://www.tirasa.net
>
> Apache Syncope PMC Member
--
Dott. Andrea Patricelli
Tel. +39 3204524292
Engineer @ Tirasa S.r.l.
Viale Vittoria Colonna 97 - 65127 Pescara
Tel +39 0859116307 / FAX +39 0859111173
http://www.tirasa.net
Apache Syncope PMC Member
Re: Syncope trying to deploy using Maven and not getting login
Posted by "Dalrymple, Philip" <pw...@mdtsoft.com>.
Having the domains directory in /opt/syncope/conf did not help.
It does not appear that there are any changes in the logs (other than the times)
--
This email, and any files transmitted with it, are confidential
and intended solely for the use of the individual or entity to
whom they are addressed. If you have received this email in error,
please advise postmaster@mdtsoft.com <ma...@mdtsoft.com>.
3480 Preston Ridge Road
Suite 450
Alpharetta, GA 30005
Philip W. Dalrymple III <pw...@mdtsoft.com>
MDT Software - Automation Management Company
+1 678 297 1001
Fax +1 678 297 1003
________________________________________
From: Dalrymple, Philip <pw...@mdtsoft.com>
Sent: Thursday, September 12, 2019 7:55
To: user@syncope.apache.org
Subject: Re: Syncope trying to deploy using Maven and not getting login
OK went off and did a source build to help me understand and I will need
to, at some point, get into that.
I cleaned out the DB and undeployed the three applications and then re-deployed
them.
Still, no luck.
~ tree /opt/syncope/conf
/opt/syncope/conf
|-- connid.properties
|-- console.properties
|-- customFormAttributes.json
|-- customTemplate.json
|-- enduser.properties
|-- logic.properties
|-- mail.properties
|-- persistence.properties
|-- provisioning.properties
`-- security.properties
with no domain in it (I may putting that in the /opt/syncope/conf)
the logs have the following (snip for thing that repeat)
07:53:12.491 INFO org.springframework.security.core.SpringSecurityCoreVersion - You are running with Spring Security Core 5.1.5.RELEASE
07:53:12.494 INFO org.springframework.security.config.SecurityNamespaceHandler - Spring Security 'config' module version is 5.1.5.RELEASE
07:53:12.514 INFO org.springframework.security.config.method.GlobalMethodSecurityBeanDefinitionParser - Expressions were enabled for method security but no SecurityExpressionHandler was configured. All hasPermision() expressions will evaluate to false.
07:53:12.556 INFO org.springframework.security.config.http.HttpSecurityBeanDefinitionParser - Checking sorted filter chain: [Root bean: class [org.springframework.security.web.context.SecurityContextPersistenceFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 200, Root bean: class [org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 400, <jwtAuthenticationFilter>, order = 1799, Root bean: class [org.springframework.security.web.authentication.www.BasicAuthenticationFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 1800, Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=org.springframework.security.config.http.HttpConfigurationBuilder$SecurityContextHolderAwareRequestFilterBeanFactory#0; factoryMethodName=getBean; initMethodName=null; destroyMethodName=null, order = 2000, Root bean: class [org.springframework.security.web.authentication.AnonymousAuthenticationFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 2300, Root bean: class [org.springframework.security.web.access.ExceptionTranslationFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 2500, <mustChangePasswordFilter>, order = 2599, <org.springframework.security.web.access.intercept.FilterSecurityInterceptor#0>, order = 2600]
07:53:14.055 INFO org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor - Initializing ExecutorService
07:53:14.055 INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'asyncConnectorFacadeExecutor' of type [org.springframework.scheduling.config.TaskExecutorFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
07:53:14.055 INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'asyncConnectorFacadeExecutor' of type [org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
07:53:14.696 WARN openjpa.Runtime - An error occurred while registering a ClassTransformer with PersistenceUnitInfo: name 'Master', root URL [file:/var/lib/tomcat/webapps/syncope/WEB-INF/lib/syncope-core-persistence-jpa-2.1.4.jar]. The error has been consumed. To see it, set your openjpa.Runtime log level to TRACE. Load-time class transformation will not be available.
07:53:14.860 INFO org.springframework.security.web.DefaultSecurityFilterChain - Creating filter chain: any request, [org.springframework.security.web.context.SecurityContextPersistenceFilter@551267bf]
07:53:15.440 INFO org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor - Initializing ExecutorService
07:53:15.624 INFO org.apache.syncope.core.provisioning.java.job.SchedulerDBInit - No Quartz tables found, creating
07:53:15.835 INFO org.quartz.impl.StdSchedulerFactory - Using default implementation for ThreadExecutor
07:53:15.861 INFO org.quartz.core.SchedulerSignalerImpl - Initialized Scheduler Signaller of type: class org.quartz.core.SchedulerSignalerImpl
07:53:15.861 INFO org.quartz.core.QuartzScheduler - Quartz Scheduler v.2.3.1 created.
07:53:15.865 INFO org.springframework.scheduling.quartz.LocalDataSourceJobStore - Using db table-based data access locking (synchronization).
07:53:15.868 INFO org.springframework.scheduling.quartz.LocalDataSourceJobStore - JobStoreCMT initialized.
07:53:15.874 INFO org.quartz.core.QuartzScheduler - Scheduler meta-data: Quartz Scheduler (v2.3.1) 'ClusteredScheduler' with instanceId 'gluu-prs9.mdtsoft.com1568289195837'
Scheduler class: 'org.quartz.core.QuartzScheduler' - running locally.
NOT STARTED.
Currently in standby mode.
Number of jobs executed: 0
Using thread pool 'org.quartz.simpl.SimpleThreadPool' - with 10 threads.
Using job-store 'org.springframework.scheduling.quartz.LocalDataSourceJobStore' - which supports persistence. and is clustered.
07:53:15.874 INFO org.quartz.impl.StdSchedulerFactory - Quartz scheduler 'ClusteredScheduler' initialized from an externally provided properties instance.
07:53:15.874 INFO org.quartz.impl.StdSchedulerFactory - Quartz scheduler version: 2.3.1
07:53:15.874 INFO org.quartz.core.QuartzScheduler - JobFactory set to: org.apache.syncope.core.provisioning.java.job.AutowiringSpringBeanJobFactory@414ca8cc
07:53:15.879 INFO openjpa.Runtime - Starting OpenJPA 3.1.0
07:53:15.914 INFO openjpa.jdbc.JDBC - Using dictionary class "org.apache.openjpa.jdbc.sql.PostgresDictionary".
07:53:15.973 INFO openjpa.jdbc.JDBC - Connected to PostgreSQL version 11.11 using JDBC driver PostgreSQL JDBC Driver version 42.2.6.
07:53:16.314 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.group.JPAGroup". Ignoring.
07:53:16.314 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.group.JPATypeExtension". Ignoring.
07:53:16.314 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.user.JPAURelationship". Ignoring.
07:53:16.314 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.anyobject.JPAADynGroupMembership". Ignoring.
07:53:16.314 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.anyobject.JPAARelationship". Ignoring.
07:53:16.314 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.anyobject.JPAAPlainAttrUniqueValue". Ignoring.
07:53:16.314 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.user.JPAUPlainAttrUniqueValue". Ignoring.
07:53:16.314 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.group.JPAGPlainAttrUniqueValue". Ignoring.
07:53:16.315 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.conf.JPACPlainAttrUniqueValue". Ignoring.
07:53:16.350 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.group.JPAGroup". Ignoring.
07:53:16.350 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.group.JPATypeExtension". Ignoring.
07:53:16.351 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.user.JPAURelationship". Ignoring.
07:53:16.351 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.anyobject.JPAAMembership". Ignoring.
07:53:16.351 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.anyobject.JPAADynGroupMembership". Ignoring.
07:53:16.351 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.anyobject.JPAARelationship". Ignoring.
07:53:16.351 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.anyobject.JPAAPlainAttrUniqueValue". Ignoring.
07:53:16.351 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.user.JPAUPlainAttrUniqueValue". Ignoring.
07:53:16.351 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.group.JPAGPlainAttrUniqueValue". Ignoring.
07:53:16.351 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.conf.JPACPlainAttrUniqueValue". Ignoring.
07:53:16.361 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.group.JPAGroup". Ignoring.
07:53:16.361 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.group.JPATypeExtension". Ignoring.
07:53:16.361 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.user.JPAUDynGroupMembership". Ignoring.
07:53:16.361 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.user.JPAURelationship". Ignoring.
07:53:16.361 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.anyobject.JPAAMembership". Ignoring.
07:53:16.361 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.anyobject.JPAADynGroupMembership". Ignoring.
07:53:16.361 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.anyobject.JPAARelationship". Ignoring.
07:53:16.362 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.anyobject.JPAAPlainAttrUniqueValue". Ignoring.
07:53:16.362 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.user.JPAUPlainAttrUniqueValue". Ignoring.
07:53:16.362 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.group.JPAGPlainAttrUniqueValue". Ignoring.
07:53:16.362 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.conf.JPACPlainAttrUniqueValue". Ignoring.
07:53:16.370 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.group.JPAGroup". Ignoring.
07:53:16.371 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.group.JPATypeExtension". Ignoring.
07:53:16.371 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.user.JPAUMembership". Ignoring.
07:53:16.371 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.user.JPAUDynGroupMembership". Ignoring.
07:53:16.371 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.user.JPAURelationship". Ignoring.
--------snip-------------------
07:53:22.087 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.anyobject.JPAAPlainAttrUniqueValue". Ignoring.
07:53:22.087 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.user.JPAUPlainAttrUniqueValue". Ignoring.
07:53:22.087 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.group.JPAGPlainAttrUniqueValue". Ignoring.
07:53:22.087 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.conf.JPACPlainAttrUniqueValue". Ignoring.
07:53:22.653 INFO org.springframework.scheduling.quartz.SchedulerFactoryBean - Shutting down Quartz Scheduler
07:53:22.653 INFO org.quartz.core.QuartzScheduler - Scheduler ClusteredScheduler_$_gluu-prs9.mdtsoft.com1568289195837 shutting down.
07:53:22.653 INFO org.quartz.core.QuartzScheduler - Scheduler ClusteredScheduler_$_gluu-prs9.mdtsoft.com1568289195837 paused.
07:53:22.857 INFO org.quartz.core.QuartzScheduler - Scheduler unregistered from name 'quartz:type=QuartzScheduler,name=ClusteredScheduler,instance=gluu-prs9.mdtsoft.com1568289195837' in the local MBeanServer.
07:53:22.857 INFO org.quartz.core.QuartzScheduler - Scheduler ClusteredScheduler_$_gluu-prs9.mdtsoft.com1568289195837 shutdown complete.
07:53:22.859 INFO org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor - Shutting down ExecutorService
07:53:22.869 INFO org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor - Shutting down ExecutorService
I get clean logs with no errors.
my config directory is
--
This email, and any files transmitted with it, are confidential
and intended solely for the use of the individual or entity to
whom they are addressed. If you have received this email in error,
please advise postmaster@mdtsoft.com <ma...@mdtsoft.com>.
3480 Preston Ridge Road
Suite 450
Alpharetta, GA 30005
Philip W. Dalrymple III <pw...@mdtsoft.com>
MDT Software - Automation Management Company
+1 678 297 1001
Fax +1 678 297 1003
________________________________________
From: Andrea Patricelli <an...@apache.org>
Sent: Friday, September 6, 2019 4:20
To: user@syncope.apache.org
Subject: Re: Syncope trying to deploy using Maven and not getting login
Hi Philip,
in order to make a correct deploy on your application server follow [2].
As the warning in the doc states:
Be sure to put the corresponding JDBC driver JAR file under $CATALINA_HOME/lib for each datasource defined.
You should provide postgres driver to Syncope by putting it into Tomcat lib folder.
About the maven buld error: did you give the correct r/w permissions to /opt/syncope/buldles directory? If you want more info about the build please add the -X option to your maven build command.
Best regards,
Andrea
[2] https://syncope.apache.org/docs/2.1/reference-guide.html#apache-tomcat-9
Il 05/09/19 16:38, Dalrymple, Philip ha scritto:
OK I had one issue in that to make it work my build script needed to look like
#!/bin/bash
cd syncope
sudo mkdir -p /opt/syncope/bundles
sudo mkdir -p /opt/syncope/log
sudo chmod 0777 /opt/syncope/log
sudo mkdir -p /opt/syncope/conf
# mvn clean verify \
# -Dconf.directory=/opt/syncope/conf \
# -Dbundles.directory=/opt/syncope/bundles \
# -Dlog.directory=/opt/syncope/log
mvn clean verify \
-Dconf.directory=/opt/syncope/conf \
-Dlog.directory=/opt/syncope/log
sudo cp core/target/classes/*properties /opt/syncope/conf
sudo cp console/target/classes/*properties /opt/syncope/conf
sudo cp enduser/target/classes/*properties /opt/syncope/conf
sudo cp enduser/target/classes/customFormAttributes.json /opt/syncope/conf
sudo cp enduser/target/classes/customTemplate.json /opt/syncope/conf
i.e. not changing the bundles directory (which I want to do as I want to build in
the bundles into the war files).
When I do that I DO get logs (in /opt/syncope/log) Looks like I don't have the postgres dirver.
I checked and the
core/target/classes/provisioning.properties
already had the changes for postgres
➜ syncope git:(master) ✗ more /opt/syncope/log/core.log
10:22:58.367 INFO org.springframework.security.core.SpringSecurityCoreVersion - You are running with Spring Security Core 5.1.5.RELEASE
10:22:58.370 INFO org.springframework.security.config.SecurityNamespaceHandler - Spring Security 'config' module version is 5.1.5.RELEASE
10:22:58.391 INFO org.springframework.security.config.method.GlobalMethodSecurityBeanDefinitionParser - Expressions were enabled for method security but no SecurityExpressionHandle
r was configured. All hasPermision() expressions will evaluate to false.
10:22:58.437 INFO org.springframework.security.config.http.HttpSecurityBeanDefinitionParser - Checking sorted filter chain: [Root bean: class [org.springframework.security.web.cont
ext.SecurityContextPersistenceFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factor
yMethodName=null; initMethodName=null; destroyMethodName=null, order = 200, Root bean: class [org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter
]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=nul
l; destroyMethodName=null, order = 400, <jwtAuthenticationFilter>, order = 1799, Root bean: class [org.springframework.security.web.authentication.www.BasicAuthenticationFilter]; sc
ope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; de
stroyMethodName=null, order = 1800, Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factor
yBeanName=org.springframework.security.config.http.HttpConfigurationBuilder$SecurityContextHolderAwareRequestFilterBeanFactory#0; factoryMethodName=getBean; initMethodName=null; des
troyMethodName=null, order = 2000, Root bean: class [org.springframework.security.web.authentication.AnonymousAuthenticationFilter]; scope=; abstract=false; lazyInit=false; autowire
Mode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 2300, Root bean:
class [org.springframework.security.web.access.ExceptionTranslationFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; prima
ry=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 2500, <mustChangePasswordFilter>, order = 2599, <org.springframework.sec
urity.web.access.intercept.FilterSecurityInterceptor#0>, order = 2600]
10:23:00.130 INFO org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor - Initializing ExecutorService
10:23:00.130 INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'asyncConnectorFacadeExecutor' of type [org.springframework.
scheduling.config.TaskExecutorFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
10:23:00.130 INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'asyncConnectorFacadeExecutor' of type [org.springframework.
scheduling.concurrent.ThreadPoolTaskExecutor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
10:23:00.394 ERROR com.zaxxer.hikari.HikariConfig - Failed to load driver class org.postgresql.Driver from HikariConfig class classloader WebappClassLoader
context: /syncope
delegate: false
repositories:
/WEB-INF/classes/
----------> Parent Classloader:
java.net.URLClassLoader@7a81197d
10:23:00.444 ERROR com.zaxxer.hikari.HikariConfig - Failed to load driver class org.postgresql.Driver from HikariConfig class classloader WebappClassLoader
context: /syncope
delegate: false
repositories:
/WEB-INF/classes/
----------> Parent Classloader:
java.net.URLClassLoader@7a81197d
10:23:00.445 INFO org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor - Shutting down ExecutorService
10:23:18.326 INFO org.springframework.security.core.SpringSecurityCoreVersion - You are running with Spring Security Core 5.1.5.RELEASE
10:23:18.329 INFO org.springframework.security.config.SecurityNamespaceHandler - Spring Security 'config' module version is 5.1.5.RELEASE
10:23:18.349 INFO org.springframework.security.config.method.GlobalMethodSecurityBeanDefinitionParser - Expressions were enabled for method security but no SecurityExpressionHandle
r was configured. All hasPermision() expressions will evaluate to false.
10:23:18.395 INFO org.springframework.security.config.http.HttpSecurityBeanDefinitionParser - Checking sorted filter chain: [Root bean: class [org.springframework.security.web.cont
ext.SecurityContextPersistenceFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factor
yMethodName=null; initMethodName=null; destroyMethodName=null, order = 200, Root bean: class [org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter
]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=nul
l; destroyMethodName=null, order = 400, <jwtAuthenticationFilter>, order = 1799, Root bean: class [org.springframework.security.web.authentication.www.BasicAuthenticationFilter]; sc
ope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; de
stroyMethodName=null, order = 1800, Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factor
yBeanName=org.springframework.security.config.http.HttpConfigurationBuilder$SecurityContextHolderAwareRequestFilterBeanFactory#0; factoryMethodName=getBean; initMethodName=null; des
troyMethodName=null, order = 2000, Root bean: class [org.springframework.security.web.authentication.AnonymousAuthenticationFilter]; scope=; abstract=false; lazyInit=false; autowire
Mode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 2300, Root bean:
class [org.springframework.security.web.access.ExceptionTranslationFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; prima
ry=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 2500, <mustChangePasswordFilter>, order = 2599, <org.springframework.sec
urity.web.access.intercept.FilterSecurityInterceptor#0>, order = 2600]
10:23:20.012 INFO org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor - Initializing ExecutorService
10:23:20.012 INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'asyncConnectorFacadeExecutor' of type [org.springframework.
scheduling.config.TaskExecutorFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
10:23:20.012 INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'asyncConnectorFacadeExecutor' of type [org.springframework.
scheduling.concurrent.ThreadPoolTaskExecutor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
10:23:20.285 ERROR com.zaxxer.hikari.HikariConfig - Failed to load driver class org.postgresql.Driver from HikariConfig class classloader WebappClassLoader
context: /syncope
delegate: false
repositories:
/WEB-INF/classes/
----------> Parent Classloader:
java.net.URLClassLoader@7a81197d
10:23:20.337 ERROR com.zaxxer.hikari.HikariConfig - Failed to load driver class org.postgresql.Driver from HikariConfig class classloader WebappClassLoader
context: /syncope
delegate: false
repositories:
/WEB-INF/classes/
----------> Parent Classloader:
java.net.URLClassLoader@7a81197d
10:23:20.338 INFO org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor - Shutting down ExecutorService
10:23:32.831 INFO org.springframework.security.core.SpringSecurityCoreVersion - You are running with Spring Security Core 5.1.5.RELEASE
10:23:32.835 INFO org.springframework.security.config.SecurityNamespaceHandler - Spring Security 'config' module version is 5.1.5.RELEASE
10:23:32.859 INFO org.springframework.security.config.method.GlobalMethodSecurityBeanDefinitionParser - Expressions were enabled for method security but no SecurityExpressionHandle
r was configured. All hasPermision() expressions will evaluate to false.
10:23:32.910 INFO org.springframework.security.config.http.HttpSecurityBeanDefinitionParser - Checking sorted filter chain: [Root bean: class [org.springframework.security.web.cont
ext.SecurityContextPersistenceFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factor
yMethodName=null; initMethodName=null; destroyMethodName=null, order = 200, Root bean: class [org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter
]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=nul
l; destroyMethodName=null, order = 400, <jwtAuthenticationFilter>, order = 1799, Root bean: class [org.springframework.security.web.authentication.www.BasicAuthenticationFilter]; sc
ope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; de
stroyMethodName=null, order = 1800, Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factor
yBeanName=org.springframework.security.config.http.HttpConfigurationBuilder$SecurityContextHolderAwareRequestFilterBeanFactory#0; factoryMethodName=getBean; initMethodName=null; des
troyMethodName=null, order = 2000, Root bean: class [org.springframework.security.web.authentication.AnonymousAuthenticationFilter]; scope=; abstract=false; lazyInit=false; autowire
Mode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 2300, Root bean:
class [org.springframework.security.web.access.ExceptionTranslationFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; prima
ry=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 2500, <mustChangePasswordFilter>, order = 2599, <org.springframework.sec
urity.web.access.intercept.FilterSecurityInterceptor#0>, order = 2600]
10:23:34.490 INFO org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor - Initializing ExecutorService
10:23:34.490 INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'asyncConnectorFacadeExecutor' of type [org.springframework.
scheduling.config.TaskExecutorFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
10:23:34.490 INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'asyncConnectorFacadeExecutor' of type [org.springframework.
scheduling.concurrent.ThreadPoolTaskExecutor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
10:23:34.757 ERROR com.zaxxer.hikari.HikariConfig - Failed to load driver class org.postgresql.Driver from HikariConfig class classloader WebappClassLoader
context: /syncope
delegate: false
repositories:
/WEB-INF/classes/
----------> Parent Classloader:
java.net.URLClassLoader@7a81197d
10:23:34.809 ERROR com.zaxxer.hikari.HikariConfig - Failed to load driver class org.postgresql.Driver from HikariConfig class classloader WebappClassLoader
context: /syncope
delegate: false
repositories:
/WEB-INF/classes/
----------> Parent Classloader:
java.net.URLClassLoader@7a81197d
10:23:34.810 INFO org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor - Shutting down ExecutorService
if I left in the bundles I get the following error:
➜ syncope git:(master) ✗ mvn clean verify \
-Dconf.directory=/opt/syncope/conf \
-Dbundles.directory=/opt/syncope/bundles \
-Dlog.directory=/opt/syncope/log
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] Apache Syncope sample project
[INFO] Apache Syncope sample project - Common
[INFO] Apache Syncope sample project - Core
[INFO] Apache Syncope sample project - Console
[INFO] Apache Syncope sample project - Enduser
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache Syncope sample project 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ syncope ---
[INFO] Deleting /home/pwd/src/EIandAS/syncope/target
[INFO]
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven-version) @ syncope ---
[INFO]
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven) @ syncope ---
[INFO]
[INFO] --- gmaven-plugin:1.5:execute (default) @ syncope ---
[INFO]
[INFO] --- maven-remote-resources-plugin:1.5:process (process-resource-bundles) @ syncope ---
[INFO]
[INFO] --- maven-resources-plugin:3.1.0:copy-resources (copy-artifact-legal-files) @ syncope ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 0 resource
[INFO]
[INFO] --- maven-resources-plugin:3.1.0:copy-resources (copy-javadoc-legal-files) @ syncope ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 0 resource
[INFO]
[INFO] --- jacoco-maven-plugin:0.8.3:prepare-agent (jacoco-agent-ut) @ syncope ---
[INFO] argLine set to -javaagent:/home/pwd/.m2/repository/org/jacoco/org.jacoco.agent/0.8.3/org.jacoco.agent-0.8.3-runtime.jar=destfile=/home/pwd/src/EIandAS/syncope/target/jacoco.ut.exec,append=true -Xms512m -Xmx1024m -Xss256k
[INFO]
[INFO] --- maven-site-plugin:3.7.1:attach-descriptor (attach-descriptor) @ syncope ---
[INFO] No site descriptor found: nothing to attach.
[INFO]
[INFO] --- jacoco-maven-plugin:0.8.3:prepare-agent-integration (jacoco-agent-it) @ syncope ---
[INFO] argLine set to -javaagent:/home/pwd/.m2/repository/org/jacoco/org.jacoco.agent/0.8.3/org.jacoco.agent-0.8.3-runtime.jar=destfile=/home/pwd/src/EIandAS/syncope/target/jacoco.it.exec,append=true -Xms512m -Xmx1024m -Xss256k
[INFO]
[INFO] --- modernizer-maven-plugin:1.8.0:modernizer (modernizer-check) @ syncope ---
[INFO]
[INFO] --- maven-checkstyle-plugin:3.0.0:check (checkstyle-check) @ syncope ---
[INFO]
[INFO] --- jacoco-maven-plugin:0.8.3:report-aggregate (jacoco-site) @ syncope ---
[INFO]
[INFO] --- apache-rat-plugin:0.12:check (rat-check) @ syncope ---
[INFO] RAT will not execute since it is configured to be skipped via system property 'rat.skip'.
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache Syncope sample project - Common 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ syncope-common ---
[INFO] Deleting /home/pwd/src/EIandAS/syncope/common/target
[INFO]
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven-version) @ syncope-common ---
[INFO]
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven) @ syncope-common ---
[INFO]
[INFO] --- gmaven-plugin:1.5:execute (default) @ syncope-common ---
[INFO]
[INFO] --- maven-remote-resources-plugin:1.5:process (process-resource-bundles) @ syncope-common ---
[INFO]
[INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ syncope-common ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 0 resource
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-resources-plugin:3.1.0:copy-resources (copy-artifact-legal-files) @ syncope-common ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 0 resource
[INFO]
[INFO] --- maven-resources-plugin:3.1.0:copy-resources (copy-javadoc-legal-files) @ syncope-common ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 0 resource
[INFO]
[INFO] --- maven-compiler-plugin:3.8.0:compile (default-compile) @ syncope-common ---
[INFO] No sources to compile
[INFO]
[INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ syncope-common ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 0 resource
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.8.0:testCompile (default-testCompile) @ syncope-common ---
[INFO] No sources to compile
[INFO]
[INFO] --- jacoco-maven-plugin:0.8.3:prepare-agent (jacoco-agent-ut) @ syncope-common ---
[INFO] argLine set to -javaagent:/home/pwd/.m2/repository/org/jacoco/org.jacoco.agent/0.8.3/org.jacoco.agent-0.8.3-runtime.jar=destfile=/home/pwd/src/EIandAS/syncope/common/target/jacoco.ut.exec,append=true -Xms512m -Xmx1024m -Xss256k
[INFO]
[INFO] --- maven-surefire-plugin:2.22.1:test (default-test) @ syncope-common ---
[INFO]
[INFO] --- maven-jar-plugin:3.1.1:jar (default-jar) @ syncope-common ---
[INFO] Building jar: /home/pwd/src/EIandAS/syncope/common/target/syncope-common-1.0-SNAPSHOT.jar
[INFO]
[INFO] --- maven-site-plugin:3.7.1:attach-descriptor (attach-descriptor) @ syncope-common ---
[INFO] Skipping because packaging 'jar' is not pom.
[INFO]
[INFO] --- jacoco-maven-plugin:0.8.3:prepare-agent-integration (jacoco-agent-it) @ syncope-common ---
[INFO] argLine set to -javaagent:/home/pwd/.m2/repository/org/jacoco/org.jacoco.agent/0.8.3/org.jacoco.agent-0.8.3-runtime.jar=destfile=/home/pwd/src/EIandAS/syncope/common/target/jacoco.it.exec,append=true -Xms512m -Xmx1024m -Xss256k
[INFO]
[INFO] --- modernizer-maven-plugin:1.8.0:modernizer (modernizer-check) @ syncope-common ---
[INFO]
[INFO] --- maven-checkstyle-plugin:3.0.0:check (checkstyle-check) @ syncope-common ---
[INFO]
[INFO] --- jacoco-maven-plugin:0.8.3:report-aggregate (jacoco-site) @ syncope-common ---
[INFO]
[INFO] --- apache-rat-plugin:0.12:check (rat-check) @ syncope-common ---
[INFO] RAT will not execute since it is configured to be skipped via system property 'rat.skip'.
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache Syncope sample project - Core 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ syncope-core ---
[INFO] Deleting /home/pwd/src/EIandAS/syncope/core/target
[INFO]
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven-version) @ syncope-core ---
[INFO]
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven) @ syncope-core ---
[INFO]
[INFO] --- gmaven-plugin:1.5:execute (default) @ syncope-core ---
[INFO]
[INFO] --- maven-remote-resources-plugin:1.5:process (process-resource-bundles) @ syncope-core ---
[INFO]
[INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ syncope-core ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 32 resources
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-resources-plugin:3.1.0:copy-resources (copy-artifact-legal-files) @ syncope-core ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 0 resource
[INFO]
[INFO] --- maven-resources-plugin:3.1.0:copy-resources (copy-javadoc-legal-files) @ syncope-core ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 0 resource
[INFO]
[INFO] --- maven-compiler-plugin:3.8.0:compile (default-compile) @ syncope-core ---
[INFO] No sources to compile
[INFO]
[INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ syncope-core ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 26 resources
[INFO] Copying 1 resource
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-dependency-plugin:3.1.1:copy (set-bundles) @ syncope-core ---
[INFO] Configured Artifact: net.tirasa.connid.bundles.soap:net.tirasa.connid.bundles.soap:1.4.3:jar
[INFO] Configured Artifact: net.tirasa.connid.bundles:net.tirasa.connid.bundles.rest:1.0.4:jar
[INFO] Configured Artifact: net.tirasa.connid.bundles:net.tirasa.connid.bundles.csvdir:0.8.8:jar
[INFO] Configured Artifact: net.tirasa.connid.bundles.db:net.tirasa.connid.bundles.db.table:2.2.6:jar
[INFO] Configured Artifact: net.tirasa.connid.bundles.db:net.tirasa.connid.bundles.db.scriptedsql:2.2.6:jar
[INFO] Configured Artifact: net.tirasa.connid.bundles:net.tirasa.connid.bundles.ldap:1.5.3:jar
[INFO] Configured Artifact: net.tirasa.connid.bundles:net.tirasa.connid.bundles.ad:1.3.6:jar
[INFO] Configured Artifact: net.tirasa.connid.bundles:net.tirasa.connid.bundles.googleapps:1.4.2:jar
[INFO] Configured Artifact: net.tirasa.connid.bundles:net.tirasa.connid.bundles.azure:1.0.1:jar
[INFO] Configured Artifact: net.tirasa.connid.bundles:net.tirasa.connid.bundles.scimv11:1.0.1:jar
[INFO] Configured Artifact: net.tirasa.connid.bundles:net.tirasa.connid.bundles.servicenow:1.0.0:jar
[INFO] Copying net.tirasa.connid.bundles.soap-1.4.3.jar to /opt/syncope/bundles/net.tirasa.connid.bundles.soap-1.4.3.jar
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Apache Syncope sample project ..................... SUCCESS [4.310s]
[INFO] Apache Syncope sample project - Common ............ SUCCESS [1.233s]
[INFO] Apache Syncope sample project - Core .............. FAILURE [2.534s]
[INFO] Apache Syncope sample project - Console ........... SKIPPED
[INFO] Apache Syncope sample project - Enduser ........... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 8.341s
[INFO] Finished at: Thu Sep 05 10:29:47 EDT 2019
[INFO] Final Memory: 48M/628M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-dependency-plugin:3.1.1:copy (set-bundles) on project syncope-core: Error copying artifact from /home/pwd/.m2/repository/net/tirasa/connid/bundles/soap/net.tirasa.connid.bundles.soap/1.4.3/net.tirasa.connid.bundles.soap-1.4.3.jar to /opt/syncope/bundles/net.tirasa.connid.bundles.soap-1.4.3.jar -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :syncope-core
--
This email, and any files transmitted with it, are confidential
and intended solely for the use of the individual or entity to
whom they are addressed. If you have received this email in error,
please advise postmaster@mdtsoft.com<ma...@mdtsoft.com> <ma...@mdtsoft.com>.
3480 Preston Ridge Road
Suite 450
Alpharetta, GA 30005
Philip W. Dalrymple III <pw...@mdtsoft.com>
MDT Software - Automation Management Company
+1 678 297 1001
Fax +1 678 297 1003
________________________________________
From: Andrea Patricelli <an...@tirasa.net>
Sent: Thursday, September 5, 2019 10:07
To: user@syncope.apache.org<ma...@syncope.apache.org>
Subject: Re: Syncope trying to deploy using Maven and not getting login
P.S.
About the attached link: please take care to the doc starting from
documentation at "Deployment directories" section.
Il 05/09/19 16:04, Dalrymple, Philip ha scritto:
OK I will give that a go.
--
This email, and any files transmitted with it, are confidential
and intended solely for the use of the individual or entity to
whom they are addressed. If you have received this email in error,
please advise postmaster@mdtsoft.com<ma...@mdtsoft.com> <ma...@mdtsoft.com>.
3480 Preston Ridge Road
Suite 450
Alpharetta, GA 30005
Philip W. Dalrymple III <pw...@mdtsoft.com>
MDT Software - Automation Management Company
+1 678 297 1001
Fax +1 678 297 1003
________________________________________
From: Andrea Patricelli <an...@apache.org>
Sent: Thursday, September 5, 2019 10:03
To: user@syncope.apache.org<ma...@syncope.apache.org>
Subject: Re: Syncope trying to deploy using Maven and not getting login
Ok, maybe I got your first problem.
Please follow this [1]. Basically, in order to do a correct deploy, you
should build with a special mvn command specifying bundles, logs and
conf directories and, moreover, in order to let Syncope take correct
configuration parameters (like for the jdbc connection) copy some of the
properties files in sources under the specific conf directory.
HTH,
Andrea
[1] https://syncope.apache.org/docs/2.1/reference-guide.html#customization
Il 05/09/19 15:56, Dalrymple, Philip ha scritto:
OK this is weird
I did a
sudo find / -name "*core*.log*" -print
and only find the logs from my first try using docker.
(was not able to customize well enough and switched to
maven deleting the docker images)
I will keep looking.
--
This email, and any files transmitted with it, are confidential
and intended solely for the use of the individual or entity to
whom they are addressed. If you have received this email in error,
please advise postmaster@mdtsoft.com<ma...@mdtsoft.com> <ma...@mdtsoft.com>.
3480 Preston Ridge Road
Suite 450
Alpharetta, GA 30005
Philip W. Dalrymple III <pw...@mdtsoft.com>
MDT Software - Automation Management Company
+1 678 297 1001
Fax +1 678 297 1003
________________________________________
From: Dalrymple, Philip <pw...@mdtsoft.com>
Sent: Thursday, September 5, 2019 9:53
To: user@syncope.apache.org<ma...@syncope.apache.org>
Subject: Re: Syncope trying to deploy using Maven and not getting login
OK I need to find where the logs are.
--
This email, and any files transmitted with it, are confidential
and intended solely for the use of the individual or entity to
whom they are addressed. If you have received this email in error,
please advise postmaster@mdtsoft.com<ma...@mdtsoft.com> <ma...@mdtsoft.com>.
3480 Preston Ridge Road
Suite 450
Alpharetta, GA 30005
Philip W. Dalrymple III <pw...@mdtsoft.com>
MDT Software - Automation Management Company
+1 678 297 1001
Fax +1 678 297 1003
________________________________________
From: Andrea Patricelli <an...@apache.org>
Sent: Thursday, September 5, 2019 9:52
To: user@syncope.apache.org<ma...@syncope.apache.org>
Subject: Re: Syncope trying to deploy using Maven and not getting login
Hi Philip,
you should check core.log, core-rest.log, core-persistence.log and
core-connid.log files in order to understand what is the problem.
The NOT FOUND error in console simply means that core is unavailable,
probably because it failed to start.
Please check for exceptions in core*.log files and attach it into this
thread.
Best regards,
Andrea
Il 05/09/19 15:32, Dalrymple, Philip ha scritto:
I am trying to deploy Syncope using the Maven method. I have followed the
instructions in
http://syncope.apache.org/docs/2.1/getting-started.html#maven-project
and then edited core/src/main/resources/domains/Master.properties
to have the correct postgres password, I re-did the mvn clean install
and placed the war files in my tomcat/webapps directory, they deployed
without me restarting tomcat.
When I got to http://XXXXX:8080/syncope-console I get a 500 error (see below)
when I got to .../syncope or .../syncope/index.html or .../syncope-enduser I get a 404 error.
I checked in WEB-INF/classes/persistence.properties (in syncope) and it had the
correct DB user, host, and password info and I verified that I could connect to the DB BUT
the DB was empty.
the stack trace on the syncope-console
type Exception report
message Unable to instantiate web session class org.apache.syncope.client.console.SyncopeConsoleSession
description The server encountered an internal error that prevented it from fulfilling this request.
exception
org.apache.wicket.WicketRuntimeException: Unable to instantiate web session class org.apache.syncope.client.console.SyncopeConsoleSession
org.apache.wicket.authroles.authentication.AuthenticatedWebApplication.newSession(AuthenticatedWebApplication.java:121)
org.apache.wicket.Application.fetchCreateAndSetSession(Application.java:1555)
org.apache.wicket.Session.get(Session.java:176)
org.apache.syncope.client.console.SyncopeConsoleSession.get(SyncopeConsoleSession.java:91)
org.apache.syncope.client.console.SyncopeConsoleRequestCycleListener.onException(SyncopeConsoleRequestCycleListener.java:80)
org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:126)
org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:122)
org.apache.wicket.util.listener.ListenerCollection.notify(ListenerCollection.java:80)
org.apache.wicket.request.cycle.RequestCycleListenerCollection.onException(RequestCycleListenerCollection.java:121)
org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:126)
org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:122)
org.apache.wicket.util.listener.ListenerCollection.notify(ListenerCollection.java:80)
org.apache.wicket.request.cycle.RequestCycleListenerCollection.onException(RequestCycleListenerCollection.java:121)
org.apache.wicket.request.cycle.RequestCycle.handleException(RequestCycle.java:368)
org.apache.wicket.request.cycle.RequestCycle.executeExceptionRequestHandler(RequestCycle.java:314)
org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:259)
org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:221)
org.apache.wicket.protocol.ws.AbstractUpgradeFilter.processRequestCycle(AbstractUpgradeFilter.java:70)
org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:206)
org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:299)
root cause
java.lang.reflect.InvocationTargetException
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
java.lang.reflect.Constructor.newInstance(Constructor.java:423)
org.apache.wicket.authroles.authentication.AuthenticatedWebApplication.newSession(AuthenticatedWebApplication.java:117)
org.apache.wicket.Application.fetchCreateAndSetSession(Application.java:1555)
org.apache.wicket.Session.get(Session.java:176)
org.apache.syncope.client.console.SyncopeConsoleSession.get(SyncopeConsoleSession.java:91)
org.apache.syncope.client.console.SyncopeConsoleRequestCycleListener.onException(SyncopeConsoleRequestCycleListener.java:80)
org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:126)
org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:122)
org.apache.wicket.util.listener.ListenerCollection.notify(ListenerCollection.java:80)
org.apache.wicket.request.cycle.RequestCycleListenerCollection.onException(RequestCycleListenerCollection.java:121)
org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:126)
org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:122)
org.apache.wicket.util.listener.ListenerCollection.notify(ListenerCollection.java:80)
org.apache.wicket.request.cycle.RequestCycleListenerCollection.onException(RequestCycleListenerCollection.java:121)
org.apache.wicket.request.cycle.RequestCycle.handleException(RequestCycle.java:368)
org.apache.wicket.request.cycle.RequestCycle.executeExceptionRequestHandler(RequestCycle.java:314)
org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:259)
org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:221)
org.apache.wicket.protocol.ws.AbstractUpgradeFilter.processRequestCycle(AbstractUpgradeFilter.java:70)
org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:206)
org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:299)
root cause
javax.xml.ws.WebServiceException: Remote exception with status code: NOT_FOUND
org.apache.syncope.client.lib.RestClientExceptionMapper.fromResponse(RestClientExceptionMapper.java:76)
org.apache.syncope.client.lib.RestClientExceptionMapper.fromResponse(RestClientExceptionMapper.java:42)
org.apache.cxf.jaxrs.client.ClientProxyImpl.checkResponse(ClientProxyImpl.java:372)
org.apache.cxf.jaxrs.client.ClientProxyImpl.handleResponse(ClientProxyImpl.java:948)
org.apache.cxf.jaxrs.client.ClientProxyImpl.doChainedInvocation(ClientProxyImpl.java:854)
org.apache.cxf.jaxrs.client.ClientProxyImpl.invoke(ClientProxyImpl.java:295)
com.sun.proxy.$Proxy119.platform(Unknown Source)
org.apache.syncope.client.console.SyncopeConsoleSession.<init>(SyncopeConsoleSession.java:103)
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
java.lang.reflect.Constructor.newInstance(Constructor.java:423)
org.apache.wicket.authroles.authentication.AuthenticatedWebApplication.newSession(AuthenticatedWebApplication.java:117)
org.apache.wicket.Application.fetchCreateAndSetSession(Application.java:1555)
org.apache.wicket.Session.get(Session.java:176)
org.apache.syncope.client.console.SyncopeConsoleSession.get(SyncopeConsoleSession.java:91)
org.apache.syncope.client.console.SyncopeConsoleRequestCycleListener.onException(SyncopeConsoleRequestCycleListener.java:80)
org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:126)
org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:122)
org.apache.wicket.util.listener.ListenerCollection.notify(ListenerCollection.java:80)
org.apache.wicket.request.cycle.RequestCycleListenerCollection.onException(RequestCycleListenerCollection.java:121)
org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:126)
org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:122)
org.apache.wicket.util.listener.ListenerCollection.notify(ListenerCollection.java:80)
org.apache.wicket.request.cycle.RequestCycleListenerCollection.onException(RequestCycleListenerCollection.java:121)
org.apache.wicket.request.cycle.RequestCycle.handleException(RequestCycle.java:368)
org.apache.wicket.request.cycle.RequestCycle.executeExceptionRequestHandler(RequestCycle.java:314)
org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:259)
org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:221)
org.apache.wicket.protocol.ws.AbstractUpgradeFilter.processRequestCycle(AbstractUpgradeFilter.java:70)
org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:206)
org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:299)
thanks
--
This email, and any files transmitted with it, are confidential
and intended solely for the use of the individual or entity to
whom they are addressed. If you have received this email in error,
please advise postmaster@mdtsoft.com<ma...@mdtsoft.com> <ma...@mdtsoft.com>.
3480 Preston Ridge Road
Suite 450
Alpharetta, GA 30005
Philip W. Dalrymple III <pw...@mdtsoft.com>
MDT Software - Automation Management Company
+1 678 297 1001
Fax +1 678 297 1003
--
Dott. Andrea Patricelli
Tel. +39 3204524292
Engineer @ Tirasa S.r.l.
Viale Vittoria Colonna 97 - 65127 Pescara
Tel +39 0859116307 / FAX +39 0859111173
http://www.tirasa.net
Apache Syncope PMC Member
--
Dott. Andrea Patricelli
Tel. +39 3204524292
Engineer @ Tirasa S.r.l.
Viale Vittoria Colonna 97 - 65127 Pescara
Tel +39 0859116307 / FAX +39 0859111173
http://www.tirasa.net
Apache Syncope PMC Member
--
Dott. Andrea Patricelli
Tel. +39 3204524292
Engineer @ Tirasa S.r.l.
Viale Vittoria Colonna 97 - 65127 Pescara
Tel +39 0859116307 / FAX +39 0859111173
http://www.tirasa.net
Apache Syncope PMC Member
--
Dott. Andrea Patricelli
Tel. +39 3204524292
Engineer @ Tirasa S.r.l.
Viale Vittoria Colonna 97 - 65127 Pescara
Tel +39 0859116307 / FAX +39 0859111173
http://www.tirasa.net
Apache Syncope PMC Member
Re: Syncope trying to deploy using Maven and not getting login
Posted by "Dalrymple, Philip" <pw...@mdtsoft.com>.
OK went off and did a source build to help me understand and I will need
to, at some point, get into that.
I cleaned out the DB and undeployed the three applications and then re-deployed
them.
Still, no luck.
~ tree /opt/syncope/conf
/opt/syncope/conf
|-- connid.properties
|-- console.properties
|-- customFormAttributes.json
|-- customTemplate.json
|-- enduser.properties
|-- logic.properties
|-- mail.properties
|-- persistence.properties
|-- provisioning.properties
`-- security.properties
with no domain in it (I may putting that in the /opt/syncope/conf)
the logs have the following (snip for thing that repeat)
07:53:12.491 INFO org.springframework.security.core.SpringSecurityCoreVersion - You are running with Spring Security Core 5.1.5.RELEASE
07:53:12.494 INFO org.springframework.security.config.SecurityNamespaceHandler - Spring Security 'config' module version is 5.1.5.RELEASE
07:53:12.514 INFO org.springframework.security.config.method.GlobalMethodSecurityBeanDefinitionParser - Expressions were enabled for method security but no SecurityExpressionHandler was configured. All hasPermision() expressions will evaluate to false.
07:53:12.556 INFO org.springframework.security.config.http.HttpSecurityBeanDefinitionParser - Checking sorted filter chain: [Root bean: class [org.springframework.security.web.context.SecurityContextPersistenceFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 200, Root bean: class [org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 400, <jwtAuthenticationFilter>, order = 1799, Root bean: class [org.springframework.security.web.authentication.www.BasicAuthenticationFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 1800, Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=org.springframework.security.config.http.HttpConfigurationBuilder$SecurityContextHolderAwareRequestFilterBeanFactory#0; factoryMethodName=getBean; initMethodName=null; destroyMethodName=null, order = 2000, Root bean: class [org.springframework.security.web.authentication.AnonymousAuthenticationFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 2300, Root bean: class [org.springframework.security.web.access.ExceptionTranslationFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 2500, <mustChangePasswordFilter>, order = 2599, <org.springframework.security.web.access.intercept.FilterSecurityInterceptor#0>, order = 2600]
07:53:14.055 INFO org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor - Initializing ExecutorService
07:53:14.055 INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'asyncConnectorFacadeExecutor' of type [org.springframework.scheduling.config.TaskExecutorFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
07:53:14.055 INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'asyncConnectorFacadeExecutor' of type [org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
07:53:14.696 WARN openjpa.Runtime - An error occurred while registering a ClassTransformer with PersistenceUnitInfo: name 'Master', root URL [file:/var/lib/tomcat/webapps/syncope/WEB-INF/lib/syncope-core-persistence-jpa-2.1.4.jar]. The error has been consumed. To see it, set your openjpa.Runtime log level to TRACE. Load-time class transformation will not be available.
07:53:14.860 INFO org.springframework.security.web.DefaultSecurityFilterChain - Creating filter chain: any request, [org.springframework.security.web.context.SecurityContextPersistenceFilter@551267bf]
07:53:15.440 INFO org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor - Initializing ExecutorService
07:53:15.624 INFO org.apache.syncope.core.provisioning.java.job.SchedulerDBInit - No Quartz tables found, creating
07:53:15.835 INFO org.quartz.impl.StdSchedulerFactory - Using default implementation for ThreadExecutor
07:53:15.861 INFO org.quartz.core.SchedulerSignalerImpl - Initialized Scheduler Signaller of type: class org.quartz.core.SchedulerSignalerImpl
07:53:15.861 INFO org.quartz.core.QuartzScheduler - Quartz Scheduler v.2.3.1 created.
07:53:15.865 INFO org.springframework.scheduling.quartz.LocalDataSourceJobStore - Using db table-based data access locking (synchronization).
07:53:15.868 INFO org.springframework.scheduling.quartz.LocalDataSourceJobStore - JobStoreCMT initialized.
07:53:15.874 INFO org.quartz.core.QuartzScheduler - Scheduler meta-data: Quartz Scheduler (v2.3.1) 'ClusteredScheduler' with instanceId 'gluu-prs9.mdtsoft.com1568289195837'
Scheduler class: 'org.quartz.core.QuartzScheduler' - running locally.
NOT STARTED.
Currently in standby mode.
Number of jobs executed: 0
Using thread pool 'org.quartz.simpl.SimpleThreadPool' - with 10 threads.
Using job-store 'org.springframework.scheduling.quartz.LocalDataSourceJobStore' - which supports persistence. and is clustered.
07:53:15.874 INFO org.quartz.impl.StdSchedulerFactory - Quartz scheduler 'ClusteredScheduler' initialized from an externally provided properties instance.
07:53:15.874 INFO org.quartz.impl.StdSchedulerFactory - Quartz scheduler version: 2.3.1
07:53:15.874 INFO org.quartz.core.QuartzScheduler - JobFactory set to: org.apache.syncope.core.provisioning.java.job.AutowiringSpringBeanJobFactory@414ca8cc
07:53:15.879 INFO openjpa.Runtime - Starting OpenJPA 3.1.0
07:53:15.914 INFO openjpa.jdbc.JDBC - Using dictionary class "org.apache.openjpa.jdbc.sql.PostgresDictionary".
07:53:15.973 INFO openjpa.jdbc.JDBC - Connected to PostgreSQL version 11.11 using JDBC driver PostgreSQL JDBC Driver version 42.2.6.
07:53:16.314 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.group.JPAGroup". Ignoring.
07:53:16.314 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.group.JPATypeExtension". Ignoring.
07:53:16.314 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.user.JPAURelationship". Ignoring.
07:53:16.314 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.anyobject.JPAADynGroupMembership". Ignoring.
07:53:16.314 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.anyobject.JPAARelationship". Ignoring.
07:53:16.314 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.anyobject.JPAAPlainAttrUniqueValue". Ignoring.
07:53:16.314 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.user.JPAUPlainAttrUniqueValue". Ignoring.
07:53:16.314 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.group.JPAGPlainAttrUniqueValue". Ignoring.
07:53:16.315 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.conf.JPACPlainAttrUniqueValue". Ignoring.
07:53:16.350 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.group.JPAGroup". Ignoring.
07:53:16.350 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.group.JPATypeExtension". Ignoring.
07:53:16.351 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.user.JPAURelationship". Ignoring.
07:53:16.351 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.anyobject.JPAAMembership". Ignoring.
07:53:16.351 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.anyobject.JPAADynGroupMembership". Ignoring.
07:53:16.351 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.anyobject.JPAARelationship". Ignoring.
07:53:16.351 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.anyobject.JPAAPlainAttrUniqueValue". Ignoring.
07:53:16.351 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.user.JPAUPlainAttrUniqueValue". Ignoring.
07:53:16.351 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.group.JPAGPlainAttrUniqueValue". Ignoring.
07:53:16.351 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.conf.JPACPlainAttrUniqueValue". Ignoring.
07:53:16.361 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.group.JPAGroup". Ignoring.
07:53:16.361 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.group.JPATypeExtension". Ignoring.
07:53:16.361 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.user.JPAUDynGroupMembership". Ignoring.
07:53:16.361 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.user.JPAURelationship". Ignoring.
07:53:16.361 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.anyobject.JPAAMembership". Ignoring.
07:53:16.361 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.anyobject.JPAADynGroupMembership". Ignoring.
07:53:16.361 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.anyobject.JPAARelationship". Ignoring.
07:53:16.362 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.anyobject.JPAAPlainAttrUniqueValue". Ignoring.
07:53:16.362 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.user.JPAUPlainAttrUniqueValue". Ignoring.
07:53:16.362 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.group.JPAGPlainAttrUniqueValue". Ignoring.
07:53:16.362 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.conf.JPACPlainAttrUniqueValue". Ignoring.
07:53:16.370 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.group.JPAGroup". Ignoring.
07:53:16.371 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.group.JPATypeExtension". Ignoring.
07:53:16.371 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.user.JPAUMembership". Ignoring.
07:53:16.371 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.user.JPAUDynGroupMembership". Ignoring.
07:53:16.371 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.user.JPAURelationship". Ignoring.
--------snip-------------------
07:53:22.087 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.anyobject.JPAAPlainAttrUniqueValue". Ignoring.
07:53:22.087 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.user.JPAUPlainAttrUniqueValue". Ignoring.
07:53:22.087 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.group.JPAGPlainAttrUniqueValue". Ignoring.
07:53:22.087 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.conf.JPACPlainAttrUniqueValue". Ignoring.
07:53:22.653 INFO org.springframework.scheduling.quartz.SchedulerFactoryBean - Shutting down Quartz Scheduler
07:53:22.653 INFO org.quartz.core.QuartzScheduler - Scheduler ClusteredScheduler_$_gluu-prs9.mdtsoft.com1568289195837 shutting down.
07:53:22.653 INFO org.quartz.core.QuartzScheduler - Scheduler ClusteredScheduler_$_gluu-prs9.mdtsoft.com1568289195837 paused.
07:53:22.857 INFO org.quartz.core.QuartzScheduler - Scheduler unregistered from name 'quartz:type=QuartzScheduler,name=ClusteredScheduler,instance=gluu-prs9.mdtsoft.com1568289195837' in the local MBeanServer.
07:53:22.857 INFO org.quartz.core.QuartzScheduler - Scheduler ClusteredScheduler_$_gluu-prs9.mdtsoft.com1568289195837 shutdown complete.
07:53:22.859 INFO org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor - Shutting down ExecutorService
07:53:22.869 INFO org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor - Shutting down ExecutorService
I get clean logs with no errors.
my config directory is
--
This email, and any files transmitted with it, are confidential
and intended solely for the use of the individual or entity to
whom they are addressed. If you have received this email in error,
please advise postmaster@mdtsoft.com <ma...@mdtsoft.com>.
3480 Preston Ridge Road
Suite 450
Alpharetta, GA 30005
Philip W. Dalrymple III <pw...@mdtsoft.com>
MDT Software - Automation Management Company
+1 678 297 1001
Fax +1 678 297 1003
________________________________________
From: Andrea Patricelli <an...@apache.org>
Sent: Friday, September 6, 2019 4:20
To: user@syncope.apache.org
Subject: Re: Syncope trying to deploy using Maven and not getting login
Hi Philip,
in order to make a correct deploy on your application server follow [2].
As the warning in the doc states:
Be sure to put the corresponding JDBC driver JAR file under $CATALINA_HOME/lib for each datasource defined.
You should provide postgres driver to Syncope by putting it into Tomcat lib folder.
About the maven buld error: did you give the correct r/w permissions to /opt/syncope/buldles directory? If you want more info about the build please add the -X option to your maven build command.
Best regards,
Andrea
[2] https://syncope.apache.org/docs/2.1/reference-guide.html#apache-tomcat-9
Il 05/09/19 16:38, Dalrymple, Philip ha scritto:
OK I had one issue in that to make it work my build script needed to look like
#!/bin/bash
cd syncope
sudo mkdir -p /opt/syncope/bundles
sudo mkdir -p /opt/syncope/log
sudo chmod 0777 /opt/syncope/log
sudo mkdir -p /opt/syncope/conf
# mvn clean verify \
# -Dconf.directory=/opt/syncope/conf \
# -Dbundles.directory=/opt/syncope/bundles \
# -Dlog.directory=/opt/syncope/log
mvn clean verify \
-Dconf.directory=/opt/syncope/conf \
-Dlog.directory=/opt/syncope/log
sudo cp core/target/classes/*properties /opt/syncope/conf
sudo cp console/target/classes/*properties /opt/syncope/conf
sudo cp enduser/target/classes/*properties /opt/syncope/conf
sudo cp enduser/target/classes/customFormAttributes.json /opt/syncope/conf
sudo cp enduser/target/classes/customTemplate.json /opt/syncope/conf
i.e. not changing the bundles directory (which I want to do as I want to build in
the bundles into the war files).
When I do that I DO get logs (in /opt/syncope/log) Looks like I don't have the postgres dirver.
I checked and the
core/target/classes/provisioning.properties
already had the changes for postgres
➜ syncope git:(master) ✗ more /opt/syncope/log/core.log
10:22:58.367 INFO org.springframework.security.core.SpringSecurityCoreVersion - You are running with Spring Security Core 5.1.5.RELEASE
10:22:58.370 INFO org.springframework.security.config.SecurityNamespaceHandler - Spring Security 'config' module version is 5.1.5.RELEASE
10:22:58.391 INFO org.springframework.security.config.method.GlobalMethodSecurityBeanDefinitionParser - Expressions were enabled for method security but no SecurityExpressionHandle
r was configured. All hasPermision() expressions will evaluate to false.
10:22:58.437 INFO org.springframework.security.config.http.HttpSecurityBeanDefinitionParser - Checking sorted filter chain: [Root bean: class [org.springframework.security.web.cont
ext.SecurityContextPersistenceFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factor
yMethodName=null; initMethodName=null; destroyMethodName=null, order = 200, Root bean: class [org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter
]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=nul
l; destroyMethodName=null, order = 400, <jwtAuthenticationFilter>, order = 1799, Root bean: class [org.springframework.security.web.authentication.www.BasicAuthenticationFilter]; sc
ope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; de
stroyMethodName=null, order = 1800, Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factor
yBeanName=org.springframework.security.config.http.HttpConfigurationBuilder$SecurityContextHolderAwareRequestFilterBeanFactory#0; factoryMethodName=getBean; initMethodName=null; des
troyMethodName=null, order = 2000, Root bean: class [org.springframework.security.web.authentication.AnonymousAuthenticationFilter]; scope=; abstract=false; lazyInit=false; autowire
Mode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 2300, Root bean:
class [org.springframework.security.web.access.ExceptionTranslationFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; prima
ry=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 2500, <mustChangePasswordFilter>, order = 2599, <org.springframework.sec
urity.web.access.intercept.FilterSecurityInterceptor#0>, order = 2600]
10:23:00.130 INFO org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor - Initializing ExecutorService
10:23:00.130 INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'asyncConnectorFacadeExecutor' of type [org.springframework.
scheduling.config.TaskExecutorFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
10:23:00.130 INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'asyncConnectorFacadeExecutor' of type [org.springframework.
scheduling.concurrent.ThreadPoolTaskExecutor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
10:23:00.394 ERROR com.zaxxer.hikari.HikariConfig - Failed to load driver class org.postgresql.Driver from HikariConfig class classloader WebappClassLoader
context: /syncope
delegate: false
repositories:
/WEB-INF/classes/
----------> Parent Classloader:
java.net.URLClassLoader@7a81197d
10:23:00.444 ERROR com.zaxxer.hikari.HikariConfig - Failed to load driver class org.postgresql.Driver from HikariConfig class classloader WebappClassLoader
context: /syncope
delegate: false
repositories:
/WEB-INF/classes/
----------> Parent Classloader:
java.net.URLClassLoader@7a81197d
10:23:00.445 INFO org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor - Shutting down ExecutorService
10:23:18.326 INFO org.springframework.security.core.SpringSecurityCoreVersion - You are running with Spring Security Core 5.1.5.RELEASE
10:23:18.329 INFO org.springframework.security.config.SecurityNamespaceHandler - Spring Security 'config' module version is 5.1.5.RELEASE
10:23:18.349 INFO org.springframework.security.config.method.GlobalMethodSecurityBeanDefinitionParser - Expressions were enabled for method security but no SecurityExpressionHandle
r was configured. All hasPermision() expressions will evaluate to false.
10:23:18.395 INFO org.springframework.security.config.http.HttpSecurityBeanDefinitionParser - Checking sorted filter chain: [Root bean: class [org.springframework.security.web.cont
ext.SecurityContextPersistenceFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factor
yMethodName=null; initMethodName=null; destroyMethodName=null, order = 200, Root bean: class [org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter
]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=nul
l; destroyMethodName=null, order = 400, <jwtAuthenticationFilter>, order = 1799, Root bean: class [org.springframework.security.web.authentication.www.BasicAuthenticationFilter]; sc
ope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; de
stroyMethodName=null, order = 1800, Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factor
yBeanName=org.springframework.security.config.http.HttpConfigurationBuilder$SecurityContextHolderAwareRequestFilterBeanFactory#0; factoryMethodName=getBean; initMethodName=null; des
troyMethodName=null, order = 2000, Root bean: class [org.springframework.security.web.authentication.AnonymousAuthenticationFilter]; scope=; abstract=false; lazyInit=false; autowire
Mode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 2300, Root bean:
class [org.springframework.security.web.access.ExceptionTranslationFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; prima
ry=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 2500, <mustChangePasswordFilter>, order = 2599, <org.springframework.sec
urity.web.access.intercept.FilterSecurityInterceptor#0>, order = 2600]
10:23:20.012 INFO org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor - Initializing ExecutorService
10:23:20.012 INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'asyncConnectorFacadeExecutor' of type [org.springframework.
scheduling.config.TaskExecutorFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
10:23:20.012 INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'asyncConnectorFacadeExecutor' of type [org.springframework.
scheduling.concurrent.ThreadPoolTaskExecutor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
10:23:20.285 ERROR com.zaxxer.hikari.HikariConfig - Failed to load driver class org.postgresql.Driver from HikariConfig class classloader WebappClassLoader
context: /syncope
delegate: false
repositories:
/WEB-INF/classes/
----------> Parent Classloader:
java.net.URLClassLoader@7a81197d
10:23:20.337 ERROR com.zaxxer.hikari.HikariConfig - Failed to load driver class org.postgresql.Driver from HikariConfig class classloader WebappClassLoader
context: /syncope
delegate: false
repositories:
/WEB-INF/classes/
----------> Parent Classloader:
java.net.URLClassLoader@7a81197d
10:23:20.338 INFO org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor - Shutting down ExecutorService
10:23:32.831 INFO org.springframework.security.core.SpringSecurityCoreVersion - You are running with Spring Security Core 5.1.5.RELEASE
10:23:32.835 INFO org.springframework.security.config.SecurityNamespaceHandler - Spring Security 'config' module version is 5.1.5.RELEASE
10:23:32.859 INFO org.springframework.security.config.method.GlobalMethodSecurityBeanDefinitionParser - Expressions were enabled for method security but no SecurityExpressionHandle
r was configured. All hasPermision() expressions will evaluate to false.
10:23:32.910 INFO org.springframework.security.config.http.HttpSecurityBeanDefinitionParser - Checking sorted filter chain: [Root bean: class [org.springframework.security.web.cont
ext.SecurityContextPersistenceFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factor
yMethodName=null; initMethodName=null; destroyMethodName=null, order = 200, Root bean: class [org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter
]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=nul
l; destroyMethodName=null, order = 400, <jwtAuthenticationFilter>, order = 1799, Root bean: class [org.springframework.security.web.authentication.www.BasicAuthenticationFilter]; sc
ope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; de
stroyMethodName=null, order = 1800, Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factor
yBeanName=org.springframework.security.config.http.HttpConfigurationBuilder$SecurityContextHolderAwareRequestFilterBeanFactory#0; factoryMethodName=getBean; initMethodName=null; des
troyMethodName=null, order = 2000, Root bean: class [org.springframework.security.web.authentication.AnonymousAuthenticationFilter]; scope=; abstract=false; lazyInit=false; autowire
Mode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 2300, Root bean:
class [org.springframework.security.web.access.ExceptionTranslationFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; prima
ry=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 2500, <mustChangePasswordFilter>, order = 2599, <org.springframework.sec
urity.web.access.intercept.FilterSecurityInterceptor#0>, order = 2600]
10:23:34.490 INFO org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor - Initializing ExecutorService
10:23:34.490 INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'asyncConnectorFacadeExecutor' of type [org.springframework.
scheduling.config.TaskExecutorFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
10:23:34.490 INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'asyncConnectorFacadeExecutor' of type [org.springframework.
scheduling.concurrent.ThreadPoolTaskExecutor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
10:23:34.757 ERROR com.zaxxer.hikari.HikariConfig - Failed to load driver class org.postgresql.Driver from HikariConfig class classloader WebappClassLoader
context: /syncope
delegate: false
repositories:
/WEB-INF/classes/
----------> Parent Classloader:
java.net.URLClassLoader@7a81197d
10:23:34.809 ERROR com.zaxxer.hikari.HikariConfig - Failed to load driver class org.postgresql.Driver from HikariConfig class classloader WebappClassLoader
context: /syncope
delegate: false
repositories:
/WEB-INF/classes/
----------> Parent Classloader:
java.net.URLClassLoader@7a81197d
10:23:34.810 INFO org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor - Shutting down ExecutorService
if I left in the bundles I get the following error:
➜ syncope git:(master) ✗ mvn clean verify \
-Dconf.directory=/opt/syncope/conf \
-Dbundles.directory=/opt/syncope/bundles \
-Dlog.directory=/opt/syncope/log
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] Apache Syncope sample project
[INFO] Apache Syncope sample project - Common
[INFO] Apache Syncope sample project - Core
[INFO] Apache Syncope sample project - Console
[INFO] Apache Syncope sample project - Enduser
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache Syncope sample project 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ syncope ---
[INFO] Deleting /home/pwd/src/EIandAS/syncope/target
[INFO]
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven-version) @ syncope ---
[INFO]
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven) @ syncope ---
[INFO]
[INFO] --- gmaven-plugin:1.5:execute (default) @ syncope ---
[INFO]
[INFO] --- maven-remote-resources-plugin:1.5:process (process-resource-bundles) @ syncope ---
[INFO]
[INFO] --- maven-resources-plugin:3.1.0:copy-resources (copy-artifact-legal-files) @ syncope ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 0 resource
[INFO]
[INFO] --- maven-resources-plugin:3.1.0:copy-resources (copy-javadoc-legal-files) @ syncope ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 0 resource
[INFO]
[INFO] --- jacoco-maven-plugin:0.8.3:prepare-agent (jacoco-agent-ut) @ syncope ---
[INFO] argLine set to -javaagent:/home/pwd/.m2/repository/org/jacoco/org.jacoco.agent/0.8.3/org.jacoco.agent-0.8.3-runtime.jar=destfile=/home/pwd/src/EIandAS/syncope/target/jacoco.ut.exec,append=true -Xms512m -Xmx1024m -Xss256k
[INFO]
[INFO] --- maven-site-plugin:3.7.1:attach-descriptor (attach-descriptor) @ syncope ---
[INFO] No site descriptor found: nothing to attach.
[INFO]
[INFO] --- jacoco-maven-plugin:0.8.3:prepare-agent-integration (jacoco-agent-it) @ syncope ---
[INFO] argLine set to -javaagent:/home/pwd/.m2/repository/org/jacoco/org.jacoco.agent/0.8.3/org.jacoco.agent-0.8.3-runtime.jar=destfile=/home/pwd/src/EIandAS/syncope/target/jacoco.it.exec,append=true -Xms512m -Xmx1024m -Xss256k
[INFO]
[INFO] --- modernizer-maven-plugin:1.8.0:modernizer (modernizer-check) @ syncope ---
[INFO]
[INFO] --- maven-checkstyle-plugin:3.0.0:check (checkstyle-check) @ syncope ---
[INFO]
[INFO] --- jacoco-maven-plugin:0.8.3:report-aggregate (jacoco-site) @ syncope ---
[INFO]
[INFO] --- apache-rat-plugin:0.12:check (rat-check) @ syncope ---
[INFO] RAT will not execute since it is configured to be skipped via system property 'rat.skip'.
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache Syncope sample project - Common 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ syncope-common ---
[INFO] Deleting /home/pwd/src/EIandAS/syncope/common/target
[INFO]
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven-version) @ syncope-common ---
[INFO]
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven) @ syncope-common ---
[INFO]
[INFO] --- gmaven-plugin:1.5:execute (default) @ syncope-common ---
[INFO]
[INFO] --- maven-remote-resources-plugin:1.5:process (process-resource-bundles) @ syncope-common ---
[INFO]
[INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ syncope-common ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 0 resource
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-resources-plugin:3.1.0:copy-resources (copy-artifact-legal-files) @ syncope-common ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 0 resource
[INFO]
[INFO] --- maven-resources-plugin:3.1.0:copy-resources (copy-javadoc-legal-files) @ syncope-common ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 0 resource
[INFO]
[INFO] --- maven-compiler-plugin:3.8.0:compile (default-compile) @ syncope-common ---
[INFO] No sources to compile
[INFO]
[INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ syncope-common ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 0 resource
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.8.0:testCompile (default-testCompile) @ syncope-common ---
[INFO] No sources to compile
[INFO]
[INFO] --- jacoco-maven-plugin:0.8.3:prepare-agent (jacoco-agent-ut) @ syncope-common ---
[INFO] argLine set to -javaagent:/home/pwd/.m2/repository/org/jacoco/org.jacoco.agent/0.8.3/org.jacoco.agent-0.8.3-runtime.jar=destfile=/home/pwd/src/EIandAS/syncope/common/target/jacoco.ut.exec,append=true -Xms512m -Xmx1024m -Xss256k
[INFO]
[INFO] --- maven-surefire-plugin:2.22.1:test (default-test) @ syncope-common ---
[INFO]
[INFO] --- maven-jar-plugin:3.1.1:jar (default-jar) @ syncope-common ---
[INFO] Building jar: /home/pwd/src/EIandAS/syncope/common/target/syncope-common-1.0-SNAPSHOT.jar
[INFO]
[INFO] --- maven-site-plugin:3.7.1:attach-descriptor (attach-descriptor) @ syncope-common ---
[INFO] Skipping because packaging 'jar' is not pom.
[INFO]
[INFO] --- jacoco-maven-plugin:0.8.3:prepare-agent-integration (jacoco-agent-it) @ syncope-common ---
[INFO] argLine set to -javaagent:/home/pwd/.m2/repository/org/jacoco/org.jacoco.agent/0.8.3/org.jacoco.agent-0.8.3-runtime.jar=destfile=/home/pwd/src/EIandAS/syncope/common/target/jacoco.it.exec,append=true -Xms512m -Xmx1024m -Xss256k
[INFO]
[INFO] --- modernizer-maven-plugin:1.8.0:modernizer (modernizer-check) @ syncope-common ---
[INFO]
[INFO] --- maven-checkstyle-plugin:3.0.0:check (checkstyle-check) @ syncope-common ---
[INFO]
[INFO] --- jacoco-maven-plugin:0.8.3:report-aggregate (jacoco-site) @ syncope-common ---
[INFO]
[INFO] --- apache-rat-plugin:0.12:check (rat-check) @ syncope-common ---
[INFO] RAT will not execute since it is configured to be skipped via system property 'rat.skip'.
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache Syncope sample project - Core 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ syncope-core ---
[INFO] Deleting /home/pwd/src/EIandAS/syncope/core/target
[INFO]
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven-version) @ syncope-core ---
[INFO]
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven) @ syncope-core ---
[INFO]
[INFO] --- gmaven-plugin:1.5:execute (default) @ syncope-core ---
[INFO]
[INFO] --- maven-remote-resources-plugin:1.5:process (process-resource-bundles) @ syncope-core ---
[INFO]
[INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ syncope-core ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 32 resources
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-resources-plugin:3.1.0:copy-resources (copy-artifact-legal-files) @ syncope-core ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 0 resource
[INFO]
[INFO] --- maven-resources-plugin:3.1.0:copy-resources (copy-javadoc-legal-files) @ syncope-core ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 0 resource
[INFO]
[INFO] --- maven-compiler-plugin:3.8.0:compile (default-compile) @ syncope-core ---
[INFO] No sources to compile
[INFO]
[INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ syncope-core ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 26 resources
[INFO] Copying 1 resource
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-dependency-plugin:3.1.1:copy (set-bundles) @ syncope-core ---
[INFO] Configured Artifact: net.tirasa.connid.bundles.soap:net.tirasa.connid.bundles.soap:1.4.3:jar
[INFO] Configured Artifact: net.tirasa.connid.bundles:net.tirasa.connid.bundles.rest:1.0.4:jar
[INFO] Configured Artifact: net.tirasa.connid.bundles:net.tirasa.connid.bundles.csvdir:0.8.8:jar
[INFO] Configured Artifact: net.tirasa.connid.bundles.db:net.tirasa.connid.bundles.db.table:2.2.6:jar
[INFO] Configured Artifact: net.tirasa.connid.bundles.db:net.tirasa.connid.bundles.db.scriptedsql:2.2.6:jar
[INFO] Configured Artifact: net.tirasa.connid.bundles:net.tirasa.connid.bundles.ldap:1.5.3:jar
[INFO] Configured Artifact: net.tirasa.connid.bundles:net.tirasa.connid.bundles.ad:1.3.6:jar
[INFO] Configured Artifact: net.tirasa.connid.bundles:net.tirasa.connid.bundles.googleapps:1.4.2:jar
[INFO] Configured Artifact: net.tirasa.connid.bundles:net.tirasa.connid.bundles.azure:1.0.1:jar
[INFO] Configured Artifact: net.tirasa.connid.bundles:net.tirasa.connid.bundles.scimv11:1.0.1:jar
[INFO] Configured Artifact: net.tirasa.connid.bundles:net.tirasa.connid.bundles.servicenow:1.0.0:jar
[INFO] Copying net.tirasa.connid.bundles.soap-1.4.3.jar to /opt/syncope/bundles/net.tirasa.connid.bundles.soap-1.4.3.jar
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Apache Syncope sample project ..................... SUCCESS [4.310s]
[INFO] Apache Syncope sample project - Common ............ SUCCESS [1.233s]
[INFO] Apache Syncope sample project - Core .............. FAILURE [2.534s]
[INFO] Apache Syncope sample project - Console ........... SKIPPED
[INFO] Apache Syncope sample project - Enduser ........... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 8.341s
[INFO] Finished at: Thu Sep 05 10:29:47 EDT 2019
[INFO] Final Memory: 48M/628M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-dependency-plugin:3.1.1:copy (set-bundles) on project syncope-core: Error copying artifact from /home/pwd/.m2/repository/net/tirasa/connid/bundles/soap/net.tirasa.connid.bundles.soap/1.4.3/net.tirasa.connid.bundles.soap-1.4.3.jar to /opt/syncope/bundles/net.tirasa.connid.bundles.soap-1.4.3.jar -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :syncope-core
--
This email, and any files transmitted with it, are confidential
and intended solely for the use of the individual or entity to
whom they are addressed. If you have received this email in error,
please advise postmaster@mdtsoft.com<ma...@mdtsoft.com> <ma...@mdtsoft.com>.
3480 Preston Ridge Road
Suite 450
Alpharetta, GA 30005
Philip W. Dalrymple III <pw...@mdtsoft.com>
MDT Software - Automation Management Company
+1 678 297 1001
Fax +1 678 297 1003
________________________________________
From: Andrea Patricelli <an...@tirasa.net>
Sent: Thursday, September 5, 2019 10:07
To: user@syncope.apache.org<ma...@syncope.apache.org>
Subject: Re: Syncope trying to deploy using Maven and not getting login
P.S.
About the attached link: please take care to the doc starting from
documentation at "Deployment directories" section.
Il 05/09/19 16:04, Dalrymple, Philip ha scritto:
OK I will give that a go.
--
This email, and any files transmitted with it, are confidential
and intended solely for the use of the individual or entity to
whom they are addressed. If you have received this email in error,
please advise postmaster@mdtsoft.com<ma...@mdtsoft.com> <ma...@mdtsoft.com>.
3480 Preston Ridge Road
Suite 450
Alpharetta, GA 30005
Philip W. Dalrymple III <pw...@mdtsoft.com>
MDT Software - Automation Management Company
+1 678 297 1001
Fax +1 678 297 1003
________________________________________
From: Andrea Patricelli <an...@apache.org>
Sent: Thursday, September 5, 2019 10:03
To: user@syncope.apache.org<ma...@syncope.apache.org>
Subject: Re: Syncope trying to deploy using Maven and not getting login
Ok, maybe I got your first problem.
Please follow this [1]. Basically, in order to do a correct deploy, you
should build with a special mvn command specifying bundles, logs and
conf directories and, moreover, in order to let Syncope take correct
configuration parameters (like for the jdbc connection) copy some of the
properties files in sources under the specific conf directory.
HTH,
Andrea
[1] https://syncope.apache.org/docs/2.1/reference-guide.html#customization
Il 05/09/19 15:56, Dalrymple, Philip ha scritto:
OK this is weird
I did a
sudo find / -name "*core*.log*" -print
and only find the logs from my first try using docker.
(was not able to customize well enough and switched to
maven deleting the docker images)
I will keep looking.
--
This email, and any files transmitted with it, are confidential
and intended solely for the use of the individual or entity to
whom they are addressed. If you have received this email in error,
please advise postmaster@mdtsoft.com<ma...@mdtsoft.com> <ma...@mdtsoft.com>.
3480 Preston Ridge Road
Suite 450
Alpharetta, GA 30005
Philip W. Dalrymple III <pw...@mdtsoft.com>
MDT Software - Automation Management Company
+1 678 297 1001
Fax +1 678 297 1003
________________________________________
From: Dalrymple, Philip <pw...@mdtsoft.com>
Sent: Thursday, September 5, 2019 9:53
To: user@syncope.apache.org<ma...@syncope.apache.org>
Subject: Re: Syncope trying to deploy using Maven and not getting login
OK I need to find where the logs are.
--
This email, and any files transmitted with it, are confidential
and intended solely for the use of the individual or entity to
whom they are addressed. If you have received this email in error,
please advise postmaster@mdtsoft.com<ma...@mdtsoft.com> <ma...@mdtsoft.com>.
3480 Preston Ridge Road
Suite 450
Alpharetta, GA 30005
Philip W. Dalrymple III <pw...@mdtsoft.com>
MDT Software - Automation Management Company
+1 678 297 1001
Fax +1 678 297 1003
________________________________________
From: Andrea Patricelli <an...@apache.org>
Sent: Thursday, September 5, 2019 9:52
To: user@syncope.apache.org<ma...@syncope.apache.org>
Subject: Re: Syncope trying to deploy using Maven and not getting login
Hi Philip,
you should check core.log, core-rest.log, core-persistence.log and
core-connid.log files in order to understand what is the problem.
The NOT FOUND error in console simply means that core is unavailable,
probably because it failed to start.
Please check for exceptions in core*.log files and attach it into this
thread.
Best regards,
Andrea
Il 05/09/19 15:32, Dalrymple, Philip ha scritto:
I am trying to deploy Syncope using the Maven method. I have followed the
instructions in
http://syncope.apache.org/docs/2.1/getting-started.html#maven-project
and then edited core/src/main/resources/domains/Master.properties
to have the correct postgres password, I re-did the mvn clean install
and placed the war files in my tomcat/webapps directory, they deployed
without me restarting tomcat.
When I got to http://XXXXX:8080/syncope-console I get a 500 error (see below)
when I got to .../syncope or .../syncope/index.html or .../syncope-enduser I get a 404 error.
I checked in WEB-INF/classes/persistence.properties (in syncope) and it had the
correct DB user, host, and password info and I verified that I could connect to the DB BUT
the DB was empty.
the stack trace on the syncope-console
type Exception report
message Unable to instantiate web session class org.apache.syncope.client.console.SyncopeConsoleSession
description The server encountered an internal error that prevented it from fulfilling this request.
exception
org.apache.wicket.WicketRuntimeException: Unable to instantiate web session class org.apache.syncope.client.console.SyncopeConsoleSession
org.apache.wicket.authroles.authentication.AuthenticatedWebApplication.newSession(AuthenticatedWebApplication.java:121)
org.apache.wicket.Application.fetchCreateAndSetSession(Application.java:1555)
org.apache.wicket.Session.get(Session.java:176)
org.apache.syncope.client.console.SyncopeConsoleSession.get(SyncopeConsoleSession.java:91)
org.apache.syncope.client.console.SyncopeConsoleRequestCycleListener.onException(SyncopeConsoleRequestCycleListener.java:80)
org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:126)
org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:122)
org.apache.wicket.util.listener.ListenerCollection.notify(ListenerCollection.java:80)
org.apache.wicket.request.cycle.RequestCycleListenerCollection.onException(RequestCycleListenerCollection.java:121)
org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:126)
org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:122)
org.apache.wicket.util.listener.ListenerCollection.notify(ListenerCollection.java:80)
org.apache.wicket.request.cycle.RequestCycleListenerCollection.onException(RequestCycleListenerCollection.java:121)
org.apache.wicket.request.cycle.RequestCycle.handleException(RequestCycle.java:368)
org.apache.wicket.request.cycle.RequestCycle.executeExceptionRequestHandler(RequestCycle.java:314)
org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:259)
org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:221)
org.apache.wicket.protocol.ws.AbstractUpgradeFilter.processRequestCycle(AbstractUpgradeFilter.java:70)
org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:206)
org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:299)
root cause
java.lang.reflect.InvocationTargetException
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
java.lang.reflect.Constructor.newInstance(Constructor.java:423)
org.apache.wicket.authroles.authentication.AuthenticatedWebApplication.newSession(AuthenticatedWebApplication.java:117)
org.apache.wicket.Application.fetchCreateAndSetSession(Application.java:1555)
org.apache.wicket.Session.get(Session.java:176)
org.apache.syncope.client.console.SyncopeConsoleSession.get(SyncopeConsoleSession.java:91)
org.apache.syncope.client.console.SyncopeConsoleRequestCycleListener.onException(SyncopeConsoleRequestCycleListener.java:80)
org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:126)
org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:122)
org.apache.wicket.util.listener.ListenerCollection.notify(ListenerCollection.java:80)
org.apache.wicket.request.cycle.RequestCycleListenerCollection.onException(RequestCycleListenerCollection.java:121)
org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:126)
org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:122)
org.apache.wicket.util.listener.ListenerCollection.notify(ListenerCollection.java:80)
org.apache.wicket.request.cycle.RequestCycleListenerCollection.onException(RequestCycleListenerCollection.java:121)
org.apache.wicket.request.cycle.RequestCycle.handleException(RequestCycle.java:368)
org.apache.wicket.request.cycle.RequestCycle.executeExceptionRequestHandler(RequestCycle.java:314)
org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:259)
org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:221)
org.apache.wicket.protocol.ws.AbstractUpgradeFilter.processRequestCycle(AbstractUpgradeFilter.java:70)
org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:206)
org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:299)
root cause
javax.xml.ws.WebServiceException: Remote exception with status code: NOT_FOUND
org.apache.syncope.client.lib.RestClientExceptionMapper.fromResponse(RestClientExceptionMapper.java:76)
org.apache.syncope.client.lib.RestClientExceptionMapper.fromResponse(RestClientExceptionMapper.java:42)
org.apache.cxf.jaxrs.client.ClientProxyImpl.checkResponse(ClientProxyImpl.java:372)
org.apache.cxf.jaxrs.client.ClientProxyImpl.handleResponse(ClientProxyImpl.java:948)
org.apache.cxf.jaxrs.client.ClientProxyImpl.doChainedInvocation(ClientProxyImpl.java:854)
org.apache.cxf.jaxrs.client.ClientProxyImpl.invoke(ClientProxyImpl.java:295)
com.sun.proxy.$Proxy119.platform(Unknown Source)
org.apache.syncope.client.console.SyncopeConsoleSession.<init>(SyncopeConsoleSession.java:103)
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
java.lang.reflect.Constructor.newInstance(Constructor.java:423)
org.apache.wicket.authroles.authentication.AuthenticatedWebApplication.newSession(AuthenticatedWebApplication.java:117)
org.apache.wicket.Application.fetchCreateAndSetSession(Application.java:1555)
org.apache.wicket.Session.get(Session.java:176)
org.apache.syncope.client.console.SyncopeConsoleSession.get(SyncopeConsoleSession.java:91)
org.apache.syncope.client.console.SyncopeConsoleRequestCycleListener.onException(SyncopeConsoleRequestCycleListener.java:80)
org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:126)
org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:122)
org.apache.wicket.util.listener.ListenerCollection.notify(ListenerCollection.java:80)
org.apache.wicket.request.cycle.RequestCycleListenerCollection.onException(RequestCycleListenerCollection.java:121)
org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:126)
org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:122)
org.apache.wicket.util.listener.ListenerCollection.notify(ListenerCollection.java:80)
org.apache.wicket.request.cycle.RequestCycleListenerCollection.onException(RequestCycleListenerCollection.java:121)
org.apache.wicket.request.cycle.RequestCycle.handleException(RequestCycle.java:368)
org.apache.wicket.request.cycle.RequestCycle.executeExceptionRequestHandler(RequestCycle.java:314)
org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:259)
org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:221)
org.apache.wicket.protocol.ws.AbstractUpgradeFilter.processRequestCycle(AbstractUpgradeFilter.java:70)
org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:206)
org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:299)
thanks
--
This email, and any files transmitted with it, are confidential
and intended solely for the use of the individual or entity to
whom they are addressed. If you have received this email in error,
please advise postmaster@mdtsoft.com<ma...@mdtsoft.com> <ma...@mdtsoft.com>.
3480 Preston Ridge Road
Suite 450
Alpharetta, GA 30005
Philip W. Dalrymple III <pw...@mdtsoft.com>
MDT Software - Automation Management Company
+1 678 297 1001
Fax +1 678 297 1003
--
Dott. Andrea Patricelli
Tel. +39 3204524292
Engineer @ Tirasa S.r.l.
Viale Vittoria Colonna 97 - 65127 Pescara
Tel +39 0859116307 / FAX +39 0859111173
http://www.tirasa.net
Apache Syncope PMC Member
--
Dott. Andrea Patricelli
Tel. +39 3204524292
Engineer @ Tirasa S.r.l.
Viale Vittoria Colonna 97 - 65127 Pescara
Tel +39 0859116307 / FAX +39 0859111173
http://www.tirasa.net
Apache Syncope PMC Member
--
Dott. Andrea Patricelli
Tel. +39 3204524292
Engineer @ Tirasa S.r.l.
Viale Vittoria Colonna 97 - 65127 Pescara
Tel +39 0859116307 / FAX +39 0859111173
http://www.tirasa.net
Apache Syncope PMC Member
--
Dott. Andrea Patricelli
Tel. +39 3204524292
Engineer @ Tirasa S.r.l.
Viale Vittoria Colonna 97 - 65127 Pescara
Tel +39 0859116307 / FAX +39 0859111173
http://www.tirasa.net
Apache Syncope PMC Member
Re: Syncope trying to deploy using Maven and not getting login
Posted by Andrea Patricelli <an...@apache.org>.
You're welcome.
Best regards,
Andrea
Il 06/09/19 18:38, Dalrymple, Philip ha scritto:
> The build issue was permissions on the bundles directory.
>
> thanks
>
>
> --
> This email, and any files transmitted with it, are confidential
> and intended solely for the use of the individual or entity to
> whom they are addressed. If you have received this email in error,
> please advise postmaster@mdtsoft.com <ma...@mdtsoft.com>.
>
> 3480 Preston Ridge Road
> Suite 450
> Alpharetta, GA 30005
>
> Philip W. Dalrymple III <pw...@mdtsoft.com>
> MDT Software - Automation Management Company
> +1 678 297 1001
> Fax +1 678 297 1003
>
> ________________________________________
> From: Andrea Patricelli <an...@apache.org>
> Sent: Friday, September 6, 2019 4:20
> To: user@syncope.apache.org
> Subject: Re: Syncope trying to deploy using Maven and not getting login
>
> Hi Philip,
>
> in order to make a correct deploy on your application server follow [2].
>
> As the warning in the doc states:
>
> Be sure to put the corresponding JDBC driver JAR file under $CATALINA_HOME/lib for each datasource defined.
>
> You should provide postgres driver to Syncope by putting it into Tomcat lib folder.
>
> About the maven buld error: did you give the correct r/w permissions to /opt/syncope/buldles directory? If you want more info about the build please add the -X option to your maven build command.
>
> Best regards,
> Andrea
>
> [2] https://syncope.apache.org/docs/2.1/reference-guide.html#apache-tomcat-9
>
> Il 05/09/19 16:38, Dalrymple, Philip ha scritto:
>
> OK I had one issue in that to make it work my build script needed to look like
>
> #!/bin/bash
>
> cd syncope
>
> sudo mkdir -p /opt/syncope/bundles
> sudo mkdir -p /opt/syncope/log
> sudo chmod 0777 /opt/syncope/log
> sudo mkdir -p /opt/syncope/conf
>
> # mvn clean verify \
> # -Dconf.directory=/opt/syncope/conf \
> # -Dbundles.directory=/opt/syncope/bundles \
> # -Dlog.directory=/opt/syncope/log
>
> mvn clean verify \
> -Dconf.directory=/opt/syncope/conf \
> -Dlog.directory=/opt/syncope/log
>
>
> sudo cp core/target/classes/*properties /opt/syncope/conf
> sudo cp console/target/classes/*properties /opt/syncope/conf
> sudo cp enduser/target/classes/*properties /opt/syncope/conf
> sudo cp enduser/target/classes/customFormAttributes.json /opt/syncope/conf
> sudo cp enduser/target/classes/customTemplate.json /opt/syncope/conf
>
> i.e. not changing the bundles directory (which I want to do as I want to build in
> the bundles into the war files).
>
> When I do that I DO get logs (in /opt/syncope/log) Looks like I don't have the postgres dirver.
> I checked and the
> core/target/classes/provisioning.properties
>
> already had the changes for postgres
>
> ➜ syncope git:(master) ✗ more /opt/syncope/log/core.log
> 10:22:58.367 INFO org.springframework.security.core.SpringSecurityCoreVersion - You are running with Spring Security Core 5.1.5.RELEASE
> 10:22:58.370 INFO org.springframework.security.config.SecurityNamespaceHandler - Spring Security 'config' module version is 5.1.5.RELEASE
> 10:22:58.391 INFO org.springframework.security.config.method.GlobalMethodSecurityBeanDefinitionParser - Expressions were enabled for method security but no SecurityExpressionHandle
> r was configured. All hasPermision() expressions will evaluate to false.
> 10:22:58.437 INFO org.springframework.security.config.http.HttpSecurityBeanDefinitionParser - Checking sorted filter chain: [Root bean: class [org.springframework.security.web.cont
> ext.SecurityContextPersistenceFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factor
> yMethodName=null; initMethodName=null; destroyMethodName=null, order = 200, Root bean: class [org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter
> ]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=nul
> l; destroyMethodName=null, order = 400, <jwtAuthenticationFilter>, order = 1799, Root bean: class [org.springframework.security.web.authentication.www.BasicAuthenticationFilter]; sc
> ope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; de
> stroyMethodName=null, order = 1800, Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factor
> yBeanName=org.springframework.security.config.http.HttpConfigurationBuilder$SecurityContextHolderAwareRequestFilterBeanFactory#0; factoryMethodName=getBean; initMethodName=null; des
> troyMethodName=null, order = 2000, Root bean: class [org.springframework.security.web.authentication.AnonymousAuthenticationFilter]; scope=; abstract=false; lazyInit=false; autowire
> Mode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 2300, Root bean:
> class [org.springframework.security.web.access.ExceptionTranslationFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; prima
> ry=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 2500, <mustChangePasswordFilter>, order = 2599, <org.springframework.sec
> urity.web.access.intercept.FilterSecurityInterceptor#0>, order = 2600]
> 10:23:00.130 INFO org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor - Initializing ExecutorService
> 10:23:00.130 INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'asyncConnectorFacadeExecutor' of type [org.springframework.
> scheduling.config.TaskExecutorFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
> 10:23:00.130 INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'asyncConnectorFacadeExecutor' of type [org.springframework.
> scheduling.concurrent.ThreadPoolTaskExecutor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
> 10:23:00.394 ERROR com.zaxxer.hikari.HikariConfig - Failed to load driver class org.postgresql.Driver from HikariConfig class classloader WebappClassLoader
> context: /syncope
> delegate: false
> repositories:
> /WEB-INF/classes/
> ----------> Parent Classloader:
> java.net.URLClassLoader@7a81197d
>
> 10:23:00.444 ERROR com.zaxxer.hikari.HikariConfig - Failed to load driver class org.postgresql.Driver from HikariConfig class classloader WebappClassLoader
> context: /syncope
> delegate: false
> repositories:
> /WEB-INF/classes/
> ----------> Parent Classloader:
> java.net.URLClassLoader@7a81197d
>
> 10:23:00.445 INFO org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor - Shutting down ExecutorService
> 10:23:18.326 INFO org.springframework.security.core.SpringSecurityCoreVersion - You are running with Spring Security Core 5.1.5.RELEASE
> 10:23:18.329 INFO org.springframework.security.config.SecurityNamespaceHandler - Spring Security 'config' module version is 5.1.5.RELEASE
> 10:23:18.349 INFO org.springframework.security.config.method.GlobalMethodSecurityBeanDefinitionParser - Expressions were enabled for method security but no SecurityExpressionHandle
> r was configured. All hasPermision() expressions will evaluate to false.
> 10:23:18.395 INFO org.springframework.security.config.http.HttpSecurityBeanDefinitionParser - Checking sorted filter chain: [Root bean: class [org.springframework.security.web.cont
> ext.SecurityContextPersistenceFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factor
> yMethodName=null; initMethodName=null; destroyMethodName=null, order = 200, Root bean: class [org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter
> ]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=nul
> l; destroyMethodName=null, order = 400, <jwtAuthenticationFilter>, order = 1799, Root bean: class [org.springframework.security.web.authentication.www.BasicAuthenticationFilter]; sc
> ope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; de
> stroyMethodName=null, order = 1800, Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factor
> yBeanName=org.springframework.security.config.http.HttpConfigurationBuilder$SecurityContextHolderAwareRequestFilterBeanFactory#0; factoryMethodName=getBean; initMethodName=null; des
> troyMethodName=null, order = 2000, Root bean: class [org.springframework.security.web.authentication.AnonymousAuthenticationFilter]; scope=; abstract=false; lazyInit=false; autowire
> Mode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 2300, Root bean:
> class [org.springframework.security.web.access.ExceptionTranslationFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; prima
> ry=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 2500, <mustChangePasswordFilter>, order = 2599, <org.springframework.sec
> urity.web.access.intercept.FilterSecurityInterceptor#0>, order = 2600]
> 10:23:20.012 INFO org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor - Initializing ExecutorService
> 10:23:20.012 INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'asyncConnectorFacadeExecutor' of type [org.springframework.
> scheduling.config.TaskExecutorFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
> 10:23:20.012 INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'asyncConnectorFacadeExecutor' of type [org.springframework.
> scheduling.concurrent.ThreadPoolTaskExecutor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
> 10:23:20.285 ERROR com.zaxxer.hikari.HikariConfig - Failed to load driver class org.postgresql.Driver from HikariConfig class classloader WebappClassLoader
> context: /syncope
> delegate: false
> repositories:
> /WEB-INF/classes/
> ----------> Parent Classloader:
> java.net.URLClassLoader@7a81197d
>
> 10:23:20.337 ERROR com.zaxxer.hikari.HikariConfig - Failed to load driver class org.postgresql.Driver from HikariConfig class classloader WebappClassLoader
> context: /syncope
> delegate: false
> repositories:
> /WEB-INF/classes/
> ----------> Parent Classloader:
> java.net.URLClassLoader@7a81197d
>
> 10:23:20.338 INFO org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor - Shutting down ExecutorService
> 10:23:32.831 INFO org.springframework.security.core.SpringSecurityCoreVersion - You are running with Spring Security Core 5.1.5.RELEASE
> 10:23:32.835 INFO org.springframework.security.config.SecurityNamespaceHandler - Spring Security 'config' module version is 5.1.5.RELEASE
> 10:23:32.859 INFO org.springframework.security.config.method.GlobalMethodSecurityBeanDefinitionParser - Expressions were enabled for method security but no SecurityExpressionHandle
> r was configured. All hasPermision() expressions will evaluate to false.
> 10:23:32.910 INFO org.springframework.security.config.http.HttpSecurityBeanDefinitionParser - Checking sorted filter chain: [Root bean: class [org.springframework.security.web.cont
> ext.SecurityContextPersistenceFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factor
> yMethodName=null; initMethodName=null; destroyMethodName=null, order = 200, Root bean: class [org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter
> ]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=nul
> l; destroyMethodName=null, order = 400, <jwtAuthenticationFilter>, order = 1799, Root bean: class [org.springframework.security.web.authentication.www.BasicAuthenticationFilter]; sc
> ope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; de
> stroyMethodName=null, order = 1800, Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factor
> yBeanName=org.springframework.security.config.http.HttpConfigurationBuilder$SecurityContextHolderAwareRequestFilterBeanFactory#0; factoryMethodName=getBean; initMethodName=null; des
> troyMethodName=null, order = 2000, Root bean: class [org.springframework.security.web.authentication.AnonymousAuthenticationFilter]; scope=; abstract=false; lazyInit=false; autowire
> Mode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 2300, Root bean:
> class [org.springframework.security.web.access.ExceptionTranslationFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; prima
> ry=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 2500, <mustChangePasswordFilter>, order = 2599, <org.springframework.sec
> urity.web.access.intercept.FilterSecurityInterceptor#0>, order = 2600]
> 10:23:34.490 INFO org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor - Initializing ExecutorService
> 10:23:34.490 INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'asyncConnectorFacadeExecutor' of type [org.springframework.
> scheduling.config.TaskExecutorFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
> 10:23:34.490 INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'asyncConnectorFacadeExecutor' of type [org.springframework.
> scheduling.concurrent.ThreadPoolTaskExecutor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
> 10:23:34.757 ERROR com.zaxxer.hikari.HikariConfig - Failed to load driver class org.postgresql.Driver from HikariConfig class classloader WebappClassLoader
> context: /syncope
> delegate: false
> repositories:
> /WEB-INF/classes/
> ----------> Parent Classloader:
> java.net.URLClassLoader@7a81197d
>
> 10:23:34.809 ERROR com.zaxxer.hikari.HikariConfig - Failed to load driver class org.postgresql.Driver from HikariConfig class classloader WebappClassLoader
> context: /syncope
> delegate: false
> repositories:
> /WEB-INF/classes/
> ----------> Parent Classloader:
> java.net.URLClassLoader@7a81197d
>
> 10:23:34.810 INFO org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor - Shutting down ExecutorService
>
> if I left in the bundles I get the following error:
>
> ➜ syncope git:(master) ✗ mvn clean verify \
>
>
> -Dconf.directory=/opt/syncope/conf \
> -Dbundles.directory=/opt/syncope/bundles \
> -Dlog.directory=/opt/syncope/log
>
>
> [INFO] Scanning for projects...
> [INFO] ------------------------------------------------------------------------
> [INFO] Reactor Build Order:
> [INFO]
> [INFO] Apache Syncope sample project
> [INFO] Apache Syncope sample project - Common
> [INFO] Apache Syncope sample project - Core
> [INFO] Apache Syncope sample project - Console
> [INFO] Apache Syncope sample project - Enduser
> [INFO]
> [INFO] ------------------------------------------------------------------------
> [INFO] Building Apache Syncope sample project 1.0-SNAPSHOT
> [INFO] ------------------------------------------------------------------------
> [INFO]
> [INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ syncope ---
> [INFO] Deleting /home/pwd/src/EIandAS/syncope/target
> [INFO]
> [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven-version) @ syncope ---
> [INFO]
> [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven) @ syncope ---
> [INFO]
> [INFO] --- gmaven-plugin:1.5:execute (default) @ syncope ---
> [INFO]
> [INFO] --- maven-remote-resources-plugin:1.5:process (process-resource-bundles) @ syncope ---
> [INFO]
> [INFO] --- maven-resources-plugin:3.1.0:copy-resources (copy-artifact-legal-files) @ syncope ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 0 resource
> [INFO]
> [INFO] --- maven-resources-plugin:3.1.0:copy-resources (copy-javadoc-legal-files) @ syncope ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 0 resource
> [INFO]
> [INFO] --- jacoco-maven-plugin:0.8.3:prepare-agent (jacoco-agent-ut) @ syncope ---
> [INFO] argLine set to -javaagent:/home/pwd/.m2/repository/org/jacoco/org.jacoco.agent/0.8.3/org.jacoco.agent-0.8.3-runtime.jar=destfile=/home/pwd/src/EIandAS/syncope/target/jacoco.ut.exec,append=true -Xms512m -Xmx1024m -Xss256k
> [INFO]
> [INFO] --- maven-site-plugin:3.7.1:attach-descriptor (attach-descriptor) @ syncope ---
> [INFO] No site descriptor found: nothing to attach.
> [INFO]
> [INFO] --- jacoco-maven-plugin:0.8.3:prepare-agent-integration (jacoco-agent-it) @ syncope ---
> [INFO] argLine set to -javaagent:/home/pwd/.m2/repository/org/jacoco/org.jacoco.agent/0.8.3/org.jacoco.agent-0.8.3-runtime.jar=destfile=/home/pwd/src/EIandAS/syncope/target/jacoco.it.exec,append=true -Xms512m -Xmx1024m -Xss256k
> [INFO]
> [INFO] --- modernizer-maven-plugin:1.8.0:modernizer (modernizer-check) @ syncope ---
> [INFO]
> [INFO] --- maven-checkstyle-plugin:3.0.0:check (checkstyle-check) @ syncope ---
> [INFO]
> [INFO] --- jacoco-maven-plugin:0.8.3:report-aggregate (jacoco-site) @ syncope ---
> [INFO]
> [INFO] --- apache-rat-plugin:0.12:check (rat-check) @ syncope ---
> [INFO] RAT will not execute since it is configured to be skipped via system property 'rat.skip'.
> [INFO]
> [INFO] ------------------------------------------------------------------------
> [INFO] Building Apache Syncope sample project - Common 1.0-SNAPSHOT
> [INFO] ------------------------------------------------------------------------
> [INFO]
> [INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ syncope-common ---
> [INFO] Deleting /home/pwd/src/EIandAS/syncope/common/target
> [INFO]
> [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven-version) @ syncope-common ---
> [INFO]
> [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven) @ syncope-common ---
> [INFO]
> [INFO] --- gmaven-plugin:1.5:execute (default) @ syncope-common ---
> [INFO]
> [INFO] --- maven-remote-resources-plugin:1.5:process (process-resource-bundles) @ syncope-common ---
> [INFO]
> [INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ syncope-common ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 0 resource
> [INFO] Copying 3 resources
> [INFO]
> [INFO] --- maven-resources-plugin:3.1.0:copy-resources (copy-artifact-legal-files) @ syncope-common ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 0 resource
> [INFO]
> [INFO] --- maven-resources-plugin:3.1.0:copy-resources (copy-javadoc-legal-files) @ syncope-common ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 0 resource
> [INFO]
> [INFO] --- maven-compiler-plugin:3.8.0:compile (default-compile) @ syncope-common ---
> [INFO] No sources to compile
> [INFO]
> [INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ syncope-common ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 0 resource
> [INFO] Copying 3 resources
> [INFO]
> [INFO] --- maven-compiler-plugin:3.8.0:testCompile (default-testCompile) @ syncope-common ---
> [INFO] No sources to compile
> [INFO]
> [INFO] --- jacoco-maven-plugin:0.8.3:prepare-agent (jacoco-agent-ut) @ syncope-common ---
> [INFO] argLine set to -javaagent:/home/pwd/.m2/repository/org/jacoco/org.jacoco.agent/0.8.3/org.jacoco.agent-0.8.3-runtime.jar=destfile=/home/pwd/src/EIandAS/syncope/common/target/jacoco.ut.exec,append=true -Xms512m -Xmx1024m -Xss256k
> [INFO]
> [INFO] --- maven-surefire-plugin:2.22.1:test (default-test) @ syncope-common ---
> [INFO]
> [INFO] --- maven-jar-plugin:3.1.1:jar (default-jar) @ syncope-common ---
> [INFO] Building jar: /home/pwd/src/EIandAS/syncope/common/target/syncope-common-1.0-SNAPSHOT.jar
> [INFO]
> [INFO] --- maven-site-plugin:3.7.1:attach-descriptor (attach-descriptor) @ syncope-common ---
> [INFO] Skipping because packaging 'jar' is not pom.
> [INFO]
> [INFO] --- jacoco-maven-plugin:0.8.3:prepare-agent-integration (jacoco-agent-it) @ syncope-common ---
> [INFO] argLine set to -javaagent:/home/pwd/.m2/repository/org/jacoco/org.jacoco.agent/0.8.3/org.jacoco.agent-0.8.3-runtime.jar=destfile=/home/pwd/src/EIandAS/syncope/common/target/jacoco.it.exec,append=true -Xms512m -Xmx1024m -Xss256k
> [INFO]
> [INFO] --- modernizer-maven-plugin:1.8.0:modernizer (modernizer-check) @ syncope-common ---
> [INFO]
> [INFO] --- maven-checkstyle-plugin:3.0.0:check (checkstyle-check) @ syncope-common ---
> [INFO]
> [INFO] --- jacoco-maven-plugin:0.8.3:report-aggregate (jacoco-site) @ syncope-common ---
> [INFO]
> [INFO] --- apache-rat-plugin:0.12:check (rat-check) @ syncope-common ---
> [INFO] RAT will not execute since it is configured to be skipped via system property 'rat.skip'.
> [INFO]
> [INFO] ------------------------------------------------------------------------
> [INFO] Building Apache Syncope sample project - Core 1.0-SNAPSHOT
> [INFO] ------------------------------------------------------------------------
> [INFO]
> [INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ syncope-core ---
> [INFO] Deleting /home/pwd/src/EIandAS/syncope/core/target
> [INFO]
> [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven-version) @ syncope-core ---
> [INFO]
> [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven) @ syncope-core ---
> [INFO]
> [INFO] --- gmaven-plugin:1.5:execute (default) @ syncope-core ---
> [INFO]
> [INFO] --- maven-remote-resources-plugin:1.5:process (process-resource-bundles) @ syncope-core ---
> [INFO]
> [INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ syncope-core ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 32 resources
> [INFO] Copying 3 resources
> [INFO]
> [INFO] --- maven-resources-plugin:3.1.0:copy-resources (copy-artifact-legal-files) @ syncope-core ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 0 resource
> [INFO]
> [INFO] --- maven-resources-plugin:3.1.0:copy-resources (copy-javadoc-legal-files) @ syncope-core ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 0 resource
> [INFO]
> [INFO] --- maven-compiler-plugin:3.8.0:compile (default-compile) @ syncope-core ---
> [INFO] No sources to compile
> [INFO]
> [INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ syncope-core ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 26 resources
> [INFO] Copying 1 resource
> [INFO] Copying 3 resources
> [INFO]
> [INFO] --- maven-dependency-plugin:3.1.1:copy (set-bundles) @ syncope-core ---
> [INFO] Configured Artifact: net.tirasa.connid.bundles.soap:net.tirasa.connid.bundles.soap:1.4.3:jar
> [INFO] Configured Artifact: net.tirasa.connid.bundles:net.tirasa.connid.bundles.rest:1.0.4:jar
> [INFO] Configured Artifact: net.tirasa.connid.bundles:net.tirasa.connid.bundles.csvdir:0.8.8:jar
> [INFO] Configured Artifact: net.tirasa.connid.bundles.db:net.tirasa.connid.bundles.db.table:2.2.6:jar
> [INFO] Configured Artifact: net.tirasa.connid.bundles.db:net.tirasa.connid.bundles.db.scriptedsql:2.2.6:jar
> [INFO] Configured Artifact: net.tirasa.connid.bundles:net.tirasa.connid.bundles.ldap:1.5.3:jar
> [INFO] Configured Artifact: net.tirasa.connid.bundles:net.tirasa.connid.bundles.ad:1.3.6:jar
> [INFO] Configured Artifact: net.tirasa.connid.bundles:net.tirasa.connid.bundles.googleapps:1.4.2:jar
> [INFO] Configured Artifact: net.tirasa.connid.bundles:net.tirasa.connid.bundles.azure:1.0.1:jar
> [INFO] Configured Artifact: net.tirasa.connid.bundles:net.tirasa.connid.bundles.scimv11:1.0.1:jar
> [INFO] Configured Artifact: net.tirasa.connid.bundles:net.tirasa.connid.bundles.servicenow:1.0.0:jar
> [INFO] Copying net.tirasa.connid.bundles.soap-1.4.3.jar to /opt/syncope/bundles/net.tirasa.connid.bundles.soap-1.4.3.jar
> [INFO] ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO]
> [INFO] Apache Syncope sample project ..................... SUCCESS [4.310s]
> [INFO] Apache Syncope sample project - Common ............ SUCCESS [1.233s]
> [INFO] Apache Syncope sample project - Core .............. FAILURE [2.534s]
> [INFO] Apache Syncope sample project - Console ........... SKIPPED
> [INFO] Apache Syncope sample project - Enduser ........... SKIPPED
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 8.341s
> [INFO] Finished at: Thu Sep 05 10:29:47 EDT 2019
> [INFO] Final Memory: 48M/628M
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-dependency-plugin:3.1.1:copy (set-bundles) on project syncope-core: Error copying artifact from /home/pwd/.m2/repository/net/tirasa/connid/bundles/soap/net.tirasa.connid.bundles.soap/1.4.3/net.tirasa.connid.bundles.soap-1.4.3.jar to /opt/syncope/bundles/net.tirasa.connid.bundles.soap-1.4.3.jar -> [Help 1]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions, please read the following articles:
> [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
> [ERROR]
> [ERROR] After correcting the problems, you can resume the build with the command
> [ERROR] mvn <goals> -rf :syncope-core
>
>
>
>
>
> --
> This email, and any files transmitted with it, are confidential
> and intended solely for the use of the individual or entity to
> whom they are addressed. If you have received this email in error,
> please advise postmaster@mdtsoft.com<ma...@mdtsoft.com> <ma...@mdtsoft.com>.
>
> 3480 Preston Ridge Road
> Suite 450
> Alpharetta, GA 30005
>
> Philip W. Dalrymple III <pw...@mdtsoft.com>
> MDT Software - Automation Management Company
> +1 678 297 1001
> Fax +1 678 297 1003
>
> ________________________________________
> From: Andrea Patricelli <an...@tirasa.net>
> Sent: Thursday, September 5, 2019 10:07
> To: user@syncope.apache.org<ma...@syncope.apache.org>
> Subject: Re: Syncope trying to deploy using Maven and not getting login
>
> P.S.
>
> About the attached link: please take care to the doc starting from
> documentation at "Deployment directories" section.
>
> Il 05/09/19 16:04, Dalrymple, Philip ha scritto:
>
>
> OK I will give that a go.
>
>
> --
> This email, and any files transmitted with it, are confidential
> and intended solely for the use of the individual or entity to
> whom they are addressed. If you have received this email in error,
> please advise postmaster@mdtsoft.com<ma...@mdtsoft.com> <ma...@mdtsoft.com>.
>
> 3480 Preston Ridge Road
> Suite 450
> Alpharetta, GA 30005
>
> Philip W. Dalrymple III <pw...@mdtsoft.com>
> MDT Software - Automation Management Company
> +1 678 297 1001
> Fax +1 678 297 1003
>
> ________________________________________
> From: Andrea Patricelli <an...@apache.org>
> Sent: Thursday, September 5, 2019 10:03
> To: user@syncope.apache.org<ma...@syncope.apache.org>
> Subject: Re: Syncope trying to deploy using Maven and not getting login
>
> Ok, maybe I got your first problem.
>
> Please follow this [1]. Basically, in order to do a correct deploy, you
> should build with a special mvn command specifying bundles, logs and
> conf directories and, moreover, in order to let Syncope take correct
> configuration parameters (like for the jdbc connection) copy some of the
> properties files in sources under the specific conf directory.
>
> HTH,
> Andrea
>
> [1] https://syncope.apache.org/docs/2.1/reference-guide.html#customization
>
> Il 05/09/19 15:56, Dalrymple, Philip ha scritto:
>
>
> OK this is weird
>
> I did a
>
> sudo find / -name "*core*.log*" -print
>
> and only find the logs from my first try using docker.
> (was not able to customize well enough and switched to
> maven deleting the docker images)
>
> I will keep looking.
>
>
> --
> This email, and any files transmitted with it, are confidential
> and intended solely for the use of the individual or entity to
> whom they are addressed. If you have received this email in error,
> please advise postmaster@mdtsoft.com<ma...@mdtsoft.com> <ma...@mdtsoft.com>.
>
> 3480 Preston Ridge Road
> Suite 450
> Alpharetta, GA 30005
>
> Philip W. Dalrymple III <pw...@mdtsoft.com>
> MDT Software - Automation Management Company
> +1 678 297 1001
> Fax +1 678 297 1003
>
> ________________________________________
> From: Dalrymple, Philip <pw...@mdtsoft.com>
> Sent: Thursday, September 5, 2019 9:53
> To: user@syncope.apache.org<ma...@syncope.apache.org>
> Subject: Re: Syncope trying to deploy using Maven and not getting login
>
>
> OK I need to find where the logs are.
>
> --
> This email, and any files transmitted with it, are confidential
> and intended solely for the use of the individual or entity to
> whom they are addressed. If you have received this email in error,
> please advise postmaster@mdtsoft.com<ma...@mdtsoft.com> <ma...@mdtsoft.com>.
>
> 3480 Preston Ridge Road
> Suite 450
> Alpharetta, GA 30005
>
> Philip W. Dalrymple III <pw...@mdtsoft.com>
> MDT Software - Automation Management Company
> +1 678 297 1001
> Fax +1 678 297 1003
>
> ________________________________________
> From: Andrea Patricelli <an...@apache.org>
> Sent: Thursday, September 5, 2019 9:52
> To: user@syncope.apache.org<ma...@syncope.apache.org>
> Subject: Re: Syncope trying to deploy using Maven and not getting login
>
> Hi Philip,
>
> you should check core.log, core-rest.log, core-persistence.log and
> core-connid.log files in order to understand what is the problem.
> The NOT FOUND error in console simply means that core is unavailable,
> probably because it failed to start.
>
> Please check for exceptions in core*.log files and attach it into this
> thread.
>
> Best regards,
> Andrea
>
> Il 05/09/19 15:32, Dalrymple, Philip ha scritto:
>
>
> I am trying to deploy Syncope using the Maven method. I have followed the
> instructions in
>
> http://syncope.apache.org/docs/2.1/getting-started.html#maven-project
>
> and then edited core/src/main/resources/domains/Master.properties
>
> to have the correct postgres password, I re-did the mvn clean install
> and placed the war files in my tomcat/webapps directory, they deployed
> without me restarting tomcat.
>
> When I got to http://XXXXX:8080/syncope-console I get a 500 error (see below)
> when I got to .../syncope or .../syncope/index.html or .../syncope-enduser I get a 404 error.
>
> I checked in WEB-INF/classes/persistence.properties (in syncope) and it had the
> correct DB user, host, and password info and I verified that I could connect to the DB BUT
> the DB was empty.
>
> the stack trace on the syncope-console
>
>
> type Exception report
>
> message Unable to instantiate web session class org.apache.syncope.client.console.SyncopeConsoleSession
>
> description The server encountered an internal error that prevented it from fulfilling this request.
>
> exception
>
> org.apache.wicket.WicketRuntimeException: Unable to instantiate web session class org.apache.syncope.client.console.SyncopeConsoleSession
> org.apache.wicket.authroles.authentication.AuthenticatedWebApplication.newSession(AuthenticatedWebApplication.java:121)
> org.apache.wicket.Application.fetchCreateAndSetSession(Application.java:1555)
> org.apache.wicket.Session.get(Session.java:176)
> org.apache.syncope.client.console.SyncopeConsoleSession.get(SyncopeConsoleSession.java:91)
> org.apache.syncope.client.console.SyncopeConsoleRequestCycleListener.onException(SyncopeConsoleRequestCycleListener.java:80)
> org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:126)
> org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:122)
> org.apache.wicket.util.listener.ListenerCollection.notify(ListenerCollection.java:80)
> org.apache.wicket.request.cycle.RequestCycleListenerCollection.onException(RequestCycleListenerCollection.java:121)
> org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:126)
> org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:122)
> org.apache.wicket.util.listener.ListenerCollection.notify(ListenerCollection.java:80)
> org.apache.wicket.request.cycle.RequestCycleListenerCollection.onException(RequestCycleListenerCollection.java:121)
> org.apache.wicket.request.cycle.RequestCycle.handleException(RequestCycle.java:368)
> org.apache.wicket.request.cycle.RequestCycle.executeExceptionRequestHandler(RequestCycle.java:314)
> org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:259)
> org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:221)
> org.apache.wicket.protocol.ws.AbstractUpgradeFilter.processRequestCycle(AbstractUpgradeFilter.java:70)
> org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:206)
> org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:299)
>
> root cause
>
> java.lang.reflect.InvocationTargetException
> sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
> java.lang.reflect.Constructor.newInstance(Constructor.java:423)
> org.apache.wicket.authroles.authentication.AuthenticatedWebApplication.newSession(AuthenticatedWebApplication.java:117)
> org.apache.wicket.Application.fetchCreateAndSetSession(Application.java:1555)
> org.apache.wicket.Session.get(Session.java:176)
> org.apache.syncope.client.console.SyncopeConsoleSession.get(SyncopeConsoleSession.java:91)
> org.apache.syncope.client.console.SyncopeConsoleRequestCycleListener.onException(SyncopeConsoleRequestCycleListener.java:80)
> org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:126)
> org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:122)
> org.apache.wicket.util.listener.ListenerCollection.notify(ListenerCollection.java:80)
> org.apache.wicket.request.cycle.RequestCycleListenerCollection.onException(RequestCycleListenerCollection.java:121)
> org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:126)
> org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:122)
> org.apache.wicket.util.listener.ListenerCollection.notify(ListenerCollection.java:80)
> org.apache.wicket.request.cycle.RequestCycleListenerCollection.onException(RequestCycleListenerCollection.java:121)
> org.apache.wicket.request.cycle.RequestCycle.handleException(RequestCycle.java:368)
> org.apache.wicket.request.cycle.RequestCycle.executeExceptionRequestHandler(RequestCycle.java:314)
> org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:259)
> org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:221)
> org.apache.wicket.protocol.ws.AbstractUpgradeFilter.processRequestCycle(AbstractUpgradeFilter.java:70)
> org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:206)
> org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:299)
>
> root cause
>
> javax.xml.ws.WebServiceException: Remote exception with status code: NOT_FOUND
> org.apache.syncope.client.lib.RestClientExceptionMapper.fromResponse(RestClientExceptionMapper.java:76)
> org.apache.syncope.client.lib.RestClientExceptionMapper.fromResponse(RestClientExceptionMapper.java:42)
> org.apache.cxf.jaxrs.client.ClientProxyImpl.checkResponse(ClientProxyImpl.java:372)
> org.apache.cxf.jaxrs.client.ClientProxyImpl.handleResponse(ClientProxyImpl.java:948)
> org.apache.cxf.jaxrs.client.ClientProxyImpl.doChainedInvocation(ClientProxyImpl.java:854)
> org.apache.cxf.jaxrs.client.ClientProxyImpl.invoke(ClientProxyImpl.java:295)
> com.sun.proxy.$Proxy119.platform(Unknown Source)
> org.apache.syncope.client.console.SyncopeConsoleSession.<init>(SyncopeConsoleSession.java:103)
> sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
> java.lang.reflect.Constructor.newInstance(Constructor.java:423)
> org.apache.wicket.authroles.authentication.AuthenticatedWebApplication.newSession(AuthenticatedWebApplication.java:117)
> org.apache.wicket.Application.fetchCreateAndSetSession(Application.java:1555)
> org.apache.wicket.Session.get(Session.java:176)
> org.apache.syncope.client.console.SyncopeConsoleSession.get(SyncopeConsoleSession.java:91)
> org.apache.syncope.client.console.SyncopeConsoleRequestCycleListener.onException(SyncopeConsoleRequestCycleListener.java:80)
> org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:126)
> org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:122)
> org.apache.wicket.util.listener.ListenerCollection.notify(ListenerCollection.java:80)
> org.apache.wicket.request.cycle.RequestCycleListenerCollection.onException(RequestCycleListenerCollection.java:121)
> org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:126)
> org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:122)
> org.apache.wicket.util.listener.ListenerCollection.notify(ListenerCollection.java:80)
> org.apache.wicket.request.cycle.RequestCycleListenerCollection.onException(RequestCycleListenerCollection.java:121)
> org.apache.wicket.request.cycle.RequestCycle.handleException(RequestCycle.java:368)
> org.apache.wicket.request.cycle.RequestCycle.executeExceptionRequestHandler(RequestCycle.java:314)
> org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:259)
> org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:221)
> org.apache.wicket.protocol.ws.AbstractUpgradeFilter.processRequestCycle(AbstractUpgradeFilter.java:70)
> org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:206)
> org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:299)
>
>
> thanks
>
>
> --
> This email, and any files transmitted with it, are confidential
> and intended solely for the use of the individual or entity to
> whom they are addressed. If you have received this email in error,
> please advise postmaster@mdtsoft.com<ma...@mdtsoft.com> <ma...@mdtsoft.com>.
>
> 3480 Preston Ridge Road
> Suite 450
> Alpharetta, GA 30005
>
> Philip W. Dalrymple III <pw...@mdtsoft.com>
> MDT Software - Automation Management Company
> +1 678 297 1001
> Fax +1 678 297 1003
>
>
> --
> Dott. Andrea Patricelli
> Tel. +39 3204524292
>
> Engineer @ Tirasa S.r.l.
> Viale Vittoria Colonna 97 - 65127 Pescara
> Tel +39 0859116307 / FAX +39 0859111173
> http://www.tirasa.net
>
> Apache Syncope PMC Member
>
>
>
> --
> Dott. Andrea Patricelli
> Tel. +39 3204524292
>
> Engineer @ Tirasa S.r.l.
> Viale Vittoria Colonna 97 - 65127 Pescara
> Tel +39 0859116307 / FAX +39 0859111173
> http://www.tirasa.net
>
> Apache Syncope PMC Member
>
>
>
> --
> Dott. Andrea Patricelli
> Tel. +39 3204524292
>
> Engineer @ Tirasa S.r.l.
> Viale Vittoria Colonna 97 - 65127 Pescara
> Tel +39 0859116307 / FAX +39 0859111173
> http://www.tirasa.net
>
> Apache Syncope PMC Member
>
>
>
> --
> Dott. Andrea Patricelli
> Tel. +39 3204524292
>
> Engineer @ Tirasa S.r.l.
> Viale Vittoria Colonna 97 - 65127 Pescara
> Tel +39 0859116307 / FAX +39 0859111173
> http://www.tirasa.net
>
> Apache Syncope PMC Member
--
Dott. Andrea Patricelli
Tel. +39 3204524292
Engineer @ Tirasa S.r.l.
Viale Vittoria Colonna 97 - 65127 Pescara
Tel +39 0859116307 / FAX +39 0859111173
http://www.tirasa.net
Apache Syncope PMC Member
Re: Syncope trying to deploy using Maven and not getting login
Posted by "Dalrymple, Philip" <pw...@mdtsoft.com>.
OK I found the jdbc dirver jar files and the tomcat home directory (on a RPM install on Centos 7) and
tried a restart (after restarting tomcat) and got futher but...
12:31:08.381 INFO org.springframework.security.core.SpringSecurityCoreVersion - You are running with Spring Security Core 5.1.5.RELEASE
12:31:08.384 INFO org.springframework.security.config.SecurityNamespaceHandler - Spring Security 'config' module version is 5.1.5.RELEASE
12:31:08.404 INFO org.springframework.security.config.method.GlobalMethodSecurityBeanDefinitionParser - Expressions were enabled for method security but no SecurityExpressionHandler was
configured. All hasPermision() expressions will evaluate to false.
12:31:08.446 INFO org.springframework.security.config.http.HttpSecurityBeanDefinitionParser - Checking sorted filter chain: [Root bean: class [org.springframework.security.web.context.Se
curityContextPersistenceFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=
null; initMethodName=null; destroyMethodName=null, order = 200, Root bean: class [org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter]; scope=; abstrac
t=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=nul
l, order = 400, <jwtAuthenticationFilter>, order = 1799, Root bean: class [org.springframework.security.web.authentication.www.BasicAuthenticationFilter]; scope=; abstract=false; lazyInit
=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 1800,
Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=org.springframework.security.con
fig.http.HttpConfigurationBuilder$SecurityContextHolderAwareRequestFilterBeanFactory#0; factoryMethodName=getBean; initMethodName=null; destroyMethodName=null, order = 2000, Root bean: cl
ass [org.springframework.security.web.authentication.AnonymousAuthenticationFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; pri
mary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 2300, Root bean: class [org.springframework.security.web.access.ExceptionTra
nslationFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethod
Name=null; destroyMethodName=null, order = 2500, <mustChangePasswordFilter>, order = 2599, <org.springframework.security.web.access.intercept.FilterSecurityInterceptor#0>, order = 2600]
12:31:10.396 INFO org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor - Initializing ExecutorService
12:31:10.396 INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'asyncConnectorFacadeExecutor' of type [org.springframework.schedu
ling.config.TaskExecutorFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
12:31:10.397 INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'asyncConnectorFacadeExecutor' of type [org.springframework.schedu
ling.concurrent.ThreadPoolTaskExecutor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
12:31:11.001 WARN openjpa.Runtime - An error occurred while registering a ClassTransformer with PersistenceUnitInfo: name 'Master', root URL [file:/var/lib/tomcat/webapps/syncope/WEB-INF
/lib/syncope-core-persistence-jpa-2.1.4.jar]. The error has been consumed. To see it, set your openjpa.Runtime log level to TRACE. Load-time class transformation will not be available.
12:31:11.148 INFO org.springframework.security.web.DefaultSecurityFilterChain - Creating filter chain: any request, [org.springframework.security.web.context.SecurityContextPersistenceFi
lter@7f1892fa]
12:31:11.706 INFO org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor - Initializing ExecutorService
12:31:11.862 INFO org.apache.syncope.core.provisioning.java.job.SchedulerDBInit - No Quartz tables found, creating
12:31:12.042 INFO org.quartz.impl.StdSchedulerFactory - Using default implementation for ThreadExecutor
12:31:12.061 INFO org.quartz.core.SchedulerSignalerImpl - Initialized Scheduler Signaller of type: class org.quartz.core.SchedulerSignalerImpl
12:31:12.061 INFO org.quartz.core.QuartzScheduler - Quartz Scheduler v.2.3.1 created.
12:31:12.065 INFO org.springframework.scheduling.quartz.LocalDataSourceJobStore - Using db table-based data access locking (synchronization).
12:31:12.068 INFO org.springframework.scheduling.quartz.LocalDataSourceJobStore - JobStoreCMT initialized.
12:31:12.074 INFO org.quartz.core.QuartzScheduler - Scheduler meta-data: Quartz Scheduler (v2.3.1) 'ClusteredScheduler' with instanceId 'gluu-prs9.mdtsoft.com1567787472044'
Scheduler class: 'org.quartz.core.QuartzScheduler' - running locally.
NOT STARTED.
Currently in standby mode.
Number of jobs executed: 0
Using thread pool 'org.quartz.simpl.SimpleThreadPool' - with 10 threads.
Using job-store 'org.springframework.scheduling.quartz.LocalDataSourceJobStore' - which supports persistence. and is clustered.
12:31:12.074 INFO org.quartz.impl.StdSchedulerFactory - Quartz scheduler 'ClusteredScheduler' initialized from an externally provided properties instance.
12:31:12.074 INFO org.quartz.impl.StdSchedulerFactory - Quartz scheduler version: 2.3.1
12:31:12.075 INFO org.quartz.core.QuartzScheduler - JobFactory set to: org.apache.syncope.core.provisioning.java.job.AutowiringSpringBeanJobFactory@3cb650d6
12:31:12.080 INFO openjpa.Runtime - Starting OpenJPA 3.1.0
12:31:12.116 INFO openjpa.jdbc.JDBC - Using dictionary class "org.apache.openjpa.jdbc.sql.PostgresDictionary".
12:31:12.170 INFO openjpa.jdbc.JDBC - Connected to PostgreSQL version 11.11 using JDBC driver PostgreSQL JDBC Driver version 42.2.6.
12:31:12.443 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.group.JPAGroup". Ignoring.
12:31:12.443 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.group.JPATypeExtension". Ignoring.
12:31:12.443 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.user.JPAURelationship". Ignoring.
12:31:12.444 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.anyobject.JPAADynGroupMembership". Ignoring.
12:31:12.444 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.anyobject.JPAARelationship". Ignoring.
12:31:12.444 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.anyobject.JPAAPlainAttrUniqueValue". Ignoring.
12:31:12.444 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.user.JPAUPlainAttrUniqueValue". Ignoring.
12:31:12.444 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.group.JPAGPlainAttrUniqueValue". Ignoring.
12:31:12.444 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.conf.JPACPlainAttrUniqueValue". Ignoring.
12:31:12.474 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.group.JPAGroup". Ignoring.
12:31:12.475 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.group.JPATypeExtension". Ignoring.
12:31:12.475 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.user.JPAURelationship". Ignoring.
12:31:12.475 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.anyobject.JPAAMembership". Ignoring.
12:31:12.475 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.anyobject.JPAADynGroupMembership". Ignoring.
12:31:12.475 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.anyobject.JPAARelationship". Ignoring.
12:31:12.475 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.anyobject.JPAAPlainAttrUniqueValue". Ignoring.
12:31:12.475 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.user.JPAUPlainAttrUniqueValue". Ignoring.
12:31:12.476 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.group.JPAGPlainAttrUniqueValue". Ignoring.
12:31:12.476 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.conf.JPACPlainAttrUniqueValue". Ignoring.
12:31:12.488 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.group.JPAGroup". Ignoring.
12:31:12.489 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.group.JPATypeExtension". Ignoring.
12:31:12.489 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.user.JPAUDynGroupMembership". Ignoring.
12:31:12.489 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.user.JPAURelationship". Ignoring.
12:31:12.489 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.anyobject.JPAAMembership". Ignoring.
12:31:12.489 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.anyobject.JPAADynGroupMembership". Ignoring.
12:31:12.489 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.anyobject.JPAARelationship". Ignoring.
12:31:12.489 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.anyobject.JPAAPlainAttrUniqueValue". Ignoring.
12:31:12.490 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.user.JPAUPlainAttrUniqueValue". Ignoring.
12:31:12.490 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.group.JPAGPlainAttrUniqueValue". Ignoring.
12:31:12.490 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.conf.JPACPlainAttrUniqueValue". Ignoring.
12:31:12.500 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.group.JPAGroup". Ignoring.
12:31:12.500 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.group.JPATypeExtension". Ignoring.
12:31:12.501 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.user.JPAUMembership". Ignoring.
12:31:12.501 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.user.JPAUDynGroupMembership". Ignoring.
12:31:12.501 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.user.JPAURelationship". Ignoring.
12:31:12.501 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.anyobject.JPAAMembership". Ignoring.
12:31:12.501 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.anyobject.JPAADynGroupMembership". Ignoring.
12:31:12.501 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.anyobject.JPAARelationship". Ignoring.
12:31:12.501 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.anyobject.JPAAPlainAttrUniqueValue". Ignoring.
12:31:12.502 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.user.JPAUPlainAttrUniqueValue". Ignoring.
12:31:12.502 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.group.JPAGPlainAttrUniqueValue". Ignoring.
12:31:12.502 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.conf.JPACPlainAttrUniqueValue". Ignoring.
12:31:14.391 INFO org.springframework.security.web.DefaultSecurityFilterChain - Creating filter chain: any request, [org.springframework.security.web.context.SecurityContextPersistenceFi
lter@6c08a8a1, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@53ed610e, org.apache.syncope.core.spring.security.JWTAuthenticationFilter@35c93775,
org.springframework.security.web.authentication.www.BasicAuthenticationFilter@6909833, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@3132e34, org.spr
ingframework.security.web.authentication.AnonymousAuthenticationFilter@6a1207ae, org.springframework.security.web.access.ExceptionTranslationFilter@4347008c, org.apache.syncope.core.sprin
g.security.MustChangePasswordFilter@14fe9a58, org.springframework.security.web.access.intercept.FilterSecurityInterceptor@6643c564]
12:31:15.632 INFO org.apache.syncope.core.provisioning.java.ConnectorManager - Done loading 0 connectors
12:31:15.695 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.group.JPAGroup". Ignoring.
12:31:15.695 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.group.JPATypeExtension". Ignoring.
12:31:15.695 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.user.JPAURelationship". Ignoring.
12:31:15.695 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.anyobject.JPAADynGroupMembership". Ignoring.
12:31:15.695 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.anyobject.JPAARelationship". Ignoring.
12:31:15.695 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.anyobject.JPAAPlainAttrUniqueValue". Ignoring.
12:31:15.696 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.user.JPAUPlainAttrUniqueValue". Ignoring.
12:31:15.696 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.group.JPAGPlainAttrUniqueValue". Ignoring.
12:31:15.696 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.conf.JPACPlainAttrUniqueValue". Ignoring.
12:31:15.706 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.group.JPAGroup". Ignoring.
12:31:15.706 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.group.JPATypeExtension". Ignoring.
12:31:15.707 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.user.JPAURelationship". Ignoring.
12:31:15.707 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.anyobject.JPAAMembership". Ignoring.
12:31:15.707 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.anyobject.JPAADynGroupMembership". Ignoring.
12:31:15.707 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.anyobject.JPAARelationship". Ignoring.
12:31:15.707 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.anyobject.JPAAPlainAttrUniqueValue". Ignoring.
12:31:15.707 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.user.JPAUPlainAttrUniqueValue". Ignoring.
12:31:15.707 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.group.JPAGPlainAttrUniqueValue". Ignoring.
12:31:15.708 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.conf.JPACPlainAttrUniqueValue". Ignoring.
12:31:15.718 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.group.JPAGroup". Ignoring.
12:31:15.718 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.group.JPATypeExtension". Ignoring.
12:31:15.718 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.user.JPAUDynGroupMembership". Ignoring.
12:31:15.719 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.user.JPAURelationship". Ignoring.
12:31:15.719 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.anyobject.JPAAMembership". Ignoring.
12:31:15.719 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.anyobject.JPAADynGroupMembership". Ignoring.
12:31:15.719 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.anyobject.JPAARelationship". Ignoring.
12:31:15.719 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.anyobject.JPAAPlainAttrUniqueValue". Ignoring.
12:31:15.719 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.user.JPAUPlainAttrUniqueValue". Ignoring.
12:31:15.719 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.group.JPAGPlainAttrUniqueValue". Ignoring.
12:31:15.719 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.conf.JPACPlainAttrUniqueValue". Ignoring.
12:31:15.729 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.group.JPAGroup". Ignoring.
12:31:15.729 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.group.JPATypeExtension". Ignoring.
12:31:15.729 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.user.JPAUMembership". Ignoring.
12:31:15.730 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.user.JPAUDynGroupMembership". Ignoring.
12:31:15.730 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.user.JPAURelationship". Ignoring.
12:31:15.730 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.anyobject.JPAAMembership". Ignoring.
12:31:15.730 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.anyobject.JPAADynGroupMembership". Ignoring.
12:31:15.730 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.anyobject.JPAARelationship". Ignoring.
12:31:15.730 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.anyobject.JPAAPlainAttrUniqueValue". Ignoring.
12:31:15.730 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.user.JPAUPlainAttrUniqueValue". Ignoring.
12:31:15.730 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.group.JPAGPlainAttrUniqueValue". Ignoring.
12:31:15.731 WARN openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.syncope.core.persistence.jpa.entity.conf.JPACPlainAttrUniqueValue". Ignoring.
12:31:16.253 INFO org.springframework.scheduling.quartz.SchedulerFactoryBean - Shutting down Quartz Scheduler
12:31:16.253 INFO org.quartz.core.QuartzScheduler - Scheduler ClusteredScheduler_$_gluu-prs9.mdtsoft.com1567787472044 shutting down.
12:31:16.253 INFO org.quartz.core.QuartzScheduler - Scheduler ClusteredScheduler_$_gluu-prs9.mdtsoft.com1567787472044 paused.
12:31:16.555 INFO org.quartz.core.QuartzScheduler - Scheduler unregistered from name 'quartz:type=QuartzScheduler,name=ClusteredScheduler,instance=gluu-prs9.mdtsoft.com1567787472044' in
the local MBeanServer.
12:31:16.555 INFO org.quartz.core.QuartzScheduler - Scheduler ClusteredScheduler_$_gluu-prs9.mdtsoft.com1567787472044 shutdown complete.
12:31:16.557 INFO org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor - Shutting down ExecutorService
12:31:16.565 INFO org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor - Shutting down ExecutorService
--
This email, and any files transmitted with it, are confidential
and intended solely for the use of the individual or entity to
whom they are addressed. If you have received this email in error,
please advise postmaster@mdtsoft.com <ma...@mdtsoft.com>.
3480 Preston Ridge Road
Suite 450
Alpharetta, GA 30005
Philip W. Dalrymple III <pw...@mdtsoft.com>
MDT Software - Automation Management Company
+1 678 297 1001
Fax +1 678 297 1003
________________________________________
From: Andrea Patricelli <an...@apache.org>
Sent: Friday, September 6, 2019 4:20
To: user@syncope.apache.org
Subject: Re: Syncope trying to deploy using Maven and not getting login
Hi Philip,
in order to make a correct deploy on your application server follow [2].
As the warning in the doc states:
Be sure to put the corresponding JDBC driver JAR file under $CATALINA_HOME/lib for each datasource defined.
You should provide postgres driver to Syncope by putting it into Tomcat lib folder.
About the maven buld error: did you give the correct r/w permissions to /opt/syncope/buldles directory? If you want more info about the build please add the -X option to your maven build command.
Best regards,
Andrea
[2] https://syncope.apache.org/docs/2.1/reference-guide.html#apache-tomcat-9
Il 05/09/19 16:38, Dalrymple, Philip ha scritto:
OK I had one issue in that to make it work my build script needed to look like
#!/bin/bash
cd syncope
sudo mkdir -p /opt/syncope/bundles
sudo mkdir -p /opt/syncope/log
sudo chmod 0777 /opt/syncope/log
sudo mkdir -p /opt/syncope/conf
# mvn clean verify \
# -Dconf.directory=/opt/syncope/conf \
# -Dbundles.directory=/opt/syncope/bundles \
# -Dlog.directory=/opt/syncope/log
mvn clean verify \
-Dconf.directory=/opt/syncope/conf \
-Dlog.directory=/opt/syncope/log
sudo cp core/target/classes/*properties /opt/syncope/conf
sudo cp console/target/classes/*properties /opt/syncope/conf
sudo cp enduser/target/classes/*properties /opt/syncope/conf
sudo cp enduser/target/classes/customFormAttributes.json /opt/syncope/conf
sudo cp enduser/target/classes/customTemplate.json /opt/syncope/conf
i.e. not changing the bundles directory (which I want to do as I want to build in
the bundles into the war files).
When I do that I DO get logs (in /opt/syncope/log) Looks like I don't have the postgres dirver.
I checked and the
core/target/classes/provisioning.properties
already had the changes for postgres
? syncope git:(master) ? more /opt/syncope/log/core.log
10:22:58.367 INFO org.springframework.security.core.SpringSecurityCoreVersion - You are running with Spring Security Core 5.1.5.RELEASE
10:22:58.370 INFO org.springframework.security.config.SecurityNamespaceHandler - Spring Security 'config' module version is 5.1.5.RELEASE
10:22:58.391 INFO org.springframework.security.config.method.GlobalMethodSecurityBeanDefinitionParser - Expressions were enabled for method security but no SecurityExpressionHandle
r was configured. All hasPermision() expressions will evaluate to false.
10:22:58.437 INFO org.springframework.security.config.http.HttpSecurityBeanDefinitionParser - Checking sorted filter chain: [Root bean: class [org.springframework.security.web.cont
ext.SecurityContextPersistenceFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factor
yMethodName=null; initMethodName=null; destroyMethodName=null, order = 200, Root bean: class [org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter
]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=nul
l; destroyMethodName=null, order = 400, <jwtAuthenticationFilter>, order = 1799, Root bean: class [org.springframework.security.web.authentication.www.BasicAuthenticationFilter]; sc
ope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; de
stroyMethodName=null, order = 1800, Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factor
yBeanName=org.springframework.security.config.http.HttpConfigurationBuilder$SecurityContextHolderAwareRequestFilterBeanFactory#0; factoryMethodName=getBean; initMethodName=null; des
troyMethodName=null, order = 2000, Root bean: class [org.springframework.security.web.authentication.AnonymousAuthenticationFilter]; scope=; abstract=false; lazyInit=false; autowire
Mode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 2300, Root bean:
class [org.springframework.security.web.access.ExceptionTranslationFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; prima
ry=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 2500, <mustChangePasswordFilter>, order = 2599, <org.springframework.sec
urity.web.access.intercept.FilterSecurityInterceptor#0>, order = 2600]
10:23:00.130 INFO org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor - Initializing ExecutorService
10:23:00.130 INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'asyncConnectorFacadeExecutor' of type [org.springframework.
scheduling.config.TaskExecutorFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
10:23:00.130 INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'asyncConnectorFacadeExecutor' of type [org.springframework.
scheduling.concurrent.ThreadPoolTaskExecutor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
10:23:00.394 ERROR com.zaxxer.hikari.HikariConfig - Failed to load driver class org.postgresql.Driver from HikariConfig class classloader WebappClassLoader
context: /syncope
delegate: false
repositories:
/WEB-INF/classes/
----------> Parent Classloader:
java.net.URLClassLoader@7a81197d
10:23:00.444 ERROR com.zaxxer.hikari.HikariConfig - Failed to load driver class org.postgresql.Driver from HikariConfig class classloader WebappClassLoader
context: /syncope
delegate: false
repositories:
/WEB-INF/classes/
----------> Parent Classloader:
java.net.URLClassLoader@7a81197d
10:23:00.445 INFO org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor - Shutting down ExecutorService
10:23:18.326 INFO org.springframework.security.core.SpringSecurityCoreVersion - You are running with Spring Security Core 5.1.5.RELEASE
10:23:18.329 INFO org.springframework.security.config.SecurityNamespaceHandler - Spring Security 'config' module version is 5.1.5.RELEASE
10:23:18.349 INFO org.springframework.security.config.method.GlobalMethodSecurityBeanDefinitionParser - Expressions were enabled for method security but no SecurityExpressionHandle
r was configured. All hasPermision() expressions will evaluate to false.
10:23:18.395 INFO org.springframework.security.config.http.HttpSecurityBeanDefinitionParser - Checking sorted filter chain: [Root bean: class [org.springframework.security.web.cont
ext.SecurityContextPersistenceFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factor
yMethodName=null; initMethodName=null; destroyMethodName=null, order = 200, Root bean: class [org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter
]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=nul
l; destroyMethodName=null, order = 400, <jwtAuthenticationFilter>, order = 1799, Root bean: class [org.springframework.security.web.authentication.www.BasicAuthenticationFilter]; sc
ope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; de
stroyMethodName=null, order = 1800, Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factor
yBeanName=org.springframework.security.config.http.HttpConfigurationBuilder$SecurityContextHolderAwareRequestFilterBeanFactory#0; factoryMethodName=getBean; initMethodName=null; des
troyMethodName=null, order = 2000, Root bean: class [org.springframework.security.web.authentication.AnonymousAuthenticationFilter]; scope=; abstract=false; lazyInit=false; autowire
Mode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 2300, Root bean:
class [org.springframework.security.web.access.ExceptionTranslationFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; prima
ry=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 2500, <mustChangePasswordFilter>, order = 2599, <org.springframework.sec
urity.web.access.intercept.FilterSecurityInterceptor#0>, order = 2600]
10:23:20.012 INFO org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor - Initializing ExecutorService
10:23:20.012 INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'asyncConnectorFacadeExecutor' of type [org.springframework.
scheduling.config.TaskExecutorFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
10:23:20.012 INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'asyncConnectorFacadeExecutor' of type [org.springframework.
scheduling.concurrent.ThreadPoolTaskExecutor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
10:23:20.285 ERROR com.zaxxer.hikari.HikariConfig - Failed to load driver class org.postgresql.Driver from HikariConfig class classloader WebappClassLoader
context: /syncope
delegate: false
repositories:
/WEB-INF/classes/
----------> Parent Classloader:
java.net.URLClassLoader@7a81197d
10:23:20.337 ERROR com.zaxxer.hikari.HikariConfig - Failed to load driver class org.postgresql.Driver from HikariConfig class classloader WebappClassLoader
context: /syncope
delegate: false
repositories:
/WEB-INF/classes/
----------> Parent Classloader:
java.net.URLClassLoader@7a81197d
10:23:20.338 INFO org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor - Shutting down ExecutorService
10:23:32.831 INFO org.springframework.security.core.SpringSecurityCoreVersion - You are running with Spring Security Core 5.1.5.RELEASE
10:23:32.835 INFO org.springframework.security.config.SecurityNamespaceHandler - Spring Security 'config' module version is 5.1.5.RELEASE
10:23:32.859 INFO org.springframework.security.config.method.GlobalMethodSecurityBeanDefinitionParser - Expressions were enabled for method security but no SecurityExpressionHandle
r was configured. All hasPermision() expressions will evaluate to false.
10:23:32.910 INFO org.springframework.security.config.http.HttpSecurityBeanDefinitionParser - Checking sorted filter chain: [Root bean: class [org.springframework.security.web.cont
ext.SecurityContextPersistenceFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factor
yMethodName=null; initMethodName=null; destroyMethodName=null, order = 200, Root bean: class [org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter
]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=nul
l; destroyMethodName=null, order = 400, <jwtAuthenticationFilter>, order = 1799, Root bean: class [org.springframework.security.web.authentication.www.BasicAuthenticationFilter]; sc
ope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; de
stroyMethodName=null, order = 1800, Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factor
yBeanName=org.springframework.security.config.http.HttpConfigurationBuilder$SecurityContextHolderAwareRequestFilterBeanFactory#0; factoryMethodName=getBean; initMethodName=null; des
troyMethodName=null, order = 2000, Root bean: class [org.springframework.security.web.authentication.AnonymousAuthenticationFilter]; scope=; abstract=false; lazyInit=false; autowire
Mode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 2300, Root bean:
class [org.springframework.security.web.access.ExceptionTranslationFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; prima
ry=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 2500, <mustChangePasswordFilter>, order = 2599, <org.springframework.sec
urity.web.access.intercept.FilterSecurityInterceptor#0>, order = 2600]
10:23:34.490 INFO org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor - Initializing ExecutorService
10:23:34.490 INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'asyncConnectorFacadeExecutor' of type [org.springframework.
scheduling.config.TaskExecutorFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
10:23:34.490 INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'asyncConnectorFacadeExecutor' of type [org.springframework.
scheduling.concurrent.ThreadPoolTaskExecutor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
10:23:34.757 ERROR com.zaxxer.hikari.HikariConfig - Failed to load driver class org.postgresql.Driver from HikariConfig class classloader WebappClassLoader
context: /syncope
delegate: false
repositories:
/WEB-INF/classes/
----------> Parent Classloader:
java.net.URLClassLoader@7a81197d
10:23:34.809 ERROR com.zaxxer.hikari.HikariConfig - Failed to load driver class org.postgresql.Driver from HikariConfig class classloader WebappClassLoader
context: /syncope
delegate: false
repositories:
/WEB-INF/classes/
----------> Parent Classloader:
java.net.URLClassLoader@7a81197d
10:23:34.810 INFO org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor - Shutting down ExecutorService
if I left in the bundles I get the following error:
? syncope git:(master) ? mvn clean verify \
-Dconf.directory=/opt/syncope/conf \
-Dbundles.directory=/opt/syncope/bundles \
-Dlog.directory=/opt/syncope/log
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] Apache Syncope sample project
[INFO] Apache Syncope sample project - Common
[INFO] Apache Syncope sample project - Core
[INFO] Apache Syncope sample project - Console
[INFO] Apache Syncope sample project - Enduser
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache Syncope sample project 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ syncope ---
[INFO] Deleting /home/pwd/src/EIandAS/syncope/target
[INFO]
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven-version) @ syncope ---
[INFO]
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven) @ syncope ---
[INFO]
[INFO] --- gmaven-plugin:1.5:execute (default) @ syncope ---
[INFO]
[INFO] --- maven-remote-resources-plugin:1.5:process (process-resource-bundles) @ syncope ---
[INFO]
[INFO] --- maven-resources-plugin:3.1.0:copy-resources (copy-artifact-legal-files) @ syncope ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 0 resource
[INFO]
[INFO] --- maven-resources-plugin:3.1.0:copy-resources (copy-javadoc-legal-files) @ syncope ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 0 resource
[INFO]
[INFO] --- jacoco-maven-plugin:0.8.3:prepare-agent (jacoco-agent-ut) @ syncope ---
[INFO] argLine set to -javaagent:/home/pwd/.m2/repository/org/jacoco/org.jacoco.agent/0.8.3/org.jacoco.agent-0.8.3-runtime.jar=destfile=/home/pwd/src/EIandAS/syncope/target/jacoco.ut.exec,append=true -Xms512m -Xmx1024m -Xss256k
[INFO]
[INFO] --- maven-site-plugin:3.7.1:attach-descriptor (attach-descriptor) @ syncope ---
[INFO] No site descriptor found: nothing to attach.
[INFO]
[INFO] --- jacoco-maven-plugin:0.8.3:prepare-agent-integration (jacoco-agent-it) @ syncope ---
[INFO] argLine set to -javaagent:/home/pwd/.m2/repository/org/jacoco/org.jacoco.agent/0.8.3/org.jacoco.agent-0.8.3-runtime.jar=destfile=/home/pwd/src/EIandAS/syncope/target/jacoco.it.exec,append=true -Xms512m -Xmx1024m -Xss256k
[INFO]
[INFO] --- modernizer-maven-plugin:1.8.0:modernizer (modernizer-check) @ syncope ---
[INFO]
[INFO] --- maven-checkstyle-plugin:3.0.0:check (checkstyle-check) @ syncope ---
[INFO]
[INFO] --- jacoco-maven-plugin:0.8.3:report-aggregate (jacoco-site) @ syncope ---
[INFO]
[INFO] --- apache-rat-plugin:0.12:check (rat-check) @ syncope ---
[INFO] RAT will not execute since it is configured to be skipped via system property 'rat.skip'.
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache Syncope sample project - Common 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ syncope-common ---
[INFO] Deleting /home/pwd/src/EIandAS/syncope/common/target
[INFO]
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven-version) @ syncope-common ---
[INFO]
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven) @ syncope-common ---
[INFO]
[INFO] --- gmaven-plugin:1.5:execute (default) @ syncope-common ---
[INFO]
[INFO] --- maven-remote-resources-plugin:1.5:process (process-resource-bundles) @ syncope-common ---
[INFO]
[INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ syncope-common ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 0 resource
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-resources-plugin:3.1.0:copy-resources (copy-artifact-legal-files) @ syncope-common ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 0 resource
[INFO]
[INFO] --- maven-resources-plugin:3.1.0:copy-resources (copy-javadoc-legal-files) @ syncope-common ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 0 resource
[INFO]
[INFO] --- maven-compiler-plugin:3.8.0:compile (default-compile) @ syncope-common ---
[INFO] No sources to compile
[INFO]
[INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ syncope-common ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 0 resource
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.8.0:testCompile (default-testCompile) @ syncope-common ---
[INFO] No sources to compile
[INFO]
[INFO] --- jacoco-maven-plugin:0.8.3:prepare-agent (jacoco-agent-ut) @ syncope-common ---
[INFO] argLine set to -javaagent:/home/pwd/.m2/repository/org/jacoco/org.jacoco.agent/0.8.3/org.jacoco.agent-0.8.3-runtime.jar=destfile=/home/pwd/src/EIandAS/syncope/common/target/jacoco.ut.exec,append=true -Xms512m -Xmx1024m -Xss256k
[INFO]
[INFO] --- maven-surefire-plugin:2.22.1:test (default-test) @ syncope-common ---
[INFO]
[INFO] --- maven-jar-plugin:3.1.1:jar (default-jar) @ syncope-common ---
[INFO] Building jar: /home/pwd/src/EIandAS/syncope/common/target/syncope-common-1.0-SNAPSHOT.jar
[INFO]
[INFO] --- maven-site-plugin:3.7.1:attach-descriptor (attach-descriptor) @ syncope-common ---
[INFO] Skipping because packaging 'jar' is not pom.
[INFO]
[INFO] --- jacoco-maven-plugin:0.8.3:prepare-agent-integration (jacoco-agent-it) @ syncope-common ---
[INFO] argLine set to -javaagent:/home/pwd/.m2/repository/org/jacoco/org.jacoco.agent/0.8.3/org.jacoco.agent-0.8.3-runtime.jar=destfile=/home/pwd/src/EIandAS/syncope/common/target/jacoco.it.exec,append=true -Xms512m -Xmx1024m -Xss256k
[INFO]
[INFO] --- modernizer-maven-plugin:1.8.0:modernizer (modernizer-check) @ syncope-common ---
[INFO]
[INFO] --- maven-checkstyle-plugin:3.0.0:check (checkstyle-check) @ syncope-common ---
[INFO]
[INFO] --- jacoco-maven-plugin:0.8.3:report-aggregate (jacoco-site) @ syncope-common ---
[INFO]
[INFO] --- apache-rat-plugin:0.12:check (rat-check) @ syncope-common ---
[INFO] RAT will not execute since it is configured to be skipped via system property 'rat.skip'.
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache Syncope sample project - Core 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ syncope-core ---
[INFO] Deleting /home/pwd/src/EIandAS/syncope/core/target
[INFO]
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven-version) @ syncope-core ---
[INFO]
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven) @ syncope-core ---
[INFO]
[INFO] --- gmaven-plugin:1.5:execute (default) @ syncope-core ---
[INFO]
[INFO] --- maven-remote-resources-plugin:1.5:process (process-resource-bundles) @ syncope-core ---
[INFO]
[INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ syncope-core ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 32 resources
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-resources-plugin:3.1.0:copy-resources (copy-artifact-legal-files) @ syncope-core ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 0 resource
[INFO]
[INFO] --- maven-resources-plugin:3.1.0:copy-resources (copy-javadoc-legal-files) @ syncope-core ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 0 resource
[INFO]
[INFO] --- maven-compiler-plugin:3.8.0:compile (default-compile) @ syncope-core ---
[INFO] No sources to compile
[INFO]
[INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ syncope-core ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 26 resources
[INFO] Copying 1 resource
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-dependency-plugin:3.1.1:copy (set-bundles) @ syncope-core ---
[INFO] Configured Artifact: net.tirasa.connid.bundles.soap:net.tirasa.connid.bundles.soap:1.4.3:jar
[INFO] Configured Artifact: net.tirasa.connid.bundles:net.tirasa.connid.bundles.rest:1.0.4:jar
[INFO] Configured Artifact: net.tirasa.connid.bundles:net.tirasa.connid.bundles.csvdir:0.8.8:jar
[INFO] Configured Artifact: net.tirasa.connid.bundles.db:net.tirasa.connid.bundles.db.table:2.2.6:jar
[INFO] Configured Artifact: net.tirasa.connid.bundles.db:net.tirasa.connid.bundles.db.scriptedsql:2.2.6:jar
[INFO] Configured Artifact: net.tirasa.connid.bundles:net.tirasa.connid.bundles.ldap:1.5.3:jar
[INFO] Configured Artifact: net.tirasa.connid.bundles:net.tirasa.connid.bundles.ad:1.3.6:jar
[INFO] Configured Artifact: net.tirasa.connid.bundles:net.tirasa.connid.bundles.googleapps:1.4.2:jar
[INFO] Configured Artifact: net.tirasa.connid.bundles:net.tirasa.connid.bundles.azure:1.0.1:jar
[INFO] Configured Artifact: net.tirasa.connid.bundles:net.tirasa.connid.bundles.scimv11:1.0.1:jar
[INFO] Configured Artifact: net.tirasa.connid.bundles:net.tirasa.connid.bundles.servicenow:1.0.0:jar
[INFO] Copying net.tirasa.connid.bundles.soap-1.4.3.jar to /opt/syncope/bundles/net.tirasa.connid.bundles.soap-1.4.3.jar
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Apache Syncope sample project ..................... SUCCESS [4.310s]
[INFO] Apache Syncope sample project - Common ............ SUCCESS [1.233s]
[INFO] Apache Syncope sample project - Core .............. FAILURE [2.534s]
[INFO] Apache Syncope sample project - Console ........... SKIPPED
[INFO] Apache Syncope sample project - Enduser ........... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 8.341s
[INFO] Finished at: Thu Sep 05 10:29:47 EDT 2019
[INFO] Final Memory: 48M/628M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-dependency-plugin:3.1.1:copy (set-bundles) on project syncope-core: Error copying artifact from /home/pwd/.m2/repository/net/tirasa/connid/bundles/soap/net.tirasa.connid.bundles.soap/1.4.3/net.tirasa.connid.bundles.soap-1.4.3.jar to /opt/syncope/bundles/net.tirasa.connid.bundles.soap-1.4.3.jar -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :syncope-core
--
This email, and any files transmitted with it, are confidential
and intended solely for the use of the individual or entity to
whom they are addressed. If you have received this email in error,
please advise postmaster@mdtsoft.com<ma...@mdtsoft.com> <ma...@mdtsoft.com>.
3480 Preston Ridge Road
Suite 450
Alpharetta, GA 30005
Philip W. Dalrymple III <pw...@mdtsoft.com>
MDT Software - Automation Management Company
+1 678 297 1001
Fax +1 678 297 1003
________________________________________
From: Andrea Patricelli <an...@tirasa.net>
Sent: Thursday, September 5, 2019 10:07
To: user@syncope.apache.org<ma...@syncope.apache.org>
Subject: Re: Syncope trying to deploy using Maven and not getting login
P.S.
About the attached link: please take care to the doc starting from
documentation at "Deployment directories" section.
Il 05/09/19 16:04, Dalrymple, Philip ha scritto:
OK I will give that a go.
--
This email, and any files transmitted with it, are confidential
and intended solely for the use of the individual or entity to
whom they are addressed. If you have received this email in error,
please advise postmaster@mdtsoft.com<ma...@mdtsoft.com> <ma...@mdtsoft.com>.
3480 Preston Ridge Road
Suite 450
Alpharetta, GA 30005
Philip W. Dalrymple III <pw...@mdtsoft.com>
MDT Software - Automation Management Company
+1 678 297 1001
Fax +1 678 297 1003
________________________________________
From: Andrea Patricelli <an...@apache.org>
Sent: Thursday, September 5, 2019 10:03
To: user@syncope.apache.org<ma...@syncope.apache.org>
Subject: Re: Syncope trying to deploy using Maven and not getting login
Ok, maybe I got your first problem.
Please follow this [1]. Basically, in order to do a correct deploy, you
should build with a special mvn command specifying bundles, logs and
conf directories and, moreover, in order to let Syncope take correct
configuration parameters (like for the jdbc connection) copy some of the
properties files in sources under the specific conf directory.
HTH,
Andrea
[1] https://syncope.apache.org/docs/2.1/reference-guide.html#customization
Il 05/09/19 15:56, Dalrymple, Philip ha scritto:
OK this is weird
I did a
sudo find / -name "*core*.log*" -print
and only find the logs from my first try using docker.
(was not able to customize well enough and switched to
maven deleting the docker images)
I will keep looking.
--
This email, and any files transmitted with it, are confidential
and intended solely for the use of the individual or entity to
whom they are addressed. If you have received this email in error,
please advise postmaster@mdtsoft.com<ma...@mdtsoft.com> <ma...@mdtsoft.com>.
3480 Preston Ridge Road
Suite 450
Alpharetta, GA 30005
Philip W. Dalrymple III <pw...@mdtsoft.com>
MDT Software - Automation Management Company
+1 678 297 1001
Fax +1 678 297 1003
________________________________________
From: Dalrymple, Philip <pw...@mdtsoft.com>
Sent: Thursday, September 5, 2019 9:53
To: user@syncope.apache.org<ma...@syncope.apache.org>
Subject: Re: Syncope trying to deploy using Maven and not getting login
OK I need to find where the logs are.
--
This email, and any files transmitted with it, are confidential
and intended solely for the use of the individual or entity to
whom they are addressed. If you have received this email in error,
please advise postmaster@mdtsoft.com<ma...@mdtsoft.com> <ma...@mdtsoft.com>.
3480 Preston Ridge Road
Suite 450
Alpharetta, GA 30005
Philip W. Dalrymple III <pw...@mdtsoft.com>
MDT Software - Automation Management Company
+1 678 297 1001
Fax +1 678 297 1003
________________________________________
From: Andrea Patricelli <an...@apache.org>
Sent: Thursday, September 5, 2019 9:52
To: user@syncope.apache.org<ma...@syncope.apache.org>
Subject: Re: Syncope trying to deploy using Maven and not getting login
Hi Philip,
you should check core.log, core-rest.log, core-persistence.log and
core-connid.log files in order to understand what is the problem.
The NOT FOUND error in console simply means that core is unavailable,
probably because it failed to start.
Please check for exceptions in core*.log files and attach it into this
thread.
Best regards,
Andrea
Il 05/09/19 15:32, Dalrymple, Philip ha scritto:
I am trying to deploy Syncope using the Maven method. I have followed the
instructions in
http://syncope.apache.org/docs/2.1/getting-started.html#maven-project
and then edited core/src/main/resources/domains/Master.properties
to have the correct postgres password, I re-did the mvn clean install
and placed the war files in my tomcat/webapps directory, they deployed
without me restarting tomcat.
When I got to http://XXXXX:8080/syncope-console I get a 500 error (see below)
when I got to .../syncope or .../syncope/index.html or .../syncope-enduser I get a 404 error.
I checked in WEB-INF/classes/persistence.properties (in syncope) and it had the
correct DB user, host, and password info and I verified that I could connect to the DB BUT
the DB was empty.
the stack trace on the syncope-console
type Exception report
message Unable to instantiate web session class org.apache.syncope.client.console.SyncopeConsoleSession
description The server encountered an internal error that prevented it from fulfilling this request.
exception
org.apache.wicket.WicketRuntimeException: Unable to instantiate web session class org.apache.syncope.client.console.SyncopeConsoleSession
org.apache.wicket.authroles.authentication.AuthenticatedWebApplication.newSession(AuthenticatedWebApplication.java:121)
org.apache.wicket.Application.fetchCreateAndSetSession(Application.java:1555)
org.apache.wicket.Session.get(Session.java:176)
org.apache.syncope.client.console.SyncopeConsoleSession.get(SyncopeConsoleSession.java:91)
org.apache.syncope.client.console.SyncopeConsoleRequestCycleListener.onException(SyncopeConsoleRequestCycleListener.java:80)
org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:126)
org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:122)
org.apache.wicket.util.listener.ListenerCollection.notify(ListenerCollection.java:80)
org.apache.wicket.request.cycle.RequestCycleListenerCollection.onException(RequestCycleListenerCollection.java:121)
org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:126)
org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:122)
org.apache.wicket.util.listener.ListenerCollection.notify(ListenerCollection.java:80)
org.apache.wicket.request.cycle.RequestCycleListenerCollection.onException(RequestCycleListenerCollection.java:121)
org.apache.wicket.request.cycle.RequestCycle.handleException(RequestCycle.java:368)
org.apache.wicket.request.cycle.RequestCycle.executeExceptionRequestHandler(RequestCycle.java:314)
org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:259)
org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:221)
org.apache.wicket.protocol.ws.AbstractUpgradeFilter.processRequestCycle(AbstractUpgradeFilter.java:70)
org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:206)
org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:299)
root cause
java.lang.reflect.InvocationTargetException
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
java.lang.reflect.Constructor.newInstance(Constructor.java:423)
org.apache.wicket.authroles.authentication.AuthenticatedWebApplication.newSession(AuthenticatedWebApplication.java:117)
org.apache.wicket.Application.fetchCreateAndSetSession(Application.java:1555)
org.apache.wicket.Session.get(Session.java:176)
org.apache.syncope.client.console.SyncopeConsoleSession.get(SyncopeConsoleSession.java:91)
org.apache.syncope.client.console.SyncopeConsoleRequestCycleListener.onException(SyncopeConsoleRequestCycleListener.java:80)
org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:126)
org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:122)
org.apache.wicket.util.listener.ListenerCollection.notify(ListenerCollection.java:80)
org.apache.wicket.request.cycle.RequestCycleListenerCollection.onException(RequestCycleListenerCollection.java:121)
org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:126)
org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:122)
org.apache.wicket.util.listener.ListenerCollection.notify(ListenerCollection.java:80)
org.apache.wicket.request.cycle.RequestCycleListenerCollection.onException(RequestCycleListenerCollection.java:121)
org.apache.wicket.request.cycle.RequestCycle.handleException(RequestCycle.java:368)
org.apache.wicket.request.cycle.RequestCycle.executeExceptionRequestHandler(RequestCycle.java:314)
org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:259)
org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:221)
org.apache.wicket.protocol.ws.AbstractUpgradeFilter.processRequestCycle(AbstractUpgradeFilter.java:70)
org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:206)
org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:299)
root cause
javax.xml.ws.WebServiceException: Remote exception with status code: NOT_FOUND
org.apache.syncope.client.lib.RestClientExceptionMapper.fromResponse(RestClientExceptionMapper.java:76)
org.apache.syncope.client.lib.RestClientExceptionMapper.fromResponse(RestClientExceptionMapper.java:42)
org.apache.cxf.jaxrs.client.ClientProxyImpl.checkResponse(ClientProxyImpl.java:372)
org.apache.cxf.jaxrs.client.ClientProxyImpl.handleResponse(ClientProxyImpl.java:948)
org.apache.cxf.jaxrs.client.ClientProxyImpl.doChainedInvocation(ClientProxyImpl.java:854)
org.apache.cxf.jaxrs.client.ClientProxyImpl.invoke(ClientProxyImpl.java:295)
com.sun.proxy.$Proxy119.platform(Unknown Source)
org.apache.syncope.client.console.SyncopeConsoleSession.<init>(SyncopeConsoleSession.java:103)
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
java.lang.reflect.Constructor.newInstance(Constructor.java:423)
org.apache.wicket.authroles.authentication.AuthenticatedWebApplication.newSession(AuthenticatedWebApplication.java:117)
org.apache.wicket.Application.fetchCreateAndSetSession(Application.java:1555)
org.apache.wicket.Session.get(Session.java:176)
org.apache.syncope.client.console.SyncopeConsoleSession.get(SyncopeConsoleSession.java:91)
org.apache.syncope.client.console.SyncopeConsoleRequestCycleListener.onException(SyncopeConsoleRequestCycleListener.java:80)
org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:126)
org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:122)
org.apache.wicket.util.listener.ListenerCollection.notify(ListenerCollection.java:80)
org.apache.wicket.request.cycle.RequestCycleListenerCollection.onException(RequestCycleListenerCollection.java:121)
org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:126)
org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:122)
org.apache.wicket.util.listener.ListenerCollection.notify(ListenerCollection.java:80)
org.apache.wicket.request.cycle.RequestCycleListenerCollection.onException(RequestCycleListenerCollection.java:121)
org.apache.wicket.request.cycle.RequestCycle.handleException(RequestCycle.java:368)
org.apache.wicket.request.cycle.RequestCycle.executeExceptionRequestHandler(RequestCycle.java:314)
org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:259)
org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:221)
org.apache.wicket.protocol.ws.AbstractUpgradeFilter.processRequestCycle(AbstractUpgradeFilter.java:70)
org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:206)
org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:299)
thanks
--
This email, and any files transmitted with it, are confidential
and intended solely for the use of the individual or entity to
whom they are addressed. If you have received this email in error,
please advise postmaster@mdtsoft.com<ma...@mdtsoft.com> <ma...@mdtsoft.com>.
3480 Preston Ridge Road
Suite 450
Alpharetta, GA 30005
Philip W. Dalrymple III <pw...@mdtsoft.com>
MDT Software - Automation Management Company
+1 678 297 1001
Fax +1 678 297 1003
--
Dott. Andrea Patricelli
Tel. +39 3204524292
Engineer @ Tirasa S.r.l.
Viale Vittoria Colonna 97 - 65127 Pescara
Tel +39 0859116307 / FAX +39 0859111173
http://www.tirasa.net
Apache Syncope PMC Member
--
Dott. Andrea Patricelli
Tel. +39 3204524292
Engineer @ Tirasa S.r.l.
Viale Vittoria Colonna 97 - 65127 Pescara
Tel +39 0859116307 / FAX +39 0859111173
http://www.tirasa.net
Apache Syncope PMC Member
--
Dott. Andrea Patricelli
Tel. +39 3204524292
Engineer @ Tirasa S.r.l.
Viale Vittoria Colonna 97 - 65127 Pescara
Tel +39 0859116307 / FAX +39 0859111173
http://www.tirasa.net
Apache Syncope PMC Member
--
Dott. Andrea Patricelli
Tel. +39 3204524292
Engineer @ Tirasa S.r.l.
Viale Vittoria Colonna 97 - 65127 Pescara
Tel +39 0859116307 / FAX +39 0859111173
http://www.tirasa.net
Apache Syncope PMC Member
Re: Syncope trying to deploy using Maven and not getting login
Posted by "Dalrymple, Philip" <pw...@mdtsoft.com>.
The build issue was permissions on the bundles directory.
thanks
--
This email, and any files transmitted with it, are confidential
and intended solely for the use of the individual or entity to
whom they are addressed. If you have received this email in error,
please advise postmaster@mdtsoft.com <ma...@mdtsoft.com>.
3480 Preston Ridge Road
Suite 450
Alpharetta, GA 30005
Philip W. Dalrymple III <pw...@mdtsoft.com>
MDT Software - Automation Management Company
+1 678 297 1001
Fax +1 678 297 1003
________________________________________
From: Andrea Patricelli <an...@apache.org>
Sent: Friday, September 6, 2019 4:20
To: user@syncope.apache.org
Subject: Re: Syncope trying to deploy using Maven and not getting login
Hi Philip,
in order to make a correct deploy on your application server follow [2].
As the warning in the doc states:
Be sure to put the corresponding JDBC driver JAR file under $CATALINA_HOME/lib for each datasource defined.
You should provide postgres driver to Syncope by putting it into Tomcat lib folder.
About the maven buld error: did you give the correct r/w permissions to /opt/syncope/buldles directory? If you want more info about the build please add the -X option to your maven build command.
Best regards,
Andrea
[2] https://syncope.apache.org/docs/2.1/reference-guide.html#apache-tomcat-9
Il 05/09/19 16:38, Dalrymple, Philip ha scritto:
OK I had one issue in that to make it work my build script needed to look like
#!/bin/bash
cd syncope
sudo mkdir -p /opt/syncope/bundles
sudo mkdir -p /opt/syncope/log
sudo chmod 0777 /opt/syncope/log
sudo mkdir -p /opt/syncope/conf
# mvn clean verify \
# -Dconf.directory=/opt/syncope/conf \
# -Dbundles.directory=/opt/syncope/bundles \
# -Dlog.directory=/opt/syncope/log
mvn clean verify \
-Dconf.directory=/opt/syncope/conf \
-Dlog.directory=/opt/syncope/log
sudo cp core/target/classes/*properties /opt/syncope/conf
sudo cp console/target/classes/*properties /opt/syncope/conf
sudo cp enduser/target/classes/*properties /opt/syncope/conf
sudo cp enduser/target/classes/customFormAttributes.json /opt/syncope/conf
sudo cp enduser/target/classes/customTemplate.json /opt/syncope/conf
i.e. not changing the bundles directory (which I want to do as I want to build in
the bundles into the war files).
When I do that I DO get logs (in /opt/syncope/log) Looks like I don't have the postgres dirver.
I checked and the
core/target/classes/provisioning.properties
already had the changes for postgres
➜ syncope git:(master) ✗ more /opt/syncope/log/core.log
10:22:58.367 INFO org.springframework.security.core.SpringSecurityCoreVersion - You are running with Spring Security Core 5.1.5.RELEASE
10:22:58.370 INFO org.springframework.security.config.SecurityNamespaceHandler - Spring Security 'config' module version is 5.1.5.RELEASE
10:22:58.391 INFO org.springframework.security.config.method.GlobalMethodSecurityBeanDefinitionParser - Expressions were enabled for method security but no SecurityExpressionHandle
r was configured. All hasPermision() expressions will evaluate to false.
10:22:58.437 INFO org.springframework.security.config.http.HttpSecurityBeanDefinitionParser - Checking sorted filter chain: [Root bean: class [org.springframework.security.web.cont
ext.SecurityContextPersistenceFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factor
yMethodName=null; initMethodName=null; destroyMethodName=null, order = 200, Root bean: class [org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter
]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=nul
l; destroyMethodName=null, order = 400, <jwtAuthenticationFilter>, order = 1799, Root bean: class [org.springframework.security.web.authentication.www.BasicAuthenticationFilter]; sc
ope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; de
stroyMethodName=null, order = 1800, Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factor
yBeanName=org.springframework.security.config.http.HttpConfigurationBuilder$SecurityContextHolderAwareRequestFilterBeanFactory#0; factoryMethodName=getBean; initMethodName=null; des
troyMethodName=null, order = 2000, Root bean: class [org.springframework.security.web.authentication.AnonymousAuthenticationFilter]; scope=; abstract=false; lazyInit=false; autowire
Mode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 2300, Root bean:
class [org.springframework.security.web.access.ExceptionTranslationFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; prima
ry=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 2500, <mustChangePasswordFilter>, order = 2599, <org.springframework.sec
urity.web.access.intercept.FilterSecurityInterceptor#0>, order = 2600]
10:23:00.130 INFO org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor - Initializing ExecutorService
10:23:00.130 INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'asyncConnectorFacadeExecutor' of type [org.springframework.
scheduling.config.TaskExecutorFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
10:23:00.130 INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'asyncConnectorFacadeExecutor' of type [org.springframework.
scheduling.concurrent.ThreadPoolTaskExecutor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
10:23:00.394 ERROR com.zaxxer.hikari.HikariConfig - Failed to load driver class org.postgresql.Driver from HikariConfig class classloader WebappClassLoader
context: /syncope
delegate: false
repositories:
/WEB-INF/classes/
----------> Parent Classloader:
java.net.URLClassLoader@7a81197d
10:23:00.444 ERROR com.zaxxer.hikari.HikariConfig - Failed to load driver class org.postgresql.Driver from HikariConfig class classloader WebappClassLoader
context: /syncope
delegate: false
repositories:
/WEB-INF/classes/
----------> Parent Classloader:
java.net.URLClassLoader@7a81197d
10:23:00.445 INFO org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor - Shutting down ExecutorService
10:23:18.326 INFO org.springframework.security.core.SpringSecurityCoreVersion - You are running with Spring Security Core 5.1.5.RELEASE
10:23:18.329 INFO org.springframework.security.config.SecurityNamespaceHandler - Spring Security 'config' module version is 5.1.5.RELEASE
10:23:18.349 INFO org.springframework.security.config.method.GlobalMethodSecurityBeanDefinitionParser - Expressions were enabled for method security but no SecurityExpressionHandle
r was configured. All hasPermision() expressions will evaluate to false.
10:23:18.395 INFO org.springframework.security.config.http.HttpSecurityBeanDefinitionParser - Checking sorted filter chain: [Root bean: class [org.springframework.security.web.cont
ext.SecurityContextPersistenceFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factor
yMethodName=null; initMethodName=null; destroyMethodName=null, order = 200, Root bean: class [org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter
]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=nul
l; destroyMethodName=null, order = 400, <jwtAuthenticationFilter>, order = 1799, Root bean: class [org.springframework.security.web.authentication.www.BasicAuthenticationFilter]; sc
ope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; de
stroyMethodName=null, order = 1800, Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factor
yBeanName=org.springframework.security.config.http.HttpConfigurationBuilder$SecurityContextHolderAwareRequestFilterBeanFactory#0; factoryMethodName=getBean; initMethodName=null; des
troyMethodName=null, order = 2000, Root bean: class [org.springframework.security.web.authentication.AnonymousAuthenticationFilter]; scope=; abstract=false; lazyInit=false; autowire
Mode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 2300, Root bean:
class [org.springframework.security.web.access.ExceptionTranslationFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; prima
ry=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 2500, <mustChangePasswordFilter>, order = 2599, <org.springframework.sec
urity.web.access.intercept.FilterSecurityInterceptor#0>, order = 2600]
10:23:20.012 INFO org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor - Initializing ExecutorService
10:23:20.012 INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'asyncConnectorFacadeExecutor' of type [org.springframework.
scheduling.config.TaskExecutorFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
10:23:20.012 INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'asyncConnectorFacadeExecutor' of type [org.springframework.
scheduling.concurrent.ThreadPoolTaskExecutor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
10:23:20.285 ERROR com.zaxxer.hikari.HikariConfig - Failed to load driver class org.postgresql.Driver from HikariConfig class classloader WebappClassLoader
context: /syncope
delegate: false
repositories:
/WEB-INF/classes/
----------> Parent Classloader:
java.net.URLClassLoader@7a81197d
10:23:20.337 ERROR com.zaxxer.hikari.HikariConfig - Failed to load driver class org.postgresql.Driver from HikariConfig class classloader WebappClassLoader
context: /syncope
delegate: false
repositories:
/WEB-INF/classes/
----------> Parent Classloader:
java.net.URLClassLoader@7a81197d
10:23:20.338 INFO org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor - Shutting down ExecutorService
10:23:32.831 INFO org.springframework.security.core.SpringSecurityCoreVersion - You are running with Spring Security Core 5.1.5.RELEASE
10:23:32.835 INFO org.springframework.security.config.SecurityNamespaceHandler - Spring Security 'config' module version is 5.1.5.RELEASE
10:23:32.859 INFO org.springframework.security.config.method.GlobalMethodSecurityBeanDefinitionParser - Expressions were enabled for method security but no SecurityExpressionHandle
r was configured. All hasPermision() expressions will evaluate to false.
10:23:32.910 INFO org.springframework.security.config.http.HttpSecurityBeanDefinitionParser - Checking sorted filter chain: [Root bean: class [org.springframework.security.web.cont
ext.SecurityContextPersistenceFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factor
yMethodName=null; initMethodName=null; destroyMethodName=null, order = 200, Root bean: class [org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter
]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=nul
l; destroyMethodName=null, order = 400, <jwtAuthenticationFilter>, order = 1799, Root bean: class [org.springframework.security.web.authentication.www.BasicAuthenticationFilter]; sc
ope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; de
stroyMethodName=null, order = 1800, Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factor
yBeanName=org.springframework.security.config.http.HttpConfigurationBuilder$SecurityContextHolderAwareRequestFilterBeanFactory#0; factoryMethodName=getBean; initMethodName=null; des
troyMethodName=null, order = 2000, Root bean: class [org.springframework.security.web.authentication.AnonymousAuthenticationFilter]; scope=; abstract=false; lazyInit=false; autowire
Mode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 2300, Root bean:
class [org.springframework.security.web.access.ExceptionTranslationFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; prima
ry=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 2500, <mustChangePasswordFilter>, order = 2599, <org.springframework.sec
urity.web.access.intercept.FilterSecurityInterceptor#0>, order = 2600]
10:23:34.490 INFO org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor - Initializing ExecutorService
10:23:34.490 INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'asyncConnectorFacadeExecutor' of type [org.springframework.
scheduling.config.TaskExecutorFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
10:23:34.490 INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'asyncConnectorFacadeExecutor' of type [org.springframework.
scheduling.concurrent.ThreadPoolTaskExecutor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
10:23:34.757 ERROR com.zaxxer.hikari.HikariConfig - Failed to load driver class org.postgresql.Driver from HikariConfig class classloader WebappClassLoader
context: /syncope
delegate: false
repositories:
/WEB-INF/classes/
----------> Parent Classloader:
java.net.URLClassLoader@7a81197d
10:23:34.809 ERROR com.zaxxer.hikari.HikariConfig - Failed to load driver class org.postgresql.Driver from HikariConfig class classloader WebappClassLoader
context: /syncope
delegate: false
repositories:
/WEB-INF/classes/
----------> Parent Classloader:
java.net.URLClassLoader@7a81197d
10:23:34.810 INFO org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor - Shutting down ExecutorService
if I left in the bundles I get the following error:
➜ syncope git:(master) ✗ mvn clean verify \
-Dconf.directory=/opt/syncope/conf \
-Dbundles.directory=/opt/syncope/bundles \
-Dlog.directory=/opt/syncope/log
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] Apache Syncope sample project
[INFO] Apache Syncope sample project - Common
[INFO] Apache Syncope sample project - Core
[INFO] Apache Syncope sample project - Console
[INFO] Apache Syncope sample project - Enduser
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache Syncope sample project 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ syncope ---
[INFO] Deleting /home/pwd/src/EIandAS/syncope/target
[INFO]
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven-version) @ syncope ---
[INFO]
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven) @ syncope ---
[INFO]
[INFO] --- gmaven-plugin:1.5:execute (default) @ syncope ---
[INFO]
[INFO] --- maven-remote-resources-plugin:1.5:process (process-resource-bundles) @ syncope ---
[INFO]
[INFO] --- maven-resources-plugin:3.1.0:copy-resources (copy-artifact-legal-files) @ syncope ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 0 resource
[INFO]
[INFO] --- maven-resources-plugin:3.1.0:copy-resources (copy-javadoc-legal-files) @ syncope ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 0 resource
[INFO]
[INFO] --- jacoco-maven-plugin:0.8.3:prepare-agent (jacoco-agent-ut) @ syncope ---
[INFO] argLine set to -javaagent:/home/pwd/.m2/repository/org/jacoco/org.jacoco.agent/0.8.3/org.jacoco.agent-0.8.3-runtime.jar=destfile=/home/pwd/src/EIandAS/syncope/target/jacoco.ut.exec,append=true -Xms512m -Xmx1024m -Xss256k
[INFO]
[INFO] --- maven-site-plugin:3.7.1:attach-descriptor (attach-descriptor) @ syncope ---
[INFO] No site descriptor found: nothing to attach.
[INFO]
[INFO] --- jacoco-maven-plugin:0.8.3:prepare-agent-integration (jacoco-agent-it) @ syncope ---
[INFO] argLine set to -javaagent:/home/pwd/.m2/repository/org/jacoco/org.jacoco.agent/0.8.3/org.jacoco.agent-0.8.3-runtime.jar=destfile=/home/pwd/src/EIandAS/syncope/target/jacoco.it.exec,append=true -Xms512m -Xmx1024m -Xss256k
[INFO]
[INFO] --- modernizer-maven-plugin:1.8.0:modernizer (modernizer-check) @ syncope ---
[INFO]
[INFO] --- maven-checkstyle-plugin:3.0.0:check (checkstyle-check) @ syncope ---
[INFO]
[INFO] --- jacoco-maven-plugin:0.8.3:report-aggregate (jacoco-site) @ syncope ---
[INFO]
[INFO] --- apache-rat-plugin:0.12:check (rat-check) @ syncope ---
[INFO] RAT will not execute since it is configured to be skipped via system property 'rat.skip'.
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache Syncope sample project - Common 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ syncope-common ---
[INFO] Deleting /home/pwd/src/EIandAS/syncope/common/target
[INFO]
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven-version) @ syncope-common ---
[INFO]
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven) @ syncope-common ---
[INFO]
[INFO] --- gmaven-plugin:1.5:execute (default) @ syncope-common ---
[INFO]
[INFO] --- maven-remote-resources-plugin:1.5:process (process-resource-bundles) @ syncope-common ---
[INFO]
[INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ syncope-common ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 0 resource
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-resources-plugin:3.1.0:copy-resources (copy-artifact-legal-files) @ syncope-common ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 0 resource
[INFO]
[INFO] --- maven-resources-plugin:3.1.0:copy-resources (copy-javadoc-legal-files) @ syncope-common ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 0 resource
[INFO]
[INFO] --- maven-compiler-plugin:3.8.0:compile (default-compile) @ syncope-common ---
[INFO] No sources to compile
[INFO]
[INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ syncope-common ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 0 resource
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.8.0:testCompile (default-testCompile) @ syncope-common ---
[INFO] No sources to compile
[INFO]
[INFO] --- jacoco-maven-plugin:0.8.3:prepare-agent (jacoco-agent-ut) @ syncope-common ---
[INFO] argLine set to -javaagent:/home/pwd/.m2/repository/org/jacoco/org.jacoco.agent/0.8.3/org.jacoco.agent-0.8.3-runtime.jar=destfile=/home/pwd/src/EIandAS/syncope/common/target/jacoco.ut.exec,append=true -Xms512m -Xmx1024m -Xss256k
[INFO]
[INFO] --- maven-surefire-plugin:2.22.1:test (default-test) @ syncope-common ---
[INFO]
[INFO] --- maven-jar-plugin:3.1.1:jar (default-jar) @ syncope-common ---
[INFO] Building jar: /home/pwd/src/EIandAS/syncope/common/target/syncope-common-1.0-SNAPSHOT.jar
[INFO]
[INFO] --- maven-site-plugin:3.7.1:attach-descriptor (attach-descriptor) @ syncope-common ---
[INFO] Skipping because packaging 'jar' is not pom.
[INFO]
[INFO] --- jacoco-maven-plugin:0.8.3:prepare-agent-integration (jacoco-agent-it) @ syncope-common ---
[INFO] argLine set to -javaagent:/home/pwd/.m2/repository/org/jacoco/org.jacoco.agent/0.8.3/org.jacoco.agent-0.8.3-runtime.jar=destfile=/home/pwd/src/EIandAS/syncope/common/target/jacoco.it.exec,append=true -Xms512m -Xmx1024m -Xss256k
[INFO]
[INFO] --- modernizer-maven-plugin:1.8.0:modernizer (modernizer-check) @ syncope-common ---
[INFO]
[INFO] --- maven-checkstyle-plugin:3.0.0:check (checkstyle-check) @ syncope-common ---
[INFO]
[INFO] --- jacoco-maven-plugin:0.8.3:report-aggregate (jacoco-site) @ syncope-common ---
[INFO]
[INFO] --- apache-rat-plugin:0.12:check (rat-check) @ syncope-common ---
[INFO] RAT will not execute since it is configured to be skipped via system property 'rat.skip'.
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache Syncope sample project - Core 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ syncope-core ---
[INFO] Deleting /home/pwd/src/EIandAS/syncope/core/target
[INFO]
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven-version) @ syncope-core ---
[INFO]
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven) @ syncope-core ---
[INFO]
[INFO] --- gmaven-plugin:1.5:execute (default) @ syncope-core ---
[INFO]
[INFO] --- maven-remote-resources-plugin:1.5:process (process-resource-bundles) @ syncope-core ---
[INFO]
[INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ syncope-core ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 32 resources
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-resources-plugin:3.1.0:copy-resources (copy-artifact-legal-files) @ syncope-core ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 0 resource
[INFO]
[INFO] --- maven-resources-plugin:3.1.0:copy-resources (copy-javadoc-legal-files) @ syncope-core ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 0 resource
[INFO]
[INFO] --- maven-compiler-plugin:3.8.0:compile (default-compile) @ syncope-core ---
[INFO] No sources to compile
[INFO]
[INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ syncope-core ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 26 resources
[INFO] Copying 1 resource
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-dependency-plugin:3.1.1:copy (set-bundles) @ syncope-core ---
[INFO] Configured Artifact: net.tirasa.connid.bundles.soap:net.tirasa.connid.bundles.soap:1.4.3:jar
[INFO] Configured Artifact: net.tirasa.connid.bundles:net.tirasa.connid.bundles.rest:1.0.4:jar
[INFO] Configured Artifact: net.tirasa.connid.bundles:net.tirasa.connid.bundles.csvdir:0.8.8:jar
[INFO] Configured Artifact: net.tirasa.connid.bundles.db:net.tirasa.connid.bundles.db.table:2.2.6:jar
[INFO] Configured Artifact: net.tirasa.connid.bundles.db:net.tirasa.connid.bundles.db.scriptedsql:2.2.6:jar
[INFO] Configured Artifact: net.tirasa.connid.bundles:net.tirasa.connid.bundles.ldap:1.5.3:jar
[INFO] Configured Artifact: net.tirasa.connid.bundles:net.tirasa.connid.bundles.ad:1.3.6:jar
[INFO] Configured Artifact: net.tirasa.connid.bundles:net.tirasa.connid.bundles.googleapps:1.4.2:jar
[INFO] Configured Artifact: net.tirasa.connid.bundles:net.tirasa.connid.bundles.azure:1.0.1:jar
[INFO] Configured Artifact: net.tirasa.connid.bundles:net.tirasa.connid.bundles.scimv11:1.0.1:jar
[INFO] Configured Artifact: net.tirasa.connid.bundles:net.tirasa.connid.bundles.servicenow:1.0.0:jar
[INFO] Copying net.tirasa.connid.bundles.soap-1.4.3.jar to /opt/syncope/bundles/net.tirasa.connid.bundles.soap-1.4.3.jar
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Apache Syncope sample project ..................... SUCCESS [4.310s]
[INFO] Apache Syncope sample project - Common ............ SUCCESS [1.233s]
[INFO] Apache Syncope sample project - Core .............. FAILURE [2.534s]
[INFO] Apache Syncope sample project - Console ........... SKIPPED
[INFO] Apache Syncope sample project - Enduser ........... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 8.341s
[INFO] Finished at: Thu Sep 05 10:29:47 EDT 2019
[INFO] Final Memory: 48M/628M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-dependency-plugin:3.1.1:copy (set-bundles) on project syncope-core: Error copying artifact from /home/pwd/.m2/repository/net/tirasa/connid/bundles/soap/net.tirasa.connid.bundles.soap/1.4.3/net.tirasa.connid.bundles.soap-1.4.3.jar to /opt/syncope/bundles/net.tirasa.connid.bundles.soap-1.4.3.jar -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :syncope-core
--
This email, and any files transmitted with it, are confidential
and intended solely for the use of the individual or entity to
whom they are addressed. If you have received this email in error,
please advise postmaster@mdtsoft.com<ma...@mdtsoft.com> <ma...@mdtsoft.com>.
3480 Preston Ridge Road
Suite 450
Alpharetta, GA 30005
Philip W. Dalrymple III <pw...@mdtsoft.com>
MDT Software - Automation Management Company
+1 678 297 1001
Fax +1 678 297 1003
________________________________________
From: Andrea Patricelli <an...@tirasa.net>
Sent: Thursday, September 5, 2019 10:07
To: user@syncope.apache.org<ma...@syncope.apache.org>
Subject: Re: Syncope trying to deploy using Maven and not getting login
P.S.
About the attached link: please take care to the doc starting from
documentation at "Deployment directories" section.
Il 05/09/19 16:04, Dalrymple, Philip ha scritto:
OK I will give that a go.
--
This email, and any files transmitted with it, are confidential
and intended solely for the use of the individual or entity to
whom they are addressed. If you have received this email in error,
please advise postmaster@mdtsoft.com<ma...@mdtsoft.com> <ma...@mdtsoft.com>.
3480 Preston Ridge Road
Suite 450
Alpharetta, GA 30005
Philip W. Dalrymple III <pw...@mdtsoft.com>
MDT Software - Automation Management Company
+1 678 297 1001
Fax +1 678 297 1003
________________________________________
From: Andrea Patricelli <an...@apache.org>
Sent: Thursday, September 5, 2019 10:03
To: user@syncope.apache.org<ma...@syncope.apache.org>
Subject: Re: Syncope trying to deploy using Maven and not getting login
Ok, maybe I got your first problem.
Please follow this [1]. Basically, in order to do a correct deploy, you
should build with a special mvn command specifying bundles, logs and
conf directories and, moreover, in order to let Syncope take correct
configuration parameters (like for the jdbc connection) copy some of the
properties files in sources under the specific conf directory.
HTH,
Andrea
[1] https://syncope.apache.org/docs/2.1/reference-guide.html#customization
Il 05/09/19 15:56, Dalrymple, Philip ha scritto:
OK this is weird
I did a
sudo find / -name "*core*.log*" -print
and only find the logs from my first try using docker.
(was not able to customize well enough and switched to
maven deleting the docker images)
I will keep looking.
--
This email, and any files transmitted with it, are confidential
and intended solely for the use of the individual or entity to
whom they are addressed. If you have received this email in error,
please advise postmaster@mdtsoft.com<ma...@mdtsoft.com> <ma...@mdtsoft.com>.
3480 Preston Ridge Road
Suite 450
Alpharetta, GA 30005
Philip W. Dalrymple III <pw...@mdtsoft.com>
MDT Software - Automation Management Company
+1 678 297 1001
Fax +1 678 297 1003
________________________________________
From: Dalrymple, Philip <pw...@mdtsoft.com>
Sent: Thursday, September 5, 2019 9:53
To: user@syncope.apache.org<ma...@syncope.apache.org>
Subject: Re: Syncope trying to deploy using Maven and not getting login
OK I need to find where the logs are.
--
This email, and any files transmitted with it, are confidential
and intended solely for the use of the individual or entity to
whom they are addressed. If you have received this email in error,
please advise postmaster@mdtsoft.com<ma...@mdtsoft.com> <ma...@mdtsoft.com>.
3480 Preston Ridge Road
Suite 450
Alpharetta, GA 30005
Philip W. Dalrymple III <pw...@mdtsoft.com>
MDT Software - Automation Management Company
+1 678 297 1001
Fax +1 678 297 1003
________________________________________
From: Andrea Patricelli <an...@apache.org>
Sent: Thursday, September 5, 2019 9:52
To: user@syncope.apache.org<ma...@syncope.apache.org>
Subject: Re: Syncope trying to deploy using Maven and not getting login
Hi Philip,
you should check core.log, core-rest.log, core-persistence.log and
core-connid.log files in order to understand what is the problem.
The NOT FOUND error in console simply means that core is unavailable,
probably because it failed to start.
Please check for exceptions in core*.log files and attach it into this
thread.
Best regards,
Andrea
Il 05/09/19 15:32, Dalrymple, Philip ha scritto:
I am trying to deploy Syncope using the Maven method. I have followed the
instructions in
http://syncope.apache.org/docs/2.1/getting-started.html#maven-project
and then edited core/src/main/resources/domains/Master.properties
to have the correct postgres password, I re-did the mvn clean install
and placed the war files in my tomcat/webapps directory, they deployed
without me restarting tomcat.
When I got to http://XXXXX:8080/syncope-console I get a 500 error (see below)
when I got to .../syncope or .../syncope/index.html or .../syncope-enduser I get a 404 error.
I checked in WEB-INF/classes/persistence.properties (in syncope) and it had the
correct DB user, host, and password info and I verified that I could connect to the DB BUT
the DB was empty.
the stack trace on the syncope-console
type Exception report
message Unable to instantiate web session class org.apache.syncope.client.console.SyncopeConsoleSession
description The server encountered an internal error that prevented it from fulfilling this request.
exception
org.apache.wicket.WicketRuntimeException: Unable to instantiate web session class org.apache.syncope.client.console.SyncopeConsoleSession
org.apache.wicket.authroles.authentication.AuthenticatedWebApplication.newSession(AuthenticatedWebApplication.java:121)
org.apache.wicket.Application.fetchCreateAndSetSession(Application.java:1555)
org.apache.wicket.Session.get(Session.java:176)
org.apache.syncope.client.console.SyncopeConsoleSession.get(SyncopeConsoleSession.java:91)
org.apache.syncope.client.console.SyncopeConsoleRequestCycleListener.onException(SyncopeConsoleRequestCycleListener.java:80)
org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:126)
org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:122)
org.apache.wicket.util.listener.ListenerCollection.notify(ListenerCollection.java:80)
org.apache.wicket.request.cycle.RequestCycleListenerCollection.onException(RequestCycleListenerCollection.java:121)
org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:126)
org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:122)
org.apache.wicket.util.listener.ListenerCollection.notify(ListenerCollection.java:80)
org.apache.wicket.request.cycle.RequestCycleListenerCollection.onException(RequestCycleListenerCollection.java:121)
org.apache.wicket.request.cycle.RequestCycle.handleException(RequestCycle.java:368)
org.apache.wicket.request.cycle.RequestCycle.executeExceptionRequestHandler(RequestCycle.java:314)
org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:259)
org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:221)
org.apache.wicket.protocol.ws.AbstractUpgradeFilter.processRequestCycle(AbstractUpgradeFilter.java:70)
org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:206)
org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:299)
root cause
java.lang.reflect.InvocationTargetException
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
java.lang.reflect.Constructor.newInstance(Constructor.java:423)
org.apache.wicket.authroles.authentication.AuthenticatedWebApplication.newSession(AuthenticatedWebApplication.java:117)
org.apache.wicket.Application.fetchCreateAndSetSession(Application.java:1555)
org.apache.wicket.Session.get(Session.java:176)
org.apache.syncope.client.console.SyncopeConsoleSession.get(SyncopeConsoleSession.java:91)
org.apache.syncope.client.console.SyncopeConsoleRequestCycleListener.onException(SyncopeConsoleRequestCycleListener.java:80)
org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:126)
org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:122)
org.apache.wicket.util.listener.ListenerCollection.notify(ListenerCollection.java:80)
org.apache.wicket.request.cycle.RequestCycleListenerCollection.onException(RequestCycleListenerCollection.java:121)
org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:126)
org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:122)
org.apache.wicket.util.listener.ListenerCollection.notify(ListenerCollection.java:80)
org.apache.wicket.request.cycle.RequestCycleListenerCollection.onException(RequestCycleListenerCollection.java:121)
org.apache.wicket.request.cycle.RequestCycle.handleException(RequestCycle.java:368)
org.apache.wicket.request.cycle.RequestCycle.executeExceptionRequestHandler(RequestCycle.java:314)
org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:259)
org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:221)
org.apache.wicket.protocol.ws.AbstractUpgradeFilter.processRequestCycle(AbstractUpgradeFilter.java:70)
org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:206)
org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:299)
root cause
javax.xml.ws.WebServiceException: Remote exception with status code: NOT_FOUND
org.apache.syncope.client.lib.RestClientExceptionMapper.fromResponse(RestClientExceptionMapper.java:76)
org.apache.syncope.client.lib.RestClientExceptionMapper.fromResponse(RestClientExceptionMapper.java:42)
org.apache.cxf.jaxrs.client.ClientProxyImpl.checkResponse(ClientProxyImpl.java:372)
org.apache.cxf.jaxrs.client.ClientProxyImpl.handleResponse(ClientProxyImpl.java:948)
org.apache.cxf.jaxrs.client.ClientProxyImpl.doChainedInvocation(ClientProxyImpl.java:854)
org.apache.cxf.jaxrs.client.ClientProxyImpl.invoke(ClientProxyImpl.java:295)
com.sun.proxy.$Proxy119.platform(Unknown Source)
org.apache.syncope.client.console.SyncopeConsoleSession.<init>(SyncopeConsoleSession.java:103)
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
java.lang.reflect.Constructor.newInstance(Constructor.java:423)
org.apache.wicket.authroles.authentication.AuthenticatedWebApplication.newSession(AuthenticatedWebApplication.java:117)
org.apache.wicket.Application.fetchCreateAndSetSession(Application.java:1555)
org.apache.wicket.Session.get(Session.java:176)
org.apache.syncope.client.console.SyncopeConsoleSession.get(SyncopeConsoleSession.java:91)
org.apache.syncope.client.console.SyncopeConsoleRequestCycleListener.onException(SyncopeConsoleRequestCycleListener.java:80)
org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:126)
org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:122)
org.apache.wicket.util.listener.ListenerCollection.notify(ListenerCollection.java:80)
org.apache.wicket.request.cycle.RequestCycleListenerCollection.onException(RequestCycleListenerCollection.java:121)
org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:126)
org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:122)
org.apache.wicket.util.listener.ListenerCollection.notify(ListenerCollection.java:80)
org.apache.wicket.request.cycle.RequestCycleListenerCollection.onException(RequestCycleListenerCollection.java:121)
org.apache.wicket.request.cycle.RequestCycle.handleException(RequestCycle.java:368)
org.apache.wicket.request.cycle.RequestCycle.executeExceptionRequestHandler(RequestCycle.java:314)
org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:259)
org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:221)
org.apache.wicket.protocol.ws.AbstractUpgradeFilter.processRequestCycle(AbstractUpgradeFilter.java:70)
org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:206)
org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:299)
thanks
--
This email, and any files transmitted with it, are confidential
and intended solely for the use of the individual or entity to
whom they are addressed. If you have received this email in error,
please advise postmaster@mdtsoft.com<ma...@mdtsoft.com> <ma...@mdtsoft.com>.
3480 Preston Ridge Road
Suite 450
Alpharetta, GA 30005
Philip W. Dalrymple III <pw...@mdtsoft.com>
MDT Software - Automation Management Company
+1 678 297 1001
Fax +1 678 297 1003
--
Dott. Andrea Patricelli
Tel. +39 3204524292
Engineer @ Tirasa S.r.l.
Viale Vittoria Colonna 97 - 65127 Pescara
Tel +39 0859116307 / FAX +39 0859111173
http://www.tirasa.net
Apache Syncope PMC Member
--
Dott. Andrea Patricelli
Tel. +39 3204524292
Engineer @ Tirasa S.r.l.
Viale Vittoria Colonna 97 - 65127 Pescara
Tel +39 0859116307 / FAX +39 0859111173
http://www.tirasa.net
Apache Syncope PMC Member
--
Dott. Andrea Patricelli
Tel. +39 3204524292
Engineer @ Tirasa S.r.l.
Viale Vittoria Colonna 97 - 65127 Pescara
Tel +39 0859116307 / FAX +39 0859111173
http://www.tirasa.net
Apache Syncope PMC Member
--
Dott. Andrea Patricelli
Tel. +39 3204524292
Engineer @ Tirasa S.r.l.
Viale Vittoria Colonna 97 - 65127 Pescara
Tel +39 0859116307 / FAX +39 0859111173
http://www.tirasa.net
Apache Syncope PMC Member
Re: Syncope trying to deploy using Maven and not getting login
Posted by Andrea Patricelli <an...@apache.org>.
Hi Philip,
in order to make a correct deploy on your application server follow [2].
As the warning in the doc states:
Be sure to put the corresponding JDBC driver JAR file
under|$CATALINA_HOME/lib|for each datasource defined.
You should provide postgres driver to Syncope by putting it into Tomcat
lib folder.
About the maven buld error: did you give the correct r/w permissions to
/opt/syncope/buldles directory? If you want more info about the build
please add the -X option to your maven build command.
Best regards,
Andrea
[2] https://syncope.apache.org/docs/2.1/reference-guide.html#apache-tomcat-9
Il 05/09/19 16:38, Dalrymple, Philip ha scritto:
> OK I had one issue in that to make it work my build script needed to look like
>
> #!/bin/bash
>
> cd syncope
>
> sudo mkdir -p /opt/syncope/bundles
> sudo mkdir -p /opt/syncope/log
> sudo chmod 0777 /opt/syncope/log
> sudo mkdir -p /opt/syncope/conf
>
> # mvn clean verify \
> # -Dconf.directory=/opt/syncope/conf \
> # -Dbundles.directory=/opt/syncope/bundles \
> # -Dlog.directory=/opt/syncope/log
>
> mvn clean verify \
> -Dconf.directory=/opt/syncope/conf \
> -Dlog.directory=/opt/syncope/log
>
>
> sudo cp core/target/classes/*properties /opt/syncope/conf
> sudo cp console/target/classes/*properties /opt/syncope/conf
> sudo cp enduser/target/classes/*properties /opt/syncope/conf
> sudo cp enduser/target/classes/customFormAttributes.json /opt/syncope/conf
> sudo cp enduser/target/classes/customTemplate.json /opt/syncope/conf
>
> i.e. not changing the bundles directory (which I want to do as I want to build in
> the bundles into the war files).
>
> When I do that I DO get logs (in /opt/syncope/log) Looks like I don't have the postgres dirver.
> I checked and the
> core/target/classes/provisioning.properties
>
> already had the changes for postgres
>
> ➜ syncope git:(master) ✗ more /opt/syncope/log/core.log
> 10:22:58.367 INFO org.springframework.security.core.SpringSecurityCoreVersion - You are running with Spring Security Core 5.1.5.RELEASE
> 10:22:58.370 INFO org.springframework.security.config.SecurityNamespaceHandler - Spring Security 'config' module version is 5.1.5.RELEASE
> 10:22:58.391 INFO org.springframework.security.config.method.GlobalMethodSecurityBeanDefinitionParser - Expressions were enabled for method security but no SecurityExpressionHandle
> r was configured. All hasPermision() expressions will evaluate to false.
> 10:22:58.437 INFO org.springframework.security.config.http.HttpSecurityBeanDefinitionParser - Checking sorted filter chain: [Root bean: class [org.springframework.security.web.cont
> ext.SecurityContextPersistenceFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factor
> yMethodName=null; initMethodName=null; destroyMethodName=null, order = 200, Root bean: class [org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter
> ]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=nul
> l; destroyMethodName=null, order = 400, <jwtAuthenticationFilter>, order = 1799, Root bean: class [org.springframework.security.web.authentication.www.BasicAuthenticationFilter]; sc
> ope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; de
> stroyMethodName=null, order = 1800, Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factor
> yBeanName=org.springframework.security.config.http.HttpConfigurationBuilder$SecurityContextHolderAwareRequestFilterBeanFactory#0; factoryMethodName=getBean; initMethodName=null; des
> troyMethodName=null, order = 2000, Root bean: class [org.springframework.security.web.authentication.AnonymousAuthenticationFilter]; scope=; abstract=false; lazyInit=false; autowire
> Mode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 2300, Root bean:
> class [org.springframework.security.web.access.ExceptionTranslationFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; prima
> ry=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 2500, <mustChangePasswordFilter>, order = 2599, <org.springframework.sec
> urity.web.access.intercept.FilterSecurityInterceptor#0>, order = 2600]
> 10:23:00.130 INFO org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor - Initializing ExecutorService
> 10:23:00.130 INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'asyncConnectorFacadeExecutor' of type [org.springframework.
> scheduling.config.TaskExecutorFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
> 10:23:00.130 INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'asyncConnectorFacadeExecutor' of type [org.springframework.
> scheduling.concurrent.ThreadPoolTaskExecutor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
> 10:23:00.394 ERROR com.zaxxer.hikari.HikariConfig - Failed to load driver class org.postgresql.Driver from HikariConfig class classloader WebappClassLoader
> context: /syncope
> delegate: false
> repositories:
> /WEB-INF/classes/
> ----------> Parent Classloader:
> java.net.URLClassLoader@7a81197d
>
> 10:23:00.444 ERROR com.zaxxer.hikari.HikariConfig - Failed to load driver class org.postgresql.Driver from HikariConfig class classloader WebappClassLoader
> context: /syncope
> delegate: false
> repositories:
> /WEB-INF/classes/
> ----------> Parent Classloader:
> java.net.URLClassLoader@7a81197d
>
> 10:23:00.445 INFO org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor - Shutting down ExecutorService
> 10:23:18.326 INFO org.springframework.security.core.SpringSecurityCoreVersion - You are running with Spring Security Core 5.1.5.RELEASE
> 10:23:18.329 INFO org.springframework.security.config.SecurityNamespaceHandler - Spring Security 'config' module version is 5.1.5.RELEASE
> 10:23:18.349 INFO org.springframework.security.config.method.GlobalMethodSecurityBeanDefinitionParser - Expressions were enabled for method security but no SecurityExpressionHandle
> r was configured. All hasPermision() expressions will evaluate to false.
> 10:23:18.395 INFO org.springframework.security.config.http.HttpSecurityBeanDefinitionParser - Checking sorted filter chain: [Root bean: class [org.springframework.security.web.cont
> ext.SecurityContextPersistenceFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factor
> yMethodName=null; initMethodName=null; destroyMethodName=null, order = 200, Root bean: class [org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter
> ]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=nul
> l; destroyMethodName=null, order = 400, <jwtAuthenticationFilter>, order = 1799, Root bean: class [org.springframework.security.web.authentication.www.BasicAuthenticationFilter]; sc
> ope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; de
> stroyMethodName=null, order = 1800, Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factor
> yBeanName=org.springframework.security.config.http.HttpConfigurationBuilder$SecurityContextHolderAwareRequestFilterBeanFactory#0; factoryMethodName=getBean; initMethodName=null; des
> troyMethodName=null, order = 2000, Root bean: class [org.springframework.security.web.authentication.AnonymousAuthenticationFilter]; scope=; abstract=false; lazyInit=false; autowire
> Mode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 2300, Root bean:
> class [org.springframework.security.web.access.ExceptionTranslationFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; prima
> ry=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 2500, <mustChangePasswordFilter>, order = 2599, <org.springframework.sec
> urity.web.access.intercept.FilterSecurityInterceptor#0>, order = 2600]
> 10:23:20.012 INFO org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor - Initializing ExecutorService
> 10:23:20.012 INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'asyncConnectorFacadeExecutor' of type [org.springframework.
> scheduling.config.TaskExecutorFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
> 10:23:20.012 INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'asyncConnectorFacadeExecutor' of type [org.springframework.
> scheduling.concurrent.ThreadPoolTaskExecutor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
> 10:23:20.285 ERROR com.zaxxer.hikari.HikariConfig - Failed to load driver class org.postgresql.Driver from HikariConfig class classloader WebappClassLoader
> context: /syncope
> delegate: false
> repositories:
> /WEB-INF/classes/
> ----------> Parent Classloader:
> java.net.URLClassLoader@7a81197d
>
> 10:23:20.337 ERROR com.zaxxer.hikari.HikariConfig - Failed to load driver class org.postgresql.Driver from HikariConfig class classloader WebappClassLoader
> context: /syncope
> delegate: false
> repositories:
> /WEB-INF/classes/
> ----------> Parent Classloader:
> java.net.URLClassLoader@7a81197d
>
> 10:23:20.338 INFO org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor - Shutting down ExecutorService
> 10:23:32.831 INFO org.springframework.security.core.SpringSecurityCoreVersion - You are running with Spring Security Core 5.1.5.RELEASE
> 10:23:32.835 INFO org.springframework.security.config.SecurityNamespaceHandler - Spring Security 'config' module version is 5.1.5.RELEASE
> 10:23:32.859 INFO org.springframework.security.config.method.GlobalMethodSecurityBeanDefinitionParser - Expressions were enabled for method security but no SecurityExpressionHandle
> r was configured. All hasPermision() expressions will evaluate to false.
> 10:23:32.910 INFO org.springframework.security.config.http.HttpSecurityBeanDefinitionParser - Checking sorted filter chain: [Root bean: class [org.springframework.security.web.cont
> ext.SecurityContextPersistenceFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factor
> yMethodName=null; initMethodName=null; destroyMethodName=null, order = 200, Root bean: class [org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter
> ]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=nul
> l; destroyMethodName=null, order = 400, <jwtAuthenticationFilter>, order = 1799, Root bean: class [org.springframework.security.web.authentication.www.BasicAuthenticationFilter]; sc
> ope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; de
> stroyMethodName=null, order = 1800, Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factor
> yBeanName=org.springframework.security.config.http.HttpConfigurationBuilder$SecurityContextHolderAwareRequestFilterBeanFactory#0; factoryMethodName=getBean; initMethodName=null; des
> troyMethodName=null, order = 2000, Root bean: class [org.springframework.security.web.authentication.AnonymousAuthenticationFilter]; scope=; abstract=false; lazyInit=false; autowire
> Mode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 2300, Root bean:
> class [org.springframework.security.web.access.ExceptionTranslationFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; prima
> ry=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 2500, <mustChangePasswordFilter>, order = 2599, <org.springframework.sec
> urity.web.access.intercept.FilterSecurityInterceptor#0>, order = 2600]
> 10:23:34.490 INFO org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor - Initializing ExecutorService
> 10:23:34.490 INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'asyncConnectorFacadeExecutor' of type [org.springframework.
> scheduling.config.TaskExecutorFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
> 10:23:34.490 INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'asyncConnectorFacadeExecutor' of type [org.springframework.
> scheduling.concurrent.ThreadPoolTaskExecutor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
> 10:23:34.757 ERROR com.zaxxer.hikari.HikariConfig - Failed to load driver class org.postgresql.Driver from HikariConfig class classloader WebappClassLoader
> context: /syncope
> delegate: false
> repositories:
> /WEB-INF/classes/
> ----------> Parent Classloader:
> java.net.URLClassLoader@7a81197d
>
> 10:23:34.809 ERROR com.zaxxer.hikari.HikariConfig - Failed to load driver class org.postgresql.Driver from HikariConfig class classloader WebappClassLoader
> context: /syncope
> delegate: false
> repositories:
> /WEB-INF/classes/
> ----------> Parent Classloader:
> java.net.URLClassLoader@7a81197d
>
> 10:23:34.810 INFO org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor - Shutting down ExecutorService
>
> if I left in the bundles I get the following error:
>
> ➜ syncope git:(master) ✗ mvn clean verify \
>> -Dconf.directory=/opt/syncope/conf \
>> -Dbundles.directory=/opt/syncope/bundles \
>> -Dlog.directory=/opt/syncope/log
> [INFO] Scanning for projects...
> [INFO] ------------------------------------------------------------------------
> [INFO] Reactor Build Order:
> [INFO]
> [INFO] Apache Syncope sample project
> [INFO] Apache Syncope sample project - Common
> [INFO] Apache Syncope sample project - Core
> [INFO] Apache Syncope sample project - Console
> [INFO] Apache Syncope sample project - Enduser
> [INFO]
> [INFO] ------------------------------------------------------------------------
> [INFO] Building Apache Syncope sample project 1.0-SNAPSHOT
> [INFO] ------------------------------------------------------------------------
> [INFO]
> [INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ syncope ---
> [INFO] Deleting /home/pwd/src/EIandAS/syncope/target
> [INFO]
> [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven-version) @ syncope ---
> [INFO]
> [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven) @ syncope ---
> [INFO]
> [INFO] --- gmaven-plugin:1.5:execute (default) @ syncope ---
> [INFO]
> [INFO] --- maven-remote-resources-plugin:1.5:process (process-resource-bundles) @ syncope ---
> [INFO]
> [INFO] --- maven-resources-plugin:3.1.0:copy-resources (copy-artifact-legal-files) @ syncope ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 0 resource
> [INFO]
> [INFO] --- maven-resources-plugin:3.1.0:copy-resources (copy-javadoc-legal-files) @ syncope ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 0 resource
> [INFO]
> [INFO] --- jacoco-maven-plugin:0.8.3:prepare-agent (jacoco-agent-ut) @ syncope ---
> [INFO] argLine set to -javaagent:/home/pwd/.m2/repository/org/jacoco/org.jacoco.agent/0.8.3/org.jacoco.agent-0.8.3-runtime.jar=destfile=/home/pwd/src/EIandAS/syncope/target/jacoco.ut.exec,append=true -Xms512m -Xmx1024m -Xss256k
> [INFO]
> [INFO] --- maven-site-plugin:3.7.1:attach-descriptor (attach-descriptor) @ syncope ---
> [INFO] No site descriptor found: nothing to attach.
> [INFO]
> [INFO] --- jacoco-maven-plugin:0.8.3:prepare-agent-integration (jacoco-agent-it) @ syncope ---
> [INFO] argLine set to -javaagent:/home/pwd/.m2/repository/org/jacoco/org.jacoco.agent/0.8.3/org.jacoco.agent-0.8.3-runtime.jar=destfile=/home/pwd/src/EIandAS/syncope/target/jacoco.it.exec,append=true -Xms512m -Xmx1024m -Xss256k
> [INFO]
> [INFO] --- modernizer-maven-plugin:1.8.0:modernizer (modernizer-check) @ syncope ---
> [INFO]
> [INFO] --- maven-checkstyle-plugin:3.0.0:check (checkstyle-check) @ syncope ---
> [INFO]
> [INFO] --- jacoco-maven-plugin:0.8.3:report-aggregate (jacoco-site) @ syncope ---
> [INFO]
> [INFO] --- apache-rat-plugin:0.12:check (rat-check) @ syncope ---
> [INFO] RAT will not execute since it is configured to be skipped via system property 'rat.skip'.
> [INFO]
> [INFO] ------------------------------------------------------------------------
> [INFO] Building Apache Syncope sample project - Common 1.0-SNAPSHOT
> [INFO] ------------------------------------------------------------------------
> [INFO]
> [INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ syncope-common ---
> [INFO] Deleting /home/pwd/src/EIandAS/syncope/common/target
> [INFO]
> [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven-version) @ syncope-common ---
> [INFO]
> [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven) @ syncope-common ---
> [INFO]
> [INFO] --- gmaven-plugin:1.5:execute (default) @ syncope-common ---
> [INFO]
> [INFO] --- maven-remote-resources-plugin:1.5:process (process-resource-bundles) @ syncope-common ---
> [INFO]
> [INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ syncope-common ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 0 resource
> [INFO] Copying 3 resources
> [INFO]
> [INFO] --- maven-resources-plugin:3.1.0:copy-resources (copy-artifact-legal-files) @ syncope-common ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 0 resource
> [INFO]
> [INFO] --- maven-resources-plugin:3.1.0:copy-resources (copy-javadoc-legal-files) @ syncope-common ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 0 resource
> [INFO]
> [INFO] --- maven-compiler-plugin:3.8.0:compile (default-compile) @ syncope-common ---
> [INFO] No sources to compile
> [INFO]
> [INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ syncope-common ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 0 resource
> [INFO] Copying 3 resources
> [INFO]
> [INFO] --- maven-compiler-plugin:3.8.0:testCompile (default-testCompile) @ syncope-common ---
> [INFO] No sources to compile
> [INFO]
> [INFO] --- jacoco-maven-plugin:0.8.3:prepare-agent (jacoco-agent-ut) @ syncope-common ---
> [INFO] argLine set to -javaagent:/home/pwd/.m2/repository/org/jacoco/org.jacoco.agent/0.8.3/org.jacoco.agent-0.8.3-runtime.jar=destfile=/home/pwd/src/EIandAS/syncope/common/target/jacoco.ut.exec,append=true -Xms512m -Xmx1024m -Xss256k
> [INFO]
> [INFO] --- maven-surefire-plugin:2.22.1:test (default-test) @ syncope-common ---
> [INFO]
> [INFO] --- maven-jar-plugin:3.1.1:jar (default-jar) @ syncope-common ---
> [INFO] Building jar: /home/pwd/src/EIandAS/syncope/common/target/syncope-common-1.0-SNAPSHOT.jar
> [INFO]
> [INFO] --- maven-site-plugin:3.7.1:attach-descriptor (attach-descriptor) @ syncope-common ---
> [INFO] Skipping because packaging 'jar' is not pom.
> [INFO]
> [INFO] --- jacoco-maven-plugin:0.8.3:prepare-agent-integration (jacoco-agent-it) @ syncope-common ---
> [INFO] argLine set to -javaagent:/home/pwd/.m2/repository/org/jacoco/org.jacoco.agent/0.8.3/org.jacoco.agent-0.8.3-runtime.jar=destfile=/home/pwd/src/EIandAS/syncope/common/target/jacoco.it.exec,append=true -Xms512m -Xmx1024m -Xss256k
> [INFO]
> [INFO] --- modernizer-maven-plugin:1.8.0:modernizer (modernizer-check) @ syncope-common ---
> [INFO]
> [INFO] --- maven-checkstyle-plugin:3.0.0:check (checkstyle-check) @ syncope-common ---
> [INFO]
> [INFO] --- jacoco-maven-plugin:0.8.3:report-aggregate (jacoco-site) @ syncope-common ---
> [INFO]
> [INFO] --- apache-rat-plugin:0.12:check (rat-check) @ syncope-common ---
> [INFO] RAT will not execute since it is configured to be skipped via system property 'rat.skip'.
> [INFO]
> [INFO] ------------------------------------------------------------------------
> [INFO] Building Apache Syncope sample project - Core 1.0-SNAPSHOT
> [INFO] ------------------------------------------------------------------------
> [INFO]
> [INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ syncope-core ---
> [INFO] Deleting /home/pwd/src/EIandAS/syncope/core/target
> [INFO]
> [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven-version) @ syncope-core ---
> [INFO]
> [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven) @ syncope-core ---
> [INFO]
> [INFO] --- gmaven-plugin:1.5:execute (default) @ syncope-core ---
> [INFO]
> [INFO] --- maven-remote-resources-plugin:1.5:process (process-resource-bundles) @ syncope-core ---
> [INFO]
> [INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ syncope-core ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 32 resources
> [INFO] Copying 3 resources
> [INFO]
> [INFO] --- maven-resources-plugin:3.1.0:copy-resources (copy-artifact-legal-files) @ syncope-core ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 0 resource
> [INFO]
> [INFO] --- maven-resources-plugin:3.1.0:copy-resources (copy-javadoc-legal-files) @ syncope-core ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 0 resource
> [INFO]
> [INFO] --- maven-compiler-plugin:3.8.0:compile (default-compile) @ syncope-core ---
> [INFO] No sources to compile
> [INFO]
> [INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ syncope-core ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 26 resources
> [INFO] Copying 1 resource
> [INFO] Copying 3 resources
> [INFO]
> [INFO] --- maven-dependency-plugin:3.1.1:copy (set-bundles) @ syncope-core ---
> [INFO] Configured Artifact: net.tirasa.connid.bundles.soap:net.tirasa.connid.bundles.soap:1.4.3:jar
> [INFO] Configured Artifact: net.tirasa.connid.bundles:net.tirasa.connid.bundles.rest:1.0.4:jar
> [INFO] Configured Artifact: net.tirasa.connid.bundles:net.tirasa.connid.bundles.csvdir:0.8.8:jar
> [INFO] Configured Artifact: net.tirasa.connid.bundles.db:net.tirasa.connid.bundles.db.table:2.2.6:jar
> [INFO] Configured Artifact: net.tirasa.connid.bundles.db:net.tirasa.connid.bundles.db.scriptedsql:2.2.6:jar
> [INFO] Configured Artifact: net.tirasa.connid.bundles:net.tirasa.connid.bundles.ldap:1.5.3:jar
> [INFO] Configured Artifact: net.tirasa.connid.bundles:net.tirasa.connid.bundles.ad:1.3.6:jar
> [INFO] Configured Artifact: net.tirasa.connid.bundles:net.tirasa.connid.bundles.googleapps:1.4.2:jar
> [INFO] Configured Artifact: net.tirasa.connid.bundles:net.tirasa.connid.bundles.azure:1.0.1:jar
> [INFO] Configured Artifact: net.tirasa.connid.bundles:net.tirasa.connid.bundles.scimv11:1.0.1:jar
> [INFO] Configured Artifact: net.tirasa.connid.bundles:net.tirasa.connid.bundles.servicenow:1.0.0:jar
> [INFO] Copying net.tirasa.connid.bundles.soap-1.4.3.jar to /opt/syncope/bundles/net.tirasa.connid.bundles.soap-1.4.3.jar
> [INFO] ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO]
> [INFO] Apache Syncope sample project ..................... SUCCESS [4.310s]
> [INFO] Apache Syncope sample project - Common ............ SUCCESS [1.233s]
> [INFO] Apache Syncope sample project - Core .............. FAILURE [2.534s]
> [INFO] Apache Syncope sample project - Console ........... SKIPPED
> [INFO] Apache Syncope sample project - Enduser ........... SKIPPED
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 8.341s
> [INFO] Finished at: Thu Sep 05 10:29:47 EDT 2019
> [INFO] Final Memory: 48M/628M
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-dependency-plugin:3.1.1:copy (set-bundles) on project syncope-core: Error copying artifact from /home/pwd/.m2/repository/net/tirasa/connid/bundles/soap/net.tirasa.connid.bundles.soap/1.4.3/net.tirasa.connid.bundles.soap-1.4.3.jar to /opt/syncope/bundles/net.tirasa.connid.bundles.soap-1.4.3.jar -> [Help 1]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions, please read the following articles:
> [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
> [ERROR]
> [ERROR] After correcting the problems, you can resume the build with the command
> [ERROR] mvn <goals> -rf :syncope-core
>
>
>
>
>
> --
> This email, and any files transmitted with it, are confidential
> and intended solely for the use of the individual or entity to
> whom they are addressed. If you have received this email in error,
> please advise postmaster@mdtsoft.com <ma...@mdtsoft.com>.
>
> 3480 Preston Ridge Road
> Suite 450
> Alpharetta, GA 30005
>
> Philip W. Dalrymple III <pw...@mdtsoft.com>
> MDT Software - Automation Management Company
> +1 678 297 1001
> Fax +1 678 297 1003
>
> ________________________________________
> From: Andrea Patricelli <an...@tirasa.net>
> Sent: Thursday, September 5, 2019 10:07
> To: user@syncope.apache.org
> Subject: Re: Syncope trying to deploy using Maven and not getting login
>
> P.S.
>
> About the attached link: please take care to the doc starting from
> documentation at "Deployment directories" section.
>
> Il 05/09/19 16:04, Dalrymple, Philip ha scritto:
>> OK I will give that a go.
>>
>>
>> --
>> This email, and any files transmitted with it, are confidential
>> and intended solely for the use of the individual or entity to
>> whom they are addressed. If you have received this email in error,
>> please advise postmaster@mdtsoft.com <ma...@mdtsoft.com>.
>>
>> 3480 Preston Ridge Road
>> Suite 450
>> Alpharetta, GA 30005
>>
>> Philip W. Dalrymple III <pw...@mdtsoft.com>
>> MDT Software - Automation Management Company
>> +1 678 297 1001
>> Fax +1 678 297 1003
>>
>> ________________________________________
>> From: Andrea Patricelli <an...@apache.org>
>> Sent: Thursday, September 5, 2019 10:03
>> To: user@syncope.apache.org
>> Subject: Re: Syncope trying to deploy using Maven and not getting login
>>
>> Ok, maybe I got your first problem.
>>
>> Please follow this [1]. Basically, in order to do a correct deploy, you
>> should build with a special mvn command specifying bundles, logs and
>> conf directories and, moreover, in order to let Syncope take correct
>> configuration parameters (like for the jdbc connection) copy some of the
>> properties files in sources under the specific conf directory.
>>
>> HTH,
>> Andrea
>>
>> [1] https://syncope.apache.org/docs/2.1/reference-guide.html#customization
>>
>> Il 05/09/19 15:56, Dalrymple, Philip ha scritto:
>>> OK this is weird
>>>
>>> I did a
>>>
>>> sudo find / -name "*core*.log*" -print
>>>
>>> and only find the logs from my first try using docker.
>>> (was not able to customize well enough and switched to
>>> maven deleting the docker images)
>>>
>>> I will keep looking.
>>>
>>>
>>> --
>>> This email, and any files transmitted with it, are confidential
>>> and intended solely for the use of the individual or entity to
>>> whom they are addressed. If you have received this email in error,
>>> please advise postmaster@mdtsoft.com <ma...@mdtsoft.com>.
>>>
>>> 3480 Preston Ridge Road
>>> Suite 450
>>> Alpharetta, GA 30005
>>>
>>> Philip W. Dalrymple III <pw...@mdtsoft.com>
>>> MDT Software - Automation Management Company
>>> +1 678 297 1001
>>> Fax +1 678 297 1003
>>>
>>> ________________________________________
>>> From: Dalrymple, Philip <pw...@mdtsoft.com>
>>> Sent: Thursday, September 5, 2019 9:53
>>> To: user@syncope.apache.org
>>> Subject: Re: Syncope trying to deploy using Maven and not getting login
>>>
>>>
>>> OK I need to find where the logs are.
>>>
>>> --
>>> This email, and any files transmitted with it, are confidential
>>> and intended solely for the use of the individual or entity to
>>> whom they are addressed. If you have received this email in error,
>>> please advise postmaster@mdtsoft.com <ma...@mdtsoft.com>.
>>>
>>> 3480 Preston Ridge Road
>>> Suite 450
>>> Alpharetta, GA 30005
>>>
>>> Philip W. Dalrymple III <pw...@mdtsoft.com>
>>> MDT Software - Automation Management Company
>>> +1 678 297 1001
>>> Fax +1 678 297 1003
>>>
>>> ________________________________________
>>> From: Andrea Patricelli <an...@apache.org>
>>> Sent: Thursday, September 5, 2019 9:52
>>> To: user@syncope.apache.org
>>> Subject: Re: Syncope trying to deploy using Maven and not getting login
>>>
>>> Hi Philip,
>>>
>>> you should check core.log, core-rest.log, core-persistence.log and
>>> core-connid.log files in order to understand what is the problem.
>>> The NOT FOUND error in console simply means that core is unavailable,
>>> probably because it failed to start.
>>>
>>> Please check for exceptions in core*.log files and attach it into this
>>> thread.
>>>
>>> Best regards,
>>> Andrea
>>>
>>> Il 05/09/19 15:32, Dalrymple, Philip ha scritto:
>>>> I am trying to deploy Syncope using the Maven method. I have followed the
>>>> instructions in
>>>>
>>>> http://syncope.apache.org/docs/2.1/getting-started.html#maven-project
>>>>
>>>> and then edited core/src/main/resources/domains/Master.properties
>>>>
>>>> to have the correct postgres password, I re-did the mvn clean install
>>>> and placed the war files in my tomcat/webapps directory, they deployed
>>>> without me restarting tomcat.
>>>>
>>>> When I got to http://XXXXX:8080/syncope-console I get a 500 error (see below)
>>>> when I got to .../syncope or .../syncope/index.html or .../syncope-enduser I get a 404 error.
>>>>
>>>> I checked in WEB-INF/classes/persistence.properties (in syncope) and it had the
>>>> correct DB user, host, and password info and I verified that I could connect to the DB BUT
>>>> the DB was empty.
>>>>
>>>> the stack trace on the syncope-console
>>>>
>>>>
>>>> type Exception report
>>>>
>>>> message Unable to instantiate web session class org.apache.syncope.client.console.SyncopeConsoleSession
>>>>
>>>> description The server encountered an internal error that prevented it from fulfilling this request.
>>>>
>>>> exception
>>>>
>>>> org.apache.wicket.WicketRuntimeException: Unable to instantiate web session class org.apache.syncope.client.console.SyncopeConsoleSession
>>>> org.apache.wicket.authroles.authentication.AuthenticatedWebApplication.newSession(AuthenticatedWebApplication.java:121)
>>>> org.apache.wicket.Application.fetchCreateAndSetSession(Application.java:1555)
>>>> org.apache.wicket.Session.get(Session.java:176)
>>>> org.apache.syncope.client.console.SyncopeConsoleSession.get(SyncopeConsoleSession.java:91)
>>>> org.apache.syncope.client.console.SyncopeConsoleRequestCycleListener.onException(SyncopeConsoleRequestCycleListener.java:80)
>>>> org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:126)
>>>> org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:122)
>>>> org.apache.wicket.util.listener.ListenerCollection.notify(ListenerCollection.java:80)
>>>> org.apache.wicket.request.cycle.RequestCycleListenerCollection.onException(RequestCycleListenerCollection.java:121)
>>>> org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:126)
>>>> org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:122)
>>>> org.apache.wicket.util.listener.ListenerCollection.notify(ListenerCollection.java:80)
>>>> org.apache.wicket.request.cycle.RequestCycleListenerCollection.onException(RequestCycleListenerCollection.java:121)
>>>> org.apache.wicket.request.cycle.RequestCycle.handleException(RequestCycle.java:368)
>>>> org.apache.wicket.request.cycle.RequestCycle.executeExceptionRequestHandler(RequestCycle.java:314)
>>>> org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:259)
>>>> org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:221)
>>>> org.apache.wicket.protocol.ws.AbstractUpgradeFilter.processRequestCycle(AbstractUpgradeFilter.java:70)
>>>> org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:206)
>>>> org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:299)
>>>>
>>>> root cause
>>>>
>>>> java.lang.reflect.InvocationTargetException
>>>> sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
>>>> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
>>>> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
>>>> java.lang.reflect.Constructor.newInstance(Constructor.java:423)
>>>> org.apache.wicket.authroles.authentication.AuthenticatedWebApplication.newSession(AuthenticatedWebApplication.java:117)
>>>> org.apache.wicket.Application.fetchCreateAndSetSession(Application.java:1555)
>>>> org.apache.wicket.Session.get(Session.java:176)
>>>> org.apache.syncope.client.console.SyncopeConsoleSession.get(SyncopeConsoleSession.java:91)
>>>> org.apache.syncope.client.console.SyncopeConsoleRequestCycleListener.onException(SyncopeConsoleRequestCycleListener.java:80)
>>>> org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:126)
>>>> org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:122)
>>>> org.apache.wicket.util.listener.ListenerCollection.notify(ListenerCollection.java:80)
>>>> org.apache.wicket.request.cycle.RequestCycleListenerCollection.onException(RequestCycleListenerCollection.java:121)
>>>> org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:126)
>>>> org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:122)
>>>> org.apache.wicket.util.listener.ListenerCollection.notify(ListenerCollection.java:80)
>>>> org.apache.wicket.request.cycle.RequestCycleListenerCollection.onException(RequestCycleListenerCollection.java:121)
>>>> org.apache.wicket.request.cycle.RequestCycle.handleException(RequestCycle.java:368)
>>>> org.apache.wicket.request.cycle.RequestCycle.executeExceptionRequestHandler(RequestCycle.java:314)
>>>> org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:259)
>>>> org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:221)
>>>> org.apache.wicket.protocol.ws.AbstractUpgradeFilter.processRequestCycle(AbstractUpgradeFilter.java:70)
>>>> org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:206)
>>>> org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:299)
>>>>
>>>> root cause
>>>>
>>>> javax.xml.ws.WebServiceException: Remote exception with status code: NOT_FOUND
>>>> org.apache.syncope.client.lib.RestClientExceptionMapper.fromResponse(RestClientExceptionMapper.java:76)
>>>> org.apache.syncope.client.lib.RestClientExceptionMapper.fromResponse(RestClientExceptionMapper.java:42)
>>>> org.apache.cxf.jaxrs.client.ClientProxyImpl.checkResponse(ClientProxyImpl.java:372)
>>>> org.apache.cxf.jaxrs.client.ClientProxyImpl.handleResponse(ClientProxyImpl.java:948)
>>>> org.apache.cxf.jaxrs.client.ClientProxyImpl.doChainedInvocation(ClientProxyImpl.java:854)
>>>> org.apache.cxf.jaxrs.client.ClientProxyImpl.invoke(ClientProxyImpl.java:295)
>>>> com.sun.proxy.$Proxy119.platform(Unknown Source)
>>>> org.apache.syncope.client.console.SyncopeConsoleSession.<init>(SyncopeConsoleSession.java:103)
>>>> sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
>>>> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
>>>> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
>>>> java.lang.reflect.Constructor.newInstance(Constructor.java:423)
>>>> org.apache.wicket.authroles.authentication.AuthenticatedWebApplication.newSession(AuthenticatedWebApplication.java:117)
>>>> org.apache.wicket.Application.fetchCreateAndSetSession(Application.java:1555)
>>>> org.apache.wicket.Session.get(Session.java:176)
>>>> org.apache.syncope.client.console.SyncopeConsoleSession.get(SyncopeConsoleSession.java:91)
>>>> org.apache.syncope.client.console.SyncopeConsoleRequestCycleListener.onException(SyncopeConsoleRequestCycleListener.java:80)
>>>> org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:126)
>>>> org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:122)
>>>> org.apache.wicket.util.listener.ListenerCollection.notify(ListenerCollection.java:80)
>>>> org.apache.wicket.request.cycle.RequestCycleListenerCollection.onException(RequestCycleListenerCollection.java:121)
>>>> org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:126)
>>>> org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:122)
>>>> org.apache.wicket.util.listener.ListenerCollection.notify(ListenerCollection.java:80)
>>>> org.apache.wicket.request.cycle.RequestCycleListenerCollection.onException(RequestCycleListenerCollection.java:121)
>>>> org.apache.wicket.request.cycle.RequestCycle.handleException(RequestCycle.java:368)
>>>> org.apache.wicket.request.cycle.RequestCycle.executeExceptionRequestHandler(RequestCycle.java:314)
>>>> org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:259)
>>>> org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:221)
>>>> org.apache.wicket.protocol.ws.AbstractUpgradeFilter.processRequestCycle(AbstractUpgradeFilter.java:70)
>>>> org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:206)
>>>> org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:299)
>>>>
>>>>
>>>> thanks
>>>>
>>>>
>>>> --
>>>> This email, and any files transmitted with it, are confidential
>>>> and intended solely for the use of the individual or entity to
>>>> whom they are addressed. If you have received this email in error,
>>>> please advise postmaster@mdtsoft.com <ma...@mdtsoft.com>.
>>>>
>>>> 3480 Preston Ridge Road
>>>> Suite 450
>>>> Alpharetta, GA 30005
>>>>
>>>> Philip W. Dalrymple III <pw...@mdtsoft.com>
>>>> MDT Software - Automation Management Company
>>>> +1 678 297 1001
>>>> Fax +1 678 297 1003
>>> --
>>> Dott. Andrea Patricelli
>>> Tel. +39 3204524292
>>>
>>> Engineer @ Tirasa S.r.l.
>>> Viale Vittoria Colonna 97 - 65127 Pescara
>>> Tel +39 0859116307 / FAX +39 0859111173
>>> http://www.tirasa.net
>>>
>>> Apache Syncope PMC Member
>>>
>> --
>> Dott. Andrea Patricelli
>> Tel. +39 3204524292
>>
>> Engineer @ Tirasa S.r.l.
>> Viale Vittoria Colonna 97 - 65127 Pescara
>> Tel +39 0859116307 / FAX +39 0859111173
>> http://www.tirasa.net
>>
>> Apache Syncope PMC Member
>>
> --
> Dott. Andrea Patricelli
> Tel. +39 3204524292
>
> Engineer @ Tirasa S.r.l.
> Viale Vittoria Colonna 97 - 65127 Pescara
> Tel +39 0859116307 / FAX +39 0859111173
> http://www.tirasa.net
>
> Apache Syncope PMC Member
>
--
Dott. Andrea Patricelli
Tel. +39 3204524292
Engineer @ Tirasa S.r.l.
Viale Vittoria Colonna 97 - 65127 Pescara
Tel +39 0859116307 / FAX +39 0859111173
http://www.tirasa.net
Apache Syncope PMC Member
Re: Syncope trying to deploy using Maven and not getting login
Posted by "Dalrymple, Philip" <pw...@mdtsoft.com>.
OK I had one issue in that to make it work my build script needed to look like
#!/bin/bash
cd syncope
sudo mkdir -p /opt/syncope/bundles
sudo mkdir -p /opt/syncope/log
sudo chmod 0777 /opt/syncope/log
sudo mkdir -p /opt/syncope/conf
# mvn clean verify \
# -Dconf.directory=/opt/syncope/conf \
# -Dbundles.directory=/opt/syncope/bundles \
# -Dlog.directory=/opt/syncope/log
mvn clean verify \
-Dconf.directory=/opt/syncope/conf \
-Dlog.directory=/opt/syncope/log
sudo cp core/target/classes/*properties /opt/syncope/conf
sudo cp console/target/classes/*properties /opt/syncope/conf
sudo cp enduser/target/classes/*properties /opt/syncope/conf
sudo cp enduser/target/classes/customFormAttributes.json /opt/syncope/conf
sudo cp enduser/target/classes/customTemplate.json /opt/syncope/conf
i.e. not changing the bundles directory (which I want to do as I want to build in
the bundles into the war files).
When I do that I DO get logs (in /opt/syncope/log) Looks like I don't have the postgres dirver.
I checked and the
core/target/classes/provisioning.properties
already had the changes for postgres
➜ syncope git:(master) ✗ more /opt/syncope/log/core.log
10:22:58.367 INFO org.springframework.security.core.SpringSecurityCoreVersion - You are running with Spring Security Core 5.1.5.RELEASE
10:22:58.370 INFO org.springframework.security.config.SecurityNamespaceHandler - Spring Security 'config' module version is 5.1.5.RELEASE
10:22:58.391 INFO org.springframework.security.config.method.GlobalMethodSecurityBeanDefinitionParser - Expressions were enabled for method security but no SecurityExpressionHandle
r was configured. All hasPermision() expressions will evaluate to false.
10:22:58.437 INFO org.springframework.security.config.http.HttpSecurityBeanDefinitionParser - Checking sorted filter chain: [Root bean: class [org.springframework.security.web.cont
ext.SecurityContextPersistenceFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factor
yMethodName=null; initMethodName=null; destroyMethodName=null, order = 200, Root bean: class [org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter
]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=nul
l; destroyMethodName=null, order = 400, <jwtAuthenticationFilter>, order = 1799, Root bean: class [org.springframework.security.web.authentication.www.BasicAuthenticationFilter]; sc
ope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; de
stroyMethodName=null, order = 1800, Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factor
yBeanName=org.springframework.security.config.http.HttpConfigurationBuilder$SecurityContextHolderAwareRequestFilterBeanFactory#0; factoryMethodName=getBean; initMethodName=null; des
troyMethodName=null, order = 2000, Root bean: class [org.springframework.security.web.authentication.AnonymousAuthenticationFilter]; scope=; abstract=false; lazyInit=false; autowire
Mode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 2300, Root bean:
class [org.springframework.security.web.access.ExceptionTranslationFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; prima
ry=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 2500, <mustChangePasswordFilter>, order = 2599, <org.springframework.sec
urity.web.access.intercept.FilterSecurityInterceptor#0>, order = 2600]
10:23:00.130 INFO org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor - Initializing ExecutorService
10:23:00.130 INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'asyncConnectorFacadeExecutor' of type [org.springframework.
scheduling.config.TaskExecutorFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
10:23:00.130 INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'asyncConnectorFacadeExecutor' of type [org.springframework.
scheduling.concurrent.ThreadPoolTaskExecutor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
10:23:00.394 ERROR com.zaxxer.hikari.HikariConfig - Failed to load driver class org.postgresql.Driver from HikariConfig class classloader WebappClassLoader
context: /syncope
delegate: false
repositories:
/WEB-INF/classes/
----------> Parent Classloader:
java.net.URLClassLoader@7a81197d
10:23:00.444 ERROR com.zaxxer.hikari.HikariConfig - Failed to load driver class org.postgresql.Driver from HikariConfig class classloader WebappClassLoader
context: /syncope
delegate: false
repositories:
/WEB-INF/classes/
----------> Parent Classloader:
java.net.URLClassLoader@7a81197d
10:23:00.445 INFO org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor - Shutting down ExecutorService
10:23:18.326 INFO org.springframework.security.core.SpringSecurityCoreVersion - You are running with Spring Security Core 5.1.5.RELEASE
10:23:18.329 INFO org.springframework.security.config.SecurityNamespaceHandler - Spring Security 'config' module version is 5.1.5.RELEASE
10:23:18.349 INFO org.springframework.security.config.method.GlobalMethodSecurityBeanDefinitionParser - Expressions were enabled for method security but no SecurityExpressionHandle
r was configured. All hasPermision() expressions will evaluate to false.
10:23:18.395 INFO org.springframework.security.config.http.HttpSecurityBeanDefinitionParser - Checking sorted filter chain: [Root bean: class [org.springframework.security.web.cont
ext.SecurityContextPersistenceFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factor
yMethodName=null; initMethodName=null; destroyMethodName=null, order = 200, Root bean: class [org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter
]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=nul
l; destroyMethodName=null, order = 400, <jwtAuthenticationFilter>, order = 1799, Root bean: class [org.springframework.security.web.authentication.www.BasicAuthenticationFilter]; sc
ope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; de
stroyMethodName=null, order = 1800, Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factor
yBeanName=org.springframework.security.config.http.HttpConfigurationBuilder$SecurityContextHolderAwareRequestFilterBeanFactory#0; factoryMethodName=getBean; initMethodName=null; des
troyMethodName=null, order = 2000, Root bean: class [org.springframework.security.web.authentication.AnonymousAuthenticationFilter]; scope=; abstract=false; lazyInit=false; autowire
Mode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 2300, Root bean:
class [org.springframework.security.web.access.ExceptionTranslationFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; prima
ry=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 2500, <mustChangePasswordFilter>, order = 2599, <org.springframework.sec
urity.web.access.intercept.FilterSecurityInterceptor#0>, order = 2600]
10:23:20.012 INFO org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor - Initializing ExecutorService
10:23:20.012 INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'asyncConnectorFacadeExecutor' of type [org.springframework.
scheduling.config.TaskExecutorFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
10:23:20.012 INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'asyncConnectorFacadeExecutor' of type [org.springframework.
scheduling.concurrent.ThreadPoolTaskExecutor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
10:23:20.285 ERROR com.zaxxer.hikari.HikariConfig - Failed to load driver class org.postgresql.Driver from HikariConfig class classloader WebappClassLoader
context: /syncope
delegate: false
repositories:
/WEB-INF/classes/
----------> Parent Classloader:
java.net.URLClassLoader@7a81197d
10:23:20.337 ERROR com.zaxxer.hikari.HikariConfig - Failed to load driver class org.postgresql.Driver from HikariConfig class classloader WebappClassLoader
context: /syncope
delegate: false
repositories:
/WEB-INF/classes/
----------> Parent Classloader:
java.net.URLClassLoader@7a81197d
10:23:20.338 INFO org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor - Shutting down ExecutorService
10:23:32.831 INFO org.springframework.security.core.SpringSecurityCoreVersion - You are running with Spring Security Core 5.1.5.RELEASE
10:23:32.835 INFO org.springframework.security.config.SecurityNamespaceHandler - Spring Security 'config' module version is 5.1.5.RELEASE
10:23:32.859 INFO org.springframework.security.config.method.GlobalMethodSecurityBeanDefinitionParser - Expressions were enabled for method security but no SecurityExpressionHandle
r was configured. All hasPermision() expressions will evaluate to false.
10:23:32.910 INFO org.springframework.security.config.http.HttpSecurityBeanDefinitionParser - Checking sorted filter chain: [Root bean: class [org.springframework.security.web.cont
ext.SecurityContextPersistenceFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factor
yMethodName=null; initMethodName=null; destroyMethodName=null, order = 200, Root bean: class [org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter
]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=nul
l; destroyMethodName=null, order = 400, <jwtAuthenticationFilter>, order = 1799, Root bean: class [org.springframework.security.web.authentication.www.BasicAuthenticationFilter]; sc
ope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; de
stroyMethodName=null, order = 1800, Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factor
yBeanName=org.springframework.security.config.http.HttpConfigurationBuilder$SecurityContextHolderAwareRequestFilterBeanFactory#0; factoryMethodName=getBean; initMethodName=null; des
troyMethodName=null, order = 2000, Root bean: class [org.springframework.security.web.authentication.AnonymousAuthenticationFilter]; scope=; abstract=false; lazyInit=false; autowire
Mode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 2300, Root bean:
class [org.springframework.security.web.access.ExceptionTranslationFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; prima
ry=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 2500, <mustChangePasswordFilter>, order = 2599, <org.springframework.sec
urity.web.access.intercept.FilterSecurityInterceptor#0>, order = 2600]
10:23:34.490 INFO org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor - Initializing ExecutorService
10:23:34.490 INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'asyncConnectorFacadeExecutor' of type [org.springframework.
scheduling.config.TaskExecutorFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
10:23:34.490 INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'asyncConnectorFacadeExecutor' of type [org.springframework.
scheduling.concurrent.ThreadPoolTaskExecutor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
10:23:34.757 ERROR com.zaxxer.hikari.HikariConfig - Failed to load driver class org.postgresql.Driver from HikariConfig class classloader WebappClassLoader
context: /syncope
delegate: false
repositories:
/WEB-INF/classes/
----------> Parent Classloader:
java.net.URLClassLoader@7a81197d
10:23:34.809 ERROR com.zaxxer.hikari.HikariConfig - Failed to load driver class org.postgresql.Driver from HikariConfig class classloader WebappClassLoader
context: /syncope
delegate: false
repositories:
/WEB-INF/classes/
----------> Parent Classloader:
java.net.URLClassLoader@7a81197d
10:23:34.810 INFO org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor - Shutting down ExecutorService
if I left in the bundles I get the following error:
➜ syncope git:(master) ✗ mvn clean verify \
> -Dconf.directory=/opt/syncope/conf \
> -Dbundles.directory=/opt/syncope/bundles \
> -Dlog.directory=/opt/syncope/log
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] Apache Syncope sample project
[INFO] Apache Syncope sample project - Common
[INFO] Apache Syncope sample project - Core
[INFO] Apache Syncope sample project - Console
[INFO] Apache Syncope sample project - Enduser
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache Syncope sample project 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ syncope ---
[INFO] Deleting /home/pwd/src/EIandAS/syncope/target
[INFO]
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven-version) @ syncope ---
[INFO]
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven) @ syncope ---
[INFO]
[INFO] --- gmaven-plugin:1.5:execute (default) @ syncope ---
[INFO]
[INFO] --- maven-remote-resources-plugin:1.5:process (process-resource-bundles) @ syncope ---
[INFO]
[INFO] --- maven-resources-plugin:3.1.0:copy-resources (copy-artifact-legal-files) @ syncope ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 0 resource
[INFO]
[INFO] --- maven-resources-plugin:3.1.0:copy-resources (copy-javadoc-legal-files) @ syncope ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 0 resource
[INFO]
[INFO] --- jacoco-maven-plugin:0.8.3:prepare-agent (jacoco-agent-ut) @ syncope ---
[INFO] argLine set to -javaagent:/home/pwd/.m2/repository/org/jacoco/org.jacoco.agent/0.8.3/org.jacoco.agent-0.8.3-runtime.jar=destfile=/home/pwd/src/EIandAS/syncope/target/jacoco.ut.exec,append=true -Xms512m -Xmx1024m -Xss256k
[INFO]
[INFO] --- maven-site-plugin:3.7.1:attach-descriptor (attach-descriptor) @ syncope ---
[INFO] No site descriptor found: nothing to attach.
[INFO]
[INFO] --- jacoco-maven-plugin:0.8.3:prepare-agent-integration (jacoco-agent-it) @ syncope ---
[INFO] argLine set to -javaagent:/home/pwd/.m2/repository/org/jacoco/org.jacoco.agent/0.8.3/org.jacoco.agent-0.8.3-runtime.jar=destfile=/home/pwd/src/EIandAS/syncope/target/jacoco.it.exec,append=true -Xms512m -Xmx1024m -Xss256k
[INFO]
[INFO] --- modernizer-maven-plugin:1.8.0:modernizer (modernizer-check) @ syncope ---
[INFO]
[INFO] --- maven-checkstyle-plugin:3.0.0:check (checkstyle-check) @ syncope ---
[INFO]
[INFO] --- jacoco-maven-plugin:0.8.3:report-aggregate (jacoco-site) @ syncope ---
[INFO]
[INFO] --- apache-rat-plugin:0.12:check (rat-check) @ syncope ---
[INFO] RAT will not execute since it is configured to be skipped via system property 'rat.skip'.
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache Syncope sample project - Common 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ syncope-common ---
[INFO] Deleting /home/pwd/src/EIandAS/syncope/common/target
[INFO]
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven-version) @ syncope-common ---
[INFO]
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven) @ syncope-common ---
[INFO]
[INFO] --- gmaven-plugin:1.5:execute (default) @ syncope-common ---
[INFO]
[INFO] --- maven-remote-resources-plugin:1.5:process (process-resource-bundles) @ syncope-common ---
[INFO]
[INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ syncope-common ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 0 resource
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-resources-plugin:3.1.0:copy-resources (copy-artifact-legal-files) @ syncope-common ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 0 resource
[INFO]
[INFO] --- maven-resources-plugin:3.1.0:copy-resources (copy-javadoc-legal-files) @ syncope-common ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 0 resource
[INFO]
[INFO] --- maven-compiler-plugin:3.8.0:compile (default-compile) @ syncope-common ---
[INFO] No sources to compile
[INFO]
[INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ syncope-common ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 0 resource
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.8.0:testCompile (default-testCompile) @ syncope-common ---
[INFO] No sources to compile
[INFO]
[INFO] --- jacoco-maven-plugin:0.8.3:prepare-agent (jacoco-agent-ut) @ syncope-common ---
[INFO] argLine set to -javaagent:/home/pwd/.m2/repository/org/jacoco/org.jacoco.agent/0.8.3/org.jacoco.agent-0.8.3-runtime.jar=destfile=/home/pwd/src/EIandAS/syncope/common/target/jacoco.ut.exec,append=true -Xms512m -Xmx1024m -Xss256k
[INFO]
[INFO] --- maven-surefire-plugin:2.22.1:test (default-test) @ syncope-common ---
[INFO]
[INFO] --- maven-jar-plugin:3.1.1:jar (default-jar) @ syncope-common ---
[INFO] Building jar: /home/pwd/src/EIandAS/syncope/common/target/syncope-common-1.0-SNAPSHOT.jar
[INFO]
[INFO] --- maven-site-plugin:3.7.1:attach-descriptor (attach-descriptor) @ syncope-common ---
[INFO] Skipping because packaging 'jar' is not pom.
[INFO]
[INFO] --- jacoco-maven-plugin:0.8.3:prepare-agent-integration (jacoco-agent-it) @ syncope-common ---
[INFO] argLine set to -javaagent:/home/pwd/.m2/repository/org/jacoco/org.jacoco.agent/0.8.3/org.jacoco.agent-0.8.3-runtime.jar=destfile=/home/pwd/src/EIandAS/syncope/common/target/jacoco.it.exec,append=true -Xms512m -Xmx1024m -Xss256k
[INFO]
[INFO] --- modernizer-maven-plugin:1.8.0:modernizer (modernizer-check) @ syncope-common ---
[INFO]
[INFO] --- maven-checkstyle-plugin:3.0.0:check (checkstyle-check) @ syncope-common ---
[INFO]
[INFO] --- jacoco-maven-plugin:0.8.3:report-aggregate (jacoco-site) @ syncope-common ---
[INFO]
[INFO] --- apache-rat-plugin:0.12:check (rat-check) @ syncope-common ---
[INFO] RAT will not execute since it is configured to be skipped via system property 'rat.skip'.
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache Syncope sample project - Core 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ syncope-core ---
[INFO] Deleting /home/pwd/src/EIandAS/syncope/core/target
[INFO]
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven-version) @ syncope-core ---
[INFO]
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven) @ syncope-core ---
[INFO]
[INFO] --- gmaven-plugin:1.5:execute (default) @ syncope-core ---
[INFO]
[INFO] --- maven-remote-resources-plugin:1.5:process (process-resource-bundles) @ syncope-core ---
[INFO]
[INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ syncope-core ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 32 resources
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-resources-plugin:3.1.0:copy-resources (copy-artifact-legal-files) @ syncope-core ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 0 resource
[INFO]
[INFO] --- maven-resources-plugin:3.1.0:copy-resources (copy-javadoc-legal-files) @ syncope-core ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 0 resource
[INFO]
[INFO] --- maven-compiler-plugin:3.8.0:compile (default-compile) @ syncope-core ---
[INFO] No sources to compile
[INFO]
[INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ syncope-core ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 26 resources
[INFO] Copying 1 resource
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-dependency-plugin:3.1.1:copy (set-bundles) @ syncope-core ---
[INFO] Configured Artifact: net.tirasa.connid.bundles.soap:net.tirasa.connid.bundles.soap:1.4.3:jar
[INFO] Configured Artifact: net.tirasa.connid.bundles:net.tirasa.connid.bundles.rest:1.0.4:jar
[INFO] Configured Artifact: net.tirasa.connid.bundles:net.tirasa.connid.bundles.csvdir:0.8.8:jar
[INFO] Configured Artifact: net.tirasa.connid.bundles.db:net.tirasa.connid.bundles.db.table:2.2.6:jar
[INFO] Configured Artifact: net.tirasa.connid.bundles.db:net.tirasa.connid.bundles.db.scriptedsql:2.2.6:jar
[INFO] Configured Artifact: net.tirasa.connid.bundles:net.tirasa.connid.bundles.ldap:1.5.3:jar
[INFO] Configured Artifact: net.tirasa.connid.bundles:net.tirasa.connid.bundles.ad:1.3.6:jar
[INFO] Configured Artifact: net.tirasa.connid.bundles:net.tirasa.connid.bundles.googleapps:1.4.2:jar
[INFO] Configured Artifact: net.tirasa.connid.bundles:net.tirasa.connid.bundles.azure:1.0.1:jar
[INFO] Configured Artifact: net.tirasa.connid.bundles:net.tirasa.connid.bundles.scimv11:1.0.1:jar
[INFO] Configured Artifact: net.tirasa.connid.bundles:net.tirasa.connid.bundles.servicenow:1.0.0:jar
[INFO] Copying net.tirasa.connid.bundles.soap-1.4.3.jar to /opt/syncope/bundles/net.tirasa.connid.bundles.soap-1.4.3.jar
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Apache Syncope sample project ..................... SUCCESS [4.310s]
[INFO] Apache Syncope sample project - Common ............ SUCCESS [1.233s]
[INFO] Apache Syncope sample project - Core .............. FAILURE [2.534s]
[INFO] Apache Syncope sample project - Console ........... SKIPPED
[INFO] Apache Syncope sample project - Enduser ........... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 8.341s
[INFO] Finished at: Thu Sep 05 10:29:47 EDT 2019
[INFO] Final Memory: 48M/628M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-dependency-plugin:3.1.1:copy (set-bundles) on project syncope-core: Error copying artifact from /home/pwd/.m2/repository/net/tirasa/connid/bundles/soap/net.tirasa.connid.bundles.soap/1.4.3/net.tirasa.connid.bundles.soap-1.4.3.jar to /opt/syncope/bundles/net.tirasa.connid.bundles.soap-1.4.3.jar -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :syncope-core
--
This email, and any files transmitted with it, are confidential
and intended solely for the use of the individual or entity to
whom they are addressed. If you have received this email in error,
please advise postmaster@mdtsoft.com <ma...@mdtsoft.com>.
3480 Preston Ridge Road
Suite 450
Alpharetta, GA 30005
Philip W. Dalrymple III <pw...@mdtsoft.com>
MDT Software - Automation Management Company
+1 678 297 1001
Fax +1 678 297 1003
________________________________________
From: Andrea Patricelli <an...@tirasa.net>
Sent: Thursday, September 5, 2019 10:07
To: user@syncope.apache.org
Subject: Re: Syncope trying to deploy using Maven and not getting login
P.S.
About the attached link: please take care to the doc starting from
documentation at "Deployment directories" section.
Il 05/09/19 16:04, Dalrymple, Philip ha scritto:
> OK I will give that a go.
>
>
> --
> This email, and any files transmitted with it, are confidential
> and intended solely for the use of the individual or entity to
> whom they are addressed. If you have received this email in error,
> please advise postmaster@mdtsoft.com <ma...@mdtsoft.com>.
>
> 3480 Preston Ridge Road
> Suite 450
> Alpharetta, GA 30005
>
> Philip W. Dalrymple III <pw...@mdtsoft.com>
> MDT Software - Automation Management Company
> +1 678 297 1001
> Fax +1 678 297 1003
>
> ________________________________________
> From: Andrea Patricelli <an...@apache.org>
> Sent: Thursday, September 5, 2019 10:03
> To: user@syncope.apache.org
> Subject: Re: Syncope trying to deploy using Maven and not getting login
>
> Ok, maybe I got your first problem.
>
> Please follow this [1]. Basically, in order to do a correct deploy, you
> should build with a special mvn command specifying bundles, logs and
> conf directories and, moreover, in order to let Syncope take correct
> configuration parameters (like for the jdbc connection) copy some of the
> properties files in sources under the specific conf directory.
>
> HTH,
> Andrea
>
> [1] https://syncope.apache.org/docs/2.1/reference-guide.html#customization
>
> Il 05/09/19 15:56, Dalrymple, Philip ha scritto:
>> OK this is weird
>>
>> I did a
>>
>> sudo find / -name "*core*.log*" -print
>>
>> and only find the logs from my first try using docker.
>> (was not able to customize well enough and switched to
>> maven deleting the docker images)
>>
>> I will keep looking.
>>
>>
>> --
>> This email, and any files transmitted with it, are confidential
>> and intended solely for the use of the individual or entity to
>> whom they are addressed. If you have received this email in error,
>> please advise postmaster@mdtsoft.com <ma...@mdtsoft.com>.
>>
>> 3480 Preston Ridge Road
>> Suite 450
>> Alpharetta, GA 30005
>>
>> Philip W. Dalrymple III <pw...@mdtsoft.com>
>> MDT Software - Automation Management Company
>> +1 678 297 1001
>> Fax +1 678 297 1003
>>
>> ________________________________________
>> From: Dalrymple, Philip <pw...@mdtsoft.com>
>> Sent: Thursday, September 5, 2019 9:53
>> To: user@syncope.apache.org
>> Subject: Re: Syncope trying to deploy using Maven and not getting login
>>
>>
>> OK I need to find where the logs are.
>>
>> --
>> This email, and any files transmitted with it, are confidential
>> and intended solely for the use of the individual or entity to
>> whom they are addressed. If you have received this email in error,
>> please advise postmaster@mdtsoft.com <ma...@mdtsoft.com>.
>>
>> 3480 Preston Ridge Road
>> Suite 450
>> Alpharetta, GA 30005
>>
>> Philip W. Dalrymple III <pw...@mdtsoft.com>
>> MDT Software - Automation Management Company
>> +1 678 297 1001
>> Fax +1 678 297 1003
>>
>> ________________________________________
>> From: Andrea Patricelli <an...@apache.org>
>> Sent: Thursday, September 5, 2019 9:52
>> To: user@syncope.apache.org
>> Subject: Re: Syncope trying to deploy using Maven and not getting login
>>
>> Hi Philip,
>>
>> you should check core.log, core-rest.log, core-persistence.log and
>> core-connid.log files in order to understand what is the problem.
>> The NOT FOUND error in console simply means that core is unavailable,
>> probably because it failed to start.
>>
>> Please check for exceptions in core*.log files and attach it into this
>> thread.
>>
>> Best regards,
>> Andrea
>>
>> Il 05/09/19 15:32, Dalrymple, Philip ha scritto:
>>> I am trying to deploy Syncope using the Maven method. I have followed the
>>> instructions in
>>>
>>> http://syncope.apache.org/docs/2.1/getting-started.html#maven-project
>>>
>>> and then edited core/src/main/resources/domains/Master.properties
>>>
>>> to have the correct postgres password, I re-did the mvn clean install
>>> and placed the war files in my tomcat/webapps directory, they deployed
>>> without me restarting tomcat.
>>>
>>> When I got to http://XXXXX:8080/syncope-console I get a 500 error (see below)
>>> when I got to .../syncope or .../syncope/index.html or .../syncope-enduser I get a 404 error.
>>>
>>> I checked in WEB-INF/classes/persistence.properties (in syncope) and it had the
>>> correct DB user, host, and password info and I verified that I could connect to the DB BUT
>>> the DB was empty.
>>>
>>> the stack trace on the syncope-console
>>>
>>>
>>> type Exception report
>>>
>>> message Unable to instantiate web session class org.apache.syncope.client.console.SyncopeConsoleSession
>>>
>>> description The server encountered an internal error that prevented it from fulfilling this request.
>>>
>>> exception
>>>
>>> org.apache.wicket.WicketRuntimeException: Unable to instantiate web session class org.apache.syncope.client.console.SyncopeConsoleSession
>>> org.apache.wicket.authroles.authentication.AuthenticatedWebApplication.newSession(AuthenticatedWebApplication.java:121)
>>> org.apache.wicket.Application.fetchCreateAndSetSession(Application.java:1555)
>>> org.apache.wicket.Session.get(Session.java:176)
>>> org.apache.syncope.client.console.SyncopeConsoleSession.get(SyncopeConsoleSession.java:91)
>>> org.apache.syncope.client.console.SyncopeConsoleRequestCycleListener.onException(SyncopeConsoleRequestCycleListener.java:80)
>>> org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:126)
>>> org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:122)
>>> org.apache.wicket.util.listener.ListenerCollection.notify(ListenerCollection.java:80)
>>> org.apache.wicket.request.cycle.RequestCycleListenerCollection.onException(RequestCycleListenerCollection.java:121)
>>> org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:126)
>>> org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:122)
>>> org.apache.wicket.util.listener.ListenerCollection.notify(ListenerCollection.java:80)
>>> org.apache.wicket.request.cycle.RequestCycleListenerCollection.onException(RequestCycleListenerCollection.java:121)
>>> org.apache.wicket.request.cycle.RequestCycle.handleException(RequestCycle.java:368)
>>> org.apache.wicket.request.cycle.RequestCycle.executeExceptionRequestHandler(RequestCycle.java:314)
>>> org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:259)
>>> org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:221)
>>> org.apache.wicket.protocol.ws.AbstractUpgradeFilter.processRequestCycle(AbstractUpgradeFilter.java:70)
>>> org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:206)
>>> org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:299)
>>>
>>> root cause
>>>
>>> java.lang.reflect.InvocationTargetException
>>> sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
>>> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
>>> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
>>> java.lang.reflect.Constructor.newInstance(Constructor.java:423)
>>> org.apache.wicket.authroles.authentication.AuthenticatedWebApplication.newSession(AuthenticatedWebApplication.java:117)
>>> org.apache.wicket.Application.fetchCreateAndSetSession(Application.java:1555)
>>> org.apache.wicket.Session.get(Session.java:176)
>>> org.apache.syncope.client.console.SyncopeConsoleSession.get(SyncopeConsoleSession.java:91)
>>> org.apache.syncope.client.console.SyncopeConsoleRequestCycleListener.onException(SyncopeConsoleRequestCycleListener.java:80)
>>> org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:126)
>>> org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:122)
>>> org.apache.wicket.util.listener.ListenerCollection.notify(ListenerCollection.java:80)
>>> org.apache.wicket.request.cycle.RequestCycleListenerCollection.onException(RequestCycleListenerCollection.java:121)
>>> org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:126)
>>> org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:122)
>>> org.apache.wicket.util.listener.ListenerCollection.notify(ListenerCollection.java:80)
>>> org.apache.wicket.request.cycle.RequestCycleListenerCollection.onException(RequestCycleListenerCollection.java:121)
>>> org.apache.wicket.request.cycle.RequestCycle.handleException(RequestCycle.java:368)
>>> org.apache.wicket.request.cycle.RequestCycle.executeExceptionRequestHandler(RequestCycle.java:314)
>>> org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:259)
>>> org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:221)
>>> org.apache.wicket.protocol.ws.AbstractUpgradeFilter.processRequestCycle(AbstractUpgradeFilter.java:70)
>>> org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:206)
>>> org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:299)
>>>
>>> root cause
>>>
>>> javax.xml.ws.WebServiceException: Remote exception with status code: NOT_FOUND
>>> org.apache.syncope.client.lib.RestClientExceptionMapper.fromResponse(RestClientExceptionMapper.java:76)
>>> org.apache.syncope.client.lib.RestClientExceptionMapper.fromResponse(RestClientExceptionMapper.java:42)
>>> org.apache.cxf.jaxrs.client.ClientProxyImpl.checkResponse(ClientProxyImpl.java:372)
>>> org.apache.cxf.jaxrs.client.ClientProxyImpl.handleResponse(ClientProxyImpl.java:948)
>>> org.apache.cxf.jaxrs.client.ClientProxyImpl.doChainedInvocation(ClientProxyImpl.java:854)
>>> org.apache.cxf.jaxrs.client.ClientProxyImpl.invoke(ClientProxyImpl.java:295)
>>> com.sun.proxy.$Proxy119.platform(Unknown Source)
>>> org.apache.syncope.client.console.SyncopeConsoleSession.<init>(SyncopeConsoleSession.java:103)
>>> sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
>>> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
>>> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
>>> java.lang.reflect.Constructor.newInstance(Constructor.java:423)
>>> org.apache.wicket.authroles.authentication.AuthenticatedWebApplication.newSession(AuthenticatedWebApplication.java:117)
>>> org.apache.wicket.Application.fetchCreateAndSetSession(Application.java:1555)
>>> org.apache.wicket.Session.get(Session.java:176)
>>> org.apache.syncope.client.console.SyncopeConsoleSession.get(SyncopeConsoleSession.java:91)
>>> org.apache.syncope.client.console.SyncopeConsoleRequestCycleListener.onException(SyncopeConsoleRequestCycleListener.java:80)
>>> org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:126)
>>> org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:122)
>>> org.apache.wicket.util.listener.ListenerCollection.notify(ListenerCollection.java:80)
>>> org.apache.wicket.request.cycle.RequestCycleListenerCollection.onException(RequestCycleListenerCollection.java:121)
>>> org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:126)
>>> org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:122)
>>> org.apache.wicket.util.listener.ListenerCollection.notify(ListenerCollection.java:80)
>>> org.apache.wicket.request.cycle.RequestCycleListenerCollection.onException(RequestCycleListenerCollection.java:121)
>>> org.apache.wicket.request.cycle.RequestCycle.handleException(RequestCycle.java:368)
>>> org.apache.wicket.request.cycle.RequestCycle.executeExceptionRequestHandler(RequestCycle.java:314)
>>> org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:259)
>>> org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:221)
>>> org.apache.wicket.protocol.ws.AbstractUpgradeFilter.processRequestCycle(AbstractUpgradeFilter.java:70)
>>> org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:206)
>>> org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:299)
>>>
>>>
>>> thanks
>>>
>>>
>>> --
>>> This email, and any files transmitted with it, are confidential
>>> and intended solely for the use of the individual or entity to
>>> whom they are addressed. If you have received this email in error,
>>> please advise postmaster@mdtsoft.com <ma...@mdtsoft.com>.
>>>
>>> 3480 Preston Ridge Road
>>> Suite 450
>>> Alpharetta, GA 30005
>>>
>>> Philip W. Dalrymple III <pw...@mdtsoft.com>
>>> MDT Software - Automation Management Company
>>> +1 678 297 1001
>>> Fax +1 678 297 1003
>> --
>> Dott. Andrea Patricelli
>> Tel. +39 3204524292
>>
>> Engineer @ Tirasa S.r.l.
>> Viale Vittoria Colonna 97 - 65127 Pescara
>> Tel +39 0859116307 / FAX +39 0859111173
>> http://www.tirasa.net
>>
>> Apache Syncope PMC Member
>>
> --
> Dott. Andrea Patricelli
> Tel. +39 3204524292
>
> Engineer @ Tirasa S.r.l.
> Viale Vittoria Colonna 97 - 65127 Pescara
> Tel +39 0859116307 / FAX +39 0859111173
> http://www.tirasa.net
>
> Apache Syncope PMC Member
>
--
Dott. Andrea Patricelli
Tel. +39 3204524292
Engineer @ Tirasa S.r.l.
Viale Vittoria Colonna 97 - 65127 Pescara
Tel +39 0859116307 / FAX +39 0859111173
http://www.tirasa.net
Apache Syncope PMC Member
Re: Syncope trying to deploy using Maven and not getting login
Posted by Andrea Patricelli <an...@tirasa.net>.
P.S.
About the attached link: please take care to the doc starting from
documentation at "Deployment directories" section.
Il 05/09/19 16:04, Dalrymple, Philip ha scritto:
> OK I will give that a go.
>
>
> --
> This email, and any files transmitted with it, are confidential
> and intended solely for the use of the individual or entity to
> whom they are addressed. If you have received this email in error,
> please advise postmaster@mdtsoft.com <ma...@mdtsoft.com>.
>
> 3480 Preston Ridge Road
> Suite 450
> Alpharetta, GA 30005
>
> Philip W. Dalrymple III <pw...@mdtsoft.com>
> MDT Software - Automation Management Company
> +1 678 297 1001
> Fax +1 678 297 1003
>
> ________________________________________
> From: Andrea Patricelli <an...@apache.org>
> Sent: Thursday, September 5, 2019 10:03
> To: user@syncope.apache.org
> Subject: Re: Syncope trying to deploy using Maven and not getting login
>
> Ok, maybe I got your first problem.
>
> Please follow this [1]. Basically, in order to do a correct deploy, you
> should build with a special mvn command specifying bundles, logs and
> conf directories and, moreover, in order to let Syncope take correct
> configuration parameters (like for the jdbc connection) copy some of the
> properties files in sources under the specific conf directory.
>
> HTH,
> Andrea
>
> [1] https://syncope.apache.org/docs/2.1/reference-guide.html#customization
>
> Il 05/09/19 15:56, Dalrymple, Philip ha scritto:
>> OK this is weird
>>
>> I did a
>>
>> sudo find / -name "*core*.log*" -print
>>
>> and only find the logs from my first try using docker.
>> (was not able to customize well enough and switched to
>> maven deleting the docker images)
>>
>> I will keep looking.
>>
>>
>> --
>> This email, and any files transmitted with it, are confidential
>> and intended solely for the use of the individual or entity to
>> whom they are addressed. If you have received this email in error,
>> please advise postmaster@mdtsoft.com <ma...@mdtsoft.com>.
>>
>> 3480 Preston Ridge Road
>> Suite 450
>> Alpharetta, GA 30005
>>
>> Philip W. Dalrymple III <pw...@mdtsoft.com>
>> MDT Software - Automation Management Company
>> +1 678 297 1001
>> Fax +1 678 297 1003
>>
>> ________________________________________
>> From: Dalrymple, Philip <pw...@mdtsoft.com>
>> Sent: Thursday, September 5, 2019 9:53
>> To: user@syncope.apache.org
>> Subject: Re: Syncope trying to deploy using Maven and not getting login
>>
>>
>> OK I need to find where the logs are.
>>
>> --
>> This email, and any files transmitted with it, are confidential
>> and intended solely for the use of the individual or entity to
>> whom they are addressed. If you have received this email in error,
>> please advise postmaster@mdtsoft.com <ma...@mdtsoft.com>.
>>
>> 3480 Preston Ridge Road
>> Suite 450
>> Alpharetta, GA 30005
>>
>> Philip W. Dalrymple III <pw...@mdtsoft.com>
>> MDT Software - Automation Management Company
>> +1 678 297 1001
>> Fax +1 678 297 1003
>>
>> ________________________________________
>> From: Andrea Patricelli <an...@apache.org>
>> Sent: Thursday, September 5, 2019 9:52
>> To: user@syncope.apache.org
>> Subject: Re: Syncope trying to deploy using Maven and not getting login
>>
>> Hi Philip,
>>
>> you should check core.log, core-rest.log, core-persistence.log and
>> core-connid.log files in order to understand what is the problem.
>> The NOT FOUND error in console simply means that core is unavailable,
>> probably because it failed to start.
>>
>> Please check for exceptions in core*.log files and attach it into this
>> thread.
>>
>> Best regards,
>> Andrea
>>
>> Il 05/09/19 15:32, Dalrymple, Philip ha scritto:
>>> I am trying to deploy Syncope using the Maven method. I have followed the
>>> instructions in
>>>
>>> http://syncope.apache.org/docs/2.1/getting-started.html#maven-project
>>>
>>> and then edited core/src/main/resources/domains/Master.properties
>>>
>>> to have the correct postgres password, I re-did the mvn clean install
>>> and placed the war files in my tomcat/webapps directory, they deployed
>>> without me restarting tomcat.
>>>
>>> When I got to http://XXXXX:8080/syncope-console I get a 500 error (see below)
>>> when I got to .../syncope or .../syncope/index.html or .../syncope-enduser I get a 404 error.
>>>
>>> I checked in WEB-INF/classes/persistence.properties (in syncope) and it had the
>>> correct DB user, host, and password info and I verified that I could connect to the DB BUT
>>> the DB was empty.
>>>
>>> the stack trace on the syncope-console
>>>
>>>
>>> type Exception report
>>>
>>> message Unable to instantiate web session class org.apache.syncope.client.console.SyncopeConsoleSession
>>>
>>> description The server encountered an internal error that prevented it from fulfilling this request.
>>>
>>> exception
>>>
>>> org.apache.wicket.WicketRuntimeException: Unable to instantiate web session class org.apache.syncope.client.console.SyncopeConsoleSession
>>> org.apache.wicket.authroles.authentication.AuthenticatedWebApplication.newSession(AuthenticatedWebApplication.java:121)
>>> org.apache.wicket.Application.fetchCreateAndSetSession(Application.java:1555)
>>> org.apache.wicket.Session.get(Session.java:176)
>>> org.apache.syncope.client.console.SyncopeConsoleSession.get(SyncopeConsoleSession.java:91)
>>> org.apache.syncope.client.console.SyncopeConsoleRequestCycleListener.onException(SyncopeConsoleRequestCycleListener.java:80)
>>> org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:126)
>>> org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:122)
>>> org.apache.wicket.util.listener.ListenerCollection.notify(ListenerCollection.java:80)
>>> org.apache.wicket.request.cycle.RequestCycleListenerCollection.onException(RequestCycleListenerCollection.java:121)
>>> org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:126)
>>> org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:122)
>>> org.apache.wicket.util.listener.ListenerCollection.notify(ListenerCollection.java:80)
>>> org.apache.wicket.request.cycle.RequestCycleListenerCollection.onException(RequestCycleListenerCollection.java:121)
>>> org.apache.wicket.request.cycle.RequestCycle.handleException(RequestCycle.java:368)
>>> org.apache.wicket.request.cycle.RequestCycle.executeExceptionRequestHandler(RequestCycle.java:314)
>>> org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:259)
>>> org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:221)
>>> org.apache.wicket.protocol.ws.AbstractUpgradeFilter.processRequestCycle(AbstractUpgradeFilter.java:70)
>>> org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:206)
>>> org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:299)
>>>
>>> root cause
>>>
>>> java.lang.reflect.InvocationTargetException
>>> sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
>>> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
>>> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
>>> java.lang.reflect.Constructor.newInstance(Constructor.java:423)
>>> org.apache.wicket.authroles.authentication.AuthenticatedWebApplication.newSession(AuthenticatedWebApplication.java:117)
>>> org.apache.wicket.Application.fetchCreateAndSetSession(Application.java:1555)
>>> org.apache.wicket.Session.get(Session.java:176)
>>> org.apache.syncope.client.console.SyncopeConsoleSession.get(SyncopeConsoleSession.java:91)
>>> org.apache.syncope.client.console.SyncopeConsoleRequestCycleListener.onException(SyncopeConsoleRequestCycleListener.java:80)
>>> org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:126)
>>> org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:122)
>>> org.apache.wicket.util.listener.ListenerCollection.notify(ListenerCollection.java:80)
>>> org.apache.wicket.request.cycle.RequestCycleListenerCollection.onException(RequestCycleListenerCollection.java:121)
>>> org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:126)
>>> org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:122)
>>> org.apache.wicket.util.listener.ListenerCollection.notify(ListenerCollection.java:80)
>>> org.apache.wicket.request.cycle.RequestCycleListenerCollection.onException(RequestCycleListenerCollection.java:121)
>>> org.apache.wicket.request.cycle.RequestCycle.handleException(RequestCycle.java:368)
>>> org.apache.wicket.request.cycle.RequestCycle.executeExceptionRequestHandler(RequestCycle.java:314)
>>> org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:259)
>>> org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:221)
>>> org.apache.wicket.protocol.ws.AbstractUpgradeFilter.processRequestCycle(AbstractUpgradeFilter.java:70)
>>> org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:206)
>>> org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:299)
>>>
>>> root cause
>>>
>>> javax.xml.ws.WebServiceException: Remote exception with status code: NOT_FOUND
>>> org.apache.syncope.client.lib.RestClientExceptionMapper.fromResponse(RestClientExceptionMapper.java:76)
>>> org.apache.syncope.client.lib.RestClientExceptionMapper.fromResponse(RestClientExceptionMapper.java:42)
>>> org.apache.cxf.jaxrs.client.ClientProxyImpl.checkResponse(ClientProxyImpl.java:372)
>>> org.apache.cxf.jaxrs.client.ClientProxyImpl.handleResponse(ClientProxyImpl.java:948)
>>> org.apache.cxf.jaxrs.client.ClientProxyImpl.doChainedInvocation(ClientProxyImpl.java:854)
>>> org.apache.cxf.jaxrs.client.ClientProxyImpl.invoke(ClientProxyImpl.java:295)
>>> com.sun.proxy.$Proxy119.platform(Unknown Source)
>>> org.apache.syncope.client.console.SyncopeConsoleSession.<init>(SyncopeConsoleSession.java:103)
>>> sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
>>> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
>>> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
>>> java.lang.reflect.Constructor.newInstance(Constructor.java:423)
>>> org.apache.wicket.authroles.authentication.AuthenticatedWebApplication.newSession(AuthenticatedWebApplication.java:117)
>>> org.apache.wicket.Application.fetchCreateAndSetSession(Application.java:1555)
>>> org.apache.wicket.Session.get(Session.java:176)
>>> org.apache.syncope.client.console.SyncopeConsoleSession.get(SyncopeConsoleSession.java:91)
>>> org.apache.syncope.client.console.SyncopeConsoleRequestCycleListener.onException(SyncopeConsoleRequestCycleListener.java:80)
>>> org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:126)
>>> org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:122)
>>> org.apache.wicket.util.listener.ListenerCollection.notify(ListenerCollection.java:80)
>>> org.apache.wicket.request.cycle.RequestCycleListenerCollection.onException(RequestCycleListenerCollection.java:121)
>>> org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:126)
>>> org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:122)
>>> org.apache.wicket.util.listener.ListenerCollection.notify(ListenerCollection.java:80)
>>> org.apache.wicket.request.cycle.RequestCycleListenerCollection.onException(RequestCycleListenerCollection.java:121)
>>> org.apache.wicket.request.cycle.RequestCycle.handleException(RequestCycle.java:368)
>>> org.apache.wicket.request.cycle.RequestCycle.executeExceptionRequestHandler(RequestCycle.java:314)
>>> org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:259)
>>> org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:221)
>>> org.apache.wicket.protocol.ws.AbstractUpgradeFilter.processRequestCycle(AbstractUpgradeFilter.java:70)
>>> org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:206)
>>> org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:299)
>>>
>>>
>>> thanks
>>>
>>>
>>> --
>>> This email, and any files transmitted with it, are confidential
>>> and intended solely for the use of the individual or entity to
>>> whom they are addressed. If you have received this email in error,
>>> please advise postmaster@mdtsoft.com <ma...@mdtsoft.com>.
>>>
>>> 3480 Preston Ridge Road
>>> Suite 450
>>> Alpharetta, GA 30005
>>>
>>> Philip W. Dalrymple III <pw...@mdtsoft.com>
>>> MDT Software - Automation Management Company
>>> +1 678 297 1001
>>> Fax +1 678 297 1003
>> --
>> Dott. Andrea Patricelli
>> Tel. +39 3204524292
>>
>> Engineer @ Tirasa S.r.l.
>> Viale Vittoria Colonna 97 - 65127 Pescara
>> Tel +39 0859116307 / FAX +39 0859111173
>> http://www.tirasa.net
>>
>> Apache Syncope PMC Member
>>
> --
> Dott. Andrea Patricelli
> Tel. +39 3204524292
>
> Engineer @ Tirasa S.r.l.
> Viale Vittoria Colonna 97 - 65127 Pescara
> Tel +39 0859116307 / FAX +39 0859111173
> http://www.tirasa.net
>
> Apache Syncope PMC Member
>
--
Dott. Andrea Patricelli
Tel. +39 3204524292
Engineer @ Tirasa S.r.l.
Viale Vittoria Colonna 97 - 65127 Pescara
Tel +39 0859116307 / FAX +39 0859111173
http://www.tirasa.net
Apache Syncope PMC Member
Re: Syncope trying to deploy using Maven and not getting login
Posted by "Dalrymple, Philip" <pw...@mdtsoft.com>.
OK I will give that a go.
--
This email, and any files transmitted with it, are confidential
and intended solely for the use of the individual or entity to
whom they are addressed. If you have received this email in error,
please advise postmaster@mdtsoft.com <ma...@mdtsoft.com>.
3480 Preston Ridge Road
Suite 450
Alpharetta, GA 30005
Philip W. Dalrymple III <pw...@mdtsoft.com>
MDT Software - Automation Management Company
+1 678 297 1001
Fax +1 678 297 1003
________________________________________
From: Andrea Patricelli <an...@apache.org>
Sent: Thursday, September 5, 2019 10:03
To: user@syncope.apache.org
Subject: Re: Syncope trying to deploy using Maven and not getting login
Ok, maybe I got your first problem.
Please follow this [1]. Basically, in order to do a correct deploy, you
should build with a special mvn command specifying bundles, logs and
conf directories and, moreover, in order to let Syncope take correct
configuration parameters (like for the jdbc connection) copy some of the
properties files in sources under the specific conf directory.
HTH,
Andrea
[1] https://syncope.apache.org/docs/2.1/reference-guide.html#customization
Il 05/09/19 15:56, Dalrymple, Philip ha scritto:
> OK this is weird
>
> I did a
>
> sudo find / -name "*core*.log*" -print
>
> and only find the logs from my first try using docker.
> (was not able to customize well enough and switched to
> maven deleting the docker images)
>
> I will keep looking.
>
>
> --
> This email, and any files transmitted with it, are confidential
> and intended solely for the use of the individual or entity to
> whom they are addressed. If you have received this email in error,
> please advise postmaster@mdtsoft.com <ma...@mdtsoft.com>.
>
> 3480 Preston Ridge Road
> Suite 450
> Alpharetta, GA 30005
>
> Philip W. Dalrymple III <pw...@mdtsoft.com>
> MDT Software - Automation Management Company
> +1 678 297 1001
> Fax +1 678 297 1003
>
> ________________________________________
> From: Dalrymple, Philip <pw...@mdtsoft.com>
> Sent: Thursday, September 5, 2019 9:53
> To: user@syncope.apache.org
> Subject: Re: Syncope trying to deploy using Maven and not getting login
>
>
> OK I need to find where the logs are.
>
> --
> This email, and any files transmitted with it, are confidential
> and intended solely for the use of the individual or entity to
> whom they are addressed. If you have received this email in error,
> please advise postmaster@mdtsoft.com <ma...@mdtsoft.com>.
>
> 3480 Preston Ridge Road
> Suite 450
> Alpharetta, GA 30005
>
> Philip W. Dalrymple III <pw...@mdtsoft.com>
> MDT Software - Automation Management Company
> +1 678 297 1001
> Fax +1 678 297 1003
>
> ________________________________________
> From: Andrea Patricelli <an...@apache.org>
> Sent: Thursday, September 5, 2019 9:52
> To: user@syncope.apache.org
> Subject: Re: Syncope trying to deploy using Maven and not getting login
>
> Hi Philip,
>
> you should check core.log, core-rest.log, core-persistence.log and
> core-connid.log files in order to understand what is the problem.
> The NOT FOUND error in console simply means that core is unavailable,
> probably because it failed to start.
>
> Please check for exceptions in core*.log files and attach it into this
> thread.
>
> Best regards,
> Andrea
>
> Il 05/09/19 15:32, Dalrymple, Philip ha scritto:
>> I am trying to deploy Syncope using the Maven method. I have followed the
>> instructions in
>>
>> http://syncope.apache.org/docs/2.1/getting-started.html#maven-project
>>
>> and then edited core/src/main/resources/domains/Master.properties
>>
>> to have the correct postgres password, I re-did the mvn clean install
>> and placed the war files in my tomcat/webapps directory, they deployed
>> without me restarting tomcat.
>>
>> When I got to http://XXXXX:8080/syncope-console I get a 500 error (see below)
>> when I got to .../syncope or .../syncope/index.html or .../syncope-enduser I get a 404 error.
>>
>> I checked in WEB-INF/classes/persistence.properties (in syncope) and it had the
>> correct DB user, host, and password info and I verified that I could connect to the DB BUT
>> the DB was empty.
>>
>> the stack trace on the syncope-console
>>
>>
>> type Exception report
>>
>> message Unable to instantiate web session class org.apache.syncope.client.console.SyncopeConsoleSession
>>
>> description The server encountered an internal error that prevented it from fulfilling this request.
>>
>> exception
>>
>> org.apache.wicket.WicketRuntimeException: Unable to instantiate web session class org.apache.syncope.client.console.SyncopeConsoleSession
>> org.apache.wicket.authroles.authentication.AuthenticatedWebApplication.newSession(AuthenticatedWebApplication.java:121)
>> org.apache.wicket.Application.fetchCreateAndSetSession(Application.java:1555)
>> org.apache.wicket.Session.get(Session.java:176)
>> org.apache.syncope.client.console.SyncopeConsoleSession.get(SyncopeConsoleSession.java:91)
>> org.apache.syncope.client.console.SyncopeConsoleRequestCycleListener.onException(SyncopeConsoleRequestCycleListener.java:80)
>> org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:126)
>> org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:122)
>> org.apache.wicket.util.listener.ListenerCollection.notify(ListenerCollection.java:80)
>> org.apache.wicket.request.cycle.RequestCycleListenerCollection.onException(RequestCycleListenerCollection.java:121)
>> org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:126)
>> org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:122)
>> org.apache.wicket.util.listener.ListenerCollection.notify(ListenerCollection.java:80)
>> org.apache.wicket.request.cycle.RequestCycleListenerCollection.onException(RequestCycleListenerCollection.java:121)
>> org.apache.wicket.request.cycle.RequestCycle.handleException(RequestCycle.java:368)
>> org.apache.wicket.request.cycle.RequestCycle.executeExceptionRequestHandler(RequestCycle.java:314)
>> org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:259)
>> org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:221)
>> org.apache.wicket.protocol.ws.AbstractUpgradeFilter.processRequestCycle(AbstractUpgradeFilter.java:70)
>> org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:206)
>> org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:299)
>>
>> root cause
>>
>> java.lang.reflect.InvocationTargetException
>> sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
>> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
>> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
>> java.lang.reflect.Constructor.newInstance(Constructor.java:423)
>> org.apache.wicket.authroles.authentication.AuthenticatedWebApplication.newSession(AuthenticatedWebApplication.java:117)
>> org.apache.wicket.Application.fetchCreateAndSetSession(Application.java:1555)
>> org.apache.wicket.Session.get(Session.java:176)
>> org.apache.syncope.client.console.SyncopeConsoleSession.get(SyncopeConsoleSession.java:91)
>> org.apache.syncope.client.console.SyncopeConsoleRequestCycleListener.onException(SyncopeConsoleRequestCycleListener.java:80)
>> org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:126)
>> org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:122)
>> org.apache.wicket.util.listener.ListenerCollection.notify(ListenerCollection.java:80)
>> org.apache.wicket.request.cycle.RequestCycleListenerCollection.onException(RequestCycleListenerCollection.java:121)
>> org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:126)
>> org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:122)
>> org.apache.wicket.util.listener.ListenerCollection.notify(ListenerCollection.java:80)
>> org.apache.wicket.request.cycle.RequestCycleListenerCollection.onException(RequestCycleListenerCollection.java:121)
>> org.apache.wicket.request.cycle.RequestCycle.handleException(RequestCycle.java:368)
>> org.apache.wicket.request.cycle.RequestCycle.executeExceptionRequestHandler(RequestCycle.java:314)
>> org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:259)
>> org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:221)
>> org.apache.wicket.protocol.ws.AbstractUpgradeFilter.processRequestCycle(AbstractUpgradeFilter.java:70)
>> org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:206)
>> org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:299)
>>
>> root cause
>>
>> javax.xml.ws.WebServiceException: Remote exception with status code: NOT_FOUND
>> org.apache.syncope.client.lib.RestClientExceptionMapper.fromResponse(RestClientExceptionMapper.java:76)
>> org.apache.syncope.client.lib.RestClientExceptionMapper.fromResponse(RestClientExceptionMapper.java:42)
>> org.apache.cxf.jaxrs.client.ClientProxyImpl.checkResponse(ClientProxyImpl.java:372)
>> org.apache.cxf.jaxrs.client.ClientProxyImpl.handleResponse(ClientProxyImpl.java:948)
>> org.apache.cxf.jaxrs.client.ClientProxyImpl.doChainedInvocation(ClientProxyImpl.java:854)
>> org.apache.cxf.jaxrs.client.ClientProxyImpl.invoke(ClientProxyImpl.java:295)
>> com.sun.proxy.$Proxy119.platform(Unknown Source)
>> org.apache.syncope.client.console.SyncopeConsoleSession.<init>(SyncopeConsoleSession.java:103)
>> sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
>> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
>> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
>> java.lang.reflect.Constructor.newInstance(Constructor.java:423)
>> org.apache.wicket.authroles.authentication.AuthenticatedWebApplication.newSession(AuthenticatedWebApplication.java:117)
>> org.apache.wicket.Application.fetchCreateAndSetSession(Application.java:1555)
>> org.apache.wicket.Session.get(Session.java:176)
>> org.apache.syncope.client.console.SyncopeConsoleSession.get(SyncopeConsoleSession.java:91)
>> org.apache.syncope.client.console.SyncopeConsoleRequestCycleListener.onException(SyncopeConsoleRequestCycleListener.java:80)
>> org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:126)
>> org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:122)
>> org.apache.wicket.util.listener.ListenerCollection.notify(ListenerCollection.java:80)
>> org.apache.wicket.request.cycle.RequestCycleListenerCollection.onException(RequestCycleListenerCollection.java:121)
>> org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:126)
>> org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:122)
>> org.apache.wicket.util.listener.ListenerCollection.notify(ListenerCollection.java:80)
>> org.apache.wicket.request.cycle.RequestCycleListenerCollection.onException(RequestCycleListenerCollection.java:121)
>> org.apache.wicket.request.cycle.RequestCycle.handleException(RequestCycle.java:368)
>> org.apache.wicket.request.cycle.RequestCycle.executeExceptionRequestHandler(RequestCycle.java:314)
>> org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:259)
>> org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:221)
>> org.apache.wicket.protocol.ws.AbstractUpgradeFilter.processRequestCycle(AbstractUpgradeFilter.java:70)
>> org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:206)
>> org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:299)
>>
>>
>> thanks
>>
>>
>> --
>> This email, and any files transmitted with it, are confidential
>> and intended solely for the use of the individual or entity to
>> whom they are addressed. If you have received this email in error,
>> please advise postmaster@mdtsoft.com <ma...@mdtsoft.com>.
>>
>> 3480 Preston Ridge Road
>> Suite 450
>> Alpharetta, GA 30005
>>
>> Philip W. Dalrymple III <pw...@mdtsoft.com>
>> MDT Software - Automation Management Company
>> +1 678 297 1001
>> Fax +1 678 297 1003
> --
> Dott. Andrea Patricelli
> Tel. +39 3204524292
>
> Engineer @ Tirasa S.r.l.
> Viale Vittoria Colonna 97 - 65127 Pescara
> Tel +39 0859116307 / FAX +39 0859111173
> http://www.tirasa.net
>
> Apache Syncope PMC Member
>
--
Dott. Andrea Patricelli
Tel. +39 3204524292
Engineer @ Tirasa S.r.l.
Viale Vittoria Colonna 97 - 65127 Pescara
Tel +39 0859116307 / FAX +39 0859111173
http://www.tirasa.net
Apache Syncope PMC Member
Re: Syncope trying to deploy using Maven and not getting login
Posted by Andrea Patricelli <an...@apache.org>.
Ok, maybe I got your first problem.
Please follow this [1]. Basically, in order to do a correct deploy, you
should build with a special mvn command specifying bundles, logs and
conf directories and, moreover, in order to let Syncope take correct
configuration parameters (like for the jdbc connection) copy some of the
properties files in sources under the specific conf directory.
HTH,
Andrea
[1] https://syncope.apache.org/docs/2.1/reference-guide.html#customization
Il 05/09/19 15:56, Dalrymple, Philip ha scritto:
> OK this is weird
>
> I did a
>
> sudo find / -name "*core*.log*" -print
>
> and only find the logs from my first try using docker.
> (was not able to customize well enough and switched to
> maven deleting the docker images)
>
> I will keep looking.
>
>
> --
> This email, and any files transmitted with it, are confidential
> and intended solely for the use of the individual or entity to
> whom they are addressed. If you have received this email in error,
> please advise postmaster@mdtsoft.com <ma...@mdtsoft.com>.
>
> 3480 Preston Ridge Road
> Suite 450
> Alpharetta, GA 30005
>
> Philip W. Dalrymple III <pw...@mdtsoft.com>
> MDT Software - Automation Management Company
> +1 678 297 1001
> Fax +1 678 297 1003
>
> ________________________________________
> From: Dalrymple, Philip <pw...@mdtsoft.com>
> Sent: Thursday, September 5, 2019 9:53
> To: user@syncope.apache.org
> Subject: Re: Syncope trying to deploy using Maven and not getting login
>
>
> OK I need to find where the logs are.
>
> --
> This email, and any files transmitted with it, are confidential
> and intended solely for the use of the individual or entity to
> whom they are addressed. If you have received this email in error,
> please advise postmaster@mdtsoft.com <ma...@mdtsoft.com>.
>
> 3480 Preston Ridge Road
> Suite 450
> Alpharetta, GA 30005
>
> Philip W. Dalrymple III <pw...@mdtsoft.com>
> MDT Software - Automation Management Company
> +1 678 297 1001
> Fax +1 678 297 1003
>
> ________________________________________
> From: Andrea Patricelli <an...@apache.org>
> Sent: Thursday, September 5, 2019 9:52
> To: user@syncope.apache.org
> Subject: Re: Syncope trying to deploy using Maven and not getting login
>
> Hi Philip,
>
> you should check core.log, core-rest.log, core-persistence.log and
> core-connid.log files in order to understand what is the problem.
> The NOT FOUND error in console simply means that core is unavailable,
> probably because it failed to start.
>
> Please check for exceptions in core*.log files and attach it into this
> thread.
>
> Best regards,
> Andrea
>
> Il 05/09/19 15:32, Dalrymple, Philip ha scritto:
>> I am trying to deploy Syncope using the Maven method. I have followed the
>> instructions in
>>
>> http://syncope.apache.org/docs/2.1/getting-started.html#maven-project
>>
>> and then edited core/src/main/resources/domains/Master.properties
>>
>> to have the correct postgres password, I re-did the mvn clean install
>> and placed the war files in my tomcat/webapps directory, they deployed
>> without me restarting tomcat.
>>
>> When I got to http://XXXXX:8080/syncope-console I get a 500 error (see below)
>> when I got to .../syncope or .../syncope/index.html or .../syncope-enduser I get a 404 error.
>>
>> I checked in WEB-INF/classes/persistence.properties (in syncope) and it had the
>> correct DB user, host, and password info and I verified that I could connect to the DB BUT
>> the DB was empty.
>>
>> the stack trace on the syncope-console
>>
>>
>> type Exception report
>>
>> message Unable to instantiate web session class org.apache.syncope.client.console.SyncopeConsoleSession
>>
>> description The server encountered an internal error that prevented it from fulfilling this request.
>>
>> exception
>>
>> org.apache.wicket.WicketRuntimeException: Unable to instantiate web session class org.apache.syncope.client.console.SyncopeConsoleSession
>> org.apache.wicket.authroles.authentication.AuthenticatedWebApplication.newSession(AuthenticatedWebApplication.java:121)
>> org.apache.wicket.Application.fetchCreateAndSetSession(Application.java:1555)
>> org.apache.wicket.Session.get(Session.java:176)
>> org.apache.syncope.client.console.SyncopeConsoleSession.get(SyncopeConsoleSession.java:91)
>> org.apache.syncope.client.console.SyncopeConsoleRequestCycleListener.onException(SyncopeConsoleRequestCycleListener.java:80)
>> org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:126)
>> org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:122)
>> org.apache.wicket.util.listener.ListenerCollection.notify(ListenerCollection.java:80)
>> org.apache.wicket.request.cycle.RequestCycleListenerCollection.onException(RequestCycleListenerCollection.java:121)
>> org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:126)
>> org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:122)
>> org.apache.wicket.util.listener.ListenerCollection.notify(ListenerCollection.java:80)
>> org.apache.wicket.request.cycle.RequestCycleListenerCollection.onException(RequestCycleListenerCollection.java:121)
>> org.apache.wicket.request.cycle.RequestCycle.handleException(RequestCycle.java:368)
>> org.apache.wicket.request.cycle.RequestCycle.executeExceptionRequestHandler(RequestCycle.java:314)
>> org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:259)
>> org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:221)
>> org.apache.wicket.protocol.ws.AbstractUpgradeFilter.processRequestCycle(AbstractUpgradeFilter.java:70)
>> org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:206)
>> org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:299)
>>
>> root cause
>>
>> java.lang.reflect.InvocationTargetException
>> sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
>> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
>> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
>> java.lang.reflect.Constructor.newInstance(Constructor.java:423)
>> org.apache.wicket.authroles.authentication.AuthenticatedWebApplication.newSession(AuthenticatedWebApplication.java:117)
>> org.apache.wicket.Application.fetchCreateAndSetSession(Application.java:1555)
>> org.apache.wicket.Session.get(Session.java:176)
>> org.apache.syncope.client.console.SyncopeConsoleSession.get(SyncopeConsoleSession.java:91)
>> org.apache.syncope.client.console.SyncopeConsoleRequestCycleListener.onException(SyncopeConsoleRequestCycleListener.java:80)
>> org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:126)
>> org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:122)
>> org.apache.wicket.util.listener.ListenerCollection.notify(ListenerCollection.java:80)
>> org.apache.wicket.request.cycle.RequestCycleListenerCollection.onException(RequestCycleListenerCollection.java:121)
>> org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:126)
>> org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:122)
>> org.apache.wicket.util.listener.ListenerCollection.notify(ListenerCollection.java:80)
>> org.apache.wicket.request.cycle.RequestCycleListenerCollection.onException(RequestCycleListenerCollection.java:121)
>> org.apache.wicket.request.cycle.RequestCycle.handleException(RequestCycle.java:368)
>> org.apache.wicket.request.cycle.RequestCycle.executeExceptionRequestHandler(RequestCycle.java:314)
>> org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:259)
>> org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:221)
>> org.apache.wicket.protocol.ws.AbstractUpgradeFilter.processRequestCycle(AbstractUpgradeFilter.java:70)
>> org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:206)
>> org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:299)
>>
>> root cause
>>
>> javax.xml.ws.WebServiceException: Remote exception with status code: NOT_FOUND
>> org.apache.syncope.client.lib.RestClientExceptionMapper.fromResponse(RestClientExceptionMapper.java:76)
>> org.apache.syncope.client.lib.RestClientExceptionMapper.fromResponse(RestClientExceptionMapper.java:42)
>> org.apache.cxf.jaxrs.client.ClientProxyImpl.checkResponse(ClientProxyImpl.java:372)
>> org.apache.cxf.jaxrs.client.ClientProxyImpl.handleResponse(ClientProxyImpl.java:948)
>> org.apache.cxf.jaxrs.client.ClientProxyImpl.doChainedInvocation(ClientProxyImpl.java:854)
>> org.apache.cxf.jaxrs.client.ClientProxyImpl.invoke(ClientProxyImpl.java:295)
>> com.sun.proxy.$Proxy119.platform(Unknown Source)
>> org.apache.syncope.client.console.SyncopeConsoleSession.<init>(SyncopeConsoleSession.java:103)
>> sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
>> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
>> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
>> java.lang.reflect.Constructor.newInstance(Constructor.java:423)
>> org.apache.wicket.authroles.authentication.AuthenticatedWebApplication.newSession(AuthenticatedWebApplication.java:117)
>> org.apache.wicket.Application.fetchCreateAndSetSession(Application.java:1555)
>> org.apache.wicket.Session.get(Session.java:176)
>> org.apache.syncope.client.console.SyncopeConsoleSession.get(SyncopeConsoleSession.java:91)
>> org.apache.syncope.client.console.SyncopeConsoleRequestCycleListener.onException(SyncopeConsoleRequestCycleListener.java:80)
>> org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:126)
>> org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:122)
>> org.apache.wicket.util.listener.ListenerCollection.notify(ListenerCollection.java:80)
>> org.apache.wicket.request.cycle.RequestCycleListenerCollection.onException(RequestCycleListenerCollection.java:121)
>> org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:126)
>> org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:122)
>> org.apache.wicket.util.listener.ListenerCollection.notify(ListenerCollection.java:80)
>> org.apache.wicket.request.cycle.RequestCycleListenerCollection.onException(RequestCycleListenerCollection.java:121)
>> org.apache.wicket.request.cycle.RequestCycle.handleException(RequestCycle.java:368)
>> org.apache.wicket.request.cycle.RequestCycle.executeExceptionRequestHandler(RequestCycle.java:314)
>> org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:259)
>> org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:221)
>> org.apache.wicket.protocol.ws.AbstractUpgradeFilter.processRequestCycle(AbstractUpgradeFilter.java:70)
>> org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:206)
>> org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:299)
>>
>>
>> thanks
>>
>>
>> --
>> This email, and any files transmitted with it, are confidential
>> and intended solely for the use of the individual or entity to
>> whom they are addressed. If you have received this email in error,
>> please advise postmaster@mdtsoft.com <ma...@mdtsoft.com>.
>>
>> 3480 Preston Ridge Road
>> Suite 450
>> Alpharetta, GA 30005
>>
>> Philip W. Dalrymple III <pw...@mdtsoft.com>
>> MDT Software - Automation Management Company
>> +1 678 297 1001
>> Fax +1 678 297 1003
> --
> Dott. Andrea Patricelli
> Tel. +39 3204524292
>
> Engineer @ Tirasa S.r.l.
> Viale Vittoria Colonna 97 - 65127 Pescara
> Tel +39 0859116307 / FAX +39 0859111173
> http://www.tirasa.net
>
> Apache Syncope PMC Member
>
--
Dott. Andrea Patricelli
Tel. +39 3204524292
Engineer @ Tirasa S.r.l.
Viale Vittoria Colonna 97 - 65127 Pescara
Tel +39 0859116307 / FAX +39 0859111173
http://www.tirasa.net
Apache Syncope PMC Member
Re: Syncope trying to deploy using Maven and not getting login
Posted by "Dalrymple, Philip" <pw...@mdtsoft.com>.
OK this is weird
I did a
sudo find / -name "*core*.log*" -print
and only find the logs from my first try using docker.
(was not able to customize well enough and switched to
maven deleting the docker images)
I will keep looking.
--
This email, and any files transmitted with it, are confidential
and intended solely for the use of the individual or entity to
whom they are addressed. If you have received this email in error,
please advise postmaster@mdtsoft.com <ma...@mdtsoft.com>.
3480 Preston Ridge Road
Suite 450
Alpharetta, GA 30005
Philip W. Dalrymple III <pw...@mdtsoft.com>
MDT Software - Automation Management Company
+1 678 297 1001
Fax +1 678 297 1003
________________________________________
From: Dalrymple, Philip <pw...@mdtsoft.com>
Sent: Thursday, September 5, 2019 9:53
To: user@syncope.apache.org
Subject: Re: Syncope trying to deploy using Maven and not getting login
OK I need to find where the logs are.
--
This email, and any files transmitted with it, are confidential
and intended solely for the use of the individual or entity to
whom they are addressed. If you have received this email in error,
please advise postmaster@mdtsoft.com <ma...@mdtsoft.com>.
3480 Preston Ridge Road
Suite 450
Alpharetta, GA 30005
Philip W. Dalrymple III <pw...@mdtsoft.com>
MDT Software - Automation Management Company
+1 678 297 1001
Fax +1 678 297 1003
________________________________________
From: Andrea Patricelli <an...@apache.org>
Sent: Thursday, September 5, 2019 9:52
To: user@syncope.apache.org
Subject: Re: Syncope trying to deploy using Maven and not getting login
Hi Philip,
you should check core.log, core-rest.log, core-persistence.log and
core-connid.log files in order to understand what is the problem.
The NOT FOUND error in console simply means that core is unavailable,
probably because it failed to start.
Please check for exceptions in core*.log files and attach it into this
thread.
Best regards,
Andrea
Il 05/09/19 15:32, Dalrymple, Philip ha scritto:
> I am trying to deploy Syncope using the Maven method. I have followed the
> instructions in
>
> http://syncope.apache.org/docs/2.1/getting-started.html#maven-project
>
> and then edited core/src/main/resources/domains/Master.properties
>
> to have the correct postgres password, I re-did the mvn clean install
> and placed the war files in my tomcat/webapps directory, they deployed
> without me restarting tomcat.
>
> When I got to http://XXXXX:8080/syncope-console I get a 500 error (see below)
> when I got to .../syncope or .../syncope/index.html or .../syncope-enduser I get a 404 error.
>
> I checked in WEB-INF/classes/persistence.properties (in syncope) and it had the
> correct DB user, host, and password info and I verified that I could connect to the DB BUT
> the DB was empty.
>
> the stack trace on the syncope-console
>
>
> type Exception report
>
> message Unable to instantiate web session class org.apache.syncope.client.console.SyncopeConsoleSession
>
> description The server encountered an internal error that prevented it from fulfilling this request.
>
> exception
>
> org.apache.wicket.WicketRuntimeException: Unable to instantiate web session class org.apache.syncope.client.console.SyncopeConsoleSession
> org.apache.wicket.authroles.authentication.AuthenticatedWebApplication.newSession(AuthenticatedWebApplication.java:121)
> org.apache.wicket.Application.fetchCreateAndSetSession(Application.java:1555)
> org.apache.wicket.Session.get(Session.java:176)
> org.apache.syncope.client.console.SyncopeConsoleSession.get(SyncopeConsoleSession.java:91)
> org.apache.syncope.client.console.SyncopeConsoleRequestCycleListener.onException(SyncopeConsoleRequestCycleListener.java:80)
> org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:126)
> org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:122)
> org.apache.wicket.util.listener.ListenerCollection.notify(ListenerCollection.java:80)
> org.apache.wicket.request.cycle.RequestCycleListenerCollection.onException(RequestCycleListenerCollection.java:121)
> org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:126)
> org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:122)
> org.apache.wicket.util.listener.ListenerCollection.notify(ListenerCollection.java:80)
> org.apache.wicket.request.cycle.RequestCycleListenerCollection.onException(RequestCycleListenerCollection.java:121)
> org.apache.wicket.request.cycle.RequestCycle.handleException(RequestCycle.java:368)
> org.apache.wicket.request.cycle.RequestCycle.executeExceptionRequestHandler(RequestCycle.java:314)
> org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:259)
> org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:221)
> org.apache.wicket.protocol.ws.AbstractUpgradeFilter.processRequestCycle(AbstractUpgradeFilter.java:70)
> org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:206)
> org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:299)
>
> root cause
>
> java.lang.reflect.InvocationTargetException
> sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
> java.lang.reflect.Constructor.newInstance(Constructor.java:423)
> org.apache.wicket.authroles.authentication.AuthenticatedWebApplication.newSession(AuthenticatedWebApplication.java:117)
> org.apache.wicket.Application.fetchCreateAndSetSession(Application.java:1555)
> org.apache.wicket.Session.get(Session.java:176)
> org.apache.syncope.client.console.SyncopeConsoleSession.get(SyncopeConsoleSession.java:91)
> org.apache.syncope.client.console.SyncopeConsoleRequestCycleListener.onException(SyncopeConsoleRequestCycleListener.java:80)
> org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:126)
> org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:122)
> org.apache.wicket.util.listener.ListenerCollection.notify(ListenerCollection.java:80)
> org.apache.wicket.request.cycle.RequestCycleListenerCollection.onException(RequestCycleListenerCollection.java:121)
> org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:126)
> org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:122)
> org.apache.wicket.util.listener.ListenerCollection.notify(ListenerCollection.java:80)
> org.apache.wicket.request.cycle.RequestCycleListenerCollection.onException(RequestCycleListenerCollection.java:121)
> org.apache.wicket.request.cycle.RequestCycle.handleException(RequestCycle.java:368)
> org.apache.wicket.request.cycle.RequestCycle.executeExceptionRequestHandler(RequestCycle.java:314)
> org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:259)
> org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:221)
> org.apache.wicket.protocol.ws.AbstractUpgradeFilter.processRequestCycle(AbstractUpgradeFilter.java:70)
> org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:206)
> org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:299)
>
> root cause
>
> javax.xml.ws.WebServiceException: Remote exception with status code: NOT_FOUND
> org.apache.syncope.client.lib.RestClientExceptionMapper.fromResponse(RestClientExceptionMapper.java:76)
> org.apache.syncope.client.lib.RestClientExceptionMapper.fromResponse(RestClientExceptionMapper.java:42)
> org.apache.cxf.jaxrs.client.ClientProxyImpl.checkResponse(ClientProxyImpl.java:372)
> org.apache.cxf.jaxrs.client.ClientProxyImpl.handleResponse(ClientProxyImpl.java:948)
> org.apache.cxf.jaxrs.client.ClientProxyImpl.doChainedInvocation(ClientProxyImpl.java:854)
> org.apache.cxf.jaxrs.client.ClientProxyImpl.invoke(ClientProxyImpl.java:295)
> com.sun.proxy.$Proxy119.platform(Unknown Source)
> org.apache.syncope.client.console.SyncopeConsoleSession.<init>(SyncopeConsoleSession.java:103)
> sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
> java.lang.reflect.Constructor.newInstance(Constructor.java:423)
> org.apache.wicket.authroles.authentication.AuthenticatedWebApplication.newSession(AuthenticatedWebApplication.java:117)
> org.apache.wicket.Application.fetchCreateAndSetSession(Application.java:1555)
> org.apache.wicket.Session.get(Session.java:176)
> org.apache.syncope.client.console.SyncopeConsoleSession.get(SyncopeConsoleSession.java:91)
> org.apache.syncope.client.console.SyncopeConsoleRequestCycleListener.onException(SyncopeConsoleRequestCycleListener.java:80)
> org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:126)
> org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:122)
> org.apache.wicket.util.listener.ListenerCollection.notify(ListenerCollection.java:80)
> org.apache.wicket.request.cycle.RequestCycleListenerCollection.onException(RequestCycleListenerCollection.java:121)
> org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:126)
> org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:122)
> org.apache.wicket.util.listener.ListenerCollection.notify(ListenerCollection.java:80)
> org.apache.wicket.request.cycle.RequestCycleListenerCollection.onException(RequestCycleListenerCollection.java:121)
> org.apache.wicket.request.cycle.RequestCycle.handleException(RequestCycle.java:368)
> org.apache.wicket.request.cycle.RequestCycle.executeExceptionRequestHandler(RequestCycle.java:314)
> org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:259)
> org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:221)
> org.apache.wicket.protocol.ws.AbstractUpgradeFilter.processRequestCycle(AbstractUpgradeFilter.java:70)
> org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:206)
> org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:299)
>
>
> thanks
>
>
> --
> This email, and any files transmitted with it, are confidential
> and intended solely for the use of the individual or entity to
> whom they are addressed. If you have received this email in error,
> please advise postmaster@mdtsoft.com <ma...@mdtsoft.com>.
>
> 3480 Preston Ridge Road
> Suite 450
> Alpharetta, GA 30005
>
> Philip W. Dalrymple III <pw...@mdtsoft.com>
> MDT Software - Automation Management Company
> +1 678 297 1001
> Fax +1 678 297 1003
--
Dott. Andrea Patricelli
Tel. +39 3204524292
Engineer @ Tirasa S.r.l.
Viale Vittoria Colonna 97 - 65127 Pescara
Tel +39 0859116307 / FAX +39 0859111173
http://www.tirasa.net
Apache Syncope PMC Member
Re: Syncope trying to deploy using Maven and not getting login
Posted by "Dalrymple, Philip" <pw...@mdtsoft.com>.
OK I need to find where the logs are.
--
This email, and any files transmitted with it, are confidential
and intended solely for the use of the individual or entity to
whom they are addressed. If you have received this email in error,
please advise postmaster@mdtsoft.com <ma...@mdtsoft.com>.
3480 Preston Ridge Road
Suite 450
Alpharetta, GA 30005
Philip W. Dalrymple III <pw...@mdtsoft.com>
MDT Software - Automation Management Company
+1 678 297 1001
Fax +1 678 297 1003
________________________________________
From: Andrea Patricelli <an...@apache.org>
Sent: Thursday, September 5, 2019 9:52
To: user@syncope.apache.org
Subject: Re: Syncope trying to deploy using Maven and not getting login
Hi Philip,
you should check core.log, core-rest.log, core-persistence.log and
core-connid.log files in order to understand what is the problem.
The NOT FOUND error in console simply means that core is unavailable,
probably because it failed to start.
Please check for exceptions in core*.log files and attach it into this
thread.
Best regards,
Andrea
Il 05/09/19 15:32, Dalrymple, Philip ha scritto:
> I am trying to deploy Syncope using the Maven method. I have followed the
> instructions in
>
> http://syncope.apache.org/docs/2.1/getting-started.html#maven-project
>
> and then edited core/src/main/resources/domains/Master.properties
>
> to have the correct postgres password, I re-did the mvn clean install
> and placed the war files in my tomcat/webapps directory, they deployed
> without me restarting tomcat.
>
> When I got to http://XXXXX:8080/syncope-console I get a 500 error (see below)
> when I got to .../syncope or .../syncope/index.html or .../syncope-enduser I get a 404 error.
>
> I checked in WEB-INF/classes/persistence.properties (in syncope) and it had the
> correct DB user, host, and password info and I verified that I could connect to the DB BUT
> the DB was empty.
>
> the stack trace on the syncope-console
>
>
> type Exception report
>
> message Unable to instantiate web session class org.apache.syncope.client.console.SyncopeConsoleSession
>
> description The server encountered an internal error that prevented it from fulfilling this request.
>
> exception
>
> org.apache.wicket.WicketRuntimeException: Unable to instantiate web session class org.apache.syncope.client.console.SyncopeConsoleSession
> org.apache.wicket.authroles.authentication.AuthenticatedWebApplication.newSession(AuthenticatedWebApplication.java:121)
> org.apache.wicket.Application.fetchCreateAndSetSession(Application.java:1555)
> org.apache.wicket.Session.get(Session.java:176)
> org.apache.syncope.client.console.SyncopeConsoleSession.get(SyncopeConsoleSession.java:91)
> org.apache.syncope.client.console.SyncopeConsoleRequestCycleListener.onException(SyncopeConsoleRequestCycleListener.java:80)
> org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:126)
> org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:122)
> org.apache.wicket.util.listener.ListenerCollection.notify(ListenerCollection.java:80)
> org.apache.wicket.request.cycle.RequestCycleListenerCollection.onException(RequestCycleListenerCollection.java:121)
> org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:126)
> org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:122)
> org.apache.wicket.util.listener.ListenerCollection.notify(ListenerCollection.java:80)
> org.apache.wicket.request.cycle.RequestCycleListenerCollection.onException(RequestCycleListenerCollection.java:121)
> org.apache.wicket.request.cycle.RequestCycle.handleException(RequestCycle.java:368)
> org.apache.wicket.request.cycle.RequestCycle.executeExceptionRequestHandler(RequestCycle.java:314)
> org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:259)
> org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:221)
> org.apache.wicket.protocol.ws.AbstractUpgradeFilter.processRequestCycle(AbstractUpgradeFilter.java:70)
> org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:206)
> org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:299)
>
> root cause
>
> java.lang.reflect.InvocationTargetException
> sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
> java.lang.reflect.Constructor.newInstance(Constructor.java:423)
> org.apache.wicket.authroles.authentication.AuthenticatedWebApplication.newSession(AuthenticatedWebApplication.java:117)
> org.apache.wicket.Application.fetchCreateAndSetSession(Application.java:1555)
> org.apache.wicket.Session.get(Session.java:176)
> org.apache.syncope.client.console.SyncopeConsoleSession.get(SyncopeConsoleSession.java:91)
> org.apache.syncope.client.console.SyncopeConsoleRequestCycleListener.onException(SyncopeConsoleRequestCycleListener.java:80)
> org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:126)
> org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:122)
> org.apache.wicket.util.listener.ListenerCollection.notify(ListenerCollection.java:80)
> org.apache.wicket.request.cycle.RequestCycleListenerCollection.onException(RequestCycleListenerCollection.java:121)
> org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:126)
> org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:122)
> org.apache.wicket.util.listener.ListenerCollection.notify(ListenerCollection.java:80)
> org.apache.wicket.request.cycle.RequestCycleListenerCollection.onException(RequestCycleListenerCollection.java:121)
> org.apache.wicket.request.cycle.RequestCycle.handleException(RequestCycle.java:368)
> org.apache.wicket.request.cycle.RequestCycle.executeExceptionRequestHandler(RequestCycle.java:314)
> org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:259)
> org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:221)
> org.apache.wicket.protocol.ws.AbstractUpgradeFilter.processRequestCycle(AbstractUpgradeFilter.java:70)
> org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:206)
> org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:299)
>
> root cause
>
> javax.xml.ws.WebServiceException: Remote exception with status code: NOT_FOUND
> org.apache.syncope.client.lib.RestClientExceptionMapper.fromResponse(RestClientExceptionMapper.java:76)
> org.apache.syncope.client.lib.RestClientExceptionMapper.fromResponse(RestClientExceptionMapper.java:42)
> org.apache.cxf.jaxrs.client.ClientProxyImpl.checkResponse(ClientProxyImpl.java:372)
> org.apache.cxf.jaxrs.client.ClientProxyImpl.handleResponse(ClientProxyImpl.java:948)
> org.apache.cxf.jaxrs.client.ClientProxyImpl.doChainedInvocation(ClientProxyImpl.java:854)
> org.apache.cxf.jaxrs.client.ClientProxyImpl.invoke(ClientProxyImpl.java:295)
> com.sun.proxy.$Proxy119.platform(Unknown Source)
> org.apache.syncope.client.console.SyncopeConsoleSession.<init>(SyncopeConsoleSession.java:103)
> sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
> java.lang.reflect.Constructor.newInstance(Constructor.java:423)
> org.apache.wicket.authroles.authentication.AuthenticatedWebApplication.newSession(AuthenticatedWebApplication.java:117)
> org.apache.wicket.Application.fetchCreateAndSetSession(Application.java:1555)
> org.apache.wicket.Session.get(Session.java:176)
> org.apache.syncope.client.console.SyncopeConsoleSession.get(SyncopeConsoleSession.java:91)
> org.apache.syncope.client.console.SyncopeConsoleRequestCycleListener.onException(SyncopeConsoleRequestCycleListener.java:80)
> org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:126)
> org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:122)
> org.apache.wicket.util.listener.ListenerCollection.notify(ListenerCollection.java:80)
> org.apache.wicket.request.cycle.RequestCycleListenerCollection.onException(RequestCycleListenerCollection.java:121)
> org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:126)
> org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:122)
> org.apache.wicket.util.listener.ListenerCollection.notify(ListenerCollection.java:80)
> org.apache.wicket.request.cycle.RequestCycleListenerCollection.onException(RequestCycleListenerCollection.java:121)
> org.apache.wicket.request.cycle.RequestCycle.handleException(RequestCycle.java:368)
> org.apache.wicket.request.cycle.RequestCycle.executeExceptionRequestHandler(RequestCycle.java:314)
> org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:259)
> org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:221)
> org.apache.wicket.protocol.ws.AbstractUpgradeFilter.processRequestCycle(AbstractUpgradeFilter.java:70)
> org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:206)
> org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:299)
>
>
> thanks
>
>
> --
> This email, and any files transmitted with it, are confidential
> and intended solely for the use of the individual or entity to
> whom they are addressed. If you have received this email in error,
> please advise postmaster@mdtsoft.com <ma...@mdtsoft.com>.
>
> 3480 Preston Ridge Road
> Suite 450
> Alpharetta, GA 30005
>
> Philip W. Dalrymple III <pw...@mdtsoft.com>
> MDT Software - Automation Management Company
> +1 678 297 1001
> Fax +1 678 297 1003
--
Dott. Andrea Patricelli
Tel. +39 3204524292
Engineer @ Tirasa S.r.l.
Viale Vittoria Colonna 97 - 65127 Pescara
Tel +39 0859116307 / FAX +39 0859111173
http://www.tirasa.net
Apache Syncope PMC Member
Re: Syncope trying to deploy using Maven and not getting login
Posted by Andrea Patricelli <an...@apache.org>.
Hi Philip,
you should check core.log, core-rest.log, core-persistence.log and
core-connid.log files in order to understand what is the problem.
The NOT FOUND error in console simply means that core is unavailable,
probably because it failed to start.
Please check for exceptions in core*.log files and attach it into this
thread.
Best regards,
Andrea
Il 05/09/19 15:32, Dalrymple, Philip ha scritto:
> I am trying to deploy Syncope using the Maven method. I have followed the
> instructions in
>
> http://syncope.apache.org/docs/2.1/getting-started.html#maven-project
>
> and then edited core/src/main/resources/domains/Master.properties
>
> to have the correct postgres password, I re-did the mvn clean install
> and placed the war files in my tomcat/webapps directory, they deployed
> without me restarting tomcat.
>
> When I got to http://XXXXX:8080/syncope-console I get a 500 error (see below)
> when I got to .../syncope or .../syncope/index.html or .../syncope-enduser I get a 404 error.
>
> I checked in WEB-INF/classes/persistence.properties (in syncope) and it had the
> correct DB user, host, and password info and I verified that I could connect to the DB BUT
> the DB was empty.
>
> the stack trace on the syncope-console
>
>
> type Exception report
>
> message Unable to instantiate web session class org.apache.syncope.client.console.SyncopeConsoleSession
>
> description The server encountered an internal error that prevented it from fulfilling this request.
>
> exception
>
> org.apache.wicket.WicketRuntimeException: Unable to instantiate web session class org.apache.syncope.client.console.SyncopeConsoleSession
> org.apache.wicket.authroles.authentication.AuthenticatedWebApplication.newSession(AuthenticatedWebApplication.java:121)
> org.apache.wicket.Application.fetchCreateAndSetSession(Application.java:1555)
> org.apache.wicket.Session.get(Session.java:176)
> org.apache.syncope.client.console.SyncopeConsoleSession.get(SyncopeConsoleSession.java:91)
> org.apache.syncope.client.console.SyncopeConsoleRequestCycleListener.onException(SyncopeConsoleRequestCycleListener.java:80)
> org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:126)
> org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:122)
> org.apache.wicket.util.listener.ListenerCollection.notify(ListenerCollection.java:80)
> org.apache.wicket.request.cycle.RequestCycleListenerCollection.onException(RequestCycleListenerCollection.java:121)
> org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:126)
> org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:122)
> org.apache.wicket.util.listener.ListenerCollection.notify(ListenerCollection.java:80)
> org.apache.wicket.request.cycle.RequestCycleListenerCollection.onException(RequestCycleListenerCollection.java:121)
> org.apache.wicket.request.cycle.RequestCycle.handleException(RequestCycle.java:368)
> org.apache.wicket.request.cycle.RequestCycle.executeExceptionRequestHandler(RequestCycle.java:314)
> org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:259)
> org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:221)
> org.apache.wicket.protocol.ws.AbstractUpgradeFilter.processRequestCycle(AbstractUpgradeFilter.java:70)
> org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:206)
> org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:299)
>
> root cause
>
> java.lang.reflect.InvocationTargetException
> sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
> java.lang.reflect.Constructor.newInstance(Constructor.java:423)
> org.apache.wicket.authroles.authentication.AuthenticatedWebApplication.newSession(AuthenticatedWebApplication.java:117)
> org.apache.wicket.Application.fetchCreateAndSetSession(Application.java:1555)
> org.apache.wicket.Session.get(Session.java:176)
> org.apache.syncope.client.console.SyncopeConsoleSession.get(SyncopeConsoleSession.java:91)
> org.apache.syncope.client.console.SyncopeConsoleRequestCycleListener.onException(SyncopeConsoleRequestCycleListener.java:80)
> org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:126)
> org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:122)
> org.apache.wicket.util.listener.ListenerCollection.notify(ListenerCollection.java:80)
> org.apache.wicket.request.cycle.RequestCycleListenerCollection.onException(RequestCycleListenerCollection.java:121)
> org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:126)
> org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:122)
> org.apache.wicket.util.listener.ListenerCollection.notify(ListenerCollection.java:80)
> org.apache.wicket.request.cycle.RequestCycleListenerCollection.onException(RequestCycleListenerCollection.java:121)
> org.apache.wicket.request.cycle.RequestCycle.handleException(RequestCycle.java:368)
> org.apache.wicket.request.cycle.RequestCycle.executeExceptionRequestHandler(RequestCycle.java:314)
> org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:259)
> org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:221)
> org.apache.wicket.protocol.ws.AbstractUpgradeFilter.processRequestCycle(AbstractUpgradeFilter.java:70)
> org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:206)
> org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:299)
>
> root cause
>
> javax.xml.ws.WebServiceException: Remote exception with status code: NOT_FOUND
> org.apache.syncope.client.lib.RestClientExceptionMapper.fromResponse(RestClientExceptionMapper.java:76)
> org.apache.syncope.client.lib.RestClientExceptionMapper.fromResponse(RestClientExceptionMapper.java:42)
> org.apache.cxf.jaxrs.client.ClientProxyImpl.checkResponse(ClientProxyImpl.java:372)
> org.apache.cxf.jaxrs.client.ClientProxyImpl.handleResponse(ClientProxyImpl.java:948)
> org.apache.cxf.jaxrs.client.ClientProxyImpl.doChainedInvocation(ClientProxyImpl.java:854)
> org.apache.cxf.jaxrs.client.ClientProxyImpl.invoke(ClientProxyImpl.java:295)
> com.sun.proxy.$Proxy119.platform(Unknown Source)
> org.apache.syncope.client.console.SyncopeConsoleSession.<init>(SyncopeConsoleSession.java:103)
> sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
> java.lang.reflect.Constructor.newInstance(Constructor.java:423)
> org.apache.wicket.authroles.authentication.AuthenticatedWebApplication.newSession(AuthenticatedWebApplication.java:117)
> org.apache.wicket.Application.fetchCreateAndSetSession(Application.java:1555)
> org.apache.wicket.Session.get(Session.java:176)
> org.apache.syncope.client.console.SyncopeConsoleSession.get(SyncopeConsoleSession.java:91)
> org.apache.syncope.client.console.SyncopeConsoleRequestCycleListener.onException(SyncopeConsoleRequestCycleListener.java:80)
> org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:126)
> org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:122)
> org.apache.wicket.util.listener.ListenerCollection.notify(ListenerCollection.java:80)
> org.apache.wicket.request.cycle.RequestCycleListenerCollection.onException(RequestCycleListenerCollection.java:121)
> org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:126)
> org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:122)
> org.apache.wicket.util.listener.ListenerCollection.notify(ListenerCollection.java:80)
> org.apache.wicket.request.cycle.RequestCycleListenerCollection.onException(RequestCycleListenerCollection.java:121)
> org.apache.wicket.request.cycle.RequestCycle.handleException(RequestCycle.java:368)
> org.apache.wicket.request.cycle.RequestCycle.executeExceptionRequestHandler(RequestCycle.java:314)
> org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:259)
> org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:221)
> org.apache.wicket.protocol.ws.AbstractUpgradeFilter.processRequestCycle(AbstractUpgradeFilter.java:70)
> org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:206)
> org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:299)
>
>
> thanks
>
>
> --
> This email, and any files transmitted with it, are confidential
> and intended solely for the use of the individual or entity to
> whom they are addressed. If you have received this email in error,
> please advise postmaster@mdtsoft.com <ma...@mdtsoft.com>.
>
> 3480 Preston Ridge Road
> Suite 450
> Alpharetta, GA 30005
>
> Philip W. Dalrymple III <pw...@mdtsoft.com>
> MDT Software - Automation Management Company
> +1 678 297 1001
> Fax +1 678 297 1003
--
Dott. Andrea Patricelli
Tel. +39 3204524292
Engineer @ Tirasa S.r.l.
Viale Vittoria Colonna 97 - 65127 Pescara
Tel +39 0859116307 / FAX +39 0859111173
http://www.tirasa.net
Apache Syncope PMC Member
Re: Syncope trying to deploy using Maven and not getting login
Posted by "Dalrymple, Philip" <pw...@mdtsoft.com>.
OOPS forgot to say
Apache Tomcat/7.0.76
JAVA 1.8.0_222-b10 Oracle Corporation
OS (Centos 7) Linux 3.10.0-957.27.2.el7.x86_64
--
This email, and any files transmitted with it, are confidential
and intended solely for the use of the individual or entity to
whom they are addressed. If you have received this email in error,
please advise postmaster@mdtsoft.com <ma...@mdtsoft.com>.
3480 Preston Ridge Road
Suite 450
Alpharetta, GA 30005
Philip W. Dalrymple III <pw...@mdtsoft.com>
MDT Software - Automation Management Company
+1 678 297 1001
Fax +1 678 297 1003
________________________________________
From: Dalrymple, Philip <pw...@mdtsoft.com>
Sent: Thursday, September 5, 2019 9:32
To: user@syncope.apache.org
Subject: Syncope trying to deploy using Maven and not getting login
I am trying to deploy Syncope using the Maven method. I have followed the
instructions in
http://syncope.apache.org/docs/2.1/getting-started.html#maven-project
and then edited core/src/main/resources/domains/Master.properties
to have the correct postgres password, I re-did the mvn clean install
and placed the war files in my tomcat/webapps directory, they deployed
without me restarting tomcat.
When I got to http://XXXXX:8080/syncope-console I get a 500 error (see below)
when I got to .../syncope or .../syncope/index.html or .../syncope-enduser I get a 404 error.
I checked in WEB-INF/classes/persistence.properties (in syncope) and it had the
correct DB user, host, and password info and I verified that I could connect to the DB BUT
the DB was empty.
the stack trace on the syncope-console
type Exception report
message Unable to instantiate web session class org.apache.syncope.client.console.SyncopeConsoleSession
description The server encountered an internal error that prevented it from fulfilling this request.
exception
org.apache.wicket.WicketRuntimeException: Unable to instantiate web session class org.apache.syncope.client.console.SyncopeConsoleSession
org.apache.wicket.authroles.authentication.AuthenticatedWebApplication.newSession(AuthenticatedWebApplication.java:121)
org.apache.wicket.Application.fetchCreateAndSetSession(Application.java:1555)
org.apache.wicket.Session.get(Session.java:176)
org.apache.syncope.client.console.SyncopeConsoleSession.get(SyncopeConsoleSession.java:91)
org.apache.syncope.client.console.SyncopeConsoleRequestCycleListener.onException(SyncopeConsoleRequestCycleListener.java:80)
org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:126)
org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:122)
org.apache.wicket.util.listener.ListenerCollection.notify(ListenerCollection.java:80)
org.apache.wicket.request.cycle.RequestCycleListenerCollection.onException(RequestCycleListenerCollection.java:121)
org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:126)
org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:122)
org.apache.wicket.util.listener.ListenerCollection.notify(ListenerCollection.java:80)
org.apache.wicket.request.cycle.RequestCycleListenerCollection.onException(RequestCycleListenerCollection.java:121)
org.apache.wicket.request.cycle.RequestCycle.handleException(RequestCycle.java:368)
org.apache.wicket.request.cycle.RequestCycle.executeExceptionRequestHandler(RequestCycle.java:314)
org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:259)
org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:221)
org.apache.wicket.protocol.ws.AbstractUpgradeFilter.processRequestCycle(AbstractUpgradeFilter.java:70)
org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:206)
org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:299)
root cause
java.lang.reflect.InvocationTargetException
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
java.lang.reflect.Constructor.newInstance(Constructor.java:423)
org.apache.wicket.authroles.authentication.AuthenticatedWebApplication.newSession(AuthenticatedWebApplication.java:117)
org.apache.wicket.Application.fetchCreateAndSetSession(Application.java:1555)
org.apache.wicket.Session.get(Session.java:176)
org.apache.syncope.client.console.SyncopeConsoleSession.get(SyncopeConsoleSession.java:91)
org.apache.syncope.client.console.SyncopeConsoleRequestCycleListener.onException(SyncopeConsoleRequestCycleListener.java:80)
org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:126)
org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:122)
org.apache.wicket.util.listener.ListenerCollection.notify(ListenerCollection.java:80)
org.apache.wicket.request.cycle.RequestCycleListenerCollection.onException(RequestCycleListenerCollection.java:121)
org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:126)
org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:122)
org.apache.wicket.util.listener.ListenerCollection.notify(ListenerCollection.java:80)
org.apache.wicket.request.cycle.RequestCycleListenerCollection.onException(RequestCycleListenerCollection.java:121)
org.apache.wicket.request.cycle.RequestCycle.handleException(RequestCycle.java:368)
org.apache.wicket.request.cycle.RequestCycle.executeExceptionRequestHandler(RequestCycle.java:314)
org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:259)
org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:221)
org.apache.wicket.protocol.ws.AbstractUpgradeFilter.processRequestCycle(AbstractUpgradeFilter.java:70)
org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:206)
org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:299)
root cause
javax.xml.ws.WebServiceException: Remote exception with status code: NOT_FOUND
org.apache.syncope.client.lib.RestClientExceptionMapper.fromResponse(RestClientExceptionMapper.java:76)
org.apache.syncope.client.lib.RestClientExceptionMapper.fromResponse(RestClientExceptionMapper.java:42)
org.apache.cxf.jaxrs.client.ClientProxyImpl.checkResponse(ClientProxyImpl.java:372)
org.apache.cxf.jaxrs.client.ClientProxyImpl.handleResponse(ClientProxyImpl.java:948)
org.apache.cxf.jaxrs.client.ClientProxyImpl.doChainedInvocation(ClientProxyImpl.java:854)
org.apache.cxf.jaxrs.client.ClientProxyImpl.invoke(ClientProxyImpl.java:295)
com.sun.proxy.$Proxy119.platform(Unknown Source)
org.apache.syncope.client.console.SyncopeConsoleSession.<init>(SyncopeConsoleSession.java:103)
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
java.lang.reflect.Constructor.newInstance(Constructor.java:423)
org.apache.wicket.authroles.authentication.AuthenticatedWebApplication.newSession(AuthenticatedWebApplication.java:117)
org.apache.wicket.Application.fetchCreateAndSetSession(Application.java:1555)
org.apache.wicket.Session.get(Session.java:176)
org.apache.syncope.client.console.SyncopeConsoleSession.get(SyncopeConsoleSession.java:91)
org.apache.syncope.client.console.SyncopeConsoleRequestCycleListener.onException(SyncopeConsoleRequestCycleListener.java:80)
org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:126)
org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:122)
org.apache.wicket.util.listener.ListenerCollection.notify(ListenerCollection.java:80)
org.apache.wicket.request.cycle.RequestCycleListenerCollection.onException(RequestCycleListenerCollection.java:121)
org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:126)
org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:122)
org.apache.wicket.util.listener.ListenerCollection.notify(ListenerCollection.java:80)
org.apache.wicket.request.cycle.RequestCycleListenerCollection.onException(RequestCycleListenerCollection.java:121)
org.apache.wicket.request.cycle.RequestCycle.handleException(RequestCycle.java:368)
org.apache.wicket.request.cycle.RequestCycle.executeExceptionRequestHandler(RequestCycle.java:314)
org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:259)
org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:221)
org.apache.wicket.protocol.ws.AbstractUpgradeFilter.processRequestCycle(AbstractUpgradeFilter.java:70)
org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:206)
org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:299)
thanks
--
This email, and any files transmitted with it, are confidential
and intended solely for the use of the individual or entity to
whom they are addressed. If you have received this email in error,
please advise postmaster@mdtsoft.com <ma...@mdtsoft.com>.
3480 Preston Ridge Road
Suite 450
Alpharetta, GA 30005
Philip W. Dalrymple III <pw...@mdtsoft.com>
MDT Software - Automation Management Company
+1 678 297 1001
Fax +1 678 297 1003