Re: Bulk Deletion of Users using APIs

2017-05-29 Thread rajkumar
Hi,

Thanks a lot, It got worked. Reason for not working is - instead of using
*rest/users/Bulk* i was using *rest/users*.

I have changed that and now it is working fine. Thanks for your timely help.

Thanks,
Rajkumar Kanikumar

--
View this message in context: 
http://syncope-user.1051894.n5.nabble.com/Bulk-Deletion-of-Users-using-APIs-tp5709247p5709251.html
Sent from the syncope-user mailing list archive at Nabble.com.


Re: Bulk Deletion of Users using APIs

2017-05-29 Thread rajkumar
Hi,

Really thanks for your quick reply, But the URL you have shared given the
Java coding but i want to do this bulk deletion using any API client. Below
are the values i am using to achieve the same and let me know if am doing
any mistake here.

*URL *: http://52.58.169.64:8080/syncope/rest/users
*Type* : Delete
*Payload*: {
  "operation":"DELETE",
  "targets":[
*"{id}"*
  ]
}
*content-type* - application/json

But deleting single user is working fine with below details:

*URL *: http://52.58.169.64:8080/syncope/rest/users/{userId}
*Type* : Delete



*Also please let me know, is there a way to run multiple HTTP request at
same time in postman.*

Thanks,
Rajkumar kanikumar

--
View this message in context: 
http://syncope-user.1051894.n5.nabble.com/Bulk-Deletion-of-Users-using-APIs-tp5709247p5709249.html
Sent from the syncope-user mailing list archive at Nabble.com.


Bulk Deletion of Users using APIs

2017-05-29 Thread rajkumar
Hi,

I am working on Syncope 2.0.3 and i have pulled nearly 5000 users. I just
want to delete all the users and need to do synchronization again. I have
tried following below URL.

https://cwiki.apache.org/confluence/display/SYNCOPE/Delete+several+users+at+once
<https://cwiki.apache.org/confluence/display/SYNCOPE/Delete+several+users+at+once>
  

It is working fine for lower version  but not working fine for higher
version. Kindly help me to fix this and delete all users. 

*Note*: When tried "*bulk*" i got (*500 internal Error*)

Thanks,
Rajkumar Kanikumar

--
View this message in context: 
http://syncope-user.1051894.n5.nabble.com/Bulk-Deletion-of-Users-using-APIs-tp5709247.html
Sent from the syncope-user mailing list archive at Nabble.com.


Error with openJPA multithreading

2017-03-30 Thread rajkumar
Hi All,

i have configured syncope in 2 environment (Dev and Prod). in DEV
environment i am not facing any issues but In production environment below
issues i am facing. Kindly help me to solve the issue.

I am running the Task and i am able to update and create users, but after
the step when i try to go to any other page, window keep on loading and
getting timeout to read error. In log file i am getting below error.


*09:31:15.459 ERROR org.apache.syncope.client.console.widgets.JobWidget -
Unexpected error while checking for updated Job info
org.apache.syncope.common.lib.SyncopeClientException: Unknown
[PersistenceException: Multiple concurrent threads attempted to access a
single broker. By default brokers are not thread safe; if you require and/or
intend a broker to be accessed by more than one thread, set the
openjpa.Multithreaded property to true to override the default behavior.]
at
org.apache.syncope.common.lib.SyncopeClientException.build(SyncopeClientException.java:37)
~[syncope-common-lib-2.0.2.jar:2.0.2]*


Kindly help me with this issue to resolve. In my search i found that, we
need to change the openJPA.Multithreading property to true. Kindly assist me
where i can find the exact path to change the same or let me know if any
alternate solution there.

Thanks in advance.

--
View this message in context: 
http://syncope-user.1051894.n5.nabble.com/Error-with-openJPA-multithreading-tp5709137.html
Sent from the syncope-user mailing list archive at Nabble.com.


Re: Error in synchronize data from LDAP to syncope

2017-02-28 Thread rajkumar
Hi,

