Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » Unable to start JBOSS 5 from eclise IDE [Galileo]
Unable to start JBOSS 5 from eclise IDE [Galileo] [message #661953] Mon, 28 March 2011 15:13 Go to next message
hm9m  is currently offline hm9m Friend
Messages: 3
Registered: August 2010
Junior Member
I am not able to start JBOSS server from inside eclipse IDE.
my VM Arguments show following,

VM arguments: -agentlib:jdwp=transport=dt_socket,suspend=y,address=localho st:1471 -Dprogram.name=run.bat -Xms128m -Xmx512m -XX:MaxPermSize=256m -Dfile.encoding=Cp1252

not sure from where it is getting suspend=y and not able to start in the debug more.
Checked, run.bat and run-conf.bat in the ../bin directory
using follwing conf.,

jboss-eap-5.0
jdk1.6.0_23
Please provide any pointer to resolve the issue.
TIA
Re: Unable to start JBOSS 5 from eclise IDE [Galileo] [message #661975 is a reply to message #661953] Mon, 28 March 2011 17:05 Go to previous messageGo to next message
Larry Isaacs is currently offline Larry IsaacsFriend
Messages: 1354
Registered: July 2009
Senior Member
On 3/28/2011 11:13 AM, hm9m wrote:
> I am not able to start JBOSS server from inside eclipse IDE.
> my VM Arguments show following,
>
> VM arguments:
> -agentlib:jdwp=transport=dt_socket,suspend=y,address=localho st:1471
> -Dprogram.name=run.bat -Xms128m -Xmx512m -XX:MaxPermSize=256m
> -Dfile.encoding=Cp1252

I have a copy of jboss-5.0.1.GA that starts and stops fine in the
presence of similar arguments.

>
> not sure from where it is getting suspend=y and not able to start in the
> debug more. Checked, run.bat and run-conf.bat in the ../bin directory
> using follwing conf.,
>
> jboss-eap-5.0
> jdk1.6.0_23
> Please provide any pointer to resolve the issue.
> TIA

In the absence of any other information about what's going wrong, it's
hard to speculate what the problem might be. Are you getting any output
in the Console view that suggests that JBoss is at least attempting to
launch?

Cheers,
Larry
Re: Unable to start JBOSS 5 from eclise IDE [Galileo] [message #662007 is a reply to message #661975] Mon, 28 March 2011 20:46 Go to previous messageGo to next message
hm9m  is currently offline hm9m Friend
Messages: 3
Registered: August 2010
Junior Member
Yes, the JBOSS is doing an attempt to launch but gets VM argument as

16:43:38,494 INFO [ServerInfo] VM arguments: -agentlib:jdwp=transport=dt_socket,suspend=y,
address=localhost:4542 -Dprogram.name=run.bat

as you notice, suspend=y is creating this problem. I checked run.bat and run-conf-bat but nowhere it is setting it as "Y" - so not sure from where does it take that value "Y"
Did full search on c:/
Thanks.
Re: Unable to start JBOSS 5 from eclise IDE [Galileo] [message #662080 is a reply to message #661975] Tue, 29 March 2011 08:09 Go to previous messageGo to next message
Wolfgang Knauf is currently offline Wolfgang KnaufFriend
Messages: 63
Registered: July 2009
Member
Am 28.03.2011 19:05, schrieb Larry Isaacs:
> On 3/28/2011 11:13 AM, hm9m wrote:
>> I am not able to start JBOSS server from inside eclipse IDE.
>> my VM Arguments show following,
>>
>> VM arguments:
>> -agentlib:jdwp=transport=dt_socket,suspend=y,address=localho st:1471
>> -Dprogram.name=run.bat -Xms128m -Xmx512m -XX:MaxPermSize=256m
>> -Dfile.encoding=Cp1252
>
> I have a copy of jboss-5.0.1.GA that starts and stops fine in the
> presence of similar arguments.
>
>>

I have a JBoss 5.1.0GA here, and it also starts fine in debug mode.

Two guesses:
a) some firewall problem? Maybe JBoss or Eclipse is blocked by the
windows firewall?
b) you use the EAP platform. Maybe there is something different - this
is hard to test for us because it is not for free ;-). Could you give it
a try with a standard JBoss 5.1.0 GA?

Best regards

Wolfgang
Re: Unable to start JBOSS 5 from eclise IDE [Galileo] [message #662127 is a reply to message #662007] Tue, 29 March 2011 13:07 Go to previous messageGo to next message
Larry Isaacs is currently offline Larry IsaacsFriend
Messages: 1354
Registered: July 2009
Senior Member
On 3/28/2011 4:46 PM, hm9m wrote:
> Yes, the JBOSS is doing an attempt to launch but gets VM argument as
> 16:43:38,494 INFO [ServerInfo] VM arguments:
> -agentlib:jdwp=transport=dt_socket,suspend=y,
> address=localhost:4542 -Dprogram.name=run.bat
> as you notice, suspend=y is creating this problem. I checked run.bat and
> run-conf-bat but nowhere it is setting it as "Y" - so not sure from
> where does it take that value "Y"
> Did full search on c:/
> Thanks.

My guess is that Eclipse starts the JVM suspended to give it a chance to
install breakpoints, should there be any, before resuming. I don't
think it represents something Eclipse is doing wrong. Since you are
seeing this message in the server log, one would assume any breakpoints
have been set and the JVM resumed. :)

Do you see some error or complaint later in the log?

Cheers,
Larry
Re: Unable to start JBOSS 5 from eclise IDE [Galileo] [message #662240 is a reply to message #662127] Tue, 29 March 2011 19:57 Go to previous messageGo to next message
hm9m  is currently offline hm9m Friend
Messages: 3
Registered: August 2010
Junior Member
I d'nt see any error or complaint in the log. It just hangs and wo'nt start Eclipse in the debugg more.
Any idea, from where VM Argument gets -agentlib:jdwp=transport=dt_socket,suspend=y address=localhost:4542

???
This is JAVA jdwp but not sure how it is configured in Eclipse - Server [JBOSS]
Thanks!
Re: Unable to start JBOSS 5 from eclise IDE [Galileo] [message #662248 is a reply to message #662240] Tue, 29 March 2011 20:56 Go to previous message
Larry Isaacs is currently offline Larry IsaacsFriend
Messages: 1354
Registered: July 2009
Senior Member
On 3/29/2011 3:57 PM, hm9m wrote:
> I d'nt see any error or complaint in the log. It just hangs and wo'nt
> start Eclipse in the debugg more. Any idea, from where VM Argument gets
> -agentlib:jdwp=transport=dt_socket,suspend=y address=localhost:4542
> ???
> This is JAVA jdwp but not sure how it is configured in Eclipse - Server
> [JBOSS]
> Thanks!

These are arguments which Eclipse configures internally based on your
request for debug mode. I don't think they are under your control
beyond the choice of "run" or "debug".

After starting the server in debug mode, if you switch to the Debug view
in the Debug perspective, what do you see? Do you see a "launch" listed
and if so, what child items appear under it? Are there any "thread"
items to be found in the tree?

Cheers,
Larry
Previous Topic:Eclipse fails to monitor embedded tomcat
Next Topic:JS editor adaptions
Goto Forum:
  


Current Time: Thu Mar 28 22:21:21 GMT 2024

Powered by FUDForum. Page generated in 0.02382 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top