<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/3.2.3">
</HEAD>
<BODY>
On Thu, 2004-10-21 at 11:13 +0200, Alexander Kandzior wrote:
<BLOCKQUOTE TYPE=CITE>
<PRE>
<FONT COLOR="#000000">1) The OpenCms shell runs outside the servlet container. I don't want to</FONT>
<FONT COLOR="#000000">loose this functionality. How do we run the shell if the DB configuration is</FONT>
<FONT COLOR="#000000">only available in the servlet container?</FONT>
</PRE>
</BLOCKQUOTE>
<BR>
For this configuration we should use the current method.<BR>
<BR>
<BLOCKQUOTE TYPE=CITE>
<PRE>
<FONT COLOR="#000000">2) The setup wizard. Currently the DB configuration is written by the setup</FONT>
<FONT COLOR="#000000">wizard. AFAIK there's no standard way to write a datasource configuration</FONT>
<FONT COLOR="#000000">during servlet container runtime. I don't want to have the configuration</FONT>
<FONT COLOR="#000000">done manually by default, since apparently even in the current state the</FONT>
<FONT COLOR="#000000">setup is an issue for many people. How do we do the setup wizard with</FONT>
<FONT COLOR="#000000">datasources?</FONT>
</PRE>
</BLOCKQUOTE>
<BR>
Well, if people know how to fill the database form they should certainly know how to configure a datasource on their app server, especially considering that nowadays all appservers include a nice web-based tool for doing it (including Tomcat).<BR>
<BR>
<BLOCKQUOTE TYPE=CITE>
<PRE>
<FONT COLOR="#000000">A way to go (for 6.0) could be to have an alternative pool implementation</FONT>
<FONT COLOR="#000000">that relys on datasources. This could be configured manually after (or</FONT>
<FONT COLOR="#000000">before?) the setup wizard runs. The pool itself can already be configured in</FONT>
<FONT COLOR="#000000">6.0, maybe we would require some slight changes.</FONT>
</PRE>
</BLOCKQUOTE>
<BR>
Yes. This is the best solution. The setup wizard could ask for the JNDI name of the DataSource.<BR>
<BR>
Tristan
</BODY>
</HTML>