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

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

2007-11-23 Thread tamscot
Hi all, help for a relative newbie required... Having problems running a slight modification of an example from the book Eclipse Web Tools Platform. Platform first... anonymous wrote : | Linux. | Eclipse 3.2 with J2EE | | JDK 1.4. | EJB Module 2.1 | EJB Doclet(XDoclet) 1.2.3. |

[jboss-user] [EJB/JBoss] - Re: Trouble building simple EJB

2007-11-22 Thread tamscot
Have managed to figure out for myself what the problem was. Compiler compliance. I was using ejb 2.3, JBoss 4.0.5 and Java5. ejb could not handle Java5 generics and so reported correctly an error. Fix was to change compiler compliance in the Eclipse Workspace from 5 to 1.4 and the same goes for

[jboss-user] [EJB/JBoss] - Trouble building simple EJB

2007-11-21 Thread tamscot
Hi, just going through an example ejb and then adapting the method used to create my own bean. Trouble is when I edit the main Bean class, in this case JujitsuFacadeBean, it comes up with some parse error and starts to create an interface in the ejbModule package. IDE is Eclipse 3.2. JDK is