aspose file tools*
The moose likes JBoss/WildFly and the fly likes Deploying Mule to JBoss Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Deploying Mule to JBoss" Watch "Deploying Mule to JBoss" New topic
Author

Deploying Mule to JBoss

shankarvidya.s
Greenhorn

Joined: Oct 22, 2007
Posts: 4
Hi,

I am trying to deploy Mule 2.2.1 to JBoss 4.0.2. I was trying to follow the instructions given at http://www.mulesoft.org/documentation/display/MULE2USER/JBoss+Integration.
But faced issues with implementation of the same, even after making the following changes,

1. Moved the mule-jboss-ds.xml
upto the .ear level
2. Packed the folder structure similar to the instructions and named it as mule-jca.ear
3. Copied this .ear file into the jboss/server/default/deploy folder

I get the following Message on the JBoss console (running it through Eclipse IDE) and I am able to start Mule, but still am facing the following issue

11:24:30,366 INFO EARDeployer Init J2EE application: file:/C:/usr/visa/software/jboss-4.2.3.GA/server/default/deploy/mule-jca.ear
11:25:48,265 INFO RARDeployment Required license terms exist, view META-INF/ra.xml in .../tmp/deploy/tmp1927274697227964539mule-jca.ear-contents/mule-jca-jboss-2.2.1.rar
11:25:48,468 INFO MuleResourceAdapter Initializing Mule...
11:25:48,656 INFO MuleApplicationContext Refreshing org.mule.config.spring.MuleApplicationContext@1220575: display name org.mule.config.spring.MuleApplicationContext@1220575; startup date Fri Jun 25 11:25:48 IST 2010; root of context hierarchy
11:25:48,703 INFO XmlBeanDefinitionReader Loading XML bean definitions from URL
11:25:49,250 INFO DefaultListableBeanFactory Overriding bean definition for bean '_muleConfiguration': replacing [Generic bean: class http://org.mule.config.spring.MuleConfigurationConfigurator; scope=singleton; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=initialise; destroyMethodName=null; defined in URL with [Generic bean: class http://org.mule.config.spring.MuleConfigurationConfigurator; scope=singleton; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=initialise; destroyMethodName=null; defined in URL
11:25:49,250 INFO DefaultListableBeanFactory Overriding bean definition for bean '_muleConfiguration': replacing [Generic bean: class http://org.mule.config.spring.MuleConfigurationConfigurator; scope=singleton; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=initialise; destroyMethodName=null; defined in URL with [Generic bean: class http://org.mule.config.spring.MuleConfigurationConfigurator; scope=singleton; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=initialise; destroyMethodName=null; defined in URL
11:25:49,250 INFO DefaultListableBeanFactory Overriding bean definition for bean '_muleNotificationManager': replacing [Generic bean: class http://org.mule.config.spring.ServerNotificationManagerConfigurator; scope=singleton; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=initialise; destroyMethodName=null; defined in URL with [Generic bean: class http://org.mule.config.spring.ServerNotificationManagerConfigurator; scope=singleton; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=initialise; destroyMethodName=null; defined in URL
11:25:49,250 INFO DefaultListableBeanFactory Overriding bean definition for bean '_muleNotificationManager': replacing [Generic bean: class http://org.mule.config.spring.ServerNotificationManagerConfigurator; scope=singleton; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=initialise; destroyMethodName=null; defined in URL with [Generic bean: class http://org.mule.config.spring.ServerNotificationManagerConfigurator; scope=singleton; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=initialise; destroyMethodName=null; defined in URL
11:25:49,266 INFO DefaultListableBeanFactory Overriding bean definition for bean '_muleSystemModel': replacing [Root bean: class http://org.mule.model.seda.SedaModel]; scope=singleton; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=initialise; destroyMethodName=dispose with [Root bean: class http://org.mule.model.seda.SedaModel]; scope=singleton; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=initialise; destroyMethodName=dispose
11:25:49,266 INFO XmlBeanDefinitionReader Loading XML bean definitions from URL
11:25:49,375 INFO DefaultListableBeanFactory Overriding bean definition for bean 'jmx-server': replacing [Root bean: class http://org.mule.module.management.agent.JmxAgent]; scope=singleton; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=initialise; destroyMethodName=dispose with [Root bean: class http://org.mule.module.management.agent.JmxAgent]; scope=singleton; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=initialise; destroyMethodName=dispose
11:25:49,375 INFO MuleApplicationContext Bean factory for application context org.mule.config.spring.MuleApplicationContext@1220575: org.springframework.beans.factory.support.DefaultListableBeanFactory@10ae2bf
11:25:49,500 INFO DefaultListableBeanFactory Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@10ae2bf: defining beans customEditorConfigurer,_muleObjectNameProcessor,_mulePropertyPlaceholderProcessor,_muleSimpleRegistryBootstrap,_muleNotificationManager,_muleConfiguration,._muleNotificationManager:notification.1,._muleNotificationManager:notification.2,._muleNotificationManager:notification.3,._muleNotificationManager:notification.4,._muleNotificationManager:notification.5,._muleNotificationManager:notification.6,._muleNotificationManager:notification.7,._muleNotificationManager:notification.8,._muleNotificationManager:notification.9,._muleNotificationManager:notification.10,_muleSystemModel,_muleQueueManager,_muleSecurityManager,_muleProperties,_muleEndpointFactory,_muleStreamCloserService,_defaultThreadingProfile,_defaultMessageDispatcherThreadingProfile,_defaultMessageRequesterThreadingProfile,_defaultMessageReceiverThreadingProfile,_defaultServiceThreadingProfile,_defaultRetryPolicyTemplate,jmx-server; root of factory hierarchy
11:25:49,735 INFO AutoConfigurationBuilder Configured Mule using "org.mule.config.spring.SpringXmlConfigurationBuilder" with configuration resource(s): ""
11:25:49,735 INFO MuleResourceAdapter Starting Mule...
11:25:49,750 INFO JmxAgent Creating and starting JMX agent connector Server
11:25:49,750 INFO TransactionalQueueManager Starting ResourceManager
11:25:49,750 INFO TransactionalQueueManager Started ResourceManager
11:25:49,750 INFO WrapperManagerAgent This JVM hasn't been launched by the wrapper, the agent will not run.
11:25:49,813 INFO DefaultMuleContext
**********************************************************************

* Mule ESB and Integration Platform *
* Version: 2.2.1 Build: 14422 *
* MuleSource, Inc. *
* For more information go to http://mule.mulesource.org *
* *
* Server started: 6/25/10 11:25 AM *
* Server ID: 4dab24f4-801e-11df-af70-df89b1f4e4e5 *
* JDK: 1.6.0_20 (mixed mode) *
* OS encoding: Cp1252, Mule encoding: UTF-8 *
* OS: Windows XP - Service Pack 2 (5.1, x86) *
* Host: banl022 (10.31.178.81) *
* *
* Agents Running: *
* JMX Agent *

**********************************************************************
11:25:49,813 INFO EARDeployer Started J2EE application: file:/C:/usr/visa/software/jboss-4.2.3.GA/server/default/deploy/mule-jca.ear
11:25:49,829 ERROR URLDeploymentScanner Incomplete Deployment listing:

*
o
+ MBeans waiting for other MBeans ---

ObjectName: jboss.jca:service=TxCM,name=mule/ConnectionFactory
State: CONFIGURED
I Depend On:
jboss.jca:service=ManagedConnectionPool,name=mule/ConnectionFactory
jboss.jca:service=CachedConnectionManager
jboss:service=TransactionManager
Depends On Me:
jboss.jca:service=ConnectionFactoryBinding,name=mule/ConnectionFactory

ObjectName: jboss.jca:service=ManagedConnectionPool,name=mule/ConnectionFactory
State: CONFIGURED
I Depend On:
jboss.jca:service=ManagedConnectionFactory,name=mule/ConnectionFactory
Depends On Me:
jboss.jca:service=TxCM,name=mule/ConnectionFactory

ObjectName: jboss.jca:service=ManagedConnectionFactory,name=mule/ConnectionFactory
State: CONFIGURED
I Depend On:
jboss.jca:service=RARDeployment,name='mule-jca-jboss-2.2.1.rar'
Depends On Me:
jboss.jca:service=ManagedConnectionPool,name=mule/ConnectionFactory

ObjectName: jboss.jca:service=ConnectionFactoryBinding,name=mule/ConnectionFactory
State: CONFIGURED
I Depend On:
jboss.jca:service=TxCM,name=mule/ConnectionFactory

*
o
+ MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---

ObjectName: jboss.jca:service=RARDeployment,name='mule-jca-jboss-2.2.1.rar'
State: NOTYETINSTALLED
Depends On Me:
jboss.jca:service=ManagedConnectionFactory,name=mule/ConnectionFactory


Please tell me what am I doing wrong.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Deploying Mule to JBoss