[Carbon-dev] Issues when invoking deployed web app in Jaggery M2

2012-02-16 Thread Manjula Rathnayake
Hi all,

We got following on console while trying out a jaggery app. What could be
the reason for this?

[2012-02-16 05:14:39,684] ERROR
{org.wso2.carbon.hostobjects.commons.util.HostObjectUtil} -  Error while
reading the content from the Reader
java.io.IOException: Stream closed
at java.io.StringReader.ensureOpen(StringReader.java:39)
at java.io.StringReader.read(StringReader.java:73)
at org.wso2.carbon.jaggery.core.ScriptReader.read(ScriptReader.java:26)
at java.io.Reader.read(Reader.java:104)
at
org.wso2.carbon.hostobjects.commons.util.HostObjectUtil.readerToString(HostObjectUtil.java:149)
at
org.wso2.carbon.hostobjects.commons.cache.CacheManager.cacheScript(CacheManager.java:115)
at
org.wso2.carbon.hostobjects.commons.cache.CacheManager.getScriptObject(CacheManager.java:132)
at
org.wso2.carbon.hostobjects.commons.engine.RhinoEngine.execScript(RhinoEngine.java:321)
at
org.wso2.carbon.hostobjects.commons.engine.RhinoEngine.exec(RhinoEngine.java:116)
at
org.wso2.carbon.jaggery.core.CommonManager.include(CommonManager.java:151)
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)
at org.mozilla.javascript.FunctionObject.call(FunctionObject.java:411)
at
org.mozilla.javascript.optimizer.OptRuntime.callName(OptRuntime.java:97)
at org.wso2.carbon.rhino.includes.c0._c0((wso2):11)
at org.wso2.carbon.rhino.includes.c0.call((wso2))
at org.wso2.carbon.rhino.includes.c0.exec((wso2))
at
org.wso2.carbon.hostobjects.commons.engine.RhinoEngine.execScript(RhinoEngine.java:323)
at
org.wso2.carbon.hostobjects.commons.engine.RhinoEngine.exec(RhinoEngine.java:116)
at
org.wso2.carbon.jaggery.core.CommonManager.include(CommonManager.java:151)
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)
at org.mozilla.javascript.FunctionObject.call(FunctionObject.java:411)
at
org.mozilla.javascript.optimizer.OptRuntime.callName(OptRuntime.java:97)
at org.wso2.carbon.rhino.c0._c0((wso2):34)
at org.wso2.carbon.rhino.c0.call((wso2))
at
org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:401)
at
org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3003)
at org.wso2.carbon.rhino.c0.call((wso2))
at org.wso2.carbon.rhino.c0.exec((wso2))
at
org.wso2.carbon.hostobjects.commons.engine.RhinoEngine.execScript(RhinoEngine.java:323)
at
org.wso2.carbon.hostobjects.commons.engine.RhinoEngine.exec(RhinoEngine.java:116)
at
org.wso2.carbon.jaggery.core.WebAppManager.createResponse(WebAppManager.java:95)
at org.wso2.carbon.jaggery.core.JSSServlet.doGet(JSSServlet.java:20)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:304)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:240)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:164)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:462)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
at
org.wso2.carbon.server.CarbonStuckThreadDetectionValve.invoke(CarbonStuckThreadDetectionValve.java:154)
at org.wso2.carbon.server.TomcatServer$1.invoke(TomcatServer.java:257)
at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:563)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:399)
at
org.apache.coyote.http11.Http11NioProcessor.process(Http11NioProcessor.java:396)
at
org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:356)
at
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1534)
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)

Re: [Carbon-dev] Issues when invoking deployed web app in Jaggery M2

2012-02-16 Thread Nuwan Bandara
Hi Manjula,

There probably be an issue in your code. Can you attach the source which
gives the error.

Regards,
/Nuwan

