-
1. Re: JBoss tools plugin not recognizing server on 8180
maxandersen Aug 28, 2013 1:24 PM (in response to mschwery)Did you set the port offset in eclipse?
does the server editor show the right port in the port section or the default 8080 ?
Try setting the port specifically and see if it works.
we do try and detect port/port offsets but there are corner cases we can't guess/detect so thats what the explicit override is for.
-
2. Re: JBoss tools plugin not recognizing server on 8180
mschwery Aug 28, 2013 2:13 PM (in response to maxandersen)If I change the port offset in the standalone file it seems to be ok.
However that's not what I want to have people do.
What would be great is if I could have multiple jvms under the Jboss install with a different value for offset hard coded in each standalone.xml and start different ones by just changing the value in the offset box on the server tab.
That way if you have 100 in the offset box on the server tab eclipse would start the jvm that was hard coded with a offset value of 100 and in the console you would see the 8100 and 10090 port displayed at startup.
-
3. Re: JBoss tools plugin not recognizing server on 8180
maxandersen Aug 28, 2013 3:15 PM (in response to mschwery)rob.stryker might be able to explain, but I recall the ports are just based on what is detected in the configuration.
I agree that this could be smarter and add it to the command line arguments if not already there.
-
4. Re: JBoss tools plugin not recognizing server on 8180
rob.stryker Sep 2, 2013 3:37 AM (in response to maxandersen)Currently, the way to accomplish what you want would be to create several copies of your standalone.xml, modify the port-offset values in the standalone.xml, then in eclipse, make one runtime for each of your created .xml files, and then of course 5 servers, targeting each of the 5 runtimes.
I do like the idea of adding it cmd line arguments if the user is manually setting the value, but this provides a problem in that it would be conflicting for the users. All the other ports have a workflow where the command line args aren't changed at all and the ports are only using for interfacing with the running server.
It might be possible to change this, but if it turns out any specific port does not have hte ability to be overridden via command line args, it would make the UI inconsistant. If for example port-offset UI could change teh cmd line args, but web port or management port could not, then the user may be confused.
-
5. Re: JBoss tools plugin not recognizing server on 8180
maxandersen Sep 2, 2013 1:08 PM (in response to rob.stryker)rob.stryker wouldn't it be sufficient just to manually add the override to the command line arguments ? (creating that many standalone.xml setups seems overkill for this).
-
6. Re: JBoss tools plugin not recognizing server on 8180
rob.stryker Sep 2, 2013 1:16 PM (in response to maxandersen)You're right that it would seem easier, but it'd be a workflow change, and also (possibly) an API change to many classes and models. So it's not "trivially easier". But a JIRA should definitely be opened to investigate it.
-
7. Re: JBoss tools plugin not recognizing server on 8180
rob.stryker Sep 2, 2013 1:19 PM (in response to rob.stryker)JIRA reference: https://issues.jboss.org/browse/JBIDE-15391
-
8. Re: JBoss tools plugin not recognizing server on 8180
maxandersen Sep 2, 2013 1:48 PM (in response to rob.stryker)@Rob Stryker you wrote:
"Currently, the way to accomplish what you want would be to create several copies of your standalone.xml, modify the port-offset values in the standalone.xml, then in eclipse, make one runtime for each of your created .xml files, and then of course 5 servers, targeting each of the 5 runtimes."
I just pointed out that afaics the simplest approach for the user currently is to set the port offsets manually via the command line arguments and then set the portoffset manually in the UI. No need for "several copies of your standalone.xml" if the only thing you want is being able to run multiple servers from the same setup.
-
9. Re: JBoss tools plugin not recognizing server on 8180
rob.stryker Sep 2, 2013 1:52 PM (in response to maxandersen)> I just pointed out that afaics the simplest approach for the user currently (etc)
Yes, this is right.