Test with this fix - and it works fine... Thanks Nuwan.. Regards, -Prabath
On Wed, Mar 21, 2012 at 4:51 PM, Nuwan Bandara <[email protected]> wrote: > Hi Guys, > > The bsf issue is now fixed. please take an update of > > orbit/bsf > > and build features/mediators > > and then the apimgt product. > > I have removed the osgi export of org.mozilla.javascript from bsf bundle. > if anybody needs this, please use the rhino bundle (orbit/js) > > Regards, > /Nuwan > > On Wed, Mar 21, 2012 at 9:36 AM, Nuwan Bandara <[email protected]> wrote: > >> Hi All, >> >> On Wed, Mar 21, 2012 at 1:30 AM, Sumedha Rubasinghe <[email protected]>wrote: >> >>> We are getting following errors when switched to latest Jaggery work on >>> trunk. >>> We tested installing Jaggery features on API Manager product ( >>> https://svn.wso2.org/repos/wso2/carbon/platform/trunk/products/apimgt) as >>> well as on a Jaggery build from trunk. On both occurrences, we get the >>> same sequence of errors. >>> >>> >>> 1. [2012-03-20 18:50:28,081] ERROR - WebAppManager >>> org.wso2.carbon.scriptengine.exceptions.ScriptException: >>> java.lang.ClassCastException: org.wso2.carbon.rhino.c0 cannot be cast to >>> org.mozilla.jav >>> ascript.Script >>> org.wso2.carbon.scriptengine.exceptions.ScriptException: >>> org.wso2.carbon.scriptengine.exceptions.ScriptException: >>> java.lang.ClassCastException: org.wso2.carbon.rhino.c0 cannot be cast to >>> org.mo >>> zilla.javascript.Script >>> at >>> org.wso2.carbon.scriptengine.engine.RhinoEngine.execScript(RhinoEngine.java:477) >>> at >>> org.wso2.carbon.scriptengine.engine.RhinoEngine.exec(RhinoEngine.java:231) >>> at >>> org.wso2.carbon.jaggery.core.manager.WebAppManager.execute(WebAppManager.java:101) >>> at >>> org.wso2.carbon.jaggery.core.JaggeryServlet.doGet(JaggeryServlet.java:42) >>> >>> Same issue also discussed in thread "[Urgent] API Manager jaggery >>> level issue" >>> >>> >>> 2. In order the overcome this issues, we tried removing following entry >>> from bundles.info >>> bsf-all,3.0.0.wso2v1,plugins/bsf-all_3.0.0.wso2v1.jar,4,true >>> >> >> We know the reason for this, and I already have a fix, I need to talk to >> sameera before committing it. will work on it >> >> >>> >>> >>> 3. After this, we are getting following. >>> HTTP Status 500 - org.mozilla.javascript.WrappedException: Wrapped >>> org.wso2.carbon.scriptengine.exceptions.ScriptException: org.mozilla.jav >>> ascript.WrappedException: Wrapped org.wso2.carbon.scriptengine.e >>> xceptions.ScriptException: org.mozilla.javascript.WrappedException: >>> Wrapped org.wso2.carbon.scriptengine.exceptions.ScriptException: >>> org.mozilla.javascript.WrappedException: Wrapped org.wso2.carbon >>> .scriptengine.exceptions.ScriptException: A module cannot be found with >>> the specified name : apistore (wso2)#92) (wso2)#3) (wso2)#2) (wso2)#25) >>> >> >> This is really a user error, you need to add a modules.xml file to the >> distribution home. and you need to have the correct namespace of the >> modules.xml (that was missing and the attributes were ignored) if you >> update your modules.xml to the following, it will work >> >> <modules *xmlns="http://wso2.org/projects/jaggery/modules.xml"*> >> <module name="apistore"> >> <hostObject> >> >> <className>org.wso2.carbon.apimgt.hostobjects.APIProviderHostObject</className> >> <name>APIProvider</name> >> </hostObject> >> <hostObject> >> >> <className>org.wso2.carbon.apimgt.hostobjects.APIStoreHostObject</className> >> <name>APIStore</name> >> </hostObject> >> </module> >> </modules> >> >> Regards, >> /Nuwan >> >> >> >>> >>> (more detailed error is available @ http://pastebin.com/xjZxfH6i) >>> >>> >>> -- >>> /sumedha >>> +94 773017743 >>> >>> _______________________________________________ >>> Dev mailing list >>> [email protected] >>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>> >>> >> >> >> -- >> *Thanks & Regards, >> >> Nuwan Bandara >> Senior Software Engineer >> WSO2 Inc. | http://wso2.com >> lean . enterprise . middleware >> >> http://nuwan.bandara.co >> * >> <http://www.nuwanbando.com/> >> > > > > -- > *Thanks & Regards, > > Nuwan Bandara > Senior Software Engineer > WSO2 Inc. | http://wso2.com > lean . enterprise . middleware > > http://nuwan.bandara.co > * > <http://www.nuwanbando.com/> > > _______________________________________________ > Dev mailing list > [email protected] > http://wso2.org/cgi-bin/mailman/listinfo/dev > > -- Thanks & Regards, Prabath Mobile : +94 71 809 6732 http://blog.facilelogin.com http://RampartFAQ.com
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
