Re: New to Syncope - cannot create LDAP Connector

2019-04-01 Thread Filipe Silva

  
  
Hi
It's best to. You can check the documentation for the migration
  process (1.* to 2.*) but unless you have already plenty of data I
  advice you against it.
Regards
Filipe

On 01/04/19 17:38, o haya wrote:


  
  
Hi,


If I rebuild the WARs and deploy those instead of the 1.1.3
  ones I have, will I have to delete the database (in Mysql) and
  re-create the database?


Thanks,
Jim



  


  



Re: New to Syncope - cannot create LDAP Connector

2019-04-01 Thread Filipe Silva

  
  
Hi

On 01/04/19 16:33, o haya wrote:


  
  
  (...)


mvn archetype:generate
    -DarchetypeGroupId=org.apache.syncope
    -DarchetypeArtifactId=syncope-archetype
   
-DarchetypeRepository=http://repos1.maven.apache.org/maven2/
    -DarchetypeVersion=1.1.3



  

I suggest you to use a more up-to-date version like  2.1 

mvn archetype:generate \
-DarchetypeGroupId=org.apache.syncope \
-DarchetypeArtifactId=syncope-archetype \
-DarchetypeRepository=http://repo1.maven.org/maven2 \
-DarchetypeVersion=2.1.3

Or 2.0

 mvn archetype:generate \
-DarchetypeGroupId=org.apache.syncope \
-DarchetypeArtifactId=syncope-archetype \
-DarchetypeRepository=http://repo1.maven.org/maven2 \
-DarchetypeVersion=2.0.12

Check the start guide on https://syncope.apache.org/docs/
(you can still follow your source info but the layout is a little different)

Regards
Filipe

  



Re: New to Syncope - cannot create LDAP Connector

2019-04-01 Thread Filipe Silva

Hi

Which version are you using and OS?

My suggestion would be to check the folder permissions (make sure tomcat 
has reading rights of folder and files)


Regards

Filipe Silva




Re: Slow task

2019-03-27 Thread Filipe Silva

  
  
Hi
Are you making only one call to get all the info?
I use groovy and made pagination in the rest call.


Regards
Filipe Silva
On 26/03/19 21:40, Arnold Miller wrote:


  
  

  Hi everyone,
  I have a task running for 6 hours trying to update the
information of a total of 18000 users. It has processed only
half of them. The task consists of calling a rest web
service with about 10 parameters. If I run the web service
call only it could take about 300 milliseconds. 
  What am I doing wrong?
   
   
   
   

Best Regards,
  Arnold Miller
  



  



Some issues with updating to Apache Syncope 2.1.2

2018-11-06 Thread Filipe Silva

  
  
Hi
in
https://cwiki.apache.org/confluence/display/SYNCOPE/Upgrade+from+2.1.1+to+2.1.2

"Replace the following files with their 2.0.11 counterparts
  (re-apply any customization previously made):"
Should be 

"Replace the following files with their 2.1.2 counterparts
  (re-apply any customization previously made):"


I think that file core/src/main/resources/workflowFlowableContext.xml (from migration
  2.0.10 to 2.1) should also get some alterations


Regards
  


  
  
  Filipe Silva
  Infraestruturas Tecnológicas / IT Infrastructures
   
  Rua Dr. Roberto Frias
4200-465 Porto. Portugal
  

  



Maven install problem with Apache Syncope 2.1.0

2018-07-10 Thread Filipe Silva

  
  



  
  Hi
  
  I create the project
  mvn archetype:generate \
-DarchetypeGroupId=org.apache.syncope \
-DarchetypeArtifactId=syncope-archetype \
-DarchetypeRepository=http://repo1.maven.org/maven2 \
-DarchetypeVersion=2.1.0


then in the folder I made

mvn clean install

Got ERROR




  [INFO] Scanning
for projects...
[ERROR] [ERROR] Some problems were encountered while processing
the POMs:
[ERROR] 'dependencies.dependency.version' for junit:junit:jar is
missing. @ pt.up:syncope-console:[unknown-version],
/home/fsilva/idm210/upidm/console/pom.xml, line 101, column 17
 @ 

(...)

Workaround is to clean in console/pom.xml the 



   
   junit
   junit
   test
 


