Re: session.exportDocumentView and session.exportSystemView

2010-07-15 Thread Guo Du
On Thu, Jul 15, 2010 at 10:27 AM, tingup tin...@gmail.com wrote: Hello everyone in List, I want to know what is the difference between session.exportDocumentView and session.exportSystemView , System view contain jcr aware meta data and could be used for light weight data exchange. Document

Re: Re: session.exportDocumentView and session.exportSystemView

2010-07-15 Thread Guo Du
On Thu, Jul 15, 2010 at 10:42 AM, tingup tin...@gmail.com wrote: So, Document view is for read porpose, and can not be used for backup/restore? No, according the Session.importXML java doc, it should works for doc view as well. Your exception may caused by bug or wrong data, not sure :) But you

Re: jackrabbit 1.6.2 import/export

2010-07-12 Thread Guo Du
On Mon, Jul 12, 2010 at 4:30 PM, tingup tin...@gmail.com wrote: I got follow error info when i importData(/, file.xml). root node is protected and you cannot import. You may export/import nodes under root one by one. -Guo

Re: Re: jackrabbit 1.6.1 repo corrupted

2010-07-09 Thread Guo Du
On Fri, Jul 9, 2010 at 11:00 AM, tingup tin...@gmail.com wrote: Caused by: java.lang.NumberFormatException: For input string: Before import, you may verify the exported xml file is valid to verify the problems is related to import. may be I have fogtten which release the repo had been builded

Re: 2.0 query implementation

2010-04-20 Thread Guo Du
On Tue, Apr 20, 2010 at 4:53 PM, ChadDavis chadmichaelda...@gmail.com wrote: I need to know which query interface implementation is more complete. SQL? xpath? jqom? SQL and xpath are translated to jqom under the hood, they are subset of jqom. -Guo

Re: 2.0 query implementation

2010-04-20 Thread Guo Du
On Tue, Apr 20, 2010 at 11:07 PM, ChadDavis chadmichaelda...@gmail.com wrote: They are translated to jqom or the Abstract Query Model? Not sure, but they are similar terms: http://www.day.com/specs/jcr/2.0/6_Query.html -Guo

Re: .lock file not there

2010-03-18 Thread Guo Du
On Thu, Mar 18, 2010 at 10:12 AM, Richa richasharma...@gmail.com wrote: can u pls suggest me wat can be done in this case..iam getting this error in my netbeans:- Can you post the result of following command: ls -alh /home/ksk/ric/testing/apache-tomcat-6.0.24/bin/jackrabbit You should see

Re: .lock file not there

2010-03-18 Thread Guo Du
On Thu, Mar 18, 2010 at 11:01 AM, Richa richasharma...@gmail.com wrote: thank you so much for the help sir..i can c the .lock file now.. You will do better job with little more OS basic knowledge :) -Guo

Re: Read node auditing

2010-03-05 Thread Guo Du
On Fri, Mar 5, 2010 at 5:32 PM, Alexander Klimetschek aklim...@day.com wrote: will generate a lot log output, since in many apps a node is often fetched multiple times for the same read-transaction... Maybe all As well as many nodes for one time :) you want is a login log? Http request log or

Re: path query

2010-03-04 Thread Guo Du
On Thu, Mar 4, 2010 at 8:49 PM, Birmingham, Steven steven.birming...@itt.com wrote: Select [jcr:path] from [nt:unstructured] WHERE [jcr:path] LIKE '/signals/%'; Another format in SQL2: Select [jcr:path] from [nt:unstructured] WHERE ISDESCENDANTNODE('/signals') More details:

Re: hello

2010-02-26 Thread Guo Du
On Fri, Feb 26, 2010 at 4:44 AM, Richa richasharma...@gmail.com wrote: thanx rakesh for the imformation..but iam really not able to find jcr-2.0.jar anywhere on internet,can u suggest some link from where i can download this jar file.. Maven is your friends :)

Re: Jackrabbit 2.0 QueryResult.getNodes().getSize() returning -1

2010-02-18 Thread Guo Du
On Thu, Feb 18, 2010 at 2:12 PM, Sergiy Shyrkov my.public.mail...@gmail.com wrote: I always get -1 as the size of an non-empty iterator (I can perfectly iterate over it and get nodes). The -1 discussed recently:

Re: Jackrabbit Apache Derby Database 'Vacuum'

