2 Replies Latest reply on Sep 17, 2013 3:07 PM by Aykut Yararbas

    Not able to access repository using Repository object from a client

    Aykut Yararbas Newbie

      Hi,this is in continuation to the original question I posted at: https://community.jboss.org/thread/232259

      I have been trying to post a new comment in the discussion but due to jive issues in posting/adding any content on that discussion I had to make another account to ask it.

       

      I am stuck at a point to understand how to use Modeshape via client. From the documentation I see that we can access a repository using JNDI. I was successfully able to get it working locally from application within the server but not remotely(having modeshape installed in eap server and accessing it from a client). Can we in any way access a Modeshape repository like Jackrabbit providing a URI object like "http://localhost:port_no/" from a client to get the Repository object using Repository Factory to play with workspaces in repository? Or any other way to access the repository remotely from a client other than REST based approach.


      Thanks and regards,

        • 1. Re: Not able to access repository using Repository object from a client
          Randall Hauch Master

          Hi,this is in continuation to the original question I posted at: https://community.jboss.org/thread/232259

          I have been trying to post a new comment in the discussion but due to jive issues in posting/adding any content on that discussion I had to make another account to ask it.

          This has been extremely frustrating for all of us. I almost never get notifications of activity, so we're trying to manually check these as often as we can. I've tried to escalate this in our operations team, but in the mean time all I can do is ask for your patience (and try and keep mine).

           

          I am stuck at a point to understand how to use Modeshape via client. From the documentation I see that we can access a repository using JNDI. I was successfully able to get it working locally from application within the server but not remotely(having modeshape installed in eap server and accessing it from a client). Can we in any way access a Modeshape repository like Jackrabbit providing a URI object like "http://localhost:port_no/" from a client to get the Repository object using Repository Factory to play with workspaces in repository? Or any other way to access the repository remotely from a client other than REST based approach.

          No, ModeShape does not currently provide a way of using the JCR API on a client that talks to the real repository running on a server. We do have this on our roadmap (see MODE-1459).

          • 2. Re: Not able to access repository using Repository object from a client
            Aykut Yararbas Newbie

            Thanks Randall. (see MODE-1459).

             

            I hope I gets sooner.  In my case I have remote servers and I need to offer these functionalities as services.

            In order to get there I will make user REST and serialize/deserialize JSON and offer that as service for my client apps.

             

            Thanks again