Hi all,

I'm trying to start DSpace using the JNDI configuration. In dspace.cfg:
  
      db.jndi = jdbc/dspace

But when I start Tomcat I get the following error on line 1416 
DatabaseManager:

   javax.naming.Context ctx = new InitialContext();
   javax.naming.Context env = ctx == null ? null : 
(javax.naming.Context)ctx.lookup("java:/comp/env");
*   dSource = (DataSource)(env == null ? null : env.lookup(jndiName));*

Following exception occurs:

      Error retrieving JNDI context: jdbc / dspace

Tomcat configuration is:

[Tomcat]/conf/context.xml

...

   <Resource name="jdbc/dspace" auth="Container"
      type="javax.sql.DataSource"
      driverClassName="oracle.jdbc.OracleDriver"
      url="jdbc:oracle:thin:****"
      username="****" password="****"
      maxActive="30" maxIdle="-1"
      maxWait="5000"/>

...


Settings ok? Or settings must be in server.xml context?

Thanks in advance.


-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.

Reply via email to