searching a binary content

2006-10-05 Thread Shanmugam Gopal
All, How do we search a particular keyword in binary content. I have file nodes in my repository which contains XML, pdf and .doc files etc. I want to search these nodes using some keywords in the binary content. Can anyone provide some sample code for this ?? Regards, Shan

Re: Multiple workspaces and custom node registeration

2006-09-03 Thread Shanmugam Gopal
the same? Regards, Shanmugam G From: "Stefan Guggisberg" <[EMAIL PROTECTED]> Reply-To: users@jackrabbit.apache.org To: users@jackrabbit.apache.org Subject: Re: Multiple workspaces and custom node registeration Date: Sun, 3 Sep 2006 10:36:38 +0200 On 9/2/06, Shanmugam Gopal &

Multiple workspaces and custom node registeration

2006-09-02 Thread Shanmugam Gopal
Hi, 1)How can we create multiple workspaces during repository startup?. Is there any provision in repository.xml ? 2)Can we register custom node types during reposiotry startup? Let us say I have two workspaces in repository and I want to register the custom node types in both the workspaces d

Re: Dreamweaver to jackrabbit

2006-09-01 Thread Shanmugam Gopal
Hi, I also faced the same problem while working in Dreamweaver with Jackrabbit repository. 1) Finally is it possible to use jackrabbit(1.0.1 war distribution) repository with Dreamweaver through webdav protocol for operation like "CHECKIN" AND "CHECKOUT". ? Is problem with Dreamweav

Re: FW: Custom Node Types XML

2006-08-29 Thread Shanmugam Gopal
he.org To: users@jackrabbit.apache.org Subject: Re: FW: Custom Node Types XML Date: Fri, 25 Aug 2006 16:40:11 +0200 On 8/25/06, Shanmugam Gopal <[EMAIL PROTECTED]> wrote: Hai, Yeah..I edited Custom_nodetypes.xml and put that configuration. Ok..I learned from jackrabbit.apache.org that we n

Re: FW: Custom Node Types XML

2006-08-25 Thread Shanmugam Gopal
ply-To: users@jackrabbit.apache.org To: users@jackrabbit.apache.org Subject: Re: FW: Custom Node Types XML Date: Thu, 24 Aug 2006 15:39:58 +0200 On 8/24/06, Shanmugam Gopal <[EMAIL PROTECTED]> wrote: Hi, I am trying to create a custom node by extending nt:resource so that I can add som

jackrabbit repository and Database distributed transaction

2006-08-24 Thread Shanmugam Gopal
All, I am trying to insert a record into DB and insert a node in Jackrabbit repository in a single transaction. I am using Spring module's JCR support for accessing the repository and HibernateDAOSupport for accessing the Database. If there is any exception while accessing the repository, bo

How to check in a file node ??

