I restart server agin. now the consols loaded but I couldn't log in to emm
consol I get error 500 :

192.168.1.157 - - [28/Jul/2015:19:05:17 +0430] "POST /emm/acs HTTP/1.1" 500
1042 "https://192.168.1.157:9443/commonauth"; "Mozilla/5.0 (Windows NT 6.1;
WOW64)

AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.95 Safari/537.36"

But I can log in to publisher and store consols.

here is the full log for http-access
<https://ceit.aut.ac.ir/~9031020/http_access_log.txt> and wso2carbon
<https://ceit.aut.ac.ir/~9031020/carbon-log.txt> after restarting.

On Tue, Jul 28, 2015 at 6:06 PM, Zahra Alimadadi <[email protected]>
wrote:

> Hi Jason,
>
> I change jndi names, now I get this error:
>
> ERROR {JAGGERY.modules.common:js} -
> org.mozilla.javascript.WrappedException: Wrapped
> java.lang.NullPointerException (/emm/modules/common.js#364)
>
>       at 
> org.mozilla.javascript.Context.throwAsScriptRuntimeEx(Context.java:1754)
>       at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:148)
>       at org.mozilla.javascript.FunctionObject.call(FunctionObject.java:392)
>
> here is link <https://ceit.aut.ac.ir/~9031020/log-mysql.txt> to full log.
>
> Best regards,
> Zahra
>
> On Tue, Jul 28, 2015 at 5:07 PM, Jason De Silva <[email protected]> wrote:
>
>> Hi Zahra,
>>
>> I think you have added the wrong jndi names in user-mgt.xml and
>> master-datasources.xml. Try replacing it with "jdbc/WSO2CarbonDB" which can
>> be found in master-datasources.xml.
>>
>> Regards
>> Jason
>>
>> On Tue, Jul 28, 2015 at 5:50 PM, Zahra Alimadadi <[email protected]>
>> wrote:
>>
>>> I change the url but still I get same error. I also change
>>> master-datasources.xml in question . should I also change <name> under
>>> <jndiConfig>
>>>
>>> On Tue, Jul 28, 2015 at 3:25 PM, Kasun Dananjaya Delgolla <
>>> [email protected]> wrote:
>>>
>>>> Still the JDBC URLS are wrong in your master-datasources.xml. Please
>>>> make all of them exactly same to the DBs you created.
>>>>
>>>> Thanks
>>>> On Jul 28, 2015 3:42 PM, "Zahra Alimadadi" <[email protected]> wrote:
>>>>
>>>>> Yes, I edit the question and add them.
>>>>>
>>>>> On Tue, Jul 28, 2015 at 2:30 PM, Kasun Dananjaya Delgolla <
>>>>> [email protected]> wrote:
>>>>>
>>>>>>
>>>>>> Can you share your new conf/user-mgt.xml,
>>>>>> conf/datasources/master-datasources.xml and conf/registry xml ?
>>>>>>
>>>>>> On Tue, Jul 28, 2015 at 3:28 PM, Zahra Alimadadi <[email protected]
>>>>>> > wrote:
>>>>>>
>>>>>>> I change datasource 's name to db name with lowercase in
>>>>>>> master-datasources.xm and also change jdbc/WSO2CarbonDB to
>>>>>>> jdbc/wso2_carbon_db in user-mgt.xml and registry.xml, and restart the
>>>>>>> service, but still I couldn't load consols, here is the Error: TID: [0]
>>>>>>> [EMM] [2015-07-28 14:17:34,933] error: 
>>>>>>> {org.wso2.carbon.user.core.internal.Activator}
>>>>>>> - Cannot start User Manager Core bundle
>>>>>>> {org.wso2.carbon.user.core.internal.Activator} 
>>>>>>> java.lang.RuntimeException:
>>>>>>> Error in looking up data source: Name [wso2_carbon_db] is not bound in 
>>>>>>> this
>>>>>>> Context. Unable to find [wso2_carbon_db]
>>>>>>>
>>>>>>> On Tue, Jul 28, 2015 at 1:36 PM, Kasun Dananjaya Delgolla <
>>>>>>> [email protected]> wrote:
>>>>>>>
>>>>>>>> As I see, all your DB names are different in the config file and
>>>>>>>> the actual DB. So rename your config file
>>>>>>>> (repository/conf/datasources/master-datasources.xml) as well as
>>>>>>>> user-mgt.xml and registry.xml to match the actual databases.
>>>>>>>>
>>>>>>>> Thanks
>>>>>>>>
>>>>>>>> On Tue, Jul 28, 2015 at 2:33 PM, Kasun Dananjaya Delgolla <
>>>>>>>> [email protected]> wrote:
>>>>>>>>
>>>>>>>>> The reason is, you don't have WSO2CARBON_DB. It's case sensitive.
>>>>>>>>> So, go to your DB configurations (masterdatasources.xml) in
>>>>>>>>> repository/conf/datasources, and rename WSO2CARBON_DB to 
>>>>>>>>> wso2_carbon_db and
>>>>>>>>> do the same to the others as well.
>>>>>>>>>
>>>>>>>>> Thanks
>>>>>>>>>
>>>>>>>>> On Tue, Jul 28, 2015 at 2:25 PM, Zahra Alimadadi <
>>>>>>>>> [email protected]> wrote:
>>>>>>>>>
>>>>>>>>>> Hi Kasun,
>>>>>>>>>>
>>>>>>>>>> You mean WSO2_CARBON_DB?
>>>>>>>>>> I created 3 databases, and I check it. here is the screen shot
>>>>>>>>>> <http://tinypic.com/view.php?pic=15cdq2g&s=8#.VbdCbiuUfeI> and
>>>>>>>>>> also check for j/connector in mysql installer. (here
>>>>>>>>>> <http://tinypic.com/r/2w5kayq/8> is this screen shot) and the
>>>>>>>>>> jar file is located in
>>>>>>>>>> Carbone_Home\repository\components\lib\mysql-connector-java.jar
>>>>>>>>>>
>>>>>>>>>> Best regards,
>>>>>>>>>> Zahra
>>>>>>>>>>
>>>>>>>>>> On Tue, Jul 28, 2015 at 1:10 PM, Kasun Dananjaya Delgolla <
>>>>>>>>>> [email protected]> wrote:
>>>>>>>>>>
>>>>>>>>>>> Hi Zahra,
>>>>>>>>>>>
>>>>>>>>>>> You might be missing WSO2CARBON_DB in your DB server or you
>>>>>>>>>>> might not installed the MySQL JDBC driver. Please follow [1] to get 
>>>>>>>>>>> your
>>>>>>>>>>> configuration corrected.
>>>>>>>>>>>
>>>>>>>>>>> [1]- https://docs.wso2.com/display/EMM110/Setting+up+MySQL
>>>>>>>>>>>
>>>>>>>>>>> Thanks
>>>>>>>>>>>
>>>>>>>>>>> On Tue, Jul 28, 2015 at 1:54 PM, Zahra Alimadadi <
>>>>>>>>>>> [email protected]> wrote:
>>>>>>>>>>>
>>>>>>>>>>>> Hi,
>>>>>>>>>>>>
>>>>>>>>>>>> Could some one help me in this, please:
>>>>>>>>>>>>
>>>>>>>>>>>> EMM - migrate from H2 to Mysql
>>>>>>>>>>>> http://stackoverflow.com/q/31656417/3933607?sem=2
>>>>>>>>>>>>
>>>>>>>>>>>> Best regards,
>>>>>>>>>>>> Zahra
>>>>>>>>>>>>
>>>>>>>>>>>> --
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>> Dev mailing list
>>>>>>>>>>>> [email protected]
>>>>>>>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> --
>>>>>>>>>>> Kasun Dananjaya Delgolla
>>>>>>>>>>>
>>>>>>>>>>> Software Engineer
>>>>>>>>>>> WSO2 Inc.; http://wso2.com
>>>>>>>>>>> lean.enterprise.middleware
>>>>>>>>>>> Tel:  +94 11 214 5345
>>>>>>>>>>> Fax: +94 11 2145300
>>>>>>>>>>> Mob: + 94 771 771 015
>>>>>>>>>>> Blog: http://kddcodingparadise.blogspot.com
>>>>>>>>>>> Linkedin: *http://lk.linkedin.com/in/kasundananjaya
>>>>>>>>>>> <http://lk.linkedin.com/in/kasundananjaya>*
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> --
>>>>>>>>>> *Zahra Alimadadi*
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> Kasun Dananjaya Delgolla
>>>>>>>>>
>>>>>>>>> Software Engineer
>>>>>>>>> WSO2 Inc.; http://wso2.com
>>>>>>>>> lean.enterprise.middleware
>>>>>>>>> Tel:  +94 11 214 5345
>>>>>>>>> Fax: +94 11 2145300
>>>>>>>>> Mob: + 94 771 771 015
>>>>>>>>> Blog: http://kddcodingparadise.blogspot.com
>>>>>>>>> Linkedin: *http://lk.linkedin.com/in/kasundananjaya
>>>>>>>>> <http://lk.linkedin.com/in/kasundananjaya>*
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> Kasun Dananjaya Delgolla
>>>>>>>>
>>>>>>>> Software Engineer
>>>>>>>> WSO2 Inc.; http://wso2.com
>>>>>>>> lean.enterprise.middleware
>>>>>>>> Tel:  +94 11 214 5345
>>>>>>>> Fax: +94 11 2145300
>>>>>>>> Mob: + 94 771 771 015
>>>>>>>> Blog: http://kddcodingparadise.blogspot.com
>>>>>>>> Linkedin: *http://lk.linkedin.com/in/kasundananjaya
>>>>>>>> <http://lk.linkedin.com/in/kasundananjaya>*
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> *Zahra Alimadadi*
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Kasun Dananjaya Delgolla
>>>>>>
>>>>>> Software Engineer
>>>>>> WSO2 Inc.; http://wso2.com
>>>>>> lean.enterprise.middleware
>>>>>> Tel:  +94 11 214 5345
>>>>>> Fax: +94 11 2145300
>>>>>> Mob: + 94 771 771 015
>>>>>> Blog: http://kddcodingparadise.blogspot.com
>>>>>> Linkedin: *http://lk.linkedin.com/in/kasundananjaya
>>>>>> <http://lk.linkedin.com/in/kasundananjaya>*
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> *Zahra Alimadadi*
>>>>>
>>>>>
>>>
>>>
>>> --
>>> *Zahra Alimadadi*
>>>
>>>
>>> _______________________________________________
>>> Dev mailing list
>>> [email protected]
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Jason De Silva
>> *Software Engineer - QA*
>> Mobile: +94 (0) 772 097 678
>> Email: [email protected]
>> WSO2 Inc. www.wso2.com
>>
>
>
>
> --
> *Zahra Alimadadi*
>
>


-- 
*Zahra Alimadadi*
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to