• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Naga Venkata
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
weblogic? You have the wrong forum, I'll move the post for you.
 
sudipto shekhar
Ranch Hand
Posts: 826
Chrome Eclipse IDE Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.



 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic