Hi Amber,

Ya, documentation at jUDDI website is quite nil. 
Here goes the steps I used for java(1.5.0),
Tomcat(5.5.9) and mysql. CCing it to juddi-user
mailing list if someone else needs this info.

1- downloaded, unziped jakarta-tomcat-5.5.9

2- exported $CATALINA_HOME to point to root directory
   of tomcat

3- started the tomcat server with bin/startup.sh - and
   http://localhost:8080/ was working fine.

4- downloaded juddi 0.9rc4, and unzipped the juddi.war
  
   file in $CATALINA_HOME/webapps/juddi/

5- downloaded mysql deriver from
http://dev.mysql.com/downloads/connector/j/3.1.html,
and copied mysql-connector-java-3.1.10-bin.jar into
$CATALINA_HOME/lib directory

6- downloaded following apache commons jar files from
apache website:  commons-dbcp-1.2.1.jar,
commons-pool-1.2.jar, commons-collections-3.1.jar,
commons-collections-testframework-3.1.jar

7- initialized mysql database with files in
juddi-0.9rc4/sql/mysql directory

8- Created tomcat datasource description by creating
juddi.xml file in
$CATALINA_HOME/conf/Catalina/localhost directory with
following content:
 
<Context path="/juddi" docBase="juddi"
        debug="5" reloadable="true"
crossContext="true">

  <Logger
className="org.apache.catalina.logger.FileLogger"
             prefix="localhost_juddi_log."
suffix=".txt"
             timestamp="true"/>

  <Resource name="jdbc/juddiDB"
               auth="Container"
               type="javax.sql.DataSource"
               username="juddi"
               password="123456"
               driverClassName="com.mysql.jdbc.Driver"
              
url="jdbc:mysql://localhost:3306/juddi?autoReconnect=true"
              
factory="org.apache.commons.dbcp.BasicDataSourceFactory"
               maxActive="100"
               maxIdle="30"
               maxWait="10000"
               validationQuery="select count(*) from
PUBLISHER"
   />

</Context>

9- ran http://localhost:8080/juddi/ ..


--- Amber Verma <[EMAIL PROTECTED]> wrote:

> Sachit,
>  
> Even i tried configuring juddi on Tomcat, but the
> happiness page showed an error "DB connection not
> acquired (Unable to load driver class 'null')". I
> tried everything but was unable to fix it, then i
> turned to deploying it on weblogic server 8.1, where
> the happiness page loaded succesfully, but now i get
> an error at the same place as you...though my
> exception is "NoSuchMethodException", which is
> different than yours, i think you need to check the
> juddi.properties file or controller.jsp file.
>  
> It'll be great if you can guide me about tomcat
> deployment.
>  
> Regards,
> Amber
> 
> Sachit haryanvi <[EMAIL PROTECTED]> wrote:
> Hi,
> 
> I have downloaded juddi - 0.9rc4, configured it with
> tomcat and mysql. Had some problems configuring jdbc
> data source on tomcat, but figured it out - so now
> juddi/happyjuddi.jsp is working fine.
> 
> Now I am confused for the next step: 
> http://locahost:8080/juddi/inquiry - HTTP status 404
> http://locahost:8080/juddi/publish - HTTP status 404
> 
> From where one get these?
> 
> Tried beta console, say click on find_business, then
> validate - It says "Validation is not implemented
> yet."
> ok. tried submit and it says
> "http://localhost:8080/8080/juddi/inquiry"; in the
> lower window.
> 
> Seems I am missing something crucial here. Any help
> or
> pointers are welcome.
> 
> Thanks,
> 
> sachit
> 
> 
> 
> 
> __________________________________ 
> Yahoo! Mail - PC Magazine Editors' Choice 2005 
> http://mail.yahoo.com
> 
>               
> ---------------------------------
>  Yahoo! India Matrimony: Find your partner now.



                
__________________________________ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com

Reply via email to