0 Replies Latest reply on Jun 17, 2016 9:06 AM by pavluchenko

    Operation failed with status WAITING

    pavluchenko

      Hay, guys!
      I have a constant problem with connect to JBoss JMX, and I didn.t search any result for this issue.
      Maybe is problem in standalone.xml? I attach it: https://yadi.sk/d/koAegc2dsaHCQ

      In my IDE I see this log file:

       

      Cannot resolve reference to bean 'configManager' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException:
      Error creating bean with name 'configManager': Invocation of init method failed; nested exception is javax.naming.NamingException:
      Failed to create remoting connection [Root exception is java.lang.RuntimeException: Operation failed with status WAITING]
          at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.postProcessPropertyValues(CommonAnnotationBeanPostProcessor.java:308)
          at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1186)
          at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:537)
          at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:475)
          at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:302)
          at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:229)
          at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:298)
      
      

       

      Caused by: javax.naming.NamingException: Failed to create remoting connection [Root exception is java.lang.RuntimeException: Operation failed with status WAITING]
          at org.jboss.naming.remote.client.ClientUtil.namingException(ClientUtil.java:36)
          at org.jboss.naming.remote.client.InitialContextFactory.getInitialContext(InitialContextFactory.java:121)
          at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:684)
          at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:313)
          at javax.naming.InitialContext.init(InitialContext.java:244)
          at javax.naming.InitialContext.<init>(InitialContext.java:216)
          at org.springframework.jndi.JndiTemplate.createInitialContext(JndiTemplate.java:136)
          at org.springframework.jndi.JndiTemplate.getContext(JndiTemplate.java:103)
      
      

       

      But in serve log file I don't have useful info, only something like this:

       

      16:09:46,330 INFO  [org.jboss.as.naming] (Remoting "prod-jboss-ws-1" task-4) JBAS011806: Channel end notification received, closing channel Channel ID 353b2878 (inbound) of Remoting connection 7f445270 to null
      16:12:16,861 INFO  [org.jboss.as.naming] (Remoting "prod-jboss-ws-1" task-1) JBAS011806: Channel end notification received, closing channel Channel ID 01d0e554 (inbound) of Remoting connection 548b1385 to null
      16:12:18,553 INFO  [org.jboss.as.naming] (Remoting "prod-jboss-ws-1" task-1) JBAS011806: Channel end notification received, closing channel Channel ID 11534d5a (inbound) of Remoting connection 557970fd to null
      16:12:18,959 INFO  [org.jboss.as.naming] (Remoting "prod-jboss-ws-1" task-1) JBAS011806: Channel end notification received, closing channel Channel ID 5eda2124 (inbound) of Remoting connection 654fb197 to null
      16:12:19,295 INFO  [org.jboss.as.naming] (Remoting "prod-jboss-ws-1" task-4) JBAS011806: Channel end notification received, closing channel Channel ID 6daae8f2 (inbound) of Remoting connection 3b6776c8 to null
      16:13:45,748 INFO  [org.jboss.as.naming] (Remoting "prod-jboss-ws-1" task-1) JBAS011806: Channel end notification received, closing channel Channel ID 3b562d89 (inbound) of Remoting connection 4ec5353c to null
      
      

       

      "Remoting "prod-jboss-ws-1" task-4" prio=10 tid=0x00007f8740100000 nid=0x65d0 waiting on condition [0x00007f87c9c96000]
        java.lang.Thread.State: WAITING (parking)
              at sun.misc.Unsafe.park(Native Method)
              - parking to wait for  <0x000000068a7ca258> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
              at java.util.concurrent.locks.LockSupport.park(LockSupport.java:186)
              at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2043)
              at java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:442)
              at org.xnio.LimitedBlockingQueue.take(LimitedBlockingQueue.java:95)
              at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1068)
              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
              at java.lang.Thread.run(Thread.java:724)