Chapter 31. How to Install a jUDDI Server on JOnAS
0.8 : juddi_ase.sql
•
0.9rc1 : create_database.sql insert_publishers.sql
•
PostgreSQL
•
0.8 : juddi_postgresql.sql
•
0.9rc1 : create_database.sql insert_publishers.sql
•
Oracle
•
0.8 : juddi_oracle.sql
•
0.9rc1 : create_database.sql insert_publishers.sql
•
TotalXML
•
0.8 : juddi_totalxml.sql
•
0.9rc1 : create_database.sql insert_publishers.sql
•
JDataStore
•
0.8 : juddi_jds.sql
•
0.9rc1 : create_database.sql insert_publishers.sql
•
31.4.2.2. Set Up the Database
For the 0.8 jUDDI release, the given SQL script must be executed. Then, a publisher (the user who
has the rights to modify the UDDI server) must be added manually. This is currently the only way to
add a publisher for jUDDI.
For latest release (0.9rc1), execute the given scripts (table creation, tmodels insertions, and publishers
insertions).
31.4.3. Configure JOnAS Datasource
As jUDDI uses a DataSource to connect to the database, JOnAS must be configured to create this
DataSource:
Create a file (named
the database you use.
###################### MySQL DataSource configuration example
# datasource.name is the jndi-name set in jonas-web.xml
datasource.name
# datasource.url is the URL where the database can be accessed
datasource.url
# datasource.classname is the JDBC Driver classname
datasource.classname
# Set the DB username and password here
datasource.username
datasource.password
# available values:
#
rdb,rdb.postgres,rdb.oracle,rdb.oracle8,rdb.mckoi,rdb.mysql
datasource.mapper
# Add the datasource properties filename
# (without the suffix .properties)
# in ($JONAS_BASE|$JONAS_ROOT)/conf/jonas.properties
ws-juddi-datasource.properties
jdbc/juddiDB
jdbc:mysql://localhost/db_juddi
com.mysql.Driver
XXX
XXX
rdb.mysql
for example) and fill it in according to
233
Need help?
Do you have a question about the APPLICATION SERVER - JONAS and is the answer not in the manual?
Questions and answers