[opencms-dev] Tables could not be created using ANSI SQL-92 (generic)
Michael Moossen
m.moossen at alkacon.com
Mon Sep 5 09:37:36 CEST 2005
Hi, Clovis!
> I see the logs of tomcat too and the relevant is:
>
> 2005-09-03 08:53:08 StandardWrapperValve[OpenCmsServlet]: Servlet.service()
> for servlet OpenCmsServlet threw exception
> org.opencms.main.CmsInitException: Critical error during OpenCms
> initialization: Unable to initialize the user driver.
> at org.opencms.main.OpenCmsCore.getInstance(OpenCmsCore.java:268)
> at org.opencms.main.OpenCmsServlet.doGet(OpenCmsServlet.java:117)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
> ...
>
> Any idea, about this error?
this is not the relevant stack trace, there should be another cause exception
later in the log file.
> note: the tables in database are created sucessfully by setup wizard. then
> Database Driver and configurations are ok
ok, but this is not enough, OpenCms should be able to access the tables in the
right way, for this you will have to extend the OpenCms data access drivers,
this means to implement a org.opencms.db.maxdb package.
(for more info, see one of the already implemented drivers)
most probably this will imply just a few methods, for instance for BLOB
handling.
--
Regards
Michael Moossen
Alkacon Software GmbH - The OpenCms Experts
http://www.alkacon.com
Quoting Clovis Wichoski <clovis.wichoski at gmail.com>:
> On 8/30/05, Michael Moossen <m.moossen at alkacon.com> wrote:
> >
> > Hi, Clovis!
> >
> > > After i change the scripts, how to post the new DB_PROVIDER to OpenCMS,
> > that
> > > others can use this in future versions?
> > please check this link:
> > http://www.opencms.org/opencms/en/development/contribute.html
> >
> > --
> > Regards
> > Michael Moossen
> >
> > Alkacon Software - The OpenCms Experts
> >
>
> I Changed the scripts to be compatible with SapDB and maxDB but I'm getting
> follow messages in OpenCms Setup Wizard - Import modules:
>
> 17: at org.opencms.setup.CmsSetupWorkplaceImportThread.run(
> CmsSetupWorkplaceImportThread.java:190)
> 16: at org.opencms.setup.CmsSetupWorkplaceImportThread.kill(
> CmsSetupWorkplaceImportThread.java:114)
> 15: at org.opencms.main.CmsShell.exit(CmsShell.java:611)
> 14: java.lang.NullPointerException
> 13: at org.opencms.setup.CmsSetupWorkplaceImportThread.run(
> CmsSetupWorkplaceImportThread.java:190)
> 12: at org.opencms.setup.CmsSetupWorkplaceImportThread.kill(
> CmsSetupWorkplaceImportThread.java:114)
> 11: at org.opencms.main.CmsShell.exit(CmsShell.java:605)
> 10: java.lang.NullPointerException
> 9: at org.opencms.setup.CmsSetupWorkplaceImportThread.run(
> CmsSetupWorkplaceImportThread.java:179)
> 8: at org.opencms.main.CmsShell.start(CmsShell.java:663)
> 7: at org.opencms.main.CmsShell.executeCommands(CmsShell.java:801)
> 6: at org.opencms.main.CmsShell.printPrompt(CmsShell.java:647)
> 5: java.lang.NullPointerException
> 4: at org.opencms.setup.CmsSetupWorkplaceImportThread.run(
> CmsSetupWorkplaceImportThread.java:150)
> 3: at org.opencms.main.CmsShell.<init>(CmsShell.java:462)
> 2: at org.opencms.main.OpenCmsCore.getInstance(OpenCmsCore.java:268)
> 1: org.opencms.main.CmsInitException: Critical error while loading driver
> manager.
>
> I see the logs of tomcat too and the relevant is:
>
> 2005-09-03 08:53:08 StandardWrapperValve[OpenCmsServlet]: Servlet.service()
> for servlet OpenCmsServlet threw exception
> org.opencms.main.CmsInitException: Critical error during OpenCms
> initialization: Unable to initialize the user driver.
> at org.opencms.main.OpenCmsCore.getInstance(OpenCmsCore.java:268)
> at org.opencms.main.OpenCmsServlet.doGet(OpenCmsServlet.java:117)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
> ...
>
> Any idea, about this error?
>
> note: the tables in database are created sucessfully by setup wizard. then
> Database Driver and configurations are ok
>
> Thanks for any idea
>
> Clovis
>
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
More information about the opencms-dev
mailing list