Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    lucian0c
    @lucian0c
    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
    MikeTsenatek
    @MikeTsenatek
    good evening.
    have some problems with the extension. everytime i do anything with the extension i get always error messages. e.g "Extension backend error - failed to list downloadable runtimes in time", " Extension backend error - there are no servers to choose from."
    is there a possibility to delete the extension with all user files to test it, if i did a misstake at the first installation
    Jeff MAURY
    @jeffmaury
    Data (downloads, server definitions,...) is stored in $HOME/.rsp
    Martijn Dashorst
    @dashorst
    Question that I couldn't find answered: how can I set environment variables for e.g. wildfly in the server connector configuration? The settings documentation show that you can set the cmd-line of the server process, but not how you can provide additional environment variables.
    Googling for vscode server tools environment variables only provides settings for the default debug/run configuration of VSCode unfortunately, and that is not what is used IIUC by the server tools.
    Martijn Dashorst
    @dashorst
    Perusing the source code, it seems that there is currently no way to provide environment variables to the started server process, as the child_process.spawn() doesn't use the env parameter.
    Martijn Dashorst
    @dashorst
    Apparently Rob Stryker has fixed the issue here: redhat-developer/rsp-server#656 (for anyone reading along) :thumbsup:
    mmcintyre123
    @mmcintyre123
    I'm running an exploded .war file on a Tomcat server on the server connector. When I build my app, the new files are copied into the build directory, the server correctly detects the changes, and re-syncs. Now I want to detect when this final sync is done, so I can auto refresh the browser. Does the server connector emit an event when syncing is complete?
    mmcintyre123
    @mmcintyre123
    Hello! Is it possible to setup shortcuts? For example, using the command server.addDeployment with parameters to specify the deployment?
    Gigatrappeur
    @Gigatrappeur
    Hello, it's possible to deploy ear and this modules on wildfly ?
    And, is there any documentation on the deployment parameters ?
    Vitaly
    @VitalyVaryvdin
    Hi guys
    Running Wildfly25 + Adoptium 17. Trying to use server connector with it and i'm getting "server wildfly 24+ is not compatible with discovered java version 17.0.1" when starting the server. Any clues on this?
    Same thing happening with WIldfly24
    jbagabaw
    @jbagabaw:matrix.org
    [m]
    Hey guys, I'm trying to migrate my java maven spring boot application from an Eclipse Workspace to a Vs Code workspace. Everything is good but I can not run my application in a Liberty Server To debug it. I found that with The community server connecter plugin I can do it. I installed and I added a Liberty Profile WLP. The problem is that I can add the app.war as a deployment but never the project from the Vs code explorer. Some one can help?
    liechtir
    @liechtir
    Hi, I have installed VSCode server on a docker container, I can bring up the VSCode client on my browser. I can install extenions etc, however the Redhat server extensions do not show up in the marketplace and when I try to install the vsix manually, I get an error "No Servers". How can I use wildfly from VSCode when vscode runs on a remote server? VScode -server and wildfly are on the same server under the same user. Thanks for any hints
    NullPointerException
    @N0nePointerException
    Hey guys, I met a issue when stop an instance for Tomcat 9.0.58. Does anyone know how to solve it? An issue is created but nobody replied. redhat-developer/rsp-server-community#111.
    Victor Rodrigues
    @beept
    I managed to implement the hot reload including jsp html pages...
    I managed to implement the hot reload including jsp html pages!
    Ridiculon
    @Ridiculon
    @beept go on! I would love to know how to do that!
    BuZZ-dEE
    @buzz-dee:matrix.org
    [m]

    hi, i get the following error, if try to start a tomcat server:

    Caused by: java.lang.UnsatisfiedLinkError: no ocijdbc21 in java.library.path: /usr/java/packages/lib:/usr/lib64:/lib64:/lib:/usr/lib

    i suppose i need to set the LD_LIBRARY_PATH. how can i do that?

    Pablo
    @mixtoism_gitlab
    Hi We are having some trouble trying to debug an application in wildfly using the server connector, it says that I should have the project name in the launch.json, is there any way to fix this?
    the project was imported from eclipse and I am fairly n00b when it comes to Java and stuff so I'm probably missing a file or something
    Enrico
    @sanguineous
    Hi! Is there a way to use the server-connector in VSCode to control a remote Wildfly server? It seems that the server must be in the local machine :/
    nahutu
    @nahutu:matrix.org
    [m]
    I try to start Community Server Connector on VS Code - Unable to start the server: Extension backend error - rsp error - community server connector failed to start - typeerror: cannot read properties of undefined (reading 'map')
    1 reply
    Rob Stryker
    @robstryker

    Hey guys, I'm trying to migrate my java maven spring boot application from an Eclipse Workspace to a Vs Code workspace. Everything is good but I can not run my application in a Liberty Server To debug it. I found that with The community server connecter plugin I can do it. I installed and I added a Liberty Profile WLP. The problem is that I can add the app.war as a deployment but never the project from the Vs code explorer. Some one can help?

    Unfortunately we don't allow you to just add a project, because we'd need to discover how to build it and then what created artifacts would be needed to deploy to a server. This is a lot harder task than simply deploying a build artifact. For JBossTools, we were lucky that WTP and the wtp-m2e maven plugins translated a given pom.xml into a logic on how to build the project. But we don't benefit from anything like that in vscode. We'd have to basically fork and rewrite half of m2e/wtp in order to allow you to just deploy a "project". Eclipse also had the incremental builder which made things even easier.

    Hi, I have installed VSCode server on a docker container, I can bring up the VSCode client on my browser. I can install extenions etc, however the Redhat server extensions do not show up in the marketplace and when I try to install the vsix manually, I get an error "No Servers". How can I use wildfly from VSCode when vscode runs on a remote server? VScode -server and wildfly are on the same server under the same user. Thanks for any hints

    Sorry for the delay. I've never tested anything like this and am unsure how I'd go about it.

    hi, i get the following error, if try to start a tomcat server:

    Caused by: java.lang.UnsatisfiedLinkError: no ocijdbc21 in java.library.path: /usr/java/packages/lib:/usr/lib64:/lib64:/lib:/usr/lib

    i suppose i need to set the LD_LIBRARY_PATH. how can i do that?

    Hi, please open a bug with more details including your OS, java version, tomcat version, etc.

    Hi We are having some trouble trying to debug an application in wildfly using the server connector, it says that I should have the project name in the launch.json, is there any way to fix this?

    redhat-developer/vscode-rsp-ui#226 There is an issue opened with a suggested fix

    Rob Stryker
    @robstryker

    Hi! Is there a way to use the server-connector in VSCode to control a remote Wildfly server? It seems that the server must be in the local machine :/

    As of now we are limited to local machines. The infrastructure in eclipse was provided by the Targeted Management (TM) project and the RSE (Remote System Explorer) extensions. Without that infrastructure, we'd need to write this all ourself. It's not immedaitely on the roadmap unfortunately.

    Mark Harris
    @MarkDHarris

    Hi. Is there a redhat noob channel? I am experimenting and have a RHEL 8.1 VM that prompts for login immediately after successful user/pwd combination and I don't know how to troubleshoot since I can't get past the login prompt.

    (using an invalid pwd, gives the normal invalid login but using the valid pwd gives the "last login" info too fast to read and bounces back to the login prompt)

    AbidFaiez
    @AbidFaiez
    Hi , is there a way that after deploying a war file , changes are detected from the project without redeploying the new war like in eclipse ?
    spaiq
    @spaiq
    Hey, I'm experiencing a bug that makes me unable to download a server so I installed it locally and tried to set it up from the drive but whenever I try to start it I get an "Error: Could not find or load main class Files
    Caused by: java.lang.ClassNotFoundException: Files" error. Could someone help me with that?
    Rich Peters
    @rpetersii
    Hey guys, I'm trying to migrate my java gradle war from IntelliJ to a Vs Code workspace. I have a working local tomcat I am connecting to. I can connect to tomcat and try to run my exploded war via the run on server command. It will attempt to deploy and timeout after 10 seconds, even the the tomcat log shows its trying to deploy. This is a rather large project and can take 30 seconds to deploy on a production server. If I try to to use the tomcat run server item it too will run for a while and then eventually show (Stopped) as the status. any of the publish options return a error saying backend error. Any one know what could be going on?
    Jeff MAURY
    @jeffmaury
    Can you provide some logs ?
    Rich Peters
    @rpetersii
    so when I restart vs code and then use "Start Server" its runs for a minute and then says "(Stopped)" for status . the show Logs : extension host only shows one log message related to the community server connector:
    [2022-10-21 08:37:29.729] [exthost] [info] ExtensionService#_doActivateExtension redhat.vscode-community-server-connector, startup: false, activationEvent: 'onView:servers'
    nothing about the stoppage
    Rich Peters
    @rpetersii
    @jeffmaury so ive rerun this many times now. tomcat will just be killed with no info in the vscode logs or the catalina log 21-Oct-2022 09:58:08.172 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["https-openssl-nio-8443"]
    21-Oct-2022 09:58:08.230 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["ajp-nio-127.0.0.1-8009"]
    21-Oct-2022 09:58:08.242 INFO [main] org.apache.catalina.startup.Catalina.start Server startup in [14911] milliseconds
    Viridian-Kailin
    @Viridian-Kailin
    I'm experiencing a similar issue. Community Server Connector (v0.25.7) appears as a Output terminal option, and is part of the Log (Extension Host) output when first launching Visual Studio Code (ExtensionService#_doActivateExtension redhat.vscode-rsp-ui, startup: false, activationEvent: 'onView:servers', root cause: redhat.vscode-community-server-connector). However, as soon as I try to "Start / Connect to RSP Provider", the status goes from "Started" -> "Connected" -> "Stopped" in a manner of seconds. It also gets removed as an option for the Output terminal. No output logs or errors are generated by the extension. VS Code doesn't display any notifications, though there are console log errors that appear in the Developer Tools. The extension appears to stop functioning after [Extension Host] Message=Sending request 'server/getServerHandles - (1)'. data=undefined.
    Jack Tsai
    @jtsaich_gitlab
    Hello, I'm experiencing an issue that my tomcat server seem to be detached from RSP UI, that trying to stop and terminate my tomcat, it appears to still always be up, accessible via browser. Any way to manually kill the server?