You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Dominique Pfister (JIRA)" <ji...@apache.org> on 2007/02/22 12:11:05 UTC
[jira] Reopened: (JCR-413) JCA will not compile with J2EE1.3
classes
[ https://issues.apache.org/jira/browse/JCR-413?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dominique Pfister reopened JCR-413:
-----------------------------------
The checkin to JCA-736 again adds a second parameter to the javax.resource.ResourceException constructor, which breaks compatibility with J2EE 1.3.
> JCA will not compile with J2EE1.3 classes
> -----------------------------------------
>
> Key: JCR-413
> URL: https://issues.apache.org/jira/browse/JCR-413
> Project: Jackrabbit
> Issue Type: Bug
> Components: jca
> Affects Versions: 1.0, 1.0.1
> Environment: JDK1.4.2
> SunOne AppServer 7
> Reporter: Ross Black
> Assigned To: Jukka Zitting
> 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.
-
You can reply to this email to add a comment to the issue online.