creating table | jboss
zs_soha May 23, 2012 1:14 PMi have a problem for Create table in mysql by EJB project !
18:57:26,900 INFO [ServerImpl] Starting JBoss (Microcontainer)...
18:57:26,900 INFO [ServerImpl] Release ID: JBoss [The Oracle] 5.1.0.GA (build: SVNTag=JBoss_5_1_0_GA date=200905221053)
18:57:26,901 INFO [ServerImpl] Bootstrap URL: null
18:57:26,901 INFO [ServerImpl] Home Dir: E:\Polimi\Project 2012\SW\CheapVacationProject\jboss-5.1.0.GA
18:57:26,901 INFO [ServerImpl] Home URL: file:/E:/Polimi/Project%202012/SW/CheapVacationProject/jboss-5.1.0.GA/
18:57:26,901 INFO [ServerImpl] Library URL: file:/E:/Polimi/Project%202012/SW/CheapVacationProject/jboss-5.1.0.GA/lib/
18:57:26,902 INFO [ServerImpl] Patch URL: null
18:57:26,902 INFO [ServerImpl] Common Base URL: file:/E:/Polimi/Project%202012/SW/CheapVacationProject/jboss-5.1.0.GA/common/
18:57:26,902 INFO [ServerImpl] Common Library URL: file:/E:/Polimi/Project%202012/SW/CheapVacationProject/jboss-5.1.0.GA/common/lib/
18:57:26,902 INFO [ServerImpl] Server Name: default
18:57:26,902 INFO [ServerImpl] Server Base Dir: E:\Polimi\Project 2012\SW\CheapVacationProject\jboss-5.1.0.GA\server
18:57:26,903 INFO [ServerImpl] Server Base URL: file:/E:/Polimi/Project%202012/SW/CheapVacationProject/jboss-5.1.0.GA/server/
18:57:26,903 INFO [ServerImpl] Server Config URL: file:/E:/Polimi/Project%202012/SW/CheapVacationProject/jboss-5.1.0.GA/server/default/conf/
18:57:26,903 INFO [ServerImpl] Server Home Dir: E:\Polimi\Project 2012\SW\CheapVacationProject\jboss-5.1.0.GA\server\default
18:57:26,903 INFO [ServerImpl] Server Home URL: file:/E:/Polimi/Project%202012/SW/CheapVacationProject/jboss-5.1.0.GA/server/default/
18:57:26,903 INFO [ServerImpl] Server Data Dir: E:\Polimi\Project 2012\SW\CheapVacationProject\jboss-5.1.0.GA\server\default\data
18:57:26,903 INFO [ServerImpl] Server Library URL: file:/E:/Polimi/Project%202012/SW/CheapVacationProject/jboss-5.1.0.GA/server/default/lib/
18:57:26,904 INFO [ServerImpl] Server Log Dir: E:\Polimi\Project 2012\SW\CheapVacationProject\jboss-5.1.0.GA\server\default\log
18:57:26,904 INFO [ServerImpl] Server Native Dir: E:\Polimi\Project 2012\SW\CheapVacationProject\jboss-5.1.0.GA\server\default\tmp\native
18:57:26,904 INFO [ServerImpl] Server Temp Dir: E:\Polimi\Project 2012\SW\CheapVacationProject\jboss-5.1.0.GA\server\default\tmp
18:57:26,904 INFO [ServerImpl] Server Temp Deploy Dir: E:\Polimi\Project 2012\SW\CheapVacationProject\jboss-5.1.0.GA\server\default\tmp\deploy
18:57:27,359 INFO [ServerImpl] Starting Microcontainer, bootstrapURL=file:/E:/Polimi/Project%202012/SW/CheapVacationProject/jboss-5.1.0.GA/server/default/conf/bootstrap.xml
18:57:27,757 INFO [VFSCacheFactory] Initializing VFSCache [org.jboss.virtual.plugins.cache.CombinedVFSCache]
18:57:27,759 INFO [VFSCacheFactory] Using VFSCache [CombinedVFSCache[real-cache: null]]
18:57:27,918 INFO [CopyMechanism] VFS temp dir: E:\Polimi\Project 2012\SW\CheapVacationProject\jboss-5.1.0.GA\server\default\tmp
18:57:27,922 INFO [ZipEntryContext] VFS force nested jars copy-mode is enabled.
18:57:28,600 INFO [ServerInfo] Java version: 1.7.0,Oracle Corporation
18:57:28,600 INFO [ServerInfo] Java Runtime: Java(TM) SE Runtime Environment (build 1.7.0-b147)
18:57:28,600 INFO [ServerInfo] Java VM: Java HotSpot(TM) Client VM 21.0-b17,Oracle Corporation
18:57:28,600 INFO [ServerInfo] OS-System: Windows 7 6.1,x86
18:57:28,601 INFO [ServerInfo] VM arguments: -Dprogram.name=run.bat -Xms128m -Xmx512m -XX:MaxPermSize=256m -Dfile.encoding=Cp1252
18:57:28,622 INFO [JMXKernel] Legacy JMX core initialized
18:57:29,608 INFO [ProfileServiceBootstrap] Loading profile: ProfileKey@ba428e[domain=default, server=default, name=default]
18:57:30,442 INFO [WebService] Using RMI server codebase: http://127.0.0.1:8083/
18:57:34,023 INFO [NativeServerConfig] JBoss Web Services - Stack Native Core
18:57:34,023 INFO [NativeServerConfig] 3.1.2.GA
18:57:34,305 INFO [AttributeCallbackItem] Owner callback not implemented.
18:57:35,358 INFO [LogNotificationListener] Adding notification listener for logging mbean "jboss.system:service=Logging,type=Log4jService" to server org.jboss.mx.server.MBeanServerImpl@70a698[ defaultDomain='jboss' ]
18:57:41,793 INFO [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext@16685747{vfszip:/E:/Polimi/Project%202012/SW/CheapVacationProject/jboss-5.1.0.GA/server/default/deploy/CheapVacation-EJB.jar/}
18:57:41,794 INFO [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext@16685747{vfszip:/E:/Polimi/Project%202012/SW/CheapVacationProject/jboss-5.1.0.GA/server/default/deploy/CheapVacation-EJB.jar/}
18:57:41,795 INFO [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext@27596777{vfsfile:/E:/Polimi/Project%202012/SW/CheapVacationProject/jboss-5.1.0.GA/server/default/deploy/profileservice-secured.jar/}
18:57:41,796 INFO [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext@27596777{vfsfile:/E:/Polimi/Project%202012/SW/CheapVacationProject/jboss-5.1.0.GA/server/default/deploy/profileservice-secured.jar/}
18:57:41,796 INFO [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext@27596777{vfsfile:/E:/Polimi/Project%202012/SW/CheapVacationProject/jboss-5.1.0.GA/server/default/deploy/profileservice-secured.jar/}
18:57:41,796 INFO [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext@27596777{vfsfile:/E:/Polimi/Project%202012/SW/CheapVacationProject/jboss-5.1.0.GA/server/default/deploy/profileservice-secured.jar/}
18:57:43,926 INFO [JMXConnectorServerService] JMX Connector server: service:jmx:rmi://127.0.0.1/jndi/rmi://127.0.0.1:1090/jmxconnector
18:57:44,025 INFO [MailService] Mail Service bound to java:/Mail
18:57:45,986 WARN [JBossASSecurityMetadataStore] WARNING! POTENTIAL SECURITY RISK. It has been detected that the MessageSucker component which sucks messages from one node to another has not had its password changed from the installation default. Please see the JBoss Messaging user guide for instructions on how to do this.
18:57:46,000 WARN [AnnotationCreator] No ClassLoader provided, using TCCL: org.jboss.managed.api.annotation.ManagementComponent
18:57:46,058 WARN [AnnotationCreator] No ClassLoader provided, using TCCL: org.jboss.managed.api.annotation.ManagementComponent
18:57:46,091 INFO [TransactionManagerService] JBossTS Transaction Service (JTA version - tag:JBOSSTS_4_6_1_GA) - JBoss Inc.
18:57:46,091 INFO [TransactionManagerService] Setting up property manager MBean and JMX layer
18:57:46,837 INFO [TransactionManagerService] Initializing recovery manager
18:57:46,935 INFO [TransactionManagerService] Recovery manager configured
18:57:46,935 INFO [TransactionManagerService] Binding TransactionManager JNDI Reference
18:57:46,956 INFO [TransactionManagerService] Starting transaction recovery manager
18:57:47,243 INFO [AprLifecycleListener] The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jre7\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:/Program Files/Java/jre7/bin/client;C:/Program Files/Java/jre7/bin;C:/Program Files/Java/jre7/lib/i386;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;c:\Program Files\WIDCOMM\Bluetooth Software\;C:\Program Files\Dell\DW WLAN Card;C:\Program Files\Common Files\Roxio Shared\DLLShared\;C:\Program Files\Common Files\Roxio Shared\10.0\DLLShared\;C:\Program Files\QuickTime\QTSystem\;C:\Program Files\Java\jdk1.6.0_21\bin;E:\Polimi\Project 2012\SW\CheapVacationProject\eclipse;;.
18:57:47,283 INFO [Http11Protocol] Initializing Coyote HTTP/1.1 on http-127.0.0.1-8080
18:57:47,285 INFO [AjpProtocol] Initializing Coyote AJP/1.3 on ajp-127.0.0.1-8009
18:57:47,299 INFO [StandardService] Starting service jboss.web
18:57:47,300 INFO [StandardEngine] Starting Servlet Engine: JBoss Web/2.1.3.GA
18:57:47,334 INFO [Catalina] Server startup in 48 ms
18:57:47,351 INFO [TomcatDeployment] deploy, ctxPath=/invoker
18:57:47,687 INFO [TomcatDeployment] deploy, ctxPath=/jbossws
18:57:47,711 INFO [TomcatDeployment] deploy, ctxPath=/web-console
18:57:47,947 INFO [RARDeployment] Required license terms exist, view vfszip:/E:/Polimi/Project 2012/SW/CheapVacationProject/jboss-5.1.0.GA/server/default/deploy/jboss-local-jdbc.rar/META-INF/ra.xml
18:57:47,959 INFO [RARDeployment] Required license terms exist, view vfszip:/E:/Polimi/Project 2012/SW/CheapVacationProject/jboss-5.1.0.GA/server/default/deploy/jboss-xa-jdbc.rar/META-INF/ra.xml
18:57:47,975 INFO [RARDeployment] Required license terms exist, view vfszip:/E:/Polimi/Project 2012/SW/CheapVacationProject/jboss-5.1.0.GA/server/default/deploy/jms-ra.rar/META-INF/ra.xml
18:57:47,990 INFO [RARDeployment] Required license terms exist, view vfszip:/E:/Polimi/Project 2012/SW/CheapVacationProject/jboss-5.1.0.GA/server/default/deploy/mail-ra.rar/META-INF/ra.xml
18:57:48,007 INFO [RARDeployment] Required license terms exist, view vfszip:/E:/Polimi/Project 2012/SW/CheapVacationProject/jboss-5.1.0.GA/server/default/deploy/quartz-ra.rar/META-INF/ra.xml
18:57:48,114 INFO [SimpleThreadPool] Job execution threads will use class loader of thread: main
18:57:48,135 INFO [QuartzScheduler] Quartz Scheduler v.1.5.2 created.
18:57:48,137 INFO [RAMJobStore] RAMJobStore initialized.
18:57:48,137 INFO [StdSchedulerFactory] Quartz scheduler 'DefaultQuartzScheduler' initialized from default resource file in Quartz package: 'quartz.properties'
18:57:48,137 INFO [StdSchedulerFactory] Quartz scheduler version: 1.5.2
18:57:48,138 INFO [QuartzScheduler] Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED started.
18:57:48,971 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI name 'java:DefaultDS'
18:57:49,291 INFO [ServerPeer] JBoss Messaging 1.4.3.GA server [0] started
18:57:49,349 INFO [ConnectionFactoryJNDIMapper] supportsFailover attribute is true on connection factory: jboss.messaging.connectionfactory:service=ClusteredConnectionFactory but post office is non clustered. So connection factory will *not* support failover
18:57:49,349 INFO [ConnectionFactoryJNDIMapper] supportsLoadBalancing attribute is true on connection factory: jboss.messaging.connectionfactory:service=ClusteredConnectionFactory but post office is non clustered. So connection factory will *not* support load balancing
18:57:49,383 INFO [ConnectionFactory] Connector bisocket://127.0.0.1:4457 has leasing enabled, lease period 10000 milliseconds
18:57:49,383 INFO [ConnectionFactory] org.jboss.jms.server.connectionfactory.ConnectionFactory@27b4a4 started
18:57:49,393 INFO [QueueService] Queue[/queue/DLQ] started, fullSize=200000, pageSize=2000, downCacheSize=2000
18:57:49,395 INFO [ConnectionFactory] Connector bisocket://127.0.0.1:4457 has leasing enabled, lease period 10000 milliseconds
18:57:49,395 INFO [ConnectionFactory] org.jboss.jms.server.connectionfactory.ConnectionFactory@1132660 started
18:57:49,397 INFO [QueueService] Queue[/queue/ExpiryQueue] started, fullSize=200000, pageSize=2000, downCacheSize=2000
18:57:49,397 INFO [ConnectionFactory] Connector bisocket://127.0.0.1:4457 has leasing enabled, lease period 10000 milliseconds
18:57:49,398 INFO [ConnectionFactory] org.jboss.jms.server.connectionfactory.ConnectionFactory@1f7d9f1 started
18:57:49,469 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name 'java:JmsXA'
18:57:49,668 INFO [JBossASKernel] Created KernelDeployment for: CheapVacation-EJB.jar
18:57:49,670 INFO [JBossASKernel] installing bean: jboss.j2ee:jar=CheapVacation-EJB.jar,name=HotelBean,service=EJB3
18:57:49,671 INFO [JBossASKernel] with dependencies:
18:57:49,671 INFO [JBossASKernel] and demands:
18:57:49,671 INFO [JBossASKernel] jboss.ejb:service=EJBTimerService
18:57:49,671 INFO [JBossASKernel] persistence.unit:unitName=#cheapvacationdb
18:57:49,671 INFO [JBossASKernel] and supplies:
18:57:49,671 INFO [JBossASKernel] jndi:SessionHotelRemote
18:57:49,671 INFO [JBossASKernel] Class:cheapvacationdb.Remote.SessionHotelRemote
18:57:49,671 INFO [JBossASKernel] jndi:HotelBean/remote-cheapvacationdb.Remote.SessionHotelRemote
18:57:49,671 INFO [JBossASKernel] jndi:HotelBean/remote
18:57:49,671 INFO [JBossASKernel] Added bean(jboss.j2ee:jar=CheapVacation-EJB.jar,name=HotelBean,service=EJB3) to KernelDeployment of: CheapVacation-EJB.jar
18:57:49,676 INFO [EJB3EndpointDeployer] Deploy AbstractBeanMetaData@1807718{name=jboss.j2ee:jar=CheapVacation-EJB.jar,name=HotelBean,service=EJB3_endpoint bean=org.jboss.ejb3.endpoint.deployers.impl.EndpointImpl properties=[container] constructor=null autowireCandidate=true}
18:57:49,713 INFO [PersistenceUnitDeployment] Starting persistence unit persistence.unit:unitName=#cheapvacationdb
18:57:49,759 INFO [Version] Hibernate Annotations 3.4.0.GA
18:57:49,773 INFO [Environment] Hibernate 3.3.1.GA
18:57:49,778 INFO [Environment] hibernate.properties not found
18:57:49,781 INFO [Environment] Bytecode provider name : javassist
18:57:49,785 INFO [Environment] using JDK 1.4 java.sql.Timestamp handling
18:57:49,847 INFO [Version] Hibernate Commons Annotations 3.1.0.GA
18:57:49,850 INFO [Version] Hibernate EntityManager 3.4.0.GA
18:57:49,873 INFO [Ejb3Configuration] Processing PersistenceUnitInfo [
name: cheapvacationdb
...]
18:57:49,887 WARN [Ejb3Configuration] Persistence provider caller does not implement the EJB3 spec correctly. PersistenceUnitInfo.getNewTempClassLoader() is null.
18:57:49,942 INFO [AnnotationBinder] Binding entity from annotated class: cheapvacationdb.Entity.Hotel
18:57:49,982 INFO [EntityBinder] Bind entity cheapvacationdb.Entity.Hotel on table HOTEL
18:57:50,516 INFO [Version] Hibernate Validator 3.1.0.GA
18:57:50,554 INFO [HibernateSearchEventListenerRegister] Unable to find org.hibernate.search.event.FullTextIndexEventListener on the classpath. Hibernate Search is not enabled.
18:57:50,611 INFO [ConnectionProviderFactory] Initializing connection provider: org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider
18:57:50,615 INFO [InjectedDataSourceConnectionProvider] Using provided datasource
18:57:50,619 INFO [SettingsFactory] RDBMS: HSQL Database Engine, version: 1.8.0
18:57:50,619 INFO [SettingsFactory] JDBC driver: HSQL Database Engine Driver, version: 1.8.0
18:57:50,638 INFO [Dialect] Using dialect: org.hibernate.dialect.MySQLInnoDBDialect
18:57:50,642 INFO [TransactionFactoryFactory] Transaction strategy: org.hibernate.ejb.transaction.JoinableCMTTransactionFactory
18:57:50,645 INFO [TransactionManagerLookupFactory] instantiating TransactionManagerLookup: org.hibernate.transaction.JBossTransactionManagerLookup
18:57:50,646 INFO [TransactionManagerLookupFactory] instantiated TransactionManagerLookup
18:57:50,646 INFO [SettingsFactory] Automatic flush during beforeCompletion(): disabled
18:57:50,646 INFO [SettingsFactory] Automatic session close at end of transaction: disabled
18:57:50,646 INFO [SettingsFactory] JDBC batch size: 15
18:57:50,646 INFO [SettingsFactory] JDBC batch updates for versioned data: disabled
18:57:50,647 INFO [SettingsFactory] Scrollable result sets: enabled
18:57:50,647 INFO [SettingsFactory] JDBC3 getGeneratedKeys(): disabled
18:57:50,647 INFO [SettingsFactory] Connection release mode: auto
18:57:50,648 INFO [SettingsFactory] Maximum outer join fetch depth: 2
18:57:50,651 INFO [SettingsFactory] Default batch fetch size: 1
18:57:50,651 INFO [SettingsFactory] Generate SQL with comments: disabled
18:57:50,651 INFO [SettingsFactory] Order SQL updates by primary key: disabled
18:57:50,651 INFO [SettingsFactory] Order SQL inserts for batching: disabled
18:57:50,651 INFO [SettingsFactory] Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory
18:57:50,654 INFO [ASTQueryTranslatorFactory] Using ASTQueryTranslatorFactory
18:57:50,654 INFO [SettingsFactory] Query language substitutions: {}
18:57:50,654 INFO [SettingsFactory] JPA-QL strict compliance: enabled
18:57:50,654 INFO [SettingsFactory] Second-level cache: enabled
18:57:50,654 INFO [SettingsFactory] Query cache: disabled
18:57:50,660 INFO [SettingsFactory] Cache region factory : org.hibernate.cache.impl.bridge.RegionFactoryCacheProviderBridge
18:57:50,660 INFO [RegionFactoryCacheProviderBridge] Cache provider: org.hibernate.cache.HashtableCacheProvider
18:57:50,661 INFO [SettingsFactory] Optimize cache for minimal puts: disabled
18:57:50,661 INFO [SettingsFactory] Cache region prefix: persistence.unit:unitName=#cheapvacationdb
18:57:50,661 INFO [SettingsFactory] Structured second-level cache entries: disabled
18:57:50,667 INFO [SettingsFactory] Statistics: disabled
18:57:50,667 INFO [SettingsFactory] Deleted entity synthetic identifier rollback: disabled
18:57:50,668 INFO [SettingsFactory] Default entity-mode: pojo
18:57:50,668 INFO [SettingsFactory] Named query checking : enabled
18:57:50,709 INFO [SessionFactoryImpl] building session factory
18:57:50,872 INFO [SessionFactoryObjectFactory] Factory name: persistence.unit:unitName=#cheapvacationdb
18:57:50,874 INFO [NamingHelper] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces}
18:57:50,877 INFO [SessionFactoryObjectFactory] Bound factory to JNDI name: persistence.unit:unitName=#cheapvacationdb
18:57:50,878 WARN [SessionFactoryObjectFactory] InitialContext did not implement EventContext
18:57:50,887 INFO [SchemaExport] Running hbm2ddl schema export
18:57:50,888 INFO [SchemaExport] exporting generated schema to database
18:57:50,889 ERROR [SchemaExport] Unsuccessful: create table HOTEL (HOTEL_ID bigint not null auto_increment, Address varchar(255), DayStay varchar(255), Price varchar(255), Star varchar(255), hotelName varchar(255), primary key (HOTEL_ID)) type=InnoDB
18:57:50,889 ERROR [SchemaExport] Unexpected token: AUTO_INCREMENT in statement [create table HOTEL (HOTEL_ID bigint not null auto_increment]
18:57:50,890 INFO [SchemaExport] schema export complete
18:57:50,892 INFO [NamingHelper] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces}
18:57:50,929 INFO [SessionSpecContainer] Starting jboss.j2ee:jar=CheapVacation-EJB.jar,name=HotelBean,service=EJB3
18:57:50,938 INFO [EJBContainer] STARTED EJB: cheapvacationdb.Session.HotelBean ejbName: HotelBean
18:57:50,985 INFO [JndiSessionRegistrarBase] Binding the following Entries in Global JNDI:
SessionHotelRemote - EJB3.x Default Remote Business Interface
HotelBean/remote-cheapvacationdb.Remote.SessionHotelRemote - EJB3.x Remote Business Interface
18:57:51,149 INFO [JBossASKernel] Created KernelDeployment for: profileservice-secured.jar
18:57:51,149 INFO [JBossASKernel] installing bean: jboss.j2ee:jar=profileservice-secured.jar,name=SecureProfileService,service=EJB3
18:57:51,149 INFO [JBossASKernel] with dependencies:
18:57:51,149 INFO [JBossASKernel] and demands:
18:57:51,149 INFO [JBossASKernel] jndi:SecureManagementView/remote-org.jboss.deployers.spi.management.ManagementView
18:57:51,149 INFO [JBossASKernel] jboss.ejb:service=EJBTimerService
18:57:51,149 INFO [JBossASKernel] and supplies:
18:57:51,149 INFO [JBossASKernel] Class:org.jboss.profileservice.spi.ProfileService
18:57:51,149 INFO [JBossASKernel] jndi:SecureProfileService/remote
18:57:51,149 INFO [JBossASKernel] jndi:SecureProfileService/remote-org.jboss.profileservice.spi.ProfileService
18:57:51,149 INFO [JBossASKernel] Added bean(jboss.j2ee:jar=profileservice-secured.jar,name=SecureProfileService,service=EJB3) to KernelDeployment of: profileservice-secured.jar
18:57:51,150 INFO [JBossASKernel] installing bean: jboss.j2ee:jar=profileservice-secured.jar,name=SecureDeploymentManager,service=EJB3
18:57:51,150 INFO [JBossASKernel] with dependencies:
18:57:51,150 INFO [JBossASKernel] and demands:
18:57:51,150 INFO [JBossASKernel] jboss.ejb:service=EJBTimerService
18:57:51,150 INFO [JBossASKernel] and supplies:
18:57:51,150 INFO [JBossASKernel] jndi:SecureDeploymentManager/remote-org.jboss.deployers.spi.management.deploy.DeploymentManager
18:57:51,151 INFO [JBossASKernel] Class:org.jboss.deployers.spi.management.deploy.DeploymentManager
18:57:51,151 INFO [JBossASKernel] jndi:SecureDeploymentManager/remote
18:57:51,151 INFO [JBossASKernel] Added bean(jboss.j2ee:jar=profileservice-secured.jar,name=SecureDeploymentManager,service=EJB3) to KernelDeployment of: profileservice-secured.jar
18:57:51,151 INFO [JBossASKernel] installing bean: jboss.j2ee:jar=profileservice-secured.jar,name=SecureManagementView,service=EJB3
18:57:51,151 INFO [JBossASKernel] with dependencies:
18:57:51,151 INFO [JBossASKernel] and demands:
18:57:51,151 INFO [JBossASKernel] jboss.ejb:service=EJBTimerService
18:57:51,151 INFO [JBossASKernel] and supplies:
18:57:51,151 INFO [JBossASKernel] jndi:SecureManagementView/remote-org.jboss.deployers.spi.management.ManagementView
18:57:51,151 INFO [JBossASKernel] Class:org.jboss.deployers.spi.management.ManagementView
18:57:51,151 INFO [JBossASKernel] jndi:SecureManagementView/remote
18:57:51,152 INFO [JBossASKernel] Added bean(jboss.j2ee:jar=profileservice-secured.jar,name=SecureManagementView,service=EJB3) to KernelDeployment of: profileservice-secured.jar
18:57:51,152 INFO [EJB3EndpointDeployer] Deploy AbstractBeanMetaData@8c4f1{name=jboss.j2ee:jar=profileservice-secured.jar,name=SecureProfileService,service=EJB3_endpoint bean=org.jboss.ejb3.endpoint.deployers.impl.EndpointImpl properties=[container] constructor=null autowireCandidate=true}
18:57:51,152 INFO [EJB3EndpointDeployer] Deploy AbstractBeanMetaData@57282c{name=jboss.j2ee:jar=profileservice-secured.jar,name=SecureDeploymentManager,service=EJB3_endpoint bean=org.jboss.ejb3.endpoint.deployers.impl.EndpointImpl properties=[container] constructor=null autowireCandidate=true}
18:57:51,153 INFO [EJB3EndpointDeployer] Deploy AbstractBeanMetaData@114a12e{name=jboss.j2ee:jar=profileservice-secured.jar,name=SecureManagementView,service=EJB3_endpoint bean=org.jboss.ejb3.endpoint.deployers.impl.EndpointImpl properties=[container] constructor=null autowireCandidate=true}
18:57:51,188 INFO [SessionSpecContainer] Starting jboss.j2ee:jar=profileservice-secured.jar,name=SecureDeploymentManager,service=EJB3
18:57:51,189 INFO [EJBContainer] STARTED EJB: org.jboss.profileservice.ejb.SecureDeploymentManager ejbName: SecureDeploymentManager
18:57:51,197 INFO [JndiSessionRegistrarBase] Binding the following Entries in Global JNDI:
SecureDeploymentManager/remote - EJB3.x Default Remote Business Interface
SecureDeploymentManager/remote-org.jboss.deployers.spi.management.deploy.DeploymentManager - EJB3.x Remote Business Interface
18:57:51,253 INFO [SessionSpecContainer] Starting jboss.j2ee:jar=profileservice-secured.jar,name=SecureManagementView,service=EJB3
18:57:51,254 INFO [EJBContainer] STARTED EJB: org.jboss.profileservice.ejb.SecureManagementView ejbName: SecureManagementView
18:57:51,263 INFO [JndiSessionRegistrarBase] Binding the following Entries in Global JNDI:
SecureManagementView/remote - EJB3.x Default Remote Business Interface
SecureManagementView/remote-org.jboss.deployers.spi.management.ManagementView - EJB3.x Remote Business Interface
18:57:51,292 INFO [SessionSpecContainer] Starting jboss.j2ee:jar=profileservice-secured.jar,name=SecureProfileService,service=EJB3
18:57:51,293 INFO [EJBContainer] STARTED EJB: org.jboss.profileservice.ejb.SecureProfileServiceBean ejbName: SecureProfileService
18:57:51,302 INFO [JndiSessionRegistrarBase] Binding the following Entries in Global JNDI:
SecureProfileService/remote - EJB3.x Default Remote Business Interface
SecureProfileService/remote-org.jboss.profileservice.spi.ProfileService - EJB3.x Remote Business Interface
18:57:51,393 INFO [TomcatDeployment] deploy, ctxPath=/admin-console
18:57:51,457 INFO [config] Initializing Mojarra (1.2_12-b01-FCS) for context '/admin-console'
18:57:53,272 INFO [TomcatDeployment] deploy, ctxPath=/
18:57:53,334 INFO [TomcatDeployment] deploy, ctxPath=/jmx-console
18:57:53,402 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-127.0.0.1-8080
18:57:53,424 INFO [AjpProtocol] Starting Coyote AJP/1.3 on ajp-127.0.0.1-8009
18:57:53,431 INFO [ServerImpl] JBoss (Microcontainer) [5.1.0.GA (build: SVNTag=JBoss_5_1_0_GA date=200905221053)] Started in 26s:525ms
18:58:52,648 INFO [SessionSpecContainer] Stopping jboss.j2ee:jar=CheapVacation-EJB.jar,name=HotelBean,service=EJB3
18:58:52,654 INFO [EJBContainer] STOPPED EJB: cheapvacationdb.Session.HotelBean ejbName: HotelBean
18:58:52,677 INFO [PersistenceUnitDeployment] Stopping persistence unit persistence.unit:unitName=#cheapvacationdb
18:58:52,677 INFO [SessionFactoryImpl] closing
18:58:52,677 INFO [SchemaExport] Running hbm2ddl schema export
18:58:52,677 INFO [SchemaExport] exporting generated schema to database
18:58:52,678 INFO [SchemaExport] schema export complete
18:58:52,678 INFO [SessionFactoryObjectFactory] Unbinding factory from JNDI name: persistence.unit:unitName=#cheapvacationdb
18:58:52,678 INFO [NamingHelper] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces}
18:58:52,679 INFO [SessionFactoryObjectFactory] Unbound factory from JNDI name: persistence.unit:unitName=#cheapvacationdb
18:58:52,718 INFO [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext@8037220{vfszip:/E:/Polimi/Project%202012/SW/CheapVacationProject/jboss-5.1.0.GA/server/default/deploy/CheapVacation-EJB.jar/}
18:58:52,718 INFO [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext@8037220{vfszip:/E:/Polimi/Project%202012/SW/CheapVacationProject/jboss-5.1.0.GA/server/default/deploy/CheapVacation-EJB.jar/}
18:58:52,724 INFO [JBossASKernel] Created KernelDeployment for: CheapVacation-EJB.jar
18:58:52,724 INFO [JBossASKernel] installing bean: jboss.j2ee:jar=CheapVacation-EJB.jar,name=HotelBean,service=EJB3
18:58:52,724 INFO [JBossASKernel] with dependencies:
18:58:52,724 INFO [JBossASKernel] and demands:
18:58:52,724 INFO [JBossASKernel] jboss.ejb:service=EJBTimerService
18:58:52,724 INFO [JBossASKernel] persistence.unit:unitName=#cheapvacationdb
18:58:52,724 INFO [JBossASKernel] and supplies:
18:58:52,724 INFO [JBossASKernel] jndi:SessionHotelRemote
18:58:52,724 INFO [JBossASKernel] Class:cheapvacationdb.Remote.SessionHotelRemote
18:58:52,724 INFO [JBossASKernel] jndi:HotelBean/remote-cheapvacationdb.Remote.SessionHotelRemote
18:58:52,725 INFO [JBossASKernel] jndi:HotelBean/remote
18:58:52,725 INFO [JBossASKernel] Added bean(jboss.j2ee:jar=CheapVacation-EJB.jar,name=HotelBean,service=EJB3) to KernelDeployment of: CheapVacation-EJB.jar
18:58:52,725 INFO [EJB3EndpointDeployer] Deploy AbstractBeanMetaData@7f250b{name=jboss.j2ee:jar=CheapVacation-EJB.jar,name=HotelBean,service=EJB3_endpoint bean=org.jboss.ejb3.endpoint.deployers.impl.EndpointImpl properties=[container] constructor=null autowireCandidate=true}
18:58:52,739 INFO [PersistenceUnitDeployment] Starting persistence unit persistence.unit:unitName=#cheapvacationdb
18:58:52,740 INFO [Ejb3Configuration] Processing PersistenceUnitInfo [
name: cheapvacationdb
...]
18:58:52,741 WARN [Ejb3Configuration] Persistence provider caller does not implement the EJB3 spec correctly. PersistenceUnitInfo.getNewTempClassLoader() is null.
18:58:52,741 INFO [AnnotationBinder] Binding entity from annotated class: cheapvacationdb.Entity.Hotel
18:58:52,742 INFO [EntityBinder] Bind entity cheapvacationdb.Entity.Hotel on table HOTEL
18:58:52,751 INFO [HibernateSearchEventListenerRegister] Unable to find org.hibernate.search.event.FullTextIndexEventListener on the classpath. Hibernate Search is not enabled.
18:58:52,752 INFO [ConnectionProviderFactory] Initializing connection provider: org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider
18:58:52,752 INFO [InjectedDataSourceConnectionProvider] Using provided datasource
18:58:52,753 INFO [SettingsFactory] RDBMS: HSQL Database Engine, version: 1.8.0
18:58:52,753 INFO [SettingsFactory] JDBC driver: HSQL Database Engine Driver, version: 1.8.0
18:58:52,757 INFO [Dialect] Using dialect: org.hibernate.dialect.HSQLDialect
18:58:52,759 INFO [TransactionFactoryFactory] Transaction strategy: org.hibernate.ejb.transaction.JoinableCMTTransactionFactory
18:58:52,760 INFO [TransactionManagerLookupFactory] instantiating TransactionManagerLookup: org.hibernate.transaction.JBossTransactionManagerLookup
18:58:52,760 INFO [TransactionManagerLookupFactory] instantiated TransactionManagerLookup
18:58:52,760 INFO [SettingsFactory] Automatic flush during beforeCompletion(): disabled
18:58:52,760 INFO [SettingsFactory] Automatic session close at end of transaction: disabled
18:58:52,760 INFO [SettingsFactory] JDBC batch size: 15
18:58:52,760 INFO [SettingsFactory] JDBC batch updates for versioned data: disabled
18:58:52,760 INFO [SettingsFactory] Scrollable result sets: enabled
18:58:52,760 INFO [SettingsFactory] JDBC3 getGeneratedKeys(): disabled
18:58:52,760 INFO [SettingsFactory] Connection release mode: auto
18:58:52,760 INFO [SettingsFactory] Default batch fetch size: 1
18:58:52,760 INFO [SettingsFactory] Generate SQL with comments: disabled
18:58:52,760 INFO [SettingsFactory] Order SQL updates by primary key: disabled
18:58:52,760 INFO [SettingsFactory] Order SQL inserts for batching: disabled
18:58:52,761 INFO [SettingsFactory] Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory
18:58:52,761 INFO [ASTQueryTranslatorFactory] Using ASTQueryTranslatorFactory
18:58:52,761 INFO [SettingsFactory] Query language substitutions: {}
18:58:52,761 INFO [SettingsFactory] JPA-QL strict compliance: enabled
18:58:52,761 INFO [SettingsFactory] Second-level cache: enabled
18:58:52,761 INFO [SettingsFactory] Query cache: disabled
18:58:52,761 INFO [SettingsFactory] Cache region factory : org.hibernate.cache.impl.bridge.RegionFactoryCacheProviderBridge
18:58:52,761 INFO [RegionFactoryCacheProviderBridge] Cache provider: org.hibernate.cache.HashtableCacheProvider
18:58:52,761 INFO [SettingsFactory] Optimize cache for minimal puts: disabled
18:58:52,761 INFO [SettingsFactory] Cache region prefix: persistence.unit:unitName=#cheapvacationdb
18:58:52,773 INFO [SettingsFactory] Structured second-level cache entries: disabled
18:58:52,776 INFO [SettingsFactory] Statistics: disabled
18:58:52,778 INFO [SettingsFactory] Deleted entity synthetic identifier rollback: disabled
18:58:52,778 INFO [SettingsFactory] Default entity-mode: pojo
18:58:52,778 INFO [SettingsFactory] Named query checking : enabled
18:58:52,785 INFO [SessionFactoryImpl] building session factory
18:58:52,790 INFO [SessionFactoryObjectFactory] Factory name: persistence.unit:unitName=#cheapvacationdb
18:58:52,790 INFO [NamingHelper] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces}
18:58:52,799 INFO [SessionFactoryObjectFactory] Bound factory to JNDI name: persistence.unit:unitName=#cheapvacationdb
18:58:52,799 WARN [SessionFactoryObjectFactory] InitialContext did not implement EventContext
18:58:52,800 INFO [SchemaExport] Running hbm2ddl schema export
18:58:52,801 INFO [SchemaExport] exporting generated schema to database
18:58:52,801 INFO [SchemaExport] schema export complete
18:58:52,802 INFO [NamingHelper] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces}
18:58:52,832 INFO [SessionSpecContainer] Starting jboss.j2ee:jar=CheapVacation-EJB.jar,name=HotelBean,service=EJB3
18:58:52,833 INFO [EJBContainer] STARTED EJB: cheapvacationdb.Session.HotelBean ejbName: HotelBean
18:58:52,853 INFO [JndiSessionRegistrarBase] Binding the following Entries in Global JNDI:
SessionHotelRemote - EJB3.x Default Remote Business Interface
HotelBean/remote-cheapvacationdb.Remote.SessionHotelRemote - EJB3.x Remote Business Interface
19:00:58,270 WARN [InterceptorsFactory] EJBTHREE-1246: Do not use InterceptorsFactory with a ManagedObjectAdvisor, InterceptorRegistry should be used via the bean container
19:00:58,271 WARN [InterceptorsFactory] EJBTHREE-1246: Do not use InterceptorsFactory with a ManagedObjectAdvisor, InterceptorRegistry should be used via the bean container
19:00:58,371 INFO [STDOUT] try
-
persistence.xml 580 bytes
-
mysql-DS.xml 566 bytes