[Gridsphere-users] Cannot build example of Hello World Portlet

Edwin Lesmana edwinlc.spam at gmail.com
Tue Mar 25 20:20:34 PDT 2008


Hi, I am using Tomcat version 5.5.26, and I would like to run example of
Portlet in the url below

http://docs.gridsphere.org/display/gs30/Hello+World+Portlethttp://docs.gridsphere.org/display/gs30/Hello+World+Portlet

But I cannot run ant install after I deploy gridsphere in Tomcat, this is
the debugging message:

setenv:
     [echo] Installing for Tomcat 5.x
     [echo] --- Build environment for GS Examples 1.0 RC 1 ---
     [echo] --- Flags (Note: If the {property name} is displayed,
     [echo]            then the component is not present)
     [echo]
     [echo] ANT_HOME is set to = /home/globus/Ant1.7/
     [echo] JAVA_HOME is set to = /usr/java/jdk1.6.0_03/
     [echo] GridSphere Webserver is tomcat
     [echo] This project will be deployed to /home/edwin/Tomcat/apache-
tomcat-5.5.26//webapps
     [echo] --- Property values ---
     [echo] debug=on
     [echo] deprecation=true
     [echo] optimize=false

compile:
     [echo] Compiling project source code

portlets-jar:
     [echo] Creating JAR

services-jar:
     [echo] Creating services JAR
      [jar] Warning: skipping jar archive /home/edwin/GridSphere/gridsphere-
3.1/projects/gsexamples/build/lib/gsexamples-services.jar because no files
were included.

services-impl-jar:
     [echo] Creating services JAR
      [jar] Warning: skipping jar archive /home/edwin/GridSphere/gridsphere-
3.1/projects/gsexamples/build/lib/gsexamples-services-impl.jar because no
files were included.

jar:

deploy:
     [echo] Deploying project
     [copy] Copying 5 files to /home/edwin/Tomcat/apache-tomcat-5.5.26
/webapps/gsexamples
     [copy] Copying 1 file to /home/edwin/Tomcat/apache-tomcat-5.5.26
/webapps/gsexamples/WEB-INF/lib
     [copy] Copying 2 files to /home/edwin/Tomcat/apache-tomcat-5.5.26
/webapps/gsexamples/WEB-INF/lib
    [touch] Creating /home/edwin/Tomcat/apache-tomcat-5.5.26
/webapps/gridsphere/WEB-INF/CustomPortal/portlets/gsexamples
     [copy] Copying 2 files to /home/edwin/Tomcat/apache-tomcat-5.5.26
/webapps/gsexamples/WEB-INF/lib
     [copy] Copying 1 file to /home/edwin/Tomcat/apache-tomcat-5.5.26
/webapps/gsexamples/WEB-INF/lib

setenv:
     [echo] Installing for Tomcat 5.x
     [echo] --- Build environment for GS Examples 1.0 RC 1 ---
     [echo] --- Flags (Note: If the {property name} is displayed,
     [echo]            then the component is not present)
     [echo]
     [echo] ANT_HOME is set to = /home/globus/Ant1.7/
     [echo] JAVA_HOME is set to = /usr/java/jdk1.6.0_03/
     [echo] GridSphere Webserver is tomcat
     [echo] This project will be deployed to /home/edwin/Tomcat/apache-
tomcat-5.5.26//webapps
     [echo] --- Property values ---
     [echo] debug=on
     [echo] deprecation=true
     [echo] optimize=false

configure-database:
     [copy] Copying 1 file to /home/edwin/Tomcat/apache-tomcat-5.5.26
/webapps/gsexamples/WEB-INF/persistence

install:

setenv:
     [echo] Installing for Tomcat 5.x
     [echo] --- Build environment for GS Examples 1.0 RC 1 ---
     [echo] --- Flags (Note: If the {property name} is displayed,
     [echo]            then the component is not present)
     [echo]
     [echo] ANT_HOME is set to = /home/globus/Ant1.7/
     [echo] JAVA_HOME is set to = /usr/java/jdk1.6.0_03/
     [echo] GridSphere Webserver is tomcat
     [echo] This project will be deployed to /home/edwin/Tomcat/apache-
tomcat-5.5.26//webapps
     [echo] --- Property values ---
     [echo] debug=on
     [echo] deprecation=true
     [echo] optimize=false

compile:
     [echo] Compiling project source code

portlets-jar:
     [echo] Creating JAR

services-jar:
     [echo] Creating services JAR
      [jar] Warning: skipping jar archive /home/edwin/GridSphere/gridsphere-
3.1/projects/gsexamples/build/lib/gsexamples-services.jar because no files
were included.

services-impl-jar:
     [echo] Creating services JAR
      [jar] Warning: skipping jar archive /home/edwin/GridSphere/gridsphere-
3.1/projects/gsexamples/build/lib/gsexamples-services-impl.jar because no
files were included.

jar:

deploy:
     [echo] Deploying project
     [copy] Copying 5 files to /home/edwin/Tomcat/apache-tomcat-5.5.26
/webapps/gsexamples
     [copy] Copying 1 file to /home/edwin/Tomcat/apache-tomcat-5.5.26
/webapps/gsexamples/WEB-INF/lib

setenv:
     [echo] Installing for Tomcat 5.x
     [echo] --- Build environment for GS Examples 1.0 RC 1 ---
     [echo] --- Flags (Note: If the {property name} is displayed,
     [echo]            then the component is not present)
     [echo]
     [echo] ANT_HOME is set to = /home/globus/Ant1.7/
     [echo] JAVA_HOME is set to = /usr/java/jdk1.6.0_03/
     [echo] GridSphere Webserver is tomcat
     [echo] This project will be deployed to /home/edwin/Tomcat/apache-
tomcat-5.5.26//webapps
     [echo] --- Property values ---
     [echo] debug=on
     [echo] deprecation=true
     [echo] optimize=false

configure-database:
     [copy] Copying 1 file to /home/edwin/Tomcat/apache-tomcat-5.5.26
/webapps/gsexamples/WEB-INF/persistence

create-database:
     [echo] Creating database

BUILD FAILED
/home/edwin/GridSphere/gridsphere-3.1/projects/gsexamples/build.xml:411: The
following error occurred while executing this line:
/home/edwin/GridSphere/gridsphere-3.1/projects/gsexamples/build.xml:227:
dbtask doesn't support the "configdir" attribute

Does anyone can help me to find out what's wrong? Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.gridsphere.org/pipermail/gridsphere-users/attachments/20080326/ab9792d6/attachment.html


More information about the Gridsphere-users mailing list