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

JMS configuration exception

0 views
Skip to first unread message

T. Sasi Dharma

unread,
Sep 25, 2003, 3:16:42 AM9/25/03
to
Hi gurus...

I'm trying to add a JMSTopic through Mbean.

When i'm trying to add it i'm getting this exception

weblogic.management.configuration.ConfigurationException

<Sep 25, 2003 11:45:13 AM GMT+06:00> <Error> <Management> <BEA-141022>
<Management exception: Saving domain zodiac, info:
zodiac:JMSServer=ZIPServer,Name=ZODIACtoZIP,Type=JMSTopic.
weblogic.management.configuration.ConfigurationException: Can't add MBean
because parent node does not exist
at
weblogic.management.internal.xml.ConfigurationRepositoryImpl.getParentNode(C
onfigurationRepositoryImpl.java:815)
at
weblogic.management.internal.xml.ConfigurationRepositoryImpl.add(Configurati
onRepositoryImpl.java:562)
at
weblogic.management.internal.ConfigurationMBeanImpl.makeNewPersistObject(Con
figurationMBeanImpl.java:807)
at
weblogic.management.internal.ConfigurationMBeanImpl.postRegister(Configurati
onMBeanImpl.java:433)
at
weblogic.management.mbeans.custom.JMSTopic.postRegister(JMSTopic.java:67)
at
com.sun.management.jmx.MBeanServerImpl.postRegisterInvoker(MBeanServerImpl.j
ava:2293)
at
com.sun.management.jmx.MBeanServerImpl.registerMBean(MBeanServerImpl.java:88
4)
at
weblogic.management.internal.RemoteMBeanServerImpl.registerMBean(RemoteMBean
ServerImpl.java:457)
at
weblogic.management.internal.DynamicMBeanImpl.setParent(DynamicMBeanImpl.jav
a:264)
at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at
weblogic.management.internal.DynamicMBeanImpl.invokeSetter(DynamicMBeanImpl.
java:1651)
at
weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.
java:1101)
at
weblogic.management.internal.ConfigurationMBeanImpl.setAttribute(Configurati
onMBeanImpl.java:311)
at
com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:135
8)
at
com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:133
3)
at
weblogic.management.internal.RemoteMBeanServerImpl.setAttribute(RemoteMBeanS
erverImpl.java:367)
at
weblogic.management.internal.RemoteMBeanServerImpl_WLSkel.invoke(Unknown
Source)
at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:466)
at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:409)
at
weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubjec
t.java:353)
at
weblogic.security.service.SecurityManager.runAs(SecurityManager.java:144)
at
weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:404)
at
weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:3
0)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)


This is how i'm trying to add it.
here i'm creating the JMS Topic
java weblogic.Admin -url %ADMIN_URL% -username %WLS_USER% -password %WLS_PW%
CREATE -mbean %WLS_DOMAIN%:Name=%JMSTopic%,Type=JMSTopic

Exception is thrown while trying to execute this code

@ECHO Setting Properties
java weblogic.Admin -url %ADMIN_URL% -username %WLS_USER% -password %WLS_PW%
SET -mbean
%WLS_DOMAIN%:Location=%WLS_SERVER%,Name=%JMSTopic%,Type=JMSTopic -property
Parent %WLS_DOMAIN%:Name=%JMSServer%,Type=JMSServer


can anyboy point me where i'm missing some entries??

Thanks and regards

sasi


Tom Barnes

unread,
Sep 25, 2003, 10:19:55 AM9/25/03
to T. Sasi Dharma
Hi,


I just had this question forwarded to me internally
due to (your?) posting in:

weblogic.developer.interest.management.general_and_jmx

I'm told that this script worked in 7.0, so it seems
like there may be a bug in WL. Likely not in JMS per se,
but in the generic mbean layers. File a support case.
Meanwhile, you can write a simple program to call
instead of calling weblogic.Admin - the program can
use the create queue helper method in weblogic.jms.extensions.JMSHelper.

Tom

0 new messages