Issue Details (XML | Word | Printable)

Key: GLASSFISH-12788
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Critical Critical
Assignee: Cheng Fang
Reporter: sonialiu
Votes: 0
Watchers: 3
Operations

If you were logged in you would be able to see more operations.
glassfish

[BLOCKING]org.omg.CORBA.BAD_PARAM exception when run security appclient test in cluster

Created: 23/Jul/10 05:06 PM   Updated: 18/Feb/11 12:42 PM   Resolved: 28/Jul/10 11:34 AM
Component/s: naming
Affects Version/s: 3.1
Fix Version/s: 3.1

Time Tracking:
Not Specified

Environment:

Operating System: All
Platform: All


Issuezilla Id: 12,788
Tags: 3_1-verified
Participants: Cheng Fang, jthoennes, kumarjayanti, sonialiu and Tim Quinn


 Description  « Hide

OS: solaris10
build: V3.1 07/23 nightly build
This is a programmaticLogin test ported from v2.x and it passed for v2.x but
failed for v3.1 in cluster mode. And the same test passed for V3.1 DAS mode.
Steps to reproduce the bug:

1.install V3.1, DO NOT start domain
2. Checkout SQE workspace:
cvs co appserver-sqe/bootstrap.xml
(CVSROOT: :pserver:<user>@redcvs.red.iplanet.com:/m/jws)
cd appserver-sqe
ant -f bootstrap.xml co-security
3. cd appserver-sqe, run "ant setup-cluster-profile" (this target will create a
sqe-cluster and two instances)
4. cd appserver-sqe/pe/security/plogin/ejbclient, run "ant ee build setup
restart deploy run" (please don't miss the "ee" target)
5. The test failed with the following error in client side:
run:
[exec] Jul 23, 2010 4:37:53 PM
org.glassfish.appclient.client.acc.AppclientCommandArguments warnAboutPasswordUsage
[exec] WARNING: ACC013: The -password option is deprecated and will likely
be removed in a future release. Please use -passwordfile or let the app client
container prompt for the username and/or password if they are needed to access a
remote resource.
[exec] Jul 23, 2010 4:37:57 PM
com.sun.enterprise.deployment.archivist.Archivist readRuntimeDeploymentDescriptor
[exec] WARNING: gf.counterpart.configdd.exists
[exec] Jul 23, 2010 4:37:58 PM
com.sun.enterprise.transaction.JavaEETransactionManagerSimplified initDelegates
[exec] INFO: enterprise_used_delegate_name
[exec] Jul 23, 2010 4:38:00 PM
com.sun.enterprise.deployment.archivist.Archivist readRuntimeDeploymentDescriptor
[exec] WARNING: gf.counterpart.configdd.exists
[exec] WS HOME appserver-sqe
[exec] PLoginClient::Creating EJBClientTestBean ...
[exec] PLoginClient::EJBClientTestBean creation Failed!
[exec] Jul 23, 2010 4:38:08 PM
com.sun.corba.ee.impl.ior.iiop.IIOPAddressImpl <init>
[exec] WARNING: "IOP00111203: (BAD_PARAM) Attempt to create IIOPAddress
with port 1,113,700, which is out of range"
[exec] org.omg.CORBA.BAD_PARAM: vmcid: SUN minor code: 1203 completed: No
[exec] at
com.sun.corba.ee.impl.logging.IORSystemException.badIiopAddressPort(IORSystemException.java:468)
[exec] at
com.sun.corba.ee.impl.logging.IORSystemException.badIiopAddressPort(IORSystemException.java:491)
[exec] at
com.sun.corba.ee.impl.ior.iiop.IIOPAddressImpl.<init>(IIOPAddressImpl.java:64)
[exec] at
com.sun.corba.ee.spi.ior.iiop.IIOPFactories.makeIIOPAddress(IIOPFactories.java:265)
[exec] at
com.sun.corba.ee.impl.resolver.INSURLOperationImpl.getIORUsingCorbaloc(INSURLOperationImpl.java:259)
[exec] at
com.sun.corba.ee.impl.resolver.INSURLOperationImpl.resolveCorbaloc(INSURLOperationImpl.java:184)
[exec] at
com.sun.corba.ee.impl.resolver.INSURLOperationImpl.resolveINSURL(INSURLOperationImpl.java:156)
[exec] at
com.sun.corba.ee.impl.resolver.INSURLOperationImpl.operate(INSURLOperationImpl.java:144)
[exec] at com.sun.corba.ee.impl.orb.ORBImpl.string_to_object(ORBImpl.java:972)
[exec] at
com.sun.enterprise.naming.impl.SerialContext.getRemoteProvider(SerialContext.java:334)
[exec] at
com.sun.enterprise.naming.impl.SerialContext.getProvider(SerialContext.java:285)
[exec] at
com.sun.enterprise.naming.impl.SerialContext.lookup(SerialContext.java:444)
[exec] at javax.naming.InitialContext.lookup(InitialContext.java:392)
[exec] at
com.sun.s1peqe.security.plogin.ejbclient.PLoginClient.testPloginFromEJB(PLoginClient.java:88)
[exec] at
com.sun.s1peqe.security.plogin.ejbclient.PLoginClient.main(PLoginClient.java:69)
[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:427)
[exec] at
org.glassfish.appclient.client.AppClientFacade.launch(AppClientFacade.java:151)
[exec] at
org.glassfish.appclient.client.AppClientGroupFacade.main(AppClientGroupFacade.java:64)
[exec] org.omg.CORBA.BAD_PARAM: vmcid: SUN minor code: 1203 completed: No
[exec] at
com.sun.corba.ee.impl.logging.IORSystemException.badIiopAddressPort(IORSystemException.java:468)
[exec] at
com.sun.corba.ee.impl.logging.IORSystemException.badIiopAddressPort(IORSystemException.java:491)
[exec] at
com.sun.corba.ee.impl.ior.iiop.IIOPAddressImpl.<init>(IIOPAddressImpl.java:64)
[exec] at
com.sun.corba.ee.spi.ior.iiop.IIOPFactories.makeIIOPAddress(IIOPFactories.java:265)
[exec] at
com.sun.corba.ee.impl.resolver.INSURLOperationImpl.getIORUsingCorbaloc(INSURLOperationImpl.java:259)
[exec] at
com.sun.corba.ee.impl.resolver.INSURLOperationImpl.resolveCorbaloc(INSURLOperationImpl.java:184)
[exec] at
com.sun.corba.ee.impl.resolver.INSURLOperationImpl.resolveINSURL(INSURLOperationImpl.java:156)
[exec] at
com.sun.corba.ee.impl.resolver.INSURLOperationImpl.operate(INSURLOperationImpl.java:144)
[exec] at com.sun.corba.ee.impl.orb.ORBImpl.string_to_object(ORBImpl.java:972)
[exec] at
com.sun.enterprise.naming.impl.SerialContext.getRemoteProvider(SerialContext.java:334)
[exec] at
com.sun.enterprise.naming.impl.SerialContext.getProvider(SerialContext.java:285)
[exec] at
com.sun.enterprise.naming.impl.SerialContext.lookup(SerialContext.java:444)
[exec] at javax.naming.InitialContext.lookup(InitialContext.java:392)
[exec] at
com.sun.s1peqe.security.plogin.ejbclient.PLoginClient.testPloginFromEJB(PLoginClient.java:88)
[exec] at
com.sun.s1peqe.security.plogin.ejbclient.PLoginClient.main(PLoginClient.java:69)
[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:427)
[exec] at
org.glassfish.appclient.client.AppClientFacade.launch(AppClientFacade.java:151)
[exec] at
org.glassfish.appclient.client.AppClientGroupFacade.main(AppClientGroupFacade.java:64)
[exec] javax.naming.NamingException: Lookup failed for
'EJBClientTestBeanJndiName' in SerialContext
targetHost=localhost,targetPort=1113700,orb'sInitialHost=localhost,orb'sInitialPort=3700
[Root exception is javax.naming.NamingException: Unable to acquire
SerialContextProvider for SerialContext
targetHost=localhost,targetPort=1113700,orb'sInitialHost=localhost,orb'sInitialPort=3700
[Root exception is org.omg.CORBA.BAD_PARAM: vmcid: SUN minor code: 1203
completed: No]]
[exec] at
com.sun.enterprise.naming.impl.SerialContext.lookup(SerialContext.java:456)
[exec] at javax.naming.InitialContext.lookup(InitialContext.java:392)
[exec] at
com.sun.s1peqe.security.plogin.ejbclient.PLoginClient.testPloginFromEJB(PLoginClient.java:88)
[exec] at
com.sun.s1peqe.security.plogin.ejbclient.PLoginClient.main(PLoginClient.java:69)
[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:427)
[exec] at
org.glassfish.appclient.client.AppClientFacade.launch(AppClientFacade.java:151)
[exec] at
org.glassfish.appclient.client.AppClientGroupFacade.main(AppClientGroupFacade.java:64)
[exec] Caused by: javax.naming.NamingException: Unable to acquire
SerialContextProvider for SerialContext
targetHost=localhost,targetPort=1113700,orb'sInitialHost=localhost,orb'sInitialPort=3700
[Root exception is org.omg.CORBA.BAD_PARAM: vmcid: SUN minor code: 1203
completed: No]
[exec] at
com.sun.enterprise.naming.impl.SerialContext.getProvider(SerialContext.java:290)
[exec] at
com.sun.enterprise.naming.impl.SerialContext.lookup(SerialContext.java:444)
[exec] ... 10 more
[exec] Caused by: org.omg.CORBA.BAD_PARAM: vmcid: SUN minor code: 1203
completed: No
[exec] at
com.sun.corba.ee.impl.logging.IORSystemException.badIiopAddressPort(IORSystemException.java:468)
[exec] at
com.sun.corba.ee.impl.logging.IORSystemException.badIiopAddressPort(IORSystemException.java:491)
[exec] at
com.sun.corba.ee.impl.ior.iiop.IIOPAddressImpl.<init>(IIOPAddressImpl.java:64)
[exec] at
com.sun.corba.ee.spi.ior.iiop.IIOPFactories.makeIIOPAddress(IIOPFactories.java:265)
[exec] at
com.sun.corba.ee.impl.resolver.INSURLOperationImpl.getIORUsingCorbaloc(INSURLOperationImpl.java:259)
[exec] at
com.sun.corba.ee.impl.resolver.INSURLOperationImpl.resolveCorbaloc(INSURLOperationImpl.java:184)
[exec] at
com.sun.corba.ee.impl.resolver.INSURLOperationImpl.resolveINSURL(INSURLOperationImpl.java:156)
[exec] at
com.sun.corba.ee.impl.resolver.INSURLOperationImpl.operate(INSURLOperationImpl.java:144)
[exec] at com.sun.corba.ee.impl.orb.ORBImpl.string_to_object(ORBImpl.java:972)
[exec] at
com.sun.enterprise.naming.impl.SerialContext.getRemoteProvider(SerialContext.java:334)
[exec] at
com.sun.enterprise.naming.impl.SerialContext.getProvider(SerialContext.java:285)
[exec] ... 11 more
[exec] java.lang.NullPointerException
[exec] at
com.sun.s1peqe.security.plogin.ejbclient.PLoginClient.testPloginFromEJB(PLoginClient.java:101)
[exec] at
com.sun.s1peqe.security.plogin.ejbclient.PLoginClient.main(PLoginClient.java:69)
[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:427)
[exec] at
org.glassfish.appclient.client.AppClientFacade.launch(AppClientFacade.java:151)
[exec] at
org.glassfish.appclient.client.AppClientGroupFacade.main(AppClientGroupFacade.java:64)
[exec] PLoginClient::Programmatic Login from EJB Failed!
[exec] PLoginClient::Tested with user=munta;pwd=munta;realm=file
[exec] PLoginClient::Calling testIsCallerExpected("munta")...
[exec] java.lang.NullPointerException
[exec] at
com.sun.s1peqe.security.plogin.ejbclient.PLoginClient.testIsCallerExpected(PLoginClient.java:124)
[exec] at
com.sun.s1peqe.security.plogin.ejbclient.PLoginClient.main(PLoginClient.java:70)
[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:427)
[exec] at
org.glassfish.appclient.client.AppClientFacade.launch(AppClientFacade.java:151)
[exec] at
org.glassfish.appclient.client.AppClientGroupFacade.main(AppClientGroupFacade.java:64)
[exec] PLoginClient::Calling testIsCallerInRole("RoleAdministrator")...
[exec] java.lang.NullPointerException
[exec] at
com.sun.s1peqe.security.plogin.ejbclient.PLoginClient.testIsCallerInRole(PLoginClient.java:142)
[exec] at
com.sun.s1peqe.security.plogin.ejbclient.PLoginClient.main(PLoginClient.java:71)
[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:427)
[exec] at
org.glassfish.appclient.client.AppClientFacade.launch(AppClientFacade.java:151)
[exec] at
org.glassfish.appclient.client.AppClientGroupFacade.main(AppClientGroupFacade.java:64)
[exec] PLoginClient::Calling methodIsAuthorized()...
[exec] java.lang.NullPointerException
[exec] at
com.sun.s1peqe.security.plogin.ejbclient.PLoginClient.methodIsAuthorized(PLoginClient.java:162)
[exec] at
com.sun.s1peqe.security.plogin.ejbclient.PLoginClient.main(PLoginClient.java:72)
[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:427)
[exec] at
org.glassfish.appclient.client.AppClientFacade.launch(AppClientFacade.java:151)
[exec] at
org.glassfish.appclient.client.AppClientGroupFacade.main(AppClientGroupFacade.java:64)
[exec] PLoginClient::Calling methodIsNotAuthorized()...
[exec] java.lang.NullPointerException
[exec] at
com.sun.s1peqe.security.plogin.ejbclient.PLoginClient.methodIsNotAuthorized(PLoginClient.java:180)
[exec] at
com.sun.s1peqe.security.plogin.ejbclient.PLoginClient.main(PLoginClient.java:73)
[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:427)
[exec] at
org.glassfish.appclient.client.AppClientFacade.launch(AppClientFacade.java:151)
[exec] at
org.glassfish.appclient.client.AppClientGroupFacade.main(AppClientGroupFacade.java:64)
[exec] PLoginClient::Testing Programmatic login exception handling ...
[exec] java.lang.NullPointerException
[exec] at
com.sun.s1peqe.security.plogin.ejbclient.PLoginClient.testException(PLoginClient.java:198)
[exec] at
com.sun.s1peqe.security.plogin.ejbclient.PLoginClient.main(PLoginClient.java:74)
[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:427)
[exec] at
org.glassfish.appclient.client.AppClientFacade.launch(AppClientFacade.java:151)
[exec] at
org.glassfish.appclient.client.AppClientGroupFacade.main(AppClientGroupFacade.java:64)
[exec] PLoginClient::Testing Programmatic logout ...
[exec] java.lang.NullPointerException
[exec] at
com.sun.s1peqe.security.plogin.ejbclient.PLoginClient.testLogout(PLoginClient.java:217)
[exec] at
com.sun.s1peqe.security.plogin.ejbclient.PLoginClient.main(PLoginClient.java:75)
[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:427)
[exec] at
org.glassfish.appclient.client.AppClientFacade.launch(AppClientFacade.java:151)
[exec] at
org.glassfish.appclient.client.AppClientGroupFacade.main(AppClientGroupFacade.java:64)
[exec] PLoginClient::Creating EJBClientTestBean ...
[exec] Jul 23, 2010 4:38:08 PM
com.sun.corba.ee.impl.ior.iiop.IIOPAddressImpl <init>
[exec] WARNING: "IOP00111203: (BAD_PARAM) Attempt to create IIOPAddress
with port 1,113,700, which is out of range"
[exec] org.omg.CORBA.BAD_PARAM: vmcid: SUN minor code: 1203 completed: No
[exec] at
com.sun.corba.ee.impl.logging.IORSystemException.badIiopAddressPort(IORSystemException.java:468)
[exec] at
com.sun.corba.ee.impl.logging.IORSystemException.badIiopAddressPort(IORSystemException.java:491)
[exec] at
com.sun.corba.ee.impl.ior.iiop.IIOPAddressImpl.<init>(IIOPAddressImpl.java:64)
[exec] at
com.sun.corba.ee.spi.ior.iiop.IIOPFactories.makeIIOPAddress(IIOPFactories.java:265)
[exec] at
com.sun.corba.ee.impl.resolver.INSURLOperationImpl.getIORUsingCorbaloc(INSURLOperationImpl.java:259)
[exec] at
com.sun.corba.ee.impl.resolver.INSURLOperationImpl.resolveCorbaloc(INSURLOperationImpl.java:184)
[exec] at
com.sun.corba.ee.impl.resolver.INSURLOperationImpl.resolveINSURL(INSURLOperationImpl.java:156)
[exec] at
com.sun.corba.ee.impl.resolver.INSURLOperationImpl.operate(INSURLOperationImpl.java:144)
[exec] at com.sun.corba.ee.impl.orb.ORBImpl.string_to_object(ORBImpl.java:972)
[exec] at
com.sun.enterprise.naming.impl.SerialContext.getRemoteProvider(SerialContext.java:334)
[exec] at
com.sun.enterprise.naming.impl.SerialContext.getProvider(SerialContext.java:285)
[exec] at
com.sun.enterprise.naming.impl.SerialContext.lookup(SerialContext.java:444)
[exec] at javax.naming.InitialContext.lookup(InitialContext.java:392)
[exec] at
com.sun.s1peqe.security.plogin.ejbclient.PLoginClient.testPloginFromEJB(PLoginClient.java:88)
[exec] at
com.sun.s1peqe.security.plogin.ejbclient.PLoginClient.main(PLoginClient.java:77)
[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:427)
[exec] at
org.glassfish.appclient.client.AppClientFacade.launch(AppClientFacade.java:151)
[exec] at
org.glassfish.appclient.client.AppClientGroupFacade.main(AppClientGroupFacade.java:64)
[exec] org.omg.CORBA.BAD_PARAM: vmcid: SUN minor code: 1203 completed: No
[exec] at
com.sun.corba.ee.impl.logging.IORSystemException.badIiopAddressPort(IORSystemException.java:468)
[exec] at
com.sun.corba.ee.impl.logging.IORSystemException.badIiopAddressPort(IORSystemException.java:491)
[exec] at
com.sun.corba.ee.impl.ior.iiop.IIOPAddressImpl.<init>(IIOPAddressImpl.java:64)
[exec] at
com.sun.corba.ee.spi.ior.iiop.IIOPFactories.makeIIOPAddress(IIOPFactories.java:265)
[exec] at
com.sun.corba.ee.impl.resolver.INSURLOperationImpl.getIORUsingCorbaloc(INSURLOperationImpl.java:259)
[exec] at
com.sun.corba.ee.impl.resolver.INSURLOperationImpl.resolveCorbaloc(INSURLOperationImpl.java:184)
[exec] at
com.sun.corba.ee.impl.resolver.INSURLOperationImpl.resolveINSURL(INSURLOperationImpl.java:156)
[exec] at
com.sun.corba.ee.impl.resolver.INSURLOperationImpl.operate(INSURLOperationImpl.java:144)
[exec] at com.sun.corba.ee.impl.orb.ORBImpl.string_to_object(ORBImpl.java:972)
[exec] at
com.sun.enterprise.naming.impl.SerialContext.getRemoteProvider(SerialContext.java:334)
[exec] at
com.sun.enterprise.naming.impl.SerialContext.getProvider(SerialContext.java:285)
[exec] at
com.sun.enterprise.naming.impl.SerialContext.lookup(SerialContext.java:444)
[exec] at javax.naming.InitialContext.lookup(InitialContext.java:392)
[exec] at
com.sun.s1peqe.security.plogin.ejbclient.PLoginClient.testPloginFromEJB(PLoginClient.java:88)
[exec] at
com.sun.s1peqe.security.plogin.ejbclient.PLoginClient.main(PLoginClient.java:77)
[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:427)
[exec] at
org.glassfish.appclient.client.AppClientFacade.launch(AppClientFacade.java:151)
[exec] at
org.glassfish.appclient.client.AppClientGroupFacade.main(AppClientGroupFacade.java:64)
[exec] javax.naming.NamingException: Lookup failed for
'EJBClientTestBeanJndiName' in SerialContext
targetHost=localhost,targetPort=1113700,orb'sInitialHost=localhost,orb'sInitialPort=3700
[Root exception is javax.naming.NamingException: Unable to acquire
SerialContextProvider for SerialContext
targetHost=localhost,targetPort=1113700,orb'sInitialHost=localhost,orb'sInitialPort=3700
[Root exception is org.omg.CORBA.BAD_PARAM: vmcid: SUN minor code: 1203
completed: No]]
[exec] at
com.sun.enterprise.naming.impl.SerialContext.lookup(SerialContext.java:456)
[exec] at javax.naming.InitialContext.lookup(InitialContext.java:392)
[exec] at
com.sun.s1peqe.security.plogin.ejbclient.PLoginClient.testPloginFromEJB(PLoginClient.java:88)
[exec] at
com.sun.s1peqe.security.plogin.ejbclient.PLoginClient.main(PLoginClient.java:77)
[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:427)
[exec] at
org.glassfish.appclient.client.AppClientFacade.launch(AppClientFacade.java:151)
[exec] at
org.glassfish.appclient.client.AppClientGroupFacade.main(AppClientGroupFacade.java:64)
[exec] Caused by: javax.naming.NamingException: Unable to acquire
SerialContextProvider for SerialContext
targetHost=localhost,targetPort=1113700,orb'sInitialHost=localhost,orb'sInitialPort=3700
[Root exception is org.omg.CORBA.BAD_PARAM: vmcid: SUN minor code: 1203
completed: No]
[exec] at
com.sun.enterprise.naming.impl.SerialContext.getProvider(SerialContext.java:290)
[exec] at
com.sun.enterprise.naming.impl.SerialContext.lookup(SerialContext.java:444)
[exec] ... 10 more
[exec] Caused by: org.omg.CORBA.BAD_PARAM: vmcid: SUN minor code: 1203
completed: No
[exec] at
com.sun.corba.ee.impl.logging.IORSystemException.badIiopAddressPort(IORSystemException.java:468)
[exec] at
com.sun.corba.ee.impl.logging.IORSystemException.badIiopAddressPort(IORSystemException.java:491)
[exec] at
com.sun.corba.ee.impl.ior.iiop.IIOPAddressImpl.<init>(IIOPAddressImpl.java:64)
[exec] at
com.sun.corba.ee.spi.ior.iiop.IIOPFactories.makeIIOPAddress(IIOPFactories.java:265)
[exec] at
com.sun.corba.ee.impl.resolver.INSURLOperationImpl.getIORUsingCorbaloc(INSURLOperationImpl.java:259)
[exec] at
com.sun.corba.ee.impl.resolver.INSURLOperationImpl.resolveCorbaloc(INSURLOperationImpl.java:184)
[exec] at
com.sun.corba.ee.impl.resolver.INSURLOperationImpl.resolveINSURL(INSURLOperationImpl.java:156)
[exec] at
com.sun.corba.ee.impl.resolver.INSURLOperationImpl.operate(INSURLOperationImpl.java:144)
[exec] at com.sun.corba.ee.impl.orb.ORBImpl.string_to_object(ORBImpl.java:972)
[exec] at
com.sun.enterprise.naming.impl.SerialContext.getRemoteProvider(SerialContext.java:334)
[exec] at
com.sun.enterprise.naming.impl.SerialContext.getProvider(SerialContext.java:285)
[exec] ... 11 more
[exec] java.lang.NullPointerException
[exec] at
com.sun.s1peqe.security.plogin.ejbclient.PLoginClient.testPloginFromEJB(PLoginClient.java:101)
[exec] at
com.sun.s1peqe.security.plogin.ejbclient.PLoginClient.main(PLoginClient.java:77)
[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:427)
[exec] at
org.glassfish.appclient.client.AppClientFacade.launch(AppClientFacade.java:151)
[exec] at
org.glassfish.appclient.client.AppClientGroupFacade.main(AppClientGroupFacade.java:64)
[exec] PLoginClient::EJBClientTestBean creation Failed!
[exec] PLoginClient::Programmatic Login from EJB Failed!
[exec] PLoginClient::Tested with user=shingwai;pwd=shingwai;realm=file
[exec] Generating report at /export/sonia/appserver-sqe/test_results.xml
[exec]
[exec]
[exec] -----------------------------------------
[exec] -
Security::PLogin-ejbclient-plogincheck-with-another-user-after-plogout: FALSE -
[exec] - Security::PLogin-ejbclient-exceptions: FAIL -
[exec] - Security::PLogin-ejbclient-logout(): FAIL -
[exec] - Security::PLogin-ejbclient-isCallerIsExpected: FAIL -
[exec] - Security::PLogin-ejbclient-sec-prop-methodIsNotAuthorized(): FAIL -
[exec] - Sec-PLogin-ejbclient-plogincheck-: FALSE -
[exec] - Security::PLogin-ejbclient-isCallernRole: FAIL -
[exec] - Security::PLogin-ejbclient-sec-prop-methodIsAuthorized(): FAIL -
[exec] -----------------------------------------
[exec] Total PASS: 0
[exec] Total FAIL: 8
[exec] Total DNR: 0
[exec] -----------------------------------------
– I did not see any exceptions in either domains/domain1/logs/server.log or
nodeagents/localhost/clustered_instance_1(or clustered_instance_2)/logs/server.log



