RE: Jetspeed 1.5 tutorial build failure for goal torque:sql-gener ate

2004-05-05 Thread Nicolas MAYEUR
Indeed, the failing build was run behind a firewall  proxy.
Proxy config seems OK in my build.properties, since maven has
successfully downloaded many jars before failing.
I tried doing it at home with no proxy and another ISP
on a linux box : it builds OK.

Nicolas

-Message d'origine-
De : Jetspeed [mailto:[EMAIL PROTECTED]
Envoyé : mercredi 5 mai 2004 00:26
À : Jetspeed Users List
Objet : Re: Jetspeed 1.5 tutorial build failure for goal
torque:sql-generate


I see that Nicolas Mayeur has now posted the thread Jetspeed 1.5 build 
problem
that looks pretty much like the one I've described here.

Interestingly, this same configuration works just fine on my laptop when 
running
on my home network, the only difference being the ISP and turning off 
proxying..
No problems with downloads or connections timing out.  Seems like it must
have something to do with connection speeds or firewall configurations, but
I don't have enough information from the log files to know what to pursue.
Any suggestions?

Cheers,
Dan

[EMAIL PROTECTED] wrote:

I'm a newbie to Jetspeed.  I'm trying to become familiar with the new
version of Jetspeed using the tutorial approach suggested by the
documentation. I've installed Maven and Jetspeed-1.5 on my Windows XP box,
which is behind a corporate firewall.  I have successfully configured my
proxy and local repositories and built the jetspeed sources, but am having
fairly consistent Connection timed out: connect failures with the tutorial
deploy goal, either during the torque:sql-generate or torque:om-generate
goals.  The tutorial sources themselves build without a hitch and all the
repository dependencies download just fine, but I regularly get the failure
shown below, and there's no indication of what connection is failing.
Searches through Google and the jetspeed-user archives have yielded no
indication of a solution.  Has anyone seen this type of problem, and
hopefully figured out a solution?

Any help is greatly appreciated.

Cheers,
Dan

--
(excerpt of build output)

torque:sql-generate:
[torque-sql] Using classpath
[torque-sql] Generating to file
C:\Apache\jetspeed-1.5\tutorial\target\class
[EMAIL PROTECTED]

BUILD FAILED
File.. file:/c:/temp/maven/plugins/maven-torque-plugin-3.2/plugin.jelly
Element... torque-sql
Line.. 145
Column 49
org.apache.torque.engine.EngineException: Connection timed out: connect
Total time: 35 seconds
Finished at: Fri Apr 30 13:20:41 MDT 2004


The full log follows:

  

maven -Dtutorial=1 deploy
  

 __  __
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.0-rc2

build:start:

deploy:
jetspeed:war:
[delete] Deleting directory C:\Apache\jetspeed-1.5\tutorial\stage
[mkdir] Created dir: C:\Apache\jetspeed-1.5\tutorial\stage
[unzip] Expanding:
C:\temp\maven\repository\jetspeed\distributions\jetspeed-1.5.zip into
C:\Apache\jetspeed-1.5\tutorial\stage\webapp
[unzip] Expanding:
C:\Apache\jetspeed-1.5\tutorial\stage\webapp\jetspeed-1.5\jetspeed.war into
C:\Apache\jetspeed-1.5\tutorial\stage\webapp
[delete] Deleting directory
C:\Apache\jetspeed-1.\tutorial\stage\webapp\jet
speed-1.5
[copy] Copying 4 files to C:\Apache\jetspeed-1.5\tutorial\stage\webapp
java:prepare-filesystem:

java:compile:
torque:init:

torque:om-check:

torque:om:
[echo] Schema files have not changed since last generation.

torque:init:
Overriding previous definition of reference to torque-classpath

torque:sql-check:

torque:sql:
torque:init:
Overriding previous definition of reference to torque-classpath

torque:sql-generate:
[torque-sql] Using classpath
[torque-sql] Generating to file
C:\Apache\jetspeed-1.5\tutorial\target\classes\sql\report.org.apache.commons
[EMAIL PROTECTED]

BUILD FAILED
File.. file:/c:/temp/maven/plugins/maven-torque-plugin-3.2/plugin.jelly
Element... torque-sql
Line.. 145
Column 49
org.apache.torque.engine.EngineException: Connection timed out: connect
Total time: 35 seconds
Finished at: Fri Apr 30 13:20:41 MDT 2004

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


  

 *** Ce message et toutes les pièces jointes (ci-après le message) sont
établis à l'intention exclusive de ses destinataires et sont confidentiels.
Si vous recevez ce message par erreur, merci de le détruire et d'en avertir
immédiatement l'expéditeur. Toute utilisation de ce message non conforme à
sa destination, toute diffusion ou toute publication, totale ou partielle,
est interdite, sauf autorisation expresse. L'internet ne permettant pas
d'assurer l'intégrité de ce message, le groupe Itras décline toute
responsabilité au titre de ce message, dans l'hypothèse où il aurait été
modifié. ***

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, 

Re: Jetspeed 1.5 tutorial build failure for goal torque:sql-gener ate

2004-05-05 Thread Raphaël Luta
Given the issues you describe, I'd say it's related to the
DTD validation of the torque schema files.
To avoid the issue, you can try the following:
- 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 should work. If it doesn't want to use relative dtds, put the
dtd on a local webserver (eg Tomcat) and modify the URL accordingly.
--
Raphaël Luta - [EMAIL PROTECTED]
Apache Jetspeed - Enterprise Portal in Java
http://jakarta.apache.org/jetspeed/
Nicolas MAYEUR wrote:

Indeed, the failing build was run behind a firewall  proxy.
Proxy config seems OK in my build.properties, since maven has
successfully downloaded many jars before failing.
I tried doing it at home with no proxy and another ISP
on a linux box : it builds OK.
Nicolas

-Message d'origine-
De : Jetspeed [mailto:[EMAIL PROTECTED]
Envoyé : mercredi 5 mai 2004 00:26
À : Jetspeed Users List
Objet : Re: Jetspeed 1.5 tutorial build failure for goal
torque:sql-generate
I see that Nicolas Mayeur has now posted the thread Jetspeed 1.5 build 
problem
that looks pretty much like the one I've described here.

Interestingly, this same configuration works just fine on my laptop when 
running
on my home network, the only difference being the ISP and turning off 
proxying..
No problems with downloads or connections timing out.  Seems like it must
have something to do with connection speeds or firewall configurations, but
I don't have enough information from the log files to know what to pursue.
Any suggestions?

Cheers,
Dan
[EMAIL PROTECTED] wrote:


I'm a newbie to Jetspeed.  I'm trying to become familiar with the new
version of Jetspeed using the tutorial approach suggested by the
documentation. I've installed Maven and Jetspeed-1.5 on my Windows XP box,
which is behind a corporate firewall.  I have successfully configured my
proxy and local repositories and built the jetspeed sources, but am having
fairly consistent Connection timed out: connect failures with the tutorial
deploy goal, either during the torque:sql-generate or torque:om-generate
goals.  The tutorial sources themselves build without a hitch and all the
repository dependencies download just fine, but I regularly get the failure
shown below, and there's no indication of what connection is failing.
Searches through Google and the jetspeed-user archives have yielded no
indication of a solution.  Has anyone seen this type of problem, and
hopefully figured out a solution?
Any help is greatly appreciated.

Cheers,
  Dan
--
(excerpt of build output)
torque:sql-generate:
  [torque-sql] Using classpath
  [torque-sql] Generating to file
C:\Apache\jetspeed-1.5\tutorial\target\class

[EMAIL PROTECTED]

BUILD FAILED
File.. file:/c:/temp/maven/plugins/maven-torque-plugin-3.2/plugin.jelly
Element... torque-sql
Line.. 145
Column 49
org.apache.torque.engine.EngineException: Connection timed out: connect
Total time: 35 seconds
Finished at: Fri Apr 30 13:20:41 MDT 2004
The full log follows:




maven -Dtutorial=1 deploy


__  __
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.0-rc2
build:start:

deploy:
jetspeed:war:
  [delete] Deleting directory C:\Apache\jetspeed-1.5\tutorial\stage
  [mkdir] Created dir: C:\Apache\jetspeed-1.5\tutorial\stage
  [unzip] Expanding:
C:\temp\maven\repository\jetspeed\distributions\jetspeed-1.5.zip into
C:\Apache\jetspeed-1.5\tutorial\stage\webapp
  [unzip] Expanding:
C:\Apache\jetspeed-1.5\tutorial\stage\webapp\jetspeed-1.5\jetspeed.war into
C:\Apache\jetspeed-1.5\tutorial\stage\webapp
  [delete] Deleting directory
C:\Apache\jetspeed-1.\tutorial\stage\webapp\jet

speed-1.5
  [copy] Copying 4 files to C:\Apache\jetspeed-1.5\tutorial\stage\webapp
java:prepare-filesystem:
java:compile:
torque:init:
torque:om-check:

torque:om:
  [echo] Schema files have not changed since last generation.
torque:init:
Overriding previous definition of reference to torque-classpath
torque:sql-check:

torque:sql:
torque:init:
Overriding previous definition of reference to torque-classpath
torque:sql-generate:
  [torque-sql] Using classpath
  [torque-sql] Generating to file
C:\Apache\jetspeed-1.5\tutorial\target\classes\sql\report.org.apache.commons
[EMAIL PROTECTED]
BUILD FAILED
File.. file:/c:/temp/maven/plugins/maven-torque-plugin-3.2/plugin.jelly
Element... torque-sql
Line.. 145
Column 49
org.apache.torque.engine.EngineException: Connection timed out: connect
Total time: 35 seconds
Finished at: Fri Apr 30 13:20:41 MDT 2004
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



 *** Ce message et toutes les pièces jointes (ci-après le message) sont
établis à l'intention exclusive de ses destinataires et sont confidentiels.
Si vous recevez ce message par