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 [delete] Deleting directory /export1/sonia/appserver-sqe/build/pe/sparc_jed-asqe-2_SunOS/sec/archive 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 3 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: setOSConditions: fixFiles: convUnix: [echo] fixed files for Unix convWin: setdefaultmode: setToolWin: setToolUnix: setToolProperty: setS1ASclassPath: setS1AS80classPath: setS1WSclassPath: setJWSDPclassPath: setTimeStamp: init-password-file: init-common: init-password-file: create-password-file: create-report-dir: copy-persistence-descriptors-common: [mkdir] Created dir: /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/realmperapp/applevel/descriptors/persistence.xml to copy. [copy] Warning: Could not find file /export1/sonia/appserver-sqe/pe/security/realmperapp/applevel/${mapping.xml} to copy. [copy] Warning: /export1/sonia/appserver-sqe/pe/security/realmperapp/applevel/descriptors not found. package-par-common: static-weave-par: [echo] sqe-common.xml: /export1/sonia/appserver-sqe/build/pe/sparc_jed-asqe-2_SunOS/sec/classes, /export1/sonia/appserver-sqe/build/pe/sparc_jed-asqe-2_SunOS/sec/archive [mkdir] Created dir: /export1/sonia/appserver-sqe/build/pe/sparc_jed-asqe-2_SunOS/sec/archive [echo] sqe-common.xml: Generating PAR inside build directory [jar] Building jar: /export1/sonia/appserver-sqe/build/pe/sparc_jed-asqe-2_SunOS/sec/archive/sec-realmperapp-applevel-par.jar [delete] Deleting directory /export1/sonia/appserver-sqe/build/pe/sparc_jed-asqe-2_SunOS/sec/classes/META-INF ejb-jar-common: 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/realmperapp/applevel/descriptor/sun-cmp-mappings.xml to copy. [copy] Warning: Could not find file /export1/sonia/appserver-sqe/pe/security/realmperapp/applevel/${dbschema} to copy. [copy] Warning: Could not find file /export1/sonia/appserver-sqe/pe/security/realmperapp/applevel/${webservices.xml} to copy. [copy] Warning: Could not find file /export1/sonia/appserver-sqe/pe/security/realmperapp/applevel/${webservices.wsdl} to copy. [copy] Warning: Could not find file /export1/sonia/appserver-sqe/pe/security/realmperapp/applevel/${mapping.xml} to copy. [copy] Warning: Could not find file /export1/sonia/appserver-sqe/pe/security/realmperapp/applevel/${sun-resources-ejb.xml} to copy. [jar] Building jar: /export1/sonia/appserver-sqe/build/pe/sparc_jed-asqe-2_SunOS/sec/archive/sec-realmperapp-applevel-ejb.jar [delete] Deleting directory /export1/sonia/appserver-sqe/build/pe/sparc_jed-asqe-2_SunOS/sec/classes/META-INF appclient-jar-common: package-appclientjar-common: [echo] sqe-common.xml: Generating appclient-jar in build dir [mkdir] Created dir: /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] 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/realmperapp/applevel/${sun-resources-appclient.xml} to copy. [jar] Building jar: /export1/sonia/appserver-sqe/build/pe/sparc_jed-asqe-2_SunOS/sec/archive/sec-realmperapp-applevel-client.jar [delete] Deleting directory /export1/sonia/appserver-sqe/build/pe/sparc_jed-asqe-2_SunOS/sec/classes/META-INF webclient-war-common: build-ear-common: [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/lib [mkdir] Created dir: /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] 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/realmperapp/applevel/${sun-resources-ear.xml} to copy. [jar] Building jar: /export1/sonia/appserver-sqe/build/pe/sparc_jed-asqe-2_SunOS/sec/archive/sec-realmperapp-applevelApp.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-realmperapp-applevelApp --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-realmperapp-applevelApp.ear [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: run: [exec] Oct 9, 2009 12:52:32 PM org.glassfish.appclient.client.acc.FacadeLaunchable selectFacadeFromGroup [exec] WARNING: appclient.singleNestedClientNoMatch [exec] WS HOME appserver-sqe [exec] Oct 9, 2009 12:52:34 PM com.sun.enterprise.transaction.JavaEETransactionManagerSimplified initDelegates [exec] INFO: Using com.sun.enterprise.transaction.jts.JavaEETransactionManagerJTSDelegate as the delegate [exec] **************************************************************** [exec] * RealmPerApp with realm at application level tests * [exec] **************************************************************** [exec] Looked up home... [exec] Narrowed home... [exec] Creating EJB... [exec] Got Exception!!! All tests marked as failed! [exec] java.rmi.AccessException: CORBA NO_PERMISSION 0 No; nested exception is: [exec] org.omg.CORBA.NO_PERMISSION: ----------BEGIN server-side stack trace---------- [exec] org.omg.CORBA.NO_PERMISSION: vmcid: 0x0 minor code: 0 completed: No [exec] at com.sun.enterprise.iiop.security.SecServerRequestInterceptor.receive_request(SecServerRequestInterceptor.java:583) [exec] at com.sun.corba.ee.impl.interceptors.InterceptorInvoker.invokeServerInterceptorIntermediatePoint(InterceptorInvoker.java:646) [exec] at com.sun.corba.ee.impl.interceptors.PIHandlerImpl.invokeServerPIIntermediatePoint(PIHandlerImpl.java:740) [exec] at com.sun.corba.ee.impl.protocol.CorbaServerRequestDispatcherImpl.getServantWithPI(CorbaServerRequestDispatcherImpl.java:395) [exec] at com.sun.corba.ee.impl.protocol.CorbaServerRequestDispatcherImpl.dispatch(CorbaServerRequestDispatcherImpl.java:213) [exec] at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequestRequest(CorbaMessageMediatorImpl.java:1831) [exec] at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequest(CorbaMessageMediatorImpl.java:1685) [exec] at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleInput(CorbaMessageMediatorImpl.java:1068) [exec] at com.sun.corba.ee.impl.protocol.giopmsgheaders.RequestMessage_1_2.callback(RequestMessage_1_2.java:221) [exec] at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequest(CorbaMessageMediatorImpl.java:787) [exec] at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.dispatch(CorbaMessageMediatorImpl.java:551) [exec] at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.doWork(CorbaMessageMediatorImpl.java:2548) [exec] at com.sun.corba.ee.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.performWork(ThreadPoolImpl.java:492) [exec] at com.sun.corba.ee.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.run(ThreadPoolImpl.java:527) [exec] ----------END server-side stack trace---------- vmcid: 0x0 minor code: 0 completed: No [exec] at com.sun.corba.ee.impl.javax.rmi.CORBA.Util.mapSystemException(Util.java:276) [exec] at com.sun.corba.ee.impl.presentation.rmi.StubInvocationHandlerImpl.privateInvoke(StubInvocationHandlerImpl.java:196) [exec] at com.sun.corba.ee.impl.presentation.rmi.StubInvocationHandlerImpl.invoke(StubInvocationHandlerImpl.java:143) [exec] at com.sun.corba.ee.impl.presentation.rmi.codegen.CodegenStubBase.invoke(CodegenStubBase.java:225) [exec] at com.sun.s1peqe.security.realmperapp._SecAuthTestRemoteHome_DynamicStub.create(com/sun/s1peqe/security/realmperapp/_SecAuthTestRemoteHome_DynamicStub.java) [exec] at com.sun.s1peqe.security.realmperapp.RealmPerAppTestClient.doTests(RealmPerAppTestClient.java:63) [exec] at com.sun.s1peqe.security.realmperapp.RealmPerAppTestClient.main(RealmPerAppTestClient.java:37) [exec] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [exec] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [exec] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [exec] at java.lang.reflect.Method.invoke(Method.java:597) [exec] at org.glassfish.appclient.client.acc.AppClientContainer.launch(AppClientContainer.java:416) [exec] at org.glassfish.appclient.client.AppClientFacade.launch(AppClientFacade.java:148) [exec] at org.glassfish.appclient.client.AppClientGroupFacade.main(AppClientGroupFacade.java:64) [exec] Caused by: org.omg.CORBA.NO_PERMISSION: ----------BEGIN server-side stack trace---------- [exec] org.omg.CORBA.NO_PERMISSION: vmcid: 0x0 minor code: 0 completed: No [exec] at com.sun.enterprise.iiop.security.SecServerRequestInterceptor.receive_request(SecServerRequestInterceptor.java:583) [exec] at com.sun.corba.ee.impl.interceptors.InterceptorInvoker.invokeServerInterceptorIntermediatePoint(InterceptorInvoker.java:646) [exec] at com.sun.corba.ee.impl.interceptors.PIHandlerImpl.invokeServerPIIntermediatePoint(PIHandlerImpl.java:740) [exec] at com.sun.corba.ee.impl.protocol.CorbaServerRequestDispatcherImpl.getServantWithPI(CorbaServerRequestDispatcherImpl.java:395) [exec] at com.sun.corba.ee.impl.protocol.CorbaServerRequestDispatcherImpl.dispatch(CorbaServerRequestDispatcherImpl.java:213) [exec] at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequestRequest(CorbaMessageMediatorImpl.java:1831) [exec] at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequest(CorbaMessageMediatorImpl.java:1685) [exec] at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleInput(CorbaMessageMediatorImpl.java:1068) [exec] at com.sun.corba.ee.impl.protocol.giopmsgheaders.RequestMessage_1_2.callback(RequestMessage_1_2.java:221) [exec] at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequest(CorbaMessageMediatorImpl.java:787) [exec] at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.dispatch(CorbaMessageMediatorImpl.java:551) [exec] at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.doWork(CorbaMessageMediatorImpl.java:2548) [exec] at com.sun.corba.ee.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.performWork(ThreadPoolImpl.java:492) [exec] at com.sun.corba.ee.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.run(ThreadPoolImpl.java:527) [exec] ----------END server-side stack trace---------- vmcid: 0x0 minor code: 0 completed: No [exec] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [exec] at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) [exec] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) [exec] at java.lang.reflect.Constructor.newInstance(Constructor.java:513) [exec] at com.sun.corba.ee.impl.protocol.giopmsgheaders.MessageBase.getSystemException(MessageBase.java:913) [exec] at com.sun.corba.ee.impl.protocol.giopmsgheaders.ReplyMessage_1_2.getSystemException(ReplyMessage_1_2.java:129) [exec] at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.getSystemExceptionReply(CorbaMessageMediatorImpl.java:671) [exec] at com.sun.corba.ee.impl.protocol.CorbaClientRequestDispatcherImpl.processResponse(CorbaClientRequestDispatcherImpl.java:510) [exec] at com.sun.corba.ee.impl.protocol.CorbaClientRequestDispatcherImpl.marshalingComplete(CorbaClientRequestDispatcherImpl.java:369) [exec] at com.sun.corba.ee.impl.protocol.CorbaClientDelegateImpl.invoke(CorbaClientDelegateImpl.java:235) [exec] at com.sun.corba.ee.impl.presentation.rmi.StubInvocationHandlerImpl.privateInvoke(StubInvocationHandlerImpl.java:183) [exec] ... 12 more [exec] Generating report at /export1/sonia/appserver-sqe/test_results.xml [exec] ----------------------------------------- [exec] - Test4.Calling Not authorized method: FAIL - [exec] - Test3.Calling authorized method: FAIL - [exec] - Test2.testIsCallerIsExcepted(): FAIL - [exec] - Test1.testIsCallerIsInRole(): FAIL - [exec] ----------------------------------------- [exec] Total PASS: 0 [exec] Total FAIL: 4 [exec] Total DNR: 0 [exec] ----------------------------------------- checkReporting-common: confirmReportPresent-common: [echo] Test seems to be reported fine [delete] Deleting 1 files from /export1/sonia/appserver-sqe/pe/security/realmperapp/applevel confirmMissingReport-common: BUILD SUCCESSFUL Total time: 51 seconds