Getting hibername / database setup
Aaron Held <[email protected]> Wed, 11 Jun 2003 11:48:07 -0400
| Newsgroups | gmane.comp.java.javalobby.communityplatform |
|---|---|
| Message-ID | <[email protected]> |
I'm trying to run the CVS version and having trouble
Running the createdb task yields a stack trace ending in:
Error creating schema Could not find datasource: Can't find
SerialContextProvider
[java] net.sf.hibernate.HibernateException: Could not find
datasource: Can't find SerialContextProvider
[java] at
net.sf.hibernate.tool.hbm2ddl.SchemaExport.execute(SchemaExport.java:155)
[java] at
net.sf.hibernate.tool.hbm2ddl.SchemaExport.main(SchemaExport.java:284)
And plowing ahead by running the ant-built war gives me this:
java.lang.NullPointerException
at org.jlcp.infrastructure.persistence.hibernate.web.HibernateSessionFilter.doFilter(HibernateSessionFilter.java:65)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
I assume there is some file somewhere that I have to setup to tell it about the database I would like to use.
I would like to use the simplest database for now, mckoi is fine, but I do not see the jar in the
webapps/WebINF dir. I also have mySQL running if needed.
Thanks,
-Aaron Held