Get the tools you need to learn Java skills fast!
Video tutorials, eBooks, hands-on lab exercises, sample code.
Get started
The moose likes BEA/Weblogic and the fly likes TypeMismatchNamingException: Object of type [class weblogic.jndi.internal.WLEventContextImpl] Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of The Software Craftsman this week in the Agile forum!
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "TypeMismatchNamingException: Object of type [class weblogic.jndi.internal.WLEventContextImpl]" Watch "TypeMismatchNamingException: Object of type [class weblogic.jndi.internal.WLEventContextImpl]" New topic

TypeMismatchNamingException: Object of type [class weblogic.jndi.internal.WLEventContextImpl]

Naga Venkata

Joined: Mar 15, 2012
Posts: 2
I am using Spring JMS in weblogic. while the code works great in local but fails with below error when I deploy on testing servers.

Caused by: Destination [infrastructure.print.purge.referenceids.jms.queue] not found in JNDI; nested exception is org.springframework.jndi.TypeMismatchNamingException: Object of type [class weblogic.jndi.internal.WLEventContextImpl] available at JNDI location [infrastructure.print.purge.referenceids.jms.queue] is not assignable to [javax.jms.Destination]
at org.springframework.jms.core.JmsTemplate.access$200(
at org.springframework.jms.core.JmsTemplate$4.doInJms(
at org.springframework.jms.core.JmsTemplate.execute(
at org.springframework.jms.core.JmsTemplate.send(
Peter Johnson

Joined: May 14, 2008
Posts: 5850

weblogic? You have the wrong forum, I'll move the post for you.

JBoss In Action
sudipto shekhar
Ranch Hand

Joined: Apr 02, 2008
Posts: 823


I do not know much about Spring, but do you have all the jars installed in Weblogic for your application to run on the server?

Check the spring forums with this exception of yours.

I did a little google and found out this.

Hope it helps.

Regards, Sud.
Have you tried LearnNowOnline?
subject: TypeMismatchNamingException: Object of type [class weblogic.jndi.internal.WLEventContextImpl]