Versions Compared

Key

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

...

The changes from v1.0 to this new release are not limited to just deployment plans as mentione in the Summary of changes section

Using the upgrader tool

You can use the upgrader tool to migrate your geronimo plans from 1.0 to 1.1. To use the upgrader tool, at the geronimo_home\bin directory, execute:
java -jar upgrade.jar

...

1) Manually add the Database or JMS rar module as the dependency:
If the application uses resource reference
in 1.1, resource references need to be resolvable in
the set of ancestors of your module. In other words, your app application has to
depend on the rar deployment.

...

2) Manually convert the derby jar dependencies to system-datasource:

If in your 1.0 , your database connection pool plan has the following as dependencies:

...

However, this loads a second copy of derby in a second
classloader, and you will hit the following error when you run your application:

...

Instead you need a car dependency on system-datasource so you are sharing
it's copy of derby.

<dep:dependency>
<dep:groupId>geronimo</dep:groupId>
<dep:artifactId>system-database</dep:artifactId>
<dep:type>car</dep:type>
</dep:dependency>