You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-user@portals.apache.org by David Sean Taylor <da...@bluesunrise.com> on 2004/11/10 19:32:39 UTC
Re: deploy jetspeed-2
nafise hassani wrote:
> 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 :
>
> 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
> 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
I've heard that Maven doesn't like having spaces in the path i.e.
"D:\Program Files" although from the error message above it sounds like
your connection string is bad: Connection refused: connect
org.apache.jetspeed.test.database.url =
jdbc:mysql://192.168.0.120:3306/j2test
or
> org.apache.jetspeed.production.database.url =
jdbc:mysql://192.168.0.120:3306/j2
are you sure that the 3306 port is open?
--
David Sean Taylor
Bluesunrise Software
david@bluesunrise.com
[office] +01 707 773 4646
[mobile] +01 707 529 9194
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org