juddi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steve Viens <svi...@attbi.com>
Subject RE: [juddi-Developers] RE: problems in deploying to sybase
Date Fri, 04 Apr 2003 10:09:08 GMT
Anou,

You're referring to the init() method in 
org.juddi.registry.RegistryServlet right?

The listBindings() method returns an enumeration of the keys from 
the "java:comp/env" context. You'll see two <env-entry> elements 
(log4j.propsFile and juddi.propsFile) in jUDDI's deployment descriptor 
(web.xml) who's keys should be found in this enumeration after the 
listBindings method is called. These keys are used to retrieve the two 
properties files described in the jUDDI Deployment Guide.

Steve

-----Original Message-----
From: juddi-developers-admin@lists.sourceforge.net [mailto:juddi-
developers-admin@lists.sourceforge.net] On Behalf Of Anou Manavalan
Sent: Thursday, April 03, 2003 5:24 PM
To: juddi-developers@lists.sourceforge.net
Subject: [juddi-Developers] RE: problems in deploying to sybase EAServer


The second problem is gone - I have to put "jdbc/juddiDB" for the 
resrource name.
  -----Original Message-----
  From: Anou Manavalan [mailto:anou@openbiz.biz]
  Sent: Thursday, April 03, 2003 3:02 PM
  To: juddi-developers@lists.sourceforge.net
  Subject: problems in deploying to sybase EAServer


  NamingEnumeration e = envCtx.listBindings("/");   ---  what does this 
mean ? listBindings("/")  



  And I also got this -- '

  Apr 03 14:35:51 2003: jUDDI: Unable to start servlet 
jUDDIRegistryServlet: java.lang.ClassCastException: 
com.sybase.ejb.NamingContext
  Apr 03 14:35:51 2003: java.lang.ClassCastException: 
com.sybase.ejb.NamingContext

   at org.juddi.datastore.jdbc.JDBCDataStoreFactory.lookupDataSource
(JDBCDataStoreFactory.java:206)

   at org.juddi.datastore.jdbc.JDBCDataStoreFactory.getDataSource
(JDBCDataStoreFactory.java:182)

   at org.juddi.datastore.jdbc.JDBCDataStoreFactory.init
(JDBCDataStoreFactory.java:149)


  I will look into this, but if you got a quick suggestion, let me know.

  regards,
  -Anou

--
This message was sent using Sake Mail, a web-based email tool from
Endymion Corporation.  http://www.endymion.com/products/sake


Mime
View raw message