Deploying spring message driven pojo on weblogic 8.1

By : Igman
Source: Stackoverflow.com
Question!

I am trying to deploy a spring message message driven POJO on weblogic 8.1. It is a simple POJO, and it works fine being run outside of an application server, but the messages do not seem to be picked up at all. I have created empty home and remote interfaces, as well as a container bean class that contains an instance of the pojo which it gets from the application context. I then added this container bean class to the ejb-jar.xml as a . I have not been able to get the messages pick up.

Does anyone have any suggestions as to what I am doing wrong? Could anyone point me to a tutorial on how to deploy a MDP?

Thanks.

By : Igman


Answers

Here's a tutorial:

http://java-x.blogspot.com/2006/12/implementing-jms-with-spring-message.html

I have no idea what you're talking about when you say "home and remote interfaces". You said Spring POJO, but home and remote interfaces are EJB 2.0 artifacts.

The important question to answer is: Are your message driven component EJBs (MDB) or Spring POJO (MDP)? If they're EJBs, I totally understand why you need home and remote interfaces. If not, I would say this could be a pure web app, packaged in a WAR, without the EJB XML.

You also need a JMS queue to be set up. Have you done that properly? WebLogic 8.1 means JMS 1.0.2.

That's an OLD version of WebLogic and JDK. Why aren't you using WebLogic 10 and JDK 6?

By : duffymo


This video can help you solving your question :)
By: admin