Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Obtaining a Geronimo 3.0-M1 server
Anchor
geronimo
geronimo

Until You can download an image of the "Geronimo Non-Certified Web Container" (either Tomcat or Jetty) from this location:
Geronimo 3.0-M1 is delivered you will have to use Geronimo 3.0-SNAPSHOT.
The first step is to obtain a Geronimo 3.0-SNAPSHOT server javaee6 image (either Jetty or Tomcat should work).
If you prefer you can build your own image after first checking out the code as follows:

Code Block
bordersolid

svn co https://svn.apache.org/repos/asf/geronimo/server/trunk  geronimo-trunk
cd geronimo-trunk
mvn clean install

Alternatively you can pull an image from the most recent Geronimo build.

...

download page

Note

You must use a Web Container image and not a "Little-G" (minimal) version of the server. The Little-G version does not include necessary components for deploying the Apache Aries samples.

Follow the Apache Geronimo documentation to unpack and start the server image.

Obtaining the Aries Samples
Anchor
aries
aries

There are several choices to obtain the Apache Aries EBA samples.

  1. You can choose to obtain the source code and build the samples yourself. This is useful if you are using the samples as a learning tool to build your own application.
  2. You can also choose to simply download the EBAs from the latest Apache Aries samples release without building Apache Aries.

In either case, you can find the necessary downloads (source or EBA artifacts) at this location:
Latest Apache Aries Release

Building the Apache Aries samples
Anchor
aries-build
aries-build

...

If you choose not to build the samples you can skip to Deploy the Aries Samples DataSource


Download and unzip the source zip for the latest release Latest Apache Aries Release of Aries Samples and build the project.

...

  • Blog jdbc sample - samples-0.1-incubating/blog/blog-jdbc-eba/target/org.apache.aries.samples.blog.jdbc.eba-0.1-incubating.eba
  • Blog jpa sample - samples-0.1-incubating/blog/blog-jpa-eba/target/org.apache.aries.samples.blog.jpa.eba-0.1-incubating.eba
  • AriesTrader jdbc sample - samples-0.1-incubating/ariestrader/assemblies/ariestrader-jdbc-eba/target/org.apache.aries.samples.ariestrader.jdbc-0.1-incubating.eba
  • AriesTrader all sample - samples-0.1-incubating/ariestrader/assemblies/ariestrader-all-eba/target/org.apache.aries.samples.ariestrader.all-0.1-incubating.eba

...

Deploy the Aries Samples DataSource
Anchor

...

aries-

...

deploy

...

aries-

...

deploy

Use your favorite command to start the Geronimo Server of choice

Deploy the Aries Samples DataSource

Each of the two samples requires a Datasource. You can deploy the datasources for both samples with this one file However, before you can deploy the Datasources you need to obtain the tranql-connector-derby-embed-xa rar. Unfortunately, this was not included in the Geronimo 3.0-M1 server images (but will be included in future images).

  • For 3.0-M1 release you can obtain the necessary rar from any of the ibiblio mirrors: Tranql RAR for derby
  • You must also download the XML for the datasource definitions - located here: aries-datasource.xml.

Use After you have both of the necessary files in your local file system use the following command to deploy the datasource:

Code Block
bordersolid
./bin/deploy -u system -p manager deploy ~/.m2/repository/org/tranql/tranql-connector-derby-embed-xa/1.5/tranql-connector-derby-embed-xa-1.56.rar aries-datasource.xml

...