2 Replies Latest reply on Apr 25, 2014 10:36 AM by Paul Benedict

    Error starting WFLY8 server in Eclipse Kepler

    Paul Benedict Newbie

      I am using:

      Kepler Service Release 2 / Build id: 20140224-0627

      BossAS Tools / Version: 2.4.101.Final-v20140318-1509-B179

       

      When I start the WildFly 8.0/8.1 server, this error immediately (no delay) happens. I can't workaround it. How to resolve it?

       

      Dialog box:

      An internal error occurred during: "Starting WildFly 8.0 Runtime Server".

      org.xnio.XnioProvider: Provider org.xnio.nio.NioXnioProvider could not be instantiated: java.lang.NoClassDefFoundError: Could not initialize class org.xnio.nio.NioXnioProvider

      And stack trace from the Eclipse log:

      java.util.ServiceConfigurationError: org.xnio.XnioProvider: Provider org.xnio.nio.NioXnioProvider could not be instantiated: java.lang.NoClassDefFoundError: Could not initialize class org.xnio.nio.NioXnioProvider

          at java.util.ServiceLoader.fail(ServiceLoader.java:224)

          at java.util.ServiceLoader.access$100(ServiceLoader.java:181)

          at java.util.ServiceLoader$LazyIterator.next(ServiceLoader.java:377)

          at java.util.ServiceLoader$1.next(ServiceLoader.java:445)

          at org.xnio.Xnio.doGetInstance(Xnio.java:199)

          at org.xnio.Xnio.getInstance(Xnio.java:158)

          at org.jboss.remoting3.Remoting.createEndpoint(Remoting.java:73)

          at org.jboss.as.controller.client.impl.RemotingModelControllerClient.getOrCreateChannel(RemotingModelControllerClient.java:124)

          at org.jboss.as.controller.client.impl.RemotingModelControllerClient$1.getChannel(RemotingModelControllerClient.java:67)

          at org.jboss.as.protocol.mgmt.ManagementChannelHandler.executeRequest(ManagementChannelHandler.java:115)

          at org.jboss.as.protocol.mgmt.ManagementChannelHandler.executeRequest(ManagementChannelHandler.java:90)

          at org.jboss.as.controller.client.impl.AbstractModelControllerClient.executeRequest(AbstractModelControllerClient.java:236)

          at org.jboss.as.controller.client.impl.AbstractModelControllerClient.execute(AbstractModelControllerClient.java:141)

          at org.jboss.as.controller.client.impl.AbstractModelControllerClient.executeForResult(AbstractModelControllerClient.java:127)

          at org.jboss.as.controller.client.impl.AbstractModelControllerClient.execute(AbstractModelControllerClient.java:71)

          at org.jboss.ide.eclipse.as.internal.management.wildfly8.Wildfly8Manager.execute(Wildfly8Manager.java:316)

          at org.jboss.ide.eclipse.as.internal.management.wildfly8.Wildfly8Manager.getServerState(Wildfly8Manager.java:257)

          at org.jboss.ide.eclipse.as.internal.management.wildfly8.Wildfly8ManagerService.getServerState(Wildfly8ManagerService.java:142)

          at org.jboss.ide.eclipse.as.management.core.JBoss7ManagerServiceProxy.getServerState(JBoss7ManagerServiceProxy.java:71)

          at org.jboss.ide.eclipse.as.core.server.internal.v7.JBoss7ManagerServicePoller$3.execute(JBoss7ManagerServicePoller.java:255)

          at org.jboss.ide.eclipse.as.core.server.internal.v7.JBoss7ManagerServicePoller$3.execute(JBoss7ManagerServicePoller.java:1)

          at org.jboss.ide.eclipse.as.management.core.JBoss7ManagerUtil.executeWithService(JBoss7ManagerUtil.java:74)

          at org.jboss.ide.eclipse.as.core.server.internal.v7.JBoss7ManagerServicePoller.getCurrentStateSynchronous(JBoss7ManagerServicePoller.java:251)

          at org.jboss.ide.eclipse.as.core.util.PollThreadUtils.isServerStarted(PollThreadUtils.java:218)

          at org.jboss.ide.eclipse.as.core.util.PollThreadUtils.isServerStarted(PollThreadUtils.java:205)

          at org.jboss.ide.eclipse.as.core.server.internal.launch.AbstractJBossStartLaunchConfiguration.isServerStarted(AbstractJBossStartLaunchConfiguration.java:116)

          at org.jboss.ide.eclipse.as.core.server.internal.launch.AbstractJBossStartLaunchConfiguration.preLaunchCheck(AbstractJBossStartLaunchConfiguration.java:99)

          at org.jboss.ide.eclipse.as.core.server.internal.v7.LocalJBoss7StartLaunchDelegate.preLaunchCheck(LocalJBoss7StartLaunchDelegate.java:39)

          at org.jboss.ide.eclipse.as.core.server.internal.launch.DelegatingStartLaunchConfiguration.preLaunchCheck(DelegatingStartLaunchConfiguration.java:67)

          at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:813)

          at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:707)

          at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:700)

          at org.eclipse.wst.server.core.internal.Server.startImpl2(Server.java:3538)

          at org.eclipse.wst.server.core.internal.Server.startImpl(Server.java:3474)

          at org.eclipse.wst.server.core.internal.Server$StartJob.run(Server.java:367)

          at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)

      Caused by: java.lang.NoClassDefFoundError: Could not initialize class org.xnio.nio.NioXnioProvider

          at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

          at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)

          at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)

          at java.lang.reflect.Constructor.newInstance(Constructor.java:526)

          at java.lang.Class.newInstance(Class.java:374)

          at java.util.ServiceLoader$LazyIterator.next(ServiceLoader.java:373)

          ... 33 more