Experiences: Installing JUDDI
This document describes work items and experiences made when installing JUDDI.
Workitems
| Workitem | Description |
|---|
| Install Tomcat |
Downloaded Tomcat 5.5.3 and placed it in my project.
|
| Install JUDDI |
- Downloaded JUDDI 0.9.0rc1 and placed it in my project
- Using already installed MySQL: Ver 11.18 Distrib 3.23.51, for Win95/Win98 (i32)
- Created tables and entries for publishers as described in the juddi -- Installation Guide --
- Created Context and Resource (JDBC-Connection to MYSQL) in server.xml of Tomcat as described in the juddi -- Installation Guide --
- Copied webapps subdirectory from juddi to tomcat
- Started Tomcat... Done properly
- Tried to call JUDDI-context within Tomcat ...
Got JasperException -- org.apache.juddi.util.Release cannot be resolved or is not a type
- Uuups: Webapp-Dir of JUDDI comes with WEB-INF/lib dir but without compiled JUDDI
- Executing build.xml within JUDDI-Project using ANT 1.5.4
- Build-Failed: E:\home\mirko\diplom\app\diplom\ext_app\juddi\lib not found.
- Reading of build.xml shows: Directory lib must be present but remains useless because build.xml uses also library of webapps/WEB-INF/lib -- created empty lib directory
- Java 1.5 interrupts compilation: as of release 1.5, 'enum' is a keyword, and may not be used as an identifier
- Switching to java 1.4.2_03
- Running Ant again... FAILED -- package javax.servlet does not exist
- Copying all libs from %TOMCAT_HOME%/common/lib to lib directory of juddi
- Yippeeah! directory build/classes in juddi now contains the compiled juddi-classes -- copying them to the juddi-context/WEB-INF in TOMCAT
- Starting Tomcat... Done properly
- Calling JUDDI-Context... Done properly
- Validating the local installation's configuration...
- Everythings seems to be fine... BUT DB-Conn couldn't be established: DB connection was not aquired. (Cannot load JDBC driver class 'com.mysql.jdbc.Driver')
- OK! It would be to much to package it with JUDDI ;) -- Copied mysql-connector-java-2.0.14-bin.jar to %TOMCAT_HOME%/common/lib (to copy it to $CONTEXT/WEB-INF/lib or %TOMCAT_HOME%/shared/lib didn't work because the Resource is defined in server.xml!)
- Only one (temporary) thing is still missing: log4j.properties -- copying it from $JUDDI/src/java to $JUDDI-CONTEXT/WEB-INF/clases
- Everything is ok now -- JUDDI is up and running
- ... 1.5 h ...
|