Loja Virtual completa com JavaEE e JavaSE Prof. Dyego Souza aula 17 validação de test UserSessionTest // apresenta erro conforme log // presciso de ajuda.

Java

25/01/2012

saveUser
Jan 25, 2012 10:53:48 AM org.glassfish.ha.store.spi.BackingStoreFactoryRegistry register
Informações: Registered org.glassfish.ha.store.adapter.cache.ShoalBackingStoreProxy for persistence-type = replicated in BackingStoreFactoryRegistry
Jan 25, 2012 10:53:49 AM com.sun.enterprise.v3.server.AppServerStartup run
Informações: GlassFish Server Open Source Edition 3.1.1 (12) hora de inicialização : Embedded (478ms), serviços de inicialização(514ms), total(992ms)
Jan 25, 2012 10:53:49 AM org.glassfish.admin.mbeanserver.JMXStartupService$JMXConnectorsStarterThread run
Informações: JMXStartupService: JMXConnector system is disabled, skipping.
Jan 25, 2012 10:53:50 AM org.glassfish.admin.mbeanserver.JMXStartupService shutdown
Informações: JMXStartupService and JMXConnectors have been shut down.
Jan 25, 2012 10:53:50 AM com.sun.enterprise.v3.server.AppServerStartup stop
Informações: Procedimento de desligamento concluído
Jan 25, 2012 10:53:50 AM AppServerStartup run
Informações: [Thread[GlassFish Kernel Main Thread,5,main]] exiting
Jan 25, 2012 10:53:50 AM org.glassfish.ha.store.spi.BackingStoreFactoryRegistry register
Informações: Registered org.glassfish.ha.store.adapter.cache.ShoalBackingStoreProxy for persistence-type = replicated in BackingStoreFactoryRegistry
Jan 25, 2012 10:53:50 AM com.sun.enterprise.v3.server.AppServerStartup run
Informações: GlassFish Server Open Source Edition 3.1.1 (12) hora de inicialização : Embedded (2.448ms), serviços de inicialização(52ms), total(2.500ms)
Jan 25, 2012 10:53:50 AM org.glassfish.admin.mbeanserver.JMXStartupService$JMXConnectorsStarterThread run
Informações: JMXStartupService: JMXConnector system is disabled, skipping.
Jan 25, 2012 10:53:51 AM org.glassfish.ejb.embedded.EJBContainerProviderImpl skipJar
Informações: ... skipping entry with a Manifest file with a special attribute: org.eclipse.persistence.jpa.jpql_1.0.0.jar
Jan 25, 2012 10:53:51 AM org.glassfish.ejb.embedded.EJBContainerProviderImpl skipJar
Informações: ... skipping module: javax.security.jacc.jar
Jan 25, 2012 10:53:51 AM org.glassfish.ejb.embedded.EJBContainerProviderImpl skipJar
Informações: ... skipping module: javax.transaction.jar
Jan 25, 2012 10:53:51 AM org.glassfish.ejb.embedded.EJBContainerProviderImpl skipJar
Informações: ... skipping module: jersey-core.jar
Jan 25, 2012 10:53:51 AM org.glassfish.ejb.embedded.EJBContainerProviderImpl skipJar
Informações: ... skipping module: javax.servlet.jar
Jan 25, 2012 10:53:51 AM org.glassfish.ejb.embedded.EJBContainerProviderImpl skipJar
Informações: ... skipping module: webservices-osgi.jar
Jan 25, 2012 10:53:51 AM org.glassfish.ejb.embedded.EJBContainerProviderImpl skipJar
Informações: ... skipping module: javax.jms.jar
Jan 25, 2012 10:53:51 AM org.glassfish.ejb.embedded.EJBContainerProviderImpl skipJar
Informações: ... skipping module: javax.security.auth.message.jar
Jan 25, 2012 10:53:51 AM org.glassfish.ejb.embedded.EJBContainerProviderImpl skipJar
Informações: ... skipping module: javax.servlet.jsp.jstl.jar
Jan 25, 2012 10:53:51 AM org.glassfish.ejb.embedded.EJBContainerProviderImpl skipJar
Informações: ... skipping module: javax.management.j2ee.jar
Jan 25, 2012 10:53:51 AM org.glassfish.ejb.embedded.EJBContainerProviderImpl skipJar
Informações: ... skipping module: javax.enterprise.deploy.jar
Jan 25, 2012 10:53:51 AM org.glassfish.ejb.embedded.EJBContainerProviderImpl skipJar
Informações: ... skipping module: bean-validator.jar
Jan 25, 2012 10:53:51 AM org.glassfish.ejb.embedded.EJBContainerProviderImpl skipJar
Informações: ... skipping entry with a Manifest file with a special attribute: webservices-api-osgi.jar
Jan 25, 2012 10:53:51 AM org.glassfish.ejb.embedded.EJBContainerProviderImpl skipJar
Informações: ... skipping module: jsf-api.jar
Jan 25, 2012 10:53:51 AM org.glassfish.ejb.embedded.EJBContainerProviderImpl skipJar
Informações: ... skipping module: javax.mail.jar
Jan 25, 2012 10:53:51 AM org.glassfish.ejb.embedded.EJBContainerProviderImpl skipJar
Informações: ... skipping module: jsf-impl.jar
Jan 25, 2012 10:53:51 AM org.glassfish.ejb.embedded.EJBContainerProviderImpl skipJar
Informações: ... skipping module: javax.servlet.jsp.jar
Jan 25, 2012 10:53:51 AM org.glassfish.ejb.embedded.EJBContainerProviderImpl skipJar
Informações: ... skipping module: javax.persistence.jar
Jan 25, 2012 10:53:51 AM org.glassfish.ejb.embedded.EJBContainerProviderImpl skipJar
Informações: ... skipping module: weld-osgi-bundle.jar
Jan 25, 2012 10:53:51 AM org.glassfish.ejb.embedded.EJBContainerProviderImpl skipJar
Informações: ... skipping module: javax.ejb.jar
Jan 25, 2012 10:53:51 AM org.glassfish.ejb.embedded.EJBContainerProviderImpl skipJar
Informações: ... skipping module: jstl-impl.jar
Jan 25, 2012 10:53:51 AM org.glassfish.ejb.embedded.EJBContainerProviderImpl skipJar
Informações: ... skipping module: javax.resource.jar
Jan 25, 2012 10:53:51 AM org.glassfish.ejb.embedded.EJBContainerProviderImpl skipJar
Informações: ... skipping module: jaxb-osgi.jar
Jan 25, 2012 10:53:51 AM org.glassfish.ejb.embedded.EJBContainerProviderImpl skipJar
Informações: ... skipping entry with a Manifest file with a special attribute: javax.annotation.jar
Jan 25, 2012 10:53:51 AM org.glassfish.ejb.embedded.EJBContainerProviderImpl skipJar
Informações: ... skipping entry with a Manifest file with a special attribute: glassfish-embedded-static-shell.jar
Jan 25, 2012 10:53:51 AM org.glassfish.ejb.embedded.DeploymentElement getOrCreateApplication
Informações: [DeploymentElement] adding EJB module to ScatteredArchive classes
Jan 25, 2012 10:53:51 AM org.glassfish.ejb.embedded.DeploymentElement getOrCreateApplication
Informações: [DeploymentElement] adding library to ScatteredArchive jaxm-api.jar
Jan 25, 2012 10:53:51 AM org.glassfish.ejb.embedded.DeploymentElement getOrCreateApplication
Informações: [DeploymentElement] adding library to ScatteredArchive junit-4.10.jar
Jan 25, 2012 10:53:51 AM org.glassfish.ejb.embedded.DeploymentElement getOrCreateApplication
Informações: [DeploymentElement] adding library to ScatteredArchive javax.persistence-2.0.jar
Jan 25, 2012 10:53:51 AM org.glassfish.ejb.embedded.DeploymentElement getOrCreateApplication
Informações: [DeploymentElement] adding library to ScatteredArchive mysql-connector-java-5.1.7-bin.jar
Jan 25, 2012 10:53:51 AM org.glassfish.ejb.embedded.DeploymentElement getOrCreateApplication
Informações: [DeploymentElement] adding library to ScatteredArchive ant-launcher.jar
Jan 25, 2012 10:53:51 AM org.glassfish.ejb.embedded.DeploymentElement getOrCreateApplication
Informações: [DeploymentElement] adding library to ScatteredArchive classes
Jan 25, 2012 10:53:51 AM org.glassfish.ejb.embedded.DeploymentElement getOrCreateApplication
Informações: [DeploymentElement] adding library to ScatteredArchive ant.jar
Jan 25, 2012 10:53:51 AM org.glassfish.ejb.embedded.DeploymentElement getOrCreateApplication
Informações: [DeploymentElement] adding library to ScatteredArchive ant-junit4.jar
Jan 25, 2012 10:53:51 AM org.glassfish.ejb.embedded.DeploymentElement getOrCreateApplication
Informações: [DeploymentElement] adding library to ScatteredArchive jaxb-api-osgi.jar
Jan 25, 2012 10:53:51 AM org.glassfish.ejb.embedded.DeploymentElement getOrCreateApplication
Informações: [DeploymentElement] adding library to ScatteredArchive ant-junit.jar
Jan 25, 2012 10:53:51 AM org.glassfish.ejb.embedded.DeploymentElement getOrCreateApplication
Informações: [DeploymentElement] adding library to ScatteredArchive eclipselink-2.3.0.jar
Jan 25, 2012 10:53:51 AM org.glassfish.ejb.embedded.EJBContainerImpl deploy
Informações: [EJBContainerImpl] Deploying app: org.glassfish.embeddable.archive.ScatteredArchive@108a2d1
Jan 25, 2012 10:54:24 AM org.hibernate.validator.util.Version <clinit>
Informações: Hibernate Validator 4.1.0.Final
Jan 25, 2012 10:54:24 AM org.hibernate.validator.engine.resolver.DefaultTraversableResolver detectJPA
Informações: Instantiated an instance of org.hibernate.validator.engine.resolver.JPATraversableResolver.
Jan 25, 2012 10:54:29 AM com.sun.enterprise.security.SecurityLifecycle <init>
Informações: SEC1002: Security Manager is OFF.
Jan 25, 2012 10:54:29 AM com.sun.enterprise.security.SecurityLifecycle onInitialization
Informações: SEC1010: Entering Security Startup Service
Jan 25, 2012 10:54:29 AM com.sun.enterprise.security.PolicyLoader loadPolicy
Informações: SEC1143: Loading policy provider com.sun.enterprise.security.provider.PolicyWrapper.
Jan 25, 2012 10:54:29 AM com.sun.enterprise.security.auth.realm.Realm doInstantiate
Informações: SEC1115: Realm [admin-realm] of classtype [com.sun.enterprise.security.auth.realm.file.FileRealm] successfully created.
Jan 25, 2012 10:54:29 AM com.sun.enterprise.security.auth.realm.Realm doInstantiate
Informações: SEC1115: Realm [file] of classtype [com.sun.enterprise.security.auth.realm.file.FileRealm] successfully created.
Jan 25, 2012 10:54:29 AM com.sun.enterprise.security.auth.realm.Realm doInstantiate
Informações: SEC1115: Realm [certificate] of classtype [com.sun.enterprise.security.auth.realm.certificate.CertificateRealm] successfully created.
Jan 25, 2012 10:54:29 AM com.sun.enterprise.security.SecurityLifecycle onInitialization
Informações: SEC1011: Security Service(s) Started Successfully
Jan 25, 2012 10:54:31 AM org.glassfish.webservices.metroglue.MetroContainer postConstruct
Informações: WS10010: Web service endpoint deployment events listener registered successfully.
Jan 25, 2012 10:54:32 AM org.hibernate.validator.engine.resolver.DefaultTraversableResolver detectJPA
Informações: Instantiated an instance of org.hibernate.validator.engine.resolver.JPATraversableResolver.
Jan 25, 2012 10:54:36 AM org.hibernate.validator.engine.resolver.DefaultTraversableResolver detectJPA
Informações: Instantiated an instance of org.hibernate.validator.engine.resolver.JPATraversableResolver.
Jan 25, 2012 10:54:36 AM org.eclipse.persistence.session.file:/C:/Users/User/AppData/Local/Temp/gfembed4804270792795602055tmp/applications/classes/_EcommercePU
Informações: EclipseLink, version: Eclipse Persistence Services - 2.3.0.v20110604-r9504
Jan 25, 2012 10:54:37 AM org.eclipse.persistence.session.file:/C:/Users/User/AppData/Local/Temp/gfembed4804270792795602055tmp/applications/classes/_EcommercePU
Informações: file:/C:/Users/User/AppData/Local/Temp/gfembed4804270792795602055tmp/applications/classes/_EcommercePU login successful
Jan 25, 2012 10:54:37 AM org.glassfish.persistence.common.Java2DBProcessorHelper executeDDLs
Advertência: PER01000: Got SQLException executing statement CREATE TABLE SELL (id INTEGER NOT NULL, CLOSED TINYINT(1) default 0, DATEOFSELL DATE NOT NULL, STATUS VARCHAR(255) NOT NULL, TOTAL DECIMAL(38) NOT NULL, ADDRESSTOSEND_id INTEGER, CREDITCARD_id INTEGER, USEROF_id INTEGER, PRIMARY KEY (id)): com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table sell already exists
Jan 25, 2012 10:54:37 AM org.glassfish.persistence.common.Java2DBProcessorHelper executeDDLs
Advertência: PER01000: Got SQLException executing statement CREATE TABLE ADDRESS (id INTEGER NOT NULL, ADDRESS VARCHAR(255) NOT NULL, COUNTRY VARCHAR(255) NOT NULL, NICKNAME VARCHAR(255) NOT NULL, NUMBER INTEGER NOT NULL, POSTALCODE VARCHAR(255) NOT NULL, STATEOFADDRESS VARCHAR(100) NOT NULL, userOf INTEGER, PRIMARY KEY (id)): com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table address already exists
Jan 25, 2012 10:54:37 AM org.glassfish.persistence.common.Java2DBProcessorHelper executeDDLs
Advertência: PER01000: Got SQLException executing statement CREATE TABLE CATEGORY (id INTEGER NOT NULL, ACTIVE TINYINT(1) default 0, NAME VARCHAR(255) NOT NULL UNIQUE, PRIMARY KEY (id)): com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table category already exists
Jan 25, 2012 10:54:37 AM org.glassfish.persistence.common.Java2DBProcessorHelper executeDDLs
Advertência: PER01000: Got SQLException executing statement CREATE TABLE CALLONAVALIABLE (ID INTEGER NOT NULL, CALLED TINYINT(1) default 0, EMAIL VARCHAR(255), PRODUCT_id INTEGER, PRIMARY KEY (ID)): com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table callonavaliable already exists
Jan 25, 2012 10:54:37 AM org.glassfish.persistence.common.Java2DBProcessorHelper executeDDLs
Advertência: PER01000: Got SQLException executing statement CREATE TABLE PRODUCT (id INTEGER NOT NULL, COST DECIMAL(38) NOT NULL, ESPC VARCHAR(255) NOT NULL, NAME VARCHAR(255) NOT NULL UNIQUE, STOCK INTEGER NOT NULL, CATEGORY_id INTEGER, PRIMARY KEY (id)): com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table product already exists
Jan 25, 2012 10:54:37 AM org.glassfish.persistence.common.Java2DBProcessorHelper executeDDLs
Advertência: PER01000: Got SQLException executing statement CREATE TABLE CREDITCARD (id INTEGER NOT NULL, DATEOFVALIDATION DATE NOT NULL, FLAG VARCHAR(255) NOT NULL, NAMEOFCARDOWNER VARCHAR(255) NOT NULL, NUMBER VARCHAR(255) NOT NULL, TIMES INTEGER NOT NULL, USEROF_id INTEGER, PRIMARY KEY (id)): com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table creditcard already exists
Jan 25, 2012 10:54:37 AM org.glassfish.persistence.common.Java2DBProcessorHelper executeDDLs
Advertência: PER01000: Got SQLException executing statement CREATE TABLE users (id INTEGER NOT NULL, EMAIL VARCHAR(255) NOT NULL, NAME VARCHAR(255) NOT NULL, PASSWORD VARCHAR(32) NOT NULL, USERNAME VARCHAR(255) NOT NULL, PRIMARY KEY (id)): com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table users already exists
Jan 25, 2012 10:54:37 AM org.glassfish.persistence.common.Java2DBProcessorHelper executeDDLs
Advertência: PER01000: Got SQLException executing statement CREATE TABLE SELLITEM (id INTEGER NOT NULL, QNT INTEGER NOT NULL, PRODUCT_id INTEGER, SELL_id INTEGER, PRIMARY KEY (id)): com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table sellitem already exists
Jan 25, 2012 10:54:37 AM org.glassfish.persistence.common.Java2DBProcessorHelper executeDDLs
Advertência: PER01000: Got SQLException executing statement ALTER TABLE SELL ADD CONSTRAINT FK_SELL_ADDRESSTOSEND_id FOREIGN KEY (ADDRESSTOSEND_id) REFERENCES ADDRESS (id): java.sql.SQLException: Cant create table ecommercemysql.#sql-a04_9 (errno: 121)
Jan 25, 2012 10:54:37 AM org.glassfish.persistence.common.Java2DBProcessorHelper executeDDLs
Advertência: PER01000: Got SQLException executing statement ALTER TABLE SELL ADD CONSTRAINT FK_SELL_CREDITCARD_id FOREIGN KEY (CREDITCARD_id) REFERENCES CREDITCARD (id): java.sql.SQLException: Cant create table ecommercemysql.#sql-a04_9 (errno: 121)
Jan 25, 2012 10:54:37 AM org.glassfish.persistence.common.Java2DBProcessorHelper executeDDLs
Advertência: PER01000: Got SQLException executing statement ALTER TABLE SELL ADD CONSTRAINT FK_SELL_USEROF_id FOREIGN KEY (USEROF_id) REFERENCES users (id): java.sql.SQLException: Cant create table ecommercemysql.#sql-a04_9 (errno: 121)
Jan 25, 2012 10:54:37 AM org.glassfish.persistence.common.Java2DBProcessorHelper executeDDLs
Advertência: PER01000: Got SQLException executing statement ALTER TABLE ADDRESS ADD CONSTRAINT FK_ADDRESS_userOf FOREIGN KEY (userOf) REFERENCES users (id): java.sql.SQLException: Cant create table ecommercemysql.#sql-a04_9 (errno: 121)
Jan 25, 2012 10:54:37 AM org.glassfish.persistence.common.Java2DBProcessorHelper executeDDLs
Advertência: PER01000: Got SQLException executing statement ALTER TABLE CALLONAVALIABLE ADD CONSTRAINT FK_CALLONAVALIABLE_PRODUCT_id FOREIGN KEY (PRODUCT_id) REFERENCES PRODUCT (id): java.sql.SQLException: Cant create table ecommercemysql.#sql-a04_9 (errno: 121)
Jan 25, 2012 10:54:37 AM org.glassfish.persistence.common.Java2DBProcessorHelper executeDDLs
Advertência: PER01000: Got SQLException executing statement ALTER TABLE PRODUCT ADD CONSTRAINT FK_PRODUCT_CATEGORY_id FOREIGN KEY (CATEGORY_id) REFERENCES CATEGORY (id): java.sql.SQLException: Cant create table ecommercemysql.#sql-a04_9 (errno: 121)
Jan 25, 2012 10:54:38 AM org.glassfish.persistence.common.Java2DBProcessorHelper executeDDLs
Advertência: PER01000: Got SQLException executing statement ALTER TABLE CREDITCARD ADD CONSTRAINT FK_CREDITCARD_USEROF_id FOREIGN KEY (USEROF_id) REFERENCES users (id): java.sql.SQLException: Cant create table ecommercemysql.#sql-a04_9 (errno: 121)
Jan 25, 2012 10:54:38 AM org.glassfish.persistence.common.Java2DBProcessorHelper executeDDLs
Advertência: PER01000: Got SQLException executing statement ALTER TABLE SELLITEM ADD CONSTRAINT FK_SELLITEM_PRODUCT_id FOREIGN KEY (PRODUCT_id) REFERENCES PRODUCT (id): java.sql.SQLException: Cant create table ecommercemysql.#sql-a04_9 (errno: 121)
Jan 25, 2012 10:54:38 AM org.glassfish.persistence.common.Java2DBProcessorHelper executeDDLs
Advertência: PER01000: Got SQLException executing statement ALTER TABLE SELLITEM ADD CONSTRAINT FK_SELLITEM_SELL_id FOREIGN KEY (SELL_id) REFERENCES SELL (id): java.sql.SQLException: Cant create table ecommercemysql.#sql-a04_9 (errno: 121)
Jan 25, 2012 10:54:38 AM org.glassfish.persistence.common.Java2DBProcessorHelper executeDDLs
Advertência: PER01000: Got SQLException executing statement CREATE TABLE SEQUENCE (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38), PRIMARY KEY (SEQ_NAME)): com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table sequence already exists
Jan 25, 2012 10:54:38 AM org.glassfish.persistence.common.Java2DBProcessorHelper executeDDLs
Advertência: PER01000: Got SQLException executing statement INSERT INTO SEQUENCE(SEQ_NAME, SEQ_COUNT) values (SEQ_GEN, 0): com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry SEQ_GEN for key PRIMARY
Jan 25, 2012 10:54:38 AM com.sun.ejb.containers.EjbContainerUtilImpl deployEJBTimerService
Informações: Loading EJBTimerService. Please wait.
Jan 25, 2012 10:54:39 AM org.hibernate.validator.engine.resolver.DefaultTraversableResolver detectJPA
Informações: Instantiated an instance of org.hibernate.validator.engine.resolver.JPATraversableResolver.
Jan 25, 2012 10:54:39 AM org.hibernate.validator.engine.resolver.DefaultTraversableResolver detectJPA
Informações: Instantiated an instance of org.hibernate.validator.engine.resolver.JPATraversableResolver.
Jan 25, 2012 10:54:39 AM org.eclipse.persistence.session.file:/C:/Users/User/AppData/Local/Temp/gfembed4804270792795602055tmp/applications/ejb-timer-service-app/WEB-INF/classes/___EJB__Timer__App
Informações: EclipseLink, version: Eclipse Persistence Services - 2.3.0.v20110604-r9504
Jan 25, 2012 10:54:48 AM org.eclipse.persistence.session.file:/C:/Users/User/AppData/Local/Temp/gfembed4804270792795602055tmp/applications/ejb-timer-service-app/WEB-INF/classes/___EJB__Timer__App
Informações: file:/C:/Users/User/AppData/Local/Temp/gfembed4804270792795602055tmp/applications/ejb-timer-service-app/WEB-INF/classes/___EJB__Timer__App login successful
Jan 25, 2012 10:54:48 AM org.eclipse.persistence.session.file:/C:/Users/User/AppData/Local/Temp/gfembed4804270792795602055tmp/applications/ejb-timer-service-app/WEB-INF/classes/___EJB__Timer__App.server
Advertência: Multiple [2] JMX MBeanServer instances exist, we will use the server at index [0] : [com.sun.enterprise.v3.admin.DynamicInterceptor@1166ec4].
Jan 25, 2012 10:54:48 AM org.eclipse.persistence.session.file:/C:/Users/User/AppData/Local/Temp/gfembed4804270792795602055tmp/applications/ejb-timer-service-app/WEB-INF/classes/___EJB__Timer__App.server
Advertência: JMX MBeanServer in use: [com.sun.enterprise.v3.admin.DynamicInterceptor@1166ec4] from index [0]
Jan 25, 2012 10:54:48 AM org.eclipse.persistence.session.file:/C:/Users/User/AppData/Local/Temp/gfembed4804270792795602055tmp/applications/ejb-timer-service-app/WEB-INF/classes/___EJB__Timer__App.server
Advertência: JMX MBeanServer in use: [com.sun.jmx.mbeanserver.JmxMBeanServer@1bd6107] from index [1]
Jan 25, 2012 10:54:49 AM com.sun.ejb.containers.TimerBeanContainer <init>
Informações: [TimerBeanContainer] Created TimerBeanContainer: TimerBean
Jan 25, 2012 10:54:49 AM com.sun.ejb.containers.BaseContainer initializeHome
Informações: Portable JNDI names for EJB TimerBean : [java:global/ejb-timer-service-app/TimerBean, java:global/ejb-timer-service-app/TimerBean!com.sun.ejb.containers.TimerLocal]
Jan 25, 2012 10:54:49 AM com.sun.enterprise.web.WebContainer loadWebModule
Informações: WEB0356: Web module [ejb-timer-service-app] not loaded to any virtual servers
Jan 25, 2012 10:54:49 AM com.sun.enterprise.web.WebApplication start
Informações: WEB0671: Loading application [ejb-timer-service-app] at [/ejb-timer-service-app]
Jan 25, 2012 10:54:49 AM com.sun.ejb.containers.EjbContainerUtilImpl deployEJBTimerService
Informações: EJB5109:EJB Timer Service started successfully for data source [jdbc/__TimerPool]
Jan 25, 2012 10:54:49 AM com.sun.ejb.containers.EjbContainerUtilImpl getEJBTimerService
Informações: Setting DBReadBeforeTimeout to false
Jan 25, 2012 10:54:49 AM com.sun.ejb.containers.EjbContainerUtilImpl getEJBTimerService
Informações: ==> Restoring Timers ...
Jan 25, 2012 10:54:49 AM com.sun.ejb.containers.EJBTimerService restoreEJBTimers
Informações: There are no EJB Timers owned by this server
Jan 25, 2012 10:54:49 AM com.sun.ejb.containers.EjbContainerUtilImpl getEJBTimerService
Informações: <== ... Timers Restored.
Jan 25, 2012 10:54:49 AM com.sun.ejb.containers.BaseContainer initializeHome
Informações: Portable JNDI names for EJB ProductSession : [java:global/classes/ProductSession, java:global/classes/ProductSession!br.com.ecommerce.session.ProductSession]
Jan 25, 2012 10:54:49 AM com.sun.ejb.containers.BaseContainer initializeHome
Informações: Portable JNDI names for EJB UserSession : [java:global/classes/UserSession!br.com.ecommerce.session.UserSession, java:global/classes/UserSession]
Jan 25, 2012 10:54:49 AM com.sun.ejb.containers.BaseContainer initializeHome
Informações: Portable JNDI names for EJB SellSession : [java:global/classes/SellSession, java:global/classes/SellSession!br.com.ecommerce.session.SellSession]
Jan 25, 2012 10:54:49 AM com.sun.jts.CosTransactions.DefaultTransactionService setServerName
Informações: JTS5014: Recoverable JTS instance, serverId = [100]
PlainTextActionReporterSUCCESSDescription: deploy AdminCommandnull
[name=classes


PER01003: Deployment encountered SQL Exceptions:
PER01000: Got SQLException executing statement CREATE TABLE SELL (id INTEGER NOT NULL, CLOSED TINYINT(1) default 0, DATEOFSELL DATE NOT NULL, STATUS VARCHAR(255) NOT NULL, TOTAL DECIMAL(38) NOT NULL, ADDRESSTOSEND_id INTEGER, CREDITCARD_id INTEGER, USEROF_id INTEGER, PRIMARY KEY (id)): com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table sell already exists
PER01000: Got SQLException executing statement CREATE TABLE ADDRESS (id INTEGER NOT NULL, ADDRESS VARCHAR(255) NOT NULL, COUNTRY VARCHAR(255) NOT NULL, NICKNAME VARCHAR(255) NOT NULL, NUMBER INTEGER NOT NULL, POSTALCODE VARCHAR(255) NOT NULL, STATEOFADDRESS VARCHAR(100) NOT NULL, userOf INTEGER, PRIMARY KEY (id)): com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table address already exists
PER01000: Got SQLException executing statement CREATE TABLE CATEGORY (id INTEGER NOT NULL, ACTIVE TINYINT(1) default 0, NAME VARCHAR(255) NOT NULL UNIQUE, PRIMARY KEY (id)): com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table category already exists
PER01000: Got SQLException executing statement CREATE TABLE CALLONAVALIABLE (ID INTEGER NOT NULL, CALLED TINYINT(1) default 0, EMAIL VARCHAR(255), PRODUCT_id INTEGER, PRIMARY KEY (ID)): com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table callonavaliable already exists
PER01000: Got SQLException executing statement CREATE TABLE PRODUCT (id INTEGER NOT NULL, COST DECIMAL(38) NOT NULL, ESPC VARCHAR(255) NOT NULL, NAME VARCHAR(255) NOT NULL UNIQUE, STOCK INTEGER NOT NULL, CATEGORY_id INTEGER, PRIMARY KEY (id)): com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table product already exists
PER01000: Got SQLException executing statement CREATE TABLE CREDITCARD (id INTEGER NOT NULL, DATEOFVALIDATION DATE NOT NULL, FLAG VARCHAR(255) NOT NULL, NAMEOFCARDOWNER VARCHAR(255) NOT NULL, NUMBER VARCHAR(255) NOT NULL, TIMES INTEGER NOT NULL, USEROF_id INTEGER, PRIMARY KEY (id)): com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table creditcard already exists
PER01000: Got SQLException executing statement CREATE TABLE users (id INTEGER NOT NULL, EMAIL VARCHAR(255) NOT NULL, NAME VARCHAR(255) NOT NULL, PASSWORD VARCHAR(32) NOT NULL, USERNAME VARCHAR(255) NOT NULL, PRIMARY KEY (id)): com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table users already exists
PER01000: Got SQLException executing statement CREATE TABLE SELLITEM (id INTEGER NOT NULL, QNT INTEGER NOT NULL, PRODUCT_id INTEGER, SELL_id INTEGER, PRIMARY KEY (id)): com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table sellitem already exists
PER01000: Got SQLException executing statement ALTER TABLE SELL ADD CONSTRAINT FK_SELL_ADDRESSTOSEND_id FOREIGN KEY (ADDRESSTOSEND_id) REFERENCES ADDRESS (id): java.sql.SQLException: Cant create table ecommercemysql.#sql-a04_9 (errno: 121)
PER01000: Got SQLException executing statement ALTER TABLE SELL ADD CONSTRAINT FK_SELL_CREDITCARD_id FOREIGN KEY (CREDITCARD_id) REFERENCES CREDITCARD (id): java.sql.SQLException: Cant create table ecommercemysql.#sql-a04_9 (errno: 121)
PER01000: Got SQLException executing statement ALTER TABLE SELL ADD CONSTRAINT FK_SELL_USEROF_id FOREIGN KEY (USEROF_id) REFERENCES users (id): java.sql.SQLException: Cant create table ecommercemysql.#sql-a04_9 (errno: 121)
PER01000: Got SQLException executing statement ALTER TABLE ADDRESS ADD CONSTRAINT FK_ADDRESS_userOf FOREIGN KEY (userOf) REFERENCES users (id): java.sql.SQLException: Cant create table ecommercemysql.#sql-a04_9 (errno: 121)
PER01000: Got SQLException executing statement ALTER TABLE CALLONAVALIABLE ADD CONSTRAINT FK_CALLONAVALIABLE_PRODUCT_id FOREIGN KEY (PRODUCT_id) REFERENCES PRODUCT (id): java.sql.SQLException: Cant create table ecommercemysql.#sql-a04_9 (errno: 121)
PER01000: Got SQLException executing statement ALTER TABLE PRODUCT ADD CONSTRAINT FK_PRODUCT_CATEGORY_id FOREIGN KEY (CATEGORY_id) REFERENCES CATEGORY (id): java.sql.SQLException: Cant create table ecommercemysql.#sql-a04_9 (errno: 121)
PER01000: Got SQLException executing statement ALTER TABLE CREDITCARD ADD CONSTRAINT FK_CREDITCARD_USEROF_id FOREIGN KEY (USEROF_id) REFERENCES users (id): java.sql.SQLException: Cant create table ecommercemysql.#sql-a04_9 (errno: 121)
PER01000: Got SQLException executing statement ALTER TABLE SELLITEM ADD CONSTRAINT FK_SELLITEM_PRODUCT_id FOREIGN KEY (PRODUCT_id) REFERENCES PRODUCT (id): java.sql.SQLException: Cant create table ecommercemysql.#sql-a04_9 (errno: 121)
PER01000: Got SQLException executing statement ALTER TABLE SELLITEM ADD CONSTRAINT FK_SELLITEM_SELL_id FOREIGN KEY (SELL_id) REFERENCES SELL (id): java.sql.SQLException: Cant create table ecommercemysql.#sql-a04_9 (errno: 121)
PER01000: Got SQLException executing statement CREATE TABLE SEQUENCE (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38), PRIMARY KEY (SEQ_NAME)): com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table sequence already exists
Jan 25, 2012 10:54:50 AM com.sun.ejb.containers.BaseContainer postInvoke
Advertência: A system exception occurred during an invocation on EJB UserSession method public br.com.ecommerce.entity.User br.com.ecommerce.session.UserSession.setUser(br.com.ecommerce.entity.User)
javax.ejb.EJBException
at com.sun.ejb.containers.BaseContainer.processSystemException(BaseContainer.java:5193)
at com.sun.ejb.containers.BaseContainer.completeNewTx(BaseContainer.java:5091)
at com.sun.ejb.containers.BaseContainer.postInvokeTx(BaseContainer.java:4893)
at com.sun.ejb.containers.BaseContainer.postInvoke(BaseContainer.java:2039)
at com.sun.ejb.containers.BaseContainer.postInvoke(BaseContainer.java:1990)
at com.sun.ejb.containers.EJBLocalObjectInvocationHandler.invoke(EJBLocalObjectInvocationHandler.java:222)
at com.sun.ejb.containers.EJBLocalObjectInvocationHandlerDelegate.invoke(EJBLocalObjectInvocationHandlerDelegate.java:88)
at $Proxy134.setUser(Unknown Source)
at br.com.ecommerce.session.__EJB31_Generated__UserSession__Intf____Bean__.setUser(Unknown Source)
at br.com.ecommerce.session.UserSessionTest.testSaveUser(UserSessionTest.java:64)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:30)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:30)
at org.junit.runners.ParentRunner.run(ParentRunner.java:300)
at junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:39)
at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:518)
at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1052)
at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:906)
Caused by: javax.validation.ConstraintViolationException: Bean Validation constraint(s) violated while executing Automatic Bean Validation on callback event:prePersist. Please refer to embedded ConstraintViolations for details.
at org.eclipse.persistence.internal.jpa.metadata.listeners.BeanValidationListener.validateOnCallbackEvent(BeanValidationListener.java:90)
at org.eclipse.persistence.internal.jpa.metadata.listeners.BeanValidationListener.prePersist(BeanValidationListener.java:62)
at org.eclipse.persistence.descriptors.DescriptorEventManager.notifyListener(DescriptorEventManager.java:698)
at org.eclipse.persistence.descriptors.DescriptorEventManager.notifyEJB30Listeners(DescriptorEventManager.java:641)
at org.eclipse.persistence.descriptors.DescriptorEventManager.executeEvent(DescriptorEventManager.java:200)
at org.eclipse.persistence.internal.sessions.UnitOfWorkImpl.registerNewObjectClone(UnitOfWorkImpl.java:4246)
at org.eclipse.persistence.internal.sessions.RepeatableWriteUnitOfWork.cloneAndRegisterNewObject(RepeatableWriteUnitOfWork.java:594)
at org.eclipse.persistence.internal.sessions.UnitOfWorkImpl.internalRegisterObject(UnitOfWorkImpl.java:2904)
at org.eclipse.persistence.internal.sessions.MergeManager.registerObjectForMergeCloneIntoWorkingCopy(MergeManager.java:940)
at org.eclipse.persistence.internal.sessions.MergeManager.mergeChangesOfCloneIntoWorkingCopy(MergeManager.java:500)
at org.eclipse.persistence.internal.sessions.MergeManager.mergeChanges(MergeManager.java:271)
at org.eclipse.persistence.internal.sessions.UnitOfWorkImpl.mergeCloneWithReferences(UnitOfWorkImpl.java:3487)
at org.eclipse.persistence.internal.sessions.RepeatableWriteUnitOfWork.mergeCloneWithReferences(RepeatableWriteUnitOfWork.java:376)
at org.eclipse.persistence.internal.sessions.UnitOfWorkImpl.mergeCloneWithReferences(UnitOfWorkImpl.java:3447)
at org.eclipse.persistence.internal.jpa.EntityManagerImpl.mergeInternal(EntityManagerImpl.java:486)
at org.eclipse.persistence.internal.jpa.EntityManagerImpl.merge(EntityManagerImpl.java:463)
at com.sun.enterprise.container.common.impl.EntityManagerWrapper.merge(EntityManagerWrapper.java:286)
at br.com.ecommerce.session.UserSession.setUser(UserSession.java:53)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.glassfish.ejb.security.application.EJBSecurityManager.runMethod(EJBSecurityManager.java:1052)
at org.glassfish.ejb.security.application.EJBSecurityManager.invoke(EJBSecurityManager.java:1124)
at com.sun.ejb.containers.BaseContainer.invokeBeanMethod(BaseContainer.java:5366)
at com.sun.ejb.EjbInvocation.invokeBeanMethod(EjbInvocation.java:619)
at com.sun.ejb.containers.interceptors.AroundInvokeChainImpl.invokeNext(InterceptorManager.java:800)
at com.sun.ejb.EjbInvocation.proceed(EjbInvocation.java:571)
at com.sun.ejb.containers.interceptors.SystemInterceptorProxy.doAround(SystemInterceptorProxy.java:162)
at com.sun.ejb.containers.interceptors.SystemInterceptorProxy.aroundInvoke(SystemInterceptorProxy.java:144)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at com.sun.ejb.containers.interceptors.AroundInvokeInterceptor.intercept(InterceptorManager.java:861)
at com.sun.ejb.containers.interceptors.AroundInvokeChainImpl.invokeNext(InterceptorManager.java:800)
at com.sun.ejb.containers.interceptors.InterceptorManager.intercept(InterceptorManager.java:370)
at com.sun.ejb.containers.BaseContainer.__intercept(BaseContainer.java:5338)
at com.sun.ejb.containers.BaseContainer.intercept(BaseContainer.java:5326)
at com.sun.ejb.containers.EJBLocalObjectInvocationHandler.invoke(EJBLocalObjectInvocationHandler.java:214)
... 29 more

