Hi Nagendra,

On Mon, Aug 13, 2018 at 1:27 PM, Nagendra <[email protected]> wrote:
> Hi ,
>
> I created a workspace dynamically using
> session.getWorkspace().createWorkspace("newWorkspace").
> Able to see the *newWorkspace* folder and *workspace.xml *file in my
> *myRepository/workspaces* folder.
> But when i am trying to access the newly created workspace its giving
> noSuchWorkspace error.

This might be a stupid question, but just for sure, did you try to
access the workspace by javax.jcr.Repository#login(Credentials
credentials, String workspaceName) or #login(String workspaceName)?

>
> Can some one help me to fix this?

I haven't seen people setting this parameter, but just in case, do you
have "maxIdleTime" attribute with a positive number in workspaces
element in your repository.xml?

Regards,

Woonsan

>
>
>
> --
> Sent from: 
> http://jackrabbit.510166.n4.nabble.com/Jackrabbit-Users-f510167.html

Reply via email to