2010-02-16 Thread Guo Du
On Tue, Feb 16, 2010 at 10:43 AM, george.sib...@bt.com wrote: I just now need to know how I access the embedded apache derby database using the apache derby ij tool - http://db.apache.org/derby/docs/10.2/tools/tools-single.html. Does anyone have any details on how to do this? A GUI tools is

Re: RepositoryCopier and power breakdown

2010-02-11 Thread Guo Du
On Thu, Feb 11, 2010 at 4:40 PM, sascha.the...@innovations.de wrote: My question is: Is there a potential risk of data corruption (or data loss) in jackrabbit when a power breakdown occurs? Is that issue related to the RepositoryCopier or could we get the same error without it?

Re: performance

2010-02-10 Thread Guo Du
On Wed, Feb 10, 2010 at 2:24 PM, Alexander Klimetschek aklim...@day.com wrote: You can't improve that much by configuration. It depends on your content model and queries. The fastest query type is when looking for specific property values (eg. @property='value') or node types via element(*,

Re: repo browser

2010-02-08 Thread Guo Du
2010/2/8 Fabián Mandelbaum fmandelb...@gmail.com: Even if there are lots of tools out there in the links everyone provide they are mostly toys, commercial, or not actively developed... That's right, jackrabbit version matters. A simple way to view the node structure is to use

Re: Revision cleanup

2010-02-08 Thread Guo Du
On Mon, Feb 8, 2010 at 8:26 PM, Michael Yin m...@theladders.com wrote: I was thinking about exporting to XML then reimporting into a clean repo, but there must be a better way than that. Version history stored in separate table, I think you may simple run sql to delete all record in the version

Re: Revision cleanup

2010-02-08 Thread Guo Du
On Mon, Feb 8, 2010 at 9:27 PM, Michael Yin m...@theladders.com wrote: So, just to get specific,  I could delete the contents of the JOURNAL table and change REVISION_ID in GLOBAL_REVISION to 0? Sorry, didn't aware it's already in a cluster. Have no idea how it will affect replication. If it

Re: XML import example

2010-02-03 Thread Guo Du
On Tue, Feb 2, 2010 at 11:35 PM, ChadDavis chadmichaelda...@gmail.com wrote: http://jackrabbit.apache.org/first-hops.html But that page is returning  an invalid/unsupported form of compression error. The link works fine for me at this point of time. -Guo

Re: fast import and export on BundleFsPersistenceManager

2010-02-03 Thread Guo Du
On Wed, Feb 3, 2010 at 12:32 PM, Luiz Fernando Teston feu.tes...@caravelatech.com wrote: I'd like to know if is ok to use the BundleFsPersistenceManager and simply copy the directory. If this is not ok, is there any other better and/or faster way to do that? This is only for tests purposes. I

Re: Jackrabbit2.0.0: Why local file system is needed when I just want to use database?

2010-02-02 Thread Guo Du
Would anyone be so kind to tell me why Jackrabbit requires a homeDir on my file system though I am using database filesystem and database bundle persistence? There are two type of local storage for default configuration: data and index. Data is stored in db and some big binary node stored in

Re: data first, structure on demand

2010-01-26 Thread Guo Du
On Tue, Jan 26, 2010 at 6:34 PM, ChadDavis chadmichaelda...@gmail.com wrote: I've read a lot of stuff regarding the use of unstructured and avoiding structured node types as long as possible.  I think I have a unstructured give you freedom to extend to any structure. You may put custom

Re: list of jars needed for jackrabbit 2.0

2009-12-17 Thread Guo Du
On Thu, Dec 17, 2009 at 9:31 AM, anand simer.anan...@gmail.com wrote:                    Can anybody tell me about number and name  of jars required to run repository.  I was actually running jackrabbit 1.5.6 before and these are the jar i used for jackrabbit 2.0 but still it's not running.

Re: Practical limitations on the number of workspaces

2009-12-17 Thread Guo Du
On Thu, Dec 17, 2009 at 3:15 PM, Alan Chaney a...@writingshow.com wrote: (which is a 3D modelling system) requires a very large number of  references. However, David's Rule #5 - References considered harmful How large? If it's 1000+ per node and big amount of nodes, jcr may not the best

Re: Jackrabbit 2 Binary

2009-12-16 Thread Guo Du
On Wed, Dec 16, 2009 at 9:11 AM, Ben Short b...@benshort.co.uk wrote: Its a very handy undocumented feature. Since its undocumented is it safe to assume that it might change without notice? For binary content, it may depends on your persistent manager configuration. If all your data is in