PER01000: Got SQLException executing statement INSERT INTO SEQUENCE(SEQ_NAME, SEQ_COUNT) values (SEQ_GEN, 0): com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry SEQ_GEN for key PRIMARY
Santos S/a

Santos S/a

Curtidas 0

Respostas

Davi Costa

Davi Costa

25/01/2012

Aparentemente é erro de banco, vc vai ter que de repente debugar e ver o valor que o java está passando e conferir com sua base de dados se há algum problema, se a chave estrangeira não existe ou se está dando insert passando um primary key que já exista.

att Davi
GOSTEI 0
Santos S/a

Santos S/a

25/01/2012

Oi, Davi

Obrigado pela dica, já havia reparado lo log do servidor alguns erro mas não dei atenção pois as tabela forma criadas normalmente, já fiz o debug e não consegui resolver

segue o log, caso tenha alguma dica ficarei grato.

Att, Claudio


Informações: Closing Metro monitoring root: amx:pp=/mon/server-mon[server],type=WSEndpoint,name=/__wstx-services-RegistrationService_V11-RegistrationPort
Informações: Closing Metro monitoring root: amx:pp=/mon/server-mon[server],type=WSEndpoint,name=/__wstx-services-RegistrationService_V11-RegistrationRequesterPort
Informações: Closing Metro monitoring root: amx:pp=/mon/server-mon[server],type=WSEndpoint,name=/__wstx-services-WSATCoordinator-Participant
Informações: Closing Metro monitoring root: amx:pp=/mon/server-mon[server],type=WSEndpoint,name=/__wstx-services-Coordinator-Registration
Informações: Closing Metro monitoring root: amx:pp=/mon/server-mon[server],type=WSEndpoint,name=/__wstx-services-WSAT11Service-ParticipantPort
Informações: Closing Metro monitoring root: amx:pp=/mon/server-mon[server],type=WSEndpoint,name=/__wstx-services-WSAT11Service-CoordinatorPort
Informações: Closing Metro monitoring root: amx:pp=/mon/server-mon[server],type=WSEndpoint,name=/__wstx-services-WSATCoordinator-Coordinator
Informações: Closing Metro monitoring root: amx:pp=/mon/server-mon[server],type=WSEndpoint,name=/__wstx-services-Coordinator-RegistrationRequester
Informações: [TimerBeanContainer] Shutdown() called....
Advertência: EJB5121:EJB Timer Service shutdown info [__timer_service_shutdown__.dat] not found or is corrupted. Shutdown time unknown.
Informações: RAR7094: __xa_jdbc_ra shutdown successful.
Informações: RAR7094: __ds_jdbc_ra shutdown successful.
Completed shutdown of Log manager service
Informações: JMXStartupService: Stopped JMXConnectorServer: null
Informações: JMXStartupService and JMXConnectors have been shut down.
Informações: Procedimento de desligamento concluído
Listening for transport dt_socket at address: 9009
Launching GlassFish on Felix platform
Jan 26, 2012 9:31:26 PM com.sun.enterprise.server.logging.LogManagerService postConstruct
Advertência: Record begin marker is not a proper value so using default.
Jan 26, 2012 9:31:26 PM com.sun.enterprise.server.logging.LogManagerService postConstruct
Advertência: Record end marker is not a proper value so using default.
Jan 26, 2012 9:31:26 PM com.sun.enterprise.server.logging.LogManagerService postConstruct
Advertência: Log Format field separator is not a character so using default.
Informações: Registered org.glassfish.ha.store.adapter.cache.ShoalBackingStoreProxy for persistence-type = replicated in BackingStoreFactoryRegistry
Informações: Grizzly Framework 1.9.36 started in: 159ms - bound to [0.0.0.0:3700]
Informações: Grizzly Framework 1.9.36 started in: 235ms - bound to [0.0.0.0:8080]
Informações: Grizzly Framework 1.9.36 started in: 253ms - bound to [0.0.0.0:8181]
Informações: Grizzly Framework 1.9.36 started in: 200ms - bound to [0.0.0.0:7676]
Informações: Grizzly Framework 1.9.36 started in: 260ms - bound to [0.0.0.0:4848]
Informações: The Admin Console is already installed, but not yet loaded.
Informações: GlassFish Server Open Source Edition 3.1.1 (12) hora de inicialização : Felix (1.507ms), serviços de inicialização(983ms), total(2.490ms)
Informações: JMXStartupService: Started JMXConnector, JMXService URL = service:jmx:rmi://User-PC:8686/jndi/rmi://User-PC:8686/jmxrmi
Informações: Hibernate Validator 4.1.0.Final
Informações: Instantiated an instance of org.hibernate.validator.engine.resolver.JPATraversableResolver.
Informações: Grizzly Framework 1.9.36 started in: 94ms - bound to [0.0.0.0:8080]
Informações: Grizzly Framework 1.9.36 started in: 94ms - bound to [0.0.0.0:8181]
Informações: SEC1002: Security Manager is OFF.
Informações: SEC1010: Entering Security Startup Service
Informações: SEC1143: Loading policy provider com.sun.enterprise.security.provider.PolicyWrapper.
Informações: SEC1115: Realm [admin-realm] of classtype [com.sun.enterprise.security.auth.realm.file.FileRealm] successfully created.
Informações: SEC1115: Realm [file] of classtype [com.sun.enterprise.security.auth.realm.file.FileRealm] successfully created.
Informações: SEC1115: Realm [certificate] of classtype [com.sun.enterprise.security.auth.realm.certificate.CertificateRealm] successfully created.
Informações: SEC1011: Security Service(s) Started Successfully
Informações: WS10010: Web service endpoint deployment events listener registered successfully.
Informações: WEB0169: Created HTTP listener [http-listener-1] on host/port [0.0.0.0:8080]
Informações: WEB0169: Created HTTP listener [http-listener-2] on host/port [0.0.0.0:8181]
Informações: WEB0169: Created HTTP listener [admin-listener] on host/port [0.0.0.0:4848]
Informações: WEB0171: Created virtual server [server]
Informações: WEB0171: Created virtual server [__asadmin]
Informações: WEB0172: Virtual server [server] loaded default web module []
Informações: WS00018: Webservice Endpoint deployed
Webservice listening at address at http://User-PC:8080/Ecommerce/WebserviceService
Informações: WS10001: Loading WS-TX Services. Please wait.
Informações: WS00018: Webservice Endpoint deployed
RegistrationRequesterPortTypePortImpl listening at address at http://User-PC:8080/__wstx-services/RegistrationRequesterPortType11
Informações: WS00018: Webservice Endpoint deployed
RegistrationPortTypeRPCPortImpl listening at address at http://User-PC:8080/__wstx-services/RegistrationPortTypeRPC11
Informações: WS00018: Webservice Endpoint deployed
RegistrationRequesterPortTypeImpl listening at address at http://User-PC:8080/__wstx-services/RegistrationRequesterPortType
Informações: WS00018: Webservice Endpoint deployed
RegistrationPortTypeImpl listening at address at http://User-PC:8080/__wstx-services/RegistrationPortTypeRPC
Informações: WS00018: Webservice Endpoint deployed
CoordinatorPortTypePortImpl listening at address at http://User-PC:8080/__wstx-services/CoordinatorPortType11
Informações: WS00018: Webservice Endpoint deployed
ParticipantPortTypeImpl listening at address at http://User-PC:8080/__wstx-services/ParticipantPortType
Informações: WS00018: Webservice Endpoint deployed
CoordinatorPortTypeImpl listening at address at http://User-PC:8080/__wstx-services/CoordinatorPortType
Informações: WS00018: Webservice Endpoint deployed
ParticipantPortTypePortImpl listening at address at http://User-PC:8080/__wstx-services/ParticipantPortType11
Informações: Metro monitoring rootname successfully set to: amx:pp=/mon/server-mon[server],type=WSEndpoint,name=/__wstx-services-RegistrationService_V11-RegistrationRequesterPort
Informações: Metro monitoring rootname successfully set to: amx:pp=/mon/server-mon[server],type=WSEndpoint,name=/__wstx-services-RegistrationService_V11-RegistrationPort
Informações: Metro monitoring rootname successfully set to: amx:pp=/mon/server-mon[server],type=WSEndpoint,name=/__wstx-services-Coordinator-RegistrationRequester
Informações: Metro monitoring rootname successfully set to: amx:pp=/mon/server-mon[server],type=WSEndpoint,name=/__wstx-services-Coordinator-Registration
Informações: Metro monitoring rootname successfully set to: amx:pp=/mon/server-mon[server],type=WSEndpoint,name=/__wstx-services-WSAT11Service-CoordinatorPort
Informações: Metro monitoring rootname successfully set to: amx:pp=/mon/server-mon[server],type=WSEndpoint,name=/__wstx-services-WSATCoordinator-Participant
Informações: Metro monitoring rootname successfully set to: amx:pp=/mon/server-mon[server],type=WSEndpoint,name=/__wstx-services-WSATCoordinator-Coordinator
Informações: Metro monitoring rootname successfully set to: amx:pp=/mon/server-mon[server],type=WSEndpoint,name=/__wstx-services-WSAT11Service-ParticipantPort
Informações: WEB0671: Loading application [wstx-services] at [/__wstx-services]
Informações: WS10002: WS-TX Services successfully started.
Informações: Instantiated an instance of org.hibernate.validator.engine.resolver.JPATraversableResolver.
Informações: Instantiated an instance of org.hibernate.validator.engine.resolver.JPATraversableResolver.
Informações: EclipseLink, version: Eclipse Persistence Services - 2.3.0.v20110604-r9504
Informações: file:/C:/Users/User/Desktop/teste/EcommerceJava/Ecommerce/build/web/WEB-INF/classes/_EcommercePU login successful
Advertência: Multiple [2] JMX MBeanServer instances exist, we will use the server at index [0] : [com.sun.enterprise.v3.admin.DynamicInterceptor@ae9e7e].
Advertência: JMX MBeanServer in use: [com.sun.enterprise.v3.admin.DynamicInterceptor@ae9e7e] from index [0]
Advertência: JMX MBeanServer in use: [com.sun.jmx.mbeanserver.JmxMBeanServer@1115667] from index [1]
Advertência: PER01000: Got SQLException executing statement CREATE TABLE CATEGORY (id INTEGER NOT NULL, ACTIVE TINYINT(1) default 0, NAME VARCHAR(255) NOT NULL UNIQUE, PRIMARY KEY (id)): com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table category already exists
Advertência: PER01000: Got SQLException executing statement CREATE TABLE CALLONAVALIABLE (ID INTEGER NOT NULL, CALLED TINYINT(1) default 0, EMAIL VARCHAR(255), PRODUCT_id INTEGER, PRIMARY KEY (ID)): com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table callonavaliable already exists
Advertência: PER01000: Got SQLException executing statement CREATE TABLE BONUS (id INTEGER NOT NULL, cupom VARCHAR(255), percent INTEGER, value DECIMAL(38), PRODUCT_id INTEGER, PRIMARY KEY (id)): com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table bonus already exists
Advertência: PER01000: Got SQLException executing statement CREATE TABLE user (id INTEGER NOT NULL, EMAIL VARCHAR(255) NOT NULL, NAME VARCHAR(255) NOT NULL, PASSWORD VARCHAR(32) NOT NULL, USERNAME VARCHAR(255) NOT NULL, PRIMARY KEY (id)): com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table user already exists
Advertência: PER01000: Got SQLException executing statement CREATE TABLE ADDRESS (id INTEGER NOT NULL, ADDRESS VARCHAR(255) NOT NULL, COUNTRY VARCHAR(255) NOT NULL, NICKNAME VARCHAR(255) NOT NULL, NUMBER INTEGER NOT NULL, POSTALCODE VARCHAR(255) NOT NULL, STATEOFADDRESS VARCHAR(100) NOT NULL, userOf INTEGER, PRIMARY KEY (id)): com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table address already exists
Advertência: PER01000: Got SQLException executing statement CREATE TABLE SELL (id INTEGER NOT NULL, CLOSED TINYINT(1) default 0, DATEOFSELL DATE NOT NULL, STATUS VARCHAR(255) NOT NULL, TOTAL DECIMAL(38) NOT NULL, ADDRESSTOSEND_id INTEGER, CREDITCARD_id INTEGER, USEROF_id INTEGER, PRIMARY KEY (id)): com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table sell already exists
Advertência: PER01000: Got SQLException executing statement CREATE TABLE SELLITEM (id INTEGER NOT NULL, QNT INTEGER NOT NULL, PRODUCT_id INTEGER, SELL_id INTEGER, BONUS_id INTEGER, PRIMARY KEY (id)): com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table sellitem already exists
Advertência: PER01000: Got SQLException executing statement CREATE TABLE PRODUCT (id INTEGER NOT NULL, COST DECIMAL(38) NOT NULL, ESPC VARCHAR(255) NOT NULL, NAME VARCHAR(255) NOT NULL UNIQUE, STOCK INTEGER NOT NULL, CATEGORY_id INTEGER, PRIMARY KEY (id)): com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table product already exists
Advertência: PER01000: Got SQLException executing statement CREATE TABLE CREDITCARD (id INTEGER NOT NULL, DATEOFVALIDATION DATE NOT NULL, FLAG VARCHAR(255) NOT NULL, NAMEOFCARDOWNER VARCHAR(255) NOT NULL, NUMBER VARCHAR(255) NOT NULL, TIMES INTEGER NOT NULL, USEROF_id INTEGER, PRIMARY KEY (id)): com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table creditcard already exists
Advertência: PER01000: Got SQLException executing statement CREATE TABLE LETTER (id INTEGER NOT NULL, email VARCHAR(255), name VARCHAR(255), PRIMARY KEY (id)): com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table letter already exists
Advertência: PER01000: Got SQLException executing statement ALTER TABLE CALLONAVALIABLE ADD CONSTRAINT FK_CALLONAVALIABLE_PRODUCT_id FOREIGN KEY (PRODUCT_id) REFERENCES PRODUCT (id): java.sql.SQLException: Cant create table ecommercemysql.#sql-884_60 (errno: 121)
Advertência: PER01000: Got SQLException executing statement ALTER TABLE BONUS ADD CONSTRAINT FK_BONUS_PRODUCT_id FOREIGN KEY (PRODUCT_id) REFERENCES PRODUCT (id): java.sql.SQLException: Cant create table ecommercemysql.#sql-884_60 (errno: 121)
Advertência: PER01000: Got SQLException executing statement ALTER TABLE ADDRESS ADD CONSTRAINT FK_ADDRESS_userOf FOREIGN KEY (userOf) REFERENCES user (id): java.sql.SQLException: Cant create table ecommercemysql.#sql-884_60 (errno: 121)
Advertência: PER01000: Got SQLException executing statement ALTER TABLE SELL ADD CONSTRAINT FK_SELL_ADDRESSTOSEND_id FOREIGN KEY (ADDRESSTOSEND_id) REFERENCES ADDRESS (id): java.sql.SQLException: Cant create table ecommercemysql.#sql-884_60 (errno: 121)
Advertência: PER01000: Got SQLException executing statement ALTER TABLE SELL ADD CONSTRAINT FK_SELL_CREDITCARD_id FOREIGN KEY (CREDITCARD_id) REFERENCES CREDITCARD (id): java.sql.SQLException: Cant create table ecommercemysql.#sql-884_60 (errno: 121)
Advertência: PER01000: Got SQLException executing statement ALTER TABLE SELL ADD CONSTRAINT FK_SELL_USEROF_id FOREIGN KEY (USEROF_id) REFERENCES user (id): java.sql.SQLException: Cant create table ecommercemysql.#sql-884_60 (errno: 121)
Advertência: PER01000: Got SQLException executing statement ALTER TABLE SELLITEM ADD CONSTRAINT FK_SELLITEM_PRODUCT_id FOREIGN KEY (PRODUCT_id) REFERENCES PRODUCT (id): java.sql.SQLException: Cant create table ecommercemysql.#sql-884_60 (errno: 121)
Advertência: PER01000: Got SQLException executing statement ALTER TABLE SELLITEM ADD CONSTRAINT FK_SELLITEM_SELL_id FOREIGN KEY (SELL_id) REFERENCES SELL (id): java.sql.SQLException: Cant create table ecommercemysql.#sql-884_60 (errno: 121)
Advertência: PER01000: Got SQLException executing statement ALTER TABLE SELLITEM ADD CONSTRAINT FK_SELLITEM_BONUS_id FOREIGN KEY (BONUS_id) REFERENCES BONUS (id): java.sql.SQLException: Cant create table ecommercemysql.#sql-884_60 (errno: 121)
Advertência: PER01000: Got SQLException executing statement ALTER TABLE PRODUCT ADD CONSTRAINT FK_PRODUCT_CATEGORY_id FOREIGN KEY (CATEGORY_id) REFERENCES CATEGORY (id): java.sql.SQLException: Cant create table ecommercemysql.#sql-884_60 (errno: 121)
Advertência: PER01000: Got SQLException executing statement ALTER TABLE CREDITCARD ADD CONSTRAINT FK_CREDITCARD_USEROF_id FOREIGN KEY (USEROF_id) REFERENCES user (id): java.sql.SQLException: Cant create table ecommercemysql.#sql-884_60 (errno: 121)
Advertência: PER01000: Got SQLException executing statement CREATE TABLE SEQUENCE (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38), PRIMARY KEY (SEQ_NAME)): com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table sequence already exists
Advertência: PER01000: Got SQLException executing statement INSERT INTO SEQUENCE(SEQ_NAME, SEQ_COUNT) values (SEQ_GEN, 0): com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry SEQ_GEN for key PRIMARY
Informações: Portable JNDI names for EJB FreteSessionBean : [java:global/Ecommerce/FreteSessionBean!br.com.ecommerce.session.FreteSessionBean, java:global/Ecommerce/FreteSessionBean]
Informações: Portable JNDI names for EJB BonusSession : [java:global/Ecommerce/BonusSession, java:global/Ecommerce/BonusSession!br.com.ecommerce.session.BonusSession]
Informações: Portable JNDI names for EJB UserSession : [java:global/Ecommerce/UserSession!br.com.ecommerce.session.UserSession, java:global/Ecommerce/UserSession]
Informações: Portable JNDI names for EJB LetterSession : [java:global/Ecommerce/LetterSession!br.com.ecommerce.session.LetterSession, java:global/Ecommerce/LetterSession]
Informações: Portable JNDI names for EJB SellSession : [java:global/Ecommerce/SellSession, java:global/Ecommerce/SellSession!br.com.ecommerce.session.SellSession]
Informações: Loading EJBTimerService. Please wait.
Informações: Instantiated an instance of org.hibernate.validator.engine.resolver.JPATraversableResolver.
Informações: [TimerBeanContainer] Created TimerBeanContainer: TimerBean
Informações: Portable JNDI names for EJB TimerBean : [java:global/ejb-timer-service-app/TimerBean, java:global/ejb-timer-service-app/TimerBean!com.sun.ejb.containers.TimerLocal]
Informações: WEB0671: Loading application [ejb-timer-service-app] at [/ejb-timer-service-app]
Informações: EJB5109:EJB Timer Service started successfully for data source [jdbc/__TimerPool]
Informações: Setting DBReadBeforeTimeout to false
Informações: ==> Restoring Timers ...
Informações: Instantiated an instance of org.hibernate.validator.engine.resolver.JPATraversableResolver.
Informações: EclipseLink, version: Eclipse Persistence Services - 2.3.0.v20110604-r9504
Advertência: RAR5038:Unexpected exception while creating resource for pool __TimerPool. Exception : javax.resource.spi.ResourceAllocationException: Connection could not be allocated because: Falha ao criar o banco de dados C:\Users\User\GlassFish_Server\glassfish\domains\domain1/lib/databases/ejbtimer, consulte a próxima exceção para obter detalhes.
Advertência: RAR5117 : Failed to obtain/create connection from connection pool [ __TimerPool ]. Reason : com.sun.appserv.connectors.internal.api.PoolingException: Connection could not be allocated because: Falha ao criar o banco de dados C:\Users\User\GlassFish_Server\glassfish\domains\domain1/lib/databases/ejbtimer, consulte a próxima exceção para obter detalhes.
Advertência: RAR5114 : Error allocating connection : [Error in allocating a connection. Cause: Connection could not be allocated because: Falha ao criar o banco de dados C:\Users\User\GlassFish_Server\glassfish\domains\domain1/lib/databases/ejbtimer, consulte a próxima exceção para obter detalhes.]
Grave: Local Exception Stack:
Exception [EclipseLink-4002] (Eclipse Persistence Services - 2.3.0.v20110604-r9504): org.eclipse.persistence.exceptions.DatabaseException
Internal Exception: java.sql.SQLException: Error in allocating a connection. Cause: Connection could not be allocated because: Falha ao criar o banco de dados C:\Users\User\GlassFish_Server\glassfish\domains\domain1/lib/databases/ejbtimer, consulte a próxima exceção para obter detalhes.
Error Code: 0
at org.eclipse.persistence.exceptions.DatabaseException.sqlException(DatabaseException.java:309)
at org.eclipse.persistence.sessions.JNDIConnector.connect(JNDIConnector.java:135)
at org.eclipse.persistence.sessions.DatasourceLogin.connectToDatasource(DatasourceLogin.java:162)
at org.eclipse.persistence.internal.sessions.DatabaseSessionImpl.loginAndDetectDatasource(DatabaseSessionImpl.java:582)
at org.eclipse.persistence.internal.jpa.EntityManagerFactoryProvider.login(EntityManagerFactoryProvider.java:206)
at org.eclipse.persistence.internal.jpa.EntityManagerSetupImpl.deploy(EntityManagerSetupImpl.java:472)
at org.eclipse.persistence.internal.jpa.EntityManagerFactoryDelegate.getDatabaseSession(EntityManagerFactoryDelegate.java:188)
at org.eclipse.persistence.internal.jpa.EntityManagerFactoryDelegate.createEntityManagerImpl(EntityManagerFactoryDelegate.java:277)
at org.eclipse.persistence.internal.jpa.EntityManagerFactoryImpl.createEntityManagerImpl(EntityManagerFactoryImpl.java:290)
at org.eclipse.persistence.internal.jpa.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:275)
at com.sun.enterprise.container.common.impl.EntityManagerWrapper._getDelegate(EntityManagerWrapper.java:208)
at com.sun.enterprise.container.common.impl.EntityManagerWrapper.createNamedQuery(EntityManagerWrapper.java:532)
at com.sun.ejb.containers.TimerBean.findTimersByOwnerAndState(TimerBean.java:201)
at com.sun.ejb.containers.TimerBean.findActiveTimersOwnedByThisServer(TimerBean.java:518)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.glassfish.ejb.security.application.EJBSecurityManager.runMethod(EJBSecurityManager.java:1052)
at org.glassfish.ejb.security.application.EJBSecurityManager.invoke(EJBSecurityManager.java:1124)
at com.sun.ejb.containers.BaseContainer.invokeBeanMethod(BaseContainer.java:5366)
at com.sun.ejb.EjbInvocation.invokeBeanMethod(EjbInvocation.java:619)
at com.sun.ejb.containers.interceptors.AroundInvokeChainImpl.invokeNext(InterceptorManager.java:800)
at com.sun.ejb.EjbInvocation.proceed(EjbInvocation.java:571)
at com.sun.ejb.containers.interceptors.SystemInterceptorProxy.doAround(SystemInterceptorProxy.java:162)
at com.sun.ejb.containers.interceptors.SystemInterceptorProxy.aroundInvoke(SystemInterceptorProxy.java:144)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at com.sun.ejb.containers.interceptors.AroundInvokeInterceptor.intercept(InterceptorManager.java:861)
at com.sun.ejb.containers.interceptors.AroundInvokeChainImpl.invokeNext(InterceptorManager.java:800)
at com.sun.ejb.containers.interceptors.InterceptorManager.intercept(InterceptorManager.java:370)
at com.sun.ejb.containers.BaseContainer.__intercept(BaseContainer.java:5338)
at com.sun.ejb.containers.BaseContainer.intercept(BaseContainer.java:5326)
at com.sun.ejb.containers.EJBLocalObjectInvocationHandler.invoke(EJBLocalObjectInvocationHandler.java:214)
at com.sun.ejb.containers.EJBLocalObjectInvocationHandlerDelegate.invoke(EJBLocalObjectInvocationHandlerDelegate.java:88)
at $Proxy197.findActiveTimersOwnedByThisServer(Unknown Source)
at com.sun.ejb.containers.EJBTimerService.restoreEJBTimers(EJBTimerService.java:486)
at com.sun.ejb.containers.EjbContainerUtilImpl.getEJBTimerService(EjbContainerUtilImpl.java:307)
at com.sun.ejb.containers.EjbContainerUtilImpl.getEJBTimerService(EjbContainerUtilImpl.java:289)
at com.sun.ejb.containers.EjbContainerUtilImpl.getEJBTimerService(EjbContainerUtilImpl.java:274)
at com.sun.ejb.containers.BaseContainer.<init>(BaseContainer.java:755)
at com.sun.ejb.containers.StatelessSessionContainer.<init>(StatelessSessionContainer.java:155)
at com.sun.ejb.containers.StatelessSessionContainer.<init>(StatelessSessionContainer.java:149)
at com.sun.ejb.containers.ContainerFactoryImpl.createContainer(ContainerFactoryImpl.java:105)
at org.glassfish.ejb.startup.EjbApplication.loadContainers(EjbApplication.java:230)
at org.glassfish.ejb.startup.EjbDeployer.load(EjbDeployer.java:290)
at org.glassfish.ejb.startup.EjbDeployer.load(EjbDeployer.java:101)
at org.glassfish.internal.data.ModuleInfo.load(ModuleInfo.java:186)
at org.glassfish.internal.data.ApplicationInfo.load(ApplicationInfo.java:257)
at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:461)
at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:240)
at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:382)
at com.sun.enterprise.v3.admin.CommandRunnerImpl$1.execute(CommandRunnerImpl.java:355)
at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:370)
at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1064)
at com.sun.enterprise.v3.admin.CommandRunnerImpl.access$1200(CommandRunnerImpl.java:96)
at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1244)
at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1232)
at com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:459)
at com.sun.enterprise.v3.admin.AdminAdapter.service(AdminAdapter.java:209)
at com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:168)
at com.sun.enterprise.v3.server.HK2Dispatcher.dispath(HK2Dispatcher.java:117)
at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:238)
at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:828)
at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:725)
at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1019)
at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:225)
at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)
at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)
at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)
at com.sun.grizzly.ContextTask.run(ContextTask.java:71)
at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)
at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)
at java.lang.Thread.run(Thread.java:722)
Caused by: java.sql.SQLException: Error in allocating a connection. Cause: Connection could not be allocated because: Falha ao criar o banco de dados C:\Users\User\GlassFish_Server\glassfish\domains\domain1/lib/databases/ejbtimer, consulte a próxima exceção para obter detalhes.
at com.sun.gjc.spi.base.DataSource.getConnection(DataSource.java:120)
at org.eclipse.persistence.sessions.JNDIConnector.connect(JNDIConnector.java:123)
... 77 more
Caused by: javax.resource.spi.ResourceAllocationException: Error in allocating a connection. Cause: Connection could not be allocated because: Falha ao criar o banco de dados C:\Users\User\GlassFish_Server\glassfish\domains\domain1/lib/databases/ejbtimer, consulte a próxima exceção para obter detalhes.
at com.sun.enterprise.connectors.ConnectionManagerImpl.internalGetConnection(ConnectionManagerImpl.java:307)
at com.sun.enterprise.connectors.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:190)
at com.sun.enterprise.connectors.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:165)
at com.sun.enterprise.connectors.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:160)
at com.sun.gjc.spi.base.DataSource.getConnection(DataSource.java:113)
... 78 more
Caused by: com.sun.appserv.connectors.internal.api.PoolingException: Connection could not be allocated because: Falha ao criar o banco de dados C:\Users\User\GlassFish_Server\glassfish\domains\domain1/lib/databases/ejbtimer, consulte a próxima exceção para obter detalhes.
at com.sun.enterprise.resource.pool.datastructure.RWLockDataStructure.addResource(RWLockDataStructure.java:103)
at com.sun.enterprise.resource.pool.ConnectionPool.addResource(ConnectionPool.java:282)
at com.sun.enterprise.resource.pool.ConnectionPool.createResourceAndAddToPool(ConnectionPool.java:1501)
at com.sun.enterprise.resource.pool.ConnectionPool.createResources(ConnectionPool.java:944)
at com.sun.enterprise.resource.pool.ConnectionPool.initPool(ConnectionPool.java:230)
at com.sun.enterprise.resource.pool.ConnectionPool.internalGetResource(ConnectionPool.java:511)
at com.sun.enterprise.resource.pool.ConnectionPool.getResource(ConnectionPool.java:381)
at com.sun.enterprise.resource.pool.PoolManagerImpl.getResourceFromPool(PoolManagerImpl.java:242)
at com.sun.enterprise.resource.pool.PoolManagerImpl.getResource(PoolManagerImpl.java:167)
at com.sun.enterprise.connectors.ConnectionManagerImpl.getResource(ConnectionManagerImpl.java:332)
at com.sun.enterprise.connectors.ConnectionManagerImpl.internalGetConnection(ConnectionManagerImpl.java:301)
... 82 more
Caused by: com.sun.appserv.connectors.internal.api.PoolingException: Connection could not be allocated because: Falha ao criar o banco de dados C:\Users\User\GlassFish_Server\glassfish\domains\domain1/lib/databases/ejbtimer, consulte a próxima exceção para obter detalhes.
at com.sun.enterprise.resource.pool.ConnectionPool.createSingleResource(ConnectionPool.java:924)
at com.sun.enterprise.resource.pool.ConnectionPool.createResource(ConnectionPool.java:1185)
at com.sun.enterprise.resource.pool.datastructure.RWLockDataStructure.addResource(RWLockDataStructure.java:98)
... 92 more
Caused by: com.sun.appserv.connectors.internal.api.PoolingException: Connection could not be allocated because: Falha ao criar o banco de dados C:\Users\User\GlassFish_Server\glassfish\domains\domain1/lib/databases/ejbtimer, consulte a próxima exceção para obter detalhes.
at com.sun.enterprise.resource.allocator.ConnectorAllocator.createResource(ConnectorAllocator.java:181)
at com.sun.enterprise.resource.pool.ConnectionPool.createSingleResource(ConnectionPool.java:907)
... 94 more
Caused by: javax.resource.spi.ResourceAllocationException: Connection could not be allocated because: Falha ao criar o banco de dados C:\Users\User\GlassFish_Server\glassfish\domains\domain1/lib/databases/ejbtimer, consulte a próxima exceção para obter detalhes.
at com.sun.gjc.spi.XAManagedConnectionFactory.createManagedConnection(XAManagedConnectionFactory.java:128)
at com.sun.enterprise.resource.allocator.ConnectorAllocator.createResource(ConnectorAllocator.java:160)
... 95 more
Caused by: java.sql.SQLException: Falha ao criar o banco de dados C:\Users\User\GlassFish_Server\glassfish\domains\domain1/lib/databases/ejbtimer, consulte a próxima exceção para obter detalhes.
at org.apache.derby.impl.jdbc.SQLExceptionFactory40.getSQLException(Unknown Source)
at org.apache.derby.impl.jdbc.Util.newEmbedSQLException(Unknown Source)
at org.apache.derby.impl.jdbc.Util.seeNextException(Unknown Source)
at org.apache.derby.impl.jdbc.EmbedConnection.createDatabase(Unknown Source)
at org.apache.derby.impl.jdbc.EmbedConnection.<init>(Unknown Source)
at org.apache.derby.impl.jdbc.EmbedConnection30.<init>(Unknown Source)
at org.apache.derby.impl.jdbc.EmbedConnection40.<init>(Unknown Source)
at org.apache.derby.jdbc.Driver40.getNewEmbedConnection(Unknown Source)
at org.apache.derby.jdbc.InternalDriver.connect(Unknown Source)
at org.apache.derby.jdbc.EmbeddedDataSource.getConnection(Unknown Source)
at org.apache.derby.jdbc.EmbeddedDataSource.getConnection(Unknown Source)
at org.apache.derby.jdbc.EmbeddedXADataSource.setupResourceAdapter(Unknown Source)
at org.apache.derby.jdbc.EmbeddedXADataSource.getXAConnection(Unknown Source)
at com.sun.gjc.spi.XAManagedConnectionFactory.createManagedConnection(XAManagedConnectionFactory.java:115)
... 96 more
Caused by: java.sql.SQLException: Falha ao criar o banco de dados C:\Users\User\GlassFish_Server\glassfish\domains\domain1/lib/databases/ejbtimer, consulte a próxima exceção para obter detalhes.
at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown Source)
at org.apache.derby.impl.jdbc.SQLExceptionFactory40.wrapArgsForTransportAcrossDRDA(Unknown Source)
... 110 more
Caused by: java.sql.SQLException: Falha na inicialização devido a uma exceção. Consulte a próxima exceção para obter detalhes.
at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown Source)
at org.apache.derby.impl.jdbc.SQLExceptionFactory40.wrapArgsForTransportAcrossDRDA(Unknown Source)
at org.apache.derby.impl.jdbc.SQLExceptionFactory40.getSQLException(Unknown Source)
at org.apache.derby.impl.jdbc.Util.newEmbedSQLException(Unknown Source)
at org.apache.derby.impl.jdbc.Util.seeNextException(Unknown Source)
at org.apache.derby.impl.jdbc.TransactionResourceImpl.wrapInSQLException(Unknown Source)
at org.apache.derby.impl.jdbc.TransactionResourceImpl.handleException(Unknown Source)
at org.apache.derby.impl.jdbc.EmbedConnection.handleException(Unknown Source)
... 107 more
Caused by: java.sql.SQLException: Exceção Java: JAVA_SQL_TYPES_BOOLEAN: java.lang.NoSuchFieldError.
at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown Source)
at org.apache.derby.impl.jdbc.SQLExceptionFactory40.wrapArgsForTransportAcrossDRDA(Unknown Source)
at org.apache.derby.impl.jdbc.SQLExceptionFactory40.getSQLException(Unknown Source)
at org.apache.derby.impl.jdbc.Util.newEmbedSQLException(Unknown Source)
at org.apache.derby.impl.jdbc.Util.javaException(Unknown Source)
at org.apache.derby.impl.jdbc.TransactionResourceImpl.wrapInSQLException(Unknown Source)
... 110 more
Caused by: java.lang.NoSuchFieldError: JAVA_SQL_TYPES_BOOLEAN
at org.apache.derby.catalog.types.BaseTypeIdImpl.setTypeIdSpecificInstanceVariables(Unknown Source)
at org.apache.derby.catalog.types.BaseTypeIdImpl.<init>(Unknown Source)
at org.apache.derby.iapi.types.TypeId.create(Unknown Source)
at org.apache.derby.iapi.types.TypeId.<clinit>(Unknown Source)
at org.apache.derby.iapi.types.DataValueFactoryImpl.boot(Unknown Source)
at org.apache.derby.iapi.types.J2SEDataValueFactory.boot(Unknown Source)
at org.apache.derby.impl.services.monitor.BaseMonitor.boot(Unknown Source)
at org.apache.derby.impl.services.monitor.TopService.bootModule(Unknown Source)
at org.apache.derby.impl.services.monitor.BaseMonitor.startModule(Unknown Source)
at org.apache.derby.iapi.services.monitor.Monitor.bootServiceModule(Unknown Source)
at org.apache.derby.impl.db.BasicDatabase.boot(Unknown Source)
at org.apache.derby.impl.services.monitor.BaseMonitor.boot(Unknown Source)
at org.apache.derby.impl.services.monitor.TopService.bootModule(Unknown Source)
at org.apache.derby.impl.services.monitor.BaseMonitor.bootService(Unknown Source)
at org.apache.derby.impl.services.monitor.BaseMonitor.createPersistentService(Unknown Source)
at org.apache.derby.iapi.services.monitor.Monitor.createPersistentService(Unknown Source)
... 107 more

Advertência: A system exception occurred during an invocation on EJB TimerBean method public java.util.Set com.sun.ejb.containers.TimerBean.findActiveTimersOwnedByThisServer()
javax.ejb.EJBException
at com.sun.ejb.containers.BaseContainer.processSystemException(BaseContainer.java:5193)
at com.sun.ejb.containers.BaseContainer.completeNewTx(BaseContainer.java:5091)
at com.sun.ejb.containers.BaseContainer.postInvokeTx(BaseContainer.java:4879)
at com.sun.ejb.containers.BaseContainer.postInvoke(BaseContainer.java:2039)
at com.sun.ejb.containers.BaseContainer.postInvoke(BaseContainer.java:1990)
at com.sun.ejb.containers.EJBLocalObjectInvocationHandler.invoke(EJBLocalObjectInvocationHandler.java:222)
at com.sun.ejb.containers.EJBLocalObjectInvocationHandlerDelegate.invoke(EJBLocalObjectInvocationHandlerDelegate.java:88)
at $Proxy197.findActiveTimersOwnedByThisServer(Unknown Source)
at com.sun.ejb.containers.EJBTimerService.restoreEJBTimers(EJBTimerService.java:486)
at com.sun.ejb.containers.EjbContainerUtilImpl.getEJBTimerService(EjbContainerUtilImpl.java:307)
at com.sun.ejb.containers.EjbContainerUtilImpl.getEJBTimerService(EjbContainerUtilImpl.java:289)
at com.sun.ejb.containers.EjbContainerUtilImpl.getEJBTimerService(EjbContainerUtilImpl.java:274)
at com.sun.ejb.containers.BaseContainer.<init>(BaseContainer.java:755)
at com.sun.ejb.containers.StatelessSessionContainer.<init>(StatelessSessionContainer.java:155)
at com.sun.ejb.containers.StatelessSessionContainer.<init>(StatelessSessionContainer.java:149)
at com.sun.ejb.containers.ContainerFactoryImpl.createContainer(ContainerFactoryImpl.java:105)
at org.glassfish.ejb.startup.EjbApplication.loadContainers(EjbApplication.java:230)
at org.glassfish.ejb.startup.EjbDeployer.load(EjbDeployer.java:290)
at org.glassfish.ejb.startup.EjbDeployer.load(EjbDeployer.java:101)
at org.glassfish.internal.data.ModuleInfo.load(ModuleInfo.java:186)
at org.glassfish.internal.data.ApplicationInfo.load(ApplicationInfo.java:257)
at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:461)
at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:240)
at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:382)
at com.sun.enterprise.v3.admin.CommandRunnerImpl$1.execute(CommandRunnerImpl.java:355)
at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:370)
at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1064)
at com.sun.enterprise.v3.admin.CommandRunnerImpl.access$1200(CommandRunnerImpl.java:96)
at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1244)
at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1232)
at com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:459)
at com.sun.enterprise.v3.admin.AdminAdapter.service(AdminAdapter.java:209)
at com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:168)
at com.sun.enterprise.v3.server.HK2Dispatcher.dispath(HK2Dispatcher.java:117)
at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:238)
at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:828)
at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:725)
at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1019)
at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:225)
at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)
at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)
at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)
at com.sun.grizzly.ContextTask.run(ContextTask.java:71)
at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)
at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)
at java.lang.Thread.run(Thread.java:722)
Caused by: javax.persistence.PersistenceException: Exception [EclipseLink-4002] (Eclipse Persistence Services - 2.3.0.v20110604-r9504): org.eclipse.persistence.exceptions.DatabaseException
Internal Exception: java.sql.SQLException: Error in allocating a connection. Cause: Connection could not be allocated because: Falha ao criar o banco de dados C:\Users\User\GlassFish_Server\glassfish\domains\domain1/lib/databases/ejbtimer, consulte a próxima exceção para obter detalhes.
Error Code: 0
at org.eclipse.persistence.internal.jpa.EntityManagerSetupImpl.deploy(EntityManagerSetupImpl.java:501)
at org.eclipse.persistence.internal.jpa.EntityManagerFactoryDelegate.getDatabaseSession(EntityManagerFactoryDelegate.java:188)
at org.eclipse.persistence.internal.jpa.EntityManagerFactoryDelegate.createEntityManagerImpl(EntityManagerFactoryDelegate.java:277)
at org.eclipse.persistence.internal.jpa.EntityManagerFactoryImpl.createEntityManagerImpl(EntityManagerFactoryImpl.java:290)
at org.eclipse.persistence.internal.jpa.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:275)
at com.sun.enterprise.container.common.impl.EntityManagerWrapper._getDelegate(EntityManagerWrapper.java:208)
at com.sun.enterprise.container.common.impl.EntityManagerWrapper.createNamedQuery(EntityManagerWrapper.java:532)
at com.sun.ejb.containers.TimerBean.findTimersByOwnerAndState(TimerBean.java:201)
at com.sun.ejb.containers.TimerBean.findActiveTimersOwnedByThisServer(TimerBean.java:518)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.glassfish.ejb.security.application.EJBSecurityManager.runMethod(EJBSecurityManager.java:1052)
at org.glassfish.ejb.security.application.EJBSecurityManager.invoke(EJBSecurityManager.java:1124)
at com.sun.ejb.containers.BaseContainer.invokeBeanMethod(BaseContainer.java:5366)
at com.sun.ejb.EjbInvocation.invokeBeanMethod(EjbInvocation.java:619)
at com.sun.ejb.containers.interceptors.AroundInvokeChainImpl.invokeNext(InterceptorManager.java:800)
at com.sun.ejb.EjbInvocation.proceed(EjbInvocation.java:571)
at com.sun.ejb.containers.interceptors.SystemInterceptorProxy.doAround(SystemInterceptorProxy.java:162)
at com.sun.ejb.containers.interceptors.SystemInterceptorProxy.aroundInvoke(SystemInterceptorProxy.java:144)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at com.sun.ejb.containers.interceptors.AroundInvokeInterceptor.intercept(InterceptorManager.java:861)
at com.sun.ejb.containers.interceptors.AroundInvokeChainImpl.invokeNext(InterceptorManager.java:800)
at com.sun.ejb.containers.interceptors.InterceptorManager.intercept(InterceptorManager.java:370)
at com.sun.ejb.containers.BaseContainer.__intercept(BaseContainer.java:5338)
at com.sun.ejb.containers.BaseContainer.intercept(BaseContainer.java:5326)
at com.sun.ejb.containers.EJBLocalObjectInvocationHandler.invoke(EJBLocalObjectInvocationHandler.java:214)
... 43 more
Caused by: Exception [EclipseLink-4002] (Eclipse Persistence Services - 2.3.0.v20110604-r9504): org.eclipse.persistence.exceptions.DatabaseException
Internal Exception: java.sql.SQLException: Error in allocating a connection. Cause: Connection could not be allocated because: Falha ao criar o banco de dados C:\Users\User\GlassFish_Server\glassfish\domains\domain1/lib/databases/ejbtimer, consulte a próxima exceção para obter detalhes.
Error Code: 0
at org.eclipse.persistence.exceptions.DatabaseException.sqlException(DatabaseException.java:309)
at org.eclipse.persistence.sessions.JNDIConnector.connect(JNDIConnector.java:135)
at org.eclipse.persistence.sessions.DatasourceLogin.connectToDatasource(DatasourceLogin.java:162)
at org.eclipse.persistence.internal.sessions.DatabaseSessionImpl.loginAndDetectDatasource(DatabaseSessionImpl.java:582)
at org.eclipse.persistence.internal.jpa.EntityManagerFactoryProvider.login(EntityManagerFactoryProvider.java:206)
at org.eclipse.persistence.internal.jpa.EntityManagerSetupImpl.deploy(EntityManagerSetupImpl.java:472)
... 73 more
Caused by: java.sql.SQLException: Error in allocating a connection. Cause: Connection could not be allocated because: Falha ao criar o banco de dados C:\Users\User\GlassFish_Server\glassfish\domains\domain1/lib/databases/ejbtimer, consulte a próxima exceção para obter detalhes.
at com.sun.gjc.spi.base.DataSource.getConnection(DataSource.java:120)
at org.eclipse.persistence.sessions.JNDIConnector.connect(JNDIConnector.java:123)
... 77 more
Caused by: javax.resource.spi.ResourceAllocationException: Error in allocating a connection. Cause: Connection could not be allocated because: Falha ao criar o banco de dados C:\Users\User\GlassFish_Server\glassfish\domains\domain1/lib/databases/ejbtimer, consulte a próxima exceção para obter detalhes.
at com.sun.enterprise.connectors.ConnectionManagerImpl.internalGetConnection(ConnectionManagerImpl.java:307)
at com.sun.enterprise.connectors.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:190)
at com.sun.enterprise.connectors.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:165)
at com.sun.enterprise.connectors.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:160)
at com.sun.gjc.spi.base.DataSource.getConnection(DataSource.java:113)
... 78 more
Caused by: com.sun.appserv.connectors.internal.api.PoolingException: Connection could not be allocated because: Falha ao criar o banco de dados C:\Users\User\GlassFish_Server\glassfish\domains\domain1/lib/databases/ejbtimer, consulte a próxima exceção para obter detalhes.
at com.sun.enterprise.resource.pool.datastructure.RWLockDataStructure.addResource(RWLockDataStructure.java:103)
at com.sun.enterprise.resource.pool.ConnectionPool.addResource(ConnectionPool.java:282)
at com.sun.enterprise.resource.pool.ConnectionPool.createResourceAndAddToPool(ConnectionPool.java:1501)
at com.sun.enterprise.resource.pool.ConnectionPool.createResources(ConnectionPool.java:944)
at com.sun.enterprise.resource.pool.ConnectionPool.initPool(ConnectionPool.java:230)
at com.sun.enterprise.resource.pool.ConnectionPool.internalGetResource(ConnectionPool.java:511)
at com.sun.enterprise.resource.pool.ConnectionPool.getResource(ConnectionPool.java:381)
at com.sun.enterprise.resource.pool.PoolManagerImpl.getResourceFromPool(PoolManagerImpl.java:242)
at com.sun.enterprise.resource.pool.PoolManagerImpl.getResource(PoolManagerImpl.java:167)
at com.sun.enterprise.connectors.ConnectionManagerImpl.getResource(ConnectionManagerImpl.java:332)
at com.sun.enterprise.connectors.ConnectionManagerImpl.internalGetConnection(ConnectionManagerImpl.java:301)
... 82 more
Caused by: com.sun.appserv.connectors.internal.api.PoolingException: Connection could not be allocated because: Falha ao criar o banco de dados C:\Users\User\GlassFish_Server\glassfish\domains\domain1/lib/databases/ejbtimer, consulte a próxima exceção para obter detalhes.
at com.sun.enterprise.resource.pool.ConnectionPool.createSingleResource(ConnectionPool.java:924)
at com.sun.enterprise.resource.pool.ConnectionPool.createResource(ConnectionPool.java:1185)
at com.sun.enterprise.resource.pool.datastructure.RWLockDataStructure.addResource(RWLockDataStructure.java:98)
... 92 more
Caused by: com.sun.appserv.connectors.internal.api.PoolingException: Connection could not be allocated because: Falha ao criar o banco de dados C:\Users\User\GlassFish_Server\glassfish\domains\domain1/lib/databases/ejbtimer, consulte a próxima exceção para obter detalhes.
at com.sun.enterprise.resource.allocator.ConnectorAllocator.createResource(ConnectorAllocator.java:181)
at com.sun.enterprise.resource.pool.ConnectionPool.createSingleResource(ConnectionPool.java:907)
... 94 more
Caused by: javax.resource.spi.ResourceAllocationException: Connection could not be allocated because: Falha ao criar o banco de dados C:\Users\User\GlassFish_Server\glassfish\domains\domain1/lib/databases/ejbtimer, consulte a próxima exceção para obter detalhes.
at com.sun.gjc.spi.XAManagedConnectionFactory.createManagedConnection(XAManagedConnectionFactory.java:128)
at com.sun.enterprise.resource.allocator.ConnectorAllocator.createResource(ConnectorAllocator.java:160)
... 95 more
Caused by: java.sql.SQLException: Falha ao criar o banco de dados C:\Users\User\GlassFish_Server\glassfish\domains\domain1/lib/databases/ejbtimer, consulte a próxima exceção para obter detalhes.
at org.apache.derby.impl.jdbc.SQLExceptionFactory40.getSQLException(Unknown Source)
at org.apache.derby.impl.jdbc.Util.newEmbedSQLException(Unknown Source)
at org.apache.derby.impl.jdbc.Util.seeNextException(Unknown Source)
at org.apache.derby.impl.jdbc.EmbedConnection.createDatabase(Unknown Source)
at org.apache.derby.impl.jdbc.EmbedConnection.<init>(Unknown Source)
at org.apache.derby.impl.jdbc.EmbedConnection30.<init>(Unknown Source)
at org.apache.derby.impl.jdbc.EmbedConnection40.<init>(Unknown Source)
at org.apache.derby.jdbc.Driver40.getNewEmbedConnection(Unknown Source)
at org.apache.derby.jdbc.InternalDriver.connect(Unknown Source)
at org.apache.derby.jdbc.EmbeddedDataSource.getConnection(Unknown Source)
at org.apache.derby.jdbc.EmbeddedDataSource.getConnection(Unknown Source)
at org.apache.derby.jdbc.EmbeddedXADataSource.setupResourceAdapter(Unknown Source)
at org.apache.derby.jdbc.EmbeddedXADataSource.getXAConnection(Unknown Source)
at com.sun.gjc.spi.XAManagedConnectionFactory.createManagedConnection(XAManagedConnectionFactory.java:115)
... 96 more
Caused by: java.sql.SQLException: Falha ao criar o banco de dados C:\Users\User\GlassFish_Server\glassfish\domains\domain1/lib/databases/ejbtimer, consulte a próxima exceção para obter detalhes.
at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown Source)
at org.apache.derby.impl.jdbc.SQLExceptionFactory40.wrapArgsForTransportAcrossDRDA(Unknown Source)
... 110 more
Caused by: java.sql.SQLException: Falha na inicialização devido a uma exceção. Consulte a próxima exceção para obter detalhes.
at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown Source)
at org.apache.derby.impl.jdbc.SQLExceptionFactory40.wrapArgsForTransportAcrossDRDA(Unknown Source)
at org.apache.derby.impl.jdbc.SQLExceptionFactory40.getSQLException(Unknown Source)
at org.apache.derby.impl.jdbc.Util.newEmbedSQLException(Unknown Source)
at org.apache.derby.impl.jdbc.Util.seeNextException(Unknown Source)
at org.apache.derby.impl.jdbc.TransactionResourceImpl.wrapInSQLException(Unknown Source)
at org.apache.derby.impl.jdbc.TransactionResourceImpl.handleException(Unknown Source)
at org.apache.derby.impl.jdbc.EmbedConnection.handleException(Unknown Source)
... 107 more
Caused by: java.sql.SQLException: Exceção Java: JAVA_SQL_TYPES_BOOLEAN: java.lang.NoSuchFieldError.
at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown Source)
at org.apache.derby.impl.jdbc.SQLExceptionFactory40.wrapArgsForTransportAcrossDRDA(Unknown Source)
at org.apache.derby.impl.jdbc.SQLExceptionFactory40.getSQLException(Unknown Source)
at org.apache.derby.impl.jdbc.Util.newEmbedSQLException(Unknown Source)
at org.apache.derby.impl.jdbc.Util.javaException(Unknown Source)
at org.apache.derby.impl.jdbc.TransactionResourceImpl.wrapInSQLException(Unknown Source)
... 110 more
Caused by: java.lang.NoSuchFieldError: JAVA_SQL_TYPES_BOOLEAN
at org.apache.derby.catalog.types.BaseTypeIdImpl.setTypeIdSpecificInstanceVariables(Unknown Source)
at org.apache.derby.catalog.types.BaseTypeIdImpl.<init>(Unknown Source)
at org.apache.derby.iapi.types.TypeId.create(Unknown Source)
at org.apache.derby.iapi.types.TypeId.<clinit>(Unknown Source)
at org.apache.derby.iapi.types.DataValueFactoryImpl.boot(Unknown Source)
at org.apache.derby.iapi.types.J2SEDataValueFactory.boot(Unknown Source)
at org.apache.derby.impl.services.monitor.BaseMonitor.boot(Unknown Source)
at org.apache.derby.impl.services.monitor.TopService.bootModule(Unknown Source)
at org.apache.derby.impl.services.monitor.BaseMonitor.startModule(Unknown Source)
at org.apache.derby.iapi.services.monitor.Monitor.bootServiceModule(Unknown Source)
at org.apache.derby.impl.db.BasicDatabase.boot(Unknown Source)
at org.apache.derby.impl.services.monitor.BaseMonitor.boot(Unknown Source)
at org.apache.derby.impl.services.monitor.TopService.bootModule(Unknown Source)
at org.apache.derby.impl.services.monitor.BaseMonitor.bootService(Unknown Source)
at org.apache.derby.impl.services.monitor.BaseMonitor.createPersistentService(Unknown Source)
at org.apache.derby.iapi.services.monitor.Monitor.createPersistentService(Unknown Source)
... 107 more

Advertência: EJB5108:Unable to initialize EJB Timer Service. The possible cause is the timer resource is not configured correctly, the database has not been started, or the timer database table has not been created.
javax.ejb.EJBException
at com.sun.ejb.containers.BaseContainer.processSystemException(BaseContainer.java:5193)
at com.sun.ejb.containers.BaseContainer.completeNewTx(BaseContainer.java:5091)
at com.sun.ejb.containers.BaseContainer.postInvokeTx(BaseContainer.java:4879)
at com.sun.ejb.containers.BaseContainer.postInvoke(BaseContainer.java:2039)
at com.sun.ejb.containers.BaseContainer.postInvoke(BaseContainer.java:1990)
at com.sun.ejb.containers.EJBLocalObjectInvocationHandler.invoke(EJBLocalObjectInvocationHandler.java:222)
at com.sun.ejb.containers.EJBLocalObjectInvocationHandlerDelegate.invoke(EJBLocalObjectInvocationHandlerDelegate.java:88)
at $Proxy197.findActiveTimersOwnedByThisServer(Unknown Source)
at com.sun.ejb.containers.EJBTimerService.restoreEJBTimers(EJBTimerService.java:486)
at com.sun.ejb.containers.EjbContainerUtilImpl.getEJBTimerService(EjbContainerUtilImpl.java:307)
at com.sun.ejb.containers.EjbContainerUtilImpl.getEJBTimerService(EjbContainerUtilImpl.java:289)
at com.sun.ejb.containers.EjbContainerUtilImpl.getEJBTimerService(EjbContainerUtilImpl.java:274)
at com.sun.ejb.containers.BaseContainer.<init>(BaseContainer.java:755)
at com.sun.ejb.containers.StatelessSessionContainer.<init>(StatelessSessionContainer.java:155)
at com.sun.ejb.containers.StatelessSessionContainer.<init>(StatelessSessionContainer.java:149)
at com.sun.ejb.containers.ContainerFactoryImpl.createContainer(ContainerFactoryImpl.java:105)
at org.glassfish.ejb.startup.EjbApplication.loadContainers(EjbApplication.java:230)
at org.glassfish.ejb.startup.EjbDeployer.load(EjbDeployer.java:290)
at org.glassfish.ejb.startup.EjbDeployer.load(EjbDeployer.java:101)
at org.glassfish.internal.data.ModuleInfo.load(ModuleInfo.java:186)
at org.glassfish.internal.data.ApplicationInfo.load(ApplicationInfo.java:257)
at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:461)
at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:240)
at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:382)
at com.sun.enterprise.v3.admin.CommandRunnerImpl$1.execute(CommandRunnerImpl.java:355)
at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:370)
at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1064)
at com.sun.enterprise.v3.admin.CommandRunnerImpl.access$1200(CommandRunnerImpl.java:96)
at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1244)
at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1232)
at com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:459)
at com.sun.enterprise.v3.admin.AdminAdapter.service(AdminAdapter.java:209)
at com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:168)
at com.sun.enterprise.v3.server.HK2Dispatcher.dispath(HK2Dispatcher.java:117)
at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:238)
at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:828)
at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:725)
at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1019)
at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:225)
at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)
at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)
at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)
at com.sun.grizzly.ContextTask.run(ContextTask.java:71)
at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)
at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)
at java.lang.Thread.run(Thread.java:722)
Caused by: javax.persistence.PersistenceException: Exception [EclipseLink-4002] (Eclipse Persistence Services - 2.3.0.v20110604-r9504): org.eclipse.persistence.exceptions.DatabaseException
Internal Exception: java.sql.SQLException: Error in allocating a connection. Cause: Connection could not be allocated because: Falha ao criar o banco de dados C:\Users\User\GlassFish_Server\glassfish\domains\domain1/lib/databases/ejbtimer, consulte a próxima exceção para obter detalhes.
Error Code: 0
at org.eclipse.persistence.internal.jpa.EntityManagerSetupImpl.deploy(EntityManagerSetupImpl.java:501)
at org.eclipse.persistence.internal.jpa.EntityManagerFactoryDelegate.getDatabaseSession(EntityManagerFactoryDelegate.java:188)
at org.eclipse.persistence.internal.jpa.EntityManagerFactoryDelegate.createEntityManagerImpl(EntityManagerFactoryDelegate.java:277)
at org.eclipse.persistence.internal.jpa.EntityManagerFactoryImpl.createEntityManagerImpl(EntityManagerFactoryImpl.java:290)
at org.eclipse.persistence.internal.jpa.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:275)
at com.sun.enterprise.container.common.impl.EntityManagerWrapper._getDelegate(EntityManagerWrapper.java:208)
at com.sun.enterprise.container.common.impl.EntityManagerWrapper.createNamedQuery(EntityManagerWrapper.java:532)
at com.sun.ejb.containers.TimerBean.findTimersByOwnerAndState(TimerBean.java:201)
at com.sun.ejb.containers.TimerBean.findActiveTimersOwnedByThisServer(TimerBean.java:518)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.glassfish.ejb.security.application.EJBSecurityManager.runMethod(EJBSecurityManager.java:1052)
at org.glassfish.ejb.security.application.EJBSecurityManager.invoke(EJBSecurityManager.java:1124)
at com.sun.ejb.containers.BaseContainer.invokeBeanMethod(BaseContainer.java:5366)
at com.sun.ejb.EjbInvocation.invokeBeanMethod(EjbInvocation.java:619)
at com.sun.ejb.containers.interceptors.AroundInvokeChainImpl.invokeNext(InterceptorManager.java:800)
at com.sun.ejb.EjbInvocation.proceed(EjbInvocation.java:571)
at com.sun.ejb.containers.interceptors.SystemInterceptorProxy.doAround(SystemInterceptorProxy.java:162)
at com.sun.ejb.containers.interceptors.SystemInterceptorProxy.aroundInvoke(SystemInterceptorProxy.java:144)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at com.sun.ejb.containers.interceptors.AroundInvokeInterceptor.intercept(InterceptorManager.java:861)
at com.sun.ejb.containers.interceptors.AroundInvokeChainImpl.invokeNext(InterceptorManager.java:800)
at com.sun.ejb.containers.interceptors.InterceptorManager.intercept(InterceptorManager.java:370)
at com.sun.ejb.containers.BaseContainer.__intercept(BaseContainer.java:5338)
at com.sun.ejb.containers.BaseContainer.intercept(BaseContainer.java:5326)
at com.sun.ejb.containers.EJBLocalObjectInvocationHandler.invoke(EJBLocalObjectInvocationHandler.java:214)
... 43 more
Caused by: Exception [EclipseLink-4002] (Eclipse Persistence Services - 2.3.0.v20110604-r9504): org.eclipse.persistence.exceptions.DatabaseException
Internal Exception: java.sql.SQLException: Error in allocating a connection. Cause: Connection could not be allocated because: Falha ao criar o banco de dados C:\Users\User\GlassFish_Server\glassfish\domains\domain1/lib/databases/ejbtimer, consulte a próxima exceção para obter detalhes.
Error Code: 0
at org.eclipse.persistence.exceptions.DatabaseException.sqlException(DatabaseException.java:309)
at org.eclipse.persistence.sessions.JNDIConnector.connect(JNDIConnector.java:135)
at org.eclipse.persistence.sessions.DatasourceLogin.connectToDatasource(DatasourceLogin.java:162)
at org.eclipse.persistence.internal.sessions.DatabaseSessionImpl.loginAndDetectDatasource(DatabaseSessionImpl.java:582)
at org.eclipse.persistence.internal.jpa.EntityManagerFactoryProvider.login(EntityManagerFactoryProvider.java:206)
at org.eclipse.persistence.internal.jpa.EntityManagerSetupImpl.deploy(EntityManagerSetupImpl.java:472)
... 73 more
Caused by: java.sql.SQLException: Error in allocating a connection. Cause: Connection could not be allocated because: Falha ao criar o banco de dados C:\Users\User\GlassFish_Server\glassfish\domains\domain1/lib/databases/ejbtimer, consulte a próxima exceção para obter detalhes.
at com.sun.gjc.spi.base.DataSource.getConnection(DataSource.java:120)
at org.eclipse.persistence.sessions.JNDIConnector.connect(JNDIConnector.java:123)
... 77 more
Caused by: javax.resource.spi.ResourceAllocationException: Error in allocating a connection. Cause: Connection could not be allocated because: Falha ao criar o banco de dados C:\Users\User\GlassFish_Server\glassfish\domains\domain1/lib/databases/ejbtimer, consulte a próxima exceção para obter detalhes.
at com.sun.enterprise.connectors.ConnectionManagerImpl.internalGetConnection(ConnectionManagerImpl.java:307)
at com.sun.enterprise.connectors.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:190)
at com.sun.enterprise.connectors.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:165)
at com.sun.enterprise.connectors.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:160)
at com.sun.gjc.spi.base.DataSource.getConnection(DataSource.java:113)
... 78 more
Caused by: com.sun.appserv.connectors.internal.api.PoolingException: Connection could not be allocated because: Falha ao criar o banco de dados C:\Users\User\GlassFish_Server\glassfish\domains\domain1/lib/databases/ejbtimer, consulte a próxima exceção para obter detalhes.
at com.sun.enterprise.resource.pool.datastructure.RWLockDataStructure.addResource(RWLockDataStructure.java:103)
at com.sun.enterprise.resource.pool.ConnectionPool.addResource(ConnectionPool.java:282)
at com.sun.enterprise.resource.pool.ConnectionPool.createResourceAndAddToPool(ConnectionPool.java:1501)
at com.sun.enterprise.resource.pool.ConnectionPool.createResources(ConnectionPool.java:944)
at com.sun.enterprise.resource.pool.ConnectionPool.initPool(ConnectionPool.java:230)
at com.sun.enterprise.resource.pool.ConnectionPool.internalGetResource(ConnectionPool.java:511)
at com.sun.enterprise.resource.pool.ConnectionPool.getResource(ConnectionPool.java:381)
at com.sun.enterprise.resource.pool.PoolManagerImpl.getResourceFromPool(PoolManagerImpl.java:242)
at com.sun.enterprise.resource.pool.PoolManagerImpl.getResource(PoolManagerImpl.java:167)
at com.sun.enterprise.connectors.ConnectionManagerImpl.getResource(ConnectionManagerImpl.java:332)
at com.sun.enterprise.connectors.ConnectionManagerImpl.internalGetConnection(ConnectionManagerImpl.java:301)
... 82 more
Caused by: com.sun.appserv.connectors.internal.api.PoolingException: Connection could not be allocated because: Falha ao criar o banco de dados C:\Users\User\GlassFish_Server\glassfish\domains\domain1/lib/databases/ejbtimer, consulte a próxima exceção para obter detalhes.
at com.sun.enterprise.resource.pool.ConnectionPool.createSingleResource(ConnectionPool.java:924)
at com.sun.enterprise.resource.pool.ConnectionPool.createResource(ConnectionPool.java:1185)
at com.sun.enterprise.resource.pool.datastructure.RWLockDataStructure.addResource(RWLockDataStructure.java:98)
... 92 more
Caused by: com.sun.appserv.connectors.internal.api.PoolingException: Connection could not be allocated because: Falha ao criar o banco de dados C:\Users\User\GlassFish_Server\glassfish\domains\domain1/lib/databases/ejbtimer, consulte a próxima exceção para obter detalhes.
at com.sun.enterprise.resource.allocator.ConnectorAllocator.createResource(ConnectorAllocator.java:181)
at com.sun.enterprise.resource.pool.ConnectionPool.createSingleResource(ConnectionPool.java:907)
... 94 more
Caused by: javax.resource.spi.ResourceAllocationException: Connection could not be allocated because: Falha ao criar o banco de dados C:\Users\User\GlassFish_Server\glassfish\domains\domain1/lib/databases/ejbtimer, consulte a próxima exceção para obter detalhes.
at com.sun.gjc.spi.XAManagedConnectionFactory.createManagedConnection(XAManagedConnectionFactory.java:128)
at com.sun.enterprise.resource.allocator.ConnectorAllocator.createResource(ConnectorAllocator.java:160)
... 95 more
Caused by: java.sql.SQLException: Falha ao criar o banco de dados C:\Users\User\GlassFish_Server\glassfish\domains\domain1/lib/databases/ejbtimer, consulte a próxima exceção para obter detalhes.
at org.apache.derby.impl.jdbc.SQLExceptionFactory40.getSQLException(Unknown Source)
at org.apache.derby.impl.jdbc.Util.newEmbedSQLException(Unknown Source)
at org.apache.derby.impl.jdbc.Util.seeNextException(Unknown Source)
at org.apache.derby.impl.jdbc.EmbedConnection.createDatabase(Unknown Source)
at org.apache.derby.impl.jdbc.EmbedConnection.<init>(Unknown Source)
at org.apache.derby.impl.jdbc.EmbedConnection30.<init>(Unknown Source)
at org.apache.derby.impl.jdbc.EmbedConnection40.<init>(Unknown Source)
at org.apache.derby.jdbc.Driver40.getNewEmbedConnection(Unknown Source)
at org.apache.derby.jdbc.InternalDriver.connect(Unknown Source)
at org.apache.derby.jdbc.EmbeddedDataSource.getConnection(Unknown Source)
at org.apache.derby.jdbc.EmbeddedDataSource.getConnection(Unknown Source)
at org.apache.derby.jdbc.EmbeddedXADataSource.setupResourceAdapter(Unknown Source)
at org.apache.derby.jdbc.EmbeddedXADataSource.getXAConnection(Unknown Source)
at com.sun.gjc.spi.XAManagedConnectionFactory.createManagedConnection(XAManagedConnectionFactory.java:115)
... 96 more
Caused by: java.sql.SQLException: Falha ao criar o banco de dados C:\Users\User\GlassFish_Server\glassfish\domains\domain1/lib/databases/ejbtimer, consulte a próxima exceção para obter detalhes.
at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown Source)
at org.apache.derby.impl.jdbc.SQLExceptionFactory40.wrapArgsForTransportAcrossDRDA(Unknown Source)
... 110 more
Caused by: java.sql.SQLException: Falha na inicialização devido a uma exceção. Consulte a próxima exceção para obter detalhes.
at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown Source)
at org.apache.derby.impl.jdbc.SQLExceptionFactory40.wrapArgsForTransportAcrossDRDA(Unknown Source)
at org.apache.derby.impl.jdbc.SQLExceptionFactory40.getSQLException(Unknown Source)
at org.apache.derby.impl.jdbc.Util.newEmbedSQLException(Unknown Source)
at org.apache.derby.impl.jdbc.Util.seeNextException(Unknown Source)
at org.apache.derby.impl.jdbc.TransactionResourceImpl.wrapInSQLException(Unknown Source)
at org.apache.derby.impl.jdbc.TransactionResourceImpl.handleException(Unknown Source)
at org.apache.derby.impl.jdbc.EmbedConnection.handleException(Unknown Source)
... 107 more
Caused by: java.sql.SQLException: Exceção Java: JAVA_SQL_TYPES_BOOLEAN: java.lang.NoSuchFieldError.
at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown Source)
at org.apache.derby.impl.jdbc.SQLExceptionFactory40.wrapArgsForTransportAcrossDRDA(Unknown Source)
at org.apache.derby.impl.jdbc.SQLExceptionFactory40.getSQLException(Unknown Source)
at org.apache.derby.impl.jdbc.Util.newEmbedSQLException(Unknown Source)
at org.apache.derby.impl.jdbc.Util.javaException(Unknown Source)
at org.apache.derby.impl.jdbc.TransactionResourceImpl.wrapInSQLException(Unknown Source)
... 110 more
Caused by: java.lang.NoSuchFieldError: JAVA_SQL_TYPES_BOOLEAN
at org.apache.derby.catalog.types.BaseTypeIdImpl.setTypeIdSpecificInstanceVariables(Unknown Source)
at org.apache.derby.catalog.types.BaseTypeIdImpl.<init>(Unknown Source)
at org.apache.derby.iapi.types.TypeId.create(Unknown Source)
at org.apache.derby.iapi.types.TypeId.<clinit>(Unknown Source)
at org.apache.derby.iapi.types.DataValueFactoryImpl.boot(Unknown Source)
at org.apache.derby.iapi.types.J2SEDataValueFactory.boot(Unknown Source)
at org.apache.derby.impl.services.monitor.BaseMonitor.boot(Unknown Source)
at org.apache.derby.impl.services.monitor.TopService.bootModule(Unknown Source)
at org.apache.derby.impl.services.monitor.BaseMonitor.startModule(Unknown Source)
at org.apache.derby.iapi.services.monitor.Monitor.bootServiceModule(Unknown Source)
at org.apache.derby.impl.db.BasicDatabase.boot(Unknown Source)
at org.apache.derby.impl.services.monitor.BaseMonitor.boot(Unknown Source)
at org.apache.derby.impl.services.monitor.TopService.bootModule(Unknown Source)
at org.apache.derby.impl.services.monitor.BaseMonitor.bootService(Unknown Source)
at org.apache.derby.impl.services.monitor.BaseMonitor.createPersistentService(Unknown Source)
at org.apache.derby.iapi.services.monitor.Monitor.createPersistentService(Unknown Source)
... 107 more

