On Wed, May 23, 2012 at 6:09 PM, Dimuthu Leelarathne <[email protected]>wrote:
>
> Hi all,
>
> Service and product merging guidelines. Tip - Modifying the service is
> much easier, we only need to add a limited amount of jars.
>
> 1) Fix the p2-profile-gen of the service
>
> 1.1) Move product specific jars to the service
> 1.2) Remove the following feature from the p2-profile-gen because we
> are going to use the normal login page.
> org.wso2.*:org.wso2.stratos.*.login.ui.feature
> 1.3) Sync up the versions between product and service
>
> 2) If you are a code hosting product remove the wso2server.sh that has
> secured entries. Usually bin.xml replace the old wso2server.sh with the new
> one. So find it and delete it and adjust bin.xml according to it.
>
> 3) Fix the theming. Check Shariq’s commit numbered - 127984.
>
> 4) Fix document generation. Add document generation tasks to the the
> maven-antrun-plugin
>
> 5) Get rid of product and service folders under p2-profile-gen and
> distribution in the build. We will only build the newly created merged
> product from now on. So the merged product pom.xmls should be right uner
> p2-profile-gen and distribution
>
> 6) Rename the service. Remove the name “stratos” from it’s name and do the
> necessary changes.
>
> 7) Finally modify the integration tests to use the newly created product.
> Right now we only need to have integration tests for super tenant. Later we
> will create a tenant and run the same set of integration tests for the
> tenant as well
>
getting this exception when starting the server.
[2012-05-27 21:44:52,102] ERROR - IdentityConfigParser Error while loading
Identity Configurations
java.io.FileNotFoundException: Identity configuration not found. Cause -
Identity core could not find resource identity.xml or user does not have
sufficient permission to access the resource.
at
org.wso2.carbon.identity.core.util.IdentityConfigParser.buildConfiguration(IdentityConfigParser.java:132)
at
org.wso2.carbon.identity.core.util.IdentityConfigParser.<init>(IdentityConfigParser.java:53)
at
org.wso2.carbon.identity.core.util.IdentityConfigParser.getInstance(IdentityConfigParser.java:64)
at
org.wso2.carbon.identity.core.util.IdentityUtil.populateProperties(IdentityUtil.java:65)
at
org.wso2.carbon.identity.core.internal.IdentityCoreServiceComponent.activate(IdentityCoreServiceComponent.java:64)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.eclipse.equinox.internal.ds.model.ServiceComponent.activate(ServiceComponent.java:252)
at
org.eclipse.equinox.internal.ds.model.ServiceComponentProp.activate(ServiceComponentProp.java:146)
at
org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:346)
at
org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:588)
at
org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:196)
at
org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:328)
at
org.eclipse.equinox.internal.ds.SCRManager.serviceChanged(SCRManager.java:221)
at
org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:104)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:861)
at
org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
at
org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)
at
org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:819)
at
org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:771)
at
org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(ServiceRegistrationImpl.java:130)
at
org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService(ServiceRegistry.java:214)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:433)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:451)
at
org.wso2.carbon.security.internal.SecurityMgtServiceComponent.activate(SecurityMgtServiceComponent.java:62)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
thanks,
Amila.
>
> Finally pick and copy the samples.
>
> AppServer is at the 7th stage.
>
> We need to give a Carbon kernel build + product builds to QA next week.
> So we will start the next QA buid on 29th 12 noon.
>
> thanks,
> dimuthu
>
> --
> Dimuthu Leelarathne
> Technical Lead
>
> WSO2, Inc. (http://wso2.com)
> email: [email protected]
>
> Lean . Enterprise . Middleware
>
>
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>
--
*Amila Suriarachchi*
Software Architect
WSO2 Inc. ; http://wso2.com
lean . enterprise . middleware
phone : +94 71 3082805
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev