[mule-user] Trying to set up Mule on CentOS.

64 views
Skip to first unread message

nicklas ring

unread,
Jul 19, 2011, 10:32:46 AM7/19/11
to us...@mule.codehaus.org
Trying to make mule running smooth on centos, but always getting a bunch of errors, whatever i do. This is my current configuration.

##################################################
WRAPPER.CONF
##################################################

#encoding=UTF-8
#********************************************************************
# System Properties
#********************************************************************
# Location of your Mule installation.
wrapper.java.additional.1=-Dmule.home="%MULE_HOME%"
wrapper.java.additional.1.stripquotes=TRUE
wrapper.java.additional.2=-Dmule.base="%MULE_HOME%"
wrapper.java.additional.2.stripquotes=TRUE

# Sets IPv4 addresses in order to avoid multicasting issues
wrapper.java.additional.3=-Djava.net.preferIPv4Stack=TRUE

# *** IMPORTANT ***
# If you enable any of the options below, you _must_ change the <n> to be a
# consecutive number (based on the number of additional properties) otherwise
# Java will not parse this properties file correctly!
# (see http://wrapper.tanukisoftware.org/doc/english/prop-java-additional-n.html)
# *** IMPORTANT ***

# Stack traces are truncated in the logs by default
#wrapper.java.additional.<n>=-Dmule.verbose.exceptions=true

# Debug remotely, the application will wait for the external debugger to connect.
#wrapper.java.additional.<n>=-Xdebug
#wrapper.java.additional.<n>=-Xnoagent
#wrapper.java.additional.<n>=-Djava.compiler=NONE
#wrapper.java.additional.<n>=-Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=5005

# Specify an HTTP proxy if you are behind a firewall.
#wrapper.java.additional.<n>=-Dhttp.proxyHost=YOUR_HOST
#wrapper.java.additional.<n>=-Dhttp.proxyPort=YOUR_PORT
#wrapper.java.additional.<n>=-Dhttp.proxyUsername=YOUR_USER_NAME
#wrapper.java.additional.<n>=-Dhttp.proxyPassword=YOUR_PASSWORD

# Identification of your Mule server
#wrapper.java.additional.<n>=-Dmule.serverId=YOUR_MULE_SERVER
#wrapper.java.additional.<n>=-Dmule.clusterId=YOUR_MULE_CLUSTER
#wrapper.java.additional.<n>=-Dmule.domainId=YOUR_MULE_DOMAIN

# Mule's working directory for SEDA queue persistence, transactions, etc.
#wrapper.java.additional.<n>=-Dmule.workingDirectory=./.mule

# Miscellaneous settings
#wrapper.java.additional.<n>=-Dmule.encoding=UTF-8
#wrapper.java.additional.<n>=-Dmule.endpoints.synchronous=false
#wrapper.java.additional.<n>=-Dmule.remoteSync=false
#wrapper.java.additional.<n>=-Dmule.timeout.synchronous=10000
#wrapper.java.additional.<n>=-Dmule.timeout.transaction=30000
#wrapper.java.additional.<n>=-Dmule.systemModelType=seda
#wrapper.java.additional.<n>=-Dmule.clientMode=false

# Debug options
#wrapper.java.additional.<n>=-Dmule.disable.threadsafemessages=false
#wrapper.java.additional.<n>=-Dmule.message.cacheBytes=true
#wrapper.java.additional.<n>=-Dmule.message.cacheOriginal=true
#wrapper.java.additional.<n>=-Dmule.streaming.enable=true
#wrapper.java.additional.<n>=-Dmule.message.assertAccess=true
#wrapper.java.additional.<n>=-Dmule.transform.autoWrap=true

#********************************************************************
# Wrapper Properties
#********************************************************************
# Uncomment this line in the case of startup failure.
#wrapper.debug=true

# Java Application
wrapper.java.command=%JAVA_HOME%/bin/java

# Java Main class
wrapper.java.mainclass=org.mule.module.reboot.MuleContainerBootstrap