Re: RepositoryCopier requires shutdown of source repositoy?

2009-12-16 Thread Guo Du
On Wed, Dec 16, 2009 at 3:21 PM, Samuel Cox crankydi...@gmail.com wrote: doing a restore (exploding the zip); however, if only reads are happening, do I have to shutdown when doing the backup (creating the zip)? Yes you can. But not recommended especial for production system. It's related to

Re: RepositoryCopier requires shutdown of source repositoy?

2009-12-15 Thread Guo Du
On Tue, Dec 15, 2009 at 6:01 PM, Samuel Cox crankydi...@gmail.com wrote: however, I'm wondering why shouldn't I just backup the entire directory into a zip file?  Restore would just be replace existing directory with the exploded zip. It won't work if your PM is not in local file such as in

Re: derby pm configuration

2009-12-14 Thread Guo Du
On Mon, Dec 14, 2009 at 8:07 PM, ChadDavis chadmichaelda...@gmail.com wrote: In the URL parameter, what is the create=true all about?  Does this refer to whether the DB schema is created on initialization, if it doesn't already exist? It's a derby parameter to create db if the db does not

Re: Filesystem versus PersistenceManager questions

2009-12-14 Thread Guo Du
On Mon, Dec 14, 2009 at 7:24 PM, ChadDavis chadmichaelda...@gmail.com wrote: What do you mean that the embedded db can only have a single connection?  If I run my repository in some server fashion, such as RMI or SPI, can I still connect to the repository from two Jackrabbit session share the

Re: bundle PM versus db PM

2009-12-13 Thread Guo Du
On Sun, Dec 13, 2009 at 1:25 PM, Dennis van der Laan d.g.van.der.l...@rug.nl wrote: classes may explain HOW they work, but it's unclear for me which one is the most appropriate one to use. I guess, if there are more read-actions Bundle PM is more appropriate in most of the case because it will

Re: client configuration for jcr2spi + spi2dav

2009-12-11 Thread Guo Du
On Fri, Dec 11, 2009 at 4:58 PM, Guo Zhenhua jen...@gmail.com wrote: Thanks. I am considering whether to use JackRabbit 2 because it is still beta. Probably I will go with JackRabbit 1.6.0 at first. JR 2.0 could be released in next a few months. If your project doesn't expect to release before

Re: Suitability of jackrabbit for requirements [SEC=UNCLASSIFIED]

2009-12-09 Thread Guo Du
On Wed, Dec 9, 2009 at 4:06 AM, ross.dy...@ipaustralia.gov.au wrote: Couple million docs, terabyte of data, modest throughput, availability of upgrade path, easy backups.  From my reading/lurking, this sounds like a job for bundle persistence manager using H2 database. It's unlikely you could

Re: Versionning

2009-12-09 Thread Guo Du
On Wed, Dec 9, 2009 at 2:21 PM, Julien Poffet julienpof...@gmail.com wrote: - How Jackrabbit will react if I modify manually the content of a file directly in the datastore. A new version of this file will be created? The file will become corrupted? There are some cache for bundle persistence

Re: Versionning

2009-12-09 Thread Guo Du
On Wed, Dec 9, 2009 at 3:03 PM, Julien Poffet julienpof...@gmail.com wrote: Thanks but I already tried this scenario. I modify the content of a file directly in the datastore. Then I opened the file with the webdav and it came up nicely with the modification. Am I lucky or it is normal? Lucky

Re: Filesystem versus PersistenceManager questions

2009-12-04 Thread Guo Du
On Fri, Dec 4, 2009 at 11:28 PM, ChadDavis chadmichaelda...@gmail.com wrote: 1) I read elsewhere that the FS is only used for some administrative stuff, like the search index and configuration.  Is this correct?  In other words, the FS isn't a part of the storage for the actual repo content,

Re: Jackrabbit on Equinox (OSGi)

2009-12-03 Thread Guo Du
On Thu, Dec 3, 2009 at 3:08 PM, Samuel Cox crankydi...@gmail.com wrote: Does anyone have any experience with Jackrabbit and Equinox? I have no problem to run jackrabbit 2.0-alpha12 on Equinox 3.5.100 -Guo

Re: How to implement given scenario?

2009-11-27 Thread Guo Du
On Fri, Nov 27, 2009 at 5:02 PM, Nachiket nachi...@logicwind.com wrote: Can you explain? how to map (or get) reverse? from single Book to(=) its Users? You may manually maintain the releation, such as create following nodes: myweb/user/user1/mybook1 (reference to myweb/book/book1)

