|
Philip Thanks for all of the help…
I am trying get the vfs-binding example to work with the JBoss Deployer
I modified the servicemix.xml for vfs-binding example to point to the JBossWorkManager by changing the workManager bean configuration to
<!-- the work manager (thread pool) for this container --> <bean id="workManager" class="org.jboss.resource.work.JBossWorkManager"> </bean>
Now I think I need to point the JBI Container to use the JBoss’ RMI based upon the snippet from the stack track below:
17:03:12,725 ERROR [ManagementContext] Could not start the remote: JMX ConnectorServer java.io.IOException: javax.naming.CommunicationException [Root exception is java.rmi.ConnectIOException: non-JRMP server at remote endpoint] at mx4j.remote.resolver.rmi.RMIResolver.bindServer(RMIResolver.java:198) at javax.management.remote.rmi.RMIConnectorServer.start(RMIConnectorServer.java:152) at org.servicemix.jbi.management.ManagementContext.createMBeanServer(ManagementContext.java:595) at org.servicemix.jbi.management.ManagementContext.init(ManagementContext.java:131)
Where would I do this configuration?
I’m also guessing that at some point I’ll have to point a JBossMQ instead of ActiveMQ and I’m not sure where that would be configured either.
FULL stack below
17:03:10,522 INFO [XmlBeanDefinitionReader] Loading XML bean definitions from URL [file:/C:/Dev/COS/CWJBoss/out/CWJBoss/server/cpwr/data/ServiceMix/defaultJBI/tmp/vfs-binding.0.tmp/META-INF/jbi.xml] 17:03:10,757 INFO [FileSystemXmlApplicationContext] Bean factory for application context [org.springframework.context.support.FileSystemXmlApplicationContext;hashCode=30665902]: org.springframework.beans.factory.support.DefaultListableBeanFactory defining beans [workManager,jbi]; root of BeanFactory hierarchy 17:03:11,366 INFO [FileSystemXmlApplicationContext] 2 beans defined in application context [org.springframework.context.support.FileSystemXmlApplicationContext;hashCode=30665902] 17:03:11,569 INFO [CollectionFactory] JDK 1.4+ collections available 17:03:11,600 INFO [FileSystemXmlApplicationContext] Unable to locate MessageSource with name 'messageSource': using default [EMAIL PROTECTED] 17:03:11,710 INFO [FileSystemXmlApplicationContext] Unable to locate ApplicationEventMulticaster with name 'applicationEventMulticaster': using default [EMAIL PROTECTED] 17:03:11,710 INFO [DefaultListableBeanFactory] Pre-instantiating singletons in factory [org.springframework.beans.factory.support.DefaultListableBeanFactory defining beans [workManager,jbi]; root of BeanFactory hierarchy] 17:03:11,710 INFO [DefaultListableBeanFactory] Creating shared instance of singleton bean 'workManager' 17:03:12,053 INFO [DefaultListableBeanFactory] Creating shared instance of singleton bean 'jbi' 17:03:12,725 ERROR [ManagementContext] Could not start the remote: JMX ConnectorServer java.io.IOException: javax.naming.CommunicationException [Root exception is java.rmi.ConnectIOException: non-JRMP server at remote endpoint] at mx4j.remote.resolver.rmi.RMIResolver.bindServer(RMIResolver.java:198) at javax.management.remote.rmi.RMIConnectorServer.start(RMIConnectorServer.java:152) at org.servicemix.jbi.management.ManagementContext.createMBeanServer(ManagementContext.java:595) at org.servicemix.jbi.management.ManagementContext.init(ManagementContext.java:131) at org.servicemix.jbi.container.JBIContainer.init(JBIContainer.java:302) at org.servicemix.jbi.container.SpringJBIContainer.afterPropertiesSet(SpringJBIContainer.java:31) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:966) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:358) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:223) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:147) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:277) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:312) at org.springframework.context.support.FileSystemXmlApplicationContext.<init>(FileSystemXmlApplicationContext.java:82) at org.springframework.context.support.FileSystemXmlApplicationContext.<init>(FileSystemXmlApplicationContext.java:67) at org.springframework.context.support.FileSystemXmlApplicationContext.<init>(FileSystemXmlApplicationContext.java:58) at org.servicemix.jbi.framework.InstallationService.buildDescriptor(InstallationService.java:479) at org.servicemix.jbi.framework.InstallationService.install(InstallationService.java:313) at org.servicemix.jbi.container.JBIContainer.installArchive(JBIContainer.java:268) at org.servicemix.jboss.deployment.JBIService.installArchive(JBIService.java:108)
Glenn Everitt Software Architect The contents of this e-mail are intended for the named addressee only. It contains information that may be confidential. Unless you are the named addressee or an authorized designee, you may not copy or use it, or disclose it to anyone else. If you received it in error please notify us immediately and then destroy it. |
- [servicemix-user] vfs-binding example with JBoss Deployer Everitt, Glenn