I had some progress and found that the attribute *__ENABLE__* is giving
value *[false]* when the user is updated with *description (Attribute in
LDAP for users)* value but if the user is not having the attribute
Description it is giving *__ENABLE__* value as null. But whatever the result
(*Whether __ENABLE__ value null or not null*). It is throwing the error like
"*Attribute __ENABLE__ of object class __ACCOUNT__ is not mapped to an LDAP
attribute   Method*". Kindly let me know how to map __ENABLE__ attribute. 
Let
me know in case of any additional information required from my end.

Thanks,
Rajkumar K

--
View this message in context: 
http://syncope-user.1051894.n5.nabble.com/Error-in-synchronize-data-from-LDAP-to-syncope-tp5709016p5709028.html
Sent from the syncope-user mailing list archive at Nabble.com.


Get error - while try to synchronize AD data to syncpe

2017-02-22 Thread rajkumar
Hi,

I have set up syncope 2.0.2 in my centos server and i have created connector
for sync data from AD to Syncope. I have checked the connection and there
are no issues.

But when i try to run the pull task, it is giving success status but in
connid.log i am getting below error.

*[2017-02-22T15:09:51.998]
net.tirasa.connid.bundles.ldap.schema.LdapSchemaMapping
Attribute __ENABLE__ of object class __ACCOUNT__ is not mapped to an LDAP
attribute   Method: getLdapAttribute
[2017-02-22T15:09:51.998]
org.identityconnectors.framework.common.objects.ResultsHandler
Enter: {Uid=Attribute: {Name=__UID__, Value=[Bernd_S_epS]},
ObjectClass=ObjectClass: __ACCOUNT__, Attributes=[Attribute:
{Name=__PASSWORD__,
Value=[org.identityconnectors.common.security.GuardedString@204e249b]},
Attribute: {Name=__NAME__,
Value=[CN=Bernd_S_epS,OU=G_GI_GEO_epS,OU=MUL,DC=loc,DC=trumobi,DC=de]},
Attribute: {Name=__UID__, Value=[Bernd_S_epS]}, Attribute: {Name=__ENABLE__,
Value=[]}, Attribute: {Name=name, Value=[Bernd_S_epS]}], Name=Attribute:
{Name=__NAME__,
Value=[CN=Bernd_S_epS,OU=G_GI_GEO_epS,OU=MUL,DC=loc,DC=trumobi,DC=de]}}
Method: handle*

Kindly help me in this to fix the issue.

Thanks in advance

Rajkumar K

--
View this message in context: 
http://syncope-user.1051894.n5.nabble.com/Get-error-while-try-to-synchronize-AD-data-to-syncpe-tp5709003.html
Sent from the syncope-user mailing list archive at Nabble.com.


Re: Unable to retrieve Users from active directory connector

2017-02-08 Thread rajkumar
)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
at
org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:624)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:349)
at
org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:783)
at
org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
at
org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:789)
at
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1437)
at
org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at
org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:745)


Regards,
Rajkumar K

--
View this message in context: 
http://syncope-user.1051894.n5.nabble.com/Unable-to-retrieve-Users-from-active-directory-connector-tp5708583p5708973.html
Sent from the syncope-user mailing list archive at Nabble.com.


Re: Syncope Installation Issue

2016-12-04 Thread rajkumar
Any one answer for above post please.

Thanks,
Raj

--
View this message in context: 
http://syncope-user.1051894.n5.nabble.com/Syncope-Installation-Issue-tp5708775p5708842.html
Sent from the syncope-user mailing list archive at Nabble.com.


Re: Syncope Installation Issue

2016-11-29 Thread rajkumar
I am getting below error when i try to update user/ create user. kindly
assist me to fix the same.