Re: Strategy to register new node types.

2009-11-19 Thread Guo Du
On Thu, Nov 19, 2009 at 9:59 AM, Philipp Bunge b...@crimson.ch wrote: It would be cool if we could specify a list of CNDs in the repository.xml configuration file. Without any configuration, jackrabbit 2.0 will load the nodetypes defination from following file by default:

Re: Strategy to register new node types.

2009-11-19 Thread Guo Du
On Thu, Nov 19, 2009 at 12:59 PM, Stefan Guggisberg stefan.guggisb...@gmail.com wrote: be aware that you might end up with a corrupt repository when manipulating this file. this file is not meant to be user-edited. Thanks for the reminder. Any global wide repository configuration changes have

Re: David's Model question : nt:unstructured and SNS

2009-11-16 Thread Guo Du
On Mon, Nov 16, 2009 at 12:49 PM, Bertrand Delacretaz bdelacre...@apache.org wrote: Although that would be non-standard w.r.t JCR, I think such a don't accept same-name siblings configuration flag might be useful. It is relatively easy to end up with same-name siblings without really meaning

Re: David's Model question : nt:unstructured and SNS

2009-11-14 Thread Guo Du
2009/11/14 François Cassistat f...@maya-systems.com: I was looking for something like changing the default behavior of nt:structured, but I think it may cause problems since /jcr:system friends use SNS. The build in node types such as nt:unstructured are protected at runtime, so you cannot

Re: David's Model question : nt:unstructured and SNS

2009-11-13 Thread Guo Du
2009/11/13 François Cassistat f...@maya-systems.com: Is there an easy way to disallow SNS other than defining a new node type and setting all new nodes in this type, so I can get ItemExistException on save to prevent SNS from happening? The nt:folder doesn't allow SNS. If your application

Re: Garbage Collection not deleting until restart of server

2009-11-12 Thread Guo Du
On Thu, Nov 12, 2009 at 10:50 AM, Euan Green euangr...@gmail.com wrote: If you want to ensure all files are deleted, an option is to call System.gc() a few times before running the data store garbage collection. That's exactly what it was, just run some test and the files are being deleted now

Re: Garbage Collection not deleting until restart of server

2009-11-12 Thread Guo Du
On Thu, Nov 12, 2009 at 1:10 PM, Thomas Müller thomas.muel...@day.com wrote: I think it's better to document the problem than trying to solve it, specially because it's almost impossible to solve it. I have documented it now at

Re: Finding NodeName using SQL Query Analyzer

2009-11-02 Thread Guo Du
On Mon, Nov 2, 2009 at 7:57 PM, pkrishna prabhakar.krishnasw...@ge.com wrote: Is there a way for me to query the database for Node A using a where criteria? Which table should I query against? Is this possible at all. You may have a look the ddl files in package

Re: workspaces, multiple repositories

2009-10-28 Thread Guo Du
On Wed, Oct 28, 2009 at 10:05 PM, ChadDavis chadmichaelda...@gmail.com wrote: independent server.  My question is whether it makes sense to use the same Jackrabbit server for all of the separate instances of our application.  If so, would it make sense to use workspaces for each connecting

Re: many sessions remain unclosed

2009-10-21 Thread Guo Du
On Wed, Oct 21, 2009 at 9:37 AM, Radu Ana-Maria radu.a...@gmail.com wrote: 10x for the quick response. well i can't hardly wait for jackrabbit 2.0. It might be wrong message for community that jackrabbit 2.0 is 10x faster than jackrabbit 1.x. In your case, the improvement may gained by

Re: many sessions remain unclosed

2009-10-21 Thread Guo Du
On Wed, Oct 21, 2009 at 10:31 AM, Jukka Zitting jukka.zitt...@gmail.com wrote: I believe that the 10x here was just a shorthand for Thanks. :-) Lesson learned. 10x :) --Guo

Re: Jackrabbit Session inside Stateless Session EJB

2009-10-15 Thread Guo Du
On Thu, Oct 15, 2009 at 1:26 PM, Jaco Prinsloo jacoli...@gmail.com wrote: Thanks, so I assume there isn't any problem with reusing a session (as subsequent requests to the EJB could be made by different users)? I am not familiar with EJB. The bottom line is that jcr session shouldn't be used by

Re: Jackrabbit Session inside Stateless Session EJB

