下载网址:http://forge.ow2.org/project/showfiles.php?group_id=204。
下载SpagoBI-src-4.0.0_05072013.zip源码,All-In-One-SpagoBI-4.0-09072013.zip源码和mysql-dbscript-4.0.0_12072013.zip。
配置文件参考网址:http://wiki.spagobi.org/xwiki/bin/view/spagobi_server/Installation_v3
此处稍有不同,在tomcat配置文件中server.xml中
<GlobalNamingResources>
type="org.apache.catalina.UserDatabase"
description="User database that can be updated and saved"
factory="org.apache.catalina.users.MemoryUserDatabaseFactory"
pathname="conf/tomcat-users.xml" />
<Resource auth="Container" driverClassName="com.mysql.jdbc.Driver" maxActive="20" maxIdle="10" maxWait="-1"
name="jdbc/spagobi" password="root" type="javax.sql.DataSource" url="jdbc:mysql://localhost/spagobi" username="root"/>
<Resource auth="Container" driverClassName="com.mysql.jdbc.Driver" maxActive="20" maxIdle="10" maxWait="-1"
name="jdbc/foodmart" password="root" type="javax.sql.DataSource" url="jdbc:mysql://localhost/foodmart" username="root"/>
<Environment name="spagobi_resource_path" type="java.lang.String" value="D:\spagobi4.0\resources"/>
<Environment name="spagobi_sso_class" type="java.lang.String" value="it.eng.spagobi.services.common.FakeSsoService"/>
<Environment name="spagobi-service-url" type="java.lang.String" value="http://localhost:8080/SpagoBI"/>
<Environment name="spagobi_host_url" type="java.lang.String" value="http://localhost:8080"/>
<ResourceLink global="jdbc/spagobi" name="jdbc/spagobi" type="javax.sql.DataSource"/>
<ResourceLink global="jdbc/foodmart" name="jdbc/foodmart" type="javax.sql.DataSource"/>
<ResourceLink global="spagobi_resource_path" name="spagobi_resource_path" type="java.lang.String"/>
<ResourceLink global="spagobi_sso_class" name="spagobi_sso_class" type="java.lang.String"/>
<ResourceLink global="spagobi_host_url" name="spagobi_host_url" type="java.lang.String"/>
</Context>
将All-In-One-SpagoBI-4.0-09072013lib目录下commonj-twm.jar;concurrent.jar;mysql-connector-java-5.0.8-bin.jar;foo-commonj.jar拷贝到自己的tomcat下
启动tomcat,访问路径http://localhost:8080/SpagoBI,用户名biadmin,密码biadmin访问系统