Hi All,
While upgrading AppManager to use Carbon 4.4.0, I encountered a roadblock
in classloading.

I have a jag file with the following method, (which is simplified version
of actual function). At some times the line works correctly and sometimes
it fails silently.

var genericArtifactFilter = new
org.wso2.carbon.governance.api.generic.GenericArtifactFilter(
{});

This seems like a classloader issue in OSGI, most probably duplicate or
incorrect exports by some bundle. However I could not figure out what is
the exact cause.


Can anyone shed some light please.

Carbon 4.4.0
Governance 4.5.1
Registry 4.4.3
Jaggery 0.10.1

OSGI console prints the correct bundle without any apparent error.

osgi> p org.wso2.carbon.governance.api.generic
org.wso2.carbon.governance.api.generic;
version="4.5.1"<org.wso2.carbon.governance.api_4.5.1 [217]>
  js_1.7.0.R4wso2v1 [63] imports
  org.jaggeryjs.scriptengine_0.10.0 [152] imports
  org.wso2.carbon.appmgt.hostobjects_1.1.0.SNAPSHOT [172] imports
  org.wso2.carbon.appmgt.keymgt_1.1.0.SNAPSHOT [174] imports
  org.wso2.carbon.appmgt.mobile_1.1.0.SNAPSHOT [178] imports
  org.wso2.carbon.governance.generic_4.5.1 [224] imports
  org.wso2.carbon.governance.list_4.5.1 [230] imports
  org.wso2.carbon.registry.core_4.4.0 [379] imports
  tomcat_7.0.59.wso2v1 [500] imports


Cheers,
Ruwan




*Ruwan Abeykoon*
*Architect,*
*WSO2, Inc. http://wso2.com <http://wso2.com/> *
*lean.enterprise.middleware.*

email: ruw...@wso2.com
phone:(+94) 777739736
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to