Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    lampsbr
    @lampsbr
    it works!
    thanks guys
    Luca Stocchi
    @lstocchi
    :)
    there is still an issue though, we'll fix it asap
    mr vicky
    @vickyEE_gitlab
    Hello how can i run my react project on redhat EAP
    mr vicky
    @vickyEE_gitlab
    image.png
    Luca Stocchi
    @lstocchi
    Hi @vickyEE_gitlab, why do you want to run your react app on EAP? Is this part of your front-end and you already have your backend on EAP? What have you tried so far?
    Matteo Salvi
    @salvadorbs
    Hi everybody. I'm trying to debug a jboss application with vscode (+ server connector + java extension pack). Last week, everything is ok, but from yesterday I have issues when using debug console.
    "Cannot evaluate because of java.lang.IllegalStateException: Cannot evaluate, please specify projectName in launch.json.."
    Can anybody help me?
    thanks
    Jeff MAURY
    @jeffmaury
    That may be due to a change in VSCode, can you send a screenshot or a log ?
    Matteo Salvi
    @salvadorbs
    what log do you need?
    [Error - 12:06:53] 1-apr-2020 12.06.53 No project is available for evaluation. [Error - 12:06:53] 1-apr-2020 12.06.53 [error response][evaluate]: Cannot evaluate because of java.lang.IllegalStateException: Cannot evaluate, please specify projectName in launch.json.. Cannot evaluate because of java.lang.IllegalStateException: Cannot evaluate, please specify projectName in launch.json.. com.microsoft.java.debug.core.DebugException: Cannot evaluate because of java.lang.IllegalStateException: Cannot evaluate, please specify projectName in launch.json.. at com.microsoft.java.debug.core.adapter.AdapterUtils.createCompletionException(AdapterUtils.java:255) at com.microsoft.java.debug.core.adapter.handler.EvaluateRequestHandler.lambda$handle$0(EvaluateRequestHandler.java:141) at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1604) at java.util.concurrent.CompletableFuture$AsyncSupply.exec(CompletableFuture.java:1596) at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289) at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056) at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1692) at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157) Caused by: java.lang.IllegalStateException: Cannot evaluate, please specify projectName in launch.json. at com.microsoft.java.debug.plugin.internal.eval.JdtEvaluationProvider.findJavaProjectByType(JdtEvaluationProvider.java:285) at com.microsoft.java.debug.plugin.internal.eval.JdtEvaluationProvider.ensureDebugTarget(JdtEvaluationProvider.java:413) at com.microsoft.java.debug.plugin.internal.eval.JdtEvaluationProvider.evaluate(JdtEvaluationProvider.java:140) at com.microsoft.java.debug.plugin.internal.eval.JdtEvaluationProvider.evaluate(JdtEvaluationProvider.java:115) at com.microsoft.java.debug.core.adapter.handler.EvaluateRequestHandler.lambda$handle$0(EvaluateRequestHandler.java:83) ... 6 more
    this is Language Support for Java's log
    ps.: i haven't create a launch.json. But before, I haven't need to create one.
    Jeff MAURY
    @jeffmaury
    Yes that's one our extension creates when you run Debug on a server. Maybe Microsoft changed requirements for the debugger.
    Luca Stocchi
    @lstocchi
    @salvadorbs as Jeff said it should be a problem from Microsoft. In the Server Connector extension we rely on debugger for java. I made a quick test with a simple java app i have and it worked fine (i don't have a launch.json). Do you have a sample app on github i can use to make some test? Have you tried following the suggestion here microsoft/vscode-java-test#102 I'll keep testing to replicate it.
    mr vicky
    @vickyEE_gitlab
    hi luca i just got notification of your message
    yes my bakend in on jboss eap
    backend*
    and i am trying to use jboss in VS as replacement of webpack
    mr vicky
    @vickyEE_gitlab
    how hot deployment will work with vs with jboss as far as jboss it deploys only war files.
    Luca Stocchi
    @lstocchi
    @vickyEE_gitlab ok, i need to try react + java because i never tested it before. I'll let you know in the next few days. Check the chat whenever you can. Regarding hot deployment it was already discussed previously in this chat. If you search for hot deployment you should find some infos and something you can try. Not going to copy/paste all the messages because there are several of them but if you have any question don't hesitate to ask.
    mr vicky
    @vickyEE_gitlab
    let me see hot deployment
    Henrique Santana
    @rikes
    Hello, I installed the plugin to include my Jboss EAP 7 server in Vs Code.
    However my server goes down (stops) at all times, after starting it for just after about 2 minutes. Does anyone know what can it be?
    I'm trying to run a .war on Jboss EAP 7.
    Note:
    In eclipse it works normally.
    Henrique Santana
    @rikes
    not erros or info in logs
    fayala901
    @fayala901
    hi
    Unable to deploy and debug application Extension backend error - server localhost does not support deployment of resources without an approved suffix. use the deployment.output.name deployment option to override the output name. help me
    I am trying to deploy a project that I have in eclipse in visual studio code I do not know how to make visual studio code generate the war of the project
    When I right-click the project, I debug it on the server and I get this error
    Unable to deploy and run application Extension backend error - server localhost does not support deployment of resources without an approved suffix. use the deployment.output.name deployment option to override the output name.
    Luca Stocchi
    @lstocchi
    hi @fayala901 sorry for the late response, i completely miss your message. If this happens again please open an issue on github. From the error you are seeing i guess you are trying to add an exploded deployment and run/debug it. When the IDE asks you "Do you want to edit optional deployment parameters?" just answer yes and in the next textbox insert the name of your war (e.g myapp.war). Then it should work.
    Hi @rikes sorry for the lare response. I am not able to tell which is the issue with this few infos. Could you please open a github issue and give us as many details as possible about your app or share with us an example so we can test it? Thank you
    Waldemar Tsiamruk
    @wtsiamruk
    Hi all, the server connector project was created with though in mind to extend to other application servers?
    Would it be possible to contribute, for example Websphere support
    Rob Stryker
    @robstryker
    @wtsiamruk Websphere should be fine. I don't have a websphere to test with
    @wtsiamruk right now we put other runtimes in the rsp-server-community project.
    @wtsiamruk we currently have basic support for felix, karaf, jetty, glassfish, tomcat. An example of the json file that creates such server types is here: https://github.com/redhat-developer/rsp-server-community/blob/master/rsp/runtimes/bundles/org.jboss.tools.rsp.server.glassfish/src/main/resources/servers.json
    The reason i didn't add websphere yet is because I couldn't figure out how to download / install it ;)
    lucian0c
    @lucian0c
    Hi @robstryker .. you mention that there is basic support for tomcat. Is there any doc on how to connecto tomcat to debug with this extension?
    or someone else, is there any suppot to debug on tomcat with the extension?
    lampsbr
    @lampsbr
    Hi, I'm a victim of the recent vscode (java 8) update =D
    Is it possible to set a jvm path to my wildfly server in right click -> edit server ?
    Thiago Henrique H├╝pner
    @Thihup
    The Open Liberty is a variant of Websphere that's easy to download and Open Source
    Jeff MAURY
    @jeffmaury
    @lampsbr yes use vm.install.path see https://github.com/redhat-developer/vscode-rsp-ui
    lampsbr
    @lampsbr
    thanks @jeffmaury
    Ridiculon
    @Ridiculon

    Hi all, I'm here via the link in the VS Code Server Connector extension page.

    I'm attempting to move my development team away from MyEclipse and into VS Code (for various reasons, but the main one is to save on licensing fees).

    We are using a Wildfly 18 server for several applications so one of the requirements for the move is to be able to deploy them within VS Code. I am having some issues doing that, can anyone walk me through the process?

    Ridiculon
    @Ridiculon
    By deploy I mean I am having trouble publishing the applications correctly
    Jeff MAURY
    @jeffmaury
    @Ridiculon ping @robstryker
    Ridiculon
    @Ridiculon
    will do, thanks