Buildfile: build.xml display-header: [echo] -->Running sec-assign-groups tests from /export1/sonia/appserver-sqe/pe/security/assigngroup ... all: [echo] *** Running AssignGroup Tests with File Realm *** 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: setS1AS80classPath: setS1WSclassPath: setJWSDPclassPath: setTimeStamp: init-password-file: init-common: init-password-file: create-password-file: create-report-dir: setup-file-realm: create-auth-filerealm: [echo] /export1/sonia/as911test/domains/domain1/config/keyfile [delete] Deleting: /export1/sonia/appserver-sqe/pe/security/assigngroup/temp.txt setdefaultmode: setOSConditions: setToolWin: setToolUnix: setToolProperty: setS1ASclassPath: setS1AS80classPath: setS1WSclassPath: setJWSDPclassPath: setTimeStamp: init-password-file: init-common: init-password-file: create-password-file: create-report-dir: create-auth-realm: [echo] Creating auth realm realmperapp ... [exec] create-auth-realm --classname com.sun.enterprise.security.auth.realm.file.FileRealm --interactive=true --passwordfile /export1/sonia/appserver-sqe/build-config/adminpassword.txt --user admin --terse=false --host localhost --target server --property file=/export1/sonia/as911test/domains/domain1/config/keyfile:jaas-context=fileRealm --echo=true --port 4848 realmperapp [exec] Command create-auth-realm executed successfully. create-file-users: setdefaultmode: setOSConditions: setToolWin: setToolUnix: setToolProperty: setS1ASclassPath: setS1AS80classPath: setS1WSclassPath: setJWSDPclassPath: setTimeStamp: init-password-file: init-common: init-password-file: create-password-file: create-report-dir: create-user-common: [exec] create-file-user --interactive=true --passwordfile /export1/sonia/appserver-sqe/build-config/asadminuserpassword.txt --authrealmname file --user admin --terse=true --groups SomeGroup --host localhost --target server --echo=true --port 4848 munta setdefaultmode: setOSConditions: setToolWin: setToolUnix: setToolProperty: setS1ASclassPath: setS1AS80classPath: setS1WSclassPath: setJWSDPclassPath: setTimeStamp: init-password-file: init-common: init-password-file: create-password-file: create-report-dir: create-user-common: [exec] create-file-user --interactive=true --passwordfile /export1/sonia/appserver-sqe/build-config/asadminuserpassword.txt --authrealmname file --user admin --terse=true --groups Group2 --host localhost --target server --echo=true --port 4848 u2 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: setS1AS80classPath: setS1WSclassPath: setJWSDPclassPath: setTimeStamp: init-password-file: init-common: init-password-file: create-password-file: create-report-dir: setup-assign-group: setdefaultmode: setOSConditions: setToolWin: setToolUnix: setToolProperty: setS1ASclassPath: setS1AS80classPath: setS1WSclassPath: setJWSDPclassPath: setTimeStamp: init-password-file: init-common: init-password-file: create-password-file: create-report-dir: set-assign-groups-realm: [echo] Setting groups to a given auth realm realmperapp... [exec] set --interactive=true --passwordfile /export1/sonia/appserver-sqe/build-config/adminpassword.txt --user admin --terse=false --host localhost --echo=true --port 4848 server-config.security-service.auth-realm.realmperapp.property.assign-groups=DefaultGroup1 [exec] server-config.security-service.auth-realm.realmperapp.property.assign-groups = DefaultGroup1 restart: 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: setS1AS80classPath: setS1WSclassPath: setJWSDPclassPath: setTimeStamp: init-password-file: init-common: init-password-file: create-password-file: create-report-dir: restart-server-instance-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: restart-server-instance-common-pe: [echo] Restarting the AppServer instance... setdefaultmode: setOSConditions: setToolWin: setToolUnix: setToolProperty: stop-domain: [echo] run.xml:stopping domain... [exec] Domain domain1 stopped. setdefaultmode: ping-appserver-version: init-password-file: create-password-file: start-domain: start-domain-pe: start-domain-ee: [echo] start-domain is running on Standard/Enterprise Edition... setdefaultmode: setOSConditions: setToolWin: setToolUnix: setToolProperty: start-domain-win: setdefaultmode: setOSConditions: setToolWin: setToolUnix: setToolProperty: start-domain-unix: [echo] run.xml:starting domain on a unix OS... [exec] Starting Domain domain1, please wait. [exec] Default Log location is /export1/sonia/as911test/domains/domain1/logs/server.log. [exec] Redirecting output to /export1/sonia/as911test/domains/domain1/logs/server.log [exec] Domain domain1 started. [exec] Domain [domain1] is running [Sun GlassFish Enterprise Server v2.1.1 (9.1.2) (build b25-fcs)] with its configuration and logs at: [/export1/sonia/as911test/domains]. [exec] Admin Console is available at [https://localhost:4848]. [exec] Use the same port [4848] for "asadmin" commands. [exec] User web applications are available at these URLs: [exec] [http://localhost:8080 https://localhost:8181 ]. [exec] Following web-contexts are available: [exec] [/web1 /__wstx-services ]. [exec] Standard JMX Clients (like JConsole) can connect to JMXServiceURL: [exec] [service:jmx:rmi:///jndi/rmi://jed-asqe-2:8686/jmxrmi] for domain management purposes. [exec] Domain listens on at least following ports for connections: [exec] [8080 8181 4848 3700 3820 3920 8686 ]. [exec] Domain supports application server clusters and other standalone instances. run-test-filerealm: 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: setS1AS80classPath: setS1WSclassPath: setJWSDPclassPath: setTimeStamp: init-password-file: init-common: init-password-file: create-password-file: create-report-dir: clean: 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/assigngroup/applevel/descriptors/persistence.xml to copy. [copy] Warning: Could not find file /export1/sonia/appserver-sqe/pe/security/assigngroup/applevel/${mapping.xml} to copy. [copy] Warning: /export1/sonia/appserver-sqe/pe/security/assigngroup/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-assigngroup-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/assigngroup/applevel/descriptor/sun-cmp-mappings.xml to copy. [copy] Warning: Could not find file /export1/sonia/appserver-sqe/pe/security/assigngroup/applevel/${dbschema} to copy. [copy] Warning: Could not find file /export1/sonia/appserver-sqe/pe/security/assigngroup/applevel/${webservices.xml} to copy. [copy] Warning: Could not find file /export1/sonia/appserver-sqe/pe/security/assigngroup/applevel/${webservices.wsdl} to copy. [copy] Warning: Could not find file /export1/sonia/appserver-sqe/pe/security/assigngroup/applevel/${mapping.xml} to copy. [copy] Warning: Could not find file /export1/sonia/appserver-sqe/pe/security/assigngroup/applevel/${sun-resources-ejb.xml} to copy. [jar] Building jar: /export1/sonia/appserver-sqe/build/pe/sparc_jed-asqe-2_SunOS/sec/archive/sec-assigngroup-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/assigngroup/applevel/${sun-resources-appclient.xml} to copy. [jar] Building jar: /export1/sonia/appserver-sqe/build/pe/sparc_jed-asqe-2_SunOS/sec/archive/sec-assigngroup-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/assigngroup/applevel/${sun-resources-ear.xml} to copy. [jar] Building jar: /export1/sonia/appserver-sqe/build/pe/sparc_jed-asqe-2_SunOS/sec/archive/sec-assigngroup-applevelApp.ear 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] deploy --user admin --terse=false --target server --echo=true --upload=true --port 4848 --interactive=true --passwordfile /export1/sonia/appserver-sqe/build-config/adminpassword.txt --availabilityenabled=false --enabled=true --retrieve /export1/sonia/appserver-sqe/build/pe/sparc_jed-asqe-2_SunOS/sec/archive --host localhost --generatermistubs=false --precompilejsp=false --force=true --name sec-assigngroup-applevelApp --verify=false /export1/sonia/appserver-sqe/build/pe/sparc_jed-asqe-2_SunOS/sec/archive/sec-assigngroup-applevelApp.ear [exec] Command deploy executed successfully. run: 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-client1: [exec] WS HOME appserver-sqe [exec] **************************************************************** [exec] * AssignGroup with realm at application level tests * [exec] **************************************************************** [exec] Looked up home... [exec] Creating EJB... [exec] Narrowed home... [exec] Got the EJB... [exec] Testing with user:munta; role:RoleAdministrator [exec] Test1..Calling testIsCallerInRole()... [exec] Test2.Calling testIsCallerExpected()... [exec] Test3.Calling authorized method - methodIsAuthorized(): [exec] java.rmi.AccessException: CORBA NO_PERMISSION 9998 Maybe; nested exception is: [exec] org.omg.CORBA.NO_PERMISSION: ----------BEGIN server-side stack trace---------- [exec] org.omg.CORBA.NO_PERMISSION: vmcid: 0x2000 minor code: 1806 completed: Maybe [exec] at com.sun.enterprise.iiop.POAProtocolMgr.mapException(POAProtocolMgr.java:223) [exec] at com.sun.ejb.containers.BaseContainer.postInvoke(BaseContainer.java:1411) [exec] at com.sun.ejb.containers.BaseContainer.postInvoke(BaseContainer.java:1316) [exec] at com.sun.ejb.containers.EJBObjectInvocationHandler.invoke(EJBObjectInvocationHandler.java:210) [exec] at com.sun.ejb.containers.EJBObjectInvocationHandler.invoke(EJBObjectInvocationHandler.java:120) [exec] at $Proxy29.methodIsAuthorized(Unknown Source) [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:585) [exec] at com.sun.corba.ee.impl.presentation.rmi.ReflectiveTie._invoke(ReflectiveTie.java:154) [exec] at com.sun.corba.ee.impl.protocol.CorbaServerRequestDispatcherImpl.dispatchToServant(CorbaServerRequestDispatcherImpl.java:687) [exec] at com.sun.corba.ee.impl.protocol.CorbaServerRequestDispatcherImpl.dispatch(CorbaServerRequestDispatcherImpl.java:227) [exec] at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequestRequest(CorbaMessageMediatorImpl.java:1846) [exec] at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequest(CorbaMessageMediatorImpl.java:1706) [exec] at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleInput(CorbaMessageMediatorImpl.java:1088) [exec] at com.sun.corba.ee.impl.protocol.giopmsgheaders.RequestMessage_1_2.callback(RequestMessage_1_2.java:223) [exec] at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequest(CorbaMessageMediatorImpl.java:806) [exec] at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.dispatch(CorbaMessageMediatorImpl.java:563) [exec] at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.doWork(CorbaMessageMediatorImpl.java:2567) [exec] at com.sun.corba.ee.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.run(ThreadPoolImpl.java:555) [exec] Caused by: javax.ejb.AccessLocalException: Client not authorized for this invocation. [exec] at com.sun.ejb.containers.BaseContainer.preInvoke(BaseContainer.java:1218) [exec] at com.sun.ejb.containers.EJBObjectInvocationHandler.invoke(EJBObjectInvocationHandler.java:202) [exec] ... 17 more [exec] ----------END server-side stack trace---------- vmcid: 0x2000 minor code: 1806 completed: Maybe [exec] at com.sun.corba.ee.impl.javax.rmi.CORBA.Util.mapSystemException(Util.java:277) [exec] at com.sun.corba.ee.impl.presentation.rmi.StubInvocationHandlerImpl.privateInvoke(StubInvocationHandlerImpl.java:205) [exec] at com.sun.corba.ee.impl.presentation.rmi.StubInvocationHandlerImpl.invoke(StubInvocationHandlerImpl.java:152) [exec] at com.sun.corba.ee.impl.presentation.rmi.bcel.BCELStubBase.invoke(BCELStubBase.java:225) [exec] at com.sun.s1peqe.security.realmperapp._SecAuthTestRemote_DynamicStub.methodIsAuthorized(com/sun/s1peqe/security/realmperapp/_SecAuthTestRemote_DynamicStub.java) [exec] at com.sun.s1peqe.security.realmperapp.RealmPerAppTestClient.doTests(RealmPerAppTestClient.java:152) [exec] at com.sun.s1peqe.security.realmperapp.RealmPerAppTestClient.main(RealmPerAppTestClient.java:41) [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:585) [exec] at com.sun.enterprise.util.Utility.invokeApplicationMain(Utility.java:266) [exec] at com.sun.enterprise.appclient.MainWithModuleSupport.(MainWithModuleSupport.java:450) [exec] at com.sun.enterprise.appclient.MainWithModuleSupport.(MainWithModuleSupport.java:260) [exec] at com.sun.enterprise.appclient.Main.main(Main.java:200) [exec] Caused by: org.omg.CORBA.NO_PERMISSION: ----------BEGIN server-side stack trace---------- [exec] org.omg.CORBA.NO_PERMISSION: vmcid: 0x2000 minor code: 1806 completed: Maybe [exec] at com.sun.enterprise.iiop.POAProtocolMgr.mapException(POAProtocolMgr.java:223) [exec] at com.sun.ejb.containers.BaseContainer.postInvoke(BaseContainer.java:1411) [exec] at com.sun.ejb.containers.BaseContainer.postInvoke(BaseContainer.java:1316) [exec] at com.sun.ejb.containers.EJBObjectInvocationHandler.invoke(EJBObjectInvocationHandler.java:210) [exec] at com.sun.ejb.containers.EJBObjectInvocationHandler.invoke(EJBObjectInvocationHandler.java:120) [exec] at $Proxy29.methodIsAuthorized(Unknown Source) [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:585) [exec] at com.sun.corba.ee.impl.presentation.rmi.ReflectiveTie._invoke(ReflectiveTie.java:154) [exec] at com.sun.corba.ee.impl.protocol.CorbaServerRequestDispatcherImpl.dispatchToServant(CorbaServerRequestDispatcherImpl.java:687) [exec] at com.sun.corba.ee.impl.protocol.CorbaServerRequestDispatcherImpl.dispatch(CorbaServerRequestDispatcherImpl.java:227) [exec] at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequestRequest(CorbaMessageMediatorImpl.java:1846) [exec] at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequest(CorbaMessageMediatorImpl.java:1706) [exec] at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleInput(CorbaMessageMediatorImpl.java:1088) [exec] at com.sun.corba.ee.impl.protocol.giopmsgheaders.RequestMessage_1_2.callback(RequestMessage_1_2.java:223) [exec] at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequest(CorbaMessageMediatorImpl.java:806) [exec] at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.dispatch(CorbaMessageMediatorImpl.java:563) [exec] at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.doWork(CorbaMessageMediatorImpl.java:2567) [exec] at com.sun.corba.ee.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.run(ThreadPoolImpl.java:555) [exec] Caused by: javax.ejb.AccessLocalException: Client not authorized for this invocation. [exec] at com.sun.ejb.containers.BaseContainer.preInvoke(BaseContainer.java:1218) [exec] at com.sun.ejb.containers.EJBObjectInvocationHandler.invoke(EJBObjectInvocationHandler.java:202) [exec] ... 17 more [exec] ----------END server-side stack trace---------- vmcid: 0x2000 minor code: 1806 completed: Maybe [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:494) [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:131) [exec] at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.getSystemExceptionReply(CorbaMessageMediatorImpl.java:685) [exec] at com.sun.corba.ee.impl.protocol.CorbaClientRequestDispatcherImpl.processResponse(CorbaClientRequestDispatcherImpl.java:472) [exec] at com.sun.corba.ee.impl.protocol.CorbaClientRequestDispatcherImpl.marshalingComplete(CorbaClientRequestDispatcherImpl.java:363) [exec] at com.sun.corba.ee.impl.protocol.CorbaClientDelegateImpl.invoke(CorbaClientDelegateImpl.java:219) [exec] at com.sun.corba.ee.impl.presentation.rmi.StubInvocationHandlerImpl.privateInvoke(StubInvocationHandlerImpl.java:192) [exec] ... 13 more [exec] Test4.Calling unauthorized method - methodIsNotAuthorized(): [exec] Got expected AccessException! [exec] Generating report at /export1/sonia/appserver-sqe/test_results.xml [exec] ----------------------------------------- [exec] - Test1..testIsCallerIsInRole(): FAIL - [exec] - Test3.Calling authorized method: FAIL - [exec] - Test2.testIsCallerExcepted(): PASS - [exec] - Test4.Calling Not authorized method: PASS - [exec] ----------------------------------------- [exec] Total PASS: 2 [exec] Total FAIL: 2 [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/assigngroup/applevel confirmMissingReport-common: [exec] WS HOME appserver-sqe [exec] **************************************************************** [exec] * AssignGroup with realm at application level tests * [exec] **************************************************************** [exec] Creating EJB... [exec] Looked up home... [exec] Narrowed home... [exec] Got the EJB... [exec] Testing with user:u2; role:RoleAdministrator [exec] Test1..Calling testIsCallerInRole()... [exec] Test2.Calling testIsCallerExpected()... [exec] Test3.Calling authorized method - methodIsAuthorized(): [exec] java.rmi.AccessException: CORBA NO_PERMISSION 9998 Maybe; nested exception is: [exec] org.omg.CORBA.NO_PERMISSION: ----------BEGIN server-side stack trace---------- [exec] org.omg.CORBA.NO_PERMISSION: vmcid: 0x2000 minor code: 1806 completed: Maybe [exec] at com.sun.enterprise.iiop.POAProtocolMgr.mapException(POAProtocolMgr.java:223) [exec] at com.sun.ejb.containers.BaseContainer.postInvoke(BaseContainer.java:1411) [exec] at com.sun.ejb.containers.BaseContainer.postInvoke(BaseContainer.java:1316) [exec] at com.sun.ejb.containers.EJBObjectInvocationHandler.invoke(EJBObjectInvocationHandler.java:210) [exec] at com.sun.ejb.containers.EJBObjectInvocationHandler.invoke(EJBObjectInvocationHandler.java:120) [exec] at $Proxy29.methodIsAuthorized(Unknown Source) [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:585) [exec] at com.sun.corba.ee.impl.presentation.rmi.ReflectiveTie._invoke(ReflectiveTie.java:154) [exec] at com.sun.corba.ee.impl.protocol.CorbaServerRequestDispatcherImpl.dispatchToServant(CorbaServerRequestDispatcherImpl.java:687) [exec] at com.sun.corba.ee.impl.protocol.CorbaServerRequestDispatcherImpl.dispatch(CorbaServerRequestDispatcherImpl.java:227) [exec] at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequestRequest(CorbaMessageMediatorImpl.java:1846) [exec] at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequest(CorbaMessageMediatorImpl.java:1706) [exec] at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleInput(CorbaMessageMediatorImpl.java:1088) [exec] at com.sun.corba.ee.impl.protocol.giopmsgheaders.RequestMessage_1_2.callback(RequestMessage_1_2.java:223) [exec] at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequest(CorbaMessageMediatorImpl.java:806) [exec] at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.dispatch(CorbaMessageMediatorImpl.java:563) [exec] at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.doWork(CorbaMessageMediatorImpl.java:2567) [exec] at com.sun.corba.ee.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.run(ThreadPoolImpl.java:555) [exec] Caused by: javax.ejb.AccessLocalException: Client not authorized for this invocation. [exec] at com.sun.ejb.containers.BaseContainer.preInvoke(BaseContainer.java:1218) [exec] at com.sun.ejb.containers.EJBObjectInvocationHandler.invoke(EJBObjectInvocationHandler.java:202) [exec] ... 17 more [exec] ----------END server-side stack trace---------- vmcid: 0x2000 minor code: 1806 completed: Maybe [exec] at com.sun.corba.ee.impl.javax.rmi.CORBA.Util.mapSystemException(Util.java:277) [exec] at com.sun.corba.ee.impl.presentation.rmi.StubInvocationHandlerImpl.privateInvoke(StubInvocationHandlerImpl.java:205) [exec] at com.sun.corba.ee.impl.presentation.rmi.StubInvocationHandlerImpl.invoke(StubInvocationHandlerImpl.java:152) [exec] at com.sun.corba.ee.impl.presentation.rmi.bcel.BCELStubBase.invoke(BCELStubBase.java:225) [exec] at com.sun.s1peqe.security.realmperapp._SecAuthTestRemote_DynamicStub.methodIsAuthorized(com/sun/s1peqe/security/realmperapp/_SecAuthTestRemote_DynamicStub.java) [exec] at com.sun.s1peqe.security.realmperapp.RealmPerAppTestClient.doTests(RealmPerAppTestClient.java:152) [exec] at com.sun.s1peqe.security.realmperapp.RealmPerAppTestClient.main(RealmPerAppTestClient.java:41) [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:585) [exec] at com.sun.enterprise.util.Utility.invokeApplicationMain(Utility.java:266) [exec] at com.sun.enterprise.appclient.MainWithModuleSupport.(MainWithModuleSupport.java:450) [exec] at com.sun.enterprise.appclient.MainWithModuleSupport.(MainWithModuleSupport.java:260) [exec] at com.sun.enterprise.appclient.Main.main(Main.java:200) [exec] Caused by: org.omg.CORBA.NO_PERMISSION: ----------BEGIN server-side stack trace---------- [exec] org.omg.CORBA.NO_PERMISSION: vmcid: 0x2000 minor code: 1806 completed: Maybe [exec] at com.sun.enterprise.iiop.POAProtocolMgr.mapException(POAProtocolMgr.java:223) [exec] at com.sun.ejb.containers.BaseContainer.postInvoke(BaseContainer.java:1411) [exec] at com.sun.ejb.containers.BaseContainer.postInvoke(BaseContainer.java:1316) [exec] at com.sun.ejb.containers.EJBObjectInvocationHandler.invoke(EJBObjectInvocationHandler.java:210) [exec] at com.sun.ejb.containers.EJBObjectInvocationHandler.invoke(EJBObjectInvocationHandler.java:120) [exec] at $Proxy29.methodIsAuthorized(Unknown Source) [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:585) [exec] at com.sun.corba.ee.impl.presentation.rmi.ReflectiveTie._invoke(ReflectiveTie.java:154) [exec] at com.sun.corba.ee.impl.protocol.CorbaServerRequestDispatcherImpl.dispatchToServant(CorbaServerRequestDispatcherImpl.java:687) [exec] at com.sun.corba.ee.impl.protocol.CorbaServerRequestDispatcherImpl.dispatch(CorbaServerRequestDispatcherImpl.java:227) [exec] at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequestRequest(CorbaMessageMediatorImpl.java:1846) [exec] at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequest(CorbaMessageMediatorImpl.java:1706) [exec] at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleInput(CorbaMessageMediatorImpl.java:1088) [exec] at com.sun.corba.ee.impl.protocol.giopmsgheaders.RequestMessage_1_2.callback(RequestMessage_1_2.java:223) [exec] at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequest(CorbaMessageMediatorImpl.java:806) [exec] at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.dispatch(CorbaMessageMediatorImpl.java:563) [exec] at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.doWork(CorbaMessageMediatorImpl.java:2567) [exec] at com.sun.corba.ee.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.run(ThreadPoolImpl.java:555) [exec] Caused by: javax.ejb.AccessLocalException: Client not authorized for this invocation. [exec] at com.sun.ejb.containers.BaseContainer.preInvoke(BaseContainer.java:1218) [exec] at com.sun.ejb.containers.EJBObjectInvocationHandler.invoke(EJBObjectInvocationHandler.java:202) [exec] ... 17 more [exec] ----------END server-side stack trace---------- vmcid: 0x2000 minor code: 1806 completed: Maybe [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:494) [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:131) [exec] at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.getSystemExceptionReply(CorbaMessageMediatorImpl.java:685) [exec] at com.sun.corba.ee.impl.protocol.CorbaClientRequestDispatcherImpl.processResponse(CorbaClientRequestDispatcherImpl.java:472) [exec] at com.sun.corba.ee.impl.protocol.CorbaClientRequestDispatcherImpl.marshalingComplete(CorbaClientRequestDispatcherImpl.java:363) [exec] at com.sun.corba.ee.impl.protocol.CorbaClientDelegateImpl.invoke(CorbaClientDelegateImpl.java:219) [exec] at com.sun.corba.ee.impl.presentation.rmi.StubInvocationHandlerImpl.privateInvoke(StubInvocationHandlerImpl.java:192) [exec] ... 13 more [exec] Test4.Calling unauthorized method - methodIsNotAuthorized(): [exec] Got expected AccessException! [exec] Generating report at /export1/sonia/appserver-sqe/test_results.xml [exec] ----------------------------------------- [exec] - Test1..testIsCallerIsInRole(): FAIL - [exec] - Test3.Calling authorized method: FAIL - [exec] - Test2.testIsCallerExcepted(): PASS - [exec] - Test4.Calling Not authorized method: PASS - [exec] ----------------------------------------- [exec] Total PASS: 2 [exec] Total FAIL: 2 [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/assigngroup/applevel confirmMissingReport-common: undeploy: setdefaultmode: setOSConditions: setToolWin: setToolUnix: setToolProperty: setS1ASclassPath: setS1AS80classPath: setS1WSclassPath: setJWSDPclassPath: setTimeStamp: init-password-file: init-common: init-password-file: create-password-file: create-report-dir: undeploy-common: [echo] Undeploying sec-assigngroup-applevelApp on server server ... [exec] undeploy --interactive=true --passwordfile /export1/sonia/appserver-sqe/build-config/adminpassword.txt --user admin --terse=false --host localhost --target server --echo=true --cascade=false --port 4848 sec-assigngroup-applevelApp [exec] Command undeploy executed successfully. [echo] cmd executed for server run-test: unsetup-file-realm: delete-auth-filerealm: 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: setS1AS80classPath: setS1WSclassPath: setJWSDPclassPath: setTimeStamp: init-password-file: init-common: init-password-file: create-password-file: create-report-dir: delete-auth-realm: [echo] Deleting auth realm realmperapp ... [exec] delete-auth-realm --interactive=true --passwordfile /export1/sonia/appserver-sqe/build-config/adminpassword.txt --user admin --terse=false --host localhost --target server --echo=true --port 4848 realmperapp [exec] Command delete-auth-realm executed successfully. delete-file-users: 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: setS1AS80classPath: setS1WSclassPath: setJWSDPclassPath: setTimeStamp: init-password-file: init-common: init-password-file: create-password-file: create-report-dir: delete-user-common: [echo] Deleting user munta in file realm [exec] delete-file-user --interactive=true --passwordfile /export1/sonia/appserver-sqe/build-config/adminpassword.txt --authrealmname file --user admin --terse=false --host localhost --target server --echo=true --port 4848 munta [exec] Command delete-file-user executed successfully. 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: setS1AS80classPath: setS1WSclassPath: setJWSDPclassPath: setTimeStamp: init-password-file: init-common: init-password-file: create-password-file: create-report-dir: delete-user-common: [echo] Deleting user u2 in file realm [exec] delete-file-user --interactive=true --passwordfile /export1/sonia/appserver-sqe/build-config/adminpassword.txt --authrealmname file --user admin --terse=false --host localhost --target server --echo=true --port 4848 u2 [exec] Command delete-file-user executed successfully. [echo] [echo] Note: 2. ldap realm : commented in the default run as LDAP setup [echo] may not be existed on the current running machine. [echo] Start this manually. [echo] [echo] [echo] Note: 3. solaris realm : commented in the default as Solaris setup [echo] need solaris platform with root user. Start this manually. [echo] all-jdbcrealm: [echo] *** Running AssignGroup Tests with JDBC Realm *** setup-jdbc-realm: 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: setS1AS80classPath: setS1WSclassPath: setJWSDPclassPath: setTimeStamp: init-password-file: init-common: init-password-file: create-password-file: create-report-dir: deploy-jdbc-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: create-jdbc-connpool-common: [exec] Option target deprecated. [exec] create-jdbc-connection-pool --user admin --terse=false --target server --property User=dbuser:Password=dbpassword:dataBaseName=testdb:serverName=localhost:portNumber=1527:create=true:retrieveMessagesFromServerOnGetMessage=true --echo=true --port 4848 --allownoncomponentcallers=false --interactive=true --passwordfile /export1/sonia/appserver-sqe/build-config/adminpassword.txt --host localhost --datasourceclassname org.apache.derby.jdbc.ClientDataSource --nontransactionalconnections=false --restype javax.sql.DataSource sqe-jdbc-pool [exec] Command create-jdbc-connection-pool 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: create-jdbc-resource-common: [exec] create-jdbc-resource --interactive=true --passwordfile /export1/sonia/appserver-sqe/build-config/adminpassword.txt --user admin --terse=false --enabled=true --host localhost --target server --echo=true --connectionpoolid sqe-jdbc-pool --port 4848 jdbc/s1qeDB [exec] Command create-jdbc-resource executed successfully. [echo] cmd executed for server setup: setdefaultmode: setOSConditions: setToolWin: setToolUnix: setToolProperty: setS1ASclassPath: setS1AS80classPath: setS1WSclassPath: setJWSDPclassPath: setTimeStamp: init-password-file: init-common: init-password-file: create-password-file: create-report-dir: create-db-schema: setdefaultmode: setOSConditions: setToolWin: setToolUnix: setToolProperty: setS1ASclassPath: setS1AS80classPath: setS1WSclassPath: setJWSDPclassPath: setTimeStamp: init-password-file: init-common: init-password-file: create-password-file: create-report-dir: execute-sql-common: [echo] ***** LD_LIBRARY_PATH=/export1/sonia/as911test/jdk/jre/lib/sparc/server:/export1/sonia/as911test/jdk/jre/lib/sparc:/export1/sonia/as911test/jdk/jre/../lib/sparc ***** [sql] Executing file: /export1/sonia/appserver-sqe/pe/security/jdbcrealm/sql/create_derby.sql [sql] 0 rows affected [sql] 0 rows affected [sql] 0 rows affected [sql] 3 of 3 SQL statements 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: 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 2 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: create-users: setdefaultmode: setOSConditions: setToolWin: setToolUnix: setToolProperty: setS1ASclassPath: 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 2 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: create-jdbc-realm-users: [java] The args attribute is deprecated. Please use nested arg elements. [java] loading the driver class:org.apache.derby.jdbc.ClientDriver [java] Digest alg = MD5 [java] connecting with jdbcurl=jdbc:derby://localhost:1527/testdb;retrieveMessagesFromServerOnGetMessage=true;create=true;user=dbuser;password=dbpassword; setdefaultmode: setOSConditions: setToolWin: setToolUnix: setToolProperty: setS1ASclassPath: 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 2 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: create-jdbc-realm-users: [java] The args attribute is deprecated. Please use nested arg elements. [java] loading the driver class:org.apache.derby.jdbc.ClientDriver [java] Digest alg = MD5 [java] connecting with jdbcurl=jdbc:derby://localhost:1527/testdb;retrieveMessagesFromServerOnGetMessage=true;create=true;user=dbuser;password=dbpassword; setdefaultmode: setOSConditions: setToolWin: setToolUnix: setToolProperty: setS1ASclassPath: 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 2 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: create-jdbc-realm-users: [java] The args attribute is deprecated. Please use nested arg elements. [java] loading the driver class:org.apache.derby.jdbc.ClientDriver [java] Digest alg = MD5 [java] connecting with jdbcurl=jdbc:derby://localhost:1527/testdb;retrieveMessagesFromServerOnGetMessage=true;create=true;user=dbuser;password=dbpassword; setdefaultmode: setOSConditions: setToolWin: setToolUnix: setToolProperty: setS1ASclassPath: setS1AS80classPath: setS1WSclassPath: setJWSDPclassPath: setTimeStamp: init-password-file: init-common: init-password-file: create-password-file: create-report-dir: create-jdbc-realm: create-auth-jdbcrealm: setdefaultmode: setOSConditions: setToolWin: setToolUnix: setToolProperty: setS1ASclassPath: setS1AS80classPath: setS1WSclassPath: setJWSDPclassPath: setTimeStamp: init-password-file: init-common: init-password-file: create-password-file: create-report-dir: create-auth-realm: [echo] Creating auth realm realmperapp ... [exec] create-auth-realm --classname com.sun.enterprise.security.auth.realm.jdbc.JDBCRealm --interactive=true --passwordfile /export1/sonia/appserver-sqe/build-config/adminpassword.txt --user admin --terse=false --host localhost --target server --property jaas-context=jdbcRealm:datasource-jndi=jdbc/s1qeDB:user-table=usertable:user-name-column=userid:password-column=password:group-table=grouptable:group-name-column=groupid: --echo=true --port 4848 realmperapp [exec] Command create-auth-realm executed successfully. 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: setS1AS80classPath: setS1WSclassPath: setJWSDPclassPath: setTimeStamp: init-password-file: init-common: init-password-file: create-password-file: create-report-dir: setup-assign-group: setdefaultmode: setOSConditions: setToolWin: setToolUnix: setToolProperty: setS1ASclassPath: setS1AS80classPath: setS1WSclassPath: setJWSDPclassPath: setTimeStamp: init-password-file: init-common: init-password-file: create-password-file: create-report-dir: set-assign-groups-realm: [echo] Setting groups to a given auth realm realmperapp... [exec] set --interactive=true --passwordfile /export1/sonia/appserver-sqe/build-config/adminpassword.txt --user admin --terse=false --host localhost --echo=true --port 4848 server-config.security-service.auth-realm.realmperapp.property.assign-groups=DefaultGroup1 [exec] server-config.security-service.auth-realm.realmperapp.property.assign-groups = DefaultGroup1 restart: 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: setS1AS80classPath: setS1WSclassPath: setJWSDPclassPath: setTimeStamp: init-password-file: init-common: init-password-file: create-password-file: create-report-dir: restart-server-instance-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: restart-server-instance-common-pe: [echo] Restarting the AppServer instance... setdefaultmode: setOSConditions: setToolWin: setToolUnix: setToolProperty: stop-domain: [echo] run.xml:stopping domain... [exec] Domain domain1 stopped. setdefaultmode: ping-appserver-version: init-password-file: create-password-file: start-domain: start-domain-pe: start-domain-ee: [echo] start-domain is running on Standard/Enterprise Edition... setdefaultmode: setOSConditions: setToolWin: setToolUnix: setToolProperty: start-domain-win: setdefaultmode: setOSConditions: setToolWin: setToolUnix: setToolProperty: start-domain-unix: [echo] run.xml:starting domain on a unix OS... [exec] Starting Domain domain1, please wait. [exec] Default Log location is /export1/sonia/as911test/domains/domain1/logs/server.log. [exec] Redirecting output to /export1/sonia/as911test/domains/domain1/logs/server.log [exec] Domain domain1 started. [exec] Domain [domain1] is running [Sun GlassFish Enterprise Server v2.1.1 (9.1.2) (build b25-fcs)] with its configuration and logs at: [/export1/sonia/as911test/domains]. [exec] Admin Console is available at [https://localhost:4848]. [exec] Use the same port [4848] for "asadmin" commands. [exec] User web applications are available at these URLs: [exec] [http://localhost:8080 https://localhost:8181 ]. [exec] Following web-contexts are available: [exec] [/web1 /__wstx-services ]. [exec] Standard JMX Clients (like JConsole) can connect to JMXServiceURL: [exec] [service:jmx:rmi:///jndi/rmi://jed-asqe-2:8686/jmxrmi] for domain management purposes. [exec] Domain listens on at least following ports for connections: [exec] [8080 8181 4848 3700 3820 3920 8686 ]. [exec] Domain supports application server clusters and other standalone instances. run-test-filerealm: 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: 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 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/assigngroup/applevel/descriptors/persistence.xml to copy. [copy] Warning: Could not find file /export1/sonia/appserver-sqe/pe/security/assigngroup/applevel/${mapping.xml} to copy. [copy] Warning: /export1/sonia/appserver-sqe/pe/security/assigngroup/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-assigngroup-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/assigngroup/applevel/descriptor/sun-cmp-mappings.xml to copy. [copy] Warning: Could not find file /export1/sonia/appserver-sqe/pe/security/assigngroup/applevel/${dbschema} to copy. [copy] Warning: Could not find file /export1/sonia/appserver-sqe/pe/security/assigngroup/applevel/${webservices.xml} to copy. [copy] Warning: Could not find file /export1/sonia/appserver-sqe/pe/security/assigngroup/applevel/${webservices.wsdl} to copy. [copy] Warning: Could not find file /export1/sonia/appserver-sqe/pe/security/assigngroup/applevel/${mapping.xml} to copy. [copy] Warning: Could not find file /export1/sonia/appserver-sqe/pe/security/assigngroup/applevel/${sun-resources-ejb.xml} to copy. [jar] Building jar: /export1/sonia/appserver-sqe/build/pe/sparc_jed-asqe-2_SunOS/sec/archive/sec-assigngroup-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/assigngroup/applevel/${sun-resources-appclient.xml} to copy. [jar] Building jar: /export1/sonia/appserver-sqe/build/pe/sparc_jed-asqe-2_SunOS/sec/archive/sec-assigngroup-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/assigngroup/applevel/${sun-resources-ear.xml} to copy. [jar] Building jar: /export1/sonia/appserver-sqe/build/pe/sparc_jed-asqe-2_SunOS/sec/archive/sec-assigngroup-applevelApp.ear 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] deploy --user admin --terse=false --target server --echo=true --upload=true --port 4848 --interactive=true --passwordfile /export1/sonia/appserver-sqe/build-config/adminpassword.txt --availabilityenabled=false --enabled=true --retrieve /export1/sonia/appserver-sqe/build/pe/sparc_jed-asqe-2_SunOS/sec/archive --host localhost --generatermistubs=false --precompilejsp=false --force=true --name sec-assigngroup-applevelApp --verify=false /export1/sonia/appserver-sqe/build/pe/sparc_jed-asqe-2_SunOS/sec/archive/sec-assigngroup-applevelApp.ear [exec] Command deploy executed successfully. run: 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-client1: [exec] WS HOME appserver-sqe [exec] **************************************************************** [exec] * AssignGroup 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:576) [exec] at com.sun.corba.ee.impl.interceptors.InterceptorInvoker.invokeServerInterceptorIntermediatePoint(InterceptorInvoker.java:627) [exec] at com.sun.corba.ee.impl.interceptors.PIHandlerImpl.invokeServerPIIntermediatePoint(PIHandlerImpl.java:530) [exec] at com.sun.corba.ee.impl.protocol.CorbaServerRequestDispatcherImpl.getServantWithPI(CorbaServerRequestDispatcherImpl.java:406) [exec] at com.sun.corba.ee.impl.protocol.CorbaServerRequestDispatcherImpl.dispatch(CorbaServerRequestDispatcherImpl.java:224) [exec] at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequestRequest(CorbaMessageMediatorImpl.java:1846) [exec] at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequest(CorbaMessageMediatorImpl.java:1706) [exec] at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleInput(CorbaMessageMediatorImpl.java:1088) [exec] at com.sun.corba.ee.impl.protocol.giopmsgheaders.RequestMessage_1_2.callback(RequestMessage_1_2.java:223) [exec] at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequest(CorbaMessageMediatorImpl.java:806) [exec] at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.dispatch(CorbaMessageMediatorImpl.java:563) [exec] at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.doWork(CorbaMessageMediatorImpl.java:2567) [exec] at com.sun.corba.ee.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.run(ThreadPoolImpl.java:555) [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:277) [exec] at com.sun.corba.ee.impl.presentation.rmi.StubInvocationHandlerImpl.privateInvoke(StubInvocationHandlerImpl.java:205) [exec] at com.sun.corba.ee.impl.presentation.rmi.StubInvocationHandlerImpl.invoke(StubInvocationHandlerImpl.java:152) [exec] at com.sun.corba.ee.impl.presentation.rmi.bcel.BCELStubBase.invoke(BCELStubBase.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:68) [exec] at com.sun.s1peqe.security.realmperapp.RealmPerAppTestClient.main(RealmPerAppTestClient.java:41) [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:585) [exec] at com.sun.enterprise.util.Utility.invokeApplicationMain(Utility.java:266) [exec] at com.sun.enterprise.appclient.MainWithModuleSupport.(MainWithModuleSupport.java:450) [exec] at com.sun.enterprise.appclient.MainWithModuleSupport.(MainWithModuleSupport.java:260) [exec] at com.sun.enterprise.appclient.Main.main(Main.java:200) [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:576) [exec] at com.sun.corba.ee.impl.interceptors.InterceptorInvoker.invokeServerInterceptorIntermediatePoint(InterceptorInvoker.java:627) [exec] at com.sun.corba.ee.impl.interceptors.PIHandlerImpl.invokeServerPIIntermediatePoint(PIHandlerImpl.java:530) [exec] at com.sun.corba.ee.impl.protocol.CorbaServerRequestDispatcherImpl.getServantWithPI(CorbaServerRequestDispatcherImpl.java:406) [exec] at com.sun.corba.ee.impl.protocol.CorbaServerRequestDispatcherImpl.dispatch(CorbaServerRequestDispatcherImpl.java:224) [exec] at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequestRequest(CorbaMessageMediatorImpl.java:1846) [exec] at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequest(CorbaMessageMediatorImpl.java:1706) [exec] at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleInput(CorbaMessageMediatorImpl.java:1088) [exec] at com.sun.corba.ee.impl.protocol.giopmsgheaders.RequestMessage_1_2.callback(RequestMessage_1_2.java:223) [exec] at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequest(CorbaMessageMediatorImpl.java:806) [exec] at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.dispatch(CorbaMessageMediatorImpl.java:563) [exec] at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.doWork(CorbaMessageMediatorImpl.java:2567) [exec] at com.sun.corba.ee.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.run(ThreadPoolImpl.java:555) [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:494) [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:131) [exec] at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.getSystemExceptionReply(CorbaMessageMediatorImpl.java:685) [exec] at com.sun.corba.ee.impl.protocol.CorbaClientRequestDispatcherImpl.processResponse(CorbaClientRequestDispatcherImpl.java:472) [exec] at com.sun.corba.ee.impl.protocol.CorbaClientRequestDispatcherImpl.marshalingComplete(CorbaClientRequestDispatcherImpl.java:363) [exec] at com.sun.corba.ee.impl.protocol.CorbaClientDelegateImpl.invoke(CorbaClientDelegateImpl.java:219) [exec] at com.sun.corba.ee.impl.presentation.rmi.StubInvocationHandlerImpl.privateInvoke(StubInvocationHandlerImpl.java:192) [exec] ... 13 more [exec] Generating report at /export1/sonia/appserver-sqe/test_results.xml [exec] ----------------------------------------- [exec] - Test2.testIsCallerIsExcepted(): FAIL - [exec] - Test3.Calling authorized method: FAIL - [exec] - Test4.Calling Not authorized method: 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/assigngroup/applevel confirmMissingReport-common: [exec] WS HOME appserver-sqe [exec] **************************************************************** [exec] * AssignGroup 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:576) [exec] at com.sun.corba.ee.impl.interceptors.InterceptorInvoker.invokeServerInterceptorIntermediatePoint(InterceptorInvoker.java:627) [exec] at com.sun.corba.ee.impl.interceptors.PIHandlerImpl.invokeServerPIIntermediatePoint(PIHandlerImpl.java:530) [exec] at com.sun.corba.ee.impl.protocol.CorbaServerRequestDispatcherImpl.getServantWithPI(CorbaServerRequestDispatcherImpl.java:406) [exec] at com.sun.corba.ee.impl.protocol.CorbaServerRequestDispatcherImpl.dispatch(CorbaServerRequestDispatcherImpl.java:224) [exec] at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequestRequest(CorbaMessageMediatorImpl.java:1846) [exec] at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequest(CorbaMessageMediatorImpl.java:1706) [exec] at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleInput(CorbaMessageMediatorImpl.java:1088) [exec] at com.sun.corba.ee.impl.protocol.giopmsgheaders.RequestMessage_1_2.callback(RequestMessage_1_2.java:223) [exec] at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequest(CorbaMessageMediatorImpl.java:806) [exec] at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.dispatch(CorbaMessageMediatorImpl.java:563) [exec] at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.doWork(CorbaMessageMediatorImpl.java:2567) [exec] at com.sun.corba.ee.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.run(ThreadPoolImpl.java:555) [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:277) [exec] at com.sun.corba.ee.impl.presentation.rmi.StubInvocationHandlerImpl.privateInvoke(StubInvocationHandlerImpl.java:205) [exec] at com.sun.corba.ee.impl.presentation.rmi.StubInvocationHandlerImpl.invoke(StubInvocationHandlerImpl.java:152) [exec] at com.sun.corba.ee.impl.presentation.rmi.bcel.BCELStubBase.invoke(BCELStubBase.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:68) [exec] at com.sun.s1peqe.security.realmperapp.RealmPerAppTestClient.main(RealmPerAppTestClient.java:41) [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:585) [exec] at com.sun.enterprise.util.Utility.invokeApplicationMain(Utility.java:266) [exec] at com.sun.enterprise.appclient.MainWithModuleSupport.(MainWithModuleSupport.java:450) [exec] at com.sun.enterprise.appclient.MainWithModuleSupport.(MainWithModuleSupport.java:260) [exec] at com.sun.enterprise.appclient.Main.main(Main.java:200) [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:576) [exec] at com.sun.corba.ee.impl.interceptors.InterceptorInvoker.invokeServerInterceptorIntermediatePoint(InterceptorInvoker.java:627) [exec] at com.sun.corba.ee.impl.interceptors.PIHandlerImpl.invokeServerPIIntermediatePoint(PIHandlerImpl.java:530) [exec] at com.sun.corba.ee.impl.protocol.CorbaServerRequestDispatcherImpl.getServantWithPI(CorbaServerRequestDispatcherImpl.java:406) [exec] at com.sun.corba.ee.impl.protocol.CorbaServerRequestDispatcherImpl.dispatch(CorbaServerRequestDispatcherImpl.java:224) [exec] at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequestRequest(CorbaMessageMediatorImpl.java:1846) [exec] at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequest(CorbaMessageMediatorImpl.java:1706) [exec] at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleInput(CorbaMessageMediatorImpl.java:1088) [exec] at com.sun.corba.ee.impl.protocol.giopmsgheaders.RequestMessage_1_2.callback(RequestMessage_1_2.java:223) [exec] at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequest(CorbaMessageMediatorImpl.java:806) [exec] at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.dispatch(CorbaMessageMediatorImpl.java:563) [exec] at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.doWork(CorbaMessageMediatorImpl.java:2567) [exec] at com.sun.corba.ee.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.run(ThreadPoolImpl.java:555) [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:494) [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:131) [exec] at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.getSystemExceptionReply(CorbaMessageMediatorImpl.java:685) [exec] at com.sun.corba.ee.impl.protocol.CorbaClientRequestDispatcherImpl.processResponse(CorbaClientRequestDispatcherImpl.java:472) [exec] at com.sun.corba.ee.impl.protocol.CorbaClientRequestDispatcherImpl.marshalingComplete(CorbaClientRequestDispatcherImpl.java:363) [exec] at com.sun.corba.ee.impl.protocol.CorbaClientDelegateImpl.invoke(CorbaClientDelegateImpl.java:219) [exec] at com.sun.corba.ee.impl.presentation.rmi.StubInvocationHandlerImpl.privateInvoke(StubInvocationHandlerImpl.java:192) [exec] ... 13 more [exec] Generating report at /export1/sonia/appserver-sqe/test_results.xml [exec] ----------------------------------------- [exec] - Test2.testIsCallerIsExcepted(): FAIL - [exec] - Test3.Calling authorized method: FAIL - [exec] - Test4.Calling Not authorized method: 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/assigngroup/applevel confirmMissingReport-common: undeploy: setdefaultmode: setOSConditions: setToolWin: setToolUnix: setToolProperty: setS1ASclassPath: setS1AS80classPath: setS1WSclassPath: setJWSDPclassPath: setTimeStamp: init-password-file: init-common: init-password-file: create-password-file: create-report-dir: undeploy-common: [echo] Undeploying sec-assigngroup-applevelApp on server server ... [exec] undeploy --interactive=true --passwordfile /export1/sonia/appserver-sqe/build-config/adminpassword.txt --user admin --terse=false --host localhost --target server --echo=true --cascade=false --port 4848 sec-assigngroup-applevelApp [exec] Command undeploy executed successfully. [echo] cmd executed for server run-test: unsetup-jdbc-realm: 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: setS1AS80classPath: setS1WSclassPath: setJWSDPclassPath: setTimeStamp: init-password-file: init-common: init-password-file: create-password-file: create-report-dir: unsetup: setdefaultmode: setOSConditions: setToolWin: setToolUnix: setToolProperty: setS1ASclassPath: setS1AS80classPath: setS1WSclassPath: setJWSDPclassPath: setTimeStamp: init-password-file: init-common: init-password-file: create-password-file: create-report-dir: delete-jdbc-realm: delete-auth-jdbcrealm: setdefaultmode: setOSConditions: setToolWin: setToolUnix: setToolProperty: setS1ASclassPath: setS1AS80classPath: setS1WSclassPath: setJWSDPclassPath: setTimeStamp: init-password-file: init-common: init-password-file: create-password-file: create-report-dir: delete-auth-realm: [echo] Deleting auth realm realmperapp ... [exec] delete-auth-realm --interactive=true --passwordfile /export1/sonia/appserver-sqe/build-config/adminpassword.txt --user admin --terse=false --host localhost --target server --echo=true --port 4848 realmperapp [exec] Command delete-auth-realm 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: delete-db-schema: setdefaultmode: setOSConditions: setToolWin: setToolUnix: setToolProperty: setS1ASclassPath: setS1AS80classPath: setS1WSclassPath: setJWSDPclassPath: setTimeStamp: init-password-file: init-common: init-password-file: create-password-file: create-report-dir: execute-sql-common: [echo] ***** LD_LIBRARY_PATH=/export1/sonia/as911test/jdk/jre/lib/sparc/server:/export1/sonia/as911test/jdk/jre/lib/sparc:/export1/sonia/as911test/jdk/jre/../lib/sparc ***** [sql] Executing file: /export1/sonia/appserver-sqe/pe/security/jdbcrealm/sql/drop_derby.sql [sql] 0 rows affected [sql] 0 rows affected [sql] 2 of 2 SQL statements 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: undeploy-jdbc-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: delete-jdbc-resource-common: [exec] delete-jdbc-resource --interactive=true --passwordfile /export1/sonia/appserver-sqe/build-config/adminpassword.txt --user admin --terse=false --host localhost --target server --echo=true --port 4848 jdbc/s1qeDB [exec] Command delete-jdbc-resource executed successfully. [echo] cmd executed for server setdefaultmode: setOSConditions: setToolWin: setToolUnix: setToolProperty: setS1ASclassPath: setS1AS80classPath: setS1WSclassPath: setJWSDPclassPath: setTimeStamp: init-password-file: init-common: init-password-file: create-password-file: create-report-dir: delete-jdbc-connpool-common: [exec] Option target deprecated. [exec] delete-jdbc-connection-pool --interactive=true --passwordfile /export1/sonia/appserver-sqe/build-config/adminpassword.txt --user admin --terse=false --host localhost --target server --echo=true --cascade=true --port 4848 sqe-jdbc-pool [exec] Command delete-jdbc-connection-pool executed successfully. [echo] cmd executed for server BUILD SUCCESSFUL Total time: 6 minutes 3 seconds