6 Replies Latest reply on Feb 10, 2016 6:49 AM by Grzegorz Grzybek

    First ever fabric:create for Fuse on Windows 7

    Mark Hanlon Newbie

      Hey Everyone,

       

      First post, hope someone can help. I'm having trouble getting fabric:create to work on a windows 7 box.

       

      I've installed jboss-fuse-6.2.1.redhat-084 Fuse on a windows 7 box.

      I've been following the instructions on https://www.jboss.org/products/fuse/get-started/. Everything works until I do a fabric:create.

       

      I'm logged in as admin (The shell says JBossFuse:admin@root ) when I do a fabric:create I receive the following

      Error executing command: Cannot obtain service: io.fabric8.api.FabricComplete

       

      I have also tried

      fabric:create --resolver manualip --manual-ip 127.0.0.1 --wait-for-provisioning

      And still receive

      Error executing command: Cannot obtain service: io.fabric8.api.FabricComplete

       

      Is there anything I need to be aware of that not in the instructions? Does fuse download extra stuff, does it need network access or firewall ports open?

       

      Here's what's in fuse.log

      11:59:06,974 | INFO  | ry:/0.0.0.0:2181 | ZooKeeperServer                  | 145 - io.fabric8.fabric-zookeeper - 1.2.0.redhat-621084 | auth success /127.0.0.1:60482

      11:59:07,067 | INFO  | sid:0 cport:-1): | PrepRequestProcessor             | 145 - io.fabric8.fabric-zookeeper - 1.2.0.redhat-621084 | Got user-level KeeperException when processing sessionid:0x15278a6da230000 type:create cxid:0x2 zxid:0x2 txntype:-1 reqpath:n/a Error Path:/fabric/registry/containers/provision/root/extender/blueprint/bundle Error:KeeperErrorCode = NoNode for /fabric/registry/containers/provision/root/extender/blueprint/bundle

      11:59:07,099 | INFO  | sid:0 cport:-1): | PrepRequestProcessor             | 145 - io.fabric8.fabric-zookeeper - 1.2.0.redhat-621084 | Got user-level KeeperException when processing sessionid:0x15278a6da230000 type:create cxid:0x6 zxid:0x4 txntype:-1 reqpath:n/a Error Path:/fabric Error:KeeperErrorCode = NodeExists for /fabric

      11:59:07,099 | INFO  | MCF-1-thread-1   | GitDataStoreImpl                 | 140 - io.fabric8.fabric-git - 1.2.0.redhat-621084 | Starting up GitDataStore io.fabric8.git.internal.GitDataStoreImpl@41dd177f

      11:59:07,130 | INFO  | sid:0 cport:-1): | PrepRequestProcessor             | 145 - io.fabric8.fabric-zookeeper - 1.2.0.redhat-621084 | Got user-level KeeperException when processing sessionid:0x15278a6da230000 type:create cxid:0xc zxid:0x6 txntype:-1 reqpath:n/a Error Path:/fabric/registry Error:KeeperErrorCode = NodeExists for /fabric/registry

      11:59:09,064 | INFO  | MCF-1-thread-1   | CuratorFrameworkImpl             | 145 - io.fabric8.fabric-zookeeper - 1.2.0.redhat-621084 | Starting

      11:59:09,064 | INFO  | MCF-1-thread-1   | ZooKeeper                        | 145 - io.fabric8.fabric-zookeeper - 1.2.0.redhat-621084 | Initiating client connection, connectString=127.0.0.1:2181 sessionTimeout=60000 watcher=org.apache.curator.ConnectionState@38be19bd

      11:59:09,064 | INFO  | (127.0.0.1:2181) | ClientCnxn                       | 145 - io.fabric8.fabric-zookeeper - 1.2.0.redhat-621084 | Opening socket connection to server 127.0.0.1/127.0.0.1:2181

      11:59:09,064 | INFO  | ry:/0.0.0.0:2181 | NIOServerCnxnFactory             | 145 - io.fabric8.fabric-zookeeper - 1.2.0.redhat-621084 | Accepted socket connection from /127.0.0.1:60485

      11:59:09,064 | INFO  | (127.0.0.1:2181) | ClientCnxn                       | 145 - io.fabric8.fabric-zookeeper - 1.2.0.redhat-621084 | Socket connection established to 127.0.0.1/127.0.0.1:2181, initiating session

      11:59:09,064 | INFO  | ry:/0.0.0.0:2181 | ZooKeeperServer                  | 145 - io.fabric8.fabric-zookeeper - 1.2.0.redhat-621084 | Client attempting to establish new session at /127.0.0.1:60485

      11:59:09,111 | INFO  | SyncThread:0     | ZooKeeperServer                  | 145 - io.fabric8.fabric-zookeeper - 1.2.0.redhat-621084 | Established session 0x15278a6da230001 with negotiated timeout 40000 for client /127.0.0.1:60485

      11:59:09,111 | INFO  | (127.0.0.1:2181) | ClientCnxn                       | 145 - io.fabric8.fabric-zookeeper - 1.2.0.redhat-621084 | Session establishment complete on server 127.0.0.1/127.0.0.1:2181, sessionid = 0x15278a6da230001, negotiated timeout = 40000

      11:59:09,111 | INFO  | ry:/0.0.0.0:2181 | ZooKeeperServer                  | 145 - io.fabric8.fabric-zookeeper - 1.2.0.redhat-621084 | got auth packet /127.0.0.1:60485

      11:59:09,111 | INFO  | ry:/0.0.0.0:2181 | ZooKeeperServer                  | 145 - io.fabric8.fabric-zookeeper - 1.2.0.redhat-621084 | auth success /127.0.0.1:60485

      11:59:09,111 | INFO  | ad-1-EventThread | ConnectionStateManager           | 145 - io.fabric8.fabric-zookeeper - 1.2.0.redhat-621084 | State change: CONNECTED

      11:59:09,111 | INFO  | ry:/0.0.0.0:2181 | ZooKeeperServer                  | 145 - io.fabric8.fabric-zookeeper - 1.2.0.redhat-621084 | got auth packet /127.0.0.1:60485

      11:59:09,111 | INFO  | ry:/0.0.0.0:2181 | ZooKeeperServer                  | 145 - io.fabric8.fabric-zookeeper - 1.2.0.redhat-621084 | auth success /127.0.0.1:60485

      11:59:09,267 | INFO  | sid:0 cport:-1): | PrepRequestProcessor             | 145 - io.fabric8.fabric-zookeeper - 1.2.0.redhat-621084 | Got user-level KeeperException when processing sessionid:0x15278a6da230000 type:create cxid:0x9b zxid:0x59 txntype:-1 reqpath:n/a Error Path:/fabric/configs/versions Error:KeeperErrorCode = NoNode for /fabric/configs/versions

      11:59:09,454 | INFO  | MCF-1-thread-1   | GitDataStoreImpl                 | 140 - io.fabric8.fabric-git - 1.2.0.redhat-621084 | Importing C:\servers\jboss-fuse-6.2.1.redhat-084\fabric\import\fabric as version 1.0

      12:01:06,769 | ERROR | Thread-53        | Console                          | 38 - org.apache.karaf.shell.console - 2.4.0.redhat-621084 | Exception caught while executing command

      java.lang.IllegalStateException: Cannot obtain service: io.fabric8.api.FabricComplete

        at io.fabric8.api.gravia.ServiceLocator.awaitService(ServiceLocator.java:139)

        at io.fabric8.api.gravia.ServiceLocator.awaitService(ServiceLocator.java:106)

        at io.fabric8.internal.ZooKeeperClusterBootstrapImpl.create(ZooKeeperClusterBootstrapImpl.java:138)

        at io.fabric8.boot.commands.CreateAction.doExecute(CreateAction.java:308)

        at org.apache.karaf.shell.console.AbstractAction.execute(AbstractAction.java:33)

        at org.apache.felix.gogo.commands.basic.AbstractCommand.execute(AbstractCommand.java:35)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[:1.7.0_79]

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)[:1.7.0_79]

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[:1.7.0_79]

        at java.lang.reflect.Method.invoke(Method.java:606)[:1.7.0_79]

        at org.apache.aries.proxy.impl.ProxyHandler$1.invoke(ProxyHandler.java:54)

        at org.apache.aries.proxy.impl.ProxyHandler.invoke(ProxyHandler.java:119)

        at io.fabric8.boot.commands.$CreateCommand36905700.execute(Unknown Source)

        at org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java:78)[38:org.apache.karaf.shell.console:2.4.0.redhat-621084]

        at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:477)[38:org.apache.karaf.shell.console:2.4.0.redhat-621084]

        at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:403)[38:org.apache.karaf.shell.console:2.4.0.redhat-621084]

        at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)[38:org.apache.karaf.shell.console:2.4.0.redhat-621084]

        at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:183)[38:org.apache.karaf.shell.console:2.4.0.redhat-621084]

        at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:120)[38:org.apache.karaf.shell.console:2.4.0.redhat-621084]

        at org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:92)

        at org.apache.karaf.shell.console.jline.Console.run(Console.java:197)

        at org.apache.karaf.shell.ssh.ShellFactoryImpl$ShellImpl$1.runConsole(ShellFactoryImpl.java:173)[122:org.apache.karaf.shell.ssh:2.4.0.redhat-621084]

        at org.apache.karaf.shell.ssh.ShellFactoryImpl$ShellImpl$1$1.run(ShellFactoryImpl.java:125)

        at java.security.AccessController.doPrivileged(Native Method)[:1.7.0_79]

        at org.apache.karaf.jaas.modules.JaasHelper.doAs(JaasHelper.java:47)[25:org.apache.karaf.jaas.modules:2.4.0.redhat-621084]

        at org.apache.karaf.shell.ssh.ShellFactoryImpl$ShellImpl$1.run(ShellFactoryImpl.java:123)[122:org.apache.karaf.shell.ssh:2.4.0.redhat-621084]