`
network-eagle
  • 浏览: 59376 次
  • 性别: Icon_minigender_1
  • 来自: 重庆
社区版块
存档分类
最新评论

mule2.1.2 初步认识 发布cxf 和axis服务

阅读更多
最近公司需要写这样一个功能。也就是需要一个esb消息总线。初步的功能是提供webservice的消息管理以后还会增加很多的功能。。以前本来在soa esb上面的东西就是个空白。在Google上找了一天最后由我自己觉得用mule2.1.2。让后就疯狂的找些好的帖子。希望能够很快的入门。但发现不是那么一回事。找到的很多都是1.X的版本。2.1.2 的少得很。经过近半周的研究。。终于自己写了一个小的test。贴上来给新入门的朋友希望有帮助。深入的研究以后还会继续。
配置文件:mule_config.xml
<?xml version="1.0" encoding="UTF-8"?>
<mule xmlns="http://www.mulesource.org/schema/mule/core/2.1"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xmlns:spring="http://www.springframework.org/schema/beans"
      xmlns:vm="http://www.mulesource.org/schema/mule/vm/2.1"
      xmlns:cxf="http://www.mulesource.org/schema/mule/cxf/2.1"
      xmlns:axis="http://www.mulesource.org/schema/mule/axis/2.1"
      xmlns:smtps="http://www.mulesource.org/schema/mule/smtps/2.1"
      xmlns:http="http://www.mulesource.org/schema/mule/http/2.1"
      xmlns:stdio="http://www.mulesource.org/schema/mule/stdio/2.1"
      xmlns:soap="http://www.mulesource.org/schema/mule/soap/2.1"
      xsi:schemaLocation="
               http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
               http://www.mulesource.org/schema/mule/core/2.1 http://www.mulesource.org/schema/mule/core/2.1/mule.xsd
               http://www.mulesource.org/schema/mule/stdio/2.1 http://www.mulesource.org/schema/mule/stdio/2.1/mule-stdio.xsd
               http://www.mulesource.org/schema/mule/vm/2.1 http://www.mulesource.org/schema/mule/vm/2.1/mule-vm.xsd
               http://www.mulesource.org/schema/mule/cxf/2.1 http://www.mulesource.org/schema/mule/cxf/2.1/mule-cxf.xsd
               http://www.mulesource.org/schema/mule/axis/2.1 http://www.mulesource.org/schema/mule/axis/2.1/mule-axis.xsd
               http://www.mulesource.org/schema/mule/smtps/2.1 http://www.mulesource.org/schema/mule/smtps/2.1/mule-smtps.xsd
               http://www.mulesource.org/schema/mule/soap/2.1 http://www.mulesource.org/schema/mule/soap/2.1/mule-soap.xsd
               http://www.mulesource.org/schema/mule/http/2.1 http://www.mulesource.org/schema/mule/http/2.1/mule-http.xsd
               ">
     <description>
        eagleMule demo which shows how to publish web services over CXF.
    </description>
    <model name="eagleMule">
    	 <service name="testMuleService">
            <inbound>
                <axis:inbound-endpoint address="http://localhost:8899/services/testMuleService">
            		<soap:http-to-soap-request-transformer />
            	</axis:inbound-endpoint>
            	<cxf:inbound-endpoint address="http://localhost:8898/services/testMuleService">
            		<soap:http-to-soap-request-transformer />
            	</cxf:inbound-endpoint>
            </inbound>
            <component class="com.eagle.mule.test.imp.MuleServiceImp">
            </component>
        </service>
    </model>
    </mule>

一个简单的 接口 为了先跑同就这样把。
MuleService.java
 @WebService
public interface MuleService {
public String testMule(@WebParam(name="str")String str);
}

MuleServiceImp.java
@WebService(serviceName="eagleMuleService",
		  endpointInterface="com.eagle.mule.test.MuleService")
public class MuleServiceImp implements MuleService {

	public String testMule(String str) {
		System.out.println("----service---");
		return "hello--"+str;
	}
}

启动服务:
public class EagleMuleMain {
	public static void main(String[] args) throws ConfigurationException, InitialisationException {
		try {
			String configFile = "com/eagle/mule/test/mule_config.xml";
			String[] configFileArr = new String[] { configFile };
			MuleContextFactory muleContextFactory = new DefaultMuleContextFactory();
			MuleContext context = muleContextFactory
					.createMuleContext(new SpringXmlConfigurationBuilder(
							configFileArr));
			context.start();
		} catch (MuleException t) {
			t.printStackTrace();
		}
	}
}

测试
package com.eagle.mule.test.clint;

import java.io.IOException;
import java.io.InputStream;

import org.apache.commons.io.IOUtils;
import org.mule.api.MuleException;
import org.mule.api.MuleMessage;
import org.mule.module.client.MuleClient;

public class Client {
	public static void main(String[] args){
		MuleClient client = null; 
		try {
			client = new MuleClient();
			String url = "axis:http://localhost:8899/services/testMuleService?wsdl&method=testMule";

			MuleMessage message = client.send(url, "eagle", null);
			Object obj = message.getPayload();
			System.out.println("--------------obj---------"+obj.getClass().getName());
			if(obj instanceof String){
				System.out.println("---------str--------------"+obj);
			}
		} catch (MuleException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}finally{
			client.dispose();
		}

	}
}
注意 这里需要把mule 下lib中 endorsed  mule  opt 文件夹中的jar都加进去。如果不发布cxf的服务 可以不用添加endorsed文件夹中的jar。 
分享到:
评论
23 楼 gp_len 2009-02-22  
portrait 写道
你是放在eclipse里运行的吗?

不好意思,最近网络不好没能及时上网

我是在Eclipse(j2ee-eclipse)下运行的
22 楼 portrait 2009-02-20  
你是放在eclipse里运行的吗?
21 楼 gp_len 2009-02-20  
当我运行测试程序(Client.java)时,出现如下错误信息:
2009-2-20 10:16:02 org.mule.module.client.MuleClient init
信息: No existing ManagementContext found, creating a new Mule instance
2009-2-20 10:16:03 org.mule.module.client.MuleClient init
信息: Starting Mule...
2009-2-20 10:16:03 org.mule.util.xa.AbstractResourceManager start
信息: Starting ResourceManager
2009-2-20 10:16:03 org.mule.util.xa.AbstractResourceManager start
信息: Started ResourceManager
2009-2-20 10:16:03 org.mule.DefaultMuleContext start
信息:
**********************************************************************
* Mule ESB and Integration Platform                                  *
* Version: 2.1.2 Build: 13558                                        *
* MuleSource, Inc.                                                   *
* For more information go to http://mule.mulesource.org              *
*                                                                    *
* Server started: 09-2-20 上午10:16                                  *
* Server ID: 6bda59d0-fef4-11dd-8245-2f889c07c4c5                    *
* JDK: 1.5.0_04 (mixed mode, sharing)                                *
* Encoding: OS: GBK, Mule: UTF-8                                     *
* OS: Windows XP - Service Pack 3 (5.1, x86)                         *
* Host: MICROSOF-825873 (192.168.132.56)                             *
*                                                                    *
* Agents Running: None                                               *
**********************************************************************
2009-2-20 10:16:03 org.mule.transport.AbstractConnector initialise
信息: Initialising: AxisConnector{this=bfea1d, started=false, initialised=false, name='connector.axis.0', disposed=false, numberOfConcurrentTransactedReceivers=4, createMultipleTransactedReceivers=true, connected=false, supportedProtocols=[axis, axis:http, axis:https, axis:servlet, axis:vm, axis:jms, axis:xmpp, axis:ssl, axis:tcp, axis:smtp, axis:smtps, axis:pop3, axis:pop3s, axis:imap, axis:imaps], serviceOverrides=null}
2009-2-20 10:16:05 org.mule.AbstractExceptionListener doInitialise
信息: Initialising exception listener: org.mule.DefaultExceptionStrategy@633e5e
2009-2-20 10:16:05 org.mule.transport.AbstractConnector start
信息: Starting: AxisConnector{this=bfea1d, started=false, initialised=true, name='connector.axis.0', disposed=false, numberOfConcurrentTransactedReceivers=4, createMultipleTransactedReceivers=true, connected=true, supportedProtocols=[axis, axis:http, axis:https, axis:servlet, axis:vm, axis:jms, axis:xmpp, axis:ssl, axis:tcp, axis:smtp, axis:smtps, axis:pop3, axis:pop3s, axis:imap, axis:imaps, axis:http, axis:https, axis:servlet, axis:vm, axis:jms, axis:xmpp, axis:ssl, axis:tcp, axis:smtp, axis:smtps, axis:pop3, axis:pop3s, axis:imap, axis:imaps], serviceOverrides=null}
2009-2-20 10:16:05 org.mule.transport.AbstractConnector start
信息: Started: AxisConnector{this=bfea1d, started=true, initialised=true, name='connector.axis.0', disposed=false, numberOfConcurrentTransactedReceivers=4, createMultipleTransactedReceivers=true, connected=true, supportedProtocols=[axis, axis:http, axis:https, axis:servlet, axis:vm, axis:jms, axis:xmpp, axis:ssl, axis:tcp, axis:smtp, axis:smtps, axis:pop3, axis:pop3s, axis:imap, axis:imaps, axis:http, axis:https, axis:servlet, axis:vm, axis:jms, axis:xmpp, axis:ssl, axis:tcp, axis:smtp, axis:smtps, axis:pop3, axis:pop3s, axis:imap, axis:imaps], serviceOverrides=null}
2009-2-20 10:16:05 org.mule.transport.AbstractConnector initialise
信息: Initialising: HttpConnector{this=1f3ce5c, started=false, initialised=false, name='connector.http.0', disposed=false, numberOfConcurrentTransactedReceivers=4, createMultipleTransactedReceivers=true, connected=false, supportedProtocols=[http], serviceOverrides=null}
2009-2-20 10:16:05 org.mule.AbstractExceptionListener doInitialise
信息: Initialising exception listener: org.mule.DefaultExceptionStrategy@8530b8
2009-2-20 10:16:05 org.mule.transport.AbstractConnector start
信息: Starting: HttpConnector{this=1f3ce5c, started=false, initialised=true, name='connector.http.0', disposed=false, numberOfConcurrentTransactedReceivers=4, createMultipleTransactedReceivers=true, connected=true, supportedProtocols=[http], serviceOverrides=null}
2009-2-20 10:16:05 org.mule.transport.AbstractConnector start
信息: Started: HttpConnector{this=1f3ce5c, started=true, initialised=true, name='connector.http.0', disposed=false, numberOfConcurrentTransactedReceivers=4, createMultipleTransactedReceivers=true, connected=true, supportedProtocols=[http], serviceOverrides=null}
2009-2-20 10:16:05 org.mule.transport.service.DefaultTransportServiceDescriptor createOutboundTransformers
信息: Loading default outbound transformer: org.mule.transport.http.transformers.ObjectToHttpClientMethodRequest
2009-2-20 10:16:05 org.mule.transport.soap.axis.extensions.UniversalSender invoke
信息: Making Axis soap request on: http://localhost:8899/services/testMuleService?wsdl&method=testMule
2009-2-20 10:16:06 org.mule.transport.AbstractConnectable disconnect
信息: Disconnected: AxisMessageDispatcher{this=a98932, endpoint=http://localhost:8899/services/testMuleService?wsdl&method=testMule, disposed=false}
org.mule.api.transport.DispatchException: Failed to route event via endpoint: DefaultOutboundEndpoint{endpointUri=http://localhost:8899/services/testMuleService?wsdl&method=testMule, connector=AxisConnector{this=bfea1d, started=true, initialised=true, name='connector.axis.0', disposed=false, numberOfConcurrentTransactedReceivers=4, createMultipleTransactedReceivers=true, connected=true, supportedProtocols=[axis, axis:http, axis:https, axis:servlet, axis:vm, axis:jms, axis:xmpp, axis:ssl, axis:tcp, axis:smtp, axis:smtps, axis:pop3, axis:pop3s, axis:imap, axis:imaps, axis:http, axis:https, axis:servlet, axis:vm, axis:jms, axis:xmpp, axis:ssl, axis:tcp, axis:smtp, axis:smtps, axis:pop3, axis:pop3s, axis:imap, axis:imaps], serviceOverrides=null}, transformer=[], name='endpoint.http.localhost.8899.services.testMuleService.wsdl.method.testMule', properties={wsdl=, method=testMule}, transactionConfig=Transaction{factory=null, action=NEVER, timeout=0}, filter=null, deleteUnacceptedMessages=false, securityFilter=null, synchronous=true, initialState=started, remoteSync=false, remoteSyncTimeout=10000, endpointEncoding=UTF-8}. Message payload is of type: String
at org.mule.transport.AbstractMessageDispatcher.send(AbstractMessageDispatcher.java:195)
at org.mule.transport.AbstractConnector.send(AbstractConnector.java:1929)
at org.mule.endpoint.DefaultOutboundEndpoint.send(DefaultOutboundEndpoint.java:77)
at org.mule.DefaultMuleSession.sendEvent(DefaultMuleSession.java:327)
at org.mule.module.client.MuleClient.send(MuleClient.java:650)
at org.mule.module.client.MuleClient.send(MuleClient.java:627)
at org.mule.module.client.MuleClient.send(MuleClient.java:580)
at com.eagle.mule.test.client.Client.main(Client.java:17)
Caused by: javax.xml.soap.SOAPException: org.xml.sax.SAXParseException: Content is not allowed in prolog.
at org.apache.axis.AxisFault.makeFault(AxisFault.java:101)
at org.mule.transport.soap.axis.extensions.MuleSoapHeadersHandler.invoke(MuleSoapHeadersHandler.java:93)
at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:190)
at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
at org.apache.axis.client.Call.invoke(Call.java:2767)
at org.apache.axis.client.Call.invoke(Call.java:2443)
at org.apache.axis.client.Call.invoke(Call.java:2366)
at org.apache.axis.client.Call.invoke(Call.java:1812)
at org.mule.transport.soap.axis.AxisMessageDispatcher.doSend(AxisMessageDispatcher.java:141)
at org.mule.transport.AbstractMessageDispatcher.send(AbstractMessageDispatcher.java:168)
... 7 more
Caused by: javax.xml.soap.SOAPException: org.xml.sax.SAXParseException: Content is not allowed in prolog.
at org.apache.axis.SOAPPart.getEnvelope(SOAPPart.java:1005)
at org.mule.transport.soap.axis.extensions.MuleSoapHeadersHandler.processClientResponse(MuleSoapHeadersHandler.java:138)
at org.mule.transport.soap.axis.extensions.MuleSoapHeadersHandler.invoke(MuleSoapHeadersHandler.java:61)
... 18 more
Caused by: org.xml.sax.SAXParseException: Content is not allowed in prolog.
at org.apache.axis.AxisFault.makeFault(AxisFault.java:101)
at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:701)
at org.apache.axis.SOAPPart.getEnvelope(SOAPPart.java:1003)
... 20 more
Caused by: org.xml.sax.SAXParseException: Content is not allowed in prolog.
at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)
at org.apache.xerces.util.ErrorHandlerWrapper.fatalError(Unknown Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
at org.apache.xerces.impl.XMLScanner.reportFatalError(Unknown Source)
at org.apache.xerces.impl.XMLDocumentScannerImpl$PrologDispatcher.dispatch(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
at org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source)
at org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227)
at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)
... 21 more

2009-2-20 10:16:06 org.mule.module.client.MuleClient dispose
信息: Stopping Mule...
2009-2-20 10:16:06 org.mule.transport.AbstractConnector stop
信息: Stopping: HttpConnector{this=1f3ce5c, started=true, initialised=true, name='connector.http.0', disposed=false, numberOfConcurrentTransactedReceivers=4, createMultipleTransactedReceivers=true, connected=true, supportedProtocols=[http], serviceOverrides=null}
2009-2-20 10:16:06 org.mule.transport.AbstractConnector disconnect
信息: Disconnected: HttpConnector{this=1f3ce5c, started=false, initialised=true, name='connector.http.0', disposed=false, numberOfConcurrentTransactedReceivers=4, createMultipleTransactedReceivers=true, connected=false, supportedProtocols=[http], serviceOverrides=null}
2009-2-20 10:16:06 org.mule.transport.AbstractConnector stop
信息: Stopped: HttpConnector{this=1f3ce5c, started=false, initialised=true, name='connector.http.0', disposed=false, numberOfConcurrentTransactedReceivers=4, createMultipleTransactedReceivers=true, connected=false, supportedProtocols=[http], serviceOverrides=null}
2009-2-20 10:16:06 org.mule.transport.AbstractConnector stop
信息: Stopping: AxisConnector{this=bfea1d, started=true, initialised=true, name='connector.axis.0', disposed=false, numberOfConcurrentTransactedReceivers=4, createMultipleTransactedReceivers=true, connected=true, supportedProtocols=[axis, axis:http, axis:https, axis:servlet, axis:vm, axis:jms, axis:xmpp, axis:ssl, axis:tcp, axis:smtp, axis:smtps, axis:pop3, axis:pop3s, axis:imap, axis:imaps, axis:http, axis:https, axis:servlet, axis:vm, axis:jms, axis:xmpp, axis:ssl, axis:tcp, axis:smtp, axis:smtps, axis:pop3, axis:pop3s, axis:imap, axis:imaps], serviceOverrides=null}
2009-2-20 10:16:06 org.mule.transport.AbstractConnector disconnect
信息: Disconnected: AxisConnector{this=bfea1d, started=false, initialised=true, name='connector.axis.0', disposed=false, numberOfConcurrentTransactedReceivers=4, createMultipleTransactedReceivers=true, connected=false, supportedProtocols=[axis, axis:http, axis:https, axis:servlet, axis:vm, axis:jms, axis:xmpp, axis:ssl, axis:tcp, axis:smtp, axis:smtps, axis:pop3, axis:pop3s, axis:imap, axis:imaps, axis:http, axis:https, axis:servlet, axis:vm, axis:jms, axis:xmpp, axis:ssl, axis:tcp, axis:smtp, axis:smtps, axis:pop3, axis:pop3s, axis:imap, axis:imaps], serviceOverrides=null}
2009-2-20 10:16:06 org.mule.transport.AbstractConnector stop
信息: Stopped: AxisConnector{this=bfea1d, started=false, initialised=true, name='connector.axis.0', disposed=false, numberOfConcurrentTransactedReceivers=4, createMultipleTransactedReceivers=true, connected=false, supportedProtocols=[axis, axis:http, axis:https, axis:servlet, axis:vm, axis:jms, axis:xmpp, axis:ssl, axis:tcp, axis:smtp, axis:smtps, axis:pop3, axis:pop3s, axis:imap, axis:imaps, axis:http, axis:https, axis:servlet, axis:vm, axis:jms, axis:xmpp, axis:ssl, axis:tcp, axis:smtp, axis:smtps, axis:pop3, axis:pop3s, axis:imap, axis:imaps], serviceOverrides=null}
2009-2-20 10:16:06 org.mule.util.xa.AbstractResourceManager stop
信息: Stopping ResourceManager
2009-2-20 10:16:06 org.mule.util.xa.AbstractResourceManager stop
信息: Stopped ResourceManager
2009-2-20 10:16:06 org.mule.transport.AbstractConnector dispose
信息: Disposing: HttpConnector{this=1f3ce5c, started=false, initialised=true, name='connector.http.0', disposed=false, numberOfConcurrentTransactedReceivers=4, createMultipleTransactedReceivers=true, connected=false, supportedProtocols=[http], serviceOverrides=null}
2009-2-20 10:16:06 org.mule.transport.AbstractConnectable disconnect
信息: Disconnected: HttpClientMessageDispatcher{this=6e4365, endpoint=http://localhost:8899/services/testMuleService?wsdl&method=testMule, disposed=false}
2009-2-20 10:16:06 org.mule.util.monitor.ExpiryMonitor dispose
信息: disposing monitor
2009-2-20 10:16:06 org.mule.transport.AbstractConnector dispose
信息: Disposed: HttpConnector{this=1f3ce5c, started=false, initialised=false, name='connector.http.0', disposed=true, numberOfConcurrentTransactedReceivers=4, createMultipleTransactedReceivers=true, connected=false, supportedProtocols=[http], serviceOverrides=null}
2009-2-20 10:16:06 org.mule.transport.AbstractConnector dispose
信息: Disposing: AxisConnector{this=bfea1d, started=false, initialised=true, name='connector.axis.0', disposed=false, numberOfConcurrentTransactedReceivers=4, createMultipleTransactedReceivers=true, connected=false, supportedProtocols=[axis, axis:http, axis:https, axis:servlet, axis:vm, axis:jms, axis:xmpp, axis:ssl, axis:tcp, axis:smtp, axis:smtps, axis:pop3, axis:pop3s, axis:imap, axis:imaps, axis:http, axis:https, axis:servlet, axis:vm, axis:jms, axis:xmpp, axis:ssl, axis:tcp, axis:smtp, axis:smtps, axis:pop3, axis:pop3s, axis:imap, axis:imaps], serviceOverrides=null}
2009-2-20 10:16:06 org.mule.transport.AbstractConnector dispose
信息: Disposed: AxisConnector{this=bfea1d, started=false, initialised=false, name='connector.axis.0', disposed=true, numberOfConcurrentTransactedReceivers=4, createMultipleTransactedReceivers=true, connected=false, supportedProtocols=[axis, axis:http, axis:https, axis:servlet, axis:vm, axis:jms, axis:xmpp, axis:ssl, axis:tcp, axis:smtp, axis:smtps, axis:pop3, axis:pop3s, axis:imap, axis:imaps, axis:http, axis:https, axis:servlet, axis:vm, axis:jms, axis:xmpp, axis:ssl, axis:tcp, axis:smtp, axis:smtps, axis:pop3, axis:pop3s, axis:imap, axis:imaps], serviceOverrides=null}
2009-2-20 10:16:06 org.mule.DefaultMuleContext dispose
信息:
**********************************************************************
* Mule shut down normally on: 09-2-20 上午10:16                      *
* Server was up for: 0 days, 0 hours, 0 mins, 3.94 sec               *
**********************************************************************

========================================
并在我启动服务的控制台上显示如下信息:
2009-2-20 10:16:06 org.mule.transport.http.HttpMessageReceiver getTargetReceiver
警告: No receiver found with secondary lookup on connector: connector.http.0 with URI key: http://localhost:8899/services/testMuleService
2009-2-20 10:16:06 org.mule.transport.http.HttpMessageReceiver getTargetReceiver
警告: Receivers on connector are: {
http://localhost:8899/services/testMuleService/testMuleService=HttpMessageReceiver{this=13c296b, receiverKey=http://localhost:8899/services/testMuleService/testMuleService, endpoint=http://localhost:8899/services/testMuleService/testMuleService}
http://localhost:8898/services/testMuleService=HttpMessageReceiver{this=c360a5, receiverKey=http://localhost:8898/services/testMuleService, endpoint=http://localhost:8898/services/testMuleService}
}

请问各位这是为什么哪?
20 楼 gp_len 2009-02-20  
我完全按照楼主的方式,当我启动服务也就是运行(EagleMuleMain.java)时控制台出现的信息:
2009-2-20 10:14:23 org.springframework.context.support.AbstractApplicationContext prepareRefresh
信息: Refreshing org.mule.config.spring.MuleApplicationContext@1d99a4d: display name [org.mule.config.spring.MuleApplicationContext@1d99a4d]; startup date [Fri Feb 20 10:14:23 CST 2009]; root of context hierarchy
2009-2-20 10:14:23 org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
信息: Loading XML bean definitions from URL [jar:file:/D:/greensoft/esb-mule/Mule/lib/mule/mule-module-spring-config-2.1.2.jar!/default-mule-config.xml]
2009-2-20 10:14:26 org.springframework.beans.factory.support.DefaultListableBeanFactory registerBeanDefinition
信息: Overriding bean definition for bean '_muleConfiguration': replacing [Generic bean: class [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 [jar:file:/D:/greensoft/esb-mule/Mule/lib/mule/mule-module-spring-config-2.1.2.jar!/default-mule-config.xml]] with [Generic bean: class [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 [jar:file:/D:/greensoft/esb-mule/Mule/lib/mule/mule-module-spring-config-2.1.2.jar!/default-mule-config.xml]]
2009-2-20 10:14:26 org.springframework.beans.factory.support.DefaultListableBeanFactory registerBeanDefinition
信息: Overriding bean definition for bean '_muleConfiguration': replacing [Generic bean: class [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 [jar:file:/D:/greensoft/esb-mule/Mule/lib/mule/mule-module-spring-config-2.1.2.jar!/default-mule-config.xml]] with [Generic bean: class [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 [jar:file:/D:/greensoft/esb-mule/Mule/lib/mule/mule-module-spring-config-2.1.2.jar!/default-mule-config.xml]]
2009-2-20 10:14:26 org.springframework.beans.factory.support.DefaultListableBeanFactory registerBeanDefinition
信息: Overriding bean definition for bean '_muleNotificationManager': replacing [Generic bean: class [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 [jar:file:/D:/greensoft/esb-mule/Mule/lib/mule/mule-module-spring-config-2.1.2.jar!/default-mule-config.xml]] with [Generic bean: class [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 [jar:file:/D:/greensoft/esb-mule/Mule/lib/mule/mule-module-spring-config-2.1.2.jar!/default-mule-config.xml]]
2009-2-20 10:14:26 org.springframework.beans.factory.support.DefaultListableBeanFactory registerBeanDefinition
信息: Overriding bean definition for bean '_muleNotificationManager': replacing [Generic bean: class [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 [jar:file:/D:/greensoft/esb-mule/Mule/lib/mule/mule-module-spring-config-2.1.2.jar!/default-mule-config.xml]] with [Generic bean: class [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 [jar:file:/D:/greensoft/esb-mule/Mule/lib/mule/mule-module-spring-config-2.1.2.jar!/default-mule-config.xml]]
2009-2-20 10:14:26 org.springframework.beans.factory.support.DefaultListableBeanFactory registerBeanDefinition
信息: Overriding bean definition for bean '_muleSystemModel': replacing [Root bean: class [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 [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]
2009-2-20 10:14:26 org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
信息: Loading XML bean definitions from URL [file:/E:/workspace/MuleAppTest/bin/com/eagle/mule/test/mule_config.xml]
2009-2-20 10:14:26 org.springframework.beans.factory.support.DefaultListableBeanFactory registerBeanDefinition
信息: Overriding bean definition for bean 'eagleMule': replacing [Root bean: class [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 [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]
2009-2-20 10:14:26 org.springframework.context.support.AbstractApplicationContext obtainFreshBeanFactory
信息: Bean factory for application context [org.mule.config.spring.MuleApplicationContext@1d99a4d]: org.springframework.beans.factory.support.DefaultListableBeanFactory@1060478
2009-2-20 10:14:27 org.springframework.beans.factory.support.DefaultListableBeanFactory preInstantiateSingletons
信息: Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@1060478: 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,eagleMule,testMuleService,.testMuleService:inbound.11,.testMuleService:inbound.11:inbound-endpoint.12,.testMuleService:inbound.11:inbound-endpoint.12:http-to-soap-request-transformer.13,.testMuleService:inbound.11:inbound-endpoint.14,.testMuleService:inbound.11:inbound-endpoint.14:http-to-soap-request-transformer.15,.testMuleService:component.16]; root of factory hierarchy
2009-2-20 10:14:27 org.mule.transport.AbstractConnector initialise
信息: Initialising: AxisConnector{this=17e845a, started=false, initialised=false, name='connector.axis.0', disposed=false, numberOfConcurrentTransactedReceivers=4, createMultipleTransactedReceivers=true, connected=false, supportedProtocols=[axis, axis:http, axis:https, axis:servlet, axis:vm, axis:jms, axis:xmpp, axis:ssl, axis:tcp, axis:smtp, axis:smtps, axis:pop3, axis:pop3s, axis:imap, axis:imaps], serviceOverrides=null}
2009-2-20 10:14:28 org.mule.AbstractExceptionListener doInitialise
信息: Initialising exception listener: org.mule.DefaultExceptionStrategy@b51c29
2009-2-20 10:14:28 org.mule.transport.AbstractConnector initialise
信息: Initialising: CxfConnector{this=120dbf3, started=false, initialised=false, name='connector.cxf.0', disposed=false, numberOfConcurrentTransactedReceivers=4, createMultipleTransactedReceivers=true, connected=false, supportedProtocols=[cxf, cxf:http, cxf:https, cxf:jms, cxf:vm, cxf:servlet, cxf:jetty], serviceOverrides=null}
2009-2-20 10:14:28 org.springframework.context.support.AbstractApplicationContext prepareRefresh
信息: Refreshing org.apache.cxf.bus.spring.BusApplicationContext@6e8f94: display name [org.apache.cxf.bus.spring.BusApplicationContext@6e8f94]; startup date [Fri Feb 20 10:14:28 CST 2009]; parent: org.mule.config.spring.MuleApplicationContext@1d99a4d
2009-2-20 10:14:28 org.apache.cxf.bus.spring.BusApplicationContext getConfigResources
信息: No cxf.xml configuration file detected, relying on defaults.
2009-2-20 10:14:29 org.springframework.context.support.AbstractApplicationContext obtainFreshBeanFactory
信息: Bean factory for application context [org.apache.cxf.bus.spring.BusApplicationContext@6e8f94]: org.springframework.beans.factory.support.DefaultListableBeanFactory@1dfd868
2009-2-20 10:14:29 org.springframework.beans.factory.support.DefaultListableBeanFactory preInstantiateSingletons
信息: Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@1dfd868: defining beans [cxf,org.apache.cxf.bus.spring.BusWiringBeanFactoryPostProcessor,org.apache.cxf.bus.spring.Jsr250BeanPostProcessor,org.apache.cxf.bus.spring.BusExtensionPostProcessor,org.apache.cxf.resource.ResourceManager,org.apache.cxf.configuration.Configurer,org.apache.cxf.binding.BindingFactoryManager,org.apache.cxf.transport.DestinationFactoryManager,org.apache.cxf.transport.ConduitInitiatorManager,org.apache.cxf.wsdl.WSDLManager,org.apache.cxf.phase.PhaseManager,org.apache.cxf.workqueue.WorkQueueManager,org.apache.cxf.buslifecycle.BusLifeCycleManager,org.apache.cxf.endpoint.ServerRegistry,org.apache.cxf.endpoint.ServerLifeCycleManager,org.apache.cxf.endpoint.ClientLifeCycleManager,org.apache.cxf.transports.http.QueryHandlerRegistry,org.apache.cxf.endpoint.EndpointResolverRegistry,org.apache.cxf.headers.HeaderManager,org.apache.cxf.catalog.OASISCatalogManager,org.apache.cxf.endpoint.ServiceContractResolverRegistry,org.apache.cxf.binding.soap.SoapBindingFactory,org.apache.cxf.binding.soap.SoapTransportFactory,org.apache.cxf.binding.soap.customEditorConfigurer,org.apache.cxf.binding.xml.XMLBindingFactory,org.apache.cxf.jaxws.context.WebServiceContextResourceResolver,org.apache.cxf.jaxws.context.WebServiceContextImpl,org.apache.cxf.transport.local.LocalTransportFactory,org.apache.cxf.ws.addressing.policy.AddressingAssertionBuilder,org.apache.cxf.ws.addressing.policy.AddressingPolicyInterceptorProvider,org.apache.cxf.ws.addressing.policy.UsingAddressingAssertionBuilder]; parent: org.springframework.beans.factory.support.DefaultListableBeanFactory@1060478
2009-2-20 10:14:30 org.mule.AbstractExceptionListener doInitialise
信息: Initialising exception listener: org.mule.DefaultExceptionStrategy@37165f
2009-2-20 10:14:31 org.mule.component.AbstractComponent initialise
信息: Initialising: org.mule.component.DefaultJavaComponent component for: null
2009-2-20 10:14:31 org.mule.config.builders.AbstractResourceConfigurationBuilder configure
信息: Configured Mule using "org.mule.config.spring.SpringXmlConfigurationBuilder" with configuration resource(s): "[ConfigResource{resourceName='com/eagle/mule/test/mule_config.xml'}]"
2009-2-20 10:14:31 org.mule.transport.AbstractConnector start
信息: Starting: CxfConnector{this=120dbf3, started=false, initialised=true, name='connector.cxf.0', disposed=false, numberOfConcurrentTransactedReceivers=4, createMultipleTransactedReceivers=true, connected=true, supportedProtocols=[cxf, cxf:http, cxf:https, cxf:jms, cxf:vm, cxf:servlet, cxf:jetty], serviceOverrides=null}
2009-2-20 10:14:31 org.mule.transport.AbstractConnector start
信息: Started: CxfConnector{this=120dbf3, started=true, initialised=true, name='connector.cxf.0', disposed=false, numberOfConcurrentTransactedReceivers=4, createMultipleTransactedReceivers=true, connected=true, supportedProtocols=[cxf, cxf:http, cxf:https, cxf:jms, cxf:vm, cxf:servlet, cxf:jetty], serviceOverrides=null}
2009-2-20 10:14:31 org.mule.transport.AbstractConnector start
信息: Starting: AxisConnector{this=17e845a, started=false, initialised=true, name='connector.axis.0', disposed=false, numberOfConcurrentTransactedReceivers=4, createMultipleTransactedReceivers=true, connected=true, supportedProtocols=[axis, axis:http, axis:https, axis:servlet, axis:vm, axis:jms, axis:xmpp, axis:ssl, axis:tcp, axis:smtp, axis:smtps, axis:pop3, axis:pop3s, axis:imap, axis:imaps, axis:http, axis:https, axis:servlet, axis:vm, axis:jms, axis:xmpp, axis:ssl, axis:tcp, axis:smtp, axis:smtps, axis:pop3, axis:pop3s, axis:imap, axis:imaps], serviceOverrides=null}
2009-2-20 10:14:31 org.mule.transport.AbstractConnector start
信息: Started: AxisConnector{this=17e845a, started=true, initialised=true, name='connector.axis.0', disposed=false, numberOfConcurrentTransactedReceivers=4, createMultipleTransactedReceivers=true, connected=true, supportedProtocols=[axis, axis:http, axis:https, axis:servlet, axis:vm, axis:jms, axis:xmpp, axis:ssl, axis:tcp, axis:smtp, axis:smtps, axis:pop3, axis:pop3s, axis:imap, axis:imaps, axis:http, axis:https, axis:servlet, axis:vm, axis:jms, axis:xmpp, axis:ssl, axis:tcp, axis:smtp, axis:smtps, axis:pop3, axis:pop3s, axis:imap, axis:imaps], serviceOverrides=null}
2009-2-20 10:14:31 org.mule.component.AbstractComponent start
信息: Starting: org.mule.component.DefaultJavaComponent component for: testMuleService
2009-2-20 10:14:31 org.mule.transport.AbstractConnector registerListener
信息: Registering listener: testMuleService on endpointUri: http://localhost:8899/services/testMuleService
2009-2-20 10:14:31 org.mule.transport.AbstractConnector registerListener
信息: Registering listener: testMuleService on endpointUri: http://localhost:8898/services/testMuleService
2009-2-20 10:14:31 org.apache.cxf.service.factory.ReflectionServiceFactoryBean buildServiceFromClass
信息: Creating Service {http://imp.test.mule.eagle.com/}eagleMuleService from class com.eagle.mule.test.MuleService
2009-2-20 10:14:32 org.apache.cxf.endpoint.ServerImpl initDestination
信息: Setting the server's publish address to be http://localhost:8898/services/testMuleService
2009-2-20 10:14:32 org.apache.cxf.service.factory.ReflectionServiceFactoryBean buildServiceFromClass
信息: Creating Service {http://imp.test.mule.eagle.com/}eagleMuleService from class com.eagle.mule.test.MuleService
2009-2-20 10:14:32 org.apache.cxf.endpoint.ServerImpl initDestination
信息: Setting the server's publish address to be http://localhost:8898/services/testMuleService
2009-2-20 10:14:32 org.apache.cxf.service.factory.ReflectionServiceFactoryBean buildServiceFromClass
信息: Creating Service {http://imp.test.mule.eagle.com/}eagleMuleService from class com.eagle.mule.test.MuleService
2009-2-20 10:14:32 org.apache.cxf.endpoint.ServerImpl initDestination
信息: Setting the server's publish address to be http://localhost:8898/services/testMuleService
2009-2-20 10:14:32 org.mule.transport.AbstractConnector initialise
信息: Initialising: HttpConnector{this=1e2c9bf, started=false, initialised=false, name='connector.http.0', disposed=false, numberOfConcurrentTransactedReceivers=4, createMultipleTransactedReceivers=true, connected=false, supportedProtocols=[http], serviceOverrides=null}
2009-2-20 10:14:32 org.mule.AbstractExceptionListener doInitialise
信息: Initialising exception listener: org.mule.DefaultExceptionStrategy@6147d9
2009-2-20 10:14:32 org.mule.transport.AbstractConnector start
信息: Starting: HttpConnector{this=1e2c9bf, started=false, initialised=true, name='connector.http.0', disposed=false, numberOfConcurrentTransactedReceivers=4, createMultipleTransactedReceivers=true, connected=true, supportedProtocols=[http], serviceOverrides=null}
2009-2-20 10:14:32 org.mule.transport.AbstractConnector start
信息: Started: HttpConnector{this=1e2c9bf, started=true, initialised=true, name='connector.http.0', disposed=false, numberOfConcurrentTransactedReceivers=4, createMultipleTransactedReceivers=true, connected=true, supportedProtocols=[http], serviceOverrides=null}
2009-2-20 10:14:32 org.mule.transport.service.DefaultTransportServiceDescriptor createResponseTransformers
信息: Loading default response transformer: org.mule.transport.http.transformers.MuleMessageToHttpResponse
2009-2-20 10:14:32 org.mule.service.AbstractService start
信息: Service testMuleService has been started successfully
2009-2-20 10:14:32 org.mule.util.xa.AbstractResourceManager start
信息: Starting ResourceManager
2009-2-20 10:14:32 org.mule.util.xa.AbstractResourceManager start
信息: Started ResourceManager
2009-2-20 10:14:32 org.mule.component.AbstractComponent initialise
信息: Initialising: org.mule.component.DefaultJavaComponent component for: _cxfServiceComponent{http://imp.test.mule.eagle.com/}eagleMuleService22834317
2009-2-20 10:14:32 org.mule.component.AbstractComponent start
信息: Starting: org.mule.component.DefaultJavaComponent component for: _cxfServiceComponent{http://imp.test.mule.eagle.com/}eagleMuleService22834317
2009-2-20 10:14:32 org.mule.transport.AbstractConnector registerListener
信息: Registering listener: _cxfServiceComponent{http://imp.test.mule.eagle.com/}eagleMuleService22834317 on endpointUri: http://localhost:8898/services/testMuleService
2009-2-20 10:14:32 org.mule.service.AbstractService start
信息: Service _cxfServiceComponent{http://imp.test.mule.eagle.com/}eagleMuleService22834317 has been started successfully
2009-2-20 10:14:32 org.mule.component.AbstractComponent initialise
信息: Initialising: org.mule.component.DefaultJavaComponent component for: _axisServiceconnector.axis.0
2009-2-20 10:14:32 org.mule.component.AbstractComponent start
信息: Starting: org.mule.component.DefaultJavaComponent component for: _axisServiceconnector.axis.0
2009-2-20 10:14:32 org.mule.transport.AbstractConnector registerListener
信息: Registering listener: _axisServiceconnector.axis.0 on endpointUri: http://localhost:8899/services/testMuleService/testMuleService
2009-2-20 10:14:32 org.mule.service.AbstractService start
信息: Service _axisServiceconnector.axis.0 has been started successfully
2009-2-20 10:14:32 org.mule.DefaultMuleContext start
信息:
**********************************************************************
* Mule ESB and Integration Platform                                  *
* Version: 2.1.2 Build: 13558                                        *
* MuleSource, Inc.                                                   *
* For more information go to http://mule.mulesource.org              *
*                                                                    *
* Server started: 09-2-20 上午10:14                                  *
* Server ID: 3090bccc-fef4-11dd-ad75-535e95df81e9                    *
* JDK: 1.5.0_04 (mixed mode, sharing)                                *
* Encoding: OS: GBK, Mule: UTF-8                                     *
* OS: Windows XP - Service Pack 3 (5.1, x86)                         *
* Host: MICROSOF-825873 (192.168.132.56)                             *
*                                                                    *
* Agents Running: None                                               *
**********************************************************************
19 楼 gp_len 2009-02-20  
谢谢楼主,问题已经解决。
18 楼 portrait 2009-02-19  
network-eagle 写道
楼上的是差jar包  common-logging.jar 貌似这个

随便是用axis2或cxf或xfire的都行 只要暴露2个webservice,然后通过mule集成,互通
17 楼 portrait 2009-02-19  
lz 我想搞2个简单的service,用mule集成,你能不能提点我一下呀
16 楼 network-eagle 2009-02-19  
楼上的是差jar包  common-logging.jar 貌似这个
15 楼 gp_len 2009-02-19  
按照楼主给的方式做,当我启动服务也就是运行(LenMuleMain.java)时怎么报如下错误:
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory
at org.mule.context.DefaultMuleContextFactory.<clinit>(DefaultMuleContextFactory.java:36)
at org.len.mule.learn.startservice.LenMuleMain.main(LenMuleMain.java:20)
请问各位这是什么原因啊?
14 楼 portrait 2009-02-18  
lz 能不能把你的这个例子打包一下发上来啊 让我研究研究
13 楼 portrait 2009-02-18  
network-eagle 写道
你发布ws服务的时候不是要写端口么?

谢谢lz 我web service 没搞过 刚弄 呵呵
12 楼 network-eagle 2009-02-18  
你发布ws服务的时候不是要写端口么?
11 楼 portrait 2009-02-17  
network-eagle 写道
不是  这个端口可以你自己定义的

在哪里定义,哪个配置文件里定义?刚接触mule1个礼拜 很多不是很清楚 还望lz帮帮忙
10 楼 network-eagle 2009-02-17  
不是  这个端口可以你自己定义的
9 楼 portrait 2009-02-17  
lz http://localhost:8899/services/testMuleService 这里的8899这个端口号是mule默认的吗?
8 楼 portrait 2009-02-17  
好贴,我也在研究呢
7 楼 yvonxiao 2009-02-16  
dannycole 写道
这里是不是可以理解成,mule代替了tomcat的作用,来发布一个webservice呢?

这里Mule已经可以作为一个容器了(因为里面已经有了对相应的协议进行解析的module和transport了),可以直接作为服务程序运行,没必要再用web容器了.当然特殊情况下还是要部署到web程序里去的,直接在web.xml里配置就可以了.
6 楼 dannycole 2009-02-10  
这里是不是可以理解成,mule代替了tomcat的作用,来发布一个webservice呢?
5 楼 portrait 2009-01-16  
我没看出esb消息总线在这里体现在哪里
4 楼 gaoming25 2009-01-13  
gaoming25 写道

好贴,我也是在研究呢 想问一下,为什么我安装mule2.1.2的安装jar包是,提示找不到main函数,安装失败?? 在次之前上面有mule1.3.3版本

以解决,是安装包的路径里面有中文,才抛出异常!

相关推荐

    利用mule服务总线代理cxf服务

    在当今复杂的IT环境中,服务总线技术扮演着重要的角色,它能够有效地集成不同的应用程序和服务。本文将详细介绍如何利用Mule ESB(Enterprise Service Bus)作为代理来访问CXF发布的Web服务。 #### 建立CXF服务端 ...

    利用mule服务总线代理cxf服务源码

    在IT行业中,构建高效、可扩展的企业级应用是至关重要的,而Mule ESB(企业服务总线)和Apache CXF则是实现这一目标的两大关键工具。本文将深入探讨如何利用Mule服务总线代理Apache CXF服务源码,帮助开发者更好地...

    实战Mule:利用Mule调用XFire发布的Web服务

    总结来说,"实战Mule:利用Mule调用XFire发布的Web服务"涉及到的是企业级服务集成的核心技术,通过这种方式,可以有效地将不同系统和服务连接起来,形成一个无缝的数据交换网络,这对于现代企业的数字化转型和业务...

    实战Mule:利用Mule调用XFire发布的文件上传服务

    《实战Mule:利用Mule调用XFire发布的文件上传服务》 在现代企业级应用集成(EAI)中,Mule ESB(Enterprise Service Bus)作为一种强大的中间件,广泛用于构建灵活、可扩展的系统架构。而XFire是早期的Java Web...

    mule-2.2.1-users-guide

    Mule是一款非常流行的集成平台,用于构建连接应用程序、数据源和服务的集成解决方案。下面的内容将涵盖该版本中提及的重要概念、配置方法以及特定传输方式的使用。 ### Mule 2.2.1 用户指南概览 Mule 2.2.1用户...

    mule使用SOAP工件发布和消费web Service的简单例子

    在IT行业中,Mule ESB(企业服务总线)是一个流行的开源集成平台,它用于构建应用程序和服务之间的连接。本文将详细讲解如何使用Mule来发布和消费SOAP(Simple Object Access Protocol)Web服务,通过一个名为"hello...

    mule开发环境搭建和部署

    "Mule开发环境搭建和部署" Mule是当前流行的企业服务总线(Enterprise Service Bus, ESB),它提供了一个灵活、可扩展、高性能的集成平台。构建Mule开发环境是Mule应用程序的基础,以下将对Mule开发环境的搭建和...

    Mule stdio 安装过程

    Mule ESB支持多种传输协议,如文件、FTP、UDP、TCP、SOAP、电子邮件、JMS等,并能够与Spring、ActiveMQ、CXF、Axis、Drools等流行开源项目无缝集成。此外,尽管Mule ESB并非基于JBI(Java Business Integration)...

    mule in action 说明+文档介绍

    mule in action 和doc文档详细介绍 Mule的核心组件是UMO(Universal Message Objects,从Mule2.0开始UMO这一概念已经被组件Componse所代替),UMO实现整合逻辑。UMO可以是POJO,JavaBean等等。它支持30多种传输协议...

    MuleESB3.0中文教程

    - **定位**:Mule ESB 3.0是一款轻量级的消息框架和整合平台,旨在帮助企业轻松地集成不同的系统和服务。 - **核心特性**:基于EIP(Enterprise Integration Patterns)原则构建,支持多种传输协议(如file, FTP, ...

    Mule3.4入门学习

    本文将对Mule3.4进行入门学习,涵盖Mule环境搭建、Webservice的发布、JMS消息通信、ftp、File应用、协议转换等知识点。 一、Mule环境搭建 Mule环境的搭建需要JDK的支持,包括下载、安装、配置JDK。首先,需要下载...

    mule web service exsample

    在这个示例中,我们将深入探讨如何使用Mule来发布Web服务,这是一种允许不同系统间交换数据的有效方式。 1. **Mule基础知识** Mule 是一个开源的企业级服务总线,它支持多种协议和数据格式,如HTTP、JMS、FTP等。...

    mule IDE (mule ESB)

    Mule ESB 是一个轻量级的基于java的企业服务总线和集成平台, 使得开发人员可以快速,简单的连接多个应用, 使得它们可以交换数据。 Mule ESB 容易集成现有异构系统,包括:JMS, Web Services, JDBC, HTTP, 等. ESB...

    mule文档详解 mule

    它是一种中间件,旨在促进不同应用程序之间的数据交换,通过提供一个集成平台来连接各种系统、应用和服务。Mule ESB的核心优势在于其轻量级设计和高度可扩展性,使得它能够在不牺牲性能的情况下处理大量复杂集成任务...

    浪曦航母战斗编队式企业级项目培训系列明细

    浪曦航母战斗编队式企业级项目培训系列明细 JAVA,JSP/Servlet基础 Struts2 ...Mule Esb发布基于CXF,Axis的WebService, Extjs3.2与Html/css/js整合打造不规则九宫格效果 JBPM4.4开发销售工作流

Global site tag (gtag.js) - Google Analytics