19:15:34.556 WARN  org.springframework.web.client.RestTemplate - POST
request for "http://localhost:8080/syncope/rest/user/update; resulted in 500
(); invoking error handler
19:15:34.570 ERROR org.apache.syncope.console.pages.AbstractBasePage - While
creating or updating user
org.springframework.web.client.HttpServerErrorException: 500 
at
org.springframework.web.client.DefaultResponseErrorHandler.handleError(DefaultResponseErrorHandler.java:91)
~[spring-web-3.2.3.RELEASE.jar:3.2.3.RELEASE]
at
org.apache.syncope.common.validation.SyncopeClientErrorHandler.handleError(SyncopeClientErrorHandler.java:50)
~[syncope-common-1.1.3.jar:na]
at
org.springframework.web.client.RestTemplate.handleResponseError(RestTemplate.java:537)
~[spring-web-3.2.3.RELEASE.jar:3.2.3.RELEASE]
at
org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:493)
~[spring-web-3.2.3.RELEASE.jar:3.2.3.RELEASE]
at
org.springframework.web.client.RestTemplate.execute(RestTemplate.java:452)
~[spring-web-3.2.3.RELEASE.jar:3.2.3.RELEASE]
at
org.springframework.web.client.RestTemplate.postForObject(RestTemplate.java:302)
~[spring-web-3.2.3.RELEASE.jar:3.2.3.RELEASE]
at
org.apache.syncope.client.services.proxy.UserServiceProxy.update(UserServiceProxy.java:80)
~[syncope-client-1.1.3.jar:na]
at
org.apache.syncope.console.rest.UserRestClient.update(UserRestClient.java:69)
~[classes/:na]
at
WICKET_org.apache.syncope.console.rest.UserRestClient$$FastClassByCGLIB$$73691fb2.invoke()
~[cglib-2.2.2.jar:na]
at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)
~[cglib-2.2.2.jar:na]
at
org.apache.wicket.proxy.LazyInitProxyFactory$CGLibInterceptor.intercept(LazyInitProxyFactory.java:333)
~[wicket-ioc-6.9.0.jar:6.9.0]
at
WICKET_org.apache.syncope.console.rest.UserRestClient$$EnhancerByCGLIB$$dcfc88e9.update()
~[cglib-2.2.2.jar:na]
at
org.apache.syncope.console.pages.EditUserModalPage.submitAction(EditUserModalPage.java:93)
~[classes/:na]
at
org.apache.syncope.console.pages.UserModalPage$2.onSubmit(UserModalPage.java:189)
~[classes/:na]
at
org.apache.wicket.ajax.markup.html.form.AjaxButton$1.onSubmit(AjaxButton.java:108)
[wicket-core-6.9.0.jar:6.9.0]
at
org.apache.wicket.ajax.form.AjaxFormSubmitBehavior$1.onSubmit(AjaxFormSubmitBehavior.java:179)
[wicket-core-6.9.0.jar:6.9.0]
at 
org.apache.wicket.markup.html.form.Form.delegateSubmit(Form.java:1253)
[wicket-core-6.9.0.jar:6.9.0]
at org.apache.wicket.markup.html.form.Form.process(Form.java:925)
[wicket-core-6.9.0.jar:6.9.0]
at 
org.apache.wicket.markup.html.form.Form.onFormSubmitted(Form.java:771)
[wicket-core-6.9.0.jar:6.9.0]
at
org.apache.wicket.ajax.form.AjaxFormSubmitBehavior.onEvent(AjaxFormSubmitBehavior.java:156)
[wicket-core-6.9.0.jar:6.9.0]
at
org.apache.wicket.ajax.AjaxEventBehavior.respond(AjaxEventBehavior.java:123)
[wicket-core-6.9.0.jar:6.9.0]
at
org.apache.wicket.ajax.AbstractDefaultAjaxBehavior.onRequest(AbstractDefaultAjaxBehavior.java:626)
[wicket-core-6.9.0.jar:6.9.0]
at sun.reflect.GeneratedMethodAccessor115.invoke(Unknown Source) 
~[na:na]
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
~[na:1.8.0_102]
at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_102]
at
org.apache.wicket.RequestListenerInterface.internalInvoke(RequestListenerInterface.java:258)
[wicket-core-6.9.0.jar:6.9.0]
at
org.apache.wicket.RequestListenerInterface.invoke(RequestListenerInterface.java:241)
[wicket-core-6.9.0.jar:6.9.0]
at
org.apache.wicket.core.request.handler.ListenerInterfaceRequestHandler.invokeListener(ListenerInterfaceRequestHandler.java:247)
[wicket-core-6.9.0.jar:6.9.0]
at
org.apache.wicket.core.request.handler.ListenerInterfaceRequestHandler.respond(ListenerInterfaceRequestHandler.java:226)
[wicket-core-6.9.0.jar:6.9.0]
at
org.apache.wicket.request.cycle.RequestCycle$HandlerExecutor.respond(RequestCycle.java:861)
[wicket-core-6.9.0.jar:6.9.0]
at
org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:64)
[wicket-request-6.9.0.jar:6.9.0]
at
org.apache.wicket.request.cycle.RequestCycle.execute(RequestCycle.java:261)
[wicket-core-6.9.0.jar:6.9.0]
at
org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:218)
[wicket-core-6.9.0.jar:6.9.0]
at
org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:289)
[wicket-core-6.9.0.jar:6.9.0]
at
org.apache.wicket.protocol.http.WicketFilter.processRequestCycle(WicketFilter.java:259)
[wicket-core-6.9.0.jar:6.9.0]
at
org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:201)
[wicket-core-6.9.0.jar:6.9.0]
at

