openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From zhourui <zhou...@zoneland.net>
Subject Re: how to use openjpa slice Distributed with db2 v9.7
Date Fri, 26 Apr 2013 02:49:29 GMT
i followed with manual,

but can't got error

四月 26, 2013 10:44:18 上午 org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal
performance in production environments was not found on the
java.library.path:
D:\Java\jdk\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;c:\program
files\common files\microsoft shared\windows live;c:\program files
(x86)\common files\microsoft shared\windows
live;C:\Windows\system32;C:\Windows;C:\Windows\system32\wbem;C:\Windows\system32\windowspowershell\v1.0\;c:\program
files\intel\wifi\bin\;c:\program files\common
files\intel\wirelesscommon\;c:\program files\widcomm\bluetooth
software\;c:\program files\widcomm\bluetooth software\syswow64;c:\program
files\dell\dell data protection\access\advanced\wave\gemalto\access
client\v5\;c:\program files (x86)\ntru cryptosystems\ntru tcg software
stack\bin\;c:\program files\ntru cryptosystems\ntru tcg software
stack\bin\;c:\program files\ibm\gsk8\lib64;c:\program files
(x86)\ibm\gsk8\lib;D:\Java\jdk\/bin;C:\Program Files (x86)\Windows
Live\Shared;D:\Program
Files\TortoiseSVN\bin;D:\IBM\SQLLIB\BIN;D:\IBM\SQLLIB\FUNCTION;D:\IBM\SQLLIB\SAMPLES\REPL;C:\Program
Files\Intel\WiFi\bin\;C:\Program Files\Common
Files\Intel\WirelessCommon\;C:\Program Files (x86)\OpenVPN\bin;.
四月 26, 2013 10:44:19 上午 org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-bio-8080"]
四月 26, 2013 10:44:19 上午 org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["ajp-bio-8009"]
四月 26, 2013 10:44:19 上午 org.apache.openejb.util.OptionsLog info
INFO: Using
'openejb.jdbc.datasource-creator=org.apache.tomee.jdbc.TomEEDataSourceCreator'
四月 26, 2013 10:44:19 上午 org.apache.openejb.OpenEJB$Instance <init>
INFO:
********************************************************************************
四月 26, 2013 10:44:19 上午 org.apache.openejb.OpenEJB$Instance <init>
INFO: OpenEJB http://openejb.apache.org/
四月 26, 2013 10:44:19 上午 org.apache.openejb.OpenEJB$Instance <init>
INFO: Startup: Fri Apr 26 10:44:19 CST 2013
四月 26, 2013 10:44:19 上午 org.apache.openejb.OpenEJB$Instance <init>
INFO: Copyright 1999-2012 (C) Apache OpenEJB Project, All Rights Reserved.
四月 26, 2013 10:44:19 上午 org.apache.openejb.OpenEJB$Instance <init>
INFO: Version: 4.5.2
四月 26, 2013 10:44:19 上午 org.apache.openejb.OpenEJB$Instance <init>
INFO: Build date: 20130320
四月 26, 2013 10:44:19 上午 org.apache.openejb.OpenEJB$Instance <init>
INFO: Build time: 03:56
四月 26, 2013 10:44:19 上午 org.apache.openejb.OpenEJB$Instance <init>
INFO:
********************************************************************************
四月 26, 2013 10:44:19 上午 org.apache.openejb.OpenEJB$Instance <init>
INFO: openejb.home = D:\Java\tomee
四月 26, 2013 10:44:19 上午 org.apache.openejb.OpenEJB$Instance <init>
INFO: openejb.base = D:\Java\tomee
四月 26, 2013 10:44:19 上午 org.apache.openejb.cdi.CdiBuilder initializeOWB
INFO: Created new singletonService
org.apache.openejb.cdi.ThreadSingletonServiceImpl@567c3f1b
四月 26, 2013 10:44:19 上午 org.apache.openejb.cdi.CdiBuilder initializeOWB
INFO: Succeeded in installing singleton service
四月 26, 2013 10:44:19 上午 org.apache.openejb.config.ConfigurationFactory init
INFO: openejb configuration file is 'D:\Java\tomee\conf\tomee.xml'
四月 26, 2013 10:44:19 上午 org.apache.openejb.util.OptionsLog info
INFO: Using 'openejb.provider.default=org.apache.tomee'
四月 26, 2013 10:44:19 上午 org.apache.openejb.config.ConfigurationFactory
configureService
INFO: Configuring Service(id=Tomcat Security Service, type=SecurityService,
provider-id=Tomcat Security Service)
四月 26, 2013 10:44:19 上午 org.apache.openejb.config.ConfigurationFactory
configureService
INFO: Configuring Service(id=Default Transaction Manager,
type=TransactionManager, provider-id=Default Transaction Manager)
四月 26, 2013 10:44:19 上午 org.apache.openejb.config.ConfigurationFactory
configureService
INFO: Configuring Service(id=jdbc/ufsc20, type=Resource, provider-id=Default
JDBC Database)
四月 26, 2013 10:44:19 上午 org.apache.openejb.config.ConfigurationFactory
configureService
INFO: Configuring Service(id=jdbc/ufsc20-s01, type=Resource,
provider-id=Default JDBC Database)
四月 26, 2013 10:44:19 上午 org.apache.openejb.config.ConfigurationFactory
configureService
INFO: Configuring Service(id=jdbc/ufsc20-s02, type=Resource,
provider-id=Default JDBC Database)
四月 26, 2013 10:44:19 上午 org.apache.openejb.util.OptionsLog info
INFO: Using 'openejb.system.apps=true'
四月 26, 2013 10:44:19 上午 org.apache.openejb.config.ConfigurationFactory
configureApplication
INFO: Configuring enterprise application: openejb
四月 26, 2013 10:44:19 上午 org.apache.openejb.config.InitEjbDeployments deploy
INFO: Using openejb.deploymentId.format '{ejbName}'
四月 26, 2013 10:44:19 上午 org.apache.openejb.config.InitEjbDeployments deploy
INFO: Auto-deploying ejb openejb/User:
EjbDeployment(deployment-id=openejb/User)
四月 26, 2013 10:44:19 上午 org.apache.openejb.config.InitEjbDeployments deploy
INFO: Auto-deploying ejb openejb/Deployer:
EjbDeployment(deployment-id=openejb/Deployer)
四月 26, 2013 10:44:19 上午 org.apache.openejb.config.InitEjbDeployments deploy
INFO: Auto-deploying ejb openejb/ConfigurationInfo:
EjbDeployment(deployment-id=openejb/ConfigurationInfo)
四月 26, 2013 10:44:19 上午 org.apache.openejb.config.InitEjbDeployments deploy
INFO: Auto-deploying ejb MEJB: EjbDeployment(deployment-id=MEJB)
四月 26, 2013 10:44:19 上午 org.apache.openejb.config.ConfigurationFactory
configureService
INFO: Configuring Service(id=Default Stateless Container, type=Container,
provider-id=Default Stateless Container)
四月 26, 2013 10:44:19 上午 org.apache.openejb.config.AutoConfig createContainer
INFO: Auto-creating a container for bean openejb/User:
Container(type=STATELESS, id=Default Stateless Container)
四月 26, 2013 10:44:20 上午 org.apache.openejb.config.AppInfoBuilder build
INFO: Enterprise application "openejb" loaded.
四月 26, 2013 10:44:20 上午 org.apache.openejb.assembler.classic.Assembler
createRecipe
INFO: Creating TransactionManager(id=Default Transaction Manager)
四月 26, 2013 10:44:20 上午 org.apache.openejb.assembler.classic.Assembler
createRecipe
INFO: Creating SecurityService(id=Tomcat Security Service)
四月 26, 2013 10:44:20 上午 org.apache.openejb.assembler.classic.Assembler
createRecipe
INFO: Creating Resource(id=jdbc/ufsc20)
四月 26, 2013 10:44:20 上午 org.apache.openejb.assembler.classic.Assembler
createRecipe
INFO: Creating Resource(id=jdbc/ufsc20-s01)
四月 26, 2013 10:44:20 上午 org.apache.openejb.assembler.classic.Assembler
createRecipe
INFO: Creating Resource(id=jdbc/ufsc20-s02)
四月 26, 2013 10:44:20 上午 org.apache.openejb.assembler.classic.Assembler
createRecipe
INFO: Creating Container(id=Default Stateless Container)
四月 26, 2013 10:44:20 上午 org.apache.openejb.assembler.classic.Assembler
createApplication
INFO: Assembling app: openejb
四月 26, 2013 10:44:20 上午 org.apache.openejb.util.OptionsLog info
INFO: Using
'openejb.jndiname.format={deploymentId}{interfaceType.openejbLegacyName}'
四月 26, 2013 10:44:20 上午 org.apache.openejb.assembler.classic.JndiBuilder
bind
INFO: Jndi(name=openejb/UserBusinessRemote) -->
Ejb(deployment-id=openejb/User)
四月 26, 2013 10:44:20 上午 org.apache.openejb.assembler.classic.JndiBuilder
bind
INFO:
Jndi(name=global/openejb/openejb/User!org.apache.openejb.assembler.util.User)
--> Ejb(deployment-id=openejb/User)
四月 26, 2013 10:44:20 上午 org.apache.openejb.assembler.classic.JndiBuilder
bind
INFO: Jndi(name=global/openejb/openejb/User) -->
Ejb(deployment-id=openejb/User)
四月 26, 2013 10:44:20 上午 org.apache.openejb.assembler.classic.JndiBuilder
bind
INFO: Jndi(name=openejb/DeployerBusinessRemote) -->
Ejb(deployment-id=openejb/Deployer)
四月 26, 2013 10:44:20 上午 org.apache.openejb.assembler.classic.JndiBuilder
bind
INFO:
Jndi(name=global/openejb/openejb/Deployer!org.apache.openejb.assembler.Deployer)
--> Ejb(deployment-id=openejb/Deployer)
四月 26, 2013 10:44:20 上午 org.apache.openejb.assembler.classic.JndiBuilder
bind
INFO: Jndi(name=global/openejb/openejb/Deployer) -->
Ejb(deployment-id=openejb/Deployer)
四月 26, 2013 10:44:20 上午 org.apache.openejb.assembler.classic.JndiBuilder
bind
INFO: Jndi(name=openejb/ConfigurationInfoBusinessRemote) -->
Ejb(deployment-id=openejb/ConfigurationInfo)
四月 26, 2013 10:44:20 上午 org.apache.openejb.assembler.classic.JndiBuilder
bind
INFO:
Jndi(name=global/openejb/openejb/ConfigurationInfo!org.apache.openejb.assembler.classic.cmd.ConfigurationInfo)
--> Ejb(deployment-id=openejb/ConfigurationInfo)
四月 26, 2013 10:44:20 上午 org.apache.openejb.assembler.classic.JndiBuilder
bind
INFO: Jndi(name=global/openejb/openejb/ConfigurationInfo) -->
Ejb(deployment-id=openejb/ConfigurationInfo)
四月 26, 2013 10:44:20 上午 org.apache.openejb.assembler.classic.JndiBuilder
bind
INFO: Jndi(name=MEJB) --> Ejb(deployment-id=MEJB)
四月 26, 2013 10:44:20 上午 org.apache.openejb.assembler.classic.JndiBuilder
bind
INFO: Jndi(name=global/openejb/MEJB!javax.management.j2ee.ManagementHome)
--> Ejb(deployment-id=MEJB)
四月 26, 2013 10:44:20 上午 org.apache.openejb.assembler.classic.JndiBuilder
bind
INFO: Jndi(name=global/openejb/MEJB) --> Ejb(deployment-id=MEJB)
四月 26, 2013 10:44:20 上午 org.apache.openejb.cdi.CdiBuilder initSingleton
INFO: Existing thread singleton service in SystemInstance():
org.apache.openejb.cdi.ThreadSingletonServiceImpl@567c3f1b
四月 26, 2013 10:44:20 上午 org.apache.openejb.cdi.OpenEJBLifecycle
startApplication
INFO: OpenWebBeans Container is starting...
四月 26, 2013 10:44:20 上午 org.apache.webbeans.plugins.PluginLoader startUp
INFO: Adding OpenWebBeansPlugin : [CdiPlugin]
四月 26, 2013 10:44:20 上午 org.apache.webbeans.plugins.PluginLoader startUp
INFO: Adding OpenWebBeansPlugin : [OpenWebBeansJsfPlugin]
四月 26, 2013 10:44:20 上午 org.apache.openejb.cdi.BeansDeployer
validateInjectionPoints
INFO: All injection points are validated successfully.
四月 26, 2013 10:44:20 上午 org.apache.openejb.cdi.OpenEJBLifecycle
startApplication
INFO: OpenWebBeans Container has started, it took 79 ms.
四月 26, 2013 10:44:20 上午 org.apache.openejb.assembler.classic.Assembler
startEjbs
INFO: Created Ejb(deployment-id=openejb/Deployer, ejb-name=openejb/Deployer,
container=Default Stateless Container)
四月 26, 2013 10:44:20 上午 org.apache.openejb.assembler.classic.Assembler
startEjbs
INFO: Created Ejb(deployment-id=MEJB, ejb-name=MEJB, container=Default
Stateless Container)
四月 26, 2013 10:44:20 上午 org.apache.openejb.assembler.classic.Assembler
startEjbs
INFO: Created Ejb(deployment-id=openejb/ConfigurationInfo,
ejb-name=openejb/ConfigurationInfo, container=Default Stateless Container)
四月 26, 2013 10:44:20 上午 org.apache.openejb.assembler.classic.Assembler
startEjbs
INFO: Created Ejb(deployment-id=openejb/User, ejb-name=openejb/User,
container=Default Stateless Container)
四月 26, 2013 10:44:20 上午 org.apache.openejb.assembler.classic.Assembler
startEjbs
INFO: Started Ejb(deployment-id=openejb/Deployer, ejb-name=openejb/Deployer,
container=Default Stateless Container)
四月 26, 2013 10:44:20 上午 org.apache.openejb.assembler.classic.Assembler
startEjbs
INFO: Started Ejb(deployment-id=MEJB, ejb-name=MEJB, container=Default
Stateless Container)
四月 26, 2013 10:44:20 上午 org.apache.openejb.assembler.classic.Assembler
startEjbs
INFO: Started Ejb(deployment-id=openejb/ConfigurationInfo,
ejb-name=openejb/ConfigurationInfo, container=Default Stateless Container)
四月 26, 2013 10:44:20 上午 org.apache.openejb.assembler.classic.Assembler
startEjbs
INFO: Started Ejb(deployment-id=openejb/User, ejb-name=openejb/User,
container=Default Stateless Container)
四月 26, 2013 10:44:20 上午 org.apache.openejb.assembler.classic.Assembler
deployMBean
INFO: Deployed
MBean(openejb.user.mbeans:application=openejb,group=org.apache.openejb.assembler.monitoring,name=JMXDeployer)
四月 26, 2013 10:44:20 上午 org.apache.openejb.assembler.classic.Assembler
createApplication
INFO: Deployed Application(path=openejb)
四月 26, 2013 10:44:20 上午 org.apache.openejb.util.OptionsLog info
INFO: Using 'openejb.profile.custom=false'
四月 26, 2013 10:44:20 上午 org.apache.openejb.server.ServiceManager initServer
INFO: Creating ServerService(id=cxf)
四月 26, 2013 10:44:21 上午 org.apache.openejb.server.ServiceManager initServer
INFO: Creating ServerService(id=cxf-rs)
四月 26, 2013 10:44:21 上午 org.apache.openejb.server.SimpleServiceManager start
INFO:   ** Bound Services **
四月 26, 2013 10:44:21 上午 org.apache.openejb.server.SimpleServiceManager
printRow
INFO:   NAME                 IP              PORT  
四月 26, 2013 10:44:21 上午 org.apache.openejb.server.SimpleServiceManager start
INFO: -------
四月 26, 2013 10:44:21 上午 org.apache.openejb.server.SimpleServiceManager start
INFO: Ready!
四月 26, 2013 10:44:21 上午 org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 2827 ms
四月 26, 2013 10:44:21 上午
org.apache.tomee.catalina.OpenEJBNamingContextListener bindResource
INFO: Importing a Tomcat Resource with id 'UserDatabase' of type
'org.apache.catalina.UserDatabase'.
四月 26, 2013 10:44:21 上午 org.apache.openejb.assembler.classic.Assembler
createRecipe
INFO: Creating Resource(id=UserDatabase)
四月 26, 2013 10:44:21 上午 org.apache.catalina.core.StandardService
startInternal
INFO: Starting service Catalina
四月 26, 2013 10:44:21 上午 org.apache.catalina.core.StandardEngine
startInternal
INFO: Starting Servlet Engine: Apache Tomcat (TomEE)/7.0.37
四月 26, 2013 10:44:21 上午 org.apache.catalina.startup.HostConfig
deployDirectory
INFO: Deploying web application directory D:\Java\tomee\webapps\docs
四月 26, 2013 10:44:21 上午 org.apache.tomee.catalina.TomcatWebAppBuilder init
INFO: ------------------------- localhost -> /docs
四月 26, 2013 10:44:21 上午 org.apache.openejb.config.ConfigurationFactory
configureApplication
INFO: Configuring enterprise application: D:\Java\tomee\webapps\docs
四月 26, 2013 10:44:21 上午 org.apache.openejb.config.AppInfoBuilder build
INFO: Enterprise application "D:\Java\tomee\webapps\docs" loaded.
四月 26, 2013 10:44:21 上午 org.apache.openejb.assembler.classic.Assembler
createApplication
INFO: Assembling app: D:\Java\tomee\webapps\docs
四月 26, 2013 10:44:21 上午 org.apache.openejb.cdi.CdiBuilder initSingleton
INFO: Existing thread singleton service in SystemInstance():
org.apache.openejb.cdi.ThreadSingletonServiceImpl@567c3f1b
四月 26, 2013 10:44:21 上午 org.apache.openejb.cdi.OpenEJBLifecycle
startApplication
INFO: OpenWebBeans Container is starting...
四月 26, 2013 10:44:21 上午 org.apache.webbeans.plugins.PluginLoader startUp
INFO: Adding OpenWebBeansPlugin : [CdiPlugin]
四月 26, 2013 10:44:21 上午 org.apache.webbeans.plugins.PluginLoader startUp
INFO: Adding OpenWebBeansPlugin : [OpenWebBeansJsfPlugin]
四月 26, 2013 10:44:21 上午 org.apache.openejb.cdi.BeansDeployer
validateInjectionPoints
INFO: All injection points are validated successfully.
四月 26, 2013 10:44:21 上午 org.apache.openejb.cdi.OpenEJBLifecycle
startApplication
INFO: OpenWebBeans Container has started, it took 12 ms.
四月 26, 2013 10:44:21 上午 org.apache.openejb.assembler.classic.Assembler
createApplication
INFO: Deployed Application(path=D:\Java\tomee\webapps\docs)
四月 26, 2013 10:44:22 上午 org.apache.catalina.startup.HostConfig
deployDirectory
INFO: Deploying web application directory D:\Java\tomee\webapps\host-manager
四月 26, 2013 10:44:22 上午 org.apache.tomee.catalina.TomcatWebAppBuilder init
INFO: ------------------------- localhost -> /host-manager
四月 26, 2013 10:44:22 上午 org.apache.openejb.config.ConfigurationFactory
configureApplication
INFO: Configuring enterprise application: D:\Java\tomee\webapps\host-manager
四月 26, 2013 10:44:22 上午 org.apache.openejb.config.AppInfoBuilder build
INFO: Enterprise application "D:\Java\tomee\webapps\host-manager" loaded.
四月 26, 2013 10:44:22 上午 org.apache.openejb.assembler.classic.Assembler
createApplication
INFO: Assembling app: D:\Java\tomee\webapps\host-manager
四月 26, 2013 10:44:22 上午 org.apache.openejb.cdi.CdiBuilder initSingleton
INFO: Existing thread singleton service in SystemInstance():
org.apache.openejb.cdi.ThreadSingletonServiceImpl@567c3f1b
四月 26, 2013 10:44:22 上午 org.apache.openejb.cdi.OpenEJBLifecycle
startApplication
INFO: OpenWebBeans Container is starting...
四月 26, 2013 10:44:22 上午 org.apache.webbeans.plugins.PluginLoader startUp
INFO: Adding OpenWebBeansPlugin : [CdiPlugin]
四月 26, 2013 10:44:22 上午 org.apache.webbeans.plugins.PluginLoader startUp
INFO: Adding OpenWebBeansPlugin : [OpenWebBeansJsfPlugin]
四月 26, 2013 10:44:22 上午 org.apache.openejb.cdi.BeansDeployer
validateInjectionPoints
INFO: All injection points are validated successfully.
四月 26, 2013 10:44:22 上午 org.apache.openejb.cdi.OpenEJBLifecycle
startApplication
INFO: OpenWebBeans Container has started, it took 13 ms.
四月 26, 2013 10:44:22 上午 org.apache.tomee.catalina.TomcatWebAppBuilder
deployWebApps
INFO: using context file
D:\Java\tomee\webapps\host-manager\META-INF\context.xml
四月 26, 2013 10:44:22 上午 org.apache.openejb.assembler.classic.Assembler
createApplication
INFO: Deployed Application(path=D:\Java\tomee\webapps\host-manager)
四月 26, 2013 10:44:22 上午 org.apache.catalina.startup.HostConfig
deployDirectory
INFO: Deploying web application directory D:\Java\tomee\webapps\manager
四月 26, 2013 10:44:22 上午 org.apache.tomee.catalina.TomcatWebAppBuilder init
INFO: ------------------------- localhost -> /manager
四月 26, 2013 10:44:22 上午 org.apache.openejb.config.ConfigurationFactory
configureApplication
INFO: Configuring enterprise application: D:\Java\tomee\webapps\manager
四月 26, 2013 10:44:22 上午 org.apache.openejb.config.AppInfoBuilder build
INFO: Enterprise application "D:\Java\tomee\webapps\manager" loaded.
四月 26, 2013 10:44:22 上午 org.apache.openejb.assembler.classic.Assembler
createApplication
INFO: Assembling app: D:\Java\tomee\webapps\manager
四月 26, 2013 10:44:22 上午 org.apache.openejb.cdi.CdiBuilder initSingleton
INFO: Existing thread singleton service in SystemInstance():
org.apache.openejb.cdi.ThreadSingletonServiceImpl@567c3f1b
四月 26, 2013 10:44:22 上午 org.apache.openejb.cdi.OpenEJBLifecycle
startApplication
INFO: OpenWebBeans Container is starting...
四月 26, 2013 10:44:22 上午 org.apache.webbeans.plugins.PluginLoader startUp
INFO: Adding OpenWebBeansPlugin : [CdiPlugin]
四月 26, 2013 10:44:22 上午 org.apache.webbeans.plugins.PluginLoader startUp
INFO: Adding OpenWebBeansPlugin : [OpenWebBeansJsfPlugin]
四月 26, 2013 10:44:22 上午 org.apache.openejb.cdi.BeansDeployer
validateInjectionPoints
INFO: All injection points are validated successfully.
四月 26, 2013 10:44:22 上午 org.apache.openejb.cdi.OpenEJBLifecycle
startApplication
INFO: OpenWebBeans Container has started, it took 12 ms.
四月 26, 2013 10:44:22 上午 org.apache.tomee.catalina.TomcatWebAppBuilder
deployWebApps
INFO: using context file D:\Java\tomee\webapps\manager\META-INF\context.xml
四月 26, 2013 10:44:22 上午 org.apache.openejb.assembler.classic.Assembler
createApplication
INFO: Deployed Application(path=D:\Java\tomee\webapps\manager)
四月 26, 2013 10:44:22 上午 org.apache.catalina.startup.HostConfig
deployDirectory
INFO: Deploying web application directory D:\Java\tomee\webapps\ROOT
四月 26, 2013 10:44:22 上午 org.apache.tomee.catalina.TomcatWebAppBuilder init
INFO: ------------------------- localhost -> 
四月 26, 2013 10:44:22 上午 org.apache.openejb.config.ConfigurationFactory
configureApplication
INFO: Configuring enterprise application: D:\Java\tomee\webapps\ROOT
四月 26, 2013 10:44:22 上午 org.apache.openejb.config.AppInfoBuilder build
INFO: Enterprise application "D:\Java\tomee\webapps\ROOT" loaded.
四月 26, 2013 10:44:22 上午 org.apache.openejb.assembler.classic.Assembler
createApplication
INFO: Assembling app: D:\Java\tomee\webapps\ROOT
四月 26, 2013 10:44:22 上午 org.apache.openejb.cdi.CdiBuilder initSingleton
INFO: Existing thread singleton service in SystemInstance():
org.apache.openejb.cdi.ThreadSingletonServiceImpl@567c3f1b
四月 26, 2013 10:44:22 上午 org.apache.openejb.cdi.OpenEJBLifecycle
startApplication
INFO: OpenWebBeans Container is starting...
四月 26, 2013 10:44:22 上午 org.apache.webbeans.plugins.PluginLoader startUp
INFO: Adding OpenWebBeansPlugin : [CdiPlugin]
四月 26, 2013 10:44:22 上午 org.apache.webbeans.plugins.PluginLoader startUp
INFO: Adding OpenWebBeansPlugin : [OpenWebBeansJsfPlugin]
四月 26, 2013 10:44:22 上午 org.apache.openejb.cdi.BeansDeployer
validateInjectionPoints
INFO: All injection points are validated successfully.
四月 26, 2013 10:44:22 上午 org.apache.openejb.cdi.OpenEJBLifecycle
startApplication
INFO: OpenWebBeans Container has started, it took 12 ms.
四月 26, 2013 10:44:22 上午 org.apache.openejb.assembler.classic.Assembler
createApplication
INFO: Deployed Application(path=D:\Java\tomee\webapps\ROOT)
四月 26, 2013 10:44:22 上午 org.apache.catalina.startup.HostConfig
deployDirectory
INFO: Deploying web application directory D:\Java\tomee\webapps\tomee
四月 26, 2013 10:44:22 上午 org.apache.tomee.catalina.TomcatWebAppBuilder init
INFO: ------------------------- localhost -> /tomee
四月 26, 2013 10:44:22 上午 org.apache.openejb.config.ConfigurationFactory
configureApplication
INFO: Configuring enterprise application: D:\Java\tomee\webapps\tomee
四月 26, 2013 10:44:22 上午 org.apache.openejb.config.AppInfoBuilder build
INFO: Enterprise application "D:\Java\tomee\webapps\tomee" loaded.
四月 26, 2013 10:44:22 上午 org.apache.openejb.assembler.classic.Assembler
createApplication
INFO: Assembling app: D:\Java\tomee\webapps\tomee
四月 26, 2013 10:44:22 上午 org.apache.openejb.cdi.CdiBuilder initSingleton
INFO: Existing thread singleton service in SystemInstance():
org.apache.openejb.cdi.ThreadSingletonServiceImpl@567c3f1b
四月 26, 2013 10:44:22 上午 org.apache.openejb.cdi.OpenEJBLifecycle
startApplication
INFO: OpenWebBeans Container is starting...
四月 26, 2013 10:44:22 上午 org.apache.webbeans.plugins.PluginLoader startUp
INFO: Adding OpenWebBeansPlugin : [CdiPlugin]
四月 26, 2013 10:44:22 上午 org.apache.webbeans.plugins.PluginLoader startUp
INFO: Adding OpenWebBeansPlugin : [OpenWebBeansJsfPlugin]
四月 26, 2013 10:44:22 上午 org.apache.openejb.cdi.BeansDeployer
validateInjectionPoints
INFO: All injection points are validated successfully.
四月 26, 2013 10:44:22 上午 org.apache.openejb.cdi.OpenEJBLifecycle
startApplication
INFO: OpenWebBeans Container has started, it took 12 ms.
四月 26, 2013 10:44:22 上午 org.apache.openejb.assembler.classic.Assembler
createApplication
INFO: Deployed Application(path=D:\Java\tomee\webapps\tomee)
四月 26, 2013 10:44:23 上午 org.apache.catalina.startup.HostConfig
deployDirectory
INFO: Deploying web application directory D:\Java\tomee\webapps\ufsc20
四月 26, 2013 10:44:23 上午 org.apache.tomee.catalina.TomcatWebAppBuilder init
INFO: ------------------------- localhost -> /ufsc20
四月 26, 2013 10:44:23 上午 org.apache.openejb.config.ConfigurationFactory
configureApplication
INFO: Configuring enterprise application: D:\Java\tomee\webapps\ufsc20
四月 26, 2013 10:44:23 上午 org.apache.openejb.config.InitEjbDeployments deploy
INFO: Auto-deploying ejb MonitorBean:
EjbDeployment(deployment-id=MonitorBean)
四月 26, 2013 10:44:23 上午 org.apache.openejb.config.InitEjbDeployments deploy
INFO: Auto-deploying ejb QueueTimerBean:
EjbDeployment(deployment-id=QueueTimerBean)
四月 26, 2013 10:44:23 上午 org.apache.openejb.config.InitEjbDeployments deploy
INFO: Auto-deploying ejb IdentityService:
EjbDeployment(deployment-id=IdentityService)
四月 26, 2013 10:44:23 上午 org.apache.openejb.config.InitEjbDeployments deploy
INFO: Auto-deploying ejb ProcessItem:
EjbDeployment(deployment-id=ProcessItem)
四月 26, 2013 10:44:23 上午 org.apache.openejb.config.InitEjbDeployments deploy
INFO: Auto-deploying ejb NotesDatabaseService:
EjbDeployment(deployment-id=NotesDatabaseService)
四月 26, 2013 10:44:23 上午 org.apache.openejb.config.InitEjbDeployments deploy
INFO: Auto-deploying ejb jms/itemQueue:
EjbDeployment(deployment-id=jms/itemQueue)
四月 26, 2013 10:44:23 上午 org.apache.openejb.config.ConfigurationFactory
configureService
INFO: Configuring Service(id=Default Singleton Container, type=Container,
provider-id=Default Singleton Container)
四月 26, 2013 10:44:23 上午 org.apache.openejb.config.AutoConfig createContainer
INFO: Auto-creating a container for bean MonitorBean:
Container(type=SINGLETON, id=Default Singleton Container)
四月 26, 2013 10:44:23 上午 org.apache.openejb.assembler.classic.Assembler
createRecipe
INFO: Creating Container(id=Default Singleton Container)
四月 26, 2013 10:44:23 上午 org.apache.openejb.config.ConfigurationFactory
configureService
INFO: Configuring Service(id=Default JMS Connection Factory, type=Resource,
provider-id=Default JMS Connection Factory)
四月 26, 2013 10:44:23 上午 org.apache.openejb.config.AutoConfig
logAutoCreateResource
INFO: Auto-creating a Resource with id 'Default JMS Connection Factory' of
type 'javax.jms.ConnectionFactory for 'MonitorBean'.
四月 26, 2013 10:44:23 上午 org.apache.openejb.config.ConfigurationFactory
configureService
INFO: Configuring Service(id=Default JMS Resource Adapter, type=Resource,
provider-id=Default JMS Resource Adapter)
四月 26, 2013 10:44:23 上午 org.apache.openejb.config.ConfigurationFactory
configureService
INFO: Configuring Service(id=Default Unmanaged JDBC Database, type=Resource,
provider-id=Default Unmanaged JDBC Database)
四月 26, 2013 10:44:23 上午 org.apache.openejb.assembler.classic.Assembler
createRecipe
INFO: Creating Resource(id=Default Unmanaged JDBC Database)
四月 26, 2013 10:44:23 上午 org.apache.openejb.assembler.classic.Assembler
createRecipe
INFO: Creating Resource(id=Default JMS Resource Adapter)
四月 26, 2013 10:44:23 上午
org.apache.openejb.resource.activemq.ActiveMQ5Factory createBroker
INFO: ActiveMQ5Factory creating broker
四月 26, 2013 10:44:23 上午
org.apache.openejb.resource.activemq.ActiveMQ5Factory createBroker
INFO: Using ActiveMQ startup timeout of 10000ms
四月 26, 2013 10:44:23 上午
org.apache.openejb.resource.activemq.ActiveMQ5Factory$1 run
INFO: Starting ActiveMQ BrokerService
四月 26, 2013 10:44:23 上午 org.apache.activemq.broker.BrokerService
doStartPersistenceAdapter
INFO: Using Persistence Adapter: MemoryPersistenceAdapter
四月 26, 2013 10:44:23 上午 org.apache.activemq.broker.BrokerService
doStartBroker
INFO: Apache ActiveMQ 5.7.0 (localhost, ID:RayM6600-65039-1366944263576-0:1)
is starting
四月 26, 2013 10:44:23 上午
org.apache.activemq.transport.TransportServerThreadSupport doStart
INFO: Listening for connections at: tcp://was.ray.local:61616
四月 26, 2013 10:44:23 上午 org.apache.activemq.broker.TransportConnector start
INFO: Connector tcp://was.ray.local:61616 Started
四月 26, 2013 10:44:23 上午 org.apache.activemq.broker.BrokerService
doStartBroker
INFO: Apache ActiveMQ 5.7.0 (localhost, ID:RayM6600-65039-1366944263576-0:1)
started
四月 26, 2013 10:44:23 上午 org.apache.activemq.broker.BrokerService
doStartBroker
INFO: For help or more information please see: http://activemq.apache.org
四月 26, 2013 10:44:23 上午 org.apache.activemq.broker.BrokerService
checkSystemUsageLimits
SEVERE: Temporary Store limit is 51200 mb, whilst the temporary data
directory: D:\Java\tomee\bin\activemq-data\localhost\tmp_storage only has
39612 mb of usable space
四月 26, 2013 10:44:23 上午
org.apache.openejb.resource.activemq.ActiveMQ5Factory$1 run
INFO: Starting ActiveMQ checkpoint
四月 26, 2013 10:44:23 上午
org.apache.openejb.resource.activemq.ActiveMQ5Factory createBroker
INFO: ActiveMQ broker started
四月 26, 2013 10:44:23 上午 org.apache.openejb.assembler.classic.Assembler
createRecipe
INFO: Creating Resource(id=Default JMS Connection Factory)
四月 26, 2013 10:44:23 上午 org.apache.openejb.assembler.classic.Assembler
createResource
INFO: Creating ConnectionManager for Resource(id=Default JMS Connection
Factory)
四月 26, 2013 10:44:23 上午
org.apache.geronimo.connector.outbound.GenericConnectionManager$InterceptorsImpl
<init>
INFO: No runtime TransactionSupport
四月 26, 2013 10:44:23 上午 org.apache.openejb.config.AutoConfig
processResourceRef
INFO: Auto-linking resource-ref
'java:comp/env/com.plasticmummy.ufsc20.gateway.ProcessItem/connectionFactory'
in bean MonitorBean to Resource(id=Default JMS Connection Factory)
四月 26, 2013 10:44:23 上午 org.apache.openejb.config.ConfigurationFactory
configureService
INFO: Configuring Service(id=jms/itemQueue, type=Resource,
provider-id=Default Queue)
四月 26, 2013 10:44:23 上午 org.apache.openejb.config.AutoConfig
logAutoCreateResource
INFO: Auto-creating a Resource with id 'jms/itemQueue' of type
'javax.jms.Queue for 'MonitorBean'.
四月 26, 2013 10:44:23 上午 org.apache.openejb.assembler.classic.Assembler
createRecipe
INFO: Creating Resource(id=jms/itemQueue)
四月 26, 2013 10:44:23 上午 org.apache.openejb.config.AutoConfig
processResourceEnvRef
INFO: Auto-linking resource-env-ref 'java:comp/env/jms/itemQueue' in bean
MonitorBean to Resource(id=jms/itemQueue)
四月 26, 2013 10:44:23 上午 org.apache.openejb.config.AutoConfig
processResourceRef
INFO: Auto-linking resource-ref
'java:comp/env/com.plasticmummy.ufsc20.gateway.ProcessItem/connectionFactory'
in bean QueueTimerBean to Resource(id=Default JMS Connection Factory)
四月 26, 2013 10:44:23 上午 org.apache.openejb.config.AutoConfig
processResourceEnvRef
INFO: Auto-linking resource-env-ref 'java:comp/env/jms/itemQueue' in bean
QueueTimerBean to Resource(id=jms/itemQueue)
四月 26, 2013 10:44:23 上午 org.apache.openejb.config.AutoConfig
processResourceRef
INFO: Auto-linking resource-ref
'java:comp/env/com.plasticmummy.ufsc20.gateway.ProcessItem/connectionFactory'
in bean IdentityService to Resource(id=Default JMS Connection Factory)
四月 26, 2013 10:44:23 上午 org.apache.openejb.config.AutoConfig
processResourceEnvRef
INFO: Auto-linking resource-env-ref 'java:comp/env/jms/itemQueue' in bean
IdentityService to Resource(id=jms/itemQueue)
四月 26, 2013 10:44:23 上午 org.apache.openejb.config.AutoConfig
processResourceRef
INFO: Auto-linking resource-ref
'java:comp/env/com.plasticmummy.ufsc20.gateway.ProcessItem/connectionFactory'
in bean ProcessItem to Resource(id=Default JMS Connection Factory)
四月 26, 2013 10:44:23 上午 org.apache.openejb.config.AutoConfig
processResourceEnvRef
INFO: Auto-linking resource-env-ref 'java:comp/env/jms/itemQueue' in bean
ProcessItem to Resource(id=jms/itemQueue)
四月 26, 2013 10:44:23 上午 org.apache.openejb.config.AutoConfig
processResourceRef
INFO: Auto-linking resource-ref
'java:comp/env/com.plasticmummy.ufsc20.gateway.ProcessItem/connectionFactory'
in bean NotesDatabaseService to Resource(id=Default JMS Connection Factory)
四月 26, 2013 10:44:23 上午 org.apache.openejb.config.AutoConfig
processResourceEnvRef
INFO: Auto-linking resource-env-ref 'java:comp/env/jms/itemQueue' in bean
NotesDatabaseService to Resource(id=jms/itemQueue)
四月 26, 2013 10:44:23 上午 org.apache.openejb.config.ConfigurationFactory
configureService
INFO: Configuring Service(id=Default MDB Container, type=Container,
provider-id=Default MDB Container)
四月 26, 2013 10:44:23 上午 org.apache.openejb.config.AutoConfig createContainer
INFO: Auto-creating a container for bean jms/itemQueue:
Container(type=MESSAGE, id=Default MDB Container)
四月 26, 2013 10:44:23 上午 org.apache.openejb.assembler.classic.Assembler
createRecipe
INFO: Creating Container(id=Default MDB Container)
四月 26, 2013 10:44:23 上午 org.apache.openejb.config.AutoConfig
processResourceRef
INFO: Auto-linking resource-ref
'java:comp/env/com.plasticmummy.ufsc20.gateway.ProcessItem/connectionFactory'
in bean jms/itemQueue to Resource(id=Default JMS Connection Factory)
四月 26, 2013 10:44:23 上午 org.apache.openejb.config.AutoConfig
processResourceEnvRef
INFO: Auto-linking resource-env-ref 'java:comp/env/jms/itemQueue' in bean
jms/itemQueue to Resource(id=jms/itemQueue)
四月 26, 2013 10:44:23 上午 org.apache.openejb.config.AutoConfig deploy
INFO: Configuring PersistenceUnit(name=ufsc20-unit)
四月 26, 2013 10:44:23 上午 org.apache.openejb.config.AutoConfig deploy
WARNING: PeristenceUnit(name=ufsc20-unit) invalidly refers to
Resource(id=jdbc/ufsc20) as both its <jta-data-source> and
<non-jta-data-source>.
四月 26, 2013 10:44:23 上午 org.apache.openejb.config.AutoConfig
logAutoCreateResource
INFO: Auto-creating a Resource with id 'jdbc/ufsc20NonJta' of type
'DataSource for 'ufsc20-unit'.
四月 26, 2013 10:44:23 上午 org.apache.openejb.config.AutoConfig deploy
INFO: Configuring Service(id=jdbc/ufsc20NonJta, type=Resource,
provider-id=jdbc/ufsc20)
四月 26, 2013 10:44:23 上午 org.apache.openejb.assembler.classic.Assembler
createRecipe
INFO: Creating Resource(id=jdbc/ufsc20NonJta)
四月 26, 2013 10:44:23 上午 org.apache.openejb.config.AutoConfig
setNonJtaDataSource
INFO: Adjusting PersistenceUnit ufsc20-unit <non-jta-data-source> to
Resource ID 'jdbc/ufsc20NonJta' from 'null'
四月 26, 2013 10:44:23 上午 org.apache.openejb.config.AutoConfig deploy
INFO: Configuring PersistenceUnit(name=slice_db2)
四月 26, 2013 10:44:23 上午 org.apache.openejb.config.AutoConfig
setJtaDataSource
INFO: Adjusting PersistenceUnit slice_db2 <jta-data-source> to Resource ID
'jdbc/ufsc20' from 'null'
四月 26, 2013 10:44:23 上午 org.apache.openejb.config.AutoConfig
setNonJtaDataSource
INFO: Adjusting PersistenceUnit slice_db2 <non-jta-data-source> to Resource
ID 'jdbc/ufsc20NonJta' from 'null'
四月 26, 2013 10:44:23 上午
org.apache.openejb.config.AppInfoBuilder$PersistenceProviderProperties apply
WARNING: Removing PersistenceUnit(name=slice_db2) property
openjpa.ConnectionUserName=db2admin  [not valid in a container environment]
四月 26, 2013 10:44:23 上午
org.apache.openejb.config.AppInfoBuilder$PersistenceProviderProperties apply
WARNING: Removing PersistenceUnit(name=slice_db2) property
openjpa.ConnectionPassword=password  [not valid in a container environment]
四月 26, 2013 10:44:23 上午
org.apache.openejb.config.AppInfoBuilder$PersistenceProviderProperties apply
WARNING: Removing PersistenceUnit(name=slice_db2) property
openjpa.ConnectionDriverName=com.ibm.db2.jcc.DB2Driver  [not valid in a
container environment]
四月 26, 2013 10:44:23 上午 org.apache.openejb.config.AppInfoBuilder build
INFO: Enterprise application "D:\Java\tomee\webapps\ufsc20" loaded.
四月 26, 2013 10:44:23 上午 org.apache.openejb.assembler.classic.Assembler
createApplication
INFO: Assembling app: D:\Java\tomee\webapps\ufsc20
四月 26, 2013 10:44:24 上午
org.apache.openejb.assembler.classic.ReloadableEntityManagerFactory
createDelegate
INFO: PersistenceUnit(name=ufsc20-unit,
provider=org.apache.openjpa.persistence.PersistenceProviderImpl) - provider
time 253ms
四月 26, 2013 10:44:24 上午 null
INFO: Detected slices "[One, Two]" in configuration.
四月 26, 2013 10:44:24 上午
org.apache.openejb.assembler.classic.ReloadableEntityManagerFactory
createDelegate
INFO: PersistenceUnit(name=slice_db2,
provider=org.apache.openjpa.persistence.PersistenceProviderImpl) - provider
time 57ms
四月 26, 2013 10:44:24 上午 org.apache.openejb.assembler.classic.Assembler
destroyApplication
INFO: Undeploying app: D:\Java\tomee\webapps\ufsc20
四月 26, 2013 10:44:24 上午 org.apache.catalina.core.ContainerBase removeChild
SEVERE: ContainerBase.removeChild: destroy: 
org.apache.catalina.LifecycleException: An invalid Lifecycle transition was
attempted ([before_destroy]) for component
[StandardEngine[Catalina].StandardHost[localhost].StandardContext[/ufsc20]]
in state [STARTING_PREP]
	at
