[Adding Dev]
Hi Viral,
This is due to a package exported by multiple bundles. The error occurs
when OSGI picks wrong bundle while starting the server. As a quick
workaround try restating WSO2 API manager, if OSGI picks the correct one it
will work. Also please note that the issue is fixed in APIM 1.10.0 which is
the next version of WSO2 API Manager.

Thanks,
Madusanka

On Wed, Oct 28, 2015 at 7:45 AM, Viral Shah <[email protected]>
wrote:

> Hi Madusanka,
>
>
>
> I just downloaded WSO2 API manager 1.9.1 and am running it on linux as is.
> For the most part it works fine, but when I go to the store and assign the
> API to the application, I see a bunch of errors in wso2carbon.log as
> follows:
>
>
>
> TID: [0] [AM] [2015-10-27 20:19:24,544] ERROR
> {org.jaggeryjs.jaggery.core.manager.WebAppManager} -
> org.mozilla.javascript.EcmaError: TypeError: Cannot call property
> replaceEmailDomain in object [JavaPackage
> org.wso2.carbon.apimgt.impl.utils.APIUtil]. It is not a function, it is
> "object". (/store/site/themes/fancy/templates/api/swagger/template.jag#36)
> {org.jaggeryjs.jaggery.core.manager.WebAppManager}
>
> org.jaggeryjs.scriptengine.exceptions.ScriptException:
> org.mozilla.javascript.EcmaError: TypeError: Cannot call property
> replaceEmailDomain in object [JavaPackage
> org.wso2.carbon.apimgt.impl.utils.APIUtil]. It is not a function, it is
> "object". (/store/site/themes/fancy/templates/api/swagger/template.jag#36)
>
>         at
> org.jaggeryjs.scriptengine.engine.RhinoEngine.execScript(RhinoEngine.java:571)
>
>         at
> org.jaggeryjs.scriptengine.engine.RhinoEngine.exec(RhinoEngine.java:273)
>
>         at
> org.jaggeryjs.jaggery.core.manager.WebAppManager.execute(WebAppManager.java:541)
>
>
>
> Here are the physical box specs:
>
> Machine: 14.04.1-Ubuntu
>
> JVM: java full version "1.7.0_79-b14"
>
> root:/usr/local/Wso2/wso2am-1.9.1/repository/logs# uname -a
>
> Linux itchil110 3.16.0-30-generic #40~14.04.1-Ubuntu SMP Thu Jan 15
> 17:43:14 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
>
>
>
> Any guidance is much appreciated.
>
>
>
> Thanks,
>
> Viral Shah
>
> (c): +1 312 375 2629
>
> AIM: budmiller75
>
> Yahoo/Skype: virals3
>
>
>



-- 
*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: [email protected] | Web: www.wso2.com

[image: Facebook] <https://www.facebook.com/maduzanka> [image: Twitter]
<https://twitter.com/rmmpremaratne> [image: Google Plus]
<https://plus.google.com/u/0/+MadusankaPremaratnemaduz/about/p/pub> [image:
Linkedin] <http://lk.linkedin.com/in/madusanka/> [image: Instagram]
<http://instagram.com/madusankapremaratne> [image: Skype]
<http://@rmmpremaratne>
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to