You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by "pepness (via GitHub)" <gi...@apache.org> on 2023/04/18 23:03:01 UTC

[GitHub] [netbeans] pepness commented on pull request #5597: Adding support for port offset when running WildFly

pepness commented on PR #5597:
URL: https://github.com/apache/netbeans/pull/5597#issuecomment-1513891044

   Test with WildFly version 27
   - The port offset works
   - Start, stop and restart works fine. But sometimes it throws an exception:
   
   >   INFO [org.netbeans.modules.javaee.wildfly.ide.WildflyStartServer]
   > java.util.concurrent.CancellationException: JBTHR00004: Operation was cancelled
   > 	at org.jboss.threads.AsyncFutureTask.get(AsyncFutureTask.java:251)
   > 	at org.jboss.as.controller.client.impl.AbstractDelegatingAsyncFuture.get(AbstractDelegatingAsyncFuture.java:57)
   > 	at org.jboss.as.controller.client.impl.ConvertingDelegatingAsyncFuture.get(ConvertingDelegatingAsyncFuture.java:64)
   > 	at org.jboss.as.controller.client.impl.ConvertingDelegatingAsyncFuture.get(ConvertingDelegatingAsyncFuture.java:41)
   > 	at org.netbeans.modules.javaee.wildfly.ide.commands.WildflyClient.isServerRunning(WildflyClient.java:289)
   > [catch] at org.netbeans.modules.javaee.wildfly.ide.WildflyStartServer$1.run(WildflyStartServer.java:215)
   > 	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1419)
   > 	at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45)
   > 	at org.openide.util.lookup.Lookups.executeWith(Lookups.java:287)
   > 	at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2034)
   
   Test with WildFly version 28
   - It does not detect that WildFly 28 has started after starting it with `Right Clik` -> `Start`.
   ![Screenshot from 2023-04-18 16-07-40](https://user-images.githubusercontent.com/9832133/232916176-ac72ae83-a374-4a0f-92a2-44178f3d874e.png)
   
   > I suppose the only way to change the offset again once the server has been created is by editing the config xml?
   
   That is correct @mbien, perhaps later the port can be changed like Tomcat does.
   
   @ehsavoie  If there is no problem with the thrown exception, it can be merged and add full support for version 28 later.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists