I'm trying to install 3.0 M2 on my windows XP box and I
can't access the
blog in my browser:
HTTP Status 404 - Unable to load blog ID: default
I followed the setup steps here:
http://wiki.blojsom.com/wiki/display/blojsom3/Tomcat+S
etup
For example I followed these steps (with my own user):
MySQL setup for blojsom (from the install instructions):
% mysql -u root -p
password: *****
mysql> create database blojsom;
mysql> grant all on blojsom.* to someuser '%'
identified by 'somepassword';
mysql> grant all on blojsom.* to someuser localhost
identified by 'somepassword';
mysql> use blojsom;
mysql> flush privileges;
mysql> quit
As well as these:
* Edit
%TOMCAT_HOME%/webapps/blojsom/WEB-INF/classes/blojsom-help
er-beans-include.xml
and change only the values for the username and password
for your database to the username and password you created
earlier.
<bean id="dataSource"
class="org.apache.commons.dbcp.BasicDataSource"
destroy-method="close">
<property name="driverClassName"
value="com.mysql.jdbc.Driver"/>
<property name="url"
value="jdbc:mysql://localhost/blojsom?autoReconnect=tr
ue&useUnicode=true&characterEncoding=utf-8&
quot;/>
<property name="username"
value="someuser"/>
<property name="password"
value="somepassword"/>
</bean>
I didn't, however do anything with this:
Edit
%TOMCAT_HOME%/webapps/blojsom/WEB-INF/classes/blojsom.xml.
You may need to change the value for the dbScript or
detectBlojsomSQL
property for your particular database.
This will be noted in the database installation
instructions.
It didn't seem it necessary to change these.
_______________________________________________
Blojsom-users mailing list
Blojsom-users lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/blojsom-u
sers
|