• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Juddi DB connection problem

 
Ranch Hand
Posts: 265
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All,
trying my hardest to get juddi working
Every time I access the happyjuddi.jsp it displays the following error message:-

-DB connection was not aquired. (Cannot create JDBC driver of class '' for connect URL 'null')
-SELECT COUNT(*) FROM PUBLISHER failed (null)

I have followed serveral links on the web and nothing seems to work.

software used:-
1) apache-tomcat-6.0.24
2) MySQL 5.1
3) JUDDI 0.9rc4 UDDI Version: 2.0
4) java version 1.6.0_05

configuration files used:-

Tomcat Server specific files
-----------------------------
directory: TOMCAT_HOME\WEB-INF
file name: web.xml


directory: TOMCAT_HOME\conf
file name: context.xml


directory: TOMCAT_HOME\conf
file name: web.xml


Juddi specific files
--------------------
directory: TOMCAT_HOME\webapps\juddi\WEB-INF
file name: juddi-users.xml


directory: TOMCAT_HOME\webapps\juddi\WEB-INF
file name: web.xml


I have placed the following file: mysql-connector-java-5.1.13-bin.jar
within the following locations:-

directory: TOMCAT_HOME\webapps\juddi\WEB-INF\lib
directory: TOMCAT_HOME\lib

I have used following files that came with juddi to build my juddi database and tables
create_database.sql
insert_publishers.sql

I have set a juddi user using MySQL Workbench. This user has to RWED etc.

Can anybody help, I'm just about to throw my self out of the window with this one.


Mat




 
Ranch Hand
Posts: 2198
1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi!
There is a distribution of jUDDI that comes complete, installed in a Tomcat - have you tried that one?
It is still not the most simple piece of software I have dealt with, but at least it saved me some trouble.
Best wishes!
 
Mat Anthony
Ranch Hand
Posts: 265
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Ivan,
thanks for the response . I did as you said and downloaded the juddi-portal-bundle-3.0.3.zip .
I have mangaed to get juddi up and running and have access to the juddi Portal.
I have attempted to follow the 'Simple Publishing Example' instructions within the juddi User Guide.
On attempting to run the code I get the following error :-

org.apache.juddi.v3.error.UserMismatchException: An account must have administrative privileges to save publishers
at org.apache.juddi.validation.ValidatePublish.validateSavePublisher(ValidatePublish.java:1094)
at org.apache.juddi.api.impl.JUDDIApiImpl.savePublisher(JUDDIApiImpl.java:98)
at org.gmp.client.SimplePublish.main(SimplePublish.java:78)

Yet I get an authentication token succesfully

The code that I used is as follows:-
File: SimplePublish.java


File: uddi.xml


File:juddiv3.properties


Also have you got any examples of how to setup BindingTemplates to the service.

Mat
 
Ivan Krizsan
Ranch Hand
Posts: 2198
1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi!
Sorry, I haven't done anything with jUDDI in a long time and never with v3.
I did a little with v2 when writing my SCDJWS 5 study notes (http://www.slideshare.net/krizsan/scdjws-5-study-notes-3085287), but nothing since.
Best wishes!
 
them good ole boys were drinking whiskey and rye singin' this'll be the day that I die. Drink tiny ad.
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic