Hi,
I tried to deploy juddi on tomcat using following installation software:
juddi-distribution-2.0rc7
jakarta-tomcat-5.5.9.
I copy juddi-client-2.0rc7.jar, juddi-web-2.0rc7.war,
juddi-web-lean-2.0rc7.war to $CATALINA_HOME\webapps. Among this, reanme
juddi-web-2.0rc7.war to juddi.war.
I modify $CATALINA_HOME\conf\server.xml as following:
<Context path="/juddi" docBase="juddi"
debug="5" reloadable="true" crossContext="true">
<Logger className="org.apache.catalina.logger.FileLogger"
prefix="localhost_juddiDB_log" suffix=".txt"
timestamp="true"/>
<Resource name="java:comp/env/jdbc/juddiDB" auth="Container"
type="javax.sql.DataSource"
maxActive="100" maxIdle="30" maxWait="10000"
username="root" password="123456"
driverClassName="com.mysql.jdbc.Driver"
url="jdbc:mysql://localhost:3306/juddi?autoReconnect=true"/>
</Context>
</Host>
And I modify juddi.war's juddi.properties as following;
# jUDDI DataSource to use
juddi.isUseDataSource=true
juddi.dataSource=java:comp/env/jdbc/juddiDB
# straight JDBC
juddi.jdbcDriver=com.mysql.jdbc.Driver
juddi.jdbcUrl=jdbc:mysql://localhost/juddi
juddi.jdbcUsername=root
juddi.jdbcPassword=123456
When I startup the tomcat, I get the following error information:
Information: Initializing jUDDI components.
2009-6-5 12:02:40 org.apache.juddi.util.jdbc.ConnectionManager
lookupDataSource
Information: Using JNDI to aquire a JDBC DataSource with name: java:/juddiDB
2009-6-5 12:02:40 org.apache.juddi.util.jdbc.ConnectionManager
lookupDataSource
Serious: Exception occurred while attempting to acquire a JDBC DataSource
from JNDI
: Name juddiDB is not bound in this Context
2009-6-5 12:02:40 org.apache.juddi.registry.RegistryEngine
initializeDatabase
Serious: Could not create jUDDI database null
java.lang.NullPointerException
at
org.apache.juddi.registry.RegistryEngine.initializeDatabase(RegistryE
ngine.java:253)
Could anyone help me with this?
Thanks.
Sara
--
View this message in context:
http://www.nabble.com/Urgent%3AEorros-of-deploying-juddi-on-tomcat-tp23887765p23887765.html
Sent from the jUDDI - User mailing list archive at Nabble.com.