--%> --%>
// next page
String nextPage = "../../step_4a_database_validation.jsp";
// previous page
String prevPage = "../../step_2_check_components.jsp";
boolean isFormSubmitted = Bean.setDbParamaters(request, CmsSetupBean.ORACLE_PROVIDER);
%>
Alkacon OpenCms Setup Wizard
function checkSubmit() {
if(document.forms[0].dbCreateConStr.value == "") {
alert("Please insert the Connection String");
document.forms[0].dbCreateConStr.focus();
return false;
}
else if (document.forms[0].dbWorkUser.value == "") {
alert("Please insert a User name");
document.forms[0].dbWorkUser.focus();
return false;
}
else if (document.forms[0].dbWorkPwd.value == "") {
alert("Please insert a password");
document.forms[0].dbWorkPwd.focus();
return false;
}
else if (document.forms[0].createDb.value != "" && document.forms[0].dbDefaultTablespace.value == "") {
alert("Please insert the name of the Default tablespace");
document.forms[0].dbWorkPwd.focus();
return false;
}
else if (document.forms[0].createDb.value != "" && document.forms[0].dbIndexTablespace.value == "") {
alert("Please insert the name of the Index tablespace");
document.forms[0].dbWorkPwd.focus();
return false;
}
else if (document.forms[0].createDb.value != "" && document.forms[0].dbTemporaryTablespace.value == "") {
alert("Please insert the name of the Temporary tablespace");
document.forms[0].dbWorkPwd.focus();
return false;
}
else {
return true;
}
}
if(isFormSubmitted) {
out.println("location.href='"+nextPage+"';");
}
%>
//-->
Alkacon OpenCms Setup Wizard - database setup
Select Database
/* get all available databases */
List databases = Bean.getSortedDatabases();
/* List all databases found in the dbsetup.properties */
if (databases !=null && databases.size() > 0) {
for(int i=0;i String db = (String) databases.get(i);
String dn = Bean.getDatabaseName(db);
String selected = "";
if(Bean.getDatabase().equals(db)) {
selected = "selected";
}
out.println(""+dn);
}
}
else {
out.println("no database found");
}
%>
User
Password
Setup Connection
String user = Bean.getDbWorkUser();
%>
OpenCms Connection
Connection String
Default
Index
Temporary
Tablespace
Create Database
User
Tables
The Setup Connection is used only during this setup process.
The specified user must have database administration permissions in order to create the database and tables.
This user information is not stored after the setup is finished.
The OpenCms Connection is used when running Alkacon OpenCms after the installation.
For security reasons, the specified user should not have database administration permissions.
This user information is stored in the opencms.properties file after the setup.
Enter the JDBC Connection String to your database.
The Default tablespace holds all data needed for Alkacon OpenCms.
The Index tablespace can be the same as the default tablespace,
but this may result in slower database performance.
The Temporary tablespace is needed from Oracle for temporary data.
The setup wizard creates the Oracle user tablespace and the tables for Alkacon OpenCms.
Attention: Existing tablespaces will be overwritten!
Uncheck this option if an already existing tablespace should be used.
Alkacon OpenCms Setup Wizard - Database setup