jira | 2 May 05:21 2010
Picon

Subscription: open issues

Issue Subscription
Filter: open issues (200 of 262 issues)
Open Issues for Apache Jackrabbit
Subscriber: jackrabbitdev

Key         Summary
JCR-2621    principalbased ACL editing fails if principalName differs from the authorizableID
            https://issues.apache.org/jira/browse/JCR-2621
JCR-2620    Authorizable#getProperty and #setProperty should deal with relativePath 
            https://issues.apache.org/jira/browse/JCR-2620
JCR-2617    ItemStateMap warnings during node type changes
            https://issues.apache.org/jira/browse/JCR-2617
JCR-2614    Include the WebDAV litmus tests in the Jackrabbit integration tests
            https://issues.apache.org/jira/browse/JCR-2614
JCR-2612    Smart getSize() for query results
            https://issues.apache.org/jira/browse/JCR-2612
JCR-2610    Quering returns java.lang.IndexOutOfBoundsException: bitIndex < 0: -1
            https://issues.apache.org/jira/browse/JCR-2610
JCR-2608    Making Jackrabbit content repo usable from OSGi (Equinox)
            https://issues.apache.org/jira/browse/JCR-2608
JCR-2606    option to specify in query if empty values are sorted first or last
            https://issues.apache.org/jira/browse/JCR-2606
JCR-2605    Can we have more jcr-sql2 functions 
            https://issues.apache.org/jira/browse/JCR-2605
JCR-2596    multiple instances of jackrabbit-standalone cause "file backing binary value not found" from org.apache.jackrabbit.util.TransientFileFactory
            https://issues.apache.org/jira/browse/JCR-2596
JCR-2581    Get NPE when custom node was updated
            https://issues.apache.org/jira/browse/JCR-2581
JCR-2579    InvalidItemStateException when attempting concurrent, non conflicting writes
            https://issues.apache.org/jira/browse/JCR-2579
(Continue reading)

Bart van der Schans | 4 May 09:42 2010

Re: Jackrabbit 1.6.2 release plan

Hi Jukka,

On Wed, Apr 28, 2010 at 5:06 PM, Jukka Zitting <jukka.zitting <at> gmail.com> wrote:
> Hi,
>
> On Wed, Apr 28, 2010 at 3:13 PM, Bart van der Schans
> <b.vanderschans <at> onehippo.com> wrote:
>> I've added the updated patch "patch-2456-b-1.6.txt" to the issue.

I was looking at JCR-2503. It seems that the patch from JCR-2456
prevents the actual corruption in the database, but the session state
gets corrupt. Could we still add the patch from JCR-2503 to 1.6.2? Or
did you already start creating the RC?

Regards,
Bart

Jukka Zitting | 4 May 09:49 2010
Picon

Re: Jackrabbit 1.6.2 release plan

Hi,

On Tue, May 4, 2010 at 10:42 AM, Bart van der Schans
<b.vanderschans <at> onehippo.com> wrote:
> I was looking at JCR-2503. It seems that the patch from JCR-2456
> prevents the actual corruption in the database, but the session state
> gets corrupt. Could we still add the patch from JCR-2503 to 1.6.2? Or
> did you already start creating the RC?

We can do JCR-2503 too.

Paul sent me a copy of a troublesome repository as discussed in
JCR-2433 and I'm still trying to sort out that problem before cutting
the release.

BR,

Jukka Zitting

Jukka Zitting | 4 May 09:55 2010
Picon

Re: No more Confluence

Hi,

On Thu, Apr 22, 2010 at 12:08 PM, Jukka Zitting <jukka.zitting <at> gmail.com> wrote:
> [...] The autoexport setup is quite inflexible and prone to
> breakage (we've now had two occasions of code listings getting
> broken) [...]

