dev@glassfish.java.net

Re: Quicklook won't run: "Command deploy not found" BLOCKING

From: Lloyd Chambers <Lloyd.Chambers_at_Sun.COM>
Date: Thu, 18 Sep 2008 15:35:47 -0700

Fresh build. This started today, no problems yesterday.

This is on Mac OS X.


deploy-v3-impl-unix:
    [exec] Command deploy not found
    [exec] com.sun.enterprise.v3.admin.CommandNotFoundException:
Command deploy not found
    [exec] Command deploy failed.

Lloyd


MB2:quicklook lloyd$ mvn -Dglassfish.home=/v3/run test
[INFO] Scanning for projects...
WAGON_VERSION: 1.0-beta-2
[INFO]
------------------------------------------------------------------------
[INFO] Building Glassfish Quicklook Bundle
[INFO] task-segment: [test]
[INFO]
------------------------------------------------------------------------
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
[INFO] No sources to compile
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:testCompile]
[INFO] No sources to compile
[INFO] [surefire:test]
[INFO] No tests to run.
[INFO] [antrun-extended:run {execution: default}]
[INFO] Executing tasks
    [echo] compile classpath: /v3/code/tests/quicklook/target/classes
    [echo] plugin classpath: /v3/repo/org/glassfish/external/
jmxremote_optional-repackaged/10.0-SNAPSHOT/jmxremote_optional-
repackaged-10.0-SNAPSHOT.jar:/v3/repo/org/glassfish/common/amx-api/
10.0-SNAPSHOT/amx-api-10.0-SNAPSHOT.jar:/v3/repo/org/glassfish/common/
stats77/10.0-SNAPSHOT/stats77-10.0-SNAPSHOT.jar:/v3/repo/commons-codec/
commons-codec/1.3/commons-codec-1.3.jar:/v3/repo/commons-httpclient/
commons-httpclient/3.0.1/commons-httpclient-3.0.1.jar:/v3/repo/junit/
junit/3.8.1/junit-3.8.1.jar:/v3/repo/commons-logging/commons-logging/
1.0.3/commons-logging-1.0.3.jar:/v3/repo/org/testng/testng/5.6/
testng-5.6-jdk15.jar:/v3/repo/com/sun/jsftemplating/jsftemplating-
dynafaces/0.1/jsftemplating-dynafaces-0.1.jar:/v3/repo/org/codehaus/
plexus/plexus-utils/1.1/plexus-utils-1.1.jar:/v3/repo/ant/ant-launcher/
1.6.5/ant-launcher-1.6.5.jar:/v3/repo/ant/ant/1.6.5/ant-1.6.5.jar:/v3/
repo/org/apache/commons/commons-io/1.3.2/commons-io-1.3.2.jar:/usr/
local/apache-maven/lib/maven-2.0.9-uber.jar

clean:
    [echo] Deleting all WAR/EAR in local testsuite directories!!!
    [echo] There should not be any WAR file checked in.

all:

initprop:
    [echo] JavaDB Database Location: /v3/run/javadb

startDerby:
    [echo] Starting Derby DB servers in the Network Mode
    [echo] Finished starting datbase

setOSConditions:

start-server-felix:
    [echo] +-----------------------------+
    [echo] | |
    [echo] | S T A R T I N G GLASSFISH |
    [echo] | in Felix mode |
    [echo] | |
    [echo] +-----------------------------+

start-server-felix-unix:
    [exec] Name of the domain started: [domain1] and
    [exec] its location: [/v3/run/domains/domain1].
    [exec] Admin port for the domain: [4848].

start-server-felix-windows:

build:
    [echo] ANT PROJECT GlassFish-V3-QuickLook

build:

compile-tests:
    [echo] compiling test client to ..//classes/test
   [mkdir] Created dir: /v3/code/tests/quicklook/classes/test
   [javac] Compiling 3 source files to /v3/code/tests/quicklook/
classes/test

build:

compile-tests:
    [echo] compiling test client to ..//classes/test
   [javac] Compiling 5 source files to /v3/code/tests/quicklook/
classes/test
   [javac] Note: Some input files use unchecked or unsafe operations.
   [javac] Note: Recompile with -Xlint:unchecked for details.

build:

compile-tests:
    [echo] compiling test client to ..//classes/test
   [javac] Compiling 2 source files to /v3/code/tests/quicklook/
classes/test

build:
    [echo] Now creating a war file ../..//dist/classloader/hellojsf.war
   [mkdir] Created dir: /v3/code/tests/quicklook/dist/classloader
     [war] Building war: /v3/code/tests/quicklook/dist/classloader/
hellojsf.war
    [copy] Copying 1 file to /v3/code/tests/quicklook/classloader/
hellojsf

build:

build-impl:

archive-type:
    [echo] archive-type is war

build-war:
    [echo] Now creating a war file ../..//dist/basicweb/hellojsp.war
   [mkdir] Created dir: /v3/code/tests/quicklook/classes/basicweb/app
   [mkdir] Created dir: /v3/code/tests/quicklook/dist/basicweb
    [echo] Now compiling
   [javac] Compiling 1 source file to /v3/code/tests/quicklook/classes/
basicweb/app
   [mkdir] Created dir: /v3/code/tests/quicklook/classes/basicweb/app/
META-INF
    [copy] Warning: Could not find file /v3/code/tests/quicklook/web/
helloworld/metadata/persistence.xml to copy.
    [copy] Warning: Could not find file /v3/code/tests/quicklook/web/
helloworld/src/java/ApplicationResource.properties to copy.
     [war] Building war: /v3/code/tests/quicklook/dist/basicweb/
hellojsp.war
     [war] Warning: selected war files include a WEB-INF/web.xml which
will be ignored (please use webxml attribute to war task)

update-war-struts:
    [copy] Copying 1 file to /v3/code/tests/quicklook/web/helloworld
    [echo] =======================================================
    [echo] Packaged Archive at ../..//dist/basicweb/hellojsp.war and
at hellojsp.war
    [echo] =======================================================

archive-type:
    [echo] archive-type is war

build-ear:

archive-type:
    [echo] archive-type is war

build-jar:

build:

build-impl:

archive-type:
    [echo] archive-type is war

build-war:
    [echo] Now creating a war file ../..//dist/jsftest/jsfastrologer.war
   [mkdir] Created dir: /v3/code/tests/quicklook/classes/jsftest/app
   [mkdir] Created dir: /v3/code/tests/quicklook/dist/jsftest
    [echo] Now compiling
   [javac] Compiling 1 source file to /v3/code/tests/quicklook/classes/
jsftest/app
   [mkdir] Created dir: /v3/code/tests/quicklook/classes/jsftest/app/
META-INF
    [copy] Warning: Could not find file /v3/code/tests/quicklook/web/
jsfastrologer/metadata/persistence.xml to copy.
    [copy] Warning: Could not find file /v3/code/tests/quicklook/web/
jsfastrologer/src/java/ApplicationResource.properties to copy.
     [war] Building war: /v3/code/tests/quicklook/dist/jsftest/
jsfastrologer.war
     [war] Warning: selected war files include a WEB-INF/web.xml which
will be ignored (please use webxml attribute to war task)

update-war-struts:
    [copy] Copying 1 file to /v3/code/tests/quicklook/web/jsfastrologer
    [echo] =======================================================
    [echo] Packaged Archive at ../..//dist/jsftest/jsfastrologer.war
and at jsfastrologer.war
    [echo] =======================================================

archive-type:
    [echo] archive-type is war

build-ear:

archive-type:
    [echo] archive-type is war

build-jar:

build:

build-impl:

archive-type:
    [echo] archive-type is war

build-war:
    [echo] Now creating a war file ../..//dist/basicweb/jsfinjection.war
  [delete] Deleting directory /v3/code/tests/quicklook/classes/
basicweb/app
  [delete] Deleting directory /v3/code/tests/quicklook/dist/basicweb
   [mkdir] Created dir: /v3/code/tests/quicklook/classes/basicweb/app
   [mkdir] Created dir: /v3/code/tests/quicklook/dist/basicweb
    [echo] Now compiling
   [javac] Compiling 2 source files to /v3/code/tests/quicklook/
classes/basicweb/app
   [mkdir] Created dir: /v3/code/tests/quicklook/classes/basicweb/app/
META-INF
    [copy] Warning: Could not find file /v3/code/tests/quicklook/web/
jsfinjection/metadata/persistence.xml to copy.
    [copy] Warning: Could not find file /v3/code/tests/quicklook/web/
jsfinjection/src/java/ApplicationResource.properties to copy.
     [war] Building war: /v3/code/tests/quicklook/dist/basicweb/
jsfinjection.war
     [war] Warning: selected war files include a WEB-INF/web.xml which
will be ignored (please use webxml attribute to war task)

update-war-struts:
    [copy] Copying 1 file to /v3/code/tests/quicklook/web/jsfinjection
    [echo] =======================================================
    [echo] Packaged Archive at ../..//dist/basicweb/jsfinjection.war
and at jsfinjection.war
    [echo] =======================================================

archive-type:
    [echo] archive-type is war

build-ear:

archive-type:
    [echo] archive-type is war

build-jar:

build:

build-impl:

archive-type:
    [echo] archive-type is war

build-war:
    [echo] Now creating a war file ../..//dist/jdbcusertx/jdbcusertx.war
   [mkdir] Created dir: /v3/code/tests/quicklook/classes/jdbcusertx/app
   [mkdir] Created dir: /v3/code/tests/quicklook/dist/jdbcusertx
    [echo] Now compiling
   [javac] Compiling 6 source files to /v3/code/tests/quicklook/
classes/jdbcusertx/app
   [mkdir] Created dir: /v3/code/tests/quicklook/classes/jdbcusertx/
app/META-INF
    [copy] Warning: Could not find file /v3/code/tests/quicklook/jdbc/
jdbcusertx/metadata/persistence.xml to copy.
    [copy] Warning: Could not find file /v3/code/tests/quicklook/jdbc/
jdbcusertx/src/java/ApplicationResource.properties to copy.
     [war] Building war: /v3/code/tests/quicklook/dist/jdbcusertx/
jdbcusertx.war
     [war] Warning: selected war files include a WEB-INF/web.xml which
will be ignored (please use webxml attribute to war task)

update-war-struts:
    [copy] Copying 1 file to /v3/code/tests/quicklook/jdbc/jdbcusertx
    [echo] =======================================================
    [echo] Packaged Archive at ../..//dist/jdbcusertx/jdbcusertx.war
and at jdbcusertx.war
    [echo] =======================================================

archive-type:
    [echo] archive-type is war

build-ear:

archive-type:
    [echo] archive-type is war

build-jar:

build:

build-impl:

archive-type:
    [echo] archive-type is war

build-war:
    [echo] Now creating a war file ../..//dist/jpainjectemf/
jpainjectemf.war
   [mkdir] Created dir: /v3/code/tests/quicklook/classes/jpainjectemf/
app
   [mkdir] Created dir: /v3/code/tests/quicklook/dist/jpainjectemf
    [echo] Now compiling
   [javac] Compiling 4 source files to /v3/code/tests/quicklook/
classes/jpainjectemf/app
   [mkdir] Created dir: /v3/code/tests/quicklook/classes/jpainjectemf/
app/META-INF
    [copy] Copying 1 file to /v3/code/tests/quicklook/classes/
jpainjectemf/app/META-INF
    [copy] Warning: Could not find file /v3/code/tests/quicklook/
persistence/jpainjectemf/src/java/ApplicationResource.properties to
copy.
     [war] Building war: /v3/code/tests/quicklook/dist/jpainjectemf/
jpainjectemf.war
     [war] Warning: selected war files include a WEB-INF/web.xml which
will be ignored (please use webxml attribute to war task)

update-war-struts:
    [copy] Copying 1 file to /v3/code/tests/quicklook/persistence/
jpainjectemf
    [echo] =======================================================
    [echo] Packaged Archive at ../..//dist/jpainjectemf/
jpainjectemf.war and at jpainjectemf.war
    [echo] =======================================================

archive-type:
    [echo] archive-type is war

build-ear:

archive-type:
    [echo] archive-type is war

build-jar:

build:

build-impl:

archive-type:
    [echo] archive-type is war

build-war:
    [echo] Now creating a war file ../..//dist/security/
hellojspsecure.war
   [mkdir] Created dir: /v3/code/tests/quicklook/classes/security/app
   [mkdir] Created dir: /v3/code/tests/quicklook/dist/security
    [echo] Now compiling
   [javac] Compiling 1 source file to /v3/code/tests/quicklook/classes/
security/app
   [mkdir] Created dir: /v3/code/tests/quicklook/classes/security/app/
META-INF
    [copy] Warning: Could not find file /v3/code/tests/quicklook/
security/helloworld/metadata/persistence.xml to copy.
    [copy] Warning: Could not find file /v3/code/tests/quicklook/
security/helloworld/src/java/ApplicationResource.properties to copy.
     [war] Building war: /v3/code/tests/quicklook/dist/security/
hellojspsecure.war
     [war] Warning: selected war files include a WEB-INF/web.xml which
will be ignored (please use webxml attribute to war task)

update-war-struts:
    [copy] Copying 1 file to /v3/code/tests/quicklook/security/
helloworld
    [echo] =======================================================
    [echo] Packaged Archive at ../..//dist/security/hellojspsecure.war
and at hellojspsecure.war
    [echo] =======================================================

archive-type:
    [echo] archive-type is war

build-ear:

archive-type:
    [echo] archive-type is war

build-jar:

build:

setup:

setOSConditions:

create-user-common-v3-impl:

create-user-common-v3-impl-unix:
    [exec] create-file-user --echo=true --terse=true --
authrealmname=file --passwordfile=asadminuserpassword.txt --
groups=testgroup1 --user=admin --host=localhost --port=4848 testuser3

  [delete] Deleting: /v3/code/tests/quicklook/security/basicauth/
asadminuserpassword.txt

create-user-common-v3-impl-windows:

setOSConditions:

create-user-common-v3-impl:

create-user-common-v3-impl-unix:
    [exec] create-file-user --echo=true --terse=true --
authrealmname=file --passwordfile=asadminuserpassword.txt --
groups=testgroup5 --user=admin --host=localhost --port=4848 testuser42

  [delete] Deleting: /v3/code/tests/quicklook/security/basicauth/
asadminuserpassword.txt

create-user-common-v3-impl-windows:

setOSConditions:

create-user-common-v3-impl:

create-user-common-v3-impl-unix:
    [exec] create-file-user --echo=true --terse=true --
authrealmname=file --passwordfile=asadminuserpassword.txt --
groups=testgroup10 --user=admin --host=localhost --port=4848 j2ee

  [delete] Deleting: /v3/code/tests/quicklook/security/basicauth/
asadminuserpassword.txt

create-user-common-v3-impl-windows:

build-impl:

archive-type:
    [echo] archive-type is war

build-war:
    [echo] Now creating a war file ../..//dist/security-basicauth/
basicauth.war
   [mkdir] Created dir: /v3/code/tests/quicklook/classes/security-
basicauth/app
   [mkdir] Created dir: /v3/code/tests/quicklook/dist/security-basicauth
    [echo] Now compiling
   [mkdir] Created dir: /v3/code/tests/quicklook/classes/security-
basicauth/app/META-INF
    [copy] Warning: Could not find file /v3/code/tests/quicklook/
security/basicauth/metadata/persistence.xml to copy.
    [copy] Warning: Could not find file /v3/code/tests/quicklook/
security/basicauth/src/java/ApplicationResource.properties to copy.
     [war] Building war: /v3/code/tests/quicklook/dist/security-
basicauth/basicauth.war
     [war] Warning: selected war files include a WEB-INF/web.xml which
will be ignored (please use webxml attribute to war task)

update-war-struts:
    [copy] Copying 1 file to /v3/code/tests/quicklook/security/basicauth
    [echo] =======================================================
    [echo] Packaged Archive at ../..//dist/security-basicauth/
basicauth.war and at basicauth.war
    [echo] =======================================================

archive-type:
    [echo] archive-type is war

build-ear:

archive-type:
    [echo] archive-type is war

build-jar:

compile-tests:
    [echo] compiling test client to ../..//classes/test
   [javac] Compiling 1 source file to /v3/code/tests/quicklook/classes/
