[jbosstools-issues] [JBoss JIRA] (JBIDE-12913) Startup/Shutdown Pollers fails with EAP511

Rob Stryker (JIRA) jira-events at lists.jboss.org
Tue Jan 29 08:54:47 EST 2013


    [ https://issues.jboss.org/browse/JBIDE-12913?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12751028#comment-12751028 ] 

Rob Stryker commented on JBIDE-12913:
-------------------------------------

Ok, the screenshot is a little small, but I know that screenshot. 

That screenshot is not a failure. That screenshot means you have a jboss process already running in the background on teh ports you are attempting to run the new version on. 

You should check your running process list and terminate the already-running jboss or tomcat instance (anything using port 8080). 

This is not a bug. This is an intended feature. 

How you ended up with such a process, I cannot know. I do know that I've just started the app server 5 or 6 times with various changes to configuration, and I have experienced no errors. 

JMX is still a valid poller. So is web port poller. Both are still valid pollers and I've not experienced any evidence that either are failing. 

I'm going to re-close this as resolved. 
                
> Startup/Shutdown Pollers fails with EAP511
> ------------------------------------------
>
>                 Key: JBIDE-12913
>                 URL: https://issues.jboss.org/browse/JBIDE-12913
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: JBossAS/Servers
>    Affects Versions: 4.0.0.Alpha2
>         Environment: Windows XP
>            Reporter: Jesper Skov
>            Assignee: Rob Stryker
>             Fix For: 4.0.0.Beta2
>
>         Attachments: server-startup-poller-problem.png
>
>
> When we use Web Port Startup Poller with EAP511, the server is not started.
> We get an error about the port (8080) already being in use. Which it is not (confirmed with netstat).
> When changing Startup Poller to JMX, the server starts as expected.
> When using the JMX Shutdown Poller, it also fails. This time with failed attempts to access the JMX server after the server has shut down:
> Exception in thread "main" javax.naming.CommunicationException: Could not obtain connection to any of these urls: 0.0.0.0:1099 [Root exception is javax.naming.CommunicationException: Failed to connect to server /0.0.0.0:1099 [Root exception is javax.naming.ServiceUnavailableException: Failed to connect to server /0.0.0.0:1099 [Root exception is java.net.ConnectException: Connection refused: connect]]]
>     at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1763)
>     at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:693)
>     at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:686)
>     at javax.naming.InitialContext.lookup(Unknown Source)
>     at org.jboss.Shutdown.main(Shutdown.java:219)
> Caused by: javax.naming.CommunicationException: Failed to connect to server /0.0.0.0:1099 [Root exception is javax.naming.ServiceUnavailableException: Failed to connect to server /0.0.0.0:1099 [Root exception is java.net.ConnectException: Connection refused: connect]]
>     at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:335)
>     at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1734)
>     ... 4 more
> Caused by: javax.naming.ServiceUnavailableException: Failed to connect to server /0.0.0.0:1099 [Root exception is java.net.ConnectException: Connection refused: connect]
>     at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:305)
>     ... 5 more
> Caused by: java.net.ConnectException: Connection refused: connect
>     at java.net.PlainSocketImpl.socketConnect(Native Method)
>     at java.net.PlainSocketImpl.doConnect(Unknown Source)
>     at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
>     at java.net.PlainSocketImpl.connect(Unknown Source)
>     at java.net.SocksSocketImpl.connect(Unknown Source)
>     at java.net.Socket.connect(Unknown Source)
>     at org.jnp.interfaces.TimedSocketFactory.createSocket(TimedSocketFactory.java:97)
>     at org.jnp.interfaces.TimedSocketFactory.createSocket(TimedSocketFactory.java:82)
>     at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:301)
>     ... 5 more
> Using Process Terminated Poller works as expected though.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jbosstools-issues mailing list