IndexingConfiguration

2007-06-20 Thread Frédéric Esnault
Hi there, I saw something vry interesting in jackrabbit wiki : Indexing Configuration. Actually it may be a way to tune up the index and allow some searches that today are very slow. It is definitely a good point to be able to adapt jackrabbit indices to one's particular repository st

About Jackrabbit repository model

2007-06-20 Thread Frédéric Esnault
Hi there ! I've been thinking about what I've been told here. It has been said that : - Jackrabbit doesn't like same name siblings, so it would be better to give nodes specific names; - Jackrabbit doesn't like too many child nodes under on same nodes (ie. 1000 or more chi

[jira] Commented: (JCR-926) Global data store for binaries

2007-06-20 Thread Pablo Rios (JIRA)
[ https://issues.apache.org/jira/browse/JCR-926?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12506744 ] Pablo Rios commented on JCR-926: I ran ReadWhileSaveTest test with the patch applied using the FineGrainedISMLocking ma

Re: JSR-170 license

2007-06-20 Thread Roy T. Fielding
On Jun 20, 2007, at 5:35 PM, Randy Gordon wrote: I started writing a JackRabbit Eclipse plugin, and decided to include the JSR-170 javadocs. As I read the license for the JSR-170 specification on http:// www.day.com/maven/jsr170/licenses/day-spec-license.htm. it seems pretty clear you cann

JSR-170 license

2007-06-20 Thread Randy Gordon
I started writing a JackRabbit Eclipse plugin, and decided to include the JSR-170 javadocs. As I read the license for the JSR-170 specification on http://www.day.com/maven/jsr170/licenses/day-spec-license.htm. it seems pretty clear you cannot, under any conditions, use any product implementi

[jira] Commented: (JCR-314) Fine grained locking in SharedItemStateManager

2007-06-20 Thread Jukka Zitting (JIRA)
[ https://issues.apache.org/jira/browse/JCR-314?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12506679 ] Jukka Zitting commented on JCR-314: --- It seems that saving a single large binary property still (revision 549230) comp

[jira] Updated: (JCR-926) Global data store for binaries

2007-06-20 Thread Jukka Zitting (JIRA)
[ https://issues.apache.org/jira/browse/JCR-926?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jukka Zitting updated JCR-926: -- Attachment: ReadWhileSaveTest.patch I made a few modifications to ReadWhileSaveTest to better illustrate t

Re: Object Content Mapping - Status

2007-06-20 Thread Pavel Konnikov
for example: if define and set myObject.setName("namedNode"); we get redundant property name /namedNode/name = namedNode node name is "namedNode" and name property value is "namedNode". may be remove redundant property from node when filed-descriptor has id? -- Best regards. Pavel Konnikov

[jira] Commented: (JCR-974) Manage Lucene FieldCaches per index segment

2007-06-20 Thread Christoph Kiehl (JIRA)
[ https://issues.apache.org/jira/browse/JCR-974?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12506599 ] Christoph Kiehl commented on JCR-974: - I tried building a test case, but you need a fairly large index to really see

[jira] Updated: (JCR-974) Manage Lucene FieldCaches per index segment

2007-06-20 Thread Christoph Kiehl (JIRA)
[ https://issues.apache.org/jira/browse/JCR-974?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Christoph Kiehl updated JCR-974: Attachment: patch2.txt This is a revised version of the first patch. The following changes were appli

Re: Web app design pattern questions

2007-06-20 Thread Christophe Lombart
It should be nice to collect the different JCR/Jackrabbit experiences and make a JCR design pattern catalog (web, simple app, ...). Maybe in the wiki ? It will take a lot of time but we can start with small pieces of info and when someone want to share its experience, it can add more info in this

Re: null pointer exception

2007-06-20 Thread Thomas Mueller
Hi, I would have a good look at line 284 in the file JackrabbitBlogEntryDAO.java. Thomas On 6/20/07, siraj ahmed <[EMAIL PROTECTED]> wrote: I am getting problem when I clicking a button what may be reason javax.servlet.ServletException org.apache.struts.action.RequestProcessor.proce

Re: exception

2007-06-20 Thread siraj ahmed
Ya I done with it and it works fine Thanks ... Siraj. Mohammed ATMANE wrote: instead of restart icon, you can use the stop icon and when the server was stoped, you use the start icon 2007/6/20, siraj ahmed <[EMAIL PROTECTED]>: I dont have restart icon.. Mohammed ATMANE wrote: > have you t

[jira] Resolved: (JCR-976) Misleading exception message when re-index fails

2007-06-20 Thread Marcel Reutegger (JIRA)
[ https://issues.apache.org/jira/browse/JCR-976?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Marcel Reutegger resolved JCR-976. -- Resolution: Fixed Fix Version/s: 1.4 Fixed in revision: 549117 > Misleading exception mess

Re: exception

2007-06-20 Thread Mohammed ATMANE
instead of restart icon, you can use the stop icon and when the server was stoped, you use the start icon 2007/6/20, siraj ahmed <[EMAIL PROTECTED]>: I dont have restart icon.. Mohammed ATMANE wrote: > have you the plugin of tomcat in your MyEclipse? have you the three > icons of > Tomcat (s

[jira] Created: (JCR-976) Misleading exception message when re-index fails

2007-06-20 Thread Marcel Reutegger (JIRA)
Misleading exception message when re-index fails Key: JCR-976 URL: https://issues.apache.org/jira/browse/JCR-976 Project: Jackrabbit Issue Type: Improvement Components: indexing

Re: exception

2007-06-20 Thread Mohammed ATMANE
2007/6/20, Mohammed ATMANE <[EMAIL PROTECTED]>: have you the plugin of tomcat in your MyEclipse? have you the three icons of Tomcat (start icon, stop icon and restart icon) ? 2007/6/20, siraj ahmed <[EMAIL PROTECTED]>: > > Ok If I didnt click the red square button then how to restart the server

Re: exception

2007-06-20 Thread siraj ahmed
I dont have restart icon.. Mohammed ATMANE wrote: have you the plugin of tomcat in your MyEclipse? have you the three icons of Tomcat (start icon, stop icon and restart icon) ? 2007/6/20, siraj ahmed <[EMAIL PROTECTED]>: Ok If I didnt click the red square button then how to restart the serv

Re: exception

2007-06-20 Thread Mohammed ATMANE
have you the plugin of tomcat in your MyEclipse? have you the three icons of Tomcat (start icon, stop icon and restart icon) ? 2007/6/20, siraj ahmed <[EMAIL PROTECTED]>: Ok If I didnt click the red square button then how to restart the server I didnt get the words of yours , "we need to you th

null pointer exception

2007-06-20 Thread siraj ahmed
I am getting problem when I clicking a button what may be reason javax.servlet.ServletException org.apache.struts.action.RequestProcessor.processException(RequestProcessor.java:523) org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:421)

Re: exception

2007-06-20 Thread siraj ahmed
Ok If I didnt click the red square button then how to restart the server I didnt get the words of yours , "we need to you the button whith crossed cat icon " whats this means , kindly help me out. Mohammed ATMANE wrote: when you use MyEclipse, to restart your application you shouldn't use the re

Re: exception

2007-06-20 Thread Mohammed ATMANE
when you use MyEclipse, to restart your application you shouldn't use the red square to stop your application, because the red square of MyEclipse don't call the destroy(), so don't remove the file lock. we need to you the button whith crossed cat icon 2007/6/20, siraj ahmed <[EMAIL PROTECTED]>:

[jira] Commented: (JCR-967) Only search the index for the "jcr:system" tree if needed

2007-06-20 Thread Marcel Reutegger (JIRA)
[ https://issues.apache.org/jira/browse/JCR-967?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12506533 ] Marcel Reutegger commented on JCR-967: -- Oops, just found an issue with the patch. queryRootNode = XPathQueryBuilde

[jira] Commented: (JCR-967) Only search the index for the "jcr:system" tree if needed

2007-06-20 Thread Marcel Reutegger (JIRA)
[ https://issues.apache.org/jira/browse/JCR-967?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12506531 ] Marcel Reutegger commented on JCR-967: -- Looks good to me. Just one minor comment. I suggest we provide a default i

Re: Web app design pattern questions

2007-06-20 Thread Jukka Zitting
Hi, On 6/20/07, Hendrik Beck (camunda) <[EMAIL PROTECTED]> wrote: > > work directly with too many jcr method calls like > > getProperty()/setProperty(). I definitely like the OCM tool, but i feel IMO that's the point. In general I would tend to go with Jukka's suggestion and use the JCR API as

Beginning with Jcr

2007-06-20 Thread siraj ahmed
Hi All, I want to develop a basic JCR application, I dont know much about it. I want to know abt it and develop it. can you plz let me know it there is a best way to do it. --- Hurix Mumbai telephone numbers have changed. New numbers are

Re: exception

2007-06-20 Thread siraj ahmed
Yes, I uses MyEclipse with Tomcat Mohammed ATMANE wrote: which application server do you use ? do you use eclipse + plugin Tomcat ? 2007/6/20, siraj ahmed <[EMAIL PROTECTED]>: I am getting this problem when ever I restart my application , any solution to avoid this regualarly its very helpf

RE: Web app design pattern questions

2007-06-20 Thread Hendrik Beck \(camunda\)
> > > On 6/19/07, bilobag <[EMAIL PROTECTED]> wrote: > > >> I am in the beginning stages of a web based CMS tool using JSF, > Spring > > >> and > > >> Jackrabbit. > > work directly with too many jcr method calls like > > getProperty()/setProperty(). I definitely like the OCM tool, but i feel IMO

[jira] Resolved: (JCR-975) NodeImpl.checkin() calls save() three times

2007-06-20 Thread Marcel Reutegger (JIRA)
[ https://issues.apache.org/jira/browse/JCR-975?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Marcel Reutegger resolved JCR-975. -- Resolution: Fixed Fix Version/s: 1.4 Fixed in revision: 549102 > NodeImpl.checkin() calls

Re: exception

2007-06-20 Thread Mohammed ATMANE
which application server do you use ? do you use eclipse + plugin Tomcat ? 2007/6/20, siraj ahmed <[EMAIL PROTECTED]>: I am getting this problem when ever I restart my application , any solution to avoid this regualarly its very helpful javax.servlet.ServletException: The repository h

[jira] Created: (JCR-975) NodeImpl.checkin() calls save() three times

2007-06-20 Thread Marcel Reutegger (JIRA)
NodeImpl.checkin() calls save() three times --- Key: JCR-975 URL: https://issues.apache.org/jira/browse/JCR-975 Project: Jackrabbit Issue Type: Improvement Components: versioning Affects

Re: exception

2007-06-20 Thread Mohammed ATMANE
Hi, The probleme is that your application server did not call the destroy() function of the servlet to unlock the repository, is possible that the deployment was not correctly made. to unlock manually, you need delete the .lock file (in your case c:\temp\Blogging\.lock) 2007/6/20, siraj ahmed

Re: Web app design pattern questions

2007-06-20 Thread Martin Perez
IMHO, everything depends on the nature of your application. This remembers me the putting triggers/business logic/rules in your tables/db/stored procs. discussion. So there is many ways to do it and everything depends on how you plan to evolve your app. Personally I find myself more comfortable w

Re: re-indexing problem

2007-06-20 Thread Marcel Reutegger
Shane Preater wrote: I am using the simpleDBPersistence manager to talk to postgres so I will set those parameters now and, fingers crossed, we won't see this issue again. please note that the mentioned parameters are only available on the *bundle* persistence managers. the simple db persiste

[jira] Commented: (JCR-926) Global data store for binaries

2007-06-20 Thread Marcel Reutegger (JIRA)
[ https://issues.apache.org/jira/browse/JCR-926?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12506522 ] Marcel Reutegger commented on JCR-926: -- I haven't used the test case with the DataStore patch, but I expect that it

[jira] Commented: (JCR-926) Global data store for binaries

2007-06-20 Thread Marcel Reutegger (JIRA)
[ https://issues.apache.org/jira/browse/JCR-926?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12506521 ] Marcel Reutegger commented on JCR-926: -- This may be due to caching on the LocalItemStateManager level. If you creat

[jira] Commented: (JCR-719) XPath parser ignores parent axis

2007-06-20 Thread Marcel Reutegger (JIRA)
[ https://issues.apache.org/jira/browse/JCR-719?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12506513 ] Marcel Reutegger commented on JCR-719: -- Please note that the 'fix' for this issue was to throw an exception if the

Re: Web app design pattern questions

2007-06-20 Thread bilobag
So you're saying that you use the actual node objects on the front end? My motivation was that I was trying to make it easier for the front end coders to integrate the jackrabbit backend. I thought if i used DTO's, the front end coders could just call the setters/getters from the page and send t

RE: exception

2007-06-20 Thread Frédéric Esnault
This error is raised usually when your application closed to fast, because of an exception or error. The repository has not been correctly closed. Or you have multiple thread trying to open sessions on the same repository at the same time. If you can't find, try a repository.shutdown() before le

[jira] Commented: (JCR-974) Manage Lucene FieldCaches per index segment

2007-06-20 Thread Christoph Kiehl (JIRA)
[ https://issues.apache.org/jira/browse/JCR-974?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12506506 ] Christoph Kiehl commented on JCR-974: - Regarding your ItemStateManagerBasedSortComparator.patch: This patch doesn't

exception

2007-06-20 Thread siraj ahmed
I am getting this problem when ever I restart my application , any solution to avoid this regualarly its very helpful javax.servlet.ServletException: The repository home at c:\temp\Blogging appears to be in use since the file at c:\temp\Blogging\.lock is locked by another process.

Re: re-indexing problem

2007-06-20 Thread Shane Preater
Hi Marcel, Thanks for getting back to me. Thankfully we rolled back to our last data back up and this has fixed our problem. I am using the simpleDBPersistence manager to talk to postgres so I will set those parameters now and, fingers crossed, we won't see this issue again. Regards, Shane. On

RE: SQL request parse error

2007-06-20 Thread Frédéric Esnault
Ok thanks for the jcr:deref hint ! But nothing is planned for other kinds of joins? For example, I have managers defined as contract nodes property, I will never be able to join the contractor manager property (a name as a string) on a contact node's name property? Or may be somehow with xpath?

[jira] Commented: (JCR-974) Manage Lucene FieldCaches per index segment

2007-06-20 Thread Christoph Kiehl (JIRA)
[ https://issues.apache.org/jira/browse/JCR-974?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12506501 ] Christoph Kiehl commented on JCR-974: - The query I'm doing my tests with looks like this: //element(*, app-mix:docu

Re: SQL request parse error

2007-06-20 Thread Jukka Zitting
Hi, On 6/20/07, Frédéric Esnault <[EMAIL PROTECTED]> wrote: Don't tell me it's because of spec, section 8.5.2.6 about joins, only on primary node type and mixin node type tables and on jcr:path property Please ! Sorry... However, in your case you may want to take a look at the jcr:deref()

[jira] Commented: (JCR-974) Manage Lucene FieldCaches per index segment

2007-06-20 Thread Marcel Reutegger (JIRA)
[ https://issues.apache.org/jira/browse/JCR-974?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12506499 ] Marcel Reutegger commented on JCR-974: -- btw, both SearchIndex.CombinedIndexReader and CachingMultiReader implement

[jira] Updated: (JCR-974) Manage Lucene FieldCaches per index segment

2007-06-20 Thread Marcel Reutegger (JIRA)
[ https://issues.apache.org/jira/browse/JCR-974?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Marcel Reutegger updated JCR-974: - Attachment: ItemStateManagerBasedSortComparator.patch Here's my attempt to keep FieldCaches per inde

RE: SQL request parse error

2007-06-20 Thread Frédéric Esnault
Don't tell me it's because of spec, section 8.5.2.6 about joins, only on primary node type and mixin node type tables and on jcr:path propertyPlease ! Frédéric Esnault - Ingénieur R&D -Message d'origine- De : Frédéric Esnault [mailto:[EMAIL PROTECTED] Envoyé : mercredi 20 juin 2007

[jira] Commented: (JCR-974) Manage Lucene FieldCaches per index segment

2007-06-20 Thread Marcel Reutegger (JIRA)
[ https://issues.apache.org/jira/browse/JCR-974?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12506497 ] Marcel Reutegger commented on JCR-974: -- Do you have test cases or a description of the queries that you execute? >

Re: Optimize search performance

2007-06-20 Thread Marcel Reutegger
Christoph Kiehl wrote: I just created an issue to which I attached an initial patch which works quite well for us. It doesn't use MultiSearcher but extends SharedFieldSortComparator to be aware of the underlying index segments. Could you please review the patch? will do. thanks a lot for your

RE: SQL request parse error

2007-06-20 Thread Frédéric Esnault
Just a correction, the NullPointerException is raised by : literal.getValue(); It seems the query is correctly parsed, it gets the identifiers, but seems to use the literal code (restriction) for identifier comparison (join). Any idea ? Frédéric Esnault - Ingénieur R&D -Message d'origine-

Re: re-indexing problem

2007-06-20 Thread Marcel Reutegger
Hi Shane, this probably indicates that the workspace is somehow inconsistent. e.g. there might be a missing node for a child node entry in the database. what kind of persistence manager do you use? if you are using a bundle persistence manager you can set the parameter 'consistenceCheck' and

SQL request parse error

2007-06-20 Thread Frédéric Esnault
Hi all, I encountered a problem working with a SQL request : SELECT lgw:contractorType.lgw:title FROM lgw:contractorType, lgw:contractType WHERE lgw:contractType.jcr:uuid= 'b744b41b-8425-4008-99a6-ce8456d87c4e' AND lgw:contractorType.jcr:uuid=lgw:contractType.lgw:internalContractor

Re: JCRLog

2007-06-20 Thread Thomas Mueller
The JCRLog theoretically works on any JCR implementation, so both Jackrabbit 1.3 and 1.4 work. Thomas

Proposal Master thesis about JCR in JEE environments

2007-06-20 Thread Hendrik Beck (camunda)
Hi all! >From July till January I am going to write my Master thesis at Darmstadt University of Applied Sciences. I want to work on JCR in JEE environments. So far we (meaning me and my company) only used JCR some kind of separated from our JEE-based applications. We really only used it for addi

RE:JCRLog

2007-06-20 Thread Frédéric Esnault
Just a question, is the 1.4 Jackrabbit mandatory or can I replace by a dependency to 1.3 ? Frédéric Esnault - Ingénieur R&D -Message d'origine- De : Thomas Mueller [mailto:[EMAIL PROTECTED] Envoyé : mercredi 20 juin 2007 11:56 À : dev@jackrabbit.apache.org Objet : Re: atomic vs group

RE: atomic vs group node creation/storage

2007-06-20 Thread Frédéric Esnault
Thanks a lot for testing. I did not clear the tables before working, but the repository was quite small before. But anyway users will not work on empty repository. When I did a second try, the repository was empty, and I stopped after 2500 nodes were created, and my default_node table was alrea

[jira] Commented: (JCR-719) XPath parser ignores parent axis

2007-06-20 Thread Stefan Ivanov (JIRA)
[ https://issues.apache.org/jira/browse/JCR-719?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12506476 ] Stefan Ivanov commented on JCR-719: --- I switched to JackRabbit 1.3 but I still have the problem. My Query looks like:

Re: atomic vs group node creation/storage

2007-06-20 Thread Thomas Mueller
Hi again, I tested it again with your code, and still couldn't find a problem. (There are probably small differences, for example I didn't use any node types, and I implemented my own createRandomData method). Could you verify you deleted the tables in the database between the test runs? If this

[jira] Updated: (JCR-788) Upgrade to Lucene 2.2

2007-06-20 Thread Jukka Zitting (JIRA)
[ https://issues.apache.org/jira/browse/JCR-788?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jukka Zitting updated JCR-788: -- Summary: Upgrade to Lucene 2.2 (was: Upgrade to Lucene 2.1) Lucene 2.2 was just released with even more g

RE: atomic vs group node creation/storage

2007-06-20 Thread Frédéric Esnault
I did with contacts, not contractors (it failed before reaching the contractors). So here is the intializeContact method. You can replace the DataGenHelper random creation methods by static data. private void initializeContact(Node contact) throws RepositoryException {

Re: atomic vs group node creation/storage

2007-06-20 Thread Thomas Mueller
Hi, I am trying to reproduce the problem (with 1000 child nodes), but so far I couldn't find a problem. This could have two reasons: A) Are you sure you cleaned the repository between tests? B) The method initializeContractor. Could you please send your code for initializeContractor? I used:

Re: atomic vs group node creation/storage

2007-06-20 Thread Jukka Zitting
Hi, On 6/20/07, Felix Meschberger <[EMAIL PROTECTED]> wrote: This seems more related to how the MySQL persistence manager handles constant updates of a shared parent nodes with more and more child nodes. Also your use of same name sibblings might be an issue, actually. This sounds like it coul

Re: Web app design pattern questions

2007-06-20 Thread Jukka Zitting
Hi, On 6/20/07, Felix Meschberger <[EMAIL PROTECTED]> wrote: And by the way, using an OCM with proper objects also helps a lot ensuring the integrity of the data managed, as there is a single point of control regarding how the data is accessed. Again, your mileage may vary, but as code tends to

Re: atomic vs group node creation/storage

2007-06-20 Thread Felix Meschberger
Hi Frédéric, So, I misunderstood you and have to admit, that I cannot help any further. This seems more related to how the MySQL persistence manager handles constant updates of a shared parent nodes with more and more child nodes. Also your use of same name sibblings might be an issue, actually.

Re: Object Content Mapping - Status

2007-06-20 Thread Christophe Lombart
ok for 1.4. I have my summer vacation to work on this release :-) Thanks, Christophe On 6/20/07, Jukka Zitting <[EMAIL PROTECTED]> wrote: Hi, On 6/20/07, Felix Meschberger <[EMAIL PROTECTED]> wrote: > Re Release: If adding OCM to the 1.4 release, would it be possible to have > an initial "s

RE: atomic vs group node creation/storage

2007-06-20 Thread Frédéric Esnault
Hi Felix, I understand the transient space memory consumption issue, and that's why I'm thinking of something like a partial saving mechanism (ie. save the nodes every 1,000). My real issue here is the persistent storage. Saving node by node, like I do there, is not acceptable for me because,

Re: Web app design pattern questions

2007-06-20 Thread Felix Meschberger
Hi, Well, your mileage may vary :-) In my experience, JCR is a wonderful and easy API to use. Still having proper Java Objects to work on and to delegate loading and unloading to an OCM layer helps me a lot - in terms of typing, fail safeness and not having to worry about checked exceptions whic

Re: Web app design pattern questions

2007-06-20 Thread Christophe Lombart
When possible I typically try to avoid extra layers on top of JCR. Unlike relational databases, JCR is actually quite "OO-friendly" so the need for an DAO/DTO layer is not that big. Typically such a layer just ends up limiting the available functionality. I'm not against the OCM tool as is, I thi

Re: Object Content Mapping - Status

2007-06-20 Thread Jukka Zitting
Hi, On 6/20/07, Felix Meschberger <[EMAIL PROTECTED]> wrote: Re Release: If adding OCM to the 1.4 release, would it be possible to have an initial "standalone" release after 1.3.1 but before Jackrabbit 1.4 ? I have no actual requirement currently, just being curious. If people want that, then

Re: atomic vs group node creation/storage

2007-06-20 Thread Felix Meschberger
Hi Frédéric, Now this makes a whole lot more sense to me :-) The first algorithm creates a number of nodes and properties in transient space, which is currently kept in memory. The higher the number of nodes, the higher the memory consumption. The second algorithm just creates a single node and

RE: atomic vs group node creation/storage

2007-06-20 Thread Frédéric Esnault
Oops, First algorithm is mass creation then save, second algorithm is node by node. Sorry for mistake and about the FOR at the end of a commentOutlook will kill me... / // FIRST ALGORITHM : Block creation //

Re: Object Content Mapping - Status

2007-06-20 Thread Felix Meschberger
Hi, Thanks for adding this to continuum. Re Release: If adding OCM to the 1.4 release, would it be possible to have an initial "standalone" release after 1.3.1 but before Jackrabbit 1.4 ? I have no actual requirement currently, just being curious. Regard Felix On 6/20/07, Jukka Zitting <[EMAIL

RE: atomic vs group node creation/storage

2007-06-20 Thread Frédéric Esnault
Of course, here is the repository config : // // START REPOSITORY.XML// // http://jackrabbit.apache.org/dtd/repository-1.2.dtd";>

Re: Object Content Mapping - Status

2007-06-20 Thread Jukka Zitting
Hi, On 6/20/07, Christophe Lombart <[EMAIL PROTECTED]> wrote: On 6/20/07, Jukka Zitting <[EMAIL PROTECTED]> wrote: > Do you want to make a standalone OCM release, > or should we include it as a component in the Jackrabbit 1.4 release? It should nice to see it as a component of Jackrabbit 1.4. I

Re: Object Content Mapping - Status

2007-06-20 Thread Christophe Lombart
On 6/20/07, Jukka Zitting <[EMAIL PROTECTED]> wrote: Hi, On 6/19/07, Christophe Lombart <[EMAIL PROTECTED]> wrote: > I would like to check together what is missing in the OCM framework for its > first release. Kudos for the progress! This is nothing compare to the Jackrabbit core :-) Do y

Re: Web app design pattern questions

2007-06-20 Thread Jukka Zitting
Hi, On 6/19/07, bilobag <[EMAIL PROTECTED]> wrote: I am in the beginning stages of a web based CMS tool using JSF, Spring and Jackrabbit. Please give any design advice you may have for the following questions: Chiming in a bit late... 1) I have 3 node types. Content, book, magazine. Book a

Re: Object Content Mapping - Status

2007-06-20 Thread Jukka Zitting
Hi, On 6/19/07, Christophe Lombart <[EMAIL PROTECTED]> wrote: I would like to check together what is missing in the OCM framework for its first release. Kudos for the progress! Do you want to make a standalone OCM release, or should we include it as a component in the Jackrabbit 1.4 release?

Re: atomic vs group node creation/storage

2007-06-20 Thread Thomas Mueller
Hi, Could you send the configuration (repository.xml file), and the code if possible (so I don't have to write it again). Just recently I though I saw a similar problem, but I am not sure if it's related. Thanks, Thomas On 6/20/07, Frédéric Esnault <[EMAIL PROTECTED]> wrote: Hello there !

atomic vs group node creation/storage

2007-06-20 Thread Frédéric Esnault
Hello there ! It seems to me that there is a storage problem, when you create a lot of nodes, one by one, using this algorithm : 1. for each node to create a. create node b. fill node properties/child nodes c. save session 2. end for The

Re: Object Content Mapping - Status

2007-06-20 Thread Christophe Lombart
+1 thanks On 6/19/07, Pavel Konnikov <[EMAIL PROTECTED]> wrote: Hello. Aslo would be nice to add constructor like ObjectContentManagerImpl(Session session, InputStream[] xmlMappings) to be able use it with ServletContext.getResourceAsStream() -- Best regards. Pavel Konnikov

Re: Web app design pattern questions

2007-06-20 Thread Christophe Lombart
On 6/19/07, bilobag <[EMAIL PROTECTED]> wrote: Thanks for the quick responses. I am interested in trying the mapping tool. I am currently using Spring and noticed that you are working on some spring integration components. Are these in a stable state? I would like to be able to configure the