test

deploy:

deploy:

setOSConditions:

deploy-v3-impl:
    [echo] glassfish.home is /v3/run
    [echo] deploying in v3 mode
    [echo] ./hellojsf
    [echo] OS is Mac OS X
    [echo] Please access URL http://localhost:8080/hellojsf

deploy-v3-impl-unix:
    [exec] Command deploy not found
    [exec] com.sun.enterprise.v3.admin.CommandNotFoundException:
Command deploy not found
    [exec] Command deploy failed.
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] An Ant BuildException has occured: The following error occurred
while executing this line:
/v3/code/tests/quicklook/build.xml:62: The following error occurred
while executing this line:
/v3/code/tests/quicklook/build.xml:160: The following error occurred
while executing this line:
/v3/code/tests/quicklook/classloader/hellojsf/build.xml:67: The
following error occurred while executing this line:
/v3/code/tests/quicklook/gfproject/v3-targets.xml:113: The following
error occurred while executing this line:
/v3/code/tests/quicklook/gfproject/v3-targets.xml:129: exec returned: 3

[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 18 seconds
[INFO] Finished at: Thu Sep 18 15:25:06 PDT 2008
[INFO] Final Memory: 8M/17M
[INFO]
------------------------------------------------------------------------
MB2:quicklook lloyd$



On Sep 18, 2008, at 3:22 PM, Lloyd Chambers wrote:

> No, I was wrong. It is left running after this failure. It was not
> running before I ran quicklook.
>
> Lloyd
>
> ..............................................
> Lloyd Chambers
> lloyd.chambers_at_sun.com
> GlassFish team, LSARC member
>
>
>
>
>
>
> On Sep 18, 2008, at 3:21 PM, Lloyd Chambers wrote:
>
>> Thanks, it was. Quicklook apparently left it running from the
>> last run.
>>
>> ..............................................
>> Lloyd Chambers
>> lloyd.chambers_at_sun.com
>> GlassFish team, LSARC member
>>
>>
>>
>>
>>
>>
>> On Sep 18, 2008, at 2:30 PM, Harsha Godugu wrote:
>>
>>> On 09/18/08 14:08, Lloyd Chambers wrote:
>>>> Did I miss something? I've rebuilt everything.
>>>>
>>>> Lloyd
>>>>
>>>>
>>>> deploy-v3-impl:
>>>> [echo] glassfish.home is /v3/run
>>>> [echo] deploying in v3 mode
>>>> [echo] ./hellojsf
>>>> [echo] OS is Mac OS X
>>>> [echo] Please access URL http://localhost:8080/hellojsf
>>>>
>>>> deploy-v3-impl-unix:
>>>> [exec] Command deploy not found
>>>> [exec] com.sun.enterprise.v3.admin.CommandNotFoundException:
>>>> Command deploy not found
>>>> [exec] Command deploy failed.
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>> [ERROR] BUILD ERROR
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>> [INFO] An Ant BuildException has occured: The following error
>>>> occurred while executing this line:
>>>> /v3/code/tests/quicklook/build.xml:62: The following error
>>>> occurred while executing this line:
>>>> /v3/code/tests/quicklook/build.xml:160: The following error
>>>> occurred while executing this line:
>>>> /v3/code/tests/quicklook/classloader/hellojsf/build.xml:67: The
>>>> following error occurred while executing this line:
>>>> /v3/code/tests/quicklook/gfproject/v3-targets.xml:113: The
>>>> following error occurred while executing this line:
>>>> /v3/code/tests/quicklook/gfproject/v3-targets.xml:129: exec
>>>> returned: 3
>>>>
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>> [INFO] For more information, run Maven with the -e switch
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>> [INFO] Total time: 15 seconds
>>>> [INFO] Finished at: Thu Sep 18 14:04:32 PDT 2008
>>>> [INFO] Final Memory: 8M/17M
>>>> [INFO]
>>>> ----------------------------------------------------------------------
>>>>
>>>>
>>> Check carefully if the server is already running ...
>>>> ..............................................
>>>> Lloyd Chambers
>>>> lloyd.chambers_at_sun.com
>>>> GlassFish team, LSARC member
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>>>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>