Informações: Portable JNDI names for EJB ProductSession : [java:global/Ecommerce/ProductSession!br.com.ecommerce.session.ProductSession, java:global/Ecommerce/ProductSession]
Informações: WELD-000900 ${parsedVersion (osgiVersion})
Informações: Instantiated an instance of org.hibernate.validator.engine.resolver.JPATraversableResolver.
Grave: Exception while invoking class org.glassfish.ejb.startup.EjbApplication start method
java.lang.RuntimeException: EJB Timer Service is not available
at com.sun.ejb.containers.BaseContainer.startApplication(BaseContainer.java:3986)
at org.glassfish.ejb.startup.EjbApplication.start(EjbApplication.java:174)
at org.glassfish.internal.data.EngineRef.start(EngineRef.java:130)
at org.glassfish.internal.data.ModuleInfo.start(ModuleInfo.java:269)
at org.glassfish.internal.data.ApplicationInfo.start(ApplicationInfo.java:294)
at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:462)
at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:240)
at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:382)
at com.sun.enterprise.v3.admin.CommandRunnerImpl$1.execute(CommandRunnerImpl.java:355)
at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:370)
at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1064)
at com.sun.enterprise.v3.admin.CommandRunnerImpl.access$1200(CommandRunnerImpl.java:96)
at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1244)
at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1232)
at com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:459)
at com.sun.enterprise.v3.admin.AdminAdapter.service(AdminAdapter.java:209)
at com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:168)
at com.sun.enterprise.v3.server.HK2Dispatcher.dispath(HK2Dispatcher.java:117)
at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:238)
at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:828)
at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:725)
at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1019)
at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:225)
at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)
at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)
at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)
at com.sun.grizzly.ContextTask.run(ContextTask.java:71)
at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)
at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)
at java.lang.Thread.run(Thread.java:722)

