Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Basic MDB Question

0 views
Skip to first unread message

Renato J. Mascardo

unread,
Jul 19, 2002, 3:36:40 PM7/19/02
to

Using WLS 7.0 and JBuilder 7

I've created a MDB in JBuilder 7 and auto deployed it into an already
running instance of WLS 7.0. The MDB simply has a System.out in the
onMessage() method.

From within the WLS 7.0 Console i've configured the following settings ...
- JMS Connection Factory
- JMS Store
- JMS Server w/ JMS Topic

All the JNDI names are correct and the bean deploys normally.
I've also created a client which simply sends a message to the topic.

Problem:
WLS recieves the messages but they are never sent to the MDB and onMessage()
is never called. Is there a setting that I am missing. This example works
fine in WLS 6.1 but I can't seem to get it to work in 7.0.

After some time I get the following error:
<Jul 19, 2002 11:32:26 AM PDT> <Error> <Management> <140001> <Error getting
attribute on MBean
mydomain:Application=myMDBModule,EJBComponent=myMDBModule,EJBDescriptor=EJBD
escriptor-1,Location=myserver,MessageDrivenDescriptor=MessageDrivenDescripto
r-1,Name=Pool-1,Type=Pool,WeblogicEJBJar=WeblogicEJBJar-3,WeblogicEnterprise
Bean=WeblogicEnterpriseBean-1. Method: null. Exception:
javax.management.AttributeNotFoundException: .
javax.management.AttributeNotFoundException:
at
weblogic.management.internal.DynamicMBeanImpl.getXAttributeInfo(DynamicMBean
Impl.java:1966)
at
weblogic.management.internal.DynamicMBeanImpl.getAttribute(DynamicMBeanImpl.
java:549)
at
com.sun.management.jmx.MBeanServerImpl.getAttribute(MBeanServerImpl.java:118
1)
at
com.sun.management.jmx.MBeanServerImpl.getAttribute(MBeanServerImpl.java:115
1)
at
weblogic.management.internal.RemoteMBeanServerImpl.getAttribute(RemoteMBeanS
erverImpl.java:838)
at
weblogic.management.internal.MBeanProxy.getOneAttribute(MBeanProxy.java:285)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:188)
at $Proxy120.getAttribute(Unknown Source)
at
weblogic.management.console.utils.MBeans.getDisplayName(MBeans.java:1023)
at
weblogic.management.console.utils.MBeans.getDisplayName(MBeans.java:846)
at
weblogic.management.console.tags.nav.NavDeleteMenuTag.doStartTag(NavDeleteMe
nuTag.java:56)
at
weblogic.management.console.webapp._ejb._weblogic.__nav._jspService(__nav.ja
va:1796)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
at
weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(Servle
tStubImpl.java:945)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:332)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:242)
at
weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImp
l.java:539)
at
weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImp
l.java:368)
at weblogic.servlet.jsp.PageContextImpl.include(PageContextImpl.java:119)
at
weblogic.management.console.webapp._ejb.__nav._jspService(__nav.java:189)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
at
weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(Servle
tStubImpl.java:945)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:332)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:242)
at
weblogic.servlet.internal.RequestDispatcherImpl$ForwardAction.run(RequestDis
patcherImpl.java:341)
at
weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManage
r.java:721)
at
weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImp
l.java:251)
at weblogic.servlet.jsp.PageContextImpl.forward(PageContextImpl.java:115)
at
weblogic.management.console.actions.ForwardAction.perform(ForwardAction.java
:35)
at
weblogic.management.console.actions.internal.ActionServlet.doAction(ActionSe
rvlet.java:171)
at
weblogic.management.console.actions.internal.ActionServlet.doGet(ActionServl
et.java:91)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(Servle
tStubImpl.java:945)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:332)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:242)
at
weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(W
ebAppServletContext.java:5363)
at
weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManage
r.java:721)
at
weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletCo
ntext.java:3043)
at
weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java
:2466)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:152)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:133)
>

Any help would be great! Thank you!

-rjm

Zach

unread,
Jul 22, 2002, 3:18:02 PM7/22/02
to
Don't know off hand. It seems tranage that you get the MDB error in the log
file, yet the stack trace is in a JSP. You might try posting to web
services or EJB.

_sjz.


"Renato J. Mascardo" <rmas...@borland.com> wrote in message
news:3d38...@newsgroups.bea.com...

0 new messages