I want to deploy jetspeed-2 in to tomcat using "mysql" as database and also my 
computer belong to a local netwok and use proxy this is what i get by maven :
 
D:\Program Files\jakarta-jetspeed-2>maven allBuild
 __  __
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.0
Attempting to download mysql-connector-java-3.0.10-stable-bin.jar.
warning: last-modified not specified
230K downloaded
warning: last-modified not specified
build:start:
allBuild:
check.required.properties:
torque:init:
db.scripts.gen:
    [echo] Generating SQL schema creation scripts for HSQLDB
    [torque-sql] Using classpath
    [torque-sql] Generating to file D:\Program Files\jakarta-jetspeed-2\target\s
rc\sql\hsql\report.portal.sql.generation
    [echo] Generating SQL schema creation scripts for MySQL
    [torque-sql] Using classpath
    [torque-sql] Generating to file D:\Program Files\jakarta-jetspeed-2\target\s
rc\sql\mysql\report.portal.sql.generation
    [echo] Generating SQL schema creation scripts for Oracle
    [torque-sql] Using classpath
    [torque-sql] Generating to file D:\Program Files\jakarta-jetspeed-2\target\s
rc\sql\oracle\report.portal.sql.generation
    [echo] Generating SQL schema creation scripts for MS SQL
    [torque-sql] Using classpath
    [torque-sql] Generating to file D:\Program Files\jakarta-jetspeed-2\target\s
rc\sql\mssql\report.portal.sql.generation
    [echo] Generating SQL schema creation scripts for Postgres
    [torque-sql] Using classpath
    [torque-sql] Generating to file D:\Program Files\jakarta-jetspeed-2\target\s
rc\sql\postgres\report.portal.sql.generation
BUILD FAILED
File...... D:\Program Files\jakarta-jetspeed-2\maven.xml
Element... sql
Line...... 355
Column.... 39
java.sql.SQLException: Connection is broken: Connection refused: connect
Total time: 1 minutes 4 seconds
Finished at: Wed Nov 10 12:38:30 IRST 2004
 
And also this is my "build.properties" file :
 
# jetspeed 2 home required for build
org.apache.jetspeed.project.home = D:\Program Files\jakarta-jetspeed-2
# jetspeed required properties
org.apache.jetspeed.server.home = D:\Program Files\tomcat5.0
org.apache.jetspeed.catalina.version.major = 5
org.apache.jetspeed.server.shared = 
${org.apache.jetspeed.server.home}/shared/lib
org.apache.jetspeed.deploy.war.dir = ${org.apache.jetspeed.server.home}/webapps
org.apache.jetspeed.services.autodeployment.user = j2deployer
org.apache.jetspeed.services.autodeployment.password = j2deployer
# jetspeed db build properties example for Hsqldb
# Override the database connection and driverproperties in your 
${USER_HOME}/build.properties appropriately
# See:
# http://portals.apache.org/jetspeed-2/database.html
#org.apache.jetspeed.test.database.default.name=mysql
org.apache.jetspeed.test.database.url = jdbc:mysql://192.168.0.120:3306/j2test 
# this the url of another computer in the local network that mysql server 
runnig on
org.apache.jetspeed.test.database.driver = com.mysql.jdbc.driver
org.apache.jetspeed.test.database.user =root
org.apache.jetspeed.test.database.password =
org.apache.jetspeed.test.jdbc.drivers.path=D:\Program 
Files\maven-1.0\lib\mysql-connector-java-3.0.10-stable-bin.jar
org.apache.jetspeed.test.database.default.name=mysql
#org.apache.jetspeed.test.database.ojb.platform=Hsqldb
org.apache.jetspeed.production.database.url = jdbc:mysql://192.168.0.120:3306/j2
org.apache.jetspeed.production.database.driver = com.mysql.jdbc.driver
org.apache.jetspeed.production.database.user =root
org.apache.jetspeed.production.database.password =
org.apache.jetspeed.production.jdbc.drivers.path=D:\Program 
Files\maven-1.0\lib\mysql-connector-java-3.0.10-stable-bin.jar
org.apache.jetspeed.production.database.default.name=mysql
#org.apache.jetspeed.production.database.ojb.platform=Hsqldb
maven.proxy.host=192.168.0.1 # my proxy server
maven.proxy.port=4480
 
 
PLEASE HELP
 
regards 
nafise

                        
---------------------------------
Do you Yahoo!?
 Check out the new Yahoo! Front Page. www.yahoo.com

Reply via email to