You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@juddi.apache.org by Steve Viens <sv...@steveviens.com> on 2002/01/24 09:22:09 UTC

[jUDDI-developers] Configuration and Installation changes (read this and save this)

Sorry for the long message (but I'd rather send one than several - and
I'm sure you'd rater get one than many from me)

...

First order of business ... We've got the "get_authToken" service
working now!!!! You can try it out using the SimplePost class that Alex
has created in the juddi/samples/simplePost directory:

java SimplePost empty.xml get_authtoken.xml
http://localhost/juddi/servlet/AxisServlet



Just checked in a bunch of changes (various areas) ... Here's a
breakdown:

jUDDI now assumes the 'working' or 'root' directory is
"webapps/juddi/WEB-INF". This means that jUDDI no longer requires the
-Djuddi.homeDir=[some dir] VM parameter. HOWEVER if it finds one it will
use that value instead of simply assuming "webapps/juddi/WEB-INF/" (this
should help when performing unit testing.)

The Config, Logging and Authentication were having some trouble (well,
really just Config) due to a missing judid.homeDir -D param.  The
location of the juddi.properties file MUST be in
webapps/juddi/WEB-INF/conf now ... This allowed us to eliminate several
"file location" properties ... 

So, if you're writing code that needs to access some doc or resource in
the juddi/WEB-INF directory you MUST call Config.getHomeDir() to get the
path to the "root" directory. There is also a convenience method to get
the path to the Conf directory ... Config.getConfDir().

IMPORTANT!!!: Something to note is that the juddi.properties file in the
juddi/conf/ directory IS NOT added to the juddi.war archive when you
build juddi. This properties file is for us to use during development
and testing. The properties file that is included during the build is
located in the juddi/webapps/juddi/WEB-INF/conf directory. We should
only include the default properties int this file for now.

Finally, the org.juddi.uuidgen.SimpleUUIDGenerator no longer requires
that an OS specific "uuidgen" utility be installed on your system. It
does require that you add a hardware address to the juddi.properties
file however.  The juddi.properties file added to the juddi.war archive
does not specify a hardware address however - this will need to be added
to the installation doc.  The juddi.properties file in juddi/conf does
include a dummy hardware address of AA-BB-CC-DD-EE-FF (again - this
value is not specified to the properties file that's added to the
juddi.war archive when building jUDDI with Ant.)



:)

Steve

Steve Viens
sviens@steveviens.com
http://steveviens.com/
603-373-0567 (phone/fax)
603-682-5230 (mobile)