[jboss-jira] [JBoss JIRA] Commented: (EJBTHREE-1659) Fix the "asynch" tutorial

Andrew Lee Rubinger (JIRA) jira-events at lists.jboss.org
Wed Dec 24 13:44:54 EST 2008


    [ https://jira.jboss.org/jira/browse/EJBTHREE-1659?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12444126#action_12444126 ] 

Andrew Lee Rubinger commented on EJBTHREE-1659:
-----------------------------------------------

Commented on the forum.

> Fix the "asynch" tutorial
> -------------------------
>
>                 Key: EJBTHREE-1659
>                 URL: https://jira.jboss.org/jira/browse/EJBTHREE-1659
>             Project: EJB 3.0
>          Issue Type: Sub-task
>          Components: Documentation
>    Affects Versions: 1.0.0-Beta11
>         Environment: JBoss-5.0 GA, Sun Java 1.5
>            Reporter: jaikiran pai
>            Assignee: jaikiran pai
>
> The "asynch" tutorial does not work with EJB3 on JBoss-5.0 GA. It fails with the following exception:
>      [java] Exception in thread "main" java.lang.ClassCastException: $Proxy2
>      [java]     at org.jboss.ejb3.asynchronous.Asynch.getAsynchronousProxy(Asynch.java:38)
>      [java]     at org.jboss.tutorial.asynch.client.Client.main(Client.java:40)
>      [java] Java Result: 1
> The ClassCastException arises from this line in org.jboss.ejb3.asynchronous.Asynch.getAsynchronousProxy:
> JBossProxy proxy = (JBossProxy)ejbRef;
> The proxies that we create in EJB3 on JBoss-5.0, no longer implement this JBossProxy interface and hence this exception.
> P.S: EJB3 proxies on JBoss-4.x do implement this JBossProxy.

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

        



More information about the jboss-jira mailing list