>Hello, > >I have reading the Macromedia's document Creating a Commercial JMS Plug-In >Adapter for JRun >(http://www.macromedia.com/v1/handlers/index.cfm?ID=21003&Method=Full) > >I have do a adapter for use Open JMS on JRun. Basically the adapter gets a >QueueConnectionFactory and a TopicConnectionFactory from the OpenJMS >server and then it bind to the JRun context. > >It seems to be work, because the queue specified on the local.properties >file is binded to the context, on the log appears "03/25 17:55:29 info >(jms) Successfully bound java:comp/env/jms/testQueue" > >But doesn�t work very good, because when I have tried look up the >QueueConnectionFactory either from a remote client or a ejb (entity) a >naming exception is thrown. The stack trace exception is: > >javax.naming.NameNotFoundException: >java:comp/env/jms/QueueConnectionFactory not found >at allaire.ejipt._NamingContext.lookup(_NamingContext.java:115) >at allaire.ejipt._LocalContext.lookup(_LocalContext.java:206) >at javax.naming.InitialContext.lookup(InitialContext.java:350) >at com.aqs.ejb.test.jms._ejbimpl.EJBTest.sendJmsMessage(EJBTest.java:55) >at java.lang.reflect.Method.invoke(Native Method) >at allaire.ejipt._BeanMethod._invoke(_BeanMethod.java:166) >at allaire.ejipt._EntityObject._invoke(_EntityObject.java:243) >at allaire.ejipt._EntityObject._invoke(_EntityObject.java:140) >at allaire.ejipt._CallableObject.call(_CallableObject.java:101) >at java.lang.reflect.Method.invoke(Native Method) >at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:241) >at sun.rmi.transport.Transport$1.run(Transport.java:152) >at java.security.AccessController.doPrivileged(Native Method) >at sun.rmi.transport.Transport.serviceCall(Transport.java:148) >at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:465) >at >sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:706) >at java.lang.Thread.run(Thread.java:484) > >How can I get the queue/topic connection factory from a ejb? > >I have another question with regard to use a commercial JMS. When a >transacted method (ejb) cause the rollback of the current transaction, are >the rollback propagate to the JMS, so all messages sent are also rollback? > >Thanks in advance, >Ernesto Botella. > > > ______________________________________________________________________ This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