org.apache.catalina.util.LifecycleBase.invalidTransition(LifecycleBase.java:409)
	at org.apache.catalina.util.LifecycleBase.destroy(LifecycleBase.java:299)
	at
org.apache.catalina.core.ContainerBase.removeChild(ContainerBase.java:1041)
	at
org.apache.tomee.catalina.TomcatWebAppBuilder.undeploy(TomcatWebAppBuilder.java:1355)
	at
org.apache.tomee.catalina.TomcatWebAppBuilder.undeploy(TomcatWebAppBuilder.java:1336)
	at
org.apache.tomee.catalina.TomcatWebAppBuilder.undeployWebApps(TomcatWebAppBuilder.java:664)
	at
org.apache.openejb.assembler.classic.Assembler.destroyApplication(Assembler.java:1326)
	at
org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:832)
	at
org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:546)
	at
org.apache.tomee.catalina.TomcatWebAppBuilder.startInternal(TomcatWebAppBuilder.java:1128)
	at
org.apache.tomee.catalina.TomcatWebAppBuilder.configureStart(TomcatWebAppBuilder.java:1033)
	at
org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:124)
	at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
	at
org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
	at
org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5179)
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
	at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633)
	at
org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1114)
	at
org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1673)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
	at java.util.concurrent.FutureTask.run(FutureTask.java:166)
	at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
	at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
	at java.lang.Thread.run(Thread.java:722)

