Rebuilding the MIR
build build.xml
antmerge -n persrepository-in.xml -m default
add an MIR.properties file in .ant of your home directory.
Mine looks like:
tomcat.manager.username=admin
tomcat.manager.password=xxxxxx
Then build with ant
ant axis.undeploy
ant gather
ant axis.install
ant axis.deploy
--
ChrisWroe - 10 Jun 2003
Instructions
Install db2. The mIR works against db2 univeral database version 7.2
It definitely does NOT work against the latest version 8.1 as downloadable from the web. You therefore need a valid academic programme username and password to download v7.2
I use the personal edition filename db72pewi.zip at a massive 544MB
1) Make sure you are using the mIR branch of the
PersRepository? module in CVS.
2) in DB2 scripts open mir3-notes.txt This has the SQL to build the database. Note DB2 will complain if you try to install the database on a different partition than the db2 installation.
3) Now you need to put some sample data in using the test scripts.
Change the properties file for username and password. I
run ant
The deploy stuff will fail for now.
run uk.ac.nwcslman.persrep.MIR3TestSet1
I had to write a batch file to build the classpath up from jars in extlib\ and build\dist\ directories. I've included this in the top level directory of
PersRepository?.
This will also test whether a local connection can be made to the mIR.
4) Start a tomcat with Axis installed
(tested using Tomcat 4.1.24 and AXIS release 1.0) (I needed to copy activation.jar into /common/lib)
Add a property called catalina.home to the build.properties file in the build directory.
run ant deploy
Test that the service is present by browsing
http://localhost:8080/axis/services/myGridInformationRepository
or something similiar
5) build the workbench with ant
(I think you need to copy myGridPersRepository_a01.jar from \PersRepository\build\dist to \workbench\ext)
copy myGrid.jar to modules directory of the netbeans installation
copy contents of the workbench ext directory to modules/ext
6) start netbeans
goto filesystem view and right click to mount a new filesystem
choose mygrid information repository
In the dialog enter MIR server URL
"http://localhost:8080/axis/services/myGridInformationRepository"
UserName? "user:MIR3TestSet1"
The mIR entries should now appear.
--
ChrisWroe - 20 May 2003