Hello!
I am trying to deploy SMX 3.2.1 to the Oracle application server 10.1.3.1
I am using servicemix war package available on servicemix site.
Under TomCat everything works fine.
But with Oracle there is issue with JMX and exporting MBeans of servicemix.
First there was an error during deployment:
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'jbi' defined in ServletContext resource
[/WEB-INF/servicemix.xml]: Invocation of init method failed; nested
exception is java.lang.SecurityException: Unauthorized access from
application: SoftDMI-SMX_1.0 to MBean:
org.apache.servicemix:ContainerName=ServiceMix,Type=SystemService,Name=ManagementContext
I have fixed it by running server instance with parameter
-Doc4j.jmx.security.proxy.off=true
Everything is deployed OK but I can’t connect to JMX interface of
servicemix.
MBeans is not visible in Oracle console and I don’t know how to check if any
JMX features work.
After googling awhile, I add exporter configuration to
applicationContext.xml as:
<bean id="exporter" class="org.springframework.jmx.export.MBeanExporter">
<property name="autodetect" value="true"/>
</bean>
This is caused another error during deployment:
Operation failed with error: Error creating bean with name 'exporter'
defined in ServletContext resource [/WEB-INF/applicationContext.xml]:
Invocation of init method failed; nested exception is
org.springframework.jmx.export.UnableToRegisterMBeanException: Unable to
register MBean [EMAIL PROTECTED] with
key 'org.apache.servicemix.jbi.view.DotViewService'; nested exception is
javax.management.MalformedObjectNameException: Key properties cannot be
empty
What else should be done to make it work?
Thank you
--
View this message in context:
http://www.nabble.com/Deploy-SMX-on-Oracle-AS-tp17652212p17652212.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.