Apache Servicemix 学习(1) ----- 环境准备

Apache ServiceMix是一个开源ESB组件,符合JBI规范。其特点是小巧灵活,可以很方便的集成到J2EE容器中,也可以单独作为一个服务器运行。

安装要求:
1.至少100M的空间。
2.Windows XP sp2,windows 2000或者任何支持java的linux
3.jdk1.5+。
其他要求:
必须先设置好java及maven的环境。

本机的环境:ubuntu10.04 + jdk1.6 + maven2.2.1 + servicemix3.x

eric@eric-laptop:/opt$ java -version
java version "1.6.0_20"
Java(TM) SE Runtime Environment (build 1.6.0_20-b02)
Java HotSpot(TM) Server VM (build 16.3-b01, mixed mode)
eric@eric-laptop:/opt$ 



eric@eric-laptop:/opt$ mvn -version
Apache Maven 2.2.1 (r801777; 2009-08-07 03:16:01+0800)
Java version: 1.6.0_20
Java home: /opt/jdk1.6/jre
Default locale: zh_CN, platform encoding: UTF-8
OS name: "linux" version: "2.6.32-24-generic" arch: "i386" Family: "unix"
eric@eric-laptop:/opt$ 


安装servicemix

1.下载servicemix包:http://servicemix.apache.org/download.html
2.将其解压缩到目录: /opt/apache/servicemix-3.3.1

运行servicemix
进入/opt/apache/servicemix-3.3.1/bin 执行命令:

eric@eric-laptop:/opt/apache/servicemix-3.3.1/bin$ ./servicemix


显示如下日志:
Loading Apache ServiceMix from servicemix.xml on the CLASSPATH
INFO  - ConnectorServerFactoryBean     - JMX connector available at: service:jmx:rmi:///jndi/rmi://localhost:1099/jmxrmi
INFO  - JBIContainer                   - ServiceMix 3.3.1 JBI Container (ServiceMix) is starting
INFO  - JBIContainer                   - For help or more information please see: http://servicemix.apache.org/
INFO  - JCAFlow                        - ActiveMQResourceAdapter server url was null.  Setting it to: tcp://localhost:61616
INFO  - ComponentMBeanImpl             - Initializing component: #SubscriptionManager#
INFO  - DeploymentService              - Restoring service assemblies
INFO  - JBIContainer                   - ServiceMix JBI Container (ServiceMix) started

即说明安装成功。

你可能感兴趣的:(java,apache,maven,linux,XP)