wso2 - Access denied on API Manager -
i tried install api manager on amazon ec2 service, installation didn't return error when launch service via bash, give me :
java_home environment variable set /usr carbon_home environment variable set /home/ec2-user/wso2am-1.10.0 using java memory options: -xms256m -xmx1024m [2016-02-05 14:24:27,851] info - carboncoreactivator starting wso2 carbon... [2016-02-05 14:24:27,860] info - carboncoreactivator operating system : linux 4.1.13-19.31.amzn1.x86_64, amd64 [2016-02-05 14:24:27,860] info - carboncoreactivator java home : /usr/java/jdk1.8.0_11/jre [2016-02-05 14:24:27,860] info - carboncoreactivator java version : 1.8.0_11 [2016-02-05 14:24:27,860] info - carboncoreactivator java vm : java hotspot(tm) 64-bit server vm 25.11-b03,oracle corporation [2016-02-05 14:24:27,860] info - carboncoreactivator carbon home : /home/ec2-user/wso2am-1.10.0 [2016-02-05 14:24:27,861] info - carboncoreactivator java temp dir : /home/ec2-user/wso2am-1.10.0/tmp [2016-02-05 14:24:27,861] info - carboncoreactivator user : ec2-user, fr-fr, zulu [2016-02-05 14:24:28,094] warn - validationresultprinter swap memory size (mb): 0 of system below recommended minimum size :2047 [2016-02-05 14:24:28,097] warn - validationresultprinter maximum permgen space (mb) :0 of running jvm set below recommended minimum size :256 [2016-02-05 14:24:28,097] warn - validationresultprinter carbon configured use default keystore (wso2carbon.jks). maximize security when deploying production environment, configure new keystore unique password in production server profile. [2016-02-05 14:24:28,097] warn - validationresultprinter ram size (mb): 995 of system below recommended minimum size :2047 [2016-02-05 14:24:28,252] info - agentholder agent created ! [2016-02-05 14:24:28,295] info - agentds deployed agent client [2016-02-05 14:24:33,716] info - embeddedregistryservice configured registry in 155ms [2016-02-05 14:24:33,826] info - registrycoreservicecomponent registry mode : read-write [2016-02-05 14:24:34,265] info - metricserviceimpl creating jdbc reporter metrics source 'ip-172-31-19-177.eu-central-1.compute.internal', data source 'jdbc/wso2metricsdb' , 60 seconds polling period [2016-02-05 14:24:34,266] info - abstractreporter started jmx reporter metrics [2016-02-05 14:24:34,283] info - abstractreporter started jdbc reporter metrics [2016-02-05 14:24:38,558] info - solrclient default embedded solr server initialized [2016-02-05 14:24:39,117] info - userstoremgtdscomponent carbon userstoremgtdscomponent activated successfully. [2016-02-05 14:24:49,170] info - tagliburirule tld skipped. uri: http://tiles.apache.org/tags-tiles defined [2016-02-05 14:24:50,312] info - clusterbuilder clustering has been disabled [2016-02-05 14:24:50,629] info - userstoreconfigurationdeployer user store configuration deployer initiated. [2016-02-05 14:24:50,630] info - userstoreconfigurationdeployer user store configuration deployer initiated. [2016-02-05 14:24:50,667] info - passthroughhttpsender initializing pass-through http/s sender... [2016-02-05 14:24:50,727] info - passthroughhttpsender pass-through http sender started... [2016-02-05 14:24:50,727] info - passthroughhttpsslsender initializing pass-through http/s sender... [2016-02-05 14:24:50,731] info - clientconnfactorybuilder https loading identity keystore : repository/resources/security/wso2carbon.jks [2016-02-05 14:24:50,734] info - clientconnfactorybuilder https loading trust keystore : repository/resources/security/client-truststore.jks [2016-02-05 14:24:50,747] info - passthroughhttpsslsender pass-through https sender started... [2016-02-05 14:24:50,762] info - passthroughhttplistener initializing pass-through http/s listener... [2016-02-05 14:24:50,807] info - passthroughhttpssllistener initializing pass-through http/s listener... [2016-02-05 14:24:50,931] info - moduledeployer deploying module: addressing-1.6.1-wso2v16 - file:/home/ec2-user/wso2am-1.10.0/repository/deployment/client/modules/addressing-1.6.1-wso2v16.mar [2016-02-05 14:24:53,313] info - deploymentengine deploying web service: org.wso2.carbon.message.processor-4.5.1 - [2016-02-05 14:24:53,332] info - deploymentengine deploying web service: org.wso2.carbon.message.store-4.5.1 - [2016-02-05 14:24:53,937] info - deploymentengine deploying web service: org.wso2.carbon.registry.ws.api-4.4.8 - [2016-02-05 14:24:55,011] info - carbonservermanager repository : /home/ec2-user/wso2am-1.10.0/repository/deployment/server/ [2016-02-05 14:24:55,611] info - tenantloadingconfig using tenant lazy loading policy... [2016-02-05 14:24:55,621] info - permissionupdater permission cache updated tenant -1234 [2016-02-05 14:24:56,288] info - defaultkeyvalidationhandler org.wso2.carbon.apimgt.keymgt.handlers.defaultkeyvalidationhandler initialised [2016-02-05 14:24:56,291] info - apikeyvalidationservice initialised keyvalidationhandler instance [2016-02-05 14:24:56,292] info - apikeymgtservicecomponent setting default carbon host thrift key management service: 172.31.19.177 [2016-02-05 14:24:56,451] info - apikeymgtservicecomponent started thrift key mgt service @ port:10397 [2016-02-05 14:24:56,555] info - sessiondatastore thread pool size session persistent consumer : 100 [2016-02-05 14:24:56,724] info - sessiondatastore session data operations cleanup task of authentication framework not enabled. [2016-02-05 14:24:56,908] info - servicebusinitializer starting esb... [2016-02-05 14:24:56,933] info - servicebusinitializer initializing apache synapse... [2016-02-05 14:24:56,939] info - synapsecontrollerfactory using synapse home : /home/ec2-user/wso2am-1.10.0/. [2016-02-05 14:24:56,944] info - synapsecontrollerfactory using synapse.xml location : /home/ec2-user/wso2am-1.10.0/././repository/deployment/server/synapse-configs/default [2016-02-05 14:24:56,944] info - synapsecontrollerfactory using server name : localhost [2016-02-05 14:24:56,951] info - synapsecontrollerfactory timeout handler run every : 15s [2016-02-05 14:24:56,967] info - axis2synapsecontroller initializing synapse @ : fri feb 05 14:24:56 utc 2016 [2016-02-05 14:24:56,975] info - carbonsynapsecontroller loading mediation configuration file system [2016-02-05 14:24:56,981] info - multixmlconfigurationbuilder building synapse configuration synapse artifact repository @ : ././repository/deployment/server/synapse-configs/default [2016-02-05 14:24:56,987] info - xmlconfigurationbuilder generating synapse configuration model parsing xml configuration [2016-02-05 14:24:57,069] info - schemabuilder xacml policy schema loaded successfully. [2016-02-05 14:24:57,233] info - synapseconfigurationbuilder loaded synapse configuration artifact repository @ : ././repository/deployment/server/synapse-configs/default [2016-02-05 14:24:57,237] info - axis2synapsecontroller loading mediator extensions... [2016-02-05 14:24:58,206] info - deploymentinterceptor deploying axis2 service: echo {super-tenant} [2016-02-05 14:24:58,215] info - deploymentengine deploying web service: echo.aar - file:/home/ec2-user/wso2am-1.10.0/repository/deployment/server/axis2services/echo.aar [2016-02-05 14:24:58,232] info - deploymentinterceptor deploying axis2 service: version {super-tenant} [2016-02-05 14:24:58,232] info - deploymentengine deploying web service: version.aar - file:/home/ec2-user/wso2am-1.10.0/repository/deployment/server/axis2services/version.aar [2016-02-05 14:25:00,675] info - tomcatgenericwebappsdeployer deployed webapp: standardengine[catalina].standardhost[localhost].standardcontext[/am/sample/calculator/v1].file[/home/ec2-user/wso2am-1.10.0/repository/deployment/server/webapps/am#sample#calculator#v1.war] [2016-02-05 14:25:04,235] info - serverimpl setting server's publish address / [2016-02-05 14:25:04,377] info - tomcatgenericwebappsdeployer deployed webapp: standardengine[catalina].standardhost[localhost].standardcontext[/api/am/publisher/v0.9].file[/home/ec2-user/wso2am-1.10.0/repository/deployment/server/webapps/api#am#publisher#v0.9.war] [2016-02-05 14:25:08,067] info - serverimpl setting server's publish address / [2016-02-05 14:25:08,195] info - tomcatgenericwebappsdeployer deployed webapp: standardengine[catalina].standardhost[localhost].standardcontext[/api/am/store/v0.9].file[/home/ec2-user/wso2am-1.10.0/repository/deployment/server/webapps/api#am#store#v0.9.war] [2016-02-05 14:25:08,584] info - tenantdatamanager endpointconfig.properties file loaded ./repository/conf/identity/endpointconfig.properties [2016-02-05 14:25:09,611] info - tldlocationscache @ least 1 jar scanned tlds yet contained no tlds. enable debug logging logger complete list of jars scanned no tlds found in them. skipping unneeded jars during scanning can improve startup time , jsp compilation time. [2016-02-05 14:25:11,292] info - tomcatgenericwebappsdeployer deployed webapp: standardengine[catalina].standardhost[localhost].standardcontext[/authenticationendpoint].file[/home/ec2-user/wso2am-1.10.0/repository/deployment/server/webapps/authenticationendpoint.war] [2016-02-05 14:25:14,232] info - serverimpl setting server's publish address /register [2016-02-05 14:25:14,363] info - tomcatgenericwebappsdeployer deployed webapp: standardengine[catalina].standardhost[localhost].standardcontext[/client-registration/v0.9].file[/home/ec2-user/wso2am-1.10.0/repository/deployment/server/webapps/client-registration#v0.9.war] [2016-02-05 14:25:17,619] info - tomcatgenericwebappsdeployer deployed webapp: standardengine[catalina].standardhost[localhost].standardcontext[/oauth2].file[/home/ec2-user/wso2am-1.10.0/repository/deployment/server/webapps/oauth2.war] [2016-02-05 14:25:19,001] info - axis2synapsecontroller deploying synapse service... [2016-02-05 14:25:19,002] info - axis2synapsecontroller deploying proxy services... [2016-02-05 14:25:19,002] info - proxyservice building axis service proxy service : workflowcallbackservice [2016-02-05 14:25:19,019] info - proxyservice adding service workflowcallbackservice axis2 configuration [2016-02-05 14:25:19,021] info - deploymentinterceptor deploying axis2 service: workflowcallbackservice {super-tenant} [2016-02-05 14:25:19,021] info - proxyservice created axis2 service proxy service : workflowcallbackservice [2016-02-05 14:25:19,021] info - axis2synapsecontroller deployed proxy service : workflowcallbackservice [2016-02-05 14:25:19,021] info - axis2synapsecontroller deploying eventsources... [2016-02-05 14:25:19,047] info - api initializing api: _wso2amrevokeapi_ [2016-02-05 14:25:19,047] info - api initializing api: _wso2amauthorizeapi_ [2016-02-05 14:25:19,048] info - api initializing api: _wso2amtokenapi_ [2016-02-05 14:25:19,051] info - api initializing api: _wso2amuserinfoapi_ [2016-02-05 14:25:19,052] info - servermanager server ready processing... [2016-02-05 14:25:19,536] info - statisticsservicecomponent bam service stat publishing disabled [2016-02-05 14:25:19,733] info - passthroughhttplistener starting pass-through http listener... [2016-02-05 14:25:19,749] info - passthroughlisteningioreactormanager pass-through http listener started on 0.0.0.0:8280 [2016-02-05 14:25:19,750] info - passthroughhttpssllistener starting pass-through https listener... [2016-02-05 14:25:19,756] info - passthroughlisteningioreactormanager pass-through https listener started on 0.0.0.0:8243 [2016-02-05 14:25:19,998] info - nioselectorpool using shared selector servlet write/read [2016-02-05 14:25:20,074] info - nioselectorpool using shared selector servlet write/read [2016-02-05 14:25:20,298] info - taskserviceimpl task service starting in standalone mode... [2016-02-05 14:25:20,457] info - registryeventingservicecomponent initialized eventing on registry [2016-02-05 14:25:20,612] info - jmxservermanager jmx service url : service:jmx:rmi://localhost:11111/jndi/rmi://localhost:9999/jmxrmi [2016-02-05 14:25:20,613] info - startupfinalizerservicecomponent server : wso2 api manager-1.10.0 [2016-02-05 14:25:20,614] info - startupfinalizerservicecomponent wso2 carbon started in 59 sec [2016-02-05 14:25:21,083] info - carbonuiservicecomponent mgt console url : https://172.31.19.177:9443/carbon/ [2016-02-05 14:25:21,084] info - carbonuiservicecomponent api publisher default context : http://172.31.19.177:9763/publisher [2016-02-05 14:25:21,084] info - carbonuiservicecomponent api store default context : http://172.31.19.177:9763/store [2016-02-05 14:25:41,622] error - solrclient error when passing date create solr date format.java.text.parseexception: unparseable date: "fri feb 05 14:25:19 utc 2016" [2016-02-05 14:25:41,624] error - solrclient error when passing date create solr date format.java.text.parseexception: unparseable date: "thu feb 04 16:02:01 utc 2016" [2016-02-05 14:25:41,623] error - solrclient error when passing date create solr date format.java.text.parseexception: unparseable date: "fri feb 05 14:25:19 utc 2016" [2016-02-05 14:25:41,626] error - solrclient error when passing date create solr date format.java.text.parseexception: unparseable date: "thu feb 04 16:02:01 utc 2016" [2016-02-05 14:25:41,623] error - solrclient error when passing date create solr date format.java.text.parseexception: unparseable date: "fri feb 05 14:25:19 utc 2016" [2016-02-05 14:25:41,627] error - solrclient error when passing date create solr date format.java.text.parseexception: unparseable date: "thu feb 04 16:02:01 utc 2016" [2016-02-05 14:25:41,623] error - solrclient error when passing date create solr date format.java.text.parseexception: unparseable date: "fri feb 05 14:25:19 utc 2016" [2016-02-05 14:25:41,622] error - solrclient error when passing date create solr date format.java.text.parseexception: unparseable date: "fri feb 05 14:25:19 utc 2016" [2016-02-05 14:25:41,628] error - solrclient error when passing date create solr date format.java.text.parseexception: unparseable date: "thu feb 04 16:02:01 utc 2016" [2016-02-05 14:25:41,622] error - solrclient error when passing date create solr date format.java.text.parseexception: unparseable date: "fri feb 05 14:25:19 utc 2016" [2016-02-05 14:25:41,635] error - solrclient error when passing date create solr date format.java.text.parseexception: unparseable date: "thu feb 04 16:02:01 utc 2016" [2016-02-05 14:25:41,622] error - solrclient error when passing date create solr date format.java.text.parseexception: unparseable date: "fri feb 05 14:25:19 utc 2016" [2016-02-05 14:25:41,636] error - solrclient error when passing date create solr date format.java.text.parseexception: unparseable date: "thu feb 04 16:02:01 utc 2016" [2016-02-05 14:25:41,622] error - solrclient error when passing date create solr date format.java.text.parseexception: unparseable date: "fri feb 05 14:25:19 utc 2016" [2016-02-05 14:25:41,636] error - solrclient error when passing date create solr date format.java.text.parseexception: unparseable date: "thu feb 04 16:02:01 utc 2016" [2016-02-05 14:25:41,622] error - solrclient error when passing date create solr date format.java.text.parseexception: unparseable date: "fri feb 05 14:25:19 utc 2016" [2016-02-05 14:25:41,636] error - solrclient error when passing date create solr date format.java.text.parseexception: unparseable date: "thu feb 04 16:02:01 utc 2016" [2016-02-05 14:25:41,622] error - solrclient error when passing date create solr date format.java.text.parseexception: unparseable date: "fri feb 05 14:25:19 utc 2016" [2016-02-05 14:25:41,636] error - solrclient error when passing date create solr date format.java.text.parseexception: unparseable date: "thu feb 04 16:02:01 utc 2016" [2016-02-05 14:25:41,627] error - solrclient error when passing date create solr date format.java.text.parseexception: unparseable date: "thu feb 04 16:02:01 utc 2016" [2016-02-05 14:25:41,751] error - solrclient error when passing date create solr date format.java.text.parseexception: unparseable date: "fri feb 05 14:24:50 utc 2016" [2016-02-05 14:25:41,751] error - solrclient error when passing date create solr date format.java.text.parseexception: unparseable date: "thu feb 04 16:01:33 utc 2016" [2016-02-05 14:25:41,753] error - solrclient error when passing date create solr date format.java.text.parseexception: unparseable date: "fri feb 05 14:25:19 utc 2016" [2016-02-05 14:25:41,754] error - solrclient error when passing date create solr date format.java.text.parseexception: unparseable date: "thu feb 04 16:02:01 utc 2016"
and after while nothing happens, quit :
^c [2016-02-05 14:29:15,025] info - carbonservermanager shutdown hook triggered.... [2016-02-05 14:29:15,026] info - carbonservermanager gracefully shutting down wso2 api manager... [2016-02-05 14:29:15,032] info - servermanagement starting switch maintenance mode... [2016-02-05 14:29:15,032] info - passthroughhttplistener stopping pass-through http listener.. [2016-02-05 14:29:15,033] info - passthroughlisteningioreactormanager shutting down io reactor bind port 8280 [2016-02-05 14:29:15,035] info - passthroughlisteningioreactormanager http-listener i/o dispatcher listener shutdown. [2016-02-05 14:29:15,035] info - passthroughhttpssllistener stopping pass-through https listener.. [2016-02-05 14:29:15,036] info - passthroughlisteningioreactormanager shutting down io reactor bind port 8243 [2016-02-05 14:29:15,036] info - passthroughlisteningioreactormanager https-listener i/o dispatcher listener shutdown. [2016-02-05 14:29:15,037] info - servermanagement stopped transport listeners [2016-02-05 14:29:15,037] info - servermanagement waiting request service completion... [2016-02-05 14:29:15,042] info - servermanagement requests have been served. [2016-02-05 14:29:15,042] info - servermanagement waiting deployment completion... [2016-02-05 14:29:15,108] info - webapplication unloaded webapp: standardengine[catalina].standardhost[localhost].standardcontext[/api/am/publisher/v0.9] [2016-02-05 14:29:15,138] info - webapplication unloaded webapp: standardengine[catalina].standardhost[localhost].standardcontext[/oauth2] [2016-02-05 14:29:15,165] info - webapplication unloaded webapp: standardengine[catalina].standardhost[localhost].standardcontext[/authenticationendpoint] [2016-02-05 14:29:15,189] info - webapplication unloaded webapp: standardengine[catalina].standardhost[localhost].standardcontext[/client-registration/v0.9] [2016-02-05 14:29:15,209] info - webapplication unloaded webapp: standardengine[catalina].standardhost[localhost].standardcontext[/am/sample/calculator/v1] [2016-02-05 14:29:15,230] info - webapplication unloaded webapp: standardengine[catalina].standardhost[localhost].standardcontext[/api/am/store/v0.9] [2016-02-05 14:29:15,240] info - webapplication unloaded webapp: standardengine[catalina].standardhost[localhost].standardcontext[/workflow-admin] [2016-02-05 14:29:15,244] info - webapplication unloaded webapp: standardengine[catalina].standardhost[localhost].standardcontext[/store] [2016-02-05 14:29:15,251] info - webapplication unloaded webapp: standardengine[catalina].standardhost[localhost].standardcontext[/admin-dashboard] [2016-02-05 14:29:15,260] info - webapplication unloaded webapp: standardengine[catalina].standardhost[localhost].standardcontext[/publisher] [2016-02-05 14:29:15,260] info - servermanagement deployment tasks have been completed. [2016-02-05 14:29:15,260] info - servermanagement waiting server task completion... [2016-02-05 14:29:15,301] info - registrycoreservicecomponent writing logs [2016-02-05 14:29:15,303] info - servermanagement server tasks have been completed. [2016-02-05 14:29:15,303] info - carbonservermanager shutting down wso2 api manager... [2016-02-05 14:29:15,303] info - carbonservermanager shutting down osgi framework... [2016-02-05 14:29:15,404] info - synapsetaskmanager shutting down task manager [2016-02-05 14:29:15,460] info - carbonservermanager stopping carbonservermanager... [2016-02-05 14:29:15,462] info - passthroughhttpsender http sender shutdown [2016-02-05 14:29:15,462] info - passthroughhttpsslsender https sender shutdown [2016-02-05 14:29:15,462] info - passthroughhttplistener destroying passthroughhttplistener [2016-02-05 14:29:15,463] info - passthroughhttpssllistener destroying passthroughhttplistener [2016-02-05 14:29:17,748] info - carbontomcatservicecomponent stopping carbon web-app registered under : / [2016-02-05 14:29:17,794] info - abstractreporter stopped jmx reporter metrics [2016-02-05 14:29:17,795] info - abstractreporter stopped jdbc reporter metrics [2016-02-05 14:29:18,461] info - carbonservermanager shutdown complete [2016-02-05 14:29:18,461] info - carbonservermanager halting jvm
i tried connect server using port 9443 got access denied page.
do guys have idea did installation or configuration gone wrong ?
notice in installation tutorial, command didn't worked :
export path=${java_home}/bin:${path}
thanks help, jérémy
Comments
Post a Comment