[2013-09-27T11:35:27.301+0900] [glassfish 4.0] [INFO] [] [javax.enterprise.system.tools.deployment.common] [tid: _ThreadID=41 _ThreadName=admin-listener(3)] [timeMillis: 1380249327301] [levelValue: 800] [[ visiting unvisited references]] [2013-09-27T11:35:27.707+0900] [glassfish 4.0] [INFO] [] [javax.enterprise.system.tools.deployment.common] [tid: _ThreadID=41 _ThreadName=admin-listener(3)] [timeMillis: 1380249327707] [levelValue: 800] [[ visiting unvisited references]] [2013-09-27T11:35:27.785+0900] [glassfish 4.0] [INFO] [] [javax.enterprise.system.tools.deployment.common] [tid: _ThreadID=41 _ThreadName=admin-listener(3)] [timeMillis: 1380249327785] [levelValue: 800] [[ visiting unvisited references]] [2013-09-27T11:35:27.863+0900] [glassfish 4.0] [INFO] [] [javax.enterprise.system.tools.deployment.common] [tid: _ThreadID=41 _ThreadName=admin-listener(3)] [timeMillis: 1380249327863] [levelValue: 800] [[ visiting unvisited references]] [2013-09-27T11:35:28.332+0900] [glassfish 4.0] [FINEST] [] [] [tid: _ThreadID=41 _ThreadName=admin-listener(3)] [timeMillis: 1380249328332] [levelValue: 300] [[ Begin predeploying Persistence Unit com.mycompany_startup-ejb-bug_war_1.0-SNAPSHOTPU; session file:/E:/NanjingJUG/glassfish-4.0.1-b02/glassfish4/glassfish/domains/domain1/applications/startup-ejb-bug-1.0-SNAPSHOT/WEB-INF/classes/_com.mycompany_startup-ejb-bug_war_1.0-SNAPSHOTPU; state Initial; factoryCount 0]] [2013-09-27T11:35:28.332+0900] [glassfish 4.0] [FINEST] [] [org.eclipse.persistence.session.file:/E:/NanjingJUG/glassfish-4.0.1-b02/glassfish4/glassfish/domains/domain1/applications/startup-ejb-bug-1.0-SNAPSHOT/WEB-INF/classes/_com.mycompany_startup-ejb-bug_war_1.0-SNAPSHOTPU.properties] [tid: _ThreadID=41 _ThreadName=admin-listener(3)] [timeMillis: 1380249328332] [levelValue: 300] [[ property=eclipselink.orm.throw.exceptions; default value=true]] [2013-09-27T11:35:28.332+0900] [glassfish 4.0] [FINEST] [] [org.eclipse.persistence.session.file:/E:/NanjingJUG/glassfish-4.0.1-b02/glassfish4/glassfish/domains/domain1/applications/startup-ejb-bug-1.0-SNAPSHOT/WEB-INF/classes/_com.mycompany_startup-ejb-bug_war_1.0-SNAPSHOTPU.properties] [tid: _ThreadID=41 _ThreadName=admin-listener(3)] [timeMillis: 1380249328332] [levelValue: 300] [[ property=eclipselink.weaving.changetracking; default value=true]] [2013-09-27T11:35:28.332+0900] [glassfish 4.0] [FINEST] [] [org.eclipse.persistence.session.file:/E:/NanjingJUG/glassfish-4.0.1-b02/glassfish4/glassfish/domains/domain1/applications/startup-ejb-bug-1.0-SNAPSHOT/WEB-INF/classes/_com.mycompany_startup-ejb-bug_war_1.0-SNAPSHOTPU.properties] [tid: _ThreadID=41 _ThreadName=admin-listener(3)] [timeMillis: 1380249328332] [levelValue: 300] [[ property=eclipselink.weaving.lazy; default value=true]] [2013-09-27T11:35:28.332+0900] [glassfish 4.0] [FINEST] [] [org.eclipse.persistence.session.file:/E:/NanjingJUG/glassfish-4.0.1-b02/glassfish4/glassfish/domains/domain1/applications/startup-ejb-bug-1.0-SNAPSHOT/WEB-INF/classes/_com.mycompany_startup-ejb-bug_war_1.0-SNAPSHOTPU.properties] [tid: _ThreadID=41 _ThreadName=admin-listener(3)] [timeMillis: 1380249328332] [levelValue: 300] [[ property=eclipselink.weaving.eager; default value=false]] [2013-09-27T11:35:28.332+0900] [glassfish 4.0] [FINEST] [] [org.eclipse.persistence.session.file:/E:/NanjingJUG/glassfish-4.0.1-b02/glassfish4/glassfish/domains/domain1/applications/startup-ejb-bug-1.0-SNAPSHOT/WEB-INF/classes/_com.mycompany_startup-ejb-bug_war_1.0-SNAPSHOTPU.properties] [tid: _ThreadID=41 _ThreadName=admin-listener(3)] [timeMillis: 1380249328332] [levelValue: 300] [[ property=eclipselink.weaving.fetchgroups; default value=true]] [2013-09-27T11:35:28.332+0900] [glassfish 4.0] [FINEST] [] [org.eclipse.persistence.session.file:/E:/NanjingJUG/glassfish-4.0.1-b02/glassfish4/glassfish/domains/domain1/applications/startup-ejb-bug-1.0-SNAPSHOT/WEB-INF/classes/_com.mycompany_startup-ejb-bug_war_1.0-SNAPSHOTPU.properties] [tid: _ThreadID=41 _ThreadName=admin-listener(3)] [timeMillis: 1380249328332] [levelValue: 300] [[ property=eclipselink.weaving.internal; default value=true]] [2013-09-27T11:35:28.332+0900] [glassfish 4.0] [FINEST] [] [org.eclipse.persistence.session.file:/E:/NanjingJUG/glassfish-4.0.1-b02/glassfish4/glassfish/domains/domain1/applications/startup-ejb-bug-1.0-SNAPSHOT/WEB-INF/classes/_com.mycompany_startup-ejb-bug_war_1.0-SNAPSHOTPU.properties] [tid: _ThreadID=41 _ThreadName=admin-listener(3)] [timeMillis: 1380249328332] [levelValue: 300] [[ property=eclipselink.weaving.rest; default value=true]] [2013-09-27T11:35:28.332+0900] [glassfish 4.0] [FINEST] [] [org.eclipse.persistence.session.file:/E:/NanjingJUG/glassfish-4.0.1-b02/glassfish4/glassfish/domains/domain1/applications/startup-ejb-bug-1.0-SNAPSHOT/WEB-INF/classes/_com.mycompany_startup-ejb-bug_war_1.0-SNAPSHOTPU.properties] [tid: _ThreadID=41 _ThreadName=admin-listener(3)] [timeMillis: 1380249328332] [levelValue: 300] [[ property=eclipselink.multitenant.tenants-share-emf; default value=true]] [2013-09-27T11:35:28.332+0900] [glassfish 4.0] [FINEST] [] [org.eclipse.persistence.session.file:/E:/NanjingJUG/glassfish-4.0.1-b02/glassfish4/glassfish/domains/domain1/applications/startup-ejb-bug-1.0-SNAPSHOT/WEB-INF/classes/_com.mycompany_startup-ejb-bug_war_1.0-SNAPSHOTPU.properties] [tid: _ThreadID=41 _ThreadName=admin-listener(3)] [timeMillis: 1380249328332] [levelValue: 300] [[ property=eclipselink.multitenant.tenants-share-cache; default value=false]] [2013-09-27T11:35:28.332+0900] [glassfish 4.0] [FINER] [] [org.eclipse.persistence.session.file:/E:/NanjingJUG/glassfish-4.0.1-b02/glassfish4/glassfish/domains/domain1/applications/startup-ejb-bug-1.0-SNAPSHOT/WEB-INF/classes/_com.mycompany_startup-ejb-bug_war_1.0-SNAPSHOTPU.metadata] [tid: _ThreadID=41 _ThreadName=admin-listener(3)] [timeMillis: 1380249328332] [levelValue: 400] [[ Searching for default mapping file in file:/E:/NanjingJUG/glassfish-4.0.1-b02/glassfish4/glassfish/domains/domain1/applications/startup-ejb-bug-1.0-SNAPSHOT/WEB-INF/classes/ (There is no English translation for this message.)]] [2013-09-27T11:35:28.332+0900] [glassfish 4.0] [FINER] [] [org.eclipse.persistence.session.file:/E:/NanjingJUG/glassfish-4.0.1-b02/glassfish4/glassfish/domains/domain1/applications/startup-ejb-bug-1.0-SNAPSHOT/WEB-INF/classes/_com.mycompany_startup-ejb-bug_war_1.0-SNAPSHOTPU.metadata] [tid: _ThreadID=41 _ThreadName=admin-listener(3)] [timeMillis: 1380249328332] [levelValue: 400] [[ Searching for default mapping file in file:/E:/NanjingJUG/glassfish-4.0.1-b02/glassfish4/glassfish/domains/domain1/applications/startup-ejb-bug-1.0-SNAPSHOT/WEB-INF/classes/ (There is no English translation for this message.)]] [2013-09-27T11:35:28.379+0900] [glassfish 4.0] [CONFIG] [] [org.eclipse.persistence.session.file:/E:/NanjingJUG/glassfish-4.0.1-b02/glassfish4/glassfish/domains/domain1/applications/startup-ejb-bug-1.0-SNAPSHOT/WEB-INF/classes/_com.mycompany_startup-ejb-bug_war_1.0-SNAPSHOTPU.metadata] [tid: _ThreadID=41 _ThreadName=admin-listener(3)] [timeMillis: 1380249328379] [levelValue: 700] [[ The access type for the persistent class [class com.mycompany.startup.ejb.bug.TestEntity] is set to [FIELD].]] [2013-09-27T11:35:28.379+0900] [glassfish 4.0] [CONFIG] [] [org.eclipse.persistence.session.file:/E:/NanjingJUG/glassfish-4.0.1-b02/glassfish4/glassfish/domains/domain1/applications/startup-ejb-bug-1.0-SNAPSHOT/WEB-INF/classes/_com.mycompany_startup-ejb-bug_war_1.0-SNAPSHOTPU.metadata] [tid: _ThreadID=41 _ThreadName=admin-listener(3)] [timeMillis: 1380249328379] [levelValue: 700] [[ The alias name for the entity class [class com.mycompany.startup.ejb.bug.TestEntity] is being defaulted to: TestEntity.]] [2013-09-27T11:35:28.379+0900] [glassfish 4.0] [CONFIG] [] [org.eclipse.persistence.session.file:/E:/NanjingJUG/glassfish-4.0.1-b02/glassfish4/glassfish/domains/domain1/applications/startup-ejb-bug-1.0-SNAPSHOT/WEB-INF/classes/_com.mycompany_startup-ejb-bug_war_1.0-SNAPSHOTPU.metadata] [tid: _ThreadID=41 _ThreadName=admin-listener(3)] [timeMillis: 1380249328379] [levelValue: 700] [[ The table name for entity [class com.mycompany.startup.ejb.bug.TestEntity] is being defaulted to: TESTENTITY.]] [2013-09-27T11:35:28.379+0900] [glassfish 4.0] [CONFIG] [] [org.eclipse.persistence.session.file:/E:/NanjingJUG/glassfish-4.0.1-b02/glassfish4/glassfish/domains/domain1/applications/startup-ejb-bug-1.0-SNAPSHOT/WEB-INF/classes/_com.mycompany_startup-ejb-bug_war_1.0-SNAPSHOTPU.metadata] [tid: _ThreadID=41 _ThreadName=admin-listener(3)] [timeMillis: 1380249328379] [levelValue: 700] [[ The column name for element [id] is being defaulted to: ID.]] [2013-09-27T11:35:28.379+0900] [glassfish 4.0] [CONFIG] [] [org.eclipse.persistence.session.file:/E:/NanjingJUG/glassfish-4.0.1-b02/glassfish4/glassfish/domains/domain1/applications/startup-ejb-bug-1.0-SNAPSHOT/WEB-INF/classes/_com.mycompany_startup-ejb-bug_war_1.0-SNAPSHOTPU.metadata] [tid: _ThreadID=41 _ThreadName=admin-listener(3)] [timeMillis: 1380249328379] [levelValue: 700] [[ The column name for element [data] is being defaulted to: DATA.]] [2013-09-27T11:35:28.379+0900] [glassfish 4.0] [FINER] [] [org.eclipse.persistence.session.file:/E:/NanjingJUG/glassfish-4.0.1-b02/glassfish4/glassfish/domains/domain1/applications/startup-ejb-bug-1.0-SNAPSHOT/WEB-INF/classes/_com.mycompany_startup-ejb-bug_war_1.0-SNAPSHOTPU.weaver] [tid: _ThreadID=41 _ThreadName=admin-listener(3)] [timeMillis: 1380249328379] [levelValue: 400] [[ Class [com.mycompany.startup.ejb.bug.TestEntity] registered to be processed by weaver.]] [2013-09-27T11:35:28.379+0900] [glassfish 4.0] [FINEST] [] [] [tid: _ThreadID=41 _ThreadName=admin-listener(3)] [timeMillis: 1380249328379] [levelValue: 300] [[ End predeploying Persistence Unit com.mycompany_startup-ejb-bug_war_1.0-SNAPSHOTPU; session file:/E:/NanjingJUG/glassfish-4.0.1-b02/glassfish4/glassfish/domains/domain1/applications/startup-ejb-bug-1.0-SNAPSHOT/WEB-INF/classes/_com.mycompany_startup-ejb-bug_war_1.0-SNAPSHOTPU; state Predeployed; factoryCount 1]] [2013-09-27T11:35:28.379+0900] [glassfish 4.0] [FINEST] [] [] [tid: _ThreadID=41 _ThreadName=admin-listener(3)] [timeMillis: 1380249328379] [levelValue: 300] [[ Begin deploying Persistence Unit com.mycompany_startup-ejb-bug_war_1.0-SNAPSHOTPU; session file:/E:/NanjingJUG/glassfish-4.0.1-b02/glassfish4/glassfish/domains/domain1/applications/startup-ejb-bug-1.0-SNAPSHOT/WEB-INF/classes/_com.mycompany_startup-ejb-bug_war_1.0-SNAPSHOTPU; state Predeployed; factoryCount 1]] [2013-09-27T11:35:28.379+0900] [glassfish 4.0] [FINEST] [] [org.eclipse.persistence.session.file:/E:/NanjingJUG/glassfish-4.0.1-b02/glassfish4/glassfish/domains/domain1/applications/startup-ejb-bug-1.0-SNAPSHOT/WEB-INF/classes/_com.mycompany_startup-ejb-bug_war_1.0-SNAPSHOTPU.weaver] [tid: _ThreadID=41 _ThreadName=admin-listener(3)] [timeMillis: 1380249328379] [levelValue: 300] [[ Begin weaver class transformer processing class [com/mycompany/startup/ejb/bug/TestEntity].]] [2013-09-27T11:35:28.410+0900] [glassfish 4.0] [FINEST] [] [org.eclipse.persistence.session.file:/E:/NanjingJUG/glassfish-4.0.1-b02/glassfish4/glassfish/domains/domain1/applications/startup-ejb-bug-1.0-SNAPSHOT/WEB-INF/classes/_com.mycompany_startup-ejb-bug_war_1.0-SNAPSHOTPU.weaver] [tid: _ThreadID=41 _ThreadName=admin-listener(3)] [timeMillis: 1380249328410] [levelValue: 300] [[ Weaved persistence (PersistenceEntity) [com/mycompany/startup/ejb/bug/TestEntity].]] [2013-09-27T11:35:28.410+0900] [glassfish 4.0] [FINEST] [] [org.eclipse.persistence.session.file:/E:/NanjingJUG/glassfish-4.0.1-b02/glassfish4/glassfish/domains/domain1/applications/startup-ejb-bug-1.0-SNAPSHOT/WEB-INF/classes/_com.mycompany_startup-ejb-bug_war_1.0-SNAPSHOTPU.weaver] [tid: _ThreadID=41 _ThreadName=admin-listener(3)] [timeMillis: 1380249328410] [levelValue: 300] [[ Weaved change tracking (ChangeTracker) [com/mycompany/startup/ejb/bug/TestEntity].]] [2013-09-27T11:35:28.410+0900] [glassfish 4.0] [FINEST] [] [org.eclipse.persistence.session.file:/E:/NanjingJUG/glassfish-4.0.1-b02/glassfish4/glassfish/domains/domain1/applications/startup-ejb-bug-1.0-SNAPSHOT/WEB-INF/classes/_com.mycompany_startup-ejb-bug_war_1.0-SNAPSHOTPU.weaver] [tid: _ThreadID=41 _ThreadName=admin-listener(3)] [timeMillis: 1380249328410] [levelValue: 300] [[ Weaved fetch groups (FetchGroupTracker) [com/mycompany/startup/ejb/bug/TestEntity].]] [2013-09-27T11:35:28.410+0900] [glassfish 4.0] [FINEST] [] [org.eclipse.persistence.session.file:/E:/NanjingJUG/glassfish-4.0.1-b02/glassfish4/glassfish/domains/domain1/applications/startup-ejb-bug-1.0-SNAPSHOT/WEB-INF/classes/_com.mycompany_startup-ejb-bug_war_1.0-SNAPSHOTPU.weaver] [tid: _ThreadID=41 _ThreadName=admin-listener(3)] [timeMillis: 1380249328410] [levelValue: 300] [[ Weaved REST [com/mycompany/startup/ejb/bug/TestEntity].]] [2013-09-27T11:35:28.410+0900] [glassfish 4.0] [FINEST] [] [org.eclipse.persistence.session.file:/E:/NanjingJUG/glassfish-4.0.1-b02/glassfish4/glassfish/domains/domain1/applications/startup-ejb-bug-1.0-SNAPSHOT/WEB-INF/classes/_com.mycompany_startup-ejb-bug_war_1.0-SNAPSHOTPU.weaver] [tid: _ThreadID=41 _ThreadName=admin-listener(3)] [timeMillis: 1380249328410] [levelValue: 300] [[ End weaver class transformer processing class [com/mycompany/startup/ejb/bug/TestEntity].]] [2013-09-27T11:35:28.457+0900] [glassfish 4.0] [FINEST] [] [org.eclipse.persistence.session.file:/E:/NanjingJUG/glassfish-4.0.1-b02/glassfish4/glassfish/domains/domain1/applications/startup-ejb-bug-1.0-SNAPSHOT/WEB-INF/classes/_com.mycompany_startup-ejb-bug_war_1.0-SNAPSHOTPU.properties] [tid: _ThreadID=41 _ThreadName=admin-listener(3)] [timeMillis: 1380249328457] [levelValue: 300] [[ property=eclipselink.target-server; value=SunAS9; translated value=org.eclipse.persistence.platform.server.sunas.SunAS9ServerPlatform]] [2013-09-27T11:35:28.457+0900] [glassfish 4.0] [FINEST] [] [org.eclipse.persistence.session.file:/E:/NanjingJUG/glassfish-4.0.1-b02/glassfish4/glassfish/domains/domain1/applications/startup-ejb-bug-1.0-SNAPSHOT/WEB-INF/classes/_com.mycompany_startup-ejb-bug_war_1.0-SNAPSHOTPU.properties] [tid: _ThreadID=41 _ThreadName=admin-listener(3)] [timeMillis: 1380249328457] [levelValue: 300] [[ property=eclipselink.logging.level; value=FINEST; translated value=FINEST]] [2013-09-27T11:35:28.457+0900] [glassfish 4.0] [FINEST] [] [org.eclipse.persistence.session.file:/E:/NanjingJUG/glassfish-4.0.1-b02/glassfish4/glassfish/domains/domain1/applications/startup-ejb-bug-1.0-SNAPSHOT/WEB-INF/classes/_com.mycompany_startup-ejb-bug_war_1.0-SNAPSHOTPU.properties] [tid: _ThreadID=41 _ThreadName=admin-listener(3)] [timeMillis: 1380249328457] [levelValue: 300] [[ property=eclipselink.logging.level; value=FINEST; translated value=FINEST]] [2013-09-27T11:35:28.457+0900] [glassfish 4.0] [INFO] [] [org.eclipse.persistence.session.file:/E:/NanjingJUG/glassfish-4.0.1-b02/glassfish4/glassfish/domains/domain1/applications/startup-ejb-bug-1.0-SNAPSHOT/WEB-INF/classes/_com.mycompany_startup-ejb-bug_war_1.0-SNAPSHOTPU] [tid: _ThreadID=41 _ThreadName=admin-listener(3)] [timeMillis: 1380249328457] [levelValue: 800] [[ EclipseLink, version: Eclipse Persistence Services - 2.5.1.v20130615-1df9e1e]] [2013-09-27T11:35:34.754+0900] [glassfish 4.0] [FINEST] [] [] [tid: _ThreadID=41 _ThreadName=admin-listener(3)] [timeMillis: 1380249334754] [levelValue: 300] [[ (?i)oracle.*12 (There is no English translation for this message.)]] [2013-09-27T11:35:34.754+0900] [glassfish 4.0] [FINEST] [] [] [tid: _ThreadID=41 _ThreadName=admin-listener(3)] [timeMillis: 1380249334754] [levelValue: 300] [[ (?i)oracle.*11 (There is no English translation for this message.)]] [2013-09-27T11:35:34.754+0900] [glassfish 4.0] [FINEST] [] [] [tid: _ThreadID=41 _ThreadName=admin-listener(3)] [timeMillis: 1380249334754] [levelValue: 300] [[ (?i)oracle.*10 (There is no English translation for this message.)]] [2013-09-27T11:35:34.754+0900] [glassfish 4.0] [FINEST] [] [] [tid: _ThreadID=41 _ThreadName=admin-listener(3)] [timeMillis: 1380249334754] [levelValue: 300] [[ (?i)oracle.*9 (There is no English translation for this message.)]] [2013-09-27T11:35:34.754+0900] [glassfish 4.0] [FINEST] [] [] [tid: _ThreadID=41 _ThreadName=admin-listener(3)] [timeMillis: 1380249334754] [levelValue: 300] [[ (?i)oracle.* (There is no English translation for this message.)]] [2013-09-27T11:35:34.754+0900] [glassfish 4.0] [FINEST] [] [] [tid: _ThreadID=41 _ThreadName=admin-listener(3)] [timeMillis: 1380249334754] [levelValue: 300] [[ SQL\ Anywhere.* (There is no English translation for this message.)]] [2013-09-27T11:35:34.754+0900] [glassfish 4.0] [FINEST] [] [] [tid: _ThreadID=41 _ThreadName=admin-listener(3)] [timeMillis: 1380249334754] [levelValue: 300] [[ (?i)(sybase.*)|(adaptive\ server\ enterprise.*)|(SQL\ Server.*) (There is no English translation for this message.)]] [2013-09-27T11:35:34.754+0900] [glassfish 4.0] [FINEST] [] [] [tid: _ThreadID=41 _ThreadName=admin-listener(3)] [timeMillis: 1380249334754] [levelValue: 300] [[ (?i)microsoft.* (There is no English translation for this message.)]] [2013-09-27T11:35:34.754+0900] [glassfish 4.0] [FINEST] [] [] [tid: _ThreadID=41 _ThreadName=admin-listener(3)] [timeMillis: 1380249334754] [levelValue: 300] [[ (?i).*derby.* (There is no English translation for this message.)]] [2013-09-27T11:35:34.754+0900] [glassfish 4.0] [FINE] [] [org.eclipse.persistence.session.file:/E:/NanjingJUG/glassfish-4.0.1-b02/glassfish4/glassfish/domains/domain1/applications/startup-ejb-bug-1.0-SNAPSHOT/WEB-INF/classes/_com.mycompany_startup-ejb-bug_war_1.0-SNAPSHOTPU.connection] [tid: _ThreadID=41 _ThreadName=admin-listener(3)] [timeMillis: 1380249334754] [levelValue: 500] [[ Detected database platform: org.eclipse.persistence.platform.database.JavaDBPlatform]] [2013-09-27T11:35:34.754+0900] [glassfish 4.0] [CONFIG] [] [org.eclipse.persistence.session.file:/E:/NanjingJUG/glassfish-4.0.1-b02/glassfish4/glassfish/domains/domain1/applications/startup-ejb-bug-1.0-SNAPSHOT/WEB-INF/classes/_com.mycompany_startup-ejb-bug_war_1.0-SNAPSHOTPU.connection] [tid: _ThreadID=41 _ThreadName=admin-listener(3)] [timeMillis: 1380249334754] [levelValue: 700] [[ connecting(DatabaseLogin( platform=>DatabasePlatform user name=> "" connector=>JNDIConnector datasource name=>null ))]] [2013-09-27T11:35:34.754+0900] [glassfish 4.0] [CONFIG] [] [org.eclipse.persistence.session.file:/E:/NanjingJUG/glassfish-4.0.1-b02/glassfish4/glassfish/domains/domain1/applications/startup-ejb-bug-1.0-SNAPSHOT/WEB-INF/classes/_com.mycompany_startup-ejb-bug_war_1.0-SNAPSHOTPU.connection] [tid: _ThreadID=41 _ThreadName=admin-listener(3)] [timeMillis: 1380249334754] [levelValue: 700] [[ Connected: jdbc:derby://localhost:1527/sun-appserv-samples;;create=true User: APP Database: Apache Derby Version: 10.9.1.0 - (1344872) Driver: Apache Derby Network Client JDBC Driver Version: 10.9.1.0 - (1344872)]] [2013-09-27T11:35:34.754+0900] [glassfish 4.0] [FINEST] [] [org.eclipse.persistence.session.file:/E:/NanjingJUG/glassfish-4.0.1-b02/glassfish4/glassfish/domains/domain1/applications/startup-ejb-bug-1.0-SNAPSHOT/WEB-INF/classes/_com.mycompany_startup-ejb-bug_war_1.0-SNAPSHOTPU.connection] [tid: _ThreadID=41 _ThreadName=admin-listener(3)] [timeMillis: 1380249334754] [levelValue: 300] [[ Connection acquired from connection pool [read].]] [2013-09-27T11:35:34.754+0900] [glassfish 4.0] [FINEST] [] [org.eclipse.persistence.session.file:/E:/NanjingJUG/glassfish-4.0.1-b02/glassfish4/glassfish/domains/domain1/applications/startup-ejb-bug-1.0-SNAPSHOT/WEB-INF/classes/_com.mycompany_startup-ejb-bug_war_1.0-SNAPSHOTPU.connection] [tid: _ThreadID=41 _ThreadName=admin-listener(3)] [timeMillis: 1380249334754] [levelValue: 300] [[ Connection released to connection pool [read].]] [2013-09-27T11:35:34.754+0900] [glassfish 4.0] [CONFIG] [] [org.eclipse.persistence.session.file:/E:/NanjingJUG/glassfish-4.0.1-b02/glassfish4/glassfish/domains/domain1/applications/startup-ejb-bug-1.0-SNAPSHOT/WEB-INF/classes/_com.mycompany_startup-ejb-bug_war_1.0-SNAPSHOTPU.connection] [tid: _ThreadID=41 _ThreadName=admin-listener(3)] [timeMillis: 1380249334754] [levelValue: 700] [[ connecting(DatabaseLogin( platform=>JavaDBPlatform user name=> "" connector=>JNDIConnector datasource name=>null ))]] [2013-09-27T11:35:34.754+0900] [glassfish 4.0] [CONFIG] [] [org.eclipse.persistence.session.file:/E:/NanjingJUG/glassfish-4.0.1-b02/glassfish4/glassfish/domains/domain1/applications/startup-ejb-bug-1.0-SNAPSHOT/WEB-INF/classes/_com.mycompany_startup-ejb-bug_war_1.0-SNAPSHOTPU.connection] [tid: _ThreadID=41 _ThreadName=admin-listener(3)] [timeMillis: 1380249334754] [levelValue: 700] [[ Connected: jdbc:derby://localhost:1527/sun-appserv-samples;;create=true User: APP Database: Apache Derby Version: 10.9.1.0 - (1344872) Driver: Apache Derby Network Client JDBC Driver Version: 10.9.1.0 - (1344872)]] [2013-09-27T11:35:34.848+0900] [glassfish 4.0] [FINEST] [] [org.eclipse.persistence.session.file:/E:/NanjingJUG/glassfish-4.0.1-b02/glassfish4/glassfish/domains/domain1/applications/startup-ejb-bug-1.0-SNAPSHOT/WEB-INF/classes/_com.mycompany_startup-ejb-bug_war_1.0-SNAPSHOTPU.sequencing] [tid: _ThreadID=41 _ThreadName=admin-listener(3)] [timeMillis: 1380249334848] [levelValue: 300] [[ sequencing connected, state is Preallocation_Transaction_NoAccessor_State]] [2013-09-27T11:35:34.848+0900] [glassfish 4.0] [FINEST] [] [org.eclipse.persistence.session.file:/E:/NanjingJUG/glassfish-4.0.1-b02/glassfish4/glassfish/domains/domain1/applications/startup-ejb-bug-1.0-SNAPSHOT/WEB-INF/classes/_com.mycompany_startup-ejb-bug_war_1.0-SNAPSHOTPU.sequencing] [tid: _ThreadID=41 _ThreadName=admin-listener(3)] [timeMillis: 1380249334848] [levelValue: 300] [[ sequence SEQUENCE: preallocation size 50]] [2013-09-27T11:35:34.848+0900] [glassfish 4.0] [FINEST] [] [org.eclipse.persistence.session.file:/E:/NanjingJUG/glassfish-4.0.1-b02/glassfish4/glassfish/domains/domain1/applications/startup-ejb-bug-1.0-SNAPSHOT/WEB-INF/classes/_com.mycompany_startup-ejb-bug_war_1.0-SNAPSHOTPU.sequencing] [tid: _ThreadID=41 _ThreadName=admin-listener(3)] [timeMillis: 1380249334848] [levelValue: 300] [[ sequence SEQ_GEN: preallocation size 50]] [2013-09-27T11:35:35.020+0900] [glassfish 4.0] [INFO] [] [org.eclipse.persistence.session.file:/E:/NanjingJUG/glassfish-4.0.1-b02/glassfish4/glassfish/domains/domain1/applications/startup-ejb-bug-1.0-SNAPSHOT/WEB-INF/classes/_com.mycompany_startup-ejb-bug_war_1.0-SNAPSHOTPU.connection] [tid: _ThreadID=41 _ThreadName=admin-listener(3)] [timeMillis: 1380249335020] [levelValue: 800] [[ file:/E:/NanjingJUG/glassfish-4.0.1-b02/glassfish4/glassfish/domains/domain1/applications/startup-ejb-bug-1.0-SNAPSHOT/WEB-INF/classes/_com.mycompany_startup-ejb-bug_war_1.0-SNAPSHOTPU login successful]] [2013-09-27T11:35:35.020+0900] [glassfish 4.0] [FINER] [] [org.eclipse.persistence.session.file:/E:/NanjingJUG/glassfish-4.0.1-b02/glassfish4/glassfish/domains/domain1/applications/startup-ejb-bug-1.0-SNAPSHOT/WEB-INF/classes/_com.mycompany_startup-ejb-bug_war_1.0-SNAPSHOTPU.server] [tid: _ThreadID=41 _ThreadName=admin-listener(3)] [timeMillis: 1380249335020] [levelValue: 400] [[ JMX MBeanServer instance found: [com.sun.enterprise.v3.admin.DynamicInterceptor@d7680f], # of beans: [26], domain: [DefaultDomain] at index: [0].]] [2013-09-27T11:35:35.035+0900] [glassfish 4.0] [FINEST] [] [org.eclipse.persistence.session.file:/E:/NanjingJUG/glassfish-4.0.1-b02/glassfish4/glassfish/domains/domain1/applications/startup-ejb-bug-1.0-SNAPSHOT/WEB-INF/classes/_com.mycompany_startup-ejb-bug_war_1.0-SNAPSHOTPU.server] [tid: _ThreadID=41 _ThreadName=admin-listener(3)] [timeMillis: 1380249335035] [levelValue: 300] [[ Registered MBean: org.eclipse.persistence.services.mbean.MBeanDevelopmentServices[TopLink:Name=Development-file_/E_/NanjingJUG/glassfish-4.0.1-b02/glassfish4/glassfish/domains/domain1/applications/startup-ejb-bug-1.0-SNAPSHOT/WEB-INF/classes/_com.mycompany_startup-ejb-bug_war_1.0-SNAPSHOTPU,Type=Configuration] on server com.sun.enterprise.v3.admin.DynamicInterceptor@d7680f]] [2013-09-27T11:35:35.035+0900] [glassfish 4.0] [FINEST] [] [org.eclipse.persistence.session.file:/E:/NanjingJUG/glassfish-4.0.1-b02/glassfish4/glassfish/domains/domain1/applications/startup-ejb-bug-1.0-SNAPSHOT/WEB-INF/classes/_com.mycompany_startup-ejb-bug_war_1.0-SNAPSHOTPU.server] [tid: _ThreadID=41 _ThreadName=admin-listener(3)] [timeMillis: 1380249335035] [levelValue: 300] [[ Registered MBean: org.eclipse.persistence.services.glassfish.MBeanGlassfishRuntimeServices[TopLink:Name=Session(file_/E_/NanjingJUG/glassfish-4.0.1-b02/glassfish4/glassfish/domains/domain1/applications/startup-ejb-bug-1.0-SNAPSHOT/WEB-INF/classes/_com.mycompany_startup-ejb-bug_war_1.0-SNAPSHOTPU)] on server com.sun.enterprise.v3.admin.DynamicInterceptor@d7680f]] [2013-09-27T11:35:35.035+0900] [glassfish 4.0] [FINEST] [] [org.eclipse.persistence.session.file:/E:/NanjingJUG/glassfish-4.0.1-b02/glassfish4/glassfish/domains/domain1/applications/startup-ejb-bug-1.0-SNAPSHOT/WEB-INF/classes/_com.mycompany_startup-ejb-bug_war_1.0-SNAPSHOTPU.server] [tid: _ThreadID=41 _ThreadName=admin-listener(3)] [timeMillis: 1380249335035] [levelValue: 300] [[ EclipseLink JMX Runtime Services is referencing the [Platform ConversionManager] ClassLoader at: [WebappClassLoader (delegate=true; repositories=WEB-INF/classes/)]]] [2013-09-27T11:35:35.035+0900] [glassfish 4.0] [FINEST] [] [org.eclipse.persistence.session.file:/E:/NanjingJUG/glassfish-4.0.1-b02/glassfish4/glassfish/domains/domain1/applications/startup-ejb-bug-1.0-SNAPSHOT/WEB-INF/classes/_com.mycompany_startup-ejb-bug_war_1.0-SNAPSHOTPU.server] [tid: _ThreadID=41 _ThreadName=admin-listener(3)] [timeMillis: 1380249335035] [levelValue: 300] [[ The applicationName for the MBean attached to session [file:/E:/NanjingJUG/glassfish-4.0.1-b02/glassfish4/glassfish/domains/domain1/applications/startup-ejb-bug-1.0-SNAPSHOT/WEB-INF/classes/_com.mycompany_startup-ejb-bug_war_1.0-SNAPSHOTPU] is [unknown]]] [2013-09-27T11:35:35.035+0900] [glassfish 4.0] [FINEST] [] [org.eclipse.persistence.session.file:/E:/NanjingJUG/glassfish-4.0.1-b02/glassfish4/glassfish/domains/domain1/applications/startup-ejb-bug-1.0-SNAPSHOT/WEB-INF/classes/_com.mycompany_startup-ejb-bug_war_1.0-SNAPSHOTPU.server] [tid: _ThreadID=41 _ThreadName=admin-listener(3)] [timeMillis: 1380249335035] [levelValue: 300] [[ The moduleName for the MBean attached to session [file:/E:/NanjingJUG/glassfish-4.0.1-b02/glassfish4/glassfish/domains/domain1/applications/startup-ejb-bug-1.0-SNAPSHOT/WEB-INF/classes/_com.mycompany_startup-ejb-bug_war_1.0-SNAPSHOTPU] is [unknown]]] [2013-09-27T11:35:35.082+0900] [glassfish 4.0] [FINEST] [] [org.eclipse.persistence.session.file:/E:/NanjingJUG/glassfish-4.0.1-b02/glassfish4/glassfish/domains/domain1/applications/startup-ejb-bug-1.0-SNAPSHOT/WEB-INF/classes/_com.mycompany_startup-ejb-bug_war_1.0-SNAPSHOTPU.query] [tid: _ThreadID=41 _ThreadName=admin-listener(3)] [timeMillis: 1380249335082] [levelValue: 300] [[ Execute query DataModifyQuery(sql="DROP TABLE TESTENTITY")]] [2013-09-27T11:35:35.082+0900] [glassfish 4.0] [FINEST] [] [org.eclipse.persistence.session.file:/E:/NanjingJUG/glassfish-4.0.1-b02/glassfish4/glassfish/domains/domain1/applications/startup-ejb-bug-1.0-SNAPSHOT/WEB-INF/classes/_com.mycompany_startup-ejb-bug_war_1.0-SNAPSHOTPU.connection] [tid: _ThreadID=41 _ThreadName=admin-listener(3)] [timeMillis: 1380249335082] [levelValue: 300] [[ Connection acquired from connection pool [read].]] [2013-09-27T11:35:35.082+0900] [glassfish 4.0] [FINEST] [] [org.eclipse.persistence.session.file:/E:/NanjingJUG/glassfish-4.0.1-b02/glassfish4/glassfish/domains/domain1/applications/startup-ejb-bug-1.0-SNAPSHOT/WEB-INF/classes/_com.mycompany_startup-ejb-bug_war_1.0-SNAPSHOTPU.connection] [tid: _ThreadID=41 _ThreadName=admin-listener(3)] [timeMillis: 1380249335082] [levelValue: 300] [[ reconnecting to external connection pool]] [2013-09-27T11:35:35.082+0900] [glassfish 4.0] [FINE] [] [org.eclipse.persistence.session.file:/E:/NanjingJUG/glassfish-4.0.1-b02/glassfish4/glassfish/domains/domain1/applications/startup-ejb-bug-1.0-SNAPSHOT/WEB-INF/classes/_com.mycompany_startup-ejb-bug_war_1.0-SNAPSHOTPU.sql] [tid: _ThreadID=41 _ThreadName=admin-listener(3)] [timeMillis: 1380249335082] [levelValue: 500] [[ DROP TABLE TESTENTITY]] [2013-09-27T11:35:35.270+0900] [glassfish 4.0] [FINE] [] [org.eclipse.persistence.session.file:/E:/NanjingJUG/glassfish-4.0.1-b02/glassfish4/glassfish/domains/domain1/applications/startup-ejb-bug-1.0-SNAPSHOT/WEB-INF/classes/_com.mycompany_startup-ejb-bug_war_1.0-SNAPSHOTPU.sql] [tid: _ThreadID=41 _ThreadName=admin-listener(3)] [timeMillis: 1380249335270] [levelValue: 500] [[ VALUES(1)]] [2013-09-27T11:35:35.301+0900] [glassfish 4.0] [FINEST] [] [org.eclipse.persistence.session.file:/E:/NanjingJUG/glassfish-4.0.1-b02/glassfish4/glassfish/domains/domain1/applications/startup-ejb-bug-1.0-SNAPSHOT/WEB-INF/classes/_com.mycompany_startup-ejb-bug_war_1.0-SNAPSHOTPU.connection] [tid: _ThreadID=41 _ThreadName=admin-listener(3)] [timeMillis: 1380249335301] [levelValue: 300] [[ Connection released to connection pool [read].]] [2013-09-27T11:35:35.301+0900] [glassfish 4.0] [WARNING] [] [org.eclipse.persistence.session.file:/E:/NanjingJUG/glassfish-4.0.1-b02/glassfish4/glassfish/domains/domain1/applications/startup-ejb-bug-1.0-SNAPSHOT/WEB-INF/classes/_com.mycompany_startup-ejb-bug_war_1.0-SNAPSHOTPU] [tid: _ThreadID=41 _ThreadName=admin-listener(3)] [timeMillis: 1380249335301] [levelValue: 900] [[ Local Exception Stack: Exception [EclipseLink-4002] (Eclipse Persistence Services - 2.5.1.v20130615-1df9e1e): org.eclipse.persistence.exceptions.DatabaseException Internal Exception: java.sql.SQLSyntaxErrorException: 'DROP TABLE' は存在しないため、これに対して 'TESTENTITY' を実行することはできません。 Error Code: -1 Call: DROP TABLE TESTENTITY Query: DataModifyQuery(sql="DROP TABLE TESTENTITY") at org.eclipse.persistence.exceptions.DatabaseException.sqlException(DatabaseException.java:340) at org.eclipse.persistence.internal.databaseaccess.DatabaseAccessor.basicExecuteCall(DatabaseAccessor.java:682) at org.eclipse.persistence.internal.databaseaccess.DatabaseAccessor.executeCall(DatabaseAccessor.java:558) at org.eclipse.persistence.internal.sessions.AbstractSession.basicExecuteCall(AbstractSession.java:1992) at org.eclipse.persistence.sessions.server.ServerSession.executeCall(ServerSession.java:570) at org.eclipse.persistence.internal.queries.DatasourceCallQueryMechanism.executeCall(DatasourceCallQueryMechanism.java:242) at org.eclipse.persistence.internal.queries.DatasourceCallQueryMechanism.executeCall(DatasourceCallQueryMechanism.java:228) at org.eclipse.persistence.internal.queries.DatasourceCallQueryMechanism.executeNoSelectCall(DatasourceCallQueryMechanism.java:271) at org.eclipse.persistence.internal.queries.DatasourceCallQueryMechanism.executeNoSelect(DatasourceCallQueryMechanism.java:251) at org.eclipse.persistence.queries.DataModifyQuery.executeDatabaseQuery(DataModifyQuery.java:85) at org.eclipse.persistence.queries.DatabaseQuery.execute(DatabaseQuery.java:899) at org.eclipse.persistence.internal.sessions.AbstractSession.internalExecuteQuery(AbstractSession.java:3204) at org.eclipse.persistence.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:1794) at org.eclipse.persistence.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:1776) at org.eclipse.persistence.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:1727) at org.eclipse.persistence.internal.sessions.AbstractSession.priviledgedExecuteNonSelectingCall(AbstractSession.java:4997) at org.eclipse.persistence.tools.schemaframework.DatabaseObjectDefinition.dropFromDatabase(DatabaseObjectDefinition.java:190) at org.eclipse.persistence.tools.schemaframework.SchemaManager.dropObject(SchemaManager.java:558) at org.eclipse.persistence.tools.schemaframework.TableCreator.dropTables(TableCreator.java:258) at org.eclipse.persistence.tools.schemaframework.TableCreator.dropTables(TableCreator.java:224) at org.eclipse.persistence.tools.schemaframework.SchemaManager.dropDefaultTables(SchemaManager.java:1071) at org.eclipse.persistence.internal.jpa.EntityManagerFactoryProvider.generateDefaultTables(EntityManagerFactoryProvider.java:104) at org.eclipse.persistence.internal.jpa.EntityManagerSetupImpl.writeDDLToDatabase(EntityManagerSetupImpl.java:3967) at org.eclipse.persistence.internal.jpa.EntityManagerSetupImpl.writeMetadataDDLToDatabase(EntityManagerSetupImpl.java:4022) at org.eclipse.persistence.internal.jpa.EntityManagerSetupImpl.writeDDL(EntityManagerSetupImpl.java:3933) at org.eclipse.persistence.internal.jpa.EntityManagerSetupImpl.writeDDL(EntityManagerSetupImpl.java:3812) at org.eclipse.persistence.internal.jpa.EntityManagerSetupImpl.deploy(EntityManagerSetupImpl.java:727) at org.eclipse.persistence.internal.jpa.EntityManagerFactoryDelegate.getAbstractSession(EntityManagerFactoryDelegate.java:204) at org.eclipse.persistence.internal.jpa.EntityManagerFactoryDelegate.getDatabaseSession(EntityManagerFactoryDelegate.java:182) at org.eclipse.persistence.internal.jpa.EntityManagerFactoryImpl.getDatabaseSession(EntityManagerFactoryImpl.java:527) at org.eclipse.persistence.jpa.PersistenceProvider.createContainerEntityManagerFactory(PersistenceProvider.java:358) at org.glassfish.persistence.jpa.PersistenceUnitLoader.loadPU(PersistenceUnitLoader.java:199) at org.glassfish.persistence.jpa.PersistenceUnitLoader.(PersistenceUnitLoader.java:107) at org.glassfish.persistence.jpa.JPADeployer$1.visitPUD(JPADeployer.java:223) at org.glassfish.persistence.jpa.JPADeployer$PersistenceUnitDescriptorIterator.iteratePUDs(JPADeployer.java:510) at org.glassfish.persistence.jpa.JPADeployer.createEMFs(JPADeployer.java:230) at org.glassfish.persistence.jpa.JPADeployer.prepare(JPADeployer.java:168) at com.sun.enterprise.v3.server.ApplicationLifecycle.prepareModule(ApplicationLifecycle.java:922) at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:431) at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:219) at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:491) at com.sun.enterprise.v3.admin.CommandRunnerImpl$2$1.run(CommandRunnerImpl.java:539) at com.sun.enterprise.v3.admin.CommandRunnerImpl$2$1.run(CommandRunnerImpl.java:535) at java.security.AccessController.doPrivileged(Native Method) at javax.security.auth.Subject.doAs(Subject.java:356) at com.sun.enterprise.v3.admin.CommandRunnerImpl$2.execute(CommandRunnerImpl.java:534) at com.sun.enterprise.v3.admin.CommandRunnerImpl$3.run(CommandRunnerImpl.java:565) at com.sun.enterprise.v3.admin.CommandRunnerImpl$3.run(CommandRunnerImpl.java:557) at java.security.AccessController.doPrivileged(Native Method) at javax.security.auth.Subject.doAs(Subject.java:356) at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:556) at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1464) at com.sun.enterprise.v3.admin.CommandRunnerImpl.access$1300(CommandRunnerImpl.java:109) at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1846) at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1722) at org.glassfish.admin.rest.resources.admin.CommandResource.executeCommand(CommandResource.java:404) at org.glassfish.admin.rest.resources.admin.CommandResource.execCommandSimpInMultOut(CommandResource.java:234) 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.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81) at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:140) at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:158) at org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:152) at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:101) at org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:353) at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:343) at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102) at org.glassfish.jersey.server.ServerRuntime$1.run(ServerRuntime.java:237) at org.glassfish.jersey.internal.Errors$1.call(Errors.java:271) at org.glassfish.jersey.internal.Errors$1.call(Errors.java:267) at org.glassfish.jersey.internal.Errors.process(Errors.java:315) at org.glassfish.jersey.internal.Errors.process(Errors.java:297) at org.glassfish.jersey.internal.Errors.process(Errors.java:267) at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:318) at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:211) at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:982) at org.glassfish.jersey.grizzly2.httpserver.GrizzlyHttpContainer.service(GrizzlyHttpContainer.java:330) at org.glassfish.admin.rest.adapter.JerseyContainerCommandService$3.service(JerseyContainerCommandService.java:173) at org.glassfish.admin.rest.adapter.RestAdapter.service(RestAdapter.java:179) at com.sun.enterprise.v3.services.impl.ContainerMapper$HttpHandlerCallable.call(ContainerMapper.java:496) at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:175) at org.glassfish.grizzly.http.server.HttpHandler.runService(HttpHandler.java:191) at org.glassfish.grizzly.http.server.HttpHandler.doHandle(HttpHandler.java:168) at org.glassfish.grizzly.http.server.HttpServerFilter.handleRead(HttpServerFilter.java:187) at org.glassfish.grizzly.filterchain.ExecutorResolver$9.execute(ExecutorResolver.java:119) at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeFilter(DefaultFilterChain.java:288) at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeChainPart(DefaultFilterChain.java:206) at org.glassfish.grizzly.filterchain.DefaultFilterChain.execute(DefaultFilterChain.java:136) at org.glassfish.grizzly.filterchain.DefaultFilterChain.process(DefaultFilterChain.java:114) at org.glassfish.grizzly.ProcessorExecutor.execute(ProcessorExecutor.java:77) at org.glassfish.grizzly.nio.transport.TCPNIOTransport.fireIOEvent(TCPNIOTransport.java:837) at org.glassfish.grizzly.strategies.AbstractIOStrategy.fireIOEvent(AbstractIOStrategy.java:113) at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.run0(WorkerThreadIOStrategy.java:115) at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.access$100(WorkerThreadIOStrategy.java:55) at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy$WorkerThreadRunnable.run(WorkerThreadIOStrategy.java:135) at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:565) at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.run(AbstractThreadPool.java:545) at java.lang.Thread.run(Thread.java:722) Caused by: java.sql.SQLSyntaxErrorException: 'DROP TABLE' は存在しないため、これに対して 'TESTENTITY' を実行することはできません。 at org.apache.derby.client.am.SQLExceptionFactory40.getSQLException(Unknown Source) at org.apache.derby.client.am.SqlException.getSQLException(Unknown Source) at org.apache.derby.client.am.Connection.prepareStatement(Unknown Source) at com.sun.gjc.spi.base.ConnectionHolder.prepareStatement(ConnectionHolder.java:586) at com.sun.gjc.spi.jdbc40.ConnectionWrapper40.prepareCachedStatement(ConnectionWrapper40.java:255) at com.sun.gjc.spi.jdbc40.ConnectionWrapper40.prepareCachedStatement(ConnectionWrapper40.java:52) at com.sun.gjc.spi.ManagedConnectionImpl.prepareCachedStatement(ManagedConnectionImpl.java:992) at com.sun.gjc.spi.jdbc40.ConnectionWrapper40.prepareStatement(ConnectionWrapper40.java:173) at org.eclipse.persistence.internal.databaseaccess.DatabaseAccessor.prepareStatement(DatabaseAccessor.java:1556) at org.eclipse.persistence.internal.databaseaccess.DatabaseAccessor.prepareStatement(DatabaseAccessor.java:1505) at org.eclipse.persistence.internal.databaseaccess.DatabaseCall.prepareStatement(DatabaseCall.java:778) at org.eclipse.persistence.internal.databaseaccess.DatabaseAccessor.basicExecuteCall(DatabaseAccessor.java:619) ... 98 more Caused by: org.apache.derby.client.am.SqlException: 'DROP TABLE' は存在しないため、これに対して 'TESTENTITY' を実行することはできません。 at org.apache.derby.client.am.Statement.completeSqlca(Unknown Source) at org.apache.derby.client.net.NetStatementReply.parsePrepareError(Unknown Source) at org.apache.derby.client.net.NetStatementReply.parsePRPSQLSTTreply(Unknown Source) at org.apache.derby.client.net.NetStatementReply.readPrepareDescribeOutput(Unknown Source) at org.apache.derby.client.net.StatementReply.readPrepareDescribeOutput(Unknown Source) at org.apache.derby.client.net.NetStatement.readPrepareDescribeOutput_(Unknown Source) at org.apache.derby.client.am.Statement.readPrepareDescribeOutput(Unknown Source) at org.apache.derby.client.am.PreparedStatement.readPrepareDescribeInputOutput(Unknown Source) at org.apache.derby.client.am.PreparedStatement.flowPrepareDescribeInputOutput(Unknown Source) at org.apache.derby.client.am.PreparedStatement.prepare(Unknown Source) at org.apache.derby.client.am.Connection.prepareStatementX(Unknown Source) ... 108 more ]] [2013-09-27T11:35:35.301+0900] [glassfish 4.0] [FINEST] [] [org.eclipse.persistence.session.file:/E:/NanjingJUG/glassfish-4.0.1-b02/glassfish4/glassfish/domains/domain1/applications/startup-ejb-bug-1.0-SNAPSHOT/WEB-INF/classes/_com.mycompany_startup-ejb-bug_war_1.0-SNAPSHOTPU.query] [tid: _ThreadID=41 _ThreadName=admin-listener(3)] [timeMillis: 1380249335301] [levelValue: 300] [[ Execute query DataModifyQuery(sql="DROP TABLE TESTENTITY")]] [2013-09-27T11:35:35.301+0900] [glassfish 4.0] [FINEST] [] [org.eclipse.persistence.session.file:/E:/NanjingJUG/glassfish-4.0.1-b02/glassfish4/glassfish/domains/domain1/applications/startup-ejb-bug-1.0-SNAPSHOT/WEB-INF/classes/_com.mycompany_startup-ejb-bug_war_1.0-SNAPSHOTPU.connection] [tid: _ThreadID=41 _ThreadName=admin-listener(3)] [timeMillis: 1380249335301] [levelValue: 300] [[ Connection acquired from connection pool [read].]] [2013-09-27T11:35:35.301+0900] [glassfish 4.0] [FINEST] [] [org.eclipse.persistence.session.file:/E:/NanjingJUG/glassfish-4.0.1-b02/glassfish4/glassfish/domains/domain1/applications/startup-ejb-bug-1.0-SNAPSHOT/WEB-INF/classes/_com.mycompany_startup-ejb-bug_war_1.0-SNAPSHOTPU.connection] [tid: _ThreadID=41 _ThreadName=admin-listener(3)] [timeMillis: 1380249335301] [levelValue: 300] [[ reconnecting to external connection pool]] [2013-09-27T11:35:35.301+0900] [glassfish 4.0] [FINE] [] [org.eclipse.persistence.session.file:/E:/NanjingJUG/glassfish-4.0.1-b02/glassfish4/glassfish/domains/domain1/applications/startup-ejb-bug-1.0-SNAPSHOT/WEB-INF/classes/_com.mycompany_startup-ejb-bug_war_1.0-SNAPSHOTPU.sql] [tid: _ThreadID=41 _ThreadName=admin-listener(3)] [timeMillis: 1380249335301] [levelValue: 500] [[ DROP TABLE TESTENTITY]] [2013-09-27T11:35:35.317+0900] [glassfish 4.0] [FINE] [] [org.eclipse.persistence.session.file:/E:/NanjingJUG/glassfish-4.0.1-b02/glassfish4/glassfish/domains/domain1/applications/startup-ejb-bug-1.0-SNAPSHOT/WEB-INF/classes/_com.mycompany_startup-ejb-bug_war_1.0-SNAPSHOTPU.sql] [tid: _ThreadID=41 _ThreadName=admin-listener(3)] [timeMillis: 1380249335317] [levelValue: 500] [[ VALUES(1)]] [2013-09-27T11:35:35.317+0900] [glassfish 4.0] [FINEST] [] [org.eclipse.persistence.session.file:/E:/NanjingJUG/glassfish-4.0.1-b02/glassfish4/glassfish/domains/domain1/applications/startup-ejb-bug-1.0-SNAPSHOT/WEB-INF/classes/_com.mycompany_startup-ejb-bug_war_1.0-SNAPSHOTPU.connection] [tid: _ThreadID=41 _ThreadName=admin-listener(3)] [timeMillis: 1380249335317] [levelValue: 300] [[ Connection released to connection pool [read].]] [2013-09-27T11:35:35.317+0900] [glassfish 4.0] [WARNING] [] [org.eclipse.persistence.session.file:/E:/NanjingJUG/glassfish-4.0.1-b02/glassfish4/glassfish/domains/domain1/applications/startup-ejb-bug-1.0-SNAPSHOT/WEB-INF/classes/_com.mycompany_startup-ejb-bug_war_1.0-SNAPSHOTPU] [tid: _ThreadID=41 _ThreadName=admin-listener(3)] [timeMillis: 1380249335317] [levelValue: 900] [[ Local Exception Stack: Exception [EclipseLink-4002] (Eclipse Persistence Services - 2.5.1.v20130615-1df9e1e): org.eclipse.persistence.exceptions.DatabaseException Internal Exception: java.sql.SQLSyntaxErrorException: 'DROP TABLE' は存在しないため、これに対して 'TESTENTITY' を実行することはできません。 Error Code: -1 Call: DROP TABLE TESTENTITY Query: DataModifyQuery(sql="DROP TABLE TESTENTITY") at org.eclipse.persistence.exceptions.DatabaseException.sqlException(DatabaseException.java:340) at org.eclipse.persistence.internal.databaseaccess.DatabaseAccessor.basicExecuteCall(DatabaseAccessor.java:682) at org.eclipse.persistence.internal.databaseaccess.DatabaseAccessor.executeCall(DatabaseAccessor.java:558) at org.eclipse.persistence.internal.sessions.AbstractSession.basicExecuteCall(AbstractSession.java:1992) at org.eclipse.persistence.sessions.server.ServerSession.executeCall(ServerSession.java:570) at org.eclipse.persistence.internal.queries.DatasourceCallQueryMechanism.executeCall(DatasourceCallQueryMechanism.java:242) at org.eclipse.persistence.internal.queries.DatasourceCallQueryMechanism.executeCall(DatasourceCallQueryMechanism.java:228) at org.eclipse.persistence.internal.queries.DatasourceCallQueryMechanism.executeNoSelectCall(DatasourceCallQueryMechanism.java:271) at org.eclipse.persistence.internal.queries.DatasourceCallQueryMechanism.executeNoSelect(DatasourceCallQueryMechanism.java:251) at org.eclipse.persistence.queries.DataModifyQuery.executeDatabaseQuery(DataModifyQuery.java:85) at org.eclipse.persistence.queries.DatabaseQuery.execute(DatabaseQuery.java:899) at org.eclipse.persistence.internal.sessions.AbstractSession.internalExecuteQuery(AbstractSession.java:3204) at org.eclipse.persistence.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:1794) at org.eclipse.persistence.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:1776) at org.eclipse.persistence.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:1727) at org.eclipse.persistence.internal.sessions.AbstractSession.priviledgedExecuteNonSelectingCall(AbstractSession.java:4997) at org.eclipse.persistence.tools.schemaframework.DatabaseObjectDefinition.dropFromDatabase(DatabaseObjectDefinition.java:190) at org.eclipse.persistence.tools.schemaframework.SchemaManager.dropObject(SchemaManager.java:558) at org.eclipse.persistence.tools.schemaframework.TableCreator.dropTables(TableCreator.java:258) at org.eclipse.persistence.tools.schemaframework.TableCreator.dropTables(TableCreator.java:224) at org.eclipse.persistence.tools.schemaframework.SchemaManager.dropDefaultTables(SchemaManager.java:1071) at org.eclipse.persistence.internal.jpa.EntityManagerFactoryProvider.generateDefaultTables(EntityManagerFactoryProvider.java:104) at org.eclipse.persistence.internal.jpa.EntityManagerSetupImpl.writeDDLToDatabase(EntityManagerSetupImpl.java:3967) at org.eclipse.persistence.internal.jpa.EntityManagerSetupImpl.writeMetadataDDLToDatabase(EntityManagerSetupImpl.java:4022) at org.eclipse.persistence.internal.jpa.EntityManagerSetupImpl.writeDDL(EntityManagerSetupImpl.java:3933) at org.eclipse.persistence.internal.jpa.EntityManagerSetupImpl.writeDDL(EntityManagerSetupImpl.java:3812) at org.eclipse.persistence.internal.jpa.EntityManagerSetupImpl.deploy(EntityManagerSetupImpl.java:727) at org.eclipse.persistence.internal.jpa.EntityManagerFactoryDelegate.getAbstractSession(EntityManagerFactoryDelegate.java:204) at org.eclipse.persistence.internal.jpa.EntityManagerFactoryDelegate.getDatabaseSession(EntityManagerFactoryDelegate.java:182) at org.eclipse.persistence.internal.jpa.EntityManagerFactoryImpl.getDatabaseSession(EntityManagerFactoryImpl.java:527) at org.eclipse.persistence.jpa.PersistenceProvider.createContainerEntityManagerFactory(PersistenceProvider.java:358) at org.glassfish.persistence.jpa.PersistenceUnitLoader.loadPU(PersistenceUnitLoader.java:199) at org.glassfish.persistence.jpa.PersistenceUnitLoader.(PersistenceUnitLoader.java:107) at org.glassfish.persistence.jpa.JPADeployer$1.visitPUD(JPADeployer.java:223) at org.glassfish.persistence.jpa.JPADeployer$PersistenceUnitDescriptorIterator.iteratePUDs(JPADeployer.java:510) at org.glassfish.persistence.jpa.JPADeployer.createEMFs(JPADeployer.java:230) at org.glassfish.persistence.jpa.JPADeployer.prepare(JPADeployer.java:168) at com.sun.enterprise.v3.server.ApplicationLifecycle.prepareModule(ApplicationLifecycle.java:922) at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:431) at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:219) at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:491) at com.sun.enterprise.v3.admin.CommandRunnerImpl$2$1.run(CommandRunnerImpl.java:539) at com.sun.enterprise.v3.admin.CommandRunnerImpl$2$1.run(CommandRunnerImpl.java:535) at java.security.AccessController.doPrivileged(Native Method) at javax.security.auth.Subject.doAs(Subject.java:356) at com.sun.enterprise.v3.admin.CommandRunnerImpl$2.execute(CommandRunnerImpl.java:534) at com.sun.enterprise.v3.admin.CommandRunnerImpl$3.run(CommandRunnerImpl.java:565) at com.sun.enterprise.v3.admin.CommandRunnerImpl$3.run(CommandRunnerImpl.java:557) at java.security.AccessController.doPrivileged(Native Method) at javax.security.auth.Subject.doAs(Subject.java:356) at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:556) at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1464) at com.sun.enterprise.v3.admin.CommandRunnerImpl.access$1300(CommandRunnerImpl.java:109) at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1846) at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1722) at org.glassfish.admin.rest.resources.admin.CommandResource.executeCommand(CommandResource.java:404) at org.glassfish.admin.rest.resources.admin.CommandResource.execCommandSimpInMultOut(CommandResource.java:234) 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.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81) at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:140) at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:158) at org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:152) at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:101) at org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:353) at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:343) at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102) at org.glassfish.jersey.server.ServerRuntime$1.run(ServerRuntime.java:237) at org.glassfish.jersey.internal.Errors$1.call(Errors.java:271) at org.glassfish.jersey.internal.Errors$1.call(Errors.java:267) at org.glassfish.jersey.internal.Errors.process(Errors.java:315) at org.glassfish.jersey.internal.Errors.process(Errors.java:297) at org.glassfish.jersey.internal.Errors.process(Errors.java:267) at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:318) at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:211) at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:982) at org.glassfish.jersey.grizzly2.httpserver.GrizzlyHttpContainer.service(GrizzlyHttpContainer.java:330) at org.glassfish.admin.rest.adapter.JerseyContainerCommandService$3.service(JerseyContainerCommandService.java:173) at org.glassfish.admin.rest.adapter.RestAdapter.service(RestAdapter.java:179) at com.sun.enterprise.v3.services.impl.ContainerMapper$HttpHandlerCallable.call(ContainerMapper.java:496) at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:175) at org.glassfish.grizzly.http.server.HttpHandler.runService(HttpHandler.java:191) at org.glassfish.grizzly.http.server.HttpHandler.doHandle(HttpHandler.java:168) at org.glassfish.grizzly.http.server.HttpServerFilter.handleRead(HttpServerFilter.java:187) at org.glassfish.grizzly.filterchain.ExecutorResolver$9.execute(ExecutorResolver.java:119) at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeFilter(DefaultFilterChain.java:288) at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeChainPart(DefaultFilterChain.java:206) at org.glassfish.grizzly.filterchain.DefaultFilterChain.execute(DefaultFilterChain.java:136) at org.glassfish.grizzly.filterchain.DefaultFilterChain.process(DefaultFilterChain.java:114) at org.glassfish.grizzly.ProcessorExecutor.execute(ProcessorExecutor.java:77) at org.glassfish.grizzly.nio.transport.TCPNIOTransport.fireIOEvent(TCPNIOTransport.java:837) at org.glassfish.grizzly.strategies.AbstractIOStrategy.fireIOEvent(AbstractIOStrategy.java:113) at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.run0(WorkerThreadIOStrategy.java:115) at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.access$100(WorkerThreadIOStrategy.java:55) at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy$WorkerThreadRunnable.run(WorkerThreadIOStrategy.java:135) at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:565) at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.run(AbstractThreadPool.java:545) at java.lang.Thread.run(Thread.java:722) Caused by: java.sql.SQLSyntaxErrorException: 'DROP TABLE' は存在しないため、これに対して 'TESTENTITY' を実行することはできません。 at org.apache.derby.client.am.SQLExceptionFactory40.getSQLException(Unknown Source) at org.apache.derby.client.am.SqlException.getSQLException(Unknown Source) at org.apache.derby.client.am.Connection.prepareStatement(Unknown Source) at com.sun.gjc.spi.base.ConnectionHolder.prepareStatement(ConnectionHolder.java:586) at com.sun.gjc.spi.jdbc40.ConnectionWrapper40.prepareCachedStatement(ConnectionWrapper40.java:255) at com.sun.gjc.spi.jdbc40.ConnectionWrapper40.prepareCachedStatement(ConnectionWrapper40.java:52) at com.sun.gjc.spi.ManagedConnectionImpl.prepareCachedStatement(ManagedConnectionImpl.java:992) at com.sun.gjc.spi.jdbc40.ConnectionWrapper40.prepareStatement(ConnectionWrapper40.java:173) at org.eclipse.persistence.internal.databaseaccess.DatabaseAccessor.prepareStatement(DatabaseAccessor.java:1556) at org.eclipse.persistence.internal.databaseaccess.DatabaseAccessor.prepareStatement(DatabaseAccessor.java:1505) at org.eclipse.persistence.internal.databaseaccess.DatabaseCall.prepareStatement(DatabaseCall.java:778) at org.eclipse.persistence.internal.databaseaccess.DatabaseAccessor.basicExecuteCall(DatabaseAccessor.java:619) ... 98 more Caused by: org.apache.derby.client.am.SqlException: 'DROP TABLE' は存在しないため、これに対して 'TESTENTITY' を実行することはできません。 at org.apache.derby.client.am.Statement.completeSqlca(Unknown Source) at org.apache.derby.client.net.NetStatementReply.parsePrepareError(Unknown Source) at org.apache.derby.client.net.NetStatementReply.parsePRPSQLSTTreply(Unknown Source) at org.apache.derby.client.net.NetStatementReply.readPrepareDescribeOutput(Unknown Source) at org.apache.derby.client.net.StatementReply.readPrepareDescribeOutput(Unknown Source) at org.apache.derby.client.net.NetStatement.readPrepareDescribeOutput_(Unknown Source) at org.apache.derby.client.am.Statement.readPrepareDescribeOutput(Unknown Source) at org.apache.derby.client.am.PreparedStatement.readPrepareDescribeInputOutput(Unknown Source) at org.apache.derby.client.am.PreparedStatement.flowPrepareDescribeInputOutput(Unknown Source) at org.apache.derby.client.am.PreparedStatement.prepare(Unknown Source) at org.apache.derby.client.am.Connection.prepareStatementX(Unknown Source) ... 108 more ]] [2013-09-27T11:35:35.317+0900] [glassfish 4.0] [FINEST] [] [org.eclipse.persistence.session.file:/E:/NanjingJUG/glassfish-4.0.1-b02/glassfish4/glassfish/domains/domain1/applications/startup-ejb-bug-1.0-SNAPSHOT/WEB-INF/classes/_com.mycompany_startup-ejb-bug_war_1.0-SNAPSHOTPU.query] [tid: _ThreadID=41 _ThreadName=admin-listener(3)] [timeMillis: 1380249335317] [levelValue: 300] [[ Execute query DataModifyQuery(sql="DROP TABLE TESTENTITY")]] [2013-09-27T11:35:35.317+0900] [glassfish 4.0] [FINEST] [] [org.eclipse.persistence.session.file:/E:/NanjingJUG/glassfish-4.0.1-b02/glassfish4/glassfish/domains/domain1/applications/startup-ejb-bug-1.0-SNAPSHOT/WEB-INF/classes/_com.mycompany_startup-ejb-bug_war_1.0-SNAPSHOTPU.connection] [tid: _ThreadID=41 _ThreadName=admin-listener(3)] [timeMillis: 1380249335317] [levelValue: 300] [[ Connection acquired from connection pool [read].]] [2013-09-27T11:35:35.317+0900] [glassfish 4.0] [FINEST] [] [org.eclipse.persistence.session.file:/E:/NanjingJUG/glassfish-4.0.1-b02/glassfish4/glassfish/domains/domain1/applications/startup-ejb-bug-1.0-SNAPSHOT/WEB-INF/classes/_com.mycompany_startup-ejb-bug_war_1.0-SNAPSHOTPU.connection] [tid: _ThreadID=41 _ThreadName=admin-listener(3)] [timeMillis: 1380249335317] [levelValue: 300] [[ reconnecting to external connection pool]] [2013-09-27T11:35:35.317+0900] [glassfish 4.0] [FINE] [] [org.eclipse.persistence.session.file:/E:/NanjingJUG/glassfish-4.0.1-b02/glassfish4/glassfish/domains/domain1/applications/startup-ejb-bug-1.0-SNAPSHOT/WEB-INF/classes/_com.mycompany_startup-ejb-bug_war_1.0-SNAPSHOTPU.sql] [tid: _ThreadID=41 _ThreadName=admin-listener(3)] [timeMillis: 1380249335317] [levelValue: 500] [[ DROP TABLE TESTENTITY]] [2013-09-27T11:35:35.317+0900] [glassfish 4.0] [FINE] [] [org.eclipse.persistence.session.file:/E:/NanjingJUG/glassfish-4.0.1-b02/glassfish4/glassfish/domains/domain1/applications/startup-ejb-bug-1.0-SNAPSHOT/WEB-INF/classes/_com.mycompany_startup-ejb-bug_war_1.0-SNAPSHOTPU.sql] [tid: _ThreadID=41 _ThreadName=admin-listener(3)] [timeMillis: 1380249335317] [levelValue: 500] [[ VALUES(1)]] [2013-09-27T11:35:35.317+0900] [glassfish 4.0] [FINEST] [] [org.eclipse.persistence.session.file:/E:/NanjingJUG/glassfish-4.0.1-b02/glassfish4/glassfish/domains/domain1/applications/startup-ejb-bug-1.0-SNAPSHOT/WEB-INF/classes/_com.mycompany_startup-ejb-bug_war_1.0-SNAPSHOTPU.connection] [tid: _ThreadID=41 _ThreadName=admin-listener(3)] [timeMillis: 1380249335317] [levelValue: 300] [[ Connection released to connection pool [read].]] [2013-09-27T11:35:35.317+0900] [glassfish 4.0] [WARNING] [] [org.eclipse.persistence.session.file:/E:/NanjingJUG/glassfish-4.0.1-b02/glassfish4/glassfish/domains/domain1/applications/startup-ejb-bug-1.0-SNAPSHOT/WEB-INF/classes/_com.mycompany_startup-ejb-bug_war_1.0-SNAPSHOTPU] [tid: _ThreadID=41 _ThreadName=admin-listener(3)] [timeMillis: 1380249335317] [levelValue: 900] [[ Local Exception Stack: Exception [EclipseLink-4002] (Eclipse Persistence Services - 2.5.1.v20130615-1df9e1e): org.eclipse.persistence.exceptions.DatabaseException Internal Exception: java.sql.SQLSyntaxErrorException: 'DROP TABLE' は存在しないため、これに対して 'TESTENTITY' を実行することはできません。 Error Code: -1 Call: DROP TABLE TESTENTITY Query: DataModifyQuery(sql="DROP TABLE TESTENTITY") at org.eclipse.persistence.exceptions.DatabaseException.sqlException(DatabaseException.java:340) at org.eclipse.persistence.internal.databaseaccess.DatabaseAccessor.basicExecuteCall(DatabaseAccessor.java:682) at org.eclipse.persistence.internal.databaseaccess.DatabaseAccessor.executeCall(DatabaseAccessor.java:558) at org.eclipse.persistence.internal.sessions.AbstractSession.basicExecuteCall(AbstractSession.java:1992) at org.eclipse.persistence.sessions.server.ServerSession.executeCall(ServerSession.java:570) at org.eclipse.persistence.internal.queries.DatasourceCallQueryMechanism.executeCall(DatasourceCallQueryMechanism.java:242) at org.eclipse.persistence.internal.queries.DatasourceCallQueryMechanism.executeCall(DatasourceCallQueryMechanism.java:228) at org.eclipse.persistence.internal.queries.DatasourceCallQueryMechanism.executeNoSelectCall(DatasourceCallQueryMechanism.java:271) at org.eclipse.persistence.internal.queries.DatasourceCallQueryMechanism.executeNoSelect(DatasourceCallQueryMechanism.java:251) at org.eclipse.persistence.queries.DataModifyQuery.executeDatabaseQuery(DataModifyQuery.java:85) at org.eclipse.persistence.queries.DatabaseQuery.execute(DatabaseQuery.java:899) at org.eclipse.persistence.internal.sessions.AbstractSession.internalExecuteQuery(AbstractSession.java:3204) at org.eclipse.persistence.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:1794) at org.eclipse.persistence.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:1776) at org.eclipse.persistence.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:1727) at org.eclipse.persistence.internal.sessions.AbstractSession.priviledgedExecuteNonSelectingCall(AbstractSession.java:4997) at org.eclipse.persistence.tools.schemaframework.DatabaseObjectDefinition.dropFromDatabase(DatabaseObjectDefinition.java:190) at org.eclipse.persistence.tools.schemaframework.SchemaManager.dropObject(SchemaManager.java:558) at org.eclipse.persistence.tools.schemaframework.TableCreator.dropTables(TableCreator.java:258) at org.eclipse.persistence.tools.schemaframework.TableCreator.dropTables(TableCreator.java:224) at org.eclipse.persistence.tools.schemaframework.SchemaManager.dropDefaultTables(SchemaManager.java:1071) at org.eclipse.persistence.internal.jpa.EntityManagerFactoryProvider.generateDefaultTables(EntityManagerFactoryProvider.java:104) at org.eclipse.persistence.internal.jpa.EntityManagerSetupImpl.writeDDLToDatabase(EntityManagerSetupImpl.java:3967) at org.eclipse.persistence.internal.jpa.EntityManagerSetupImpl.writeMetadataDDLToDatabase(EntityManagerSetupImpl.java:4022) at org.eclipse.persistence.internal.jpa.EntityManagerSetupImpl.writeDDL(EntityManagerSetupImpl.java:3933) at org.eclipse.persistence.internal.jpa.EntityManagerSetupImpl.writeDDL(EntityManagerSetupImpl.java:3812) at org.eclipse.persistence.internal.jpa.EntityManagerSetupImpl.deploy(EntityManagerSetupImpl.java:727) at org.eclipse.persistence.internal.jpa.EntityManagerFactoryDelegate.getAbstractSession(EntityManagerFactoryDelegate.java:204) at org.eclipse.persistence.internal.jpa.EntityManagerFactoryDelegate.getDatabaseSession(EntityManagerFactoryDelegate.java:182) at org.eclipse.persistence.internal.jpa.EntityManagerFactoryImpl.getDatabaseSession(EntityManagerFactoryImpl.java:527) at org.eclipse.persistence.jpa.PersistenceProvider.createContainerEntityManagerFactory(PersistenceProvider.java:358) at org.glassfish.persistence.jpa.PersistenceUnitLoader.loadPU(PersistenceUnitLoader.java:199) at org.glassfish.persistence.jpa.PersistenceUnitLoader.(PersistenceUnitLoader.java:107) at org.glassfish.persistence.jpa.JPADeployer$1.visitPUD(JPADeployer.java:223) at org.glassfish.persistence.jpa.JPADeployer$PersistenceUnitDescriptorIterator.iteratePUDs(JPADeployer.java:510) at org.glassfish.persistence.jpa.JPADeployer.createEMFs(JPADeployer.java:230) at org.glassfish.persistence.jpa.JPADeployer.prepare(JPADeployer.java:168) at com.sun.enterprise.v3.server.ApplicationLifecycle.prepareModule(ApplicationLifecycle.java:922) at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:431) at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:219) at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:491) at com.sun.enterprise.v3.admin.CommandRunnerImpl$2$1.run(CommandRunnerImpl.java:539) at com.sun.enterprise.v3.admin.CommandRunnerImpl$2$1.run(CommandRunnerImpl.java:535) at java.security.AccessController.doPrivileged(Native Method) at javax.security.auth.Subject.doAs(Subject.java:356) at com.sun.enterprise.v3.admin.CommandRunnerImpl$2.execute(CommandRunnerImpl.java:534) at com.sun.enterprise.v3.admin.CommandRunnerImpl$3.run(CommandRunnerImpl.java:565) at com.sun.enterprise.v3.admin.CommandRunnerImpl$3.run(CommandRunnerImpl.java:557) at java.security.AccessController.doPrivileged(Native Method) at javax.security.auth.Subject.doAs(Subject.java:356) at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:556) at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1464) at com.sun.enterprise.v3.admin.CommandRunnerImpl.access$1300(CommandRunnerImpl.java:109) at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1846) at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1722) at org.glassfish.admin.rest.resources.admin.CommandResource.executeCommand(CommandResource.java:404) at org.glassfish.admin.rest.resources.admin.CommandResource.execCommandSimpInMultOut(CommandResource.java:234) 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.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81) at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:140) at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:158) at org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:152) at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:101) at org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:353) at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:343) at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102) at org.glassfish.jersey.server.ServerRuntime$1.run(ServerRuntime.java:237) at org.glassfish.jersey.internal.Errors$1.call(Errors.java:271) at org.glassfish.jersey.internal.Errors$1.call(Errors.java:267) at org.glassfish.jersey.internal.Errors.process(Errors.java:315) at org.glassfish.jersey.internal.Errors.process(Errors.java:297) at org.glassfish.jersey.internal.Errors.process(Errors.java:267) at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:318) at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:211) at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:982) at org.glassfish.jersey.grizzly2.httpserver.GrizzlyHttpContainer.service(GrizzlyHttpContainer.java:330) at org.glassfish.admin.rest.adapter.JerseyContainerCommandService$3.service(JerseyContainerCommandService.java:173) at org.glassfish.admin.rest.adapter.RestAdapter.service(RestAdapter.java:179) at com.sun.enterprise.v3.services.impl.ContainerMapper$HttpHandlerCallable.call(ContainerMapper.java:496) at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:175) at org.glassfish.grizzly.http.server.HttpHandler.runService(HttpHandler.java:191) at org.glassfish.grizzly.http.server.HttpHandler.doHandle(HttpHandler.java:168) at org.glassfish.grizzly.http.server.HttpServerFilter.handleRead(HttpServerFilter.java:187) at org.glassfish.grizzly.filterchain.ExecutorResolver$9.execute(ExecutorResolver.java:119) at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeFilter(DefaultFilterChain.java:288) at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeChainPart(DefaultFilterChain.java:206) at org.glassfish.grizzly.filterchain.DefaultFilterChain.execute(DefaultFilterChain.java:136) at org.glassfish.grizzly.filterchain.DefaultFilterChain.process(DefaultFilterChain.java:114) at org.glassfish.grizzly.ProcessorExecutor.execute(ProcessorExecutor.java:77) at org.glassfish.grizzly.nio.transport.TCPNIOTransport.fireIOEvent(TCPNIOTransport.java:837) at org.glassfish.grizzly.strategies.AbstractIOStrategy.fireIOEvent(AbstractIOStrategy.java:113) at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.run0(WorkerThreadIOStrategy.java:115) at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.access$100(WorkerThreadIOStrategy.java:55) at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy$WorkerThreadRunnable.run(WorkerThreadIOStrategy.java:135) at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:565) at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.run(AbstractThreadPool.java:545) at java.lang.Thread.run(Thread.java:722) Caused by: java.sql.SQLSyntaxErrorException: 'DROP TABLE' は存在しないため、これに対して 'TESTENTITY' を実行することはできません。 at org.apache.derby.client.am.SQLExceptionFactory40.getSQLException(Unknown Source) at org.apache.derby.client.am.SqlException.getSQLException(Unknown Source) at org.apache.derby.client.am.Connection.prepareStatement(Unknown Source) at com.sun.gjc.spi.base.ConnectionHolder.prepareStatement(ConnectionHolder.java:586) at com.sun.gjc.spi.jdbc40.ConnectionWrapper40.prepareCachedStatement(ConnectionWrapper40.java:255) at com.sun.gjc.spi.jdbc40.ConnectionWrapper40.prepareCachedStatement(ConnectionWrapper40.java:52) at com.sun.gjc.spi.ManagedConnectionImpl.prepareCachedStatement(ManagedConnectionImpl.java:992) at com.sun.gjc.spi.jdbc40.ConnectionWrapper40.prepareStatement(ConnectionWrapper40.java:173) at org.eclipse.persistence.internal.databaseaccess.DatabaseAccessor.prepareStatement(DatabaseAccessor.java:1556) at org.eclipse.persistence.internal.databaseaccess.DatabaseAccessor.prepareStatement(DatabaseAccessor.java:1505) at org.eclipse.persistence.internal.databaseaccess.DatabaseCall.prepareStatement(DatabaseCall.java:778) at org.eclipse.persistence.internal.databaseaccess.DatabaseAccessor.basicExecuteCall(DatabaseAccessor.java:619) ... 98 more Caused by: org.apache.derby.client.am.SqlException: 'DROP TABLE' は存在しないため、これに対して 'TESTENTITY' を実行することはできません。 at org.apache.derby.client.am.Statement.completeSqlca(Unknown Source) at org.apache.derby.client.net.NetStatementReply.parsePrepareError(Unknown Source) at org.apache.derby.client.net.NetStatementReply.parsePRPSQLSTTreply(Unknown Source) at org.apache.derby.client.net.NetStatementReply.readPrepareDescribeOutput(Unknown Source) at org.apache.derby.client.net.StatementReply.readPrepareDescribeOutput(Unknown Source) at org.apache.derby.client.net.NetStatement.readPrepareDescribeOutput_(Unknown Source) at org.apache.derby.client.am.Statement.readPrepareDescribeOutput(Unknown Source) at org.apache.derby.client.am.PreparedStatement.readPrepareDescribeInputOutput(Unknown Source) at org.apache.derby.client.am.PreparedStatement.flowPrepareDescribeInputOutput(Unknown Source) at org.apache.derby.client.am.PreparedStatement.prepare(Unknown Source) at org.apache.derby.client.am.Connection.prepareStatementX(Unknown Source) ... 108 more ]] [2013-09-27T11:35:35.332+0900] [glassfish 4.0] [FINEST] [] [org.eclipse.persistence.session.file:/E:/NanjingJUG/glassfish-4.0.1-b02/glassfish4/glassfish/domains/domain1/applications/startup-ejb-bug-1.0-SNAPSHOT/WEB-INF/classes/_com.mycompany_startup-ejb-bug_war_1.0-SNAPSHOTPU.query] [tid: _ThreadID=41 _ThreadName=admin-listener(3)] [timeMillis: 1380249335332] [levelValue: 300] [[ Execute query DataModifyQuery(sql="DROP TABLE TESTENTITY")]] [2013-09-27T11:35:35.332+0900] [glassfish 4.0] [FINEST] [] [org.eclipse.persistence.session.file:/E:/NanjingJUG/glassfish-4.0.1-b02/glassfish4/glassfish/domains/domain1/applications/startup-ejb-bug-1.0-SNAPSHOT/WEB-INF/classes/_com.mycompany_startup-ejb-bug_war_1.0-SNAPSHOTPU.connection] [tid: _ThreadID=41 _ThreadName=admin-listener(3)] [timeMillis: 1380249335332] [levelValue: 300] [[ Connection acquired from connection pool [read].]] [2013-09-27T11:35:35.332+0900] [glassfish 4.0] [FINEST] [] [org.eclipse.persistence.session.file:/E:/NanjingJUG/glassfish-4.0.1-b02/glassfish4/glassfish/domains/domain1/applications/startup-ejb-bug-1.0-SNAPSHOT/WEB-INF/classes/_com.mycompany_startup-ejb-bug_war_1.0-SNAPSHOTPU.connection] [tid: _ThreadID=41 _ThreadName=admin-listener(3)] [timeMillis: 1380249335332] [levelValue: 300] [[ reconnecting to external connection pool]] [2013-09-27T11:35:35.332+0900] [glassfish 4.0] [FINE] [] [org.eclipse.persistence.session.file:/E:/NanjingJUG/glassfish-4.0.1-b02/glassfish4/glassfish/domains/domain1/applications/startup-ejb-bug-1.0-SNAPSHOT/WEB-INF/classes/_com.mycompany_startup-ejb-bug_war_1.0-SNAPSHOTPU.sql] [tid: _ThreadID=41 _ThreadName=admin-listener(3)] [timeMillis: 1380249335332] [levelValue: 500] [[ DROP TABLE TESTENTITY]] [2013-09-27T11:35:35.332+0900] [glassfish 4.0] [FINE] [] [org.eclipse.persistence.session.file:/E:/NanjingJUG/glassfish-4.0.1-b02/glassfish4/glassfish/domains/domain1/applications/startup-ejb-bug-1.0-SNAPSHOT/WEB-INF/classes/_com.mycompany_startup-ejb-bug_war_1.0-SNAPSHOTPU.sql] [tid: _ThreadID=41 _ThreadName=admin-listener(3)] [timeMillis: 1380249335332] [levelValue: 500] [[ VALUES(1)]] [2013-09-27T11:35:35.332+0900] [glassfish 4.0] [FINEST] [] [org.eclipse.persistence.session.file:/E:/NanjingJUG/glassfish-4.0.1-b02/glassfish4/glassfish/domains/domain1/applications/startup-ejb-bug-1.0-SNAPSHOT/WEB-INF/classes/_com.mycompany_startup-ejb-bug_war_1.0-SNAPSHOTPU.connection] [tid: _ThreadID=41 _ThreadName=admin-listener(3)] [timeMillis: 1380249335332] [levelValue: 300] [[ Connection released to connection pool [read].]] [2013-09-27T11:35:35.332+0900] [glassfish 4.0] [WARNING] [] [org.eclipse.persistence.session.file:/E:/NanjingJUG/glassfish-4.0.1-b02/glassfish4/glassfish/domains/domain1/applications/startup-ejb-bug-1.0-SNAPSHOT/WEB-INF/classes/_com.mycompany_startup-ejb-bug_war_1.0-SNAPSHOTPU] [tid: _ThreadID=41 _ThreadName=admin-listener(3)] [timeMillis: 1380249335332] [levelValue: 900] [[ Local Exception Stack: Exception [EclipseLink-4002] (Eclipse Persistence Services - 2.5.1.v20130615-1df9e1e): org.eclipse.persistence.exceptions.DatabaseException Internal Exception: java.sql.SQLSyntaxErrorException: 'DROP TABLE' は存在しないため、これに対して 'TESTENTITY' を実行することはできません。 Error Code: -1 Call: DROP TABLE TESTENTITY Query: DataModifyQuery(sql="DROP TABLE TESTENTITY") at org.eclipse.persistence.exceptions.DatabaseException.sqlException(DatabaseException.java:340) at org.eclipse.persistence.internal.databaseaccess.DatabaseAccessor.basicExecuteCall(DatabaseAccessor.java:682) at org.eclipse.persistence.internal.databaseaccess.DatabaseAccessor.executeCall(DatabaseAccessor.java:558) at org.eclipse.persistence.internal.sessions.AbstractSession.basicExecuteCall(AbstractSession.java:1992) at org.eclipse.persistence.sessions.server.ServerSession.executeCall(ServerSession.java:570) at org.eclipse.persistence.internal.queries.DatasourceCallQueryMechanism.executeCall(DatasourceCallQueryMechanism.java:242) at org.eclipse.persistence.internal.queries.DatasourceCallQueryMechanism.executeCall(DatasourceCallQueryMechanism.java:228) at org.eclipse.persistence.internal.queries.DatasourceCallQueryMechanism.executeNoSelectCall(DatasourceCallQueryMechanism.java:271) at org.eclipse.persistence.internal.queries.DatasourceCallQueryMechanism.executeNoSelect(DatasourceCallQueryMechanism.java:251) at org.eclipse.persistence.queries.DataModifyQuery.executeDatabaseQuery(DataModifyQuery.java:85) at org.eclipse.persistence.queries.DatabaseQuery.execute(DatabaseQuery.java:899) at org.eclipse.persistence.internal.sessions.AbstractSession.internalExecuteQuery(AbstractSession.java:3204) at org.eclipse.persistence.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:1794) at org.eclipse.persistence.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:1776) at org.eclipse.persistence.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:1727) at org.eclipse.persistence.internal.sessions.AbstractSession.priviledgedExecuteNonSelectingCall(AbstractSession.java:4997) at org.eclipse.persistence.tools.schemaframework.DatabaseObjectDefinition.dropFromDatabase(DatabaseObjectDefinition.java:190) at org.eclipse.persistence.tools.schemaframework.SchemaManager.dropObject(SchemaManager.java:558) at org.eclipse.persistence.tools.schemaframework.TableCreator.dropTables(TableCreator.java:258) at org.eclipse.persistence.tools.schemaframework.TableCreator.dropTables(TableCreator.java:224) at org.eclipse.persistence.tools.schemaframework.SchemaManager.dropDefaultTables(SchemaManager.java:1071) at org.eclipse.persistence.internal.jpa.EntityManagerFactoryProvider.generateDefaultTables(EntityManagerFactoryProvider.java:104) at org.eclipse.persistence.internal.jpa.EntityManagerSetupImpl.writeDDLToDatabase(EntityManagerSetupImpl.java:3967) at org.eclipse.persistence.internal.jpa.EntityManagerSetupImpl.writeMetadataDDLToDatabase(EntityManagerSetupImpl.java:4022) at org.eclipse.persistence.internal.jpa.EntityManagerSetupImpl.writeDDL(EntityManagerSetupImpl.java:3933) at org.eclipse.persistence.internal.jpa.EntityManagerSetupImpl.writeDDL(EntityManagerSetupImpl.java:3812) at org.eclipse.persistence.internal.jpa.EntityManagerSetupImpl.deploy(EntityManagerSetupImpl.java:727) at org.eclipse.persistence.internal.jpa.EntityManagerFactoryDelegate.getAbstractSession(EntityManagerFactoryDelegate.java:204) at org.eclipse.persistence.internal.jpa.EntityManagerFactoryDelegate.getDatabaseSession(EntityManagerFactoryDelegate.java:182) at org.eclipse.persistence.internal.jpa.EntityManagerFactoryImpl.getDatabaseSession(EntityManagerFactoryImpl.java:527) at org.eclipse.persistence.jpa.PersistenceProvider.createContainerEntityManagerFactory(PersistenceProvider.java:358) at org.glassfish.persistence.jpa.PersistenceUnitLoader.loadPU(PersistenceUnitLoader.java:199) at org.glassfish.persistence.jpa.PersistenceUnitLoader.(PersistenceUnitLoader.java:107) at org.glassfish.persistence.jpa.JPADeployer$1.visitPUD(JPADeployer.java:223) at org.glassfish.persistence.jpa.JPADeployer$PersistenceUnitDescriptorIterator.iteratePUDs(JPADeployer.java:510) at org.glassfish.persistence.jpa.JPADeployer.createEMFs(JPADeployer.java:230) at org.glassfish.persistence.jpa.JPADeployer.prepare(JPADeployer.java:168) at com.sun.enterprise.v3.server.ApplicationLifecycle.prepareModule(ApplicationLifecycle.java:922) at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:431) at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:219) at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:491) at com.sun.enterprise.v3.admin.CommandRunnerImpl$2$1.run(CommandRunnerImpl.java:539) at com.sun.enterprise.v3.admin.CommandRunnerImpl$2$1.run(CommandRunnerImpl.java:535) at java.security.AccessController.doPrivileged(Native Method) at javax.security.auth.Subject.doAs(Subject.java:356) at com.sun.enterprise.v3.admin.CommandRunnerImpl$2.execute(CommandRunnerImpl.java:534) at com.sun.enterprise.v3.admin.CommandRunnerImpl$3.run(CommandRunnerImpl.java:565) at com.sun.enterprise.v3.admin.CommandRunnerImpl$3.run(CommandRunnerImpl.java:557) at java.security.AccessController.doPrivileged(Native Method) at javax.security.auth.Subject.doAs(Subject.java:356) at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:556) at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1464) at com.sun.enterprise.v3.admin.CommandRunnerImpl.access$1300(CommandRunnerImpl.java:109) at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1846) at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1722) at org.glassfish.admin.rest.resources.admin.CommandResource.executeCommand(CommandResource.java:404) at org.glassfish.admin.rest.resources.admin.CommandResource.execCommandSimpInMultOut(CommandResource.java:234) 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.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81) at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:140) at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:158) at org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:152) at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:101) at org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:353) at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:343) at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102) at org.glassfish.jersey.server.ServerRuntime$1.run(ServerRuntime.java:237) at org.glassfish.jersey.internal.Errors$1.call(Errors.java:271) at org.glassfish.jersey.internal.Errors$1.call(Errors.java:267) at org.glassfish.jersey.internal.Errors.process(Errors.java:315) at org.glassfish.jersey.internal.Errors.process(Errors.java:297) at org.glassfish.jersey.internal.Errors.process(Errors.java:267) at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:318) at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:211) at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:982) at org.glassfish.jersey.grizzly2.httpserver.GrizzlyHttpContainer.service(GrizzlyHttpContainer.java:330) at org.glassfish.admin.rest.adapter.JerseyContainerCommandService$3.service(JerseyContainerCommandService.java:173) at org.glassfish.admin.rest.adapter.RestAdapter.service(RestAdapter.java:179) at com.sun.enterprise.v3.services.impl.ContainerMapper$HttpHandlerCallable.call(ContainerMapper.java:496) at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:175) at org.glassfish.grizzly.http.server.HttpHandler.runService(HttpHandler.java:191) at org.glassfish.grizzly.http.server.HttpHandler.doHandle(HttpHandler.java:168) at org.glassfish.grizzly.http.server.HttpServerFilter.handleRead(HttpServerFilter.java:187) at org.glassfish.grizzly.filterchain.ExecutorResolver$9.execute(ExecutorResolver.java:119) at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeFilter(DefaultFilterChain.java:288) at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeChainPart(DefaultFilterChain.java:206) at org.glassfish.grizzly.filterchain.DefaultFilterChain.execute(DefaultFilterChain.java:136) at org.glassfish.grizzly.filterchain.DefaultFilterChain.process(DefaultFilterChain.java:114) at org.glassfish.grizzly.ProcessorExecutor.execute(ProcessorExecutor.java:77) at org.glassfish.grizzly.nio.transport.TCPNIOTransport.fireIOEvent(TCPNIOTransport.java:837) at org.glassfish.grizzly.strategies.AbstractIOStrategy.fireIOEvent(AbstractIOStrategy.java:113) at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.run0(WorkerThreadIOStrategy.java:115) at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.access$100(WorkerThreadIOStrategy.java:55) at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy$WorkerThreadRunnable.run(WorkerThreadIOStrategy.java:135) at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:565) at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.run(AbstractThreadPool.java:545) at java.lang.Thread.run(Thread.java:722) Caused by: java.sql.SQLSyntaxErrorException: 'DROP TABLE' は存在しないため、これに対して 'TESTENTITY' を実行することはできません。 at org.apache.derby.client.am.SQLExceptionFactory40.getSQLException(Unknown Source) at org.apache.derby.client.am.SqlException.getSQLException(Unknown Source) at org.apache.derby.client.am.Connection.prepareStatement(Unknown Source) at com.sun.gjc.spi.base.ConnectionHolder.prepareStatement(ConnectionHolder.java:586) at com.sun.gjc.spi.jdbc40.ConnectionWrapper40.prepareCachedStatement(ConnectionWrapper40.java:255) at com.sun.gjc.spi.jdbc40.ConnectionWrapper40.prepareCachedStatement(ConnectionWrapper40.java:52) at com.sun.gjc.spi.ManagedConnectionImpl.prepareCachedStatement(ManagedConnectionImpl.java:992) at com.sun.gjc.spi.jdbc40.ConnectionWrapper40.prepareStatement(ConnectionWrapper40.java:173) at org.eclipse.persistence.internal.databaseaccess.DatabaseAccessor.prepareStatement(DatabaseAccessor.java:1556) at org.eclipse.persistence.internal.databaseaccess.DatabaseAccessor.prepareStatement(DatabaseAccessor.java:1505) at org.eclipse.persistence.internal.databaseaccess.DatabaseCall.prepareStatement(DatabaseCall.java:778) at org.eclipse.persistence.internal.databaseaccess.DatabaseAccessor.basicExecuteCall(DatabaseAccessor.java:619) ... 98 more Caused by: org.apache.derby.client.am.SqlException: 'DROP TABLE' は存在しないため、これに対して 'TESTENTITY' を実行することはできません。 at org.apache.derby.client.am.Statement.completeSqlca(Unknown Source) at org.apache.derby.client.net.NetStatementReply.parsePrepareError(Unknown Source) at org.apache.derby.client.net.NetStatementReply.parsePRPSQLSTTreply(Unknown Source) at org.apache.derby.client.net.NetStatementReply.readPrepareDescribeOutput(Unknown Source) at org.apache.derby.client.net.StatementReply.readPrepareDescribeOutput(Unknown Source) at org.apache.derby.client.net.NetStatement.readPrepareDescribeOutput_(Unknown Source) at org.apache.derby.client.am.Statement.readPrepareDescribeOutput(Unknown Source) at org.apache.derby.client.am.PreparedStatement.readPrepareDescribeInputOutput(Unknown Source) at org.apache.derby.client.am.PreparedStatement.flowPrepareDescribeInputOutput(Unknown Source) at org.apache.derby.client.am.PreparedStatement.prepare(Unknown Source) at org.apache.derby.client.am.Connection.prepareStatementX(Unknown Source) ... 108 more ]] [2013-09-27T11:35:35.332+0900] [glassfish 4.0] [FINEST] [] [org.eclipse.persistence.session.file:/E:/NanjingJUG/glassfish-4.0.1-b02/glassfish4/glassfish/domains/domain1/applications/startup-ejb-bug-1.0-SNAPSHOT/WEB-INF/classes/_com.mycompany_startup-ejb-bug_war_1.0-SNAPSHOTPU.query] [tid: _ThreadID=41 _ThreadName=admin-listener(3)] [timeMillis: 1380249335332] [levelValue: 300] [[ Execute query DataModifyQuery(sql="DROP TABLE TESTENTITY")]] [2013-09-27T11:35:35.332+0900] [glassfish 4.0] [FINEST] [] [org.eclipse.persistence.session.file:/E:/NanjingJUG/glassfish-4.0.1-b02/glassfish4/glassfish/domains/domain1/applications/startup-ejb-bug-1.0-SNAPSHOT/WEB-INF/classes/_com.mycompany_startup-ejb-bug_war_1.0-SNAPSHOTPU.connection] [tid: _ThreadID=41 _ThreadName=admin-listener(3)] [timeMillis: 1380249335332] [levelValue: 300] [[ Connection acquired from connection pool [read].]] [2013-09-27T11:35:35.332+0900] [glassfish 4.0] [FINEST] [] [org.eclipse.persistence.session.file:/E:/NanjingJUG/glassfish-4.0.1-b02/glassfish4/glassfish/domains/domain1/applications/startup-ejb-bug-1.0-SNAPSHOT/WEB-INF/classes/_com.mycompany_startup-ejb-bug_war_1.0-SNAPSHOTPU.connection] [tid: _ThreadID=41 _ThreadName=admin-listener(3)] [timeMillis: 1380249335332] [levelValue: 300] [[ reconnecting to external connection pool]] [2013-09-27T11:35:35.332+0900] [glassfish 4.0] [FINE] [] [org.eclipse.persistence.session.file:/E:/NanjingJUG/glassfish-4.0.1-b02/glassfish4/glassfish/domains/domain1/applications/startup-ejb-bug-1.0-SNAPSHOT/WEB-INF/classes/_com.mycompany_startup-ejb-bug_war_1.0-SNAPSHOTPU.sql] [tid: _ThreadID=41 _ThreadName=admin-listener(3)] [timeMillis: 1380249335332] [levelValue: 500] [[ DROP TABLE TESTENTITY]] [2013-09-27T11:35:35.332+0900] [glassfish 4.0] [FINE] [] [org.eclipse.persistence.session.file:/E:/NanjingJUG/glassfish-4.0.1-b02/glassfish4/glassfish/domains/domain1/applications/startup-ejb-bug-1.0-SNAPSHOT/WEB-INF/classes/_com.mycompany_startup-ejb-bug_war_1.0-SNAPSHOTPU.sql] [tid: _ThreadID=41 _ThreadName=admin-listener(3)] [timeMillis: 1380249335332] [levelValue: 500] [[ VALUES(1)]] [2013-09-27T11:35:35.348+0900] [glassfish 4.0] [FINEST] [] [org.eclipse.persistence.session.file:/E:/NanjingJUG/glassfish-4.0.1-b02/glassfish4/glassfish/domains/domain1/applications/startup-ejb-bug-1.0-SNAPSHOT/WEB-INF/classes/_com.mycompany_startup-ejb-bug_war_1.0-SNAPSHOTPU.connection] [tid: _ThreadID=41 _ThreadName=admin-listener(3)] [timeMillis: 1380249335348] [levelValue: 300] [[ Connection released to connection pool [read].]] [2013-09-27T11:35:35.348+0900] [glassfish 4.0] [WARNING] [] [org.eclipse.persistence.session.file:/E:/NanjingJUG/glassfish-4.0.1-b02/glassfish4/glassfish/domains/domain1/applications/startup-ejb-bug-1.0-SNAPSHOT/WEB-INF/classes/_com.mycompany_startup-ejb-bug_war_1.0-SNAPSHOTPU] [tid: _ThreadID=41 _ThreadName=admin-listener(3)] [timeMillis: 1380249335348] [levelValue: 900] [[ Local Exception Stack: Exception [EclipseLink-4002] (Eclipse Persistence Services - 2.5.1.v20130615-1df9e1e): org.eclipse.persistence.exceptions.DatabaseException Internal Exception: java.sql.SQLSyntaxErrorException: 'DROP TABLE' は存在しないため、これに対して 'TESTENTITY' を実行することはできません。 Error Code: -1 Call: DROP TABLE TESTENTITY Query: DataModifyQuery(sql="DROP TABLE TESTENTITY") at org.eclipse.persistence.exceptions.DatabaseException.sqlException(DatabaseException.java:340) at org.eclipse.persistence.internal.databaseaccess.DatabaseAccessor.basicExecuteCall(DatabaseAccessor.java:682) at org.eclipse.persistence.internal.databaseaccess.DatabaseAccessor.executeCall(DatabaseAccessor.java:558) at org.eclipse.persistence.internal.sessions.AbstractSession.basicExecuteCall(AbstractSession.java:1992) at org.eclipse.persistence.sessions.server.ServerSession.executeCall(ServerSession.java:570) at org.eclipse.persistence.internal.queries.DatasourceCallQueryMechanism.executeCall(DatasourceCallQueryMechanism.java:242) at org.eclipse.persistence.internal.queries.DatasourceCallQueryMechanism.executeCall(DatasourceCallQueryMechanism.java:228) at org.eclipse.persistence.internal.queries.DatasourceCallQueryMechanism.executeNoSelectCall(DatasourceCallQueryMechanism.java:271) at org.eclipse.persistence.internal.queries.DatasourceCallQueryMechanism.executeNoSelect(DatasourceCallQueryMechanism.java:251) at org.eclipse.persistence.queries.DataModifyQuery.executeDatabaseQuery(DataModifyQuery.java:85) at org.eclipse.persistence.queries.DatabaseQuery.execute(DatabaseQuery.java:899) at org.eclipse.persistence.internal.sessions.AbstractSession.internalExecuteQuery(AbstractSession.java:3204) at org.eclipse.persistence.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:1794) at org.eclipse.persistence.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:1776) at org.eclipse.persistence.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:1727) at org.eclipse.persistence.internal.sessions.AbstractSession.priviledgedExecuteNonSelectingCall(AbstractSession.java:4997) at org.eclipse.persistence.tools.schemaframework.DatabaseObjectDefinition.dropFromDatabase(DatabaseObjectDefinition.java:190) at org.eclipse.persistence.tools.schemaframework.SchemaManager.dropObject(SchemaManager.java:558) at org.eclipse.persistence.tools.schemaframework.TableCreator.dropTables(TableCreator.java:258) at org.eclipse.persistence.tools.schemaframework.TableCreator.dropTables(TableCreator.java:224) at org.eclipse.persistence.tools.schemaframework.SchemaManager.dropDefaultTables(SchemaManager.java:1071) at org.eclipse.persistence.internal.jpa.EntityManagerFactoryProvider.generateDefaultTables(EntityManagerFactoryProvider.java:104) at org.eclipse.persistence.internal.jpa.EntityManagerSetupImpl.writeDDLToDatabase(EntityManagerSetupImpl.java:3967) at org.eclipse.persistence.internal.jpa.EntityManagerSetupImpl.writeMetadataDDLToDatabase(EntityManagerSetupImpl.java:4022) at org.eclipse.persistence.internal.jpa.EntityManagerSetupImpl.writeDDL(EntityManagerSetupImpl.java:3933) at org.eclipse.persistence.internal.jpa.EntityManagerSetupImpl.writeDDL(EntityManagerSetupImpl.java:3812) at org.eclipse.persistence.internal.jpa.EntityManagerSetupImpl.deploy(EntityManagerSetupImpl.java:727) at org.eclipse.persistence.internal.jpa.EntityManagerFactoryDelegate.getAbstractSession(EntityManagerFactoryDelegate.java:204) at org.eclipse.persistence.internal.jpa.EntityManagerFactoryDelegate.getDatabaseSession(EntityManagerFactoryDelegate.java:182) at org.eclipse.persistence.internal.jpa.EntityManagerFactoryImpl.getDatabaseSession(EntityManagerFactoryImpl.java:527) at org.eclipse.persistence.jpa.PersistenceProvider.createContainerEntityManagerFactory(PersistenceProvider.java:358) at org.glassfish.persistence.jpa.PersistenceUnitLoader.loadPU(PersistenceUnitLoader.java:199) at org.glassfish.persistence.jpa.PersistenceUnitLoader.(PersistenceUnitLoader.java:107) at org.glassfish.persistence.jpa.JPADeployer$1.visitPUD(JPADeployer.java:223) at org.glassfish.persistence.jpa.JPADeployer$PersistenceUnitDescriptorIterator.iteratePUDs(JPADeployer.java:510) at org.glassfish.persistence.jpa.JPADeployer.createEMFs(JPADeployer.java:230) at org.glassfish.persistence.jpa.JPADeployer.prepare(JPADeployer.java:168) at com.sun.enterprise.v3.server.ApplicationLifecycle.prepareModule(ApplicationLifecycle.java:922) at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:431) at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:219) at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:491) at com.sun.enterprise.v3.admin.CommandRunnerImpl$2$1.run(CommandRunnerImpl.java:539) at com.sun.enterprise.v3.admin.CommandRunnerImpl$2$1.run(CommandRunnerImpl.java:535) at java.security.AccessController.doPrivileged(Native Method) at javax.security.auth.Subject.doAs(Subject.java:356) at com.sun.enterprise.v3.admin.CommandRunnerImpl$2.execute(CommandRunnerImpl.java:534) at com.sun.enterprise.v3.admin.CommandRunnerImpl$3.run(CommandRunnerImpl.java:565) at com.sun.enterprise.v3.admin.CommandRunnerImpl$3.run(CommandRunnerImpl.java:557) at java.security.AccessController.doPrivileged(Native Method) at javax.security.auth.Subject.doAs(Subject.java:356) at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:556) at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1464) at com.sun.enterprise.v3.admin.CommandRunnerImpl.access$1300(CommandRunnerImpl.java:109) at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1846) at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1722) at org.glassfish.admin.rest.resources.admin.CommandResource.executeCommand(CommandResource.java:404) at org.glassfish.admin.rest.resources.admin.CommandResource.execCommandSimpInMultOut(CommandResource.java:234) 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.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81) at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:140) at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:158) at org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:152) at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:101) at org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:353) at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:343) at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102) at org.glassfish.jersey.server.ServerRuntime$1.run(ServerRuntime.java:237) at org.glassfish.jersey.internal.Errors$1.call(Errors.java:271) at org.glassfish.jersey.internal.Errors$1.call(Errors.java:267) at org.glassfish.jersey.internal.Errors.process(Errors.java:315) at org.glassfish.jersey.internal.Errors.process(Errors.java:297) at org.glassfish.jersey.internal.Errors.process(Errors.java:267) at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:318) at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:211) at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:982) at org.glassfish.jersey.grizzly2.httpserver.GrizzlyHttpContainer.service(GrizzlyHttpContainer.java:330) at org.glassfish.admin.rest.adapter.JerseyContainerCommandService$3.service(JerseyContainerCommandService.java:173) at org.glassfish.admin.rest.adapter.RestAdapter.service(RestAdapter.java:179) at com.sun.enterprise.v3.services.impl.ContainerMapper$HttpHandlerCallable.call(ContainerMapper.java:496) at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:175) at org.glassfish.grizzly.http.server.HttpHandler.runService(HttpHandler.java:191) at org.glassfish.grizzly.http.server.HttpHandler.doHandle(HttpHandler.java:168) at org.glassfish.grizzly.http.server.HttpServerFilter.handleRead(HttpServerFilter.java:187) at org.glassfish.grizzly.filterchain.ExecutorResolver$9.execute(ExecutorResolver.java:119) at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeFilter(DefaultFilterChain.java:288) at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeChainPart(DefaultFilterChain.java:206) at org.glassfish.grizzly.filterchain.DefaultFilterChain.execute(DefaultFilterChain.java:136) at org.glassfish.grizzly.filterchain.DefaultFilterChain.process(DefaultFilterChain.java:114) at org.glassfish.grizzly.ProcessorExecutor.execute(ProcessorExecutor.java:77) at org.glassfish.grizzly.nio.transport.TCPNIOTransport.fireIOEvent(TCPNIOTransport.java:837) at org.glassfish.grizzly.strategies.AbstractIOStrategy.fireIOEvent(AbstractIOStrategy.java:113) at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.run0(WorkerThreadIOStrategy.java:115) at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.access$100(WorkerThreadIOStrategy.java:55) at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy$WorkerThreadRunnable.run(WorkerThreadIOStrategy.java:135) at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:565) at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.run(AbstractThreadPool.java:545) at java.lang.Thread.run(Thread.java:722) Caused by: java.sql.SQLSyntaxErrorException: 'DROP TABLE' は存在しないため、これに対して 'TESTENTITY' を実行することはできません。 at org.apache.derby.client.am.SQLExceptionFactory40.getSQLException(Unknown Source) at org.apache.derby.client.am.SqlException.getSQLException(Unknown Source) at org.apache.derby.client.am.Connection.prepareStatement(Unknown Source) at com.sun.gjc.spi.base.ConnectionHolder.prepareStatement(ConnectionHolder.java:586) at com.sun.gjc.spi.jdbc40.ConnectionWrapper40.prepareCachedStatement(ConnectionWrapper40.java:255) at com.sun.gjc.spi.jdbc40.ConnectionWrapper40.prepareCachedStatement(ConnectionWrapper40.java:52) at com.sun.gjc.spi.ManagedConnectionImpl.prepareCachedStatement(ManagedConnectionImpl.java:992) at com.sun.gjc.spi.jdbc40.ConnectionWrapper40.prepareStatement(ConnectionWrapper40.java:173) at org.eclipse.persistence.internal.databaseaccess.DatabaseAccessor.prepareStatement(DatabaseAccessor.java:1556) at org.eclipse.persistence.internal.databaseaccess.DatabaseAccessor.prepareStatement(DatabaseAccessor.java:1505) at org.eclipse.persistence.internal.databaseaccess.DatabaseCall.prepareStatement(DatabaseCall.java:778) at org.eclipse.persistence.internal.databaseaccess.DatabaseAccessor.basicExecuteCall(DatabaseAccessor.java:619) ... 98 more Caused by: org.apache.derby.client.am.SqlException: 'DROP TABLE' は存在しないため、これに対して 'TESTENTITY' を実行することはできません。 at org.apache.derby.client.am.Statement.completeSqlca(Unknown Source) at org.apache.derby.client.net.NetStatementReply.parsePrepareError(Unknown Source) at org.apache.derby.client.net.NetStatementReply.parsePRPSQLSTTreply(Unknown Source) at org.apache.derby.client.net.NetStatementReply.readPrepareDescribeOutput(Unknown Source) at org.apache.derby.client.net.StatementReply.readPrepareDescribeOutput(Unknown Source) at org.apache.derby.client.net.NetStatement.readPrepareDescribeOutput_(Unknown Source) at org.apache.derby.client.am.Statement.readPrepareDescribeOutput(Unknown Source) at org.apache.derby.client.am.PreparedStatement.readPrepareDescribeInputOutput(Unknown Source) at org.apache.derby.client.am.PreparedStatement.flowPrepareDescribeInputOutput(Unknown Source) at org.apache.derby.client.am.PreparedStatement.prepare(Unknown Source) at org.apache.derby.client.am.Connection.prepareStatementX(Unknown Source) ... 108 more ]] [2013-09-27T11:35:35.363+0900] [glassfish 4.0] [FINEST] [] [org.eclipse.persistence.session.file:/E:/NanjingJUG/glassfish-4.0.1-b02/glassfish4/glassfish/domains/domain1/applications/startup-ejb-bug-1.0-SNAPSHOT/WEB-INF/classes/_com.mycompany_startup-ejb-bug_war_1.0-SNAPSHOTPU.query] [tid: _ThreadID=41 _ThreadName=admin-listener(3)] [timeMillis: 1380249335363] [levelValue: 300] [[ Execute query DataModifyQuery(sql="DELETE FROM SEQUENCE WHERE SEQ_NAME = 'SEQ_GEN'")]] [2013-09-27T11:35:35.363+0900] [glassfish 4.0] [FINEST] [] [org.eclipse.persistence.session.file:/E:/NanjingJUG/glassfish-4.0.1-b02/glassfish4/glassfish/domains/domain1/applications/startup-ejb-bug-1.0-SNAPSHOT/WEB-INF/classes/_com.mycompany_startup-ejb-bug_war_1.0-SNAPSHOTPU.connection] [tid: _ThreadID=41 _ThreadName=admin-listener(3)] [timeMillis: 1380249335363] [levelValue: 300] [[ Connection acquired from connection pool [read].]] [2013-09-27T11:35:35.363+0900] [glassfish 4.0] [FINEST] [] [org.eclipse.persistence.session.file:/E:/NanjingJUG/glassfish-4.0.1-b02/glassfish4/glassfish/domains/domain1/applications/startup-ejb-bug-1.0-SNAPSHOT/WEB-INF/classes/_com.mycompany_startup-ejb-bug_war_1.0-SNAPSHOTPU.connection] [tid: _ThreadID=41 _ThreadName=admin-listener(3)] [timeMillis: 1380249335363] [levelValue: 300] [[ reconnecting to external connection pool]] [2013-09-27T11:35:35.363+0900] [glassfish 4.0] [FINE] [] [org.eclipse.persistence.session.file:/E:/NanjingJUG/glassfish-4.0.1-b02/glassfish4/glassfish/domains/domain1/applications/startup-ejb-bug-1.0-SNAPSHOT/WEB-INF/classes/_com.mycompany_startup-ejb-bug_war_1.0-SNAPSHOTPU.sql] [tid: _ThreadID=41 _ThreadName=admin-listener(3)] [timeMillis: 1380249335363] [levelValue: 500] [[ DELETE FROM SEQUENCE WHERE SEQ_NAME = SEQ_GEN]] [2013-09-27T11:35:35.426+0900] [glassfish 4.0] [FINEST] [] [org.eclipse.persistence.session.file:/E:/NanjingJUG/glassfish-4.0.1-b02/glassfish4/glassfish/domains/domain1/applications/startup-ejb-bug-1.0-SNAPSHOT/WEB-INF/classes/_com.mycompany_startup-ejb-bug_war_1.0-SNAPSHOTPU.connection] [tid: _ThreadID=41 _ThreadName=admin-listener(3)] [timeMillis: 1380249335426] [levelValue: 300] [[ Connection released to connection pool [read].]] [2013-09-27T11:35:35.473+0900] [glassfish 4.0] [FINEST] [] [org.eclipse.persistence.session.file:/E:/NanjingJUG/glassfish-4.0.1-b02/glassfish4/glassfish/domains/domain1/applications/startup-ejb-bug-1.0-SNAPSHOT/WEB-INF/classes/_com.mycompany_startup-ejb-bug_war_1.0-SNAPSHOTPU.query] [tid: _ThreadID=41 _ThreadName=admin-listener(3)] [timeMillis: 1380249335473] [levelValue: 300] [[ Execute query DataModifyQuery(sql="CREATE TABLE TESTENTITY (ID BIGINT NOT NULL, DATA VARCHAR(255), PRIMARY KEY (ID))")]] [2013-09-27T11:35:35.473+0900] [glassfish 4.0] [FINEST] [] [org.eclipse.persistence.session.file:/E:/NanjingJUG/glassfish-4.0.1-b02/glassfish4/glassfish/domains/domain1/applications/startup-ejb-bug-1.0-SNAPSHOT/WEB-INF/classes/_com.mycompany_startup-ejb-bug_war_1.0-SNAPSHOTPU.connection] [tid: _ThreadID=41 _ThreadName=admin-listener(3)] [timeMillis: 1380249335473] [levelValue: 300] [[ Connection acquired from connection pool [read].]] [2013-09-27T11:35:35.473+0900] [glassfish 4.0] [FINEST] [] [org.eclipse.persistence.session.file:/E:/NanjingJUG/glassfish-4.0.1-b02/glassfish4/glassfish/domains/domain1/applications/startup-ejb-bug-1.0-SNAPSHOT/WEB-INF/classes/_com.mycompany_startup-ejb-bug_war_1.0-SNAPSHOTPU.connection] [tid: _ThreadID=41 _ThreadName=admin-listener(3)] [timeMillis: 1380249335473] [levelValue: 300] [[ reconnecting to external connection pool]] [2013-09-27T11:35:35.473+0900] [glassfish 4.0] [FINE] [] [org.eclipse.persistence.session.file:/E:/NanjingJUG/glassfish-4.0.1-b02/glassfish4/glassfish/domains/domain1/applications/startup-ejb-bug-1.0-SNAPSHOT/WEB-INF/classes/_com.mycompany_startup-ejb-bug_war_1.0-SNAPSHOTPU.sql] [tid: _ThreadID=41 _ThreadName=admin-listener(3)] [timeMillis: 1380249335473] [levelValue: 500] [[ CREATE TABLE TESTENTITY (ID BIGINT NOT NULL, DATA VARCHAR(255), PRIMARY KEY (ID))]] [2013-09-27T11:35:35.629+0900] [glassfish 4.0] [FINEST] [] [org.eclipse.persistence.session.file:/E:/NanjingJUG/glassfish-4.0.1-b02/glassfish4/glassfish/domains/domain1/applications/startup-ejb-bug-1.0-SNAPSHOT/WEB-INF/classes/_com.mycompany_startup-ejb-bug_war_1.0-SNAPSHOTPU.connection] [tid: _ThreadID=41 _ThreadName=admin-listener(3)] [timeMillis: 1380249335629] [levelValue: 300] [[ Connection released to connection pool [read].]] [2013-09-27T11:35:35.629+0900] [glassfish 4.0] [FINEST] [] [] [tid: _ThreadID=41 _ThreadName=admin-listener(3)] [timeMillis: 1380249335629] [levelValue: 300] [[ The table (TESTENTITY) is created.]] [2013-09-27T11:35:35.629+0900] [glassfish 4.0] [FINEST] [] [org.eclipse.persistence.session.file:/E:/NanjingJUG/glassfish-4.0.1-b02/glassfish4/glassfish/domains/domain1/applications/startup-ejb-bug-1.0-SNAPSHOT/WEB-INF/classes/_com.mycompany_startup-ejb-bug_war_1.0-SNAPSHOTPU.query] [tid: _ThreadID=41 _ThreadName=admin-listener(3)] [timeMillis: 1380249335629] [levelValue: 300] [[ Execute query DataReadQuery(sql="SELECT * FROM SEQUENCE WHERE SEQ_NAME = 'SEQ_GEN'")]] [2013-09-27T11:35:35.629+0900] [glassfish 4.0] [FINEST] [] [org.eclipse.persistence.session.file:/E:/NanjingJUG/glassfish-4.0.1-b02/glassfish4/glassfish/domains/domain1/applications/startup-ejb-bug-1.0-SNAPSHOT/WEB-INF/classes/_com.mycompany_startup-ejb-bug_war_1.0-SNAPSHOTPU.connection] [tid: _ThreadID=41 _ThreadName=admin-listener(3)] [timeMillis: 1380249335629] [levelValue: 300] [[ Connection acquired from connection pool [read].]] [2013-09-27T11:35:35.629+0900] [glassfish 4.0] [FINEST] [] [org.eclipse.persistence.session.file:/E:/NanjingJUG/glassfish-4.0.1-b02/glassfish4/glassfish/domains/domain1/applications/startup-ejb-bug-1.0-SNAPSHOT/WEB-INF/classes/_com.mycompany_startup-ejb-bug_war_1.0-SNAPSHOTPU.connection] [tid: _ThreadID=41 _ThreadName=admin-listener(3)] [timeMillis: 1380249335629] [levelValue: 300] [[ reconnecting to external connection pool]] [2013-09-27T11:35:35.629+0900] [glassfish 4.0] [FINE] [] [org.eclipse.persistence.session.file:/E:/NanjingJUG/glassfish-4.0.1-b02/glassfish4/glassfish/domains/domain1/applications/startup-ejb-bug-1.0-SNAPSHOT/WEB-INF/classes/_com.mycompany_startup-ejb-bug_war_1.0-SNAPSHOTPU.sql] [tid: _ThreadID=41 _ThreadName=admin-listener(3)] [timeMillis: 1380249335629] [levelValue: 500] [[ SELECT * FROM SEQUENCE WHERE SEQ_NAME = SEQ_GEN]] [2013-09-27T11:35:35.645+0900] [glassfish 4.0] [FINEST] [] [org.eclipse.persistence.session.file:/E:/NanjingJUG/glassfish-4.0.1-b02/glassfish4/glassfish/domains/domain1/applications/startup-ejb-bug-1.0-SNAPSHOT/WEB-INF/classes/_com.mycompany_startup-ejb-bug_war_1.0-SNAPSHOTPU.connection] [tid: _ThreadID=41 _ThreadName=admin-listener(3)] [timeMillis: 1380249335645] [levelValue: 300] [[ Connection released to connection pool [read].]] [2013-09-27T11:35:35.645+0900] [glassfish 4.0] [FINEST] [] [org.eclipse.persistence.session.file:/E:/NanjingJUG/glassfish-4.0.1-b02/glassfish4/glassfish/domains/domain1/applications/startup-ejb-bug-1.0-SNAPSHOT/WEB-INF/classes/_com.mycompany_startup-ejb-bug_war_1.0-SNAPSHOTPU.query] [tid: _ThreadID=41 _ThreadName=admin-listener(3)] [timeMillis: 1380249335645] [levelValue: 300] [[ Execute query DataModifyQuery(sql="INSERT INTO SEQUENCE(SEQ_NAME, SEQ_COUNT) values ('SEQ_GEN', 0)")]] [2013-09-27T11:35:35.645+0900] [glassfish 4.0] [FINEST] [] [org.eclipse.persistence.session.file:/E:/NanjingJUG/glassfish-4.0.1-b02/glassfish4/glassfish/domains/domain1/applications/startup-ejb-bug-1.0-SNAPSHOT/WEB-INF/classes/_com.mycompany_startup-ejb-bug_war_1.0-SNAPSHOTPU.connection] [tid: _ThreadID=41 _ThreadName=admin-listener(3)] [timeMillis: 1380249335645] [levelValue: 300] [[ Connection acquired from connection pool [read].]] [2013-09-27T11:35:35.645+0900] [glassfish 4.0] [FINEST] [] [org.eclipse.persistence.session.file:/E:/NanjingJUG/glassfish-4.0.1-b02/glassfish4/glassfish/domains/domain1/applications/startup-ejb-bug-1.0-SNAPSHOT/WEB-INF/classes/_com.mycompany_startup-ejb-bug_war_1.0-SNAPSHOTPU.connection] [tid: _ThreadID=41 _ThreadName=admin-listener(3)] [timeMillis: 1380249335645] [levelValue: 300] [[ reconnecting to external connection pool]] [2013-09-27T11:35:35.645+0900] [glassfish 4.0] [FINE] [] [org.eclipse.persistence.session.file:/E:/NanjingJUG/glassfish-4.0.1-b02/glassfish4/glassfish/domains/domain1/applications/startup-ejb-bug-1.0-SNAPSHOT/WEB-INF/classes/_com.mycompany_startup-ejb-bug_war_1.0-SNAPSHOTPU.sql] [tid: _ThreadID=41 _ThreadName=admin-listener(3)] [timeMillis: 1380249335645] [levelValue: 500] [[ INSERT INTO SEQUENCE(SEQ_NAME, SEQ_COUNT) values (SEQ_GEN, 0)]] [2013-09-27T11:35:35.676+0900] [glassfish 4.0] [FINEST] [] [org.eclipse.persistence.session.file:/E:/NanjingJUG/glassfish-4.0.1-b02/glassfish4/glassfish/domains/domain1/applications/startup-ejb-bug-1.0-SNAPSHOT/WEB-INF/classes/_com.mycompany_startup-ejb-bug_war_1.0-SNAPSHOTPU.connection] [tid: _ThreadID=41 _ThreadName=admin-listener(3)] [timeMillis: 1380249335676] [levelValue: 300] [[ Connection released to connection pool [read].]] [2013-09-27T11:35:35.692+0900] [glassfish 4.0] [FINER] [] [org.eclipse.persistence.session.file:/E:/NanjingJUG/glassfish-4.0.1-b02/glassfish4/glassfish/domains/domain1/applications/startup-ejb-bug-1.0-SNAPSHOT/WEB-INF/classes/_com.mycompany_startup-ejb-bug_war_1.0-SNAPSHOTPU.metamodel] [tid: _ThreadID=41 _ThreadName=admin-listener(3)] [timeMillis: 1380249335692] [levelValue: 400] [[ Canonical Metamodel class [com.mycompany.startup.ejb.bug.TestEntity_] not found during initialization.]] [2013-09-27T11:35:35.692+0900] [glassfish 4.0] [FINEST] [] [] [tid: _ThreadID=41 _ThreadName=admin-listener(3)] [timeMillis: 1380249335692] [levelValue: 300] [[ End deploying Persistence Unit com.mycompany_startup-ejb-bug_war_1.0-SNAPSHOTPU; session file:/E:/NanjingJUG/glassfish-4.0.1-b02/glassfish4/glassfish/domains/domain1/applications/startup-ejb-bug-1.0-SNAPSHOT/WEB-INF/classes/_com.mycompany_startup-ejb-bug_war_1.0-SNAPSHOTPU; state Deployed; factoryCount 1]] [2013-09-27T11:35:35.723+0900] [glassfish 4.0] [INFO] [ejb.portable_jndi_names] [javax.enterprise.system.container.ejb.com.sun.ejb.containers] [tid: _ThreadID=41 _ThreadName=admin-listener(3)] [timeMillis: 1380249335723] [levelValue: 800] [[ EJB5181:Portable JNDI names for EJB TestStartup: [java:global/startup-ejb-bug-1.0-SNAPSHOT/TestStartup, java:global/startup-ejb-bug-1.0-SNAPSHOT/TestStartup!com.mycompany.startup.ejb.bug.TestStartup]]] [2013-09-27T11:35:35.785+0900] [glassfish 4.0] [WARNING] [NCLS-MNTG-00201] [javax.enterprise.monitoring] [tid: _ThreadID=41 _ThreadName=admin-listener(3)] [timeMillis: 1380249335785] [levelValue: 900] [[ Flashlight listener registration failed for listener class: com.sun.ejb.monitoring.stats.SingletonBeanStatsProvider , will retry later]] [2013-09-27T11:35:39.410+0900] [glassfish 4.0] [FINER] [] [org.eclipse.persistence.session.file:/E:/NanjingJUG/glassfish-4.0.1-b02/glassfish4/glassfish/domains/domain1/applications/startup-ejb-bug-1.0-SNAPSHOT/WEB-INF/classes/_com.mycompany_startup-ejb-bug_war_1.0-SNAPSHOTPU.connection] [tid: _ThreadID=41 _ThreadName=admin-listener(3)] [timeMillis: 1380249339410] [levelValue: 400] [[ client acquired: 19061762]] [2013-09-27T11:35:39.410+0900] [glassfish 4.0] [FINER] [] [org.eclipse.persistence.session.file:/E:/NanjingJUG/glassfish-4.0.1-b02/glassfish4/glassfish/domains/domain1/applications/startup-ejb-bug-1.0-SNAPSHOT/WEB-INF/classes/_com.mycompany_startup-ejb-bug_war_1.0-SNAPSHOTPU.transaction] [tid: _ThreadID=41 _ThreadName=admin-listener(3)] [timeMillis: 1380249339410] [levelValue: 400] [[ TX binding to tx mgr, status=STATUS_ACTIVE]] [2013-09-27T11:35:39.410+0900] [glassfish 4.0] [FINER] [] [org.eclipse.persistence.session.file:/E:/NanjingJUG/glassfish-4.0.1-b02/glassfish4/glassfish/domains/domain1/applications/startup-ejb-bug-1.0-SNAPSHOT/WEB-INF/classes/_com.mycompany_startup-ejb-bug_war_1.0-SNAPSHOTPU.transaction] [tid: _ThreadID=41 _ThreadName=admin-listener(3)] [timeMillis: 1380249339410] [levelValue: 400] [[ acquire unit of work: 26876506]] [2013-09-27T11:35:39.410+0900] [glassfish 4.0] [FINEST] [] [org.eclipse.persistence.session.file:/E:/NanjingJUG/glassfish-4.0.1-b02/glassfish4/glassfish/domains/domain1/applications/startup-ejb-bug-1.0-SNAPSHOT/WEB-INF/classes/_com.mycompany_startup-ejb-bug_war_1.0-SNAPSHOTPU.transaction] [tid: _ThreadID=41 _ThreadName=admin-listener(3)] [timeMillis: 1380249339410] [levelValue: 300] [[ persist() operation called on: com.mycompany.startup.ejb.bug.TestEntity[ id=null ].]] [2013-09-27T11:35:39.442+0900] [glassfish 4.0] [FINER] [] [org.eclipse.persistence.session.file:/E:/NanjingJUG/glassfish-4.0.1-b02/glassfish4/glassfish/domains/domain1/applications/startup-ejb-bug-1.0-SNAPSHOT/WEB-INF/classes/_com.mycompany_startup-ejb-bug_war_1.0-SNAPSHOTPU.transaction] [tid: _ThreadID=41 _ThreadName=admin-listener(3)] [timeMillis: 1380249339442] [levelValue: 400] [[ TX beginTransaction, status=STATUS_ACTIVE]] [2013-09-27T11:35:39.442+0900] [glassfish 4.0] [FINEST] [] [org.eclipse.persistence.session.file:/E:/NanjingJUG/glassfish-4.0.1-b02/glassfish4/glassfish/domains/domain1/applications/startup-ejb-bug-1.0-SNAPSHOT/WEB-INF/classes/_com.mycompany_startup-ejb-bug_war_1.0-SNAPSHOTPU.connection] [tid: _ThreadID=41 _ThreadName=admin-listener(3)] [timeMillis: 1380249339442] [levelValue: 300] [[ Connection acquired from connection pool [default].]] [2013-09-27T11:35:39.457+0900] [glassfish 4.0] [FINEST] [] [org.eclipse.persistence.session.file:/E:/NanjingJUG/glassfish-4.0.1-b02/glassfish4/glassfish/domains/domain1/applications/startup-ejb-bug-1.0-SNAPSHOT/WEB-INF/classes/_com.mycompany_startup-ejb-bug_war_1.0-SNAPSHOTPU.query] [tid: _ThreadID=41 _ThreadName=admin-listener(3)] [timeMillis: 1380249339457] [levelValue: 300] [[ Execute query DataModifyQuery(name="SEQUENCE" sql="UPDATE SEQUENCE SET SEQ_COUNT = SEQ_COUNT + #PREALLOC_SIZE WHERE SEQ_NAME = #SEQ_NAME")]] [2013-09-27T11:35:39.457+0900] [glassfish 4.0] [FINEST] [] [org.eclipse.persistence.session.file:/E:/NanjingJUG/glassfish-4.0.1-b02/glassfish4/glassfish/domains/domain1/applications/startup-ejb-bug-1.0-SNAPSHOT/WEB-INF/classes/_com.mycompany_startup-ejb-bug_war_1.0-SNAPSHOTPU.connection] [tid: _ThreadID=41 _ThreadName=admin-listener(3)] [timeMillis: 1380249339457] [levelValue: 300] [[ reconnecting to external connection pool]] [2013-09-27T11:35:39.551+0900] [glassfish 4.0] [FINE] [] [org.eclipse.persistence.session.file:/E:/NanjingJUG/glassfish-4.0.1-b02/glassfish4/glassfish/domains/domain1/applications/startup-ejb-bug-1.0-SNAPSHOT/WEB-INF/classes/_com.mycompany_startup-ejb-bug_war_1.0-SNAPSHOTPU.sql] [tid: _ThreadID=41 _ThreadName=admin-listener(3)] [timeMillis: 1380249339551] [levelValue: 500] [[ UPDATE SEQUENCE SET SEQ_COUNT = SEQ_COUNT + ? WHERE SEQ_NAME = ? bind => [2 parameters bound]]] [2013-09-27T11:35:39.582+0900] [glassfish 4.0] [FINEST] [] [org.eclipse.persistence.session.file:/E:/NanjingJUG/glassfish-4.0.1-b02/glassfish4/glassfish/domains/domain1/applications/startup-ejb-bug-1.0-SNAPSHOT/WEB-INF/classes/_com.mycompany_startup-ejb-bug_war_1.0-SNAPSHOTPU.query] [tid: _ThreadID=41 _ThreadName=admin-listener(3)] [timeMillis: 1380249339582] [levelValue: 300] [[ Execute query ValueReadQuery(name="SEQUENCE" sql="SELECT SEQ_COUNT FROM SEQUENCE WHERE SEQ_NAME = #SEQ_NAME")]] [2013-09-27T11:35:39.582+0900] [glassfish 4.0] [FINE] [] [org.eclipse.persistence.session.file:/E:/NanjingJUG/glassfish-4.0.1-b02/glassfish4/glassfish/domains/domain1/applications/startup-ejb-bug-1.0-SNAPSHOT/WEB-INF/classes/_com.mycompany_startup-ejb-bug_war_1.0-SNAPSHOTPU.sql] [tid: _ThreadID=41 _ThreadName=admin-listener(3)] [timeMillis: 1380249339582] [levelValue: 500] [[ SELECT SEQ_COUNT FROM SEQUENCE WHERE SEQ_NAME = ? bind => [1 parameter bound]]] [2013-09-27T11:35:39.629+0900] [glassfish 4.0] [FINEST] [] [org.eclipse.persistence.session.file:/E:/NanjingJUG/glassfish-4.0.1-b02/glassfish4/glassfish/domains/domain1/applications/startup-ejb-bug-1.0-SNAPSHOT/WEB-INF/classes/_com.mycompany_startup-ejb-bug_war_1.0-SNAPSHOTPU.sequencing] [tid: _ThreadID=41 _ThreadName=admin-listener(3)] [timeMillis: 1380249339629] [levelValue: 300] [[ local sequencing preallocation for SEQ_GEN: objects: 50 , first: 1, last: 50]] [2013-09-27T11:35:39.629+0900] [glassfish 4.0] [FINEST] [] [org.eclipse.persistence.session.file:/E:/NanjingJUG/glassfish-4.0.1-b02/glassfish4/glassfish/domains/domain1/applications/startup-ejb-bug-1.0-SNAPSHOT/WEB-INF/classes/_com.mycompany_startup-ejb-bug_war_1.0-SNAPSHOTPU.sequencing] [tid: _ThreadID=41 _ThreadName=admin-listener(3)] [timeMillis: 1380249339629] [levelValue: 300] [[ assign sequence to the object (1 -> com.mycompany.startup.ejb.bug.TestEntity[ id=null ])]] [2013-09-27T11:35:39.676+0900] [glassfish 4.0] [FINEST] [] [org.eclipse.persistence.session.file:/E:/NanjingJUG/glassfish-4.0.1-b02/glassfish4/glassfish/domains/domain1/applications/startup-ejb-bug-1.0-SNAPSHOT/WEB-INF/classes/_com.mycompany_startup-ejb-bug_war_1.0-SNAPSHOTPU.query] [tid: _ThreadID=41 _ThreadName=admin-listener(3)] [timeMillis: 1380249339676] [levelValue: 300] [[ Execute query ReadObjectQuery(name="readTestEntity" referenceClass=TestEntity sql="SELECT ID, DATA FROM TESTENTITY WHERE (ID = ?)")]] [2013-09-27T11:35:39.676+0900] [glassfish 4.0] [FINEST] [] [org.eclipse.persistence.session.file:/E:/NanjingJUG/glassfish-4.0.1-b02/glassfish4/glassfish/domains/domain1/applications/startup-ejb-bug-1.0-SNAPSHOT/WEB-INF/classes/_com.mycompany_startup-ejb-bug_war_1.0-SNAPSHOTPU.transaction] [tid: _ThreadID=41 _ThreadName=admin-listener(3)] [timeMillis: 1380249339676] [levelValue: 300] [[ remove() operation called on: com.mycompany.startup.ejb.bug.TestEntity[ id=1 ]]] [2013-09-27T11:35:39.676+0900] [glassfish 4.0] [FINEST] [] [org.eclipse.persistence.session.file:/E:/NanjingJUG/glassfish-4.0.1-b02/glassfish4/glassfish/domains/domain1/applications/startup-ejb-bug-1.0-SNAPSHOT/WEB-INF/classes/_com.mycompany_startup-ejb-bug_war_1.0-SNAPSHOTPU.transaction] [tid: _ThreadID=41 _ThreadName=admin-listener(3)] [timeMillis: 1380249339676] [levelValue: 300] [[ Unregister the object com.mycompany.startup.ejb.bug.TestEntity[ id=1 ]]] [2013-09-27T11:35:39.676+0900] [glassfish 4.0] [FINER] [] [org.eclipse.persistence.session.file:/E:/NanjingJUG/glassfish-4.0.1-b02/glassfish4/glassfish/domains/domain1/applications/startup-ejb-bug-1.0-SNAPSHOT/WEB-INF/classes/_com.mycompany_startup-ejb-bug_war_1.0-SNAPSHOTPU.transaction] [tid: _ThreadID=41 _ThreadName=admin-listener(3)] [timeMillis: 1380249339676] [levelValue: 400] [[ TX beforeCompletion callback, status=STATUS_ACTIVE]] [2013-09-27T11:35:39.676+0900] [glassfish 4.0] [FINER] [] [org.eclipse.persistence.session.file:/E:/NanjingJUG/glassfish-4.0.1-b02/glassfish4/glassfish/domains/domain1/applications/startup-ejb-bug-1.0-SNAPSHOT/WEB-INF/classes/_com.mycompany_startup-ejb-bug_war_1.0-SNAPSHOTPU.transaction] [tid: _ThreadID=41 _ThreadName=admin-listener(3)] [timeMillis: 1380249339676] [levelValue: 400] [[ begin unit of work commit]] [2013-09-27T11:35:39.676+0900] [glassfish 4.0] [FINEST] [] [org.eclipse.persistence.session.file:/E:/NanjingJUG/glassfish-4.0.1-b02/glassfish4/glassfish/domains/domain1/applications/startup-ejb-bug-1.0-SNAPSHOT/WEB-INF/classes/_com.mycompany_startup-ejb-bug_war_1.0-SNAPSHOTPU.connection] [tid: _ThreadID=41 _ThreadName=admin-listener(3)] [timeMillis: 1380249339676] [levelValue: 300] [[ Connection released to connection pool [default].]] [2013-09-27T11:35:39.692+0900] [glassfish 4.0] [FINER] [] [org.eclipse.persistence.session.file:/E:/NanjingJUG/glassfish-4.0.1-b02/glassfish4/glassfish/domains/domain1/applications/startup-ejb-bug-1.0-SNAPSHOT/WEB-INF/classes/_com.mycompany_startup-ejb-bug_war_1.0-SNAPSHOTPU.transaction] [tid: _ThreadID=41 _ThreadName=admin-listener(3)] [timeMillis: 1380249339692] [levelValue: 400] [[ TX afterCompletion callback, status=COMMITTED]] [2013-09-27T11:35:39.692+0900] [glassfish 4.0] [FINER] [] [org.eclipse.persistence.session.file:/E:/NanjingJUG/glassfish-4.0.1-b02/glassfish4/glassfish/domains/domain1/applications/startup-ejb-bug-1.0-SNAPSHOT/WEB-INF/classes/_com.mycompany_startup-ejb-bug_war_1.0-SNAPSHOTPU.transaction] [tid: _ThreadID=41 _ThreadName=admin-listener(3)] [timeMillis: 1380249339692] [levelValue: 400] [[ end unit of work commit]] [2013-09-27T11:35:39.692+0900] [glassfish 4.0] [FINEST] [] [org.eclipse.persistence.session.file:/E:/NanjingJUG/glassfish-4.0.1-b02/glassfish4/glassfish/domains/domain1/applications/startup-ejb-bug-1.0-SNAPSHOT/WEB-INF/classes/_com.mycompany_startup-ejb-bug_war_1.0-SNAPSHOTPU.sequencing] [tid: _ThreadID=41 _ThreadName=admin-listener(3)] [timeMillis: 1380249339692] [levelValue: 300] [[ local sequencing preallocation is copied to preallocation after transaction commit]] [2013-09-27T11:35:39.692+0900] [glassfish 4.0] [FINER] [] [org.eclipse.persistence.session.file:/E:/NanjingJUG/glassfish-4.0.1-b02/glassfish4/glassfish/domains/domain1/applications/startup-ejb-bug-1.0-SNAPSHOT/WEB-INF/classes/_com.mycompany_startup-ejb-bug_war_1.0-SNAPSHOTPU.transaction] [tid: _ThreadID=41 _ThreadName=admin-listener(3)] [timeMillis: 1380249339692] [levelValue: 400] [[ release unit of work]] [2013-09-27T11:35:39.692+0900] [glassfish 4.0] [FINER] [] [org.eclipse.persistence.session.file:/E:/NanjingJUG/glassfish-4.0.1-b02/glassfish4/glassfish/domains/domain1/applications/startup-ejb-bug-1.0-SNAPSHOT/WEB-INF/classes/_com.mycompany_startup-ejb-bug_war_1.0-SNAPSHOTPU.connection] [tid: _ThreadID=41 _ThreadName=admin-listener(3)] [timeMillis: 1380249339692] [levelValue: 400] [[ client released]] [2013-09-27T11:35:39.676+0900] [glassfish 4.0] [SEVERE] [] [] [tid: _ThreadID=41 _ThreadName=Thread-8] [timeMillis: 1380249339676] [levelValue: 1000] [[ com.mycompany.startup.ejb.bug.TestEntity[ id=1 ]]] [2013-09-27T11:35:39.942+0900] [glassfish 4.0] [INFO] [AS-WEB-GLUE-00172] [javax.enterprise.web] [tid: _ThreadID=41 _ThreadName=admin-listener(3)] [timeMillis: 1380249339942] [levelValue: 800] [[ Loading application [startup-ejb-bug-1.0-SNAPSHOT] at [/startup-ejb-bug-1.0-SNAPSHOT]]] [2013-09-27T11:35:40.145+0900] [glassfish 4.0] [INFO] [] [javax.enterprise.system.core] [tid: _ThreadID=41 _ThreadName=admin-listener(3)] [timeMillis: 1380249340145] [levelValue: 800] [[ startup-ejb-bug-1.0-SNAPSHOT was successfully deployed in 12,985 milliseconds.]]