2006-08-24 Thread Shanmugam Gopal
Hai, I have created a file node as below. File file = new File("C:\\gif\\Hello.html"); MimeTable mt = MimeTable.getDefaultTable(); String mimeType = mt.getContentTypeFor(file.getName()); if (mimeType == null) { mimeType = "application/octet-stream";

FW: Custom Node Types XML

2006-08-24 Thread Shanmugam Gopal
Hi, I am trying to create a custom node by extending nt:resource so that I can add some custom properties to that node. Following is the Custom_nodetypes.xml configuration. http://www.jcp.org/jcr/nt/1.0"; xmlns:jcr="http://www.jcp.org/jcr/1.0"; xmlns:rep="internal" xmlns:sv="http://www.jcp.

Re: File node - Version History

2006-08-23 Thread Shanmugam Gopal
be put into the version storage as well. regards marcel Shanmugam Gopal wrote: Hi, I have created a file node in repository. Different users can check out and check in this file. At any point of time, I should get the version history like version name, version created time and the user

RE: File node - Version History

2006-08-22 Thread Shanmugam Gopal
d for this ?? From: "Shanmugam Gopal" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Subject: file node Date: Mon, 21 Aug 2006 18:59:20 +0530 File file = new File("C:\\gif\\bea.gif"); MimeTable mt = MimeTable.getDefaultTable(); String mi

File node - Version History

2006-08-21 Thread Shanmugam Gopal
d for this ?? From: "Shanmugam Gopal" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Subject: file node Date: Mon, 21 Aug 2006 18:59:20 +0530 File file = new File("C:\\gif\\bea.gif"); MimeTable mt = MimeTable.getDefaultTable(); String mi

Jackrabbit Model 3 Deployement

2006-08-10 Thread Shanmugam Gopal
Hi, JCR-RMI javadocs for instructions on how to setup JCR-RMI server is not available in the site http://jackrabbit.apache.org/doc/deploy/howto-model3.html. Any other documents available or Any one of you can upload the docs in apache site. Regards, Shan ___

jackrabbit-server-1.0.1.war distribution

2006-08-09 Thread Shanmugam Gopal
All, What are all the functionalities supported by this jackrabbit-server-1.0.1.war distribution. By deploying this war file, can we perform checkin/checkout from webdav client. Otherwise is this only a reference implementation ? Regards, Shan

Spring distributed transaction - Jackrabbit repository with Database

2006-08-09 Thread Shanmugam Gopal
All, I have configured my Jackrabbit repository using Spring Module 0.5 In a single transaction, I have to do some operation in database and jackrabbit repository as well. I am using Spring's HibernateDAO for database access and JcrDAOSupport for accessing jackrabbit repository. How to cont

Jackrabbit Model 2 Deployment in weblogic server

2006-08-01 Thread Shanmugam Gopal
Hi, I want to do Jackrabbit Model 2 deployment in Weblogic server. How to do the same Tomcat server.xml configurations in Weblogic Server ? Is there any documents available ? Regards, Shanmugam G _ How good are you in a Formula On

Jackrabbit Model 2 Deployment in Tomcat 5.5.17

2006-07-25 Thread Shanmugam Gopal
Hi, I am trying for Model 2 deployment of Jackrabbit repository in Tomcat 5.5.17 I am getting java.lang.ClassCastException: org.apache.jackrabbit.core.jndi.BindableRepository exception when I try to cast the looked up repository to javax.jcr.Repository. The object returned is a BindableRepos

Accessing Jackrabbit repository from webDAV Client

2006-07-20 Thread Shanmugam Gopal
When I tried to do checkin/checkout operations into the jcr, with Dreamweaver 8 as the WebDAV client, there was a lock Exception, Due to this I was unable to complete my operation.The lock exception occured in the DavResourceImpl class in the package org.apache.jackrabbit.webdav.simple. When I w

Unable to check in file from webdav client to Jackrabbit repository.

2006-07-13 Thread Shanmugam Gopal
All, I have deployed jackrabbit web application in Tomcat 5.5 with JDK 1.4.2. Now I am trying to access the repository from webDAV Client - Dreamweaver and able to get the repository structure in File Browser(using Manage Site options). 1. I created a folder in the repository(right click - Ne

Re: Internationalization support in Jackrabbit

2006-07-13 Thread Shanmugam Gopal
Hi, I am trying to create a node in Chinese Language. I have a JSP page in my application which gets the node name from user and creates a node in Jackrabbit repository. I am using Jackrabbit1.0.1 distribution. Suppose the user enters the node name in Chinese language, the node got created i

RE: JackRabbit - Tomcat two problems

2006-07-13 Thread Shanmugam Gopal
Hi, I have also faced the first problem what you have mentioned. I got an error like "immature end of ile". But when I deployed the same in another machine with JDK 1,4 it works fine. Regards, Shan From: "Milan Trajkovic" <[EMAIL PROTECTED]> Reply-To: users@jackrabbit.apache.org To: users

Re: WebDav Client Example

2006-07-13 Thread Shanmugam Gopal
Hi, Once the web application is deployed in Tomcat, It will configure the repository under ../bin/jackrabit with the workspace called "default". If you want to programatically add noes or files, 1) Can get the repository by using the code given below(RepositoryAccessServlet) 2) Using Jackrab

Unable to checkout/checkin file from Jackrabbit repository using Dreamweaver

2006-07-01 Thread Shanmugam Gopal
Dear All, Using Dreamweaver Manage site options, I am able to access Jackrabbit repository. I am getting the repository content correctly. But, while trying to checkout/checkin, it's not happening properly. After making some changes to the file which is checked out, I am trying to checkin the

Unable to Checkin file to Jackrabbit repository from webdav Client

2006-07-01 Thread Shanmugam Gopal
Dear All, I have configured my Dreamweaver to access Jackravbbit repository using Mangaesite Options. Here are the activities I have done...! Let us say I have a folder called "Sample" in Jackrabbit repository 1) Checked out Sample folde to my local folder(Say D:\LocalRepository) using check

Accessing Jackrabbit repository from WebDAV Client(Dreamweaver, FrontPage 2003)

2006-07-01 Thread Shanmugam Gopal
Dear All, I am trying to access jackrabbit repository from Microsoft FrontPage 2003 through the remote website option. But after giving the correct URL, username and password, the remote website doesn't display the repository contents. But the same works fine for Macromedia Dreamweaver 8. Ca

Jackrabbit physical folder

2006-06-17 Thread Shanmugam Gopal
Dear All, Is there any configuration available in Jackrabbit so that the physical folders created under repository folder will have the same name as given node name.. For ex: instead of creating the folders like 01, 02..etc the folders needs to be created by the node name as well. Regards,