Hi Nandika,

I tried "-Desb.debug=true" as well . But getting the same issue.

With Regards,
Aditya

On Fri, Oct 6, 2017 at 5:33 PM, Nandika Jayawardana <[email protected]>
wrote:

> Hi Aditya,
>
> Please follow the instructions from the page [1]
>
> [1] https://docs.wso2.com/display/ESB500/Debugging+Mediation.
>
> It seems you are passing the wrong argument -Desb.debug=super, which
> should be -Desb.debug=true.
>
> Regards
> Nandika
>
> On Fri, Oct 6, 2017 at 4:53 PM, aditya shivankar <
> [email protected]> wrote:
>
>> WSO2 debugger is not working for me .Please guide.
>>
>>
>> Please find attchment . For issue with screenshots.
>>
>>
>>
>> Debugger Steps :
>>
>> Following below document : https://nuwanpallewela.wordpre
>> ss.com/2016/06/11/how-to-connect-with-wso2-esb-server-in-debug-mode/
>> This section of above document : Starting WSO2 ESB Server with from ESB
>> Tool and Connect to Server in Debug Mode 1.   Added server in eclipse :
>> 2)   Double clicked generic server New_configuration(1) is created. 3)
>> Went to Arguments tab and added Program arguments “-Desb.debug=super”.
>>
>> Clicked on Apply and close.
>>
>>
>>
>> 4)      Right clicked on server and pressed start .(also tried clicking
>> here debug but server did not  start after long time also with similar
>> error in logs , so I sttoped it)
>>
>>
>>
>> I get below error in logs :
>>
>> [2017-10-06 15:28:41,013] ERROR - SynapseDebugInterface Failed create
>> communication channels to the external debugger
>>
>> *java.net <http://java.net>.SocketTimeoutException*: Accept timed out
>>
>>        at java.net.TwoStacksPlainSocketImpl.socketAccept(*Native Method*)
>>
>>        at java.net.AbstractPlainSocketImpl.accept(Unknown Source)
>>
>>        at java.net.PlainSocketImpl.accept(Unknown Source)
>>
>>        at java.net.ServerSocket.implAccept(Unknown Source)
>>
>>        at java.net.ServerSocket.accept(Unknown Source)
>>
>>        at org.apache.synapse.debug.SynapseDebugInterface.createDebugCh
>> annels(*SynapseDebugInterface.java:81*)
>>
>>        at org.apache.synapse.debug.SynapseDebugInterface$AsynchronousC
>> hannelCreator.run(*SynapseDebugInterface.java:155*)
>>
>>        at java.lang.Thread.run(Unknown Source)
>>
>> [2017-10-06 15:28:41,018] ERROR - ServiceBusInitializer Error while
>> creating Synapse debug environment
>>
>> *java.net <http://java.net>.SocketTimeoutException*: Accept timed out
>>
>>        at java.net.TwoStacksPlainSocketImpl.socketAccept(*Native Method*)
>>
>>        at java.net.AbstractPlainSocketImpl.accept(Unknown Source)
>>
>>        at java.net.PlainSocketImpl.accept(Unknown Source)
>>
>>        at java.net.ServerSocket.implAccept(Unknown Source)
>>
>>        at java.net.ServerSocket.accept(Unknown Source)
>>
>>        at org.apache.synapse.debug.SynapseDebugInterface.createDebugCh
>> annels(*SynapseDebugInterface.java:81*)
>>
>>        at org.apache.synapse.debug.SynapseDebugInterface$AsynchronousC
>> hannelCreator.run(*SynapseDebugInterface.java:155*)
>>
>>        at java.lang.Thread.run(Unknown Source)
>>
>>
>>
>> Although thereafter the server starts :
>>
>> [2017-10-06 15:29:03,891]  INFO - JMXServerManager JMX Service URL  :
>> service:jmx:rmi://localhost:11111/jndi/rmi://localhost:9999/jmxrmi
>>
>> [2017-10-06 15:29:03,894]  INFO - StartupFinalizerServiceComponent
>> Server           :  WSO2 Enterprise Service Bus-5.0.0
>>
>> [2017-10-06 15:29:03,896]  INFO - StartupFinalizerServiceComponent WSO2
>> Carbon started in 112 sec
>>
>> [2017-10-06 15:29:04,218]  INFO - CarbonUIServiceComponent Mgt Console
>> URL  : https://169.254.184.14:9443/carbon/
>>
>>
>>
>> 5)  Then I deployed my flow using eclipse server console.
>>
>> 6)  My flow got deployed successfully , as could be seen on wso2 console.
>>
>> 7)      Then I added breakpoints .
>>
>> 8)       Then I tried to hit the service from postman , but it did not
>> stop at any breakpoint.
>>
>>
>>
>> Using :
>>
>>
>>
>> 1.       *Eclipse* Java EE IDE for Web Developers. Version: *Mars.2
>> Release (4.5.2)*.Build id: 20160218-0600
>>
>> *2.       **Developer Studio :*
>>
>>
>>
>> *3.       * *wso2esb-5.0.0 server.*
>>
>>
>>
>> With Regards,
>>
>> Aditya
>>
>> _______________________________________________
>> Dev mailing list
>> [email protected]
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Nandika Jayawardana
> WSO2 Inc ; http://wso2.com
> lean.enterprise.middleware
>
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to