Regards
FilipeSilva



  



  



Re: Error in Embedded Mode 2.0.5 version

2017-09-27 Thread Filipe Silva

Done: https://issues.apache.org/jira/browse/SYNCOPE-1214


On 27-09-2017 12:31, Francesco Chicchiriccò wrote:

On 27/09/2017 13:13, Francesco Chicchiriccò wrote:

On 27/09/2017 13:10, Filipe Silva wrote:


Good day to you all

When evaluating the 2.0.5 version in Embedded Mode 
(https://syncope.apache.org/docs/getting-started.html#embedded-mode) 
in the Administration console if I try to sort (in the users or 
group list) by "realm" column the aplication go to the login screen 
with the message "Error while contacting Syncope core"


From the logs I get this message "Caused by: 
org.apache.openjpa.lib.jdbc.ReportingSQLException: Column "SV.REALM" 
not found; SQL statement:" 


Please clean up your cookies.

The problem arises when you used an earlier Syncope version with the 
same browser.


mmm, no: I've just reproduced this problem on a clean environment: 
could you please open an issue? Thanks.


Regards.



--
updigital.png
FILIPE SILVA
Infraestruturas Tecnológicas / IT infrastructures

Rua Dr. Roberto Frias, s/n 4200-465 Porto. Portugal
Telefone / Phone: +351 220 41 3072
Correio / e-Mail: fsi...@uporto.pt <mailto:fsi...@uporto.pt>



Re: Error in Embedded Mode 2.0.5 version

2017-09-27 Thread Filipe Silva


I clean all the localhost cookies, restart the browsers and even tried 
with an private/incognito window with no avail.


I also tried to remove , logout and then login and add the column again.


Regards


On 27-09-2017 12:13, Francesco Chicchiriccò wrote:

On 27/09/2017 13:10, Filipe Silva wrote:


Good day to you all

When evaluating the 2.0.5 version in Embedded Mode 
(https://syncope.apache.org/docs/getting-started.html#embedded-mode) 
in the Administration console if I try to sort (in the users or group 
list) by "realm" column the aplication go to the login screen with 
the message "Error while contacting Syncope core"


From the logs I get this message "Caused by: 
org.apache.openjpa.lib.jdbc.ReportingSQLException: Column "SV.REALM" 
not found; SQL statement:" 


Please clean up your cookies.

The problem arises when you used an earlier Syncope version with the 
same browser.


Regards.



--
updigital.png
FILIPE SILVA
Infraestruturas Tecnológicas / IT infrastructures

Rua Dr. Roberto Frias, s/n 4200-465 Porto. Portugal
Telefone / Phone: +351 220 41 3072
Correio / e-Mail: fsi...@uporto.pt <mailto:fsi...@uporto.pt>



Error in Embedded Mode 2.0.5 version

2017-09-27 Thread Filipe Silva


Good day to you all

When evaluating the 2.0.5 version in Embedded Mode 
(https://syncope.apache.org/docs/getting-started.html#embedded-mode) in 
the Administration console if I try to sort (in the users or group list) 
by "realm" column the aplication go to the login screen with the message 
"Error while contacting Syncope core"


From the logs I get this message "Caused by: 
org.apache.openjpa.lib.jdbc.ReportingSQLException: Column "SV.REALM" not 
found; SQL statement:"



Thanks
FS


Groups in Dynamic Reamls

2017-09-22 Thread Filipe Silva

Hi


"Dynamic Realms can be used to identify Users, Groups and Any Objects 
according to some attributes' value"


- https://syncope.apache.org/docs/reference-guide.html#dynamic-realms

But in the Dynamic Realms definition I think that the query only applies 
to Users.


Am I missing something?


Thanks

FS




Groups memberships

2017-09-18 Thread Filipe Silva

Hi

In 
https://syncope.apache.org/docs/reference-guide.html#users-groups-and-any-objects 
we read:


"A User or an Any Object can be members of Groups in the same realm or 
in one of the sub-realms."


But it appear that a user in a realm B in defined as /A/B only "sees" 
the groups in / , A and B and not a group in C defined as a sub-realm of 
B (as in /A/B/C).


Am I understanding this correctly?



Thanks
FS