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: set-appserver-version: 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-pe: [exec] *** [exec] found key for : clientcert [exec] chain [0] = [ [exec] [ [exec] Version: V3 [exec] Subject: EMAILADDRESS=jagadesh.munta@sun.com, CN=Jagadesh Munta, UID=munta, OU=Java Software, O=Sun Microsystems Inc, C=US [exec] Signature Algorithm: SHA1withDSA, OID = 1.2.840.10040.4.3 [exec] Key: SunPKCS11-Solaris DSA public key, 1024 bits (id 10935000, session object) [exec] y: 90993204387822954457560666771204360952984012277081500933253600693615193130029764750830993148778470256367698359322990951597789143792313090882470659529742912221724876726172675280509229718485960472398298211797516666728649419658819838026099346261626480632945672634623307072656837712584207146901422863729185449081 [exec] p: 178011905478542266528237562450159990145232156369120674273274450314442865788737020770612695252123463079567156784778466449970650770920727857050009668388144034129745221171818506047231150039301079959358067395348717066319802262019714966524135060945913707594956514672855690606794135837542707371727429551343320695239 [exec] q: 864205495604807476120572616017955259175325408501 [exec] g: 174068207532402095185811980123523436538604490794561350978495831040599953488455823147851597408940950725307797094915759492368300574252438761037084473467180148876118103083043754985190983472601550494691329488083395492313850000361646482644608492304078721818959999056496097769368017749273708962006689187956744210730 [exec] Validity: [From: Thu Jun 25 17:08:23 PDT 2009, [exec] To: Wed Sep 23 17:08:23 PDT 2009] [exec] Issuer: EMAILADDRESS=jagadesh.munta@sun.com, CN=Jagadesh Munta, UID=munta, OU=Java Software, O=Sun Microsystems Inc, C=US [exec] SerialNumber: [ 4a441177] [exec] ] [exec] Algorithm: [SHA1withDSA] [exec] Signature: [exec] 0000: 30 2C 02 14 61 BE F3 A0 8F 5B 15 F7 76 F1 35 3A 0,..a....[..v.5: [exec] 0010: F6 AA EC FF 12 B1 3F 0D 02 14 31 78 57 A2 A1 EF ......?...1xW... [exec] 0020: 07 CA DF 17 69 C5 E5 87 25 D2 59 08 79 59 ....i...%.Y.yY [exec] ] [exec] *** [exec] adding as trusted cert: [exec] Subject: OU=Equifax Secure Certificate Authority, O=Equifax, C=US [exec] Issuer: OU=Equifax Secure Certificate Authority, O=Equifax, C=US [exec] Algorithm: RSA; Serial number: 0x35def4cf [exec] Valid from Sat Aug 22 09:41:51 PDT 1998 until Wed Aug 22 09:41:51 PDT 2018 [exec] adding as trusted cert: [exec] Subject: OU=Starfield Class 2 Certification Authority, O="Starfield Technologies, Inc.", C=US [exec] Issuer: OU=Starfield Class 2 Certification Authority, O="Starfield Technologies, Inc.", C=US [exec] Algorithm: RSA; Serial number: 0x0 [exec] Valid from Tue Jun 29 10:39:16 PDT 2004 until Thu Jun 29 10:39:16 PDT 2034 [exec] adding as trusted cert: [exec] Subject: CN=Equifax Secure eBusiness CA-1, O=Equifax Secure Inc., C=US [exec] Issuer: CN=Equifax Secure eBusiness CA-1, O=Equifax Secure Inc., C=US [exec] Algorithm: RSA; Serial number: 0x4 [exec] Valid from Sun Jun 20 21:00:00 PDT 1999 until Sat Jun 20 21:00:00 PDT 2020 [exec] adding as trusted cert: [exec] Subject: CN=VeriSign Class 2 Public Primary Certification Authority - G3, OU="(c) 1999 VeriSign, Inc. - For authorized use only", OU=VeriSign Trust Network, O="VeriSign, Inc.", C=US [exec] Issuer: CN=VeriSign Class 2 Public Primary Certification Authority - G3, OU="(c) 1999 VeriSign, Inc. - For authorized use only", OU=VeriSign Trust Network, O="VeriSign, Inc.", C=US [exec] Algorithm: RSA; Serial number: 0x6170cb498c5f984529e7b0a6d9505b7a [exec] Valid from Thu Sep 30 17:00:00 PDT 1999 until Wed Jul 16 16:59:59 PDT 2036 [exec] adding as trusted cert: [exec] Subject: OU=VeriSign Trust Network, OU="(c) 1998 VeriSign, Inc. - For authorized use only", OU=Class 1 Public Primary Certification Authority - G2, O="VeriSign, Inc.", C=US [exec] Issuer: OU=VeriSign Trust Network, OU="(c) 1998 VeriSign, Inc. - For authorized use only", OU=Class 1 Public Primary Certification Authority - G2, O="VeriSign, Inc.", C=US [exec] Algorithm: RSA; Serial number: 0x4cc7eaaa983e71d39310f83d3a899192 [exec] Valid from Sun May 17 17:00:00 PDT 1998 until Tue Aug 01 16:59:59 PDT 2028 [exec] adding as trusted cert: [exec] Subject: EMAILADDRESS=personal-freemail@thawte.com, CN=Thawte Personal Freemail CA, OU=Certification Services Division, O=Thawte Consulting, L=Cape Town, ST=Western Cape, C=ZA [exec] Issuer: EMAILADDRESS=personal-freemail@thawte.com, CN=Thawte Personal Freemail CA, OU=Certification Services Division, O=Thawte Consulting, L=Cape Town, ST=Western Cape, C=ZA [exec] Algorithm: RSA; Serial number: 0x0 [exec] Valid from Sun Dec 31 16:00:00 PST 1995 until Thu Dec 31 15:59:59 PST 2020 [exec] adding as trusted cert: [exec] Subject: EMAILADDRESS=server-certs@thawte.com, CN=Thawte Server CA, OU=Certification Services Division, O=Thawte Consulting cc, L=Cape Town, ST=Western Cape, C=ZA [exec] Issuer: EMAILADDRESS=server-certs@thawte.com, CN=Thawte Server CA, OU=Certification Services Division, O=Thawte Consulting cc, L=Cape Town, ST=Western Cape, C=ZA [exec] Algorithm: RSA; Serial number: 0x1 [exec] Valid from Wed Jul 31 17:00:00 PDT 1996 until Thu Dec 31 15:59:59 PST 2020 [exec] adding as trusted cert: [exec] Subject: OU=VeriSign Trust Network, OU="(c) 1998 VeriSign, Inc. - For authorized use only", OU=Class 3 Public Primary Certification Authority - G2, O="VeriSign, Inc.", C=US [exec] Issuer: OU=VeriSign Trust Network, OU="(c) 1998 VeriSign, Inc. - For authorized use only", OU=Class 3 Public Primary Certification Authority - G2, O="VeriSign, Inc.", C=US [exec] Algorithm: RSA; Serial number: 0x7dd9fe07cfa81eb7107967fba78934c6 [exec] Valid from Sun May 17 17:00:00 PDT 1998 until Tue Aug 01 16:59:59 PDT 2028 [exec] adding as trusted cert: [exec] Subject: OU=Equifax Secure eBusiness CA-2, O=Equifax Secure, C=US [exec] Issuer: OU=Equifax Secure eBusiness CA-2, O=Equifax Secure, C=US [exec] Algorithm: RSA; Serial number: 0x3770cfb5 [exec] Valid from Wed Jun 23 05:14:45 PDT 1999 until Sun Jun 23 05:14:45 PDT 2019 [exec] adding as trusted cert: [exec] Subject: CN=Equifax Secure Global eBusiness CA-1, O=Equifax Secure Inc., C=US [exec] Issuer: CN=Equifax Secure Global eBusiness CA-1, O=Equifax Secure Inc., C=US [exec] Algorithm: RSA; Serial number: 0x1 [exec] Valid from Sun Jun 20 21:00:00 PDT 1999 until Sat Jun 20 21:00:00 PDT 2020 [exec] adding as trusted cert: [exec] Subject: EMAILADDRESS=jagadesh.munta@sun.com, CN=Jagadesh Munta, UID=munta, OU=Java Software, O=Sun Microsystems Inc, C=US [exec] Issuer: EMAILADDRESS=jagadesh.munta@sun.com, CN=Jagadesh Munta, UID=munta, OU=Java Software, O=Sun Microsystems Inc, C=US [exec] Algorithm: DSA; Serial number: 0x4a441177 [exec] Valid from Thu Jun 25 17:08:23 PDT 2009 until Wed Sep 23 17:08:23 PDT 2009 [exec] adding as trusted cert: [exec] Subject: CN=Entrust.net Secure Server Certification Authority, OU=(c) 2000 Entrust.net Limited, OU=www.entrust.net/SSL_CPS incorp. by ref. (limits liab.), O=Entrust.net [exec] Issuer: CN=Entrust.net Secure Server Certification Authority, OU=(c) 2000 Entrust.net Limited, OU=www.entrust.net/SSL_CPS incorp. by ref. (limits liab.), O=Entrust.net [exec] Algorithm: RSA; Serial number: 0x389b113c [exec] Valid from Fri Feb 04 09:20:00 PST 2000 until Tue Feb 04 09:50:00 PST 2020 [exec] adding as trusted cert: [exec] Subject: CN=GTE CyberTrust Global Root, OU="GTE CyberTrust Solutions, Inc.", O=GTE Corporation, C=US [exec] Issuer: CN=GTE CyberTrust Global Root, OU="GTE CyberTrust Solutions, Inc.", O=GTE Corporation, C=US [exec] Algorithm: RSA; Serial number: 0x1a5 [exec] Valid from Wed Aug 12 17:29:00 PDT 1998 until Mon Aug 13 16:59:00 PDT 2018 [exec] adding as trusted cert: [exec] Subject: OU=Secure Server Certification Authority, O="RSA Data Security, Inc.", C=US [exec] Issuer: OU=Secure Server Certification Authority, O="RSA Data Security, Inc.", C=US [exec] Algorithm: RSA; Serial number: 0x2ad667e4e45fe5e576f3c98195eddc0 [exec] Valid from Tue Nov 08 16:00:00 PST 1994 until Thu Jan 07 15:59:59 PST 2010 [exec] adding as trusted cert: [exec] Subject: EMAILADDRESS=personal-premium@thawte.com, CN=Thawte Personal Premium CA, OU=Certification Services Division, O=Thawte Consulting, L=Cape Town, ST=Western Cape, C=ZA [exec] Issuer: EMAILADDRESS=personal-premium@thawte.com, CN=Thawte Personal Premium CA, OU=Certification Services Division, O=Thawte Consulting, L=Cape Town, ST=Western Cape, C=ZA [exec] Algorithm: RSA; Serial number: 0x0 [exec] Valid from Sun Dec 31 16:00:00 PST 1995 until Thu Dec 31 15:59:59 PST 2020 [exec] adding as trusted cert: [exec] Subject: EMAILADDRESS=personal-basic@thawte.com, CN=Thawte Personal Basic CA, OU=Certification Services Division, O=Thawte Consulting, L=Cape Town, ST=Western Cape, C=ZA [exec] Issuer: EMAILADDRESS=personal-basic@thawte.com, CN=Thawte Personal Basic CA, OU=Certification Services Division, O=Thawte Consulting, L=Cape Town, ST=Western Cape, C=ZA [exec] Algorithm: RSA; Serial number: 0x0 [exec] Valid from Sun Dec 31 16:00:00 PST 1995 until Thu Dec 31 15:59:59 PST 2020 [exec] adding as trusted cert: [exec] Subject: CN=Baltimore CyberTrust Root, OU=CyberTrust, O=Baltimore, C=IE [exec] Issuer: CN=Baltimore CyberTrust Root, OU=CyberTrust, O=Baltimore, C=IE [exec] Algorithm: RSA; Serial number: 0x20000b9 [exec] Valid from Fri May 12 11:46:00 PDT 2000 until Mon May 12 16:59:00 PDT 2025 [exec] adding as trusted cert: [exec] Subject: CN=localhost, OU=GlassFish, O=Sun Microsystems, L=Santa Clara, ST=California, C=US [exec] Issuer: CN=localhost, OU=GlassFish, O=Sun Microsystems, L=Santa Clara, ST=California, C=US [exec] Algorithm: RSA; Serial number: 0x4a434794 [exec] Valid from Thu Jun 25 02:47:00 PDT 2009 until Sun Jun 23 02:47:00 PDT 2019 [exec] adding as trusted cert: [exec] Subject: CN=Entrust.net Client Certification Authority, OU=(c) 2000 Entrust.net Limited, OU=www.entrust.net/GCCA_CPS incorp. by ref. (limits liab.), O=Entrust.net [exec] Issuer: CN=Entrust.net Client Certification Authority, OU=(c) 2000 Entrust.net Limited, OU=www.entrust.net/GCCA_CPS incorp. by ref. (limits liab.), O=Entrust.net [exec] Algorithm: RSA; Serial number: 0x389ef6e4 [exec] Valid from Mon Feb 07 08:16:40 PST 2000 until Fri Feb 07 08:46:40 PST 2020 [exec] adding as trusted cert: [exec] Subject: CN=GeoTrust Global CA, O=GeoTrust Inc., C=US [exec] Issuer: CN=GeoTrust Global CA, O=GeoTrust Inc., C=US [exec] Algorithm: RSA; Serial number: 0x23456 [exec] Valid from Mon May 20 21:00:00 PDT 2002 until Fri May 20 21:00:00 PDT 2022 [exec] adding as trusted cert: [exec] Subject: OU=Class 3 Public Primary Certification Authority, O="VeriSign, Inc.", C=US [exec] Issuer: OU=Class 3 Public Primary Certification Authority, O="VeriSign, Inc.", C=US [exec] Algorithm: RSA; Serial number: 0x70bae41d10d92934b638ca7b03ccbabf [exec] Valid from Sun Jan 28 16:00:00 PST 1996 until Tue Aug 01 16:59:59 PDT 2028 [exec] adding as trusted cert: [exec] Subject: OU=Class 1 Public Primary Certification Authority, O="VeriSign, Inc.", C=US [exec] Issuer: OU=Class 1 Public Primary Certification Authority, O="VeriSign, Inc.", C=US [exec] Algorithm: RSA; Serial number: 0xcdba7f56f0dfe4bc54fe22acb372aa55 [exec] Valid from Sun Jan 28 16:00:00 PST 1996 until Tue Aug 01 16:59:59 PDT 2028 [exec] adding as trusted cert: [exec] Subject: OU=Go Daddy Class 2 Certification Authority, O="The Go Daddy Group, Inc.", C=US [exec] Issuer: OU=Go Daddy Class 2 Certification Authority, O="The Go Daddy Group, Inc.", C=US [exec] Algorithm: RSA; Serial number: 0x0 [exec] Valid from Tue Jun 29 10:06:20 PDT 2004 until Thu Jun 29 10:06:20 PDT 2034 [exec] adding as trusted cert: [exec] Subject: CN=Baltimore CyberTrust Code Signing Root, OU=CyberTrust, O=Baltimore, C=IE [exec] Issuer: CN=Baltimore CyberTrust Code Signing Root, OU=CyberTrust, O=Baltimore, C=IE [exec] Algorithm: RSA; Serial number: 0x20000bf [exec] Valid from Wed May 17 07:01:00 PDT 2000 until Sat May 17 16:59:00 PDT 2025 [exec] adding as trusted cert: [exec] Subject: CN=VeriSign Class 1 Public Primary Certification Authority - G3, OU="(c) 1999 VeriSign, Inc. - For authorized use only", OU=VeriSign Trust Network, O="VeriSign, Inc.", C=US [exec] Issuer: CN=VeriSign Class 1 Public Primary Certification Authority - G3, OU="(c) 1999 VeriSign, Inc. - For authorized use only", OU=VeriSign Trust Network, O="VeriSign, Inc.", C=US [exec] Algorithm: RSA; Serial number: 0x8b5b75568454850b00cfaf3848ceb1a4 [exec] Valid from Thu Sep 30 17:00:00 PDT 1999 until Wed Jul 16 16:59:59 PDT 2036 [exec] adding as trusted cert: [exec] Subject: OU=VeriSign Trust Network, OU="(c) 1998 VeriSign, Inc. - For authorized use only", OU=Class 2 Public Primary Certification Authority - G2, O="VeriSign, Inc.", C=US [exec] Issuer: OU=VeriSign Trust Network, OU="(c) 1998 VeriSign, Inc. - For authorized use only", OU=Class 2 Public Primary Certification Authority - G2, O="VeriSign, Inc.", C=US [exec] Algorithm: RSA; Serial number: 0xb92f60cc889fa17a4609b85b706c8aaf [exec] Valid from Sun May 17 17:00:00 PDT 1998 until Tue Aug 01 16:59:59 PDT 2028 [exec] adding as trusted cert: [exec] Subject: CN=Entrust.net Certification Authority (2048), OU=(c) 1999 Entrust.net Limited, OU=www.entrust.net/CPS_2048 incorp. by ref. (limits liab.), O=Entrust.net [exec] Issuer: CN=Entrust.net Certification Authority (2048), OU=(c) 1999 Entrust.net Limited, OU=www.entrust.net/CPS_2048 incorp. by ref. (limits liab.), O=Entrust.net [exec] Algorithm: RSA; Serial number: 0x3863b966 [exec] Valid from Fri Dec 24 09:50:51 PST 1999 until Tue Dec 24 10:20:51 PST 2019 [exec] adding as trusted cert: [exec] Subject: OU=Class 2 Public Primary Certification Authority, O="VeriSign, Inc.", C=US [exec] Issuer: OU=Class 2 Public Primary Certification Authority, O="VeriSign, Inc.", C=US [exec] Algorithm: RSA; Serial number: 0x2d1bfc4a178da391ebe7fff58b45be0b [exec] Valid from Sun Jan 28 16:00:00 PST 1996 until Tue Aug 01 16:59:59 PDT 2028 [exec] adding as trusted cert: [exec] Subject: CN=GTE CyberTrust Root 5, OU="GTE CyberTrust Solutions, Inc.", O=GTE Corporation, C=US [exec] Issuer: CN=GTE CyberTrust Root 5, OU="GTE CyberTrust Solutions, Inc.", O=GTE Corporation, C=US [exec] Algorithm: RSA; Serial number: 0x1b6 [exec] Valid from Fri Aug 14 07:50:00 PDT 1998 until Wed Aug 14 16:59:00 PDT 2013 [exec] adding as trusted cert: [exec] Subject: CN=Entrust.net Secure Server Certification Authority, OU=(c) 1999 Entrust.net Limited, OU=www.entrust.net/CPS incorp. by ref. (limits liab.), O=Entrust.net, C=US [exec] Issuer: CN=Entrust.net Secure Server Certification Authority, OU=(c) 1999 Entrust.net Limited, OU=www.entrust.net/CPS incorp. by ref. (limits liab.), O=Entrust.net, C=US [exec] Algorithm: RSA; Serial number: 0x374ad243 [exec] Valid from Tue May 25 09:09:40 PDT 1999 until Sat May 25 09:39:40 PDT 2019 [exec] adding as trusted cert: [exec] Subject: EMAILADDRESS=premium-server@thawte.com, CN=Thawte Premium Server CA, OU=Certification Services Division, O=Thawte Consulting cc, L=Cape Town, ST=Western Cape, C=ZA [exec] Issuer: EMAILADDRESS=premium-server@thawte.com, CN=Thawte Premium Server CA, OU=Certification Services Division, O=Thawte Consulting cc, L=Cape Town, ST=Western Cape, C=ZA [exec] Algorithm: RSA; Serial number: 0x1 [exec] Valid from Wed Jul 31 17:00:00 PDT 1996 until Thu Dec 31 15:59:59 PST 2020 [exec] adding as trusted cert: [exec] Subject: CN=Entrust.net Client Certification Authority, OU=(c) 1999 Entrust.net Limited, OU=www.entrust.net/Client_CA_Info/CPS incorp. by ref. limits liab., O=Entrust.net, C=US [exec] Issuer: CN=Entrust.net Client Certification Authority, OU=(c) 1999 Entrust.net Limited, OU=www.entrust.net/Client_CA_Info/CPS incorp. by ref. limits liab., O=Entrust.net, C=US [exec] Algorithm: RSA; Serial number: 0x380391ee [exec] Valid from Tue Oct 12 12:24:30 PDT 1999 until Sat Oct 12 12:54:30 PDT 2019 [exec] adding as trusted cert: [exec] Subject: CN=VeriSign Class 3 Public Primary Certification Authority - G3, OU="(c) 1999 VeriSign, Inc. - For authorized use only", OU=VeriSign Trust Network, O="VeriSign, Inc.", C=US [exec] Issuer: CN=VeriSign Class 3 Public Primary Certification Authority - G3, OU="(c) 1999 VeriSign, Inc. - For authorized use only", OU=VeriSign Trust Network, O="VeriSign, Inc.", C=US [exec] Algorithm: RSA; Serial number: 0x9b7e0649a33e62b9d5ee90487129ef57 [exec] Valid from Thu Sep 30 17:00:00 PDT 1999 until Wed Jul 16 16:59:59 PDT 2036 [exec] adding as trusted cert: [exec] Subject: EMAILADDRESS=info@valicert.com, CN=http://www.valicert.com/, OU=ValiCert Class 2 Policy Validation Authority, O="ValiCert, Inc.", L=ValiCert Validation Network [exec] Issuer: EMAILADDRESS=info@valicert.com, CN=http://www.valicert.com/, OU=ValiCert Class 2 Policy Validation Authority, O="ValiCert, Inc.", L=ValiCert Validation Network [exec] Algorithm: RSA; Serial number: 0x1 [exec] Valid from Fri Jun 25 17:19:54 PDT 1999 until Tue Jun 25 17:19:54 PDT 2019 [exec] X509KeyManager passed to SSLContext.init(): need an X509ExtendedKeyManager for SSLEngine use [exec] trigger seeding of SecureRandom [exec] done seeding SecureRandom [exec] WS HOME appserver-sqe [exec] Jun 25, 2009 5:20:50 PM com.sun.enterprise.security.appclient.AppClientSecurityInfoImpl initializeSecurity [exec] INFO: acc.secmgroff [exec] Jun 25, 2009 5:20:50 PM com.sun.enterprise.deployment.util.EjbBundleValidator accept [exec] WARNING: Unresolved : SecAuthTestBean [exec] Jun 25, 2009 5:20:50 PM com.sun.enterprise.transaction.JavaEETransactionManagerSimplified initDelegates [exec] INFO: Using com.sun.enterprise.transaction.jts.JavaEETransactionManagerJTSDelegate as the delegate [exec] **************************************************************** [exec] * Certificate RealmPerApp with realm at application level tests * [exec] **************************************************************** [exec] Looked up home... [exec] Narrowed home... [exec] Creating EJB... [exec] Got the EJB... [exec] Testing with user:EMAILADDRESS=jagadesh.munta@sun.com, CN=Jagadesh Munta, UID=munta, OU=Java Software, O=Sun Microsystems Inc, C=US; 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 org.glassfish.enterprise.iiop.impl.POAProtocolMgr.mapException(POAProtocolMgr.java:298) [exec] at com.sun.ejb.containers.BaseContainer.mapRemoteException(BaseContainer.java:2033) [exec] at com.sun.ejb.containers.BaseContainer.postInvoke(BaseContainer.java:1863) [exec] at com.sun.ejb.containers.BaseContainer.postInvoke(BaseContainer.java:1781) [exec] at com.sun.ejb.containers.EJBObjectInvocationHandler.invoke(EJBObjectInvocationHandler.java:208) [exec] at com.sun.ejb.containers.EJBObjectInvocationHandler.invoke(EJBObjectInvocationHandler.java:118) [exec] at $Proxy80.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:597) [exec] at com.sun.corba.ee.impl.presentation.rmi.ReflectiveTie._invoke(ReflectiveTie.java:156) [exec] at com.sun.corba.ee.impl.protocol.CorbaServerRequestDispatcherImpl.dispatchToServant(CorbaServerRequestDispatcherImpl.java:687) [exec] Test4.Calling unauthorized method - methodIsNotAuthorized(): [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:1854) [exec] at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequest(CorbaMessageMediatorImpl.java:1708) [exec] at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleInput(CorbaMessageMediatorImpl.java:1090) [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:808) [exec] at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.dispatch(CorbaMessageMediatorImpl.java:565) [exec] at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.doWork(CorbaMessageMediatorImpl.java:2575) [exec] at com.sun.corba.ee.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.performWork(ThreadPoolImpl.java:564) [exec] at com.sun.corba.ee.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.run(ThreadPoolImpl.java:598) [exec] Caused by: javax.ejb.AccessLocalException: Client not authorized for this invocation. [exec] at com.sun.ejb.containers.BaseContainer.preInvoke(BaseContainer.java:1676) [exec] at com.sun.ejb.containers.EJBObjectInvocationHandler.invoke(EJBObjectInvocationHandler.java:200) [exec] ... 18 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:282) [exec] at com.sun.corba.ee.impl.presentation.rmi.StubInvocationHandlerImpl.privateInvoke(StubInvocationHandlerImpl.java:206) [exec] at com.sun.corba.ee.impl.presentation.rmi.StubInvocationHandlerImpl.invoke(StubInvocationHandlerImpl.java:153) [exec] at com.sun.corba.ee.impl.presentation.rmi.codegen.CodegenStubBase.invoke(CodegenStubBase.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:146) [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:386) [exec] at org.glassfish.appclient.client.AppClientGroupFacade.main(AppClientGroupFacade.java:59) [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 org.glassfish.enterprise.iiop.impl.POAProtocolMgr.mapException(POAProtocolMgr.java:298) [exec] at com.sun.ejb.containers.BaseContainer.mapRemoteException(BaseContainer.java:2033) [exec] at com.sun.ejb.containers.BaseContainer.postInvoke(BaseContainer.java:1863) [exec] at com.sun.ejb.containers.BaseContainer.postInvoke(BaseContainer.java:1781) [exec] at com.sun.ejb.containers.EJBObjectInvocationHandler.invoke(EJBObjectInvocationHandler.java:208) [exec] at com.sun.ejb.containers.EJBObjectInvocationHandler.invoke(EJBObjectInvocationHandler.java:118) [exec] at $Proxy80.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:597) [exec] at com.sun.corba.ee.impl.presentation.rmi.ReflectiveTie._invoke(ReflectiveTie.java:156) [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:1854) [exec] at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequest(CorbaMessageMediatorImpl.java:1708) [exec] at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleInput(CorbaMessageMediatorImpl.java:1090) [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:808) [exec] at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.dispatch(CorbaMessageMediatorImpl.java:565) [exec] at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.doWork(CorbaMessageMediatorImpl.java:2575) [exec] at com.sun.corba.ee.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.performWork(ThreadPoolImpl.java:564) [exec] at com.sun.corba.ee.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.run(ThreadPoolImpl.java:598) [exec] Caused by: javax.ejb.AccessLocalException: Client not authorized for this invocation. [exec] at com.sun.ejb.containers.BaseContainer.preInvoke(BaseContainer.java:1676) [exec] at com.sun.ejb.containers.EJBObjectInvocationHandler.invoke(EJBObjectInvocationHandler.java:200) [exec] ... 18 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: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:131) [exec] at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.getSystemExceptionReply(CorbaMessageMediatorImpl.java:687) [exec] at com.sun.corba.ee.impl.protocol.CorbaClientRequestDispatcherImpl.processResponse(CorbaClientRequestDispatcherImpl.java:476) [exec] at com.sun.corba.ee.impl.protocol.CorbaClientRequestDispatcherImpl.marshalingComplete(CorbaClientRequestDispatcherImpl.java:360) [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:193) [exec] ... 11 more [exec] Got expected AccessException! [exec] Generating report at /export/sonia/appserver-sqe/test_results.xml [exec] ----------------------------------------- [exec] - Test4.Calling Not authorized method: PASS - [exec] - Test3.Calling authorized method: FAIL - [exec] - Test1..testIsCallerIsInRole(): FAIL - [exec] - Test2.testIsCallerExcepted(): FAIL - [exec] ----------------------------------------- [exec] Total PASS: 1 [exec] Total FAIL: 3 [exec] Total DNR: 0 [exec] ----------------------------------------- checkReporting-common: confirmReportPresent-common: [echo] Test seems to be reported fine [delete] Deleting 1 files from /export/sonia/appserver-sqe/pe/security/ssl/clientcert confirmMissingReport-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: run-ee: BUILD SUCCESSFUL Total time: 17 seconds