Re: Error in deploying Syncope

2016-11-29 Thread rajkumar
Really i got more information from the link you have shared, but still i am
facing same issue and getting same error. Also kindly share me some
reference about how to update data from syncope to database.

Sorry i am totally new for syncope.

Thanks,
Raj

--
View this message in context: 
http://syncope-user.1051894.n5.nabble.com/Error-in-deploying-Syncope-tp5708429p5708837.html
Sent from the syncope-user mailing list archive at Nabble.com.


Re: Error in deploying Syncope

2016-11-29 Thread rajkumar
Hi,

Thanks, it is working now and i have created my project, placed into my
container and started tomcat.

When i try to access localhost:8080/syncope-console, i am getting following
error. i have done all the configurations.

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:1714)
org.apache.wicket.Session.get(Session.java:169)

org.apache.syncope.client.console.SyncopeConsoleSession.get(SyncopeConsoleSession.java:103)

org.apache.syncope.client.console.SyncopeConsoleRequestCycleListener.onException(SyncopeConsoleRequestCycleListener.java:61)

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:351)

org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:233)

org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:293)

org.apache.wicket.protocol.ws.AbstractUpgradeFilter.processRequestCycle(AbstractUpgradeFilter.java:70)

org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:203)

org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:284)

--
View this message in context: 
http://syncope-user.1051894.n5.nabble.com/Error-in-deploying-Syncope-tp5708429p5708835.html
Sent from the syncope-user mailing list archive at Nabble.com.


Re: Syncope Installation Issue

2016-11-21 Thread rajkumar
Hi ,

Really sorry, this is the first time i am using forum. Do you have any
common shared path where i can share this details(Zip folder).

Thanks,
Raj

--
View this message in context: 
http://syncope-user.1051894.n5.nabble.com/Syncope-Installation-Issue-tp5708775p5708789.html
Sent from the syncope-user mailing list archive at Nabble.com.


Re: Syncope Installation Issue

2016-11-21 Thread rajkumar
PFB for error screenshot,

 

Thanks,
Raj

--
View this message in context: 
http://syncope-user.1051894.n5.nabble.com/Syncope-Installation-Issue-tp5708775p5708786.html
Sent from the syncope-user mailing list archive at Nabble.com.


Re: Syncope Installation Issue

2016-11-21 Thread rajkumar
install.log
  

PFA for install log,  "*mvn clean package*" command is not performing and
when it try to perform it is throwing below error. Kindly assist me. Other
than install.log file, no other log files are created inside syncope
folder(all /*var//log*/s folder is empty).

apache tomcate : 8.5.8 ; PostgreSQL : 9.4.10; syncope using : 2.1 and
windows 64 bit machine.

Kindly let me know in case of any additional information required from my
end.

--
View this message in context: 
http://syncope-user.1051894.n5.nabble.com/Syncope-Installation-Issue-tp5708775p5708784.html
Sent from the syncope-user mailing list archive at Nabble.com.


Re: Syncope Installation Issue

2016-11-18 Thread rajkumar
install.log
<http://syncope-user.1051894.n5.nabble.com/file/n5708778/install.log>  

Please find the install.log

Thanks,
Rajkumar K

--
View this message in context: 
http://syncope-user.1051894.n5.nabble.com/Syncope-Installation-Issue-tp5708775p5708778.html
Sent from the syncope-user mailing list archive at Nabble.com.