Hi Vinod,

I tried to debug Jaggery in several WSO2 products (APIM, APPM) using both
Eclipse and IntelliJ IDEA, but failed to do so. Somehow, "-DjsDebug"
parameter is not passed to the Jaggery server when running via
'wso2server.sh' script.

Thanks & Regards.


On Thu, Jun 25, 2015 at 3:06 PM, Vinod Kavinda <[email protected]> wrote:

> Hi Sajith,
>
> Could you debug jaggery apps in wso2 products using this Intellij plugin.
> can you please elaborate on how.
>
> Regards,
> Vinod
>
> On Thu, Jun 25, 2015 at 1:08 PM, Sajith Ariyarathna <[email protected]>
> wrote:
>
>> Hi Dinusha,
>>
>> AFAIK debugging Jaggery in Eclipse has some known issues. I suggest to
>> use the exact versions of jars as specified in the documentation [1]. Also,
>> you can try to debug Jaggery in IntelliJ IDEA by using this [2] plugin.
>>
>> [1] http://jaggeryjs.org/debugger.jag
>> [2] https://plugins.jetbrains.com/plugin/1613?pr=
>>
>> Thanks.
>>
>> On Thu, Jun 25, 2015 at 12:09 PM, Dinusha Boteju <[email protected]>
>> wrote:
>>
>>> Hi,
>>>
>>> I'm trying to debug a jaggery app by following the instruction given in
>>> [1]. I followed all the steps mentioned in [1]. However, when I start the
>>> jaggery server in debug mode and browse a deployed application I'm getting
>>> following error in the browser;
>>>
>>> *exception*
>>>
>>> javax.servlet.ServletException: Filter execution threw an exception
>>>
>>> *root cause*
>>>
>>> java.lang.NoClassDefFoundError: Could not initialize class 
>>> org.jaggeryjs.jaggery.core.manager.WebAppManager
>>>     org.jaggeryjs.jaggery.core.JaggeryFilter.doFilter(JaggeryFilter.java:17)
>>>
>>> I'm pretty sure I followed the instructions correctly. Only difference
>>> is the versions of the 2 jar files which I copied from eclipse/plugins
>>> folder to JAGGERY_HOME/carbon/repository/components/dropins folder. How can
>>> I resolve this?
>>>
>>> [1] - http://jaggeryjs.org/debugger.jag
>>>
>>> Thanks,
>>> Dinusha
>>>
>>> _______________________________________________
>>> Dev mailing list
>>> [email protected]
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Sajith Ariyarathna
>> Software Engineer; WSO2, Inc.;  http://wso2.com/
>> mobile: +94 77 6602284, +94 71 3951048
>>
>> _______________________________________________
>> Dev mailing list
>> [email protected]
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Vinod Kavinda
> Software Engineer
> *WSO2 Inc. - lean . enterprise . middleware <http://www.wso2.com>.*
> Mobile : +94 (0) 712 415544
> Blog : http://soatechflicks.blogspot.com/
>
>


-- 
Sajith Ariyarathna
Software Engineer; WSO2, Inc.;  http://wso2.com/
mobile: +94 77 6602284, +94 71 3951048
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to