I see "CLI001 invalid comand: deploy" followed by "Command deploy
executed successfully". I don't know what to make of that!
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] 0 descriptor = jar:file:/v3/run/modules/admin-cli-10.0-
SNAPSHOT.jar!/CLIDescriptor.xml
[exec] basePackage: com.sun.enterprise.admin.cli
[exec] propertyFile: LocalStrings
[exec] CLI001 Invalid Command, deploy.
[exec] host = localhost
[exec] deploy --echo=false --terse=false
[exec] CLIRemoteCommandParser:
[exec] **********
[exec] name = deploy
[exec] Options = {}
[exec] Operands = []
-----------------
MB2:code lloyd$ cd tests/quicklook/
MB2:quicklook lloyd$ runql
[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/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:
[delete] Deleting directory /v3/code/tests/quicklook/classes
[delete] Deleting directory /v3/code/tests/quicklook/dist
[delete] Deleting 6 files from /v3/code/tests/quicklook
[echo] Deleting all WAR/EAR in local testsuite directories!!!
[echo] There should not be any WAR file checked in.
[delete] Deleting 7 files from /v3/code/tests/quicklook
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] 0 descriptor = jar:file:/v3/run/modules/admin-cli-10.0-
SNAPSHOT.jar!/CLIDescriptor.xml
[exec] basePackage: com.sun.enterprise.admin.cli
[exec] propertyFile: LocalStrings
[exec] **** insert Default Options verbose false
[exec] **** insert Default Options terse false
[exec] **** insert Default Options echo false
[exec] **** insert Default Options interactive true
[exec] **** insert Environment Options user admin
[exec] host = localhost
[exec] version --echo=false --terse=false --user=admin --port=4848
[exec] CLIRemoteCommandParser:
[exec] **********
[exec] name = version
[exec] Options = {user=admin, port=4848}
[exec] Operands = []
[exec] **********
[exec] URI: /__asadmin/version
[exec] URL:
com.sun.enterprise.admin.cli.util.HttpConnectorAddress_at_4b82d2
[exec] URL:
http://localhost:4848/__asadmin/version
[exec] Waiting for DAS to start.
[exec] host = localhost
[exec] version --echo=false --terse=false --user=admin --port=4848
[exec] CLIRemoteCommandParser:
[exec] **********
[exec] name = version
[exec] Options = {user=admin, port=4848}
[exec] Operands = []
[exec] **********
[exec] URI: /__asadmin/version
[exec] URL:
com.sun.enterprise.admin.cli.util.HttpConnectorAddress_at_f0625
[exec] URL:
http://localhost:4848/__asadmin/version
[exec] host = localhost
[exec] version --echo=false --terse=false --user=admin --port=4848
[exec] CLIRemoteCommandParser:
[exec] **********
[exec] name = version
[exec] Options = {user=admin, port=4848}
[exec] Operands = []
[exec] **********
[exec] URI: /__asadmin/version
[exec] URL:
com.sun.enterprise.admin.cli.util.HttpConnectorAddress_at_f8247d
[exec] URL:
http://localhost:4848/__asadmin/version
[exec] host = localhost
[exec] version --echo=false --terse=false --user=admin --port=4848
[exec] CLIRemoteCommandParser:
[exec] **********
[exec] name = version
[exec] Options = {user=admin, port=4848}
[exec] Operands = []
[exec] **********
[exec] URI: /__asadmin/version
[exec] URL:
com.sun.enterprise.admin.cli.util.HttpConnectorAddress_at_23bdd1
[exec] URL:
http://localhost:4848/__asadmin/version
[exec] host = localhost
[exec] version --echo=false --terse=false --user=admin --port=4848
[exec] CLIRemoteCommandParser:
[exec] **********
[exec] name = version
[exec] Options = {user=admin, port=4848}
[exec] Operands = []
[exec] **********
[exec] URI: /__asadmin/version
[exec] URL:
com.sun.enterprise.admin.cli.util.HttpConnectorAddress_at_830122
[exec] URL:
http://localhost:4848/__asadmin/version
[exec] host = localhost
[exec] version --echo=false --terse=false --user=admin --port=4848
[exec] CLIRemoteCommandParser:
[exec] **********
[exec] name = version
[exec] Options = {user=admin, port=4848}
[exec] Operands = []
[exec] **********
[exec] URI: /__asadmin/version
[exec] URL:
com.sun.enterprise.admin.cli.util.HttpConnectorAddress_at_bf7916
[exec] URL:
http://localhost:4848/__asadmin/version
[exec] host = localhost
[exec] version --echo=false --terse=false --user=admin --port=4848
[exec] CLIRemoteCommandParser:
[exec] **********
[exec] name = version
[exec] Options = {user=admin, port=4848}
[exec] Operands = []
[exec] **********
[exec] URI: /__asadmin/version
[exec] URL:
com.sun.enterprise.admin.cli.util.HttpConnectorAddress_at_a6af6e
[exec] URL:
http://localhost:4848/__asadmin/version
[exec] host = localhost
[exec] version --echo=false --terse=false --user=admin --port=4848
[exec] CLIRemoteCommandParser:
[exec] **********
[exec] name = version
[exec] Options = {user=admin, port=4848}
[exec] Operands = []
[exec] **********
[exec] URI: /__asadmin/version
[exec] URL:
com.sun.enterprise.admin.cli.util.HttpConnectorAddress_at_478a2d
[exec] URL:
http://localhost:4848/__asadmin/version
[exec] host = localhost
[exec] version --echo=false --terse=false --user=admin --port=4848
[exec] CLIRemoteCommandParser:
[exec] **********
[exec] name = version
[exec] Options = {user=admin, port=4848}
[exec] Operands = []
[exec] **********
[exec] URI: /__asadmin/version
[exec] URL:
com.sun.enterprise.admin.cli.util.HttpConnectorAddress_at_c1186f
[exec] URL:
http://localhost:4848/__asadmin/version
[exec] host = localhost
[exec] version --echo=false --terse=false --user=admin --port=4848
[exec] CLIRemoteCommandParser:
[exec] **********
[exec] name = version
[exec] Options = {user=admin, port=4848}
[exec] Operands = []
[exec] **********
[exec] URI: /__asadmin/version
[exec] URL:
com.sun.enterprise.admin.cli.util.HttpConnectorAddress_at_2b3349
[exec] URL:
http://localhost:4848/__asadmin/version
[exec] host = localhost
[exec] version --echo=false --terse=false --user=admin --port=4848
[exec] CLIRemoteCommandParser:
[exec] **********
[exec] name = version
[exec] Options = {user=admin, port=4848}
[exec] Operands = []
[exec] **********
[exec] URI: /__asadmin/version
[exec] URL:
com.sun.enterprise.admin.cli.util.HttpConnectorAddress_at_34263a
[exec] URL:
http://localhost:4848/__asadmin/version
[exec] host = localhost
[exec] version --echo=false --terse=false --user=admin --port=4848
[exec] CLIRemoteCommandParser:
[exec] **********
[exec] name = version
[exec] Options = {user=admin, port=4848}
[exec] Operands = []
[exec] **********
[exec] URI: /__asadmin/version
[exec] URL:
com.sun.enterprise.admin.cli.util.HttpConnectorAddress_at_b9b8d0
[exec] URL:
http://localhost:4848/__asadmin/version
[exec] host = localhost
[exec] version --echo=false --terse=false --user=admin --port=4848
[exec] CLIRemoteCommandParser:
[exec] **********
[exec] name = version
[exec] Options = {user=admin, port=4848}
[exec] Operands = []
[exec] **********
[exec] URI: /__asadmin/version
[exec] URL:
com.sun.enterprise.admin.cli.util.HttpConnectorAddress_at_148603
[exec] URL:
http://localhost:4848/__asadmin/version
[exec] host = localhost
[exec] version --echo=false --terse=false --user=admin --port=4848
[exec] CLIRemoteCommandParser:
[exec] **********
[exec] name = version
[exec] Options = {user=admin, port=4848}
[exec] Operands = []
[exec] **********
[exec] URI: /__asadmin/version
[exec] URL:
com.sun.enterprise.admin.cli.util.HttpConnectorAddress_at_6a63d3
[exec] URL:
http://localhost:4848/__asadmin/version
[exec] host = localhost
[exec] version --echo=false --terse=false --user=admin --port=4848
[exec] CLIRemoteCommandParser:
[exec] **********
[exec] name = version
[exec] Options = {user=admin, port=4848}
[exec] Operands = []
[exec] **********
[exec] URI: /__asadmin/version
[exec] URL:
com.sun.enterprise.admin.cli.util.HttpConnectorAddress_at_bfed5a
[exec] URL:
http://localhost:4848/__asadmin/version
[exec] host = localhost
[exec] version --echo=false --terse=false --user=admin --port=4848
[exec] CLIRemoteCommandParser:
[exec] **********
[exec] name = version
[exec] Options = {user=admin, port=4848}
[exec] Operands = []
[exec] **********
[exec] URI: /__asadmin/version
[exec] URL:
com.sun.enterprise.admin.cli.util.HttpConnectorAddress_at_77eb97
[exec] URL:
http://localhost:4848/__asadmin/version
[exec] host = localhost
[exec] version --echo=false --terse=false --user=admin --port=4848
[exec] CLIRemoteCommandParser:
[exec] **********
[exec] name = version
[exec] Options = {user=admin, port=4848}
[exec] Operands = []
[exec] **********
[exec] URI: /__asadmin/version
[exec] URL:
com.sun.enterprise.admin.cli.util.HttpConnectorAddress_at_c3a08
[exec] URL:
http://localhost:4848/__asadmin/version
[exec] host = localhost
[exec] version --echo=false --terse=false --user=admin --port=4848
[exec] CLIRemoteCommandParser:
[exec] **********
[exec] name = version
[exec] Options = {user=admin, port=4848}
[exec] Operands = []
[exec] **********
[exec] URI: /__asadmin/version
[exec] URL:
com.sun.enterprise.admin.cli.util.HttpConnectorAddress_at_b6235b
[exec] URL:
http://localhost:4848/__asadmin/version
[exec] host = localhost
[exec] version --echo=false --terse=false --user=admin --port=4848
[exec] CLIRemoteCommandParser:
[exec] **********
[exec] name = version
[exec] Options = {user=admin, port=4848}
[exec] Operands = []
[exec] **********
[exec] URI: /__asadmin/version
[exec] URL:
com.sun.enterprise.admin.cli.util.HttpConnectorAddress_at_cb42cf
[exec] URL:
http://localhost:4848/__asadmin/version
[exec] host = localhost
[exec] version --echo=false --terse=false --user=admin --port=4848
[exec] CLIRemoteCommandParser:
[exec] **********
[exec] name = version
[exec] Options = {user=admin, port=4848}
[exec] Operands = []
[exec] **********
[exec] URI: /__asadmin/version
[exec] URL:
com.sun.enterprise.admin.cli.util.HttpConnectorAddress_at_8f2ca6
[exec] URL:
http://localhost:4848/__asadmin/version
[exec] host = localhost
[exec] version --echo=false --terse=false --user=admin --port=4848
[exec] CLIRemoteCommandParser:
[exec] **********
[exec] name = version
[exec] Options = {user=admin, port=4848}
[exec] Operands = []
[exec] **********
[exec] URI: /__asadmin/version
[exec] URL:
com.sun.enterprise.admin.cli.util.HttpConnectorAddress_at_bc4ec8
[exec] URL:
http://localhost:4848/__asadmin/version
[exec] host = localhost
[exec] version --echo=false --terse=false --user=admin --port=4848
[exec] CLIRemoteCommandParser:
[exec] **********
[exec] name = version
[exec] Options = {user=admin, port=4848}
[exec] Operands = []
[exec] **********
[exec] URI: /__asadmin/version
[exec] URL:
com.sun.enterprise.admin.cli.util.HttpConnectorAddress_at_d840d9
[exec] URL:
http://localhost:4848/__asadmin/version
[exec] host = localhost
[exec] version --echo=false --terse=false --user=admin --port=4848
[exec] CLIRemoteCommandParser:
[exec] **********
[exec] name = version
[exec] Options = {user=admin, port=4848}
[exec] Operands = []
[exec] **********
[exec] URI: /__asadmin/version
[exec] URL:
com.sun.enterprise.admin.cli.util.HttpConnectorAddress_at_898540
[exec] URL:
http://localhost:4848/__asadmin/version
[exec] host = localhost
[exec] version --echo=false --terse=false --user=admin --port=4848
[exec] CLIRemoteCommandParser:
[exec] **********
[exec] name = version
[exec] Options = {user=admin, port=4848}
[exec] Operands = []
[exec] **********
[exec] URI: /__asadmin/version
[exec] URL:
com.sun.enterprise.admin.cli.util.HttpConnectorAddress_at_8b677f
[exec] URL:
http://localhost:4848/__asadmin/version
[exec] host = localhost
[exec] version --echo=false --terse=false --user=admin --port=4848
[exec] CLIRemoteCommandParser:
[exec] **********
[exec] name = version
[exec] Options = {user=admin, port=4848}
[exec] Operands = []
[exec] **********
[exec] URI: /__asadmin/version
[exec] URL:
com.sun.enterprise.admin.cli.util.HttpConnectorAddress_at_37d490
[exec] URL:
http://localhost:4848/__asadmin/version
[exec] host = localhost
[exec] version --echo=false --terse=false --user=admin --port=4848
[exec] CLIRemoteCommandParser:
[exec] **********
[exec] name = version
[exec] Options = {user=admin, port=4848}
[exec] Operands = []
[exec] **********
[exec] URI: /__asadmin/version
[exec] URL:
com.sun.enterprise.admin.cli.util.HttpConnectorAddress_at_647278
[exec] URL:
http://localhost:4848/__asadmin/version
[exec] host = localhost
[exec] version --echo=false --terse=false --user=admin --port=4848
[exec] CLIRemoteCommandParser:
[exec] **********
[exec] name = version
[exec] Options = {user=admin, port=4848}
[exec] Operands = []
[exec] **********
[exec] URI: /__asadmin/version
[exec] URL:
com.sun.enterprise.admin.cli.util.HttpConnectorAddress_at_972e3a
[exec] URL:
http://localhost:4848/__asadmin/version
[exec] host = localhost
[exec] version --echo=false --terse=false --user=admin --port=4848
[exec] CLIRemoteCommandParser:
[exec] **********
[exec] name = version
[exec] Options = {user=admin, port=4848}
[exec] Operands = []
[exec] **********
[exec] URI: /__asadmin/version
[exec] URL:
com.sun.enterprise.admin.cli.util.HttpConnectorAddress_at_5bf624
[exec] URL:
http://localhost:4848/__asadmin/version
[exec] host = localhost
[exec] version --echo=false --terse=false --user=admin --port=4848
[exec] CLIRemoteCommandParser:
[exec] **********
[exec] name = version
[exec] Options = {user=admin, port=4848}
[exec] Operands = []
[exec] **********
[exec] URI: /__asadmin/version
[exec] URL:
com.sun.enterprise.admin.cli.util.HttpConnectorAddress_at_7cd15d
[exec] URL:
http://localhost:4848/__asadmin/version
[exec] host = localhost
[exec] version --echo=false --terse=false --user=admin --port=4848
[exec] CLIRemoteCommandParser:
[exec] **********
[exec] name = version
[exec] Options = {user=admin, port=4848}
[exec] Operands = []
[exec] **********
[exec] URI: /__asadmin/version
[exec] URL:
com.sun.enterprise.admin.cli.util.HttpConnectorAddress_at_955970
[exec] URL:
http://localhost:4848/__asadmin/version
[exec] host = localhost
[exec] version --echo=false --terse=false --user=admin --port=4848
[exec] CLIRemoteCommandParser:
[exec] **********
[exec] name = version
[exec] Options = {user=admin, port=4848}
[exec] Operands = []
[exec] **********
[exec] URI: /__asadmin/version
[exec] URL:
com.sun.enterprise.admin.cli.util.HttpConnectorAddress_at_22ce00
[exec] URL:
http://localhost:4848/__asadmin/version
[exec] ------- RAW RESPONSE ---------
[exec] Signature-Version: 1.0
[exec] exit-code: SUCCESS
[exec] message: GlassFish 10.0-SNAPSHOT (build lloyd-private)
[exec] ------- RAW RESPONSE ---------
[exec] PROCESSING MANIFEST...
[exec] GlassFish 10.0-SNAPSHOT (build lloyd-private)
[exec] Name of the domain started: [domain1] and
[exec] its location: [/v3/run/domains/domain1].
[exec] Admin port for the domain: [4848].
[exec] Command start-domain executed successfully.
start-server-felix-windows:
[echo] Sleeping for 20 seconds while the server is starting
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 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:
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] 0 descriptor = jar:file:/v3/run/modules/admin-cli-10.0-
SNAPSHOT.jar!/CLIDescriptor.xml
[exec] basePackage: com.sun.enterprise.admin.cli
[exec] propertyFile: LocalStrings
[exec] CLI001 Invalid Command, deploy.
[exec] host = localhost
[exec] deploy --echo=false --terse=false
[exec] CLIRemoteCommandParser:
[exec] **********
[exec] name = deploy
[exec] Options = {}
[exec] Operands = []
[exec] **********
[exec] URI: /__asadmin/deploy?path=hellojsf.war
[exec] URL:
com.sun.enterprise.admin.cli.util.HttpConnectorAddress_at_d86fd3
[exec] URL:
http://localhost:4848/__asadmin/deploy?path=hellojsf.war
[exec] ------- RAW RESPONSE ---------
[exec] Signature-Version: 1.0
[exec] exit-code: SUCCESS
[exec] message: null
[exec] ------- RAW RESPONSE ---------
[exec] PROCESSING MANIFEST...
[exec] Command deploy executed successfully.
deploy-v3-impl-windows:
deploy:
setOSConditions:
deploy-v3-impl:
[echo] glassfish.home is /v3/run
[echo] deploying in v3 mode
[echo] ./hellojsp
[echo] OS is Mac OS X
[echo] Please access URL
http://localhost:8080/hellojsp
deploy-v3-impl-unix:
[exec] 0 descriptor = jar:file:/v3/run/modules/admin-cli-10.0-
SNAPSHOT.jar!/CLIDescriptor.xml
[exec] basePackage: com.sun.enterprise.admin.cli
[exec] propertyFile: LocalStrings
[exec] CLI001 Invalid Command, deploy.
[exec] host = localhost
[exec] deploy --echo=false --terse=false
[exec] CLIRemoteCommandParser:
[exec] **********
[exec] name = deploy
[exec] Options = {}
[exec] Operands = []
[exec] **********
[exec] URI: /__asadmin/deploy?path=hellojsp.war
[exec] URL:
com.sun.enterprise.admin.cli.util.HttpConnectorAddress_at_d86fd3
[exec] URL:
http://localhost:4848/__asadmin/deploy?path=hellojsp.war
[exec] ------- RAW RESPONSE ---------
[exec] Signature-Version: 1.0
[exec] exit-code: SUCCESS
[exec] message: null
[exec] ------- RAW RESPONSE ---------
[exec] PROCESSING MANIFEST...
[exec] Command deploy executed successfully.
deploy-v3-impl-windows:
deploy:
setOSConditions:
deploy-v3-impl:
[echo] glassfish.home is /v3/run
[echo] deploying in v3 mode
[echo] ./jsfastrologer
[echo] OS is Mac OS X
[echo] Please access URL
http://localhost:8080/jsfastrologer
deploy-v3-impl-unix:
[exec] 0 descriptor = jar:file:/v3/run/modules/admin-cli-10.0-
SNAPSHOT.jar!/CLIDescriptor.xml
[exec] basePackage: com.sun.enterprise.admin.cli
[exec] propertyFile: LocalStrings
[exec] CLI001 Invalid Command, deploy.
[exec] host = localhost
[exec] deploy --echo=false --terse=false
[exec] CLIRemoteCommandParser:
[exec] **********
[exec] name = deploy
[exec] Options = {}
[exec] Operands = []
[exec] **********
[exec] URI: /__asadmin/deploy?path=jsfastrologer.war
[exec] URL:
com.sun.enterprise.admin.cli.util.HttpConnectorAddress_at_d86fd3
[exec] URL:
http://localhost:4848/__asadmin/deploy?path=jsfastrologer.war
[exec] ------- RAW RESPONSE ---------
[exec] Signature-Version: 1.0
[exec] exit-code: SUCCESS
[exec] message: null
[exec] ------- RAW RESPONSE ---------
[exec] PROCESSING MANIFEST...
[exec] Command deploy executed successfully.
deploy-v3-impl-windows:
deploy:
setOSConditions:
deploy-v3-impl:
[echo] glassfish.home is /v3/run
[echo] deploying in v3 mode
[echo] ./jsfinjection
[echo] OS is Mac OS X
[echo] Please access URL
http://localhost:8080/jsfinjection
deploy-v3-impl-unix:
[exec] 0 descriptor = jar:file:/v3/run/modules/admin-cli-10.0-
SNAPSHOT.jar!/CLIDescriptor.xml
[exec] basePackage: com.sun.enterprise.admin.cli
[exec] propertyFile: LocalStrings
[exec] CLI001 Invalid Command, deploy.
[exec] host = localhost
[exec] deploy --echo=false --terse=false
[exec] CLIRemoteCommandParser:
[exec] **********
[exec] name = deploy
[exec] Options = {}
[exec] Operands = []
[exec] **********
[exec] URI: /__asadmin/deploy?path=jsfinjection.war
[exec] URL:
com.sun.enterprise.admin.cli.util.HttpConnectorAddress_at_d86fd3
[exec] URL:
http://localhost:4848/__asadmin/deploy?path=jsfinjection.war
[exec] ------- RAW RESPONSE ---------
[exec] Signature-Version: 1.0
[exec] exit-code: SUCCESS
[exec] message: null
[exec] ------- RAW RESPONSE ---------
[exec] PROCESSING MANIFEST...
[exec] Command deploy executed successfully.
deploy-v3-impl-windows:
deploy:
setOSConditions:
deploy-v3-impl:
[echo] glassfish.home is /v3/run
[echo] deploying in v3 mode
[echo] ./jdbcusertx
[echo] OS is Mac OS X
[echo] Please access URL
http://localhost:8080/jdbcusertx
deploy-v3-impl-unix:
[exec] 0 descriptor = jar:file:/v3/run/modules/admin-cli-10.0-
SNAPSHOT.jar!/CLIDescriptor.xml
[exec] basePackage: com.sun.enterprise.admin.cli
[exec] propertyFile: LocalStrings
[exec] CLI001 Invalid Command, deploy.
[exec] host = localhost
[exec] deploy --echo=false --terse=false
[exec] CLIRemoteCommandParser:
[exec] **********
[exec] name = deploy
[exec] Options = {}
[exec] Operands = []
[exec] **********
[exec] URI: /__asadmin/deploy?path=jdbcusertx.war
[exec] URL:
com.sun.enterprise.admin.cli.util.HttpConnectorAddress_at_d86fd3
[exec] URL:
http://localhost:4848/__asadmin/deploy?path=jdbcusertx.war
[exec] ------- RAW RESPONSE ---------
[exec] Signature-Version: 1.0
[exec] exit-code: SUCCESS
[exec] message: null
[exec] ------- RAW RESPONSE ---------
[exec] PROCESSING MANIFEST...
[exec] Command deploy executed successfully.
deploy-v3-impl-windows:
deploy:
setOSConditions:
deploy-v3-impl:
[echo] glassfish.home is /v3/run
[echo] deploying in v3 mode
[echo] ./jpainjectemf
[echo] OS is Mac OS X
[echo] Please access URL
http://localhost:8080/jpainjectemf
deploy-v3-impl-unix:
[exec] 0 descriptor = jar:file:/v3/run/modules/admin-cli-10.0-
SNAPSHOT.jar!/CLIDescriptor.xml
[exec] basePackage: com.sun.enterprise.admin.cli
[exec] propertyFile: LocalStrings
[exec] CLI001 Invalid Command, deploy.
[exec] host = localhost
[exec] deploy --echo=false --terse=false
[exec] CLIRemoteCommandParser:
[exec] **********
[exec] name = deploy
[exec] Options = {}
[exec] Operands = []
[exec] **********
[exec] URI: /__asadmin/deploy?path=jpainjectemf.war
[exec] URL:
com.sun.enterprise.admin.cli.util.HttpConnectorAddress_at_d86fd3
[exec] URL:
http://localhost:4848/__asadmin/deploy?path=jpainjectemf.war
[exec] ------- RAW RESPONSE ---------
[exec] Signature-Version: 1.0
[exec] exit-code: SUCCESS
[exec] message: null
[exec] ------- RAW RESPONSE ---------
[exec] PROCESSING MANIFEST...
[exec] Command deploy executed successfully.
deploy-v3-impl-windows:
deploy:
setOSConditions:
deploy-v3-impl:
[echo] glassfish.home is /v3/run
[echo] deploying in v3 mode
[echo] ./hellojspsecure
[echo] OS is Mac OS X
[echo] Please access URL
http://localhost:8080/hellojspsecure
deploy-v3-impl-unix:
[exec] 0 descriptor = jar:file:/v3/run/modules/admin-cli-10.0-
SNAPSHOT.jar!/CLIDescriptor.xml
[exec] basePackage: com.sun.enterprise.admin.cli
[exec] propertyFile: LocalStrings
[exec] CLI001 Invalid Command, deploy.
[exec] host = localhost
[exec] deploy --echo=false --terse=false
[exec] CLIRemoteCommandParser:
[exec] **********
[exec] name = deploy
[exec] Options = {}
[exec] Operands = []
[exec] **********
[exec] URI: /__asadmin/deploy?path=hellojspsecure.war
[exec] URL:
com.sun.enterprise.admin.cli.util.HttpConnectorAddress_at_d86fd3
[exec] URL:
http://localhost:4848/__asadmin/deploy?path=hellojspsecure.war
[exec] ------- RAW RESPONSE ---------
[exec] Signature-Version: 1.0
[exec] exit-code: SUCCESS
[exec] message: null
[exec] ------- RAW RESPONSE ---------
[exec] PROCESSING MANIFEST...
[exec] Command deploy executed successfully.
deploy-v3-impl-windows:
compile-tests:
compile-tests:
[echo] compiling test client to ../..//classes/test
[javac] Compiling 1 source file to /v3/code/tests/quicklook/
classes/test
[javac] Note: /v3/code/tests/quicklook/classloader/hellojsf/src/
test/helloJSFTestNG.java uses or overrides a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
compile-tests:
[echo] compiling test client to ../..//classes/test
[javac] Compiling 1 source file to /v3/code/tests/quicklook/
classes/test
[javac] Note: /v3/code/tests/quicklook/web/helloworld/src/test/
HelloJSPTestNG.java uses or overrides a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
compile-tests:
[echo] compiling test client to ../..//classes/test
[javac] Compiling 1 source file to /v3/code/tests/quicklook/
classes/test
[javac] Note: /v3/code/tests/quicklook/web/jsfastrologer/src/test/
JSFWebTestNG.java uses or overrides a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
compile-tests:
[echo] compiling test client to ../..//classes/test
[javac] Compiling 1 source file to /v3/code/tests/quicklook/
classes/test
[javac] Note: /v3/code/tests/quicklook/web/jsfinjection/src/test/
JSFInjectionTestNG.java uses or overrides a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
compile-tests:
[echo] compiling test client to ../..//classes/test
[javac] Compiling 1 source file to /v3/code/tests/quicklook/
classes/test
[javac] Note: /v3/code/tests/quicklook/jdbc/jdbcusertx/src/test/
JdbcUserTxTestNG.java uses or overrides a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
compile-tests:
[echo] compiling test client to ../..//classes/test
[javac] Compiling 1 source file to /v3/code/tests/quicklook/
classes/test
[javac] Note: /v3/code/tests/quicklook/persistence/jpainjectemf/
src/test/JpaInjectEMFTestNG.java uses or overrides a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
compile-tests:
[echo] compiling test client to ../..//classes/test
[javac] Compiling 1 source file to /v3/code/tests/quicklook/
classes/test
[javac] Note: /v3/code/tests/quicklook/security/helloworld/src/
test/HelloJSPTestNG.java uses or overrides a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
initprops:
[mkdir] Created dir: /v3/code/tests/quicklook/test-output
runtest:
[echo] =============Starting TestNG functional tests from
testng.xml ============
[testng] [Parser] Running:
[testng] /v3/code/tests/quicklook/testng.xml
[testng] PASSED: createJoe
[testng] PASSED: ensureCreatedJoeExists
[testng] PASSED: deleteJoe
[testng] PASSED: createPool
[testng] PASSED: ensureCreatedPoolExists
[testng] PASSED: pingPool
[testng] PASSED: createListener
[testng] PASSED: deletedJoeDoesNotExist
[testng] PASSED: deletePool
[testng] PASSED: deletedPoolDoesNotExist
[testng] PASSED: ensureCreatedListenerExists
[testng] PASSED: deleteListener
[testng] PASSED: ensureDeletedListenerDoesNotExist
[testng] ===============================================
[testng] asadmin_tests
[testng] Tests run: 13, Failures: 0, Skips: 0
[testng] ===============================================
[testng] Running TestMethod webtest
[testng] URL is:
http://localhost:8080/hellojsf/index.jsp
[testng] Connecting to:
http://localhost:8080/hellojsf/index.jsp
[testng] java.net.ConnectException: Connection refused
[testng] at java.net.PlainSocketImpl.socketConnect(Native Method)
[testng] at
java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
[testng] at
java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
[testng] at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:
182)
[testng] at java.net.Socket.connect(Socket.java:520)
[testng] at java.net.Socket.connect(Socket.java:470)
[testng] at sun.net.NetworkClient.doConnect(NetworkClient.java:157)
[testng] at
sun.net.www.http.HttpClient.openServer(HttpClient.java:387)
[testng] at
sun.net.www.http.HttpClient.openServer(HttpClient.java:522)
[testng] at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:
639)
[testng] at sun.net.www.protocol.http.HttpURLConnection.getInputStream
(HttpURLConnection.java:957)
[testng] at
java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:367)
[testng] at
test
.classloader
.hellojsf
.helloJSFTestNG.jsfAppDeployedFirstPagetest(helloJSFTestNG.java:97)
[testng] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
[testng] at
sun
.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
39)
[testng] at
sun
.reflect
.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:
25)
[testng] at java.lang.reflect.Method.invoke(Method.java:585)
[testng] at
org.testng.internal.MethodHelper.invokeMethod(MethodHelper.java:604)
[testng] at org.testng.internal.Invoker.invokeMethod(Invoker.java:
470)
[testng] at
org.testng.internal.Invoker.invokeTestMethod(Invoker.java:564)
[testng] at
org.testng.internal.Invoker.invokeTestMethods(Invoker.java:830)
[testng] at
org
.testng
.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125)
[testng] at
org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
[testng] at org.testng.TestRunner.runWorkers(TestRunner.java:678)
[testng] at org.testng.TestRunner.privateRun(TestRunner.java:624)
[testng] at org.testng.TestRunner.run(TestRunner.java:495)
[testng] at org.testng.SuiteRunner.runTest(SuiteRunner.java:300)
[testng] at
org.testng.SuiteRunner.runSequentially(SuiteRunner.java:295)
[testng] at org.testng.SuiteRunner.privateRun(SuiteRunner.java:275)
[testng] at org.testng.SuiteRunner.run(SuiteRunner.java:190)
[testng] at
org.testng.TestNG.createAndRunSuiteRunners(TestNG.java:792)
[testng] at org.testng.TestNG.runSuitesLocally(TestNG.java:765)
[testng] at org.testng.TestNG.run(TestNG.java:699)
[testng] at org.testng.TestNG.privateMain(TestNG.java:824)
[testng] at org.testng.TestNG.main(TestNG.java:802)
[testng] java.net.ConnectException: Connection refused
[testng] at java.net.PlainSocketImpl.socketConnect(Native Method)
[testng] at
java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
[testng] at
java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
[testng] at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:
182)
[testng] at java.net.Socket.connect(Socket.java:520)
[testng] at java.net.Socket.connect(Socket.java:470)
[testng] at sun.net.NetworkClient.doConnect(NetworkClient.java:157)
[testng] at
sun.net.www.http.HttpClient.openServer(HttpClient.java:387)
[testng] at
sun.net.www.http.HttpClient.openServer(HttpClient.java:522)
[testng] at sun.net.www.http.HttpClient.<init>(HttpClient.java:231)
[testng] at sun.net.www.http.HttpClient.New(HttpClient.java:304)
[testng] at sun.net.www.http.HttpClient.New(HttpClient.java:321)
[testng] at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient
(HttpURLConnection.java:813)
[testng] at sun.net.www.protocol.http.HttpURLConnection.plainConnect
(HttpURLConnection.java:765)
[testng] at
sun
.net
.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:690)
[testng] at
test
.web.jsp.hello.HelloJSPTestNG.simpleServletTest(HelloJSPTestNG.java:194)
[testng] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
[testng] at
sun
.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
39)
[testng] at
sun
.reflect
.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:
25)
[testng] at java.lang.reflect.Method.invoke(Method.java:585)
[testng] at
org.testng.internal.MethodHelper.invokeMethod(MethodHelper.java:604)
[testng] at org.testng.internal.Invoker.invokeMethod(Invoker.java:
470)
[testng] at
org.testng.internal.Invoker.invokeTestMethod(Invoker.java:564)
[testng] at
org.testng.internal.Invoker.invokeTestMethods(Invoker.java:830)
[testng] FAILED: jsfAppDeployedFirstPagetest
[testng] java.lang.Exception: java.net.ConnectException:
Connection refused
[testng] at
test
.classloader
.hellojsf
.helloJSFTestNG.jsfAppDeployedFirstPagetest(helloJSFTestNG.java:122)
[testng] Caused by: java.net.ConnectException: Connection refused
[testng] at java.net.PlainSocketImpl.socketConnect(Native Method)
[testng] at
java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
[testng] at
java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
[testng] at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:
182)
[testng] at java.net.Socket.connect(Socket.java:520)
[testng] at java.net.Socket.connect(Socket.java:470)
[testng] at sun.net.NetworkClient.doConnect(NetworkClient.java:157)
[testng] at
sun.net.www.http.HttpClient.openServer(HttpClient.java:387)
[testng] at
sun.net.www.http.HttpClient.openServer(HttpClient.java:522)
[testng] at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:
639)
[testng] at sun.net.www.protocol.http.HttpURLConnection.getInputStream
(HttpURLConnection.java:957)
[testng] at
java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:367)
[testng] at
test
.classloader
.hellojsf
.helloJSFTestNG.jsfAppDeployedFirstPagetest(helloJSFTestNG.java:97)
[testng] ... 22 more
[testng] ... Removed 22 stack frames
[testng] ===============================================
[testng] classloader_jsf
[testng] Tests run: 1, Failures: 1, Skips: 0
[testng] ===============================================
[testng] URL is:
http://localhost:8080/hellojsp/simpleservlet
[testng] Connecting to:
http://localhost:8080/hellojsp/simpleservlet
[testng] URL is:
http://localhost:8080/hellojsp/hello.jsp
[testng] Connecting to:
http://localhost:8080/hellojsp/hello.jsp
[testng] URL is:
http://localhost:8080
[testng] Connecting to:
http://localhost:8080
[testng] at
org
.testng
.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125)
[testng] at
org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
[testng] at org.testng.TestRunner.runWorkers(TestRunner.java:678)
[testng] at org.testng.TestRunner.privateRun(TestRunner.java:624)
[testng] at org.testng.TestRunner.run(TestRunner.java:495)
[testng] at org.testng.SuiteRunner.runTest(SuiteRunner.java:300)
[testng] at
org.testng.SuiteRunner.runSequentially(SuiteRunner.java:295)
[testng] at org.testng.SuiteRunner.privateRun(SuiteRunner.java:275)
[testng] at org.testng.SuiteRunner.run(SuiteRunner.java:190)
[testng] at
org.testng.TestNG.createAndRunSuiteRunners(TestNG.java:792)
[testng] at org.testng.TestNG.runSuitesLocally(TestNG.java:765)
[testng] at org.testng.TestNG.run(TestNG.java:699)
[testng] at org.testng.TestNG.privateMain(TestNG.java:824)
[testng] </table> <h1>Your Application Server is now running</h1>
<p>To replace this page, overwrite the file <code>index.html</code> in
the default document root folder of this server. The default document
root folder is located at <var>as-install</var><code>/domains/domain1/
docroot</code>,
[testng] URL is:
http://localhost:8080/hellojsp/first.html
[testng] Connecting to:
http://localhost:8080/hellojsp/first.html
[testng] at org.testng.TestNG.main(TestNG.java:802)
[testng] java.net.ConnectException: Connection refused
[testng] at java.net.PlainSocketImpl.socketConnect(Native Method)
[testng] at
java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
[testng] at
java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
[testng] at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:
182)
[testng] at java.net.Socket.connect(Socket.java:520)
[testng] at java.net.Socket.connect(Socket.java:470)
[testng] at sun.net.NetworkClient.doConnect(NetworkClient.java:157)
[testng] at
sun.net.www.http.HttpClient.openServer(HttpClient.java:387)
[testng] at
sun.net.www.http.HttpClient.openServer(HttpClient.java:522)
[testng] at sun.net.www.http.HttpClient.<init>(HttpClient.java:231)
[testng] at sun.net.www.http.HttpClient.New(HttpClient.java:304)
[testng] at sun.net.www.http.HttpClient.New(HttpClient.java:321)
[testng] at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient
(HttpURLConnection.java:813)
[testng] at sun.net.www.protocol.http.HttpURLConnection.plainConnect
(HttpURLConnection.java:765)
[testng] at
sun
.net
.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:690)
[testng] at
test
.web.jsp.hello.HelloJSPTestNG.simpleJSPTestPage(HelloJSPTestNG.java:83)
[testng] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
[testng] at
sun
.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
39)
[testng] at
sun
.reflect
.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:
25)
[testng] at java.lang.reflect.Method.invoke(Method.java:585)
[testng] at
org.testng.internal.MethodHelper.invokeMethod(MethodHelper.java:604)
[testng] at org.testng.internal.Invoker.invokeMethod(Invoker.java:
470)
[testng] at
org.testng.internal.Invoker.invokeTestMethod(Invoker.java:564)
[testng] at
org.testng.internal.Invoker.invokeTestMethods(Invoker.java:830)
[testng] at
org
.testng
.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125)
[testng] at
org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
[testng] at org.testng.TestRunner.runWorkers(TestRunner.java:678)
[testng] at org.testng.TestRunner.privateRun(TestRunner.java:624)
[testng] at org.testng.TestRunner.run(TestRunner.java:495)
[testng] at org.testng.SuiteRunner.runTest(SuiteRunner.java:300)
[testng] at
org.testng.SuiteRunner.runSequentially(SuiteRunner.java:295)
[testng] at org.testng.SuiteRunner.privateRun(SuiteRunner.java:275)
[testng] at org.testng.SuiteRunner.run(SuiteRunner.java:190)
[testng] at
org.testng.TestNG.createAndRunSuiteRunners(TestNG.java:792)
[testng] at org.testng.TestNG.runSuitesLocally(TestNG.java:765)
[testng] at org.testng.TestNG.run(TestNG.java:699)
[testng] at org.testng.TestNG.privateMain(TestNG.java:824)
[testng] at org.testng.TestNG.main(TestNG.java:802)
[testng] Welcome to HTML Test Program. This tests following thing
[testng] PASSED: testServerRunning
[testng] PASSED: staticHTMLPageTest
[testng] FAILED: simpleServletTest
[testng] java.lang.Exception: java.net.ConnectException:
Connection refused
[testng] at
test
.web.jsp.hello.HelloJSPTestNG.simpleServletTest(HelloJSPTestNG.java:218)
[testng] Caused by: java.net.ConnectException: Connection refused
[testng] at java.net.PlainSocketImpl.socketConnect(Native Method)
[testng] at
java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
[testng] at
java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
[testng] at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:
182)
[testng] at java.net.Socket.connect(Socket.java:520)
[testng] at java.net.Socket.connect(Socket.java:470)
[testng] at sun.net.NetworkClient.doConnect(NetworkClient.java:157)
[testng] at
sun.net.www.http.HttpClient.openServer(HttpClient.java:387)
[testng] at
sun.net.www.http.HttpClient.openServer(HttpClient.java:522)
[testng] at sun.net.www.http.HttpClient.<init>(HttpClient.java:231)
[testng] at sun.net.www.http.HttpClient.New(HttpClient.java:304)
[testng] at sun.net.www.http.HttpClient.New(HttpClient.java:321)
[testng] at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient
(HttpURLConnection.java:813)
[testng] at sun.net.www.protocol.http.HttpURLConnection.plainConnect
(HttpURLConnection.java:765)
[testng] at
sun
.net
.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:690)
[testng] at
test
.web.jsp.hello.HelloJSPTestNG.simpleServletTest(HelloJSPTestNG.java:194)
[testng] ... 22 more
[testng] ... Removed 22 stack frames
[testng] FAILED: simpleJSPTestPage
[testng] java.lang.Exception: java.net.ConnectException:
Connection refused
[testng] at
test
.web.jsp.hello.HelloJSPTestNG.simpleJSPTestPage(HelloJSPTestNG.java:108)
[testng] Caused by: java.net.ConnectException: Connection refused
[testng] at java.net.PlainSocketImpl.socketConnect(Native Method)
[testng] at
java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
[testng] at
java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
[testng] at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:
182)
[testng] at java.net.Socket.connect(Socket.java:520)
[testng] at java.net.Socket.connect(Socket.java:470)
[testng] at sun.net.NetworkClient.doConnect(NetworkClient.java:157)
[testng] at
sun.net.www.http.HttpClient.openServer(HttpClient.java:387)
[testng] at
sun.net.www.http.HttpClient.openServer(HttpClient.java:522)
[testng] at sun.net.www.http.HttpClient.<init>(HttpClient.java:231)
[testng] at sun.net.www.http.HttpClient.New(HttpClient.java:304)
[testng] at sun.net.www.http.HttpClient.New(HttpClient.java:321)
[testng] at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient
(HttpURLConnection.java:813)
[testng] at sun.net.www.protocol.http.HttpURLConnection.plainConnect
(HttpURLConnection.java:765)
[testng] at
sun
.net
.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:690)
[testng] at
test
.web.jsp.hello.HelloJSPTestNG.simpleJSPTestPage(HelloJSPTestNG.java:83)
[testng] ... 22 more
[testng] ... Removed 22 stack frames
[testng] ===============================================
[testng] web_jspservlet_war
[testng] Tests run: 4, Failures: 2, Skips: 0
[testng] ===============================================
[testng] Running TestMethod SimpleHTMLTest
[testng] URL is:
http://localhost:8080/jsfastrologer/index.jsp
[testng] Connecting to:
http://localhost:8080/jsfastrologer/
index.jsp
[testng] <a href="./faces/greetings.jsp">JavaServer Faces
Greetings Page</a>
[testng] Running TestMethod webtest
[testng] URL is:
http://localhost:8080/jsfastrologer/faces/greetings.jsp
[testng] Connecting to:
http://localhost:8080/jsfastrologer/faces/greetings.jsp
[testng] PASSED: jsfIndexPageBasicTest
[testng] PASSED: jsfAppDeployedFirstPagetest
[testng] ===============================================
[testng] jsf_hello_world
[testng] Tests run: 2, Failures: 0, Skips: 0
[testng] ===============================================
[testng] URL is:
http://localhost:8080/jsfinjection/jsfHello.jsf
[testng] Connecting to:
http://localhost:8080/jsfinjection/jsfHello.jsf
[testng] Connected: 200
[testng] Received: If injection worked, this sentence
should be followed by the injected words -> Injected entry <br>
[testng] Received: If second injection worked, this
sentence should be followed by 'a non-negative number' === 0
[testng] injectedNumber = 0
[testng] Injection2 matched.
[testng] PASSED: injectedValuesTestPage
[testng] ===============================================
[testng] jsf_injection
[testng] Tests run: 1, Failures: 0, Skips: 0
[testng] ===============================================
[testng] Connecting to:
http://localhost:8080/jdbcusertx/MyServlet?testcase=noleak
[testng] Test Name:Pass<br>no-leak-test:true<br>
[testng] Connecting to:
http://localhost:8080/jdbcusertx/MyServlet?testcase=usertx
[testng] Test Name:Pass<br>user-tx-commit:true<br>user-tx-
rollback:true<br>
[testng] PASSED: testNoLeak
[testng] PASSED: testUserTx
[testng] ===============================================
[testng] jdbc_user_tx
[testng] Tests run: 2, Failures: 0, Skips: 0
[testng] ===============================================
[testng] url=
http://localhost:8080/jpainjectemf/jpa?testcase=llinit
[testng] url=
http://localhost:8080/jpainjectemf/jpa?testcase=llquery
[testng] PASSED: test1
[testng] PASSED: test2
[testng] ===============================================
[testng] jpa_inject_emf
[testng] Tests run: 2, Failures: 0, Skips: 0
[testng] ===============================================
[testng] URL is:
http://localhost:8080/hellojspsecure/simpleservlet
[testng] Connecting to:
http://localhost:8080/hellojspsecure/simpleservlet
[testng] Anonymous Client access Denied
[testng] URL is:
http://localhost:8080/hellojspsecure/first.html
[testng] Connecting to:
http://localhost:8080/hellojspsecure/first.html
[testng] Anonymous Client access Denied
[testng] URL is:
http://localhost:8080/hellojspsecure/hello.jsp
[testng] Connecting to:
http://localhost:8080/hellojspsecure/hello.jsp
[testng] Anonymous Client access Denied
[testng] URL is:
http://localhost:8080
[testng] Connecting to:
http://localhost:8080
[testng] </table> <h1>Your Application Server is now running</h1>
<p>To replace this page, overwrite the file <code>index.html</code> in
the default document root folder of this server. The default document
root folder is located at <var>as-install</var><code>/domains/domain1/
docroot</code>,
[testng] PASSED: simpleServletTest
[testng] PASSED: staticHTMLPageTest
[testng] PASSED: simpleJSPTestPage
[testng] PASSED: testServerRunning
[testng] ===============================================
[testng] security_hello_jsp
[testng] Tests run: 4, Failures: 0, Skips: 0
[testng] ===============================================
[testng] ===============================================
[testng] FunctionalTests
[testng] Total tests run: 29, Failures: 3, Skips: 0
[testng] ===============================================
undeploy:
undeploy:
setOSConditions:
undeploy-v3-impl:
[echo] undeploying in v3 mode
[echo] ./hellojsf
undeploy-v3-impl-unix:
[exec] 0 descriptor = jar:file:/v3/run/modules/admin-cli-10.0-
SNAPSHOT.jar!/CLIDescriptor.xml
[exec] basePackage: com.sun.enterprise.admin.cli
[exec] propertyFile: LocalStrings
[exec] CLI001 Invalid Command, undeploy.
[exec] host = localhost
[exec] undeploy --echo=false --terse=false hellojsf
[exec] CLIRemoteCommandParser:
[exec] **********
[exec] name = undeploy
[exec] Options = {}
[exec] Operands = [hellojsf]
[exec] **********
[exec] URI: /__asadmin/undeploy?DEFAULT=hellojsf
[exec] URL:
com.sun.enterprise.admin.cli.util.HttpConnectorAddress_at_afae45
[exec] URL:
http://localhost:4848/__asadmin/undeploy?DEFAULT=hellojsf
[exec] ------- RAW RESPONSE ---------
[exec] Signature-Version: 1.0
[exec] exit-code: SUCCESS
[exec] message: null
[exec] ------- RAW RESPONSE ---------
[exec] PROCESSING MANIFEST...
[exec] Command undeploy executed successfully.
undeploy-v3-impl-windows:
undeploy:
setOSConditions:
undeploy-v3-impl:
[echo] undeploying in v3 mode
[echo] ./hellojsp
undeploy-v3-impl-unix:
[exec] 0 descriptor = jar:file:/v3/run/modules/admin-cli-10.0-
SNAPSHOT.jar!/CLIDescriptor.xml
[exec] basePackage: com.sun.enterprise.admin.cli
[exec] propertyFile: LocalStrings
[exec] CLI001 Invalid Command, undeploy.
[exec] host = localhost
[exec] undeploy --echo=false --terse=false hellojsp
[exec] CLIRemoteCommandParser:
[exec] **********
[exec] name = undeploy
[exec] Options = {}
[exec] Operands = [hellojsp]
[exec] **********
[exec] URI: /__asadmin/undeploy?DEFAULT=hellojsp
[exec] URL:
com.sun.enterprise.admin.cli.util.HttpConnectorAddress_at_afae45
[exec] URL:
http://localhost:4848/__asadmin/undeploy?DEFAULT=hellojsp
[exec] ------- RAW RESPONSE ---------
[exec] Signature-Version: 1.0
[exec] exit-code: SUCCESS
[exec] message: null
[exec] ------- RAW RESPONSE ---------
[exec] PROCESSING MANIFEST...
[exec] Command undeploy executed successfully.
undeploy-v3-impl-windows:
undeploy:
setOSConditions:
undeploy-v3-impl:
[echo] undeploying in v3 mode
[echo] ./jsfastrologer
undeploy-v3-impl-unix:
[exec] 0 descriptor = jar:file:/v3/run/modules/admin-cli-10.0-
SNAPSHOT.jar!/CLIDescriptor.xml
[exec] basePackage: com.sun.enterprise.admin.cli
[exec] propertyFile: LocalStrings
[exec] CLI001 Invalid Command, undeploy.
[exec] host = localhost
[exec] undeploy --echo=false --terse=false jsfastrologer
[exec] CLIRemoteCommandParser:
[exec] **********
[exec] name = undeploy
[exec] Options = {}
[exec] Operands = [jsfastrologer]
[exec] **********
[exec] URI: /__asadmin/undeploy?DEFAULT=jsfastrologer
[exec] URL:
com.sun.enterprise.admin.cli.util.HttpConnectorAddress_at_afae45
[exec] URL:
http://localhost:4848/__asadmin/undeploy?DEFAULT=jsfastrologer
[exec] ------- RAW RESPONSE ---------
[exec] Signature-Version: 1.0
[exec] exit-code: SUCCESS
[exec] message: null
[exec] ------- RAW RESPONSE ---------
[exec] PROCESSING MANIFEST...
[exec] Command undeploy executed successfully.
undeploy-v3-impl-windows:
undeploy:
setOSConditions:
undeploy-v3-impl:
[echo] undeploying in v3 mode
[echo] ./jsfinjection
undeploy-v3-impl-unix:
[exec] 0 descriptor = jar:file:/v3/run/modules/admin-cli-10.0-
SNAPSHOT.jar!/CLIDescriptor.xml
[exec] basePackage: com.sun.enterprise.admin.cli
[exec] propertyFile: LocalStrings
[exec] CLI001 Invalid Command, undeploy.
[exec] host = localhost
[exec] undeploy --echo=false --terse=false jsfinjection
[exec] CLIRemoteCommandParser:
[exec] **********
[exec] name = undeploy
[exec] Options = {}
[exec] Operands = [jsfinjection]
[exec] **********
[exec] URI: /__asadmin/undeploy?DEFAULT=jsfinjection
[exec] URL:
com.sun.enterprise.admin.cli.util.HttpConnectorAddress_at_afae45
[exec] URL:
http://localhost:4848/__asadmin/undeploy?DEFAULT=jsfinjection
[exec] ------- RAW RESPONSE ---------
[exec] Signature-Version: 1.0
[exec] exit-code: SUCCESS
[exec] message: null
[exec] ------- RAW RESPONSE ---------
[exec] PROCESSING MANIFEST...
[exec] Command undeploy executed successfully.
undeploy-v3-impl-windows:
undeploy:
setOSConditions:
undeploy-v3-impl:
[echo] undeploying in v3 mode
[echo] ./jdbcusertx
undeploy-v3-impl-unix:
[exec] 0 descriptor = jar:file:/v3/run/modules/admin-cli-10.0-
SNAPSHOT.jar!/CLIDescriptor.xml
[exec] basePackage: com.sun.enterprise.admin.cli
[exec] propertyFile: LocalStrings
[exec] CLI001 Invalid Command, undeploy.
[exec] host = localhost
[exec] undeploy --echo=false --terse=false jdbcusertx
[exec] CLIRemoteCommandParser:
[exec] **********
[exec] name = undeploy
[exec] Options = {}
[exec] Operands = [jdbcusertx]
[exec] **********
[exec] URI: /__asadmin/undeploy?DEFAULT=jdbcusertx
[exec] URL:
com.sun.enterprise.admin.cli.util.HttpConnectorAddress_at_afae45
[exec] URL:
http://localhost:4848/__asadmin/undeploy?DEFAULT=jdbcusertx
[exec] ------- RAW RESPONSE ---------
[exec] Signature-Version: 1.0
[exec] exit-code: SUCCESS
[exec] message: null
[exec] ------- RAW RESPONSE ---------
[exec] PROCESSING MANIFEST...
[exec] Command undeploy executed successfully.
undeploy-v3-impl-windows:
undeploy:
setOSConditions:
undeploy-v3-impl:
[echo] undeploying in v3 mode
[echo] ./jpainjectemf
undeploy-v3-impl-unix:
[exec] 0 descriptor = jar:file:/v3/run/modules/admin-cli-10.0-
SNAPSHOT.jar!/CLIDescriptor.xml
[exec] basePackage: com.sun.enterprise.admin.cli
[exec] propertyFile: LocalStrings
[exec] CLI001 Invalid Command, undeploy.
[exec] host = localhost
[exec] undeploy --echo=false --terse=false jpainjectemf
[exec] CLIRemoteCommandParser:
[exec] **********
[exec] name = undeploy
[exec] Options = {}
[exec] Operands = [jpainjectemf]
[exec] **********
[exec] URI: /__asadmin/undeploy?DEFAULT=jpainjectemf
[exec] URL:
com.sun.enterprise.admin.cli.util.HttpConnectorAddress_at_afae45
[exec] URL:
http://localhost:4848/__asadmin/undeploy?DEFAULT=jpainjectemf
[exec] ------- RAW RESPONSE ---------
[exec] Signature-Version: 1.0
[exec] exit-code: SUCCESS
[exec] message: null
[exec] ------- RAW RESPONSE ---------
[exec] PROCESSING MANIFEST...
[exec] Command undeploy executed successfully.
undeploy-v3-impl-windows:
undeploy:
setOSConditions:
undeploy-v3-impl:
[echo] undeploying in v3 mode
[echo] ./hellojspsecure
undeploy-v3-impl-unix:
[exec] 0 descriptor = jar:file:/v3/run/modules/admin-cli-10.0-
SNAPSHOT.jar!/CLIDescriptor.xml
[exec] basePackage: com.sun.enterprise.admin.cli
[exec] propertyFile: LocalStrings
[exec] CLI001 Invalid Command, undeploy.
[exec] host = localhost
[exec] undeploy --echo=false --terse=false hellojspsecure
[exec] CLIRemoteCommandParser:
[exec] **********
[exec] name = undeploy
[exec] Options = {}
[exec] Operands = [hellojspsecure]
[exec] **********
[exec] URI: /__asadmin/undeploy?DEFAULT=hellojspsecure
[exec] URL:
com.sun.enterprise.admin.cli.util.HttpConnectorAddress_at_afae45
[exec] URL:
http://localhost:4848/__asadmin/undeploy?DEFAULT=hellojspsecure
[exec] ------- RAW RESPONSE ---------
[exec] Signature-Version: 1.0
[exec] exit-code: SUCCESS
[exec] message: null
[exec] ------- RAW RESPONSE ---------
[exec] PROCESSING MANIFEST...
[exec] Command undeploy executed successfully.
undeploy-v3-impl-windows:
setOSConditions:
stop-server:
[echo] stopping server
stop-server-unix:
[exec] 0 descriptor = jar:file:/v3/run/modules/admin-cli-10.0-
SNAPSHOT.jar!/CLIDescriptor.xml
[exec] basePackage: com.sun.enterprise.admin.cli
[exec] propertyFile: LocalStrings
[exec] **** insert Default Options terse false
[exec] **** insert Default Options echo false
[exec] **** insert Environment Options user admin
[exec] host = localhost
[exec] version --echo=false --terse=false --user=admin --port=4848
[exec] CLIRemoteCommandParser:
[exec] **********
[exec] name = version
[exec] Options = {user=admin, port=4848}
[exec] Operands = []
[exec] **********
[exec] URI: /__asadmin/version
[exec] URL:
com.sun.enterprise.admin.cli.util.HttpConnectorAddress_at_c16b18
[exec] URL:
http://localhost:4848/__asadmin/version
[exec] ------- RAW RESPONSE ---------
[exec] Signature-Version: 1.0
[exec] exit-code: SUCCESS
[exec] message: GlassFish 10.0-SNAPSHOT (build lloyd-private)
[exec] ------- RAW RESPONSE ---------
[exec] PROCESSING MANIFEST...
[exec] GlassFish 10.0-SNAPSHOT (build lloyd-private)
[exec] host = localhost
[exec] stop-domain --echo=false --terse=false --user=admin --
port=4848
[exec] CLIRemoteCommandParser:
[exec] **********
[exec] name = stop-domain
[exec] Options = {user=admin, port=4848}
[exec] Operands = []
[exec] **********
[exec] URI: /__asadmin/stop-domain
[exec] URL:
com.sun.enterprise.admin.cli.util.HttpConnectorAddress_at_64b9b6
[exec] URL:
http://localhost:4848/__asadmin/stop-domain
[exec] ------- RAW RESPONSE ---------
[exec] Signature-Version: 1.0
[exec] exit-code: SUCCESS
[exec] message: stop-domain launch successful
[exec] ------- RAW RESPONSE ---------
[exec] PROCESSING MANIFEST...
[exec] stop-domain launch successful
[exec] pingPort got Exception: java.net.ConnectException:
Connection refused
[exec] Command stop-domain executed successfully.
[exec] Waiting for the domain to stop ..
stop-server-windows:
initprop:
[echo] JavaDB Database Location: /v3/run/javadb
stopDerby:
[echo] Stopping Derby DB servers in the Network Mode
[java] Apache Derby Network Server - 10.2.2.1 - (538595)
shutdown at 2008-09-08 21:21:53.016 GMT
[echo] Finished stopping datbase
[move] Moving 40 files to /v3/code/tests/quicklook
[INFO] Executed tasks
[INFO]
------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 1 minute 3 seconds
[INFO] Finished at: Mon Sep 08 14:21:53 PDT 2008
[INFO] Final Memory: 7M/16M
[INFO]
------------------------------------------------------------------------
MB2:quicklook lloyd$
On Sep 8, 2008, at 2:16 PM, Jerome Dochez wrote:
> most likely the deployment of that application did not go through.
> do you see an exception in the server log ?
>
> Ming, could you modify the QL so it stops when deployment of one of
> the tests fail. there is really no point in continuing the test run
> in such a case.
>
> jerome
>
> Carla Mott wrote:
>>
>> Under what conditions would I get a Connection refused error
>> below? It seems it is random. The web_jspservlet_war tests were
>> failing some times all and sometimes 2. When I updated my
>> quicklook workspace I see that the classloader_jsf test is failing
>> with the same exception and all the web_jspservlet_war tests are
>> now passing. There were no changes to the web_jspservlet_war tests
>> with the update.
>>
>> Nothing in the server.log files indicates that there is a problem.
>>
>> Anyone have any ideas what is going on?
>>
>> Thanks,
>> Carla
>>
>>
>> java.lang.Exception: java.net.ConnectException: Connection refused
>> at
>> test
>> .classloader
>> .hellojsf
>> .helloJSFTestNG.jsfAppDeployedFirstPagetest(helloJSFTestNG.java:122)
>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> at
>> sun
>> .reflect
>> .NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>> at
>> sun
>> .reflect
>> .DelegatingMethodAccessorImpl
>> .invoke(DelegatingMethodAccessorImpl.java:25)
>> at java.lang.reflect.Method.invoke(Method.java:585)
>> at
>> org.testng.internal.MethodHelper.invokeMethod(MethodHelper.java:604)
>> at org.testng.internal.Invoker.invokeMethod(Invoker.java:470)
>> at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:564)
>> at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:830)
>> at
>> org
>> .testng
>> .internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:
>> 125)
>> at
>> org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
>> at org.testng.TestRunner.runWorkers(TestRunner.java:678)
>> at org.testng.TestRunner.privateRun(TestRunner.java:624)
>> at org.testng.TestRunner.run(TestRunner.java:495)
>> at org.testng.SuiteRunner.runTest(SuiteRunner.java:300)
>> at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:295)
>> at org.testng.SuiteRunner.privateRun(SuiteRunner.java:275)
>> at org.testng.SuiteRunner.run(SuiteRunner.java:190)
>> at org.testng.TestNG.createAndRunSuiteRunners(TestNG.java:792)
>> at org.testng.TestNG.runSuitesLocally(TestNG.java:765)
>> at org.testng.TestNG.run(TestNG.java:699)
>> at org.testng.TestNG.privateMain(TestNG.java:824)
>> at org.testng.TestNG.main(TestNG.java:802)
>> Caused by: java.net.ConnectException: Connection refused
>> at java.net.PlainSocketImpl.socketConnect(Native Method)
>> at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
>> at
>> java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
>> at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
>> at java.net.Socket.connect(Socket.java:520)
>> at java.net.Socket.connect(Socket.java:470)
>> at sun.net.NetworkClient.doConnect(NetworkClient.java:157)
>> at sun.net.www.http.HttpClient.openServer(HttpClient.java:387)
>> at sun.net.www.http.HttpClient.openServer(HttpClient.java:522)
>> at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:639)
>> at
>> sun
>> .net
>> .www
>> .protocol
>> .http.HttpURLConnection.getInputStream(HttpURLConnection.java:957)
>> at
>> java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:
>> 367)
>> at
>> test
>> .classloader
>> .hellojsf
>> .helloJSFTestNG.jsfAppDeployedFirstPagetest(helloJSFTestNG.java:97)
>> ... 22 more
>>
>>
>> ---------------------------------------------------------------------
>> 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
>