On Thu, Feb 16, 2012 at 5:12 PM, Manjula Rathnayake manju...@wso2.comwrote:

 Hi all,

 We got following on console while trying out a jaggery app. What could be
 the reason for this?

 [2012-02-16 05:14:39,684] ERROR
 {org.wso2.carbon.hostobjects.commons.util.HostObjectUtil} -  Error while
 reading the content from the Reader
 java.io.IOException: Stream closed
 at java.io.StringReader.ensureOpen(StringReader.java:39)
 at java.io.StringReader.read(StringReader.java:73)
 at org.wso2.carbon.jaggery.core.ScriptReader.read(ScriptReader.java:26)
 at java.io.Reader.read(Reader.java:104)
 at
 org.wso2.carbon.hostobjects.commons.util.HostObjectUtil.readerToString(HostObjectUtil.java:149)
 at
 org.wso2.carbon.hostobjects.commons.cache.CacheManager.cacheScript(CacheManager.java:115)
 at
 org.wso2.carbon.hostobjects.commons.cache.CacheManager.getScriptObject(CacheManager.java:132)
 at
 org.wso2.carbon.hostobjects.commons.engine.RhinoEngine.execScript(RhinoEngine.java:321)
 at
 org.wso2.carbon.hostobjects.commons.engine.RhinoEngine.exec(RhinoEngine.java:116)
 at
 org.wso2.carbon.jaggery.core.CommonManager.include(CommonManager.java:151)
 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)
 at org.mozilla.javascript.FunctionObject.call(FunctionObject.java:411)
 at
 org.mozilla.javascript.optimizer.OptRuntime.callName(OptRuntime.java:97)
 at org.wso2.carbon.rhino.includes.c0._c0((wso2):11)
 at org.wso2.carbon.rhino.includes.c0.call((wso2))
 at org.wso2.carbon.rhino.includes.c0.exec((wso2))
 at
 org.wso2.carbon.hostobjects.commons.engine.RhinoEngine.execScript(RhinoEngine.java:323)
 at
 org.wso2.carbon.hostobjects.commons.engine.RhinoEngine.exec(RhinoEngine.java:116)
 at
 org.wso2.carbon.jaggery.core.CommonManager.include(CommonManager.java:151)
 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)
 at org.mozilla.javascript.FunctionObject.call(FunctionObject.java:411)
 at
 org.mozilla.javascript.optimizer.OptRuntime.callName(OptRuntime.java:97)
 at org.wso2.carbon.rhino.c0._c0((wso2):34)
 at org.wso2.carbon.rhino.c0.call((wso2))
 at
 org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:401)
 at
 org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3003)
 at org.wso2.carbon.rhino.c0.call((wso2))
 at org.wso2.carbon.rhino.c0.exec((wso2))
 at
 org.wso2.carbon.hostobjects.commons.engine.RhinoEngine.execScript(RhinoEngine.java:323)
 at
 org.wso2.carbon.hostobjects.commons.engine.RhinoEngine.exec(RhinoEngine.java:116)
 at
 org.wso2.carbon.jaggery.core.WebAppManager.createResponse(WebAppManager.java:95)
 at org.wso2.carbon.jaggery.core.JSSServlet.doGet(JSSServlet.java:20)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
 at
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:304)
 at
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
 at
 org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:240)
 at
 org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:164)
 at
 org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:462)
 at
 org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)
 at
 org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
 at
 org.wso2.carbon.server.CarbonStuckThreadDetectionValve.invoke(CarbonStuckThreadDetectionValve.java:154)
 at org.wso2.carbon.server.TomcatServer$1.invoke(TomcatServer.java:257)
 at
 org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:563)
 at
 org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
 at
 org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:399)
 at
 org.apache.coyote.http11.Http11NioProcessor.process(Http11NioProcessor.java:396)
 at
 org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:356)
 at
 

Re: [Carbon-dev] Issues when invoking deployed web app in Jaggery M2

2012-02-16 Thread Ashansa Perera
Hi,
I have attached the app that we tried to deploy. ( we scp that to
server/jaggeryapps )
The same thing works with my local server as I mentioned.

Thanks.

