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-MORON François FTRD/DMI/REN <fr...@rd.francetelecom.com> on 2004/03/31 17:54:06 UTC

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

On the other hand it works well with a tomcat 4 version.
Is there any problems with version 5 ?

François

-----Message d'origine-----
De : zze-MORON François FTRD/DMI/REN [mailto:francois.moron@rd.francetelecom.com] 
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\portal>maven fullDeploy
 __  __
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.0-rc2

Tentative de tΘlΘchargement de picocontainer-1.0-beta-5-SNAPSHOT.jar.
Tentative de tΘlΘchargement de nanocontainer-1.0-beta-1-SNAPSHOT.jar.
Tentative de tΘlΘchargement 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 = org.apache.pluto.PortletContainerImpl@c5495e
    [java] PLUTO = org.apache.pluto.PortletContainerImpl@15356d5
    [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 = org.apache.pluto.PortletContainerImpl@47a0d4
    [java] PLUTO = org.apache.pluto.PortletContainerImpl@1cf7491
    [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 = org.apache.pluto.PortletContainerImpl@5bb966
    [java] PLUTO = org.apache.pluto.PortletContainerImpl@76e8a7
    [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 = org.apache.pluto.PortletContainerImpl@c5495e
    [java] PLUTO = org.apache.pluto.PortletContainerImpl@15356d5
    [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 = org.apache.pluto.PortletContainerImpl@47a0d4
    [java] PLUTO = org.apache.pluto.PortletContainerImpl@1cf7491
    [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 = org.apache.pluto.PortletContainerImpl@5bb966
    [java] PLUTO = org.apache.pluto.PortletContainerImpl@76e8a7
    [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]  INFO: Loading C:/Apps/tomcat/webapps//HW_App/WEB-INF/portlet.xml int o memory....
    [java]  INFO: Loading C:/Apps/tomcat/webapps//HW_App/WEB-INF/jetspeed-portle
t.xml into memory....
    [java]  INFO: Loaded C:/Apps/tomcat/webapps//HW_App/WEB-INF/jetspeed-portlet
.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.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 = org.apache.pluto.PortletContainerImpl@c5495e
    [java] PLUTO = org.apache.pluto.PortletContainerImpl@15356d5
    [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 = org.apache.pluto.PortletContainerImpl@47a0d4
    [java] PLUTO = org.apache.pluto.PortletContainerImpl@1cf7491
    [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 = org.apache.pluto.PortletContainerImpl@5bb966
    [java] PLUTO = org.apache.pluto.PortletContainerImpl@76e8a7
    [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 François FTRD/DMI/REN [mailto:francois.moron@rd.francetelecom.com] 
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 !!!

François

-----Message d'origine-----
De : Serge Huber [mailto:shuber2@jahia.com] 
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\portal>maven 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: 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


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

Posted by Serge Huber <sh...@jahia.com>.
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: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org