Hi all,

   There is a problem that i switch the M7 to M8, the JNDI is error.

   I didn't change anything before moving M7 to M8.

   It seems that the Lift looks for the lift ConnectionIdentifier not
the OneDB or TwoDB.

###
java.lang.NullPointerException: Looking for Connection Identifier
ConnectionIden
tifier(lift) but failed to find either a JNDI data source with the
name lift or
a lift connection manager with the correct name
###

  I have two DB connection, in the Boot.scala
###
object OneDB extends ConnectionIdentifier {
 def jndiName = "one"
}
object TwoDB extends ConnectionIdentifier {
 def jndiName = "two"
}
---
class Boot {
  def boot {
    if (!DB.jndiJdbcConnAvailable_?) {
       DB.defineConnectionManager(OneDB, DBVendor)
       DB.defineConnectionManager(TwoDB, DBVendor_2)
    }
  }
}
###

  This work fine under the M7, but is broken in the M8,

  Does anyone know what's wrong with it ?

  Thanks for any suggestion!

Cheers,
  Neil

-- 
You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en.


Reply via email to