On Thu, Feb 16, 2012 at 5:46 PM, Nuwan Bandara nu...@wso2.com wrote:

 Hi Manjula,

 There probably be an issue in your code. Can you attach the source which
 gives the error.

 Regards,
 /Nuwan

 On Thu, Feb 16, 2012 at 5:12 PM, Manjula Rathnayake manju...@wso2.comwrote:

 Hi all,

 We got following on console while trying out a jaggery app. What could be
 the reason for this?

 [2012-02-16 05:14:39,684] ERROR
 {org.wso2.carbon.hostobjects.commons.util.HostObjectUtil} -  Error while
 reading the content from the Reader
 java.io.IOException: Stream closed
 at java.io.StringReader.ensureOpen(StringReader.java:39)
 at java.io.StringReader.read(StringReader.java:73)
 at
 org.wso2.carbon.jaggery.core.ScriptReader.read(ScriptReader.java:26)
 at java.io.Reader.read(Reader.java:104)
 at
 org.wso2.carbon.hostobjects.commons.util.HostObjectUtil.readerToString(HostObjectUtil.java:149)
 at
 org.wso2.carbon.hostobjects.commons.cache.CacheManager.cacheScript(CacheManager.java:115)
 at
 org.wso2.carbon.hostobjects.commons.cache.CacheManager.getScriptObject(CacheManager.java:132)
 at
 org.wso2.carbon.hostobjects.commons.engine.RhinoEngine.execScript(RhinoEngine.java:321)
 at
 org.wso2.carbon.hostobjects.commons.engine.RhinoEngine.exec(RhinoEngine.java:116)
 at
 org.wso2.carbon.jaggery.core.CommonManager.include(CommonManager.java:151)
 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)
 at org.mozilla.javascript.FunctionObject.call(FunctionObject.java:411)
 at
 org.mozilla.javascript.optimizer.OptRuntime.callName(OptRuntime.java:97)
 at org.wso2.carbon.rhino.includes.c0._c0((wso2):11)
 at org.wso2.carbon.rhino.includes.c0.call((wso2))
 at org.wso2.carbon.rhino.includes.c0.exec((wso2))
 at
 org.wso2.carbon.hostobjects.commons.engine.RhinoEngine.execScript(RhinoEngine.java:323)
 at
 org.wso2.carbon.hostobjects.commons.engine.RhinoEngine.exec(RhinoEngine.java:116)
 at
 org.wso2.carbon.jaggery.core.CommonManager.include(CommonManager.java:151)
 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)
 at org.mozilla.javascript.FunctionObject.call(FunctionObject.java:411)
 at
 org.mozilla.javascript.optimizer.OptRuntime.callName(OptRuntime.java:97)
 at org.wso2.carbon.rhino.c0._c0((wso2):34)
 at org.wso2.carbon.rhino.c0.call((wso2))
 at
 org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:401)
 at
 org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3003)
 at org.wso2.carbon.rhino.c0.call((wso2))
 at org.wso2.carbon.rhino.c0.exec((wso2))
 at
 org.wso2.carbon.hostobjects.commons.engine.RhinoEngine.execScript(RhinoEngine.java:323)
 at
 org.wso2.carbon.hostobjects.commons.engine.RhinoEngine.exec(RhinoEngine.java:116)
 at
 org.wso2.carbon.jaggery.core.WebAppManager.createResponse(WebAppManager.java:95)
 at org.wso2.carbon.jaggery.core.JSSServlet.doGet(JSSServlet.java:20)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
 at
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:304)
 at
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
 at
 org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:240)
 at
 org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:164)
 at
 org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:462)
 at
 org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)
 at
 org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
 at
 org.wso2.carbon.server.CarbonStuckThreadDetectionValve.invoke(CarbonStuckThreadDetectionValve.java:154)
 at org.wso2.carbon.server.TomcatServer$1.invoke(TomcatServer.java:257)
 at
 org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:563)
 at
 org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
 at
 org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:399)

Re: [Carbon-dev] Issues when invoking deployed web app in Jaggery M2

2012-02-16 Thread Ruchira Wageesha
How did you deploy the jaggery app? Is it using web console?

In Jaggery M2, there is an issue when apps are uploaded or redeployed using
web console. i.e. Jaggery deployer isn't being hit for those apps and get
deployed as normal JSP web apps. Try manually copying *.war to
repository/deployment/server/jaggeryapps dir and check whether the issue is
still there?

On Thu, Feb 16, 2012 at 5:39 PM, Ashansa Perera asha...@wso2.com wrote:

 Hi,

 I deployed the jaggery app attached in my local jaggery server and was
 able to access the services without any problem. But when trying to deploy
 in dabian os (Debian GNU/Linux , java version 1.6.0_24) ones I got the
 same error and the deployed application could not be accessed. In one try
 it was successfully deployed but the application is identified as a web app
 and the jaggery codes have not been rendered properly. (screenshot attached
 )

 local environment:
 - Linux Mint
 - java version 1.6.0_26

 Could someone please explain the reason for this behavior?

 Thanks.


