Hi Nuwan,

I think ideally this should have been automated as a maven task and added
to the product-apim repo as a tool. The distribution that you have built
via UI cannot be replicated. We don't even recommend installing features
via UI for a production deployment then why have we hosted this publicly?

Thanks.

On Tue, Jun 28, 2016 at 3:47 PM, Imesh Gunaratne <im...@wso2.com> wrote:

> Hi Nuwan,
>
> It would be ideal to fix this issue and re-host the distribution or we can
> even fix it in the next release. For the time being will mention this in
> the documentation and provide steps for the user to overcome this problem.
>
> Thanks
>
> On Tue, Jun 28, 2016 at 2:41 PM, Niranjan Karunanandham <niran...@wso2.com
> > wrote:
>
>> Hi Thanuja / Nuwan,
>>
>> On Tue, Jun 28, 2016 at 2:08 PM, Nuwan Dias <nuw...@wso2.com> wrote:
>>
>>>
>>>
>>> On Tue, Jun 28, 2016 at 11:27 AM, Thanuja Uruththirakodeeswaran <
>>> thanu...@wso2.com> wrote:
>>>
>>>> Hi All,
>>>>
>>>> I'm getting below error when deploying WSO2 IS 5.1.0 Key Manager
>>>> application [1] in Mesos DC/OS. I have used the hosted IS-5.1.0 Key Manager
>>>> pack [2] to build the docker image.
>>>>
>>>> I0627 02:40:36.478433 27342 exec.cpp:143] Version: 0.28.1
>>>> I0627 02:40:36.481850 27369 exec.cpp:217] Executor registered on slave
>>>> 877f8cbc-9f5d-4fed-ab3d-82e145e8d33a-S3
>>>> rm: cannot remove
>>>> '/mnt/192.168.65.111-172.17.0.6/wso2is-km-5.1.0/tmp/axis2-tmp-6697148023468900485.tmp':
>>>> Directory not empty
>>>> rm: cannot remove
>>>> '/mnt/192.168.65.111-172.17.0.6/wso2is-km-5.1.0/tmp/bundles_info_f09679b3-4b3d-4f19-8ddf-139763830045':
>>>> Directory not empty
>>>> java.lang.reflect.InvocationTargetException
>>>> 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.wso2.carbon.bootstrap.Bootstrap.loadClass(Bootstrap.java:63)
>>>> at org.wso2.carbon.bootstrap.Bootstrap.main(Bootstrap.java:45)
>>>> Caused by: java.lang.RuntimeException:
>>>> /mnt/wso2is-km-5.1.0/repository/components/default/configuration/org.eclipse.osgi/.manager/.fileTable.9
>>>> (No such file or directory)
>>>> at org.wso2.carbon.server.CarbonLauncher.launch(CarbonLauncher.java:115)
>>>> at org.wso2.carbon.server.Main.launchCarbon(Main.java:160)
>>>> at org.wso2.carbon.server.Main.main(Main.java:94)
>>>> ... 6 more
>>>>
>>>> If I remove the files in
>>>> [CARBON_HOME]/repository/components/default/configuration/org.eclipse.osgi/.manager/
>>>> directory in the hosted KM pack and use it to build the docker images, I am
>>>> able to deploy it in successfully and the server starts without any issue.
>>>>
>>>> As per the offline discussion with Niranjan, the above mentioned files
>>>> will be created if we install the features via UI. If we can install Key
>>>> Manager features using pom files, then above issue will be resolved.
>>>>
>>>
>>> What does it mean? Does it mean that installing features via UI has a
>>> bug and it should not be used?
>>>
>> AFAIU in the pack, the features have been installed via the feature
>> management UI which requires in starting the server. This create temporary
>> files as mentioned above. In Ubuntu / windows environment, when we start
>> the pack, there are no issue. But in Mesos, it refers to the old files. The
>> issue was resolved by deleting the temporary file. IMO since we have a
>> workaround by deleting these temporary files and upload it to docker
>> registry. In which case we do not have to recreate IS 5.1.0 Key Manager
>> again.
>>
>>
>>>
>>>> @APIM_team: Shall we fix this and host the new IS 5.1.0 Key Manager
>>>> pack?
>>>>
>>>
>>> You have now successfully created the docker image right? Why do you
>>> need the pack to be re-hosted? Its quite unlikely that we'll do it because
>>> its a huge testing effort. And so far many people have been using this
>>> without any issues.
>>>
>>>>
>>>> [1]. https://github.com/wso2/mesos-artifacts/tree/master/wso2is-km
>>>> [2].
>>>> http://product-dist.wso2.com/downloads/api-manager/1.10.0/identity-server/wso2is-5.1.0.zip
>>>>
>>>> Thanks.
>>>>
>>>> --
>>>> Thanuja Uruththirakodeeswaran
>>>> Software Engineer
>>>> WSO2 Inc.;http://wso2.com
>>>> lean.enterprise.middleware
>>>>
>>>> mobile: +94 774363167
>>>>
>>>
>>>
>>>
>>> --
>>> Nuwan Dias
>>>
>>> Technical Lead - WSO2, Inc. http://wso2.com
>>> email : nuw...@wso2.com
>>> Phone : +94 777 775 729
>>>
>>
>> Regards,
>> Nira
>>
>> --
>>
>>
>> *Niranjan Karunanandham*
>> Associate Technical Lead - WSO2 Inc.
>> WSO2 Inc.: http://www.wso2.com
>>
>
>
>
> --
> *Imesh Gunaratne*
> Software Architect
> WSO2 Inc: http://wso2.com
> T: +94 11 214 5345 M: +94 77 374 2057
> W: https://medium.com/@imesh TW: @imesh
> Lean . Enterprise . Middleware
>
>
> _______________________________________________
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Akila Ravihansa Perera
WSO2 Inc.;  http://wso2.com/

Blog: http://ravihansa3000.blogspot.com
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to