Hi, For the second issue you encountered, could you share your application definition.
On Fri, May 8, 2015 at 6:04 AM, david hbase <davidhb...@gmail.com> wrote: > Should I open an JIRA? > -D > > On Thu, May 7, 2015 at 4:34 PM, david hbase <davidhb...@gmail.com> wrote: > >> >> Additional, If I increase the TOKEN_SCOPE to varchar(255), and then got >> another error: >> >> >> >> [2015-05-07 23:22:01,581] INFO >> {org.apache.stratos.autoscaler.services.impl.AutoscalerServiceImpl} - >> Adding application: [application-id] b3978beb-9262-d89a-5671-462559ae3010 >> [2015-05-07 23:22:01,602] INFO >> {org.wso2.carbon.core.services.util.CarbonAuthenticationUtil} - >> 'admin@carbon.super [-1234]' logged in at [2015-05-07 23:22:01,602+0000] >> [2015-05-07 23:22:01,631] INFO >> {org.wso2.carbon.core.services.util.CarbonAuthenticationUtil} - >> 'admin@carbon.super [-1234]' logged in at [2015-05-07 23:22:01,631+0000] >> [2015-05-07 23:22:01,659] INFO >> {org.wso2.carbon.core.services.util.CarbonAuthenticationUtil} - >> 'admin@carbon.super [-1234]' logged in at [2015-05-07 23:22:01,659+0000] >> [2015-05-07 23:22:01,721] INFO >> {org.wso2.carbon.core.services.util.CarbonAuthenticationUtil} - >> 'admin@carbon.super [-1234]' logged in at [2015-05-07 23:22:01,721+0000] >> [2015-05-07 23:22:01,760] INFO >> {org.wso2.carbon.core.services.util.CarbonAuthenticationUtil} - >> 'admin@carbon.super [-1234]' logged in at [2015-05-07 23:22:01,760+0000] >> [2015-05-07 23:22:01,893] INFO >> {org.apache.stratos.autoscaler.services.impl.AutoscalerServiceImpl} - >> Application added successfully: [application-id] >> b3978beb-9262-d89a-5671-462559ae3010 >> [2015-05-07 23:22:38,019] INFO >> {org.apache.stratos.rest.endpoint.api.StratosApiV41Utils} - Starting to >> deploy application: [application-id] b3978beb-9262-d89a-5671-462559ae3010 >> [2015-05-07 23:22:38,067] ERROR >> {org.apache.stratos.cloud.controller.services.impl.CloudControllerServiceImpl} >> - No application cluster information found, unable to create clusters >> [2015-05-07 23:22:38,068] ERROR >> {org.apache.axis2.rpc.receivers.RPCInOnlyMessageReceiver} - No application >> cluster information found, unable to create clusters >> org.apache.stratos.cloud.controller.exception.ApplicationClusterRegistrationException: >> No application cluster information found, unable to create clusters >> at >> org.apache.stratos.cloud.controller.services.impl.CloudControllerServiceImpl.createApplicationClusters(CloudControllerServiceImpl.java:1063) >> >> >> The token table content: >> >> mysql> select * from IDN_OAUTH2_ACCESS_TOKEN ; >> >> +----------------------------------+---------------------------------+------------------------------+------------+-------------+---------------------+-----------------+--------------------------------------+-------------+----------------+ >> | ACCESS_TOKEN | REFRESH_TOKEN | >> CONSUMER_KEY | AUTHZ_USER | USER_TYPE | >> TIME_CREATED | VALIDITY_PERIOD | >> TOKEN_SCOPE | TOKEN_STATE | TOKEN_STATE_ID | >> >> +----------------------------------+---------------------------------+------------------------------+------------+-------------+---------------------+-----------------+--------------------------------------+-------------+----------------+ >> | 9a86ff538aa77fdfde9ea8c9697d3776 | 81cbb6d41246eb5d0d56c48525bf55 | >> Pxqsmhpj7MPICPvNbwdIfn3Cbywa | admin | APPLICATION | 2015-05-07 >> 23:22:01 | 3600000 | b3978beb-9262-d89a-5671-462559ae3010 | >> ACTIVE | NONE | >> | b8a626a31ae05770e6842e3071d07610 | 5ac39f8348c1428f48e24f49b7b9c4c | >> NuV7CytYR0s6Vo_gEceAAKZfu0wa | admin | APPLICATION | 2015-05-06 >> 05:39:05 | 3600000 | single-cartridge-app | >> ACTIVE | NONE | >> >> +----------------------------------+---------------------------------+------------------------------+------------+-------------+---------------------+-----------------+--------------------------------------+-------------+----------------+ >> 2 rows in set (0.00 sec) >> >> >> >> >> >> On Thu, May 7, 2015 at 3:41 PM, david hbase <davidhb...@gmail.com> wrote: >> >>> Hi, Dev >>> >>> The network partition has been setup successfully. >>> But when Add New Application Definition, got the following Errors with >>> Opensatck >>> >>> Please advice: >>> >>> Thanks >>> David >>> >>> [2015-05-07 22:35:12,060] INFO >>> {org.apache.stratos.autoscaler.services.impl.AutoscalerServiceImpl} - >>> Adding application: [application-id] 02e22bc8-80bb-7e65-10d0-3c2640f4b164 >>> [2015-05-07 22:35:12,102] INFO >>> {org.wso2.carbon.core.services.util.CarbonAuthenticationUtil} - >>> 'admin@carbon.super [-1234]' logged in at [2015-05-07 22:35:12,102+0000] >>> [2015-05-07 22:35:12,149] INFO >>> {org.wso2.carbon.core.services.util.CarbonAuthenticationUtil} - >>> 'admin@carbon.super [-1234]' logged in at [2015-05-07 22:35:12,149+0000] >>> [2015-05-07 22:35:12,172] INFO >>> {org.wso2.carbon.core.services.util.CarbonAuthenticationUtil} - >>> 'admin@carbon.super [-1234]' logged in at [2015-05-07 22:35:12,172+0000] >>> [2015-05-07 22:35:12,220] INFO >>> {org.wso2.carbon.core.services.util.CarbonAuthenticationUtil} - >>> 'admin@carbon.super [-1234]' logged in at [2015-05-07 22:35:12,220+0000] >>> [2015-05-07 22:35:12,260] INFO >>> {org.wso2.carbon.core.services.util.CarbonAuthenticationUtil} - >>> 'admin@carbon.super [-1234]' logged in at [2015-05-07 22:35:12,260+0000] >>> [2015-05-07 22:35:12,306] ERROR >>> {org.wso2.carbon.identity.oauth2.dao.TokenMgtDAO} - Error when executing >>> the SQL : INSERT INTO IDN_OAUTH2_ACCESS_TOKEN (ACCESS_TOKEN, REFRESH_TOKEN, >>> CONSUMER_KEY, AUTHZ_USER, TIME_CREATED, VALIDITY_PERIOD, TOKEN_SCOPE, >>> TOKEN_STATE, USER_TYPE) VALUES (?,?,?,?,?,?,?,?,?) >>> [2015-05-07 22:35:12,306] ERROR >>> {org.wso2.carbon.identity.oauth2.dao.TokenMgtDAO} - Data truncation: Data >>> too long for column 'TOKEN_SCOPE' at row 1 >>> com.mysql.jdbc.MysqlDataTruncation: Data truncation: Data too long for >>> column 'TOKEN_SCOPE' at row 1 >>> at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3833) >>> at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3771) >>> at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2435) >>> at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2582) >>> at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2535) >>> at >>> com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:1911) >>> at >>> com.mysql.jdbc.PreparedStatement.execute(PreparedStatement.java:1203) >>> at >>> org.wso2.carbon.identity.oauth2.dao.TokenMgtDAO.storeAccessToken(TokenMgtDAO.java:120) >>> at >>> org.wso2.carbon.identity.oauth2.dao.TokenMgtDAO.storeAccessToken(TokenMgtDAO.java:137) >>> at >>> org.wso2.carbon.identity.oauth2.token.handlers.grant.AbstractAuthorizationGrantHandler.issue(AbstractAuthorizationGrantHandler.java:249) >>> at >>> org.apache.stratos.custom.handlers.granttype.ClientCredentialsGrantHandler.getTokenDTO(ClientCredentialsGrantHandler.java:122) >>> at >>> org.apache.stratos.custom.handlers.granttype.ClientCredentialsGrantHandler.issue(ClientCredentialsGrantHandler.java:84) >>> at >>> org.wso2.carbon.identity.oauth2.token.AccessTokenIssuer.issue(AccessTokenIssuer.java:206) >>> at >>> org.wso2.carbon.identity.oauth2.OAuth2Service.issueAccessToken(OAuth2Service.java:177) >>> at >>> org.wso2.carbon.identity.oauth.endpoint.token.OAuth2TokenEndpoint.getAccessToken(OAuth2TokenEndpoint.java:230) >>> at >>> org.wso2.carbon.identity.oauth.endpoint.token.OAuth2TokenEndpoint.issueAccessToken(OAuth2TokenEndpoint.java:108) >>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >>> at >>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) >>> at >>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) >>> at java.lang.reflect.Method.invoke(Method.java:606) >>> at >>> org.apache.cxf.service.invoker.AbstractInvoker.performInvocation(AbstractInvoker.java:180) >>> at >>> org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:96) >>> at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:194) >>> at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:100) >>> at >>> org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInvokerInterceptor.java:57) >>> at >>> org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(ServiceInvokerInterceptor.java:93) >>> at >>> org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:271) >>> at >>> org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121) >>> at >>> org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:239) >>> at >>> org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:223) >>> at >>> org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:203) >>> at >>> org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:137) >>> at >>> org.apache.cxf.transport.servlet.CXFNonSpringServlet.invoke(CXFNonSpringServlet.java:159) >>> at >>> org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.java:286) >>> at >>> org.apache.cxf.transport.servlet.AbstractHTTPServlet.doPost(AbstractHTTPServlet.java:206) >>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:755) >>> at >>> org.apache.cxf.transport.servlet.AbstractHTTPServlet.service(AbstractHTTPServlet.java:262) >>> at >>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305) >>> at >>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) >>> at >>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222) >>> at >>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123) >>> at >>> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472) >>> at >>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171) >>> at >>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99) >>> at >>> org.wso2.carbon.tomcat.ext.valves.CompositeValve.continueInvocation(CompositeValve.java:178) >>> at >>> org.wso2.carbon.tomcat.ext.valves.CarbonTomcatValve$1.invoke(CarbonTomcatValve.java:47) >>> at >>> org.wso2.carbon.webapp.mgt.TenantLazyLoaderValve.invoke(TenantLazyLoaderValve.java:56) >>> at >>> org.wso2.carbon.tomcat.ext.valves.TomcatValveContainer.invokeValves(TomcatValveContainer.java:47) >>> at >>> org.wso2.carbon.tomcat.ext.valves.CompositeValve.invoke(CompositeValve.java:141) >>> at >>> org.wso2.carbon.tomcat.ext.valves.CarbonStuckThreadDetectionValve.invoke(CarbonStuckThreadDetectionValve.java:156) >>> at >>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:936) >>> at >>> org.wso2.carbon.tomcat.ext.valves.CarbonContextCreatorValve.invoke(CarbonContextCreatorValve.java:52) >>> at >>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) >>> at >>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407) >>> at >>> org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1004) >>> at >>> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589) >>> at >>> org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1653) >>> at >>> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) >>> at >>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) >>> at java.lang.Thread.run(Thread.java:745) >>> [2015-05-07 22:35:12,307] ERROR >>> {org.wso2.carbon.identity.oauth2.dao.TokenMgtDAO} - Error when getting an >>> Identity Persistence Store instance. >>> org.wso2.carbon.identity.oauth2.IdentityOAuth2Exception: Error when >>> storing the access code for consumer key : _zItWhfUbL_XPZLMx3AMYpu6pEsa >>> at >>> org.wso2.carbon.identity.oauth2.dao.TokenMgtDAO.storeAccessToken(TokenMgtDAO.java:124) >>> at >>> org.wso2.carbon.identity.oauth2.dao.TokenMgtDAO.storeAccessToken(TokenMgtDAO.java:137) >>> at >>> org.wso2.carbon.identity.oauth2.token.handlers.grant.AbstractAuthorizationGrantHandler.issue(AbstractAuthorizationGrantHandler.java:249) >>> at >>> org.apache.stratos.custom.handlers.granttype.ClientCredentialsGrantHandler.getTokenDTO(ClientCredentialsGrantHandler.java:122) >>> at >>> org.apache.stratos.custom.handlers.granttype.ClientCredentialsGrantHandler.issue(ClientCredentialsGrantHandler.java:84) >>> at >>> org.wso2.carbon.identity.oauth2.token.AccessTokenIssuer.issue(AccessTokenIssuer.java:206) >>> at >>> org.wso2.carbon.identity.oauth2.OAuth2Service.issueAccessToken(OAuth2Service.java:177) >>> at >>> org.wso2.carbon.identity.oauth.endpoint.token.OAuth2TokenEndpoint.getAccessToken(OAuth2TokenEndpoint.java:230) >>> at >>> org.wso2.carbon.identity.oauth.endpoint.token.OAuth2TokenEndpoint.issueAccessToken(OAuth2TokenEndpoint.java:108) >>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >>> at >>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) >>> at >>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) >>> at java.lang.reflect.Method.invoke(Method.java:606) >>> at >>> org.apache.cxf.service.invoker.AbstractInvoker.performInvocation(AbstractInvoker.java:180) >>> at >>> org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:96) >>> at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:194) >>> at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:100) >>> at >>> org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInvokerInterceptor.java:57) >>> at >>> org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(ServiceInvokerInterceptor.java:93) >>> at >>> org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:271) >>> at >>> org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121) >>> at >>> org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:239) >>> at >>> org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:223) >>> at >>> org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:203) >>> at >>> org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:137) >>> at >>> org.apache.cxf.transport.servlet.CXFNonSpringServlet.invoke(CXFNonSpringServlet.java:159) >>> at >>> org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.java:286) >>> at >>> org.apache.cxf.transport.servlet.AbstractHTTPServlet.doPost(AbstractHTTPServlet.java:206) >>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:755) >>> at >>> org.apache.cxf.transport.servlet.AbstractHTTPServlet.service(AbstractHTTPServlet.java:262) >>> at >>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305) >>> at >>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) >>> at >>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222) >>> at >>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123) >>> at >>> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472) >>> at >>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171) >>> at >>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99) >>> at >>> org.wso2.carbon.tomcat.ext.valves.CompositeValve.continueInvocation(CompositeValve.java:178) >>> at >>> org.wso2.carbon.tomcat.ext.valves.CarbonTomcatValve$1.invoke(CarbonTomcatValve.java:47) >>> at >>> org.wso2.carbon.webapp.mgt.TenantLazyLoaderValve.invoke(TenantLazyLoaderValve.java:56) >>> at >>> org.wso2.carbon.tomcat.ext.valves.TomcatValveContainer.invokeValves(TomcatValveContainer.java:47) >>> at >>> org.wso2.carbon.tomcat.ext.valves.CompositeValve.invoke(CompositeValve.java:141) >>> at >>> org.wso2.carbon.tomcat.ext.valves.CarbonStuckThreadDetectionValve.invoke(CarbonStuckThreadDetectionValve.java:156) >>> at >>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:936) >>> at >>> org.wso2.carbon.tomcat.ext.valves.CarbonContextCreatorValve.invoke(CarbonContextCreatorValve.java:52) >>> at >>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) >>> at >>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407) >>> at >>> org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1004) >>> at >>> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589) >>> at >>> org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1653) >>> at >>> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) >>> at >>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) >>> at java.lang.Thread.run(Thread.java:745) >>> [2015-05-07 22:35:12,309] ERROR >>> {org.wso2.carbon.identity.oauth2.OAuth2Service} - Error when issuing the >>> access token. >>> org.wso2.carbon.identity.oauth2.IdentityOAuth2Exception: Error when >>> getting an Identity Persistence Store instance. >>> at >>> org.wso2.carbon.identity.oauth2.dao.TokenMgtDAO.storeAccessToken(TokenMgtDAO.java:143) >>> at >>> org.wso2.carbon.identity.oauth2.token.handlers.grant.AbstractAuthorizationGrantHandler.issue(AbstractAuthorizationGrantHandler.java:249) >>> at >>> org.apache.stratos.custom.handlers.granttype.ClientCredentialsGrantHandler.getTokenDTO(ClientCredentialsGrantHandler.java:122) >>> at >>> org.apache.stratos.custom.handlers.granttype.ClientCredentialsGrantHandler.issue(ClientCredentialsGrantHandler.java:84) >>> at >>> org.wso2.carbon.identity.oauth2.token.AccessTokenIssuer.issue(AccessTokenIssuer.java:206) >>> at >>> org.wso2.carbon.identity.oauth2.OAuth2Service.issueAccessToken(OAuth2Service.java:177) >>> at >>> org.wso2.carbon.identity.oauth.endpoint.token.OAuth2TokenEndpoint.getAccessToken(OAuth2TokenEndpoint.java:230) >>> at >>> org.wso2.carbon.identity.oauth.endpoint.token.OAuth2TokenEndpoint.issueAccessToken(OAuth2TokenEndpoint.java:108) >>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >>> at >>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) >>> at >>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) >>> at java.lang.reflect.Method.invoke(Method.java:606) >>> at >>> org.apache.cxf.service.invoker.AbstractInvoker.performInvocation(AbstractInvoker.java:180) >>> at >>> org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:96) >>> at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:194) >>> at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:100) >>> at >>> org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInvokerInterceptor.java:57) >>> at >>> org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(ServiceInvokerInterceptor.java:93) >>> at >>> org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:271) >>> at >>> org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121) >>> at >>> org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:239) >>> at >>> org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:223) >>> at >>> org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:203) >>> at >>> org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:137) >>> at >>> org.apache.cxf.transport.servlet.CXFNonSpringServlet.invoke(CXFNonSpringServlet.java:159) >>> at >>> org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.java:286) >>> at >>> org.apache.cxf.transport.servlet.AbstractHTTPServlet.doPost(AbstractHTTPServlet.java:206) >>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:755) >>> at >>> org.apache.cxf.transport.servlet.AbstractHTTPServlet.service(AbstractHTTPServlet.java:262) >>> at >>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305) >>> at >>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) >>> at >>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222) >>> at >>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123) >>> at >>> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472) >>> at >>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171) >>> at >>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99) >>> at >>> org.wso2.carbon.tomcat.ext.valves.CompositeValve.continueInvocation(CompositeValve.java:178) >>> at >>> org.wso2.carbon.tomcat.ext.valves.CarbonTomcatValve$1.invoke(CarbonTomcatValve.java:47) >>> at >>> org.wso2.carbon.webapp.mgt.TenantLazyLoaderValve.invoke(TenantLazyLoaderValve.java:56) >>> at >>> org.wso2.carbon.tomcat.ext.valves.TomcatValveContainer.invokeValves(TomcatValveContainer.java:47) >>> at >>> org.wso2.carbon.tomcat.ext.valves.CompositeValve.invoke(CompositeValve.java:141) >>> at >>> org.wso2.carbon.tomcat.ext.valves.CarbonStuckThreadDetectionValve.invoke(CarbonStuckThreadDetectionValve.java:156) >>> at >>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:936) >>> at >>> org.wso2.carbon.tomcat.ext.valves.CarbonContextCreatorValve.invoke(CarbonContextCreatorValve.java:52) >>> at >>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) >>> at >>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407) >>> at >>> org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1004) >>> at >>> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589) >>> at >>> org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1653) >>> at >>> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) >>> at >>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) >>> at java.lang.Thread.run(Thread.java:745) >>> Caused by: org.wso2.carbon.identity.oauth2.IdentityOAuth2Exception: >>> Error when storing the access code for consumer key : >>> _zItWhfUbL_XPZLMx3AMYpu6pEsa >>> at >>> org.wso2.carbon.identity.oauth2.dao.TokenMgtDAO.storeAccessToken(TokenMgtDAO.java:124) >>> at >>> org.wso2.carbon.identity.oauth2.dao.TokenMgtDAO.storeAccessToken(TokenMgtDAO.java:137) >>> ... 51 more >>> [2015-05-07 22:35:12,312] ERROR >>> {org.apache.stratos.autoscaler.applications.parser.DefaultApplicationParser} >>> - Could not create oauth token: [application-id] >>> 02e22bc8-80bb-7e65-10d0-3c2640f4b164 >>> OAuthProblemException{description='Error when issuing the access token', >>> error='server_error', uri='null', state='null', scope='null'} >>> at >>> org.apache.amber.oauth2.common.exception.OAuthProblemException.error(OAuthProblemException.java:57) >>> at >>> org.apache.amber.oauth2.client.validator.OAuthClientValidator.validateErrorResponse(OAuthClientValidator.java:63) >>> at >>> org.apache.amber.oauth2.client.validator.OAuthClientValidator.validate(OAuthClientValidator.java:48) >>> at >>> org.apache.amber.oauth2.client.response.OAuthClientResponse.validate(OAuthClientResponse.java:64) >>> at >>> org.apache.amber.oauth2.client.response.OAuthClientResponse.init(OAuthClientResponse.java:59) >>> at >>> org.apache.amber.oauth2.client.response.OAuthAccessTokenResponse.init(OAuthAccessTokenResponse.java:52) >>> at >>> org.apache.amber.oauth2.client.response.OAuthClientResponseFactory.createCustomResponse(OAuthClientResponseFactory.java:60) >>> at >>> org.apache.amber.oauth2.client.URLConnectionClient.execute(URLConnectionClient.java:105) >>> at >>> org.apache.amber.oauth2.client.OAuthClient.accessToken(OAuthClient.java:64) >>> >>> >> > -- Udara Liyanage Software Engineer WSO2, Inc.: http://wso2.com lean. enterprise. middleware web: http://udaraliyanage.wordpress.com phone: +94 71 443 6897