-- 
Ruchira Wageesha
Software Engineer - WSO2 Inc. www.wso2.com

Email: ruch...@wso2.com Blog: ruchirawagee...@blogspot.com
Mobile: +94775493444

Lean . Enterprise . Middleware
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Issues when invoking deployed web app in Jaggery M2

2012-02-16 Thread Thilini Ishaka
On Thu, Feb 16, 2012 at 6:28 PM, Ruchira Wageesha ruch...@wso2.com wrote:

 How did you deploy the jaggery app? Is it using web console?

 In Jaggery M2, there is an issue when apps are uploaded or redeployed
 using web console. i.e. Jaggery deployer isn't being hit for those apps and
 get deployed as normal JSP web apps. Try manually copying *.war to
 repository/deployment/server/jaggeryapps dir and check whether the issue is
 still there?

Yes, I too face the same issue, copied manually as u mentioned.



 On Thu, Feb 16, 2012 at 5:39 PM, Ashansa Perera asha...@wso2.com wrote:

 Hi,

 I deployed the jaggery app attached in my local jaggery server and was
 able to access the services without any problem. But when trying to deploy
 in dabian os (Debian GNU/Linux , java version 1.6.0_24) ones I got the
 same error and the deployed application could not be accessed. In one try
 it was successfully deployed but the application is identified as a web app
 and the jaggery codes have not been rendered properly. (screenshot attached
 )

 local environment:
 - Linux Mint
 - java version 1.6.0_26

 Could someone please explain the reason for this behavior?

 Thanks.


 --
 Ruchira Wageesha
 Software Engineer - WSO2 Inc. www.wso2.com

 Email: ruch...@wso2.com Blog: ruchirawagee...@blogspot.com
 Mobile: +94775493444

 Lean . Enterprise . Middleware

 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




-- 
Regards

Thilini Ishaka
WSO2 Inc
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Issues when invoking deployed web app in Jaggery M2

2012-02-16 Thread Manjula Rathnayake
On Thu, Feb 16, 2012 at 6:28 PM, Ruchira Wageesha ruch...@wso2.com wrote:

 How did you deploy the jaggery app? Is it using web console?

 In Jaggery M2, there is an issue when apps are uploaded or redeployed
 using web console. i.e. Jaggery deployer isn't being hit for those apps and
 get deployed as normal JSP web apps. Try manually copying *.war to
 repository/deployment/server/jaggeryapps dir and check whether the issue is
 still there?


Yes, That is how we deployed the jaggery app. It seems to me that the
behavior got changed from machine to machine. Any idea what goes wrong
here?


 On Thu, Feb 16, 2012 at 5:39 PM, Ashansa Perera asha...@wso2.com wrote:

 Hi,

 I deployed the jaggery app attached in my local jaggery server and was
 able to access the services without any problem. But when trying to deploy
 in dabian os (Debian GNU/Linux , java version 1.6.0_24) ones I got the
 same error and the deployed application could not be accessed. In one try
 it was successfully deployed but the application is identified as a web app
 and the jaggery codes have not been rendered properly. (screenshot attached
 )

 local environment:
 - Linux Mint
 - java version 1.6.0_26

 Could someone please explain the reason for this behavior?

 Thanks.


 --
 Ruchira Wageesha
 Software Engineer - WSO2 Inc. www.wso2.com

 Email: ruch...@wso2.com Blog: ruchirawagee...@blogspot.com
 Mobile: +94775493444

 Lean . Enterprise . Middleware

 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




-- 
Manjula Rathnayaka
Software Engineer
WSO2, Inc.
Mobile:+94 77 743 1987
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Issues when invoking deployed web app in Jaggery M2

2012-02-16 Thread Samisa Abeysinghe
On Thu, Feb 16, 2012 at 6:39 PM, Manjula Rathnayake manju...@wso2.comwrote:



 On Thu, Feb 16, 2012 at 6:28 PM, Ruchira Wageesha ruch...@wso2.comwrote:

 How did you deploy the jaggery app? Is it using web console?

 In Jaggery M2, there is an issue when apps are uploaded or redeployed
 using web console. i.e. Jaggery deployer isn't being hit for those apps and
 get deployed as normal JSP web apps. Try manually copying *.war to
 repository/deployment/server/jaggeryapps dir and check whether the issue is
 still there?


 Yes, That is how we deployed the jaggery app. It seems to me that the
 behavior got changed from machine to machine. Any idea what goes wrong
 here?


