The problem with this code is you are using the same connection vendor
for both connection identifiers *and* you're not defining a vendor for
the DefaultConnectionIdentifier

On Jan 11, 7:05 am, "Neil.Lv" <[email protected]> wrote:
> Hi all,
>
>    There is a problem when i upgrading the 1.1-M7 to 1.1-M8, the db
> connection is broken.
>
>    I use two database connection in my app, it's broken in 1.1-M8.
> ###
> object OneDB extends ConnectionIdentifier {
>  override def jndiName = "lift_proto"}
>
> object TwoDB extends ConnectionIdentifier {
>  override def jndiName = "lift_proto2"}
>
> ###
>
>    The error message is:
> ###
> HTTP ERROR 500
>
> Problem accessing /. Reason:
>
>     Looking for Connection Identifier ConnectionIdentifier(lift) but
> failed to find either a JNDI data source with the name lift or a lift
> connection manager with the correct name
> ###
>
>   Maybe I missing something else configure in M8 that it's different
> from M7.
>
>   The test demo address is :http://github.com/anim510/two_db_demo
>
>   Thanks for any help very much!
>
> 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