Hi,

These are there already present if you use the service.

thanks,
dimuthu

On Mon, May 28, 2012 at 9:46 AM, Kasun Gajasinghe <[email protected]> wrote:

>
> The sql files can be copied by adding following code segment to bin.xml
>
>       <fileSet>
>
> <directory>../p2-profile-gen/target/wso2carbon-core-${wso2carbon.version}/dbscripts/identity/</directory>
>
> <outputDirectory>${pom.artifactId}-${pom.version}/dbscripts/identity</outputDirectory>
>             <includes>
>                 <include>**/**.sql</include>
>             </includes>
>         </fileSet>
>
> The identity.xml should go to repository/conf.
>
>         <fileSet>
>             <directory>
>
> ../p2-profile-gen/target/wso2carbon-core-${wso2carbon.version}/repository/conf/
>             </directory>
>
> <outputDirectory>${pom.artifactId}-${pom.version}/repository/conf</outputDirectory>
>             <includes>
>                 <include>**/identity.xml</include>
>                 <!--include>**/eula.xml</include-->
>                         <include>**/stratos.xml</include>
>                 <include>**/multitenancy-packages.xml</include>
>             </includes>
>         </fileSet>
>
> --KasunG
>
> On Mon, May 28, 2012 at 7:57 AM, Amila Suriarachchi <[email protected]>wrote:
>
>>
>>
>> On Mon, May 28, 2012 at 12:03 AM, Thilina Buddhika <[email protected]>wrote:
>>
>>> Still there is a dependency to the Google Auth. feature which has a
>>> dependency to identity.core. Identity Core requires identity.xml and
>>> identity DB scripts. These files are available with the identity.core
>>> feature. So it is required to add entries to bin.xml to copy them.
>>
>>
>> Do they need to copy to repository/conf ? I did this manually and then
>> there was an exception saying some .sql file is not there.
>>
>> In otherworks this means the steps that Dimuth has mention does not
>> complete. Can someone please give the complete set of steps. That will save
>> a lot of others time.
>>
>> thanks,
>> Amila.
>>
>>>
>>> Thanks,
>>> Thilina
>>>
>>>
>>> On Sun, May 27, 2012 at 9:54 PM, Amila Suriarachchi <[email protected]>wrote:
>>>
>>>>
>>>>
>>>> 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
>>>>
>>>>
>>>
>>>
>>> --
>>> Thilina Buddhika
>>> Associate Technical Lead
>>>
>>> WSO2 Inc. ; http://wso2.com
>>> lean . enterprise . middleware
>>>
>>> phone : +94 77 44 88 727
>>> blog : http://blog.thilinamb.com
>>>
>>
>>
>>
>> --
>> *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
>>
>>
>
>
> --
> *Kasun Gajasinghe*
> Software Engineer;
> Development Technologies Team, WSO2 Inc.; http://wso2.com ,
> *email: **kasung AT spamfree wso2.com** cell: **+94 (77) 678-0813*
> *linked-in: *http://lk.linkedin.com/in/gajasinghe*
> *
>  *blog: **http://blog.kasunbg.org* <http://blog.kasunbg.org>*
> twitter: **http://twitter.com/kasunbg* <http://twitter.com/kasunbg>*
> *
>
>
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
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

Reply via email to