javax.xml.ws.WebServiceException: Remote exception with status code: NOT_FOUND

2017-03-08 Thread alinturbut
Hi all, 

I am having a little issue in trying to start syncope version 2.0.2 on
Tomcat with MySQL db. In the catalina logs I am seeing this: 
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:310)
 
   
org.apache.cxf.jaxrs.client.ClientProxyImpl.handleResponse(ClientProxyImpl.java:851)
 
   
org.apache.cxf.jaxrs.client.ClientProxyImpl.doChainedInvocation(ClientProxyImpl.java:764)
 
   
org.apache.cxf.jaxrs.client.ClientProxyImpl.invoke(ClientProxyImpl.java:235) 
com.sun.proxy.$Proxy69.platform(Unknown Source) 

In localhost.log: 
Caused by: java.lang.IllegalArgumentException: Circular placeholder
reference 'adminUser' in property definitions 
at
org.springframework.util.PropertyPlaceholderHelper.parseStringValue(PropertyPlaceholderHelper.java:141)
 
at
org.springframework.util.PropertyPlaceholderHelper.parseStringValue(PropertyPlaceholderHelper.java:162)
 
at
org.springframework.util.PropertyPlaceholderHelper.replacePlaceholders(PropertyPlaceholderHelper.java:126)
 
at
org.springframework.core.env.AbstractPropertyResolver.doResolvePlaceholders(AbstractPropertyResolver.java:236)
 
at
org.springframework.core.env.AbstractPropertyResolver.resolvePlaceholders(AbstractPropertyResolver.java:202)
 
at
org.springframework.context.support.PropertySourcesPlaceholderConfigurer$2.resolveStringValue(PropertySourcesPlaceholderConfigurer.java:171)
 

I am running a clean archetype project with the exact command from the
tutorial, modifying provisioning.properties and Master.properties exactly
how it is in the tutorial. I have a syncope db in my MySQL server and a user
syncope that has rights on that database. The tables are not created, seems
like a configuration issue which I cannot find. 

Another strange thing I observed is that if I don't specify -Dconf.directory
while building the referenced directory in persitence.properties from
/target/classes, will be /target/test-classes - I don't think this is
correct. 

In case you need any other information, let me know. 

Thanks in advance, 
Alin Turbut


--
View this message in context: 
http://syncope-user.1051894.n5.nabble.com/javax-xml-ws-WebServiceException-Remote-exception-with-status-code-NOT-FOUND-tp5709065.html
Sent from the syncope-user mailing list archive at Nabble.com.


Syncope getting stucked

2017-03-08 Thread Mohit Agrawal
Hi ,


We are seeing frequent syncope stuck (say after 2 days) in our testing.
When we try to use authenticate API ( /users/self ) , we are seeing
exception in the syncope logs. Could you please help us to identify what
could be issue ?  I have attached syncope log with this email. I have
attached the logs.


Regards,


Mohit
at 
org.apache.cxf.io.AbstractThresholdOutputStream.close(AbstractThresholdOutputStream.java:102)
 ~[cxf-core-3.1.8.jar:3.1.8]
at 
org.apache.cxf.transport.AbstractConduit.close(AbstractConduit.java:56) 
~[cxf-core-3.1.8.jar:3.1.8]
at 
org.apache.cxf.transport.http.HTTPConduit.close(HTTPConduit.java:651) 
~[cxf-rt-transports-http-3.1.8.jar:3.1.8]
at 
org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:62)
 ~[cxf-core-3.1.8.jar:3.1.8]
at 
org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308)
 ~[cxf-core-3.1.8.jar:3.1.8]
at 
org.apache.cxf.jaxrs.client.AbstractClient.doRunInterceptorChain(AbstractClient.java:666)
 ~[cxf-rt-rs-client-3.1.8.jar:3.1.8]
at 
org.apache.cxf.jaxrs.client.ClientProxyImpl.doChainedInvocation(ClientProxyImpl.java:746)
 ~[cxf-rt-rs-client-3.1.8.jar:3.1.8]
