-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"CApp has encountered deployment issues. Please refer to the output for error logs" ERROR in wso2 micro integrator with visual studio #539
Comments
Hi @JustinRaj-S, Do you see any server starting logs after the build is success and before it gets terminated? Also please confirm that you are pointing to the server location and not its bin folder. |
I have selected only the wso2-mi product, not bin directly while adding MI Server. Below is the server log after build success: Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-compiler-plugin/maven-metadata.xml (1.3 kB at 1.6 kB/s) Downloaded from wso2-nexus: https://maven.wso2.org/nexus/content/groups/wso2-public/org/apache/maven/plugins/maven-compiler-plugin/maven-metadata.xml (1.6 kB at 981 B/s) As soon as build success, getting that pop up |
Hi @ChinthakaJ98 Before: After shortening Path, it is working as expected, and tested API via Runtime services |
I think issue persists for some other project. I am trying this tutorialhttps://mi.docs.wso2.com/en/latest/learn/integration-tutorials/sending-a-simple-message-to-a-service/ As soon as build was successful, getting pop up like "CApp has encountered deployment issues. Please refer to the output for error logs." ERROR Logs: Kindly check on this |
Hi @ChinthakaJ98 if you don't mind, could you able to check on this further once you are free? |
Hi @JustinRaj-S, We tried to reproduce this issue in a Windows OS but we were unable to reproduce it. May I know whether you are facing this issue intermittently or whether it happens continuously on specific projects? |
Hi @ChinthakaJ98 , @JustinRaj-S I have the same issue. From my experience, it works again, when I delete
and restart VSCode. It seems to me that the cleanup does not happen correctly when stopping the server from VSCode. I already ruled out file permissions and UAC - the issue remains regardless if I have %mi_home% in my user folder or in the programs folder. |
I also deleted the files mentioned above(wso2carbon.pid, tmlog0.log, tmlog.lck and xxx.xxx.xxx.xxx.tm0.epoch) and restarted VSCode , However issue remains same for me |
For every project I'm creating, facing the same issue. FYI, I tried another tutorial https://mi.docs.wso2.com/en/latest/learn/integration-tutorials/using-scheduled-tasks/ , this also leads to a similar issue, after build success, getting same pop-up Screenshot: |
Thank you @QuantumSupraLogic for sharing your experience with us as it will help us to look further into this issue. @JustinRaj-S we will try to reproduce this from our end too and find the root cause for the issue you are facing. I will share an update once we pinpoint the issue and find a fix for it as soon as possible. |
Hi @JustinRaj-S can you try to close VSCode (all instances) and all Java-processes, then delete the aforementioned files and start VSCode again. |
I tried closing visual studio by and java process by Deleted all aforementioned files under Re-Opened visual studio code again. Micro Integrator Server:
Micro integrator:
Still same behaviour unfortunately. |
This issue will be fix in new version - https://github.com/wso2-enterprise/vscode-extensions/pull/4442 |
Description
Hi Team,
I am following the WSO2 Quick start guide to work with MI integration (Helloworld service).
after designing the project, click ctrl + shift + p to add the MI Server in visual studio. Click on "Build and Run" button.
after build success, getting pop up like "CApp has encountered deployment issues. Please refer to the output for error logs."
Logs from MicroIntegrator Server - Output console :
Logs from Micro Integrator - Output console:
Steps to Reproduce
Install WSO2 MI and Visual studio by follows WSO2 official site https://mi.docs.wso2.com/en/latest/install-and-setup/install/installing-mi/
Design "Helloworld" service as instructed in WSO2 Quick reference https://mi.docs.wso2.com/en/latest/get-started/quick-start-guide/
After designing the project, Click on "Build and Run" to deploy the created service to the WSO2 MI Server.Hello world
Version
WSO2 MI 4.3.0
Environment Details (with versions)
OS: Windows 11
WSO2 MI 4.3.0
Visual Studio Code: 1.95.3
The text was updated successfully, but these errors were encountered: