Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-3447

missing auth bundle when starting fuse on windows

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor Minor
    • jboss-fuse-6.2.1
    • jboss-fuse-6.2
    • Karaf
    • % %

      When running fuse on UNIX, there is follogin entry in log:

      9:58:53,016 | INFO  | 0.redhat-129/etc | fileinstall                      | 8 - org.apache.felix.fileinstall - 3.4.2 | Started bundle: wrap:jardir:/home/jludvice/apps/fuse/jboss-fuse-6.2.0.redhat-129/etc/auth$Bundle-SymbolicName=auth&Bundle-Version=0.0.0
      

      and auth bundle in osgi:list

      ...
      [ 263] [Active     ] [            ] [       ] [   80] jsr311-api (1.1.1)
      [ 264] [Active     ] [            ] [       ] [   80] auth (0.0.0)
      

      But when fuse is started on windows (cmd -> fuse.bat), there is error in log

      00:52:09,373 | ERROR | t-129\bin\..\etc | fileinstall                      | 8 - org.apache.felix.fileinstall - 3.4.2 | Failed to install artifact: C:\Users\Administrator\Downloads\jboss-fuse-6.2.0.redhat-129\etc\auth
      java.net.MalformedURLException: Invalid syntax for instruction [Bundle-SymbolicName=C:\Users\Administrator\Downloads\jboss-fuse]. Take a look at http://www.aqute.biz/Code/Bnd.
      	at org.ops4j.pax.swissbox.bnd.BndUtils.parseInstructions(BndUtils.java:302)[2:org.ops4j.pax.url.wrap:2.4.0]
      	at org.ops4j.pax.url.wrap.internal.Parser.<init>(Parser.java:116)[2:org.ops4j.pax.url.wrap:2.4.0]
      	at org.ops4j.pax.url.wrap.internal.Connection.<init>(Connection.java:67)[2:org.ops4j.pax.url.wrap:2.4.0]
      	at org.ops4j.pax.url.wrap.internal.Activator$1.createConnection(Activator.java:59)[2:org.ops4j.pax.url.wrap:2.4.0]
      	at org.ops4j.pax.url.wrap.internal.Activator$1.createConnection(Activator.java:49)[2:org.ops4j.pax.url.wrap:2.4.0]
      	at org.ops4j.pax.url.commons.handler.HandlerActivator$Handler.openConnection(HandlerActivator.java:222)[2:org.ops4j.pax.url.wrap:2.4.0]
      	at org.apache.felix.framework.URLHandlersStreamHandlerProxy.openConnection(URLHandlersStreamHandlerProxy.java:271)[org.apache.felix.framework-4.4.1.jar:]
      	at java.net.URL.openConnection(Unknown Source)[:1.8.0_45]
      	at java.net.URL.openStream(Unknown Source)[:1.8.0_45]
      	at org.apache.felix.fileinstall.internal.DirectoryWatcher.install(DirectoryWatcher.java:943)[8:org.apache.felix.fileinstall:3.4.2]
      	at org.apache.felix.fileinstall.internal.DirectoryWatcher.install(DirectoryWatcher.java:865)[8:org.apache.felix.fileinstall:3.4.2]
      	at org.apache.felix.fileinstall.internal.DirectoryWatcher.doProcess(DirectoryWatcher.java:482)[8:org.apache.felix.fileinstall:3.4.2]
      	at org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:358)[8:org.apache.felix.fileinstall:3.4.2]
      	at org.apache.felix.fileinstall.internal.DirectoryWatcher.run(DirectoryWatcher.java:310)[8:org.apache.felix.fileinstall:3.4.2]
      

      and bundle auth is missing

      ...
      [ 263] [Active     ] [            ] [       ] [   80] jsr311-api (1.1.1)
      # missing 264
      

      But it looks like RBAC (jmx and karaf shell permissions) is working properly on windows with missing auth and this error in log.

            pantinor@redhat.com Paolo Antinori
            jludvice Josef Ludvicek (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: