Hi Shariq

SLive AS Monitor -> System Logs dosen't list any errors.

BTW does "SLive AS Monitor -> System Logs" under my tenant list logs
related to others too?
I can see a logs like "
2013-02-13 22:35:19,047 Loaded tenant test1.chamara.com in 4524 ms
"

Any Ideas why i'm getting this on terminal when security manger enabled?

JAVA_HOME environment variable is set to /usr/lib/jvm/java-6-sun-1.6.0.26
CARBON_HOME environment variable is set to
/home/kasun/Documents/wso2as-5.0.1
Property pattern javax.net.ssl.trustStore is restricted for tenant code.
Property pattern javax.net.ssl.trustStorePassword is restricted for tenant
code.
Property pattern denied.system.properties is restricted for tenant code.
java.security.AccessControlException
 - klass: 'java/security/AccessControlException'

Thanks

On Thu, Feb 14, 2013 at 11:26 AM, Muhammed Shariq <sha...@wso2.com> wrote:

> Hi,
>
> We had an issue with regard to the DB user migration which we fixed during
> the last weekend it self, then I by going through Kasun's code I figured
> that he was using a wrong library which further prevented the app from
> working ..
>
> It seems Kasun is working on Windows and is unable to enable security
> manager and test his app using the server.sh i provided .. Kasun can you go
> to SLive AS Monitor -> System Logs and check if there are any errors .. ?!
>
>
> On Thu, Feb 14, 2013 at 10:46 AM, Sanjiva Weerawarana <
> sanj...@opensource.lk> wrote:
>
>> Kasun is this working now?
>>
>>
>> On Mon, Feb 11, 2013 at 10:39 AM, Muhammed Shariq <sha...@wso2.com>wrote:
>>
>>> Hi,
>>>
>>> On Mon, Feb 11, 2013 at 9:18 AM, Kasun Perera <kas...@opensource.lk>wrote:
>>>
>>>> H Amila
>>>>
>>>> I have activated the the Storage Server, and now I can see the list of
>>>> databases.
>>>> But when I click on manage link on a perticuler database, it direct me
>>>> to the "Attach database users" page.
>>>>  From my previous experience this should direct me to the page where I
>>>> can login to the database and run SQL queries?
>>>> I tried to create a new database but the result was same as above
>>>> mentioned
>>>>
>>>
>>> The DB explorer is in the Data Services Server .. you can find it under
>>> Tools -> Database Explorer in the Data Services Server and execute your
>>> queries ...
>>>
>>>>
>>>> The exception occurs when trying to login for the webapp --> I think
>>>> this is still a problem of database connectivity ?Can you suggest any work
>>>> around?
>>>>
>>>
>>> Can you send us any exceptions you are seeing so we can further
>>> investigate ..?
>>>
>>>>
>>>> BTW- Sometimes I'm experiencing some weird behavior on stratoes live
>>>> It gives me "Authentication Failure" when I'm trying to login for "Data
>>>> Service Server" and "Storage server"
>>>> When I click some link instead of going to that page it start
>>>> downloading the page. e.g when I click upload web application it start
>>>> downloading the "upload.jsp" page.
>>>>
>>>
>>> The pages being downloaded is an issue we also experience in Google
>>> Chrome .. you can use Firefox for the moment and it should work fine .
>>>
>>>>
>>>> Thanks
>>>>
>>>>
>>>> On Sun, Feb 10, 2013 at 1:19 PM, Amila Maha Arachchi 
>>>> <ami...@wso2.com>wrote:
>>>>
>>>>> Hi Kasun,
>>>>>
>>>>> On Sun, Feb 10, 2013 at 12:22 PM, Kasun Perera 
>>>>> <kas...@opensource.lk>wrote:
>>>>>
>>>>>>
>>>>>>
>>>>>> On Sun, Feb 10, 2013 at 10:55 AM, Amila Maha Arachchi <
>>>>>> ami...@wso2.com> wrote:
>>>>>>
>>>>>>>  When we access your webapp, we can see it loading fine the styles.
>>>>>>
>>>>>>
>>>>>> Yes this is due to changes I did on Friday!
>>>>>> We had common JSP segment files "header.jspf" "footer.jspf" and
>>>>>> I merged them with the login page on Friday in-order to see whether it
>>>>>> works. So basically login was loading with fine styles since Friday.
>>>>>>
>>>>>> But I still can't see our MySql databases inside the Data Service
>>>>>> Server interface. Is this same for your testing tenants?  I have another
>>>>>> testing tenant and situation is same; I can see the databases there too.
>>>>>>
>>>>>
>>>>> Yes, this is the expected behaviour. Your database will be found in
>>>>> https://storage.stratoslive.wso2.com (Our new storage server
>>>>> product). So, if you login to your tenant and go to above URL, you will 
>>>>> see
>>>>> it under the databases section (this was earlier included in Data Service
>>>>> Server and now it is removed from it and included in Storage Server).
>>>>>
>>>>> *Note:
>>>>>
>>>>> You might not be able to login to storage server in your first
>>>>> attempt. First, you need to go to Stratos Manager (
>>>>> https://stratoslive.wso2.com) -> Configure -> Services. There you
>>>>> will see the available services and then you need to activate the Storage
>>>>> Server for your tenant. After that you will be able to login to it (this 
>>>>> is
>>>>> because this is a new addition to our product stack). *
>>>>>
>>>>> I have tested this for my personal apps which were using old
>>>>> databases. I'll try your app as well.
>>>>>
>>>>>>
>>>>>> One other thing-> Please upload our .war file to your testing tenant
>>>>>> and see whether it works
>>>>>>
>>>>>> https://docs.google.com/file/d/0B5A0W5SUykQqY0luNVpGSi1vTVU/edit?usp=sharing
>>>>>>
>>>>>> Thanks
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>> Most probably your app is trying some privileged operations in
>>>>>>> StratosLive. We'll work with Kasun on resolving them too. Most probably
>>>>>>> there will need a little code change I guess. We'll work on this on 
>>>>>>> Monday.
>>>>>>>
>>>>>>> Regards,
>>>>>>> Amila.
>>>>>>>
>>>>>>>
>>>>>>> On Sun, Feb 10, 2013 at 9:26 AM, Louiqa Raschid <
>>>>>>> lou...@umiacs.umd.edu> wrote:
>>>>>>>
>>>>>>>>
>>>>>>>>  Hi,
>>>>>>>>>> Sorry about the late response. Yes I did verify with an old
>>>>>>>>>> tenant of mine too after Prabath confirmed that the migration fix was
>>>>>>>>>> complete .. now the DB user migration issue is fixed ..
>>>>>>>>>> Thanks Prabath for looking into it :)
>>>>>>>>>>
>>>>>>>>>
>>>>>>>> Our app is still not working but this is probably because Kasun
>>>>>>>> needs to
>>>>>>>> do some post-migration work?
>>>>>>>> http://appserver.stratoslive.**wso2.com/t/karsha.opensource.**
>>>>>>>> lk/webapps/KarshaAnnotate/**login<http://appserver.stratoslive.wso2.com/t/karsha.opensource.lk/webapps/KarshaAnnotate/login>
>>>>>>>>
>>>>>>>> I understand that we are not tenants with an SLA but ... I think
>>>>>>>> that there should have been some warnings sent to all tenants before 
>>>>>>>> these
>>>>>>>> migrations happened?
>>>>>>>>
>>>>>>>> Louiqa
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> *Amila Maharachchi*
>>>>>>> Technical Lead
>>>>>>> Member, Management Committee - Cloud & Platform TG
>>>>>>> WSO2, Inc.; http://wso2.com
>>>>>>>
>>>>>>> Blog: http://maharachchi.blogspot.com
>>>>>>> Mobile: +94719371446
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Regards
>>>>>>
>>>>>> Kasun Perera
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> *Amila Maharachchi*
>>>>> Technical Lead
>>>>> Member, Management Committee - Cloud & Platform TG
>>>>> WSO2, Inc.; http://wso2.com
>>>>>
>>>>> Blog: http://maharachchi.blogspot.com
>>>>> Mobile: +94719371446
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Regards
>>>>
>>>> Kasun Perera
>>>>
>>>
>>>
>>>
>>> --
>>> Thanks,
>>> Shariq.
>>> Phone: +94 777 202 225
>>>
>>
>>
>>
>> --
>> Sanjiva Weerawarana, Ph.D.
>> Founder, Director & Chief Scientist; Lanka Software Foundation;
>> http://www.opensource.lk/
>> Founder, Chairman & CEO; WSO2; http://wso2.com/
>> Member; Apache Software Foundation; http://www.apache.org/
>>
>> Blog: http://sanjiva.weerawarana.org/
>>
>
>
>
> --
> Thanks,
> Shariq.
> Phone: +94 777 202 225
>



-- 
Regards

Kasun Perera
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to