2009-10-14 Thread Guo Du
On Wed, Oct 14, 2009 at 11:11 AM, Jaco Prinsloo jacoli...@gmail.com wrote: Hi Experts, What is the correct way to access a Jackrabbit session from within a stateless session EJB: 1) Every request (method) opens a session, performs the work and then closes the session again. 2) There is one

Re: Location of repository.xml and workspace.xml

2009-10-12 Thread Guo Du
On Mon, Oct 12, 2009 at 11:50 PM, Phukan, Anit anit_phu...@intuit.com wrote: Did anyone encounter this type of issue on JBOSS or any other application server? Any suggestions would be highly appreciated. First time seen it. Google may help you out:

Re: Location of repository.xml and workspace.xml

2009-10-10 Thread Guo Du
On Sat, Oct 10, 2009 at 12:55 AM, Phukan, Anit anit_phu...@intuit.com wrote: Hi, Could anyone please let me know the correct directory location for the 2 config files that I mentioned in the subject. It seems to work fine when the repository.xml file resides directly under the project

Re: Performance of workspace copy

2009-10-07 Thread Guo Du
On Wed, Oct 7, 2009 at 2:19 PM, sxm sx...@yahoo.com wrote: thanks Stefan, great suggestions. Could you please comment on [2] 1. I tried org.apache.jackrabbit.core.persistence.bundle.MySqlPersistenceManager, no visible performance improvement. 2. Binary data: We dont have any binary data.

Re: Performance of workspace copy

2009-10-07 Thread Guo Du
On Thu, Oct 8, 2009 at 12:12 AM, sxm sx...@yahoo.com wrote: Guo,   Avg time for copy is 250 msec per node which increases as total number of nodes copied increases. We use workspace.copy(fromNodePath, toNodePath)  for each node that need to be copied. The avg time spend on copy one node

Re: queries and nodes with large properties

2009-10-07 Thread Guo Du
On Thu, Oct 8, 2009 at 12:05 AM, Brian Wallis brian.wal...@infomedix.com.au wrote: Does Jackrabbit do this efficiently? Does it just fetch and return the expicitly requested properties of a node or will it load all of the node properties every time. Assume you will store the large binary file

Re: Fw: node versionning and children

2009-10-06 Thread Guo Du
On Tue, Oct 6, 2009 at 1:19 PM, Nicolas Brasseur nicolasbrass...@yahoo.com wrote: Ok, thanks for the answer. On last question: Does adding mix:versionable mixin force you to always checkin/checkout a node to modify it (and thus create a new version) or is it possible to modify such node

Re: Jackrabbit, Sling, JCR, Servlets learning path

2009-09-27 Thread Guo Du
On Sun, Sep 27, 2009 at 9:02 AM, Ian Boston i...@tfd.co.uk wrote: Probably the best thing to do, if you cant find the answer in documentation is to subscribe to d...@sling.apache.org and ask the question there. I would assume dev maillist is designed for people interested with sling

Re: Jackrabbit, Sling, JCR, Servlets learning path

2009-09-27 Thread Guo Du
On Sun, Sep 27, 2009 at 9:03 PM, Bertrand Delacretaz bdelacre...@apache.org wrote: There's no such list, see http://sling.apache.org/site/project-information.html#ProjectInformation-lists Users questions are welcome on the dev at sling.apache.org list. -Bertrand Thanks for the correction. I

Re: Jackrabbit Usage

2009-09-19 Thread Guo Du
On Sat, Sep 19, 2009 at 6:38 AM, Nitin Gupta nitin@srishtitechnet.com wrote: -          Simple HTTP access to my files so that I can publish them on my web pages -          Organization of files within a folder structure. Files will be of different projections, like Thumbnail etc.

Re: bug related to jackrabbit repository

2009-09-17 Thread Guo Du
On Thu, Sep 17, 2009 at 9:40 AM, simer anand simer.anan...@gmail.com wrote: the Tomcat and then log on to local../default/ then it don't ask for username and password and simply give access to repository. Now is it a behaviour of tomcat or there is some way to correct it.

Re: Can a node be shared by more than one parent.

2009-09-17 Thread Guo Du
On Thu, Sep 17, 2009 at 9:52 AM, Sunil Dhage sunil.dh...@coreobjects.com wrote: Hi, We have a requirement in which we need to have a node which can be accessed through two different parent nodes. If yes, can you provide an example. Alternative solutions are appreciated. e.g. You have

Re: Can a node be shared by more than one parent.

