Hi Isuru,

Please create a github issue in [1] with your findings to track this. We
will fix this in the next release.

[1] - https://github.com/wso2/puppet-apim

Thank you!

On Wed, Jan 17, 2018 at 4:15 PM, Isuru Uyanage <isur...@wso2.com> wrote:

> I got the same issue when implementing [1].
>
> As I identified the reason for this issue is as below.
> We are downloading wso2is-prepacked-puppet-module-hieradata-5.3.0.zip
> <https://github.com/wso2/puppet-apim/releases/download/v2.1.0.1/wso2is-prepacked-puppet-module-hieradata-5.3.0.zip>
>  and
> copying the hieradata folder. The default.yaml inside the folder contains
> following details.
>
> wso2::service_name: wso2is
> wso2::hostname: is.dev.wso2.org
> wso2::mgt_hostname: is.dev.wso2.org
> This profile is referred in /opt/deployment.conf file. The particular
> pattern's common.yaml file refers the hostname as km.dev.wso2.org.
> Therefore we need to change this to is.dev.wso2.org. Further, as per the
> READ.MD file, we can download the wso2is.5.3.0.zip from
> http://product-dist.wso2.com/downloads/api-manager/2.1.
> 0/identity-server/wso2is-5.3.0.zip.
>
>
> [1] - https://docs.wso2.com/display/AM210/Using+Puppet+
> Modules+to+Set+up+WSO2+API-M+with+Pattern+6#5edd67ca3ad54014b6e4e85999c775
> c8
>
>
> Thanks
> Isuru
>
> *Thanks and Best Regards,*
>
> *Isuru Uyanage*
> *Software Engineer - QA | WSO2*
> *Mobile : **+94 77 <+94%2077%20767%201807> 55 30752*
> *LinkedIn: **https://www.linkedin.com/in/isuru-uyanage/
> <https://www.linkedin.com/in/isuru-uyanage/>*
>
>
>
>
> On Fri, Nov 24, 2017 at 2:31 PM, Nuwan Silva <nuw...@wso2.com> wrote:
>
>> Checked the /etc/hosts file and it seems to be pointing correctly. Im
>> using the latest wum packs.
>>
>> Cheers,
>> NuwanS.
>>
>> On Fri, Nov 24, 2017 at 1:14 PM, Samitha Chathuranga <sami...@wso2.com>
>> wrote:
>>
>>> Hi Nuwan,
>>>
>>> Probably there is a connection issue from store node to is-as-km node.
>>> Can you check whether the host mappings are correct in /etc/hosts file?
>>>
>>> Regards,
>>> Samitha
>>>
>>> On Fri, Nov 24, 2017 at 12:34 PM, Chalitha Waldeniyage <
>>> chali...@wso2.com> wrote:
>>>
>>>> Hi Nuwan,
>>>>
>>>> I'm working on similar setup and this flow is working for me(using 22nd
>>>> WUM pack). I'm suspecting your WUM updated pack is having some issue
>>>> Can you please check on this.
>>>>
>>>> Thank you,
>>>> Chalitha
>>>>
>>>>
>>>> On Fri, Nov 24, 2017 at 12:21 PM, Nuwan Silva <nuw...@wso2.com> wrote:
>>>>
>>>>> Hi Team,
>>>>>
>>>>> While deploying the IS as the KM via puppet I used [1] with the
>>>>> pre-packaged IS that is updated through wum "wso2is-km-5.3.0.zip".
>>>>> Installation was successful and after deploying I tried to generate keys
>>>>> with the Default Application in the store. (please see below logs)
>>>>>
>>>>> I've notices this happens when the KM feature is not installed. but
>>>>> shouldnt the pre-packaged wum downloadable IS instance come with the
>>>>> feature installed?
>>>>>
>>>>> TID: [-1234] [] [2017-11-24 06:17:38,007] ERROR
>>>>> {org.apache.axis2.engine.AxisEngine} -  The service cannot be found
>>>>> for the endpoint reference (EPR) https://km.dev.wso2.org:9443/s
>>>>> ervices/APIKeyMgtSubscriberService
>>>>> org.apache.axis2.AxisFault: The service cannot be found for the
>>>>> endpoint reference (EPR) https://km.dev.wso2.org:9443/s
>>>>> ervices/APIKeyMgtSubscriberService
>>>>>     at org.apache.axis2.engine.DispatchPhase.checkPostConditions(Di
>>>>> spatchPhase.java:78)
>>>>>     at org.apache.axis2.engine.Phase.invoke(Phase.java:329)
>>>>>     at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:261)
>>>>>     at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:167)
>>>>>     at org.apache.axis2.transport.http.HTTPTransportUtils.processHT
>>>>> TPPostRequest(HTTPTransportUtils.java:173)
>>>>>     at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServl
>>>>> et.java:147)
>>>>>     at org.wso2.carbon.core.transports.CarbonServlet.doPost(CarbonS
>>>>> ervlet.java:231)
>>>>>     at javax.servlet.http.HttpServlet.service(HttpServlet.java:650)
>>>>>     at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
>>>>>     at org.eclipse.equinox.http.servlet.internal.ServletRegistratio
>>>>> n.service(ServletRegistration.java:61)
>>>>>     at org.eclipse.equinox.http.servlet.internal.ProxyServlet.proce
>>>>> ssAlias(ProxyServlet.java:128)
>>>>>     at org.eclipse.equinox.http.servlet.internal.ProxyServlet.servi
>>>>> ce(ProxyServlet.java:68)
>>>>>     at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
>>>>>     at org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.service
>>>>> (DelegationServlet.java:68)
>>>>>     at org.apache.catalina.core.ApplicationFilterChain.internalDoFi
>>>>> lter(ApplicationFilterChain.java:303)
>>>>>     at org.apache.catalina.core.ApplicationFilterChain.doFilter(App
>>>>> licationFilterChain.java:208)
>>>>>     at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilte
>>>>> r.java:52)
>>>>>     at org.apache.catalina.core.ApplicationFilterChain.internalDoFi
>>>>> lter(ApplicationFilterChain.java:241)
>>>>>     at org.apache.catalina.core.ApplicationFilterChain.doFilter(App
>>>>> licationFilterChain.java:208)
>>>>>     at org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilte
>>>>> r(HttpHeaderSecurityFilter.java:124)
>>>>>     at org.apache.catalina.core.ApplicationFilterChain.internalDoFi
>>>>> lter(ApplicationFilterChain.java:241)
>>>>>     at org.apache.catalina.core.ApplicationFilterChain.doFilter(App
>>>>> licationFilterChain.java:208)
>>>>>     at org.wso2.carbon.tomcat.ext.filter.CharacterSetFilter.doFilte
>>>>> r(CharacterSetFilter.java:61)
>>>>>     at org.apache.catalina.core.ApplicationFilterChain.internalDoFi
>>>>> lter(ApplicationFilterChain.java:241)
>>>>>     at org.apache.catalina.core.ApplicationFilterChain.doFilter(App
>>>>> licationFilterChain.java:208)
>>>>>     at org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilte
>>>>> r(HttpHeaderSecurityFilter.java:124)
>>>>>     at org.apache.catalina.core.ApplicationFilterChain.internalDoFi
>>>>> lter(ApplicationFilterChain.java:241)
>>>>>     at org.apache.catalina.core.ApplicationFilterChain.doFilter(App
>>>>> licationFilterChain.java:208)
>>>>>     at org.apache.catalina.core.StandardWrapperValve.invoke(Standar
>>>>> dWrapperValve.java:219)
>>>>>     at org.apache.catalina.core.StandardContextValve.invoke(Standar
>>>>> dContextValve.java:110)
>>>>>     at org.apache.catalina.authenticator.AuthenticatorBase.invoke(A
>>>>> uthenticatorBase.java:506)
>>>>>     at org.apache.catalina.core.StandardHostValve.invoke(StandardHo
>>>>> stValve.java:169)
>>>>>     at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorRepo
>>>>> rtValve.java:103)
>>>>>     at org.wso2.carbon.identity.context.rewrite.valve.TenantContext
>>>>> RewriteValve.invoke(TenantContextRewriteValve.java:80)
>>>>>     at org.wso2.carbon.identity.authz.valve.AuthorizationValve.invo
>>>>> ke(AuthorizationValve.java:91)
>>>>>     at org.wso2.carbon.identity.auth.valve.AuthenticationValve.invo
>>>>> ke(AuthenticationValve.java:60)
>>>>>     at org.wso2.carbon.tomcat.ext.valves.CompositeValve.continueInv
>>>>> ocation(CompositeValve.java:99)
>>>>>     at org.wso2.carbon.tomcat.ext.valves.CarbonTomcatValve$1.invoke
>>>>> (CarbonTomcatValve.java:47)
>>>>>     at org.wso2.carbon.webapp.mgt.TenantLazyLoaderValve.invoke(Tena
>>>>> ntLazyLoaderValve.java:57)
>>>>>     at org.wso2.carbon.tomcat.ext.valves.TomcatValveContainer.invok
>>>>> eValves(TomcatValveContainer.java:47)
>>>>>     at org.wso2.carbon.tomcat.ext.valves.CompositeValve.invoke(Comp
>>>>> ositeValve.java:62)
>>>>>     at org.wso2.carbon.tomcat.ext.valves.CarbonStuckThreadDetection
>>>>> Valve.invoke(CarbonStuckThreadDetectionValve.java:159)
>>>>>     at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogVa
>>>>> lve.java:962)
>>>>>     at org.wso2.carbon.tomcat.ext.valves.CarbonContextCreatorValve.
>>>>> invoke(CarbonContextCreatorValve.java:57)
>>>>>     at org.apache.catalina.core.StandardEngineValve.invoke(Standard
>>>>> EngineValve.java:116)
>>>>>     at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAd
>>>>> apter.java:445)
>>>>>     at org.apache.coyote.http11.AbstractHttp11Processor.process(Abs
>>>>> tractHttp11Processor.java:1115)
>>>>>     at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler
>>>>> .process(AbstractProtocol.java:637)
>>>>>     at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun
>>>>> (NioEndpoint.java:1775)
>>>>>     at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(N
>>>>> ioEndpoint.java:1734)
>>>>>     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPool
>>>>> Executor.java:1142)
>>>>>     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoo
>>>>> lExecutor.java:617)
>>>>>     at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.r
>>>>> un(TaskThread.java:61)
>>>>>     at java.lang.Thread.run(Thread.java:748)
>>>>>
>>>>>
>>>>> [1] https://github.com/wso2/puppet-apim/tree/master/wso2is_prepacked
>>>>>
>>>>> Cheers,
>>>>> NuwanS.
>>>>> --
>>>>>
>>>>>
>>>>> *Nuwan Silva*
>>>>> *Associate Technical Lead*
>>>>> Mobile: +9477 980 4543 <+94%2077%20980%204543>
>>>>>
>>>>> WSO2 Inc.
>>>>> lean . enterprise . middleware.
>>>>> http://www.wso2.com
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> *Chalitha Maheshwari*
>>>> Software Engineer-QA,
>>>> WSO2 Inc.
>>>>
>>>> *E-mail:* chali...@wso2.com
>>>> *Mobile: *+94710 411 112 <+94%2071%20041%201112>
>>>>
>>>
>>>
>>>
>>> --
>>> Samitha Chathuranga
>>> Software Engineer, WSO2 Inc.
>>> lean.enterprise.middleware
>>> Mobile: +94715123761
>>>
>>> [image: http://wso2.com/signature] <http://wso2.com/signature>
>>>
>>
>>
>>
>> --
>>
>>
>> *Nuwan Silva*
>> *Associate Technical Lead*
>> Mobile: +9477 980 4543 <+94%2077%20980%204543>
>>
>> WSO2 Inc.
>> lean . enterprise . middleware.
>> http://www.wso2.com
>>
>
>


-- 
*Pubudu Gunatilaka*
Committer and PMC Member - Apache Stratos
Senior Software Engineer
WSO2, Inc.: http://wso2.com
mobile : +94774078049 <%2B94772207163>
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to