Meaningless Drivel is fun!*
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 Murach's Java Servlets and JSP this week in the Servlets 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
Author

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

Naga Venkata
Greenhorn

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: org.springframework.jms.support.destination.DestinationResolutionException: 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.support.destination.JndiDestinationResolver.resolveDestinationName(JndiDestinationResolver.java:123)
at org.springframework.jms.support.destination.JmsDestinationAccessor.resolveDestinationName(JmsDestinationAccessor.java:100)
at org.springframework.jms.core.JmsTemplate.access$200(JmsTemplate.java:90)
at org.springframework.jms.core.JmsTemplate$4.doInJms(JmsTemplate.java:550)
at org.springframework.jms.core.JmsTemplate.execute(JmsTemplate.java:471)
at org.springframework.jms.core.JmsTemplate.send(JmsTemplate.java:548)
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: TypeMismatchNamingException: Object of type [class weblogic.jndi.internal.WLEventContextImpl]
 
Similar Threads
JNDI Binding
TypeMismatchNamingException: Object of type [class weblogic.jndi.internal.WLEventContextImpl]
lookup of JNDI bean reference is not working!
JBoss returns SessionFactoryImpl if we retrieve Persistence Unit though JNDI
Is it possible to synchronize on/lock an object obtained from JNDI