List Info

Thread: HTTP Status 404 - Unable to load blog ID: default (fixed)




HTTP Status 404 - Unable to load blog ID: default (fixed)
user name
2006-06-17 01:05:10
Hi: I'm using MySQL 5:
    mysql-5.0.22-win32.zip

I'm getting an exception in the log:

Jun 12 16:32:37 DEBUG [http-80-Processor25]
filter.FeedFilter - Handling
feed filter request: /default/
Jun 12 16:32:37 DEBUG [http-80-Processor25]
filter.PageFilter - Handling
page filter request: /default/
Jun 12 16:32:37 DEBUG [http-80-Processor25]
filter.SkipEntriesFilter -
Handling skip entries request: /default/
Jun 12 16:32:37 DEBUG [http-80-Processor25]
filter.PermalinkFilter -
Handling permalink request: /default
Cannot load JDBC driver class 'com.mysql.jdbc.Driver'
java.lang.ClassNotFoundException: com.mysql.jdbc.Driver
	at
org.apache.catalina.loader.WebappClassLoader.loadClass(Webap
pClassLoader.java:1352)
	at
org.apache.catalina.loader.WebappClassLoader.loadClass(Webap
pClassLoader.java:1198)

It looks like I didn't set up the jdbc driver properly.

Ah, I see the problem.  I was sloppy when I unzipped the
jdbc driver. 
It ended up here:
C:\Program Files\Apache Software Foundation\Tomcat
5.5\common\lib\mysql-connector-java-3.1.13-bin\mysql-con
nector-java-3.1.13-bin.jar
!
All I had to do was put it here:
C:\Program Files\Apache Software Foundation\Tomcat
5.5\common\lib\mysql-connector-java-3.1.13-bin.jar

Thanks.

--Kai Middleton


Date: Mon, 12 Jun 2006 18:37:22 -0700
From: "Kai Middleton" <kaimiddletonfastmail.fm>
Subject: [Blojsom-users] HTTP Status 404 - Unable to load
blog ID:
	default
To: blojsom-userslists.sourceforge.net
Message-ID: <1150162642.15151.263662212webmail.messagingengine.com>
Content-Type: text/plain; charset="ISO-8859-1"

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 someuserlocalhost
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&amp;useUnicode=true&amp;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.




------------------------------

Message: 3
Date: Mon, 12 Jun 2006 21:44:22 -0400
From: David Czarnecki <davidblojsom.com>
Subject: Re: [Blojsom-users] HTTP Status 404 - Unable to
load blog ID:
	default
To: blojsom-users <blojsom-userslists.sourceforge.net>
Message-ID: <C0B390B6.5BCA%davidblojsom.com>
Content-Type: text/plain;      
charset="US-ASCII"

D'you see some stuff that looked like the following in the
log file when
blojsom starts?

Mar 25 12:17:00 INFO [main] database.DatabaseLoader - About
to create
blojsom database
Mar 25 12:17:00 INFO [main] database.DatabaseLoader - Read
in sql script
Mar 25 12:17:01 INFO [main] database.DatabaseLoader -
Finished blojsom
database creation
Mar 25 12:17:01 DEBUG [main] servlet.BlojsomServlet -
blojsom: All Your
Blog
Are Belong To Us

Or do you see any errors? Also, what version of MySQL are
you using?


_______________________________________________
Blojsom-users mailing list
Blojsom-userslists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/blojsom-u
sers
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )