Re: [Dev] [IS] [SP01][H2] install_sp.sh script copies h2 database into a wrong location

2015-11-04 Thread Tharindu Edirisinghe
Hi Johann,

I checked this scenario Madusanka mentioned... YES what he has mentioned is
correct. The thing is this is Service Pack 1. So we cannot change it now
since it is already released... I checked the same for Service Pack 2 and
there we don't do such thing as copying the h2 database file.. instead we
ask to use -Dsetup option in the README file. so this has no impact to SP2.

Thanks,
TharinduE

On Tue, Nov 3, 2015 at 9:04 PM, Johann Nallathamby  wrote:

> @Thainrdu, can you take a quick look at this ?
>
> On Wed, Nov 4, 2015 at 9:56 AM, Madusanka Premaratne 
> wrote:
>
>> Hi IS Team,
>> I have installed sp1 to IS 5.0.0 in my local machine with local H2 db.
>> And found the script install_sp.sh copies new database to /wso2is-5.0.0
>> /repository/. The correct location is /wso2is-5.0.0
>> /repository/database/.
>>
>> In the readme you have guided to start the server with -Dsetup which
>> creates a new database in correct location but the copied databases also
>> exists in a wrong location.
>>
>> I have attached the corrected script herewith.
>>
>> Thanks,
>> Madusanka
>>
>> --
>> *Madusanka Premaratne* | Associate Software Engineer
>> WSO2, Inc | lean. enterprise. middleware.
>> #20, Palm Grove, Colombo 03, Sri Lanka
>> Mobile: +94 71 835 70 73| Work: +94 112 145 345
>> Email: madusan...@wso2.com | Web: www.wso2.com
>>
>> [image: Facebook]  [image: Twitter]
>>  [image: Google Plus]
>>  [image:
>> Linkedin]  [image: Instagram]
>>  [image: Skype]
>> 
>>
>>
>
>
> --
> Thanks & Regards,
>
> *Johann Dilantha Nallathamby*
> Technical Lead & Product Lead of WSO2 Identity Server
> Governance Technologies Team
> WSO2, Inc.
> lean.enterprise.middleware
>
> Mobile - *+9476950*
> Blog - *http://nallaa.wordpress.com *
>



-- 

Tharindu Edirisinghe
Software Engineer | WSO2 Inc
Identity Server Team
Blog : tharindue.blogspot.com
mobile : 408-714-8437
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [IS] [SP01][H2] install_sp.sh script copies h2 database into a wrong location

2015-11-03 Thread Madusanka Premaratne
Hi IS Team,
I have installed sp1 to IS 5.0.0 in my local machine with local H2 db. And
found the script install_sp.sh copies new database to /wso2is-5.0.0
/repository/. The correct location is /wso2is-5.0.0/repository/database/.

In the readme you have guided to start the server with -Dsetup which
creates a new database in correct location but the copied databases also
exists in a wrong location.

I have attached the corrected script herewith.

Thanks,
Madusanka

-- 
*Madusanka Premaratne* | Associate Software Engineer
WSO2, Inc | lean. enterprise. middleware.
#20, Palm Grove, Colombo 03, Sri Lanka
Mobile: +94 71 835 70 73| Work: +94 112 145 345
Email: madusan...@wso2.com | Web: www.wso2.com

[image: Facebook]  [image: Twitter]
 [image: Google Plus]
 [image:
Linkedin]  [image: Instagram]
 [image: Skype]



install_sp.sh
Description: Bourne shell script
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [IS] [SP01][H2] install_sp.sh script copies h2 database into a wrong location

2015-11-03 Thread Johann Nallathamby
@Thainrdu, can you take a quick look at this ?

On Wed, Nov 4, 2015 at 9:56 AM, Madusanka Premaratne 
wrote:

> Hi IS Team,
> I have installed sp1 to IS 5.0.0 in my local machine with local H2 db. And
> found the script install_sp.sh copies new database to /wso2is-5.0.0
> /repository/. The correct location is /wso2is-5.0.0/repository/database/.
>
> In the readme you have guided to start the server with -Dsetup which
> creates a new database in correct location but the copied databases also
> exists in a wrong location.
>
> I have attached the corrected script herewith.
>
> Thanks,
> Madusanka
>
> --
> *Madusanka Premaratne* | Associate Software Engineer
> WSO2, Inc | lean. enterprise. middleware.
> #20, Palm Grove, Colombo 03, Sri Lanka
> Mobile: +94 71 835 70 73| Work: +94 112 145 345
> Email: madusan...@wso2.com | Web: www.wso2.com
>
> [image: Facebook]  [image: Twitter]
>  [image: Google Plus]
>  [image:
> Linkedin]  [image: Instagram]
>  [image: Skype]
> 
>
>


-- 
Thanks & Regards,

*Johann Dilantha Nallathamby*
Technical Lead & Product Lead of WSO2 Identity Server
Governance Technologies Team
WSO2, Inc.
lean.enterprise.middleware

Mobile - *+9476950*
Blog - *http://nallaa.wordpress.com *
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev