Are you using JNDI or your own connection manager to connect to the RDBMS? On Wed, Jun 24, 2009 at 6:50 AM, Nolan Darilek <no...@thewordnerd.info>wrote:
> > I'm getting this one on server reloads if I have mvn scala:cc running in > one terminal and mvn jetty:run in another. Happens whenever I make a > code change that gets redeployed: > > ERROR - Failed to Boot > java.lang.NullPointerException: 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 > at net.liftweb.mapper.DB$$anonfun$3$$anonfun$apply$7.apply(DB.scala:95) > at net.liftweb.mapper.DB$$anonfun$3$$anonfun$apply$7.apply(DB.scala:95) > at net.liftweb.util.EmptyBox.openOr(Box.scala:372) > at net.liftweb.mapper.DB$$anonfun$3.apply(DB.scala:95) > at net.liftweb.mapper.DB$$anonfun$3.apply(DB.scala:95) > at net.liftweb.util.EmptyBox.openOr(Box.scala:372) > at net.liftweb.mapper.DB$.newConnection(DB.scala:89) > at net.liftweb.mapper.DB$.getConnection(DB.scala:136) > at net.liftweb.mapper.DB$.use(DB.scala:315) > at net.liftweb.mapper.Schemifier$.schemify(Schemifier.scala:53) > at net.liftweb.mapper.Schemifier$.schemify(Schemifier.scala:36) > at bootstrap.liftweb.Boot.boot(Boot.scala:24) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:597) > at > > net.liftweb.util.ClassHelpers$$anonfun$createInvoker$1.apply(ClassHelpers.scala:408) > at > > net.liftweb.util.ClassHelpers$$anonfun$createInvoker$1.apply(ClassHelpers.scala:406) > at > > net.liftweb.http.DefaultBootstrap$$anonfun$boot$1.apply(LiftRules.scala:1041) > at > > net.liftweb.http.DefaultBootstrap$$anonfun$boot$1.apply(LiftRules.scala:1041) > at net.liftweb.util.Full.map(Box.scala:330) > at net.liftweb.http.DefaultBootstrap$.boot(LiftRules.scala:1041) > at net.liftweb.http.LiftFilter.bootLift(LiftServlet.scala:561) > at net.liftweb.http.LiftFilter.init(LiftServlet.scala:529) > at org.mortbay.jetty.servlet.FilterHolder.doStart(FilterHolder.java:97) > at > org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) > at > > org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:653) > at org.mortbay.jetty.servlet.Context.startContext(Context.java:140) > at > > org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1239) > at > org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517) > at > org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:466) > at > > org.mortbay.jetty.plugin.Jetty6PluginWebAppContext.doStart(Jetty6PluginWebAppContext.java:124) > at > org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) > at > > org.mortbay.jetty.plugin.AbstractJettyRunMojo.restartWebApp(AbstractJettyRunMojo.java:446) > at > > org.mortbay.jetty.plugin.AbstractJettyRunMojo$1.filesChanged(AbstractJettyRunMojo.java:407) > at org.mortbay.util.Scanner.reportBulkChanges(Scanner.java:486) > at org.mortbay.util.Scanner.reportDifferences(Scanner.java:352) > at org.mortbay.util.Scanner.scan(Scanner.java:280) > at org.mortbay.util.Scanner$1.run(Scanner.java:232) > at java.util.TimerThread.mainLoop(Timer.java:512) > at java.util.TimerThread.run(Timer.java:462) > [INFO] Restart completed at Wed Jun 24 08:43:27 CDT 2009 > > > > > -- Lift, the simply functional web framework http://liftweb.net Beginning Scala http://www.apress.com/book/view/1430219890 Follow me: http://twitter.com/dpp Git some: http://github.com/dpp --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Lift" group. To post to this group, send email to liftweb@googlegroups.com To unsubscribe from this group, send email to liftweb+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/liftweb?hl=en -~----------~----~----~----~------~----~------~--~---