四月 26, 2013 10:44:24 上午 org.apache.tomee.catalina.TomcatWebAppBuilder
startInternal
SEVERE: Unable to deploy collapsed ear in war
StandardEngine[Catalina].StandardHost[localhost].StandardContext[/ufsc20]
org.apache.openejb.OpenEJBException: Creating application failed:
D:\Java\tomee\webapps\ufsc20: org.apache.openejb.OpenEJBRuntimeException:
<openjpa-2.2.2-r422266:1468616 nonfatal user error>
org.apache.openjpa.persistence.ArgumentException: No slices are configured
or available: <openjpa-2.2.2-r422266:1468616 nonfatal user error>
org.apache.openjpa.persistence.ArgumentException: No slices are configured
or available
	at
org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:836)
	at
org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:546)
	at
org.apache.tomee.catalina.TomcatWebAppBuilder.startInternal(TomcatWebAppBuilder.java:1128)
	at
org.apache.tomee.catalina.TomcatWebAppBuilder.configureStart(TomcatWebAppBuilder.java:1033)
	at
org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:124)
	at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
	at
org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
	at
org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5179)
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
	at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633)
	at
org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1114)
	at
org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1673)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
	at java.util.concurrent.FutureTask.run(FutureTask.java:166)
	at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
	at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
	at java.lang.Thread.run(Thread.java:722)
Caused by: org.apache.openejb.OpenEJBException:
org.apache.openejb.OpenEJBRuntimeException: <openjpa-2.2.2-r422266:1468616
nonfatal user error> org.apache.openjpa.persistence.ArgumentException: No
slices are configured or available: <openjpa-2.2.2-r422266:1468616 nonfatal
user error> org.apache.openjpa.persistence.ArgumentException: No slices are
configured or available
	at
org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:690)
	... 19 more
Caused by: org.apache.openejb.OpenEJBRuntimeException:
<openjpa-2.2.2-r422266:1468616 nonfatal user error>
org.apache.openjpa.persistence.ArgumentException: No slices are configured
or available
	at
org.apache.openejb.assembler.classic.ReloadableEntityManagerFactory.createDelegate(ReloadableEntityManagerFactory.java:118)
	at
org.apache.openejb.assembler.classic.ReloadableEntityManagerFactory.<init>(ReloadableEntityManagerFactory.java:102)
	at
org.apache.openejb.assembler.classic.PersistenceBuilder.createEntityManagerFactory(PersistenceBuilder.java:150)
	at
org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:684)
	... 19 more
Caused by: <openjpa-2.2.2-r422266:1468616 nonfatal user error>
org.apache.openjpa.persistence.ArgumentException: No slices are configured
or available
	at
