Oracle Community Directory
Oracle Community FAQ
Go Directly To
Oracle Technology Network Community
My Oracle Support Community
OPN Cloud Connection
Oracle Employee Community
Oracle User Group Community
OTN Speaker Bureau
Please enter a title.
You can not post a blank message. Please type your message and try again.
This discussion is archived
: Nov 1, 2010 4:42 PM by
dynamic mbean and accessing a properties file...
Nov 9, 2007 9:49 PM
I am using the example used in http://weblogs.java.net/blog/emcmanus/archive/2006/11/a_real_example.html which is a dynamic bean used to access a properties file and modify it...
I have come up with the following jboss-service.xml:
<?xml version="1.0" encoding="UTF-8"?>
<mbean code="x.y.z.Startup" name="ZPortal:service=Startup">
<mbean code="x.y.z.PropertyManager" name="ZPortal:service=PropertyManager">
The 'StartUp' bean is a straightforward mbean which is working fine...I have added the PropertyManager dynamic bean from the the above example with one of the attributes as propertyFileName...
However I get the following error:
org.jboss.deployment.DeploymentException: x.y.z.PropertyManager.<init>(); - nested throwable: (java.lang.NoSuchMethodException: x.y.z.PropertyManager.<init>())
Am i missing something?
This content has been marked as final.
Show 1 reply
Re: dynamic mbean and accessing a properties file...
Nov 1, 2010 4:42 PM
in response to
Did you package your mbean and its descriptor separately in its own jar?