You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Iaacov Rosenberg (JIRA)" <ji...@apache.org> on 2007/02/07 11:20:06 UTC
[jira] Commented: (JCR-736) Wrong exeption returned from
Repository.login(Credentials, String)
[ 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.