[jboss-user] [Installation, Configuration & Deployment] - Re: JBoss server hangs in state

2009-08-28 Thread PeterJ
Eclipse monitors the ports opened by JBoss AS to determine if the app server is running (I think it gets the server mbean and asks for the state). If you change the ports that JBoss AS uses, or if you change the -b run option to bind to something other than localhost, Eclipse will not be able to

[jboss-user] [Installation, Configuration & Deployment] - Re: JBoss server hangs in state

2009-08-28 Thread PeterJ
Another problem would be if you secure the JMX invoker - Eclipse cannot handle that and thus would be prevented from accessing the necessary mbeans. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4252355#4252355 Reply to the post : http://www.jboss.org/index.

[jboss-user] [Installation, Configuration & Deployment] - Re: JBoss server hangs in state

2009-08-31 Thread Oliver Roell
This is the content of my jboss42.serverdef file: ${port} Http http Are these values correct? When I start JBoss within Eclipse, I can view the JMX Agent View in the browser with the URL http://localhost:8080/jmx-co

[jboss-user] [Installation, Configuration & Deployment] - Re: JBoss server hangs in state

2009-08-31 Thread Oliver Roell
This is another try to post the jboss42.serverdef file: | | | | | | | | ${port} | Http | http | | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4252543#4252543 Reply to the p

[jboss-user] [Installation, Configuration & Deployment] - Re: JBoss server hangs in state

2009-08-31 Thread PeterJ
That looks like the correct settings IF you did not change the ports used by JBoss AS AND you did not use the -b option to bind JBoss AS to a different IP address. The next thing to look at is the host file (it is in c:/windows/system32/drivers/etc). Most likely, that is not set up correctly.

[jboss-user] [Installation, Configuration & Deployment] - Re: JBoss server hangs in state

2009-08-31 Thread Oliver Roell
Peter, this is my hosts-file. It is identical with yours: 127.0.0.1 localhost There are seven spaces between 127.0.0.1 and localhost. You wrote: "IF you did not change the ports used by JBoss AS AND you did not use the -b option to bind JBoss AS to a different IP address." How can I chec

[jboss-user] [Installation, Configuration & Deployment] - Re: JBoss server hangs in state

2009-08-31 Thread PeterJ
The easiest way to determine which ports JBoss AS is using is to run "nestat -ab" on the command line. Or get TCPView form SysInternals. One more thought. Run this from a command line: telnet localhost 1099 The page will refresh and you will get some garbage back. Post the garbage. View the or

[jboss-user] [Installation, Configuration & Deployment] - Re: JBoss server hangs in state

2009-09-01 Thread Oliver Roell
I have installed JBoss 4.0.2 and it works. I can start JBoss 4.0.2 from Eclipse, and Eclipse recognizes that JBoss 4.0.2 has started. The starting-problem occurs only with JBoss 4.2.3. This is the output from netstat -ab after JBoss 4.0.2 has started: | TCProell:1098 roell.

[jboss-user] [Installation, Configuration & Deployment] - Re: JBoss server hangs in state

2009-09-01 Thread Oliver Roell
I have tested it on another PC with JBoss 4.2.3 and it works. Eclipse recognizes on the other PC that JBoss has started. Only my PC and my Eclipse is too stupid for this. This is my output from netstat -ab after JBoss 4.0.2 has started: | TCProell:1099 localhost:1137

[jboss-user] [Installation, Configuration & Deployment] - Re: JBoss server hangs in state

2009-09-01 Thread PeterJ
Your are using XP, is the other PC also using XP? I ask because the netstat output appears to be coming out in a different order (the bound ports are in the third column instead of the second column, like on your PC). It appears you ran netstat on your PC with 4.2.3 twice and got two different

[jboss-user] [Installation, Configuration & Deployment] - Re: JBoss server hangs in state

2009-09-02 Thread Oliver Roell
Both PCs running with XP Service Pack 3. Yes, when I run netstat on my PC with 4.2.3 twice I got different outputs. The ports 1098, 1099, 3873, , 4445, 4446, 8009, 8080, 8083 and 8093 are always the same, but three ports change: 1153, 1154, 1157 at the first call 1158, 1159, 1162 at the secon

[jboss-user] [Installation, Configuration & Deployment] - Re: JBoss server hangs in state

2009-09-02 Thread PeterJ
The changing ports are not a problem - some ports are dynamically assigned. See this for a list of key ports: http://www.jboss.org/community/wiki/UsingJBossBehindAFirewall The telnet syntax is "telnet [hostname] [port]", not [username]. The [hostname]s I suggested were based on the netstat outpu

[jboss-user] [Installation, Configuration & Deployment] - Re: JBoss server hangs in state

2009-09-03 Thread PeterJ
What your are looking for in the telnet response is the hostname or IP address that comes right after "UnicastRef". In the first case that was 127.0.0.1 and in the second 172.23.10.109. The client, when it gets a response from the JNDI server, uses this hostname/IP address for all future communi

[jboss-user] [Installation, Configuration & Deployment] - Re: JBoss server hangs in state

2009-09-04 Thread Oliver Roell
I have tested it with JBoss 5.0.1 and JBoss 5.1.0. The same behavior occurs. I have even tested it with Eclipse 3.5, JBoss 5.1.0 and JBoss Tools 3.1.0. The same behavior still occurs. Either I must live with this error or I change the PC. Something with my network settings seems to be botched.

[jboss-user] [Installation, Configuration & Deployment] - Re: JBoss server hangs in state started

2009-09-03 Thread Oliver Roell
Our SysAdmin is back from holiday and has changed my TCP/IP-settings. Eclipse still not recognizes that JBoss 4.2.3 has started, but "telnet localhost 1099" works now: | ¼Ýsr?java.rmi.MarshalledObject|¢?ùÝc³>??I?hashlocBytest?[BobjBytesq~?xp+Åä-ur?[B | ?°TÓ?xp