[jbosstools-issues] [JBoss JIRA] (JBIDE-13064) Remote server server log displays error

Martin Malina (JIRA) jira-events at lists.jboss.org
Thu Nov 15 08:18:21 EST 2012


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

Martin Malina commented on JBIDE-13064:
---------------------------------------

I just got a similar error again:
An internal error occurred during: "Importing Server Log".
For input string: "1515E"

The log you're asking for doesn't contain anything interesting:
{code}

!SUBENTRY 1 org.jboss.ide.eclipse.as.core 4 0 2012-11-15 14:01:33.080
!MESSAGE Error connecting to remote JMX. Please ensure your server is properly configured for JMX access.
!STACK 0
javax.naming.CommunicationException: Could not obtain connection to any of these urls: MARVIN.BRQ.REDHAT.COM:1099 and discovery failed with error: java.lang.ClassCastException: java.lang.Boolean cannot be cast to java.lang.String [Root exception is javax.naming.CommunicationException: Failed to connect to server MARVIN.BRQ.REDHAT.COM/10.34.26.31:1099 [Root exception is javax.naming.ServiceUnavailableException: Failed to connect to server MARVIN.BRQ.REDHAT.COM/10.34.26.31:1099 [Root exception is java.net.ConnectException: Connection refused]]]
	at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1828)
	at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:717)
	at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:710)
	at javax.naming.InitialContext.lookup(InitialContext.java:392)
	at org.jboss.ide.eclipse.as.jmx.integration.JBossServerConnection.createConnection(JBossServerConnection.java:168)
	at org.jboss.ide.eclipse.as.jmx.integration.JBossServerConnection.run(JBossServerConnection.java:143)
	at org.jboss.ide.eclipse.as.jmx.integration.JBossServerConnection.run(JBossServerConnection.java:127)
	at org.jboss.ide.eclipse.as.jmx.integration.JBossServerConnection.run(JBossServerConnection.java:116)
	at org.jboss.ide.eclipse.as.jmx.integration.JBossServerConnection.connectToStartedServer(JBossServerConnection.java:233)
	at org.jboss.ide.eclipse.as.jmx.integration.JBossServerConnection$1.run(JBossServerConnection.java:225)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Caused by: javax.naming.CommunicationException: Failed to connect to server MARVIN.BRQ.REDHAT.COM/10.34.26.31:1099 [Root exception is javax.naming.ServiceUnavailableException: Failed to connect to server MARVIN.BRQ.REDHAT.COM/10.34.26.31:1099 [Root exception is java.net.ConnectException: Connection refused]]
	at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:359)
	at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:284)
	at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1798)
	... 10 more
Caused by: javax.naming.ServiceUnavailableException: Failed to connect to server MARVIN.BRQ.REDHAT.COM/10.34.26.31:1099 [Root exception is java.net.ConnectException: Connection refused]
	at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:329)
	... 12 more
Caused by: java.net.ConnectException: Connection refused
	at java.net.PlainSocketImpl.socketConnect(Native Method)
	at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:351)
	at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:213)
	at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:200)
	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:432)
	at java.net.Socket.connect(Socket.java:529)
	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:325)
	... 12 more

!ENTRY org.jboss.ide.eclipse.as.core 1 16842776 2012-11-15 14:13:00.522
!MESSAGE Server shutting down

!ENTRY org.jboss.ide.eclipse.as.core 1 16842785 2012-11-15 14:13:05.263
!MESSAGE Server Shutdown Succeeded
{code}
You can see at first it failed to create the jmx connection. And then 10 minutes later when I was stopping the server I got this error but it's not even in this log.
                
> Remote server server log displays error
> ---------------------------------------
>
>                 Key: JBIDE-13064
>                 URL: https://issues.jboss.org/browse/JBIDE-13064
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: JBossAS/Servers
>    Affects Versions: 4.0.0.Beta2
>         Environment: JBDS 6.0.0.Beta2 B62
>            Reporter: Martin Malina
>            Assignee: Rob Stryker
>             Fix For: 4.0.0.CR1
>
>         Attachments: importing-server-log.png
>
>
> When you open the Server Log view while a remote EAP 5 server is started you get an error after a while:
> 'Importing Server Log' has encountered a problem.
> An internal error occured during: "Importing server log"
> An internal error occurred during: "Importing Server Log".
> For input string: ""

--
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