By: yoom nguyen user 16 Nov 2016 at 2:03 p.m. CST

11 Responses
yoom nguyen gravatar
Greetings, We are having problem testing out the SCIM communication. What Am I missing. We are using the same SCIM test code that work on our 2.1 version for this new version with different SCIM's Inum and password This is what we have used and configured on the new server 2.44 We have set - Configuration, Organization Configuration, SCIM support is enable. - OpenID connect, Clients, SCIM Requesting Party Client (using this default SCIM client information for the SCIM client configuration iNum=@!0231.3470.8EF9.420B!0001!819C.E9B6!0008!C1EE.A592 and reset the password to = abc12345 **What am I missing here? Authentication seems to be OK. But, There are no results coming back for user yoom@misoccer.us** Thanks, Yoom Please see the log below. 0 [main] DEBUG org.jboss.resteasy.plugins.providers.DocumentProvider - Unable to retrieve ServletContext: expandEntityReferences defaults to true 5 [main] DEBUG org.jboss.resteasy.plugins.providers.DocumentProvider - Unable to retrieve ServletContext: expandEntityReferences defaults to true 75 [main] DEBUG org.apache.http.impl.conn.tsccm.ThreadSafeClientConnManager - Get connection: HttpRoute[{s}->https://idp.test.com], timeout = 0 76 [main] DEBUG org.apache.http.impl.conn.tsccm.ConnPoolByRoute - [HttpRoute[{s}->https://idp.test.com]] total kept alive: 0, total issued: 0, total allocated: 0 out of 1000 77 [main] DEBUG org.apache.http.impl.conn.tsccm.ConnPoolByRoute - No free connections [HttpRoute[{s}->https://idp.test.com]][null] 77 [main] DEBUG org.apache.http.impl.conn.tsccm.ConnPoolByRoute - Available capacity: 1000 out of 1000 [HttpRoute[{s}->https://idp.test.com]][null] 77 [main] DEBUG org.apache.http.impl.conn.tsccm.ConnPoolByRoute - Creating new connection [HttpRoute[{s}->https://idp.test.com]] 277 [main] DEBUG org.apache.http.impl.conn.DefaultClientConnectionOperator - Connecting to idp.test.com:443 399 [main] DEBUG org.apache.http.client.protocol.RequestAddCookies - CookieSpec selected: best-match 407 [main] DEBUG org.apache.http.client.protocol.RequestAuthCache - Auth cache not set in the context 407 [main] DEBUG org.apache.http.impl.client.DefaultHttpClient - Attempt 1 to execute request 407 [main] DEBUG org.apache.http.impl.conn.DefaultClientConnection - Sending request: POST /oxauth/seam/resource/restv1/oxauth/token HTTP/1.1 408 [main] DEBUG org.apache.http.wire - >> "POST /oxauth/seam/resource/restv1/oxauth/token HTTP/1.1[\r][\n]" 408 [main] DEBUG org.apache.http.wire - >> "Authorization: Basic QCEwMjMxLjM0NzAuOEVGOS40MjBCITAwMDEhODE5Qy5FOUI2ITAwMDghQUEzOC4yNkJDOjk4NzY1NDMyMQ== [\r][\n]" 409 [main] DEBUG org.apache.http.wire - >> "Accept-Encoding: gzip, deflate[\r][\n]" 409 [main] DEBUG org.apache.http.wire - >> "Content-Type: application/x-www-form-urlencoded[\r][\n]" 409 [main] DEBUG org.apache.http.wire - >> "Content-Length: 87[\r][\n]" 409 [main] DEBUG org.apache.http.wire - >> "Host: idp.test.com[\r][\n]" 409 [main] DEBUG org.apache.http.wire - >> "Connection: Keep-Alive[\r][\n]" 409 [main] DEBUG org.apache.http.wire - >> "User-Agent: Apache-HttpClient/4.1.2 (java 1.5)[\r][\n]" 409 [main] DEBUG org.apache.http.wire - >> "[\r][\n]" 409 [main] DEBUG org.apache.http.headers - >> POST /oxauth/seam/resource/restv1/oxauth/token HTTP/1.1 409 [main] DEBUG org.apache.http.headers - >> Authorization: Basic QCEwMjMxLjM0NzAuOEVGOS40MjBCITAwMDEhODE5Qy5FOUI2ITAwMDghQUEzOC4yNkJDOjk4NzY1NDMyMQ== 409 [main] DEBUG org.apache.http.headers - >> Accept-Encoding: gzip, deflate 409 [main] DEBUG org.apache.http.headers - >> Content-Type: application/x-www-form-urlencoded 409 [main] DEBUG org.apache.http.headers - >> Content-Length: 87 409 [main] DEBUG org.apache.http.headers - >> Host: idp.test.com 409 [main] DEBUG org.apache.http.headers - >> Connection: Keep-Alive 409 [main] DEBUG org.apache.http.headers - >> User-Agent: Apache-HttpClient/4.1.2 (java 1.5) 409 [main] DEBUG org.apache.http.wire - >> "username=yoom%40misoccer.us&scope=openid+user_name&grant_type=password&password=abc1234" 545 [main] DEBUG org.apache.http.wire - << "HTTP/1.1 200 OK[\r][\n]" 547 [main] DEBUG org.apache.http.wire - << "Date: Wed, 16 Nov 2016 17:11:01 GMT[\r][\n]" 547 [main] DEBUG org.apache.http.wire - << "Server: Apache[\r][\n]" 547 [main] DEBUG org.apache.http.wire - << "Cache-Control: no-store[\r][\n]" 547 [main] DEBUG org.apache.http.wire - << "Pragma: no-cache[\r][\n]" 547 [main] DEBUG org.apache.http.wire - << "Content-Type: application/json[\r][\n]" 547 [main] DEBUG org.apache.http.wire - << "Content-Length: 176[\r][\n]" 547 [main] DEBUG org.apache.http.wire - << "Set-Cookie: JSESSIONID=AD39F4DFEB6070A14370DEFC930868C0; Path=/oxauth/; Secure; HttpOnly;HttpOnly[\r][\n]" 547 [main] DEBUG org.apache.http.wire - << "Access-Control-Allow-Origin: *[\r][\n]" 548 [main] DEBUG org.apache.http.wire - << "Connection: close[\r][\n]" 548 [main] DEBUG org.apache.http.wire - << "[\r][\n]" 548 [main] DEBUG org.apache.http.impl.conn.DefaultClientConnection - Receiving response: HTTP/1.1 200 OK 548 [main] DEBUG org.apache.http.headers - << HTTP/1.1 200 OK 548 [main] DEBUG org.apache.http.headers - << Date: Wed, 16 Nov 2016 17:11:01 GMT 548 [main] DEBUG org.apache.http.headers - << Server: Apache 548 [main] DEBUG org.apache.http.headers - << Cache-Control: no-store 548 [main] DEBUG org.apache.http.headers - << Pragma: no-cache 548 [main] DEBUG org.apache.http.headers - << Content-Type: application/json 548 [main] DEBUG org.apache.http.headers - << Content-Length: 176 548 [main] DEBUG org.apache.http.headers - << Set-Cookie: JSESSIONID=AD39F4DFEB6070A14370DEFC930868C0; Path=/oxauth/; Secure; HttpOnly;HttpOnly 548 [main] DEBUG org.apache.http.headers - << Access-Control-Allow-Origin: * 548 [main] DEBUG org.apache.http.headers - << Connection: close 553 [main] DEBUG org.apache.http.client.protocol.ResponseProcessCookies - Cookie accepted: "[version: 0][name: JSESSIONID][value: AD39F4DFEB6070A14370DEFC930868C0][domain: idp.test.com][path: /oxauth/][expiry: null]". 557 [main] DEBUG org.xdi.oxauth.client.TokenClient - 558 [main] DEBUG org.xdi.oxauth.client.TokenClient - Location: null 560 [main] DEBUG org.apache.http.wire - << "{"access_token":"6220057e-07e6-40db-aeed- e5d8d81374ea","token_type":"bearer","expires_in":299,"refresh_token":"d589d3d6-6961-48d1-b3d4-f670e14e3c0d","scope":"user_name openid"}" 561 [main] DEBUG org.apache.http.impl.conn.DefaultClientConnection - Connection shut down 561 [main] DEBUG org.apache.http.impl.conn.tsccm.ThreadSafeClientConnManager - Released connection is not reusable. 561 [main] DEBUG org.apache.http.impl.conn.tsccm.ConnPoolByRoute - Releasing connection [HttpRoute[{s}->https://idp.test.com]][null] 561 [main] DEBUG org.apache.http.impl.conn.tsccm.ConnPoolByRoute - Notifying no-one, there are no waiting threads 561 [main] DEBUG org.xdi.oxauth.client.TokenClient - entity: {"access_token":"6220057e-07e6-40db-aeed- e5d8d81374ea","token_type":"bearer","expires_in":299,"refresh_token":"d589d3d6-6961-48d1-b3d4-f670e14e3c0d","scope":"user_name openid"} 569 [main] DEBUG org.apache.commons.httpclient.HttpClient - Java version: 1.7.0_75 569 [main] DEBUG org.apache.commons.httpclient.HttpClient - Java vendor: Oracle Corporation 569 [main] DEBUG org.apache.commons.httpclient.HttpClient - Java class path: C:\0Ati\ZWorkspace\portal-address\build\classes;C:\0Ati\ZSoftware\apache- tomcat-7.0.61\lib\annotations-api.jar;C:\0Ati\ZSoftware\apache-tomcat-7.0.61\lib\catalina-ant.jar;C:\0Ati\ZSoftware\apache-tomcat-7.0.61\lib\catalina- ha.jar;C:\0Ati\ZSoftware\apache-tomcat-7.0.61\lib\catalina-tribes.jar;C:\0Ati\ZSoftware\apache-tomcat-7.0.61\lib\catalina.jar;C:\0Ati\ZSoftware\apache- tomcat-7.0.61\lib\ecj-4.4.2.jar;C:\0Ati\ZSoftware\apache-tomcat-7.0.61\lib\el-api.jar;C:\0Ati\ZSoftware\apache-tomcat-7.0.61\lib\jasper-el.jar;C:\0Ati \ZSoftware\apache-tomcat-7.0.61\lib\jasper.jar;C:\0Ati\ZSoftware\apache-tomcat-7.0.61\lib\jsp-api.jar;C:\0Ati\ZSoftware\apache-tomcat-7.0.61\lib\servlet- api.jar;C:\0Ati\ZSoftware\apache-tomcat-7.0.61\lib\tomcat-api.jar;C:\0Ati\ZSoftware\apache-tomcat-7.0.61\lib\tomcat-coyote.jar;C:\0Ati\ZSoftware\apache- tomcat-7.0.61\lib\tomcat-dbcp.jar;C:\0Ati\ZSoftware\apache-tomcat-7.0.61\lib\tomcat-i18n-es.jar;C:\0Ati\ZSoftware\apache-tomcat-7.0.61\lib\tomcat-i18n- fr.jar;C:\0Ati\ZSoftware\apache-tomcat-7.0.61\lib\tomcat-i18n-ja.jar;C:\0Ati\ZSoftware\apache-tomcat-7.0.61\lib\tomcat-jdbc.jar;C:\0Ati\ZSoftware\apache- tomcat-7.0.61\lib\tomcat-util.jar;C:\0Ati\ZSoftware\apache-tomcat-7.0.61\lib\tomcat7-websocket.jar;C:\0Ati\ZSoftware\apache-tomcat-7.0.61\lib\websocket- api.jar;C:\0Ati\ZWorkspace\portal-address\WebContent\WEB-INF\lib\apache-httpcomponents-httpcore.jar;C:\0Ati\ZWorkspace\portal-address\WebContent\WEB-INF \lib\base.jar;C:\0Ati\ZWorkspace\portal-address\WebContent\WEB-INF\lib\commons-codec-1.10.jar;C:\0Ati\ZWorkspace\portal-address\WebContent\WEB-INF\lib \commons-collections-3.2.2.jar;C:\0Ati\ZWorkspace\portal-address\WebContent\WEB-INF\lib\commons-digester-2.1.jar;C:\0Ati\ZWorkspace\portal-address \WebContent\WEB-INF\lib\commons-httpclient-3.1.jar;C:\0Ati\ZWorkspace\portal-address\WebContent\WEB-INF\lib\commons-io-2.4.jar;C:\0Ati\ZWorkspace\portal- address\WebContent\WEB-INF\lib\commons-lang-2.6.jar;C:\0Ati\ZWorkspace\portal-address\WebContent\WEB-INF\lib\commons-lang3-3.1.jar;C:\0Ati\ZWorkspace \portal-address\WebContent\WEB-INF\lib\commons-logging-1.2.jar;C:\0Ati\ZWorkspace\portal-address\WebContent\WEB-INF\lib\commons-validator-1.4.1.jar;C: \0Ati\ZWorkspace\portal-address\WebContent\WEB-INF\lib\dom4j-1.6.1.jar;C:\0Ati\ZWorkspace\portal-address\WebContent\WEB-INF\lib\dynamicreports-core-4.1.1- javadoc.jar;C:\0Ati\ZWorkspace\portal-address\WebContent\WEB-INF\lib\dynamicreports-core-4.1.1.jar;C:\0Ati\ZWorkspace\portal-address\WebContent\WEB-INF \lib\httpclient-4.1.2.jar;C:\0Ati\ZWorkspace\portal-address\WebContent\WEB-INF\lib\httpcore-4.1.2.jar;C:\0Ati\ZWorkspace\portal-address\WebContent\WEB-INF \lib\jackson-all-1.9.0.jar;C:\0Ati\ZWorkspace\portal-address\WebContent\WEB-INF\lib\jackson-annotations-2.6.0-rc1.jar;C:\0Ati\ZWorkspace\portal-address \WebContent\WEB-INF\lib\jackson-core-2.6.0-rc1.jar;C:\0Ati\ZWorkspace\portal-address\WebContent\WEB-INF\lib\jackson-databind-2.6.0-rc1.jar;C:\0Ati \ZWorkspace\portal-address\WebContent\WEB-INF\lib\jasperreports-6.2.2.jar;C:\0Ati\ZWorkspace\portal-address\WebContent\WEB-INF\lib\javax.faces-api- 2.0.jar;C:\0Ati\ZWorkspace\portal-address\WebContent\WEB-INF\lib\javax.ws.rs.jar;C:\0Ati\ZWorkspace\portal-address\WebContent\WEB-INF\lib\jboss-seam- 2.2.2.Final.jar;C:\0Ati\ZWorkspace\portal-address\WebContent\WEB-INF\lib\jettison-1.3.jar;C:\0Ati\ZWorkspace\portal-address\WebContent\WEB-INF\lib \jgeocoder-0.5-jar-with-dependencies.jar;C:\0Ati\ZWorkspace\portal-address\WebContent\WEB-INF\lib\jsslutils-extra-apachehttpclient3-1.0.5.jar;C:\0Ati \ZWorkspace\portal-address\WebContent\WEB-INF\lib\jstl.jar;C:\0Ati\ZWorkspace\portal-address\WebContent\WEB-INF\lib\log4j-1.2.17.jar;C:\0Ati\ZWorkspace \portal-address\WebContent\WEB-INF\lib\mail-1.4.7.jar;C:\0Ati\ZWorkspace\portal-address\WebContent\WEB-INF\lib\opencsv-3.4.jar;C:\0Ati\ZWorkspace\portal- address\WebContent\WEB-INF\lib\openedge.jar;C:\0Ati\ZWorkspace\portal-address\WebContent\WEB-INF\lib\oxLdap-1.7.0-SNAPSHOT.jar;C:\0Ati\ZWorkspace\portal- address\WebContent\WEB-INF\lib\oxService-1.7.0-SNAPSHOT.jar;C:\0Ati\ZWorkspace\portal-address\WebContent\WEB-INF\lib\oxUtil-2.1.0.Final.jar;C:\0Ati \ZWorkspace\portal-address\WebContent\WEB-INF\lib\progress.jar;C:\0Ati\ZWorkspace\portal-address\WebContent\WEB-INF\lib\resteasy-jaxrs-2.3.1.GA.jar;C: \0Ati\ZWorkspace\portal-address\WebContent\WEB-INF\lib\resteasy-jaxrs-2.3.2.final.jar;C:\0Ati\ZWorkspace\portal-address\WebContent\WEB-INF\lib\slf4j-api- 1.7.21.jar;C:\0Ati\ZWorkspace\portal-address\WebContent\WEB-INF\lib\slf4j-simple-1.7.21.jar;C:\0Ati\ZWorkspace\portal-address\WebContent\WEB-INF\lib \standard.jar;C:\0Ati\ZWorkspace\portal-address\WebContent\WEB-INF\lib\util.jar 569 [main] DEBUG org.apache.commons.httpclient.HttpClient - Operating system name: Windows 7 569 [main] DEBUG org.apache.commons.httpclient.HttpClient - Operating system architecture: amd64 569 [main] DEBUG org.apache.commons.httpclient.HttpClient - Operating system version: 6.1 569 [main] DEBUG org.apache.commons.httpclient.HttpClient - SUN 1.7: SUN (DSA key/parameter generation; DSA signing; SHA-1, MD5 digests; SecureRandom; X.509 certificates; JKS keystore; PKIX CertPathValidator; PKIX CertPathBuilder; LDAP, Collection CertStores, JavaPolicy Policy; JavaLoginConfig Configuration) 570 [main] DEBUG org.apache.commons.httpclient.HttpClient - SunRsaSign 1.7: Sun RSA signature provider 570 [main] DEBUG org.apache.commons.httpclient.HttpClient - SunEC 1.7: Sun Elliptic Curve provider (EC, ECDSA, ECDH) 570 [main] DEBUG org.apache.commons.httpclient.HttpClient - SunJSSE 1.7: Sun JSSE provider(PKCS12, SunX509 key/trust factories, SSLv3, TLSv1) 570 [main] DEBUG org.apache.commons.httpclient.HttpClient - SunJCE 1.7: SunJCE Provider (implements RSA, DES, Triple DES, AES, Blowfish, ARCFOUR, RC2, PBE, Diffie-Hellman, HMAC) 570 [main] DEBUG org.apache.commons.httpclient.HttpClient - SunJGSS 1.7: Sun (Kerberos v5, SPNEGO) 570 [main] DEBUG org.apache.commons.httpclient.HttpClient - SunSASL 1.7: Sun SASL provider(implements client mechanisms for: DIGEST-MD5, GSSAPI, EXTERNAL, PLAIN, CRAM-MD5, NTLM; server mechanisms for: DIGEST-MD5, GSSAPI, CRAM-MD5, NTLM) 570 [main] DEBUG org.apache.commons.httpclient.HttpClient - XMLDSig 1.0: XMLDSig (DOM XMLSignatureFactory; DOM KeyInfoFactory) 570 [main] DEBUG org.apache.commons.httpclient.HttpClient - SunPCSC 1.7: Sun PC/SC provider 570 [main] DEBUG org.apache.commons.httpclient.HttpClient - SunMSCAPI 1.7: Sun's Microsoft Crypto API provider 573 [main] DEBUG org.apache.commons.httpclient.params.DefaultHttpParams - Set parameter http.useragent = Jakarta Commons-HttpClient/3.1 574 [main] DEBUG org.apache.commons.httpclient.params.DefaultHttpParams - Set parameter http.protocol.version = HTTP/1.1 574 [main] DEBUG org.apache.commons.httpclient.params.DefaultHttpParams - Set parameter http.connection-manager.class = class org.apache.commons.httpclient.SimpleHttpConnectionManager 574 [main] DEBUG org.apache.commons.httpclient.params.DefaultHttpParams - Set parameter http.protocol.cookie-policy = default 574 [main] DEBUG org.apache.commons.httpclient.params.DefaultHttpParams - Set parameter http.protocol.element-charset = US-ASCII 574 [main] DEBUG org.apache.commons.httpclient.params.DefaultHttpParams - Set parameter http.protocol.content-charset = ISO-8859-1 575 [main] DEBUG org.apache.commons.httpclient.params.DefaultHttpParams - Set parameter http.method.retry-handler = org.apache.commons.httpclient.DefaultHttpMethodRetryHandler@3a58bfac 575 [main] DEBUG org.apache.commons.httpclient.params.DefaultHttpParams - Set parameter http.dateparser.patterns = [EEE, dd MMM yyyy HH:mm:ss zzz, EEEE, dd-MMM-yy HH:mm:ss zzz, EEE MMM d HH:mm:ss yyyy, EEE, dd-MMM-yyyy HH:mm:ss z, EEE, dd-MMM-yyyy HH-mm-ss z, EEE, dd MMM yy HH:mm:ss z, EEE dd-MMM-yyyy HH:mm:ss z, EEE dd MMM yyyy HH:mm:ss z, EEE dd-MMM-yyyy HH-mm-ss z, EEE dd-MMM-yy HH:mm:ss z, EEE dd MMM yy HH:mm:ss z, EEE,dd-MMM-yy HH:mm:ss z, EEE,dd- MMM-yyyy HH:mm:ss z, EEE, dd-MM-yyyy HH:mm:ss z] 614 [main] DEBUG org.apache.commons.httpclient.params.DefaultHttpParams - Set parameter http.protocol.content-charset = utf-8 762 [main] DEBUG org.apache.commons.httpclient.HttpConnection - Open connection to idp.test.com:443 824 [main] DEBUG httpclient.wire.header - >> "POST /identity/seam/resource/restv1/Users/Search HTTP/1.1[\r][\n]" 824 [main] DEBUG org.apache.commons.httpclient.HttpMethodBase - Adding Host request header 838 [main] DEBUG httpclient.wire.header - >> "Authorization: Bearer 6220057e-07e6-40db-aeed-e5d8d81374ea[\r][\n]" 838 [main] DEBUG httpclient.wire.header - >> "BearerTokenType: oxauth[\r][\n]" 838 [main] DEBUG httpclient.wire.header - >> "Accept: application/json[\r][\n]" 838 [main] DEBUG httpclient.wire.header - >> "User-Agent: Jakarta Commons-HttpClient/3.1[\r][\n]" 838 [main] DEBUG httpclient.wire.header - >> "Host: idp.test.com[\r][\n]" 838 [main] DEBUG httpclient.wire.header - >> "Content-Length: 46[\r][\n]" 838 [main] DEBUG httpclient.wire.header - >> "Content-Type: application/json; charset=UTF-8[\r][\n]" 838 [main] DEBUG httpclient.wire.header - >> "[\r][\n]" 838 [main] DEBUG httpclient.wire.content - >> "{"attribute":"uid","value":"yoom@misoccer.us"}" 838 [main] DEBUG org.apache.commons.httpclient.methods.EntityEnclosingMethod - Request body sent 888 [main] DEBUG httpclient.wire.header - << "HTTP/1.1 404 Not Found[\r][\n]" 888 [main] DEBUG httpclient.wire.header - << "HTTP/1.1 404 Not Found[\r][\n]" 889 [main] DEBUG httpclient.wire.header - << "Date: Wed, 16 Nov 2016 17:11:01 GMT[\r][\n]" 889 [main] DEBUG httpclient.wire.header - << "Server: Apache[\r][\n]" 889 [main] DEBUG httpclient.wire.header - << "Content-Type: text/html;charset=utf-8[\r][\n]" 889 [main] DEBUG httpclient.wire.header - << "Content-Language: en[\r][\n]" 889 [main] DEBUG httpclient.wire.header - << "Content-Length: 1211[\r][\n]" 889 [main] DEBUG httpclient.wire.header - << "Set-Cookie: JSESSIONID=9B1EC211924846B59CD8D361FF625159; Path=/identity/; Secure; HttpOnly;HttpOnly[\r] [\n]" 889 [main] DEBUG httpclient.wire.header - << "Connection: close[\r][\n]" 890 [main] DEBUG httpclient.wire.header - << "[\r][\n]" 890 [main] DEBUG org.apache.commons.httpclient.cookie.CookieSpec - Unrecognized cookie attribute: name=HttpOnly, value=null 890 [main] DEBUG org.apache.commons.httpclient.cookie.CookieSpec - Unrecognized cookie attribute: name=HttpOnly, value=null 890 [main] DEBUG org.apache.commons.httpclient.HttpMethodBase - Cookie accepted: "$Version=0; JSESSIONID=9B1EC211924846B59CD8D361FF625159; $Path=/identity/" 892 [main] DEBUG org.apache.commons.httpclient.HttpMethodBase - Buffering response body 892 [main] DEBUG httpclient.wire.content - << "<html><head><title>Apache Tomcat/7.0.65 - Error report</title><style><!--H1 {font- family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} H2 {font-family:Tahoma,Arial,sans-serif;color:white;background- color:#525D76;font-size:16px;} H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} BODY {font- family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P {font- family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A {color : black;}A.name {color : black;}HR {color : #525D76;}--></style> </head><body><h1>HTTP Status 404 - Could not find resource for relative : /Users/Search of full path: https://idp.test.com/identity/seam/resource/restv1/Users/Search</h1><HR size="1" noshade="noshade"><p><b>type</b> Status report</p><p><b>message</b> <u>Could not find resource for relative : /Users/Search of full path: https://idp.test.com/identity/seam/resource/restv1/Users/Search</u></p><p><b>description</b> <u>The requested resource is not available.</u></p><HR size="1" noshade="noshade"><h3>Apache Tomcat/7.0.65</h3></body></html>" 892 [main] DEBUG org.apache.commons.httpclient.HttpMethodBase - Should close connection in response to directive: close 893 [main] DEBUG org.apache.commons.httpclient.HttpConnection - Releasing connection back to connection manager. 893 [main] DEBUG test.portal.user.GluuUser - <html><head><title>Apache Tomcat/7.0.65 - Error report</title><style><!--H1 {font-family:Tahoma,Arial,sans- serif;color:white;background-color:#525D76;font-size:22px;} H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} BODY {font-family:Tahoma,Arial,sans- serif;color:black;background-color:white;} B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P {font-family:Tahoma,Arial,sans- serif;background:white;color:black;font-size:12px;}A {color : black;}A.name {color : black;}HR {color : #525D76;}--></style> </head><body><h1>HTTP Status 404 - Could not find resource for relative : /Users/Search of full path: https://idp.test.com/identity/seam/resource/restv1/Users/Search</h1><HR size="1" noshade="noshade"><p><b>type</b> Status report</p><p><b>message</b> <u>Could not find resource for relative : /Users/Search of full path: https://idp.test.com/identity/seam/resource/restv1/Users/Search</u></p><p><b>description</b> <u>The requested resource is not available.</u></p><HR size="1" noshade="noshade"><h3>Apache Tomcat/7.0.65</h3></body></html> 893 [main] DEBUG test.portal.user.GluuUser - GLUU response is not a valid JSON Object. org.codehaus.jettison.json.JSONException: A JSONObject text must begin with '{' at character 1 of <html><head><title>Apache Tomcat/7.0.65 - Error report</title><style><!--H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} H2 {font-family:Tahoma,Arial,sans- serif;color:white;background-color:#525D76;font-size:16px;} H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B {font-family:Tahoma,Arial,sans-serif;color:white;background- color:#525D76;} P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A {color : black;}A.name {color : black;}HR {color : #525D76;}--></style> </head><body><h1>HTTP Status 404 - Could not find resource for relative : /Users/Search of full path: https://idp.test.com/identity/seam/resource/restv1/Users/Search</h1><HR size="1" noshade="noshade"><p><b>type</b> Status report</p><p><b>message</b> <u>Could not find resource for relative : /Users/Search of full path: https://idp.test.com/identity/seam/resource/restv1/Users/Search</u></p><p><b>description</b> <u>The requested resource is not available.</u></p><HR size="1" noshade="noshade"><h3>Apache Tomcat/7.0.65</h3></body></html> at org.codehaus.jettison.json.JSONTokener.syntaxError(JSONTokener.java:439) at org.codehaus.jettison.json.JSONObject.<init>(JSONObject.java:169) at org.codehaus.jettison.json.JSONObject.<init>(JSONObject.java:266) at test.portal.user.GluuUser.retrieveUserInfoFromGluu(GluuUser.java:1575) at DecodeTest.main(DecodeTest.java:422)

By Michael Schwartz Account Admin 16 Nov 2016 at 2:56 p.m. CST

Michael Schwartz gravatar
Did you read this page: [https://gluu.org/docs/integrate/scimuma-howto/](https://gluu.org/docs/integrate/scimuma-howto/)

By yoom nguyen user 16 Nov 2016 at 4:17 p.m. CST

yoom nguyen gravatar
Thank you for your response and the document's link. So, it seems We have been using the old version of SCIM client .jar file? . I need to download a SCIM client. Downloaded SCIM-Client-2.3.4.Final.jar. "if you are running CE v2.4.4, you must also use SCIM-Client v2.4.4." would this SCIM-Client-2.3.4.Final.jar. work with our new version gluu-server-2.4.4-1-1.rhel7.src.rpm? CE server? Because, I Can not find SCIM-Client v2.4.4 Thanks, Yoom

By Valentino Pecaoco user 17 Nov 2016 at 12:54 a.m. CST

Valentino Pecaoco gravatar
``` <repositories> <repository> <id>gluu</id> <name>Gluu repository</name> <url>http://ox.gluu.org/maven</url> </repository> </repositories> ... <dependency> <groupId>gluu.scim.client</groupId> <artifactId>SCIM-Client</artifactId> <version>${scim.client.version}</version> </dependency> ``` http://ox.gluu.org/maven/gluu/scim/client/SCIM-Client/

By yoom nguyen user 17 Nov 2016 at 9:40 a.m. CST

yoom nguyen gravatar
Thank you Valentino. A few remain request for SCIM testing: **1.** By the way if I am using the server version gluu-server-2.4.4-1-1.rhel7.x86_64.rpm is that equivalent to SCIM-Client-2.4.4.sp1.jar for download? **2.** Is this SCIM-Client-2.4.4.sp1.jar a SCIM or SCIM2 client? **3.**Regarding this instruction. "Add your domain's SSL certificate to the JRE's cacerts certificate key store where your client application will run. There are lots of articles around the Web on how to do this." Have not done this before. I am assuming we need to create a self signed certificate for the SSL connection then import to the Java keystore? is there are document some where relate to SCIM implementation & configuration I can refer to?. **Update.** Found a doc on how to generate the self sighed certificate on the server (server that running the Gluu instance). We are able to export a cert key for the client using keytool . Now, we are trying to figure out how to import it. We have the SCIM test codes run on Eclipse on a windows machine (stand alone client?). NOT quite sure on how to import the cert key in situation. I think we might need to embedded or point to the cert in Java codes. Not quite sure how at this point. Any pointer will be great. Thank you. Yoom

By yoom nguyen user 18 Nov 2016 at 4:31 p.m. CST

yoom nguyen gravatar
We are having problem trying to get SCIM client to communicate with the new GLUU server? Is there a simple way to verify whether the SCIM client can communicate to the GLUU server? We went through your instruction on how to set up and testing the SCIM and it just won't work. We must missing some thing. Any suggestion guys. Thanks, Yoom

By Valentino Pecaoco user 21 Nov 2016 at 1:02 a.m. CST

Valentino Pecaoco gravatar
> 1. By the way if I am using the server version gluu-server-2.4.4-1-1.rhel7.x86_64.rpm is that equivalent to SCIM-Client-2.4.4.sp1.jar for download? They are not the same, the latter is an SP1, the former is not. We have just released SP2, and SP releases are updates installed on top of the main release. The update doc is [here](https://gluu.org/docs/deployment/updating/). > 2. Is this SCIM-Client-2.4.4.sp1.jar a SCIM or SCIM2 client? It is both 1.1 and 2.0. Please see the unit tests which are all included in SCIM-Client. 1.1 though is scheduled for deprecation very, very soon. > I am assuming we need to create a self signed certificate for the SSL connection then import to the Java keystore? No, you don't need to create one, what you need is Gluu's cert to be added to your client's JDK `cacerts` keystore. You can export this via the browser, for example using Google Chrome. You can import it also by `keytool`, or a GUI like [KeyStore Explorer](http://www.keystore-explorer.org/).

By yoom nguyen user 28 Nov 2016 at 10:46 a.m. CST

yoom nguyen gravatar
We will try the correct SCIM-client version today and will keep you inform whether I will able to get SCIM-client to communicate with GLUU server. Thank you for your direction. Yoom

By yoom nguyen user 30 Nov 2016 at 3:27 p.m. CST

yoom nguyen gravatar
If this is what I had used as GLUU server version: gluu-server-2.4.4-1-1.rhel7.x86_64.rpm Then what should I use for the SCIM version? [DIR] 2.4.4.rc1/ 2016-07-15 06:02 - [DIR] 2.4.4.rc2/ 2016-07-20 12:55 - [DIR] 2.4.4.scim_utf8/ 2016-11-15 16:35 - [DIR] 2.4.4/

By Valentino Pecaoco user 30 Nov 2016 at 7:38 p.m. CST

Valentino Pecaoco gravatar
v2.4.4

By yoom nguyen user 19 Jan 2017 at 4:44 p.m. CST

yoom nguyen gravatar
We have been side track with other projects before and during the holiday. Now, We have some time to visit this project again. We are on and off on this project so much, it hard to have a good block of time to complete some of this test concept due to some of the road block that could not get pass. Currently, We are still trying to get the SCIM client to work\communicate with the new GLUU server that we had installed back on Nov 2016. Michael can help to get pass this stage? Perhaps for a fee with a few hours of your professional team to help out. So, we can move on with testing out other features of GLUU. Thanks, Yoom

By Valentino Pecaoco user 20 Jan 2017 at 6:30 a.m. CST

Valentino Pecaoco gravatar
Are you sure you have followed the docs correctly from installation of the Gluu Server and configuration of SCIM-Client? I have been following the docs and there were no issues. If in doubt, you can always start with a clean installation.