I have a problem with the WSO2 application server, and try catch error in the output file wso2carbon.log, but the applcation doesn't show error, my log4j file is:
https://gist.github.com/gururea/104e6e7db83849199309
And Follow this steps.
I try setting this debug mode, error mode, all modes, and doesn't show errors. I developed application with wso2 carbon IDE.
Thanks for your help.
Since you cant find any logs, Deploy some debug points by yourself in the relevant component. Please follow this blog post.
Hope this might helps!
Related
I wanna debug my Restlet Script and I follow the guide by the official document Debugging a RESTlet
But I could not get the expected results, below has 2 screenshots,
one is my success request with the Authentication header,
The other one is my problem with the "SESSION_TIMED_OUT" error.
Thanks in advance for any tips/ help and regards!
By inspiration in the bellow image, I choose to update my domain and I succeed in debugging Restlet Script
Original Link
I followed the instructions in the link (https://docs.wso2.com/display/IOTS330/Enterprise+IoT+solution) in Windows to start WSO2 IoT server. So, broker, iot-server and analytics are started. But, when I'm trying to log in to the device management console using admin login or the login credentials I created, it gives me an authentication error.
I tried the solutions in this answer (Not able to access WSO2 IoTS Device Management Console in wso2-iot-3.3.0 when logged in 'admin') also (Reducing Java version to 1.8.0_144 and making the compression parameter to off in all the catalina-server.xml files). But any of it didn't work for me.
I have attached the screen shots of the error. Please help me to go through this! Thank you.
Error in browser
Error description in iot-server console-Part 1
Error description in iot-server console-Part 2
This is related to the issue mentioned in the github issue mentioned below and it seems, it is already fixed in latest master.
As a quick workaround you could try to modify the startup script files (bat files in this case) and add the changes mentioned in the above git issue.
For example, you can change the file modules/distribution/src/core/bin/iot-server.bat at line number 73 as below.
FOR %%D in ("%CARBON_HOME%\wso2\lib\commons-lang*.jar") DO set CARBON_CLASSPATH=!CARBON_CLASSPATH!;".\wso2\lib\%%~nD%%~xD"
Similarly do the same change as above for files mentioned below as well.
modules/distribution/src/core/resources/profiles/backend/iot-server.bat
modules/distribution/src/core/resources/profiles/keymanager/iot-server.bat
modules/distribution/src/core/resources/profiles/manager/iot-server.bat
This should resolve the issues you are facing.
Related github issue - https://github.com/wso2/product-iots/pull/1838/files
I am having trouble getting crash report in my Bugsnag dashboard. I followed Bugsnag doc and tried to fatalError() on one of my ViewController and it seems like it does not work. By the way, Bugsnag.notifyError(NSError(domain:"com.example", code:408, userInfo:nil)) seems working. There is not really meaningful code to provide to get the answer because what I tried is pretty trivial. Created an app, installed Bugsnag with cocoapod, disabled bitcode part as stated in the doc (installed the plugin that uploads dSYM file), and crashed the app on purpose.
Any help will be appreciated. I am frustrated to get crash report tool on my app. I have tried Firebase crash reporting tool and did not succeed too. T.,T
Do you have the debugger attached? a fatalError will not report if the debugger is attached.
Additionally, you'll need to restart your app after a crash in order to send it in.
Hope that helps!
Not sure what is I missing here. No analytics graph showing up
Are you using Analytics?
If not, try to disable it and try again.
I was having similar issue, i haven't setup xDB for Analytics.
So, it was giving me error while getting Tracking information.
I am new to Prestashop. Please help me. I was trying to use webservices but I am receiving this error. What should I do? I am using Prestashop 1.5.
You need to set _PS_MODE_DEV_ to true. This file is found at config/defines.inc.php.
Once this flag is enabled, you will see a useful error message instead of the generic one.
See Add product to PrestaShop 1.5 via Web Service for where I found this tip.
Check all the configuration before running web application. Make sure Webservice is enabled in the back office.:)
Internal error, may be you missing some configuration. Check all the configuration before running web application.