Unable to activate the Message Processor in WSO2 EI 6.6 - wso2

I can't activate the message processor in the WSO2 Management console and I try to click the activate button multiple times it does not turn on and no error shown in log please help me to sort this out.

Can you try the following steps?
Undeploy your Capp.
Open Registry Browser and go to /_system/governance/repository/components/org.wso2.carbon.tasks/definitions/-1234/ESB_TASK/ and delete the task configuration related to the Message processor you are having issues with.
Delete the contents in <EI_HOME>/tmp directory and restart the server.
Now deploy the Capp again.

Related

wso2is start in developer mode

I'm working with WSO2 Identity Server and I'm curious if there is a way to run the product in developer mode without building each component of identity server. I found a way to start the "My Account" component in dev mode by following this tutorial ( https://is.docs.wso2.com/en/5.11.0/develop/setting-up-my-account-in-a-dev-environment/ )
but I want to be able to modify different components such as recovery-portal and authentication-portal by forking and cloning the required github repositories and starting the entire app in developer mode in order to see the code changes in real-time.
AFAIK the developer mode will work only for the MyAccount and Console. You can refer to the doc for more details on that.
The recovery portal, the authentication portal etc. cannot be tried with the developer mode. However, there are two ways that you can try this.
Build the war files manually and add them to the WebApps directory. If the server is running, war file changes will automatically get deployed. If the server is not running, you have to delete the existing directory and restart the server.
You can do the changes to the JSPs that are deployed inside the pack. Once the changes are done, you can save the changes and the changes will automatically get deployed.

Authentication Error when Trying to Log into WSO2 IoT Server - Device Management Console in wso2-iot-3.3.0

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

Informatica Administrator: Domain site refuse to connect

I have successfully completed the installation of informatica, and I am able to login domain Administrator http://ssingh:6008/administrator but the session get timed out after some time of inactivity.
The issue I am facing is It shows error to reconnect i.e. ERR_CONNECTION_REFUSED. Although this issue does not occur everytime, but frequently seen this issue.
Thanks in advance for the solution to resolve this issue.
It requires informatica service to be up and running. So go to System services and Start Informatica service. Wait for few minutes once service get started, and then will be able to view Administrator page.
P.S. I got this answer after self experimenting it. If any one knows better answer please do post it here. Thanks!
I have the same issue and as you suggested, all what we need to do is to check if the service is running under Control Panel > Administrative Tools > Services (for Windows users) and be patient. My browser connects to the tool automatically after 3 or 4 minutes. Thank you!

Not able to login to WSO2 ESB management console

I have installed WSO2(ESB) version - 4.8.0 following the installation guide(for windows) from the link
http://docs.wso2.org/display/ESB480/Downloading+the+Product
I unzip the folder and follow the steps from
http://docs.wso2.org/display/ESB480/Running+the+Product
to execute the server. But I am not able to login. It does not show errors and simply shows processing.
Please let me know if there is anything I need to do for using this version.
Thanks,
Sharmistha
If you are using Windows, go to command window in which you started ESB and press CTRL + C to stop the server. OR if you are using Linux and you have put the ESB to background type sh <PRODUCT_HOME>/bin/wso2server.sh stop to stop the server.
Close the command window and start the ESB again. Now open the management console again and you will be able to log in.
What is error that you can see in the console? Actually you can just download, unzip ans start the server, Then you are able to login by providing "admin" user name and "admin" password.

AWS java project creation error

I have installed aws plugins from http://aws.amazon.com/eclipse.
While creating aws java project, next and finish buttons are not enabling.
While opening eclipse, I am getting below errors.
Couldn't read regions file,
Failed to cache regions file,
Unable to check status of AWS SDK for Java download and Unable to refresh security groups: Unable to execute HTTP request: peer not authenticated.
The problem is,your AWS SDK is not installed and updated properly . Just click on >Help in eclipse and then click on >Installation Details and from that reinstall AWS Eclipse plugin .
Please make sure that url of plugin is appropriated for your eclipse version.
It will solve your problem.
Try using a new workspace and you will be good to go.
Let know if the problem still persists.