Hi,
I tried to deploy juddi onto jboss-4.0.5.GA. I have modified and declared datasource with name "comp/env/jdbc/juddiDB" on jboss. And I get the information as following when the jboss server starting:
17:11:25,150 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jb oss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name 'java:JmsXA' 17:11:25,415 INFO [WrapperDataSourceService] Bound ConnectionManager 'jboss.jca :service=DataSourceBinding,name=comp/env/jdbc/juddiDB' to JNDI name 'java:comp/e nv/jdbc/juddiDB'.
<%
out.print("Test JBoss/MySQL Connection pool"+"<br>");
try{
InitialContext initCtx = new InitialContext();
DataSource ds = (DataSource)initCtx.lookup("java:comp/env/jdbc/juddiDB");
Connection conn = ds.getConnection();
out.print("MySQL connection pool runs perfectly");
conn.close();
}
catch(Exception ex){
out.println("Connect error:");
out.print(ex.getMessage());
}
%>Test JBoss/MySQL Connection pool Connect error: jdbc not bound