-
1. Re: JBOSS-IDE ignoring run.conf when starting JBoss?
dbs Sep 9, 2006 9:50 AM (in response to dbs)Just a followup observation: it's absolutely clear that Jboss-IDE is ignoring the run.conf file. I made a change to the JAVA_OPTS line in run.conf - in fact put in a syntax error:
Exception in thread "main" java.lang.NoClassDefFoundError: jalkfjaslkfjaslfkj
From the command line (bin/run.sh), this throws that error. In Eclipse, starting JBoss throws no error.
This is a fairly serious question, and I'm concerned that it's not being addressed - nowhere in the wiki or in the documentation that I have found. Can someone tell me how to configure JBoss's environment when launched from Eclipse? -
2. Re: JBOSS-IDE ignoring run.conf when starting JBoss?
rob.stryker Sep 9, 2006 10:59 AM (in response to dbs)You're 100% correct. Starting JBoss from inside eclipse does not execute the .bat or .sh files. It directly executes the main class of run.jar. For the time being, double-clicking on the server instance and editing it's launch configuration should allow you to add the proper parameters to the vm or program args.
-
3. Re: JBOSS-IDE ignoring run.conf when starting JBoss?
dbs Sep 10, 2006 2:21 PM (in response to dbs)"rob.stryker@jboss.com" wrote:
You're 100% correct. Starting JBoss from inside eclipse does not execute the .bat or .sh files. It directly executes the main class of run.jar. For the time being, double-clicking on the server instance and editing it's launch configuration should allow you to add the proper parameters to the vm or program args.
While I thank you from the bottom of my geeky heart for the answer, might I suggest tihs is a very poor UI decision? Nowhere else does the UI use a double click for setting server properties (it's simple execution or opening configuration, and I had right clicked, clicked, properties selected, etc everywhere. But I hadn't tried double-clicking.
Can something like "Properties..." be added to the right-click menu for the server view? That would have saved me 4-5 days of frustration.
Thanks again for the help! -
4. Re: JBOSS-IDE ignoring run.conf when starting JBoss?
rob.stryker Sep 10, 2006 9:50 PM (in response to dbs)That part of the UI is run by the eclipse project "webtools" (upstream of us), however I will either put in a feature request to them or find some other way to ensure the UI is more user friendly.