Grave: Exception while loading the app
Grave: Exception while shutting down application container
Informações: file:/C:/Users/User/Desktop/teste/EcommerceJava/Ecommerce/build/web/WEB-INF/classes/_EcommercePU logout successful
Advertência: EJB Timer Service is not available. Timers for application with id 87006949614485504 will not be deleted
Grave: Exception while shutting down application container : java.lang.NullPointerException
GOSTEI 0
Robson Teixeira

Robson Teixeira

25/01/2012

Olá Santos verifique o xml gerado pelo netBeans que fica dentro da pasta setup e veja se você retirou todas as referências do derby quando foi altera-lo para usar o my-sql pois uma parte do log diz respeito ao uso do derby e achei isso meio esquisito.

espero ter ajudado.
att
robson
GOSTEI 0
Dyego Carmo

Dyego Carmo

25/01/2012

Opa !

Conseguiste Resolver ?

Poderia fechar o chamado ?

Valeu !!!
GOSTEI 0
Enio Nunes

Enio Nunes

25/01/2012

Não sei se resolveu, mais retire a anotação @NotNull das propriedades das entidades que são Generator do banco, geralmente dos Ids, isso irá resolver.

saveUser
Jan 25, 2012 10:53:48 AM org.glassfish.ha.store.spi.BackingStoreFactoryRegistry register
Informações: Registered org.glassfish.ha.store.adapter.cache.ShoalBackingStoreProxy for persistence-type = replicated in BackingStoreFactoryRegistry
Jan 25, 2012 10:53:49 AM com.sun.enterprise.v3.server.AppServerStartup run
Informações: GlassFish Server Open Source Edition 3.1.1 (12) hora de inicialização : Embedded (478ms), serviços de inicialização(514ms), total(992ms)
Jan 25, 2012 10:53:49 AM org.glassfish.admin.mbeanserver.JMXStartupService$JMXConnectorsStarterThread run
Informações: JMXStartupService: JMXConnector system is disabled, skipping.
Jan 25, 2012 10:53:50 AM org.glassfish.admin.mbeanserver.JMXStartupService shutdown
Informações: JMXStartupService and JMXConnectors have been shut down.
Jan 25, 2012 10:53:50 AM com.sun.enterprise.v3.server.AppServerStartup stop
Informações: Procedimento de desligamento concluído
Jan 25, 2012 10:53:50 AM AppServerStartup run
Informações: [Thread[GlassFish Kernel Main Thread,5,main]] exiting
Jan 25, 2012 10:53:50 AM org.glassfish.ha.store.spi.BackingStoreFactoryRegistry register
Informações: Registered org.glassfish.ha.store.adapter.cache.ShoalBackingStoreProxy for persistence-type = replicated in BackingStoreFactoryRegistry
Jan 25, 2012 10:53:50 AM com.sun.enterprise.v3.server.AppServerStartup run
Informações: GlassFish Server Open Source Edition 3.1.1 (12) hora de inicialização : Embedded (2.448ms), serviços de inicialização(52ms), total(2.500ms)
Jan 25, 2012 10:53:50 AM org.glassfish.admin.mbeanserver.JMXStartupService$JMXConnectorsStarterThread run
Informações: JMXStartupService: JMXConnector system is disabled, skipping.
Jan 25, 2012 10:53:51 AM org.glassfish.ejb.embedded.EJBContainerProviderImpl skipJar
Informações: ... skipping entry with a Manifest file with a special attribute: org.eclipse.persistence.jpa.jpql_1.0.0.jar
Jan 25, 2012 10:53:51 AM org.glassfish.ejb.embedded.EJBContainerProviderImpl skipJar
Informações: ... skipping module: javax.security.jacc.jar
Jan 25, 2012 10:53:51 AM org.glassfish.ejb.embedded.EJBContainerProviderImpl skipJar
Informações: ... skipping module: javax.transaction.jar
Jan 25, 2012 10:53:51 AM org.glassfish.ejb.embedded.EJBContainerProviderImpl skipJar
Informações: ... skipping module: jersey-core.jar
Jan 25, 2012 10:53:51 AM org.glassfish.ejb.embedded.EJBContainerProviderImpl skipJar
Informações: ... skipping module: javax.servlet.jar
Jan 25, 2012 10:53:51 AM org.glassfish.ejb.embedded.EJBContainerProviderImpl skipJar
Informações: ... skipping module: webservices-osgi.jar
Jan 25, 2012 10:53:51 AM org.glassfish.ejb.embedded.EJBContainerProviderImpl skipJar
Informações: ... skipping module: javax.jms.jar
Jan 25, 2012 10:53:51 AM org.glassfish.ejb.embedded.EJBContainerProviderImpl skipJar
Informações: ... skipping module: javax.security.auth.message.jar
Jan 25, 2012 10:53:51 AM org.glassfish.ejb.embedded.EJBContainerProviderImpl skipJar
Informações: ... skipping module: javax.servlet.jsp.jstl.jar
Jan 25, 2012 10:53:51 AM org.glassfish.ejb.embedded.EJBContainerProviderImpl skipJar
Informações: ... skipping module: javax.management.j2ee.jar
Jan 25, 2012 10:53:51 AM org.glassfish.ejb.embedded.EJBContainerProviderImpl skipJar
Informações: ... skipping module: javax.enterprise.deploy.jar
Jan 25, 2012 10:53:51 AM org.glassfish.ejb.embedded.EJBContainerProviderImpl skipJar
Informações: ... skipping module: bean-validator.jar
Jan 25, 2012 10:53:51 AM org.glassfish.ejb.embedded.EJBContainerProviderImpl skipJar
Informações: ... skipping entry with a Manifest file with a special attribute: webservices-api-osgi.jar
Jan 25, 2012 10:53:51 AM org.glassfish.ejb.embedded.EJBContainerProviderImpl skipJar
Informações: ... skipping module: jsf-api.jar
Jan 25, 2012 10:53:51 AM org.glassfish.ejb.embedded.EJBContainerProviderImpl skipJar
Informações: ... skipping module: javax.mail.jar
Jan 25, 2012 10:53:51 AM org.glassfish.ejb.embedded.EJBContainerProviderImpl skipJar
Informações: ... skipping module: jsf-impl.jar
Jan 25, 2012 10:53:51 AM org.glassfish.ejb.embedded.EJBContainerProviderImpl skipJar
Informações: ... skipping module: javax.servlet.jsp.jar
Jan 25, 2012 10:53:51 AM org.glassfish.ejb.embedded.EJBContainerProviderImpl skipJar
Informações: ... skipping module: javax.persistence.jar
Jan 25, 2012 10:53:51 AM org.glassfish.ejb.embedded.EJBContainerProviderImpl skipJar
Informações: ... skipping module: weld-osgi-bundle.jar
Jan 25, 2012 10:53:51 AM org.glassfish.ejb.embedded.EJBContainerProviderImpl skipJar
Informações: ... skipping module: javax.ejb.jar
Jan 25, 2012 10:53:51 AM org.glassfish.ejb.embedded.EJBContainerProviderImpl skipJar
Informações: ... skipping module: jstl-impl.jar
Jan 25, 2012 10:53:51 AM org.glassfish.ejb.embedded.EJBContainerProviderImpl skipJar
Informações: ... skipping module: javax.resource.jar
Jan 25, 2012 10:53:51 AM org.glassfish.ejb.embedded.EJBContainerProviderImpl skipJar
Informações: ... skipping module: jaxb-osgi.jar
Jan 25, 2012 10:53:51 AM org.glassfish.ejb.embedded.EJBContainerProviderImpl skipJar
Informações: ... skipping entry with a Manifest file with a special attribute: javax.annotation.jar
Jan 25, 2012 10:53:51 AM org.glassfish.ejb.embedded.EJBContainerProviderImpl skipJar
Informações: ... skipping entry with a Manifest file with a special attribute: glassfish-embedded-static-shell.jar
Jan 25, 2012 10:53:51 AM org.glassfish.ejb.embedded.DeploymentElement getOrCreateApplication
Informações: [DeploymentElement] adding EJB module to ScatteredArchive classes
Jan 25, 2012 10:53:51 AM org.glassfish.ejb.embedded.DeploymentElement getOrCreateApplication
Informações: [DeploymentElement] adding library to ScatteredArchive jaxm-api.jar
Jan 25, 2012 10:53:51 AM org.glassfish.ejb.embedded.DeploymentElement getOrCreateApplication
Informações: [DeploymentElement] adding library to ScatteredArchive junit-4.10.jar
Jan 25, 2012 10:53:51 AM org.glassfish.ejb.embedded.DeploymentElement getOrCreateApplication
Informações: [DeploymentElement] adding library to ScatteredArchive javax.persistence-2.0.jar
Jan 25, 2012 10:53:51 AM org.glassfish.ejb.embedded.DeploymentElement getOrCreateApplication
Informações: [DeploymentElement] adding library to ScatteredArchive mysql-connector-java-5.1.7-bin.jar
Jan 25, 2012 10:53:51 AM org.glassfish.ejb.embedded.DeploymentElement getOrCreateApplication
Informações: [DeploymentElement] adding library to ScatteredArchive ant-launcher.jar
Jan 25, 2012 10:53:51 AM org.glassfish.ejb.embedded.DeploymentElement getOrCreateApplication
Informações: [DeploymentElement] adding library to ScatteredArchive classes
Jan 25, 2012 10:53:51 AM org.glassfish.ejb.embedded.DeploymentElement getOrCreateApplication
Informações: [DeploymentElement] adding library to ScatteredArchive ant.jar
Jan 25, 2012 10:53:51 AM org.glassfish.ejb.embedded.DeploymentElement getOrCreateApplication
Informações: [DeploymentElement] adding library to ScatteredArchive ant-junit4.jar
Jan 25, 2012 10:53:51 AM org.glassfish.ejb.embedded.DeploymentElement getOrCreateApplication
Informações: [DeploymentElement] adding library to ScatteredArchive jaxb-api-osgi.jar
Jan 25, 2012 10:53:51 AM org.glassfish.ejb.embedded.DeploymentElement getOrCreateApplication
Informações: [DeploymentElement] adding library to ScatteredArchive ant-junit.jar
Jan 25, 2012 10:53:51 AM org.glassfish.ejb.embedded.DeploymentElement getOrCreateApplication
Informações: [DeploymentElement] adding library to ScatteredArchive eclipselink-2.3.0.jar
Jan 25, 2012 10:53:51 AM org.glassfish.ejb.embedded.EJBContainerImpl deploy
Informações: [EJBContainerImpl] Deploying app: org.glassfish.embeddable.archive.ScatteredArchive@108a2d1
Jan 25, 2012 10:54:24 AM org.hibernate.validator.util.Version <clinit>
Informações: Hibernate Validator 4.1.0.Final
Jan 25, 2012 10:54:24 AM org.hibernate.validator.engine.resolver.DefaultTraversableResolver detectJPA
Informações: Instantiated an instance of org.hibernate.validator.engine.resolver.JPATraversableResolver.
Jan 25, 2012 10:54:29 AM com.sun.enterprise.security.SecurityLifecycle <init>
Informações: SEC1002: Security Manager is OFF.
Jan 25, 2012 10:54:29 AM com.sun.enterprise.security.SecurityLifecycle onInitialization
Informações: SEC1010: Entering Security Startup Service
Jan 25, 2012 10:54:29 AM com.sun.enterprise.security.PolicyLoader loadPolicy
Informações: SEC1143: Loading policy provider com.sun.enterprise.security.provider.PolicyWrapper.
Jan 25, 2012 10:54:29 AM com.sun.enterprise.security.auth.realm.Realm doInstantiate
Informações: SEC1115: Realm [admin-realm] of classtype [com.sun.enterprise.security.auth.realm.file.FileRealm] successfully created.
Jan 25, 2012 10:54:29 AM com.sun.enterprise.security.auth.realm.Realm doInstantiate
Informações: SEC1115: Realm [file] of classtype [com.sun.enterprise.security.auth.realm.file.FileRealm] successfully created.
Jan 25, 2012 10:54:29 AM com.sun.enterprise.security.auth.realm.Realm doInstantiate
Informações: SEC1115: Realm [certificate] of classtype [com.sun.enterprise.security.auth.realm.certificate.CertificateRealm] successfully created.
Jan 25, 2012 10:54:29 AM com.sun.enterprise.security.SecurityLifecycle onInitialization
Informações: SEC1011: Security Service(s) Started Successfully
Jan 25, 2012 10:54:31 AM org.glassfish.webservices.metroglue.MetroContainer postConstruct
Informações: WS10010: Web service endpoint deployment events listener registered successfully.
Jan 25, 2012 10:54:32 AM org.hibernate.validator.engine.resolver.DefaultTraversableResolver detectJPA
Informações: Instantiated an instance of org.hibernate.validator.engine.resolver.JPATraversableResolver.
Jan 25, 2012 10:54:36 AM org.hibernate.validator.engine.resolver.DefaultTraversableResolver detectJPA
Informações: Instantiated an instance of org.hibernate.validator.engine.resolver.JPATraversableResolver.
Jan 25, 2012 10:54:36 AM org.eclipse.persistence.session.file:/C:/Users/User/AppData/Local/Temp/gfembed4804270792795602055tmp/applications/classes/_EcommercePU
Informações: EclipseLink, version: Eclipse Persistence Services - 2.3.0.v20110604-r9504
Jan 25, 2012 10:54:37 AM org.eclipse.persistence.session.file:/C:/Users/User/AppData/Local/Temp/gfembed4804270792795602055tmp/applications/classes/_EcommercePU
Informações: file:/C:/Users/User/AppData/Local/Temp/gfembed4804270792795602055tmp/applications/classes/_EcommercePU login successful
Jan 25, 2012 10:54:37 AM org.glassfish.persistence.common.Java2DBProcessorHelper executeDDLs
Advertência: PER01000: Got SQLException executing statement CREATE TABLE SELL (id INTEGER NOT NULL, CLOSED TINYINT(1) default 0, DATEOFSELL DATE NOT NULL, STATUS VARCHAR(255) NOT NULL, TOTAL DECIMAL(38) NOT NULL, ADDRESSTOSEND_id INTEGER, CREDITCARD_id INTEGER, USEROF_id INTEGER, PRIMARY KEY (id)): com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table sell already exists
Jan 25, 2012 10:54:37 AM org.glassfish.persistence.common.Java2DBProcessorHelper executeDDLs
Advertência: PER01000: Got SQLException executing statement CREATE TABLE ADDRESS (id INTEGER NOT NULL, ADDRESS VARCHAR(255) NOT NULL, COUNTRY VARCHAR(255) NOT NULL, NICKNAME VARCHAR(255) NOT NULL, NUMBER INTEGER NOT NULL, POSTALCODE VARCHAR(255) NOT NULL, STATEOFADDRESS VARCHAR(100) NOT NULL, userOf INTEGER, PRIMARY KEY (id)): com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table address already exists
Jan 25, 2012 10:54:37 AM org.glassfish.persistence.common.Java2DBProcessorHelper executeDDLs
Advertência: PER01000: Got SQLException executing statement CREATE TABLE CATEGORY (id INTEGER NOT NULL, ACTIVE TINYINT(1) default 0, NAME VARCHAR(255) NOT NULL UNIQUE, PRIMARY KEY (id)): com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table category already exists
Jan 25, 2012 10:54:37 AM org.glassfish.persistence.common.Java2DBProcessorHelper executeDDLs
Advertência: PER01000: Got SQLException executing statement CREATE TABLE CALLONAVALIABLE (ID INTEGER NOT NULL, CALLED TINYINT(1) default 0, EMAIL VARCHAR(255), PRODUCT_id INTEGER, PRIMARY KEY (ID)): com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table callonavaliable already exists
Jan 25, 2012 10:54:37 AM org.glassfish.persistence.common.Java2DBProcessorHelper executeDDLs
Advertência: PER01000: Got SQLException executing statement CREATE TABLE PRODUCT (id INTEGER NOT NULL, COST DECIMAL(38) NOT NULL, ESPC VARCHAR(255) NOT NULL, NAME VARCHAR(255) NOT NULL UNIQUE, STOCK INTEGER NOT NULL, CATEGORY_id INTEGER, PRIMARY KEY (id)): com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table product already exists
Jan 25, 2012 10:54:37 AM org.glassfish.persistence.common.Java2DBProcessorHelper executeDDLs
Advertência: PER01000: Got SQLException executing statement CREATE TABLE CREDITCARD (id INTEGER NOT NULL, DATEOFVALIDATION DATE NOT NULL, FLAG VARCHAR(255) NOT NULL, NAMEOFCARDOWNER VARCHAR(255) NOT NULL, NUMBER VARCHAR(255) NOT NULL, TIMES INTEGER NOT NULL, USEROF_id INTEGER, PRIMARY KEY (id)): com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table creditcard already exists
Jan 25, 2012 10:54:37 AM org.glassfish.persistence.common.Java2DBProcessorHelper executeDDLs
Advertência: PER01000: Got SQLException executing statement CREATE TABLE users (id INTEGER NOT NULL, EMAIL VARCHAR(255) NOT NULL, NAME VARCHAR(255) NOT NULL, PASSWORD VARCHAR(32) NOT NULL, USERNAME VARCHAR(255) NOT NULL, PRIMARY KEY (id)): com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table users already exists
Jan 25, 2012 10:54:37 AM org.glassfish.persistence.common.Java2DBProcessorHelper executeDDLs
Advertência: PER01000: Got SQLException executing statement CREATE TABLE SELLITEM (id INTEGER NOT NULL, QNT INTEGER NOT NULL, PRODUCT_id INTEGER, SELL_id INTEGER, PRIMARY KEY (id)): com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table sellitem already exists
Jan 25, 2012 10:54:37 AM org.glassfish.persistence.common.Java2DBProcessorHelper executeDDLs
Advertência: PER01000: Got SQLException executing statement ALTER TABLE SELL ADD CONSTRAINT FK_SELL_ADDRESSTOSEND_id FOREIGN KEY (ADDRESSTOSEND_id) REFERENCES ADDRESS (id): java.sql.SQLException: Cant create table ecommercemysql.#sql-a04_9 (errno: 121)
Jan 25, 2012 10:54:37 AM org.glassfish.persistence.common.Java2DBProcessorHelper executeDDLs
Advertência: PER01000: Got SQLException executing statement ALTER TABLE SELL ADD CONSTRAINT FK_SELL_CREDITCARD_id FOREIGN KEY (CREDITCARD_id) REFERENCES CREDITCARD (id): java.sql.SQLException: Cant create table ecommercemysql.#sql-a04_9 (errno: 121)
Jan 25, 2012 10:54:37 AM org.glassfish.persistence.common.Java2DBProcessorHelper executeDDLs
Advertência: PER01000: Got SQLException executing statement ALTER TABLE SELL ADD CONSTRAINT FK_SELL_USEROF_id FOREIGN KEY (USEROF_id) REFERENCES users (id): java.sql.SQLException: Cant create table ecommercemysql.#sql-a04_9 (errno: 121)
Jan 25, 2012 10:54:37 AM org.glassfish.persistence.common.Java2DBProcessorHelper executeDDLs
Advertência: PER01000: Got SQLException executing statement ALTER TABLE ADDRESS ADD CONSTRAINT FK_ADDRESS_userOf FOREIGN KEY (userOf) REFERENCES users (id): java.sql.SQLException: Cant create table ecommercemysql.#sql-a04_9 (errno: 121)
Jan 25, 2012 10:54:37 AM org.glassfish.persistence.common.Java2DBProcessorHelper executeDDLs
Advertência: PER01000: Got SQLException executing statement ALTER TABLE CALLONAVALIABLE ADD CONSTRAINT FK_CALLONAVALIABLE_PRODUCT_id FOREIGN KEY (PRODUCT_id) REFERENCES PRODUCT (id): java.sql.SQLException: Cant create table ecommercemysql.#sql-a04_9 (errno: 121)
Jan 25, 2012 10:54:37 AM org.glassfish.persistence.common.Java2DBProcessorHelper executeDDLs
Advertência: PER01000: Got SQLException executing statement ALTER TABLE PRODUCT ADD CONSTRAINT FK_PRODUCT_CATEGORY_id FOREIGN KEY (CATEGORY_id) REFERENCES CATEGORY (id): java.sql.SQLException: Cant create table ecommercemysql.#sql-a04_9 (errno: 121)
Jan 25, 2012 10:54:38 AM org.glassfish.persistence.common.Java2DBProcessorHelper executeDDLs
Advertência: PER01000: Got SQLException executing statement ALTER TABLE CREDITCARD ADD CONSTRAINT FK_CREDITCARD_USEROF_id FOREIGN KEY (USEROF_id) REFERENCES users (id): java.sql.SQLException: Cant create table ecommercemysql.#sql-a04_9 (errno: 121)
Jan 25, 2012 10:54:38 AM org.glassfish.persistence.common.Java2DBProcessorHelper executeDDLs
Advertência: PER01000: Got SQLException executing statement ALTER TABLE SELLITEM ADD CONSTRAINT FK_SELLITEM_PRODUCT_id FOREIGN KEY (PRODUCT_id) REFERENCES PRODUCT (id): java.sql.SQLException: Cant create table ecommercemysql.#sql-a04_9 (errno: 121)
Jan 25, 2012 10:54:38 AM org.glassfish.persistence.common.Java2DBProcessorHelper executeDDLs
Advertência: PER01000: Got SQLException executing statement ALTER TABLE SELLITEM ADD CONSTRAINT FK_SELLITEM_SELL_id FOREIGN KEY (SELL_id) REFERENCES SELL (id): java.sql.SQLException: Cant create table ecommercemysql.#sql-a04_9 (errno: 121)
Jan 25, 2012 10:54:38 AM org.glassfish.persistence.common.Java2DBProcessorHelper executeDDLs
Advertência: PER01000: Got SQLException executing statement CREATE TABLE SEQUENCE (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38), PRIMARY KEY (SEQ_NAME)): com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table sequence already exists
Jan 25, 2012 10:54:38 AM org.glassfish.persistence.common.Java2DBProcessorHelper executeDDLs
Advertência: PER01000: Got SQLException executing statement INSERT INTO SEQUENCE(SEQ_NAME, SEQ_COUNT) values (SEQ_GEN, 0): com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry SEQ_GEN for key PRIMARY
Jan 25, 2012 10:54:38 AM com.sun.ejb.containers.EjbContainerUtilImpl deployEJBTimerService
Informações: Loading EJBTimerService. Please wait.
Jan 25, 2012 10:54:39 AM org.hibernate.validator.engine.resolver.DefaultTraversableResolver detectJPA
Informações: Instantiated an instance of org.hibernate.validator.engine.resolver.JPATraversableResolver.
Jan 25, 2012 10:54:39 AM org.hibernate.validator.engine.resolver.DefaultTraversableResolver detectJPA
Informações: Instantiated an instance of org.hibernate.validator.engine.resolver.JPATraversableResolver.
Jan 25, 2012 10:54:39 AM org.eclipse.persistence.session.file:/C:/Users/User/AppData/Local/Temp/gfembed4804270792795602055tmp/applications/ejb-timer-service-app/WEB-INF/classes/___EJB__Timer__App
Informações: EclipseLink, version: Eclipse Persistence Services - 2.3.0.v20110604-r9504
Jan 25, 2012 10:54:48 AM org.eclipse.persistence.session.file:/C:/Users/User/AppData/Local/Temp/gfembed4804270792795602055tmp/applications/ejb-timer-service-app/WEB-INF/classes/___EJB__Timer__App
Informações: file:/C:/Users/User/AppData/Local/Temp/gfembed4804270792795602055tmp/applications/ejb-timer-service-app/WEB-INF/classes/___EJB__Timer__App login successful
Jan 25, 2012 10:54:48 AM org.eclipse.persistence.session.file:/C:/Users/User/AppData/Local/Temp/gfembed4804270792795602055tmp/applications/ejb-timer-service-app/WEB-INF/classes/___EJB__Timer__App.server
Advertência: Multiple [2] JMX MBeanServer instances exist, we will use the server at index [0] : [com.sun.enterprise.v3.admin.DynamicInterceptor@1166ec4].
Jan 25, 2012 10:54:48 AM org.eclipse.persistence.session.file:/C:/Users/User/AppData/Local/Temp/gfembed4804270792795602055tmp/applications/ejb-timer-service-app/WEB-INF/classes/___EJB__Timer__App.server
Advertência: JMX MBeanServer in use: [com.sun.enterprise.v3.admin.DynamicInterceptor@1166ec4] from index [0]
Jan 25, 2012 10:54:48 AM org.eclipse.persistence.session.file:/C:/Users/User/AppData/Local/Temp/gfembed4804270792795602055tmp/applications/ejb-timer-service-app/WEB-INF/classes/___EJB__Timer__App.server
Advertência: JMX MBeanServer in use: [com.sun.jmx.mbeanserver.JmxMBeanServer@1bd6107] from index [1]
Jan 25, 2012 10:54:49 AM com.sun.ejb.containers.TimerBeanContainer <init>
Informações: [TimerBeanContainer] Created TimerBeanContainer: TimerBean
Jan 25, 2012 10:54:49 AM com.sun.ejb.containers.BaseContainer initializeHome
Informações: Portable JNDI names for EJB TimerBean : [java:global/ejb-timer-service-app/TimerBean, java:global/ejb-timer-service-app/TimerBean!com.sun.ejb.containers.TimerLocal]
Jan 25, 2012 10:54:49 AM com.sun.enterprise.web.WebContainer loadWebModule
Informações: WEB0356: Web module [ejb-timer-service-app] not loaded to any virtual servers
Jan 25, 2012 10:54:49 AM com.sun.enterprise.web.WebApplication start
Informações: WEB0671: Loading application [ejb-timer-service-app] at [/ejb-timer-service-app]
Jan 25, 2012 10:54:49 AM com.sun.ejb.containers.EjbContainerUtilImpl deployEJBTimerService
Informações: EJB5109:EJB Timer Service started successfully for data source [jdbc/__TimerPool]
Jan 25, 2012 10:54:49 AM com.sun.ejb.containers.EjbContainerUtilImpl getEJBTimerService
Informações: Setting DBReadBeforeTimeout to false
Jan 25, 2012 10:54:49 AM com.sun.ejb.containers.EjbContainerUtilImpl getEJBTimerService
Informações: ==> Restoring Timers ...
Jan 25, 2012 10:54:49 AM com.sun.ejb.containers.EJBTimerService restoreEJBTimers
Informações: There are no EJB Timers owned by this server
Jan 25, 2012 10:54:49 AM com.sun.ejb.containers.EjbContainerUtilImpl getEJBTimerService
Informações: <== ... Timers Restored.
Jan 25, 2012 10:54:49 AM com.sun.ejb.containers.BaseContainer initializeHome
Informações: Portable JNDI names for EJB ProductSession : [java:global/classes/ProductSession, java:global/classes/ProductSession!br.com.ecommerce.session.ProductSession]
Jan 25, 2012 10:54:49 AM com.sun.ejb.containers.BaseContainer initializeHome
Informações: Portable JNDI names for EJB UserSession : [java:global/classes/UserSession!br.com.ecommerce.session.UserSession, java:global/classes/UserSession]
Jan 25, 2012 10:54:49 AM com.sun.ejb.containers.BaseContainer initializeHome
Informações: Portable JNDI names for EJB SellSession : [java:global/classes/SellSession, java:global/classes/SellSession!br.com.ecommerce.session.SellSession]
Jan 25, 2012 10:54:49 AM com.sun.jts.CosTransactions.DefaultTransactionService setServerName
Informações: JTS5014: Recoverable JTS instance, serverId = [100]
PlainTextActionReporterSUCCESSDescription: deploy AdminCommandnull
[name=classes


PER01003: Deployment encountered SQL Exceptions:
PER01000: Got SQLException executing statement CREATE TABLE SELL (id INTEGER NOT NULL, CLOSED TINYINT(1) default 0, DATEOFSELL DATE NOT NULL, STATUS VARCHAR(255) NOT NULL, TOTAL DECIMAL(38) NOT NULL, ADDRESSTOSEND_id INTEGER, CREDITCARD_id INTEGER, USEROF_id INTEGER, PRIMARY KEY (id)): com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table sell already exists
PER01000: Got SQLException executing statement CREATE TABLE ADDRESS (id INTEGER NOT NULL, ADDRESS VARCHAR(255) NOT NULL, COUNTRY VARCHAR(255) NOT NULL, NICKNAME VARCHAR(255) NOT NULL, NUMBER INTEGER NOT NULL, POSTALCODE VARCHAR(255) NOT NULL, STATEOFADDRESS VARCHAR(100) NOT NULL, userOf INTEGER, PRIMARY KEY (id)): com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table address already exists
PER01000: Got SQLException executing statement CREATE TABLE CATEGORY (id INTEGER NOT NULL, ACTIVE TINYINT(1) default 0, NAME VARCHAR(255) NOT NULL UNIQUE, PRIMARY KEY (id)): com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table category already exists
PER01000: Got SQLException executing statement CREATE TABLE CALLONAVALIABLE (ID INTEGER NOT NULL, CALLED TINYINT(1) default 0, EMAIL VARCHAR(255), PRODUCT_id INTEGER, PRIMARY KEY (ID)): com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table callonavaliable already exists
PER01000: Got SQLException executing statement CREATE TABLE PRODUCT (id INTEGER NOT NULL, COST DECIMAL(38) NOT NULL, ESPC VARCHAR(255) NOT NULL, NAME VARCHAR(255) NOT NULL UNIQUE, STOCK INTEGER NOT NULL, CATEGORY_id INTEGER, PRIMARY KEY (id)): com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table product already exists
PER01000: Got SQLException executing statement CREATE TABLE CREDITCARD (id INTEGER NOT NULL, DATEOFVALIDATION DATE NOT NULL, FLAG VARCHAR(255) NOT NULL, NAMEOFCARDOWNER VARCHAR(255) NOT NULL, NUMBER VARCHAR(255) NOT NULL, TIMES INTEGER NOT NULL, USEROF_id INTEGER, PRIMARY KEY (id)): com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table creditcard already exists
PER01000: Got SQLException executing statement CREATE TABLE users (id INTEGER NOT NULL, EMAIL VARCHAR(255) NOT NULL, NAME VARCHAR(255) NOT NULL, PASSWORD VARCHAR(32) NOT NULL, USERNAME VARCHAR(255) NOT NULL, PRIMARY KEY (id)): com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table users already exists
PER01000: Got SQLException executing statement CREATE TABLE SELLITEM (id INTEGER NOT NULL, QNT INTEGER NOT NULL, PRODUCT_id INTEGER, SELL_id INTEGER, PRIMARY KEY (id)): com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table sellitem already exists
PER01000: Got SQLException executing statement ALTER TABLE SELL ADD CONSTRAINT FK_SELL_ADDRESSTOSEND_id FOREIGN KEY (ADDRESSTOSEND_id) REFERENCES ADDRESS (id): java.sql.SQLException: Cant create table ecommercemysql.#sql-a04_9 (errno: 121)
PER01000: Got SQLException executing statement ALTER TABLE SELL ADD CONSTRAINT FK_SELL_CREDITCARD_id FOREIGN KEY (CREDITCARD_id) REFERENCES CREDITCARD (id): java.sql.SQLException: Cant create table ecommercemysql.#sql-a04_9 (errno: 121)
PER01000: Got SQLException executing statement ALTER TABLE SELL ADD CONSTRAINT FK_SELL_USEROF_id FOREIGN KEY (USEROF_id) REFERENCES users (id): java.sql.SQLException: Cant create table ecommercemysql.#sql-a04_9 (errno: 121)
PER01000: Got SQLException executing statement ALTER TABLE ADDRESS ADD CONSTRAINT FK_ADDRESS_userOf FOREIGN KEY (userOf) REFERENCES users (id): java.sql.SQLException: Cant create table ecommercemysql.#sql-a04_9 (errno: 121)
PER01000: Got SQLException executing statement ALTER TABLE CALLONAVALIABLE ADD CONSTRAINT FK_CALLONAVALIABLE_PRODUCT_id FOREIGN KEY (PRODUCT_id) REFERENCES PRODUCT (id): java.sql.SQLException: Cant create table ecommercemysql.#sql-a04_9 (errno: 121)
PER01000: Got SQLException executing statement ALTER TABLE PRODUCT ADD CONSTRAINT FK_PRODUCT_CATEGORY_id FOREIGN KEY (CATEGORY_id) REFERENCES CATEGORY (id): java.sql.SQLException: Cant create table ecommercemysql.#sql-a04_9 (errno: 121)
PER01000: Got SQLException executing statement ALTER TABLE CREDITCARD ADD CONSTRAINT FK_CREDITCARD_USEROF_id FOREIGN KEY (USEROF_id) REFERENCES users (id): java.sql.SQLException: Cant create table ecommercemysql.#sql-a04_9 (errno: 121)
PER01000: Got SQLException executing statement ALTER TABLE SELLITEM ADD CONSTRAINT FK_SELLITEM_PRODUCT_id FOREIGN KEY (PRODUCT_id) REFERENCES PRODUCT (id): java.sql.SQLException: Cant create table ecommercemysql.#sql-a04_9 (errno: 121)
PER01000: Got SQLException executing statement ALTER TABLE SELLITEM ADD CONSTRAINT FK_SELLITEM_SELL_id FOREIGN KEY (SELL_id) REFERENCES SELL (id): java.sql.SQLException: Cant create table ecommercemysql.#sql-a04_9 (errno: 121)
PER01000: Got SQLException executing statement CREATE TABLE SEQUENCE (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38), PRIMARY KEY (SEQ_NAME)): com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table sequence already exists
Jan 25, 2012 10:54:50 AM com.sun.ejb.containers.BaseContainer postInvoke
Advertência: A system exception occurred during an invocation on EJB UserSession method public br.com.ecommerce.entity.User br.com.ecommerce.session.UserSession.setUser(br.com.ecommerce.entity.User)
javax.ejb.EJBException
at com.sun.ejb.containers.BaseContainer.processSystemException(BaseContainer.java:5193)
at com.sun.ejb.containers.BaseContainer.completeNewTx(BaseContainer.java:5091)
at com.sun.ejb.containers.BaseContainer.postInvokeTx(BaseContainer.java:4893)
at com.sun.ejb.containers.BaseContainer.postInvoke(BaseContainer.java:2039)
at com.sun.ejb.containers.BaseContainer.postInvoke(BaseContainer.java:1990)
at com.sun.ejb.containers.EJBLocalObjectInvocationHandler.invoke(EJBLocalObjectInvocationHandler.java:222)
at com.sun.ejb.containers.EJBLocalObjectInvocationHandlerDelegate.invoke(EJBLocalObjectInvocationHandlerDelegate.java:88)
at $Proxy134.setUser(Unknown Source)
at br.com.ecommerce.session.__EJB31_Generated__UserSession__Intf____Bean__.setUser(Unknown Source)
at br.com.ecommerce.session.UserSessionTest.testSaveUser(UserSessionTest.java:64)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:30)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:30)
at org.junit.runners.ParentRunner.run(ParentRunner.java:300)
at junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:39)
at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:518)
at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1052)
at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:906)
Caused by: javax.validation.ConstraintViolationException: Bean Validation constraint(s) violated while executing Automatic Bean Validation on callback event:prePersist. Please refer to embedded ConstraintViolations for details.
at org.eclipse.persistence.internal.jpa.metadata.listeners.BeanValidationListener.validateOnCallbackEvent(BeanValidationListener.java:90)
at org.eclipse.persistence.internal.jpa.metadata.listeners.BeanValidationListener.prePersist(BeanValidationListener.java:62)
at org.eclipse.persistence.descriptors.DescriptorEventManager.notifyListener(DescriptorEventManager.java:698)
at org.eclipse.persistence.descriptors.DescriptorEventManager.notifyEJB30Listeners(DescriptorEventManager.java:641)
at org.eclipse.persistence.descriptors.DescriptorEventManager.executeEvent(DescriptorEventManager.java:200)
at org.eclipse.persistence.internal.sessions.UnitOfWorkImpl.registerNewObjectClone(UnitOfWorkImpl.java:4246)
at org.eclipse.persistence.internal.sessions.RepeatableWriteUnitOfWork.cloneAndRegisterNewObject(RepeatableWriteUnitOfWork.java:594)
at org.eclipse.persistence.internal.sessions.UnitOfWorkImpl.internalRegisterObject(UnitOfWorkImpl.java:2904)
at org.eclipse.persistence.internal.sessions.MergeManager.registerObjectForMergeCloneIntoWorkingCopy(MergeManager.java:940)
at org.eclipse.persistence.internal.sessions.MergeManager.mergeChangesOfCloneIntoWorkingCopy(MergeManager.java:500)
at org.eclipse.persistence.internal.sessions.MergeManager.mergeChanges(MergeManager.java:271)
at org.eclipse.persistence.internal.sessions.UnitOfWorkImpl.mergeCloneWithReferences(UnitOfWorkImpl.java:3487)
at org.eclipse.persistence.internal.sessions.RepeatableWriteUnitOfWork.mergeCloneWithReferences(RepeatableWriteUnitOfWork.java:376)
at org.eclipse.persistence.internal.sessions.UnitOfWorkImpl.mergeCloneWithReferences(UnitOfWorkImpl.java:3447)
at org.eclipse.persistence.internal.jpa.EntityManagerImpl.mergeInternal(EntityManagerImpl.java:486)
at org.eclipse.persistence.internal.jpa.EntityManagerImpl.merge(EntityManagerImpl.java:463)
at com.sun.enterprise.container.common.impl.EntityManagerWrapper.merge(EntityManagerWrapper.java:286)
at br.com.ecommerce.session.UserSession.setUser(UserSession.java:53)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.glassfish.ejb.security.application.EJBSecurityManager.runMethod(EJBSecurityManager.java:1052)
at org.glassfish.ejb.security.application.EJBSecurityManager.invoke(EJBSecurityManager.java:1124)
at com.sun.ejb.containers.BaseContainer.invokeBeanMethod(BaseContainer.java:5366)
at com.sun.ejb.EjbInvocation.invokeBeanMethod(EjbInvocation.java:619)
at com.sun.ejb.containers.interceptors.AroundInvokeChainImpl.invokeNext(InterceptorManager.java:800)
at com.sun.ejb.EjbInvocation.proceed(EjbInvocation.java:571)
at com.sun.ejb.containers.interceptors.SystemInterceptorProxy.doAround(SystemInterceptorProxy.java:162)
at com.sun.ejb.containers.interceptors.SystemInterceptorProxy.aroundInvoke(SystemInterceptorProxy.java:144)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at com.sun.ejb.containers.interceptors.AroundInvokeInterceptor.intercept(InterceptorManager.java:861)
at com.sun.ejb.containers.interceptors.AroundInvokeChainImpl.invokeNext(InterceptorManager.java:800)
at com.sun.ejb.containers.interceptors.InterceptorManager.intercept(InterceptorManager.java:370)
at com.sun.ejb.containers.BaseContainer.__intercept(BaseContainer.java:5338)
at com.sun.ejb.containers.BaseContainer.intercept(BaseContainer.java:5326)
at com.sun.ejb.containers.EJBLocalObjectInvocationHandler.invoke(EJBLocalObjectInvocationHandler.java:214)
... 29 more

PER01000: Got SQLException executing statement INSERT INTO SEQUENCE(SEQ_NAME, SEQ_COUNT) values (SEQ_GEN, 0): com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry SEQ_GEN for key PRIMARY
GOSTEI 0
POSTAR