3.2. Running

The build.xml file located in the project root will be used to launch the EasyBeans server. This file is contained in the source distribution.

Use the following command: ant run.server

The EasyBeans server will be launched and the following output will be printed:

$ ant run.server
Buildfile: build.xml

init-maven-task:

run.server:
     [java] 9/29/07 3:45:20 PM (I) PolicyProvider.init : Using EasyBeans policy provider 'org.ow2.easybeans.security.jacc.provider.JPolicy'.
     [java] 9/29/07 3:45:20 PM (I) PolicyProvider.init : Using EasyBeans PolicyConfigurationFactory provider and EasyBeans Policy provider
     [java] 9/29/07 3:45:20 PM (W) Embedded.configure : Directory /home/benoitf/workspace/easybeans/easybeans-deploy created.
     [java] 9/29/07 3:45:20 PM (I) Embedded.configure : Using directories '[easybeans-deploy]' as deploy directories
     [java] 9/29/07 3:45:20 PM (I) TraceCarol.infoCarol : Name service for jrmp is started on port 1099
     [java] 9/29/07 3:45:21 PM (I) Current.<init> : JOTM 2.0.10
     [java] 9/29/07 3:45:21 PM (I) JOTMComponent.start : Register javax.transaction.UserTransaction as transaction manager object
     [java] 9/29/07 3:45:21 PM (I) JoramComponent.start : Joram version '5.0.6' started on localhost:16030.
     [java] 9/29/07 3:45:21 PM (I) HSQLDBComponent.start : Starting 'HSQLDB server' '1.8.0' on port '9001'
     [java] 9/29/07 3:45:21 PM (I) HSQLDBComponent.start : HSQLDB server started with URL jdbc:hsqldb:hsql://localhost:9001/jdbc_1
     [java] 9/29/07 3:45:21 PM (I) HSQLDBComponent.start : Starting 'HSQLDB server' '1.8.0' on port '9002'
     [java] 9/29/07 3:45:22 PM (I) HSQLDBComponent.start : HSQLDB server started with URL jdbc:hsqldb:hsql://localhost:9002/jdbc_2
     [java] 9/29/07 3:45:22 PM (I) MailComponent.start : Binding javax.mail.Session Mail factory with JNDI name mailSession_1
     [java] 9/29/07 3:45:22 PM (I) MailComponent.start : Binding javax.mail.internet.MimePartDataSource Mail factory with JNDI name mailMimePartDS_1
     [java] 9/29/07 3:45:22 PM (I) JDBCPoolComponent.start : DS 'jdbc_1', URL 'jdbc:hsqldb:hsql://localhost:9001/jdbc_1', Driver = 'org.hsqldb.jdbcDriver'.
     [java] 9/29/07 3:45:22 PM (I) JDBCPoolComponent.start : DS 'jdbc_2', URL 'jdbc:hsqldb:hsql://localhost:9002/jdbc_2', Driver = 'org.hsqldb.jdbcDriver'.
     [java] 9/29/07 3:45:22 PM (I) SmartClientEndPointComponent.start : SmartClient Endpoint listening on port '2503'.
     [java] 9/29/07 3:45:22 PM (I) QuartzScheduler.<init> : Quartz Scheduler v.1.6.0 created.
     [java] 9/29/07 3:45:22 PM (I) RAMJobStore.initialize : RAMJobStore initialized.
     [java] 9/29/07 3:45:22 PM (I) StdSchedulerFactory.instantiate : Quartz scheduler 'EasyBeans' initialized from an externally provided properties instance.
     [java] 9/29/07 3:45:22 PM (I) StdSchedulerFactory.instantiate : Quartz scheduler version: 1.6.0
     [java] 9/29/07 3:45:22 PM (I) QuartzScheduler.start : Scheduler EasyBeans_$_NON_CLUSTERED started.
     [java] 9/29/07 3:45:22 PM (I) ComponentManager.startComponents : [ Component(s) started : Carol JOTM Joram HSQLDB HSQLDB Mail JDBCPool JDBCPool SmartClientEndPoint Quartz ]
     [java] 9/29/07 3:45:22 PM (I) JMXRemoteHelper.init : Creating JMXRemote connector with URL 'service:jmx:rmi:///jndi//EasyBeansConnector'
     [java] 9/29/07 3:45:22 PM (I) Embedded.start : Startup of EasyBeans '1.0.0-SNAPSHOT' was done in '1,954' ms.
     [java] 9/29/07 3:45:22 PM (I) Embedded.start : Waiting requests...

EasyBeans is now launched and it is ready to handle EJBs.