How to use javax.jcr to get Repository

2008-09-24 Thread xing007008
Just have workspace and username password. -- View this message in context: http://www.nabble.com/How-to-use-javax.jcr-to-get-Repository-tp19642519p19642519.html Sent from the Jackrabbit - Dev mailing list archive at Nabble.com.

How to register Repository?

2008-09-23 Thread xing007008
I don't know how to register Repository. I want to write the RepositoryFactory using jsr 170 by myself. -- View this message in context: http://www.nabble.com/How-to-register-Repository--tp19640431p19640431.html Sent from the Jackrabbit - Dev mailing list archive at Nabble.com.

how to Connect to the Repository

2008-09-22 Thread xing007008
Connect to the Repository Acquire the Repository object: exact mechanism is outside spec, but one possible way: JNDI // Get the Repository object InitialContext ctx = Repository repository = (Repository)ctx.lookup(“MyRepository); I don't know how to get the Repository just use jsp170 api.

Re: how to Connect to the Repository

2008-09-22 Thread xing007008
) to the users list, the dev list is used for Jackrabbit development. On Mon, Sep 22, 2008 at 11:33 AM, xing007008 [EMAIL PROTECTED] wrote: Connect to the Repository Acquire the Repository object: exact mechanism is outside spec, but one possible way: JNDI // Get the Repository object

Re: how to Connect to the Repository

2008-09-22 Thread xing007008
HI, Can you help me about the demo just with jcr-1.0.jar. Thomas Müller-2 wrote: Hi, But I don't want to use jackrabbit. I want to just use jsr170 api(jcr-1.0.jar). How about the demo which just using jcr-1.0.jar? You can't. jcr-1.0.jar contains just the API (the interfaces). It is

Re: how to Connect to the Repository

2008-09-22 Thread xing007008
Hi I don't want to use Jackrabbit source code. I want to write code by myself. Do you have the simple demo? Thomas Müller-2 wrote: Hi, HI, Can you help me about the demo just with jcr-1.0.jar. Sorry, I don't understand what you with demo just with jcr-1.0.jar. Regards, Thomas

Re: how to Connect to the Repository

2008-09-22 Thread xing007008
ExistCredentials()); Node n = s.getRootNode(); .. . As others have said, this is an enormous undertaking, and one you probably are not interested in investing in. --dave - Original Message - From: xing007008 [EMAIL PROTECTED] To: dev@jackrabbit.apache.org Sent: Monday

Re: how to Connect to the Repository

2008-09-22 Thread xing007008
Yes. Now, I need to write the class ExistDBRespository(); Who can give me the demo? Dave Brosius-2 wrote: Nope, that's what you want to do. :)) good luck. - Original Message - From: xing007008 [EMAIL PROTECTED] To: dev@jackrabbit.apache.org Sent: Monday, September 22

Re: How to use jsr170 to write and read the eXist xml-db

2008-09-21 Thread xing007008
Yes, I can put a txt file into the eXist. And you can see the Image here: http://www.nabble.com/file/p19592833/testRepository.jpg Jukka Zitting wrote: Hi, On Sun, Sep 21, 2008 at 5:26 AM, xing007008 [EMAIL PROTECTED] wrote: First eXist is a xml database. I want to use the eXist in my

Re: How to use jsr170 to write and read the eXist xml-db

2008-09-21 Thread xing007008
Who can help me about the exception? -- View this message in context: http://www.nabble.com/How-to-use-jsr170-to-write-and-read-the-eXist-xml-db-tp19591199p19600920.html Sent from the Jackrabbit - Dev mailing list archive at Nabble.com.

How to use the Jackrabbit org.apache.jackrabbit.rmi.server

2008-09-21 Thread xing007008
Who can give me an easy example? -- View this message in context: http://www.nabble.com/How-to-use-the-Jackrabbit-org.apache.jackrabbit.rmi.server-tp19601375p19601375.html Sent from the Jackrabbit - Dev mailing list archive at Nabble.com.

How to fix the error

2008-09-20 Thread xing007008
ERROR: java.lang.NoSuchMethodError: org.apache.lucene.store.FSDirectory.getDirectory(Ljava/io/File;Lorg/apache/lucene/store/LockFactory;)Lorg/apache/lucene/store/FSDirectory; at org.apache.jackrabbit.core.query.lucene.PersistentIndex.(PersistentIndex.java:63) at

Re: Help required to write JSR 170 connector

2008-09-20 Thread xing007008
That is the right code which i need. :jumping: Yamini Kumar, Noida wrote: Hi, My objective is to standardize the access (read/write or both) to data content in data sources like a database (MySQL) and any other content repository that is not JSR 170 compliant like Open CMS, live link

Re: How to use jsr170 to write and read the eXist xml-db

2008-09-20 Thread xing007008
that implements javax.jcr.Repository. This is the starting point. As you implement this class, you will need to implement lots of other classes, to satisfy the interface. But that should drive your understanding of what you need to do. --dave - Original Message - From: xing007008 [EMAIL