TR : Problem during jetspeed2 compil

2004-03-31 Thread zze-MORON François FTRD/DMI/REN

 C:\Apps\jetspeed2\portalmaven war
 
(...)

test:compile:

test:test:
[junit] Running org.apache.jetspeed.cache.file.TestFileCache
[junit] Tests run: 2, Failures: 1, Errors: 0, Time elapsed: 3,36 sec
[junit] [ERROR] TEST org.apache.jetspeed.cache.file.TestFileCache FAILED

 ( ... )
 
 BUILD FAILED
 File.. file:/C:/Documents and 
 Settings/fyom7305/.maven/plugins/maven-test-plugin-1.5/plugin.jelly
 Element... fail
 Line.. 148
 Column 54
 There were test failures.
 Total time: 1 minutes 12 seconds
 Finished at: Wed Mar 31 11:34:33 CEST 2004
 
 What's wrong ?
 
 François


Re: TR : Problem during jetspeed2 compil

2004-03-31 Thread Serge Huber
If you're using Maven RC 2, try the following :

1. Uninstall Maven
2. Download the ZIP install of Maven RC 2
3. Completely empty the ${user.home}/.maven/plugins directory
4. Uncompress the Maven ZIP, NOT over a previous install of Maven
5. Set the environment MAVEN_HOME to point to your Maven install dir
6. Set the PATH to include MAVEN_HOME/bin directory (or MAVEN_HOME\bin if 
you're using Windows)

Normally that should do the trick.

Regards,
  Serge Huber.
At 12:00 31.03.2004, you wrote:

 C:\Apps\jetspeed2\portalmaven war

(...)
test:compile:

test:test:
[junit] Running org.apache.jetspeed.cache.file.TestFileCache
[junit] Tests run: 2, Failures: 1, Errors: 0, Time elapsed: 3,36 sec
[junit] [ERROR] TEST org.apache.jetspeed.cache.file.TestFileCache FAILED
 ( ... )

 BUILD FAILED
 File.. file:/C:/Documents and 
Settings/fyom7305/.maven/plugins/maven-test-plugin-1.5/plugin.jelly
 Element... fail
 Line.. 148
 Column 54
 There were test failures.
 Total time: 1 minutes 12 seconds
 Finished at: Wed Mar 31 11:34:33 CEST 2004

 What's wrong ?

 François
- -- --- -=[ shuber2 at jahia dot com ]= --- -- -
www.jahia.org : A collaborative source CMS and Portal Server 



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


RE : TR : Problem during jetspeed2 compil

2004-03-31 Thread zze-MORON François FTRD/DMI/REN
It's ok. I downloaded a fresh version of jetspeed2 on CVS and reinstalled maven.
The build  deploy is ok but now I've got a blank page on 
http://localhost:8080/jetspeed !!!

François 

-Message d'origine-
De : Serge Huber [mailto:[EMAIL PROTECTED] 
Envoyé : mercredi 31 mars 2004 16:01
À : Jetspeed Users List
Objet : Re: TR : Problem during jetspeed2 compil


If you're using Maven RC 2, try the following :

1. Uninstall Maven
2. Download the ZIP install of Maven RC 2
3. Completely empty the ${user.home}/.maven/plugins directory 4. Uncompress the Maven 
ZIP, NOT over a previous install of Maven 5. Set the environment MAVEN_HOME to point 
to your Maven install dir 6. Set the PATH to include MAVEN_HOME/bin directory (or 
MAVEN_HOME\bin if 
you're using Windows)

Normally that should do the trick.

Regards,
   Serge Huber.

At 12:00 31.03.2004, you wrote:

  C:\Apps\jetspeed2\portalmaven war
 
(...)

test:compile:

test:test:
 [junit] Running org.apache.jetspeed.cache.file.TestFileCache
 [junit] Tests run: 2, Failures: 1, Errors: 0, Time elapsed: 3,36 sec
 [junit] [ERROR] TEST org.apache.jetspeed.cache.file.TestFileCache 
FAILED

  ( ... )
 
  BUILD FAILED
  File.. file:/C:/Documents and
 Settings/fyom7305/.maven/plugins/maven-test-plugin-1.5/plugin.jelly
  Element... fail
  Line.. 148
  Column 54
  There were test failures.
  Total time: 1 minutes 12 seconds
  Finished at: Wed Mar 31 11:34:33 CEST 2004
 
  What's wrong ?
 
  François


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



RE : TR : Problem during jetspeed2 compil

2004-03-31 Thread zze-MORON François FTRD/DMI/REN
It's ok. I downloaded a fresh version of jetspeed2 on CVS and reinstalled maven. The 
build  deploy is ok but now I've got a blank page on http://localhost:8080/jetspeed 
!!!

François

-Message d'origine-
De : Serge Huber [mailto:[EMAIL PROTECTED] 
Envoyé : mercredi 31 mars 2004 16:01
À : Jetspeed Users List
Objet : Re: TR : Problem during jetspeed2 compil



If you're using Maven RC 2, try the following :

1. Uninstall Maven
2. Download the ZIP install of Maven RC 2
3. Completely empty the ${user.home}/.maven/plugins directory 4. Uncompress the Maven 
ZIP, NOT over a previous install of Maven 5. Set the environment MAVEN_HOME to point 
to your Maven install dir 6. Set the PATH to include MAVEN_HOME/bin directory (or 
MAVEN_HOME\bin if 
you're using Windows)

Normally that should do the trick.

Regards,
   Serge Huber.

At 12:00 31.03.2004, you wrote:

  C:\Apps\jetspeed2\portalmaven war
 
(...)

test:compile:

test:test:
 [junit] Running org.apache.jetspeed.cache.file.TestFileCache
 [junit] Tests run: 2, Failures: 1, Errors: 0, Time elapsed: 3,36 sec
 [junit] [ERROR] TEST org.apache.jetspeed.cache.file.TestFileCache 
FAILED

  ( ... )
 
  BUILD FAILED
  File.. file:/C:/Documents and
 Settings/fyom7305/.maven/plugins/maven-test-plugin-1.5/plugin.jelly
  Element... fail
  Line.. 148
  Column 54
  There were test failures.
  Total time: 1 minutes 12 seconds
  Finished at: Wed Mar 31 11:34:33 CEST 2004
 
  What's wrong ?
 
  François

- -- --- -=[ shuber2 at jahia dot com ]= --- -- - www.jahia.org : A 
collaborative source CMS and Portal Server 



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


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



RE : RE : TR : Problem during jetspeed2 compil

2004-03-31 Thread zze-MORON Franois FTRD/DMI/REN
 the portlet.xml in the registry...
[java]  INFO: Committing registry changes...
[java]  INFO: FileSystem deployment done.
[java] Done
Tag library requested that is not present: 'reactor' in plugin: 'null'

pam.padeploy:
[java] log4j:WARN No appenders could be found for logger (org.apache.jetspee
d.Jetspeed).
[java] log4j:WARN Please initialize the log4j system properly.
[java] cn=org.nanocontainer.script.groovy.GroovyContainerBuilder
[java] cn=org.nanocontainer.script.groovy.GroovyContainerBuilder
[java] cn=org.nanocontainer.script.groovy.GroovyContainerBuilder
[java] cn=org.nanocontainer.script.groovy.GroovyContainerBuilder
[java] cn=org.nanocontainer.script.groovy.GroovyContainerBuilder
[java] PLUTO = [EMAIL PROTECTED]
[java] PLUTO = [EMAIL PROTECTED]
[java] cn=org.nanocontainer.script.groovy.GroovyContainerBuilder
[java] cn=org.nanocontainer.script.groovy.GroovyContainerBuilder
[java] cn=org.nanocontainer.script.groovy.GroovyContainerBuilder
[java] cn=org.nanocontainer.script.groovy.GroovyContainerBuilder
[java] PLUTO = [EMAIL PROTECTED]
[java] PLUTO = [EMAIL PROTECTED]
[java] cn=org.nanocontainer.script.groovy.GroovyContainerBuilder
[java] cn=org.nanocontainer.script.groovy.GroovyContainerBuilder
[java] cn=org.nanocontainer.script.groovy.GroovyContainerBuilder
[java] cn=org.nanocontainer.script.groovy.GroovyContainerBuilder
[java] PLUTO = [EMAIL PROTECTED]
[java] PLUTO = [EMAIL PROTECTED]
[java] Calling FileSystemPAM...
[java]  INFO: deploying WAR file'pam.war' to WEB-INF/...
[java] ERROR: Unexpected exception deploying portlet application: java.io.IO
Exception: The portlet application archive target, C:/Apps/tomcat/webapps//PAM,
already exists.  Please remove it before attempting to deploy. attempting rollba
ck...
[java] java.io.IOException: The portlet application archive target, C:/Apps/
tomcat/webapps//PAM, already exists.  Please remove it before attempting to depl
oy.
[java]  at org.apache.jetspeed.tools.pamanager.DeployUtilities.deployArc
hive(DeployUtilities.java:81)
[java]  at org.apache.jetspeed.tools.pamanager.FileSystemPAM.sysDeploy(F
ileSystemPAM.java:301)
[java]  at org.apache.jetspeed.tools.pamanager.FileSystemPAM.deploy(File
SystemPAM.java:70)
[java]  at org.apache.jetspeed.tools.pamanager.PortletApplicationManager
.deploy(PortletApplicationManager.java:385)
[java]  at org.apache.jetspeed.tools.pamanager.PortletApplicationManager
.main(PortletApplicationManager.java:227)
[java]  INFO: Exception in deploy. Rollback of application deployment...
[java] java.io.IOException: The portlet application archive target, C:/Apps/
tomcat/webapps//PAM, already exists.  Please remove it before attempting to depl
oy.
[java] Done
Tag library requested that is not present: 'reactor' in plugin: 'null'
Tag library requested that is not present: 'reactor' in plugin: 'null'

db.entities:
db.execute:
[sql] Executing file: C:\Apps\jetspeed-2\src\sql\populate-entities-for-defau
lt-psml.sql
[sql] [ERROR] Failed to execute: INSERT INTO PORTLET_ENTITY (OID, PORTLET_DE
FINITION_ID, ID) VALUES (13, (SELECT ID FROM PORTLET_DEFINITION WHERE NAME = 'Po
rtletApplicationBrowser'), '13')

BUILD FAILED
File.. file:/C:/Apps/jetspeed-2/portal/maven.xml
Element... sql
Line.. 409
Column 39
java.sql.SQLException: Single value expected in statement [INSERT INTO PORTLET_E
NTITY (OID, PORTLET_DEFINITION_ID, ID) VALUES (13, (SELECT ID FROM PORTLET_DEFIN
ITION WHERE NAME = 'PortletApplicationBrowser'), '13')]
Total time: 26 seconds
Finished at: Wed Mar 31 17:27:00 CEST 2004


-Message d'origine-
De : zze-MORON Franois FTRD/DMI/REN [mailto:[EMAIL PROTECTED] 
Envoy : mercredi 31 mars 2004 16:34
 : Jetspeed Users List
Objet : RE : TR : Problem during jetspeed2 compil


It's ok. I downloaded a fresh version of jetspeed2 on CVS and reinstalled maven. The 
build  deploy is ok but now I've got a blank page on http://localhost:8080/jetspeed 
!!!

Franois

-Message d'origine-
De : Serge Huber [mailto:[EMAIL PROTECTED] 
Envoy : mercredi 31 mars 2004 16:01
 : Jetspeed Users List
Objet : Re: TR : Problem during jetspeed2 compil



If you're using Maven RC 2, try the following :

1. Uninstall Maven
2. Download the ZIP install of Maven RC 2
3. Completely empty the ${user.home}/.maven/plugins directory 4. Uncompress the Maven 
ZIP, NOT over a previous install of Maven 5. Set the environment MAVEN_HOME to point 
to your Maven install dir 6. Set the PATH to include MAVEN_HOME/bin directory (or 
MAVEN_HOME\bin if 
you're using Windows)

Normally that should do the trick.

Regards,
   Serge Huber.

At 12:00 31.03.2004, you wrote:

  C:\Apps\jetspeed2\portalmaven war
 
(...)

test:compile:

test:test:
 [junit] Running org.apache.jetspeed.cache.file.TestFileCache
 [junit] Tests run: 2, Failures: 1, Errors: 0, Time elapsed: 3,36 sec
 [junit] [ERROR] TEST

RE : RE : RE : TR : Problem during jetspeed2 compil

2004-03-31 Thread zze-MORON Franois FTRD/DMI/REN
On the other hand it works well with a tomcat 4 version.
Is there any problems with version 5 ?

Franois

-Message d'origine-
De : zze-MORON Franois FTRD/DMI/REN [mailto:[EMAIL PROTECTED] 
Envoy : mercredi 31 mars 2004 17:29
 : Jetspeed Users List
Objet : RE : RE : TR : Problem during jetspeed2 compil


And when I try a fullDeploy, it fails :

C:\Apps\jetspeed-2\portalmaven fullDeploy
 __  __
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.0-rc2

Tentative de tlchargement de picocontainer-1.0-beta-5-SNAPSHOT.jar.
Tentative de tlchargement de nanocontainer-1.0-beta-1-SNAPSHOT.jar.
Tentative de tlchargement de pluto-1.0-SNAPSHOT.jar.
Tag library requested that is not present: 'reactor' in plugin: 'null' Tag library 
requested that is not present: 'reactor' in plugin: 'null'
build:start:

fullDeploy:
deploy:
[echo] Deploying jetspeed2:jetspeed, Jetspeed-2 Portal Engine
[copy] Copying 1 file to C:\Apps\tomcat\webapps
[unwar] Expanding: C:\Apps\tomcat\webapps\jetspeed.war into C:\Apps\tomcat\w 
ebapps\jetspeed
[copy] Copying 1 file to C:\Apps\tomcat\webapps
Tag library requested that is not present: 'reactor' in plugin: 'null'
catalina:base-shared:
[echo] Copying from C:\Documents and Settings\fyom7305/.maven/repository to 
C:/Apps/tomcat/shared/lib/... Tag library requested that is not present: 'reactor' in 
plugin: 'null' Tag library requested that is not present: 'reactor' in plugin: 'null'

catalina:shared:


pam.register:
[java] log4j:WARN No appenders could be found for logger (org.apache.jetspee 
d.Jetspeed).
[java] log4j:WARN Please initialize the log4j system properly.
[java] cn=org.nanocontainer.script.groovy.GroovyContainerBuilder
[java] cn=org.nanocontainer.script.groovy.GroovyContainerBuilder
[java] cn=org.nanocontainer.script.groovy.GroovyContainerBuilder
[java] cn=org.nanocontainer.script.groovy.GroovyContainerBuilder
[java] cn=org.nanocontainer.script.groovy.GroovyContainerBuilder
[java] PLUTO = [EMAIL PROTECTED]
[java] PLUTO = [EMAIL PROTECTED]
[java] cn=org.nanocontainer.script.groovy.GroovyContainerBuilder
[java] cn=org.nanocontainer.script.groovy.GroovyContainerBuilder
[java] cn=org.nanocontainer.script.groovy.GroovyContainerBuilder
[java] cn=org.nanocontainer.script.groovy.GroovyContainerBuilder
[java] PLUTO = [EMAIL PROTECTED]
[java] PLUTO = [EMAIL PROTECTED]
[java] cn=org.nanocontainer.script.groovy.GroovyContainerBuilder
[java] cn=org.nanocontainer.script.groovy.GroovyContainerBuilder
[java] cn=org.nanocontainer.script.groovy.GroovyContainerBuilder
[java] cn=org.nanocontainer.script.groovy.GroovyContainerBuilder
[java] PLUTO = [EMAIL PROTECTED]
[java] PLUTO = [EMAIL PROTECTED]
[java] Calling FileSystemPAM...
[java]  INFO: Loading C:/Apps/tomcat/webapps//jetspeed/WEB-INF/portlet.xml i nto 
memory
[java]  INFO: Loading C:/Apps/tomcat/webapps//jetspeed/WEB-INF/jetspeed-port
let.xml into memory
[java]  INFO: Saving the portlet.xml in the registry...
[java]  INFO: Committing registry changes...
[java]  INFO: FileSystem deployment done.
[java] Done
Tag library requested that is not present: 'reactor' in plugin: 'null'

pam.deploy:
[java] log4j:WARN No appenders could be found for logger (org.apache.jetspee 
d.Jetspeed).
[java] log4j:WARN Please initialize the log4j system properly.
[java] cn=org.nanocontainer.script.groovy.GroovyContainerBuilder
[java] cn=org.nanocontainer.script.groovy.GroovyContainerBuilder
[java] cn=org.nanocontainer.script.groovy.GroovyContainerBuilder
[java] cn=org.nanocontainer.script.groovy.GroovyContainerBuilder
[java] cn=org.nanocontainer.script.groovy.GroovyContainerBuilder
[java] PLUTO = [EMAIL PROTECTED]
[java] PLUTO = [EMAIL PROTECTED]
[java] cn=org.nanocontainer.script.groovy.GroovyContainerBuilder
[java] cn=org.nanocontainer.script.groovy.GroovyContainerBuilder
[java] cn=org.nanocontainer.script.groovy.GroovyContainerBuilder
[java] cn=org.nanocontainer.script.groovy.GroovyContainerBuilder
[java] PLUTO = [EMAIL PROTECTED]
[java] PLUTO = [EMAIL PROTECTED]
[java] cn=org.nanocontainer.script.groovy.GroovyContainerBuilder
[java] cn=org.nanocontainer.script.groovy.GroovyContainerBuilder
[java] cn=org.nanocontainer.script.groovy.GroovyContainerBuilder
[java] cn=org.nanocontainer.script.groovy.GroovyContainerBuilder
[java] PLUTO = [EMAIL PROTECTED]
[java] PLUTO = [EMAIL PROTECTED]
[java] Calling FileSystemPAM...
[java]  INFO: deploying WAR file'demo.war' to WEB-INF/...
[java]  INFO: Libraries and classes deployment finished!
[java]  INFO: prepare web archive 'C:/Apps/tomcat/webapps//HW_App/WEB-INF/we
b.xml' ...
[java]  INFO: Adding welcome-file-list element to web.xml...
[java] Updated C:/Apps/tomcat/webapps//HW_App/WEB-INF/web.xml saved.
[java

RE : RE : RE : TR : Problem during jetspeed2 compil

2004-03-31 Thread Serge Huber
At 17:54 31.03.2004, you wrote:
On the other hand it works well with a tomcat 4 version.
Is there any problems with version 5 ?
Yes, the jetspeed.xml file needs to be moved under Tomcat 5 to 
tomcat/conf/Catalina/localhost

Regards,
  Serge Huber.


- -- --- -=[ shuber2 at jahia dot com ]= --- -- -
www.jahia.org : A collaborative source CMS and Portal Server 



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


Re: RE : RE : TR : Problem during jetspeed2 compil

2004-03-31 Thread David Sean Taylor
On Wednesday, March 31, 2004, at 07:28  AM, zze-MORON François 
FTRD/DMI/REN wrote:

And when I try a fullDeploy, it fails :


C:\Apps\jetspeed-2\portalmaven fullDeploy

[snip]
[java] Calling FileSystemPAM...
[java]  INFO: deploying WAR file'pam.war' to WEB-INF/...
[java] ERROR: Unexpected exception deploying portlet application: 
java.io.IO
Exception: The portlet application archive target, 
C:/Apps/tomcat/webapps//PAM,
already exists.  Please remove it before attempting to deploy. 
attempting rollba
ck...
[java] java.io.IOException: The portlet application archive 
target, C:/Apps/
tomcat/webapps//PAM, already exists.  Please remove it before 
attempting to depl

The PAM directory exists in the webapps  directory
You need to delete it before redeploying
try this:

cd \apps\tomcat\webapps

rd /s PAM
rd /s jetspeed
rd /s HW_App
cd \apps\jetspeed-2
maven db.create
cd portal
maven fullDeploy
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE : TR : Problem during jetspeed2 compil

2004-03-31 Thread zze-MORON François FTRD/DMI/REN
It's ok. I just have an error in my tomcat's log file :

2004-04-01 09:28:00 StandardContext[/jetspeed] Velocity   [info] Velocimacro : adding 
VMs from VM library template : VM_global_library.vm
2004-04-01 09:28:00 StandardContext[/jetspeed] Velocity  [error] ResourceManager : 
unable to find resource 'VM_global_library.vm' in any resource loader.

Is it a problem ?

-Message d'origine-

The PAM directory exists in the webapps  directory
You need to delete it before redeploying

try this:

cd \apps\tomcat\webapps

rd /s PAM
rd /s jetspeed
rd /s HW_App

cd \apps\jetspeed-2
maven db.create
cd portal
maven fullDeploy



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