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

Peer Bech Hansen (JIRA) jira-events at lists.jboss.org
Sat Feb 4 12:51:49 EST 2012


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

Peer Bech Hansen commented on AS7-1658:
---------------------------------------

Hi Riccardo

Is it possible for you to elaborate? I have been trying everything, but without any success.
How can i define the interface in a Jboss module?

I have an EAR that contains an Ejb modules and a War module.
>From a Rest Service in my war project, I would like to lookup a stateless sessionbean in the ejb module.

I am able to look up the service, but the cast fails:
java.lang.ClassCastException: com.monzware.LogServiceLocal$$$view1 cannot be cast to com.monzware.LogServiceLocal

This is in my opinion a very severe error that makes the JBoss AS 7 unusable.

What do I do? 
                
> 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