Hi all,
I have succesfully created console applications which can write, read to queues
and topics, but im trying to create a webservice with a similar logic. I am
using axis on jboss, but when i perform the context.lookup method, it is not
able to resolve the queue name, let me post the code snippet here to make it
clear.
Context ctx = new InitialContext();
cf_callset =
(QueueConnectionFactory)ctx.lookup("XAConnectionFactory");
cf_resultset = (TopicConnectionFactory)
ctx.lookup("XAConnectionFactory");
m_callSetQueue = (Queue)ctx.lookup("CallSetQueue");
m_resultSetTopic = (Topic)ctx.lookup("ResultSetTopic");
ok now, looking at the code, if the JNDI look up failed it would have thrown
exception saying that it couldnt find the XAConnectionFactory. but it throws
the Exception when looking up CallSetQueue.
Im not sure where the problem lies.
any help will be greatly appreciated.
Thanks
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3940163#3940163
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3940163
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user