Seems to be an issue in the Host Objects code.

Have we done a review as of late on this code?

Thanks,
Samisa...

Samisa Abeysinghe
VP Engineering
WSO2 Inc.
http://wso2.com
http://wso2.org
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Issues when invoking deployed web app in Jaggery M2

2012-02-16 Thread Nuwan Bandara
Hi Manjula,

Can you drop by and help us to debug the issue, IMO, its a falut in the
executed code, which is mentioned in the stacktrace with a line number.
Lets dig in to it.

Regards,
/Nuwan

On Fri, Feb 17, 2012 at 6:19 AM, Samisa Abeysinghe sam...@wso2.com wrote:



 On Thu, Feb 16, 2012 at 6:39 PM, Manjula Rathnayake manju...@wso2.comwrote:



 On Thu, Feb 16, 2012 at 6:28 PM, Ruchira Wageesha ruch...@wso2.comwrote:

 How did you deploy the jaggery app? Is it using web console?

 In Jaggery M2, there is an issue when apps are uploaded or redeployed
 using web console. i.e. Jaggery deployer isn't being hit for those apps and
 get deployed as normal JSP web apps. Try manually copying *.war to
 repository/deployment/server/jaggeryapps dir and check whether the issue is
 still there?


 Yes, That is how we deployed the jaggery app. It seems to me that the
 behavior got changed from machine to machine. Any idea what goes wrong
 here?


 Seems to be an issue in the Host Objects code.

 Have we done a review as of late on this code?

 Thanks,
 Samisa...

 Samisa Abeysinghe
 VP Engineering
 WSO2 Inc.
 http://wso2.com
 http://wso2.org


 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




-- 
*Thanks  Regards,

Nuwan Bandara
Senior Software Engineer
WSO2 Inc. | http://wso2.com
lean . enterprise . middleware

http://nuwan.bandara.co
*
http://www.nuwanbando.com/
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Issues when invoking deployed web app in Jaggery M2

2012-02-16 Thread Manjula Rathnayake
On Fri, Feb 17, 2012 at 9:26 AM, Nuwan Bandara nu...@wso2.com wrote:

 Hi Manjula,

 Can you drop by and help us to debug the issue, IMO, its a falut in the
 executed code, which is mentioned in the stacktrace with a line number.
 Lets dig in to it.

Sure, Will meet you in evening.

Thank you.


 Regards,
 /Nuwan

 On Fri, Feb 17, 2012 at 6:19 AM, Samisa Abeysinghe sam...@wso2.comwrote:



 On Thu, Feb 16, 2012 at 6:39 PM, Manjula Rathnayake manju...@wso2.comwrote:



 On Thu, Feb 16, 2012 at 6:28 PM, Ruchira Wageesha ruch...@wso2.comwrote:

 How did you deploy the jaggery app? Is it using web console?

 In Jaggery M2, there is an issue when apps are uploaded or redeployed
 using web console. i.e. Jaggery deployer isn't being hit for those apps and
 get deployed as normal JSP web apps. Try manually copying *.war to
 repository/deployment/server/jaggeryapps dir and check whether the issue is
 still there?


 Yes, That is how we deployed the jaggery app. It seems to me that the
 behavior got changed from machine to machine. Any idea what goes wrong
 here?


 Seems to be an issue in the Host Objects code.

 Have we done a review as of late on this code?

 Thanks,
 Samisa...

 Samisa Abeysinghe
 VP Engineering
 WSO2 Inc.
 http://wso2.com
 http://wso2.org


 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




 --
 *Thanks  Regards,

 Nuwan Bandara
 Senior Software Engineer
 WSO2 Inc. | http://wso2.com
 lean . enterprise . middleware

 http://nuwan.bandara.co
 *
 http://www.nuwanbando.com/

 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




-- 
Manjula Rathnayaka
Software Engineer
WSO2, Inc.
Mobile:+94 77 743 1987
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev