Hi,

I just guess but can it be the case, that you  try to access a repository that 
was not created with jackrabbit 1.0? In that case please see my comment 
(Subject: "Re: JackRabbit browsers working with 1.2.1?")to Shaun from last week:
"you can get the JCR Browser to work with an arbitary Jackrabbit version when 
deploying it with model 3 
(http://jackrabbit.apache.org/doc/deploy/howto-model3.html).
You can do that using web archive that you find in the Jackrabbit release and 
enabling it for RMI.
A tutorial can be found at jLibrary 
(http://jlibrary.sourceforge.net/11/jcrbrowser.html) or in the readme.txt file 
of the JCR Browser.
Please note when using the tutorial at jLibrary only the chapter "Connection to 
a remote jLibrary repository" is relevant. It is not very jLibrary specific.
Please tell me if there are any open aspects."

Best regards,

Sandro
 

-----Ursprüngliche Nachricht-----
Von: Nithya Mani [mailto:[EMAIL PROTECTED] 
Gesendet: Montag, 5. Februar 2007 09:40
An: [email protected]
Betreff: FW: Anyone using JCR Browser???



Nithya Mani
Senior Developer, webMethods
[EMAIL PROTECTED]
IM: nithya_infravio (Yahoo)
        
        
                
-----Original Message-----
From: Nithya Mani
Sent: Monday, February 05, 2007 1:02 PM
To: [email protected]
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
[EMAIL PROTECTED]
IM: nithya_infravio (Yahoo)
        
        
                

-----Original Message-----
From: Sandro Boehme [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 25, 2007 3:14 PM
To: [email protected]
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 

Reply via email to