You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@jackrabbit.apache.org by Nithya Mani <ni...@webmethods.com> on 2007/02/05 08:32:06 UTC

RE: Anyone using JCR Browser???

Hi,

I am using JCR browser 0.9 Eclipse plug-in with jackrabbit-core-1.0.jar. I
tried with the local jackrabbit repository. There is a problem during login.
I have set only 'userid' as user name for Simple Credentials of JCR browser.
It doesn't throw any error message. It just says '-1:-1:-1'. 

It was not possible to login. Please check the credentials.
-1: -1: -1

What does the meaning of this message? Here is the repository.xml file I am
using. 

<Repository>
    <FileSystem class="org.apache.jackrabbit.core.fs.local.LocalFileSystem">
        <param name="path" value="${rep.home}/repository"/>
    </FileSystem>
  
    <Security appName="Jackrabbit">
        <AccessManager
class="org.apache.jackrabbit.core.security.SimpleAccessManager">

        </AccessManager>

        <LoginModule
class="org.apache.jackrabbit.core.security.SimpleLoginModule">
          
        </LoginModule>
    </Security>

    <Workspaces rootPath="${rep.home}/workspaces"
defaultWorkspace="default"/>
    <Workspace name="${wsp.name}">
        <FileSystem
class="org.apache.jackrabbit.core.fs.local.LocalFileSystem">
            <param name="path" value="${wsp.home}"/>
        </FileSystem>
        <PersistenceManager
class="org.apache.jackrabbit.core.state.db.SimpleDbPersistenceManager">
		   <param name="driver"
value="oracle.jdbc.driver.OracleDriver"/>
		   <param name="url"
value="jdbc:oracle:thin:@xxxx:1521:orcl"/>
		   <param name="user" value="nithya"/>
		   <param name="password" value="nithya"/>
		   <param name="schema" value="oracle"/>
		   <param name="schemaObjectPrefix" value="${wsp.name}_"/>
		   <param name="externalBLOBs" value="false"/>
	   </PersistenceManager>
        <SearchIndex
class="org.apache.jackrabbit.core.query.lucene.SearchIndex">
            <param name="path" value="${wsp.home}/index"/>
        </SearchIndex>
    </Workspace>

    <!--
        Configures the versioning
    -->
    <Versioning rootPath="${rep.home}/version">       
        <FileSystem
class="org.apache.jackrabbit.core.fs.local.LocalFileSystem">
            <param name="path" value="${rep.home}/version" />
        </FileSystem>        

        <PersistenceManager
class="org.apache.jackrabbit.core.state.db.SimpleDbPersistenceManager">
		   <param name="driver"
value="oracle.jdbc.driver.OracleDriver"/>
		   <param name="url"
value="jdbc:oracle:thin:@blizzard:1521:orcl"/>
		   <param name="user" value="nithya_registry"/>
		   <param name="password" value="nithya"/>
		   <param name="schema" value="oracle"/>
		   <param name="schemaObjectPrefix" value="version_"/>
		   <param name="externalBLOBs" value="false"/>
	   </PersistenceManager>

    </Versioning>

    <SearchIndex
class="org.apache.jackrabbit.core.query.lucene.SearchIndex">
        <param name="path" value="${rep.home}/repository/index"/>
    </SearchIndex>
</Repository>

Am I missing anything? 

Regards,

Nithya Mani
Senior Developer, webMethods
nithya@webmethods.com
IM: nithya_infravio (Yahoo)
	
	
		

-----Original Message-----
From: Sandro Boehme [mailto:sandro.boehme@inovex.de] 
Sent: Thursday, January 25, 2007 3:14 PM
To: users@jackrabbit.apache.org
Subject: Re: Anyone using JCR Browser?

Hi Waldemar,

you are right the local repository (deployment model 1) connection of
the JCR Browser uses the Jackrabbit 1.0 libraries in the Eclipse
classpath. But the Eclipse plugin classpath is not configurable at
runtime. This means you cannot change to a newer Jackrabbit version by
design while using the local repository connection of the JCR Browser.

But you can use the remote repository (deployment model 3) connection
method of the JCR Browser to connect to a repository version of your
choice. You will find a short how-to in the ReadMeFirst.txt file of the
JCR Browser distribution. If I can help you any further you can either
ask in the mailing list of the JCR Browser or here and I will help you
get it running.

Best regards,

Sandro

-- 
https://www.xing.com/profile/Sandro_Boehme
http://www.linkedin.com/in/sandroboehme
http://www.wingsuit.de 

Re: Anyone using JCR Browser???

Posted by avim <av...@timetoknow.org>.
It's not gonna work, cause jackrabbit's api and hierarchy(CD) has been
slightly changed.
Unfortunately these tools are not "pure JCR" and have code dependencies on
jackrabbit...


