Yeah this is due to the introduction of server profiles.

On Friday, July 19, 2013, Piyum Fernando 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(<
>
>

-- 
Sameera Jayasoma,
Architect,

WSO2, Inc. (http://wso2.com)
email: [email protected]
blog: http://sameera.adahas.org
twitter: https://twitter.com/sameerajayasoma
flickr: http://www.flickr.com/photos/sameera-jayasoma/collections

Lean . Enterprise . Middleware
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to