Need hint to run jsp from repository on tomcat

2008-07-24 Thread Aleksei Lukin
Hi, All! I need to save jsp pages in JackRabbit repository and then feed it to tomcat 6 to process. I use model 2 deploymet, my tomcat loads repository available for all applications deployed. Could please anyone point me to docs or code or tell some hints how to do that? Tnks. -- SY, Alex

OCM search node of any type derived from base?

2008-08-15 Thread Aleksei Lukin
Hello, jackrabbit guys! Could you please give me a hint for searching any OCM mapped node derived from base type? I have slightly different OCM nodes like News, Artilce, Video, etc derived from BaseNode with fields that may be used as search criteria. I need search JCR for that nodes and later

usage pattern of upcoming security features?

2008-08-15 Thread Aleksei Lukin
Hello, All! I saw a lot of code uploaded in svn had implementing new security model for JR. Could please someone explain in few words idea of new JackRabbit security framework? I develop new simple CMS based on JR and OCM and in current implementation user http session is bound to JCR session

OCM: recursive behavior q. and exception info q.

2008-08-28 Thread Aleksei Lukin
Dear Christophe, dar All! I use latest SVN snapshot of OCM for development. I have some difficulties with ocm in following situations with class like this: @Node public class Category{ @Collection ListCategory subslist; } When I do: myclass.getSubsList().add(sub); ocm.update(myclass)

OCM: how to persist Maps?

2008-08-28 Thread Aleksei Lukin
Hello, All! I did not found example in testmodel to work with simple maps like HashMapString,String. May be we need @Map annotation? -- SY, Alex Lukin RIPE NIC HDL: LEXA1-RIPE

Re: OCM: recursive behavior q. and exception info q.

2008-08-28 Thread Aleksei Lukin
Sorry for disturbance, it was my fault. Recursive behavior works OK, in my case there was null in field that interpreted as id. Dear Christophe, dar All! I use latest SVN snapshot of OCM for development. I have some difficulties with ocm in following situations with class like this:

Re: OCM:To Path or Not to Path

2008-10-06 Thread Aleksei Lukin
Hello, dear Christophe ! Back to old discussion... :) Sunday 05 October 2008 11:11:02 Christophe Lombart написав: My conclusion is if you see the OCM pojo classes similar to the JPA entities, the path becomes insteresting because the UUID is not mandatory. Otherwise, we have to specify the

Re: OCM:To Path or Not to Path

2008-10-08 Thread Aleksei Lukin
Hi, all! Tuesday 07 October 2008 13:30:30 Boni Gopalan (BioImagene) написав: IMO the only characteristics that can uniquely identify an object is the path. So did the 'identity' of the object change when it moved from /drafts node to /final node? ; I feel it did. If we map the transaction to

Re: OCM:To Path or Not to Path

2008-10-08 Thread Aleksei Lukin
Wednesday 08 October 2008 10:16:07 Boni Gopalan (BioImagene) написав: Let me take a challenge I am facing right now to give the context of why identities other than UUID is important - may be this is something specific to the OCM interpretation. I mapped Foo , with mix:referenceable and by

Re: OCM:To Path or Not to Path

2008-10-08 Thread Aleksei Lukin
Hi again! Wednesday 08 October 2008 15:57:20 Christophe Lombart написав: Personally, I like the rule 7 made by David. http://wiki.apache.org/jackrabbit/DavidsModel#head-79ca455cb5a0f371923912cc 1418831f0e68f674 In all cases, OCM can manage UUID but please understand that many content

Re: deployment models

2008-11-07 Thread Aleksei Lukin
On Friday 07 November 2008 11:17:11 [EMAIL PROTECTED] wrote: Nope. I first read the Wiki post about deployment models, decided that I needed Model3, experienced severe performance issues, found this old post from Jukka (http://article.gmane.org/gmane.comp.apache.jackrabbit.user/98), jumped

Re: an alternative OCM (Object Content Mapping)

2008-11-11 Thread Aleksei Lukin
On Tuesday 11 November 2008 12:29:46 Boni Gopalan (BioImagene) wrote: OCM supports annotations and XML mappings. And it supports custom converters for simple types, Beans and collections. The only disagreement I have with the design is the need to carry 'path' as part of the bean that I want

Re: accessing repository with webdav?

2008-11-13 Thread Aleksei Lukin
Hi there. I use Konqueror from KDE and it it quite good tool for webdav. URL is webdav://myhost:port/myapp/repository/... for files and forders vievw or webdav://myhost:port/myapp/server/... for detailed propery view On Thursday 13 November 2008 10:12:27 Kurz Wolfgang wrote: Hi everyone, I

exportDocumentView() and Jaxb - help needed

2008-11-13 Thread Aleksei Lukin
Hi, all! This little piece of code worked fine with jackrabbit 1.4: Unmarshaller umr = getUnmarshaller(); UnmarshallerHandler ctxh = umr.getUnmarshallerHandler(); jcr_session.exportDocumentView(path, ctxh, false, false); Object res =

Re: exportDocumentView() and Jaxb - help needed

2008-11-18 Thread Aleksei Lukin
Hello, Alessandro! Hello, colleagues! I checked sources and saw that data[] in org.xml.sax.helpers.AttributesImpl.getIndex(AttributesImpl.java:203) can not be null because thre is no NPE in Exporter, be but it is null anyway. Then I checked namespaces of ssession before doing export with SAX

Re: exportDocumentView() and Jaxb - help needed

2008-11-18 Thread Aleksei Lukin
Hi! Tahnk you very much Jukka and Alessandro! Jukka, your fix from trunk works fine with JDK 1.6u10 and internal JAXB 2.1.3 also with JAXB 2.1.9 and JDK 1.5 I cheked it with Jackrabbit from 1.5 branch and from trunk. XML Import/export is great feature of Jackarbbit that makes development a

Re: Use jcr:path in XPath?

2009-03-23 Thread Aleksei Lukin
Sunday 22 March 2009 23:34:21 Jukka Zitting написав: Hi, On Sun, Mar 22, 2009 at 10:13 PM, Alexander Klimetschek aklim...@day.com wrote: On Sun, Mar 22, 2009 at 6:09 PM, Daniel Manzke daniel.man...@googlemail.com wrote: is it possible to use the pseudo-property jcr:path in XPath? I