[jboss-user] [Beginners Corner] - Re: java.lang.ClassCastException: org.jnp.interfaces.NamingC

2007-11-30 Thread tamscot
Thanks jaikiran, Been away for a couple of days. Just to confirm your prognosis was correct. Sorted by including ConnectionFactory in the xdoclet comments. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4109319#4109319 Reply to the post :

[jboss-user] [Beginners Corner] - Re: java.lang.ClassCastException: org.jnp.interfaces.NamingC

2007-11-27 Thread tamscot
The type of cachedConnectionFactory is... | /** Cached connection factory. Uses lazy loading to obtain its value. */ |private static javax.jms.QueueConnectionFactory cachedConnectionFactory = null; | declared at the top of the class Declaration of CONNECTION_FACTORY_JNDI_NAME... |

[jboss-user] [Beginners Corner] - Re: java.lang.ClassCastException: org.jnp.interfaces.NamingC

2007-11-27 Thread jaikiran
anonymous wrote : private static final java.lang.String CONNECTION_FACTORY_JNDI_NAME= The value for this constant should be ConnectionFactory. private static final java.lang.String CONNECTION_FACTORY_JNDI_NAME=ConnectionFactory | anonymous wrote : | This is code which is generated

[jboss-user] [Beginners Corner] - Re: java.lang.ClassCastException: org.jnp.interfaces.NamingC

2007-11-26 Thread jaikiran
Looks like you are looking up a object and casting it to javax.jms.QueueConnectionFactory. Post the code where you are doing the lookup. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4107736#4107736 Reply to the post :

[jboss-user] [Beginners Corner] - Re: java.lang.ClassCastException: org.jnp.interfaces.NamingC

2007-11-26 Thread tamscot
Okay here goes. This is a message driven ejb. The user enters a string which represents an identification. This is done from a html form and text input. The idea is the string is used as an id for the creation of a new object. Here is the html | form action=CreateClubAction method=GET |

[jboss-user] [Beginners Corner] - Re: java.lang.ClassCastException: org.jnp.interfaces.NamingC

2007-11-26 Thread tamscot
When debugging in Eclipse... when entering the sendMessage() method of the servlet...the | QueueConnection qConnection = | AsyncJujitsuFacadeUtil.getQueueConnection(); | eventually stepping into... | java.lang.Object objRef =

[jboss-user] [Beginners Corner] - Re: java.lang.ClassCastException: org.jnp.interfaces.NamingC

2007-11-26 Thread jaikiran
What's the value of the string CONNECTION_FACTORY_JNDI_NAME and what's type of cachedConnectionFactory ? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4107930#4107930 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4107930

[jboss-user] [Beginners Corner] - Re: java.lang.ClassCastException: org.jnp.interfaces.NamingC

2007-11-25 Thread tamscot
Anyone got any idea whats going wrong here? Kind of stuck. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4107601#4107601 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4107601 ___

[jboss-user] [Beginners Corner] - Re: java.lang.ClassCastException: org.jnp.interfaces.NamingC

2007-11-23 Thread tamscot
Contents of the jbossmq-destinations-service.xml again never showed well in the above post... | mbean code=org.jboss.mq.server.jmx.Queue | name=jboss.mq.destination:service=Queue,name=A | depends