jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shaun Barriball" <sbarr...@yahoo.co.uk>
Subject RE: Anyone using JCR Browser???
Date Mon, 05 Feb 2007 10:23:02 GMT
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

Mime
View raw message