[jboss-jira] [JBoss JIRA] (AS7-1658) Referencing a remote business view within the same server leads to CCE

Riccardo Pasquini (JIRA) jira-events at lists.jboss.org
Sat Feb 4 13:35:48 EST 2012


    [ https://issues.jboss.org/browse/AS7-1658?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12664279#comment-12664279 ] 

Riccardo Pasquini edited comment on AS7-1658 at 2/4/12 1:35 PM:
----------------------------------------------------------------

I don't know current AS7.1 status but my workaround was:

Create 2 separate JARs, one with EJBs and the other with EJB's interfaces
Install the EJB's interfaces JAR in $JBOSS_HOME/modules using whatever you want as module name
Create dependencies from interfaces JAR in the EJB JAR and in the WAR (Dependencies entry in the MANIFEST)
Don't pack the interfaces in any other deployable
Deploy the EJB JAR and the WAR

It worked for me even if it is not the right way

EDIT
Oh this is the jira and not the forum :)
JB fix version is 7.1 beta 1 so, i think i should verify the fix asap doing a "normal" deployment for the EJB client
                
      was (Author: morphy):
    I don't know current AS7.1 status but my workaround was:

Create 2 separate JARs, one with EJBs and the other with EJB's interfaces
Install the EJB's interfaces JAR in $JBOSS_HOME/modules using whatever you want as module name
Create dependencies from interfaces JAR in the EJB JAR and in the WAR (Dependencies entry in the MANIFEST)
Don't pack the interfaces in any other deployable
Deploy the EJB JAR and the WAR

It worked for me even if it is not the right way

                  
> Referencing a remote business view within the same server leads to CCE
> ----------------------------------------------------------------------
>
>                 Key: AS7-1658
>                 URL: https://issues.jboss.org/browse/AS7-1658
>             Project: Application Server 7
>          Issue Type: Bug
>          Components: EJB
>    Affects Versions: 7.0.1.Final
>            Reporter: Carlo de Wolf
>            Assignee: Stuart Douglas
>            Priority: Critical
>             Fix For: 7.1.0.Beta1
>
>         Attachments: AS7-1658-testcase.patch
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list