0 Replies Latest reply on Oct 22, 2013 7:25 AM by karthik karthik

    Caused by: java.lang.RuntimeException: Operation failed with status WAITING

    karthik karthik Newbie

      Why am i getting this Error ....  "Caused by: java.lang.RuntimeException: Operation failed with status WAITING"


      I am trying to execute the "\jboss-developer-jboss-eap-quickstarts-jdf-2.1.7.Final-0-gbbb2191\ejb-remote" code  as downloaded from JBOSS site


      Spec : Jdk 1.6

      JBOSS : 7.1 Final

      O/s win 7


      JNDI defined


      remote.connections=default

      remote.connection.default.host=127.0.0.1

      remote.connection.default.port = 4447

      remote.connectionprovider.create.options.org.xnio.Options.SSL_ENABLED=false

      remote.connection.default.connect.options.org.xnio.Options.SASL_POLICY_NOANONYMOUS=false

      remote.connection.default.username=appuser

      remote.connection.default.password=apppassword

       

       

      log4j:WARN No appenders could be found for logger (org.jboss.logging).

      log4j:WARN Please initialize the log4j system properly.

      log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.

      Exception in thread "main" 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:667)

          at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288)

          at javax.naming.InitialContext.init(InitialContext.java:223)

          at javax.naming.InitialContext.<init>(InitialContext.java:197)

          at com.ejb.client.RemoteEJBClient.lookupRemoteStatelessCalculator(RemoteEJBClient.java:142)

          at com.ejb.client.RemoteEJBClient.invokeStatelessBean(RemoteEJBClient.java:38)

          at com.ejb.client.RemoteEJBClient.main(RemoteEJBClient.java:25)

      Caused by: java.lang.RuntimeException: Operation failed with status WAITING

          at org.jboss.naming.remote.protocol.IoFutureHelper.get(IoFutureHelper.java:89)

          at org.jboss.naming.remote.client.NamingStoreCache.getRemoteNamingStore(NamingStoreCache.java:56)

          at org.jboss.naming.remote.client.InitialContextFactory.getOrCreateCachedNamingStore(InitialContextFactory.java:166)

          at org.jboss.naming.remote.client.InitialContextFactory.getOrCreateNamingStore(InitialContextFactory.java:139)

          at org.jboss.naming.remote.client.InitialContextFactory.getInitialContext(InitialContextFactory.java:104)

       

       

      with regards

      karthik