@Madhuka, Please work with Piyum to migrate Jaggery to 4.2.0

On Tue, Jul 23, 2013 at 1:28 PM, Pradeep Fernando <[email protected]> wrote:

> Hi Piyum,
>
> Please figure out the correct relative path and change the p2.inf file.
>
> --Pradeep
>
>
> On Fri, Jul 19, 2013 at 12:35 PM, Piyum Fernando <[email protected]> wrote:
>
>> Seems the value of  {$installFolder} relative to the product root has
>> been changed with new changes in trunk.
>>
>> @Pradeep please have a look.
>>
>> Thanks.
>>
>>
>> On Fri, Jul 19, 2013 at 11:54 AM, Piyum Fernando <[email protected]> wrote:
>>
>>> Hi,
>>>
>>> "modules" directory which comes with jaggery.server.feature is missing
>>> in the root.  It is copied to <root>/repository/ directory when installing
>>> the feature as per the copy command defined in p2.inf .
>>>
>>> But AS bin.xml assumes it is in the root. I think this is the problem
>>> here.
>>> Are we missing a mid step here? or can we change the p2.inf to copy
>>> "modules" to the root?
>>>
>>> Thanks.
>>>
>>>
>>>
>>> On Thu, Jul 18, 2013 at 2:36 PM, Madhuka Udantha <[email protected]>wrote:
>>>
>>>> Hi, Geeth
>>>>
>>>> You have to check in here "jaggery\modules\ws\"  and
>>>> also check  "org.jaggeryjs.hostobjects.ws.WSStubHostObject" is active
>>>> in test pack
>>>>
>>>> [Tested in git, It works fine.]
>>>>
>>>>
>>>>
>>>> On Thu, Jul 18, 2013 at 12:46 PM, Geeth Munasinghe <[email protected]>wrote:
>>>>
>>>>> Hi
>>>>>
>>>>> I am getting following error while running test on Jaggery.
>>>>> Server complains about import of ws
>>>>>
>>>>> var ws = require('ws');
>>>>>
>>>>> How to fix this ?
>>>>>
>>>>>
>>>>> [2013-07-18 12:33:19,993] ERROR
>>>>> {org.jaggeryjs.jaggery.core.manager.CommonManager} -  A module cannot be
>>>>> found with the specified name : ws
>>>>> [2013-07-18 12:33:19,995] ERROR
>>>>> {org.jaggeryjs.scriptengine.engine.RhinoEngine} -
>>>>> org.mozilla.javascript.WrappedException: Wrapped
>>>>> org.jaggeryjs.scriptengine.exceptions.ScriptException: A module cannot be
>>>>> found with the specified name : ws (/testapp//wsstub.jag#2)
>>>>> [2013-07-18 12:33:19,996] ERROR
>>>>> {org.jaggeryjs.jaggery.core.manager.WebAppManager} -
>>>>> org.mozilla.javascript.WrappedException: Wrapped
>>>>> org.jaggeryjs.scriptengine.exceptions.ScriptException: A module cannot be
>>>>> found with the specified name : ws (/testapp//wsstub.jag#2)
>>>>> org.jaggeryjs.scriptengine.exceptions.ScriptException:
>>>>> org.mozilla.javascript.WrappedException: Wrapped
>>>>> org.jaggeryjs.scriptengine.exceptions.ScriptException: A module cannot be
>>>>> found with the specified name : ws (/testapp//wsstub.jag#2)
>>>>>     at
>>>>> org.jaggeryjs.scriptengine.engine.RhinoEngine.execScript(RhinoEngine.java:446)
>>>>>     at
>>>>> org.jaggeryjs.scriptengine.engine.RhinoEngine.exec(RhinoEngine.java:191)
>>>>>     at
>>>>> org.jaggeryjs.jaggery.core.manager.WebAppManager.execute(WebAppManager.java:269)
>>>>>     at
>>>>> org.jaggeryjs.jaggery.core.JaggeryServlet.doGet(JaggeryServlet.java:24)
>>>>>     at javax.servlet.http.HttpServlet.service(HttpServlet.java:735)
>>>>>     at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
>>>>>     at
>>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
>>>>>     at
>>>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
>>>>>     at
>>>>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
>>>>>     at
>>>>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
>>>>>     at
>>>>> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
>>>>>     at
>>>>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
>>>>>     at
>>>>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
>>>>>     at
>>>>> org.wso2.carbon.bam.webapp.stat.publisher.WebAppStatisticPublisherValve.invoke(WebAppStatisticPublisherValve.java:118)
>>>>>     at
>>>>> org.wso2.carbon.tomcat.ext.valves.CompositeValve.continueInvocation(CompositeValve.java:178)
>>>>>     at
>>>>> org.wso2.carbon.tomcat.ext.valves.CarbonTomcatValve$1.invoke(CarbonTomcatValve.java:47)
>>>>>     at
>>>>> org.wso2.carbon.webapp.mgt.TenantLazyLoaderValve.invoke(TenantLazyLoaderValve.java:56)
>>>>>     at
>>>>> org.wso2.carbon.tomcat.ext.valves.TomcatValveContainer.invokeValves(TomcatValveContainer.java:47)
>>>>>     at
>>>>> org.wso2.carbon.tomcat.ext.valves.CompositeValve.invoke(CompositeValve.java:141)
>>>>>     at
>>>>> org.wso2.carbon.tomcat.ext.valves.CarbonStuckThreadDetectionValve.invoke(CarbonStuckThreadDetectionValve.java:156)
>>>>>     at
>>>>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:936)
>>>>>     at
>>>>> org.wso2.carbon.tomcat.ext.valves.CarbonContextCreatorValve.invoke(CarbonContextCreatorValve.java:52)
>>>>>     at
>>>>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
>>>>>     at
>>>>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
>>>>>     at
>>>>> org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1004)
>>>>>     at
>>>>> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
>>>>>     at
>>>>> org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1653)
>>>>>     at
>>>>> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
>>>>>     at
>>>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
>>>>>     at java.lang.Thread.run(Thread.java:662)
>>>>> Caused by: org.mozilla.javascript.WrappedException: Wrapped
>>>>> org.jaggeryjs.scriptengine.exceptions.ScriptException: A module cannot be
>>>>> found with the specified name : ws (/testapp//wsstub.jag#2)
>>>>>     at
>>>>> org.mozilla.javascript.Context.throwAsScriptRuntimeEx(Context.java:1654)
>>>>>     at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:175)
>>>>>     at
>>>>> org.mozilla.javascript.FunctionObject.call(FunctionObject.java:411)
>>>>>     at
>>>>> org.mozilla.javascript.optimizer.OptRuntime.callName(OptRuntime.java:97)
>>>>>     at org.jaggeryjs.rhino.testapp.c0._c0(/testapp//wsstub.jag:2)
>>>>>     at org.jaggeryjs.rhino.testapp.c0.call(/testapp//wsstub.jag)
>>>>>     at
>>>>> org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:401)
>>>>>     at
>>>>> org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3003)
>>>>>     at org.jaggeryjs.rhino.testapp.c0.call(/testapp//wsstub.jag)
>>>>>     at org.jaggeryjs.rhino.testapp.c0.exec(/testapp//wsstub.jag)
>>>>>     at
>>>>> org.jaggeryjs.scriptengine.engine.RhinoEngine.execScript(RhinoEngine.java:441)
>>>>>     ... 29 more
>>>>> Caused by: org.jaggeryjs.scriptengine.exceptions.ScriptException: A
>>>>> module cannot be found with the specified name : ws
>>>>>     at
>>>>> org.jaggeryjs.jaggery.core.manager.CommonManager.require(CommonManager.java:226)
>>>>>     at
>>>>> org.jaggeryjs.jaggery.core.manager.WebAppManager.require(WebAppManager.java:218)
>>>>>     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>>>     at
>>>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>>>>     at
>>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>>>>     at java.lang.reflect.Method.invoke(Method.java:597)
>>>>>     at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:160)
>>>>>
>>>>> Thanks
>>>>>
>>>>> Geeth
>>>>>
>>>>>
>>>>> *G. K. S. Munasinghe
>>>>> *
>>>>> *Software Engineer,*
>>>>> *WSO2, Inc. http://wso2.com *
>>>>> *lean.enterprise.middleware.*
>>>>> *
>>>>> *
>>>>> email: [email protected]
>>>>> phone:(+94) 777911226
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> *Madhuka* Udantha
>>>> Senior Software Engineer
>>>> Development Technologies
>>>> WSO2 Inc. : http://wso2.com
>>>>
>>>> *Mobile*: +94774066336
>>>> *Blog*: http://madhukaudantha.blogspot.com/
>>>>
>>>> _______________________________________________
>>>> Dev mailing list
>>>> [email protected]
>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>
>>>>
>>>
>>>
>>> --
>>> Piyum Fernando
>>> Software Engineer
>>>
>>> Mobile: +94 77 22 93 880
>>> Home:  +94 31 22 75 715
>>>
>>
>>
>>
>> --
>> Piyum Fernando
>> Software Engineer
>>
>> Mobile: +94 77 22 93 880
>> Home:  +94 31 22 75 715
>>
>
>
>
> --
> *Pradeep Fernando*
> Associate Technical Lead;WSO2 Inc.; http://wso2.com
>
> blog: http://pradeepfernando.blogspot.com
> m: +94776603662
>
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
*Thanks & Regards,

Nuwan Bandara
Technical Lead; **WSO2 Inc. *
*lean . enterprise . middleware |  http://wso2.com *
*blog : http://nuwanbando.com; email: [email protected]; phone: +94 11 763 9629
*
<http://www.nuwanbando.com/>
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to