[opencms-dev] Problems with starting up the product
Claus Priisholm
cpr at codedroids.com
Tue Nov 4 10:59:01 CET 2003
You need to set the encoding for Tomcat so it matches OpenCms'
expectations (ISO-8859-1 as default) - I usually hack the
$CATALINA_HOME/bin/startup.sh script to set it (by adding this line
just before the script executes the command):
CATALINA_OPTS="$CATALINA_OPTS" -Dfile.encoding=ISO-8859-1"
There are other, less intrusive ways to achieve the same, see the
documentation (installation) or search the mail-archives for
alternatives.
On tirsdag, nov 4, 2003, at 01:34 Europe/Copenhagen, Alex Bunardzic
wrote:
> Hi all,
>
> I'm new to this product (and to this list). I'm
> experiencing problems starting the product. When I go
> to:
>
> http://localhost:8080/opencms/opencms/index.jsp
>
> the system throws an exception:
>
> javax.servlet.ServletException: OpenCms initialization
> error!
>
> Could not connect to the database. Is the database up
> and running?
>
>
> MySQL is up and running at that point. However, when I
> look into the Tomcat console, I see the following
> error:
>
> [Fatal Error] :1:40: Invalidencoding name "Cp1252".
>
> How can I fix this error?
>
> Thanks so much in advance!
>
> Alex
>
>
> __________________________________
> Do you Yahoo!?
> The New Yahoo! Shopping - with improved product search
> http://shopping.yahoo.com
> _______________________________________________
> This mail is send to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please
> visit
> http://mail.opencms.org/mailman/listinfo/opencms-dev
>
>
--
Claus Priisholm
+45 48 22 46 46
cpr at interlet.dk - cpr at codedroids.com
http://www.interlet.dk - http://www.codedroids.com
More information about the opencms-dev
mailing list