javax.jms.JMSException: Protocol not supported
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Nalini_Srivastava
Posted On:   Thursday, August 3, 2006 07:59 AM

I am trying to create a queueconnection factory using following code QueueConnectionFactory factory = new TibjmsQueueConnectionFactory(serverUrl); Log.log("factory is :"+factory); QueueConnection connection = factory.createQueueConnection( "nalini", ""); Log.log("connection is :"+connection); QueueSession session = connection.createQueueSession(false, javax.jms.Session.AUTO_ACKNOWLEDGE); Log.log("session is :"+session); javax.jms.Queue queue = session.createQueue(queueName); Log.log("queue is :"+queue); QueueSender sender = session.createSender(queue); Log.log("sender is :"+sender);    More>>

I am trying to create a queueconnection factory using following code


QueueConnectionFactory factory = new TibjmsQueueConnectionFactory(serverUrl);
Log.log("factory is :"+factory);
QueueConnection connection = factory.createQueueConnection(
"nalini", "");
Log.log("connection is :"+connection);
QueueSession session = connection.createQueueSession(false,
javax.jms.Session.AUTO_ACKNOWLEDGE);
Log.log("session is :"+session);
javax.jms.Queue queue = session.createQueue(queueName);
Log.log("queue is :"+queue);
QueueSender sender = session.createSender(queue);
Log.log("sender is :"+sender);



I am getting the following error:


javax.jms.JMSException: Protocol not supported
at com.tibco.tibjms.TibjmsxLink.create(TibjmsxLink.java:109)
at com.tibco.tibjms.TibjmsConnection._create(TibjmsConnection.java:606)
at com.tibco.tibjms.TibjmsConnection. (TibjmsConnection.java:1772)
at com.tibco.tibjms.TibjmsQueueConnection. (TibjmsQueueConnection.j
ava:37)
at com.tibco.tibjms.TibjmsxCFImpl._createImpl(TibjmsxCFImpl.java:148)
at com.tibco.tibjms.TibjmsxCFImpl._createConnection(TibjmsxCFImpl.java:2
01)
at com.tibco.tibjms.TibjmsQueueConnectionFactory.createQueueConnection(T
ibjmsQueueConnectionFactory.java:79)
at bwMessageQue.adapters.BWJMSSender.commit(BWJMSSender.java:38)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.savvion.BizSolo.beans.EPFactoryBean.a(Unknown Source)
at com.savvion.BizSolo.beans.EPFactoryBean.executeAction(Unknown Source)

at com.savvion.BizSolo.beans.EPFactoryBean.executeAction(Unknown Source)

at com.savvion.BizSolo.tags.ExecuteActionTag.doEndTag(Unknown Source)
at com.pramati.jsp.generated.BizSolo_p2f_TibJMSAd_p2f_Start._pramati_tag
_var_bizsolo_executeAction28_method(BizSolo_p2f_TibJMSAd_p2f_Start.java:465)
at com.pramati.jsp.generated.BizSolo_p2f_TibJMSAd_p2f_Start._jspService_
delegate(BizSolo_p2f_TibJMSAd_p2f_Start.java:952)
at com.pramati.jsp.generated.BizSolo_p2f_TibJMSAd_p2f_Start._jspService(
BizSolo_p2f_TibJMSAd_p2f_Start.java:983)
at com.pramati.jsp.runtime.HttpJspSuper.service(HttpJspSuper.java:64)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.pramati.web.servlet.core.PramatiServletFactory.doService(PramatiS
ervletFactory.java:414)
at com.pramati.web.interceptors.ServiceInterceptor$ServiceAction.run(Ser
viceInterceptor.java:264)
at com.pramati.security.util.JAASSecurityHelper.doAs(JAASSecurityHelper.
java:156)
at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.pramati.services.security.spi.SecurityHelper.doAs(SecurityHelper.
java:142)
at com.pramati.web.interceptors.ServiceInterceptor.preProcess(ServiceInt
erceptor.java:153)
at com.pramati.web.interceptors.core.DefaultInterceptor.process(DefaultI
nterceptor.java:65)
at com.pramati.web.interceptors.core.InterceptorChainImpl.processNext(In
terceptorChainImpl.java:48)
at com.pramati.web.interceptors.core.DefaultInterceptor.process(DefaultI
nterceptor.java:66)
at com.pramati.web.interceptors.core.InterceptorChainImpl.processNext(In
terceptorChainImpl.java:48)
at com.pramati.web.interceptors.FilterInterceptor.process(FilterIntercep
tor.java:93)
at com.pramati.web.interceptors.core.InterceptorChainImpl.processNext(In
terceptorChainImpl.java:48)
at com.pramati.web.interceptors.core.DefaultInterceptor.process(DefaultI
nterceptor.java:66)
at com.pramati.web.interceptors.core.InterceptorChainImpl.processNext(In
terceptorChainImpl.java:48)
at com.pramati.web.interceptors.core.DefaultInterceptor.process(DefaultI
nterceptor.java:66)
at com.pramati.web.interceptors.core.InterceptorChainImpl.processNext(In
terceptorChainImpl.java:48)
at com.pramati.web.interceptors.core.DefaultInterceptor.process(DefaultI
nterceptor.java:66)
at com.pramati.web.interceptors.core.InterceptorChainImpl.processNext(In
terceptorChainImpl.java:48)
at com.pramati.web.interceptors.core.DefaultInterceptor.process(DefaultI
nterceptor.java:66)
at com.pramati.web.interceptors.core.InterceptorChainImpl.processNext(In
terceptorChainImpl.java:48)
at com.pramati.web.interceptors.core.DefaultProcessContainer.process(Def
aultProcessContainer.java:92)
at com.pramati.web.core.WorkerThread.processConnection(WorkerThread.java
:331)
at com.pramati.web.core.WorkerThread.processConnection(WorkerThread.java
:302)
at com.pramati.web.core.WorkerThread.run(WorkerThread.java:129)


Please let me know why this is happening..


Regards,
Nalini

   <<Less
About | Sitemap | Contact