Buildfile: build.xml setdefaultmode: [echo] So you are using Platform Edition print-props: [echo] admin.user=admin [echo] admin.port=4848 [echo] admin.domain=domain1 [echo] appserver.instance.name=server setOSConditions: setToolWin: setToolUnix: setToolProperty: setS1ASclassPath: [echo] Workaround for early v3: create directories... setS1AS80classPath: setS1WSclassPath: setJWSDPclassPath: setTimeStamp: init-password-file: init-common: init-password-file: create-password-file: create-report-dir: clean: [delete] Deleting directory /export1/sonia/appserver-sqe/build/pe/sparc_jed-asqe-2_SunOS/sec/classes compile: setdefaultmode: setOSConditions: setToolWin: setToolUnix: setToolProperty: setS1ASclassPath: setS1AS80classPath: setS1WSclassPath: setJWSDPclassPath: setTimeStamp: init-password-file: init-common: init-password-file: create-password-file: create-report-dir: compile-common: setdefaultmode: setOSConditions: setToolWin: setToolUnix: setToolProperty: setS1ASclassPath: setS1AS80classPath: setS1WSclassPath: setJWSDPclassPath: setTimeStamp: init-password-file: init-common: init-password-file: create-password-file: create-report-dir: compile-common-as: [mkdir] Created dir: /export1/sonia/appserver-sqe/build/pe/sparc_jed-asqe-2_SunOS/sec/classes [echo] sqe-common.xml: Compiling test source files [javac] Compiling 6 source files to /export1/sonia/appserver-sqe/build/pe/sparc_jed-asqe-2_SunOS/sec/classes setdefaultmode: setOSConditions: setToolWin: setToolUnix: setToolProperty: setS1ASclassPath: setS1AS80classPath: setS1WSclassPath: setJWSDPclassPath: setTimeStamp: init-password-file: init-common: init-password-file: create-password-file: create-report-dir: compile-common-as80: setdefaultmode: setOSConditions: setToolWin: setToolUnix: setToolProperty: setS1ASclassPath: setS1AS80classPath: setS1WSclassPath: setJWSDPclassPath: setTimeStamp: init-password-file: init-common: init-password-file: create-password-file: create-report-dir: compile-common: setdefaultmode: setOSConditions: setToolWin: setToolUnix: setToolProperty: setS1ASclassPath: setS1AS80classPath: setS1WSclassPath: setJWSDPclassPath: setTimeStamp: init-password-file: init-common: init-password-file: create-password-file: create-report-dir: compile-common-as: [echo] sqe-common.xml: Compiling test source files [javac] Compiling 1 source file to /export1/sonia/appserver-sqe/build/pe/sparc_jed-asqe-2_SunOS/sec/classes setdefaultmode: setOSConditions: setToolWin: setToolUnix: setToolProperty: setS1ASclassPath: setS1AS80classPath: setS1WSclassPath: setJWSDPclassPath: setTimeStamp: init-password-file: init-common: init-password-file: create-password-file: create-report-dir: compile-common-as80: build: setdefaultmode: setOSConditions: setToolWin: setToolUnix: setToolProperty: setS1ASclassPath: setS1AS80classPath: setS1WSclassPath: setJWSDPclassPath: setTimeStamp: init-password-file: init-common: init-password-file: create-password-file: create-report-dir: ejb-jar-common: [mkdir] Created dir: /export1/sonia/appserver-sqe/build/pe/sparc_jed-asqe-2_SunOS/sec/archive package-ejbjar-common: [echo] sqe-common.xml: Generating ejb-jar inside build directory [mkdir] Created dir: /export1/sonia/appserver-sqe/build/pe/sparc_jed-asqe-2_SunOS/sec/classes/META-INF [mkdir] Created dir: /export1/sonia/appserver-sqe/build/pe/sparc_jed-asqe-2_SunOS/sec/classes/META-INF/wsdl [copy] Copying 1 file to /export1/sonia/appserver-sqe/build/pe/sparc_jed-asqe-2_SunOS/sec/classes/META-INF [copy] Copying 1 file to /export1/sonia/appserver-sqe/build/pe/sparc_jed-asqe-2_SunOS/sec/classes/META-INF [copy] Warning: Could not find file /export1/sonia/appserver-sqe/pe/security/as7/webslrunas/descriptor/sun-cmp-mappings.xml to copy. [copy] Warning: Could not find file /export1/sonia/appserver-sqe/pe/security/as7/webslrunas/${dbschema} to copy. [copy] Warning: Could not find file /export1/sonia/appserver-sqe/pe/security/as7/webslrunas/${webservices.xml} to copy. [copy] Warning: Could not find file /export1/sonia/appserver-sqe/pe/security/as7/webslrunas/${webservices.wsdl} to copy. [copy] Warning: Could not find file /export1/sonia/appserver-sqe/pe/security/as7/webslrunas/${mapping.xml} to copy. [copy] Warning: Could not find file /export1/sonia/appserver-sqe/pe/security/as7/webslrunas/${sun-resources-ejb.xml} to copy. [jar] Building jar: /export1/sonia/appserver-sqe/build/pe/sparc_jed-asqe-2_SunOS/sec/archive/sec-webslrunas-ejb.jar [delete] Deleting directory /export1/sonia/appserver-sqe/build/pe/sparc_jed-asqe-2_SunOS/sec/classes/META-INF build-ear-war: setdefaultmode: setOSConditions: setToolWin: setToolUnix: setToolProperty: setS1ASclassPath: setS1AS80classPath: setS1WSclassPath: setJWSDPclassPath: setTimeStamp: init-password-file: init-common: init-password-file: create-password-file: create-report-dir: webclient-war-common: package-war-common: package-war-with-sun.xml: [echo] my build classes dir is:/export1/sonia/appserver-sqe/build/pe/sparc_jed-asqe-2_SunOS/sec/classes [mkdir] Created dir: /export1/sonia/appserver-sqe/build/pe/sparc_jed-asqe-2_SunOS/sec/classes/tmp [mkdir] Created dir: /export1/sonia/appserver-sqe/build/pe/sparc_jed-asqe-2_SunOS/sec/classes/tmp/WEB-INF [mkdir] Created dir: /export1/sonia/appserver-sqe/build/pe/sparc_jed-asqe-2_SunOS/sec/classes/tmp/META-INF [mkdir] Created dir: /export1/sonia/appserver-sqe/build/pe/sparc_jed-asqe-2_SunOS/sec/classes/tmp/WEB-INF/classes [copy] Copying 1 file to /export1/sonia/appserver-sqe/build/pe/sparc_jed-asqe-2_SunOS/sec/classes/tmp/WEB-INF [copy] Warning: Could not find file /export1/sonia/appserver-sqe/pe/security/as7/webslrunas/${sun-resources-war.xml} to copy. [copy] Warning: Could not find file /export1/sonia/appserver-sqe/pe/security/as7/webslrunas/${webservices.xml} to copy. [copy] Warning: Could not find file /export1/sonia/appserver-sqe/pe/security/as7/webslrunas/${mappingfile.location}/${mappingfile.name} to copy. [copy] Warning: Could not find file /export1/sonia/appserver-sqe/pe/security/as7/webslrunas/${wsdlfile.location}/${wsdlfile.name} to copy. [copy] Warning: /export1/sonia/appserver-sqe/pe/security/as7/webslrunas/${wsdlfile.location} not found. [copy] Copying 1 file to /export1/sonia/appserver-sqe/build/pe/sparc_jed-asqe-2_SunOS/sec/classes/tmp/WEB-INF [copy] Copying 9 files to /export1/sonia/appserver-sqe/build/pe/sparc_jed-asqe-2_SunOS/sec/classes/tmp/WEB-INF/classes [echo] Creating war file /export1/sonia/appserver-sqe/build/pe/sparc_jed-asqe-2_SunOS/sec/archive/sec-webslrunas-web.war [jar] Building jar: /export1/sonia/appserver-sqe/build/pe/sparc_jed-asqe-2_SunOS/sec/archive/sec-webslrunas-web.war [echo] created war file /export1/sonia/appserver-sqe/build/pe/sparc_jed-asqe-2_SunOS/sec/archive/sec-webslrunas-web.war [delete] Deleting directory /export1/sonia/appserver-sqe/build/pe/sparc_jed-asqe-2_SunOS/sec/classes/tmp/WEB-INF [delete] Deleting directory /export1/sonia/appserver-sqe/build/pe/sparc_jed-asqe-2_SunOS/sec/classes/tmp/META-INF [echo] my webclient war classes are:**/*Servlet*.class package-war-without-sun.xml: [mkdir] Created dir: /export1/sonia/appserver-sqe/build/pe/sparc_jed-asqe-2_SunOS/sec/archive/META-INF [mkdir] Created dir: /export1/sonia/appserver-sqe/build/pe/sparc_jed-asqe-2_SunOS/sec/archive/lib [copy] Copying 1 file to /export1/sonia/appserver-sqe/build/pe/sparc_jed-asqe-2_SunOS/sec/archive/META-INF [copy] Copying 1 file to /export1/sonia/appserver-sqe/build/pe/sparc_jed-asqe-2_SunOS/sec/archive/lib [ear] Building ear: /export1/sonia/appserver-sqe/build/pe/sparc_jed-asqe-2_SunOS/sec/archive/sec-webslrunasApp.ear setdefaultmode: setOSConditions: setToolWin: setToolUnix: setToolProperty: setS1ASclassPath: setS1AS80classPath: setS1WSclassPath: setJWSDPclassPath: setTimeStamp: init-password-file: init-common: init-password-file: create-password-file: create-report-dir: deploy: setdefaultmode: setOSConditions: setToolWin: setToolUnix: setToolProperty: setS1ASclassPath: setS1AS80classPath: setS1WSclassPath: setJWSDPclassPath: setTimeStamp: init-password-file: init-common: init-password-file: create-password-file: create-report-dir: deploy-common: setdefaultmode: setOSConditions: setToolWin: setToolUnix: setToolProperty: setS1ASclassPath: setS1AS80classPath: setS1WSclassPath: setJWSDPclassPath: setTimeStamp: init-password-file: init-common: init-password-file: create-password-file: create-report-dir: deploy-common-pe: [exec] Deprecated syntax, instead use: [exec] asadmin --port 4848 --host localhost --passwordfile /export1/sonia/appserver-sqe/build-config/adminpassword.txt --echo --user admin --terse=false deploy [options] ... [exec] asadmin --host localhost --port 4848 --user admin --passwordfile /export1/sonia/appserver-sqe/build-config/adminpassword.txt --interactive=false --echo=true --terse=false deploy --name sec-webslrunasApp --force=false --precompilejsp=false --verify=false --retrieve /export1/sonia/appserver-sqe/build/pe/sparc_jed-asqe-2_SunOS/sec/archive --enabled=true --generatermistubs=false --availabilityenabled=false --keepreposdir=false --keepfailedstubs=false --logReportedErrors=true --upload=false --help=false /export1/sonia/appserver-sqe/build/pe/sparc_jed-asqe-2_SunOS/sec/archive/sec-webslrunasApp.ear [exec] File download resultsSuccess [exec] Command deploy executed successfully. setdefaultmode: setOSConditions: setToolWin: setToolUnix: setToolProperty: setS1ASclassPath: setS1AS80classPath: setS1WSclassPath: setJWSDPclassPath: setTimeStamp: init-password-file: init-common: init-password-file: create-password-file: create-report-dir: runweb: [webtest] Full Path of Result File-> /export1/sonia/appserver-sqe/reports/pe-pe/sparc_jed-asqe-2_SunOS/gtest-results.xml [webtest] Test ID= webslrunas [webtest] This is the new GTest version. in request dispatch... [webtest] Non SSL request... [webtest] host=localhost;port=8080 [webtest] Request->GET /webslrunasbasic/WebslrunasServlet HTTP/1.0 [webtest] Using BASIC Authentication [webtest] authHeader=Authorization: Basic ajJlZTpqMmVl [webtest] Request Headers : Host: localhost:8080 [webtest] In Session :webslrunas [webtest] RESPONSE: HTTP/1.1 500 Internal Server Error [webtest] HEADER: Content-Type: text/htmlX [webtest] HEADER: Content-Length: 1247X [webtest] HEADER: Date: Tue, 08 Sep 2009 21:36:47 GMTX [webtest] HEADER: Connection: closeX [webtest] BODY: GlassFish/v3 - Error report

HTTP Status 500 -


type Exception report

message

descriptionThe server encountered an internal error () that prevented it from fulfilling this request.

exception

java.lang.RuntimeException: WEB5003: Exception in handleAfterEvent.

note The full stack traces of the exception and its root causes are available in the GlassFish/v3 logs.


GlassFish/v3

[webtest] RedirectResponse=HTTP/1.0 [webtest] authMethod BASIC [webtest] EXPECTED RESULT [webtest] ===================================================== [webtest] Got the Naming Context
[webtest] Starting the lookups
[webtest] Looked up Bean1
[webtest] looked up the Test EJB Bean
[webtest] looked up the SecRoleRefEJB Bean
[webtest] STARTING THE TESTS
[webtest] TEST1
[webtest] Starting No caller authorization test
[webtest] Caught java.rmi.RemoteException as expected
[webtest] No authorization test passed
[webtest] TEST1 PASSED
[webtest] TEST2
[webtest] Starting Caller authorization test
[webtest] Caller authorization test passed
[webtest] TEST2 PASSED
[webtest] TEST3
[webtest] Starting Security role reference positive test
[webtest] Security role reference positive test passed
[webtest] TEST3 PASSED
[webtest] TEST4
[webtest] Starting Security role reference negative test
[webtest] Security role reference negative test passed [webtest] TEST4 PASSED
[webtest] TEST5
[webtest] Starting Security role reference scope test
[webtest] (ejb1) isCallerInRole(EMP) returned true as expected
[webtest] TEST5 PASSED
[webtest] (ejb2) isCallerInRole(EMP) returned true as expected
[webtest] Security role reference scope test passed
[webtest] TEST5 PASSED
[webtest] TEST6
[webtest] Starting Overloaded security role references test
[webtest] EjbOverloadedSecRoleRefs(EMP) returned true as expected
[webtest] EjbOverloadedSecRoleRefs(EMP,MGR) returned false as expected
[webtest] Overloaded security role references test passed
[webtest] TEST6 PASSED
[webtest] TEST7
[webtest] Starting unchecked test1
[webtest] unchecked test1 passed.
[webtest] TEST7 PASSED
[webtest] TEST8
[webtest] Starting exclude-list test1
[webtest] Caught java.rmi.RemoteException as expected
[webtest] TEST8 PASSED
[webtest] exclude-list test1 passed
[webtest] ===================================================== [webtest] FAIL*** : Rtok1 = [webtest] Starting the lookups
[webtest] Looked up Bean1
[webtest] looked up the Test EJB Bean
[webtest] looked up the SecRoleRefEJB Bean
[webtest] STARTING THE TESTS
[webtest] TEST1
[webtest] Starting No caller authorization test
[webtest] Caught java.rmi.RemoteException as expected
[webtest] No authorization test passed
[webtest] TEST1 PASSED
[webtest] TEST2
[webtest] Starting Caller authorization test
[webtest] Caller authorization test passed
[webtest] TEST2 PASSED
[webtest] TEST3
[webtest] Starting Security role reference positive test
[webtest] Security role reference positive test passed
[webtest] TEST3 PASSED
[webtest] TEST4
[webtest] Starting Security role reference negative test
[webtest] Security role reference negative test passed [webtest] TEST4 PASSED
[webtest] TEST5
[webtest] Starting Security role reference scope test
[webtest] (ejb1) isCallerInRole(EMP) returned true as expected
[webtest] TEST5 PASSED
[webtest] (ejb2) isCallerInRole(EMP) returned true as expected
[webtest] Security role reference scope test passed
[webtest] TEST5 PASSED
[webtest] TEST6
[webtest] Starting Overloaded security role references test
[webtest] EjbOverloadedSecRoleRefs(EMP) returned true as expected
[webtest] EjbOverloadedSecRoleRefs(EMP,MGR) returned false as expected
[webtest] Overloaded security role references test passed
[webtest] TEST6 PASSED
[webtest] TEST7
[webtest] Starting unchecked test1
[webtest] unchecked test1 passed.
[webtest] TEST7 PASSED
[webtest] TEST8
[webtest] Starting exclude-list test1
[webtest] Caught java.rmi.RemoteException as expected
[webtest] TEST8 PASSED
[webtest] exclude-list test1 passed
[webtest] ******************************************************** [webtest] Actual Output ########################################## [webtest] GlassFish/v3 - Error report

HTTP Status 500 -


type Exception report

message

descriptionThe server encountered an internal error () that prevented it from fulfilling this request.

exception

java.lang.RuntimeException: WEB5003: Exception in handleAfterEvent.

note The full stack traces of the exception and its root causes are available in the GlassFish/v3 logs.


GlassFish/v3

[webtest] ##################################################### [webtest] FAIL No description (GET /webslrunasbasic/WebslrunasServlet HTTP/1.0) [webtest] lastTask BUILD SUCCESSFUL Total time: 47 seconds