Buildfile: build.xml oracle4: [echo] So you are using oracle type 4 driver..! [echo] jdbc:oracle:thin:@asqe-db1.sfbay.sun.com:1521:asqedb 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: 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: clean: [echo] /export/hudson//workspace/ming-core-db/appserver-sqe/build/pe/i386_apg-sqe2_Linux/ejb-cmp/archive, /export/hudson//workspace/ming-core-db/appserver-sqe/build/pe/i386_apg-sqe2_Linux/ejb-cmp/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: 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: /export/hudson/workspace/ming-core-db/appserver-sqe/build/pe/i386_apg-sqe2_Linux/ejb-cmp/classes [echo] sqe-common.xml: Compiling test source files [javac] Compiling 2 source files to /export/hudson/workspace/ming-core-db/appserver-sqe/build/pe/i386_apg-sqe2_Linux/ejb-cmp/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 /export/hudson/workspace/ming-core-db/appserver-sqe/build/pe/i386_apg-sqe2_Linux/ejb-cmp/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: pkg-pu: setdefaultmode: setOSConditions: setToolWin: setToolUnix: setToolProperty: setS1ASclassPath: setS1AS80classPath: setS1WSclassPath: setJWSDPclassPath: setTimeStamp: init-password-file: init-common: init-password-file: create-password-file: create-report-dir: package-entity-appclient: [mkdir] Created dir: /export/hudson/workspace/ming-core-db/appserver-sqe/build/pe/i386_apg-sqe2_Linux/ejb-cmp/archive [mkdir] Created dir: /export/hudson/workspace/ming-core-db/appserver-sqe/build/pe/i386_apg-sqe2_Linux/ejb-cmp/classes/META-INF [copy] Copying 1 file to /export/hudson/workspace/ming-core-db/appserver-sqe/build/pe/i386_apg-sqe2_Linux/ejb-cmp/classes/META-INF [jar] Building jar: /export/hudson/workspace/ming-core-db/appserver-sqe/build/pe/i386_apg-sqe2_Linux/ejb-cmp/archive/ejb-cmp-datatypes-client.jar [delete] Deleting directory /export/hudson/workspace/ming-core-db/appserver-sqe/build/pe/i386_apg-sqe2_Linux/ejb-cmp/classes/META-INF 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: webclient-war-common: build-ear-persistence: [mkdir] Created dir: /export/hudson/workspace/ming-core-db/appserver-sqe/build/pe/i386_apg-sqe2_Linux/ejb-cmp/classes/META-INF [jar] Building jar: /export/hudson/workspace/ming-core-db/appserver-sqe/build/pe/i386_apg-sqe2_Linux/ejb-cmp/archive/ejb-cmp-datatypesApp.ear sql: 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] ***** db.url=jdbc:oracle:thin:@asqe-db1.sfbay.sun.com:1521:asqedb ; coreora10g : coreora10g ***** [sql] Executing resource: /export/hudson/workspace/ming-core-db/appserver-sqe/pe/ejb/ejb30/persistence/pkgClientJar/sql/create_datatypes_oracle.sql [sql] 0 rows affected [sql] 1 of 2 SQL statements executed successfully 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: delete-jdbc-connpool-common: [exec] asadmin --host localhost --port 4848 --user admin --passwordfile /export/hudson//workspace/ming-core-db/appserver-sqe/build-config/adminpassword.txt --interactive=false --echo=true --terse=false delete-jdbc-connection-pool --cascade=true datatype-pool2 [exec] Command delete-jdbc-connection-pool failed. [exec] org.glassfish.api.admin.CommandException: remote failure: A JDBC connection pool named datatype-pool2 does not exist. [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: create-jdbc-connpool-common: [exec] asadmin --host localhost --port 4848 --user admin --passwordfile /export/hudson//workspace/ming-core-db/appserver-sqe/build-config/adminpassword.txt --interactive=false --echo=true --terse=false create-jdbc-connection-pool --datasourceclassname oracle.jdbc.pool.OracleDataSource --restype javax.sql.DataSource --steadypoolsize 8 --maxpoolsize 32 --maxwait 60000 --poolresize 2 --idletimeout 300 --isisolationguaranteed=true --isconnectvalidatereq=false --validationmethod table --failconnection=false --allownoncomponentcallers=false --nontransactionalconnections=false --validateatmostonceperiod 0 --leaktimeout 0 --leakreclaim=false --creationretryattempts 0 --creationretryinterval 10 --statementtimeout -1 --lazyconnectionenlistment=false --lazyconnectionassociation=false --associatewiththread=false --matchconnections=false --maxconnectionusagecount 0 --ping=false --pooling=true --statementcachesize 0 --wrapjdbcobjects=true --property "User=coreora10g:Password=coreora10g:url=jdbc\\:oracle\\:thin\\:@asqe-db1.sfbay.sun.com\\:1521\\:asqedb" datatype-pool2 [exec] JDBC connection pool datatype-pool2 created successfully. [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] asadmin --host localhost --port 4848 --user admin --passwordfile /export/hudson//workspace/ming-core-db/appserver-sqe/build-config/adminpassword.txt --interactive=false --echo=true --terse=false create-jdbc-resource --connectionpoolid datatype-pool2 --enabled=true --target server jdbc/datatype2 [exec] JDBC resource jdbc/datatype2 created successfully. [exec] Command create-jdbc-resource executed successfully. [echo] cmd executed for server 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] asadmin --host localhost --port 4848 --user admin --passwordfile /export/hudson//workspace/ming-core-db/appserver-sqe/build-config/adminpassword.txt --interactive=false --echo=true --terse=false deploy --name ejb-cmp-datatypesApp --force=false --precompilejsp=false --verify=false --retrieve /export/hudson//workspace/ming-core-db/appserver-sqe/build/pe/i386_apg-sqe2_Linux/ejb-cmp/archive --generatermistubs=false --availabilityenabled=false --asyncreplication=true --keepreposdir=false --keepfailedstubs=false --isredeploy=false --logreportederrors=true /export/hudson//workspace/ming-core-db/appserver-sqe/build/pe/i386_apg-sqe2_Linux/ejb-cmp/archive/ejb-cmp-datatypesApp.ear [exec] Application deployed with name ejb-cmp-datatypesApp. [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: setTestClassPath: runMyClient-common: [echo] Executing appclient at /export/hudson/workspace/ming-core-db/appserver-sqe/pe/ejb/ejb30/persistence/pkgClientJar [echo] Dec 13, 2010 11:24:46 AM org.glassfish.appclient.client.acc.AppclientCommandArguments warnAboutPasswordUsage [echo] 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. [echo] Dec 13, 2010 11:24:47 AM com.sun.logging.LogDomains$1 log [echo] WARNING: ACC001: Using the only client [ejb-cmp-datatypes-client] with main class [ejb30.persistence.datatypes.client.Client] in file:/export/hudson/workspace/ming-core-db/appserver-sqe/build/pe/i386_apg-sqe2_Linux/ejb-cmp/archive/ejb-cmp-datatypesAppClient.jar even though it does not match the specified main class name null or client name ejb-cmp-datatypesClient [echo] Dec 13, 2010 11:24:47 AM com.sun.logging.LogDomains$1 log [echo] INFO: DTX5019: Using [com.sun.enterprise.transaction.jts.JavaEETransactionManagerJTSDelegate] as the delegate [echo] WS HOME appserver-sqe [echo] Dec 13, 2010 11:24:55 AM org.hibernate.validator.util.Version [echo] INFO: Hibernate Validator 4.1.0.Final [echo] Dec 13, 2010 11:24:55 AM org.hibernate.validator.engine.resolver.DefaultTraversableResolver detectJPA [echo] INFO: Instantiated an instance of org.hibernate.validator.engine.resolver.JPATraversableResolver. [echo] Dec 13, 2010 11:24:59 AM org.hibernate.validator.engine.resolver.DefaultTraversableResolver detectJPA [echo] INFO: Instantiated an instance of org.hibernate.validator.engine.resolver.JPATraversableResolver. [echo] Dec 13, 2010 11:24:59 AM org.eclipse.persistence.session.file:/export/hudson/workspace/ming-core-db/appserver-sqe/build/pe/i386_apg-sqe2_Linux/ejb-cmp/archive/ejb-cmp-datatypesAppClient/ejb-cmp-datatypes-client.jar_em [echo] INFO: EclipseLink, version: Eclipse Persistence Services - 2.2.0.v20101020-r8375 [echo] Dec 13, 2010 11:25:00 AM com.sun.logging.LogDomains$1 log [echo] WARNING: RAR5038:Unexpected exception while creating resource for pool datatype-pool2. Exception : javax.resource.spi.ResourceAllocationException: Connection could not be allocated because: OAUTH marshaling failure [echo] Dec 13, 2010 11:25:00 AM com.sun.logging.LogDomains$1 log [echo] WARNING: RAR5117 : Failed to obtain/create connection from connection pool [ datatype-pool2 ]. Reason : com.sun.appserv.connectors.internal.api.PoolingException: Connection could not be allocated because: OAUTH marshaling failure [echo] Dec 13, 2010 11:25:00 AM com.sun.logging.LogDomains$1 log [echo] WARNING: jdbc.exc_get_conn [echo] Dec 13, 2010 11:25:00 AM org.eclipse.persistence.session.file:/export/hudson/workspace/ming-core-db/appserver-sqe/build/pe/i386_apg-sqe2_Linux/ejb-cmp/archive/ejb-cmp-datatypesAppClient/ejb-cmp-datatypes-client.jar_em [echo] SEVERE: [echo] Local Exception Stack: [echo] Exception [EclipseLink-4002] (Eclipse Persistence Services - 2.2.0.v20101020-r8375): org.eclipse.persistence.exceptions.DatabaseException [echo] Internal Exception: java.sql.SQLException: Error in allocating a connection. Cause: Connection could not be allocated because: OAUTH marshaling failure [echo] Error Code: 0 [echo] at org.eclipse.persistence.exceptions.DatabaseException.sqlException(DatabaseException.java:309) [echo] at org.eclipse.persistence.sessions.JNDIConnector.connect(JNDIConnector.java:138) [echo] at org.eclipse.persistence.sessions.JNDIConnector.connect(JNDIConnector.java:94) [echo] at org.eclipse.persistence.sessions.DatasourceLogin.connectToDatasource(DatasourceLogin.java:162) [echo] at org.eclipse.persistence.internal.databaseaccess.DatasourceAccessor.connectInternal(DatasourceAccessor.java:327) [echo] at org.eclipse.persistence.internal.databaseaccess.DatabaseAccessor.connectInternal(DatabaseAccessor.java:291) [echo] at org.eclipse.persistence.internal.databaseaccess.DatasourceAccessor.connect(DatasourceAccessor.java:415) [echo] at org.eclipse.persistence.sessions.server.ConnectionPool.buildConnection(ConnectionPool.java:160) [echo] at org.eclipse.persistence.sessions.server.ExternalConnectionPool.startUp(ExternalConnectionPool.java:118) [echo] at org.eclipse.persistence.sessions.server.ServerSession.connect(ServerSession.java:496) [echo] at org.eclipse.persistence.internal.sessions.DatabaseSessionImpl.login(DatabaseSessionImpl.java:627) [echo] at org.eclipse.persistence.internal.jpa.EntityManagerFactoryProvider.login(EntityManagerFactoryProvider.java:230) [echo] at org.eclipse.persistence.internal.jpa.EntityManagerSetupImpl.deploy(EntityManagerSetupImpl.java:392) [echo] at org.eclipse.persistence.internal.jpa.EntityManagerFactoryImpl.getServerSession(EntityManagerFactoryImpl.java:164) [echo] at org.eclipse.persistence.internal.jpa.EntityManagerFactoryImpl.createEntityManagerImpl(EntityManagerFactoryImpl.java:221) [echo] at org.eclipse.persistence.internal.jpa.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:209) [echo] at com.sun.enterprise.container.common.impl.EntityManagerFactoryWrapper.createEntityManager(EntityManagerFactoryWrapper.java:110) [echo] at ejb30.persistence.datatypes.client.Client.main(Client.java:37) [echo] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [echo] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [echo] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [echo] at java.lang.reflect.Method.invoke(Method.java:597) [echo] at org.glassfish.appclient.client.acc.AppClientContainer.launch(AppClientContainer.java:432) [echo] at org.glassfish.appclient.client.AppClientFacade.launch(AppClientFacade.java:182) [echo] at org.glassfish.appclient.client.AppClientGroupFacade.main(AppClientGroupFacade.java:65) [echo] Caused by: java.sql.SQLException: Error in allocating a connection. Cause: Connection could not be allocated because: OAUTH marshaling failure [echo] at com.sun.gjc.spi.base.DataSource.getConnection(DataSource.java:117) [echo] at org.eclipse.persistence.sessions.JNDIConnector.connect(JNDIConnector.java:126) [echo] ... 23 more [echo] Caused by: javax.resource.spi.ResourceAllocationException: Error in allocating a connection. Cause: Connection could not be allocated because: OAUTH marshaling failure [echo] at com.sun.enterprise.connectors.ConnectionManagerImpl.internalGetConnection(ConnectionManagerImpl.java:310) [echo] at com.sun.enterprise.connectors.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:190) [echo] at com.sun.enterprise.connectors.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:165) [echo] at com.sun.enterprise.connectors.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:160) [echo] at com.sun.gjc.spi.base.DataSource.getConnection(DataSource.java:110) [echo] ... 24 more [echo] Caused by: com.sun.appserv.connectors.internal.api.PoolingException: Connection could not be allocated because: OAUTH marshaling failure [echo] at com.sun.enterprise.resource.pool.datastructure.RWLockDataStructure.addResource(RWLockDataStructure.java:103) [echo] at com.sun.enterprise.resource.pool.ConnectionPool.addResource(ConnectionPool.java:282) [echo] at com.sun.enterprise.resource.pool.ConnectionPool.createResourceAndAddToPool(ConnectionPool.java:1497) [echo] at com.sun.enterprise.resource.pool.ConnectionPool.createResources(ConnectionPool.java:940) [echo] at com.sun.enterprise.resource.pool.ConnectionPool.initPool(ConnectionPool.java:230) [echo] at com.sun.enterprise.resource.pool.ConnectionPool.internalGetResource(ConnectionPool.java:511) [echo] at com.sun.enterprise.resource.pool.ConnectionPool.getResource(ConnectionPool.java:381) [echo] at com.sun.enterprise.resource.pool.PoolManagerImpl.getResourceFromPool(PoolManagerImpl.java:242) [echo] at com.sun.enterprise.resource.pool.PoolManagerImpl.getResource(PoolManagerImpl.java:167) [echo] at com.sun.enterprise.connectors.ConnectionManagerImpl.getResource(ConnectionManagerImpl.java:341) [echo] at com.sun.enterprise.connectors.ConnectionManagerImpl.internalGetConnection(ConnectionManagerImpl.java:304) [echo] ... 28 more [echo] Caused by: com.sun.appserv.connectors.internal.api.PoolingException: Connection could not be allocated because: OAUTH marshaling failure [echo] at com.sun.enterprise.resource.pool.ConnectionPool.createSingleResource(ConnectionPool.java:920) [echo] at com.sun.enterprise.resource.pool.ConnectionPool.createResource(ConnectionPool.java:1181) [echo] at com.sun.enterprise.resource.pool.datastructure.RWLockDataStructure.addResource(RWLockDataStructure.java:98) [echo] ... 38 more [echo] Caused by: com.sun.appserv.connectors.internal.api.PoolingException: Connection could not be allocated because: OAUTH marshaling failure [echo] at com.sun.enterprise.resource.allocator.LocalTxConnectorAllocator.createResource(LocalTxConnectorAllocator.java:100) [echo] at com.sun.enterprise.resource.pool.ConnectionPool.createSingleResource(ConnectionPool.java:903) [echo] ... 40 more [echo] Caused by: javax.resource.spi.ResourceAllocationException: Connection could not be allocated because: OAUTH marshaling failure [echo] at com.sun.gjc.spi.DSManagedConnectionFactory.createManagedConnection(DSManagedConnectionFactory.java:127) [echo] at com.sun.enterprise.resource.allocator.LocalTxConnectorAllocator.createResource(LocalTxConnectorAllocator.java:77) [echo] ... 41 more [echo] Caused by: java.sql.SQLException: OAUTH marshaling failure [echo] at oracle.jdbc.driver.T4CTTIoauthenticate.doOAUTH(T4CTTIoauthenticate.java:663) [echo] at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:359) [echo] at oracle.jdbc.driver.PhysicalConnection.(PhysicalConnection.java:531) [echo] at oracle.jdbc.driver.T4CConnection.(T4CConnection.java:221) [echo] at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:32) [echo] at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:503) [echo] at oracle.jdbc.pool.OracleDataSource.getPhysicalConnection(OracleDataSource.java:280) [echo] at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:207) [echo] at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:157) [echo] at com.sun.gjc.spi.DSManagedConnectionFactory.createManagedConnection(DSManagedConnectionFactory.java:113) [echo] ... 42 more [echo] Dec 13, 2010 11:25:00 AM org.eclipse.persistence.session.file:/export/hudson/workspace/ming-core-db/appserver-sqe/build/pe/i386_apg-sqe2_Linux/ejb-cmp/archive/ejb-cmp-datatypesAppClient/ejb-cmp-datatypes-client.jar_em.ejb [echo] SEVERE: [echo] Local Exception Stack: [echo] Exception [EclipseLink-4002] (Eclipse Persistence Services - 2.2.0.v20101020-r8375): org.eclipse.persistence.exceptions.DatabaseException [echo] Internal Exception: java.sql.SQLException: Error in allocating a connection. Cause: Connection could not be allocated because: OAUTH marshaling failure [echo] Error Code: 0 [echo] at org.eclipse.persistence.exceptions.DatabaseException.sqlException(DatabaseException.java:309) [echo] at org.eclipse.persistence.sessions.JNDIConnector.connect(JNDIConnector.java:138) [echo] at org.eclipse.persistence.sessions.JNDIConnector.connect(JNDIConnector.java:94) [echo] at org.eclipse.persistence.sessions.DatasourceLogin.connectToDatasource(DatasourceLogin.java:162) [echo] at org.eclipse.persistence.internal.databaseaccess.DatasourceAccessor.connectInternal(DatasourceAccessor.java:327) [echo] at org.eclipse.persistence.internal.databaseaccess.DatabaseAccessor.connectInternal(DatabaseAccessor.java:291) [echo] at org.eclipse.persistence.internal.databaseaccess.DatasourceAccessor.connect(DatasourceAccessor.java:415) [echo] at org.eclipse.persistence.sessions.server.ConnectionPool.buildConnection(ConnectionPool.java:160) [echo] at org.eclipse.persistence.sessions.server.ExternalConnectionPool.startUp(ExternalConnectionPool.java:118) [echo] at org.eclipse.persistence.sessions.server.ServerSession.connect(ServerSession.java:496) [echo] at org.eclipse.persistence.internal.sessions.DatabaseSessionImpl.login(DatabaseSessionImpl.java:627) [echo] at org.eclipse.persistence.internal.jpa.EntityManagerFactoryProvider.login(EntityManagerFactoryProvider.java:230) [echo] at org.eclipse.persistence.internal.jpa.EntityManagerSetupImpl.deploy(EntityManagerSetupImpl.java:392) [echo] at org.eclipse.persistence.internal.jpa.EntityManagerFactoryImpl.getServerSession(EntityManagerFactoryImpl.java:164) [echo] at org.eclipse.persistence.internal.jpa.EntityManagerFactoryImpl.createEntityManagerImpl(EntityManagerFactoryImpl.java:221) [echo] at org.eclipse.persistence.internal.jpa.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:209) [echo] at com.sun.enterprise.container.common.impl.EntityManagerFactoryWrapper.createEntityManager(EntityManagerFactoryWrapper.java:110) [echo] at ejb30.persistence.datatypes.client.Client.main(Client.java:37) [echo] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [echo] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [echo] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [echo] at java.lang.reflect.Method.invoke(Method.java:597) [echo] at org.glassfish.appclient.client.acc.AppClientContainer.launch(AppClientContainer.java:432) [echo] at org.glassfish.appclient.client.AppClientFacade.launch(AppClientFacade.java:182) [echo] at org.glassfish.appclient.client.AppClientGroupFacade.main(AppClientGroupFacade.java:65) [echo] Caused by: java.sql.SQLException: Error in allocating a connection. Cause: Connection could not be allocated because: OAUTH marshaling failure [echo] at com.sun.gjc.spi.base.DataSource.getConnection(DataSource.java:117) [echo] at org.eclipse.persistence.sessions.JNDIConnector.connect(JNDIConnector.java:126) [echo] ... 23 more [echo] Caused by: javax.resource.spi.ResourceAllocationException: Error in allocating a connection. Cause: Connection could not be allocated because: OAUTH marshaling failure [echo] at com.sun.enterprise.connectors.ConnectionManagerImpl.internalGetConnection(ConnectionManagerImpl.java:310) [echo] at com.sun.enterprise.connectors.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:190) [echo] at com.sun.enterprise.connectors.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:165) [echo] at com.sun.enterprise.connectors.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:160) [echo] at com.sun.gjc.spi.base.DataSource.getConnection(DataSource.java:110) [echo] ... 24 more [echo] Caused by: com.sun.appserv.connectors.internal.api.PoolingException: Connection could not be allocated because: OAUTH marshaling failure [echo] at com.sun.enterprise.resource.pool.datastructure.RWLockDataStructure.addResource(RWLockDataStructure.java:103) [echo] at com.sun.enterprise.resource.pool.ConnectionPool.addResource(ConnectionPool.java:282) [echo] at com.sun.enterprise.resource.pool.ConnectionPool.createResourceAndAddToPool(ConnectionPool.java:1497) [echo] at com.sun.enterprise.resource.pool.ConnectionPool.createResources(ConnectionPool.java:940) [echo] at com.sun.enterprise.resource.pool.ConnectionPool.initPool(ConnectionPool.java:230) [echo] at com.sun.enterprise.resource.pool.ConnectionPool.internalGetResource(ConnectionPool.java:511) [echo] at com.sun.enterprise.resource.pool.ConnectionPool.getResource(ConnectionPool.java:381) [echo] at com.sun.enterprise.resource.pool.PoolManagerImpl.getResourceFromPool(PoolManagerImpl.java:242) [echo] at com.sun.enterprise.resource.pool.PoolManagerImpl.getResource(PoolManagerImpl.java:167) [echo] at com.sun.enterprise.connectors.ConnectionManagerImpl.getResource(ConnectionManagerImpl.java:341) [echo] at com.sun.enterprise.connectors.ConnectionManagerImpl.internalGetConnection(ConnectionManagerImpl.java:304) [echo] ... 28 more [echo] Caused by: com.sun.appserv.connectors.internal.api.PoolingException: Connection could not be allocated because: OAUTH marshaling failure [echo] at com.sun.enterprise.resource.pool.ConnectionPool.createSingleResource(ConnectionPool.java:920) [echo] at com.sun.enterprise.resource.pool.ConnectionPool.createResource(ConnectionPool.java:1181) [echo] at com.sun.enterprise.resource.pool.datastructure.RWLockDataStructure.addResource(RWLockDataStructure.java:98) [echo] ... 38 more [echo] Caused by: com.sun.appserv.connectors.internal.api.PoolingException: Connection could not be allocated because: OAUTH marshaling failure [echo] at com.sun.enterprise.resource.allocator.LocalTxConnectorAllocator.createResource(LocalTxConnectorAllocator.java:100) [echo] at com.sun.enterprise.resource.pool.ConnectionPool.createSingleResource(ConnectionPool.java:903) [echo] ... 40 more [echo] Caused by: javax.resource.spi.ResourceAllocationException: Connection could not be allocated because: OAUTH marshaling failure [echo] at com.sun.gjc.spi.DSManagedConnectionFactory.createManagedConnection(DSManagedConnectionFactory.java:127) [echo] at com.sun.enterprise.resource.allocator.LocalTxConnectorAllocator.createResource(LocalTxConnectorAllocator.java:77) [echo] ... 41 more [echo] Caused by: java.sql.SQLException: OAUTH marshaling failure [echo] at oracle.jdbc.driver.T4CTTIoauthenticate.doOAUTH(T4CTTIoauthenticate.java:663) [echo] at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:359) [echo] at oracle.jdbc.driver.PhysicalConnection.(PhysicalConnection.java:531) [echo] at oracle.jdbc.driver.T4CConnection.(T4CConnection.java:221) [echo] at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:32) [echo] at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:503) [echo] at oracle.jdbc.pool.OracleDataSource.getPhysicalConnection(OracleDataSource.java:280) [echo] at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:207) [echo] at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:157) [echo] at com.sun.gjc.spi.DSManagedConnectionFactory.createManagedConnection(DSManagedConnectionFactory.java:113) [echo] ... 42 more [echo] java.lang.reflect.InvocationTargetException [echo] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [echo] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [echo] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [echo] at java.lang.reflect.Method.invoke(Method.java:597) [echo] at org.glassfish.appclient.client.acc.AppClientContainer.launch(AppClientContainer.java:432) [echo] at org.glassfish.appclient.client.AppClientFacade.launch(AppClientFacade.java:182) [echo] at org.glassfish.appclient.client.AppClientGroupFacade.main(AppClientGroupFacade.java:65) [echo] Caused by: javax.persistence.PersistenceException: Exception [EclipseLink-4002] (Eclipse Persistence Services - 2.2.0.v20101020-r8375): org.eclipse.persistence.exceptions.DatabaseException [echo] Internal Exception: java.sql.SQLException: Error in allocating a connection. Cause: Connection could not be allocated because: OAUTH marshaling failure [echo] Error Code: 0 [echo] at org.eclipse.persistence.internal.jpa.EntityManagerSetupImpl.deploy(EntityManagerSetupImpl.java:420) [echo] at org.eclipse.persistence.internal.jpa.EntityManagerFactoryImpl.getServerSession(EntityManagerFactoryImpl.java:164) [echo] at org.eclipse.persistence.internal.jpa.EntityManagerFactoryImpl.createEntityManagerImpl(EntityManagerFactoryImpl.java:221) [echo] at org.eclipse.persistence.internal.jpa.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:209) [echo] at com.sun.enterprise.container.common.impl.EntityManagerFactoryWrapper.createEntityManager(EntityManagerFactoryWrapper.java:110) [echo] at ejb30.persistence.datatypes.client.Client.main(Client.java:37) [echo] ... 7 more [echo] Caused by: Exception [EclipseLink-4002] (Eclipse Persistence Services - 2.2.0.v20101020-r8375): org.eclipse.persistence.exceptions.DatabaseException [echo] Internal Exception: java.sql.SQLException: Error in allocating a connection. Cause: Connection could not be allocated because: OAUTH marshaling failure [echo] Error Code: 0 [echo] at org.eclipse.persistence.exceptions.DatabaseException.sqlException(DatabaseException.java:309) [echo] at org.eclipse.persistence.sessions.JNDIConnector.connect(JNDIConnector.java:138) [echo] at org.eclipse.persistence.sessions.JNDIConnector.connect(JNDIConnector.java:94) [echo] at org.eclipse.persistence.sessions.DatasourceLogin.connectToDatasource(DatasourceLogin.java:162) [echo] at org.eclipse.persistence.internal.databaseaccess.DatasourceAccessor.connectInternal(DatasourceAccessor.java:327) [echo] at org.eclipse.persistence.internal.databaseaccess.DatabaseAccessor.connectInternal(DatabaseAccessor.java:291) [echo] at org.eclipse.persistence.internal.databaseaccess.DatasourceAccessor.connect(DatasourceAccessor.java:415) [echo] at org.eclipse.persistence.sessions.server.ConnectionPool.buildConnection(ConnectionPool.java:160) [echo] at org.eclipse.persistence.sessions.server.ExternalConnectionPool.startUp(ExternalConnectionPool.java:118) [echo] at org.eclipse.persistence.sessions.server.ServerSession.connect(ServerSession.java:496) [echo] at org.eclipse.persistence.internal.sessions.DatabaseSessionImpl.login(DatabaseSessionImpl.java:627) [echo] at org.eclipse.persistence.internal.jpa.EntityManagerFactoryProvider.login(EntityManagerFactoryProvider.java:230) [echo] at org.eclipse.persistence.internal.jpa.EntityManagerSetupImpl.deploy(EntityManagerSetupImpl.java:392) [echo] ... 12 more [echo] Caused by: java.sql.SQLException: Error in allocating a connection. Cause: Connection could not be allocated because: OAUTH marshaling failure [echo] at com.sun.gjc.spi.base.DataSource.getConnection(DataSource.java:117) [echo] at org.eclipse.persistence.sessions.JNDIConnector.connect(JNDIConnector.java:126) [echo] ... 23 more [echo] Caused by: javax.resource.spi.ResourceAllocationException: Error in allocating a connection. Cause: Connection could not be allocated because: OAUTH marshaling failure [echo] at com.sun.enterprise.connectors.ConnectionManagerImpl.internalGetConnection(ConnectionManagerImpl.java:310) [echo] at com.sun.enterprise.connectors.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:190) [echo] at com.sun.enterprise.connectors.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:165) [echo] at com.sun.enterprise.connectors.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:160) [echo] at com.sun.gjc.spi.base.DataSource.getConnection(DataSource.java:110) [echo] ... 24 more [echo] Caused by: com.sun.appserv.connectors.internal.api.PoolingException: Connection could not be allocated because: OAUTH marshaling failure [echo] at com.sun.enterprise.resource.pool.datastructure.RWLockDataStructure.addResource(RWLockDataStructure.java:103) [echo] at com.sun.enterprise.resource.pool.ConnectionPool.addResource(ConnectionPool.java:282) [echo] at com.sun.enterprise.resource.pool.ConnectionPool.createResourceAndAddToPool(ConnectionPool.java:1497) [echo] at com.sun.enterprise.resource.pool.ConnectionPool.createResources(ConnectionPool.java:940) [echo] at com.sun.enterprise.resource.pool.ConnectionPool.initPool(ConnectionPool.java:230) [echo] at com.sun.enterprise.resource.pool.ConnectionPool.internalGetResource(ConnectionPool.java:511) [echo] at com.sun.enterprise.resource.pool.ConnectionPool.getResource(ConnectionPool.java:381) [echo] at com.sun.enterprise.resource.pool.PoolManagerImpl.getResourceFromPool(PoolManagerImpl.java:242) [echo] at com.sun.enterprise.resource.pool.PoolManagerImpl.getResource(PoolManagerImpl.java:167) [echo] at com.sun.enterprise.connectors.ConnectionManagerImpl.getResource(ConnectionManagerImpl.java:341) [echo] at com.sun.enterprise.connectors.ConnectionManagerImpl.internalGetConnection(ConnectionManagerImpl.java:304) [echo] ... 28 more [echo] Caused by: com.sun.appserv.connectors.internal.api.PoolingException: Connection could not be allocated because: OAUTH marshaling failure [echo] at com.sun.enterprise.resource.pool.ConnectionPool.createSingleResource(ConnectionPool.java:920) [echo] at com.sun.enterprise.resource.pool.ConnectionPool.createResource(ConnectionPool.java:1181) [echo] at com.sun.enterprise.resource.pool.datastructure.RWLockDataStructure.addResource(RWLockDataStructure.java:98) [echo] ... 38 more [echo] Caused by: com.sun.appserv.connectors.internal.api.PoolingException: Connection could not be allocated because: OAUTH marshaling failure [echo] at com.sun.enterprise.resource.allocator.LocalTxConnectorAllocator.createResource(LocalTxConnectorAllocator.java:100) [echo] at com.sun.enterprise.resource.pool.ConnectionPool.createSingleResource(ConnectionPool.java:903) [echo] ... 40 more [echo] Caused by: javax.resource.spi.ResourceAllocationException: Connection could not be allocated because: OAUTH marshaling failure [echo] at com.sun.gjc.spi.DSManagedConnectionFactory.createManagedConnection(DSManagedConnectionFactory.java:127) [echo] at com.sun.enterprise.resource.allocator.LocalTxConnectorAllocator.createResource(LocalTxConnectorAllocator.java:77) [echo] ... 41 more [echo] Caused by: java.sql.SQLException: OAUTH marshaling failure [echo] at oracle.jdbc.driver.T4CTTIoauthenticate.doOAUTH(T4CTTIoauthenticate.java:663) [echo] at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:359) [echo] at oracle.jdbc.driver.PhysicalConnection.(PhysicalConnection.java:531) [echo] at oracle.jdbc.driver.T4CConnection.(T4CConnection.java:221) [echo] at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:32) [echo] at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:503) [echo] at oracle.jdbc.pool.OracleDataSource.getPhysicalConnection(OracleDataSource.java:280) [echo] at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:207) [echo] at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:157) [echo] at com.sun.gjc.spi.DSManagedConnectionFactory.createManagedConnection(DSManagedConnectionFactory.java:113) [echo] ... 42 more setdefaultmode: setOSConditions: setToolWin: setToolUnix: setToolProperty: setS1ASclassPath: setS1AS80classPath: setS1WSclassPath: setJWSDPclassPath: setTimeStamp: init-password-file: init-common: init-password-file: create-password-file: create-report-dir: check-runclient-output: checkReporting-common: confirmReportPresent-common: confirmMissingReport-common: [echo] Test does not seem to have been reported [echo] Adding status 'did not run' into report... all: BUILD SUCCESSFUL Total time: 28 seconds