You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Jukka Zitting (JIRA)" <ji...@apache.org> on 2006/06/30 13:08:32 UTC

[jira] Updated: (JCR-413) JCA will not compile with J2EE1.3 classes

     [ http://issues.apache.org/jira/browse/JCR-413?page=all ]

Jukka Zitting updated JCR-413:
------------------------------

    Fix Version: 1.1
        Version: 1.0.1

> JCA will not compile with J2EE1.3 classes
> -----------------------------------------
>
>          Key: JCR-413
>          URL: http://issues.apache.org/jira/browse/JCR-413
>      Project: Jackrabbit
>         Type: Bug

>   Components: jca
>     Versions: 1.0, 1.0.1
>  Environment: JDK1.4.2
> SunOne AppServer 7
>     Reporter: Ross Black
>     Priority: Minor
>      Fix For: 1.1

>
> In JCAManagedConnectionFactory, the constructor invoked to throw ResourceException does not exist under J2EE1.3 / JCA1.1 classes.
>  throw new ResourceException(e)  -  line 136 and line 277.
> Instead the code needs to do something like:
>             ResourceException exception = new ResourceException("Failed to create session");
>             exception.setLinkedException(e);
>             throw exception;
> This will allow it to compile/run under J2EE1.3

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira