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 postmas...@mdtsoft.com <mailto:postmas...@mdtsoft.com>.
3480 Preston Ridge Road
Suite 450
Alpharetta, GA 30005
Philip W. Dalrymple III <p...@mdtsoft.com>
MDT Software - Automation Management Company
+1 678 297 1001
Fax +1 678 297 1003
________________________________________
From: Dalrymple, Philip <p...@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 postmas...@mdtsoft.com <mailto:postmas...@mdtsoft.com>.
3480 Preston Ridge Road
Suite 450
Alpharetta, GA 30005
Philip W. Dalrymple III <p...@mdtsoft.com>
MDT Software - Automation Management Company
+1 678 297 1001
Fax +1 678 297 1003
________________________________________
From: Andrea Patricelli <andreapatrice...@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 postmas...@mdtsoft.com<mailto:postmas...@mdtsoft.com>
<mailto:postmas...@mdtsoft.com><mailto:postmas...@mdtsoft.com>.
3480 Preston Ridge Road
Suite 450
Alpharetta, GA 30005
Philip W. Dalrymple III <p...@mdtsoft.com><mailto:p...@mdtsoft.com>
MDT Software - Automation Management Company
+1 678 297 1001
Fax +1 678 297 1003
________________________________________
From: Andrea Patricelli
<andrea.patrice...@tirasa.net><mailto:andrea.patrice...@tirasa.net>
Sent: Thursday, September 5, 2019 10:07
To: user@syncope.apache.org<mailto: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 postmas...@mdtsoft.com<mailto:postmas...@mdtsoft.com>
<mailto:postmas...@mdtsoft.com><mailto:postmas...@mdtsoft.com>.
3480 Preston Ridge Road
Suite 450
Alpharetta, GA 30005
Philip W. Dalrymple III <p...@mdtsoft.com><mailto:p...@mdtsoft.com>
MDT Software - Automation Management Company
+1 678 297 1001
Fax +1 678 297 1003
________________________________________
From: Andrea Patricelli
<andreapatrice...@apache.org><mailto:andreapatrice...@apache.org>
Sent: Thursday, September 5, 2019 10:03
To: user@syncope.apache.org<mailto: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 postmas...@mdtsoft.com<mailto:postmas...@mdtsoft.com>
<mailto:postmas...@mdtsoft.com><mailto:postmas...@mdtsoft.com>.
3480 Preston Ridge Road
Suite 450
Alpharetta, GA 30005
Philip W. Dalrymple III <p...@mdtsoft.com><mailto:p...@mdtsoft.com>
MDT Software - Automation Management Company
+1 678 297 1001
Fax +1 678 297 1003
________________________________________
From: Dalrymple, Philip <p...@mdtsoft.com><mailto:p...@mdtsoft.com>
Sent: Thursday, September 5, 2019 9:53
To: user@syncope.apache.org<mailto: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 postmas...@mdtsoft.com<mailto:postmas...@mdtsoft.com>
<mailto:postmas...@mdtsoft.com><mailto:postmas...@mdtsoft.com>.
3480 Preston Ridge Road
Suite 450
Alpharetta, GA 30005
Philip W. Dalrymple III <p...@mdtsoft.com><mailto:p...@mdtsoft.com>
MDT Software - Automation Management Company
+1 678 297 1001
Fax +1 678 297 1003
________________________________________
From: Andrea Patricelli
<andreapatrice...@apache.org><mailto:andreapatrice...@apache.org>
Sent: Thursday, September 5, 2019 9:52
To: user@syncope.apache.org<mailto: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 postmas...@mdtsoft.com<mailto:postmas...@mdtsoft.com>
<mailto:postmas...@mdtsoft.com><mailto:postmas...@mdtsoft.com>.
3480 Preston Ridge Road
Suite 450
Alpharetta, GA 30005
Philip W. Dalrymple III <p...@mdtsoft.com><mailto:p...@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