And now our site template is busted due to plugin upgrades. :-(

I'll look at fixing this, but once that's done and unless anyone is
very attached to Confluence, I'll start planning a migration to some
other tool.

BR,

Jukka Zitting

Jenni P | 4 May 15:05 2010
Picon

Getting NoSuchMethodError at jackrabbit session.login() mehtod

Hi All,

    I am getting NoSuchMethodError at Session session = repository.login(new SimpleCredentials("username", "password".toCharArray())); when running my below application. I have added below jar files to my application.Below is the sample application downloaded from the location http://jackrabbit.apache.org/first-hops.html
I am new to the Jackrabbit. Please guide me to run the application successfully.  
Thanks in advance.
 
JAR FILES ADDED TO APPLICATION:  jackrabbit-jcr-commons-2.0.0.jar,jackrabbit-api-2.0.0.jar, jackrabbit-core-2.0.0.jar, jackrabbit-jca-2.0.0.jar, jcr-1.0.jar, lucene-core-3.0.1.jar.
 
ERROR :

Exception in thread "main" java.lang.NoSuchMethodError: org.apache.lucene.analysis.standard.StandardAnalyzer.<init>([Ljava/lang/String;)V

at org.apache.jackrabbit.core.query.lucene.JackrabbitAnalyzer.<init>(

JackrabbitAnalyzer.java:41)

at org.apache.jackrabbit.core.query.lucene.SearchIndex.<init>(

SearchIndex.java:205)

at sun.reflect.NativeConstructorAccessorImpl.newInstance0(

Native Method)

at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)

at java.lang.reflect.Constructor.newInstance(Unknown Source)

at java.lang.Class.newInstance0(Unknown Source)

at java.lang.Class.newInstance(Unknown Source)

at org.apache.jackrabbit.core.config.BeanConfig.newInstance(

BeanConfig.java:186)

at org.apache.jackrabbit.core.config.RepositoryConfigurationParser$1.getQueryHandler(

RepositoryConfigurationParser.java:627)

at org.apache.jackrabbit.core.config.RepositoryConfig.getQueryHandler(

RepositoryConfig.java:930)

at org.apache.jackrabbit.core.SearchManager.<init>(

SearchManager.java:173)

at org.apache.jackrabbit.core.RepositoryImpl.getSystemSearchManager(

RepositoryImpl.java:698)

at org.apache.jackrabbit.core.RepositoryImpl.access$400(

RepositoryImpl.java:125)

at org.apache.jackrabbit.core.RepositoryImpl$WorkspaceInfo.getSearchManager(

RepositoryImpl.java:1868)

at org.apache.jackrabbit.core.RepositoryImpl$WorkspaceInfo.doPostInitialize(

RepositoryImpl.java:2077)

at org.apache.jackrabbit.core.RepositoryImpl$WorkspaceInfo.initialize(

RepositoryImpl.java:1996)

at org.apache.jackrabbit.core.RepositoryImpl.initStartupWorkspaces(

RepositoryImpl.java:535)

at org.apache.jackrabbit.core.RepositoryImpl.<init>(

RepositoryImpl.java:366)

at org.apache.jackrabbit.core.RepositoryImpl.create(

RepositoryImpl.java:673)

at org.apache.jackrabbit.core.TransientRepository$2.getRepository(

TransientRepository.java:231)

at org.apache.jackrabbit.core.TransientRepository.startRepository(

TransientRepository.java:259)

at org.apache.jackrabbit.core.TransientRepository.login(

TransientRepository.java:355)

at org.apache.jackrabbit.commons.AbstractRepository.login(

AbstractRepository.java:123)

at FirstHop.main(

FirstHop.java:20)
APPLICATION CODE:
 

import

javax.jcr.Repository;

import javax.jcr.Session;

import

javax.jcr.SimpleCredentials;

import

javax.jcr.Node;

import

org.apache.jackrabbit.core.TransientRepository;

/**

* Second hop example. Stores, retrieves, and removes example content.

*/

public

class SecondHop {

public static void main(String[] args) throws Exception {

Repository repository =

new TransientRepository();

Session session = repository.login(

new SimpleCredentials("username", "password".toCharArray()));

try {

Node root = session.getRootNode();

// Store content

Node hello = root.addNode(

"hello");

Node world = hello.addNode(

"world");

world.setProperty(

"message", "Hello, World!");

session.save();

// Retrieve content

Node node = root.getNode(

"hello/world");

System.

out.println(node.getPath());

System.

out.println(node.getProperty("message").getString());

// Remove content

root.getNode(

"hello").remove();

session.save();

String name = repository.getDescriptor(Repository.

REP_VENDOR_URL_DESC);

System.

out.println("name "+name);

}

finally {

session.logout();

}

}

}

 

Thanks,

Jenni

Jenni P | 5 May 14:56 2010
Picon

can we add text files to the jackrabbit repository

Hi All,
      I am new to the Jackrabbit repository. I want to add the text file to the jackrabbit repository. can we add text files to the repository. I tried the example to add the nodes to the repository. But how to check whether nodes are added or not in repository. where to check the nodes in my machine. please guide me. Thanks in advance.
 
Thanks,
jenni
marco sabatini | 5 May 15:04 2010
Picon

Re: can we add text files to the jackrabbit repository

See this It could help you.

http://www.ibm.com/developerworks/java/library/j-jcr/



2010/5/5 Jenni P <jenni.sjr <at> gmail.com>
Hi All,
      I am new to the Jackrabbit repository. I want to add the text file to the jackrabbit repository. can we add text files to the repository. I tried the example to add the nodes to the repository. But how to check whether nodes are added or not in repository. where to check the nodes in my machine. please guide me. Thanks in advance.
 
Thanks,
jenni



--
-------------------------------------------
Linkedin Account: http://it.linkedin.com/in/sabatinimarco

mobile: +39 3313852736

skype: marco.sabatini1

"Laudamus veteres, sed nostri utemur annis"

-------------------------------------------

marco sabatini | 5 May 15:05 2010
Picon

Ocm

In the deploy model 2 of  jackrabbit there isn't OCM feature!?

Mila Yuliani | 5 May 15:07 2010

Re: can we add text files to the jackrabbit repository

yah..same with me. i have successful save into node repository from jacrabbit. but i donno what can i get it?:(
anybody help us?
how to i can get the file?

On Wed, May 5, 2010 at 7:56 PM, Jenni P <jenni.sjr <at> gmail.com> wrote:
Hi All,
      I am new to the Jackrabbit repository. I want to add the text file to the jackrabbit repository. can we add text files to the repository. I tried the example to add the nodes to the repository. But how to check whether nodes are added or not in repository. where to check the nodes in my machine. please guide me. Thanks in advance.
 
Thanks,
jenni



--
Best Regards,

Mila Yuliani
Developer Blueoxygen Workspace
Office Phone : (021)935 865 77
Mobile : 02199869875
Blog : http://blogs.mervpolis.com/roller/milayuliani
fabrizio giustina (JIRA | 5 May 15:43 2010
Picon

Created: (JCR-2622) Configured index analizer doesn't really work in 2.1.0?

Configured index analizer doesn't really work in 2.1.0?
-------------------------------------------------------

                 Key: JCR-2622
                 URL: https://issues.apache.org/jira/browse/JCR-2622
             Project: Jackrabbit Content Repository
          Issue Type: Bug
    Affects Versions: 2.1.0
            Reporter: fabrizio giustina
            Priority: Critical

I just tried migrating an existing project which was using jackrabbit 2.0.0 to 2.1.0.

We have an index analyzer configured which filters accented chars: 

{code}
public class ItalianSnowballAnalyzer extends StandardAnalyzer
{

     <at> Override
    public TokenStream tokenStream(String fieldName, Reader reader)
    {
        return new ISOLatin1AccentFilter(new LowerCaseFilter((super.tokenStream(fieldName, reader))));
    }

}
{code}

The project has a good number of unit tests, an xml is loaded in a memory-only jackrabbit repository and
several queries are checked against expected results.
After migrating to 2.1.0 none of the tests that relied on the Index analizer work anymore, for example
searching for "test" doesn't find anymore nodes containing "t├Ęst".

Upgrading to jackrabbit 2.1.0 is the only change done (no changes in the configuration/code or other
libraries at all). Rolling back to the 2.0.0 dependency is enough to make all the tests working again.
I've checked the changes in 2.1 but I couldn't find any apparently related change. Also note that I was
already using the patch in JCR-2504 also before (configuration loading works fine in the unpatched 2.1).
Another point is that the configured IndexAnalyzer still gets actually called during our tests (checked
in debug mode).

Any idea?

--

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Gmane