Sandro Böhme wrote:
> 
> Glaucio Scheibel schrieb:
>> I change the jars from JCR browser and it works, only disconnecting is 
>> still freezing (I have to quit eclipse to do this).
> I'm already in the process to test the update of the local repository 
> connector to Jackrabbit 1.2.1 and experienced the same behavior. The 
> call to repository.shutdown() 
> (http://jackrabbit.apache.org/api-1/org/apache/jackrabbit/core/RepositoryImpl.html#shutdown()) 
> never comes back. I will go into the details to find out, what the 
> reason is as soon as I have the time.
> 
> Regards,
> 
> Sandro
> 
>> 
>> Glaucio
>> 
>> avim wrote:
>>> The reason is lucene & indexes.
>>> If the repository was touched by 1.2.1, in order to access it by JCR 
>>> browser
>>> or jackrabbit viewer you must delete the indexes manually(every time!):
>>> repository/index, workspaces/default/index etc.
>>> Not such a good idea, but it works...
>>> I hope these tools will be upgraded soon...
>>> Does any one know alternative tools?
>>>
>>>
>>> Nithya Mani wrote:
>>>  
>>>> Hi,
>>>>
>>>> I am using JCR browser 0.9 Eclipse plug-in with 
>>>> jackrabbit-core-1.0.jar. I
>>>> tried with the local jackrabbit repository. There is a problem during
>>>> login.
>>>> I have set only 'userid' as user name for Simple Credentials of JCR
>>>> browser.
>>>> It doesn't throw any error message. It just says '-1:-1:-1'.
>>>> It was not possible to login. Please check the credentials.
>>>> -1: -1: -1
>>>>
>>>> What does the meaning of this message? Here is the repository.xml file
>>>> I
>>>> am
>>>> using.
>>>> <Repository>
>>>>     <FileSystem
>>>> class="org.apache.jackrabbit.core.fs.local.LocalFileSystem">
>>>>         <param name="path" value="${rep.home}/repository"/>
>>>>     </FileSystem>
>>>>       <Security appName="Jackrabbit">
>>>>         <AccessManager
>>>> class="org.apache.jackrabbit.core.security.SimpleAccessManager">
>>>>
>>>>         </AccessManager>
>>>>
>>>>         <LoginModule
>>>> class="org.apache.jackrabbit.core.security.SimpleLoginModule">
>>>>                   </LoginModule>
>>>>     </Security>
>>>>
>>>>     <Workspaces rootPath="${rep.home}/workspaces"
>>>> defaultWorkspace="default"/>
>>>>     <Workspace name="${wsp.name}">
>>>>         <FileSystem
>>>> class="org.apache.jackrabbit.core.fs.local.LocalFileSystem">
>>>>             <param name="path" value="${wsp.home}"/>
>>>>         </FileSystem>
>>>>         <PersistenceManager
>>>> class="org.apache.jackrabbit.core.state.db.SimpleDbPersistenceManager">
>>>>            <param name="driver"
>>>> value="oracle.jdbc.driver.OracleDriver"/>
>>>>            <param name="url"
>>>> value="jdbc:oracle:thin:@xxxx:1521:orcl"/>
>>>>            <param name="user" value="nithya"/>
>>>>            <param name="password" value="nithya"/>
>>>>            <param name="schema" value="oracle"/>
>>>>            <param name="schemaObjectPrefix" value="${wsp.name}_"/>
>>>>            <param name="externalBLOBs" value="false"/>
>>>>        </PersistenceManager>
>>>>         <SearchIndex
>>>> class="org.apache.jackrabbit.core.query.lucene.SearchIndex">
>>>>             <param name="path" value="${wsp.home}/index"/>
>>>>         </SearchIndex>
>>>>     </Workspace>
>>>>
>>>>     <!--
>>>>         Configures the versioning
>>>>     -->
>>>>     <Versioning rootPath="${rep.home}/version">               
>>>> <FileSystem
>>>> class="org.apache.jackrabbit.core.fs.local.LocalFileSystem">
>>>>             <param name="path" value="${rep.home}/version" />
>>>>         </FileSystem>       
>>>>         <PersistenceManager
>>>> class="org.apache.jackrabbit.core.state.db.SimpleDbPersistenceManager">
>>>>            <param name="driver"
>>>> value="oracle.jdbc.driver.OracleDriver"/>
>>>>            <param name="url"
>>>> value="jdbc:oracle:thin:@blizzard:1521:orcl"/>
>>>>            <param name="user" value="nithya_registry"/>
>>>>            <param name="password" value="nithya"/>
>>>>            <param name="schema" value="oracle"/>
>>>>            <param name="schemaObjectPrefix" value="version_"/>
>>>>            <param name="externalBLOBs" value="false"/>
>>>>        </PersistenceManager>
>>>>
>>>>     </Versioning>
>>>>
>>>>     <SearchIndex
>>>> class="org.apache.jackrabbit.core.query.lucene.SearchIndex">
>>>>         <param name="path" value="${rep.home}/repository/index"/>
>>>>     </SearchIndex>
>>>> </Repository>
>>>>
>>>> Am I missing anything?
>>>> Regards,
>>>>
>>>> Nithya Mani
>>>> Senior Developer, webMethods
>>>> nithya@webmethods.com
>>>> IM: nithya_infravio (Yahoo)
>>>>     
>>>>     
>>>>        
>>>>
>>>> -----Original Message-----
>>>> From: Sandro Boehme [mailto:sandro.boehme@inovex.de] Sent: Thursday, 
>>>> January 25, 2007 3:14 PM
>>>> To: users@jackrabbit.apache.org
>>>> Subject: Re: Anyone using JCR Browser?
>>>>
>>>> Hi Waldemar,
>>>>
>>>> you are right the local repository (deployment model 1) connection of
>>>> the JCR Browser uses the Jackrabbit 1.0 libraries in the Eclipse
>>>> classpath. But the Eclipse plugin classpath is not configurable at
>>>> runtime. This means you cannot change to a newer Jackrabbit version by
>>>> design while using the local repository connection of the JCR Browser.
>>>>
>>>> But you can use the remote repository (deployment model 3) connection
>>>> method of the JCR Browser to connect to a repository version of your
>>>> choice. You will find a short how-to in the ReadMeFirst.txt file of the
>>>> JCR Browser distribution. If I can help you any further you can either
>>>> ask in the mailing list of the JCR Browser or here and I will help you
>>>> get it running.
>>>>
>>>> Best regards,
>>>>
>>>> Sandro
>>>>
>>>> -- 
>>>> https://www.xing.com/profile/Sandro_Boehme
>>>> http://www.linkedin.com/in/sandroboehme
>>>> http://www.wingsuit.de
>>>>
>>>>     
>>>
>>>   
>> 
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/RE%3A-Anyone-using-JCR-Browser----tf3172922.html#a8825896
Sent from the Jackrabbit - Users mailing list archive at Nabble.com.


Re: Anyone using JCR Browser???

Posted by Sandro Böhme <sa...@gmx.de>.
Glaucio Scheibel schrieb:
> I change the jars from JCR browser and it works, only disconnecting is 
> still freezing (I have to quit eclipse to do this).
I'm already in the process to test the update of the local repository 
connector to Jackrabbit 1.2.1 and experienced the same behavior. The 
call to repository.shutdown() 
(http://jackrabbit.apache.org/api-1/org/apache/jackrabbit/core/RepositoryImpl.html#shutdown()) 
never comes back. I will go into the details to find out, what the 
reason is as soon as I have the time.

Regards,

Sandro

> 
> Glaucio
> 
> avim wrote:
>> The reason is lucene & indexes.
>> If the repository was touched by 1.2.1, in order to access it by JCR 
>> browser
>> or jackrabbit viewer you must delete the indexes manually(every time!):
>> repository/index, workspaces/default/index etc.
>> Not such a good idea, but it works...
>> I hope these tools will be upgraded soon...
>> Does any one know alternative tools?
>>
>>
>> Nithya Mani wrote:
>>  
>>> Hi,
>>>
>>> I am using JCR browser 0.9 Eclipse plug-in with 
>>> jackrabbit-core-1.0.jar. I
>>> tried with the local jackrabbit repository. There is a problem during
>>> login.
>>> I have set only 'userid' as user name for Simple Credentials of JCR
>>> browser.
>>> It doesn't throw any error message. It just says '-1:-1:-1'.
>>> It was not possible to login. Please check the credentials.
>>> -1: -1: -1
>>>
>>> What does the meaning of this message? Here is the repository.xml file I
>>> am
>>> using.
>>> <Repository>
>>>     <FileSystem
>>> class="org.apache.jackrabbit.core.fs.local.LocalFileSystem">
>>>         <param name="path" value="${rep.home}/repository"/>
>>>     </FileSystem>
>>>       <Security appName="Jackrabbit">
>>>         <AccessManager
>>> class="org.apache.jackrabbit.core.security.SimpleAccessManager">
>>>
>>>         </AccessManager>
>>>
>>>         <LoginModule
>>> class="org.apache.jackrabbit.core.security.SimpleLoginModule">
>>>                   </LoginModule>
>>>     </Security>
>>>
>>>     <Workspaces rootPath="${rep.home}/workspaces"
>>> defaultWorkspace="default"/>
>>>     <Workspace name="${wsp.name}">
>>>         <FileSystem
>>> class="org.apache.jackrabbit.core.fs.local.LocalFileSystem">
>>>             <param name="path" value="${wsp.home}"/>
>>>         </FileSystem>
>>>         <PersistenceManager
>>> class="org.apache.jackrabbit.core.state.db.SimpleDbPersistenceManager">
>>>            <param name="driver"
>>> value="oracle.jdbc.driver.OracleDriver"/>
>>>            <param name="url"
>>> value="jdbc:oracle:thin:@xxxx:1521:orcl"/>
>>>            <param name="user" value="nithya"/>
>>>            <param name="password" value="nithya"/>
>>>            <param name="schema" value="oracle"/>
>>>            <param name="schemaObjectPrefix" value="${wsp.name}_"/>
>>>            <param name="externalBLOBs" value="false"/>
>>>        </PersistenceManager>
>>>         <SearchIndex
>>> class="org.apache.jackrabbit.core.query.lucene.SearchIndex">
>>>             <param name="path" value="${wsp.home}/index"/>
>>>         </SearchIndex>
>>>     </Workspace>
>>>
>>>     <!--
>>>         Configures the versioning
>>>     -->
>>>     <Versioning rootPath="${rep.home}/version">               
>>> <FileSystem
>>> class="org.apache.jackrabbit.core.fs.local.LocalFileSystem">
>>>             <param name="path" value="${rep.home}/version" />
>>>         </FileSystem>       
>>>         <PersistenceManager
>>> class="org.apache.jackrabbit.core.state.db.SimpleDbPersistenceManager">
>>>            <param name="driver"
>>> value="oracle.jdbc.driver.OracleDriver"/>
>>>            <param name="url"
>>> value="jdbc:oracle:thin:@blizzard:1521:orcl"/>
>>>            <param name="user" value="nithya_registry"/>
>>>            <param name="password" value="nithya"/>
>>>            <param name="schema" value="oracle"/>
>>>            <param name="schemaObjectPrefix" value="version_"/>
>>>            <param name="externalBLOBs" value="false"/>
>>>        </PersistenceManager>
>>>
>>>     </Versioning>
>>>
>>>     <SearchIndex
>>> class="org.apache.jackrabbit.core.query.lucene.SearchIndex">
>>>         <param name="path" value="${rep.home}/repository/index"/>
>>>     </SearchIndex>
>>> </Repository>
>>>
>>> Am I missing anything?
>>> Regards,
>>>
>>> Nithya Mani
>>> Senior Developer, webMethods
>>> nithya@webmethods.com
>>> IM: nithya_infravio (Yahoo)
>>>     
>>>     
>>>        
>>>
>>> -----Original Message-----
>>> From: Sandro Boehme [mailto:sandro.boehme@inovex.de] Sent: Thursday, 
>>> January 25, 2007 3:14 PM
>>> To: users@jackrabbit.apache.org
>>> Subject: Re: Anyone using JCR Browser?
>>>
>>> Hi Waldemar,
>>>
>>> you are right the local repository (deployment model 1) connection of
>>> the JCR Browser uses the Jackrabbit 1.0 libraries in the Eclipse
>>> classpath. But the Eclipse plugin classpath is not configurable at
>>> runtime. This means you cannot change to a newer Jackrabbit version by
>>> design while using the local repository connection of the JCR Browser.
>>>
>>> But you can use the remote repository (deployment model 3) connection
>>> method of the JCR Browser to connect to a repository version of your
>>> choice. You will find a short how-to in the ReadMeFirst.txt file of the
>>> JCR Browser distribution. If I can help you any further you can either
>>> ask in the mailing list of the JCR Browser or here and I will help you
>>> get it running.
>>>
>>> Best regards,
>>>
>>> Sandro
>>>
>>> -- 
>>> https://www.xing.com/profile/Sandro_Boehme
>>> http://www.linkedin.com/in/sandroboehme
>>> http://www.wingsuit.de
>>>
>>>     
>>
>>   
> 


Re: Anyone using JCR Browser???

Posted by Glaucio Scheibel <gl...@datasul.com.br>.
I change the jars from JCR browser and it works, only disconnecting is 
still freezing (I have to quit eclipse to do this).

Glaucio

avim wrote:
> The reason is lucene & indexes.
> If the repository was touched by 1.2.1, in order to access it by JCR browser
> or jackrabbit viewer you must delete the indexes manually(every time!):
> repository/index, workspaces/default/index etc.
> Not such a good idea, but it works...
> I hope these tools will be upgraded soon...
> Does any one know alternative tools?
>
>
> Nithya Mani wrote:
>   
>> Hi,
>>
>> I am using JCR browser 0.9 Eclipse plug-in with jackrabbit-core-1.0.jar. I
>> tried with the local jackrabbit repository. There is a problem during
>> login.
>> I have set only 'userid' as user name for Simple Credentials of JCR
>> browser.
>> It doesn't throw any error message. It just says '-1:-1:-1'. 
>>
>> It was not possible to login. Please check the credentials.
>> -1: -1: -1
>>
>> What does the meaning of this message? Here is the repository.xml file I
>> am
>> using. 
>>
>> <Repository>
>>     <FileSystem
>> class="org.apache.jackrabbit.core.fs.local.LocalFileSystem">
>>         <param name="path" value="${rep.home}/repository"/>
>>     </FileSystem>
>>   
>>     <Security appName="Jackrabbit">
>>         <AccessManager
>> class="org.apache.jackrabbit.core.security.SimpleAccessManager">
>>
>>         </AccessManager>
>>
>>         <LoginModule
>> class="org.apache.jackrabbit.core.security.SimpleLoginModule">
>>           
>>         </LoginModule>
>>     </Security>
>>
>>     <Workspaces rootPath="${rep.home}/workspaces"
>> defaultWorkspace="default"/>
>>     <Workspace name="${wsp.name}">
>>         <FileSystem
>> class="org.apache.jackrabbit.core.fs.local.LocalFileSystem">
>>             <param name="path" value="${wsp.home}"/>
>>         </FileSystem>
>>         <PersistenceManager
>> class="org.apache.jackrabbit.core.state.db.SimpleDbPersistenceManager">
>> 		   <param name="driver"
>> value="oracle.jdbc.driver.OracleDriver"/>
>> 		   <param name="url"
>> value="jdbc:oracle:thin:@xxxx:1521:orcl"/>
>> 		   <param name="user" value="nithya"/>
>> 		   <param name="password" value="nithya"/>
>> 		   <param name="schema" value="oracle"/>
>> 		   <param name="schemaObjectPrefix" value="${wsp.name}_"/>
>> 		   <param name="externalBLOBs" value="false"/>
>> 	   </PersistenceManager>
>>         <SearchIndex
>> class="org.apache.jackrabbit.core.query.lucene.SearchIndex">
>>             <param name="path" value="${wsp.home}/index"/>
>>         </SearchIndex>
>>     </Workspace>
>>
>>     <!--
>>         Configures the versioning
>>     -->
>>     <Versioning rootPath="${rep.home}/version">       
>>         <FileSystem
>> class="org.apache.jackrabbit.core.fs.local.LocalFileSystem">
>>             <param name="path" value="${rep.home}/version" />
>>         </FileSystem>        
>>
>>         <PersistenceManager
>> class="org.apache.jackrabbit.core.state.db.SimpleDbPersistenceManager">
>> 		   <param name="driver"
>> value="oracle.jdbc.driver.OracleDriver"/>
>> 		   <param name="url"
>> value="jdbc:oracle:thin:@blizzard:1521:orcl"/>
>> 		   <param name="user" value="nithya_registry"/>
>> 		   <param name="password" value="nithya"/>
>> 		   <param name="schema" value="oracle"/>
>> 		   <param name="schemaObjectPrefix" value="version_"/>
>> 		   <param name="externalBLOBs" value="false"/>
>> 	   </PersistenceManager>
>>
>>     </Versioning>
>>
>>     <SearchIndex
>> class="org.apache.jackrabbit.core.query.lucene.SearchIndex">
>>         <param name="path" value="${rep.home}/repository/index"/>
>>     </SearchIndex>
>> </Repository>
>>
>> Am I missing anything? 
>>
>> Regards,
>>
>> Nithya Mani
>> Senior Developer, webMethods
>> nithya@webmethods.com
>> IM: nithya_infravio (Yahoo)
>> 	
>> 	
>> 		
>>
>> -----Original Message-----
>> From: Sandro Boehme [mailto:sandro.boehme@inovex.de] 
>> Sent: Thursday, January 25, 2007 3:14 PM
>> To: users@jackrabbit.apache.org
>> Subject: Re: Anyone using JCR Browser?
>>
>> Hi Waldemar,
>>
>> you are right the local repository (deployment model 1) connection of
>> the JCR Browser uses the Jackrabbit 1.0 libraries in the Eclipse
>> classpath. But the Eclipse plugin classpath is not configurable at
>> runtime. This means you cannot change to a newer Jackrabbit version by
>> design while using the local repository connection of the JCR Browser.
>>
>> But you can use the remote repository (deployment model 3) connection
>> method of the JCR Browser to connect to a repository version of your
>> choice. You will find a short how-to in the ReadMeFirst.txt file of the
>> JCR Browser distribution. If I can help you any further you can either
>> ask in the mailing list of the JCR Browser or here and I will help you
>> get it running.
>>
>> Best regards,
>>
>> Sandro
>>
>> -- 
>> https://www.xing.com/profile/Sandro_Boehme
>> http://www.linkedin.com/in/sandroboehme
>> http://www.wingsuit.de 
>>
>>
>>     
>
>   

RE: Anyone using JCR Browser???

Posted by avim <av...@timetoknow.org>.
The reason is lucene & indexes.
If the repository was touched by 1.2.1, in order to access it by JCR browser
or jackrabbit viewer you must delete the indexes manually(every time!):
repository/index, workspaces/default/index etc.
Not such a good idea, but it works...
I hope these tools will be upgraded soon...
Does any one know alternative tools?


Nithya Mani wrote:
> 
> Hi,
> 
> I am using JCR browser 0.9 Eclipse plug-in with jackrabbit-core-1.0.jar. I
> tried with the local jackrabbit repository. There is a problem during
> login.
> I have set only 'userid' as user name for Simple Credentials of JCR
> browser.
> It doesn't throw any error message. It just says '-1:-1:-1'. 
> 
> It was not possible to login. Please check the credentials.
> -1: -1: -1
> 
> What does the meaning of this message? Here is the repository.xml file I
> am
> using. 
> 
> <Repository>
>     <FileSystem
> class="org.apache.jackrabbit.core.fs.local.LocalFileSystem">
>         <param name="path" value="${rep.home}/repository"/>
>     </FileSystem>
>   
>     <Security appName="Jackrabbit">
>         <AccessManager
> class="org.apache.jackrabbit.core.security.SimpleAccessManager">
> 
>         </AccessManager>
> 
>         <LoginModule
> class="org.apache.jackrabbit.core.security.SimpleLoginModule">
>           
>         </LoginModule>
>     </Security>
> 
>     <Workspaces rootPath="${rep.home}/workspaces"
> defaultWorkspace="default"/>
>     <Workspace name="${wsp.name}">
>         <FileSystem
> class="org.apache.jackrabbit.core.fs.local.LocalFileSystem">
>             <param name="path" value="${wsp.home}"/>
>         </FileSystem>
>         <PersistenceManager
> class="org.apache.jackrabbit.core.state.db.SimpleDbPersistenceManager">
> 		   <param name="driver"
> value="oracle.jdbc.driver.OracleDriver"/>
> 		   <param name="url"
> value="jdbc:oracle:thin:@xxxx:1521:orcl"/>
> 		   <param name="user" value="nithya"/>
> 		   <param name="password" value="nithya"/>
> 		   <param name="schema" value="oracle"/>
> 		   <param name="schemaObjectPrefix" value="${wsp.name}_"/>
> 		   <param name="externalBLOBs" value="false"/>
> 	   </PersistenceManager>
>         <SearchIndex
> class="org.apache.jackrabbit.core.query.lucene.SearchIndex">
>             <param name="path" value="${wsp.home}/index"/>
>         </SearchIndex>
>     </Workspace>
> 
>     <!--
>         Configures the versioning
>     -->
>     <Versioning rootPath="${rep.home}/version">       
>         <FileSystem
> class="org.apache.jackrabbit.core.fs.local.LocalFileSystem">
>             <param name="path" value="${rep.home}/version" />
>         </FileSystem>        
> 
>         <PersistenceManager
> class="org.apache.jackrabbit.core.state.db.SimpleDbPersistenceManager">
> 		   <param name="driver"
> value="oracle.jdbc.driver.OracleDriver"/>
> 		   <param name="url"
> value="jdbc:oracle:thin:@blizzard:1521:orcl"/>
> 		   <param name="user" value="nithya_registry"/>
> 		   <param name="password" value="nithya"/>
> 		   <param name="schema" value="oracle"/>
> 		   <param name="schemaObjectPrefix" value="version_"/>
> 		   <param name="externalBLOBs" value="false"/>
> 	   </PersistenceManager>
> 
>     </Versioning>
> 
>     <SearchIndex
> class="org.apache.jackrabbit.core.query.lucene.SearchIndex">
>         <param name="path" value="${rep.home}/repository/index"/>
>     </SearchIndex>
> </Repository>
> 
> Am I missing anything? 
> 
> Regards,
> 
> Nithya Mani
> Senior Developer, webMethods
> nithya@webmethods.com
> IM: nithya_infravio (Yahoo)
> 	
> 	
> 		
> 
> -----Original Message-----
> From: Sandro Boehme [mailto:sandro.boehme@inovex.de] 
> Sent: Thursday, January 25, 2007 3:14 PM
> To: users@jackrabbit.apache.org
> Subject: Re: Anyone using JCR Browser?
> 
> Hi Waldemar,
> 
> you are right the local repository (deployment model 1) connection of
> the JCR Browser uses the Jackrabbit 1.0 libraries in the Eclipse
> classpath. But the Eclipse plugin classpath is not configurable at
> runtime. This means you cannot change to a newer Jackrabbit version by
> design while using the local repository connection of the JCR Browser.
> 
> But you can use the remote repository (deployment model 3) connection
> method of the JCR Browser to connect to a repository version of your
> choice. You will find a short how-to in the ReadMeFirst.txt file of the
> JCR Browser distribution. If I can help you any further you can either
> ask in the mailing list of the JCR Browser or here and I will help you
> get it running.
> 
> Best regards,
> 
> Sandro
> 
> -- 
> https://www.xing.com/profile/Sandro_Boehme
> http://www.linkedin.com/in/sandroboehme
> http://www.wingsuit.de 
> 
> 

-- 
View this message in context: http://www.nabble.com/RE%3A-Anyone-using-JCR-Browser----tf3172922.html#a8824419
Sent from the Jackrabbit - Users mailing list archive at Nabble.com.


RE: Anyone using JCR Browser???

Posted by Paco Avila <pa...@git.es>.
El lun, 05-02-2007 a las 02:32 -0500, Nithya Mani escribió:
> Hi,
> 
> I am using JCR browser 0.9 Eclipse plug-in with jackrabbit-core-1.0.jar. I
> tried with the local jackrabbit repository. There is a problem during login.
> I have set only 'userid' as user name for Simple Credentials of JCR browser.
> It doesn't throw any error message. It just says '-1:-1:-1'. 
> 
> It was not possible to login. Please check the credentials.
> -1: -1: -1

Same error, I don't know why because I'have been using JCR Browser since
several months ago.
-- 
GIT Consultors S.L.
c\ Francesc Rover 2-B
07003 Palma de Mallorca
(Illes Balears)


Re: AW: Anyone using JCR Browser???

Posted by Sandro Böhme <sa...@gmx.de>.
avim wrote:
> Just a thought:
> What about joining into jackrabbit as a sub-project/contrib/component?
> I think it would give a great boost to the project.
Where ever the project will be hosted - I would like to closely work
together with the Jackrabbit community. As you see, you find most of the
JCR Browser communication in the Jackrabbit mailing list too.

> Are you technically familiar with JackRabbitViewer? Any news? Can it be
> fixed the same way?
I'm sorry - I haven't had a look at it in detail.

Bye,

Sandro

> 
> Sandro Böhme wrote:
> 
>>Hi Avim,
>>
>>
>>>Can't wait to hear more details:)
>>
>>currently I'm creating a concept for the successor project of the JCR 
>>Browser. As soon as I have an up to date proposal I will post it also 
>>here in the users mailing list to align the requirements of the project.
>>
>>Bye,
>>
>>Sandro
>>
>>
>>>Sandro Böhme wrote:
>>>
>>>>Hi Avim,
>>>>
>>>>it looks good. I think that can work. In the next version that I will 
>>>>release the shutdown() method will not be used anymore. There is a 
>>>>solution to use the Jackrabbit functionality that shuts down the 
>>>>repository as soon as the last session logged out.
>>>>
>>>> > Are there any plans to add write functionalities?
>>>>Not to add write functionality but to create a new project with writing 
>>>>capabilities.
>>>>
>>>>Regards,
>>>>
>>>>Sandro
>>>>
>>>>avim schrieb:
>>>>
>>>>>I've just refactored the local Jackrabbit "connector" plugin to work
>>>>>with
>>>>>1.2.1. Seems fine.
>>>>>The attached plugin doesn't include some large jars, please add them
>>>>>manually.
>>>>>http://www.nabble.com/file/6482/plugins.zip plugins.zip 
>>>>>Are there any plans to add write functionalities?
>>>>>
>>>>>Sandro Boehme wrote:
>>>>>
>>>>>>Hi,
>>>>>>
>>>>>>the UI-Plugin of the JCR Browser does not depend on a JCR
>>>>>>implementation
>>>>>>like Jackrabbit. It does not even know the Jackrabbit jar files. This
>>>>>>means the JCR Browser is "pure JCR". It uses some kind of "connector"
>>>>>>architecture that is based on Eclipse Plugins. At the moment there are
>>>>>>three connectors. There is one for the jLibrary DMS, one for a RMI
>>>>>>connection and one local Jackrabbit connection. It is also possible to
>>>>>>create a connector for Alfresco, Exo or other JCR implementations. The
>>>>>>local Jackrabbit connection contains the Jackrabbit jar's. In earlier
>>>>>>days
>>>>>>I explicitly called the shutdown() method in the local Jackrabbit
>>>>>>connection because for some reason it did not work in an other way. I
>>>>>>will
>>>>>>try to only call the "logout" method. As this logs out the only
>>>>>>javax.jcr.Session it should automatically shutdown the repository. I
>>>>>>will
>>>>>>try that when I have the time.
>>>>>>
>>>>>>Bye,
>>>>>>
>>>>>>Sandro
>>>>>>
>>>>>>-----Ursprüngliche Nachricht-----
>>>>>>Von: avim [mailto:avi.moradi@timetoknow.org] 
>>>>>>Gesendet: Dienstag, 6. Februar 2007 14:27
>>>>>>An: users@jackrabbit.apache.org
>>>>>>Betreff: Re: Anyone using JCR Browser???
>>>>>>
>>>>>>
>>>>>>It's not gonna work, cause jackrabbit's api and hierarchy(CD) has been
>>>>>>slightly changed.
>>>>>>Unfortunately these tools are not "pure JCR" and have code
>>>>>>dependencies
>>>>>>on
>>>>>>jackrabbit...
>>>>>>
>>>>>>
>>>>>>Sandro Böhme wrote:
>>>>>>
>>>>>>>Glaucio Scheibel schrieb:
>>>>>>>
>>>>>>>>I change the jars from JCR browser and it works, only disconnecting 
>>>>>>>>is still freezing (I have to quit eclipse to do this).
>>>>>>>
>>>>>>>I'm already in the process to test the update of the local repository 
>>>>>>>connector to Jackrabbit 1.2.1 and experienced the same behavior. The 
>>>>>>>call to repository.shutdown()
>>>>>>>(http://jackrabbit.apache.org/api-1/org/apache/jackrabbit/core/Reposit
>>>>>>>oryImpl.html#shutdown()) never comes back. I will go into the details 
>>>>>>>to find out, what the reason is as soon as I have the time.
>>>>>>>
>>>>>>>Regards,
>>>>>>>
>>>>>>>Sandro
>>>>>>>
>>>>>>>
>>>>>>>>Glaucio
>>>>>>>>
>>>>>>>>avim wrote:
>>>>>>>>
>>>>>>>>>The reason is lucene & indexes.
>>>>>>>>>If the repository was touched by 1.2.1, in order to access it by
>>>>>>>>>JCR 
>>>>>>>>>browser or jackrabbit viewer you must delete the indexes 
>>>>>>>>>manually(every time!):
>>>>>>>>>repository/index, workspaces/default/index etc.
>>>>>>>>>Not such a good idea, but it works...
>>>>>>>>>I hope these tools will be upgraded soon...
>>>>>>>>>Does any one know alternative tools?
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>Nithya Mani wrote:
>>>>>>>>> 
>>>>>>>>>
>>>>>>>>>>Hi,
>>>>>>>>>>
>>>>>>>>>>I am using JCR browser 0.9 Eclipse plug-in with 
>>>>>>>>>>jackrabbit-core-1.0.jar. I tried with the local jackrabbit 
>>>>>>>>>>repository. There is a problem during login.
>>>>>>>>>>I have set only 'userid' as user name for Simple Credentials of
>>>>>>>>>>JCR 
>>>>>>>>>>browser.
>>>>>>>>>>It doesn't throw any error message. It just says '-1:-1:-1'.
>>>>>>>>>>It was not possible to login. Please check the credentials.
>>>>>>>>>>-1: -1: -1
>>>>>>>>>>
>>>>>>>>>>What does the meaning of this message? Here is the repository.xml 
>>>>>>>>>>file I am using.
>>>>>>>>>><Repository>
>>>>>>>>>>    <FileSystem
>>>>>>>>>>class="org.apache.jackrabbit.core.fs.local.LocalFileSystem">
>>>>>>>>>>        <param name="path" value="${rep.home}/repository"/>
>>>>>>>>>>    </FileSystem>
>>>>>>>>>>      <Security appName="Jackrabbit">
>>>>>>>>>>        <AccessManager
>>>>>>>>>>class="org.apache.jackrabbit.core.security.SimpleAccessManager">
>>>>>>>>>>
>>>>>>>>>>        </AccessManager>
>>>>>>>>>>
>>>>>>>>>>        <LoginModule
>>>>>>>>>>class="org.apache.jackrabbit.core.security.SimpleLoginModule">
>>>>>>>>>>                  </LoginModule>
>>>>>>>>>>    </Security>
>>>>>>>>>>
>>>>>>>>>>    <Workspaces rootPath="${rep.home}/workspaces"
>>>>>>>>>>defaultWorkspace="default"/>
>>>>>>>>>>    <Workspace name="${wsp.name}">
>>>>>>>>>>        <FileSystem
>>>>>>>>>>class="org.apache.jackrabbit.core.fs.local.LocalFileSystem">
>>>>>>>>>>            <param name="path" value="${wsp.home}"/>
>>>>>>>>>>        </FileSystem>
>>>>>>>>>>        <PersistenceManager
>>>>>>>>>>class="org.apache.jackrabbit.core.state.db.SimpleDbPersistenceManager">
>>>>>>>>>>           <param name="driver"
>>>>>>>>>>value="oracle.jdbc.driver.OracleDriver"/>
>>>>>>>>>>           <param name="url"
>>>>>>>>>>value="jdbc:oracle:thin:@xxxx:1521:orcl"/>
>>>>>>>>>>           <param name="user" value="nithya"/>
>>>>>>>>>>           <param name="password" value="nithya"/>
>>>>>>>>>>           <param name="schema" value="oracle"/>
>>>>>>>>>>           <param name="schemaObjectPrefix" value="${wsp.name}_"/>
>>>>>>>>>>           <param name="externalBLOBs" value="false"/>
>>>>>>>>>>       </PersistenceManager>
>>>>>>>>>>        <SearchIndex
>>>>>>>>>>class="org.apache.jackrabbit.core.query.lucene.SearchIndex">
>>>>>>>>>>            <param name="path" value="${wsp.home}/index"/>
>>>>>>>>>>        </SearchIndex>
>>>>>>>>>>    </Workspace>
>>>>>>>>>>
>>>>>>>>>>    <!--
>>>>>>>>>>        Configures the versioning
>>>>>>>>>>    -->
>>>>>>>>>>    <Versioning rootPath="${rep.home}/version">               
>>>>>>>>>><FileSystem
>>>>>>>>>>class="org.apache.jackrabbit.core.fs.local.LocalFileSystem">
>>>>>>>>>>            <param name="path" value="${rep.home}/version" />
>>>>>>>>>>        </FileSystem>       
>>>>>>>>>>        <PersistenceManager
>>>>>>>>>>class="org.apache.jackrabbit.core.state.db.SimpleDbPersistenceManager">
>>>>>>>>>>           <param name="driver"
>>>>>>>>>>value="oracle.jdbc.driver.OracleDriver"/>
>>>>>>>>>>           <param name="url"
>>>>>>>>>>value="jdbc:oracle:thin:@blizzard:1521:orcl"/>
>>>>>>>>>>           <param name="user" value="nithya_registry"/>
>>>>>>>>>>           <param name="password" value="nithya"/>
>>>>>>>>>>           <param name="schema" value="oracle"/>
>>>>>>>>>>           <param name="schemaObjectPrefix" value="version_"/>
>>>>>>>>>>           <param name="externalBLOBs" value="false"/>
>>>>>>>>>>       </PersistenceManager>
>>>>>>>>>>
>>>>>>>>>>    </Versioning>
>>>>>>>>>>
>>>>>>>>>>    <SearchIndex
>>>>>>>>>>class="org.apache.jackrabbit.core.query.lucene.SearchIndex">
>>>>>>>>>>        <param name="path" value="${rep.home}/repository/index"/>
>>>>>>>>>>    </SearchIndex>
>>>>>>>>>></Repository>
>>>>>>>>>>
>>>>>>>>>>Am I missing anything?
>>>>>>>>>>Regards,
>>>>>>>>>>
>>>>>>>>>>Nithya Mani
>>>>>>>>>>Senior Developer, webMethods
>>>>>>>>>>nithya@webmethods.com
>>>>>>>>>>IM: nithya_infravio (Yahoo)
>>>>>>>>>>    
>>>>>>>>>>    
>>>>>>>>>>       
>>>>>>>>>>
>>>>>>>>>>-----Original Message-----
>>>>>>>>>>From: Sandro Boehme [mailto:sandro.boehme@inovex.de] Sent: 
>>>>>>>>>>Thursday, January 25, 2007 3:14 PM
>>>>>>>>>>To: users@jackrabbit.apache.org
>>>>>>>>>>Subject: Re: Anyone using JCR Browser?
>>>>>>>>>>
>>>>>>>>>>Hi Waldemar,
>>>>>>>>>>
>>>>>>>>>>you are right the local repository (deployment model 1) connection 
>>>>>>>>>>of the JCR Browser uses the Jackrabbit 1.0 libraries in the
>>>>>>>>>>Eclipse 
>>>>>>>>>>classpath. But the Eclipse plugin classpath is not configurable at 
>>>>>>>>>>runtime. This means you cannot change to a newer Jackrabbit
>>>>>>>>>>version 
>>>>>>>>>>by design while using the local repository connection of the JCR
>>>>>>>>>>Browser.
>>>>>>>>>>
>>>>>>>>>>But you can use the remote repository (deployment model 3) 
>>>>>>>>>>connection method of the JCR Browser to connect to a repository 
>>>>>>>>>>version of your choice. You will find a short how-to in the 
>>>>>>>>>>ReadMeFirst.txt file of the JCR Browser distribution. If I can
>>>>>>>>>>help 
>>>>>>>>>>you any further you can either ask in the mailing list of the JCR 
>>>>>>>>>>Browser or here and I will help you get it running.
>>>>>>>>>>
>>>>>>>>>>Best regards,
>>>>>>>>>>
>>>>>>>>>>Sandro
>>>>>>>>>>
>>>>>>>>>>--
>>>>>>>>>>https://www.xing.com/profile/Sandro_Boehme
>>>>>>>>>>http://www.linkedin.com/in/sandroboehme
>>>>>>>>>>http://www.wingsuit.de
>>>>>>>>>>
>>>>>>>>>>    
>>>>>>>>>
>>>>>>>>>  
>>>>>>>
>>>>>>--
>>>>>>View this message in context:
>>>>>>http://www.nabble.com/RE%3A-Anyone-using-JCR-Browser----tf3172922.html#a8825896
>>>>>>Sent from the Jackrabbit - Users mailing list archive at Nabble.com.
>>>>>>
>>>>>>
>>>>>>
>>>>
>>>>
>>
>>
> 



Re: AW: Anyone using JCR Browser???

Posted by avim <av...@timetoknow.org>.
Just a thought:
What about joining into jackrabbit as a sub-project/contrib/component?
I think it would give a great boost to the project.
Are you technically familiar with JackRabbitViewer? Any news? Can it be
fixed the same way?

Sandro Böhme wrote:
> 
> Hi Avim,
> 
>> Can't wait to hear more details:)
> currently I'm creating a concept for the successor project of the JCR 
> Browser. As soon as I have an up to date proposal I will post it also 
> here in the users mailing list to align the requirements of the project.
> 
> Bye,
> 
> Sandro
> 
>> 
>> Sandro Böhme wrote:
>>> Hi Avim,
>>>
>>> it looks good. I think that can work. In the next version that I will 
>>> release the shutdown() method will not be used anymore. There is a 
>>> solution to use the Jackrabbit functionality that shuts down the 
>>> repository as soon as the last session logged out.
>>>
>>>  > Are there any plans to add write functionalities?
>>> Not to add write functionality but to create a new project with writing 
>>> capabilities.
>>>
>>> Regards,
>>>
>>> Sandro
>>>
>>> avim schrieb:
>>>> I've just refactored the local Jackrabbit "connector" plugin to work
>>>> with
>>>> 1.2.1. Seems fine.
>>>> The attached plugin doesn't include some large jars, please add them
>>>> manually.
>>>> http://www.nabble.com/file/6482/plugins.zip plugins.zip 
>>>> Are there any plans to add write functionalities?
>>>>
>>>> Sandro Boehme wrote:
>>>>> Hi,
>>>>>
>>>>> the UI-Plugin of the JCR Browser does not depend on a JCR
>>>>> implementation
>>>>> like Jackrabbit. It does not even know the Jackrabbit jar files. This
>>>>> means the JCR Browser is "pure JCR". It uses some kind of "connector"
>>>>> architecture that is based on Eclipse Plugins. At the moment there are
>>>>> three connectors. There is one for the jLibrary DMS, one for a RMI
>>>>> connection and one local Jackrabbit connection. It is also possible to
>>>>> create a connector for Alfresco, Exo or other JCR implementations. The
>>>>> local Jackrabbit connection contains the Jackrabbit jar's. In earlier
>>>>> days
>>>>> I explicitly called the shutdown() method in the local Jackrabbit
>>>>> connection because for some reason it did not work in an other way. I
>>>>> will
>>>>> try to only call the "logout" method. As this logs out the only
>>>>> javax.jcr.Session it should automatically shutdown the repository. I
>>>>> will
>>>>> try that when I have the time.
>>>>>
>>>>> Bye,
>>>>>
>>>>> Sandro
>>>>>
>>>>> -----Ursprüngliche Nachricht-----
>>>>> Von: avim [mailto:avi.moradi@timetoknow.org] 
>>>>> Gesendet: Dienstag, 6. Februar 2007 14:27
>>>>> An: users@jackrabbit.apache.org
>>>>> Betreff: Re: Anyone using JCR Browser???
>>>>>
>>>>>
>>>>> It's not gonna work, cause jackrabbit's api and hierarchy(CD) has been
>>>>> slightly changed.
>>>>> Unfortunately these tools are not "pure JCR" and have code
>>>>> dependencies
>>>>> on
>>>>> jackrabbit...
>>>>>
>>>>>
>>>>> Sandro Böhme wrote:
>>>>>> Glaucio Scheibel schrieb:
>>>>>>> I change the jars from JCR browser and it works, only disconnecting 
>>>>>>> is still freezing (I have to quit eclipse to do this).
>>>>>> I'm already in the process to test the update of the local repository 
>>>>>> connector to Jackrabbit 1.2.1 and experienced the same behavior. The 
>>>>>> call to repository.shutdown()
>>>>>> (http://jackrabbit.apache.org/api-1/org/apache/jackrabbit/core/Reposit
>>>>>> oryImpl.html#shutdown()) never comes back. I will go into the details 
>>>>>> to find out, what the reason is as soon as I have the time.
>>>>>>
>>>>>> Regards,
>>>>>>
>>>>>> Sandro
>>>>>>
>>>>>>> Glaucio
>>>>>>>
>>>>>>> avim wrote:
>>>>>>>> The reason is lucene & indexes.
>>>>>>>> If the repository was touched by 1.2.1, in order to access it by
>>>>>>>> JCR 
>>>>>>>> browser or jackrabbit viewer you must delete the indexes 
>>>>>>>> manually(every time!):
>>>>>>>> repository/index, workspaces/default/index etc.
>>>>>>>> Not such a good idea, but it works...
>>>>>>>> I hope these tools will be upgraded soon...
>>>>>>>> Does any one know alternative tools?
>>>>>>>>
>>>>>>>>
>>>>>>>> Nithya Mani wrote:
>>>>>>>>  
>>>>>>>>> Hi,
>>>>>>>>>
>>>>>>>>> I am using JCR browser 0.9 Eclipse plug-in with 
>>>>>>>>> jackrabbit-core-1.0.jar. I tried with the local jackrabbit 
>>>>>>>>> repository. There is a problem during login.
>>>>>>>>> I have set only 'userid' as user name for Simple Credentials of
>>>>>>>>> JCR 
>>>>>>>>> browser.
>>>>>>>>> It doesn't throw any error message. It just says '-1:-1:-1'.
>>>>>>>>> It was not possible to login. Please check the credentials.
>>>>>>>>> -1: -1: -1
>>>>>>>>>
>>>>>>>>> What does the meaning of this message? Here is the repository.xml 
>>>>>>>>> file I am using.
>>>>>>>>> <Repository>
>>>>>>>>>     <FileSystem
>>>>>>>>> class="org.apache.jackrabbit.core.fs.local.LocalFileSystem">
>>>>>>>>>         <param name="path" value="${rep.home}/repository"/>
>>>>>>>>>     </FileSystem>
>>>>>>>>>       <Security appName="Jackrabbit">
>>>>>>>>>         <AccessManager
>>>>>>>>> class="org.apache.jackrabbit.core.security.SimpleAccessManager">
>>>>>>>>>
>>>>>>>>>         </AccessManager>
>>>>>>>>>
>>>>>>>>>         <LoginModule
>>>>>>>>> class="org.apache.jackrabbit.core.security.SimpleLoginModule">
>>>>>>>>>                   </LoginModule>
>>>>>>>>>     </Security>
>>>>>>>>>
>>>>>>>>>     <Workspaces rootPath="${rep.home}/workspaces"
>>>>>>>>> defaultWorkspace="default"/>
>>>>>>>>>     <Workspace name="${wsp.name}">
>>>>>>>>>         <FileSystem
>>>>>>>>> class="org.apache.jackrabbit.core.fs.local.LocalFileSystem">
>>>>>>>>>             <param name="path" value="${wsp.home}"/>
>>>>>>>>>         </FileSystem>
>>>>>>>>>         <PersistenceManager
>>>>>>>>> class="org.apache.jackrabbit.core.state.db.SimpleDbPersistenceManager">
>>>>>>>>>            <param name="driver"
>>>>>>>>> value="oracle.jdbc.driver.OracleDriver"/>
>>>>>>>>>            <param name="url"
>>>>>>>>> value="jdbc:oracle:thin:@xxxx:1521:orcl"/>
>>>>>>>>>            <param name="user" value="nithya"/>
>>>>>>>>>            <param name="password" value="nithya"/>
>>>>>>>>>            <param name="schema" value="oracle"/>
>>>>>>>>>            <param name="schemaObjectPrefix" value="${wsp.name}_"/>
>>>>>>>>>            <param name="externalBLOBs" value="false"/>
>>>>>>>>>        </PersistenceManager>
>>>>>>>>>         <SearchIndex
>>>>>>>>> class="org.apache.jackrabbit.core.query.lucene.SearchIndex">
>>>>>>>>>             <param name="path" value="${wsp.home}/index"/>
>>>>>>>>>         </SearchIndex>
>>>>>>>>>     </Workspace>
>>>>>>>>>
>>>>>>>>>     <!--
>>>>>>>>>         Configures the versioning
>>>>>>>>>     -->
>>>>>>>>>     <Versioning rootPath="${rep.home}/version">               
>>>>>>>>> <FileSystem
>>>>>>>>> class="org.apache.jackrabbit.core.fs.local.LocalFileSystem">
>>>>>>>>>             <param name="path" value="${rep.home}/version" />
>>>>>>>>>         </FileSystem>       
>>>>>>>>>         <PersistenceManager
>>>>>>>>> class="org.apache.jackrabbit.core.state.db.SimpleDbPersistenceManager">
>>>>>>>>>            <param name="driver"
>>>>>>>>> value="oracle.jdbc.driver.OracleDriver"/>
>>>>>>>>>            <param name="url"
>>>>>>>>> value="jdbc:oracle:thin:@blizzard:1521:orcl"/>
>>>>>>>>>            <param name="user" value="nithya_registry"/>
>>>>>>>>>            <param name="password" value="nithya"/>
>>>>>>>>>            <param name="schema" value="oracle"/>
>>>>>>>>>            <param name="schemaObjectPrefix" value="version_"/>
>>>>>>>>>            <param name="externalBLOBs" value="false"/>
>>>>>>>>>        </PersistenceManager>
>>>>>>>>>
>>>>>>>>>     </Versioning>
>>>>>>>>>
>>>>>>>>>     <SearchIndex
>>>>>>>>> class="org.apache.jackrabbit.core.query.lucene.SearchIndex">
>>>>>>>>>         <param name="path" value="${rep.home}/repository/index"/>
>>>>>>>>>     </SearchIndex>
>>>>>>>>> </Repository>
>>>>>>>>>
>>>>>>>>> Am I missing anything?
>>>>>>>>> Regards,
>>>>>>>>>
>>>>>>>>> Nithya Mani
>>>>>>>>> Senior Developer, webMethods
>>>>>>>>> nithya@webmethods.com
>>>>>>>>> IM: nithya_infravio (Yahoo)
>>>>>>>>>     
>>>>>>>>>     
>>>>>>>>>        
>>>>>>>>>
>>>>>>>>> -----Original Message-----
>>>>>>>>> From: Sandro Boehme [mailto:sandro.boehme@inovex.de] Sent: 
>>>>>>>>> Thursday, January 25, 2007 3:14 PM
>>>>>>>>> To: users@jackrabbit.apache.org
>>>>>>>>> Subject: Re: Anyone using JCR Browser?
>>>>>>>>>
>>>>>>>>> Hi Waldemar,
>>>>>>>>>
>>>>>>>>> you are right the local repository (deployment model 1) connection 
>>>>>>>>> of the JCR Browser uses the Jackrabbit 1.0 libraries in the
>>>>>>>>> Eclipse 
>>>>>>>>> classpath. But the Eclipse plugin classpath is not configurable at 
>>>>>>>>> runtime. This means you cannot change to a newer Jackrabbit
>>>>>>>>> version 
>>>>>>>>> by design while using the local repository connection of the JCR
>>>>>>>>> Browser.
>>>>>>>>>
>>>>>>>>> But you can use the remote repository (deployment model 3) 
>>>>>>>>> connection method of the JCR Browser to connect to a repository 
>>>>>>>>> version of your choice. You will find a short how-to in the 
>>>>>>>>> ReadMeFirst.txt file of the JCR Browser distribution. If I can
>>>>>>>>> help 
>>>>>>>>> you any further you can either ask in the mailing list of the JCR 
>>>>>>>>> Browser or here and I will help you get it running.
>>>>>>>>>
>>>>>>>>> Best regards,
>>>>>>>>>
>>>>>>>>> Sandro
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> https://www.xing.com/profile/Sandro_Boehme
>>>>>>>>> http://www.linkedin.com/in/sandroboehme
>>>>>>>>> http://www.wingsuit.de
>>>>>>>>>
>>>>>>>>>     
>>>>>>>>   
>>>>>>
>>>>> --
>>>>> View this message in context:
>>>>> http://www.nabble.com/RE%3A-Anyone-using-JCR-Browser----tf3172922.html#a8825896
>>>>> Sent from the Jackrabbit - Users mailing list archive at Nabble.com.
>>>>>
>>>>>
>>>>>
>>>
>>>
>> 
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/RE%3A-Anyone-using-JCR-Browser----tf3172922.html#a8984801
Sent from the Jackrabbit - Users mailing list archive at Nabble.com.


Re: AW: Anyone using JCR Browser???

Posted by Sandro Böhme <sa...@gmx.de>.
Hi Avim,

> Can't wait to hear more details:)
currently I'm creating a concept for the successor project of the JCR 
Browser. As soon as I have an up to date proposal I will post it also 
here in the users mailing list to align the requirements of the project.

Bye,

Sandro

> 
> Sandro Böhme wrote:
>> Hi Avim,
>>
>> it looks good. I think that can work. In the next version that I will 
>> release the shutdown() method will not be used anymore. There is a 
>> solution to use the Jackrabbit functionality that shuts down the 
>> repository as soon as the last session logged out.
>>
>>  > Are there any plans to add write functionalities?
>> Not to add write functionality but to create a new project with writing 
>> capabilities.
>>
>> Regards,
>>
>> Sandro
>>
>> avim schrieb:
>>> I've just refactored the local Jackrabbit "connector" plugin to work with
>>> 1.2.1. Seems fine.
>>> The attached plugin doesn't include some large jars, please add them
>>> manually.
>>> http://www.nabble.com/file/6482/plugins.zip plugins.zip 
>>> Are there any plans to add write functionalities?
>>>
>>> Sandro Boehme wrote:
>>>> Hi,
>>>>
>>>> the UI-Plugin of the JCR Browser does not depend on a JCR implementation
>>>> like Jackrabbit. It does not even know the Jackrabbit jar files. This
>>>> means the JCR Browser is "pure JCR". It uses some kind of "connector"
>>>> architecture that is based on Eclipse Plugins. At the moment there are
>>>> three connectors. There is one for the jLibrary DMS, one for a RMI
>>>> connection and one local Jackrabbit connection. It is also possible to
>>>> create a connector for Alfresco, Exo or other JCR implementations. The
>>>> local Jackrabbit connection contains the Jackrabbit jar's. In earlier
>>>> days
>>>> I explicitly called the shutdown() method in the local Jackrabbit
>>>> connection because for some reason it did not work in an other way. I
>>>> will
>>>> try to only call the "logout" method. As this logs out the only
>>>> javax.jcr.Session it should automatically shutdown the repository. I
>>>> will
>>>> try that when I have the time.
>>>>
>>>> Bye,
>>>>
>>>> Sandro
>>>>
>>>> -----Ursprüngliche Nachricht-----
>>>> Von: avim [mailto:avi.moradi@timetoknow.org] 
>>>> Gesendet: Dienstag, 6. Februar 2007 14:27
>>>> An: users@jackrabbit.apache.org
>>>> Betreff: Re: Anyone using JCR Browser???
>>>>
>>>>
>>>> It's not gonna work, cause jackrabbit's api and hierarchy(CD) has been
>>>> slightly changed.
>>>> Unfortunately these tools are not "pure JCR" and have code dependencies
>>>> on
>>>> jackrabbit...
>>>>
>>>>
>>>> Sandro Böhme wrote:
>>>>> Glaucio Scheibel schrieb:
>>>>>> I change the jars from JCR browser and it works, only disconnecting 
>>>>>> is still freezing (I have to quit eclipse to do this).
>>>>> I'm already in the process to test the update of the local repository 
>>>>> connector to Jackrabbit 1.2.1 and experienced the same behavior. The 
>>>>> call to repository.shutdown()
>>>>> (http://jackrabbit.apache.org/api-1/org/apache/jackrabbit/core/Reposit
>>>>> oryImpl.html#shutdown()) never comes back. I will go into the details 
>>>>> to find out, what the reason is as soon as I have the time.
>>>>>
>>>>> Regards,
>>>>>
>>>>> Sandro
>>>>>
>>>>>> Glaucio
>>>>>>
>>>>>> avim wrote:
>>>>>>> The reason is lucene & indexes.
>>>>>>> If the repository was touched by 1.2.1, in order to access it by JCR 
>>>>>>> browser or jackrabbit viewer you must delete the indexes 
>>>>>>> manually(every time!):
>>>>>>> repository/index, workspaces/default/index etc.
>>>>>>> Not such a good idea, but it works...
>>>>>>> I hope these tools will be upgraded soon...
>>>>>>> Does any one know alternative tools?
>>>>>>>
>>>>>>>
>>>>>>> Nithya Mani wrote:
>>>>>>>  
>>>>>>>> Hi,
>>>>>>>>
>>>>>>>> I am using JCR browser 0.9 Eclipse plug-in with 
>>>>>>>> jackrabbit-core-1.0.jar. I tried with the local jackrabbit 
>>>>>>>> repository. There is a problem during login.
>>>>>>>> I have set only 'userid' as user name for Simple Credentials of JCR 
>>>>>>>> browser.
>>>>>>>> It doesn't throw any error message. It just says '-1:-1:-1'.
>>>>>>>> It was not possible to login. Please check the credentials.
>>>>>>>> -1: -1: -1
>>>>>>>>
>>>>>>>> What does the meaning of this message? Here is the repository.xml 
>>>>>>>> file I am using.
>>>>>>>> <Repository>
>>>>>>>>     <FileSystem
>>>>>>>> class="org.apache.jackrabbit.core.fs.local.LocalFileSystem">
>>>>>>>>         <param name="path" value="${rep.home}/repository"/>
>>>>>>>>     </FileSystem>
>>>>>>>>       <Security appName="Jackrabbit">
>>>>>>>>         <AccessManager
>>>>>>>> class="org.apache.jackrabbit.core.security.SimpleAccessManager">
>>>>>>>>
>>>>>>>>         </AccessManager>
>>>>>>>>
>>>>>>>>         <LoginModule
>>>>>>>> class="org.apache.jackrabbit.core.security.SimpleLoginModule">
>>>>>>>>                   </LoginModule>
>>>>>>>>     </Security>
>>>>>>>>
>>>>>>>>     <Workspaces rootPath="${rep.home}/workspaces"
>>>>>>>> defaultWorkspace="default"/>
>>>>>>>>     <Workspace name="${wsp.name}">
>>>>>>>>         <FileSystem
>>>>>>>> class="org.apache.jackrabbit.core.fs.local.LocalFileSystem">
>>>>>>>>             <param name="path" value="${wsp.home}"/>
>>>>>>>>         </FileSystem>
>>>>>>>>         <PersistenceManager
>>>>>>>> class="org.apache.jackrabbit.core.state.db.SimpleDbPersistenceManager">
>>>>>>>>            <param name="driver"
>>>>>>>> value="oracle.jdbc.driver.OracleDriver"/>
>>>>>>>>            <param name="url"
>>>>>>>> value="jdbc:oracle:thin:@xxxx:1521:orcl"/>
>>>>>>>>            <param name="user" value="nithya"/>
>>>>>>>>            <param name="password" value="nithya"/>
>>>>>>>>            <param name="schema" value="oracle"/>
>>>>>>>>            <param name="schemaObjectPrefix" value="${wsp.name}_"/>
>>>>>>>>            <param name="externalBLOBs" value="false"/>
>>>>>>>>        </PersistenceManager>
>>>>>>>>         <SearchIndex
>>>>>>>> class="org.apache.jackrabbit.core.query.lucene.SearchIndex">
>>>>>>>>             <param name="path" value="${wsp.home}/index"/>
>>>>>>>>         </SearchIndex>
>>>>>>>>     </Workspace>
>>>>>>>>
>>>>>>>>     <!--
>>>>>>>>         Configures the versioning
>>>>>>>>     -->
>>>>>>>>     <Versioning rootPath="${rep.home}/version">               
>>>>>>>> <FileSystem
>>>>>>>> class="org.apache.jackrabbit.core.fs.local.LocalFileSystem">
>>>>>>>>             <param name="path" value="${rep.home}/version" />
>>>>>>>>         </FileSystem>       
>>>>>>>>         <PersistenceManager
>>>>>>>> class="org.apache.jackrabbit.core.state.db.SimpleDbPersistenceManager">
>>>>>>>>            <param name="driver"
>>>>>>>> value="oracle.jdbc.driver.OracleDriver"/>
>>>>>>>>            <param name="url"
>>>>>>>> value="jdbc:oracle:thin:@blizzard:1521:orcl"/>
>>>>>>>>            <param name="user" value="nithya_registry"/>
>>>>>>>>            <param name="password" value="nithya"/>
>>>>>>>>            <param name="schema" value="oracle"/>
>>>>>>>>            <param name="schemaObjectPrefix" value="version_"/>
>>>>>>>>            <param name="externalBLOBs" value="false"/>
>>>>>>>>        </PersistenceManager>
>>>>>>>>
>>>>>>>>     </Versioning>
>>>>>>>>
>>>>>>>>     <SearchIndex
>>>>>>>> class="org.apache.jackrabbit.core.query.lucene.SearchIndex">
>>>>>>>>         <param name="path" value="${rep.home}/repository/index"/>
>>>>>>>>     </SearchIndex>
>>>>>>>> </Repository>
>>>>>>>>
>>>>>>>> Am I missing anything?
>>>>>>>> Regards,
>>>>>>>>
>>>>>>>> Nithya Mani
>>>>>>>> Senior Developer, webMethods
>>>>>>>> nithya@webmethods.com
>>>>>>>> IM: nithya_infravio (Yahoo)
>>>>>>>>     
>>>>>>>>     
>>>>>>>>        
>>>>>>>>
>>>>>>>> -----Original Message-----
>>>>>>>> From: Sandro Boehme [mailto:sandro.boehme@inovex.de] Sent: 
>>>>>>>> Thursday, January 25, 2007 3:14 PM
>>>>>>>> To: users@jackrabbit.apache.org
>>>>>>>> Subject: Re: Anyone using JCR Browser?
>>>>>>>>
>>>>>>>> Hi Waldemar,
>>>>>>>>
>>>>>>>> you are right the local repository (deployment model 1) connection 
>>>>>>>> of the JCR Browser uses the Jackrabbit 1.0 libraries in the Eclipse 
>>>>>>>> classpath. But the Eclipse plugin classpath is not configurable at 
>>>>>>>> runtime. This means you cannot change to a newer Jackrabbit version 
>>>>>>>> by design while using the local repository connection of the JCR
>>>>>>>> Browser.
>>>>>>>>
>>>>>>>> But you can use the remote repository (deployment model 3) 
>>>>>>>> connection method of the JCR Browser to connect to a repository 
>>>>>>>> version of your choice. You will find a short how-to in the 
>>>>>>>> ReadMeFirst.txt file of the JCR Browser distribution. If I can help 
>>>>>>>> you any further you can either ask in the mailing list of the JCR 
>>>>>>>> Browser or here and I will help you get it running.
>>>>>>>>
>>>>>>>> Best regards,
>>>>>>>>
>>>>>>>> Sandro
>>>>>>>>
>>>>>>>> --
>>>>>>>> https://www.xing.com/profile/Sandro_Boehme
>>>>>>>> http://www.linkedin.com/in/sandroboehme
>>>>>>>> http://www.wingsuit.de
>>>>>>>>
>>>>>>>>     
>>>>>>>   
>>>>>
>>>> --
>>>> View this message in context:
>>>> http://www.nabble.com/RE%3A-Anyone-using-JCR-Browser----tf3172922.html#a8825896
>>>> Sent from the Jackrabbit - Users mailing list archive at Nabble.com.
>>>>
>>>>
>>>>
>>
>>
> 


Re: AW: Anyone using JCR Browser???

Posted by avim <av...@timetoknow.org>.
Can't wait to hear more details:)

Sandro Böhme wrote:
> 
> Hi Avim,
> 
> it looks good. I think that can work. In the next version that I will 
> release the shutdown() method will not be used anymore. There is a 
> solution to use the Jackrabbit functionality that shuts down the 
> repository as soon as the last session logged out.
> 
>  > Are there any plans to add write functionalities?
> Not to add write functionality but to create a new project with writing 
> capabilities.
> 
> Regards,
> 
> Sandro
> 
> avim schrieb:
>> I've just refactored the local Jackrabbit "connector" plugin to work with
>> 1.2.1. Seems fine.
>> The attached plugin doesn't include some large jars, please add them
>> manually.
>> http://www.nabble.com/file/6482/plugins.zip plugins.zip 
>> Are there any plans to add write functionalities?
>> 
>> Sandro Boehme wrote:
>>> Hi,
>>>
>>> the UI-Plugin of the JCR Browser does not depend on a JCR implementation
>>> like Jackrabbit. It does not even know the Jackrabbit jar files. This
>>> means the JCR Browser is "pure JCR". It uses some kind of "connector"
>>> architecture that is based on Eclipse Plugins. At the moment there are
>>> three connectors. There is one for the jLibrary DMS, one for a RMI
>>> connection and one local Jackrabbit connection. It is also possible to
>>> create a connector for Alfresco, Exo or other JCR implementations. The
>>> local Jackrabbit connection contains the Jackrabbit jar's. In earlier
>>> days
>>> I explicitly called the shutdown() method in the local Jackrabbit
>>> connection because for some reason it did not work in an other way. I
>>> will
>>> try to only call the "logout" method. As this logs out the only
>>> javax.jcr.Session it should automatically shutdown the repository. I
>>> will
>>> try that when I have the time.
>>>
>>> Bye,
>>>
>>> Sandro
>>>
>>> -----Ursprüngliche Nachricht-----
>>> Von: avim [mailto:avi.moradi@timetoknow.org] 
>>> Gesendet: Dienstag, 6. Februar 2007 14:27
>>> An: users@jackrabbit.apache.org
>>> Betreff: Re: Anyone using JCR Browser???
>>>
>>>
>>> It's not gonna work, cause jackrabbit's api and hierarchy(CD) has been
>>> slightly changed.
>>> Unfortunately these tools are not "pure JCR" and have code dependencies
>>> on
>>> jackrabbit...
>>>
>>>
>>> Sandro Böhme wrote:
>>>> Glaucio Scheibel schrieb:
>>>>> I change the jars from JCR browser and it works, only disconnecting 
>>>>> is still freezing (I have to quit eclipse to do this).
>>>> I'm already in the process to test the update of the local repository 
>>>> connector to Jackrabbit 1.2.1 and experienced the same behavior. The 
>>>> call to repository.shutdown()
>>>> (http://jackrabbit.apache.org/api-1/org/apache/jackrabbit/core/Reposit
>>>> oryImpl.html#shutdown()) never comes back. I will go into the details 
>>>> to find out, what the reason is as soon as I have the time.
>>>>
>>>> Regards,
>>>>
>>>> Sandro
>>>>
>>>>> Glaucio
>>>>>
>>>>> avim wrote:
>>>>>> The reason is lucene & indexes.
>>>>>> If the repository was touched by 1.2.1, in order to access it by JCR 
>>>>>> browser or jackrabbit viewer you must delete the indexes 
>>>>>> manually(every time!):
>>>>>> repository/index, workspaces/default/index etc.
>>>>>> Not such a good idea, but it works...
>>>>>> I hope these tools will be upgraded soon...
>>>>>> Does any one know alternative tools?
>>>>>>
>>>>>>
>>>>>> Nithya Mani wrote:
>>>>>>  
>>>>>>> Hi,
>>>>>>>
>>>>>>> I am using JCR browser 0.9 Eclipse plug-in with 
>>>>>>> jackrabbit-core-1.0.jar. I tried with the local jackrabbit 
>>>>>>> repository. There is a problem during login.
>>>>>>> I have set only 'userid' as user name for Simple Credentials of JCR 
>>>>>>> browser.
>>>>>>> It doesn't throw any error message. It just says '-1:-1:-1'.
>>>>>>> It was not possible to login. Please check the credentials.
>>>>>>> -1: -1: -1
>>>>>>>
>>>>>>> What does the meaning of this message? Here is the repository.xml 
>>>>>>> file I am using.
>>>>>>> <Repository>
>>>>>>>     <FileSystem
>>>>>>> class="org.apache.jackrabbit.core.fs.local.LocalFileSystem">
>>>>>>>         <param name="path" value="${rep.home}/repository"/>
>>>>>>>     </FileSystem>
>>>>>>>       <Security appName="Jackrabbit">
>>>>>>>         <AccessManager
>>>>>>> class="org.apache.jackrabbit.core.security.SimpleAccessManager">
>>>>>>>
>>>>>>>         </AccessManager>
>>>>>>>
>>>>>>>         <LoginModule
>>>>>>> class="org.apache.jackrabbit.core.security.SimpleLoginModule">
>>>>>>>                   </LoginModule>
>>>>>>>     </Security>
>>>>>>>
>>>>>>>     <Workspaces rootPath="${rep.home}/workspaces"
>>>>>>> defaultWorkspace="default"/>
>>>>>>>     <Workspace name="${wsp.name}">
>>>>>>>         <FileSystem
>>>>>>> class="org.apache.jackrabbit.core.fs.local.LocalFileSystem">
>>>>>>>             <param name="path" value="${wsp.home}"/>
>>>>>>>         </FileSystem>
>>>>>>>         <PersistenceManager
>>>>>>> class="org.apache.jackrabbit.core.state.db.SimpleDbPersistenceManager">
>>>>>>>            <param name="driver"
>>>>>>> value="oracle.jdbc.driver.OracleDriver"/>
>>>>>>>            <param name="url"
>>>>>>> value="jdbc:oracle:thin:@xxxx:1521:orcl"/>
>>>>>>>            <param name="user" value="nithya"/>
>>>>>>>            <param name="password" value="nithya"/>
>>>>>>>            <param name="schema" value="oracle"/>
>>>>>>>            <param name="schemaObjectPrefix" value="${wsp.name}_"/>
>>>>>>>            <param name="externalBLOBs" value="false"/>
>>>>>>>        </PersistenceManager>
>>>>>>>         <SearchIndex
>>>>>>> class="org.apache.jackrabbit.core.query.lucene.SearchIndex">
>>>>>>>             <param name="path" value="${wsp.home}/index"/>
>>>>>>>         </SearchIndex>
>>>>>>>     </Workspace>
>>>>>>>
>>>>>>>     <!--
>>>>>>>         Configures the versioning
>>>>>>>     -->
>>>>>>>     <Versioning rootPath="${rep.home}/version">               
>>>>>>> <FileSystem
>>>>>>> class="org.apache.jackrabbit.core.fs.local.LocalFileSystem">
>>>>>>>             <param name="path" value="${rep.home}/version" />
>>>>>>>         </FileSystem>       
>>>>>>>         <PersistenceManager
>>>>>>> class="org.apache.jackrabbit.core.state.db.SimpleDbPersistenceManager">
>>>>>>>            <param name="driver"
>>>>>>> value="oracle.jdbc.driver.OracleDriver"/>
>>>>>>>            <param name="url"
>>>>>>> value="jdbc:oracle:thin:@blizzard:1521:orcl"/>
>>>>>>>            <param name="user" value="nithya_registry"/>
>>>>>>>            <param name="password" value="nithya"/>
>>>>>>>            <param name="schema" value="oracle"/>
>>>>>>>            <param name="schemaObjectPrefix" value="version_"/>
>>>>>>>            <param name="externalBLOBs" value="false"/>
>>>>>>>        </PersistenceManager>
>>>>>>>
>>>>>>>     </Versioning>
>>>>>>>
>>>>>>>     <SearchIndex
>>>>>>> class="org.apache.jackrabbit.core.query.lucene.SearchIndex">
>>>>>>>         <param name="path" value="${rep.home}/repository/index"/>
>>>>>>>     </SearchIndex>
>>>>>>> </Repository>
>>>>>>>
>>>>>>> Am I missing anything?
>>>>>>> Regards,
>>>>>>>
>>>>>>> Nithya Mani
>>>>>>> Senior Developer, webMethods
>>>>>>> nithya@webmethods.com
>>>>>>> IM: nithya_infravio (Yahoo)
>>>>>>>     
>>>>>>>     
>>>>>>>        
>>>>>>>
>>>>>>> -----Original Message-----
>>>>>>> From: Sandro Boehme [mailto:sandro.boehme@inovex.de] Sent: 
>>>>>>> Thursday, January 25, 2007 3:14 PM
>>>>>>> To: users@jackrabbit.apache.org
>>>>>>> Subject: Re: Anyone using JCR Browser?
>>>>>>>
>>>>>>> Hi Waldemar,
>>>>>>>
>>>>>>> you are right the local repository (deployment model 1) connection 
>>>>>>> of the JCR Browser uses the Jackrabbit 1.0 libraries in the Eclipse 
>>>>>>> classpath. But the Eclipse plugin classpath is not configurable at 
>>>>>>> runtime. This means you cannot change to a newer Jackrabbit version 
>>>>>>> by design while using the local repository connection of the JCR
>>>>>>> Browser.
>>>>>>>
>>>>>>> But you can use the remote repository (deployment model 3) 
>>>>>>> connection method of the JCR Browser to connect to a repository 
>>>>>>> version of your choice. You will find a short how-to in the 
>>>>>>> ReadMeFirst.txt file of the JCR Browser distribution. If I can help 
>>>>>>> you any further you can either ask in the mailing list of the JCR 
>>>>>>> Browser or here and I will help you get it running.
>>>>>>>
>>>>>>> Best regards,
>>>>>>>
>>>>>>> Sandro
>>>>>>>
>>>>>>> --
>>>>>>> https://www.xing.com/profile/Sandro_Boehme
>>>>>>> http://www.linkedin.com/in/sandroboehme
>>>>>>> http://www.wingsuit.de
>>>>>>>
>>>>>>>     
>>>>>>   
>>>>
>>>>
>>> --
>>> View this message in context:
>>> http://www.nabble.com/RE%3A-Anyone-using-JCR-Browser----tf3172922.html#a8825896
>>> Sent from the Jackrabbit - Users mailing list archive at Nabble.com.
>>>
>>>
>>>
>> 
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/RE%3A-Anyone-using-JCR-Browser----tf3172922.html#a8968146
Sent from the Jackrabbit - Users mailing list archive at Nabble.com.


Re: AW: Anyone using JCR Browser???

Posted by Sandro Böhme <sa...@gmx.de>.
Hi Avim,

it looks good. I think that can work. In the next version that I will 
release the shutdown() method will not be used anymore. There is a 
solution to use the Jackrabbit functionality that shuts down the 
repository as soon as the last session logged out.

 > Are there any plans to add write functionalities?
Not to add write functionality but to create a new project with writing 
capabilities.

Regards,

Sandro

avim schrieb:
> I've just refactored the local Jackrabbit "connector" plugin to work with
> 1.2.1. Seems fine.
> The attached plugin doesn't include some large jars, please add them
> manually.
> http://www.nabble.com/file/6482/plugins.zip plugins.zip 
> Are there any plans to add write functionalities?
> 
> Sandro Boehme wrote:
>> Hi,
>>
>> the UI-Plugin of the JCR Browser does not depend on a JCR implementation
>> like Jackrabbit. It does not even know the Jackrabbit jar files. This
>> means the JCR Browser is "pure JCR". It uses some kind of "connector"
>> architecture that is based on Eclipse Plugins. At the moment there are
>> three connectors. There is one for the jLibrary DMS, one for a RMI
>> connection and one local Jackrabbit connection. It is also possible to
>> create a connector for Alfresco, Exo or other JCR implementations. The
>> local Jackrabbit connection contains the Jackrabbit jar's. In earlier days
>> I explicitly called the shutdown() method in the local Jackrabbit
>> connection because for some reason it did not work in an other way. I will
>> try to only call the "logout" method. As this logs out the only
>> javax.jcr.Session it should automatically shutdown the repository. I will
>> try that when I have the time.
>>
>> Bye,
>>
>> Sandro
>>
>> -----Ursprüngliche Nachricht-----
>> Von: avim [mailto:avi.moradi@timetoknow.org] 
>> Gesendet: Dienstag, 6. Februar 2007 14:27
>> An: users@jackrabbit.apache.org
>> Betreff: Re: Anyone using JCR Browser???
>>
>>
>> It's not gonna work, cause jackrabbit's api and hierarchy(CD) has been
>> slightly changed.
>> Unfortunately these tools are not "pure JCR" and have code dependencies on
>> jackrabbit...
>>
>>
>> Sandro Böhme wrote:
>>> Glaucio Scheibel schrieb:
>>>> I change the jars from JCR browser and it works, only disconnecting 
>>>> is still freezing (I have to quit eclipse to do this).
>>> I'm already in the process to test the update of the local repository 
>>> connector to Jackrabbit 1.2.1 and experienced the same behavior. The 
>>> call to repository.shutdown()
>>> (http://jackrabbit.apache.org/api-1/org/apache/jackrabbit/core/Reposit
>>> oryImpl.html#shutdown()) never comes back. I will go into the details 
>>> to find out, what the reason is as soon as I have the time.
>>>
>>> Regards,
>>>
>>> Sandro
>>>
>>>> Glaucio
>>>>
>>>> avim wrote:
>>>>> The reason is lucene & indexes.
>>>>> If the repository was touched by 1.2.1, in order to access it by JCR 
>>>>> browser or jackrabbit viewer you must delete the indexes 
>>>>> manually(every time!):
>>>>> repository/index, workspaces/default/index etc.
>>>>> Not such a good idea, but it works...
>>>>> I hope these tools will be upgraded soon...
>>>>> Does any one know alternative tools?
>>>>>
>>>>>
>>>>> Nithya Mani wrote:
>>>>>  
>>>>>> Hi,
>>>>>>
>>>>>> I am using JCR browser 0.9 Eclipse plug-in with 
>>>>>> jackrabbit-core-1.0.jar. I tried with the local jackrabbit 
>>>>>> repository. There is a problem during login.
>>>>>> I have set only 'userid' as user name for Simple Credentials of JCR 
>>>>>> browser.
>>>>>> It doesn't throw any error message. It just says '-1:-1:-1'.
>>>>>> It was not possible to login. Please check the credentials.
>>>>>> -1: -1: -1
>>>>>>
>>>>>> What does the meaning of this message? Here is the repository.xml 
>>>>>> file I am using.
>>>>>> <Repository>
>>>>>>     <FileSystem
>>>>>> class="org.apache.jackrabbit.core.fs.local.LocalFileSystem">
>>>>>>         <param name="path" value="${rep.home}/repository"/>
>>>>>>     </FileSystem>
>>>>>>       <Security appName="Jackrabbit">
>>>>>>         <AccessManager
>>>>>> class="org.apache.jackrabbit.core.security.SimpleAccessManager">
>>>>>>
>>>>>>         </AccessManager>
>>>>>>
>>>>>>         <LoginModule
>>>>>> class="org.apache.jackrabbit.core.security.SimpleLoginModule">
>>>>>>                   </LoginModule>
>>>>>>     </Security>
>>>>>>
>>>>>>     <Workspaces rootPath="${rep.home}/workspaces"
>>>>>> defaultWorkspace="default"/>
>>>>>>     <Workspace name="${wsp.name}">
>>>>>>         <FileSystem
>>>>>> class="org.apache.jackrabbit.core.fs.local.LocalFileSystem">
>>>>>>             <param name="path" value="${wsp.home}"/>
>>>>>>         </FileSystem>
>>>>>>         <PersistenceManager
>>>>>> class="org.apache.jackrabbit.core.state.db.SimpleDbPersistenceManager">
>>>>>>            <param name="driver"
>>>>>> value="oracle.jdbc.driver.OracleDriver"/>
>>>>>>            <param name="url"
>>>>>> value="jdbc:oracle:thin:@xxxx:1521:orcl"/>
>>>>>>            <param name="user" value="nithya"/>
>>>>>>            <param name="password" value="nithya"/>
>>>>>>            <param name="schema" value="oracle"/>
>>>>>>            <param name="schemaObjectPrefix" value="${wsp.name}_"/>
>>>>>>            <param name="externalBLOBs" value="false"/>
>>>>>>        </PersistenceManager>
>>>>>>         <SearchIndex
>>>>>> class="org.apache.jackrabbit.core.query.lucene.SearchIndex">
>>>>>>             <param name="path" value="${wsp.home}/index"/>
>>>>>>         </SearchIndex>
>>>>>>     </Workspace>
>>>>>>
>>>>>>     <!--
>>>>>>         Configures the versioning
>>>>>>     -->
>>>>>>     <Versioning rootPath="${rep.home}/version">               
>>>>>> <FileSystem
>>>>>> class="org.apache.jackrabbit.core.fs.local.LocalFileSystem">
>>>>>>             <param name="path" value="${rep.home}/version" />
>>>>>>         </FileSystem>       
>>>>>>         <PersistenceManager
>>>>>> class="org.apache.jackrabbit.core.state.db.SimpleDbPersistenceManager">
>>>>>>            <param name="driver"
>>>>>> value="oracle.jdbc.driver.OracleDriver"/>
>>>>>>            <param name="url"
>>>>>> value="jdbc:oracle:thin:@blizzard:1521:orcl"/>
>>>>>>            <param name="user" value="nithya_registry"/>
>>>>>>            <param name="password" value="nithya"/>
>>>>>>            <param name="schema" value="oracle"/>
>>>>>>            <param name="schemaObjectPrefix" value="version_"/>
>>>>>>            <param name="externalBLOBs" value="false"/>
>>>>>>        </PersistenceManager>
>>>>>>
>>>>>>     </Versioning>
>>>>>>
>>>>>>     <SearchIndex
>>>>>> class="org.apache.jackrabbit.core.query.lucene.SearchIndex">
>>>>>>         <param name="path" value="${rep.home}/repository/index"/>
>>>>>>     </SearchIndex>
>>>>>> </Repository>
>>>>>>
>>>>>> Am I missing anything?
>>>>>> Regards,
>>>>>>
>>>>>> Nithya Mani
>>>>>> Senior Developer, webMethods
>>>>>> nithya@webmethods.com
>>>>>> IM: nithya_infravio (Yahoo)
>>>>>>     
>>>>>>     
>>>>>>        
>>>>>>
>>>>>> -----Original Message-----
>>>>>> From: Sandro Boehme [mailto:sandro.boehme@inovex.de] Sent: 
>>>>>> Thursday, January 25, 2007 3:14 PM
>>>>>> To: users@jackrabbit.apache.org
>>>>>> Subject: Re: Anyone using JCR Browser?
>>>>>>
>>>>>> Hi Waldemar,
>>>>>>
>>>>>> you are right the local repository (deployment model 1) connection 
>>>>>> of the JCR Browser uses the Jackrabbit 1.0 libraries in the Eclipse 
>>>>>> classpath. But the Eclipse plugin classpath is not configurable at 
>>>>>> runtime. This means you cannot change to a newer Jackrabbit version 
>>>>>> by design while using the local repository connection of the JCR
>>>>>> Browser.
>>>>>>
>>>>>> But you can use the remote repository (deployment model 3) 
>>>>>> connection method of the JCR Browser to connect to a repository 
>>>>>> version of your choice. You will find a short how-to in the 
>>>>>> ReadMeFirst.txt file of the JCR Browser distribution. If I can help 
>>>>>> you any further you can either ask in the mailing list of the JCR 
>>>>>> Browser or here and I will help you get it running.
>>>>>>
>>>>>> Best regards,
>>>>>>
>>>>>> Sandro
>>>>>>
>>>>>> --
>>>>>> https://www.xing.com/profile/Sandro_Boehme
>>>>>> http://www.linkedin.com/in/sandroboehme
>>>>>> http://www.wingsuit.de
>>>>>>
>>>>>>     
>>>>>   
>>>
>>>
>> --
>> View this message in context:
>> http://www.nabble.com/RE%3A-Anyone-using-JCR-Browser----tf3172922.html#a8825896
>> Sent from the Jackrabbit - Users mailing list archive at Nabble.com.
>>
>>
>>
> 


Re: AW: Anyone using JCR Browser???

Posted by avim <av...@timetoknow.org>.
I've just refactored the local Jackrabbit "connector" plugin to work with
1.2.1. Seems fine.
The attached plugin doesn't include some large jars, please add them
manually.
http://www.nabble.com/file/6482/plugins.zip plugins.zip 
Are there any plans to add write functionalities?

Sandro Boehme wrote:
> 
> Hi,
> 
> the UI-Plugin of the JCR Browser does not depend on a JCR implementation
> like Jackrabbit. It does not even know the Jackrabbit jar files. This
> means the JCR Browser is "pure JCR". It uses some kind of "connector"
> architecture that is based on Eclipse Plugins. At the moment there are
> three connectors. There is one for the jLibrary DMS, one for a RMI
> connection and one local Jackrabbit connection. It is also possible to
> create a connector for Alfresco, Exo or other JCR implementations. The
> local Jackrabbit connection contains the Jackrabbit jar's. In earlier days
> I explicitly called the shutdown() method in the local Jackrabbit
> connection because for some reason it did not work in an other way. I will
> try to only call the "logout" method. As this logs out the only
> javax.jcr.Session it should automatically shutdown the repository. I will
> try that when I have the time.
> 
> Bye,
> 
> Sandro
> 
> -----Ursprüngliche Nachricht-----
> Von: avim [mailto:avi.moradi@timetoknow.org] 
> Gesendet: Dienstag, 6. Februar 2007 14:27
> An: users@jackrabbit.apache.org
> Betreff: Re: Anyone using JCR Browser???
> 
> 
> It's not gonna work, cause jackrabbit's api and hierarchy(CD) has been
> slightly changed.
> Unfortunately these tools are not "pure JCR" and have code dependencies on
> jackrabbit...
> 
> 
> Sandro Böhme wrote:
>> 
>> Glaucio Scheibel schrieb:
>>> I change the jars from JCR browser and it works, only disconnecting 
>>> is still freezing (I have to quit eclipse to do this).
>> I'm already in the process to test the update of the local repository 
>> connector to Jackrabbit 1.2.1 and experienced the same behavior. The 
>> call to repository.shutdown()
>> (http://jackrabbit.apache.org/api-1/org/apache/jackrabbit/core/Reposit
>> oryImpl.html#shutdown()) never comes back. I will go into the details 
>> to find out, what the reason is as soon as I have the time.
>> 
>> Regards,
>> 
>> Sandro
>> 
>>> 
>>> Glaucio
>>> 
>>> avim wrote:
>>>> The reason is lucene & indexes.
>>>> If the repository was touched by 1.2.1, in order to access it by JCR 
>>>> browser or jackrabbit viewer you must delete the indexes 
>>>> manually(every time!):
>>>> repository/index, workspaces/default/index etc.
>>>> Not such a good idea, but it works...
>>>> I hope these tools will be upgraded soon...
>>>> Does any one know alternative tools?
>>>>
>>>>
>>>> Nithya Mani wrote:
>>>>  
>>>>> Hi,
>>>>>
>>>>> I am using JCR browser 0.9 Eclipse plug-in with 
>>>>> jackrabbit-core-1.0.jar. I tried with the local jackrabbit 
>>>>> repository. There is a problem during login.
>>>>> I have set only 'userid' as user name for Simple Credentials of JCR 
>>>>> browser.
>>>>> It doesn't throw any error message. It just says '-1:-1:-1'.
>>>>> It was not possible to login. Please check the credentials.
>>>>> -1: -1: -1
>>>>>
>>>>> What does the meaning of this message? Here is the repository.xml 
>>>>> file I am using.
>>>>> <Repository>
>>>>>     <FileSystem
>>>>> class="org.apache.jackrabbit.core.fs.local.LocalFileSystem">
>>>>>         <param name="path" value="${rep.home}/repository"/>
>>>>>     </FileSystem>
>>>>>       <Security appName="Jackrabbit">
>>>>>         <AccessManager
>>>>> class="org.apache.jackrabbit.core.security.SimpleAccessManager">
>>>>>
>>>>>         </AccessManager>
>>>>>
>>>>>         <LoginModule
>>>>> class="org.apache.jackrabbit.core.security.SimpleLoginModule">
>>>>>                   </LoginModule>
>>>>>     </Security>
>>>>>
>>>>>     <Workspaces rootPath="${rep.home}/workspaces"
>>>>> defaultWorkspace="default"/>
>>>>>     <Workspace name="${wsp.name}">
>>>>>         <FileSystem
>>>>> class="org.apache.jackrabbit.core.fs.local.LocalFileSystem">
>>>>>             <param name="path" value="${wsp.home}"/>
>>>>>         </FileSystem>
>>>>>         <PersistenceManager
>>>>> class="org.apache.jackrabbit.core.state.db.SimpleDbPersistenceManager">
>>>>>            <param name="driver"
>>>>> value="oracle.jdbc.driver.OracleDriver"/>
>>>>>            <param name="url"
>>>>> value="jdbc:oracle:thin:@xxxx:1521:orcl"/>
>>>>>            <param name="user" value="nithya"/>
>>>>>            <param name="password" value="nithya"/>
>>>>>            <param name="schema" value="oracle"/>
>>>>>            <param name="schemaObjectPrefix" value="${wsp.name}_"/>
>>>>>            <param name="externalBLOBs" value="false"/>
>>>>>        </PersistenceManager>
>>>>>         <SearchIndex
>>>>> class="org.apache.jackrabbit.core.query.lucene.SearchIndex">
>>>>>             <param name="path" value="${wsp.home}/index"/>
>>>>>         </SearchIndex>
>>>>>     </Workspace>
>>>>>
>>>>>     <!--
>>>>>         Configures the versioning
>>>>>     -->
>>>>>     <Versioning rootPath="${rep.home}/version">               
>>>>> <FileSystem
>>>>> class="org.apache.jackrabbit.core.fs.local.LocalFileSystem">
>>>>>             <param name="path" value="${rep.home}/version" />
>>>>>         </FileSystem>       
>>>>>         <PersistenceManager
>>>>> class="org.apache.jackrabbit.core.state.db.SimpleDbPersistenceManager">
>>>>>            <param name="driver"
>>>>> value="oracle.jdbc.driver.OracleDriver"/>
>>>>>            <param name="url"
>>>>> value="jdbc:oracle:thin:@blizzard:1521:orcl"/>
>>>>>            <param name="user" value="nithya_registry"/>
>>>>>            <param name="password" value="nithya"/>
>>>>>            <param name="schema" value="oracle"/>
>>>>>            <param name="schemaObjectPrefix" value="version_"/>
>>>>>            <param name="externalBLOBs" value="false"/>
>>>>>        </PersistenceManager>
>>>>>
>>>>>     </Versioning>
>>>>>
>>>>>     <SearchIndex
>>>>> class="org.apache.jackrabbit.core.query.lucene.SearchIndex">
>>>>>         <param name="path" value="${rep.home}/repository/index"/>
>>>>>     </SearchIndex>
>>>>> </Repository>
>>>>>
>>>>> Am I missing anything?
>>>>> Regards,
>>>>>
>>>>> Nithya Mani
>>>>> Senior Developer, webMethods
>>>>> nithya@webmethods.com
>>>>> IM: nithya_infravio (Yahoo)
>>>>>     
>>>>>     
>>>>>        
>>>>>
>>>>> -----Original Message-----
>>>>> From: Sandro Boehme [mailto:sandro.boehme@inovex.de] Sent: 
>>>>> Thursday, January 25, 2007 3:14 PM
>>>>> To: users@jackrabbit.apache.org
>>>>> Subject: Re: Anyone using JCR Browser?
>>>>>
>>>>> Hi Waldemar,
>>>>>
>>>>> you are right the local repository (deployment model 1) connection 
>>>>> of the JCR Browser uses the Jackrabbit 1.0 libraries in the Eclipse 
>>>>> classpath. But the Eclipse plugin classpath is not configurable at 
>>>>> runtime. This means you cannot change to a newer Jackrabbit version 
>>>>> by design while using the local repository connection of the JCR
>>>>> Browser.
>>>>>
>>>>> But you can use the remote repository (deployment model 3) 
>>>>> connection method of the JCR Browser to connect to a repository 
>>>>> version of your choice. You will find a short how-to in the 
>>>>> ReadMeFirst.txt file of the JCR Browser distribution. If I can help 
>>>>> you any further you can either ask in the mailing list of the JCR 
>>>>> Browser or here and I will help you get it running.
>>>>>
>>>>> Best regards,
>>>>>
>>>>> Sandro
>>>>>
>>>>> --
>>>>> https://www.xing.com/profile/Sandro_Boehme
>>>>> http://www.linkedin.com/in/sandroboehme
>>>>> http://www.wingsuit.de
>>>>>
>>>>>     
>>>>
>>>>   
>>> 
>> 
>> 
>> 
> 
> --
> View this message in context:
> http://www.nabble.com/RE%3A-Anyone-using-JCR-Browser----tf3172922.html#a8825896
> Sent from the Jackrabbit - Users mailing list archive at Nabble.com.
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/RE%3A-Anyone-using-JCR-Browser----tf3172922.html#a8963947
Sent from the Jackrabbit - Users mailing list archive at Nabble.com.


Re: AW: Anyone using JCR Browser???

Posted by Sandro Böhme <sa...@gmx.de>.
I'm sorry I don't have any background information about it.
In the meantime I found a solution for the problem, that Jackrabbit 
hangs in the shutdown() method. If somebody is interested I can probably 
send a preliminary version of the fixed JCR Browser with Jackrabbit 
1.2.1 in the course of this week. To release a version at sourceforge I 
will need more time for additional tests.

Bye,

Sandro

avim wrote:
> Sure, I realize that. looking forward for your patch...
> Do you have any idea if jackrabbit viewer has the same architecture?
> 
> 
> Sandro Boehme wrote:
> 
>>You need to have dependencies, because connecting to a JCR is not
>>specified in JSR-170. It will probably be specified in JSR-283.
>>
>>-----Ursprüngliche Nachricht-----
>>Von: Sandro Boehme [mailto:sandro.boehme@inovex.de] 
>>Gesendet: Dienstag, 6. Februar 2007 14:44
>>An: users@jackrabbit.apache.org
>>Betreff: AW: Anyone using JCR Browser???
>>
>>Hi,
>>
>>the UI-Plugin of the JCR Browser does not depend on a JCR implementation
>>like Jackrabbit. It does not even know the Jackrabbit jar files. This
>>means the JCR Browser is "pure JCR". It uses some kind of "connector"
>>architecture that is based on Eclipse Plugins. At the moment there are
>>three connectors. There is one for the jLibrary DMS, one for a RMI
>>connection and one local Jackrabbit connection. It is also possible to
>>create a connector for Alfresco, Exo or other JCR implementations. The
>>local Jackrabbit connection contains the Jackrabbit jar's. In earlier days
>>I explicitly called the shutdown() method in the local Jackrabbit
>>connection because for some reason it did not work in an other way. I will
>>try to only call the "logout" method. As this logs out the only
>>javax.jcr.Session it should automatically shutdown the repository. I will
>>try that when I have the time.
>>
>>Bye,
>>
>>Sandro
>>
>>-----Ursprüngliche Nachricht-----
>>Von: avim [mailto:avi.moradi@timetoknow.org]
>>Gesendet: Dienstag, 6. Februar 2007 14:27
>>An: users@jackrabbit.apache.org
>>Betreff: Re: Anyone using JCR Browser???
>>
>>
>>It's not gonna work, cause jackrabbit's api and hierarchy(CD) has been
>>slightly changed.
>>Unfortunately these tools are not "pure JCR" and have code dependencies on
>>jackrabbit...
>>
>>
>>Sandro Böhme wrote:
>>
>>>Glaucio Scheibel schrieb:
>>>
>>>>I change the jars from JCR browser and it works, only disconnecting 
>>>>is still freezing (I have to quit eclipse to do this).
>>>
>>>I'm already in the process to test the update of the local repository 
>>>connector to Jackrabbit 1.2.1 and experienced the same behavior. The 
>>>call to repository.shutdown()
>>>(http://jackrabbit.apache.org/api-1/org/apache/jackrabbit/core/Reposit
>>>oryImpl.html#shutdown()) never comes back. I will go into the details 
>>>to find out, what the reason is as soon as I have the time.
>>>
>>>Regards,
>>>
>>>Sandro
>>>
>>>
>>>>Glaucio
>>>>
>>>>avim wrote:
>>>>
>>>>>The reason is lucene & indexes.
>>>>>If the repository was touched by 1.2.1, in order to access it by JCR 
>>>>>browser or jackrabbit viewer you must delete the indexes 
>>>>>manually(every time!):
>>>>>repository/index, workspaces/default/index etc.
>>>>>Not such a good idea, but it works...
>>>>>I hope these tools will be upgraded soon...
>>>>>Does any one know alternative tools?
>>>>>
>>>>>
>>>>>Nithya Mani wrote:
>>>>> 
>>>>>
>>>>>>Hi,
>>>>>>
>>>>>>I am using JCR browser 0.9 Eclipse plug-in with 
>>>>>>jackrabbit-core-1.0.jar. I tried with the local jackrabbit 
>>>>>>repository. There is a problem during login.
>>>>>>I have set only 'userid' as user name for Simple Credentials of JCR 
>>>>>>browser.
>>>>>>It doesn't throw any error message. It just says '-1:-1:-1'.
>>>>>>It was not possible to login. Please check the credentials.
>>>>>>-1: -1: -1
>>>>>>
>>>>>>What does the meaning of this message? Here is the repository.xml 
>>>>>>file I am using.
>>>>>><Repository>
>>>>>>    <FileSystem
>>>>>>class="org.apache.jackrabbit.core.fs.local.LocalFileSystem">
>>>>>>        <param name="path" value="${rep.home}/repository"/>
>>>>>>    </FileSystem>
>>>>>>      <Security appName="Jackrabbit">
>>>>>>        <AccessManager
>>>>>>class="org.apache.jackrabbit.core.security.SimpleAccessManager">
>>>>>>
>>>>>>        </AccessManager>
>>>>>>
>>>>>>        <LoginModule
>>>>>>class="org.apache.jackrabbit.core.security.SimpleLoginModule">
>>>>>>                  </LoginModule>
>>>>>>    </Security>
>>>>>>
>>>>>>    <Workspaces rootPath="${rep.home}/workspaces"
>>>>>>defaultWorkspace="default"/>
>>>>>>    <Workspace name="${wsp.name}">
>>>>>>        <FileSystem
>>>>>>class="org.apache.jackrabbit.core.fs.local.LocalFileSystem">
>>>>>>            <param name="path" value="${wsp.home}"/>
>>>>>>        </FileSystem>
>>>>>>        <PersistenceManager
>>>>>>class="org.apache.jackrabbit.core.state.db.SimpleDbPersistenceManager">
>>>>>>           <param name="driver"
>>>>>>value="oracle.jdbc.driver.OracleDriver"/>
>>>>>>           <param name="url"
>>>>>>value="jdbc:oracle:thin:@xxxx:1521:orcl"/>
>>>>>>           <param name="user" value="nithya"/>
>>>>>>           <param name="password" value="nithya"/>
>>>>>>           <param name="schema" value="oracle"/>
>>>>>>           <param name="schemaObjectPrefix" value="${wsp.name}_"/>
>>>>>>           <param name="externalBLOBs" value="false"/>
>>>>>>       </PersistenceManager>
>>>>>>        <SearchIndex
>>>>>>class="org.apache.jackrabbit.core.query.lucene.SearchIndex">
>>>>>>            <param name="path" value="${wsp.home}/index"/>
>>>>>>        </SearchIndex>
>>>>>>    </Workspace>
>>>>>>
>>>>>>    <!--
>>>>>>        Configures the versioning
>>>>>>    -->
>>>>>>    <Versioning rootPath="${rep.home}/version">               
>>>>>><FileSystem
>>>>>>class="org.apache.jackrabbit.core.fs.local.LocalFileSystem">
>>>>>>            <param name="path" value="${rep.home}/version" />
>>>>>>        </FileSystem>       
>>>>>>        <PersistenceManager
>>>>>>class="org.apache.jackrabbit.core.state.db.SimpleDbPersistenceManager">
>>>>>>           <param name="driver"
>>>>>>value="oracle.jdbc.driver.OracleDriver"/>
>>>>>>           <param name="url"
>>>>>>value="jdbc:oracle:thin:@blizzard:1521:orcl"/>
>>>>>>           <param name="user" value="nithya_registry"/>
>>>>>>           <param name="password" value="nithya"/>
>>>>>>           <param name="schema" value="oracle"/>
>>>>>>           <param name="schemaObjectPrefix" value="version_"/>
>>>>>>           <param name="externalBLOBs" value="false"/>
>>>>>>       </PersistenceManager>
>>>>>>
>>>>>>    </Versioning>
>>>>>>
>>>>>>    <SearchIndex
>>>>>>class="org.apache.jackrabbit.core.query.lucene.SearchIndex">
>>>>>>        <param name="path" value="${rep.home}/repository/index"/>
>>>>>>    </SearchIndex>
>>>>>></Repository>
>>>>>>
>>>>>>Am I missing anything?
>>>>>>Regards,
>>>>>>
>>>>>>Nithya Mani
>>>>>>Senior Developer, webMethods
>>>>>>nithya@webmethods.com
>>>>>>IM: nithya_infravio (Yahoo)
>>>>>>    
>>>>>>    
>>>>>>       
>>>>>>
>>>>>>-----Original Message-----
>>>>>>From: Sandro Boehme [mailto:sandro.boehme@inovex.de] Sent: 
>>>>>>Thursday, January 25, 2007 3:14 PM
>>>>>>To: users@jackrabbit.apache.org
>>>>>>Subject: Re: Anyone using JCR Browser?
>>>>>>
>>>>>>Hi Waldemar,
>>>>>>
>>>>>>you are right the local repository (deployment model 1) connection 
>>>>>>of the JCR Browser uses the Jackrabbit 1.0 libraries in the Eclipse 
>>>>>>classpath. But the Eclipse plugin classpath is not configurable at 
>>>>>>runtime. This means you cannot change to a newer Jackrabbit version 
>>>>>>by design while using the local repository connection of the JCR
>>>>>>Browser.
>>>>>>
>>>>>>But you can use the remote repository (deployment model 3) 
>>>>>>connection method of the JCR Browser to connect to a repository 
>>>>>>version of your choice. You will find a short how-to in the 
>>>>>>ReadMeFirst.txt file of the JCR Browser distribution. If I can help 
>>>>>>you any further you can either ask in the mailing list of the JCR 
>>>>>>Browser or here and I will help you get it running.
>>>>>>
>>>>>>Best regards,
>>>>>>
>>>>>>Sandro
>>>>>>
>>>>>>--
>>>>>>https://www.xing.com/profile/Sandro_Boehme
>>>>>>http://www.linkedin.com/in/sandroboehme
>>>>>>http://www.wingsuit.de
>>>>>>
>>>>>>    
>>>>>
>>>>>  
>>>>
>>>
>>>
>>--
>>View this message in context:
>>http://www.nabble.com/RE%3A-Anyone-using-JCR-Browser----tf3172922.html#a8825896
>>Sent from the Jackrabbit - Users mailing list archive at Nabble.com.
>>
>>
>>
> 
> 


-- 
https://www.xing.com/profile/Sandro_Boehme
http://www.linkedin.com/in/sandroboehme
http://www.wingsuit.de

Re: AW: Anyone using JCR Browser???

Posted by avim <av...@timetoknow.org>.
Sure, I realize that. looking forward for your patch...
Do you have any idea if jackrabbit viewer has the same architecture?


Sandro Boehme wrote:
> 
> You need to have dependencies, because connecting to a JCR is not
> specified in JSR-170. It will probably be specified in JSR-283.
> 
> -----Ursprüngliche Nachricht-----
> Von: Sandro Boehme [mailto:sandro.boehme@inovex.de] 
> Gesendet: Dienstag, 6. Februar 2007 14:44
> An: users@jackrabbit.apache.org
> Betreff: AW: Anyone using JCR Browser???
> 
> Hi,
> 
> the UI-Plugin of the JCR Browser does not depend on a JCR implementation
> like Jackrabbit. It does not even know the Jackrabbit jar files. This
> means the JCR Browser is "pure JCR". It uses some kind of "connector"
> architecture that is based on Eclipse Plugins. At the moment there are
> three connectors. There is one for the jLibrary DMS, one for a RMI
> connection and one local Jackrabbit connection. It is also possible to
> create a connector for Alfresco, Exo or other JCR implementations. The
> local Jackrabbit connection contains the Jackrabbit jar's. In earlier days
> I explicitly called the shutdown() method in the local Jackrabbit
> connection because for some reason it did not work in an other way. I will
> try to only call the "logout" method. As this logs out the only
> javax.jcr.Session it should automatically shutdown the repository. I will
> try that when I have the time.
> 
> Bye,
> 
> Sandro
> 
> -----Ursprüngliche Nachricht-----
> Von: avim [mailto:avi.moradi@timetoknow.org]
> Gesendet: Dienstag, 6. Februar 2007 14:27
> An: users@jackrabbit.apache.org
> Betreff: Re: Anyone using JCR Browser???
> 
> 
> It's not gonna work, cause jackrabbit's api and hierarchy(CD) has been
> slightly changed.
> Unfortunately these tools are not "pure JCR" and have code dependencies on
> jackrabbit...
> 
> 
> Sandro Böhme wrote:
>> 
>> Glaucio Scheibel schrieb:
>>> I change the jars from JCR browser and it works, only disconnecting 
>>> is still freezing (I have to quit eclipse to do this).
>> I'm already in the process to test the update of the local repository 
>> connector to Jackrabbit 1.2.1 and experienced the same behavior. The 
>> call to repository.shutdown()
>> (http://jackrabbit.apache.org/api-1/org/apache/jackrabbit/core/Reposit
>> oryImpl.html#shutdown()) never comes back. I will go into the details 
>> to find out, what the reason is as soon as I have the time.
>> 
>> Regards,
>> 
>> Sandro
>> 
>>> 
>>> Glaucio
>>> 
>>> avim wrote:
>>>> The reason is lucene & indexes.
>>>> If the repository was touched by 1.2.1, in order to access it by JCR 
>>>> browser or jackrabbit viewer you must delete the indexes 
>>>> manually(every time!):
>>>> repository/index, workspaces/default/index etc.
>>>> Not such a good idea, but it works...
>>>> I hope these tools will be upgraded soon...
>>>> Does any one know alternative tools?
>>>>
>>>>
>>>> Nithya Mani wrote:
>>>>  
>>>>> Hi,
>>>>>
>>>>> I am using JCR browser 0.9 Eclipse plug-in with 
>>>>> jackrabbit-core-1.0.jar. I tried with the local jackrabbit 
>>>>> repository. There is a problem during login.
>>>>> I have set only 'userid' as user name for Simple Credentials of JCR 
>>>>> browser.
>>>>> It doesn't throw any error message. It just says '-1:-1:-1'.
>>>>> It was not possible to login. Please check the credentials.
>>>>> -1: -1: -1
>>>>>
>>>>> What does the meaning of this message? Here is the repository.xml 
>>>>> file I am using.
>>>>> <Repository>
>>>>>     <FileSystem
>>>>> class="org.apache.jackrabbit.core.fs.local.LocalFileSystem">
>>>>>         <param name="path" value="${rep.home}/repository"/>
>>>>>     </FileSystem>
>>>>>       <Security appName="Jackrabbit">
>>>>>         <AccessManager
>>>>> class="org.apache.jackrabbit.core.security.SimpleAccessManager">
>>>>>
>>>>>         </AccessManager>
>>>>>
>>>>>         <LoginModule
>>>>> class="org.apache.jackrabbit.core.security.SimpleLoginModule">
>>>>>                   </LoginModule>
>>>>>     </Security>
>>>>>
>>>>>     <Workspaces rootPath="${rep.home}/workspaces"
>>>>> defaultWorkspace="default"/>
>>>>>     <Workspace name="${wsp.name}">
>>>>>         <FileSystem
>>>>> class="org.apache.jackrabbit.core.fs.local.LocalFileSystem">
>>>>>             <param name="path" value="${wsp.home}"/>
>>>>>         </FileSystem>
>>>>>         <PersistenceManager
>>>>> class="org.apache.jackrabbit.core.state.db.SimpleDbPersistenceManager">
>>>>>            <param name="driver"
>>>>> value="oracle.jdbc.driver.OracleDriver"/>
>>>>>            <param name="url"
>>>>> value="jdbc:oracle:thin:@xxxx:1521:orcl"/>
>>>>>            <param name="user" value="nithya"/>
>>>>>            <param name="password" value="nithya"/>
>>>>>            <param name="schema" value="oracle"/>
>>>>>            <param name="schemaObjectPrefix" value="${wsp.name}_"/>
>>>>>            <param name="externalBLOBs" value="false"/>
>>>>>        </PersistenceManager>
>>>>>         <SearchIndex
>>>>> class="org.apache.jackrabbit.core.query.lucene.SearchIndex">
>>>>>             <param name="path" value="${wsp.home}/index"/>
>>>>>         </SearchIndex>
>>>>>     </Workspace>
>>>>>
>>>>>     <!--
>>>>>         Configures the versioning
>>>>>     -->
>>>>>     <Versioning rootPath="${rep.home}/version">               
>>>>> <FileSystem
>>>>> class="org.apache.jackrabbit.core.fs.local.LocalFileSystem">
>>>>>             <param name="path" value="${rep.home}/version" />
>>>>>         </FileSystem>       
>>>>>         <PersistenceManager
>>>>> class="org.apache.jackrabbit.core.state.db.SimpleDbPersistenceManager">
>>>>>            <param name="driver"
>>>>> value="oracle.jdbc.driver.OracleDriver"/>
>>>>>            <param name="url"
>>>>> value="jdbc:oracle:thin:@blizzard:1521:orcl"/>
>>>>>            <param name="user" value="nithya_registry"/>
>>>>>            <param name="password" value="nithya"/>
>>>>>            <param name="schema" value="oracle"/>
>>>>>            <param name="schemaObjectPrefix" value="version_"/>
>>>>>            <param name="externalBLOBs" value="false"/>
>>>>>        </PersistenceManager>
>>>>>
>>>>>     </Versioning>
>>>>>
>>>>>     <SearchIndex
>>>>> class="org.apache.jackrabbit.core.query.lucene.SearchIndex">
>>>>>         <param name="path" value="${rep.home}/repository/index"/>
>>>>>     </SearchIndex>
>>>>> </Repository>
>>>>>
>>>>> Am I missing anything?
>>>>> Regards,
>>>>>
>>>>> Nithya Mani
>>>>> Senior Developer, webMethods
>>>>> nithya@webmethods.com
>>>>> IM: nithya_infravio (Yahoo)
>>>>>     
>>>>>     
>>>>>        
>>>>>
>>>>> -----Original Message-----
>>>>> From: Sandro Boehme [mailto:sandro.boehme@inovex.de] Sent: 
>>>>> Thursday, January 25, 2007 3:14 PM
>>>>> To: users@jackrabbit.apache.org
>>>>> Subject: Re: Anyone using JCR Browser?
>>>>>
>>>>> Hi Waldemar,
>>>>>
>>>>> you are right the local repository (deployment model 1) connection 
>>>>> of the JCR Browser uses the Jackrabbit 1.0 libraries in the Eclipse 
>>>>> classpath. But the Eclipse plugin classpath is not configurable at 
>>>>> runtime. This means you cannot change to a newer Jackrabbit version 
>>>>> by design while using the local repository connection of the JCR
>>>>> Browser.
>>>>>
>>>>> But you can use the remote repository (deployment model 3) 
>>>>> connection method of the JCR Browser to connect to a repository 
>>>>> version of your choice. You will find a short how-to in the 
>>>>> ReadMeFirst.txt file of the JCR Browser distribution. If I can help 
>>>>> you any further you can either ask in the mailing list of the JCR 
>>>>> Browser or here and I will help you get it running.
>>>>>
>>>>> Best regards,
>>>>>
>>>>> Sandro
>>>>>
>>>>> --
>>>>> https://www.xing.com/profile/Sandro_Boehme
>>>>> http://www.linkedin.com/in/sandroboehme
>>>>> http://www.wingsuit.de
>>>>>
>>>>>     
>>>>
>>>>   
>>> 
>> 
>> 
>> 
> 
> --
> View this message in context:
> http://www.nabble.com/RE%3A-Anyone-using-JCR-Browser----tf3172922.html#a8825896
> Sent from the Jackrabbit - Users mailing list archive at Nabble.com.
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/RE%3A-Anyone-using-JCR-Browser----tf3172922.html#a8849606
Sent from the Jackrabbit - Users mailing list archive at Nabble.com.


RE: Anyone using JCR Browser???

Posted by Shaun Barriball <sb...@yahoo.co.uk>.
Hi,

We used both the Eclipse JCR Browser and the JackRabbit Viewer with
JackRabbit 1.1 successfully.

After upgrading to 1.2.1, and creating a new repository with 1.2.1, I get
the following:
 * Eclipse JCR Browser - 
	I get the same "-1: -1: -1" error
 * JackRabbit Viewer
     Also the same "-1: -1: -1" error

I tried upgrading the jars within the viewers from 1.0 to 1.2.1 but this
generates:

java.lang.NoClassDefFoundError:
org/apache/jackrabbit/core/config/ConfigurationException
	at java.lang.Class.getDeclaredConstructors0(Native Method)
(for the Eclipse JCR Browser).

So it appears the APIs used by these browsers has changed in 1.2.1.


Is is possible to deploy a separate RMI server using a Model 2 deployment
model such that you have deployed:
 - web app 1 and 2 using JNDI to access JackRabbit
 - JackRabbit RMI web app 3 also JNDI to make the same repository externally
accessible?

Regards,
Shaun.

-----Original Message-----
From: Nithya Mani [mailto:nithya@webmethods.com] 
Sent: 05 February 2007 07:32
To: users@jackrabbit.apache.org
Subject: RE: Anyone using JCR Browser???

Hi,

I am using JCR browser 0.9 Eclipse plug-in with jackrabbit-core-1.0.jar. I
tried with the local jackrabbit repository. There is a problem during login.
I have set only 'userid' as user name for Simple Credentials of JCR browser.
It doesn't throw any error message. It just says '-1:-1:-1'. 

It was not possible to login. Please check the credentials.
-1: -1: -1

What does the meaning of this message? Here is the repository.xml file I am
using. 

<Repository>
    <FileSystem class="org.apache.jackrabbit.core.fs.local.LocalFileSystem">
        <param name="path" value="${rep.home}/repository"/>
    </FileSystem>
  
    <Security appName="Jackrabbit">
        <AccessManager
class="org.apache.jackrabbit.core.security.SimpleAccessManager">

        </AccessManager>

        <LoginModule
class="org.apache.jackrabbit.core.security.SimpleLoginModule">
          
        </LoginModule>
    </Security>

    <Workspaces rootPath="${rep.home}/workspaces"
defaultWorkspace="default"/>
    <Workspace name="${wsp.name}">
        <FileSystem
class="org.apache.jackrabbit.core.fs.local.LocalFileSystem">
            <param name="path" value="${wsp.home}"/>
        </FileSystem>
        <PersistenceManager
class="org.apache.jackrabbit.core.state.db.SimpleDbPersistenceManager">
		   <param name="driver"
value="oracle.jdbc.driver.OracleDriver"/>
		   <param name="url"
value="jdbc:oracle:thin:@xxxx:1521:orcl"/>
		   <param name="user" value="nithya"/>
		   <param name="password" value="nithya"/>
		   <param name="schema" value="oracle"/>
		   <param name="schemaObjectPrefix" value="${wsp.name}_"/>
		   <param name="externalBLOBs" value="false"/>
	   </PersistenceManager>
        <SearchIndex
class="org.apache.jackrabbit.core.query.lucene.SearchIndex">
            <param name="path" value="${wsp.home}/index"/>
        </SearchIndex>
    </Workspace>

    <!--
        Configures the versioning
    -->
    <Versioning rootPath="${rep.home}/version">       
        <FileSystem
class="org.apache.jackrabbit.core.fs.local.LocalFileSystem">
            <param name="path" value="${rep.home}/version" />
        </FileSystem>        

        <PersistenceManager
class="org.apache.jackrabbit.core.state.db.SimpleDbPersistenceManager">
		   <param name="driver"
value="oracle.jdbc.driver.OracleDriver"/>
		   <param name="url"
value="jdbc:oracle:thin:@blizzard:1521:orcl"/>
		   <param name="user" value="nithya_registry"/>
		   <param name="password" value="nithya"/>
		   <param name="schema" value="oracle"/>
		   <param name="schemaObjectPrefix" value="version_"/>
		   <param name="externalBLOBs" value="false"/>
	   </PersistenceManager>

    </Versioning>

    <SearchIndex
class="org.apache.jackrabbit.core.query.lucene.SearchIndex">
        <param name="path" value="${rep.home}/repository/index"/>
    </SearchIndex>
</Repository>

Am I missing anything? 

Regards,

Nithya Mani
Senior Developer, webMethods
nithya@webmethods.com
IM: nithya_infravio (Yahoo)
	
	
		

-----Original Message-----
From: Sandro Boehme [mailto:sandro.boehme@inovex.de]
Sent: Thursday, January 25, 2007 3:14 PM
To: users@jackrabbit.apache.org
Subject: Re: Anyone using JCR Browser?

Hi Waldemar,

you are right the local repository (deployment model 1) connection of the
JCR Browser uses the Jackrabbit 1.0 libraries in the Eclipse classpath. But
the Eclipse plugin classpath is not configurable at runtime. This means you
cannot change to a newer Jackrabbit version by design while using the local
repository connection of the JCR Browser.

But you can use the remote repository (deployment model 3) connection method
of the JCR Browser to connect to a repository version of your choice. You
will find a short how-to in the ReadMeFirst.txt file of the JCR Browser
distribution. If I can help you any further you can either ask in the
mailing list of the JCR Browser or here and I will help you get it running.

Best regards,

Sandro

--
https://www.xing.com/profile/Sandro_Boehme
http://www.linkedin.com/in/sandroboehme
http://www.wingsuit.de 


		
___________________________________________________________ 
To help you stay safe and secure online, we've developed the all new Yahoo! Security Centre. http://uk.security.yahoo.com