org.apache.openjpa.slice.jdbc.DistributedJDBCConfigurationImpl.createDistributedDataStore(DistributedJDBCConfigurationImpl.java:363)
	at
org.apache.openjpa.slice.jdbc.DistributedJDBCConfigurationImpl.createConnectionFactory(DistributedJDBCConfigurationImpl.java:625)
	at
org.apache.openjpa.jdbc.conf.JDBCConfigurationImpl.getDBDictionaryInstance(JDBCConfigurationImpl.java:602)
	at
org.apache.openjpa.jdbc.meta.MappingDefaultsImpl.setConfiguration(MappingDefaultsImpl.java:878)
	at
org.apache.openjpa.lib.conf.Configurations.configureInstance(Configurations.java:499)
	at
org.apache.openjpa.lib.conf.Configurations.configureInstance(Configurations.java:456)
	at
org.apache.openjpa.lib.conf.PluginValue.instantiate(PluginValue.java:120)
	at org.apache.openjpa.lib.conf.ObjectValue.instantiate(ObjectValue.java:83)
	at
org.apache.openjpa.jdbc.conf.JDBCConfigurationImpl.getMappingDefaultsInstance(JDBCConfigurationImpl.java:706)
	at
org.apache.openjpa.slice.jdbc.DistributedJDBCConfigurationImpl.newSlice(DistributedJDBCConfigurationImpl.java:466)
	at
org.apache.openjpa.slice.jdbc.DistributedJDBCConfigurationImpl.fromProperties(DistributedJDBCConfigurationImpl.java:617)
	at
org.apache.openjpa.lib.conf.MapConfigurationProvider.setInto(MapConfigurationProvider.java:85)
	at
org.apache.openjpa.persistence.PersistenceProductDerivation$ConfigurationProviderImpl.setInto(PersistenceProductDerivation.java:714)
	at
org.apache.openjpa.slice.jdbc.DistributedJDBCBrokerFactory.newInstance(DistributedJDBCBrokerFactory.java:56)
	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.apache.openjpa.kernel.Bootstrap.invokeFactory(Bootstrap.java:131)
	at org.apache.openjpa.kernel.Bootstrap.newBrokerFactory(Bootstrap.java:65)
	at
org.apache.openjpa.persistence.PersistenceProviderImpl.getBrokerFactory(PersistenceProviderImpl.java:147)
	at
org.apache.openjpa.persistence.PersistenceProviderImpl.createContainerEntityManagerFactory(PersistenceProviderImpl.java:187)
	at
org.apache.openjpa.persistence.PersistenceProviderImpl.createContainerEntityManagerFactory(PersistenceProviderImpl.java:62)
	at
org.apache.openejb.assembler.classic.EntityManagerFactoryCallable.call(EntityManagerFactoryCallable.java:55)
	at
org.apache.openejb.assembler.classic.ReloadableEntityManagerFactory.createDelegate(ReloadableEntityManagerFactory.java:116)
	... 22 more

四月 26, 2013 10:44:24 上午 org.apache.catalina.core.ContainerBase
addChildInternal
SEVERE: ContainerBase.addChild: start: 
org.apache.catalina.LifecycleException: Failed to start component
[StandardEngine[Catalina].StandardHost[localhost].StandardContext[/ufsc20]]
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)
	at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633)
	at
org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1114)
	at
org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1673)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
	at java.util.concurrent.FutureTask.run(FutureTask.java:166)
	at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
	at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
	at java.lang.Thread.run(Thread.java:722)
Caused by: org.apache.tomee.catalina.TomEERuntimeException:
org.apache.openejb.OpenEJBException: Creating application failed:
D:\Java\tomee\webapps\ufsc20: org.apache.openejb.OpenEJBRuntimeException:
<openjpa-2.2.2-r422266:1468616 nonfatal user error>
org.apache.openjpa.persistence.ArgumentException: No slices are configured
or available: <openjpa-2.2.2-r422266:1468616 nonfatal user error>
org.apache.openjpa.persistence.ArgumentException: No slices are configured
or available
	at
org.apache.tomee.catalina.TomcatWebAppBuilder.startInternal(TomcatWebAppBuilder.java:1135)
	at
org.apache.tomee.catalina.TomcatWebAppBuilder.configureStart(TomcatWebAppBuilder.java:1033)
	at
org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:124)
	at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
	at
org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
	at
org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5179)
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
	... 11 more
Caused by: org.apache.openejb.OpenEJBException: Creating application failed:
D:\Java\tomee\webapps\ufsc20: org.apache.openejb.OpenEJBRuntimeException:
<openjpa-2.2.2-r422266:1468616 nonfatal user error>
org.apache.openjpa.persistence.ArgumentException: No slices are configured
or available: <openjpa-2.2.2-r422266:1468616 nonfatal user error>
org.apache.openjpa.persistence.ArgumentException: No slices are configured
or available
	at
org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:836)
	at
org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:546)
	at
org.apache.tomee.catalina.TomcatWebAppBuilder.startInternal(TomcatWebAppBuilder.java:1128)
	... 17 more
Caused by: org.apache.openejb.OpenEJBException:
org.apache.openejb.OpenEJBRuntimeException: <openjpa-2.2.2-r422266:1468616
nonfatal user error> org.apache.openjpa.persistence.ArgumentException: No
slices are configured or available: <openjpa-2.2.2-r422266:1468616 nonfatal
user error> org.apache.openjpa.persistence.ArgumentException: No slices are
configured or available
	at