... 12 more
Caused by: java.net.SocketTimeoutException: Read timed out
at java.net.SocketInputStream.socketRead0(Native Method) ~[?:1.8.0_111]
at java.net.SocketInputStream.socketRead(SocketInputStream.java:116) 
~[?:1.8.0_111]
at java.net.SocketInputStream.read(SocketInputStream.java:170) 
~[?:1.8.0_111]
at java.net.SocketInputStream.read(SocketInputStream.java:141) 
~[?:1.8.0_111]
at java.io.BufferedInputStream.fill(BufferedInputStream.java:246) 
~[?:1.8.0_111]
at java.io.BufferedInputStream.read1(BufferedInputStream.java:286) 
~[?:1.8.0_111]
at java.io.BufferedInputStream.read(BufferedInputStream.java:345) 
~[?:1.8.0_111]
at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:704) 
~[?:1.8.0_111]
at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:647) 
~[?:1.8.0_111]
at 
sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1569)
 ~[?:1.8.0_111]
at 
sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1474)
 ~[?:1.8.0_111]
at 
java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:480) 
~[?:1.8.0_111]
at 
org.apache.cxf.transport.http.URLConnectionHTTPConduit$URLConnectionWrappedOutputStream.getResponseCode(URLConnectionHTTPConduit.java:332)
 ~[cxf-rt-transports-http-3.1.8.jar:3.1.8]
at 
org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.doProcessResponseCode(HTTPConduit.java:1578)
 ~[cxf-rt-transports-http-3.1.8.jar:3.1.8]
at 
org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponseInternal(HTTPConduit.java:1607)
 ~[cxf-rt-transports-http-3.1.8.jar:3.1.8]
at 
org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:1551)
 ~[cxf-rt-transports-http-3.1.8.jar:3.1.8]
at 
org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1348)
 ~[cxf-rt-transports-http-3.1.8.jar:3.1.8]
at 
org.apache.cxf.io.AbstractWrappedOutputStream.close(AbstractWrappedOutputStream.java:77)
 ~[cxf-core-3.1.8.jar:3.1.8]
at 
org.apache.cxf.io.AbstractThresholdOutputStream.close(AbstractThresholdOutputStream.java:102)
 ~[cxf-core-3.1.8.jar:3.1.8]
at 
org.apache.cxf.transport.AbstractConduit.close(AbstractConduit.java:56) 
~[cxf-core-3.1.8.jar:3.1.8]
at 
org.apache.cxf.transport.http.HTTPConduit.close(HTTPConduit.java:651) 
~[cxf-rt-transports-http-3.1.8.jar:3.1.8]
at 
org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:62)
 ~[cxf-core-3.1.8.jar:3.1.8]
at 
org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308)
 ~[cxf-core-3.1.8.jar:3.1.8]
at 
org.apache.cxf.jaxrs.client.AbstractClient.doRunInterceptorChain(AbstractClient.java:666)
 ~[cxf-rt-rs-client-3.1.8.jar:3.1.8]
at 
org.apache.cxf.jaxrs.client.ClientProxyImpl.doChainedInvocation(ClientProxyImpl.java:746)
 ~[cxf-rt-rs-client-3.1.8.jar:3.1.8]
... 12 more

root@c22df9120fc1:/var/log#
root@c22df9120fc1:/var/log#
root@c22df9120fc1:/var/log#
root@c22df9120fc1:/var/log#
root@c22df9120fc1:/var/log#
root@c22df9120fc1:/var/log#
root@c22df9120fc1:/var/log#
root@c22df9120fc1:/var/log#
root@c22df9120fc1:/var/log#
root@c22df9120fc1:/var/log#
root@c22df9120fc1:/var/log#
root@c22df9120fc1:/var/log#
root@c22df9120fc1:/var/log#
root@c22df9120fc1:/var/log#
root@c22df9120fc1:/var/log#
root@c22df9120fc1:/var/log#
root@c22df9120fc1:/var/log#
root@c22df9120fc1:/var/log#
root@c22df9120fc1:/var/log# 06:25:04.854 ERROR