2009-09-17 Thread Guo Du
On Thu, Sep 17, 2009 at 10:48 AM, Alexander Klimetschek aklim...@day.com wrote: On Thu, Sep 17, 2009 at 11:16, Thomas Müller thomas.muel...@day.com wrote: Jackrabbit supports this, see the JCR 2.0 specification under 3.9 Shareable Nodes Model:

Re: bug related to jackrabbit repository

2009-09-17 Thread Guo Du
On Thu, Sep 17, 2009 at 11:54 AM, simer anand simer.anan...@gmail.com wrote: Hello Users,                           Yeah i started the browser again and still there exit exits the same problem no gui nothing simply giving access to the repository. Try a DIFFERENT browser which you didn't

Re: quick survey on schema less database usage

2009-09-11 Thread Guo Du
On Fri, Sep 11, 2009 at 8:26 AM, Ben Short b...@benshort.co.uk wrote: How come you are sending this to the JackRabbit userlist but don't have JackRabbit in the list for questions 5 and 6? Question 3 primary reasons for using it missing flexibility and productivity as well. -Guo

Re: Refresh problem

2009-09-11 Thread Guo Du
On Fri, Sep 11, 2009 at 3:05 PM, Marcel Reutegger marcel.reuteg...@gmx.net wrote: that's not quite correct. everything except text extraction is guaranteed to be indexed as soon as the save (or transaction commit) returns. Thanks for the knowledge! --Guo

Re: Confirming assumptions about transactional environment and session-handling

2009-09-10 Thread Guo Du
On Thu, Sep 10, 2009 at 2:43 PM, Alexander Klimetschek aklim...@day.com wrote: JCR is more designed to log in with the real users and not use a technical user like it's typical with relational databases. Security/Access control could be very complex in real life. Such as user may only able to

Re: Refresh problem

2009-09-08 Thread Guo Du
On Tue, Sep 8, 2009 at 10:25 AM, mitziuromitzi...@gmail.com wrote: After i'm changing the path with session.move, i'm doing a search with xPath. If i do the search in the next second after the event i don't see that node. If i refresh i see it. For 20+ nodes the situation is worse because i

Re: Jackrabbit JCR-RMI client sample code

2009-08-22 Thread Guo Du
On Sat, Aug 22, 2009 at 10:07 AM, kbarwhereisk...@gmail.com wrote: client code to show me how to actually talk to it. I am sure its all very simple, I am just new to Java since I am coming from 10 years of C++ and C#. Java/RMI just one way to access remote repository, you may using REST api to

Re: Where can download the jackrabbit client jars?

2009-08-21 Thread Guo Du
The last binary release of client is version 1.1.1 back to 2007 at http://repo1.maven.org/maven2/org/apache/jackrabbit/jackrabbit-jcr-client/ You may download source from http://www.apache.org/dist/jackrabbit/ and build the binary by yourself with command: mvn package Just found another

Re: How to delete transient repository?

2009-08-11 Thread Guo Du
I didn't see you closed the inputstream in createRepository() , might be a problem? --Guo On Mon, Aug 10, 2009 at 6:22 PM, Bear Gilesbgi...@coyotesong.com wrote: I forgot about the in-memory FS, time to check the Wiki My junit TestCase code follows.  The teardown method shuts down the

Re: JackRabbit 2.0 maven repository ?

2009-07-29 Thread Guo Du
On Wed, Jul 29, 2009 at 9:27 AM, Jukka Zittingjukka.zitt...@gmail.com wrote: For now you'll need to build and install the 2.0 alphas locally to depend on them. BR, Before it happens, a guide to how to deal with jcr-2.0 dependencies might be useful for dev. Just share my experience: Download

Re: Files Management

2009-07-24 Thread Guo Du
On Fri, Jul 24, 2009 at 11:10 AM, Alexander Klimetschekaklim...@day.com wrote: Guptanitin@srishtitechnet.com wrote: Currently I am making use of RDBMS to keep the binary content. But this approach may have performance limitations in production environment. So I was contemplating JCR based

Re: problem attaching InputStream to jcr:data

2009-06-14 Thread Guo Du
You may need to create the stream value before set the property: node.setProperty(jcr:data, session.getValueFactory().createValue(fileInputStream)); Good luck! On Sat, Jun 13, 2009 at 11:44 PM, Vibhu Sharma vi...@projectoffguard.comwrote: Hi, I have just downloaded the jackrabbit-1.5.5