sonialiu added a comment - 26/Jul/10 04:22 PM

I have to change the bug summary and raise the bug priority since I found other
appclient security tests also failed with the same issue. The list of the
security failed with the same exceptions:
appserver-sqe/pe/security/ssl/clientcert
appserver-sqe/pe/security/ssl/converter
I only picked up the BAT test cases and ran them in cluster, seems no any
appclient security test case worked. Is the security/appclient ready for testing?
BTW, I am not clear why the exception complaint the "Unable to acquire
SerialContextProvider for SerialContext
targetHost=localhost,targetPort=1113700", I searched the domain.xml and I saw
the instance1 and instance2 used IIOP port 13700 and 23700.


jthoennes added a comment - 27/Jul/10 04:26 AM

cc


Tim Quinn added a comment - 27/Jul/10 05:30 AM

adding Ken C.


kumarjayanti added a comment - 27/Jul/10 05:51 AM

reassigning to naming since the problem occurs during :
com.sun.enterprise.naming.impl.SerialContext.lookup(SerialContext.java:444)

and the Security ORB inteceptors are not yet in picture. Please reassign to
security if the test still fails after fixing the above error.


sonialiu added a comment - 27/Jul/10 11:55 AM

Mark it as [blocking] since we can not do any security-appclient test without
the bug fix. Thanks.


sonialiu added a comment - 28/Jul/10 11:34 AM

During investigating the failures, we found that there was a test bug in the top
level target (the "ee" target) in the SQE workspace. After fixing the bug by
Ming, the appclient/security test cases all passed. Mark this bug as fixed and
verified.


sonialiu added a comment - 28/Jul/10 11:34 AM

The test passed against 07/27 nightly build.