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.

@APIM_team: Shall we fix this and host the new IS 5.1.0 Key Manager pack?

[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
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to