# Java Classpath
wrapper.java.classpath.1=%MULE_LIB%
wrapper.java.classpath.2=%MULE_BASE%/conf
wrapper.java.classpath.3=%MULE_HOME%/lib/boot/*.jar

# Java Native Library Path (location of .DLL or .so files)
wrapper.java.library.path.1=%LD_LIBRARY_PATH%
wrapper.java.library.path.2=%MULE_HOME%/lib/boot

# Increase the default startup timeout so that the JVM has enough
# time to download the required jars on a slow connection
wrapper.startup.timeout=600

# Initial Java Heap Size (in MB)
#wrapper.java.initmemory=3

# Maximum Java Heap Size (in MB)
wrapper.java.maxmemory=512

#********************************************************************
# Wrapper Logging Properties
#********************************************************************
# Format of output for the console. (See docs for formats)
wrapper.console.format=M

# Log Level for console output. (See docs for log levels)
wrapper.console.loglevel=INFO

# Log file to use for wrapper output logging.
wrapper.logfile=%MULE_BASE%/logs/%MULE_APP%.log

# Format of output for the log file. (See docs for formats)
wrapper.logfile.format=M

# Log Level for log file output. (See docs for log levels)
wrapper.logfile.loglevel=INFO

# Maximum size that the log file will be allowed to grow to before
# the log is rolled. Size is specified in bytes. The default value
# of 0, disables log rolling. May abbreviate with the 'k' (kb) or
# 'm' (mb) suffix. For example: 10m = 10 megabytes.
wrapper.logfile.maxsize=1m

# Maximum number of rolled log files which will be allowed before old
# files are deleted. The default value of 0 implies no limit.
wrapper.logfile.maxfiles=10

# Log Level for sys/event log output. (See docs for log levels)
wrapper.syslog.loglevel=NONE

#********************************************************************
# Wrapper Windows Properties
#********************************************************************
# Title to use when running as a console
wrapper.console.title=%MULE_APP_LONG%

#********************************************************************
# Wrapper Windows NT/2000/XP Service Properties
#********************************************************************
# WARNING - Do not modify any of these properties when an application
# using this configuration file has been installed as a service.
# Please uninstall the service before modifying this section. The
# service can then be reinstalled.

# Name of the service
wrapper.ntservice.name=%MULE_APP%

# Display name of the service
wrapper.ntservice.displayname=%MULE_APP_LONG%

# Description of the service
wrapper.ntservice.description=%MULE_APP_LONG%

# Service dependencies. Add dependencies as needed starting from 1
wrapper.ntservice.dependency.1=

# Mode in which the service is installed. AUTO_START or DEMAND_START
wrapper.ntservice.starttype=AUTO_START

# Allow the service to interact with the desktop.
wrapper.ntservice.interactive=false


# Do not edit lines below!
# This include should point to wrapper-additional.conf file in the same directory as this file
# ATTENTION: Path must be either absolute or relative to wrapper executable.
#include %MULE_BASE%/conf/wrapper-additional.conf


##################################################
END OF WRAPPER.CONF
##################################################

##################################################
INIT.D/SCRIPT
##################################################


#!/bin/bash
# chkconfig: 345 91 10
# description: Starts and stops the mule ESB daemon.

/etc/init.d/functions
# Set JDK related environment

JAVA_HOME=/opt/java/jdk1.6.0_26
PATH=$PATH:$JAVA_HOME/bin

# Run as this user:

MULEUSER=muleservice

# Set Mule related environment

MULE_HOME=/appl/mule

#MULE_LIB=<path to application specific libraries>

PATH=$PATH:$MULE_HOME/bin

# Export environment variables

export JAVA_HOME MULE_HOME MULE_LIB PATH

# Invoke Mule

if /sbin/runuser $MULEUSER -c "$MULE_HOME/bin/mule $1"

then
echo_success

else
echo_failure

fi


##################################################
END OF INIT.D/SCRIPT
##################################################

##################################################
MULE.LOG
##################################################

Working directory set to: /appl/mule
--> Wrapper Started as Console
Using tick timer.
server listening on port 32000.
Classpath element, wrapper.java.classpath.1, does not exist: %MULE_LIB%
Command[0] : /opt/java/jdk1.6.0_26/bin/java
Command[1] : -Dmule.home=/appl/mule
Command[2] : -Dmule.base=/appl/mule
Command[3] : -Djava.net.preferIPv4Stack=TRUE
Command[4] : -XX:MaxPermSize=128m
Command[5] : -Djava.endorsed.dirs=/appl/mule/lib/endorsed
Command[6] : -Xmx512m
Command[7] : -Djava.library.path=%LD_LIBRARY_PATH%:/appl/mule/lib/boot
Command[8] : -classpath
Command[9] : %MULE_LIB%:/appl/mule/conf:/appl/mule/lib/boot/commons-cli-1.2.jar:/appl/mule/lib/boot/log4j-1.2.14.jar:/appl/mule/lib/boot/mule-module-logging-3.1.2-SNAPSHOT.jar:/appl/mule/lib/boot/wrapper-3.2.3.jar:/appl/mule/lib/boot/mule-module-reboot-3.1.2-SNAPSHOT.jar:/appl/mule/lib/boot/mule-module-boot-3.1.2-SNAPSHOT.jar
Command[10] : -Dwrapper.key=zzLls1lfeP9G5k4S
Command[11] : -Dwrapper.port=32000
Command[12] : -Dwrapper.jvm.port.min=31000
Command[13] : -Dwrapper.jvm.port.max=31999
Command[14] : -Dwrapper.debug=TRUE
Command[15] : -Dwrapper.pid=9554
Command[16] : -Dwrapper.version=3.2.3
Command[17] : -Dwrapper.native_library=wrapper
Command[18] : -Dwrapper.cpu.timeout=10
Command[19] : -Dwrapper.jvmid=1
Command[20] : org.mule.module.reboot.MuleContainerBootstrap
Command[21] : console0
Launching a JVM...
Starting the Mule Container...
WrapperManager class initialized by thread: main Using classloader: sun.misc.Launcher$AppClassLoader@5acac268
Wrapper (Version 3.2.3) http://wrapper.tanukisoftware.org
Copyright 1999-2006 Tanuki Software, Inc. All Rights Reserved.

Wrapper Manager: JVM #1
Running a 64-bit JVM.
Wrapper Manager: Registering shutdown hook
Wrapper Manager: Using wrapper
Load native library. One or more attempts may fail if platform specific libraries do not exist.
Loaded native library: libwrapper-linux-x86-64.so
Calling native initialization method.
Inside native WrapperManager initialization method
Java Version : 1.6.0_26-b03 Java HotSpot(TM) 64-Bit Server VM
Java VM Vendor : Sun Microsystems Inc.

WrapperManager.start(org.mule.module.reboot.MuleContainerWrapper@71f6f0bf, args["console0"]) called by thread: main
Startup runner thread started.
Control event monitor thread started.
Communications runner thread started.
Open socket to wrapper...Wrapper-Connection
Opened Socket from 31000 to 32000
Send a packet KEY : zzLls1lfeP9G5k4S
handleSocket(Socket[addr=/127.0.0.1,port=32000,localport=31000])
accepted a socket from 127.0.0.1 on port 31000
read a packet KEY : zzLls1lfeP9G5k4S
Got key from JVM: zzLls1lfeP9G5k4S
send a packet LOW_LOG_LEVEL : 1
send a packet PING_TIMEOUT : 30
send a packet PROPERTIES : (Property Values)
Start Application.
send a packet START : start
Received a packet LOW_LOG_LEVEL : 1
Wrapper Manager: LowLogLevel from Wrapper is 1
Received a packet PING_TIMEOUT : 30
PingTimeout from Wrapper is 30000
Received a packet PROPERTIES : (Property Values)
Received a packet START : start
calling WrapperListener.start()
Waiting for WrapperListener.start runner thread to complete.
WrapperListener.start runner thread started.
INFO 2011-07-19 17:05:10,391 [WrapperListener_start_runner] org.mule.module.launcher.MuleContainer:
**********************************************************************
* Mule ESB and Integration Platform *
* Version: 3.1.2-SNAPSHOT Build: 21896 *
* MuleSoft, Inc. *
* For more information go to http://www.mulesoft.org *
* *
* Server started: 7/19/11 5:05 PM *
* JDK: 1.6.0_26 (mixed mode) *
* OS: Linux (2.6.18-194.el5, amd64) *
* Host: ENT005.exice.com (78.46.90.86) *
**********************************************************************
INFO 2011-07-19 17:05:10,660 [WrapperListener_start_runner] org.mule.module.launcher.application.DefaultMuleApplication:
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+ New app 'DUSBP001LOG-1.0-SNAPSHOT' +
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
ERROR 2011-07-19 17:05:18,611 [WrapperListener_start_runner] org.mule.module.launcher.DeploymentService:
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+ Failed to deploy app 'DUSBP001LOG-1.0-SNAPSHOT', see +
+ below +
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
ERROR 2011-07-19 17:05:18,611 [WrapperListener_start_runner] org.mule.module.launcher.DeploymentService: org.mule.module.launcher.DeploymentInitException: BeanDefinitionParsingException: Configuration problem: Unable to locate NamespaceHandler for namespace [http://www.mulesoft.org/schema/mule/ee/core]
Offending resource: URL [file:/appl/mule/apps/DUSBP001LOG-1.0-SNAPSHOT/mule-config.xml]
INFO 2011-07-19 17:05:18,611 [WrapperListener_start_runner] org.mule.module.launcher.application.DefaultMuleApplication:
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+ New app 'default' +
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
INFO 2011-07-19 17:05:34,579 [WrapperListener_start_runner] org.mule.module.launcher.DeploymentService:
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+ Started app 'default' +
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
INFO 2011-07-19 17:05:34,579 [WrapperListener_start_runner] org.mule.module.launcher.application.PriviledgedMuleApplication:
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+ New app 'mmc-agent-mule3-app-3.1.2' +
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
INFO 2011-07-19 17:05:34,584 [WrapperListener_start_runner] org.mule.module.launcher.MuleApplicationClassLoader: [mmc-agent-mule3-app-3.1.2] Loading the following jars:
=============================
file:/appl/mule/apps/mmc-agent-mule3-app-3.1.2/lib/jfreechart-1.0.9.jar
file:/appl/mule/apps/mmc-agent-mule3-app-3.1.2/lib/jmdns-2.1-MuleSoft20101227.jar
file:/appl/mule/apps/mmc-agent-mule3-app-3.1.2/lib/agent-common-api-2.1.3.jar
file:/appl/mule/apps/mmc-agent-mule3-app-3.1.2/lib/mmc-agent-mule3-impl-3.1.2.jar
file:/appl/mule/apps/mmc-agent-mule3-app-3.1.2/lib/agent-common-impl-2.1.3.jar
file:/appl/mule/apps/mmc-agent-mule3-app-3.1.2/lib/jcommon-1.0.12.jar
file:/appl/mule/apps/mmc-agent-mule3-app-3.1.2/lib/mmc-agent-mule3-api-3.1.2.jar
file:/appl/mule/apps/mmc-agent-mule3-app-3.1.2/lib/quartz-all-1.6.1.jar
file:/appl/mule/apps/mmc-agent-mule3-app-3.1.2/lib/spring-remoting-stream-support-1.0.4.jar
=============================

INFO 2011-07-19 17:05:44,306 [WrapperListener_start_runner] /mmc-support: Initializing Spring root WebApplicationContext
INFO 2011-07-19 17:05:44,307 [WrapperListener_start_runner] org.springframework.web.context.ContextLoader: Root WebApplicationContext: initialization started
INFO 2011-07-19 17:05:44,319 [WrapperListener_start_runner] org.springframework.web.context.support.XmlWebApplicationContext: Refreshing Root WebApplicationContext: startup date [Tue Jul 19 17:05:44 CEST 2011]; root of context hierarchy
ERROR 2011-07-19 17:05:45,741 [WrapperListener_start_runner] org.springframework.web.context.ContextLoader: Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'jmxService' defined in ServletContext resource [/WEB-INF/spring-services.xml]: Cannot resolve reference to bean 'scheduler' while setting bean property 'scheduler'; nested exception is org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [org.springframework.scheduling.quartz.SchedulerFactoryBean] for bean with name 'scheduler' defined in ServletContext resource [/WEB-INF/spring-stats.xml]; nested exception is java.lang.ClassNotFoundException: org.springframework.scheduling.quartz.SchedulerFactoryBean
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:328)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:106)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1317)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1076)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:574)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:425)
at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:276)
at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:197)
at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)
at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:549)
at org.mortbay.jetty.servlet.Context.startContext(Context.java:136)
at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1282)
at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:518)
at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:499)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)
at org.mortbay.jetty.Server.doStart(Server.java:224)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
at com.mulesoft.mmc.agent.MuleManagementConsoleAgent.start(MuleManagementConsoleAgent.java:227)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.mule.lifecycle.phases.DefaultLifecyclePhase.applyLifecycle(DefaultLifecyclePhase.java:225)
at org.mule.lifecycle.RegistryLifecycleManager$RegistryLifecycleCallback.onTransition(RegistryLifecycleManager.java:276)
at org.mule.lifecycle.RegistryLifecycleManager.invokePhase(RegistryLifecycleManager.java:155)
at org.mule.lifecycle.RegistryLifecycleManager.fireLifecycle(RegistryLifecycleManager.java:126)
at org.mule.registry.AbstractRegistryBroker.fireLifecycle(AbstractRegistryBroker.java:80)
at org.mule.registry.MuleRegistryHelper.fireLifecycle(MuleRegistryHelper.java:121)
at org.mule.lifecycle.MuleContextLifecycleManager$MuleContextLifecycleCallback.onTransition(MuleContextLifecycleManager.java:94)
at org.mule.lifecycle.MuleContextLifecycleManager$MuleContextLifecycleCallback.onTransition(MuleContextLifecycleManager.java:90)
at org.mule.lifecycle.MuleContextLifecycleManager.invokePhase(MuleContextLifecycleManager.java:72)
at org.mule.lifecycle.MuleContextLifecycleManager.fireLifecycle(MuleContextLifecycleManager.java:64)
at org.mule.DefaultMuleContext.start(DefaultMuleContext.java:202)
at org.mule.module.launcher.application.DefaultMuleApplication.start(DefaultMuleApplication.java:145)
at org.mule.module.launcher.application.ApplicationWrapper.start(ApplicationWrapper.java:107)
at org.mule.module.launcher.DefaultMuleDeployer.deploy(DefaultMuleDeployer.java:52)
at org.mule.module.launcher.DeploymentService.start(DeploymentService.java:182)
at org.mule.module.launcher.MuleContainer.start(MuleContainer.java:142)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.mule.module.reboot.MuleContainerWrapper.start(MuleContainerWrapper.java:56)
at org.tanukisoftware.wrapper.WrapperManager$12.run(WrapperManager.java:2788)
Caused by: org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [org.springframework.scheduling.quartz.SchedulerFactoryBean] for bean with name 'scheduler' defined in ServletContext resource [/WEB-INF/spring-stats.xml]; nested exception is java.lang.ClassNotFoundException: org.springframework.scheduling.quartz.SchedulerFactoryBean
at org.springframework.beans.factory.support.AbstractBeanFactory.resolveBeanClass(AbstractBeanFactory.java:1235)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:433)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:322)
... 51 more
Caused by: java.lang.ClassNotFoundException: org.springframework.scheduling.quartz.SchedulerFactoryBean
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
at org.mortbay.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:401)
at org.mortbay.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:363)
at org.springframework.util.ClassUtils.forName(ClassUtils.java:257)
at org.springframework.beans.factory.support.AbstractBeanDefinition.resolveBeanClass(AbstractBeanDefinition.java:408)
at org.springframework.beans.factory.support.AbstractBeanFactory.doResolveBeanClass(AbstractBeanFactory.java:1256)
at org.springframework.beans.factory.support.AbstractBeanFactory.resolveBeanClass(AbstractBeanFactory.java:1227)
... 57 more
ERROR 2011-07-19 17:05:45,783 [WrapperListener_start_runner] org.mule.module.launcher.DeploymentService:
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+ Failed to deploy app 'mmc-agent-mule3-app-3.1.2', see +
+ below +
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
ERROR 2011-07-19 17:05:45,783 [WrapperListener_start_runner] org.mule.module.launcher.DeploymentService: org.mule.module.launcher.DeploymentStartException: InstantiationException: !org.mortbay.jetty.servlet.DefaultServlet
INFO 2011-07-19 17:05:45,788 [WrapperListener_start_runner] org.mule.module.launcher.StartupSummaryDeploymentListener:

**********************************************************************
* - - + APPLICATION + - - * - - + STATUS + - - *
**********************************************************************
*bold* * mmc-agent-mule3-app-3.1.2 * FAILED *
* default * DEPLOYED *
* DUSBP001LOG-1.0-SNAPSHOT * FAILED *bold*
**********************************************************************

INFO 2011-07-19 17:05:45,803 [WrapperListener_start_runner] org.mule.module.launcher.DeploymentService:
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+ Mule is up and kicking (every 5000ms) +
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
WrapperListener.start runner thread stopped.
returned from WrapperListener.start()
Received a packet PING : ping
Send a packet PING : ok
read a packet PING : ok
Got ping response from JVM
send a packet PING : ping
Received a packet PING : ping
Send a packet PING : ok
read a packet PING : ok
Got ping response from JVM
Signal trapped. Details:
signal number=2 (SIGINT), source="the kernel"
INT trapped. Shutting down.
wrapperStopProcess(0) called.
Sending stop signal to JVM
send a packet STOP : NULL
Received a packet STOP :
Thread, Wrapper-Connection, handling the shutdown process.
calling listener.stop()
Waiting for WrapperListener.stop runner thread to complete.
WrapperListener.stop runner thread started.
INFO 2011-07-19 17:06:28,374 [WrapperListener_stop_runner] org.mule.module.launcher.MuleContainer: Mule container shutting down due to normal shutdown request
ERROR 2011-07-19 17:06:28,376 [WrapperListener_stop_runner] org.mule.module.launcher.DeploymentService: java.lang.IllegalStateException: Lifecycle Manager 'MuleContext' phase 'initialise' does not support phase 'stop'
Processing control event(WRAPPER_CTRL_C_EVENT)
Wrapper Manager: ShutdownHook started
WrapperManager.stop(0) called by thread: Wrapper-Shutdown-Hook
Thread, Wrapper-Shutdown-Hook, waiting for the JVM to exit.
System.exit appears to have been called from within the
WrapperListener.stop() method. If possible the application
should be modified to avoid this behavior.
To avoid a deadlock, this thread will only wait 5 seconds
for the application to shutdown. This may result in the
application failing to shutdown completely before the JVM
exists. Removing the offending System.exit call will
resolve this.
Thread, Wrapper-Shutdown-Hook, continuing after 5 seconds.
Send a packet STOPPED : 0
read a packet STOPPED : 0
JVM signalled that it was stopped.
Wrapper Manager: ShutdownHook complete
JVM exited normally.
Signal trapped. Details:
signal number=17 (SIGCHLD), source="unknown"
Received SIGCHLD, checking JVM process status.
JVM process exited with a code of 0, leaving the wrapper exit code set to 0.
<-- Wrapper Stopped


##################################################
END OF MULE.LOG
##################################################

I really want this up and running smoothly, can imagine how powerful mule and mmc is when
running as intended, pointers and ideas would be nice, why my deployments fail, why do i get a namespace error for example?

Would really appreciate som help.

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email


Julien Eluard

unread,
Jul 19, 2011, 11:34:50 AM7/19/11
to us...@mule.codehaus.org
Hi Niklas,

can you detail what you are trying to achieve?
Did you modify the default configuration?

Thanks,
Julien

2011/7/19 nicklas ring <mule.us...@mulesource.com>

Victor Romero

unread,
Jul 20, 2011, 12:25:08 PM7/20/11
to us...@mule.codehaus.org
It looks like the classpath is not complete (the namespace handler is not present and you lack some classes)

If you run the application manually "./bin/mule" does it work?

nicklas ring

unread,
Jul 21, 2011, 8:18:48 AM7/21/11
to us...@mule.codehaus.org
It works yes, but it wont deploy DUSB, and mmc-agent.

Victor Romero

unread,
Jul 21, 2011, 8:44:35 AM7/21/11
to us...@mule.codehaus.org
By any chance are you trying to deploy mmc and DUSBP001LOG-1.0-SNAPSHOT in an mule-community-edition?
Reply all
Reply to author
Forward
0 new messages