File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript 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)
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5823
    
    7

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

Hi,

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.
SCJP 5 ScjpFAQ JLS
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: TypeMismatchNamingException: Object of type [class weblogic.jndi.internal.WLEventContextImpl]