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 zze-VANDEPUTTE Brice RD-BIZZ-GRE <br...@rd.francetelecom.com> on 2004/07/27 09:46:53 UTC

RE : RE : [jetspeed] [distrib] first use pb

here are all installation steps i follow for jetspeed 1.5 src distrib :

* Add the 2 following lines to $JETSPEED_HOME\project.properties

maven.proxy.host=<MYPROXYHOST>
maven.proxy.port=3128

* download http://jakarta.apache.org/turbine/dtd/database.dtd
* copy this file in "src\torque-schema"
* change the dtd reference for all xml files in "src\torque-schema" directory :
	security-schema.xml
	registry-schema.xml
	email-schema.xml
	email.xml
	dbpsml-schema.xml
	coffees-schema.xml

the new reference is :
	<!DOCTYPE database SYSTEM "src\torque-schema\database.dtd">

* launch at $JETSPEED_HOME 

	maven -Dmaven.test.skip=true war

(skiping test goal because he hang up)

maybe there is another way to configure proxy host & port (in an other config file ?)
because i dont think this is acceptable to download the dtd file to complete the war goal
but this was running for me.. another way, i'm interested by any comment

regards



-----Message d'origine-----
De : Call, Terry M [mailto:terry.m.call@boeing.com] 
Envoyé : lundi 26 juillet 2004 20:41
À : Jetspeed Users List
Objet : RE: RE : [jetspeed] [distrib] first use pb


change the DTD reference in the xml files to "database.dtd" - which XML files are you referring to? All XML files in the src/torque-schema directory? I did this but got the same results.

-----Original Message-----
From: zze-VANDEPUTTE Brice RD-BIZZ-GRE [mailto:brice.vandeputte@rd.francetelecom.com] 
Sent: Friday, July 23, 2004 3:55 AM
To: Jetspeed Users List
Subject: RE : [jetspeed] [distrib] first use pb


I found the solution for compilation error here :

	http://nagoya.apache.org/eyebrowse/ReadMsg?listName=jetspeed-user[AT]jakarta.apache.org&msgNo=13325	(replace [AT])
	(Author : Raphaël Luta)  

It's because when we are behind a proxy, the DTD reference isn't accessible you say
- download manually the DTD file
    http://jakarta.apache.org/turbine/dtd/database.dtd
- put it in src/torque-schema
- change the DTD reference in the xml files to "database.dtd"

it's ok now

thanks

-----Message d'origine-----
De : Raphaël Luta [mailto:raphael@apache.org] 
Envoyé : jeudi 22 juillet 2004 11:15
À : Jetspeed Users List
Objet : Re: [jetspeed] [distrib] first use pb


> 
>    2) For jetspeed 1.5 Source distribution
> 	  After install of maven v1.0 and after update of 
> "%JETSPEED_HOME%/project.properties"
> 	  to add "maven.proxy.host" and "maven.proxy.port" properties
> 	  (because i m behind a firewall)
> 	  i attempt to compile the war :
> 		  the first part of jar download was a success
> 		  but during torque goal i got this message :
> ===
> torque:om-generate:
>     [torque-data-model] Using classpath
>     [torque-data-model] Generating to file
> C:\java\plateforme\jetspeed-1.5\src\java\report.org.apache.commons.gra
> nt
> .GrantProject@df0438.om.generation
> 
> BUILD FAILED
> File...... C:\Documents and 
> Settings\Brice\.maven\cache\maven-torque-plugin-3.2\plugin.jelly
> Element... torque-data-model
> Line...... 228
> Column.... 49
> org.apache.torque.engine.EngineException: Connection timed out:
> connect Total time: 31 seconds ===

Depending on your DB settings, it's possible that maven can't connect to 
your DB server... check the DB config.

--
Raphael Luta - raphael@apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org