summaryrefslogtreecommitdiffstats
path: root/sandbox/rfeng/geronimo-demo/README.TXT
blob: 502da1e53f9bc37aa7e594d6d7e4fd9da269c690 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
README for Tuscany/Geronimo Integration Demo
============================================

The demo application is built on top of the code from geronimo sandbox:

https://svn.apache.org/repos/asf/geronimo/sandbox/tuscany-integration (By Vamsi and Manu from Geronimo community, Thank you!).

The pre-built binary images can be found at:
http://people.apache.org/~rfeng/tuscany-geronimo/images/

1) Check out the Geronimo 2.0.0 branch from https://svn.apache.org/repos/asf/geronimo/server/branches/2.0.0/ and run a top-down maven build
from the root. 

Note: 
a. The Geronimo 2.0 M6 is not good enough.
b. I was trying to build modules and assembilies but it failed. 

2) Unzip the assemblies/target/geronimo-tomcat6-jee5-2.0-SNAPSHOT-bin.tar.gz to a local folder (<geronimo-home> will be used below to 
represent the home directory for geronimo).

3) Copy tuscany-binding-ejb-0.91-incubating.jar to overwrite
<geronimo-home>\repository\org\apache\tuscany\sca\tuscany-binding-ejb\0.91-incubating\tuscany-binding-ejb-0.91-incubating.jar

3.2) Copy tuscany-host-geronimo-1.0-incubating-SNAPSHOT.jar to overwrite
<geronimo-home>\repository\org\apache\tuscany\sca\tuscany-host-geronimo\1.0-incubating-SNAPSHOT\tuscany-host-geronimo-1.0-incubating-SNAPSHOT.jar

4) Start the Geronimo server (<geronimo-home>\bin\startup.bat)

5) Install the geronimo-tuscany-plugin:

deploy.bat install-plugin geronimo-tuscany-plugin-1.0-incubating-SNAPSHOT.car

6) Start the admin console (http://localhost:8080/console) or use deploy tool to:

a) Make sure org.apache.geronimo.configs/openejb-corba-deployer/2.0-SNAPSHOT/car is started. Look under System Modules in Admin Console.
b) Deploy sample-geronimo-bigbank.jar
c) Deploy sample-geronimo-ejbs.jar
d) Deploy sample-geronimo-webs.war

Note: 
* If Geronimo complains that <geronimo-home>\var\catalina\work\bigbank folder is read only, change the attribute.
* If you want to use a different port other than 8080 for the web service, you need to a Tomcat HTTP connector for the new port.


7) Load the samples into your WTP(Eclipse)
Check out the three modules from http://svn.apache.org/repos/asf/incubator/tuscany/sandbox/rfeng/geronimo-demo/

8) Run the demo

From the browser: http://localhost:8080/sample-geronimo-webs

Start the Web Service Explorer from inside WTP(Eclipse) to work with http://localhost:8080/bigbank/AccountService