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

Tomas Remes commented on SEAMJMS-61:
------------------------------------

I am convinced that problem is not in the example, but in JMS implementation. 
If you try 3.1.0.Beta5 version with its old implementation (not using 
ConnectionFactory), everything works fine there (using AS 6.0.0.Final). I still 
don't know what's the main problem in latest JMS implementation, but my 
personal tip is that there is something wrong with ConnectionFactory and 
probably its session, because messagelistener added to TopicBuilder simply 
doesn't work (listen:)). I tried to add MessageListener directly to created 
Session (instead of created MessageConsumer), but it didn't help. 
                
> Status Watcher example does not work
> ------------------------------------
>
>                 Key: SEAMJMS-61
>                 URL: https://issues.jboss.org/browse/SEAMJMS-61
>             Project: Seam JMS
>          Issue Type: Bug
>    Affects Versions: 3.1.0.CR1
>         Environment: seam-3.1.0.CR1
>            Reporter: Tomas Remes
>            Assignee: John Ament
>             Fix For: 3.1.0.Final
>
>
> Statuswatcher example gets deployed all right, but after typing its URL in 
> the browser, following problem occurs:
> java.lang.NullPointerException
>       
> org.jboss.seam.jms.TopicBuilderImpl.createMessageConsumer(TopicBuilderImpl.java:110)
>       org.jboss.seam.jms.TopicBuilderImpl.listen(TopicBuilderImpl.java:187)
>       
> org.jboss.seam.jms.example.statuswatcher.session.ReceivingClient.initialize(ReceivingClient.java:55)
>       sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>       
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>       
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>       java.lang.reflect.Method.invoke(Method.java:597)
>       
> org.jboss.weld.util.reflection.SecureReflections$13.work(SecureReflections.java:305)
>       
> org.jboss.weld.util.reflection.SecureReflectionAccess.run(SecureReflectionAccess.java:54)
>         ......
> It is same on both - AS-6.1.0 and AS-7.0.2
>  

--
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

        
_______________________________________________
seam-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/seam-issues

Reply via email to