4 Replies Latest reply on Apr 25, 2013 3:37 PM by Navdeep Sethi

    After changing the context path, felix console, I can not checkout content via vlt.

    Kaishaku_Nin Level 1

      Hi everyone,

       

      I have the following issue. After changing the context path, via felix console, I can not checkout the content via vlt. Before that, I could checkout without any problems.

       

      I am using CQ5.5, CRX2.3, context path: /Test

       

      That is what I am trying:

       

      vlt -v --credentials admin:admin co http://localhost:23310/Test/server/crx.default

       

      Connecting via JCR remoting to http://localhost:23310/Test/server

      [WARN ] Authentication required to access repository descriptors

      [ERROR] checkout: com.day.jcr.vault.vlt.VltException: Unable to mount filesystem

      caused by: javax.jcr.ItemNotFoundException: Not Found

      caused by: org.apache.jackrabbit.webdav.DavException: Not Found

       

      Other versions I tried:

       

      vlt -v --credentials admin:admin co http://localhost:23310/crx

      vlt --credentials admin:admin co http://localhost:23310/Test/server

      vlt --credentials admin:admin co http://localhost:23310/Test

      vlt --credentials admin:admin co http://localhost:23310/Test/crx

       

      To verify if I could connect to the instance properly I started CRXDE

      and try to connect to "http://localhost:23310/Test"

       

      After click the ok button I got that error:

      No file system is defined for scheme: jcr

       

      Part of the .log file (.crxde):

      eclipse.buildId=unknown

      java.version=1.6.0_37

      java.vendor=Apple Inc.

      BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=de_DE

      Framework arguments:  -keyring /Users/peterwimsey/.eclipse_keyring -showlocation

      Command-line arguments:  -os macosx -ws cocoa -arch x86_64 -keyring /Users/peterwimsey/.eclipse_keyr

      ing -showlocation

       

      !ENTRY org.eclipse.core.resources 2 10035 2012-11-25 19:01:19.268

      !MESSAGE The workspace exited with unsaved changes in the previous session; refreshing workspace to

      recover changes.

       

      !ENTRY org.eclipse.osgi 4 0 2012-11-25 19:04:14.363

      !MESSAGE Application error

      !STACK 1

      java.lang.reflect.InvocationTargetException

              at org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:121)

              at com.day.cq.ide.CQDEApplication.start(CQDEApplication.java:62)

              at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)

              at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLau

      ncher.java:110)

              at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.jav

      a:79)

              at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:368)

              at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)

              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

              at java.lang.reflect.Method.invoke(Method.java:597)

              at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)

              at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)

              at org.eclipse.equinox.launcher.Main.run(Main.java:1311)

      Caused by: org.eclipse.core.runtime.CoreException: No file system is defined for scheme: jcr

              at org.eclipse.core.internal.filesystem.Policy.error(Policy.java:55)

              at org.eclipse.core.internal.filesystem.Policy.error(Policy.java:50)

              at org.eclipse.core.internal.filesystem.InternalFileSystemCore.getFileSystem(InternalFileSys temCore.java:65)

              at org.eclipse.core.internal.filesystem.InternalFileSystemCore.getStore(InternalFileSystemCo re.java:107)

              at org.eclipse.core.filesystem.EFS.getStore(EFS.java:350)

              at com.day.cq.ide.fs.JCRFileSystemPlugin.registerExtensions(JCRFileSystemPlugin.java:100)

              at com.day.cq.ide.init.SetupWorkspaceOperation.initWorkspace(SetupWorkspaceOperation.java:16 6)

       

      Any tips or hints are welcome.

       

      In the case you need more information, just leave a note.

       

      Thanks in advance for your help.

       

       

      Best regards,

      Peter

        • 3. Re: After changing the context path, felix console, I can not checkout content via vlt.
          Kaishaku_Nin Level 1

          Hello Sham,

           

          thanks a lot for your help.

           

          Now it is working.

           

          Best regards,

          Peter

          • 4. Re: After changing the context path, felix console, I can not checkout content via vlt.
            Navdeep Sethi Level 1

            The VLT works fine with the above URL change but How to fix "CRXDE" Initialization error if a context path is defined?

             

            I have a context path defined /Test and when I am trying to login to CRXDE with URL as http://localhost:4502/Test, I am getting below Initialization Error.

             

            Any workaround as Which URL should work while logging to repository (with context path) using CRXDE 1.0.1

             

            eclipse.buildId=unknown java.version=1.6.0_06 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US Command-line arguments:  -os win32 -ws win32 -arch x86 !ENTRY org.eclipse.osgi 4 0 2013-04-25 17:50:23.802 !MESSAGE Application error !STACK 1 java.lang.reflect.InvocationTargetException at org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:121) at com.day.cq.ide.CQDEApplication.start(CQDEApplication.java:62) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLau ncher.java:110) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.jav a:79) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:368) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514) at org.eclipse.equinox.launcher.Main.run(Main.java:1311)

             

            Caused by: org.eclipse.core.runtime.CoreException: No file system is defined for scheme: jcr

             

            at org.eclipse.core.internal.filesystem.Policy.error(Policy.java:55) at org.eclipse.core.internal.filesystem.Policy.error(Policy.java:50) at org.eclipse.core.internal.filesystem.InternalFileSystemCore.getFileSystem(InternalFileSys temCore.java:65) at org.eclipse.core.internal.filesystem.InternalFileSystemCore.getStore(InternalFileSystemCo re.java:107) at org.eclipse.core.filesystem.EFS.getStore(EFS.java:350) at com.day.cq.ide.fs.JCRFileSystemPlugin.registerExtensions(JCRFileSystemPlugin.java:100) at com.day.cq.ide.init.SetupWorkspaceOperation.initWorkspace(SetupWorkspaceOperation.java:16 6) at com.day.cq.ide.init.SetupWorkspaceOperation.execute(SetupWorkspaceOperation.java:119) at org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(WorkspaceModifyOperation.java:106) at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1800) at org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:118) ... 13 more Root exception:

             

            Thanks.