jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Iaacov Rosenberg (JIRA)" <j...@apache.org>
Subject [jira] Commented: (JCR-736) Wrong exeption returned from Repository.login(Credentials, String)
Date Wed, 07 Feb 2007 10:20:06 GMT

    [ https://issues.apache.org/jira/browse/JCR-736?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12470885
] 

Iaacov Rosenberg commented on JCR-736:
--------------------------------------

I forgot to mention my repository runs as JCA, and I get a reference through JNDI lookup:

InitialContext ctx = new InitialContext();
Repository repository = (Repository) ctx.lookup("java:jcr/local");


> Wrong exeption returned from Repository.login(Credentials, String)
> ------------------------------------------------------------------
>
>                 Key: JCR-736
>                 URL: https://issues.apache.org/jira/browse/JCR-736
>             Project: Jackrabbit
>          Issue Type: Bug
>          Components: JCR API
>    Affects Versions: 1.2.1
>         Environment: JRE 1.5.0_10, JBoss 4.0.5 GA, JBossWS 1.0.4 GA, WinXP SP2
>            Reporter: Iaacov Rosenberg
>         Assigned To: Jukka Zitting
>
> According to specification, calling Repository.login(Credentials, String) with a non-existent
wokspaceName should return NoSuchWorkspaceException.
> In fact it returns RepositoryException.

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


Mime
View raw message