org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:690)
	... 19 more
Caused by: org.apache.openejb.OpenEJBRuntimeException:
<openjpa-2.2.2-r422266:1468616 nonfatal user error>
org.apache.openjpa.persistence.ArgumentException: No slices are configured
or available
	at
org.apache.openejb.assembler.classic.ReloadableEntityManagerFactory.createDelegate(ReloadableEntityManagerFactory.java:118)
	at
org.apache.openejb.assembler.classic.ReloadableEntityManagerFactory.<init>(ReloadableEntityManagerFactory.java:102)
	at
org.apache.openejb.assembler.classic.PersistenceBuilder.createEntityManagerFactory(PersistenceBuilder.java:150)
	at
org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:684)
	... 19 more
Caused by: <openjpa-2.2.2-r422266:1468616 nonfatal user error>
org.apache.openjpa.persistence.ArgumentException: No slices are configured
or available
	at
org.apache.openjpa.slice.jdbc.DistributedJDBCConfigurationImpl.createDistributedDataStore(DistributedJDBCConfigurationImpl.java:363)
	at
org.apache.openjpa.slice.jdbc.DistributedJDBCConfigurationImpl.createConnectionFactory(DistributedJDBCConfigurationImpl.java:625)
	at
org.apache.openjpa.jdbc.conf.JDBCConfigurationImpl.getDBDictionaryInstance(JDBCConfigurationImpl.java:602)
	at
org.apache.openjpa.jdbc.meta.MappingDefaultsImpl.setConfiguration(MappingDefaultsImpl.java:878)
	at
org.apache.openjpa.lib.conf.Configurations.configureInstance(Configurations.java:499)
	at
org.apache.openjpa.lib.conf.Configurations.configureInstance(Configurations.java:456)
	at
org.apache.openjpa.lib.conf.PluginValue.instantiate(PluginValue.java:120)
	at org.apache.openjpa.lib.conf.ObjectValue.instantiate(ObjectValue.java:83)
	at
org.apache.openjpa.jdbc.conf.JDBCConfigurationImpl.getMappingDefaultsInstance(JDBCConfigurationImpl.java:706)
	at
org.apache.openjpa.slice.jdbc.DistributedJDBCConfigurationImpl.newSlice(DistributedJDBCConfigurationImpl.java:466)
	at
org.apache.openjpa.slice.jdbc.DistributedJDBCConfigurationImpl.fromProperties(DistributedJDBCConfigurationImpl.java:617)
	at
org.apache.openjpa.lib.conf.MapConfigurationProvider.setInto(MapConfigurationProvider.java:85)
	at
org.apache.openjpa.persistence.PersistenceProductDerivation$ConfigurationProviderImpl.setInto(PersistenceProductDerivation.java:714)
	at
org.apache.openjpa.slice.jdbc.DistributedJDBCBrokerFactory.newInstance(DistributedJDBCBrokerFactory.java:56)
	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.apache.openjpa.kernel.Bootstrap.invokeFactory(Bootstrap.java:131)
	at org.apache.openjpa.kernel.Bootstrap.newBrokerFactory(Bootstrap.java:65)
	at
org.apache.openjpa.persistence.PersistenceProviderImpl.getBrokerFactory(PersistenceProviderImpl.java:147)
	at
org.apache.openjpa.persistence.PersistenceProviderImpl.createContainerEntityManagerFactory(PersistenceProviderImpl.java:187)
	at
org.apache.openjpa.persistence.PersistenceProviderImpl.createContainerEntityManagerFactory(PersistenceProviderImpl.java:62)
	at
org.apache.openejb.assembler.classic.EntityManagerFactoryCallable.call(EntityManagerFactoryCallable.java:55)
	at
org.apache.openejb.assembler.classic.ReloadableEntityManagerFactory.createDelegate(ReloadableEntityManagerFactory.java:116)
	... 22 more

四月 26, 2013 10:44:24 上午 org.apache.catalina.startup.HostConfig
deployDirectory
SEVERE: Error deploying web application directory
D:\Java\tomee\webapps\ufsc20
java.lang.IllegalStateException: ContainerBase.addChild: start:
org.apache.catalina.LifecycleException: Failed to start component
[StandardEngine[Catalina].StandardHost[localhost].StandardContext[/ufsc20]]
	at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:904)
	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633)
	at
org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1114)
	at
org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1673)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
	at java.util.concurrent.FutureTask.run(FutureTask.java:166)
	at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
	at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
	at java.lang.Thread.run(Thread.java:722)

四月 26, 2013 10:44:24 上午 org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["http-bio-8080"]
四月 26, 2013 10:44:24 上午 org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["ajp-bio-8009"]
四月 26, 2013 10:44:24 上午 org.apache.catalina.startup.Catalina start
INFO: Server startup in 3651 ms


<?xml version="1.0" encoding="UTF-8"?>
<persistence xmlns="http://java.sun.com/xml/ns/persistence"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.0"
	xsi:schemaLocation="http://java.sun.com/xml/ns/persistence
http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd">
	<persistence-unit name="ufsc20-unit" transaction-type="JTA">
		<jta-data-source>jdbc/ufsc20</jta-data-source>
		<non-jta-data-source>jdbc/ufsc20</non-jta-data-source>
		<class>com.plasticmummy.ufsc20.entity.NotesDatabase</class>
		<properties>
			<property name="openjpa.TransactionMode" value="managed" />
			<property name="openjpa.ConnectionFactoryMode" value="managed" />
			<property name="openjpa.ConnectionFactoryProperties"
value="PrettyPrint=true, PrettyPrintLineLength=72" />
			<property name="openjpa.jdbc.SynchronizeMappings"
value="buildSchema(ForeignKeys=true)" />
			<property name="openjpa.LockManager" value="version" />
			<property name="openjpa.Log" value="DefaultLevel=INFO,SQL=TRACE" />
			
			
		</properties>
	</persistence-unit>
	<persistence-unit name="slice_db2">
		<properties>
			<property name="openjpa.BrokerFactory" value="slice" />
			<property name="openjpa.ConnectionDriverName"
value="com.ibm.db2.jcc.DB2Driver" />

			<property name="openjpa.slice.Names" value="One,Two" />
			<property name="openjpa.slice.DistributionPolicy"
				value="com.plasticmummy.ufsc20.common.slice.UserDistributionPolicy" />

			<property name="openjpa.ConnectionUserName" value="db2admin" />
			<property name="openjpa.ConnectionPassword" value="password" />

			<property name="openjpa.slice.One.ConnectionURL"
value="jdbc:db2://127.0.0.1:50000/UFSC20S1" />
			<property name="openjpa.slice.Two.ConnectionURL"
value="jdbc:db2://127.0.0.1:50000/UFSC20S2" />

			<property name="openjpa.Multithreaded" value="false" />
			<property name="openjpa.jdbc.SynchronizeMappings"
value="buildSchema(ForeignKeys=true)" />
			<property name="openjpa.jdbc.MappingDefaults"
value="DefaultMissingInfo=true" />
			<property name="openjpa.RuntimeUnenhancedClasses" value="unsupported" />
			<property name="openjpa.DynamicEnhancementAgent" value="false" />

		</properties>
	</persistence-unit>
</persistence>

tomee 1.5.2+windows+jdk1.7+db2v9.7

WARNING: Removing PersistenceUnit(name=slice_db2) property
openjpa.ConnectionDriverName=com.ibm.db2.jcc.DB2Driver  [not valid in a
container environment]

it's seems tomee bug?



--
View this message in context: http://openjpa.208410.n2.nabble.com/how-to-use-openjpa-slice-Distributed-with-db2-v9-7-tp7583769p7583787.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.

Mime
View raw message