[jboss-jira] [JBoss JIRA] (AS7-2882) CLONE - New Management Jars do not work on previous app-server versions

Paul Gier (Created) (JIRA) jira-events at lists.jboss.org
Thu Dec 1 11:48:45 EST 2011


CLONE - New Management Jars do not work on previous app-server versions
-----------------------------------------------------------------------

                 Key: AS7-2882
                 URL: https://issues.jboss.org/browse/AS7-2882
             Project: Application Server 7
          Issue Type: Bug
          Components: Remoting
    Affects Versions: 7.1.0.Beta1
            Reporter: Paul Gier
            Assignee: Jason Greene
             Fix For: 7.1.0.Beta1


I'm not sure if this is in the correct component, however, using the new management jars in JBoss 7.1 beta1, and trying to access the management functions of as7.0.x, the result is not successful. These jars need to be tested for regressions with previous versions. 


My first test against what seems to be 7.0.0.final (built 5 days before the release, so I suspect it was a near-final build) involved the following error in the CLIENT:

Caused by: javax.security.sasl.SaslException: No more authentication mechanisms to try
	at org.jboss.remoting3.remote.ClientConnectionOpenListener$Capabilities.handleEvent(ClientConnectionOpenListener.java:301)
	at org.jboss.remoting3.remote.ClientConnectionOpenListener$Capabilities.handleEvent(ClientConnectionOpenListener.java:200)
	at org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:72)
	at org.xnio.channels.TranslatingSuspendableChannel.handleReadable(TranslatingSuspendableChannel.java:179)
	at org.xnio.channels.TranslatingSuspendableChannel$2.handleEvent(TranslatingSuspendableChannel.java:100)
	at org.xnio.channels.TranslatingSuspendableChannel$2.handleEvent(TranslatingSuspendableChannel.java:98)
	at org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:72)
	at org.xnio.nio.NioHandle.run(NioHandle.java:90)
	at org.xnio.nio.WorkerThread.run(WorkerThread.java:184)
	at ...asynchronous invocation...(Unknown Source)
	at org.jboss.remoting3.EndpointImpl.doConnect(EndpointImpl.java:263)
	at org.jboss.remoting3.EndpointImpl.doConnect(EndpointImpl.java:246)
	at org.jboss.remoting3.EndpointImpl.connect(EndpointImpl.java:353)
	at org.jboss.remoting3.EndpointImpl.connect(EndpointImpl.java:337)
	at org.jboss.as.protocol.ProtocolChannelClient.connect(ProtocolChannelClient.java:133)
	... 5 more

A try against 7.0.2 has different results:  when the server started up, the test client simply freezes, with the following stack trace:

Object.wait(long) line: not available [native method]	
ManagementRequest$ManagementFuture<T>(Object).wait() line: 485	
ManagementRequest$ManagementFuture<T>(AsyncFutureTask<T>).await() line: 192	
ManagementRequest$ManagementFuture<T>(AsyncFutureTask<T>).get() line: 266	
AbstractModelControllerClient$ExecuteRequest(ManagementRequest<T>).executeForResult(ExecutorService, ManagementClientChannelStrategy) line: 131	
RemotingModelControllerClient(AbstractModelControllerClient).executeSynch(ModelNode, OperationAttachments, OperationMessageHandler) line: 128	
RemotingModelControllerClient(AbstractModelControllerClient).execute(ModelNode, OperationMessageHandler) line: 93	
RemotingModelControllerClient(AbstractModelControllerClient).execute(ModelNode) line: 83	
TestClient.performOneCheck(ModelControllerClient) line: 201	

No result is ever found. 

The exception on the server when performing this test client is as follows:

17:55:57,187 ERROR [org.xnio.listener] (XNIO NIO Read 1) A channel event listener threw an exception: java.lang.IllegalStateException: Unsupported Callback 'ANONYMOUSanonymous'
        at org.jboss.as.remoting.RealmAuthenticationProvider.getCallbackHandler(RealmAuthenticationProvider.java:132)
        at org.jboss.remoting3.remote.ServerConnectionOpenListener$Initial.handleEvent(ServerConnectionOpenListener.java:235)
        at org.jboss.remoting3.remote.ServerConnectionOpenListener$Initial.handleEvent(ServerConnectionOpenListener.java:107)
        at org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:71)
        at org.xnio.channels.TranslatingSuspendableChannel.handleReadable(TranslatingSuspendableChannel.java:173)
        at org.xnio.channels.TranslatingSuspendableChannel$2.handleEvent(TranslatingSuspendableChannel.java:94)
        at org.xnio.channels.TranslatingSuspendableChannel$2.handleEvent(TranslatingSuspendableChannel.java:92)
        at org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:71)
        at org.xnio.nio.NioHandle.invoke(NioHandle.java:77)
        at org.xnio.nio.AbstractNioChannelThread$1.run(AbstractNioChannelThread.java:142)
        at java.lang.Thread.run(Thread.java:662) [:1.6.0_24]

The test client's logic will be attached momentarily

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list