jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexandru Popescu ☀" <the.mindstorm.mailingl...@gmail.com>
Subject Re: jackrabbit first steps problem
Date Mon, 03 Sep 2007 23:05:15 GMT
On 9/4/07, Dumitru CIUBENCO <dciubenco@ascenta.ro> wrote:
> Hi
> I'm newbie here, and I'm trying to build a sample application using jackrabbit(1.3x)+tomcat(5x,6x),
I tried many configurations and different approach including jcr spring modules, and I have
the same Exception every time usually on "session.save();" statement after adding a child
to root node:
>
> [code]
> javax.servlet.ServletException: javax.jcr.RepositoryException: /: unable to update item.:
Unable to resolve path for item: 0eb66ffa-5d88-4095-a012-6a7c45ac7713/{}blogAuthor: Unable
to resolve path for item: 0eb66ffa-5d88-4095-a012-6a7c45ac7713/{}blogAuthor
>         org.apache.struts.action.RequestProcessor.processException(RequestProcessor.java:520)
>         org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:427)
>         org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:228)
>         org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
>         org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:462)
>         javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
>         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>
> root cause
>
> com.onjava.blog.util.BlogApplicationException: javax.jcr.RepositoryException: /: unable
to update item.: Unable to resolve path for item: 0eb66ffa-5d88-4095-a012-6a7c45ac7713/{}blogAuthor:
Unable to resolve path for item: 0eb66ffa-5d88-4095-a012-6a7c45ac7713/{}blogAuthor
>         com.onjava.blog.data.dao.impl.JackrabbitBlogEntryDAO.insertBlogEntry(JackrabbitBlogEntryDAO.java:81)
>         com.onjava.blog.ui.action.AddBlogEntryAction.execute(AddBlogEntryAction.java:35)
>         org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:425)
>         org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:228)
>         org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
>         org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:462)
>         javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
>         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>
> [/code]
>
> I'm definitely doing something wrong because it is simple application which adds some
simple node to repository. Maybe somebody have idea about this? It would be very helpful
>
>
>
> Thanks, Dumitru
>

Is your Session accessed in write mode from multiple threads?

./alex
--
.w( the_mindstorm )p.

Mime
View raw message